/* ==========================================================================
   ANVI — The Invitation
   v3 design system · built to the Anvi 2025 Brand Guidelines
   Eternal Compressed (display) · Silk Serif (body) · Pitch Sans (ui)
   A candlelit ceremony: arched frames, fine gold linework, centered
   symmetry — the site as a gilded invitation to the table.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Eternal Compressed";
  src: url("../assets/fonts/EternalCmp-Regular.woff2") format("woff2"),
       url("../assets/fonts/EternalCmp-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Silk Serif";
  src: url("../assets/fonts/SilkSerifText-Light.otf") format("opentype"),
       url("../assets/fonts/SilkSerifText-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pitch Sans";
  src: url("../assets/fonts/PitchSans-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pitch Sans";
  src: url("../assets/fonts/PitchSans-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* brand palette — Anvi 2025 guidelines */
  --oxblood:   #51241B;   /* Saffron Burgundy */
  --oxblood-d: #3A1811;
  --ivory:     #E0DAD0;   /* Ivory Stone White */
  --sand:      #E2CEC0;   /* Sandalwood Dust Beige */
  --gold:      #D48E61;   /* Soft Rose Peach — reads antique gold on night */
  --gold-2:    #BA9477;   /* Warm Sandstone Brown */
  --soil:      #5D4133;   /* Rich Soil Brown */
  --neem:      #3F3E2A;   /* Neem Leaf Green */
  --kohl:      #231F20;   /* Kohl Night Black */
  --night:     #141110;   /* the room after the candles are lit */
  --night-2:   #0D0B0A;

  --gold-hi:   #E8C9A8;   /* candle highlight for gradient gold */

  --f-display: "Eternal Compressed", "Arial Narrow", "Times New Roman", serif;
  --f-body:    "Silk Serif", Georgia, serif;
  --f-ui:      "Pitch Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --wrap-x: 1600px;
  --gut: clamp(1.25rem, 4.5vw, 4rem);
  --sec: clamp(5.5rem, 12vw, 11rem);
  --hd-h: 4.5rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* default scene = night */
  --s-bg:   var(--night);
  --s-ink:  var(--ivory);
  --s-dim:  #A08E7D;
  --s-gold: var(--gold);
  --s-line: rgba(212, 142, 97, .28);
  --s-hair: rgba(224, 218, 208, .12);
  --s-card: rgba(224, 218, 208, .04);
  accent-color: var(--gold);
}

/* scenes */
.t-night     { --s-bg: var(--night);   --s-ink: var(--ivory); --s-dim: #A08E7D; --s-gold: var(--gold);
               --s-line: rgba(212,142,97,.28); --s-hair: rgba(224,218,208,.12); --s-card: rgba(224,218,208,.04); }
.t-oxblood   { --s-bg: var(--oxblood); --s-ink: var(--ivory); --s-dim: #CBAA8F; --s-gold: var(--gold);
               --s-line: rgba(212,142,97,.4);  --s-hair: rgba(224,218,208,.16); --s-card: rgba(13,11,10,.22); }
.t-soil      { --s-bg: var(--soil);    --s-ink: var(--ivory); --s-dim: #D3BCA6; --s-gold: var(--sand);
               --s-line: rgba(226,206,192,.34); --s-hair: rgba(224,218,208,.16); --s-card: rgba(13,11,10,.18); }
.t-parchment { --s-bg: var(--ivory);   --s-ink: var(--kohl);  --s-dim: #6E6053; --s-gold: var(--oxblood);
               --s-line: rgba(81,36,27,.4);   --s-hair: rgba(35,31,32,.16);   --s-card: rgba(255,255,255,.5); }
.t-night, .t-oxblood, .t-soil, .t-parchment { background: var(--s-bg); color: var(--s-ink); }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(81,36,27,.35), transparent 55%),
    var(--night);
  color: var(--ivory);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(1.03rem, .5vw + .92rem, 1.16rem);
  line-height: 1.74;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--oxblood); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--hd-h) + 1.5rem); }

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

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .3s var(--ease-io) both; }
  ::view-transition-new(root) { animation: vtIn .38s var(--ease-io) both; }
  @keyframes vtOut { to { opacity: 0; } }
  @keyframes vtIn { from { opacity: 0; } }
}

/* ---------- typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .004em;
  text-wrap: balance;
}
.d1 { font-size: clamp(3.6rem, 12vw, 11.5rem); line-height: .85; }
.d2 { font-size: clamp(2.8rem, 7.6vw, 6.8rem);  line-height: .88; }
.d3 { font-size: clamp(2.3rem, 5vw, 4.4rem);    line-height: .92; }
.d4 { font-size: clamp(1.8rem, 3.2vw, 2.9rem);  line-height: .96; }
.d5 { font-size: clamp(1.45rem, 2.2vw, 2rem);   line-height: 1.02; }
.ital { font-style: italic; }
.gld  { color: var(--s-gold); }
.dim  { color: var(--s-dim); }

/* gradient-gold display accent */
.gilt {
  background: linear-gradient(168deg, var(--gold-hi) 8%, var(--gold) 46%, var(--gold-2) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.k {
  font-family: var(--f-ui); font-weight: 500;
  font-size: .66rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--s-gold);
}
.sub {
  font-family: var(--f-ui); font-weight: 700;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5;
}
.lead {
  font-size: clamp(1.26rem, 1.7vw, 1.62rem);
  line-height: 1.56; font-style: italic; color: var(--s-dim);
}
p { max-width: 64ch; }
p + p { margin-top: 1.05em; }
.center { text-align: center; }
.center p { margin-inline: auto; }

/* drop cap for story paragraphs */
.dropcap::first-letter {
  font-family: var(--f-display); float: left; font-size: 3.4em; line-height: .78;
  padding: .08em .14em 0 0; color: var(--s-gold);
}

/* ornamental centered rule:  ───  ✦  ─── */
.orn { display: flex; align-items: center; gap: 1.1rem; justify-content: center; color: var(--s-gold); }
.orn::before, .orn::after { content: ""; height: 1px; flex: 0 1 110px;
  background: linear-gradient(to var(--dir, right), transparent, var(--s-line)); }
.orn::before { --dir: right; }
.orn::after { --dir: left; }
.orn .eye { font-size: .8rem; letter-spacing: 0; }
.orn--wide::before, .orn--wide::after { flex: 1 1 auto; }

/* checkerboard hairline — the brand motif, in gold thread */
.checker {
  height: 10px; border: 0;
  background: repeating-conic-gradient(currentColor 0% 25%, transparent 0% 50%);
  background-size: 10px 10px;
  color: var(--s-gold); opacity: .45;
}

/* film grain */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: overlay;
}

/* slow-turning mandala of peacock eyes (inline svg uses currentColor) */
.mandala { position: absolute; pointer-events: none; color: var(--s-gold); opacity: .16; z-index: 0; }
.mandala svg { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .mandala svg { animation: spin 110s linear infinite; transform-origin: 50% 50%; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* ---------- layout ---------- */
.wrap   { width: min(100% - var(--gut) * 2, var(--wrap));   margin-inline: auto; }
.wrap-x { width: min(100% - var(--gut) * 2, var(--wrap-x)); margin-inline: auto; }
.sec    { padding-block: var(--sec); position: relative; }
.sec--flush-b { padding-bottom: 0; }
.sec--flush-t { padding-top: 0; }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .g-2 { grid-template-columns: 1fr; } .g-3, .g-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .g-3, .g-4 { grid-template-columns: 1fr; } }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4.5rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.maxw-s { max-width: 44ch; } .maxw-m { max-width: 62ch; }
.row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.row--center { justify-content: center; }
.between { justify-content: space-between; }
.hide { display: none !important; }
.no-scroll { overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold);
  font-family: var(--f-ui); font-weight: 500;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .8em;
  padding: 1.15em 2.4em; border: 1px solid var(--b); color: var(--b);
  position: relative; overflow: hidden; z-index: 1;
  transition: color .45s var(--ease), border-color .45s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--b);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--night); }
.btn .ar { transition: transform .45s var(--ease); }
.btn:hover .ar { transform: translateX(.35em); }
.btn--ivory { --b: var(--ivory); }
.btn--fill { background: var(--oxblood); border-color: var(--oxblood); color: var(--ivory); }
.btn--fill::before { background: var(--gold); }
.btn--fill:hover { color: var(--night); border-color: var(--gold); }
.btn--wide { width: 100%; justify-content: center; }
.t-parchment .btn { --b: var(--oxblood); color: var(--oxblood); }
.t-parchment .btn:hover { color: var(--ivory); }
.t-parchment .btn--fill { color: var(--ivory); }
.t-parchment .btn--fill::before { background: var(--kohl); }
.t-parchment .btn--fill:hover { color: var(--ivory); border-color: var(--kohl); }

.lnk {
  font-family: var(--f-ui); font-weight: 500; font-size: .68rem;
  letter-spacing: .24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .7em;
  padding-bottom: .45em; border-bottom: 1px solid var(--s-line);
  transition: border-color .35s, gap .35s var(--ease), color .35s;
}
.lnk:hover { border-color: var(--s-gold); color: var(--s-gold); gap: 1em; }
.lnk .ar { color: var(--s-gold); }

/* ---------- announce + header (centered crest) ---------- */
.ann {
  background: var(--oxblood); color: var(--ivory);
  font-family: var(--f-ui); font-weight: 500; font-size: .62rem;
  letter-spacing: .24em; text-transform: uppercase; text-align: center;
  padding: .7rem var(--gut); position: relative; z-index: 60;
}
.ann a { border-bottom: 1px solid rgba(224,218,208,.5); transition: border-color .3s, color .3s; }
.ann a:hover { border-color: var(--gold); color: var(--gold); }

.hd {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--hd-h); padding-inline: var(--gut);
  transition: transform .5s var(--ease), background .45s, border-color .45s;
  border-bottom: 1px solid transparent;
  color: var(--ivory);
}
.hd--tint {
  background: rgba(13, 11, 10, .82);
  backdrop-filter: blur(12px) saturate(1.15); -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border-bottom-color: rgba(212, 142, 97, .18);
}
.hd--hide { transform: translateY(-102%); }

.hd__brand { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 130;
  display: inline-flex; align-items: center; }
.hd__brand img { height: 22px; width: auto; }
.hd__nav { display: contents; }
.hd__group { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.2rem); }
.hd__group--l { grid-column: 1; grid-row: 1; justify-self: end; margin-right: clamp(1.4rem, 3vw, 3rem); }
.hd__group--r { grid-column: 3; grid-row: 1; justify-self: start; margin-left: clamp(1.4rem, 3vw, 3rem); }
.hd__link {
  font-family: var(--f-ui); font-weight: 500; font-size: .66rem;
  letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding: .35em 0;
}
.hd__link::after {
  content: "✦"; position: absolute; left: 50%; bottom: -.75em; transform: translateX(-50%) scale(0);
  font-size: .55em; color: var(--gold);
  transition: transform .35s var(--ease);
}
.hd__link:hover::after, .hd__link[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.hd__link[aria-current="page"] { color: var(--gold); }
.hd__cta { padding: .8em 1.6em; }

.pgbar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 140;
  background: linear-gradient(to right, var(--gold-2), var(--gold));
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* burger */
.burger { display: none; position: relative; z-index: 130; width: 40px; height: 40px; grid-column: 3; justify-self: end; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease), top .45s, bottom .45s; }
.burger span:first-child { top: 14px; }
.burger span:last-child { bottom: 14px; }
body.nav-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
body.nav-open .burger span:last-child { bottom: 19px; transform: rotate(-45deg); }

/* small reserve link balancing the burger (mobile) */
.hd__mini { display: none; grid-column: 1; justify-self: start;
  font-family: var(--f-ui); font-weight: 500; font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(212,142,97,.4); padding-bottom: .2em; }

@media (max-width: 960px) {
  .burger { display: block; }
  .hd__mini { display: inline-block; }
  .hd__nav {
    display: flex; position: fixed; inset: 0; z-index: 120;
    flex-direction: column; justify-content: flex-start; align-items: center;
    text-align: center;
    padding: calc(var(--hd-h) + 2.5rem) var(--gut) 6rem;
    gap: .3rem; background: var(--night-2); color: var(--ivory);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .65s var(--ease-io);
    overflow: auto;
  }
  body.nav-open .hd__nav { clip-path: inset(0); }
  .hd__group { display: contents; }
  .hd__link { font-family: var(--f-display); font-size: clamp(2.3rem, 7vh, 3.6rem);
    letter-spacing: .01em; text-transform: none; line-height: 1.08;
    opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .hd__link::after { display: none; }
  body.nav-open .hd__link { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .05s); }
  .hd__cta { margin-top: 1.8rem; opacity: 0; transform: translateY(22px); transition: .5s var(--ease); transition-delay: .42s; }
  body.nav-open .hd__cta { opacity: 1; transform: none; }
  .hd__nav::after {
    content: "1613B Adewunmi Ogunsanya Ave · Victoria Island";
    margin-top: auto; padding-top: 2rem;
    font-family: var(--f-ui); font-size: .58rem; letter-spacing: .26em;
    text-transform: uppercase; color: #A08E7D;
  }
}

/* ---------- entrance veil (arch draw) ---------- */
.veil {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  pointer-events: none;
}
.veil::before, .veil::after {
  content: ""; position: absolute; inset: 0; background: var(--night-2);
  transition: transform .85s var(--ease-io);
}
.veil::before { clip-path: inset(0 0 50% 0); }
.veil::after  { clip-path: inset(50% 0 0 0); }
.veil__mark { position: relative; z-index: 2; width: min(34vw, 130px); color: var(--gold);
  opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.veil__mark svg { width: 100%; height: auto; display: block; }
.veil__mark .draw { stroke-dasharray: 400; stroke-dashoffset: 400; }
.veil.veil--in .veil__mark { opacity: 1; transform: none; }
.veil.veil--in .draw { animation: veilDraw 1.15s var(--ease-io) forwards; }
@keyframes veilDraw { to { stroke-dashoffset: 0; } }
.veil.veil--lift::before { transform: translateY(-100.5%); }
.veil.veil--lift::after  { transform: translateY(100.5%); }
.veil.veil--lift .veil__mark { opacity: 0; transition: opacity .25s; }

/* ---------- the arch ---------- */
.arch-frame {
  position: relative; padding: clamp(10px, 1.6vw, 16px);
  border: 1px solid var(--s-line);
  border-radius: 999px 999px 2px 2px;
}
.arch {
  position: relative; overflow: clip;
  border-radius: 999px 999px 2px 2px;
  aspect-ratio: 3 / 4.1;
  isolation: isolate;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(13,11,10,.42), transparent 42%);
}
.arch--slides .arch__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s var(--ease-io); }
.arch--slides .arch__slide.on { opacity: 1; }
.arch--slides .arch__slide img { width: 100%; height: 100%; object-fit: cover; }

/* keystone diamond on the frame */
.arch-frame::after {
  content: "✦"; position: absolute; top: -1px; left: 50%; transform: translate(-50%, -58%);
  color: var(--s-gold); font-size: .85rem; background: var(--s-bg, var(--night));
  padding: 0 .55em; line-height: 1;
}

/* ---------- hero (the shrine) ---------- */
.hero {
  position: relative; min-height: 100svh;
  margin-top: calc(-1 * var(--hd-h));
  display: grid; align-items: center; justify-items: center;
  text-align: center; overflow: clip; isolation: isolate;
  padding: calc(var(--hd-h) + 3rem) var(--gut) 4.5rem;
}
.hero__room { position: absolute; inset: 0; z-index: -3; }
.hero__room img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__room::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(85% 60% at 50% 38%, rgba(81,36,27,.32), transparent 62%),
    linear-gradient(to bottom, rgba(13,11,10,.82), rgba(13,11,10,.35) 34%, rgba(13,11,10,.42) 62%, var(--night) 97%); }
.hero__stage { position: relative; display: grid; justify-items: center; width: 100%; }
.hero__archwrap { position: relative; width: min(74vw, 400px); }
.hero__archwrap .arch-frame::after { background: transparent; }
.hero__archwrap .arch { aspect-ratio: 3 / 4.1; }
.hero__word {
  position: absolute; left: 50%; bottom: clamp(-1rem, -2vw, -1.6rem); transform: translateX(-50%);
  width: min(88vw, 640px); z-index: 3; pointer-events: none;
  filter: drop-shadow(0 14px 42px rgba(0, 0, 0, .55));
}
.hero__word img { width: 100%; height: auto; }
.hero__k { margin-bottom: 1.6rem; }
.hero__tag { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.hero__tag .d3 { letter-spacing: .01em; }
.hero__meta { margin-top: 1.5rem; display: flex; gap: 2.4rem; row-gap: .7rem; flex-wrap: wrap; justify-content: center;
  font-family: var(--f-ui); font-weight: 500; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--s-dim); }
.hero__meta b { color: var(--gold); font-weight: 500; }
.hero__cta { margin-top: 2.2rem; }
.hero__mandala-l { left: max(-90px, -7vw); top: 16%; width: clamp(140px, 18vw, 260px); }
.hero__mandala-r { right: max(-90px, -7vw); bottom: 8%; width: clamp(140px, 18vw, 260px); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--f-ui); font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(224,218,208,.55);
}
.hero__scroll::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--gold), transparent);
  animation: drip 2.4s var(--ease) infinite; }
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.tminus {
  display: inline-flex; align-items: baseline; gap: .9em;
  border: 1px solid var(--s-line); padding: .85em 1.3em;
  background: rgba(13, 11, 10, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--f-ui); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sand);
}
.tminus b { font-family: var(--f-display); font-weight: 400; font-size: 2.1em; letter-spacing: .04em; color: var(--gold); }

/* ---------- interior page hero ---------- */
.phero {
  position: relative; min-height: 72svh;
  margin-top: calc(-1 * var(--hd-h));
  display: grid; align-items: end; justify-items: center; text-align: center;
  overflow: clip; isolation: isolate;
}
.phero--short { min-height: 56svh; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,11,10,.62), rgba(13,11,10,.18) 40%, var(--night) 98%); }
.phero__body { position: relative; z-index: 1; width: 100%; max-width: 900px;
  padding: calc(var(--hd-h) + 3rem) var(--gut) clamp(2.4rem, 5vh, 4rem); }
.phero__meta { display: flex; gap: 2.2rem; row-gap: .7rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem;
  font-family: var(--f-ui); font-weight: 500; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sand); }
.phero__meta b { color: var(--gold); font-weight: 500; }

/* ---------- reveal engine ---------- */
html.js [data-rv] { opacity: 0; transform: translateY(26px);
  transition: opacity .95s var(--ease), transform .95s var(--ease); transition-delay: calc(var(--d, 0) * 95ms); }
html.js [data-rv].rv-in { opacity: 1; transform: none; }

html.js [data-rv="img"] { opacity: 1; transform: none; transition: none; }
html.js [data-rv="img"] .arch, html.js [data-rv="img"] .frame { clip-path: inset(0 0 100% 0 round 999px 999px 2px 2px); transition: clip-path 1.15s var(--ease-io); }
html.js [data-rv="img"] .frame { clip-path: inset(0 0 100% 0); }
html.js [data-rv="img"] img { transform: scale(1.12); transition: transform 1.35s var(--ease-io); }
html.js [data-rv="img"].rv-in .arch { clip-path: inset(0 round 999px 999px 2px 2px); }
html.js [data-rv="img"].rv-in .frame { clip-path: inset(0); }
html.js [data-rv="img"].rv-in img { transform: none; }

html.js [data-split] .w { display: inline-block; overflow: clip; vertical-align: top; }
html.js [data-split] .w > span { display: inline-block; transform: translateY(112%); transition: transform .9s var(--ease-io); transition-delay: calc(var(--wi) * 45ms); }
html.js [data-split].rv-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-rv], html.js [data-rv="img"] .arch, html.js [data-rv="img"] .frame, html.js [data-rv="img"] img {
    opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js [data-split] .w > span { transform: none !important; }
}

/* plain frame (non-arch imagery) */
.frame { position: relative; overflow: clip; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- the three doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3.4vw, 3.4rem); align-items: start; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.door { text-align: center; display: block; }
.door .arch-frame { transition: border-color .5s; }
.door .arch img { transition: transform 1.1s var(--ease), filter .8s; filter: saturate(.92); }
.door:hover .arch img { transform: scale(1.06); filter: saturate(1.05); }
.door:hover .arch-frame { border-color: var(--gold); }
.door__floor {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.6em; height: 2.6em; padding: 0 .6em; margin-top: -1.3em; position: relative; z-index: 3;
  border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-bg, var(--night));
  font-family: var(--f-ui); font-weight: 500; font-size: .68rem; letter-spacing: .2em; color: var(--gold);
  transition: border-color .4s, color .4s;
}
.door:hover .door__floor { border-color: var(--gold); }
.door__name { margin-top: 1rem; }
.door__desc { color: var(--s-dim); font-size: .96rem; margin: .7rem auto 0; max-width: 30ch; }
.door__specs { margin-top: .9rem; font-family: var(--f-ui); font-weight: 500; font-size: .58rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--s-dim); }
.door__specs b { color: var(--s-gold); font-weight: 500; }
.door__go { margin-top: 1.2rem; display: inline-flex; }

/* ---------- medallion stats ---------- */
.medals { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.6rem, 4vw, 3.6rem); }
.medal { text-align: center; }
.medal__ring {
  width: clamp(96px, 11vw, 130px); height: clamp(96px, 11vw, 130px);
  border: 1px solid var(--s-line); border-radius: 50%;
  display: grid; place-items: center; margin-inline: auto; position: relative;
}
.medal__ring::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--s-hair); border-radius: 50%; }
.medal__ring b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--s-gold); }
.medal span { display: block; margin-top: .8rem; font-family: var(--f-ui); font-weight: 500;
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--s-dim); }

/* ---------- invitation card (parchment) ---------- */
.invite {
  position: relative; background: var(--ivory); color: var(--kohl);
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.6rem, 4vw, 3.4rem);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.invite::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(81, 36, 27, .38);
}
.invite::after {
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  border: 1px solid rgba(81, 36, 27, .16);
}
.invite > * { position: relative; z-index: 1; }
.invite .k { color: var(--oxblood); }
.invite .dim { color: #6E6053; }
.invite__seal { width: 44px; height: 44px; margin: 0 auto 1.2rem; color: var(--oxblood); }
.invite__seal svg { width: 100%; height: auto; }

/* banquet layout: arch — card — arch, collapsing to the card alone */
.banquet { display: grid; grid-template-columns: 1fr 1.7fr 1fr; align-items: center; gap: clamp(1.6rem, 3.5vw, 3.5rem); }
@media (max-width: 900px) {
  .banquet { grid-template-columns: 1fr; }
  .banquet-side { display: none; }
}

/* banquet card dish rows */
.bq { max-width: 620px; margin-inline: auto; }
.bq__item { padding: 1.05rem 0; border-bottom: 1px dotted rgba(81, 36, 27, .3); }
.bq__item:last-child { border-bottom: 0; }
.bq__n { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; color: var(--oxblood); }
.bq__n .sig { color: var(--gold-2); font-size: .6em; vertical-align: .2em; }
.bq__d { font-size: .92rem; color: #6E6053; margin-top: .4rem; }

/* ---------- marquee ---------- */
.mq { overflow: clip; white-space: nowrap; padding-block: 1.2rem; border-block: 1px solid var(--s-hair); }
.mq__t { display: inline-flex; will-change: transform; animation: mq var(--mq-s, 40s) linear infinite; }
.mq:hover .mq__t { animation-play-state: paused; }
.mq__t > span { font-family: var(--f-display); font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1;
  display: inline-flex; align-items: center; }
.mq__t > span::after { content: "✦"; margin: 0 1.7em; font-size: .5em; color: var(--s-gold); }
.mq__t .ital { font-family: var(--f-body); font-style: italic; font-size: .9em; color: var(--s-dim); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq__t { animation: none; } }

/* ---------- duo (asymmetric relief between ceremonies) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.2rem, 6vw, 6rem); align-items: center; }
.duo--rev .duo__media { order: 2; }
.duo__media { position: relative; }
.duo__caption { margin-top: 1rem; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--f-ui); font-weight: 500; font-size: .56rem; letter-spacing: .28em; text-transform: uppercase; color: var(--s-dim); }
.duo__body { max-width: 50ch; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--rev .duo__media { order: 0; } .duo__media { max-width: 420px; } }

/* ---------- programme (ceremonial list) ---------- */
.prog { border-top: 1px solid var(--s-hair); }
.prog__item { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 4vw, 3.2rem);
  align-items: baseline; padding: 1.7rem 0; border-bottom: 1px solid var(--s-hair);
  transition: padding-inline .5s var(--ease), background .4s; }
.prog__item:hover { padding-inline: 1.2rem; background: var(--s-card); }
.prog__no { font-family: var(--f-ui); font-weight: 500; font-size: .62rem; letter-spacing: .22em; color: var(--s-gold); min-width: 2.6em; }
.prog__name { font-family: var(--f-display); font-size: clamp(1.7rem, 3.3vw, 2.6rem); line-height: 1; }
.prog__desc { grid-column: 2; max-width: 56ch; color: var(--s-dim); font-size: .95rem; margin-top: .35rem; }
.prog__when { font-family: var(--f-ui); font-weight: 500; font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--s-gold); white-space: nowrap; }
@media (max-width: 640px) { .prog__item { grid-template-columns: auto 1fr; } .prog__when, .prog__desc { grid-column: 2; } }

/* ---------- gallery (arched colonnade) ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); align-items: end; }
.gal a { position: relative; overflow: clip; display: block; cursor: zoom-in; aspect-ratio: 3/4; }
.gal a:nth-child(odd) { border-radius: 999px 999px 2px 2px; }
.gal a:nth-child(even) { margin-bottom: clamp(1.2rem, 3vw, 2.6rem); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gal a:hover img { transform: scale(1.06); }
@media (max-width: 720px) { .gal { grid-template-columns: repeat(2, 1fr); } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(13, 11, 10, .96);
  display: grid; place-items: center; padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lb.open { opacity: 1; visibility: visible; }
.lb figure { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; }
.lb img { max-height: 80vh; max-width: min(90vw, 1200px); object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,.6); transform: scale(.97); transition: transform .4s var(--ease); }
.lb.open img { transform: none; }
.lb figcaption { font-family: var(--f-ui); font-weight: 500; font-size: .6rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--sand); text-align: center; display: flex; gap: 1.6em; align-items: baseline; }
.lb figcaption .n { color: var(--gold); }
.lb button { position: absolute; width: 46px; height: 46px; border: 1px solid rgba(212,142,97,.35); border-radius: 50%;
  color: var(--sand); display: grid; place-items: center; font-size: 1rem;
  transition: color .3s, border-color .3s, transform .3s var(--ease); }
.lb button:hover { color: var(--gold); border-color: var(--gold); }
.lb .lb-x { top: 1.2rem; right: 1.2rem; }
.lb .lb-x:hover { transform: rotate(90deg); }
.lb .lb-p { left: 1.2rem; top: 50%; margin-top: -23px; }
.lb .lb-n { right: 1.2rem; top: 50%; margin-top: -23px; }
@media (max-width: 640px) { .lb .lb-p, .lb .lb-n { top: auto; bottom: 1.2rem; margin: 0; } }

/* ---------- values scroll (about) ---------- */
.vals { counter-reset: v; border-top: 1px solid var(--s-hair); }
.val { counter-increment: v; display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--s-hair); align-items: baseline; }
.val::before { content: "0" counter(v); font-family: var(--f-ui); font-weight: 500; font-size: .66rem; letter-spacing: .22em; color: var(--s-gold); min-width: 2.6em; transform: translateY(-.3em); }
.val h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.val p { color: var(--s-dim); margin-top: .5rem; max-width: 58ch; }

/* quote */
.quote { text-align: center; max-width: 760px; margin-inline: auto; }
.quote p { font-family: var(--f-body); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.5; }
.quote cite { display: block; margin-top: 1.4rem; font-family: var(--f-ui); font-weight: 500; font-style: normal;
  font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--s-dim); }

/* ---------- menu book ---------- */
.book { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 920px) { .book { grid-template-columns: 1fr; } }
.book__rail { position: sticky; top: calc(var(--hd-h) + 5rem); }
.book__rail nav { display: grid; gap: .1rem; border-left: 1px solid var(--s-hair); }
.book__rail a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  font-family: var(--f-ui); font-weight: 500; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--s-dim); padding: .5rem 0 .5rem 1.1rem; margin-left: -1px; border-left: 1px solid transparent;
  transition: color .3s, border-color .3s, padding-left .3s var(--ease); }
.book__rail a:hover { color: var(--s-ink); }
.book__rail a.on { color: var(--s-gold); border-left-color: var(--s-gold); padding-left: 1.35rem; }
.book__rail a .c { font-size: .56rem; opacity: .7; }
@media (max-width: 920px) { .book__rail { display: none; } }

.mtool { position: sticky; top: var(--hd-h); z-index: 40; background: var(--s-bg);
  padding: .95rem 0; border-bottom: 1px solid var(--s-hair); }
.mtool__in { display: flex; gap: 1rem 1.6rem; align-items: center; flex-wrap: wrap; }
.mtool__search { flex: 1 1 240px; }
.mtool__search input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--s-hair);
  font-family: var(--f-body); font-style: italic; font-size: 1.02rem; color: var(--s-ink); padding: .45rem 0; border-radius: 0; }
.mtool__search input:focus { outline: none; border-color: var(--s-gold); }
.mtool__search input::placeholder { color: var(--s-dim); opacity: .85; }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip { font-family: var(--f-ui); font-weight: 500; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .7em 1.3em; border: 1px solid var(--s-hair); border-radius: 100px; color: var(--s-dim);
  transition: .35s var(--ease); }
.chip:hover { border-color: var(--s-gold); color: var(--s-gold); }
.chip.on { background: var(--oxblood); border-color: var(--oxblood); color: var(--ivory); }
.t-parchment .chip.on { background: var(--oxblood); }
.chip--dot::before { content: "●"; font-size: .8em; margin-right: .6em; color: #567A46; }
.mcount { font-family: var(--f-ui); font-weight: 500; font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--s-dim); margin-left: auto; }
@media (max-width: 640px) { .mcount { margin-left: 0; } }

.mch { padding-top: 3.8rem; }
.mch__head { text-align: center; padding-bottom: 1.4rem; }
.mch__ro { display: block; font-family: var(--f-ui); font-weight: 500; font-size: .6rem;
  letter-spacing: .34em; text-transform: uppercase; color: var(--s-gold); margin-bottom: .7rem; }
.mch__head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.mch__head .c { display: block; margin-top: .7rem; font-family: var(--f-ui); font-size: .56rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--s-dim); }
.mch__head .orn { margin-top: 1.1rem; }
.mgrp__t { font-family: var(--f-ui); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--s-ink); margin: 2.2rem 0 .4rem; display: flex; align-items: center; gap: 1rem; }
.mgrp__t::before, .mgrp__t::after { content: ""; flex: 1; height: 1px; background: var(--s-hair); }
.mlist { columns: 2; column-gap: 3.8rem; }
@media (max-width: 760px) { .mlist { columns: 1; } }
.mi { break-inside: avoid; padding: 1rem 0; border-bottom: 1px dotted var(--s-hair); }
.mi__n { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.02; display: flex; align-items: baseline; gap: .55em; }
.mi__n .veg { flex: none; width: .52em; height: .52em; border: 1px solid #567A46; display: inline-grid; place-items: center; align-self: center; }
.mi__n .veg::before { content: ""; width: .24em; height: .24em; background: #567A46; border-radius: 50%; }
.mi__n .sig { color: var(--s-gold); font-size: .6em; }
.mi__d { font-size: .9rem; color: var(--s-dim); margin-top: .4rem; max-width: 52ch; }
.mempty { text-align: center; padding: 4rem 0 2rem; }

@media print {
  .ann, .hd, .mtool, .book__rail, .site-foot, .backtop, .pgbar, .veil, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .phero { min-height: 0; color: #000; }
  .phero__media { display: none; }
  .mlist { columns: 2; }
  .mch { padding-top: 1.6rem; }
}

/* ---------- forms ---------- */
.fld { margin-bottom: 1.5rem; text-align: left; }
.fld label { display: block; font-family: var(--f-ui); font-weight: 500; font-size: .58rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--oxblood); margin-bottom: .55rem; }
.fld input, .fld select, .fld textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(81,36,27,.35);
  font-family: var(--f-body); font-size: 1.04rem; color: var(--kohl); padding: .55rem 0;
  border-radius: 0; transition: border-color .35s; appearance: none; -webkit-appearance: none;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--oxblood); }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--oxblood) 50%), linear-gradient(135deg, var(--oxblood) 50%, transparent 50%);
  background-position: right 5px center, right 0 center; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.fld textarea { resize: vertical; min-height: 90px; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.2rem; }
@media (max-width: 560px) { .fld-row { grid-template-columns: 1fr; } }
.fnote { font-size: .8rem; color: #6E6053; margin-top: 1rem; }
.fok { display: none; text-align: center; padding: 2.4rem 1rem; border: 1px solid var(--oxblood); color: var(--kohl); }
.fok.show { display: block; animation: fokIn .5s var(--ease); }
@keyframes fokIn { from { opacity: 0; transform: translateY(14px); } }
form.sent .fbody { display: none; }

/* dark-scene form fields (peek page) */
.fld--dark label { color: var(--gold); }
.fld--dark input { color: var(--ivory); border-color: rgba(224,218,208,.3); }
.fld--dark input:focus { border-color: var(--gold); }

.stepper { display: flex; align-items: center; border-bottom: 1px solid rgba(81,36,27,.35); }
.stepper button { width: 42px; height: 42px; font-size: 1.1rem; color: var(--oxblood); flex: none; transition: transform .25s var(--ease); }
.stepper button:active { transform: scale(.86); }
.stepper input { text-align: center; border-bottom: 0 !important; }

/* segmented switch */
.seg { display: inline-flex; position: relative; border: 1px solid var(--s-line); border-radius: 100px; padding: 4px; gap: 2px; max-width: 100%; }
.seg button { position: relative; z-index: 1; font-family: var(--f-ui); font-weight: 500; font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase; padding: .85em 1.5em; border-radius: 100px;
  color: var(--s-dim); transition: color .35s; white-space: nowrap; }
.seg button.on { color: var(--ivory); }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; border-radius: 100px; background: var(--oxblood);
  border: 1px solid rgba(212,142,97,.35);
  transition: left .4s var(--ease), width .4s var(--ease); }
@media (max-width: 560px) { .seg { width: 100%; } .seg button { flex: 1; padding-inline: .5em; } }

/* accordion */
.faq { border-top: 1px solid var(--s-hair); }
.faq details { border-bottom: 1px solid var(--s-hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem; padding: 1.35rem 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.05;
  transition: color .3s, padding-left .4s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--s-gold); padding-left: .6rem; }
.faq summary .pm { flex: none; font-family: var(--f-ui); font-size: .95rem; color: var(--s-gold); transition: transform .4s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .faq__b { padding: 0 0 1.6rem; color: var(--s-dim); max-width: 66ch; }

/* ---------- info ---------- */
.infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 4vw, 3rem); text-align: center; }
@media (max-width: 780px) { .infogrid { grid-template-columns: 1fr; } }
.infogrid h3 { font-family: var(--f-ui); font-weight: 700; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--s-gold); margin-bottom: .9rem; }
.infogrid p, .infogrid a { color: var(--s-dim); font-size: .98rem; }
.infogrid a { display: block; padding: .18rem 0; transition: color .3s; }
.infogrid a:hover { color: var(--s-ink); }

/* ---------- footer (the crest) ---------- */
.site-foot { background: var(--night-2); color: var(--ivory); position: relative; text-align: center; }
.foot-crest { padding: clamp(3.6rem, 7vw, 6rem) var(--gut) 0; display: grid; justify-items: center; gap: 1.4rem; }
.foot-crest .peacock { width: clamp(120px, 16vw, 180px); opacity: .9; }
.foot-crest .word { width: clamp(150px, 18vw, 210px); }
.foot-crest p { color: #A08E7D; font-size: .95rem; max-width: 44ch; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2.2rem; margin-top: 2.4rem; padding-inline: var(--gut); }
.foot-links a { font-family: var(--f-ui); font-weight: 500; font-size: .62rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--sand); padding: .4rem 0; transition: color .3s; }
.foot-links a:hover { color: var(--gold); }
.foot-contact { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2.2rem; padding-inline: var(--gut); }
.foot-contact a, .foot-contact span { font-size: .95rem; color: #A08E7D; transition: color .3s; }
.foot-contact a:hover { color: var(--ivory); }
.foot-legal { margin-top: 3rem; display: flex; justify-content: space-between; gap: .6rem 2rem; flex-wrap: wrap;
  padding: 1.6rem var(--gut) 2rem; border-top: 1px solid rgba(224,218,208,.1);
  font-family: var(--f-ui); font-weight: 500; font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: #7C6E60; }
@media (max-width: 640px) { .foot-legal { justify-content: center; text-align: center; } }

/* next-stop ribbon — the pages read as one evening, in order */
.nextstop {
  display: block; text-align: center;
  padding: clamp(2.6rem, 5vw, 4rem) var(--gut);
  border-top: 1px solid var(--s-hair);
  background: var(--night); color: var(--ivory);
}
.nextstop .k { display: block; margin-bottom: 1.1rem; }
.nextstop .go { font-family: var(--f-display); font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1; transition: color .35s; }
.nextstop:hover .go { color: var(--gold); }
.nextstop .ar { color: var(--gold); transition: transform .4s var(--ease); display: inline-block; }
.nextstop:hover .ar { transform: translateX(.3em); }

/* back to top */
.backtop { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); background: rgba(13,11,10,.85);
  display: grid; place-items: center; font-size: 1rem;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s; }
.backtop.show { opacity: 1; pointer-events: auto; transform: none; }
.backtop:hover { background: var(--oxblood); }

/* skip link */
.skip { position: fixed; top: -80px; left: 1rem; z-index: 600; background: var(--oxblood); color: var(--ivory);
  font-family: var(--f-ui); font-weight: 500; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .9em 1.6em; transition: top .3s var(--ease); }
.skip:focus { top: 1rem; }

/* peacock watermark */
.wm { position: absolute; pointer-events: none; opacity: .05; width: min(44vw, 560px); z-index: 0; }

/* ---------- take a peek ---------- */
.peek-page { min-height: 100svh; background: var(--night); color: var(--ivory); display: grid; }
.peek { position: relative; overflow: clip; display: grid; align-items: center; justify-items: center;
  text-align: center; padding: 4.5rem var(--gut); isolation: isolate; }
.peek__back { position: absolute; inset: 0; z-index: -2; }
.peek__back img { width: 100%; height: 100%; object-fit: cover; }
/* Solid by default — the mask is applied only while .peeking, because iOS
   Safari renders a zero-radius gradient hole as fully transparent (cover gone). */
.peek__cover { position: absolute; inset: 0; z-index: -1; background: var(--night); }
.peek.peeking .peek__cover {
  -webkit-mask-image: radial-gradient(circle var(--peek-r, 0px) at var(--peek-x, 50%) var(--peek-y, 42%), transparent 97%, #000 100%);
          mask-image: radial-gradient(circle var(--peek-r, 0px) at var(--peek-x, 50%) var(--peek-y, 42%), transparent 97%, #000 100%); }
.peek__hint { position: absolute; z-index: 4; left: 50%; top: 40%; transform: translate(-50%, -50%);
  font-family: var(--f-ui); font-weight: 500; font-size: .56rem; letter-spacing: .36em; text-transform: uppercase;
  color: rgba(224,218,208,.6); pointer-events: none; transition: opacity .5s; }
.peek.peeking .peek__hint { opacity: 0; }
.peek__body { position: relative; z-index: 2; max-width: 760px; display: grid; justify-items: center; gap: 1.4rem; }
.cd { display: flex; gap: clamp(1rem, 4.5vw, 2.6rem); justify-content: center; }
.cd div { display: grid; gap: .6rem; justify-items: center; }
.cd b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 8vw, 4.6rem); line-height: 1;
  min-width: 2ch; }
.cd span { font-family: var(--f-ui); font-weight: 500; font-size: .54rem; letter-spacing: .32em; text-transform: uppercase; color: #A08E7D; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center;
  background: var(--night); color: var(--ivory); padding: 2rem; }

/* ---------- responsive touchups ---------- */
@media (max-width: 640px) {
  :root { --hd-h: 3.9rem; }
  .d1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero { padding-bottom: 5.5rem; }
  .hero__mandala-l, .hero__mandala-r { display: none; }
}
