/* ------------------------------------------------------------------
   The Monastic + Chamber Partnership
   Art deco materials: lacquer black, polished gold, emerald lacquer, ivory.
   Display: Bodoni Moda. Body and UI: Josefin Sans.
   Layout: a persistent gilt frame around the viewport; a poster-card hero
   beside the headline; emerald bands edged with chevron friezes; every
   panel framed in sheened gold with chamfered corners.
------------------------------------------------------------------- */

:root {
  --black: #000000;
  --lacquer: #0b0907;
  --lacquer-2: #15110b;
  --gold: #d9b645;
  --gold-hi: #fff1bf;
  --gold-mid: #c9a227;
  --gold-lo: #8a6a1c;
  --gold-12: rgba(217, 182, 69, .12);
  --gold-25: rgba(217, 182, 69, .25);
  --gold-45: rgba(217, 182, 69, .45);
  --emerald: #0b3627;
  --emerald-hi: #1b6a4e;
  --emerald-lo: #061f17;
  --ivory: #f4ebd3;
  --smoke: #b3a98f;
  --ash: #776f5e;

  /* Metals. The sheen is a multi-stop so flat areas read as polished, not painted. */
  --au-sheen: linear-gradient(135deg, #fff1bf 0%, #d9b645 16%, #8a6a1c 34%, #f6e39a 50%, #b8902b 68%, #6b4f12 84%, #ebd27e 100%);
  --au-foil: linear-gradient(180deg, #fff6d2 0%, #f3d87f 28%, #cfa52c 50%, #8f6c1b 66%, #e8cd78 84%, #fff2c2 100%);
  --au-line: linear-gradient(90deg, #6b4f12, #f6e39a 30%, #b8902b 50%, #f6e39a 70%, #6b4f12);
  --em-lacquer: radial-gradient(120% 90% at 50% 0%, #17604a 0%, #0b3627 45%, #061f17 100%);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Josefin Sans", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --frame: 16px;
  --gutter: clamp(20px, 5vw, 64px);
  --container: 1180px;
  --measure: 62ch;

  --t-fast: 150ms;
  --t-base: 300ms;
  --t-slow: 600ms;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* chamfer sizes */
  --ch: 22px;
  --ch-in: 19px;

  color-scheme: dark;
}

@media (max-width: 720px) { :root { --frame: 10px; --ch: 16px; --ch-in: 13.5px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain + vignette over everything, under the frame */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 54; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .6 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07; mix-blend-mode: overlay;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 53; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(0,0,0,.55) 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
figure { margin: 0; }
.defs { position: absolute; width: 0; height: 0; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; top: var(--frame); left: 50%; transform: translate(-50%, -140%);
  background: var(--gold); color: var(--black); padding: .6rem 1rem; z-index: 100;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem;
  transition: transform var(--t-base) var(--ease);
}
.skip:focus-visible { transform: translate(-50%, 8px); }

/* ---------- Materials ---------- */
.foil, .title, .hero-title .line-in, .stat-n, .brand-word {
  background: var(--au-foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* gilt frame: sheened gold surface with chamfered corners, inner lacquer, inner hairline */
.gilt {
  position: relative; isolation: isolate;
  background: var(--au-sheen); background-size: 220% 220%; background-position: 0% 0%;
  clip-path: polygon(var(--ch) 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%, var(--ch) 100%, 0 calc(100% - var(--ch)), 0 var(--ch));
  transition: background-position 1.2s var(--ease);
}
.gilt::before {
  content: ""; position: absolute; inset: 3px; z-index: -1; background: var(--panel, var(--lacquer));
  clip-path: polygon(var(--ch-in) 0, calc(100% - var(--ch-in)) 0, 100% var(--ch-in), 100% calc(100% - var(--ch-in)), calc(100% - var(--ch-in)) 100%, var(--ch-in) 100%, 0 calc(100% - var(--ch-in)), 0 var(--ch-in));
}
.gilt::after {
  content: ""; position: absolute; inset: 11px; z-index: 0; pointer-events: none;
  border: 1px solid var(--gold-45);
  clip-path: polygon(calc(var(--ch) - 8px) 0, calc(100% - var(--ch) + 8px) 0, 100% calc(var(--ch) - 8px), 100% calc(100% - var(--ch) + 8px), calc(100% - var(--ch) + 8px) 100%, calc(var(--ch) - 8px) 100%, 0 calc(100% - var(--ch) + 8px), 0 calc(var(--ch) - 8px));
}
.gilt:hover { background-position: 100% 100%; }
.gilt > * { position: relative; z-index: 1; }

/* chevron frieze strip */
.frieze {
  height: 16px; position: relative;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 L14 0 L28 14' fill='none' stroke='%23d9b645' stroke-width='1.7'/%3E%3Cpath d='M0 14 L14 5.5 L28 14' fill='none' stroke='%23d9b645' stroke-width='.8' stroke-opacity='.55'/%3E%3C/svg%3E") repeat-x center / 28px 14px;
  border-top: 1px solid var(--gold-mid); border-bottom: 1px solid var(--gold-mid);
}
.frieze::before, .frieze::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold-45); }
.frieze::before { top: 3px; } .frieze::after { bottom: 3px; }

/* ---------- Persistent frame ---------- */
.frame { position: fixed; inset: var(--frame); z-index: 60; pointer-events: none; }
.frame-line { position: absolute; inset: 0; border: 2px solid; border-image: var(--au-sheen) 1; }
.frame-line::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--gold-45); }
.corner { position: absolute; width: 56px; height: 56px; }
.corner.tl { top: -2px; left: -2px; }
.corner.tr { top: -2px; right: -2px; transform: scaleX(-1); }
.corner.bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.corner.br { bottom: -2px; right: -2px; transform: scale(-1); }
@media (max-width: 720px) { .corner { width: 34px; height: 34px; } }

.progress { position: absolute; left: 60px; right: 60px; top: -2px; height: 2px; }
.progress-bar { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px rgba(255, 241, 191, .6); }
@media (max-width: 720px) { .progress { left: 36px; right: 36px; } }

/* ---------- Loading screen (only when JS runs) ---------- */
.curtain { display: none; }
html.js .curtain { display: block; position: fixed; inset: 0; z-index: 90; overflow: hidden; }
.curtain-panel { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--black); }
.curtain-l { left: 0; }
.curtain-r { right: 0; }
.curtain-l::after, .curtain-r::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: 0; }
.curtain-l::after { right: 0; } .curtain-r::after { left: 0; }
.curtain.opening .curtain-l::after, .curtain.opening .curtain-r::after { opacity: 1; }
.curtain-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  padding: 0 max(16px, env(safe-area-inset-left, 0px)); text-align: center;
}
.curtain-rule { display: block; width: min(60vw, 520px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); transform: scaleX(0); }
.curtain-mark { position: relative; width: min(72vw, 560px); overflow: hidden; }
.curtain-mark img { width: 100%; height: auto; }
.curtain-sheen { position: absolute; inset: -10% 0; mix-blend-mode: screen; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,246,210,.75) 50%, transparent 62%); visibility: hidden; }
.curtain-latin { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 1rem + 2.6vw, 2.9rem); line-height: 1.1; color: #fff; margin: 0; }
.curtain-latin .w { display: inline-block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.curtain-latin .w-in { display: inline-block; background: var(--au-foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.curtain-english { font-size: clamp(.66rem, .6rem + .3vw, .8rem); letter-spacing: .42em; text-transform: uppercase; color: var(--smoke); margin: -.6rem 0 0 .42em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; left: var(--frame); right: var(--frame); top: var(--frame);
  z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 20px clamp(20px, 3vw, 40px) 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 70%, rgba(0,0,0,0) 100%);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-wordmark { height: clamp(22px, 2.2vw, 30px); width: auto; filter: drop-shadow(0 0 8px rgba(217,182,69,.3)); }
.brand-mark { width: 22px; height: auto; filter: drop-shadow(0 0 6px rgba(217,182,69,.35)); }
.brand-word { font-weight: 400; letter-spacing: .36em; text-transform: uppercase; font-size: .84rem; padding-top: .15em; }
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-links a { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke); position: relative; padding: .45rem 0 .3rem; transition: color var(--t-fast); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--au-line); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-hi); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
@media (max-width: 920px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 1.8rem .85rem; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  background: var(--au-sheen); background-size: 220% 220%; color: var(--gold-hi);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: color var(--t-base), background-position .9s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: rgba(0,0,0,.92); clip-path: polygon(10.5px 0, 100% 0, 100% calc(100% - 10.5px), calc(100% - 10.5px) 100%, 0 100%, 0 10.5px); transition: opacity var(--t-base); }
.btn:hover { background-position: 100% 100%; color: #fff; }
.btn-gold { color: var(--black); }
.btn-gold::before { opacity: 0; }
.btn-gold:hover { color: var(--black); }
.nav-cta { padding: .8rem 1.2rem .6rem; font-size: .68rem; }

/* ---------- Layout and type ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 8.5vw, 128px) 0; }
.sheet { position: relative; z-index: 2; background: var(--black); }
.sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--au-line); }

.title {
  font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem);
  line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; max-width: 22ch; margin-inline: auto;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.6));
}
.lede { color: var(--smoke); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.7; margin-top: 1.4rem; text-wrap: pretty; }
.over { font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }

.section-head { text-align: center; margin-bottom: clamp(48px, 6.5vw, 88px); }
.section-head .lede { max-width: var(--measure); margin-inline: auto; }

.rule-orn { display: block; width: 240px; height: 15px; margin: 0 auto 1.8rem; position: relative; }
.rule-orn::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold) 75%, transparent); }
.rule-orn::before { content: ""; position: absolute; left: 50%; top: 2px; width: 11px; height: 11px; background: var(--au-sheen); transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 0 3px var(--black), 0 0 0 4px var(--gold-45), 0 0 0 9px var(--black); z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  padding: calc(var(--frame) + 76px) 0 0; background: var(--black);
}
.hero-rays {
  position: absolute; inset: -10% -20%; pointer-events: none;
  background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(217,182,69,.13) 0 2.6deg, transparent 2.6deg 8deg);
  -webkit-mask: radial-gradient(ellipse 60% 85% at 50% 100%, #000 20%, transparent 70%);
          mask: radial-gradient(ellipse 60% 85% at 50% 100%, #000 20%, transparent 70%);
  transform-origin: 50% 100%;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(280px, 430px) 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: center; align-self: center; padding-block: 2vh 4vh;
}
.hero-card {
  position: relative; width: min(100%, 440px, calc((100svh - 230px) * 1006 / 1525)); aspect-ratio: 1006 / 1525; justify-self: start;
  transform-style: preserve-3d; perspective: 1200px;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(217,182,69,.12));
}
.hero-art { width: 100%; height: 100%; object-fit: cover; }
/* The medallion box matches the black circle on the card, so the mark is centred by layout alone and survives the scale tween. */
.hero-medallion { position: absolute; left: 32.0%; top: 9.5%; width: 35.2%; height: 23.35%; display: grid; place-items: center; pointer-events: none; }
.hero-mono { width: 50%; height: auto; filter: drop-shadow(0 0 12px rgba(255,241,191,.35)); }
.hero-plaque {
  position: absolute; left: 13.3%; right: 13.4%; top: 87.3%; height: 7.7%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1em;
  color: #2a1e06; text-align: center;
}
.hero-plaque em { font-family: var(--display); font-size: clamp(.9rem, 4.2cqw, 1.35rem); line-height: 1; }
.hero-plaque span { font-size: clamp(.42rem, 1.7cqw, .6rem); letter-spacing: .3em; text-transform: uppercase; margin-top: .35em; opacity: .85; }
.hero-card { container-type: inline-size; }
.hero-sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 35%, rgba(255,246,210,.55) 50%, transparent 65%);
  visibility: hidden; /* shown only while the load timeline sweeps it */
}
.hero-copy { max-width: 600px; }
.hero-kicker { margin-bottom: 1.4rem; }
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.01em;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.7));
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .line-in { display: inline-block; }
.hero-title .amp { font-family: var(--sans); font-weight: 300; font-size: .78em; vertical-align: .06em; margin-right: .06em; }
.hero-sub { color: var(--smoke); max-width: 42ch; margin-top: 1.6rem; font-size: clamp(1rem, .95rem + .35vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-meta { margin-top: 2.2rem; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ash); }
.hero-foot { display: flex; justify-content: center; padding: .5rem 0 calc(var(--frame) + 18px); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: .6rem; color: var(--gold); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue-line { width: 1px; height: 40px; background: linear-gradient(180deg, transparent, var(--gold)); }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--frame) + 70px); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; justify-items: center; text-align: center; padding-block: 1vh 2vh; }
  .hero-card { width: min(360px, 78vw); justify-self: center; }
  .hero-copy { max-width: 560px; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: clamp(2.2rem, 1.2rem + 6vw, 3.6rem); }
}

/* ---------- Overview: pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 36px); perspective: 1600px; }
.pillar { position: relative; }
.pillar-inner {
  height: 100%; padding: clamp(28px, 3.2vw, 44px) clamp(22px, 2.6vw, 36px) clamp(32px, 3.4vw, 46px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.pillar-emblem { width: clamp(120px, 11vw, 160px); margin: 1.2rem 0 1.4rem; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.pillar-num { font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { font-family: var(--display); font-size: 1.75rem; color: #fff; margin-bottom: .8rem; }
.pillar p { color: var(--smoke); font-size: .98rem; line-height: 1.7; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Stats: emerald lacquer band ---------- */
.stats { margin: clamp(64px, 8vw, 112px) 0; background: var(--em-lacquer); position: relative; }
.stats .frieze { background-color: rgba(0,0,0,.35); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: clamp(36px, 4.5vw, 60px) 0; }
.stat { text-align: center; padding: .5rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: linear-gradient(180deg, transparent, var(--gold-45), transparent); }
.stat-n { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)); }
.stat-l { display: block; margin-top: .9rem; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: #cfe0d6; line-height: 1.5; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .stat:nth-child(3)::before { display: none; }
}

/* ---------- Two-column exchange ---------- */
.exchange, .twin { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.exchange-h { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); color: #fff; margin-bottom: 1.4rem; }
.exchange-axis { align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: .4rem; }
.axis-line { width: 1px; flex: 1; background: linear-gradient(180deg, transparent, var(--gold-45), transparent); }
.axis-gem { width: 11px; height: 11px; background: var(--au-sheen); transform: rotate(45deg); flex: none; box-shadow: 0 0 0 3px var(--black), 0 0 0 4px var(--gold-45); }
.deco-list li { position: relative; padding: .6rem 0 .6rem 2rem; border-bottom: 1px solid rgba(217,182,69,.16); color: var(--ivory); }
.deco-list li:last-child { border-bottom: 0; }
.deco-list li::before { content: ""; position: absolute; left: .4rem; top: 1.25rem; width: 8px; height: 8px; background: var(--au-sheen); transform: rotate(45deg); }
@media (max-width: 760px) {
  .exchange, .twin { grid-template-columns: 1fr; gap: 2.4rem; }
  .exchange-axis { flex-direction: row; height: 1px; padding: 0; }
  .axis-line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-45), transparent); }
}

/* ---------- Platform tiles ---------- */
.group-h { display: flex; align-items: center; gap: 1.4rem; margin: 0 0 1.8rem; font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: #fff; font-weight: 400; }
.group-h::before, .group-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-45), transparent); }
.group-h::before { background: linear-gradient(270deg, var(--gold-45), transparent); }
.group-h + .tiles { margin-bottom: clamp(64px, 8vw, 110px); }
.group-sub { text-align: center; color: var(--smoke); margin: -1rem 0 2rem; font-family: var(--display); font-style: italic; font-size: 1.15rem; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 1px; background: linear-gradient(135deg, #6b4f12, #d9b645 30%, #8a6a1c 50%, #d9b645 70%, #6b4f12); }
.tile { background: var(--lacquer); padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2vw, 26px) clamp(24px, 2.6vw, 34px); position: relative; transition: background-color var(--t-base); }
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 0% 0%, rgba(27,106,78,.5), transparent 60%); opacity: 0; transition: opacity var(--t-base); pointer-events: none; }
.tile:hover { background: #0e1a14; }
.tile:hover::after { opacity: 1; }
.tile-ico { position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 0 1.2rem 4px; }
.tile-ico::before { content: ""; position: absolute; inset: 4px; background: var(--au-sheen); transform: rotate(45deg); box-shadow: 0 0 0 2px var(--lacquer), 0 0 0 3px var(--gold-45); }
.tile-ico svg { position: relative; width: 22px; height: 22px; fill: none; stroke: #1a1203; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h4 { font-family: var(--display); font-size: 1.22rem; color: #fff; margin-bottom: .5rem; line-height: 1.2; }
.tile p { color: var(--smoke); font-size: .92rem; line-height: 1.65; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .tiles { grid-template-columns: 1fr; } }

.callout { margin-top: clamp(56px, 7vw, 96px); display: flex; justify-content: center; }
.callout-frame { --panel: var(--em-lacquer); width: 100%; max-width: 980px; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: clamp(20px, 3vw, 44px); padding: clamp(28px, 3.6vw, 48px) clamp(24px, 4vw, 56px); }
.callout-art { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 16px 24px rgba(0,0,0,.6)); -webkit-mask: radial-gradient(ellipse at 50% 55%, #000 55%, transparent 78%); mask: radial-gradient(ellipse at 50% 55%, #000 55%, transparent 78%); }
.callout h3 { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: #fff; margin-bottom: 1rem; }
.callout p { color: #d7e3dc; max-width: 52ch; }
@media (max-width: 760px) { .callout-frame { grid-template-columns: 1fr; text-align: center; } .callout p { margin-inline: auto; } }

/* ---------- Services rail ---------- */
.services { overflow: hidden; }
.services-bg { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(1400px, 140vw); aspect-ratio: 944 / 560; background: url("../assets/sunburst.webp") center / cover no-repeat; opacity: .28; pointer-events: none; -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 70%); mask: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 70%); }
.services .section-head { position: relative; }
.rail { position: relative; }
.track { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 40px); padding-inline: var(--gutter); }
.panel { flex: 0 0 auto; padding: clamp(32px, 4.4vw, 60px) clamp(26px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.panel-index { font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.panel h3 { font-family: var(--display); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); color: #fff; line-height: 1.1; margin-bottom: 1.1rem; max-width: 16ch; }
.panel p { color: var(--smoke); max-width: 56ch; font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); }
.panel-benefit { --panel: var(--em-lacquer); }
.panel-benefit p { color: #d7e3dc; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.chips li { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); border: 1px solid var(--gold-45); padding: .6rem .85rem .45rem; background: rgba(0,0,0,.35); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.rail-meter { display: none; }
@media (min-width: 769px) {
  html.js:not(.reduced) .services { padding-bottom: 0; }
  html.js:not(.reduced) .rail { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 6vh 0 8vh; }
  html.js:not(.reduced) .track { flex-direction: row; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); will-change: transform; }
  html.js:not(.reduced) .panel { width: min(74vw, 760px); min-height: 52vh; }
  html.js:not(.reduced) .rail-meter { position: absolute; left: 50%; bottom: 3vh; transform: translateX(-50%); width: min(60vw, 360px); display: flex; align-items: center; gap: 1rem; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--smoke); }
}
.rail-meter-bar { flex: 1; height: 1px; background: var(--gold-25); position: relative; }
.rail-meter-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.rail-meter b { font-weight: 400; color: var(--gold-hi); }

/* ---------- Partnership ---------- */
.requests { max-width: 860px; margin-inline: auto; }
.request { display: grid; grid-template-columns: 52px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid rgba(217,182,69,.18); }
.request:last-child { border-bottom: 1px solid rgba(217,182,69,.18); }
.request-gem { width: 52px; height: 52px; position: relative; margin-top: .1rem; }
.request-gem::before { content: ""; position: absolute; inset: 6px; background: var(--au-sheen); transform: rotate(45deg); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.request-gem::after { content: ""; position: absolute; inset: 15px; background: var(--lacquer); transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--gold-45); }
.request h3 { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: .5rem; }
.request p { color: var(--smoke); }

.levels { margin-top: clamp(64px, 8vw, 104px); }
.levels-h { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: #fff; text-align: center; }
.levels-hint { text-align: center; color: var(--ash); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin: .6rem 0 2.2rem; }
.levels-frame { padding: 10px; }
.levels-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.levels-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.levels-table th, .levels-table td { padding: 1rem 1.2rem .85rem; text-align: left; font-weight: 300; border-bottom: 1px solid rgba(217,182,69,.14); transition: background-color var(--t-base); }
.levels-table thead th { background: var(--au-sheen); color: var(--black); border-bottom: 0; padding: 0; }
.th-label { padding: 1.1rem 1.2rem .9rem !important; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: #3b2a07; font-weight: 600 !important; }
.th-level { text-align: center !important; width: 17%; }
.level-btn { width: 100%; padding: 1.1rem .8rem .9rem; font-family: var(--display); font-size: 1.2rem; color: #1f1604; transition: background-color var(--t-base), color var(--t-base); }
.level-btn:hover, .th-level.active .level-btn { background: #1f1604; color: var(--gold-hi); }
.group-row th { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); background: rgba(27,106,78,.18); padding: .75rem 1.2rem .6rem; }
.levels-table tbody th { color: var(--ivory); }
.levels-table td { text-align: center; }
.levels-table td.active { background: var(--gold-12); }
.gem { position: relative; display: inline-block; width: 13px; height: 13px; border: 1px solid var(--gold); transform: rotate(45deg); }
.gem.on { background: var(--au-sheen); box-shadow: 0 0 12px rgba(217,182,69,.55); }
.gem:not(.on) { opacity: .45; }
.levels-note { margin-top: 1.2rem; font-family: var(--display); font-style: italic; color: var(--smoke); text-align: center; font-size: 1.05rem; }

/* ---------- Getting started ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 40px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(217,182,69,.18); }
.steps-line-fill { position: absolute; inset: 0; background: var(--au-line); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px rgba(217,182,69,.5); }
.step { position: relative; padding-top: 1.4rem; }
.step-node { position: absolute; top: -48px; left: 0; width: 18px; height: 18px; background: var(--black); border: 1px solid var(--gold); transform: rotate(45deg); transition: background var(--t-base), box-shadow var(--t-base); }
.step-node::after { content: ""; position: absolute; inset: 4px; background: var(--au-sheen); opacity: 0; transition: opacity var(--t-base); }
.step.lit .step-node { box-shadow: 0 0 16px rgba(217,182,69,.6), 0 0 0 3px var(--black), 0 0 0 4px var(--gold-45); }
.step.lit .step-node::after { opacity: 1; }
.step-num { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.step h3 { font-family: var(--display); font-size: 1.6rem; color: #fff; margin: .6rem 0 .7rem; }
.step p { color: var(--smoke); font-size: .98rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; padding: 0 0 0 36px; gap: 2.2rem; }
  .steps-line { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line-fill { transform-origin: top; transform: scaleY(0); }
  .step { padding-top: 0; }
  .step-node { top: .3rem; left: -36px; }
}
.twin { margin-top: clamp(64px, 8vw, 112px); }

/* ---------- Close ---------- */
.talk { padding-top: 0; }
.talk-frame { --panel: var(--em-lacquer); text-align: center; padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 96px); overflow: hidden; }
.talk-bg { position: absolute; left: 50%; bottom: -8%; width: min(100%, 1100px); aspect-ratio: 944 / 560; transform: translateX(-50%) scaleY(-1); background: url("../assets/sunburst.webp") center / cover no-repeat; opacity: .32; pointer-events: none; -webkit-mask: linear-gradient(180deg, #000 40%, transparent 95%); mask: linear-gradient(180deg, #000 40%, transparent 95%); z-index: 0 !important; }
.talk-body { position: relative; }
.talk-title { font-size: clamp(2.2rem, 1.4rem + 3.8vw, 4rem); }
.contact { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--gold-25); }
.contact-item { display: flex; flex-direction: column; gap: .35rem; min-width: 140px; }
.contact-k { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.contact-v { font-family: var(--display); font-size: 1.3rem; color: #fff; }
a.contact-v:hover { color: var(--gold-hi); }
.talk-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }

.frieze-wide { margin-top: clamp(48px, 6vw, 80px); }
.foot { padding: 2.2rem 0 calc(var(--frame) + 36px); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ash); }
.foot-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--smoke); }
.foot-brand .brand-mark { width: 18px; height: 18px; }
.foot-motto em { font-family: var(--display); letter-spacing: 0; text-transform: none; font-size: 1rem; color: var(--gold); }
@media (max-width: 720px) { .foot-row { justify-content: center; text-align: center; } }

/* ---------- Booking modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: max(var(--frame), 16px); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-frame { --panel: var(--lacquer); position: relative; width: min(960px, 100%); max-height: calc(100vh - 2 * max(var(--frame), 16px)); max-height: calc(100svh - 2 * max(var(--frame), 16px)); display: flex; flex-direction: column; padding: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.7); }
.modal-head { position: relative; padding: 1.4rem 4rem 1rem 1.6rem; border-bottom: 1px solid var(--gold-25); }
.modal-title { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); color: #fff; line-height: 1.05; }
.modal-sub { color: var(--smoke); font-size: .95rem; margin-top: .4rem; }
.modal-close { position: absolute; right: 1.1rem; top: 1.2rem; width: 42px; height: 42px; display: grid; place-items: center; background: var(--au-sheen); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform var(--t-base) var(--ease); }
.modal-close svg { width: 16px; height: 16px; fill: none; stroke: #1a1203; stroke-width: 2; stroke-linecap: round; }
.modal-close:hover { transform: rotate(90deg); }
.modal-body { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.modal-iframe { flex: 1; width: 100%; min-height: min(640px, 70vh); border: 0; background: #fff; }
.modal-fallback { padding: .7rem 1rem; font-size: .8rem; color: var(--smoke); background: var(--lacquer); border-top: 1px solid var(--gold-25); text-align: center; }
.modal-fallback a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 720px) { .modal-frame { padding: 8px; } .modal-head { padding: 1.1rem 3.6rem .8rem 1rem; } .modal-close { right: .7rem; top: .9rem; } }

/* ---------- Motion defaults ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  html.js .curtain { display: none; }
  .progress-bar { transform: none; }
  .steps-line-fill { transform: none; }
  .step .step-node::after { opacity: 1; }
  .hero-sheen { display: none; }
}
