/* ==========================================================================
   Maa Ghar — Warm Sand & Terracotta
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --bg:            #FBF8F4;
  --surface:       #F3EDE4;
  --surface-deep:  #EBE0D1;
  --primary:       #A65A3E;
  --primary-dark:  #8A462F;
  --primary-tint:  #F6E9E2;
  --accent:        #C8956D;
  --accent-tint:   #FAF1E6;
  --text:          #2E2722;
  --muted:         #6B6058;
  --line:          #E5DACB;
  --line-strong:   #D5C6B2;
  --white:         #FFFFFF;

  /* Type */
  --font-display: "Literata", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  --fs-lg:   clamp(1.1875rem, 0.6vw + 1.05rem, 1.375rem);
  --fs-h4:   clamp(1.125rem, 0.5vw + 1rem, 1.3125rem);
  --fs-h3:   clamp(1.3125rem, 1vw + 1.05rem, 1.625rem);
  --fs-h2:   clamp(1.75rem, 2.2vw + 1.1rem, 2.625rem);
  --fs-h1:   clamp(2.125rem, 4vw + 1.1rem, 3.75rem);

  /* Space */
  --gutter:   clamp(1.25rem, 4vw, 2.5rem);
  --section:  clamp(3.5rem, 8vw, 7rem);
  --wrap:     1200px;
  --wrap-narrow: 760px;

  /* Form */
  --radius-sm: 2px;
  --radius:    3px;
  --radius-lg: 3px;
  --shadow-sm: none;
  --shadow:    none;
  --shadow-lg: none;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* Typesetting, not just styling: let the faces kern and use their
     contextual ligatures, and hang opening quotes into the margin so a
     line that starts on a quote mark still aligns with the one above. */
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-optical-sizing: auto;
  hanging-punctuation: first last;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select { font: inherit; color: inherit; }

a {
  color: var(--primary);
  text-underline-offset: 0.16em;
  text-decoration-thickness: from-font;
  text-decoration-skip-ink: auto;
}
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.032em; word-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.014em; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.008em; }

/* Headings are set, not hyphenated, and never left with a one-word last line. */
h1, h2, h3, h4 { hyphens: none; }

/* Small text needs the opposite of display tracking — a little air. */
.fact-label, .footnote, .room-avail, figcaption, small { letter-spacing: 0.008em; }

p { text-wrap: pretty; }

::selection { background: var(--primary); color: #fff; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
/* An even beat down the page reads as machine-set. These are deliberately
   uneven: the sand bands breathe a little wider, the closing band widest. */
.section--sand {
  background: var(--surface);
  padding-block: calc(var(--section) * 1.06) calc(var(--section) * 0.94);
}
.section--deep { background: var(--surface-deep); }

.section-head {
  max-width: 59ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}



.lede {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1.25rem;
}

.prose > * + * { margin-top: 1.25rem; }
.prose p { font-size: var(--fs-md); color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.125rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}


.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--outline:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}

.btn--light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { background: var(--primary-tint); color: var(--primary-dark); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn--block { width: 100%; }
.btn--sm { min-height: 2.75rem; padding: 0.625rem 1.25rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}
.section-head--center .btn-row { justify-content: center; }

.arrow { transition: transform 0.2s var(--ease); }


/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(46, 39, 34, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a:not(.btn) {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); background: var(--surface); }
.nav-links a:not(.btn)[aria-current="page"] { color: var(--primary); font-weight: 600; }

/* The mobile-only CTA inside the nav list */
.nav-mobile-cta { display: none; }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 4.75rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 4.75rem);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) {
    padding: 0.9rem 0.5rem;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-mobile-cta { display: block; margin-top: 1.25rem; }
}

/* Very narrow phones: drop the tagline so the brand + toggle always fit */
@media (max-width: 420px) {
  .brand { min-width: 0; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.1875rem; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  background: var(--surface);
  overflow: hidden;
}
/* A whisper of paper tooth so the flat field reads as printed stock
   rather than a solid fill. Delete this rule to go perfectly flat. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { max-width: 43ch; margin-top: 0; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem 0.4rem 0.5rem;
  margin-bottom: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 0.4rem;
  height: 0.4rem;
  background: var(--primary);
  margin-left: 0.35rem;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
}

/* Compact page hero for interior pages */
.page-hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0; }
.page-hero .lede { max-width: 60ch; }

/* --------------------------------------------------------------------------
   7. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 940px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
/* no hover zoom — the photograph holds still */

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.card-body > .btn { margin-top: auto; }

/* Room cards */
.room-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.room-title { font-size: var(--fs-h4); }

/* Reserve two lines so the price and divider line up across every card */
.room-head .room-title { min-height: 2.3em; }
@media (max-width: 640px) { .room-head .room-title { min-height: 0; } }
.room-avail {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.room-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.6vw, 1.875rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.room-price .per { font-size: 0.9375rem; font-weight: 500; color: var(--muted); }

/* Feature list with tick marks */
.ticks { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.ticks li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.125rem;
  height: 1.125rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A65A3E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") left center / 0.8rem no-repeat;
}

/* Included list — two/three column checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 0.25rem 2.5rem;
}
.checklist li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A65A3E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") left center / 0.85rem no-repeat;
}

/* Numbered guideline cards */
.rules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: rule;
}
.rules li {
  counter-increment: rule;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  color: var(--text);
  line-height: 1.6;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.rules li:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.4rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Stat / fact tiles */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--white);
}
.fact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.375rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1;
}
/* For word/time values rather than short numerals */
/* Sized to sit optically with the numerals beside it rather than
   shrinking away from them. */
.fact-num--text {
  font-size: clamp(1.4375rem, 1.9vw, 1.8125rem);
  letter-spacing: -0.018em;
  line-height: 1.16;
}

.fact-label {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   8. Callouts
   -------------------------------------------------------------------------- */
.notice {
  display: flex;
  gap: 1.125rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--accent-tint);
  border: 1px solid #EBD9C2;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}
.notice-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  color: var(--primary);
}
.notice h3, .notice strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.notice p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.notice p + p { margin-top: 0.6rem; }

.notice--plain {
  background: var(--surface);
  border-color: var(--line);
  border-left-color: var(--line-strong);
}

.footnote {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
}

/* "Is / Is not" comparison panel */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

.compare-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.compare-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-h4);
  margin-bottom: 1.25rem;
}
.compare-panel h3 svg { width: 1.375rem; height: 1.375rem; flex-shrink: 0; }
.compare-panel--yes h3 svg { color: var(--primary); }
.compare-panel--no  h3 svg { color: var(--muted); }
.compare-panel ul { list-style: none; padding: 0; margin: 0; }
.compare-panel li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.compare-panel li:last-child { border-bottom: none; }
.compare-panel--no { background: var(--surface); }

/* --------------------------------------------------------------------------
   9. Split (image + text) block
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}

/* --------------------------------------------------------------------------
   10. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery .span-2 { grid-column: span 2; aspect-ratio: 8 / 5; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .span-2 { grid-column: span 2; }
}

/* --------------------------------------------------------------------------
   11. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.875rem;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }

.faq-item summary .chev {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.faq-item summary .chev svg { width: 0.875rem; height: 0.875rem; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--primary-tint); }

.faq-answer {
  padding: 0 clamp(1.25rem, 2.5vw, 1.75rem) 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  padding-block: calc(var(--section) * 1.12);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-md); }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.85); }

.cta-inner { max-width: 62ch; margin-inline: auto; text-align: center; }
.cta-inner > * + * { margin-top: 1.125rem; }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-card {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.field .req { color: var(--primary); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  color: var(--text);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #9C8F84; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}
.field textarea { min-height: 9rem; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.form-note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--muted); }

/* Contact detail list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.28rem;
  color: var(--primary);
}
.contact-list .k {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-list .v { font-size: var(--fs-md); font-weight: 500; color: var(--text); text-decoration: none; }
.contact-list a.v:hover { color: var(--primary); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer-brand .brand-name { color: #fff; }
.footer-tag { margin-top: 1rem; max-width: 34ch; color: rgba(255, 255, 255, 0.62); line-height: 1.65; }

.footer-title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.125rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.7rem; }
.footer-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer-list a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}
.footer-bottom p { max-width: 80ch; }

/* --------------------------------------------------------------------------
   15. Reveal on scroll
   -------------------------------------------------------------------------- */
/* Content is present on load — nothing fades in on scroll. */
.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   16. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.mt-3 { margin-top: clamp(2rem, 4vw, 3rem); }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   16. React island — interest form states
   Only the states the plain HTML form has no equivalent for. Fields and
   buttons reuse the existing .field / .btn rules so nothing looks different.
   -------------------------------------------------------------------------- */
.field-error {
  margin: 0.4rem 0 0;
  font-size: var(--fs-sm);
  color: #9B3B2E;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #9B3B2E; }

.form-status {
  display: block;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--primary);
  background: var(--accent-tint);
  font-size: var(--fs-sm);
}
.form-status--error { border-left-color: #9B3B2E; }
.form-status--ok { border-left-color: var(--primary); padding: 1.5rem 1.6rem; }
.form-status--ok h3 { margin-bottom: 0.5rem; }
.form-status--ok p { margin: 0; }
.form-status code {
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1em 0.35em;
}

/* Honeypot: reachable by bots, invisible and unfocusable for people. */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
