/* Mykonos Gold, "The Vault". Ivory pages, onyx vitrines, gold only where it means something.
   Marcellus (inscription capitals) for display, Figtree for reading. */
@font-face { font-family: "Marcellus"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/marcellus-latin-400.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 300 700; font-style: normal; font-display: swap; src: url(/fonts/figtree-latin-var.woff2) format("woff2"); }

:root {
  --ivory: #f3ecdf; --ivory-2: #e9dfcc; --paper: #faf6ee; --ink: #17140f; --ink-2: #4a4134; --muted: #675c4c;
  --gold: #86601c; --gold-hi: #d8b05a; --gold-lt: #f0d896; --onyx: #0b0a08; --onyx-2: #15120e;
  --line: rgba(23, 20, 15, 0.16); --line-on: rgba(240, 216, 150, 0.2);
  --foil: linear-gradient(105deg, #8c6420 0%, #d8b05a 24%, #fff0c6 40%, #c99a3e 58%, #f0d48a 76%, #8c6420 100%);
  --display: "Marcellus", "Trajan Pro", "Cinzel", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
::selection { background: var(--gold-hi); color: var(--onyx); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--paper); padding: 8px 14px; }
.skip:focus { left: 12px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: 0.01em; text-wrap: balance; }
.t-hero { font-size: clamp(2.5rem, 6vw, 5.6rem); text-transform: uppercase; letter-spacing: 0.04em; line-height: 0.98; }
.t-xl { font-size: clamp(2.2rem, 4.6vw, 4.2rem); text-transform: uppercase; letter-spacing: 0.035em; }
.t-l { font-size: clamp(1.8rem, 3.2vw, 2.9rem); }
.t-m { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.t-s { font-size: 1.3rem; }
h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 56ch; }
.small { font-size: 0.85rem; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.ar { width: 30px; height: 12px; flex: none; transition: transform .5s var(--ease); }
.dm { width: 9px; height: 9px; flex: none; color: var(--gold); }
.rn { font-family: var(--display); color: var(--gold); font-size: 1.15rem; letter-spacing: 0.08em; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.78rem 1.35rem; border-radius: 999px; border: 1px solid var(--ink);
  font: 600 0.82rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: transparent; color: var(--ink);
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease); white-space: nowrap; }
.pill:active { transform: scale(0.97); }
.pill-ink { background: var(--ink); color: var(--ivory); }
.pill-ink:hover { background: var(--gold); border-color: var(--gold); }
.pill-line:hover { background: var(--ink); color: var(--ivory); }
.pill-gold { border-color: transparent; color: var(--onyx); background: var(--foil); background-size: 220% 100%; background-position: 0 0; transition: background-position .9s var(--ease), transform .35s var(--ease); }
.pill-gold:hover { background-position: 100% 0; }
.pill-lg { padding: 1rem 1.7rem; font-size: 0.86rem; }

/* ---------------------------------------------------------------- masthead (centred brand) */
.mast { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(var(--pad), env(safe-area-inset-right, 0px)) 14px max(var(--pad), env(safe-area-inset-left, 0px)); color: var(--ivory);
  transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease); }
.mast.light { background: rgba(243, 236, 223, 0.9); color: var(--ink); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.mast.hide { transform: translateY(-110%); }
.mast-l, .mast-r { display: flex; align-items: center; gap: 1.6rem; }
.mast-r { justify-content: flex-end; }
.ml { font: 500 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; opacity: 0.85; }
.ml:hover { opacity: 1; }
.mast .pill { border-color: currentColor; color: inherit; padding: 0.62rem 1.05rem; }
.mast .pill:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--onyx); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand img { width: 34px; height: auto; display: block; filter: drop-shadow(0 2px 8px rgba(216, 176, 90, 0.4)); }
.brand span { font: 400 1.05rem/1 var(--display); letter-spacing: 0.32em; text-transform: uppercase; white-space: nowrap; }
.brand b { font-weight: 400; color: var(--gold-hi); }
.mast.light .brand b { color: var(--gold); }
.ix-btn { display: inline-flex; align-items: center; gap: 0.7rem; background: none; border: 0; color: inherit; cursor: pointer; padding: 0.4rem 0; font: 500 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; }
.bars { position: relative; width: 26px; height: 10px; }
.bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), width .4s var(--ease); }
.bars i:first-child { top: 0; } .bars i:last-child { bottom: 0; width: 65%; }
.ix-btn:hover .bars i:last-child { width: 100%; }
.ix-open .bars i:first-child { transform: translateY(4.25px) rotate(45deg); }
.ix-open .bars i:last-child { width: 100%; transform: translateY(-4.25px) rotate(-45deg); }
.ix-open .mast { background: transparent; color: var(--ivory); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* full-screen index */
.index { position: fixed; inset: 0; z-index: 55; background: var(--onyx); color: var(--ivory); overflow-y: auto; padding: calc(96px + env(safe-area-inset-top, 0px)) max(var(--pad), env(safe-area-inset-right, 0px)) 32px max(var(--pad), env(safe-area-inset-left, 0px));
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); display: flex; flex-direction: column; }
.index[hidden] { display: none; }
.ix-open .index { clip-path: inset(0 0 0 0); }
.ix-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); max-width: 1320px; width: 100%; margin: 0 auto; flex: 1; }
.ix-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 2.4rem; align-content: start; }
.ix-h { margin: 0 0 0.7rem; font: 600 0.72rem/1.3 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-hi); }
.ix-h a { text-decoration: none; }
.ix-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.ix-g a { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.28rem 0; text-decoration: none; font: 400 1.22rem/1.25 var(--display); color: rgba(243, 236, 223, 0.86); transition: color .25s, padding-left .4s var(--ease); }
.ix-g a i { font: 500 0.7rem/1 var(--body); font-style: normal; color: var(--gold-hi); letter-spacing: 0.08em; min-width: 1.6em; }
.ix-g a:hover, .ix-g a:focus-visible { color: #fff; padding-left: 0.4rem; }
.ix-pv { position: sticky; top: 0; align-self: start; }
.ix-img { width: 100%; max-width: 360px; height: auto; aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; background: var(--onyx-2); object-fit: cover; transition: opacity .25s; }
.ix-line { margin-top: 1rem; color: rgba(243, 236, 223, 0.7); font-size: 0.95rem; min-height: 3.4em; }
.ix-foot { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; align-items: center; border-top: 1px solid var(--line-on); margin: 2rem auto 0; padding-top: 1.2rem; max-width: 1320px; width: 100%; }
.ix-foot a:not(.pill) { font: 500 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: rgba(243, 236, 223, 0.8); }
.ix-foot .pill { margin-left: auto; border-color: var(--gold-hi); color: var(--gold-hi); }

/* page change: an onyx veil with the medallion */
.veil { position: fixed; inset: 0; z-index: 300; background: var(--onyx); display: grid; place-items: center; pointer-events: none; transform: translateY(0); transition: transform .7s var(--ease); }
.veil img { width: 64px; opacity: 0.9; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.6; } }
/* the veil only covers page changes inside the site; a first visit paints at once */
html:not(.arrive) .veil { transform: translateY(-101%); transition: none; }
html.arrive.ready .veil { transform: translateY(-101%); transition: transform .7s var(--ease); }
html.leaving .veil { transform: translateY(0) !important; transition: transform .45s var(--ease) !important; }
html.calm .veil { display: none; }

/* ---------------------------------------------------------------- home: the vault */
.vault { position: relative; height: 100svh; min-height: 620px; background: var(--onyx); color: var(--ivory); overflow: hidden; }
.vault canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.vault canvas:active { cursor: grabbing; }
.vault::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(11, 10, 8, 0.92) 0%, rgba(11, 10, 8, 0.2) 38%, rgba(11, 10, 8, 0) 60%); }
.vault-ui { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  padding: 0 max(var(--pad), env(safe-area-inset-right, 0px)) calc(clamp(28px, 5vh, 56px) + env(safe-area-inset-bottom, 0px)) max(var(--pad), env(safe-area-inset-left, 0px)); pointer-events: none; }
.vault-ui a, .vault-ui button { pointer-events: auto; }
.vault-copy { max-width: 760px; min-width: 0; }
.vault-copy .lead { color: rgba(243, 236, 223, 0.82); margin-top: 1rem; }
.vault-copy .pill-line { border-color: rgba(243, 236, 223, 0.6); color: var(--ivory); }
.vault-copy .pill-line:hover { background: var(--ivory); color: var(--onyx); }
.vault-cap { width: 300px; flex: none; border-left: 1px solid var(--line-on); padding-left: 1.4rem; }
.vc-no { font: 500 0.78rem/1 var(--body); letter-spacing: 0.16em; color: rgba(243, 236, 223, 0.6); }
.vc-no b { color: var(--gold-hi); font-weight: 600; }
.vc-name { font: 400 1.8rem/1.1 var(--display); margin-top: 0.6rem; }
.vc-line { font-size: 0.92rem; color: rgba(243, 236, 223, 0.72); margin-top: 0.5rem; min-height: 3.2em; }
.vc-nav { display: flex; align-items: center; gap: 0.9rem; margin-top: 1rem; }
.vc-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-on); background: none; color: var(--ivory); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, background .3s; }
.vc-nav button:hover { border-color: var(--gold-hi); background: rgba(216, 176, 90, 0.12); }
.vc-nav button:first-child .ar { transform: scaleX(-1); }
.vc-nav .ar { width: 20px; }
.vc-nav a { flex: 1; text-align: center; font: 600 0.78rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; padding: 0.95rem 0; border-bottom: 1px solid var(--gold-hi); }
.vault-links { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; padding: 0; }
.vault-hint { position: absolute; z-index: 2; top: calc(96px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); font: 500 0.7rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243, 236, 223, 0.5); white-space: nowrap; }

/* manifesto: lines fill with gold as you scroll */
.manifesto { padding-block: clamp(80px, 12vw, 170px) clamp(60px, 9vw, 120px); }
.mf { font: 400 clamp(2.4rem, 7.4vw, 7.6rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: 0.02em; display: flex; flex-wrap: wrap; gap: 0 0.32em; }
.mf-l { --p: 0%; background: linear-gradient(90deg, var(--gold) 0, var(--gold) var(--p), rgba(23, 20, 15, 0.14) var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); margin-top: clamp(48px, 7vw, 100px); border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px); }
.body p + p, .leaf-body p + p { margin-top: 1rem; }
.body p, .leaf-body p, .arch-copy p, .areas p { color: var(--ink-2); }
.offer { margin-top: 1.4rem !important; padding: 1rem 1.2rem; border: 1px solid var(--gold); border-radius: 2px; color: var(--ink) !important; font-weight: 500; background: rgba(216, 176, 90, 0.08); }

/* sections */
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { color: var(--ink-2); max-width: 48ch; }
.onyx { background: var(--onyx); color: var(--ivory); }
.onyx .sec-head p { color: rgba(243, 236, 223, 0.72); }
.more { margin-top: 2rem; }
.more a { display: inline-flex; gap: 0.8rem; align-items: center; font: 600 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--gold); }
.onyx .more a { color: var(--gold-hi); }
.more a:hover .ar { transform: translateX(6px); }

/* the collection: exhibits */
.tabs { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; padding: 0.9rem 0; margin-bottom: -1px; border-bottom: 1px solid transparent; cursor: pointer; font: 500 0.8rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tab sup { font-size: 0.65em; color: var(--gold); }
.tab[aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); }
.tab:hover { color: var(--ink); }
.exhibits { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px); }
.collection #svc { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .collection #svc { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.exhibits.three { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ex { position: relative; }
.ex.gone { display: none; }
.ex-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--onyx); border-radius: 999px 999px 3px 3px; }
.th { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.ex:hover .th { transform: scale(1.07); }
.ex-no { margin-top: 1rem; font: 600 0.7rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.ex h3 { margin-top: 0.45rem; font-size: 1.35rem; }
.ex p { margin-top: 0.35rem; font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }
.stretch { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; overflow: hidden; }
.grp-h { margin: clamp(48px, 6vw, 90px) 0 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.grp-h:first-child { margin-top: 0; }

/* Cycladic arch with the real Ornos photograph */
.arch-band { background: var(--ivory-2); padding-block: clamp(64px, 9vw, 130px); }
.arch-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.arch { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden; border: 1px solid var(--gold); padding: 10px; background: var(--paper); }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 2px 2px; display: block; }
.arch-copy { display: grid; gap: 1.1rem; justify-items: start; }

/* areas list */
.areas-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); }
.areas-in > div { display: grid; gap: 1.1rem; align-content: start; }
.places { list-style: none; counter-reset: pl; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.places li { counter-increment: pl; break-inside: avoid; display: flex; gap: 0.9rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font: 400 1.25rem/1.2 var(--display); }
.places li::before { content: counter(pl, decimal-leading-zero); font: 500 0.7rem/1 var(--body); color: var(--gold); letter-spacing: 0.1em; }

/* membership: metal cards */
.mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.mc h3 { margin-top: 1.4rem; font-size: 1.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mc > p { margin-top: 0.5rem; color: rgba(243, 236, 223, 0.72); }
.mc .dlist { margin-top: 1rem; }
.mc .dlist li { color: rgba(243, 236, 223, 0.86); border-color: var(--line-on); }
.mc .pill { margin-top: 1.4rem; }
.mc .pill-line { border-color: rgba(243, 236, 223, 0.5); color: var(--ivory); }
.card3d { perspective: 900px; outline: none; }
.card-face { --mx: 30%; --my: 20%; position: relative; aspect-ratio: 1.586; border-radius: 16px; padding: 1.2rem 1.3rem; overflow: hidden; transform-style: preserve-3d;
  transition: transform .6s var(--ease); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); display: grid; grid-template-rows: auto 1fr auto; }
.card-face::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), transparent 45%); mix-blend-mode: soft-light; pointer-events: none; }
.card-face img { width: 40px; }
.c-chip { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #e8c672, #a07b2c); align-self: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.c-name { position: absolute; right: 1.3rem; top: 1.2rem; font: 400 1.4rem/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; }
.c-no { font: 500 0.66rem/1 var(--body); letter-spacing: 0.24em; opacity: 0.8; }
.mc-top .card-face { background: linear-gradient(135deg, #1d1a16, #050403 60%, #24201a); color: #e9dfcc; border: 1px solid rgba(240, 216, 150, 0.25); }
.mc-elite .card-face { background: linear-gradient(135deg, #e6e3dc, #9d9a93 45%, #f3f1ec 60%, #8e8b84); color: #1c1b19; }
.mc-gold .card-face { background: var(--foil); background-size: 160% 160%; color: #2a1d06; animation: foilmove 8s ease-in-out infinite; }
@keyframes foilmove { 50% { background-position: 100% 100%; } }

/* letter for assistants */
.pa { background: var(--ivory-2); }
.letter { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); background: var(--paper); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -10px; padding: clamp(28px, 5vw, 70px); }
.letter > div { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.letter p { color: var(--ink-2); }
.dlist { list-style: none; margin: 0; padding: 0; display: grid; }
.dlist li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 0.8rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dlist li .dm { transform: translateY(-1px); }
.dlist.two-col { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

/* steps, whys */
.steps { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 1.6rem 2rem 0 0; display: grid; gap: 0.7rem; align-content: start; }
.steps li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.steps .rn { font-size: 2.6rem; line-height: 1; }
.steps p { color: var(--ink-2); }
.whys-sec { background: var(--paper); }
.whys-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); }
.whys, .opts { list-style: none; margin: 0; padding: 0; display: grid; }
.whys li, .opts li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.whys li:first-child, .opts li:first-child { border-top: 1px solid var(--line); }
.whys p, .opts p { color: var(--ink-2); margin-top: 0.35rem; font-size: 0.97rem; }

/* faq */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 1rem; align-items: center; padding: 1.15rem 0; font: 400 1.18rem/1.35 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 22px; height: 22px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.4px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa .ans { overflow: hidden; }
.qa .ans p { padding: 0 2.4rem 1.3rem 0; color: var(--ink-2); }

/* ask band */
.ask { background: var(--onyx); color: var(--ivory); position: relative; }
.ask-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(64px, 9vw, 120px); }
.ask-copy p { color: rgba(243, 236, 223, 0.75); margin-top: 1.1rem; max-width: 52ch; }
.ask .pill-line { border-color: rgba(243, 236, 223, 0.5); color: var(--ivory); text-transform: none; letter-spacing: 0.02em; font-size: 0.95rem; }
.ask .pill-line:hover { background: var(--ivory); color: var(--onyx); }
.ask-obj { justify-self: center; width: min(100%, 360px); }
.ask-th { border-radius: 50% 50% 4px 4px; border: 1px solid var(--line-on); }
.meander { height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18' viewBox='0 0 36 18'%3E%3Cpath d='M0 15.5H6V2.5H24V12.5H12V7.5H18' fill='none' stroke='%23d8b05a' stroke-width='1.4'/%3E%3Cpath d='M24 15.5H36' fill='none' stroke='%23d8b05a' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x left center / 36px 18px; opacity: 0.7; }

/* ---------------------------------------------------------------- split pages: vitrine left, leaf right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ivory); }
.vit { position: sticky; top: 0; height: 100svh; background: var(--onyx); overflow: hidden; }
.vit canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.vit canvas:active { cursor: grabbing; }
.vit-cap { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 1rem; font: 500 0.72rem/1.3 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243, 236, 223, 0.66); pointer-events: none; }
.vit-cap span { color: rgba(243, 236, 223, 0.4); }
.leaf { position: relative; min-width: 0; padding: calc(120px + env(safe-area-inset-top, 0px)) clamp(20px, 5vw, 88px) clamp(56px, 7vw, 100px) clamp(40px, 6vw, 110px); }
.thread { position: absolute; left: clamp(18px, 2.6vw, 48px); top: 120px; bottom: 80px; width: 1px; background: var(--line); }
.thread i { position: absolute; left: -0.5px; top: 0; width: 2px; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--t, 0)); }
.leaf-top { display: grid; gap: 1.1rem; justify-items: start; padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.leaf-top .row { margin-top: 0.4rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font: 500 0.74rem/1.4 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--gold); }
.no { font: 600 0.78rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); display: flex; gap: 1rem; }
.no span { color: var(--muted); font-weight: 500; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips li { padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--ink-2); background: var(--paper); }
.leaf-body { max-width: 66ch; }
.leaf-body > p { font-size: 1.04rem; }
.drop::first-letter { float: left; font: 400 4.6em/0.8 var(--display); margin: 0.06em 0.12em 0 0; color: var(--gold); }
.chap { margin-top: clamp(44px, 5vw, 72px); }
.chap > h2 { margin-bottom: 1.1rem; }
.chap p + p { margin-top: 1rem; }
.chap ul:not(.dlist):not(.sibs) { padding-left: 1.2rem; color: var(--ink-2); }
.chap ul:not(.dlist):not(.sibs) li + li { margin-top: 0.4rem; }
.note { margin-top: clamp(44px, 5vw, 72px); background: var(--onyx); color: var(--ivory); padding: 1.6rem 1.8rem; border-radius: 2px; position: relative; }
.note::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-on); pointer-events: none; }
.note-h { font: 600 0.72rem/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 0.7rem !important; }
.note p { color: rgba(243, 236, 223, 0.86) !important; }
.reserve { background: var(--paper); border: 1px solid var(--gold); padding: clamp(22px, 3vw, 36px); }
.sibs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.sibs a { display: flex; gap: 0.8rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 1.08rem/1.3 var(--display); transition: color .25s, padding-left .4s var(--ease); }
.sibs a i { font: 500 0.7rem/1 var(--body); font-style: normal; color: var(--gold); letter-spacing: 0.08em; }
.sibs a:hover { color: var(--gold); padding-left: 0.3rem; }
.post h2 { margin: 2.4rem 0 0.9rem; }
.post h3 { margin: 1.8rem 0 0.7rem; }
.post ul, .post ol { color: var(--ink-2); padding-left: 1.2rem; }
.related { background: var(--paper); }
.related .t-l { margin-bottom: 2rem; }
.journal { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.journal a { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr) 30px; gap: 0.3rem 1.2rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.journal time { font: 600 0.72rem/1.4 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); grid-row: span 2; }
.jt { font: 400 1.3rem/1.25 var(--display); }
.jd { grid-column: 2; color: var(--ink-2); font-size: 0.93rem; }
.journal .ar { grid-row: 1; grid-column: 3; }
.journal a:hover .ar { transform: translateX(6px); }
.mailline { margin: 1.4rem 0; font: 400 1.4rem/1.2 var(--display); }
.mailline a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* forms */
.form { display: grid; gap: 1rem; background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 34px); margin-top: 1.4rem; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f { display: grid; gap: 0.35rem; }
.f span { font: 600 0.72rem/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.f input, .f select, .f textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--ivory); border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 0.75rem 0.2rem; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--gold); background: #fffdf8; }
.form .pill { justify-self: start; }
.form .out { background: rgba(216, 176, 90, 0.14); padding: 0.8rem 1rem; font-size: 0.92rem; }
.form .out a { color: var(--gold); }

/* footer */
.foot { background: var(--onyx); color: rgba(243, 236, 223, 0.78); padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding-block: clamp(48px, 6vw, 80px) 2.4rem; border-bottom: 1px solid var(--line-on); color: var(--ivory); }
.foot-promise { font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--display); }
.foot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.6rem; padding-block: 2.6rem; }
.fh { font: 600 0.7rem/1.3 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 0.9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot a { text-decoration: none; font-size: 0.9rem; overflow-wrap: anywhere; }
.foot a:hover { color: #fff; }
.plate { margin-top: 1.6rem; padding: clamp(14px, 2vw, 26px) 0; border-top: 1px solid var(--line-on); border-bottom: 1px solid var(--line-on); }
.engrave { display: block; width: 100%; height: auto; overflow: visible; }
.engrave text { font-family: var(--display); font-size: 150px; }
@keyframes sheen { to { background-position: -200% 0; } }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; border-top: 1px solid var(--line-on); padding-top: 1.2rem; margin-top: 1.4rem; font-size: 0.82rem; }

/* phone dock */
.dock { display: none; }

/* motion helpers */
[data-ink] .w { display: inline-block; }
[data-rv] { will-change: transform, opacity; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ix-in { grid-template-columns: minmax(0, 1fr); }
  .ix-pv { display: none; }
}
@media (max-width: 900px) {
  .mast { grid-template-columns: auto 1fr auto; }
  .mast .brand { justify-self: center; }
  .ml { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .vit { position: relative; height: 64svh; min-height: 380px; }
  .leaf { padding: clamp(36px, 7vw, 56px) var(--pad) 64px calc(var(--pad) + 14px); }
  .thread { left: calc(var(--pad) - 4px); top: 36px; }
  .mf-cols, .sec-head, .arch-in, .areas-in, .letter, .whys-in, .faq-in, .ask-in { grid-template-columns: minmax(0, 1fr); }
  .mcards { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .vault-ui { flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .vault-cap { width: auto; border-left: 0; border-top: 1px solid var(--line-on); padding: 1rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; align-items: center; }
  .vc-line { display: none; }
  .vc-no { grid-column: 1 / -1; }
  .vc-name { font-size: 1.35rem; margin-top: 0.4rem; }
  .vc-nav { margin-top: 0; }
  .vc-nav a { flex: none; padding: 0.7rem 0.2rem; font-size: 0.72rem; }
  .vault::after { background: linear-gradient(0deg, rgba(11, 10, 8, 0.96) 0%, rgba(11, 10, 8, 0.55) 45%, rgba(11, 10, 8, 0) 70%); }
  .ask-obj { width: min(70%, 280px); }
  .dock { position: fixed; z-index: 50; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.4rem;
    border-radius: 999px; background: var(--onyx); color: var(--gold-lt); text-decoration: none; font: 600 0.78rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(240, 216, 150, 0.35); transform: translate(-50%, 160%); transition: transform .5s var(--ease); }
  .dock .dm { color: var(--gold-hi); }
  body.scrolled .dock { transform: translate(-50%, 0); }
  body.ix-open .dock, body.at-foot .dock { transform: translate(-50%, 160%); }
  .foot { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand span { font-size: 0.86rem; letter-spacing: 0.24em; }
  .brand img { width: 28px; }
  .ix-btn > span:last-child { display: none; }
  .hide-s { display: none; }
  .mast .pill { padding: 0.55rem 0.8rem; font-size: 0.72rem; }
  .vault { min-height: 600px; }
  .vault-hint { display: none; }
  .vault-copy .row .pill { flex: 1 1 auto; }
  .t-hero { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .places { columns: 1; }
  .fr, .dlist.two-col, .sibs { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .journal a { grid-template-columns: minmax(0, 1fr) 30px; }
  .journal time, .jt, .jd { grid-column: 1; grid-row: auto; }
  .journal .ar { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .exhibits, .collection #svc { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .ex h3 { font-size: 1.1rem; }
  .ex p { display: none; }
  .ix-g a { font-size: 1.1rem; }
  .letter { outline-offset: -7px; }
}
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition: none !important; }

/* safety: the veil always lifts, even if a script fails */
html.arrive .veil { animation: veilAway 0.6s var(--ease) 2.6s forwards; }
html.leaving .veil { animation: none; }
@keyframes veilAway { to { transform: translateY(-101%); } }

/* round 3 */
main:has(> .ask:last-child) + .foot > .meander { display: none; }      /* one meander band, not two in a row */
.mc-elite .card-face img, .mc-gold .card-face img { filter: brightness(0.3) sepia(0.4); opacity: 0.85; }
.ex-frame { background: #0c0a08; }

.ask .t-xl { font-size: clamp(2rem, 3.6vw, 3.4rem); }

/* the 3D canvas fades in once it has been built */
#carousel, canvas.stage { opacity: 0; transition: opacity .9s var(--ease); }
#carousel.lit, canvas.stage.lit { opacity: 1; }
html.calm #carousel, html.calm canvas.stage { opacity: 1; }
