/*
  ============================================================================
  KASAVUKENDRA WEDDING CENTRE — v2 "THE THREAD"
  ----------------------------------------------------------------------------
  Tazhekkod, Kozhikode · Kerala
  ----------------------------------------------------------------------------
  DESIGN LANGUAGE
  ---------------
  The literal visual signature of kasavu — the gold zari border woven into
  unbleached cotton — is the structural element of the site. A thin gold
  thread frames the page edges, becomes the navigation underline, traces the
  brand wordmark, runs along section breaks like the selvedge of a saree, and
  forms the borders of every meaningful surface. Malayalam (in Manjari, by
  SMC Santhosh Thottingal) is paired with English titles throughout — so the
  site cannot be confused with a generic template.

  PALETTE
  -------
  Deep warm ink (almost-black, hint of brown) — so gold sings against it.
  Temple gold #C9A961 — saree zari, never fluorescent.
  Unbleached cotton #F2E8CF — the kasavu base color.
  Sindoor red #6B2737 — single accent, used sparingly.

  TYPOGRAPHY
  ----------
  Display: Fraunces (variable, SOFT 100, italic for accents — distinctive,
           NOT Cormorant/Boska/Bricolage clichés)
  Body:    Switzer (Fontshare, variable)
  Malayalam: Manjari (SMC Kerala, free, technically excellent)
  Mono:    JetBrains Mono (tiny labels, classified-style metadata)
  ============================================================================
*/

/* ============= 1. RESET ============= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============= 2. TOKENS ============= */
:root {
  /* palette */
  --ink:         #0A0907;   /* page bg, warm near-black */
  --ink-2:       #131110;   /* surface */
  --ink-3:       #1C1814;   /* card */
  --ink-4:       #26211B;   /* hover */
  --gold:        #C9A961;   /* temple gold */
  --gold-bright: #E5C77E;   /* glow */
  --gold-deep:   #8A7234;   /* dim accent */
  --gold-thread: rgba(201, 169, 97, 0.55); /* thin thread color */
  --cotton:      #F2E8CF;   /* unbleached kasavu base */
  --cotton-pure: #FBF7EE;   /* purest paper */
  --burgundy:    #6B2737;   /* sindoor */
  --burgundy-2:  #3E141E;   /* deep sindoor for CTA bg */
  --text:        #E8DCC1;   /* on dark */
  --text-muted:  #968976;
  --text-faint:  #5C5347;
  --line:        rgba(201, 169, 97, 0.16);
  --line-strong: rgba(201, 169, 97, 0.32);

  /* type families */
  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body:    "Switzer", "Inter", system-ui, -apple-system, sans-serif;
  --f-ml:      "Manjari", "Fraunces", serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* fraunces variation defaults (organic, slightly imperfect — NOT Cormorant) */
  --frx-soft: 100;
  --frx-wonk: 1;

  /* fluid scale (more extreme than v1 — bigger display, tighter body) */
  --t-xs:   clamp(0.68rem, 0.66rem + 0.10vw, 0.74rem);
  --t-sm:   clamp(0.80rem, 0.78rem + 0.12vw, 0.90rem);
  --t-base: clamp(1.00rem, 0.95rem + 0.18vw, 1.08rem);
  --t-md:   clamp(1.18rem, 1.05rem + 0.45vw, 1.36rem);
  --t-lg:   clamp(1.55rem, 1.30rem + 0.90vw, 2.05rem);
  --t-xl:   clamp(2.20rem, 1.70rem + 2.00vw, 3.40rem);
  --t-2xl:  clamp(3.00rem, 2.20rem + 3.20vw, 5.20rem);
  --t-3xl:  clamp(4.00rem, 2.60rem + 5.20vw, 7.80rem);
  --t-4xl:  clamp(5.50rem, 3.20rem + 8.50vw, 12rem);

  /* spacing */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;   --s-4: 16px;
  --s-5: 24px; --s-6: 32px;  --s-7: 48px;   --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 192px;

  --r-sm: 2px;  --r-md: 4px; --r-lg: 12px; --r-full: 999px;

  --container: 1380px;
  --container-narrow: 980px;
  --container-wide: 1640px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ============= 3. BASE TYPOGRAPHY ============= */
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02", "kern";
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 460;
  font-variation-settings: "SOFT" var(--frx-soft), "WONK" var(--frx-wonk), "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cotton-pure);
}

h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); line-height: 1.1; }
h4 { font-size: var(--t-lg); }

em, .italic-accent {
  font-family: var(--f-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48;
  font-weight: 400;
  color: var(--gold-bright);
}

p { color: var(--text); }
p.lede {
  font-size: var(--t-md);
  line-height: 1.55;
  max-width: 60ch;
  color: var(--text);
}

::selection { background: var(--gold); color: var(--ink); }

/* small Malayalam helper */
.ml {
  font-family: var(--f-ml);
  font-weight: 400;
  color: var(--gold-bright);
}
.ml--lg { font-size: 0.7em; vertical-align: 0.15em; }
.ml--inline { color: var(--gold); margin-left: 0.4em; opacity: 0.85; font-weight: 400; }

/* ============= 4. THE KASAVU MOTIF =============
   The defining visual element of the brand made into pure CSS.
   A repeating diamond+lotus border, in gold, like the actual zari border.
*/
:root {
  /* SVG-encoded kasavu border pattern — diamond + temple motif. Tileable. */
  --kasavu-border:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' width='120' height='28'%3E%3Cdefs%3E%3Cstyle%3E.l%7Bfill:none;stroke:%23C9A961;stroke-width:0.6%7D%3C/style%3E%3C/defs%3E%3Cline class='l' x1='0' y1='1.5' x2='120' y2='1.5'/%3E%3Cline class='l' x1='0' y1='26.5' x2='120' y2='26.5'/%3E%3Cg fill='%23C9A961'%3E%3Cpath d='M15 14 L20 9 L25 14 L20 19 Z'/%3E%3Cpath d='M55 14 L60 9 L65 14 L60 19 Z'/%3E%3Cpath d='M95 14 L100 9 L105 14 L100 19 Z'/%3E%3Ccircle cx='40' cy='14' r='1.6'/%3E%3Ccircle cx='80' cy='14' r='1.6'/%3E%3C/g%3E%3Cg class='l'%3E%3Cpath d='M0 14 L15 14'/%3E%3Cpath d='M25 14 L40 14'/%3E%3Cpath d='M40 14 L55 14'/%3E%3Cpath d='M65 14 L80 14'/%3E%3Cpath d='M80 14 L95 14'/%3E%3Cpath d='M105 14 L120 14'/%3E%3C/g%3E%3C/svg%3E");

  /* Thinner single-thread variant — just two parallel lines + tiny dots */
  --kasavu-thread:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' width='120' height='8'%3E%3Cline x1='0' y1='1' x2='120' y2='1' stroke='%23C9A961' stroke-width='0.5' opacity='0.85'/%3E%3Cline x1='0' y1='7' x2='120' y2='7' stroke='%23C9A961' stroke-width='0.5' opacity='0.55'/%3E%3Ccircle cx='30' cy='4' r='0.8' fill='%23C9A961'/%3E%3Ccircle cx='60' cy='4' r='0.8' fill='%23C9A961'/%3E%3Ccircle cx='90' cy='4' r='0.8' fill='%23C9A961'/%3E%3C/svg%3E");
}

.kasavu-band {
  height: 28px;
  background-image: var(--kasavu-border);
  background-repeat: repeat-x;
  background-size: auto 28px;
  opacity: 0.9;
}
.kasavu-thread {
  height: 8px;
  background-image: var(--kasavu-thread);
  background-repeat: repeat-x;
  background-size: auto 8px;
}

/* ============= 5. PAGE FRAME (the gold thread around the page) ============= */
.frame {
  position: fixed;
  pointer-events: none;
  z-index: 50;
}
.frame--top {
  top: 12px; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-thread) 8%, var(--gold-thread) 92%, transparent);
}
.frame--bot {
  bottom: 12px; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-thread) 8%, var(--gold-thread) 92%, transparent);
}
.frame--lft {
  top: 12px; bottom: 12px; left: 12px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-thread) 8%, var(--gold-thread) 92%, transparent);
}
.frame--rgt {
  top: 12px; bottom: 12px; right: 12px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-thread) 8%, var(--gold-thread) 92%, transparent);
}
@media (max-width: 640px) {
  .frame--top, .frame--bot { left: 6px; right: 6px; }
  .frame--lft, .frame--rgt { top: 6px; bottom: 6px; }
}

/* ============= 6. CONTAINER & SECTION ============= */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--compact { padding-block: clamp(48px, 7vw, 90px); }
.section--ivory { background: var(--cotton); color: var(--ink); }
.section--ivory h1, .section--ivory h2, .section--ivory h3, .section--ivory h4 { color: var(--ink); }
.section--ivory .eyebrow { color: var(--gold-deep); }
.section--ivory .eyebrow::before { background: var(--gold-deep); }
.section--ivory p { color: rgba(10,9,7,0.78); }
.section--ivory em, .section--ivory .italic-accent { color: var(--burgundy); }
.section--ivory .ml { color: var(--burgundy); }
.section--surface { background: var(--ink-2); }
.section--burgundy { background: var(--burgundy-2); }

/* ============= 7. EYEBROW (classified-style metadata label) ============= */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

/* numbered classified-style index */
.idx {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============= 8. NAV ============= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: var(--s-4) 0;
  background: linear-gradient(to bottom, rgba(10,9,7,0.92), rgba(10,9,7,0.0));
  transition: background .3s var(--ease-out), backdrop-filter .3s var(--ease-out), padding .3s var(--ease-out), border-color .3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 9, 7, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--s-3) 0;
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--cotton-pure);
}
.nav__brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold);
}
.nav__brand-text {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
  font-weight: 500;
  color: var(--cotton-pure);
}
.nav__brand-text small {
  display: block;
  font-family: var(--f-ml);
  font-size: 13px;
  color: var(--gold-bright);
  margin-top: 4px;
  letter-spacing: 0;
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
}
.nav__link {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color .25s;
  position: relative;
  padding: 4px 0;
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-bright); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px 0;
  height: 1px;
  background: var(--gold);
}
.nav__cta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 11px 20px;
  border-radius: var(--r-full);
  transition: background .25s, color .25s;
}
.nav__cta:hover { background: var(--gold); color: var(--ink); }
.nav__hamburger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: var(--cotton-pure);
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform .3s, opacity .2s;
}
.nav.is-open .nav__hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--ink);
  padding: 110px var(--gutter) var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  z-index: 90;
  overflow-y: auto;
}
.nav.is-open .nav__mobile {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav__mobile a {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-size: 34px;
  color: var(--cotton-pure);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
}
.nav__mobile a .ml {
  font-size: 18px;
  color: var(--gold);
}
.nav__mobile .nav__cta {
  align-self: flex-start;
  margin-top: var(--s-5);
}
.nav__mobile-foot {
  margin-top: auto;
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.nav__mobile-foot strong { color: var(--gold-bright); font-weight: 500; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta.nav__cta--desktop { display: none; }
  .nav__hamburger { display: flex; }
  .nav__brand-text { font-size: 20px; }
  .nav__brand-text small { font-size: 12px; }
}

/* ============= 9. BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 30px;
  border-radius: var(--r-full);
  transition: background .25s var(--ease-out), color .25s, transform .35s var(--ease-out), box-shadow .3s;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 12px 32px -8px rgba(201,169,97,0.55);
}
.btn--ghost {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: transparent;
}
.btn--ghost:hover { background: var(--gold); color: var(--ink); }
.btn--ink {
  background: var(--ink);
  color: var(--cotton-pure);
  border-color: var(--ink);
}
.btn--ink:hover { background: var(--ink-3); border-color: var(--gold); color: var(--gold-bright); }
.btn__arrow {
  width: 14px;
  height: 14px;
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============= 10. REVEAL (fallback-visible — CLAUDE.md rule) ============= */
.reveal { opacity: 1; transform: none; }
.js-loaded .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js-loaded .reveal.is-visible { opacity: 1; transform: none; }
.js-loaded .reveal--delay-1 { transition-delay: .08s; }
.js-loaded .reveal--delay-2 { transition-delay: .16s; }
.js-loaded .reveal--delay-3 { transition-delay: .24s; }
.js-loaded .reveal--delay-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js-loaded .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============= 11. HERO (editorial cover) ============= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 var(--s-7);
  overflow: hidden;
  background: var(--ink);
}
.hero__cover {
  position: relative;
  z-index: 2;
}
.hero__masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__masthead strong { color: var(--gold-bright); font-weight: 500; display: block; margin-bottom: 4px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.hero__title {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-size: var(--t-4xl);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-weight: 380;
  color: var(--cotton-pure);
  margin-bottom: var(--s-6);
}
.hero__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--gold-bright);
  font-weight: 360;
  display: block;
  margin-top: 0.05em;
}

.hero__ml {
  font-family: var(--f-ml);
  font-size: clamp(1.2rem, 0.9rem + 1vw, 2rem);
  color: var(--gold-bright);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: var(--s-7);
  opacity: 0.92;
}
.hero__sub {
  font-size: var(--t-md);
  color: var(--text);
  margin-bottom: var(--s-7);
  max-width: 50ch;
  line-height: 1.55;
}
.hero__cta-row { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-7); }

/* the kasavu pleat illustration column */
.hero__pleat {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.5;
  max-height: 70vh;
  overflow: hidden;
}
.hero__pleat svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__foot {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__foot strong { color: var(--gold-bright); font-weight: 500; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__pleat { aspect-ratio: 4 / 3; max-height: 36vh; }
  .hero { padding: 110px 0 var(--s-5); }
}

/* ============= 12. EDITORIAL DROP-CAP ============= */
.editorial-open {
  max-width: 720px;
  font-size: clamp(1.10rem, 1.00rem + 0.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--text);
}
.editorial-open .dropcap {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  float: left;
  font-size: 5.6em;
  line-height: 0.86;
  margin: 0.05em 0.12em 0 -0.02em;
  color: var(--gold);
  font-weight: 400;
  font-style: normal;
}
.section--ivory .editorial-open { color: rgba(10,9,7,0.82); }
.section--ivory .editorial-open .dropcap { color: var(--burgundy); }

/* ============= 13. SECTION HEADERS (paired with Malayalam) ============= */
.s-head {
  display: grid;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
  max-width: 65ch;
}
.s-head--center { margin-inline: auto; text-align: center; }
.s-head--center .eyebrow { justify-content: center; }
.s-head h2 { font-size: var(--t-2xl); }
.s-head__ml {
  font-family: var(--f-ml);
  font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.6rem);
  color: var(--gold-bright);
  line-height: 1.1;
  margin-top: 4px;
  opacity: 0.92;
}
.s-head p { color: var(--text-muted); font-size: var(--t-md); max-width: 58ch; }
.section--ivory .s-head p { color: rgba(10,9,7,0.65); }

/* ============= 14. FLOOR PLAN DIAGRAM (5-floor cross-section, SVG) ============= */
.floorplan {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.floorplan__svg {
  position: sticky;
  top: 120px;
  align-self: start;
}
.floorplan__svg svg { width: 100%; height: auto; max-width: 380px; }
.floorplan__list { display: grid; gap: 0; }
.floorplan__floor {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: pointer;
  transition: padding-left .3s var(--ease-out);
}
.floorplan__floor:last-child { border-bottom: none; }
.floorplan__floor:hover { padding-left: var(--s-3); }
.floorplan__num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 6px;
}
.floorplan__num strong {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "opsz" 60;
  font-size: 32px;
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.floorplan__floor h4 {
  font-size: clamp(1.4rem, 1.1rem + 0.7vw, 1.7rem);
  color: var(--cotton-pure);
  margin-bottom: var(--s-2);
  font-variation-settings: "SOFT" 80, "opsz" 48;
}
.floorplan__floor h4 .ml { font-size: 0.75em; color: var(--gold); opacity: 0.9; }
.floorplan__floor p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; max-width: 50ch; }
@media (max-width: 900px) {
  .floorplan { grid-template-columns: 1fr; }
  .floorplan__svg { position: relative; top: 0; max-width: 280px; margin: 0 auto var(--s-6); }
}

/* ============= 15. EDITORIAL SPLIT (asymmetric magazine) ============= */
.editorial-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.editorial-split--reverse { grid-template-columns: 7fr 5fr; }
.editorial-split__figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
}
.editorial-split__figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) saturate(0.92);
}
.editorial-split__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242,232,207,0.15);
  pointer-events: none;
}
.editorial-split__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-5);
  background: linear-gradient(to top, rgba(10,9,7,0.92), transparent);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.editorial-split__body { position: sticky; top: 120px; align-self: start; }
.editorial-split__body h2 { margin-bottom: var(--s-5); }
.editorial-split__body p { margin-bottom: var(--s-4); color: var(--text); line-height: 1.65; }
.editorial-split__body p:last-child { margin-bottom: 0; }
.editorial-split__quote {
  font-family: var(--f-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96;
  font-size: var(--t-lg);
  line-height: 1.4;
  color: var(--gold-bright);
  padding: var(--s-4) 0 var(--s-4) var(--s-5);
  border-left: 1px solid var(--gold);
  margin: var(--s-6) 0;
  max-width: 50ch;
  font-weight: 350;
}
@media (max-width: 900px) {
  .editorial-split, .editorial-split--reverse { grid-template-columns: 1fr; gap: var(--s-6); }
  .editorial-split__body { position: relative; top: 0; }
  .editorial-split__figure { aspect-ratio: 3 / 4; max-width: 520px; }
}

/* ============= 16. CATALOG SPREAD (newspaper-style) ============= */
.catalog {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}
.catalog__intro {
  grid-column: span 5;
  position: sticky;
  top: 120px;
  align-self: start;
}
.catalog__intro h3 {
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem);
  margin-bottom: var(--s-4);
}
.catalog__intro p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.catalog__grid {
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) var(--s-4);
}
.catalog__plate {
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.catalog__plate__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
  position: relative;
}
.catalog__plate__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.catalog__plate:hover .catalog__plate__img img { transform: scale(1.04); }
.catalog__plate__no {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.catalog__plate__name {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 80, "opsz" 48;
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.3rem);
  line-height: 1.2;
  color: var(--cotton-pure);
  font-weight: 460;
}
.catalog__plate__meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.catalog__plate__meta strong { color: var(--gold-bright); font-weight: 500; }
@media (max-width: 900px) {
  .catalog__intro, .catalog__grid { grid-column: span 12; }
  .catalog__intro { position: relative; top: 0; margin-bottom: var(--s-5); }
}
@media (max-width: 540px) {
  .catalog__grid { grid-template-columns: 1fr; }
}

/* ============= 17. BRIDAL ANNOTATED SPREAD ============= */
.bridal-spread {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.bridal-spread__img {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}
.bridal-spread__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.bridal-spread__pin {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(10,9,7,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; gap: var(--s-2);
  z-index: 2;
}
.bridal-spread__pin::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(201,169,97,0.4);
}
.bridal-spread__body {
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-5);
}
.bridal-spread__steps {
  display: grid;
  gap: 0;
  margin-top: var(--s-4);
}
.bridal-spread__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.bridal-spread__step:last-child { border-bottom: none; }
.bridal-spread__step__no {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 60, "opsz" 60;
  font-size: 38px;
  font-weight: 400;
  color: var(--gold-bright);
  line-height: 1;
  letter-spacing: -0.04em;
}
.bridal-spread__step strong {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 80, "opsz" 36;
  font-size: var(--t-md);
  color: var(--cotton-pure);
  font-weight: 460;
  display: block;
  margin-bottom: 4px;
}
.bridal-spread__step span { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.bridal-spread__step .ml { font-size: 14px; color: var(--gold); margin-left: 6px; opacity: 0.85; }
@media (max-width: 900px) {
  .bridal-spread { grid-template-columns: 1fr; }
  .bridal-spread__img { min-height: 420px; }
}

/* ============= 18. KERALA MAP (with weaving cluster pins) ============= */
.kerala-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.kerala-map svg { width: 100%; height: auto; max-width: 480px; }
.kerala-map__list { display: grid; gap: var(--s-5); }
.kerala-map__cluster {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.kerala-map__cluster:last-child { border-bottom: none; }
.kerala-map__cluster h4 {
  font-size: var(--t-lg);
  margin-bottom: var(--s-2);
}
.kerala-map__cluster h4 .ml { font-size: 0.6em; color: var(--gold); margin-left: 8px; opacity: 0.85; }
.kerala-map__cluster__meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.kerala-map__cluster p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) {
  .kerala-map { grid-template-columns: 1fr; }
}

/* ============= 19. STAT BAND ============= */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.stat-row .stat {
  padding: var(--s-7) var(--s-5);
  border-left: 1px solid var(--line);
}
.stat-row .stat:first-child { border-left: none; }
.stat__num {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 4rem);
  line-height: 1;
  color: var(--gold-bright);
  font-weight: 380;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-3);
}
.stat__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat__label .ml { color: var(--gold); margin-left: 6px; opacity: 0.85; font-family: var(--f-ml); font-size: 13px; letter-spacing: 0; }
@media (max-width: 700px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row .stat { border-left: 1px solid var(--line); border-top: 1px solid var(--line); padding: var(--s-5) var(--s-4); }
  .stat-row .stat:nth-child(odd) { border-left: none; }
  .stat-row .stat:nth-child(1), .stat-row .stat:nth-child(2) { border-top: none; }
}

/* ============= 20. BRANCH CARDS ============= */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--s-6);
}
.branch-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.branch-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.branch-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-3);
  position: relative;
}
.branch-card__img img { width: 100%; height: 100%; object-fit: cover; }
.branch-card__body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); flex: 1; }
.branch-card__pin {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.branch-card__name {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96;
  font-size: var(--t-xl);
  line-height: 1.05;
  color: var(--cotton-pure);
  font-weight: 420;
}
.branch-card__name .ml { font-size: 0.6em; color: var(--gold); margin-left: 8px; opacity: 0.9; }
.branch-card__addr { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.branch-card__meta {
  display: flex;
  gap: var(--s-5);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.branch-card__meta strong { color: var(--gold-bright); font-weight: 500; display: block; margin-bottom: 4px; }
.branch-card__cta { margin-top: auto; }

/* ============= 21. CTA BAND ============= */
.cta-band {
  background:
    radial-gradient(60% 50% at 70% 50%, rgba(201,169,97,0.10), transparent 70%),
    linear-gradient(170deg, var(--burgundy) 0%, var(--burgundy-2) 60%, var(--ink) 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 140px) 0;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-band h2 {
  font-size: var(--t-3xl);
  color: var(--cotton-pure);
  margin-bottom: var(--s-5);
  line-height: 0.95;
}
.cta-band__ml {
  font-family: var(--f-ml);
  font-size: clamp(1.1rem, 0.9rem + 0.5vw, 1.4rem);
  color: var(--gold-bright);
  margin-bottom: var(--s-5);
  opacity: 0.92;
}
.cta-band p { color: var(--text); font-size: var(--t-md); margin-bottom: var(--s-7); max-width: 56ch; margin-inline: auto; line-height: 1.55; }
.cta-band__row { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; }

/* ============= 22. FOOTER ============= */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: var(--s-9) 0 var(--s-5);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
}
.footer__col h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-5);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.footer__brand-mark { width: 38px; height: 38px; color: var(--gold); }
.footer__brand-text {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "opsz" 48;
  font-size: 24px;
  font-weight: 500;
  color: var(--cotton-pure);
  line-height: 1;
}
.footer__brand-text small {
  display: block;
  font-family: var(--f-ml);
  font-size: 14px;
  color: var(--gold-bright);
  margin-top: 4px;
}
.footer__tagline { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; margin-bottom: var(--s-5); max-width: 36ch; }
.footer__col ul li { margin-bottom: var(--s-3); font-size: 14.5px; color: var(--text); }
.footer__col ul li a:hover { color: var(--gold-bright); }
.footer__col p { color: var(--text); font-size: 14.5px; line-height: 1.65; margin-bottom: var(--s-3); }
.footer__col p strong { color: var(--gold-bright); font-weight: 500; }
.footer__bottom {
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer__bottom a:hover { color: var(--gold); }
.footer__credit a { color: var(--gold); }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .footer__col:first-child { grid-column: span 2; }
}
@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__col:first-child { grid-column: span 1; }
}

/* ============= 23. PAGE HEAD (interior pages) ============= */
.page-head {
  padding: 180px 0 var(--s-9);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-head__crumb {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.page-head__crumb .ml { color: var(--gold-bright); letter-spacing: 0; font-family: var(--f-ml); font-size: 13px; }
.page-head h1 {
  font-size: var(--t-3xl);
  max-width: 18ch;
  margin-bottom: var(--s-4);
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.page-head__ml {
  font-family: var(--f-ml);
  font-size: clamp(1.3rem, 1rem + 1vw, 2rem);
  color: var(--gold-bright);
  margin-bottom: var(--s-6);
  line-height: 1.1;
  opacity: 0.92;
}
.page-head p.lede { color: var(--text); max-width: 56ch; }

/* ============= 24. AMENITIES (custom-drawn icons, not Lucide-generic) ============= */
.amenity-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.amenity {
  padding: var(--s-7) var(--s-5);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.amenity:first-child { border-left: none; }
.amenity__ico {
  width: 40px; height: 40px;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.amenity__name {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 80, "opsz" 36;
  font-size: var(--t-md);
  color: var(--cotton-pure);
  font-weight: 460;
  line-height: 1.15;
}
.amenity__name .ml { font-size: 0.6em; color: var(--gold); margin-left: 6px; opacity: 0.9; }
.amenity__desc { color: var(--text-muted); font-size: 13.5px; line-height: 1.55; }
.section--ivory .amenity__name { color: var(--ink); }
.section--ivory .amenity__desc { color: rgba(10,9,7,0.65); }
.section--ivory .amenity { border-left-color: rgba(10,9,7,0.1); }
.section--ivory .amenity-row { border-color: rgba(10,9,7,0.1); }
.section--ivory .amenity__ico { color: var(--burgundy); }
@media (max-width: 700px) {
  .amenity-row { grid-template-columns: repeat(2, 1fr); }
  .amenity { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .amenity:nth-child(odd) { border-left: none; }
  .amenity:nth-child(1), .amenity:nth-child(2) { border-top: none; }
  .section--ivory .amenity { border-color: rgba(10,9,7,0.1); }
}
@media (max-width: 480px) {
  .amenity-row { grid-template-columns: 1fr; }
  .amenity { border-left: none; border-top: 1px solid var(--line); }
  .amenity:first-child { border-top: none; }
}

/* ============= 25. CONTACT ROWS & FORM ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-info { display: grid; gap: 0; }
.contact-row {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-5);
  align-items: start;
}
.contact-row:last-child { border-bottom: none; }
.contact-row__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-row__val { color: var(--text); font-size: var(--t-base); line-height: 1.65; }
.contact-row__val a { color: var(--cotton-pure); border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.contact-row__val a:hover { color: var(--gold-bright); border-color: var(--gold); }
.contact-row__val strong { color: var(--cotton-pure); font-weight: 500; }

.contact-classified {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.contact-classified__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-4);
  align-items: baseline;
  padding-bottom: var(--s-4);
  border-bottom: 1px dotted var(--line-strong);
}
.contact-classified__row:last-child { border-bottom: none; }
.contact-classified__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-classified__val {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 80, "opsz" 96;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2.1rem);
  line-height: 1.1;
  color: var(--cotton-pure);
  font-weight: 420;
}
.contact-classified__val a { color: inherit; border-bottom: 1px solid var(--line-strong); }
.contact-classified__val a:hover { color: var(--gold-bright); border-color: var(--gold); }

.contact-form {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form h3 { margin-bottom: var(--s-5); font-size: var(--t-lg); }
.contact-form p { color: var(--text-muted); font-size: 14px; margin-bottom: var(--s-6); }
.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--cotton-pure);
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  font-family: var(--f-body);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; font-family: inherit; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-4) 0; }
  .contact-classified__row { grid-template-columns: 80px 1fr; gap: var(--s-3); }
}

/* ============= 26. MARQUEE (kasavu vocabulary) ============= */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding: var(--s-5) 0;
}
.marquee__track {
  display: flex;
  gap: var(--s-9);
  animation: marquee 42s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-style: italic;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.4rem);
  color: var(--gold-bright);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-weight: 360;
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
}
.marquee__item .ml {
  font-family: var(--f-ml);
  font-style: normal;
  font-size: 0.5em;
  color: var(--gold);
  opacity: 0.85;
}
.marquee__item::before {
  content: "✦";
  color: var(--gold);
  margin-right: var(--s-4);
  font-style: normal;
  font-size: 0.45em;
  vertical-align: middle;
  font-family: var(--f-body);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============= 27. UTILITY ============= */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.gap-5 { gap: var(--s-5); }
.mb-0 { margin-bottom: 0 !important; }

/* image fallback when an Unsplash URL 404s */
.img-fallback {
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(201,169,97,0.12), transparent 70%),
    linear-gradient(135deg, var(--ink-3) 0%, var(--ink-2) 50%, var(--ink) 100%);
  position: relative;
}
.img-fallback::after {
  content: "✦";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 4rem);
  opacity: 0.35;
}

/* ============= 28. TIMELINE (wedding week) ============= */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline__step {
  padding: var(--s-6) var(--s-4);
  border-left: 1px solid var(--line);
  position: relative;
}
.timeline__step:first-child { border-left: none; }
.timeline__step__num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.timeline__step__name {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 80, "opsz" 48;
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
  color: var(--cotton-pure);
  margin-bottom: var(--s-2);
  line-height: 1.1;
}
.timeline__step__ml {
  font-family: var(--f-ml);
  font-size: 14px;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: var(--s-3);
}
.timeline__step__what {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline__step { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .timeline__step:nth-child(odd) { border-left: none; }
  .timeline__step:nth-child(1), .timeline__step:nth-child(2) { border-top: none; }
}
@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline__step { border-left: none; border-top: 1px solid var(--line); }
  .timeline__step:first-child { border-top: none; }
}

/* ============= 29. v3 ADDITIONS — real photos, logo chip, polish ============= */

/* scroll progress bar (gold thread that fills as you scroll) */
.scrollbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 120;
  will-change: transform;
}

/* real logo chip (magenta KC monogram against dark) */
.nav__logo-chip,
.footer__logo-chip {
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  display: block;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px -8px rgba(0,0,0,0.6);
}
.nav__logo-chip { width: 42px; height: 42px; }
.footer__logo-chip { width: 40px; height: 40px; }
.nav__logo-chip img,
.footer__logo-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) { .nav__logo-chip { width: 38px; height: 38px; } }

/* HERO with real photo (full-bleed editorial cover variant) */
.hero--photo { padding-top: 132px; }
.hero--photo .hero__masthead { text-shadow: 0 1px 12px rgba(10,9,7,0.85); color: var(--text); }
.hero--photo .hero__masthead strong { color: var(--gold-bright); }
.hero--photo .hero__foot { text-shadow: 0 1px 10px rgba(10,9,7,0.9); }
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__photo img {
  width: 100%;
  height: 116%;        /* extra height for parallax travel */
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(10,9,7,0.35) 45%, rgba(10,9,7,0.78) 100%),
    linear-gradient(to right, rgba(10,9,7,0.8) 0%, rgba(10,9,7,0.18) 55%, rgba(10,9,7,0.05) 100%);
}
.hero--photo .hero__cover { position: relative; z-index: 2; }

/* the illustrated pleat now sits behind a framed real photo on desktop */
.hero__pleat-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 72vh;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.hero__pleat-photo img {
  width: 100%; height: 108%; object-fit: cover; object-position: center 25%;
  will-change: transform;
}
.hero__pleat-photo::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(242,232,207,0.22);
  pointer-events: none;
}
.hero__pleat-tag {
  position: absolute;
  left: 0; bottom: 0;
  padding: 10px 14px;
  background: rgba(10,9,7,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  z-index: 2;
}

/* gold "thread draw-in" underline that animates under section headings */
.draw-rule {
  height: 1px;
  width: 100%;
  max-width: 220px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.js-loaded .reveal.is-visible .draw-rule { transform: scaleX(1); }

/* "Inside the showroom" full-bleed band */
.showroom-band {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-2);
}
.showroom-band__img { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.showroom-band__img img { width: 100%; height: 112%; object-fit: cover; object-position: center 35%; will-change: transform; }
.showroom-band__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 4%, rgba(10,9,7,0.3) 50%, rgba(10,9,7,0.6) 100%);
}
.showroom-band__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(48px, 8vw, 96px); }
.showroom-band h2 { color: var(--cotton-pure); max-width: 18ch; }
.showroom-band p { color: var(--text); max-width: 46ch; margin-top: var(--s-4); }

/* gallery strip — real photos, masonry-ish */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.gallery__cell {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 3 / 4;
}
.gallery__cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.gallery__cell:hover img { transform: scale(1.06); }
.gallery__cell--tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.gallery__cell--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__cell--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
  .gallery__cell--tall { grid-row: span 1; aspect-ratio: 3 / 4; }
}

/* IG follower badge */
.ig-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color .25s, color .25s;
}
.ig-badge:hover { border-color: var(--gold); color: var(--gold-bright); }
.ig-badge strong { color: var(--gold-bright); font-weight: 600; }
.ig-badge svg { width: 16px; height: 16px; }

/* fix: ensure editorial-split figures show real photos cleanly */
.editorial-split__figure img,
.bridal-spread__img img,
.branch-card__img img { filter: contrast(1.03) saturate(0.97); }
