/* Salora Hospitality Membership: public homepage.
   Colours are the member app's theme tokens (src/constants/theme.ts in the app),
   plus the navy of the Salora pinwheel for one band. */

/* Fonts, all kept on this site (the CSP allows fonts from this site only), from the @fontsource
   packages 5.3.0, each with its OFL licence beside it in assets/fonts:
   Cormorant Garamond 500 (headings) and 600 (card titles, FAQ questions), Manrope 400 and 600
   (text and buttons), Tiro Devanagari Hindi (the Hindi word in the hero).
   The latin files have no rupee sign, so each family also has a small file with only the rupee sign
   (cut from its latin-ext file with fontTools): the sign takes the font of its own line.
   The Tiro file holds only the letters of the hero's Hindi word. No faux bold or italic (font-synthesis: none). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-rupee-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-rupee-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-rupee-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-rupee-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  src: url("assets/fonts/tiro-devanagari-hindi-swagat-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0917, U+0924, U+0935, U+0938, U+093E, U+094D;
}

:root {
  --background: #F3E6D2;
  --surface: #FFFDF9;
  --cream: #FBF6EE;
  --primary: #8C1D2C;
  --primary-deep: #62121E;
  --primary-muted: #F3E4E6;
  --accent: #F2A31C;
  --accent-muted: #FBF0D8;
  --foreground: #2A211C;
  --muted: #6E6259;
  --border: #E8D9C8;
  /* The navy of the Salora pinwheel (pinwheel.png). */
  --navy: #0B3344;
  /* Soft cream for secondary text on maroon and navy (AA on both). */
  --on-dark-soft: #EAD7CC;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --deva: "Tiro Devanagari Hindi", "Nirmala UI", "Kohinoor Devanagari", "Noto Sans Devanagari", "Mangal", sans-serif;

  /* Type scale: one size per role.
     Display: the hero heading, 52 px on a phone, 96 px on a computer.
     Section: every section heading, 32 px on a phone, 48 px on a computer.
     Card: headings in cards and steps, offer titles and FAQ questions, 26 px.
     Label: small labels, 13 px; spaced capitals only for the one eyebrow of a section.
     Body: 17 px. Caption: notes and small lines, 15 px.
     Sizes kept as they were: the hotel page and legal page titles, the hotel boxes' headings,
     the hotel name on its card, the step numbers, the logo and the price. */
  --fs-display: clamp(3.25rem, 2.045rem + 4.94vw, 6rem);
  --fs-section: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --fs-card: 1.625rem;
  --fs-label: 0.8125rem;
  --fs-body: 1.0625rem;
  --fs-caption: 0.9375rem;

  --wrap: 70rem;
  --gutter: 1.25rem;
  /* Space between sections: 72 px on a phone, 120 px on a computer. */
  --band: clamp(4.5rem, 2.6rem + 7.8vw, 7.5rem);
  --radius-card: 1.5rem;
  --shadow-warm: 0 5px 14px rgba(140, 106, 74, 0.1);
  --shadow-lift: 0 10px 22px rgba(90, 42, 30, 0.22);
  --focus: var(--primary);
  --header-h: 4.25rem;
  /* The hero shade: a near-black warm brown, as R, G, B. */
  --shade: 28, 20, 16;

  /* The app's jaali: small diamonds with a centre dot on a diagonal grid, cream at 11 percent. */
  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M5.5 .66 10.34 5.5 5.5 10.34.66 5.5ZM16.5 11.66l4.84 4.84-4.84 4.84-4.84-4.84Z' fill='none' stroke='%23FBF6EE' stroke-opacity='.11'/%3E%3Ccircle cx='5.5' cy='5.5' r='.9' fill='%23FBF6EE' fill-opacity='.11'/%3E%3Ccircle cx='16.5' cy='16.5' r='.9' fill='%23FBF6EE' fill-opacity='.11'/%3E%3C/svg%3E");
  /* The divider under every eyebrow: a thin line with a diamond in the middle (a mask, so it takes the text colour). */
  --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='10'%3E%3Cpath d='M0 5h29M43 5h29' stroke='%23000' stroke-width='1'/%3E%3Cpath d='M36 1l4 4-4 4-4-4Z' fill='none' stroke='%23000' stroke-width='1'/%3E%3Ccircle cx='36' cy='5' r='.9'/%3E%3C/svg%3E");
  /* The steps line: a thin line with a small diamond every 24 px. */
  --jaali-line-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10'%3E%3Cpath d='M0 5h9M15 5h9' stroke='%23000'/%3E%3Cpath d='M12 2l3 3-3 3-3-3Z' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --jaali-line-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='24'%3E%3Cpath d='M5 0v9M5 15v9' stroke='%23000'/%3E%3Cpath d='M5 9l3 3-3 3-3-3Z' fill='none' stroke='%23000'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-synthesis: none;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  /* Cormorant draws old-style figures by default: lining figures for prices, numbers and the steps. */
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: var(--fs-display);
  line-height: 1.02;
}

/* 32 px on a phone, 48 px on a computer. Widths are in em, not ch (a ch is a different width in
   every font). 11em gives the section headings the same line breaks at 1280 px as before. */
h2 {
  font-size: var(--fs-section);
  max-width: 11em;
}

h3 {
  font-size: var(--fs-card);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

/* The Hindi word beside the Latin label: Tiro's top line sits at 0.62 em and Manrope's capitals at
   0.72 em, so at 1.16 em the word stands as tall as the capitals beside it. Tiro has one weight. */
.deva {
  font-family: var(--deva);
  font-size: 1.16em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
}
.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 46rem;
}

/* Bands */

.band {
  padding: var(--band) 0;
  scroll-margin-top: var(--header-h);
}
.band-cream {
  background: var(--cream);
}
.band-sand {
  background: var(--background);
}
.band-dark {
  --focus: var(--accent);
  color: var(--cream);
}
.band-dark h2,
.band-dark h1 {
  color: var(--cream);
}
.band-maroon {
  background-color: var(--primary);
}
.band-navy {
  background-color: var(--navy);
}
.jaali {
  background-image: var(--jaali);
  background-size: 22px 22px;
}

/* Eyebrow, then the small jaali divider, the same every time. The only spaced capitals in a section:
   labels inside a section (offer kinds, chips, the hotel line in a tile or card) are plain words. */
.eyebrow {
  margin: 0 0 1.25rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 10px;
  margin-top: 0.75rem;
  background-color: currentColor;
  opacity: 0.7;
  -webkit-mask: var(--divider) no-repeat center / 4.5rem 10px;
  mask: var(--divider) no-repeat center / 4.5rem 10px;
}
.band-dark .eyebrow {
  color: var(--on-dark-soft);
}

.muted {
  color: var(--muted);
}

.small-note {
  font-size: var(--fs-caption);
  color: var(--on-dark-soft);
  margin-top: 1.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-small {
  min-height: 2.75rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.9375rem;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--foreground);
}
.btn-primary:hover {
  background: #F6B848;
  border-color: #F6B848;
}
.btn-outline-dark {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary-muted);
}
/* The app's secondary button: a navy outline. */
.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  background: rgba(11, 51, 68, 0.08);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.97);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: var(--header-h);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-height: 2.75rem;
}
.lockup img {
  width: 2.5rem;
  height: 2.5rem;
}
.mark-cream {
  display: none;
}
.lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.lockup-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.lockup-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-desktop {
  display: none;
}
.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}
.nav-desktop a:hover {
  color: var(--primary);
  background: var(--primary-muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-phone {
  position: relative;
}
.nav-phone summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
}
.nav-phone summary::-webkit-details-marker {
  display: none;
}
.nav-phone summary svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav-phone-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 13rem;
  padding: 0.5rem;
  background: var(--surface);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-lift);
}
.nav-phone-panel a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}
.nav-phone-panel a:hover {
  background: var(--primary-muted);
}

/* Header over the hero photo. Only when site.js is running (it adds "js" to <html>) and the page has a hero:
   clear with cream words at the top of the page, solid cream again after a little scrolling.
   With JS off none of this applies and the header stays solid. */

.js.has-hero .site-header {
  position: fixed;
  left: 0;
  right: 0;
}
.js.has-hero .site-header:not(.is-solid) {
  --focus: var(--accent);
  background: transparent;
  border-bottom-color: transparent;
  color: var(--cream);
}
.js.has-hero .site-header:not(.is-solid) .lockup-name,
.js.has-hero .site-header:not(.is-solid) .lockup-sub {
  color: var(--cream);
}
.js.has-hero .site-header:not(.is-solid) .mark-dark {
  display: none;
}
.js.has-hero .site-header:not(.is-solid) .mark-cream {
  display: block;
}
.js.has-hero .site-header:not(.is-solid) .nav-desktop a:hover {
  color: var(--cream);
  background: rgba(251, 246, 238, 0.16);
}
.js.has-hero .site-header:not(.is-solid) .nav-phone summary {
  background: transparent;
  border-color: rgba(251, 246, 238, 0.6);
}

/* Each photo is a <picture> (WebP first, the JPG as fallback). The wrapper takes no part in
   the layout, so the img is styled and placed exactly as before. */
picture {
  display: contents;
}
picture > source {
  display: none;
}

/* Hero: the room photo fills the screen under a warm near-black shade. Everything is centred. */

.hero {
  --focus: var(--accent);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  /* About 85 percent of a phone screen, the full screen on a computer (see 64rem). */
  min-height: calc(85vh - var(--header-h));
  min-height: calc(85svh - var(--header-h));
  padding: 3rem 0 3.5rem;
  background: rgb(var(--shade));
  color: var(--cream);
  text-align: center;
  scroll-margin-top: var(--header-h);
}
/* With the header lying over the photo, the hero starts at the very top. */
.js.has-hero .hero {
  min-height: 85vh;
  min-height: 85svh;
  padding-top: calc(var(--header-h) + 2rem);
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Phone: the bed and the armchair. */
  object-position: 74% center;
}
/* About half strength all over, a little more behind the words and under the header
   so every line passes AA on the brightest part of the photo. */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--shade), 0.45) 0, rgba(var(--shade), 0) 9rem),
    radial-gradient(ellipse 130% 50% at 50% 54%, rgba(var(--shade), 0.3) 0, rgba(var(--shade), 0.3) 70%, rgba(var(--shade), 0) 100%),
    rgba(var(--shade), 0.5);
}
.hero .eyebrow {
  color: var(--cream);
}
.hero .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}
/* 52 px on a phone, 96 px on a computer. */
.hero h1 {
  max-width: 9.75em;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
}
.lead {
  max-width: 23.25em;
  margin: 0 auto 2rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  color: var(--cream);
  text-wrap: balance;
}
.hero .btn {
  min-width: 12rem;
}
.text-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.75rem;
  margin: 0.75rem auto 0;
  padding: 0 0.75rem;
  font-size: var(--fs-caption);
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}
.text-link:hover {
  text-decoration-thickness: 2px;
}
/* The small live line under the links: quiet, never a second call to action. */
.hero-now {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--cream);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

/* The photo settles gently on arrival. Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo {
    animation: hero-settle 2.4s cubic-bezier(0.2, 0.6, 0.2, 1) both;
  }
  @keyframes hero-settle {
    from {
      transform: scale(1.05);
    }
    to {
      transform: none;
    }
  }
}

/* Welcome split: one photo, the value line and a few live offers on the other side. */

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
.welcome-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--background);
}
.value-calm {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.27rem + 0.8vw, 1.875rem);
  font-weight: 500;
  line-height: 1.5;
  margin: 1.75rem 0 1.5rem;
  max-width: 16.5em;
  text-wrap: balance;
}
/* A few live offers under the price: small cards, never a total. */
.value-offers {
  margin: 0 0 1.75rem;
}
.value-at {
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.value-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}
.value-offer {
  min-width: 0;
  padding: 1rem 1.25rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
}
.value-kind {
  margin: 0 0 0.25rem;
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--primary);
}
.value-offer h3 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-card);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.value-hotel {
  margin: 0 0 0.25rem;
  font-size: var(--fs-caption);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.value-worth {
  margin: 0;
  font-weight: 600;
}
.value-all {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  text-underline-offset: 0.2em;
}

/* How it works: four steps joined by a thin jaali line, no boxes. */

.steps {
  position: relative;
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
}
/* Phone: the line runs down through the numerals. */
.steps::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: calc(2rem - 5px);
  width: 10px;
  background-color: var(--primary);
  opacity: 0.35;
  -webkit-mask: var(--jaali-line-y) repeat-y center top / 10px 24px;
  mask: var(--jaali-line-y) repeat-y center top / 10px 24px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  column-gap: 1.25rem;
}
.step-num {
  grid-row: span 2;
  align-self: start;
  justify-self: center;
  padding: 0.25rem 0;
  background: var(--background);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--primary);
}
@supports (-webkit-text-stroke: 1px) {
  .step-num {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--primary);
  }
}
.step h3 {
  margin: 0.35rem 0 0.4rem;
}
.step p {
  margin: 0;
  max-width: 20.5em;
}

/* See it on your phone */

.screens-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}
.label-chip {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--primary-muted);
  color: var(--primary);
  font-size: var(--fs-label);
  font-weight: 600;
}
.screens {
  display: flex;
  gap: 1.25rem;
  margin: 2.5rem calc(-1 * var(--gutter)) 0;
  padding: 0.5rem var(--gutter) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.screens:focus-visible {
  outline-offset: -3px;
}
.phone {
  flex: 0 0 min(68%, 16rem);
  margin: 0;
  scroll-snap-align: start;
  text-align: center;
}
.phone-frame {
  padding: 0.55rem;
  border-radius: 2.25rem;
  background: var(--foreground);
  box-shadow: var(--shadow-lift);
}
.phone-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1280;
  border-radius: 1.75rem;
  background: var(--background);
}
.phone figcaption {
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* What you get */

/* Dining photos above the tiles. One on a phone, two from 640 px. Each stays within its own 800 px. */
.dining {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.dining img {
  width: 100%;
  max-width: 50rem;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.1rem;
  background: var(--primary-deep);
}
.dining-second {
  display: none;
}

/* Tiles wrap and stay centred, so when a tile is hidden (no live offer in its category) the
   rest stay even: two to a row on a phone, four on a computer. */
.tiles {
  list-style: none;
  margin: 0.75rem 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.tiles > .tile {
  flex: 0 0 calc(50% - 0.375rem);
  min-width: 0;
}
.tile {
  padding: 1rem 0.9rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(251, 246, 238, 0.16);
  background: rgba(98, 18, 30, 0.5);
}
.icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile h3 {
  font-size: clamp(1.0625rem, 5.4vw, 1.3125rem);
  margin: 0 0 0.3rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tile p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--on-dark-soft);
}
/* One real offer under a tile, from the live data. */
.tile .tile-offer {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(251, 246, 238, 0.22);
  color: var(--cream);
}
.tile-at {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--on-dark-soft);
  overflow-wrap: anywhere;
}
.tile-title {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.also {
  color: var(--cream);
  margin: 0;
}
.band-dark .small-note {
  margin-top: 0.5rem;
}

/* Partner hotels */

.partner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 3rem;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-warm);
}
.partner-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--background);
}
.partner-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.partner-photo img.is-wait {
  opacity: 0;
}
.partner-body {
  padding: 1.75rem 1.75rem 2rem;
}
.partner-body h3 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.partner-body p {
  margin-bottom: 1.25rem;
}
.partner-body .eyebrow {
  letter-spacing: 0;
  text-transform: none;
}

/* Pay safely: open, between two thin rules. It follows another cream band, so no extra top space. */

#pay-safely {
  padding-top: 0;
}

.safe {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.safe h2 {
  margin: 0;
}
.safe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  align-content: center;
}
.safe-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.125rem;
}
.safe-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.5em;
  width: 0.6rem;
  height: 0.6rem;
  border: 1.5px solid var(--primary);
  transform: rotate(45deg);
}

/* For hotels: navy, with a faint pinwheel behind the text. */

.for-hotels {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.watermark {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -6rem;
  width: min(34rem, 90vw);
  height: auto;
  max-width: none;
  opacity: 0.06;
  transform: translateY(-50%);
  pointer-events: none;
}
.for-hotels p {
  max-width: 27.5em;
  font-size: 1.125rem;
}
.for-hotels .btn {
  margin-top: 1rem;
}

/* FAQ */

.faq {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 1rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: var(--fs-card);
  font-weight: 600;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--sans);
  font-size: 1.25rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin: 0 0 1.5rem;
  max-width: 41em;
}

/* Terms, privacy and 404 pages */

.page-band {
  min-height: 50vh;
}
.page-band h1 {
  max-width: 9.5em;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 3.75rem);
}
.page-band .btn {
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  --focus: var(--accent);
  background: var(--primary-deep);
  color: var(--cream);
  padding: 3.5rem 0;
}
.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.footer-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.25rem;
}
.copyright {
  margin: 0;
  font-size: var(--fs-caption);
  color: var(--on-dark-soft);
}

/* Phone bottom bar: only Get membership for now (Call and WhatsApp can come back as fixed-width items). */

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 14px rgba(140, 106, 74, 0.12);
}
.bb-item {
  flex: 0 0 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}
.bb-item svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bb-join {
  flex: 1 1 auto;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
}
body {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

/* Closing band: one headline, the button and Log in, centred. */
.closing-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closing h2 {
  margin: 0 auto 1.75rem;
  text-wrap: balance;
}
.closing .btn {
  min-width: 12rem;
}
.closing .text-link {
  color: var(--primary);
}

/* Homepage phone bar: slim, only with JS and only below 720 px, and only while site.js says
   so (after the hero, away from the closing band and the footer). The hotel page keeps its own
   bar. The page has no padding for it: the bar is gone whenever the end of the page is in view. */
.home-page body {
  padding-bottom: 0;
}
.home-bar {
  display: none;
}
@media (max-width: 44.99rem) {
  .js .home-bar {
    display: flex;
    padding: 0.4rem 0.75rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    transform: translateY(calc(100% + 1rem));
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .js .home-bar.is-shown {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }
}

/* Card fade-in, only when site.js turns it on. */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .home-bar,
  .js .home-bar.is-shown {
    transition: none;
  }
}

/* Phones: logo, Get membership and the menu on one line. */

@media (max-width: 29.99rem) {
  .header-row {
    column-gap: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .lockup {
    gap: 0.45rem;
  }
  .lockup img {
    width: 2rem;
    height: 2rem;
  }
  .lockup-name {
    font-size: 1.3rem;
  }
  .lockup-sub {
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
  }
  .header-actions {
    gap: 0.4rem;
  }
  .header-actions .btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  .nav-phone summary {
    padding: 0;
    justify-content: center;
  }
  .nav-phone-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* "Get membership" is a longer label, so on narrow screens the line under the logo goes
   and logo, button and menu stay on one line. On the hotel page "Get this membership" is
   longer still: below 600 px it is only in the bottom bar, beside the price. Small laptops
   get a little less room around the menu links for the same reason. */

@media (max-width: 34.99rem) {
  html:not(.hotel-page) .lockup-sub {
    display: none;
  }
}
@media (max-width: 37.49rem) {
  .hotel-page .header-actions .btn-small {
    display: none;
  }
}
@media (min-width: 64rem) and (max-width: 67.99rem) {
  .nav-desktop a {
    padding: 0 0.7rem;
  }
}

/* Very narrow screens and large zoom: keep the header tidy. */

@media (max-width: 22.4rem) {
  .faq summary {
    overflow-wrap: anywhere;
  }
  .lockup-sub {
    display: none;
  }
  .nav-phone-label {
    display: none;
  }
  .header-actions .btn-small {
    display: none;
  }
  .tile {
    padding: 0.9rem 0.65rem;
  }
}

/* Tablet and up */

@media (min-width: 40rem) {
  :root {
    --gutter: 2rem;
  }
  .dining {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
  }
  .dining img {
    border-radius: var(--radius-card);
  }
  .dining-second {
    display: block;
  }
  .tiles {
    gap: 1.25rem;
    margin-top: 1.25rem;
  }
  .tiles > .tile {
    flex-basis: calc(50% - 0.625rem);
  }
  .tile {
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-card);
  }
  .icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
  }
  .tile h3 {
    font-size: var(--fs-card);
  }
  .tile p {
    font-size: 1rem;
  }
}

/* 768 px and wider */

@media (min-width: 48rem) {
  body {
    padding-bottom: 0;
  }
  .bottom-bar {
    display: none;
  }
  .footer-row {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer-links {
    justify-content: center;
  }

  /* Three phones side by side: the middle one larger and raised, the outer two behind it. */
  .screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 16rem));
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 3.5rem 0 0;
    padding: 2.5rem 0 0;
    overflow: visible;
  }
  .phone {
    position: relative;
    z-index: 1;
  }
  .phone:nth-child(1) {
    transform: translateX(1.5rem) scale(0.9);
  }
  .phone:nth-child(3) {
    transform: translateX(-1.5rem) scale(0.9);
  }
  .phone:nth-child(2) {
    z-index: 2;
    transform: translateY(-2rem) scale(1.08);
  }
  .phone:nth-child(2) .phone-frame {
    box-shadow: 0 30px 60px -20px rgba(28, 20, 16, 0.5), var(--shadow-lift);
  }

  /* Steps: four in a row, the line runs across through the numerals. */
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
  .steps::before {
    top: calc(2.4rem - 5px);
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 10px;
    -webkit-mask: var(--jaali-line-x) repeat-x left center / 24px 10px;
    mask: var(--jaali-line-x) repeat-x left center / 24px 10px;
  }
  .step {
    display: block;
  }
  .step-num {
    display: inline-block;
    padding: 0 0.75rem 0 0;
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.25rem;
  }

  .safe {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    padding: 4rem 0;
  }

  /* Partner hotel: one wide card, photo on the left, words on the right. */
  .partner-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .partner-photo {
    aspect-ratio: auto;
    min-height: 22rem;
    border-radius: var(--radius-card) 0 0 var(--radius-card);
  }
  .partner-body {
    align-self: center;
    padding: 3rem;
  }
  .partner-body h3 {
    font-size: 2.625rem;
  }
}

@media (min-width: 64rem) {
  .nav-desktop {
    display: flex;
    gap: 0.25rem;
  }
  .nav-phone {
    display: none;
  }

  /* Hero: the full screen, the whole room in view. */
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }
  .js.has-hero .hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-photo {
    object-position: center;
  }
  .lead {
    max-width: none;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(var(--shade), 0.45) 0, rgba(var(--shade), 0) 9rem),
      radial-gradient(ellipse 34rem 20rem at 50% 56%, rgba(var(--shade), 0.3) 0, rgba(var(--shade), 0.3) 70%, rgba(var(--shade), 0) 100%),
      rgba(var(--shade), 0.5);
  }

  .welcome-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 6rem;
  }

  .tiles > .tile {
    flex-basis: calc(25% - 0.9375rem);
  }
}

/* Live hotel data (hotels.js): the homepage list and the hotel page. */
[hidden] { display: none !important; }

/* data-state: "loading" as sent, then "ready" or "fail". */
.when-ready, .when-loading, .when-fail, [data-state="fail"] .not-fail { display: none; }
[data-state="ready"] .when-ready, [data-state="fail"] .when-fail, .js [data-state="loading"] .when-loading { display: block; }

/* Loading blocks: still, no spinner. */
.bone { background: var(--border); border-radius: var(--radius-card); box-shadow: none; }
.bone-card { height: 14rem; }
.bone + .bone { height: 8rem; margin-top: 1.5rem; }
/* A gentle pulse while loading. Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .bone { animation: bone 1.4s ease-in-out infinite alternate; }
  @keyframes bone { to { opacity: 0.45; } }
}
.hotel-list { display: grid; gap: 1.5rem; margin-top: 3rem; }
.hotel-list .partner-card { margin-top: 0; min-height: 20rem; }
/* No photo, or not here yet: the maroon jaali panel (the full shorthand, since .partner-photo resets the pattern). */
.partner-photo.jaali { background: var(--primary-deep) var(--jaali) 0 0 / 22px 22px; }
.partner-facts { font-weight: 600; }

/* Hotel page header: the photo, with the name at its foot. */
.h-hero, .js.has-hero .h-hero { align-items: end; min-height: max(30rem, 74vh); padding-bottom: 8rem; background-color: var(--primary-deep); background-image: var(--jaali); background-size: 22px 22px; text-align: left; }
.js.has-hero [data-state="fail"] .h-hero, [data-state="fail"] .h-hero { min-height: 20rem; padding-bottom: 3rem; }
/* AA on a white photo. */
.h-hero .hero-shade { background: linear-gradient(180deg, rgba(var(--shade), 0.45) 0, rgba(var(--shade), 0) 9rem), linear-gradient(0deg, rgba(var(--shade), 0.7) 0, rgba(var(--shade), 0.5) 65%, rgba(var(--shade), 0) 90%), rgba(var(--shade), 0.5); }
.h-hero .eyebrow::after { margin-left: 0; }
.h-hero h1 { max-width: 11.7em; margin: 0 0 0.75rem; font-size: clamp(2.5rem, 1.75rem + 3.2vw, 4.5rem); }
.h-hero .lead { max-width: none; margin: 0; }
.h-top { padding-top: 0; }
.join-card, .bone-card { position: relative; z-index: 2; margin-top: -5rem; }
.join-card { overflow: hidden; background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-lift); }
.join-card::before { content: ""; display: block; height: 0.875rem; background: var(--primary) var(--jaali) center / 22px 22px; }
.join-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 1.5rem 2rem; }
.join-card h2 { max-width: none; margin-bottom: 0.5rem; }
.join-price { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.3; color: var(--primary); }
.join-side .btn { width: 100%; }
/* "View menu" sits above the join button at its own width, so the join button stays the main action. */
.join-side .menu-link { display: flex; width: fit-content; margin-bottom: 0.9rem; }
.join-note { margin: 0.9rem 0 0; font-size: var(--fs-caption); line-height: 1.5; color: var(--muted); }
.h-gallery { display: flex; gap: 0.75rem; margin: 2.5rem calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; }
.h-gallery img { flex: 0 0 82%; min-width: 0; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.1rem; background: var(--background); scroll-snap-align: start; }

/* Offers: a heading for each kind, then ticket cards. */
.offer-group h3 { display: flex; align-items: center; gap: 1rem; margin: 3rem 0 1.25rem; }
.offer-group h3::after { content: ""; flex: 1; height: 1px; background: var(--primary); opacity: 0.25; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.offer { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem 1.5rem 0; background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-warm); }
.offer h4 { margin: 0.85rem 0 0.5rem; font-family: var(--serif); font-size: var(--fs-card); font-weight: 600; line-height: 1.25; color: var(--primary); }
.offer p { margin: 0 0 1.5rem; }
.offer-facts { position: relative; align-self: stretch; list-style: none; display: flex; flex-wrap: wrap; gap: 0.15rem 1.25rem; margin: auto -1.5rem 0; padding: 1rem 1.5rem 1.25rem; border-top: 1.5px dashed var(--border); font-size: var(--fs-caption); color: var(--muted); }
.offer-facts::before, .offer-facts::after { content: ""; position: absolute; top: -0.6rem; left: -0.6rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--background); }
.offer-facts::after { left: auto; right: -0.6rem; }
.worth { flex-basis: 100%; font-weight: 600; color: var(--foreground); }

@media (min-width: 40rem) {
  .h-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.25rem; margin: 3rem 0 0; padding: 0; overflow: visible; }
  .h-gallery img { width: 100%; border-radius: var(--radius-card); }
}

@media (min-width: 48rem) {
  .join-in { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 3rem; padding: 2.5rem 3rem 2.75rem; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
/* Hotel page closing band: the note in soft cream on navy. */
.for-hotels .join-note { color: var(--on-dark-soft); }
/* Phone bottom bar on the hotel page: the price beside the button. */
.bb-price { flex: 1 1 auto; font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.bb-price + .bb-join { flex: 0 1 auto; }

/* Hotel page extras (hotel-extras.json): Location and Nearby side by side when there is room, then reviews. */
.place-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.place-box { flex: 1 1 20rem; min-width: 0; padding: 1.75rem 1.5rem; background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-warm); }
.place-box h2, .reviews h2 { max-width: none; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.place-address { margin: 0 0 1.5rem; overflow-wrap: anywhere; }
.place-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.place-actions .btn { flex: 1 1 14rem; padding-left: 1rem; padding-right: 1rem; }
.place-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; }
.place-chip { max-width: 100%; padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--cream); font-size: var(--fs-caption); line-height: 1.35; overflow-wrap: anywhere; }
.place-km { font-weight: 600; white-space: nowrap; }
.place-note { margin: 0; font-size: 0.875rem; color: var(--muted); }
.reviews { margin-top: 3.5rem; }
.place-grid[hidden] + .reviews { margin-top: 0; }
.rev-stars { display: flex; align-items: center; gap: 0.6rem; margin: -0.25rem 0 1.75rem; font-weight: 600; color: var(--muted); }
.rev-stars svg { flex: none; fill: var(--accent); }
.rev-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.rev-card { display: flex; flex-direction: column; margin: 0; padding: 1.5rem 1.5rem 0.75rem; background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-warm); }
.rev-quote { margin: 0 0 1.25rem; }
.rev-quote p { margin: 0; font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.rev-who { display: flex; flex-direction: column; margin: auto 0 0; font-size: var(--fs-caption); }
.rev-name { font-weight: 600; overflow-wrap: anywhere; }
.rev-when { color: var(--muted); }
.rev-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 2.75rem; font-weight: 600; color: var(--primary); text-underline-offset: 0.2em; }
.rev-at { margin: 0.35rem 0 -0.5rem; }
.rev-hotel { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; color: var(--foreground); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
#guest-reviews .rev-grid { margin-top: 2.5rem; }
#guest-reviews .rev-note { margin-top: 1.25rem; }
/* After the sand reviews band, Pay safely needs its own top space again. */
#guest-reviews:not([hidden]) + #pay-safely { padding-top: var(--band); }
.rev-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.5rem; }

@media (min-width: 48rem) {
  .place-box { padding: 2.25rem 2.5rem; }
  .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
