/* ============================================================
   Carter House Cellars — cinematic estate site
   Type: Cormorant Garamond (display) + Jost (labels/body-ui)
   Three visual directions switch via [data-direction] tokens.
   ============================================================ */

:root {
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Coastal Light (default) */
  --bg:        #f5efe5;
  --bg-2:      #ece3d4;
  --panel:     #faf6ee;
  --ink:       #2a2620;
  --ink-soft:  #4d473d;
  --muted:     #847b6b;
  --line:      rgba(42, 38, 32, 0.14);
  --accent:    #8c2f24;   /* brick / clay red from logo */
  --olive:     #6f704a;
  --on-image:  #fbf7f0;   /* text over photography */
  --hero-veil: linear-gradient(180deg, rgba(20,16,12,.34) 0%, rgba(20,16,12,.05) 32%, rgba(20,16,12,.12) 60%, rgba(20,16,12,.62) 100%);
  --shadow:    0 30px 70px -40px rgba(40,30,20,.55);
}

[data-direction="estate"] {
  --bg:        #181612;
  --bg-2:      #211d18;
  --panel:     #211d18;
  --ink:       #ede5d6;
  --ink-soft:  #cabfab;
  --muted:     #9b9082;
  --line:      rgba(237, 229, 214, 0.14);
  --accent:    #c0563b;
  --olive:     #9aa06a;
  --on-image:  #f6efe3;
  --hero-veil: linear-gradient(180deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,.18) 38%, rgba(10,8,6,.30) 62%, rgba(10,8,6,.82) 100%);
  --shadow:    0 30px 80px -40px rgba(0,0,0,.8);
}

[data-direction="agrarian"] {
  --bg:        #e9dfcc;
  --bg-2:      #ddd0b6;
  --panel:     #f1e9d8;
  --ink:       #322b20;
  --ink-soft:  #4f4636;
  --muted:     #6f6450;
  --line:      rgba(50, 43, 32, 0.16);
  --accent:    #8a3c22;   /* terracotta */
  --olive:     #61663c;
  --on-image:  #f7f1e4;
  --hero-veil: linear-gradient(180deg, rgba(28,20,10,.40) 0%, rgba(28,20,10,.06) 34%, rgba(28,20,10,.14) 60%, rgba(28,20,10,.66) 100%);
  --shadow:    0 30px 70px -40px rgba(50,35,18,.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .6s ease, color .6s ease;
}

#root { position: relative; }

/* ---------- real images fill their container ---------- */
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg-2); }

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

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(10px, .8vw, 12px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.eyebrow.muted { color: var(--muted); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: .005em;
  margin: 0;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; }

p { margin: 0; }

.serif-lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.28;
  letter-spacing: .004em;
}

.body {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.85;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 60ch;
}

.italic { font-style: italic; }
.accentword { color: var(--accent); font-style: italic; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px clamp(20px, 4vw, 56px);
  transition: background .5s ease, padding .5s ease, box-shadow .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
/* On hero (top) the nav text sits over the photo */
.nav:not(.scrolled) .nav-link,
.nav:not(.scrolled) .brand-word { color: var(--on-image); }
.nav:not(.scrolled) .nav-cta { color: var(--on-image); border-color: color-mix(in srgb, var(--on-image) 55%, transparent); }

.nav-left, .nav-right { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav-right { justify-content: flex-end; }

.nav-link {
  font-family: var(--sans); font-weight: 400;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; background: none; border: none;
  cursor: pointer; padding: 6px 0; position: relative; transition: color .3s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: currentColor; transition: right .35s cubic-bezier(.2,.7,.2,1); opacity: .7;
}
.nav-link:hover::after { right: 0; }

.brand {
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  text-decoration: none; cursor: pointer;
}
.brand-seal {
  width: 42px; height: 42px; display: block; border-radius: 50%;
  flex-shrink: 0; transition: width .4s ease, height .4s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
.nav.scrolled .brand-seal { width: 36px; height: 36px; }
.brand-word {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(14px, 1.15vw, 17px); letter-spacing: .22em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; transition: color .4s ease;
}
.brand-sub {
  font-family: var(--sans); font-size: 8.5px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--muted); margin-top: 2px;
}

.nav-cta {
  font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); padding: 11px 20px; border-radius: 100px;
  cursor: pointer; background: none; transition: all .35s ease; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 620px; width: 100%; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0; transition: opacity 1.6s cubic-bezier(.4,0,.2,1);
}
.hero-slide.is-active { opacity: 1; }
.hero-media .media-img {
  width: 100%; height: 100%; display: block;
  transform: scale(1.04);
}
.hero-slide.is-active .media-img {
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 86% at 50% 62%, transparent 30%, rgba(18,13,9,.42) 100%),
    var(--hero-veil);
}

.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; color: var(--on-image);
}
.hero-eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: clamp(10px, .85vw, 12.5px);
  letter-spacing: .5em; text-transform: uppercase; color: var(--on-image);
  text-shadow: 0 1px 18px rgba(15,10,6,.5);
}
.hero-title {
  margin: clamp(14px, 2.2vw, 30px) 0 0;
  display: flex; justify-content: center;
  filter: drop-shadow(0 2px 40px rgba(15,10,6,.45));
}
.hero-title .ht-line { display: block; overflow: hidden; }
.hero-title .ht-line span { display: block; white-space: nowrap; }

/* ---- brand wordmark (CSS-mask, theme-adaptive color) ---- */
.wordmark {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  aspect-ratio: 2866 / 418;
}
.hero-wordmark {
  width: min(82vw, 1040px);
  background-color: var(--on-image);
}
.brand-word-mark {
  width: clamp(140px, 13vw, 188px);
  background-color: var(--ink);
  transition: background-color .4s ease;
}
.nav:not(.scrolled) .brand-word-mark { background-color: var(--on-image); }
.fb-wordmark {
  width: clamp(190px, 18vw, 240px);
  background-color: var(--ink);
  margin-top: 22px;
}
.hero-sub {
  font-family: var(--sans); font-weight: 300; font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: .26em; text-transform: uppercase; color: var(--on-image);
  margin-top: clamp(20px, 2.6vw, 34px);
}
.hero-sub .dot { color: var(--accent); margin: 0 .8em; }

/* Hero entrance is driven by the IntersectionObserver toggling `.in` on the
   unclipped .hero-inner container (the clipped title spans report zero
   intersection, so they can't be observed directly). The observer reliably
   reaches the visible `.in` state — confirmed in print / PDF / static
   capture contexts — and reduced-motion shows everything immediately. */
.hero-inner[data-reveal] { opacity: 1; transform: none; }
.hero-eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.hero-wordmark { opacity: 0; transform: translateY(26px); transition: opacity 1.15s cubic-bezier(.16,.84,.28,1), transform 1.15s cubic-bezier(.16,.84,.28,1); }
.hero-sub { opacity: 0; transition: opacity 1s cubic-bezier(.2,.7,.2,1); }
.hero-inner.in .hero-eyebrow { opacity: 1; transform: none; transition-delay: .12s; }
.hero-inner.in .hero-wordmark { opacity: 1; transform: none; transition-delay: .3s; }
.hero-inner.in .hero-sub { opacity: 1; transition-delay: .66s; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-sub, .hero-wordmark { opacity: 1; transform: none; transition: none; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--on-image); opacity: .9;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue { opacity: 0; animation: fade 1s 1.5s forwards; }
}
.scroll-cue .label { font-family: var(--sans); font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; opacity: .8; }
.scroll-cue .bar { width: 1px; height: 54px; background: linear-gradient(var(--on-image), transparent); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content:""; position:absolute; top:-54px; left:0; width:1px; height:54px; background: var(--on-image); animation: drop 2.2s 1.6s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes drop { 0%{ transform: translateY(0);} 60%,100%{ transform: translateY(108px);} }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: .9; } }

/* ============================================================
   SECTION SHELL + reveals
   ============================================================ */
section { position: relative; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.pad { padding-top: clamp(90px, 13vh, 180px); padding-bottom: clamp(90px, 13vh, 180px); }

[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .12s; }
[data-reveal-d="2"] { transition-delay: .24s; }
[data-reveal-d="3"] { transition-delay: .36s; }
[data-reveal-d="4"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-media .media-img { animation: none; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--bg); }
.manifesto .wrap { max-width: 1080px; text-align: center; }
.manifesto .eyebrow { margin-bottom: 28px; }
.manifesto-line {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 4.6vw, 64px); line-height: 1.16; letter-spacing: .004em;
  color: var(--ink); text-wrap: balance;
}
.manifesto-line .accentword { white-space: nowrap; }
.manifesto-foot { margin-top: 40px; display: flex; justify-content: center; }
.rule { width: 64px; height: 1px; background: var(--accent); }

/* ============================================================
   THE ESTATE — full bleed image + stat band
   ============================================================ */
.estate { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.estate-media { position: absolute; inset: 0; }
.estate-media .media-img { width: 100%; height: 100%; display: block; }
.estate-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,11,7,.30) 0%, rgba(15,11,7,.05) 30%, rgba(15,11,7,.55) 100%); }
.estate-content { position: relative; z-index: 2; width: 100%; color: var(--on-image); }
.estate-head { max-width: 720px; padding-bottom: clamp(40px, 6vh, 80px); }
.estate-head .eyebrow { color: color-mix(in srgb, var(--on-image) 90%, var(--accent)); margin-bottom: 22px; }
.estate-title { font-size: clamp(36px, 6vw, 92px); color: var(--on-image); line-height: .98; }
.estate-lead { font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; color: var(--on-image); opacity: .92; margin-top: 22px; max-width: 56ch; }

.stat-band {
  position: relative; z-index: 2; border-top: 1px solid color-mix(in srgb, var(--on-image) 28%, transparent);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: clamp(26px, 3vw, 44px) clamp(16px, 2vw, 30px); color: var(--on-image); border-left: 1px solid color-mix(in srgb, var(--on-image) 18%, transparent); }
.stat:first-child { border-left: none; }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.2vw, 78px); line-height: 1; }
.stat-num .u { font-size: .42em; vertical-align: super; margin-left: 2px; color: var(--accent); }
.stat-label { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .82; margin-top: 14px; }

/* ============================================================
   THE EXPERIENCE — editorial grid
   ============================================================ */
.exp { background: var(--bg-2); }
.exp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.exp-head .eyebrow { margin-bottom: 22px; }
.exp-title { font-size: clamp(34px, 5vw, 76px); line-height: 1; color: var(--ink); }
.exp-intro { color: var(--ink-soft); align-self: end; }

.exp-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.card { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-media { position: relative; overflow: hidden; }
.card-media .media-img { width: 100%; height: 100%; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media .media-img { transform: scale(1.06); }
.card-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(10,8,5,.5)); pointer-events:none; }
.card-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 1.8vw, 26px); color: var(--on-image); z-index: 2; }
.card-kicker { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in srgb, var(--on-image) 80%, var(--accent)); margin-bottom: 8px; }
.card-name { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 30px); line-height: 1.05; color: var(--on-image); }
.card-desc { font-family: var(--sans); font-weight: 300; font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--on-image) 86%, transparent); margin-top: 8px; max-width: 40ch; opacity:0; max-height:0; transform: translateY(6px); transition: opacity .5s ease, max-height .5s ease, transform .5s ease; }
.card:hover .card-desc { opacity: 1; max-height: 120px; transform: none; }

.c-tall { grid-column: span 4; }
.c-tall .card-media { aspect-ratio: 3 / 4.4; }
.c-wide { grid-column: span 8; }
.c-wide .card-media { aspect-ratio: 16 / 9; }
.c-half { grid-column: span 6; }
.c-half .card-media { aspect-ratio: 4 / 3.2; }
.c-third { grid-column: span 4; }
.c-third .card-media { aspect-ratio: 4 / 4; }

/* ============================================================
   VINE TO BOTTLE — split
   ============================================================ */
.vtb { background: var(--bg); }
.vtb-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 5vw, 90px); align-items: center; }
.vtb-media { position: relative; }
.vtb-media .media-img { width: 100%; aspect-ratio: 4/5; display:block; box-shadow: var(--shadow); }
.vtb-tag { position: absolute; bottom: -22px; right: -10px; background: var(--accent); color:#fff; padding: 16px 22px; max-width: 200px; }
.vtb-tag .n { font-family: var(--serif); font-size: 30px; line-height: 1; }
.vtb-tag .l { font-family: var(--sans); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; opacity: .9; }
.vtb-copy .eyebrow { margin-bottom: 24px; }
.vtb-title { font-size: clamp(32px, 4.4vw, 66px); line-height: 1.02; color: var(--ink); margin-bottom: 26px; }
.vtb-steps { margin-top: 38px; display: flex; flex-direction: column; }
.vtb-step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.vtb-step:last-child { border-bottom: 1px solid var(--line); }
.vtb-step .idx { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); }
.vtb-step .st-name { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); color: var(--ink); }
.vtb-step .st-desc { font-family: var(--sans); font-size: 13.5px; line-height: 1.65; color: var(--muted); margin-top: 4px; }

/* ============================================================
   OUR STORY
   ============================================================ */
.story { background: var(--bg-2); }
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 88px); align-items: center; }
.story-copy .eyebrow { margin-bottom: 24px; }
.story-title { font-size: clamp(32px, 4.6vw, 70px); line-height: 1.02; color: var(--ink); margin-bottom: 28px; }
.story-copy .body { margin-bottom: 20px; }
.story-sign { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-soft); }
.story-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.story-media .media-img { width: 100%; height: auto; display: block; }
.sm-1 { grid-column: 1 / 2; aspect-ratio: 3/4; }
.sm-2 { grid-column: 2 / 3; aspect-ratio: 3/4; margin-top: 44px; }
.sm-3 { grid-column: 1 / 3; aspect-ratio: 16/8; }

/* ============================================================
   THE SOCIETY (wine club / membership)
   ============================================================ */
.society { position: relative; overflow: hidden; }
.society-media { position: absolute; inset: 0; }
.society-media .media-img { width: 100%; height: 100%; display: block; }
.society-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,9,6,.66), rgba(12,9,6,.5) 45%, rgba(12,9,6,.78)); }
.society-inner { position: relative; z-index: 2; color: var(--on-image); text-align: center; max-width: 940px; margin: 0 auto; }
.society .eyebrow { color: color-mix(in srgb, var(--on-image) 86%, var(--accent)); margin-bottom: 26px; }
.society-title { font-size: clamp(38px, 6.6vw, 104px); line-height: .98; color: var(--on-image); }
.society-lead { font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 2vw, 28px); line-height: 1.5; color: var(--on-image); opacity: .92; margin: 28px auto 0; max-width: 60ch; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(46px, 6vw, 76px); text-align: left; }
.tiers.single { grid-template-columns: minmax(0, 620px); justify-content: center; justify-items: center; }
.tiers.single .tier { text-align: center; align-items: center; padding: clamp(34px, 3.4vw, 52px); }
.tier-desc { font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; color: color-mix(in srgb, var(--on-image) 92%, transparent); margin: 22px 0 0; max-width: 52ch; text-wrap: pretty; }
.tier { background: color-mix(in srgb, var(--panel) 12%, transparent); border: 1px solid color-mix(in srgb, var(--on-image) 24%, transparent); backdrop-filter: blur(6px); padding: clamp(26px, 2.4vw, 38px); display: flex; flex-direction: column; transition: transform .5s ease, background .5s ease, border-color .5s ease; }
.tier:hover { transform: translateY(-8px); background: color-mix(in srgb, var(--panel) 20%, transparent); border-color: color-mix(in srgb, var(--on-image) 44%, transparent); }
.tier.feature { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.tier-tag { font-family: var(--sans); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in srgb, var(--on-image) 76%, var(--accent)); }
.tier-name { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); color: var(--on-image); margin: 14px 0 6px; line-height: 1.02; }
.tier-note { font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: color-mix(in srgb, var(--on-image) 78%, transparent); }
.tier-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.tier-list li { font-family: var(--sans); font-weight: 300; font-size: 13.5px; line-height: 1.5; color: color-mix(in srgb, var(--on-image) 90%, transparent); padding-left: 20px; position: relative; }
.tier-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }

.society-cta { margin-top: clamp(44px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.btn {
  font-family: var(--sans); font-weight: 400; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase;
  background: var(--accent); color: #fff; border: 1px solid var(--accent); padding: 17px 40px; border-radius: 100px;
  cursor: pointer; transition: all .35s ease; text-decoration: none; display: inline-block;
}
.btn:hover { background: transparent; color: var(--on-image); border-color: var(--on-image); letter-spacing: .3em; }
.btn.ghost { background: transparent; color: var(--on-image); border-color: color-mix(in srgb, var(--on-image) 50%, transparent); }
.btn.ghost:hover { background: var(--on-image); color: var(--ink); }
.society-note { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--on-image) 64%, transparent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .fb-seal { width: 92px; height: 92px; display: block; border-radius: 50%; }
.footer-brand .fb-loc { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); margin-top: 24px; max-width: 34ch; line-height: 1.4; }
.footer-col h4 { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-col a, .footer-col span { display: block; font-family: var(--sans); font-weight: 300; font-size: 14px; color: var(--ink-soft); text-decoration: none; margin-bottom: 12px; transition: color .3s ease; cursor: pointer; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(50px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 14px; }
.footer-bottom span { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .exp-head, .vtb-grid, .story-grid { grid-template-columns: 1fr; }
  .vtb-media { max-width: 520px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--on-image) 18%, transparent); }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
   DISPLAY CASE TWEAK
   ============================================================ */
[data-display-case="upper"] .hero-title,
[data-display-case="upper"] .estate-title,
[data-display-case="upper"] .exp-title,
[data-display-case="upper"] .vtb-title,
[data-display-case="upper"] .story-title,
[data-display-case="upper"] .society-title,
[data-display-case="upper"] .modal-title {
  text-transform: uppercase;
  letter-spacing: .04em;
}

[data-hero-motion="off"] .hero-media .media-img { animation: none; transform: scale(1.04); }

/* ============================================================
   INVITATION MODAL
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(16, 12, 8, .58); backdrop-filter: blur(8px);
  animation: scrim .4s ease forwards;
}
@keyframes scrim { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: 100%; max-width: 520px; background: var(--panel); color: var(--ink);
  border: 1px solid var(--line); padding: clamp(30px, 4vw, 52px); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
  animation: pop .5s cubic-bezier(.2,.8,.2,1) forwards; max-height: 92vh; overflow-y: auto;
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-x {
  position: absolute; top: 16px; right: 18px; background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--muted); transition: color .3s ease;
}
.modal-x:hover { color: var(--accent); }
.modal .eyebrow { margin-bottom: 16px; }
.modal-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; color: var(--ink); }
.modal-sub { font-family: var(--sans); font-weight: 300; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); margin-top: 14px; max-width: 46ch; }
.modal-form { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font-family: var(--sans); font-weight: 300; font-size: 15px; color: var(--ink);
  background: color-mix(in srgb, var(--bg) 60%, transparent); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: 4px; outline: none; transition: border-color .3s ease, background .3s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--bg); }
.modal-submit { margin-top: 8px; align-self: flex-start; background: var(--accent); color: #fff; border-color: var(--accent); }
.modal-submit:hover { letter-spacing: .3em; }
.modal-sent { text-align: center; padding: 14px 0; }
.modal-sent .sent-mark { color: var(--accent); font-size: 26px; display: block; margin-bottom: 18px; }
.modal-sent .modal-sub { margin: 14px auto 28px; }

@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
  .nav { grid-template-columns: auto 1fr; }
  .nav-left { display: none; }
  .nav .brand { align-items: flex-start; }
  .nav-right { gap: 14px; }
  .c-tall, .c-wide, .c-half, .c-third { grid-column: 1 / -1; }
  .c-tall .card-media, .c-third .card-media { aspect-ratio: 16/10; }
  .story-media { grid-template-columns: 1fr; }
  .sm-2 { grid-column: 1; margin-top: 0; }
  .sm-3 { grid-column: 1; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: 0; }
}
