/* ═══════════════════════════════════════════════════════════
   Prachi Bridal Hub — Khandwa, est. 2014
   Palette: oxblood + gold leaf + ivory. Type: Cormorant / Jost.

   MOBILE FIRST. Everything outside a media query is the phone
   layout; `min-width` blocks progressively enhance upward.
   Breakpoints: 700px (tablet) · 1040px (desktop)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Colour */
  --ink:        #17100D;
  --oxblood:    #5A1220;
  --maroon:     #3B0A14;
  --maroon-deep:#210510;
  --gold:       #C8A24A;
  --gold-lit:   #E4CE93;
  --cream:      #F7F2E8;
  --sand:       #EFE5D4;
  --rose:       #C97C74;
  --wa-green:   #1F8F4E;

  --bg: var(--cream);
  --fg: var(--ink);
  --muted: color-mix(in srgb, var(--ink) 66%, transparent);
  --rule:  color-mix(in srgb, var(--ink) 14%, transparent);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Futura", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm — phone values; scaled up at the breakpoints */
  --wrap: 1280px;
  --gut: 1.25rem;
  --sec-y: 4.5rem;
  --nav-h: 62px;
  --dock-h: 64px;

  /* Smallest comfortable tap target */
  --tap: 48px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  /* `clip` — not `hidden`. `hidden` makes body a scroll container, which
     silently breaks `position: sticky` on everything inside it. */
  overflow-x: clip;
  /* Clear the thumb dock so it never covers the footer. */
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
}

/* Must outrank the `display` rules on .menu/.lightbox below — otherwise the
   [hidden] attribute loses and they sit invisible over the page eating clicks. */
[hidden] { display: none !important; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; }
p { margin: 0 0 1.1em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  background: var(--maroon); color: var(--cream);
  padding: .7rem 1.2rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec-y); position: relative; }

.section--dark {
  background: var(--maroon-deep);
  color: var(--sand);
  --muted: color-mix(in srgb, var(--sand) 66%, transparent);
  --rule: color-mix(in srgb, var(--gold) 26%, transparent);
}
.section--cream { background: var(--sand); }

/* ── Swipe rails ───────────────────────────────────────────
   Shared horizontal scroll-snap behaviour. On phones these bleed
   past the gutter so the next card peeks in and the gesture is
   discoverable; at ≥700px each one reverts to a normal layout.   */
.rail {
  display: flex;
  gap: .8rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  padding-inline: var(--gut);
  margin-inline: calc(var(--gut) * -1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }

/* ── Typography ────────────────────────────────────────── */
.eyebrow {
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow .num {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
  /* Gold-on-cream only reaches ~2.2:1, so light sections use oxblood. */
  color: var(--oxblood);
  font-style: italic;
}
.section--dark .eyebrow .num,
.groom .eyebrow .num,
.page-head .eyebrow .num { color: var(--gold-lit); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.15rem, 1.1rem + 4.6vw, 5rem);
  line-height: 1;
  letter-spacing: -.015em;
}
.display--xl { font-size: clamp(2.4rem, 1rem + 6vw, 6.5rem); }
.display em { font-style: italic; color: var(--gold); font-weight: 300; }
.section--cream .display em { color: var(--oxblood); }

/* Headings reset to margin:0 and paragraphs only carry a bottom margin, which
   leaves a 0px gap here. At line-height 1 Cormorant's descenders (the "p" in
   "person") then hang into the text below. Collapses with any section-specific
   margin-bottom, so this never doubles up. */
.display + p,
.display + .lede { margin-top: 1.25rem; }

.lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

.link {
  color: inherit;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color .3s var(--ease);
}
.link:hover { color: var(--gold); }

.sec-head { margin-bottom: 2.5rem; }
.sec-head__note { max-width: 34ch; color: var(--muted); font-size: .95rem; margin: 1.2rem 0 0; }
.sec-head__note a { border-bottom: 1px solid var(--gold); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--tap);
  padding: .85rem 1.7rem;
  font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid currentColor;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--maroon-deep); }
.btn--gold:hover { background: var(--gold-lit); border-color: var(--gold-lit); }
.btn--line { color: inherit; border-color: color-mix(in srgb, currentColor 40%, transparent); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost {
  color: inherit;
  border-color: color-mix(in srgb, currentColor 26%, transparent);
  min-height: 0; padding: .6rem 1.1rem; letter-spacing: .12em;
}
.btn--ghost svg { width: 14px; height: 14px; fill: var(--gold); }
.btn--ghost:hover { border-color: var(--gold); }

/* ── Loader ────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--maroon-deep);
  display: grid; place-content: center; gap: 1.8rem; justify-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { text-align: center; }
.loader__p { display: block; font-family: var(--serif); font-size: 3.4rem; font-style: italic; line-height: 1; color: var(--gold); }
.loader__word {
  display: block; margin-top: .5rem; color: var(--gold-lit);
  font-size: .64rem; letter-spacing: .5em; text-transform: uppercase; text-indent: .5em;
}
.loader__bar { width: 120px; height: 1px; background: color-mix(in srgb, var(--gold) 25%, transparent); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.1s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--gut);
  color: var(--sand);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              height .4s var(--ease), transform .4s var(--ease);
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--maroon-deep) 94%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 22%, transparent);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__brand { display: flex; align-items: center; gap: .65rem; }
.nav__monogram {
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1;
  color: var(--gold);
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  flex: none;
}
.nav__name { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name b { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; letter-spacing: .02em; }
.nav__name i { font-style: normal; font-size: .52rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

.nav__links { display: none; }
.nav__end { display: flex; align-items: center; gap: .75rem; }
.nav__call { display: none; }

.nav__toggle {
  width: var(--tap); height: var(--tap); position: relative;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
}
.nav__toggle span {
  position: absolute; left: 15px; width: 18px; height: 1px; background: currentColor;
  transition: transform .35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 21px; }
.nav__toggle span:nth-child(2) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* Full-screen mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--maroon-deep); color: var(--sand);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: var(--nav-h) var(--gut) calc(2rem + env(safe-area-inset-bottom, 0px));
  opacity: 0; transition: opacity .4s var(--ease);
  overflow-y: auto;
}
.menu.is-open { opacity: 1; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(1.85rem, 8vw, 3rem); font-weight: 300;
  display: flex; align-items: baseline; gap: 1rem;
  padding-block: .3rem; min-height: var(--tap);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, transparent);
}
.menu__links em { font-style: italic; font-size: .78rem; letter-spacing: .1em; color: var(--gold); font-family: var(--sans); font-weight: 400; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.menu__foot a { min-height: var(--tap); display: flex; align-items: center; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 12%, color-mix(in srgb, var(--oxblood) 78%, transparent), transparent 60%),
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 58%, #120308 100%);
  color: var(--sand);
  --muted: color-mix(in srgb, var(--sand) 68%, transparent);
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: 1.5rem;
  overflow: hidden;
}
.hero__ornament {
  position: absolute; inset: 0; color: var(--gold); opacity: .12; pointer-events: none;
  mask-image: radial-gradient(70% 60% at 60% 40%, #000 10%, transparent 75%);
}
.hero__ornament svg { width: 100%; height: 100%; }

.hero__inner {
  flex: 1;
  width: min(100% - var(--gut) * 2, var(--wrap));
  margin-inline: auto;
  display: grid; gap: 2rem;
  position: relative; z-index: 2;
}

.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.7rem, 1rem + 11vw, 7.4rem);
  line-height: .95; letter-spacing: -.02em;
  /* The .line descender padding below eats into this, so keep it generous. */
  margin: 0 0 2rem;
}
/* overflow:hidden masks the word-rise animation, but it also clips descenders
   (the "g" in Elegance). Pad the box out, then pull it back with margin. */
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__title .ch { display: inline-block; will-change: transform; }

.hero__sub { max-width: 44ch; color: color-mix(in srgb, var(--sand) 78%, transparent); }
.hero__sub b { color: var(--gold-lit); font-weight: 400; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.hero__cta .btn { flex: 1 1 auto; }

.hero__tags {
  display: flex; flex-wrap: wrap; gap: .45rem .7rem;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 72%, transparent);
}
.hero__tags li { display: flex; align-items: center; gap: .7rem; }
.hero__tags li:not(:last-child)::after { content: "✦"; color: var(--gold); font-size: .55rem; }

.hero__frame { margin: 0; position: relative; }
.hero__frame-inner {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  border-radius: 50vw 50vw 3px 3px / 26vw 26vw 3px 3px;
}
.hero__frame-inner img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame-inner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--maroon-deep) 62%, transparent), transparent 45%);
}
.hero__frame figcaption {
  display: flex; align-items: center; gap: .8rem; margin-top: .9rem;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 66%, transparent);
}
.hero__frame-no { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); letter-spacing: 0; }

.hero__foot {
  width: min(100% - var(--gut) * 2, var(--wrap));
  margin: 1.6rem auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  position: relative; z-index: 2;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 74%, transparent);
}
.hero__status { margin: 0; display: flex; align-items: center; gap: .55rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.is-open .dot { background: #5FBE7D; box-shadow: 0 0 0 3px color-mix(in srgb, #5FBE7D 22%, transparent); }
.is-shut .dot { background: var(--rose); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 20%, transparent); }

.hero__scroll { display: none; align-items: center; gap: .7rem; }
.hero__scroll i { width: 44px; height: 1px; background: color-mix(in srgb, var(--gold) 50%, transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: sweep 2.4s var(--ease) infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ── Marquee ───────────────────────────────────────────── */
.marquee { background: var(--gold); color: var(--maroon-deep); padding-block: .7rem; overflow: hidden; display: flex; }
.marquee__track { display: flex; flex: none; animation: marquee 34s linear infinite; }
.marquee__track span {
  flex: none; padding-right: 1.5rem; white-space: nowrap;
  font-family: var(--serif); font-size: 1.1rem; letter-spacing: .06em;
}
.marquee__track i { font-style: normal; opacity: .5; font-size: .7em; vertical-align: middle; padding-inline: .35rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── The House ─────────────────────────────────────────── */
.house__grid { display: grid; gap: 2.5rem; }
.house__media { position: relative; }
.house__img { margin: 0; overflow: hidden; }
.house__img img { width: 100%; height: 100%; object-fit: cover; }
.house__img--tall { aspect-ratio: 4 / 5; }
.house__img--sq {
  aspect-ratio: 1; width: 58%; margin: -20% 0 0 auto; position: relative;
  border: 5px solid var(--cream);
  outline: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  outline-offset: -6px;
}
.house__copy .display { margin-bottom: 1.4rem; }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem;
  margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--rule);
}
.stats dt { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--oxblood); font-weight: 400; }
.stats dd { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; line-height: 1.55; }

/* ── Collections ───────────────────────────────────────────
   A native horizontal rail: it moves only when the visitor scrolls
   it sideways (swipe, trackpad, shift+wheel) and never intercepts
   vertical scrolling. No JS involved — nothing to lag.            */
.collections__list {
  display: flex; gap: .8rem;
  padding-inline: var(--gut);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  scrollbar-width: none; -ms-overflow-style: none;
}
.collections__list::-webkit-scrollbar { display: none; }

.crow { flex: none; width: 76%; max-width: 320px; aspect-ratio: 3 / 4; scroll-snap-align: start; }
/* Image fills the card; the caption stacks from the bottom in normal flow so
   a long description pushes the title up instead of colliding with it. */
.crow a {
  position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: .9rem;
}
.crow__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.crow a::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* caption end */
    linear-gradient(to top, rgba(12, 2, 6, .92) 8%, rgba(12, 2, 6, .35) 45%, transparent 70%),
    /* and a scrim at the top, so the gold number stays legible over a
       bright photo — the placeholders were dark, real ones often aren't */
    linear-gradient(to bottom, rgba(12, 2, 6, .6) 0%, transparent 20%);
}
.crow__no {
  position: absolute; top: .8rem; left: .9rem; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold);
}
.crow__title {
  position: relative; z-index: 2; margin-bottom: .3rem;
  font-family: var(--serif); font-weight: 300; font-size: 1.75rem; line-height: 1.05;
  color: var(--sand);
}
.crow__desc {
  position: relative; z-index: 2;
  margin: 0; font-size: .78rem; line-height: 1.45;
  color: color-mix(in srgb, var(--sand) 80%, transparent);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.crow__go { display: none; }

/* Hint that the rail moves. */
.rail-hint {
  display: flex; align-items: center; gap: .5rem;
  margin: 0; padding-inline: var(--gut);
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.rail-hint i { display: block; width: 26px; height: 1px; background: var(--gold); }

/* ── Lookbook ──────────────────────────────────────────── */
.filters {
  display: flex; gap: .5rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gut);
  padding-inline: var(--gut);
  margin-inline: calc(var(--gut) * -1);
  margin-bottom: 1.6rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters__btn {
  flex: none;
  min-height: 42px; padding: .5rem 1.2rem;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  border: 1px solid var(--rule); border-radius: 100px;
  color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.filters__btn.is-active { background: var(--maroon); border-color: var(--maroon); color: var(--sand); }

/* Pinterest-style masonry. CSS columns, so each photo keeps its natural
   height and the next one starts immediately underneath — no row grid, no
   uniform crop. Tiles carry width/height attributes, so the browser reserves
   the right space before the image loads and nothing jumps. */
.grid { columns: 2; column-gap: .6rem; }

/* Home-page teaser: a few looks on a native horizontal rail. */
.look-rail {
  display: flex; gap: .6rem;
  padding-inline: var(--gut);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  scrollbar-width: none; -ms-overflow-style: none;
}
.look-rail::-webkit-scrollbar { display: none; }
.look-rail .tile { flex: none; width: 58%; max-width: 250px; scroll-snap-align: start; }

.tile {
  position: relative; margin: 0; overflow: hidden;
  background: var(--maroon-deep); cursor: pointer;
}
.grid .tile {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: .6rem;
  display: block;
}
.tile img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
/* The horizontal rails do want one consistent height, so they crop. */
.look-rail .tile { aspect-ratio: 3 / 4; }
.look-rail .tile img { height: 100%; object-fit: cover; }
.tile figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.2rem .7rem .7rem;
  background: linear-gradient(to top, rgba(15, 3, 8, .85), transparent);
  color: var(--sand);
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: flex-start; gap: .15rem;
}
.tile figcaption em { font-family: var(--serif); font-style: italic; color: var(--gold); letter-spacing: .04em; text-transform: none; font-size: .82rem; line-height: 1.2; }
.tile.is-hidden { display: none; }

.lookbook__cta { margin-top: 2.2rem; text-align: center; color: var(--muted); font-size: 1rem; }

/* Home page: the link out to the full lookbook. */
.lookbook__more {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  margin: 2.2rem 0 0; text-align: center;
}
.lookbook__more span {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* ── Lookbook page header ──────────────────────────────── */
.page-head {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 70%);
  color: var(--sand);
  --muted: color-mix(in srgb, var(--sand) 72%, transparent);
  padding-block: calc(var(--nav-h) + 2.5rem) 3rem;
}
.page-head .display { margin-bottom: 1.2rem; }
.page-head .display em { color: var(--gold); }
.back-link {
  display: inline-flex; align-items: center; min-height: var(--tap);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); transition: color .3s var(--ease);
}
.back-link:hover { color: var(--gold); }

.visit-strip { text-align: center; }
.visit-strip .lede { margin-inline: auto; }
.visit-strip .visit__status { justify-content: center; margin-bottom: 1.8rem; }
.visit-strip .hero__cta { justify-content: center; margin-bottom: 0; }

/* Shown only by the <noscript> block in index.html. */
.lookbook__nojs {
  display: none; padding: 2rem; text-align: center;
  border: 1px solid var(--rule); color: var(--muted); max-width: 52ch; margin-inline: auto;
}

/* ── Happy Clients ─────────────────────────────────────── */
.client-rail {
  display: flex; gap: .6rem;
  padding-inline: var(--gut);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  scrollbar-width: none; -ms-overflow-style: none;
}
.client-rail::-webkit-scrollbar { display: none; }
.client-tile {
  flex: none; margin: 0; scroll-snap-align: start;
  width: 62%; max-width: 260px; aspect-ratio: 3 / 4.4;
  overflow: hidden; background: var(--maroon-deep);
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
}
.client-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ── Rent or Buy ───────────────────────────────────────── */
.rent__grid { display: grid; gap: 2rem; }
.rent__copy .display { margin-bottom: 1.3rem; }

.rent__cards {
  display: flex; gap: .8rem; margin-top: 2rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  padding-inline: var(--gut);
  margin-inline: calc(var(--gut) * -1);
  scrollbar-width: none; -ms-overflow-style: none;
}
.rent__cards::-webkit-scrollbar { display: none; }
.rent__card {
  flex: none; width: 82%; max-width: 340px; scroll-snap-align: start;
  padding: 1.6rem 1.4rem;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-top: 2px solid var(--gold);
}
.rent__card--alt { background: var(--maroon-deep); color: var(--sand); border-color: transparent; }
.rent__card h3 {
  font-family: var(--serif); font-size: 1.55rem; margin-bottom: 1rem;
  padding-bottom: .7rem; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}
.rent__card ul { display: grid; gap: .7rem; }
.rent__card li {
  font-size: .87rem; line-height: 1.5; padding-left: 1.2rem; position: relative;
  color: color-mix(in srgb, currentColor 82%, transparent);
}
.rent__card li::before { content: "✦"; position: absolute; left: 0; top: .05em; color: var(--gold); font-size: .62rem; }
.rent__card b { font-weight: 500; color: var(--oxblood); }
.rent__card--alt b { color: var(--gold-lit); }
.rent__note { margin-top: 1.8rem; font-size: .92rem; color: var(--muted); }
.rent__links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.rent__links .btn { flex: 1 1 auto; }

/* Numbered "how it works" list on rent.html / buy.html. */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.1rem;
  padding-top: 1.4rem; border-top: 1px solid var(--rule);
}
.step__no {
  grid-row: span 2;
  font-family: var(--serif); font-style: italic; font-size: 1.6rem;
  line-height: 1; color: var(--oxblood);
}
.step h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); max-width: 52ch; }

.rent__img { margin: 0; overflow: hidden; }
.rent__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ── Groom ─────────────────────────────────────────────── */
.groom {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--sand); padding-block: 5rem;
  --muted: color-mix(in srgb, var(--sand) 72%, transparent);
}
.groom__bg { position: absolute; inset: -8% 0; margin: 0; z-index: -2; }
.groom__bg img { width: 100%; height: 100%; object-fit: cover; }
.groom::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(12, 20, 19, .95) 0%, rgba(12, 20, 19, .8) 55%, rgba(12, 20, 19, .62) 100%);
}
.groom__inner { max-width: 58ch; }
.groom .display { margin-bottom: 1.4rem; }
.groom .display em { color: var(--gold-lit); }
.groom .btn { margin-top: 2rem; }

.chips {
  display: flex; gap: .5rem; margin-top: 1.6rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gut);
  padding-inline: var(--gut);
  margin-inline: calc(var(--gut) * -1);
  scrollbar-width: none; -ms-overflow-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips li {
  flex: none;
  padding: .55rem 1.1rem; border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, transparent);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 92%, transparent);
  white-space: nowrap;
}

/* ── Visit ─────────────────────────────────────────────── */
.visit__grid {
  display: grid; gap: 1px;
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  margin-bottom: 1.8rem;
}
.visit__panel { background: var(--maroon-deep); padding: 1.5rem; }
.visit__panel h3 { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-weight: 500; }
.visit__panel address, .visit__panel .contact { font-size: 1rem; line-height: 1.8; }
.visit__panel .link { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: .6rem; font-size: .85rem; }
.contact a { display: flex; align-items: center; min-height: var(--tap); }
.contact a:hover { color: var(--gold); }
.visit__owner { margin: 1rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-lit); }

.hours th, .hours td { padding: .55rem 0; text-align: left; font-weight: 300; font-size: .92rem; }
.hours th { color: var(--muted); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold-lit); }
.hours tr:not(:last-child) th, .hours tr:not(:last-child) td { border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, transparent); }
.visit__status { display: flex; align-items: center; gap: .55rem; margin: 1.1rem 0 0; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }

.visit__map {
  aspect-ratio: 4 / 3; min-height: 260px;
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); overflow: hidden;
}
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ── Footer ────────────────────────────────────────────── */
.foot {
  background: var(--ink); color: var(--sand);
  padding-block: 3rem 1.5rem;
  --muted: color-mix(in srgb, var(--sand) 62%, transparent);
}
.foot__top {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem;
  padding-bottom: 2rem; margin-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
}
.foot__mark { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 300; }
.foot__mark em { font-style: italic; color: var(--gold); }
.foot__tag { margin: 0; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

.foot__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; margin-bottom: 2.2rem; }
.foot__cols h4 { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; font-weight: 500; }
.foot__cols a { display: flex; align-items: center; min-height: 40px; font-size: .9rem; color: var(--muted); transition: color .3s var(--ease); }
.foot__cols a:hover { color: var(--sand); }

.foot__base {
  display: grid; gap: .6rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--sand) 12%, transparent);
  font-size: .72rem; color: var(--muted);
}
.foot__base p { margin: 0; }
.foot__up { justify-self: start; min-height: 40px; display: flex; align-items: center; transition: color .3s var(--ease); }
.foot__up:hover { color: var(--gold); }

.foot__credit {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 42%, transparent);
}
.foot__credit i { display: block; width: 16px; height: 1px; background: var(--gold); opacity: .6; }
.foot__credit b { font-weight: 400; color: color-mix(in srgb, var(--sand) 70%, transparent); }

/* ── WhatsApp FAB (desktop) ────────────────────────────── */
.wa {
  display: none;
  position: fixed; right: 2rem; bottom: 2rem; z-index: 95;
  align-items: center; gap: .55rem;
  padding: .85rem 1.3rem;
  background: var(--wa-green); color: #fff; border-radius: 100px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transform: translateY(150%);
  transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.wa.is-in { transform: none; }
.wa:hover { background: #24A65B; }
.wa svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ── Thumb dock (phones) ───────────────────────────────── */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: color-mix(in srgb, var(--maroon-deep) 97%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dock__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: var(--dock-h);
  color: var(--sand);
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
}
.dock__btn svg { width: 19px; height: 19px; fill: var(--gold); }
.dock__btn:active { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.dock__btn--wa svg { fill: #5FBE7D; }
.dock__btn + .dock__btn { border-left: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: color-mix(in srgb, #0B0206 95%, transparent);
  backdrop-filter: blur(8px);
  /* Content-sized rows centred as one group, so the prev/next buttons sit
     directly under the caption instead of being stranded at the bottom. */
  display: grid; grid-template-rows: auto auto;
  align-content: center; justify-items: stretch; gap: 1.1rem;
  padding: 3.5rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  opacity: 0; transition: opacity .3s var(--ease);
  touch-action: pan-y;
}
.lightbox.is-on { opacity: 1; }
.lightbox__stage { margin: 0; display: grid; place-items: center; gap: .9rem; min-height: 0; }
.lightbox__stage img {
  max-width: 100%; max-height: 68svh; object-fit: contain;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
}
.lightbox__stage figcaption { color: var(--sand); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.lightbox__nav, .lightbox__close {
  color: var(--sand);
  width: var(--tap); height: var(--tap);
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--sand) 22%, transparent);
  border-radius: 50%; font-size: 1.6rem; line-height: 1;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.lightbox__nav:hover, .lightbox__close:hover { color: var(--gold); border-color: var(--gold); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; font-size: 1.9rem; }
/* Phone: prev/next share row 2 (same cell), pushed to opposite edges,
   so both sit under the image within thumb reach. */
.lightbox__nav { grid-row: 2; }
.lightbox__nav--prev { justify-self: start; }
.lightbox__nav--next { justify-self: end; }

/* ── Reveal ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

/* ?shot=1 — final-frame state for screenshots and visual checks. */
.is-shot .reveal { opacity: 1 !important; transform: none !important; }
.is-shot .loader { display: none; }
.is-shot .wa { transform: none; }
.is-shot .marquee__track { animation: none; }
.is-shot .hero__scroll i::after { animation: none; }


/* ═══════════════════════════════════════════════════════════
   ≥ 700px — tablet
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 700px) {
  :root { --gut: 2.5rem; --sec-y: 6.5rem; --nav-h: 70px; }

  body { font-size: 1.04rem; padding-bottom: 0; }

  .eyebrow { font-size: .69rem; letter-spacing: .3em; margin-bottom: 1.6rem; }
  .lede { font-size: 1.18rem; }
  .sec-head { margin-bottom: 3.5rem; }

  .hero { padding-top: calc(var(--nav-h) + 2rem); }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__frame { max-width: 380px; }
  .hero__tags { font-size: .68rem; }

  .marquee__track span { font-size: 1.35rem; }

  .house__grid { gap: 3.5rem; }
  .house__img--sq { position: absolute; right: -6%; bottom: 0; width: 46%; margin: 0; border-width: 6px; }
  .house__media { padding-bottom: 4rem; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .stats dt { font-size: 2.8rem; }

  .crow { width: 46%; max-width: 340px; }

  .grid { columns: 3; column-gap: 1rem; }
  .grid .tile { margin-bottom: 1rem; }
  .tile figcaption {
    flex-direction: row; align-items: flex-end; justify-content: space-between; gap: .6rem;
    font-size: .66rem; padding: 2.5rem 1rem .9rem;
    opacity: 0; transform: translateY(8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
  .tile figcaption em { font-size: .95rem; }
  .tile:hover img { transform: scale(1.06); }

  .rent__card { width: 46%; }
  .rent__links .btn { flex: 0 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
  .rent__img img { aspect-ratio: 21 / 9; }

  .groom { padding-block: 7rem; }

  .visit__grid { grid-template-columns: repeat(3, 1fr); }
  .visit__panel { padding: 2rem; }
  .visit__map { aspect-ratio: 21 / 9; min-height: 300px; }

  .foot__cols { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }

  .dock { display: none; }
  .wa { display: flex; }

  .lightbox {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: none;
    padding: 3rem;
  }
  .lightbox__stage { grid-column: 2; }
  .lightbox__nav { grid-row: auto; }
  .lightbox__nav--prev { grid-column: 1; }
  .lightbox__nav--next { grid-column: 3; }
  .lightbox__stage img { max-height: 76vh; }
}


/* ═══════════════════════════════════════════════════════════
   ≥ 1040px — desktop
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1040px) {
  :root { --gut: 4.5rem; --sec-y: 9rem; --nav-h: 78px; }

  .nav.is-stuck { height: 66px; }
  .nav__links { display: flex; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
  .nav__links a {
    font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
    position: relative; padding-block: .4rem;
    color: color-mix(in srgb, currentColor 82%, transparent);
    transition: color .3s var(--ease);
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease);
  }
  .nav__links a:hover { color: var(--gold); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__call { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__monogram { width: 40px; height: 40px; font-size: 1.9rem; }
  .nav__name b { font-size: 1.25rem; }
  .nav__name i { font-size: .56rem; letter-spacing: .34em; }

  .hero { min-height: 100svh; }
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr); gap: 5rem; align-items: center; }
  .hero__frame { max-width: none; }
  .hero__scroll { display: flex; }

  .house__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 6rem; align-items: center; }
  .stats dt { font-size: 3.2rem; }
  .stats dd { font-size: .72rem; letter-spacing: .12em; }

  .crow__title { font-size: 2.1rem; }
  .crow__desc { font-size: .85rem; -webkit-line-clamp: 3; }
  .crow a:hover .crow__title { color: var(--gold); }

  .sec-head--row { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-end; justify-content: space-between; }
  .sec-head__note { margin-top: 0; }

  .filters { flex-wrap: wrap; overflow: visible; padding-inline: 0; margin-inline: 0; margin-bottom: 3rem; }
  .filters__btn:hover { color: var(--fg); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }

  .grid { columns: 4; column-gap: 1.2rem; }
  .grid .tile { margin-bottom: 1.2rem; }
  .lookbook__cta { margin-top: 4rem; font-size: 1.02rem; }

  .rent__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5rem; align-items: start; }
  .rent__cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
    overflow: visible; padding-inline: 0; margin-inline: 0;
  }
  .rent__card { width: auto; max-width: none; padding: 1.9rem 1.6rem; }
  .rent__img { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .rent__img img { aspect-ratio: 4 / 5; }

  .groom { padding-block: 11rem; }
  .chips { flex-wrap: wrap; overflow: visible; padding-inline: 0; margin-inline: 0; margin-top: 2rem; }
  .chips li { transition: background-color .3s var(--ease), color .3s var(--ease); }
  .chips li:hover { background: var(--gold); color: var(--maroon-deep); }

  .visit__map { min-height: 340px; }
  .foot { padding-block: 5rem 2rem; }
}


/* ═══════════════════════════════════════════════════════════
   Preferences & print
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .wa { transform: none; }
  .marquee__track { animation: none; }
}

@media print {
  .nav, .menu, .wa, .dock, .loader,
  .lightbox, .visit__map, .marquee, .rail-hint { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .reveal { opacity: 1; transform: none; }
}
