/* ==========================================================================
   SPHRAGILLUM · The Imperial Modern
   Imperial Ink, Basalt, Aged Bronze, Ivory Stone, Verdigris, Imperial Oxblood.
   Cormorant Garamond for display, Manrope for reading and interface.
   ========================================================================== */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-300-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-ext-500-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* The houses' own faces, used only where a house speaks for itself */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/assets/fonts/fraunces-latin-opsz-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/cinzel-latin-wght-normal.woff2) format("woff2-variations"); }

/* ---------- tokens ---------- */
:root {
  --ink: #171A20;
  --ink-deep: #111318;
  --ink-2: #1C2027;
  --ink-3: #242830;
  --basalt: #343943;
  --bronze: #A38C70;
  --bronze-hi: #C9B391;
  --bronze-deep: #6F5A40;
  --ivory: #E7E3D9;
  --ivory-hi: #EFECE5;
  --paper: #DEDACF;
  --verdigris: #718078;
  --oxblood: #8C3F43;

  --fg: var(--ivory);
  --fg-soft: #CFCAC0;
  --fg-muted: #A7A39A;
  --line: rgba(163, 140, 112, .26);
  --line-soft: rgba(231, 227, 217, .10);

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(1rem, 4.2vw, 3.5rem);
  --max: 84rem;
  --section: clamp(5.5rem, 13vw, 11.5rem);
  --mast-u: 34px;
  --mast-b: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font: 400 1.0625rem/1.72 var(--f-ui); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
abbr { text-decoration: none; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .88em; padding: .05em .35em; border-radius: 3px; background: rgba(23, 26, 32, .07); }
::selection { background: rgba(163, 140, 112, .42); color: var(--ivory-hi); }
:focus-visible { outline: 2px solid var(--bronze-hi); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .7rem 1.1rem; background: var(--ivory); color: var(--ink); font-weight: 600; font-size: .85rem; text-decoration: none; border-radius: 2px; transition: top .2s; }
.skip:focus { top: 1rem; }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type ---------- */
.eyebrow { font: 600 .7rem/1.4 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); margin: 0 0 1.4rem; }
.h1 { font: 400 clamp(2.7rem, 6.4vw, 6.2rem)/1.02 var(--f-display); letter-spacing: -.012em; text-wrap: balance; }
.h2 { font: 400 clamp(2.15rem, 4.6vw, 4.3rem)/1.06 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }
.h3 { font: 500 clamp(1.55rem, 2.4vw, 2.15rem)/1.15 var(--f-display); }
.h4 { font: 600 .74rem/1.4 var(--f-ui); letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem; }
.lead { font: 400 clamp(1.18rem, 1.75vw, 1.5rem)/1.55 var(--f-display); color: var(--fg-soft); max-width: 38em; }
.muted { color: var(--fg-muted); }
.small { font-size: .88rem; }
.prose { max-width: 40rem; }
.prose p { color: var(--fg-soft); }
.prose--lg p { font: 400 clamp(1.15rem, 1.6vw, 1.38rem)/1.6 var(--f-display); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .4em 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--mid { max-width: calc(66rem + var(--gutter) * 2); }
.wrap--narrow { max-width: calc(46rem + var(--gutter) * 2); }
.section { position: relative; padding-block: var(--section); }
.section--ink { background: var(--ink); }
.section--deep { background: var(--ink-deep); }
.section--basalt { background: var(--basalt); }
.section--ivory, .section--paper, .page-hero--light {
  --fg: var(--ink); --fg-soft: #2C3038; --fg-muted: #4E525A; --line: rgba(23, 26, 32, .14); --line-soft: rgba(23, 26, 32, .08);
  background: var(--ivory); color: var(--fg); color-scheme: light;
}
.section--paper { background: var(--paper); }
.section--ivory .eyebrow, .section--paper .eyebrow, .page-hero--light .eyebrow { color: var(--bronze-deep); }
.section--ivory .h4, .section--paper .h4, .page-hero--light .h4 { color: var(--bronze-deep); }
.section--ivory ::selection, .section--paper ::selection { color: var(--ink); }
.section--ivory :focus-visible, .section--paper :focus-visible, .page-hero--light :focus-visible { outline-color: var(--bronze-deep); }
.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .lead { margin-top: 1.4rem; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: end; }
.section-head--split .lead { margin: 0; }
.section-head--tight { margin: clamp(4rem, 8vw, 6rem) 0 2.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; margin-top: 2.2rem; }
.actions--center { justify-content: center; }

/* ---------- rule with a struck diamond, as cut under the name in the hall ---------- */
.rule { position: relative; display: block; width: min(30rem, 70%); height: 9px; margin: 1.3rem auto; }
.rule::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze) 18%, var(--bronze) 82%, transparent); transform-origin: center; }
.rule i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--bronze-hi); transform: translate(-50%, -50%) rotate(45deg); }
.rule--left { margin-left: 0; width: 9rem; }
.rule--left::before { background: linear-gradient(90deg, var(--bronze), transparent); }
.rule--left i { left: 0; transform: translate(0, -50%) rotate(45deg); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .75rem; min-height: 3.15rem; padding: .85rem 1.55rem; font: 600 .74rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border-radius: 1px; isolation: isolate; overflow: hidden; transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease); }
.btn .i { transition: transform .45s var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn[target] .i { transform: none; }
.btn[target]:hover .i { transform: translate(2px, -2px); }
.btn--solid { background: var(--bronze); color: var(--ink); }
.btn--solid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bronze-hi); transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn--solid:hover::after { transform: none; }
.btn--line { border: 1px solid var(--line); color: var(--fg); background: transparent; }
.btn--line:hover { border-color: var(--bronze); }
.btn--ghost { min-height: auto; padding: .4rem 0; color: var(--bronze); gap: .6rem; }
.btn--ghost .btn__label { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); padding-bottom: .3rem; }
.btn--ghost:hover .btn__label { background-size: 100% 1px; }
.section--ivory .btn--ghost, .section--paper .btn--ghost, .page-hero--light .btn--ghost { color: var(--bronze-deep); }
.section--ivory .btn--solid, .section--paper .btn--solid, .page-hero--light .btn--solid { background: var(--ink); color: var(--ivory); }
.section--ivory .btn--solid::after, .section--paper .btn--solid::after, .page-hero--light .btn--solid::after { background: var(--basalt); }

/* ---------- status tags ---------- */
.tag { display: inline-flex; align-items: center; gap: .55rem; font: 600 .66rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--fg-soft); padding: .55rem .8rem .55rem .7rem; border: 1px solid var(--line); border-radius: 100px; white-space: nowrap; }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.tag--available i { background: #A9BFA9; box-shadow: 0 0 0 3px rgba(169, 191, 169, .16); }
.tag--development i { background: var(--verdigris); box-shadow: 0 0 0 3px rgba(113, 128, 120, .2); }
.tag--preparation i { background: var(--bronze); box-shadow: 0 0 0 3px rgba(163, 140, 112, .2); }
.tag--record i { background: var(--oxblood); box-shadow: 0 0 0 3px rgba(140, 63, 67, .18); }

/* ==========================================================================
   MASTHEAD
   ========================================================================== */
.masthead { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--ivory); transition: transform .6s var(--ease-out), color .4s var(--ease); }
.masthead::before { content: ""; position: absolute; inset: 0; background: rgba(17, 19, 24, .78); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); opacity: 0; transition: opacity .5s var(--ease), background-color .4s var(--ease); border-bottom: 1px solid var(--line-soft); }
.masthead.is-scrolled { transform: translateY(calc(var(--mast-u) * -1)); }
.masthead.is-scrolled::before { opacity: 1; }
.masthead.is-hidden { transform: translateY(-101%); }
.masthead[data-tone="light"] { color: var(--ink); }
.masthead[data-tone="light"]::before { background: rgba(231, 227, 217, .86); border-bottom-color: rgba(23, 26, 32, .08); }
.masthead__utility { position: relative; height: var(--mast-u); border-bottom: 1px solid rgba(231, 227, 217, .08); font: 500 .66rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; }
.masthead[data-tone="light"] .masthead__utility { border-bottom-color: rgba(23, 26, 32, .08); }
.masthead__utility-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.masthead__descriptor { margin: 0; opacity: .7; }
.utility ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.utility a, .utility__search, .utility__lang { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; opacity: .78; transition: opacity .3s; letter-spacing: inherit; text-transform: inherit; font: inherit; }
.utility a:hover, .utility__search:hover { opacity: 1; }
.utility__search kbd { font: 600 .62rem/1 var(--f-ui); padding: .2rem .38rem; border: 1px solid currentColor; border-radius: 3px; opacity: .6; }
.utility__lang { opacity: .78; cursor: default; }
.masthead__bar { position: relative; height: var(--mast-b); }
.masthead__bar-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: inherit; }
.brand__mark { width: 34px; height: 34px; color: var(--bronze-hi); transition: transform .8s var(--ease-out); }
.masthead[data-tone="light"] .brand__mark { color: var(--bronze-deep); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__word { font: 600 1.06rem/1 var(--f-display); letter-spacing: .34em; margin-right: -.34em; }
.nav ul { display: flex; gap: clamp(1.1rem, 1.9vw, 2.2rem); list-style: none; }
.nav a { position: relative; display: block; padding: .55rem 0; font: 600 .7rem/1 var(--f-ui); letter-spacing: .19em; text-transform: uppercase; text-decoration: none; opacity: .86; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze-hi); transform: scaleX(0); transform-origin: center; transition: transform .5s var(--ease-out); }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }
.masthead[data-tone="light"] .nav a::after { background: var(--bronze-deep); }
.masthead__actions { display: none; align-items: center; gap: .4rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .3s; }
.icon-btn:hover { background: rgba(163, 140, 112, .14); }
.icon-btn .i { width: 21px; height: 21px; }
.menu-btn { display: inline-flex; align-items: center; gap: .7rem; height: 44px; padding: 0 .4rem 0 .6rem; font: 600 .7rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; }
.menu-btn__bars { display: grid; gap: 6px; width: 22px; }
.menu-btn__bars i { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.menu-btn:hover .menu-btn__bars i:last-child { transform: scaleX(.6); transform-origin: right; }

@media (max-width: 1180px) {
  :root { --mast-u: 0px; --mast-b: 68px; }
  .masthead__utility, .nav { display: none; }
  .masthead__actions { display: flex; }
}
@media (max-width: 420px) { .brand__word { font-size: .94rem; letter-spacing: .26em; margin-right: -.26em; } .menu-btn__label { display: none; } }

/* ---------- menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--ink-deep); color: var(--ivory); overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__in { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) 2rem; isolation: isolate; }
.menu__top { height: var(--mast-b); display: flex; align-items: center; justify-content: space-between; }
.menu__list { list-style: none; margin: clamp(1.5rem, 6vh, 4rem) 0 auto; }
.menu__list a { display: flex; align-items: baseline; gap: 1.1rem; padding: .5rem 0; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.menu__n { font: 600 .66rem/1 var(--f-ui); letter-spacing: .2em; color: var(--bronze); width: 1.8rem; }
.menu__t { font: 400 clamp(2rem, 8.5vw, 3.4rem)/1.12 var(--f-display); }
.menu__list a[aria-current="page"] .menu__t { color: var(--bronze-hi); font-style: italic; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 2.5rem; font: 500 .7rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; }
.menu__foot a { text-decoration: none; opacity: .8; }
.menu__seal { position: absolute; right: -18vw; bottom: -14vw; width: 64vw; max-width: 560px; color: var(--ivory); opacity: .045; z-index: -1; pointer-events: none; }
.js.motion-ok .menu.is-open .menu__list li { animation: menu-in .8s var(--ease-out) both; }
.js.motion-ok .menu.is-open .menu__list li:nth-child(2) { animation-delay: .05s; }
.js.motion-ok .menu.is-open .menu__list li:nth-child(3) { animation-delay: .1s; }
.js.motion-ok .menu.is-open .menu__list li:nth-child(4) { animation-delay: .15s; }
.js.motion-ok .menu.is-open .menu__list li:nth-child(5) { animation-delay: .2s; }
.js.motion-ok .menu.is-open .menu__list li:nth-child(6) { animation-delay: .25s; }
.js.motion-ok .menu.is-open .menu__list li:nth-child(7) { animation-delay: .3s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- search ---------- */
.search { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-columns: minmax(0, 46rem); justify-content: center; align-content: start; padding: clamp(4rem, 14vh, 9rem) var(--gutter) 2rem; }
.search[hidden] { display: none; }
.search__scrim { position: absolute; inset: 0; background: rgba(11, 12, 15, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.search__panel { position: relative; width: 100%; min-width: 0; background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, .55); }
.search__field { display: flex; align-items: center; gap: .9rem; padding: 0 1.1rem 0 1.3rem; border-bottom: 1px solid var(--line-soft); }
.search__field > .i { color: var(--bronze); width: 22px; height: 22px; }
.search__field input { flex: 1; min-width: 0; height: 4.2rem; background: none; border: 0; color: var(--ivory); font: 400 1.7rem/1 var(--f-display); outline: none; }
.search__field input::placeholder { color: rgba(231, 227, 217, .38); }
.search__field input::-webkit-search-cancel-button { display: none; }
.search__esc { font: 600 .62rem/1 var(--f-ui); letter-spacing: .14em; padding: .4rem .55rem; border: 1px solid var(--line); border-radius: 3px; color: var(--fg-muted); text-transform: uppercase; }
@media (pointer: coarse) { .search__hint { display: none; } }
.search__hint { margin: 0; padding: .8rem 1.3rem; font-size: .78rem; color: var(--fg-muted); border-bottom: 1px solid var(--line-soft); }
.search__results { list-style: none; max-height: min(58vh, 32rem); overflow-y: auto; }
.search__results li a { display: block; padding: 1rem 1.3rem; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.search__results li a[aria-selected="true"], .search__results li a:hover { background: rgba(163, 140, 112, .1); }
.search__results .r-t { display: block; font: 500 1.35rem/1.2 var(--f-display); color: var(--ivory); }
.search__results .r-u { display: block; font: 600 .62rem/1.4 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin: .25rem 0 .35rem; }
.search__results .r-d { display: block; font-size: .86rem; color: var(--fg-muted); line-height: 1.5; }
.search__results mark { background: none; color: var(--bronze-hi); }
.search__empty { padding: 1.4rem 1.3rem; color: var(--fg-muted); font-size: .92rem; }

/* ==========================================================================
   HOME · THE HALL
   ========================================================================== */
.hero { position: relative; background: var(--ink); }
.hero__stage { position: relative; }
.hero__media { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; transform-origin: 50% 28%; }
.hero__gl, .hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__gl { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__gl.is-live { opacity: 1; }
.hero__dust { mix-blend-mode: screen; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(17, 19, 24, .55) 0%, rgba(17, 19, 24, 0) 16%, rgba(17, 19, 24, 0) 46%, rgba(17, 19, 24, .35) 72%, rgba(17, 19, 24, .92) 100%),
  radial-gradient(60% 34% at 50% 66%, rgba(17, 19, 24, .45), transparent 70%); }
.hero__lockup { position: absolute; left: 50%; top: var(--lockup-top, 53svh); transform: translateX(-50%); width: min(94vw, 64rem); text-align: center; z-index: 2; pointer-events: none; }
.lockup__name { margin: 0; font: 500 var(--fit, clamp(2.5rem, 7.2vw, 6.3rem))/1 var(--f-display); letter-spacing: .15em; margin-right: -.15em; color: #E3D3B6; white-space: nowrap; text-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 2px 18px rgba(10, 9, 8, .45); }
.lockup__name .ch { display: inline-block; }
.lockup__desc { margin: .9em 0 0; font: 500 clamp(.7rem, 1.18vw, 1.08rem)/1.3 var(--f-display); letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; color: #D6C4A4; text-shadow: 0 1px 10px rgba(10, 9, 8, .6); }
.lockup__rule { width: min(34rem, 66%); margin: 1.1rem auto 1.15rem; }
.lockup__tag { margin: 0; font: italic 500 clamp(.92rem, 1.55vw, 1.42rem)/1.2 var(--f-display); letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: #E0CFAF; text-shadow: 0 1px 10px rgba(10, 9, 8, .6); }
.hero__intro { position: relative; z-index: 3; padding: clamp(5rem, 14vh, 9rem) var(--gutter) clamp(6rem, 14vh, 10rem); text-align: center; background: var(--ink); }
.hero__intro .eyebrow { margin-bottom: 1.2rem; }
.hero__h1 { margin: 0 auto; max-width: 14ch; }
.hero__lead { margin: 1.8rem auto 0; max-width: 36rem; }
.hero__intro .actions { justify-content: center; }
.hero__cue { position: absolute; left: 50%; bottom: clamp(1.2rem, 4vh, 2.4rem); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .55rem; transform: translateX(-50%); font: 600 .62rem/1 var(--f-ui); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; color: var(--ivory); opacity: .78; }
.hero__cue .i { width: 18px; height: 18px; animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(6px); opacity: .45; } }

/* motion version: a long sticky stage, the camera moves as you scroll */
.js.motion-ok .hero { height: 240svh; }
.js.motion-ok .hero__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.js.motion-ok .hero__media { position: absolute; inset: 0; height: auto; min-height: 0; }
.js.motion-ok .hero__intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: none; opacity: 0; padding-top: calc(var(--mast-b) + 2rem); }
.js.motion-ok .hero__intro .lead { color: #D9D4CA; }

/* ---------- overture ---------- */
.overture { position: fixed; inset: 0; z-index: 90; background: var(--ink-deep); display: none; pointer-events: none; }
.overture-pending .overture { display: block; }
.overture__glow { position: absolute; left: 50%; top: 50%; width: 120vmin; height: 120vmin; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(201, 179, 145, .16), rgba(201, 179, 145, .05) 45%, transparent 70%); opacity: 0; }
.overture__seal { position: absolute; left: 50%; top: 50%; width: min(58vmin, 470px); height: auto; color: var(--bronze-hi); transform: translate(-50%, -50%); transform-origin: 50% 50%; overflow: visible; }
.overture__skip { position: fixed; right: var(--gutter); bottom: clamp(1rem, 3vh, 2rem); z-index: 95; display: none; padding: .7rem 1rem; font: 600 .64rem/1 var(--f-ui); letter-spacing: .26em; text-transform: uppercase; color: var(--fg-muted); border: 1px solid var(--line); border-radius: 100px; background: rgba(17, 19, 24, .4); }
.overture-pending .overture__skip { display: block; }
.overture__skip:hover, .overture__skip:focus-visible { color: var(--ivory); border-color: var(--bronze); }
.overture-pending .masthead, .overture-pending .hero__lockup, .overture-pending .hero__cue { opacity: 0; }
/* failsafe: if scripts never run, nothing stays hidden */
.overture-pending:not(.overture-running) .overture { animation: ov-out .8s 3.5s forwards; }
.overture-pending:not(.overture-running) .overture__skip { animation: ov-out .3s 3.5s forwards; }
.overture-pending:not(.overture-running) .masthead,
.overture-pending:not(.overture-running) .hero__lockup,
.overture-pending:not(.overture-running) .hero__cue { animation: ov-in .8s 3.6s forwards; }
@keyframes ov-out { to { opacity: 0; visibility: hidden; } }
@keyframes ov-in { to { opacity: 1; } }

/* ---------- statement ---------- */
.statement__in { max-width: calc(70rem + var(--gutter) * 2); }
.statement__text { font: 400 clamp(1.95rem, 4.3vw, 4.15rem)/1.13 var(--f-display); letter-spacing: -.01em; color: var(--ink); margin: 0; text-wrap: pretty; }
.statement__text .w { transition: opacity .25s linear; }
.js.motion-ok .statement__text .w { opacity: .5; }
.statement__foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.statement__mark { width: 46px; height: 46px; color: var(--bronze-deep); }
.statement__belief { margin: 0; font: italic 400 clamp(1.3rem, 2vw, 1.8rem)/1.3 var(--f-display); color: var(--ink); }

/* ---------- principles ---------- */
.principles { overflow: hidden; }
.principles__track { display: grid; gap: 0; }
.principles__intro { padding: 0 var(--gutter) 3rem; max-width: 40rem; }
.principles__intro .lead { margin-top: 1.4rem; font-style: italic; }
.principle { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .5rem 2rem; align-items: start; padding: 2.6rem var(--gutter); border-top: 1px solid var(--line); }
.principle__num { grid-row: span 2; font: 300 clamp(4.6rem, 9vw, 9.5rem)/.85 var(--f-display); color: rgba(163, 140, 112, .2); min-width: 1.6em; }
@supports (-webkit-text-stroke: 1px black) {
  .principle__num { color: transparent; -webkit-text-stroke: 1px rgba(201, 179, 145, .55); }
}
.principle__name { font: 400 clamp(2.1rem, 3.6vw, 3.4rem)/1.05 var(--f-display); margin-bottom: 1.1rem; }
.principle__text { font: 400 clamp(1.15rem, 1.5vw, 1.4rem)/1.5 var(--f-display); color: var(--fg-soft); max-width: 26rem; }
.principle .figure { grid-column: 2; width: 92px; height: auto; color: var(--bronze); margin-top: 1.4rem; opacity: .9; }
.principles__progress { display: none; }
@media (min-width: 960px) {
  .js.motion-ok .principles { padding-block: 0; }
  .js.motion-ok .principles__pin { height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; }
  .js.motion-ok .principles__track { display: flex; align-items: stretch; width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); will-change: transform; }
  .js.motion-ok .principles__intro { width: min(34rem, 38vw); flex: none; padding: 2rem 6vw 2rem 0; display: flex; flex-direction: column; justify-content: center; }
  .js.motion-ok .principle { width: min(31rem, 34vw); flex: none; grid-template-columns: 1fr; align-content: space-between; min-height: min(62svh, 34rem); padding: 2.6rem 3rem 2.6rem 2.6rem; border-top: 0; border-left: 1px solid var(--line); }
  .js.motion-ok .principle__num { grid-row: auto; margin-bottom: 2rem; }
  .js.motion-ok .principle .figure { grid-column: auto; margin-top: 2.2rem; }
  .js.motion-ok .principle:last-child { margin-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); border-right: 1px solid var(--line); }
  .js.motion-ok .principles__progress { display: block; position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2)); right: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: clamp(2rem, 6vh, 3.5rem); height: 1px; background: var(--line-soft); }
  .principles__progress i { display: block; height: 100%; background: var(--bronze); transform: scaleX(0); transform-origin: left; }
}

/* ---------- houses (portals) ---------- */
.houses { overflow: hidden; }
.houses::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 0%, rgba(163, 140, 112, .08), transparent 70%); pointer-events: none; }
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); }
.portal { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 44rem; padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3.5vw, 3.2rem) clamp(2.2rem, 4vw, 3rem); text-decoration: none; color: var(--h-fg); background: var(--h-bg); border-radius: 50% 50% 3px 3px / 23% 23% 3px 3px; isolation: isolate; overflow: hidden; outline-offset: 6px; }
.portal__arch { position: absolute; inset: 10px; border: 1px solid var(--h-line); border-radius: inherit; z-index: -1; transition: border-color .6s var(--ease), inset .8s var(--ease-out); }
.portal::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--h-glow); opacity: .75; transition: opacity .8s var(--ease); }
.portal:hover::before, .portal:focus-visible::before { opacity: 1; }
.portal:hover .portal__arch, .portal:focus-visible .portal__arch { border-color: var(--h-gold); inset: 16px; }
.portal__emblem { display: block; width: min(72%, 18rem); margin: 0 auto clamp(2rem, 4vw, 3rem); filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .55)); transition: transform 1s var(--ease-out); }
.portal:hover .portal__emblem { transform: translateY(-8px) scale(1.02); }
.portal__img { width: 100%; height: auto; }
.portal__text { display: flex; flex-direction: column; align-items: center; margin-top: auto; }
.portal__name { font: var(--h-name-font); letter-spacing: var(--h-name-track); color: var(--h-gold); margin-bottom: .8rem; }
.portal__tagline { font: italic 400 1.35rem/1.3 var(--f-display); color: var(--h-fg); margin-bottom: 1rem; }
.portal__desc { max-width: 25rem; font-size: .95rem; line-height: 1.65; color: var(--h-muted); }
.portal__go { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.8rem; font: 600 .68rem/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--h-gold); }
.portal__go .i { transition: transform .45s var(--ease-out); }
.portal:hover .portal__go .i { transform: translateX(5px); }
.portal--keeper { --h-bg: #0A0806; --h-fg: #F0E9DA; --h-muted: #B5AB97; --h-gold: #C8A25C; --h-line: rgba(200, 162, 92, .26); --h-glow: radial-gradient(70% 50% at 50% 30%, rgba(200, 162, 92, .16), transparent 70%), linear-gradient(180deg, #14100A, #0A0806 70%); --h-name-font: 400 clamp(1.9rem, 2.8vw, 2.6rem)/1.05 "Fraunces", Georgia, serif; --h-name-track: .01em; font-variation-settings: "opsz" 60; }
.portal--phoenix { --h-bg: #07060a; --h-fg: #f6f1e8; --h-muted: #b9ab99; --h-gold: #d4b16a; --h-line: rgba(212, 177, 106, .26); --h-glow: radial-gradient(60% 40% at 18% 96%, rgba(196, 92, 40, .32), transparent 70%), radial-gradient(56% 40% at 86% 10%, rgba(126, 200, 196, .12), transparent 70%), linear-gradient(176deg, #0a070c, #130d11 50%, #07060a); --h-name-font: 500 clamp(1.9rem, 2.8vw, 2.6rem)/1.05 "Cinzel", Georgia, serif; --h-name-track: .14em; }

/* ---------- divisions (bays of a colonnade) ---------- */
.bays { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bay { position: relative; display: flex; flex-direction: column; min-height: 26rem; padding: 2.4rem 1.8rem 1.8rem; text-decoration: none; color: var(--ink); border-left: 1px solid var(--line); transition: background-color .6s var(--ease); }
.bay:last-child { border-right: 1px solid var(--line); }
.bay::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--bronze-deep); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.bay:hover { background: var(--ivory-hi); }
.bay:hover::before, .bay:focus-visible::before { transform: scaleX(1); }
.bay__num { font: 500 .78rem/1 var(--f-display); letter-spacing: .2em; color: var(--bronze-deep); margin-bottom: 3.2rem; }
.bay__name { font: 400 clamp(1.8rem, 2.4vw, 2.3rem)/1.08 var(--f-display); margin-bottom: .6rem; }
.bay__tag { font: italic 400 1.15rem/1.35 var(--f-display); color: var(--bronze-deep); margin-bottom: 1.2rem; }
.bay__text { font-size: .94rem; line-height: 1.65; color: var(--fg-muted); }
.bay__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.6rem; }
.bay__go { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .4s, color .4s, border-color .4s; }
.bay:hover .bay__go { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.section--ivory .tag, .section--paper .tag { color: var(--fg-soft); }

/* ---------- teaser · the instrument ---------- */
.teaser { min-height: 82svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.instrument { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.instrument__lines { fill: none; stroke: rgba(231, 227, 217, .24); stroke-width: 1; vector-effect: non-scaling-stroke; }
.instrument__ticks { fill: none; stroke: rgba(231, 227, 217, .17); stroke-width: 1; vector-effect: non-scaling-stroke; }
.instrument__fresh { fill: none; stroke: var(--bronze-hi); stroke-width: 1.3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(201, 179, 145, .7)); }
.teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 20% 50%, rgba(23, 26, 32, .92), rgba(23, 26, 32, .55) 60%, rgba(23, 26, 32, .2)); }
.teaser__in { position: relative; }
.teaser__title { max-width: 12ch; }
.teaser__hook { margin: 1.6rem 0 0; font: italic 400 clamp(1.35rem, 2.2vw, 2rem)/1.35 var(--f-display); color: var(--fg-soft); max-width: 30rem; }
.teaser__hook--lg { font-size: clamp(1.6rem, 2.8vw, 2.5rem); max-width: 34rem; }
.teaser__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2.4rem; }

/* ---------- threshold ---------- */
.threshold { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; text-align: center; background: var(--ink); }
.threshold__media { position: absolute; inset: 0; z-index: -1; }
.threshold__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 55%; }
.threshold__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(23, 26, 32, .62) 30%, rgba(23, 26, 32, .58) 64%, var(--ink-deep) 100%), radial-gradient(60% 46% at 50% 52%, rgba(17, 19, 24, .55), transparent 75%); }
.threshold__in .lead, .threshold__in .h2 { text-shadow: 0 2px 22px rgba(10, 11, 14, .85); }
.threshold__in .h2 { max-width: 16ch; margin-inline: auto; }
.threshold__in .lead { margin: 1.6rem auto 0; max-width: 34rem; }
.threshold__in .actions { justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; background: var(--ink-deep); padding: clamp(5rem, 10vw, 8rem) 0 2rem; border-top: 1px solid var(--line-soft); }
.footer__seal { position: absolute; right: -9vw; top: -6vw; width: min(58vw, 760px); color: var(--ivory); opacity: .05; pointer-events: none; }
.footer__in { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
.footer__word { display: inline-block; font: 600 clamp(1.5rem, 2.4vw, 2.2rem)/1 var(--f-display); letter-spacing: .3em; text-decoration: none; }
.footer__desc { margin: 1rem 0 0; font: 500 .7rem/1.4 var(--f-ui); letter-spacing: .26em; text-transform: uppercase; color: var(--fg-muted); }
.footer__tag { margin: 0; font: italic 400 1.25rem/1.3 var(--f-display); color: var(--bronze-hi); }
.footer__h { font: 600 .66rem/1 var(--f-ui); letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1.3rem; }
.footer__col ul { list-style: none; display: grid; gap: .55rem; }
.footer__col a { text-decoration: none; color: var(--fg-soft); font-size: .92rem; transition: color .3s; }
.footer__col a:hover { color: var(--ivory); }
.footer__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 1.6rem; border-top: 1px solid var(--line-soft); font-size: .76rem; color: var(--fg-muted); }
.footer__base p { margin: 0; }
.footer__mail { text-decoration: none; font-size: .74rem; letter-spacing: .04em; color: var(--fg-muted); }
.footer__mail:hover { color: var(--ivory); }

/* ==========================================================================
   INTERIOR PAGES
   ========================================================================== */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 82svh; padding: calc(var(--mast-u) + var(--mast-b) + clamp(3rem, 10vh, 7rem)) 0 clamp(4rem, 9vh, 7rem); overflow: hidden; isolation: isolate; background: var(--ink); }
.page-hero--light { min-height: 74svh; background: var(--ivory); }
.page-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.page-hero__text { grid-column: 1; }
.page-hero__text .lead { margin-top: 1.8rem; }
.page-hero__text .h1 { max-width: 15ch; }
.page-hero__aside { grid-column: 2; justify-self: end; width: min(100%, 26rem); }
.page-hero__media { position: absolute; inset: 0 0 0 auto; width: 56%; z-index: -1; }
.page-hero__img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 30%; }
.page-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(23, 26, 32, .72) 30%, rgba(23, 26, 32, .18) 70%, rgba(23, 26, 32, .35) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
.page-hero--contact .page-hero__media { width: 100%; }
.page-hero--contact .page-hero__img { object-position: 50% 60%; }
.page-hero--contact .page-hero__veil { background: linear-gradient(0deg, var(--ink) 4%, rgba(23, 26, 32, .66) 46%, rgba(23, 26, 32, .82) 100%); }
.page-hero--archive .page-hero__media { width: 34%; right: 6%; }
.page-hero--archive .page-hero__img { object-position: 50% 20%; }
.page-hero--archive .page-hero__veil { background: linear-gradient(90deg, var(--ink) 0%, rgba(23, 26, 32, .2) 40%, rgba(23, 26, 32, .2) 70%, var(--ink) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 40%); }
.page-hero--houses { min-height: 64svh; }
.page-hero--houses::before, .page-hero--works::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 80% 30%, rgba(163, 140, 112, .10), transparent 70%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem .8rem; list-style: none; margin-bottom: 2.4rem; font: 500 .66rem/1.4 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-muted); }
.crumbs li + li::before { content: "/"; margin-right: .8rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.seal-plate { width: 100%; aspect-ratio: 1; color: var(--bronze-deep); opacity: .85; }
.seal-plate--dark { color: var(--bronze); opacity: .6; }
.seal-plate svg { width: 100%; height: 100%; }

/* chapters */
.chapters { display: grid; gap: 0; }
.chapter { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter__n { margin: 0; font: 300 clamp(3rem, 6vw, 5.5rem)/.9 var(--f-display); color: var(--bronze-deep); }
.chapter__body { max-width: 44rem; }
.chapter__body .h3 { margin-bottom: 1.2rem; }
.chapter__body p { font: 400 clamp(1.15rem, 1.6vw, 1.38rem)/1.6 var(--f-display); color: var(--fg-soft); }
.chapter__body em { color: var(--ink); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.split .prose { margin-top: 1.8rem; }

/* constellation: one house, two houses, four divisions */
.constellation { position: relative; margin: 0; aspect-ratio: 1; width: min(100%, 36rem); justify-self: center; }
.constellation__core { position: absolute; left: 50%; top: 50%; width: 34%; transform: translate(-50%, -50%); color: var(--bronze-hi); }
.constellation__core svg { width: 100%; height: auto; }
.constellation::before, .constellation::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--line); inset: 13%; }
.constellation::after { inset: 0; border-style: dashed; border-color: rgba(163, 140, 112, .16); }
.constellation__ring { list-style: none; position: absolute; inset: 0; }
.constellation__node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: .55rem; transform: translate(-50%, -50%); font: 600 .62rem/1.3 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-soft); text-align: center; width: 9rem; }
.constellation__node--keeper { left: 13%; top: 50%; }
.constellation__node--phoenix { left: 87%; top: 50%; }
.constellation__emblem { width: 5.6rem; height: auto; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .5)); }
.constellation__node--div::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--bronze); transform: rotate(45deg); background: var(--ink); }
.constellation__node--div { --r: 50%; }
.constellation__node--div[style*="--a:0"] { left: 31%; top: 9%; }
.constellation__node--div[style*="--a:1"] { left: 69%; top: 9%; }
.constellation__node--div[style*="--a:2"] { left: 31%; top: 91%; }
.constellation__node--div[style*="--a:3"] { left: 69%; top: 91%; }
.constellation__cap { position: absolute; left: 0; right: 0; bottom: -3.4rem; text-align: center; font-size: .82rem; color: var(--fg-muted); }

/* structure */
.structure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.structure__col { padding-top: 2rem; border-top: 1px solid var(--line); }
.structure__col p { color: var(--fg-soft); }
.plain-list { list-style: none; display: grid; gap: .4rem; margin-top: 1.2rem; }
.plain-list a { font: 500 1.3rem/1.3 var(--f-display); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.plain-list a:hover { background-size: 100% 1px; }

/* philosophy tenets */
.tenet { position: relative; padding-block: clamp(5rem, 12vw, 9rem); background: var(--ink); }
.tenet[data-tone="light"] { --fg: var(--ink); --fg-soft: #2C3038; --fg-muted: #4E525A; --line: rgba(23, 26, 32, .14); background: var(--ivory); color: var(--ink); }
.tenet__in { display: grid; grid-template-columns: minmax(8rem, 16rem) 1fr auto; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tenet__num { margin: 0; font: 300 clamp(6rem, 13vw, 12rem)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(201, 179, 145, .5); }
.tenet[data-tone="light"] .tenet__num { -webkit-text-stroke-color: rgba(111, 90, 64, .55); }
.tenet__text { margin: 1.6rem 0 0; font: 400 clamp(1.35rem, 2.2vw, 2rem)/1.42 var(--f-display); color: var(--fg-soft); max-width: 34rem; }
.tenet__practice { margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); max-width: 30rem; color: var(--fg-muted); font-size: .98rem; }
.tenet__practice span { display: block; font: 600 .64rem/1 var(--f-ui); letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: .7rem; }
.tenet[data-tone="light"] .tenet__practice span { color: var(--bronze-deep); }
.tenet__fig .figure { width: clamp(5rem, 9vw, 7.5rem); color: var(--bronze); }
.tenet[data-tone="light"] .tenet__fig .figure { color: var(--bronze-deep); }
.center__mark { width: 52px; height: 52px; margin: 0 auto 2rem; color: var(--bronze-deep); }

/* house bands on Our Houses */
.house-band { position: relative; padding-block: clamp(5rem, 11vw, 9rem); color: var(--h-fg); background: var(--h-bg); overflow: hidden; isolation: isolate; }
.house-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--h-glow); }
.house-band__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.house-band:nth-of-type(even) .house-band__emblem { order: 2; }
.house-band__emblem { justify-self: center; width: min(100%, 30rem); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.house-band__name { font: var(--h-name-font); font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: var(--h-name-track); color: var(--h-gold); margin-bottom: 1.2rem; }
.house-band__tagline { font: italic 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.3 var(--f-display); margin-bottom: 1.2rem; }
.house-band__desc { max-width: 32rem; color: var(--h-muted); font-size: 1.05rem; }
.house-band .eyebrow { color: var(--h-gold); opacity: .85; }
.house-band .btn--solid { background: var(--h-gold); color: var(--h-bg); }
.house-band .btn--solid::after { background: var(--h-fg); }
.house-band .btn--line { color: var(--h-fg); border-color: var(--h-line); }
.house-band .btn--line:hover { border-color: var(--h-gold); }
.house-band--keeper { --h-bg: #0A0806; --h-fg: #F0E9DA; --h-muted: #B5AB97; --h-gold: #C8A25C; --h-line: rgba(200, 162, 92, .3); --h-glow: radial-gradient(50% 60% at 25% 50%, rgba(200, 162, 92, .12), transparent 70%); --h-name-font: 400 1rem/1.02 "Fraunces", Georgia, serif; --h-name-track: 0; font-variation-settings: "opsz" 72; }
.house-band--phoenix { --h-bg: #07060a; --h-fg: #f6f1e8; --h-muted: #b9ab99; --h-gold: #d4b16a; --h-line: rgba(212, 177, 106, .3); --h-glow: radial-gradient(50% 60% at 78% 70%, rgba(196, 92, 40, .22), transparent 70%), radial-gradient(40% 40% at 70% 20%, rgba(126, 200, 196, .08), transparent 70%); --h-name-font: 500 1rem/1.02 "Cinzel", Georgia, serif; --h-name-track: .12em; }

/* works */
.w-layout { display: grid; grid-template-columns: minmax(16rem, 22rem) 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.w-layout__side { position: sticky; top: calc(var(--mast-b) + 2rem); }
.w-layout__side .h3 { margin-bottom: 1rem; }
.w-index { list-style: none; margin-top: 2rem; border-top: 1px solid var(--line); }
.w-index__row { display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem .6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.w-index__n { font: 600 .66rem/1.8 var(--f-ui); letter-spacing: .16em; color: var(--bronze-deep); }
.w-index__name { font: 500 1.18rem/1.3 var(--f-display); }
.w-index__count { grid-column: 2; font-size: .8rem; color: var(--fg-muted); }
.w-index__row--empty .w-index__name { color: var(--fg-muted); }
.w-cards { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }
.w-card { position: relative; display: grid; grid-template-columns: 15rem 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 2.4rem; padding: 1.4rem; text-decoration: none; color: var(--ink); background: var(--ivory-hi); border: 1px solid var(--line); transition: border-color .5s var(--ease), transform .8s var(--ease-out), box-shadow .8s var(--ease-out); }
.w-card:hover { border-color: rgba(111, 90, 64, .5); transform: translateY(-3px); box-shadow: 0 24px 50px rgba(23, 26, 32, .08); }
.w-card__art { grid-row: 1 / -1; position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 5 / 6; background: var(--ink); overflow: hidden; }
.w-card__art .instrument { position: absolute; }
.w-card__img { width: 72%; height: auto; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .5)); transition: transform 1s var(--ease-out); }
.w-card:hover .w-card__img { transform: scale(1.04); }
.w-card--phoenix .w-card__art { background: radial-gradient(70% 50% at 20% 100%, rgba(196, 92, 40, .35), transparent 70%), #07060a; }
.w-card--seal-of-the-keeper .w-card__art { background: radial-gradient(70% 60% at 50% 40%, rgba(200, 162, 92, .16), transparent 70%), #0A0806; }
.w-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding-top: .8rem; }
.w-card__cat { font: 600 .64rem/1.4 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-deep); }
.w-card__title { display: block; margin-top: 1.2rem; font: 400 clamp(1.7rem, 2.6vw, 2.4rem)/1.08 var(--f-display); }
.w-card__sum { display: block; margin-top: .9rem; color: var(--fg-muted); max-width: 34rem; }
.w-card__go { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; padding-bottom: .4rem; font: 600 .68rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-deep); }

.work-hero { position: relative; min-height: 86svh; display: flex; align-items: flex-end; padding: calc(var(--mast-u) + var(--mast-b) + 6rem) 0 clamp(4rem, 9vh, 7rem); overflow: hidden; isolation: isolate; background: var(--ink); }
.work-hero__in--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }
.work-hero__emblem { justify-self: center; width: min(100%, 26rem); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.work-hero--phoenix { background: radial-gradient(50% 60% at 80% 80%, rgba(196, 92, 40, .18), transparent 70%), #0d0b0e; }
.work-hero .lead { margin-top: 1.6rem; }

/* status, formats, pillars */
.status-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem; padding: 1.6rem 1.8rem; border: 1px solid var(--line); background: var(--ivory-hi); margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.status-panel__text { margin: 0; font: 400 1.25rem/1.4 var(--f-display); }
.formats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.format { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.format__t { font: 500 1.5rem/1.2 var(--f-display); margin-bottom: .7rem; }
.format p { color: var(--fg-muted); margin: 0; max-width: 26rem; }
.sub-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.sub-link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1.5rem 1.6rem; border: 1px solid var(--line); text-decoration: none; transition: border-color .4s, background-color .4s; }
.sub-link:hover { border-color: var(--bronze-deep); background: var(--ivory-hi); }
.sub-link__k { font: 500 1.6rem/1.2 var(--f-display); }
.sub-link__v { grid-column: 1; font-size: .84rem; color: var(--fg-muted); }
.sub-link .i { grid-row: 1 / 3; grid-column: 2; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.pillar { padding: 2.4rem; border: 1px solid var(--line); }
.pillar .h3 { margin-bottom: 1.2rem; }
.pillar p { color: var(--fg-soft); margin: 0; font: 400 1.22rem/1.55 var(--f-display); }
.pillar--care { border-color: rgba(140, 63, 67, .35); background: rgba(140, 63, 67, .045); }

/* archive */
.archive__note { font: italic 400 clamp(1.25rem, 1.9vw, 1.6rem)/1.45 var(--f-display); color: var(--fg-soft); max-width: 40rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.records { list-style: none; border-top: 1px solid var(--line); }
.record { display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.record__date { font: 600 .7rem/1.6 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-deep); }
.record__kind { margin: 0 0 .6rem; font: 600 .62rem/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--fg-muted); }
.record__title { font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--f-display); margin-bottom: 1rem; }
.record p:last-child { color: var(--fg-soft); max-width: 40rem; margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact__side p { color: var(--fg-soft); }
.contact__mail { font: 500 clamp(1.35rem, 2vw, 1.75rem)/1.3 var(--f-display); text-decoration: none; border-bottom: 1px solid var(--bronze-deep); overflow-wrap: anywhere; }
.form { display: grid; gap: 1.5rem; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .5rem; }
.field label { font: 600 .68rem/1.4 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-soft); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: .95rem 1rem; font: 400 1.02rem/1.5 var(--f-ui); color: var(--ink); background: var(--ivory-hi);
  border: 1px solid rgba(23, 26, 32, .22); border-radius: 1px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 10rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 52%, calc(100% - .95rem) 52%; background-size: .36rem .36rem; background-repeat: no-repeat; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(111, 90, 64, .25); }
.field [aria-invalid="true"] { border-color: var(--oxblood); }
.field__error { margin: 0; min-height: 0; font-size: .84rem; color: var(--oxblood); }
.field__error:empty { display: none; }
.field__hint { margin: 0; font-size: .8rem; color: var(--fg-muted); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .3rem .9rem; }
.field--check input { width: 1.25rem; height: 1.25rem; margin: .18rem 0 0; accent-color: var(--ink); }
.field--check label { font: 400 .94rem/1.55 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--fg-soft); }
.field--check .field__error { grid-column: 2; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.form__status { margin: 0; font-size: .95rem; color: var(--fg-soft); }
.form__status.is-ok { color: #2f5a3c; }
.form__status.is-error { color: var(--oxblood); }
.btn--submit[disabled] { opacity: .55; cursor: progress; }

/* legal */
.legal__in { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--mast-b) + 2rem); }
.legal__toc ol { list-style: none; display: grid; gap: .55rem; border-left: 1px solid var(--line); padding-left: 1.1rem; }
.legal__toc a { text-decoration: none; font-size: .9rem; color: var(--fg-muted); }
.legal__toc a:hover { color: var(--ink); }
.legal__body { max-width: 44rem; }
.legal__sec { padding: 2.2rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--mast-b) + 1.5rem); }
.legal__sec:first-child { border-top: 0; padding-top: 0; }
.legal__sec p, .legal__sec li { color: var(--fg-soft); }
.legal__updated { margin-top: 2rem; font-size: .84rem; color: var(--fg-muted); }
.page-hero--legal { min-height: 54svh; }

/* results and 404 */
.page-hero--result { min-height: 88svh; align-items: center; }
.result__mark { width: 64px; height: 64px; color: var(--bronze-deep); margin-bottom: 2rem; }

/* back band on house pages */
.back-band { padding-block: clamp(3.5rem, 7vw, 5rem); background: var(--ink); border-top: 1px solid var(--line-soft); }
.back-band__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.back-band__mark { width: 40px; height: 40px; color: var(--bronze-hi); }
.back-band p { margin: 0; flex: 1; min-width: 14rem; font: italic 400 1.3rem/1.35 var(--f-display); color: var(--fg-soft); }
.back-band .actions { margin: 0; }

/* ==========================================================================
   MOTION STATES (only when scripts run and motion is welcome)
   ========================================================================== */
.js.motion-ok [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 28px, 0); }
.js.motion-ok [data-reveal="fade"]:not(.is-in) { transform: none; }
.js.motion-ok [data-reveal="rise"]:not(.is-in) { transform: translate3d(0, 60px, 0) scale(.97); }
.js.motion-ok [data-reveal] { transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-out); }
.js.motion-ok [data-reveal].is-in { opacity: 1; transform: none; }
.js.motion-ok [data-split]:not(.is-split) { opacity: 0; }
.js.motion-ok:not(.sph-ready) [data-reveal], .js.motion-ok:not(.sph-ready) [data-split] { animation: ov-in .01s 2.6s forwards; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: block; }

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

/* ---------- cross-document view transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .footer__in { grid-template-columns: 1fr 1fr; }
  .bays { grid-template-columns: 1fr 1fr; }
  .bay:nth-child(2) { border-right: 1px solid var(--line); }
  .bay:nth-child(3), .bay:nth-child(4) { border-top: 1px solid var(--line); }
  .w-layout { grid-template-columns: 1fr; }
  .w-layout__side { position: static; }
  .tenet__in { grid-template-columns: auto 1fr; }
  .tenet__fig { display: none; }
}
@media (max-width: 820px) {
  :root { --section: clamp(4.5rem, 16vw, 7rem); }
  .section-head--split, .split, .structure__grid, .pillars, .sub-links, .contact, .legal__in, .page-hero__in, .work-hero__in--split, .house-band__in, .portals { grid-template-columns: 1fr; }
  .portal { min-height: 0; border-radius: 50% 50% 3px 3px / 16% 16% 3px 3px; }
  .page-hero__aside { grid-column: 1; grid-row: 1; justify-self: start; width: 9rem; }
  .page-hero__media { width: 100%; opacity: .55; }
  .page-hero--archive .page-hero__media { width: 60%; right: -10%; }
  .page-hero__veil { background: linear-gradient(0deg, var(--ink) 8%, rgba(23, 26, 32, .5) 60%, rgba(23, 26, 32, .7) 100%); }
  .legal__toc { position: static; }
  .chapter { grid-template-columns: 1fr; gap: .6rem; }
  .record { grid-template-columns: 1fr; gap: .8rem; }
  .w-card { grid-template-columns: 1fr; }
  .w-card__art { grid-row: auto; aspect-ratio: 16 / 9; margin-bottom: .4rem; }
  .w-card__img { width: auto; height: 78%; }
  .statement__foot { grid-template-columns: auto 1fr; }
  .statement__foot .btn { grid-column: 1 / -1; justify-self: start; }
  .status-panel { grid-template-columns: 1fr; justify-items: start; }
  .house-band:nth-of-type(even) .house-band__emblem { order: 0; }
  .house-band__emblem { width: min(78%, 22rem); }
  .work-hero__emblem { width: min(70%, 18rem); justify-self: start; }
  .constellation { width: min(100%, 26rem); margin-bottom: 3rem; }
  .constellation__node { width: 6.5rem; font-size: .54rem; }
  .constellation__emblem { width: 3.6rem; }
  .tenet__in { grid-template-columns: 1fr; gap: 1rem; }
  .tenet__num { font-size: clamp(4.6rem, 22vw, 7rem); }
  .principle { grid-template-columns: 1fr; }
  .principle__num { grid-row: auto; }
  .principle .figure { grid-column: 1; }
  .footer__seal { width: 110vw; right: -40vw; top: -10vw; }
}
@media (max-width: 560px) {
  .bays { grid-template-columns: 1fr; }
  .bay { min-height: 0; border-right: 1px solid var(--line); }
  .bay + .bay { border-top: 1px solid var(--line); }
  .bay__num { margin-bottom: 1.6rem; }
  .footer__in { grid-template-columns: 1fr; gap: 2.4rem; }
  .actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .actions .btn--ghost { flex: 0 1 auto; }
  .lockup__rule { margin: .8rem auto .9rem; }
}

@media print {
  .masthead, .menu, .search, .overture, .overture__skip, .hero__gl, .hero__dust, .footer__seal, .instrument { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- light that follows the pointer across portals, bays and works ---------- */
.portal::after, .bay::after, .w-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 244, 222, .07), transparent 60%); border-radius: inherit; }
.bay::after, .w-card::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(111, 90, 64, .08), transparent 60%); }
.portal:hover::after, .bay:hover::after, .w-card:hover::after { opacity: 1; }

/* ---------- replay for the house films ---------- */
.film-replay { position: relative; margin: 1.6rem auto 0; display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .9rem; font: 600 .62rem/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--fg-muted); border: 1px solid var(--line); border-radius: 100px; background: rgba(0, 0, 0, .35); opacity: 0; animation: ov-in .8s .4s forwards; }
.film-replay:hover, .film-replay:focus-visible { color: var(--fg); border-color: currentColor; }
.film-replay .i { width: 15px; height: 15px; }
