/* Trade Dome, the procession. Page styles on top of scrollcraft.css.
   Rooms are entered through arched edges. The logo stays exactly as it is; a
   separate arch of stones beside it fills as the visitor walks the rooms.
   Everything that moves per frame moves by transform or opacity only. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #faf7f0;
  --paper: #fffdf8;
  --parchment: #f2ecdf;
  --navy: #122951;
  --navy-deep: #0d1f40;
  --navy-raised: #1a3463;
  --night: #0b1429;
  --dome: #162039;
  --gold: #ddb24e;
  --gold-ink: #7a5a12;
  --muted: #4f5b70;
  --line: #e6dfcf;
  --dark-muted: #b8c2d6;
  --dark-line: #2c4271;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --sc-canvas: var(--ivory);
  --sc-surface: var(--paper);
  --sc-ink: var(--navy);
  --sc-ink-soft: var(--muted);
  --sc-accent: var(--gold-ink);
  --sc-accent-ink: var(--paper);
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Archivo", system-ui, sans-serif;
  --sc-shadow-color: 222 64% 18%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.10), 0 2px 6px -1px hsl(var(--sc-shadow-color) / 0.08);
  --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.10), 0 10px 22px -6px hsl(var(--sc-shadow-color) / 0.16);
  --sc-e3: 0 4px 10px hsl(var(--sc-shadow-color) / 0.12), 0 30px 60px -18px hsl(var(--sc-shadow-color) / 0.34);
  --bar-h: 64px;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10.6M9 3.8 13.2 8 9 12.2'/%3E%3C/svg%3E");
  --bar-ask: 15.25rem;
  --cap-h: clamp(44px, 8vw, 120px);
}

html { scroll-padding-top: var(--bar-h); }
body { background: var(--ivory); font-size: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--paper); border-radius: 8px; }
.skip:focus { top: 12px; }

/* Without the engine nothing is hidden: the page reads as a plain document. */
.no-js [data-sc-cue], .no-js [data-sc-in], .no-js [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }
/* The engine sizes the two pinned rooms; without it each still holds one screen, so no room spills into the next. */
.no-js [data-sc-stage] { position: relative; height: 100vh; height: 100svh; overflow: clip; }
@media (min-width: 761px) { .no-js #entrance [data-sc-stage] { height: calc(100svh + 16rem); } }

/* ------------------------------------------------------------ type -- */
.display { font-family: var(--sc-font-display); font-weight: 620; font-stretch: 112%; letter-spacing: -0.028em; line-height: 0.98; text-wrap: balance; margin: 0; }
.display--hero { font-size: clamp(2.5rem, 1.25rem + 4.6vw, 5.4rem); line-height: 0.96; }
.display--lg { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem); }
.display--md { font-size: clamp(1.85rem, 1.32rem + 1.75vw, 2.9rem); letter-spacing: -0.022em; line-height: 1.04; }
.display__turn { display: block; }
.lede { font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.56; color: var(--muted); max-width: 40ch; margin: 0; text-wrap: pretty; }
.body { color: var(--sc-ink-soft); max-width: 58ch; margin: 0; line-height: 1.64; text-wrap: pretty; }
.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--sc-gutter); }
.stack > * + * { margin-top: var(--sc-4); }
.stack > :is(h2, h3) + * { margin-top: var(--sc-4); }

/* ---------------------------------------------------------- controls -- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 640; font-size: 1rem; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: var(--paper); box-shadow: var(--sc-e2); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--bar { min-height: 44px; padding: 0 18px; background: transparent; color: var(--navy); border-color: color-mix(in oklab, var(--navy) 26%, transparent); font-size: 0.95rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--navy-raised); }
  .btn--gold:hover { background: #e6c068; }
  .btn--bar:hover { border-color: var(--navy); }
  .link-quiet:hover { text-decoration-color: var(--navy); }
}
.btn:focus-visible, .meter:focus-visible { border-radius: 10px; }
/* The go buttons carry a drawn arrow (12 Oct 2026: arrows are drawn, never typed). The stylesheet paints it, so
   enrollment.js can change a button's words without losing it. */
.btn--primary::after, .btn--gold::after, .btn--bar-go::after { content: ""; flex: none; width: 15px; height: 15px; margin: 0 -4px 0 10px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: translate 200ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover::after, .btn--gold:hover::after, .btn--bar-go:hover::after { translate: 2px 0; }
}
.link-quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* --------------------------------------------------------------- bar -- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome); padding-top: env(safe-area-inset-top, 0px); height: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); color: var(--navy); background: var(--ivory); border-bottom: 1px solid rgb(18 41 81 / 0.1); box-shadow: 0 10px 24px -22px rgb(18 41 81 / 0.5); }
.bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--sc-gutter); max-width: 90rem; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; color: inherit; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: grid; line-height: 1.1; }
.wordmark__name { font-weight: 700; font-stretch: 125%; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem; white-space: nowrap; }
.wordmark__sub { font-size: 11px; letter-spacing: 0.02em; color: var(--muted); white-space: nowrap; }
.bar__end { display: flex; align-items: center; gap: 10px; }
/* The free preview in the bar arrives once the hero's own button has gone (home.js sets .is-past-door), so the
   first screen keeps one clear ask. Its slot is kept from the start and the meter and sign in slide aside to
   open it: a transform, never a reflow, so nothing in the bar shifts. */
.btn--bar-go { min-height: 44px; padding: 0 16px; background: var(--navy); color: var(--paper); font-size: 0.95rem; box-shadow: var(--sc-e1); }
@media (hover: hover) and (pointer: fine) { .btn--bar-go:hover { background: var(--navy-raised); } }
.bar__cta { width: var(--bar-ask); opacity: 0; visibility: hidden; transition: opacity 260ms var(--sc-ease-out), visibility 0s linear 260ms, background-color 160ms var(--sc-ease-out); }
.bar__end > :not(.bar__cta) { transition: translate 420ms var(--sc-ease-out); }
.bar:not(.is-past-door) .bar__end > :not(.bar__cta) { translate: calc(var(--bar-ask) + 10px) 0; }
.bar.is-past-door .bar__cta { opacity: 1; visibility: visible; transition-delay: 120ms, 0s, 0s; }
.no-js .bar__cta { opacity: 1; visibility: visible; }
.no-js .bar:not(.is-past-door) .bar__end > *, .bar:has(.bar__cta[hidden]) .bar__end > * { translate: none; }

/* The arch meter: six voussoirs and a keystone, in the brand's navy and gold.
   The stone for the room in view fills as it is read and sets when it is left;
   the keystone drops when the doors open. It also opens the room map. */
.meter { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--navy); cursor: pointer; font: inherit; }
@media (hover: hover) and (pointer: fine) { .meter:hover { background: var(--parchment); border-color: var(--line); } }
.meter[aria-expanded="true"] { background: var(--parchment); border-color: var(--line); }
.meter__arch { width: 50px; height: 29px; overflow: visible; flex: none; }
.meter__bed { fill: none; stroke: rgb(18 41 81 / 0.16); stroke-width: 1; stroke-dasharray: 1.5 2.5; }
.vous { fill: url(#g-stone); fill-opacity: 0.1; stroke: rgb(18 41 81 / 0.42); stroke-width: 1; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 100%; }
.vous.is-set { fill-opacity: 1; stroke: transparent; animation: vous-set 460ms var(--sc-ease-out) both; }
.vous--key { fill: url(#g-key); fill-opacity: 0.18; stroke: rgb(122 90 18 / 0.6); stroke-dasharray: 2 1.6; }
.vous--key.is-set { fill-opacity: 1; stroke: transparent; stroke-dasharray: none; animation: key-set 720ms cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes vous-set { 0% { transform: translateY(-18%); } 100% { transform: none; } }
@keyframes key-set { 0% { transform: translateY(-80%); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.meter__room { font-size: 0.88rem; font-weight: 560; white-space: nowrap; min-width: 8.5em; text-align: left; }
.meter.is-glint .meter__arch { animation: meter-glint 900ms var(--sc-ease-out); }
@keyframes meter-glint { 0%, 100% { filter: none; } 35% { filter: drop-shadow(0 0 6px rgb(221 178 78 / 0.9)); } }

/* The room map, opened from the meter. */
.rooms { position: absolute; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) - 6px); right: max(var(--sc-gutter), calc((100vw - 90rem) / 2 + var(--sc-gutter))); width: min(20rem, calc(100vw - 2 * var(--sc-gutter))); padding: 16px; border-radius: 14px; background: var(--paper); color: var(--navy); border: 1px solid var(--line); box-shadow: var(--sc-e3); }
.rooms__note { margin: 0 0 10px; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.rooms ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rooms a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 560; }
.rooms a[aria-current="true"] { background: var(--parchment); }
@media (hover: hover) and (pointer: fine) { .rooms a:hover { background: var(--parchment); } }
.rooms__dot { width: 10px; height: 14px; border-radius: 2px; border: 1.5px solid rgb(18 41 81 / 0.4); }
.rooms li.is-set .rooms__dot { background: var(--navy); border-color: var(--navy); }
.rooms__dot--key { width: 12px; clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); border-radius: 0; background: rgb(221 178 78 / 0.3); border: 0; }
.rooms li.is-set .rooms__dot--key { background: var(--gold); }

/* -------------------------------------------------------------- rooms -- */
.room { position: relative; background: var(--ground); color: var(--sc-ink); }
.room--ivory { --ground: var(--ivory); }
.room--parchment { --ground: var(--parchment); }
.room--navy, .room--night { --sc-ink: var(--paper); --sc-ink-soft: var(--dark-muted); --sc-accent: var(--gold); --sc-accent-ink: var(--navy-deep); color: var(--sc-ink); }
.room--navy { --ground: var(--navy); }
.room--night { --ground: var(--night); }
.room--navy ::selection, .room--night ::selection { background: var(--gold); color: var(--navy-deep); }
/* The arched edge: every new ground rises into the room before it. */
.room--cap::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--cap-h); background: var(--ground); clip-path: ellipse(50% 100% at 50% 100%); z-index: 2; pointer-events: none; }

/* ----------------------------------------------------- 1 the entrance -- */
.entrance { background: var(--ivory); }
/* The room behind the doorway, the still that fades up to fill the view where the walk cannot run (home.js). */
.entrance__room { display: none; position: absolute; inset: 0; z-index: 1; background: var(--paper) url("/img/hero-blueprint.jpg") center / cover no-repeat; opacity: 0; }
.door { position: absolute; z-index: 2; aspect-ratio: 3 / 4; width: min(29vw, 47svh); right: 9vw; top: calc(var(--bar-h) + (100svh - var(--bar-h)) * 0.5); translate: 0 -48%; transform-origin: 50% 50%; will-change: transform; }
.door__view { position: absolute; inset: 0; border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0; background: var(--paper); overflow: hidden; }
/* iOS Safari can let a moving video spill past a rounded overflow edge; a clip
   path in the same shape holds the arch there. Other browsers keep the cheaper
   rounded edge alone. */
@supports (-webkit-touch-callout: none) { .door__view { clip-path: inset(0 round 50% 50% 0 0 / 37.5% 37.5% 0 0); } }
.door__plate { position: absolute; left: 50%; top: 50%; width: 100vw; height: 100svh; max-width: none; object-fit: cover; translate: -50% -50%; transform-origin: 50% 50%; will-change: transform; }
.door__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.door__band { fill: none; stroke: var(--navy); stroke-width: 16; }
.door__line { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: 0.9; }
.door__key { fill: url(#g-key); }
.entrance__copy { position: absolute; z-index: 3; left: var(--sc-gutter); top: calc(var(--bar-h) + (100svh - var(--bar-h)) * 0.5); translate: 0 -50%; max-width: min(40rem, 46vw); will-change: transform, opacity; }
.entrance__copy > * + * { margin-top: var(--sc-5); }
.entrance__copy .actions { margin-top: var(--sc-6); }
.brief { position: absolute; z-index: 4; margin: 0; width: min(27rem, 31vw); right: calc(9vw + min(29vw, 47svh) * 0.42); bottom: clamp(20px, 5svh, 52px); will-change: transform; }
.brief figcaption { display: table; margin: 10px 0 0 auto; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 11px; }
.brief__card { overflow: hidden; border: 1px solid var(--dark-line); border-radius: 18px; background: linear-gradient(150deg, #1d3a6e, var(--navy) 65%); color: var(--paper); box-shadow: 0 50px 90px -40px #0d1f40cc, 0 2px 6px #12295126, inset 0 1px 0 #ffffff1a; }
.brief__mast { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--dark-line); padding: 11px 18px; }
.brief__word { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 650; letter-spacing: 0.06em; }
.brief__word img { width: 22px; height: 22px; }
.brief__desk { color: var(--dark-muted); font-weight: 400; letter-spacing: 0; }
.brief__slash { color: var(--gold); }
.brief__tag { padding: 3px 8px; border: 1px solid var(--dark-line); border-radius: 4px; font-size: 11px; color: var(--dark-muted); }
.brief__body { padding: 16px 18px 18px; }
.brief__micro { display: block; font-size: 12px; font-weight: 600; color: var(--dark-muted); }
.brief__verdict { margin: 4px 0 0; font-size: clamp(19px, 1.5vw, 23px); font-weight: 640; font-stretch: 108%; letter-spacing: -0.01em; }
.brief__top { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--dark-muted); }
.brief__top > :first-child { color: var(--paper); font-weight: 600; }
.brief__top small { color: var(--dark-muted); font-size: inherit; font-weight: 400; }
.brief__top > :last-child { display: flex; align-items: center; gap: 6px; }
.brief__key { width: 12px; height: 2px; background: var(--gold); }
.brief__chart { width: 100%; height: clamp(110px, 12vw, 160px); margin-top: 8px; }
.chart-grid { stroke: #ffffff14; stroke-width: 1; fill: none; }
.chart-band { fill: #ddb24e17; }
.chart-ref { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 5 5; fill: none; }
.candle { stroke-width: 1.5; }
.candle--up { fill: var(--gold); stroke: var(--gold); }
.candle--down { fill: #22355f; stroke: #a9b6cc; }
.brief__thing { margin-top: 10px; padding: 12px 14px; border: 1px solid color-mix(in oklab, var(--gold) 40%, var(--dark-line)); border-radius: 10px; background: #ffffff08; }
.brief__head { margin: 4px 0 0; font-size: 17px; font-weight: 640; }
.brief__thing p:last-child { margin: 6px 0 0; color: var(--dark-muted); font-size: 13px; line-height: 1.55; }
.facts { position: absolute; z-index: 3; left: var(--sc-gutter); bottom: clamp(28px, 7svh, 72px); width: min(34rem, 38vw); margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; padding: 24px 26px; border-radius: 16px; background: rgb(255 253 248 / 0.95); border: 1px solid var(--line); box-shadow: var(--sc-e2); }
.facts dt { font-weight: 680; font-stretch: 115%; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); letter-spacing: -0.02em; color: var(--navy); line-height: 1; }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

/* --------------------------------------------------- 2 the Architect -- */
.study { padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.7 + var(--cap-h)); }
.study__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.study__portrait { position: relative; margin: 0; max-width: 30rem; }
.arched { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; background: #262432; box-shadow: 0 0 0 1px #ddb24e55, 0 40px 80px -30px #050c1d; }
.arched video { width: 100%; height: 100%; object-fit: cover; }
.study__key { position: absolute; left: 50%; top: -14px; width: 34px; height: 30px; translate: -50% 0; background: linear-gradient(#f0d184, #b78a2a); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.study__title { margin: 10px 0 0 !important; color: var(--gold); font-weight: 600; font-size: 1.05rem; }
.study__role { margin: 2px 0 0 !important; color: var(--dark-muted); font-size: 0.95rem; }
.study__role + .body { margin-top: var(--sc-5); }
.creed { margin: var(--sc-6) 0 0; padding-top: var(--sc-5); border-top: 1px solid #ddb24e55; }
.creed p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.32; color: var(--paper); max-width: 26ch; }
.pillars { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); }
.pillars > div { padding-top: 14px; border-top: 1px solid var(--dark-line); }
.pillars dt { color: var(--gold); font-weight: 650; }
.pillars dd { margin: 6px 0 0; color: var(--dark-muted); font-size: 0.95rem; line-height: 1.55; }

/* ------------------------------------------------ 3 the architecture -- */
.plan { padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.7 + var(--cap-h)); }
.plan__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.plan__intro .body { margin-top: var(--sc-5); }
.courses { position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: 12px; }
.courses::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.courses::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--gold-ink)); transform-origin: 50% 0; transform: scaleY(0); transition: transform 1100ms var(--sc-ease-out) 150ms; }
.courses.sc-in::after { transform: scaleY(1); }
.course { position: relative; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 20px; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sc-e1); }
.course::before { content: ""; position: absolute; left: -27px; top: 22px; width: 12px; height: 12px; border-radius: 3px; background: var(--ivory); border: 2px solid var(--line); transition: background-color 300ms var(--sc-ease-out), border-color 300ms var(--sc-ease-out); }
.courses.sc-in .course::before { background: var(--gold); border-color: var(--gold-ink); }
.courses.sc-in .course:nth-child(2)::before { transition-delay: 300ms; }
.courses.sc-in .course:nth-child(3)::before { transition-delay: 600ms; }
.courses.sc-in .course:nth-child(4)::before { transition-delay: 900ms; }
.course--base { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.course--base .course__name p { color: var(--dark-muted); }
.course__name h3 { margin: 0; font-size: 1.15rem; font-weight: 680; font-stretch: 112%; }
.course__name p { margin: 4px 0 0; font-size: 0.85rem; line-height: 1.4; color: var(--muted); }

/* -------------------------------------------------- 4 his creations -- */
/* The page keeps scrolling down; the colonnade slides sideways only when the
   visitor chooses to: a swipe, a trackpad, the arrows, or the keyboard. */
.creations { padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.6 + var(--cap-h)); }
.creations__head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 24px clamp(32px, 5vw, 80px); }
.creations__intro { max-width: 36rem; }
.creations__intro .body { margin-top: var(--sc-5); }

/* The keystone: the Scanner on its own bay, drawn over its construction lines. The lines draw once as it arrives. */
.keystone { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-areas: "stage body" "block block"; gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: calc(var(--bar-h) + 24px); margin-top: clamp(40px, 6vw, 80px); padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; border: 1px solid rgb(221 178 78 / 0.22); background: linear-gradient(160deg, rgb(26 52 99 / 0.75), rgb(9 19 44 / 0.6)); box-shadow: inset 0 1px 0 rgb(255 253 248 / 0.06), 0 40px 80px -48px #040a18; position: relative; isolation: isolate; overflow: hidden; }
.keystone::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold) 78%, transparent); opacity: 0.7; }
.keystone::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: linear-gradient(rgb(221 178 78 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(221 178 78 / 0.05) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%); }
.keystone__stage { grid-area: stage; position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.keystone__body { grid-area: body; }
/* The niche the Scanner stands in, drawn as an elevation (apps/landing/README.md): behind the painting the construction
   inks once (the axis, the spring line, the arc its joints radiate to, the ground); over it the stone, an archivolt of
   voussoirs on coursed jambs with imposts and a two step plinth, and the gold keystone, set last into the crown. */
.keystone__lines, .keystone__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.keystone__lines { fill: none; stroke: rgb(221 178 78 / 0.3); stroke-width: 0.8; }
.keystone__lines > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--sc-ease-out); }
.keystone__lines > :nth-child(2) { transition-delay: 160ms; } .keystone__lines > :nth-child(3) { transition-delay: 320ms; } .keystone__lines > :nth-child(4) { transition-delay: 520ms; } .keystone__lines > :nth-child(5) { transition-delay: 640ms; }
.keystone.sc-in .keystone__lines > * { stroke-dashoffset: 0; }
.keystone__frame { filter: drop-shadow(0 26px 34px rgb(2 6 18 / 0.42)); }
.keystone__reveal { fill: #050d22; }
.keystone__joint { fill: none; stroke: rgb(3 9 24 / 0.6); stroke-width: 1; }
.keystone__arris { fill: none; stroke: rgb(255 253 248 / 0.17); stroke-width: 0.9; }
.keystone__arris--soffit { stroke: rgb(255 253 248 / 0.08); }
.keystone__key-arris { fill: none; stroke: rgb(255 246 214 / 0.75); stroke-width: 0.8; }
html:not(.no-js) .keystone__key { opacity: 0; translate: 0 -18px; transition: opacity 360ms ease 1250ms, translate 760ms cubic-bezier(.2, 1.3, .4, 1) 1250ms; }
html:not(.no-js) .keystone.sc-in .keystone__key { opacity: 1; translate: none; }
.keystone__arch { width: 82%; aspect-ratio: 1 / 1; }
.keystone__arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 16px 30px -14px rgb(2 7 20 / 0.75), inset 0 0 0 1px rgb(2 7 20 / 0.55); pointer-events: none; }
.keystone h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 680; font-stretch: 112%; line-height: 1.08; letter-spacing: -0.02em; color: var(--paper); }
.keystone__epithet { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.16rem; color: var(--gold); }
.keystone__lead { margin: 16px 0 0; max-width: 34rem; color: var(--dark-muted); font-size: 1.02rem; line-height: 1.6; }
.keystone__note { margin: 20px 0 0; padding-left: 26px; position: relative; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--paper); }
.keystone__note::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 12px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
/* The title block along the drawing's foot: three cells between hairlines, as on an architect's sheet. */
.keystone__block { grid-area: block; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgb(221 178 78 / 0.28); }
.keystone__block > div { padding: 18px clamp(16px, 2vw, 28px) 4px; }
.keystone__block > div + div { border-left: 1px solid rgb(184 194 214 / 0.16); }
.keystone__block > div:first-child { padding-left: 0; }
.keystone__block dt { color: var(--paper); font-weight: 640; font-size: 0.98rem; line-height: 1.35; }
.keystone__block dd { margin: 6px 0 0; color: var(--dark-muted); font-size: 0.92rem; line-height: 1.55; }
/* Registration marks at the four corners, the way a drawing is squared on its sheet. */
.keystone__marks { position: absolute; inset: 14px; pointer-events: none; --m: rgb(221 178 78 / 0.5);
  background:
    linear-gradient(var(--m), var(--m)) left top / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) left top / 1px 16px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) right top / 1px 16px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) right bottom / 1px 16px no-repeat; }

/* The hall (BRIEF.md v4): eight makers as exhibits in one gallery since 7 Nov 2026. A frieze of small arched niches chooses who stands
   on the stage; the stage shows one maker large, its portrait set in the material it is made of (the quirk Jordan asked
   for: "something that's a part of them materially"), its name cut faintly into the wall behind it. Without the script
   every exhibit stands in a column, all of it readable. */
.hall__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 7vw, 96px); padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); }
.hall__head::before, .hall__head::after { content: ""; position: absolute; bottom: -5px; width: 1px; height: 9px; background: rgb(184 194 214 / 0.45); }
.hall__head::before { left: 0; } .hall__head::after { right: 0; }
.hall__title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--paper); }
.hall { margin-top: clamp(32px, 4.4vw, 52px); overflow: clip; scroll-margin-top: calc(var(--bar-h) + 12px); }

/* Each maker's material, worn by its frame on the stage and by its niche in the frieze. */
.maker, .niche { --accent: var(--gold); --material: linear-gradient(160deg, #1c2c52, #2a3f6e); }
.maker--gold, .niche--gold { --accent: #ddb24e;
  --material: radial-gradient(circle at 50% 50%, rgb(255 246 214 / 0.26) 0 1.1px, transparent 1.9px) 0 0 / 7px 7px,
    radial-gradient(circle at 50% 50%, rgb(58 38 6 / 0.3) 0 1px, transparent 1.7px) 3px 4px / 9px 8px,
    linear-gradient(140deg, #6b4f14, #c99d40 20%, #f1d993 36%, #b4862b 54%, #e6c264 72%, #7a5a18); }
.maker--aussie, .niche--aussie { --accent: #4fbf8f;
  --material: repeating-linear-gradient(90deg, rgb(255 250 230 / 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #4d3f1c, #a8843f 28%, #e0c27c 44%, #94733a 62%, #43361a); }
.maker--fiber, .niche--fiber { --accent: #a68be8;
  --material: repeating-linear-gradient(45deg, rgb(140 112 214 / 0.26) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-45deg, rgb(140 112 214 / 0.18) 0 1px, transparent 1px 5px),
    linear-gradient(160deg, #cfd1df, #f3f2f8 36%, #c3bfd8 62%, #e7e5f1); }
.maker--ninja, .niche--ninja { --accent: #d9485f; --accent-text: #f2828f;
  --material: linear-gradient(115deg, transparent 36%, rgb(255 255 255 / 0.1) 46%, transparent 55%),
    linear-gradient(180deg, #1a1a22, #060609 58%, #14141b); }
.maker--cinco, .niche--cinco { --accent: #b5d15a;
  --material: radial-gradient(rgb(70 78 92 / 0.38) 0.8px, transparent 1.25px) 0 0 / 6px 6px,
    radial-gradient(rgb(255 255 255 / 0.55) 0.7px, transparent 1.1px) 3px 2px / 7px 5px,
    linear-gradient(160deg, #c4cad3, #eef0f3 40%, #b3bac5 70%, #dde1e7); }
.maker--pipeline, .niche--pipeline { --accent: #f0a24a;
  --material: linear-gradient(to top, rgb(222 236 255 / 0.6), rgb(222 236 255 / 0) 22%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #1e242d, #4a5463 34%, #2a313b 60%, #3c4451); }
/* Argent and Poncho (7 Nov 2026): polished chrome hammered like Gold's leaf and cold as moonlight; and a poncho's weave,
   jade and navy bands with ivory and gold thread. */
.maker--argent, .niche--argent { --accent: #a9c3e6; --accent-text: #c9dbf3;
  --material: radial-gradient(circle at 50% 50%, rgb(255 255 255 / 0.3) 0 1px, transparent 1.8px) 0 0 / 6px 6px,
    radial-gradient(circle at 50% 50%, rgb(34 48 74 / 0.3) 0 0.9px, transparent 1.6px) 3px 3px / 8px 7px,
    linear-gradient(150deg, #4c5a70, #c3cddb 22%, #f2f5fa 38%, #9fabbd 56%, #dde3ec 72%, #56637a); }
.maker--poncho, .niche--poncho { --accent: #34b6a6; --accent-text: #6fd3c6;
  --material: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, #17624f 0 9px, #13284d 9px 16px, #e8dcc0 16px 18px, #13284d 18px 25px, #c9a046 25px 26.5px, #13284d 26.5px 33px); }

/* The frieze. */
.hall__niches { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 24px); max-width: 78rem; margin: 0 auto clamp(40px, 5.4vw, 64px); padding: 8px var(--sc-gutter) 4px; }
.hall__niches[hidden] { display: none; }
.niche { display: grid; justify-items: center; gap: 10px; padding: 4px 6px 8px; border: 0; border-radius: 14px; background: none; color: var(--dark-muted); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.niche__frame { display: block; width: clamp(60px, 6.6vw, 88px); aspect-ratio: 4 / 5; padding: 4px; border-radius: 999px 999px 9px 9px; background: var(--material); box-shadow: 0 18px 28px -18px #01050d, inset 0 1px 0 rgb(255 255 255 / 0.16); transition: transform 260ms var(--sc-ease-out), box-shadow 260ms var(--sc-ease-out); }
.niche__frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 6px 6px; filter: saturate(0.72) brightness(0.8); transition: filter 260ms var(--sc-ease-out); }
.niche__name { position: relative; padding-bottom: 7px; font-size: 0.88rem; font-weight: 620; letter-spacing: 0.01em; transition: color 200ms var(--sc-ease-out); }
.niche__name::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; border-radius: 2px; background: var(--accent); translate: -50% 0; transition: width 260ms var(--sc-ease-out); }
.niche[aria-selected="true"] { color: var(--paper); }
.niche[aria-selected="true"] .niche__frame { transform: translateY(-7px); box-shadow: 0 28px 40px -22px #01050d, inset 0 1px 0 rgb(255 255 255 / 0.2); }
.niche[aria-selected="true"] .niche__frame img { filter: none; }
.niche[aria-selected="true"] .niche__name::after { width: 24px; }
@media (hover: hover) and (pointer: fine) { .niche:hover { color: var(--paper); } .niche:hover .niche__frame img { filter: none; } }
.niche:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* The stage. */
.hall__stage { position: relative; display: grid; gap: clamp(72px, 9vw, 120px); max-width: 78rem; margin-inline: auto; padding: 0 var(--sc-gutter) 8px; }
.maker { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6.4vw, 104px); scroll-margin-top: calc(var(--bar-h) + 24px); }
.maker[hidden] { display: none; }
.maker:focus-visible { outline: 2px solid var(--gold); outline-offset: 12px; border-radius: 18px; }
/* The name cut into the wall: set huge and faint behind the plate, cropped by the hall. */
.maker__mark { position: absolute; z-index: -1; top: -0.5em; left: -0.06em; font-family: var(--sc-font-display); font-weight: 720; font-stretch: 112%; font-size: clamp(7rem, 12.5vw, 12.5rem); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; color: color-mix(in oklab, var(--accent) 9%, transparent); pointer-events: none; user-select: none; }
.maker__frame { position: relative; width: 100%; aspect-ratio: 4 / 5; padding: 10px; border-radius: 999px 999px 18px 18px; background: var(--material); box-shadow: 0 50px 90px -50px #01050d, inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 -1px 0 rgb(0 0 0 / 0.45); }
.maker__arch { width: 100%; height: 100%; border-radius: 999px 999px 10px 10px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.5); }
/* Shared with the Scanner's keystone bay. */
.exhibit__arch { position: relative; overflow: hidden; background: #0a1124; }
.keystone__arch { border-radius: 999px 999px 20px 20px; box-shadow: 0 40px 80px -40px #040a18; }
.exhibit__arch img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 700ms var(--sc-ease-out); }
/* Each portrait moves once it plays: the loop sits over its still, opens on the same frame and fades in, so a browser that
   cannot play it and Save Data keep the still (home.js). */
.exhibit__motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity 600ms var(--sc-ease-out), scale 700ms var(--sc-ease-out); }
.exhibit__motion.is-playing { opacity: 1; }
/* A phone that refuses to play the loop (iOS in Low Power Mode, or with its auto play settings off) moves the still
   instead (8 Nov 2026): a slow push in with one pass of gold light for each of the loop's cycles, then rest. The
   script adds .is-breathing only after a refused play. */
.exhibit__arch.is-breathing img { animation: still-push 6s cubic-bezier(0.45, 0, 0.55, 1) var(--still-cycles, 1); }
.exhibit__arch.is-breathing::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 40%, rgb(221 178 78 / 0.36) 50%, transparent 60%) 0 0 / 260% 100% no-repeat; mix-blend-mode: soft-light; animation: still-sheen 6s ease-in-out var(--still-cycles, 1) both; }
@keyframes still-push { 0%, 100% { scale: 1; } 50% { scale: 1.045; } }
@keyframes still-sheen { 0% { background-position: 115% 0; opacity: 0; } 20%, 80% { opacity: 1; } 100% { background-position: -15% 0; opacity: 0; } }
@media (hover: hover) and (pointer: fine) { .maker__frame:hover .exhibit__arch img, .maker__frame:hover .exhibit__motion, .keystone:hover .exhibit__arch img, .keystone:hover .exhibit__motion { scale: 1.03; } }
.maker__rim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; pointer-events: none; }
.rim--edge { stroke: rgb(24 16 4 / 0.55); stroke-width: 1.2; }
.rim--shine { stroke: rgb(255 244 206 / 0.55); stroke-width: 0.8; }
.maker--aussie .rim--ticks { stroke: #2b220e; stroke-width: 5; stroke-dasharray: 0.32 1.68; }
.maker--aussie .rim--north { fill: var(--accent); stroke: #2b220e; stroke-width: 0.8; }
.maker--fiber .rim--weave { stroke: rgb(112 86 196 / 0.5); stroke-width: 1; stroke-dasharray: 1.1 1.1; }
.maker--fiber .rim--thread { stroke: var(--accent); stroke-width: 1.6; }
.maker--fiber .rim--needle { stroke: #f4f2fb; stroke-width: 2.2; stroke-linecap: round; }
.maker--ninja .rim--stitch { stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 1.05 0.95; }
.maker--cinco .rim--edge { stroke: var(--accent); stroke-width: 1; }
.maker--cinco .rim--snow { stroke: #fbfdff; stroke-width: 13; stroke-linecap: round; }
.maker--cinco .rim--snow-lip { stroke: rgb(176 196 222 / 0.55); stroke-width: 2; stroke-linecap: round; }
.maker--pipeline .rim--rivets { stroke: #c9d1dc; stroke-width: 5.5; stroke-linecap: round; stroke-dasharray: 0 2; }
.maker--argent .rim--frost { stroke: rgb(232 240 250 / 0.7); stroke-width: 1.2; }
.maker--argent .rim--halo { stroke: var(--accent); stroke-width: 1; opacity: 0.55; }
.maker--argent .rim--star { fill: #f4f8ff; stroke: none; }
.maker--poncho .rim--edge { stroke: rgb(8 20 40 / 0.6); }
.maker--poncho .rim--fringe { stroke: #e8dcc0; stroke-width: 2.2; stroke-linecap: round; opacity: 0.9; }
.maker--poncho .rim--knots { stroke: #c9a046; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0 1; }
.maker__body { position: relative; max-width: 36rem; }
.maker__plate { position: relative; display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgb(184 194 214 / 0.16); }
.maker__plate::before { content: ""; position: absolute; bottom: -1px; left: 0; width: 56px; height: 1.5px; background: var(--accent); }
.maker__plate::after { content: ""; position: absolute; bottom: -4px; left: 0; right: 0; height: 7px; pointer-events: none; background: linear-gradient(rgb(184 194 214 / 0.4), rgb(184 194 214 / 0.4)) left bottom / 1px 7px no-repeat, linear-gradient(rgb(184 194 214 / 0.4), rgb(184 194 214 / 0.4)) right bottom / 1px 7px no-repeat; }
.maker__plate h3 { margin: 0; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 680; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.02; color: var(--paper); }
.maker__epithet { margin: 6px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.16rem; color: var(--accent-text, var(--accent)); }
.maker__seal { flex: 0 0 auto; width: 52px; height: 52px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.maker__seal--wide { width: 84px; }
.maker__text { margin: 22px 0 0; color: var(--dark-muted); font-size: 1.04rem; line-height: 1.72; max-width: 60ch; text-wrap: pretty; }
.maker__facts { margin: 24px 0 0; border-top: 1px dashed rgb(184 194 214 / 0.2); }
.maker__facts > div { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgb(184 194 214 / 0.2); }
.maker__facts dt { flex: 0 0 5.6rem; font-size: 0.8rem; font-weight: 620; color: var(--dark-muted); }
.maker__facts dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.06rem; color: var(--paper); }

/* With the script, one maker stands on the stage; a new choice steps in once. */
.hall.is-staged .hall__stage { display: block; }
.hall.is-staged .maker.is-entering { animation: maker-in 460ms var(--sc-ease-out) 1 backwards; }
.hall.is-staged .maker.is-entering .maker__mark { animation: mark-in 820ms var(--sc-ease-out) 1 backwards; }
.hall.is-staged .maker.is-entering .maker__body { animation: maker-in 520ms var(--sc-ease-out) 90ms 1 backwards; }
@keyframes maker-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* The quirks. Gold's crown drops into place like a keystone. */
.maker--gold .maker__seal { fill: rgb(221 178 78 / 0.12); transform: translateY(-16px); opacity: 0; transition: transform 800ms cubic-bezier(.2, 1.3, .4, 1) 380ms, opacity 300ms ease 380ms; }
.maker--gold.sc-in .maker__seal { transform: none; opacity: 1; }
/* Aussie's compass swings and settles on north; it looks again under the pointer. */
.maker--aussie .maker__needle { transform-box: view-box; transform-origin: 24px 24px; transform: rotate(-150deg); transition: transform 1300ms cubic-bezier(.25, 1.6, .45, 1) 420ms; }
.maker--aussie .maker__north { fill: var(--accent); }
.maker--aussie.sc-in .maker__needle { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .maker--aussie.sc-in:hover .maker__needle { transform: rotate(24deg); transition-delay: 0ms; } }
/* Fiber's thread is drawn in one pass and pulled through. */
.maker--fiber .maker__thread { stroke-dasharray: 130; stroke-dashoffset: 130; transition: stroke-dashoffset 1500ms var(--sc-ease-out) 400ms; }
.maker--fiber .maker__needle { opacity: 0; transition: opacity 300ms ease 1700ms; }
.maker--fiber.sc-in .maker__thread { stroke-dashoffset: 0; }
.maker--fiber.sc-in .maker__needle { opacity: 1; }
.maker--fiber circle { fill: var(--accent); }
/* Ninja waits in the shadows: the dark lifts slowly once it arrives, and all the way under the pointer. */
.maker__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 32%, transparent 18%, rgb(4 8 20 / 0.92) 78%); transition: opacity 1800ms ease 600ms; }
.maker--ninja.sc-in .maker__veil { opacity: 0.4; }
@media (hover: hover) and (pointer: fine) { .maker--ninja.sc-in:hover .maker__veil { opacity: 0; transition-delay: 0ms; transition-duration: 500ms; } }
.maker--ninja .maker__glint { fill: var(--accent); stroke: none; opacity: 0; transition: opacity 240ms ease 1500ms; }
.maker--ninja.sc-in .maker__glint { opacity: 1; }
/* Cinco stands apart: its flag rises on the summit once it arrives. */
.maker--cinco .maker__flag { fill: var(--accent); transform: translateY(8px); opacity: 0; transition: transform 700ms var(--sc-ease-out) 600ms, opacity 300ms ease 600ms; }
.maker--cinco.sc-in .maker__flag { transform: none; opacity: 1; }
/* Pipeline's gauge builds pressure once, and the plate is riveted. */
.maker--pipeline .maker__needle { transform-box: view-box; transform-origin: 28px 32px; transform: rotate(-80deg); transition: transform 1600ms cubic-bezier(.3, 1.25, .5, 1) 450ms; }
.maker--pipeline.sc-in .maker__needle { transform: rotate(48deg); }
.maker--pipeline circle { fill: var(--accent); stroke: none; }
/* Argent's moon rises inside its halo once it arrives, and a single star answers it. */
.maker--argent .maker__halo { stroke-width: 1.2; opacity: 0.7; }
.maker--argent .maker__moon { fill: rgb(169 195 230 / 0.16); transform: translateY(7px); opacity: 0; transition: transform 900ms var(--sc-ease-out) 450ms, opacity 400ms ease 450ms; }
.maker--argent .maker__spark { fill: var(--accent); stroke: none; opacity: 0; transition: opacity 300ms ease 1300ms; }
.maker--argent.sc-in .maker__moon { transform: none; opacity: 1; }
.maker--argent.sc-in .maker__spark { opacity: 1; }
/* Poncho's weave is drawn once, the outer row then the inner, and the knot is tied last. */
.maker--poncho .maker__weave { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1100ms var(--sc-ease-out) 400ms; }
.maker--poncho .maker__weave--in { transition-delay: 900ms; }
.maker--poncho .maker__knot { fill: var(--accent); stroke: none; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 500ms cubic-bezier(.2, 1.4, .4, 1) 1600ms; }
.maker--poncho.sc-in .maker__weave { stroke-dashoffset: 0; }
.maker--poncho.sc-in .maker__knot { transform: none; }
/* Without the script every seal shows its final state. */
.no-js .maker--gold .maker__seal, .no-js .maker--cinco .maker__flag { opacity: 1; transform: none; }
.no-js .maker--aussie .maker__needle { transform: none; }
.no-js .maker--fiber .maker__thread { stroke-dashoffset: 0; } .no-js .maker--fiber .maker__needle { opacity: 1; }
.no-js .maker--ninja .maker__veil { opacity: 0.4; } .no-js .maker--ninja .maker__glint { opacity: 1; }
.no-js .maker--pipeline .maker__needle { transform: rotate(48deg); }
.no-js .maker--argent .maker__moon, .no-js .maker--argent .maker__spark { opacity: 1; transform: none; }
.no-js .maker--poncho .maker__weave { stroke-dashoffset: 0; } .no-js .maker--poncho .maker__knot { transform: none; }

.hall__close { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 28px; padding: 22px 0 0; border-top: 1px solid var(--dark-line); }
.hall__lead { margin: 0; color: var(--paper); font-size: 1.1rem; font-weight: 620; }
.hall__close .body { margin: 0; font-size: 0.98rem; }
.hall__link { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; color: var(--gold); font-weight: 620; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.hall__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

/* The family's elevation (5 Nov 2026): the arch of the mark drawn as a working elevation, eight stones since 7 Nov 2026
   (scripts/landing_family_arch.py) and the Scanner as its keystone, each piece a way down to its bay. It sets once as it arrives, the stones in order and the keystone last;
   without the engine it is simply drawn. */
.elevation { margin: 0; justify-self: end; width: min(100%, 34rem); }
.elevation__art { display: block; width: 100%; height: auto; overflow: visible; }
.elevation__guide { fill: none; stroke: rgb(221 178 78 / 0.24); stroke-width: 1; stroke-dasharray: 3 5; }
.elevation__tick, .elevation__dim { fill: none; stroke: rgb(184 194 214 / 0.42); stroke-width: 1; }
.elevation__stone { --accent: var(--gold); cursor: pointer; outline: none; }
/* The order each stone is set in (the page's style policy allows no inline styles, so each carries its place here). */
/* Since 7 Nov 2026 the stones set in pairs from the springers up, as an arch is built, and the keystone drops in last. */
.elevation--gold { --accent: #ddb24e; --k: 0; } .elevation--argent { --accent: #a9c3e6; --k: 1; } .elevation--aussie { --accent: #4fbf8f; --k: 2; } .elevation--fiber { --accent: #a68be8; --k: 3; }
.elevation--scanner { --k: 4; }
.elevation--ninja { --accent: #d9485f; --k: 3; } .elevation--cinco { --accent: #b5d15a; --k: 2; } .elevation--pipeline { --accent: #f0a24a; --k: 1; } .elevation--poncho { --accent: #34b6a6; --k: 0; }
.elevation__piece { fill: var(--navy-raised); stroke: rgb(221 178 78 / 0.5); stroke-width: 1.1; stroke-linejoin: round; transition: fill 220ms var(--sc-ease-out), stroke 220ms var(--sc-ease-out), stroke-width 220ms var(--sc-ease-out); }
.elevation__stone--key .elevation__piece { fill: var(--gold); stroke: #f0d184; }
.elevation__lead { fill: none; stroke: rgb(184 194 214 / 0.38); stroke-width: 1; transition: stroke 220ms var(--sc-ease-out); }
.elevation__name { fill: var(--dark-muted); font-family: var(--sc-font-text); font-size: 13.5px; font-weight: 600; transition: fill 220ms var(--sc-ease-out); }
.elevation__stone--key .elevation__name { fill: var(--paper); font-weight: 660; font-stretch: 112%; }
.elevation__stone:is(:hover, :focus-visible) .elevation__piece { fill: color-mix(in oklab, var(--accent) 34%, var(--navy-raised)); stroke: var(--accent); }
.elevation__stone--key:is(:hover, :focus-visible) .elevation__piece { fill: #e6c068; stroke: var(--paper); }
.elevation__stone:is(:hover, :focus-visible) .elevation__lead { stroke: var(--accent); }
.elevation__stone:is(:hover, :focus-visible) .elevation__name { fill: var(--paper); }
.elevation__stone:focus-visible .elevation__piece { stroke-width: 2.6; }
.elevation__caption { margin: 8px 0 0; color: var(--dark-muted); font-size: 0.88rem; line-height: 1.5; text-align: center; }
html:not(.no-js) .elevation .elevation__stone { opacity: 0; transform: translateY(-10px); transition: opacity 420ms var(--sc-ease-out), transform 560ms var(--sc-ease-out); transition-delay: calc(var(--k, 0) * 80ms + 150ms); }
html:not(.no-js) .elevation .elevation__stone--key { transform: translateY(-28px); transition-delay: 600ms; transition-duration: 420ms, 700ms; transition-timing-function: var(--sc-ease-out), cubic-bezier(.2, 1.3, .4, 1); }
html:not(.no-js) .elevation.sc-in .elevation__stone { opacity: 1; transform: none; }


/* The hall on narrower screens: the stage stacks below 760 pixels and the frieze fits a phone's width, scrolling only
   when it cannot. */
@media (max-width: 1000px) {
  .maker { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 40px; }
  .maker__mark { font-size: clamp(5.5rem, 14vw, 9rem); }
}
@media (max-width: 760px) {
  .hall__niches { justify-content: flex-start; gap: 2px; margin-bottom: 30px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--sc-gutter); scrollbar-width: none; }
  .hall__niches::-webkit-scrollbar { display: none; }
  .niche { flex: 1 0 auto; scroll-snap-align: start; padding: 4px 3px 8px; }
  .niche__frame { width: 44px; padding: 3px; }
  .niche__name { font-size: 0.74rem; }
  .maker { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .maker__frame { width: min(100%, 21rem); margin-inline: auto; }
  .maker__mark { top: -0.62em; font-size: 26vw; }
  .maker__body { max-width: none; }
  .maker__plate h3 { font-size: 2.05rem; }
  .maker__facts dt { flex-basis: 4.8rem; }
}

/* The drafting layer (5 Nov 2026, Jordan: "subtle architect design things to fill in any gaps"): the arch set out as the
   Architect would draw it, a springing line with its ticks, the round and the pointed construction and the keystone,
   laid faintly into the open corners of six rooms. Static, behind the words, never more than a whisper. */
:root {
  --draft-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 520' fill='none' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath stroke='rgb%2818 41 81 / 0.11%29' d='M30 440 H570'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.07%29' d='M50 435 V445 M90 435 V445 M130 435 V445 M170 435 V445 M210 435 V445 M250 435 V445 M290 435 V445 M330 435 V445 M370 435 V445 M410 435 V445 M450 435 V445 M490 435 V445 M530 435 V445'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.11%29' d='M150 440 A150 150 0 0 1 450 440'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.11%29' d='M90 440 A210 210 0 0 1 510 440'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.07%29' stroke-dasharray='4 6' d='M450 440 A300 300 0 0 0 300 180.2 M150 440 A300 300 0 0 1 300 180.2'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.07%29' stroke-dasharray='2 5' d='M429.9 365.0 L497.5 326.0 M375.0 310.1 L414.0 242.5 M300.0 290.0 L300.0 212.0 M225.0 310.1 L186.0 242.5 M170.1 365.0 L102.5 326.0'/%3E%3Ccircle stroke='rgb%2818 41 81 / 0.11%29' cx='300' cy='440' r='4'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.11%29' d='M288 440 H312 M300 428 V452'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.07%29' d='M90 474 H510 M90 468 V480 M510 468 V480 M150 470 V478 M450 470 V478'/%3E%3Cpath stroke='rgb%2818 41 81 / 0.11%29' d='M287 222 H313 L309 248 H291 Z'/%3E%3C/svg%3E");
  --draft-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 520' fill='none' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath stroke='rgb%28221 178 78 / 0.16%29' d='M30 440 H570'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.1%29' d='M50 435 V445 M90 435 V445 M130 435 V445 M170 435 V445 M210 435 V445 M250 435 V445 M290 435 V445 M330 435 V445 M370 435 V445 M410 435 V445 M450 435 V445 M490 435 V445 M530 435 V445'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.16%29' d='M150 440 A150 150 0 0 1 450 440'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.16%29' d='M90 440 A210 210 0 0 1 510 440'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.1%29' stroke-dasharray='4 6' d='M450 440 A300 300 0 0 0 300 180.2 M150 440 A300 300 0 0 1 300 180.2'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.1%29' stroke-dasharray='2 5' d='M429.9 365.0 L497.5 326.0 M375.0 310.1 L414.0 242.5 M300.0 290.0 L300.0 212.0 M225.0 310.1 L186.0 242.5 M170.1 365.0 L102.5 326.0'/%3E%3Ccircle stroke='rgb%28221 178 78 / 0.16%29' cx='300' cy='440' r='4'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.16%29' d='M288 440 H312 M300 428 V452'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.1%29' d='M90 474 H510 M90 468 V480 M510 468 V480 M150 470 V478 M450 470 V478'/%3E%3Cpath stroke='rgb%28221 178 78 / 0.16%29' d='M287 222 H313 L309 248 H291 Z'/%3E%3C/svg%3E");
}
.study { background-image: var(--draft-gold); background-repeat: no-repeat; background-position: right -120px bottom calc(var(--cap-h) + 8px); background-size: min(680px, 64vw) auto; }
.plan { background-image: var(--draft-navy); background-repeat: no-repeat; background-position: left -150px bottom calc(var(--cap-h) + 12px); background-size: min(620px, 60vw) auto; }
.desk { background-image: var(--draft-navy); background-repeat: no-repeat; background-position: right -170px top 40px; background-size: min(560px, 56vw) auto; }
.questions { background-image: var(--draft-navy); background-repeat: no-repeat; background-position: left -130px bottom calc(var(--cap-h) + 4px); background-size: min(520px, 60vw) auto; }
.doors { background-image: var(--draft-navy); background-repeat: no-repeat; background-position: right -110px center; background-size: min(600px, 52vw) auto; }
@media print { .study, .plan, .desk, .questions, .doors { background-image: none; } }

/* --------------------------------------------------------- 5 the desk -- */
.desk { padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.7 + var(--cap-h)); }
.desk__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.desk__window { margin: 0; }
.desk__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 999px 999px 16px 16px / 70% 70% 16px 16px; box-shadow: var(--sc-e3); background: #2a2230; }
.desk__frame img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; }
.desk__window figcaption { margin-top: 14px; color: var(--muted); font-size: 0.9rem; }
.routine { list-style: none; margin: var(--sc-6) 0 0; padding: 0; counter-reset: step; display: grid; gap: 22px; }
.routine li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 12px; }
.routine li::before { content: counter(step); grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 0.9rem; background: var(--navy); color: var(--paper); }
.routine h3 { margin: 4px 0 0; font-size: 1.1rem; font-weight: 660; }
.routine p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; font-size: 0.97rem; }

/* --------------------------------------------------- 6 the threshold -- */
/* Layers, back to front: the dome, two night panels that part from the
   centre, the doors (which fade as the panels part), then the copy. Every
   per frame change is a transform or an opacity. */
.threshold { background: var(--night); }
.threshold__dome { position: absolute; inset: 0; z-index: 1; background: var(--dome); overflow: hidden; }
.threshold__dome::after { content: ""; position: absolute; inset: auto 0 0 0; height: 44%; background: linear-gradient(rgb(22 32 57 / 0), rgb(22 32 57 / 0.82) 58%, var(--dome)); }
.threshold__dome img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.threshold__leaf { position: absolute; top: 0; bottom: 0; z-index: 2; width: calc(50% + 2px); background: var(--night); will-change: transform; }
.threshold__leaf--l { left: 0; }
.threshold__leaf--r { right: 0; }
.threshold__doors { position: absolute; z-index: 3; left: 50%; top: calc(var(--bar-h) + (100svh - var(--bar-h)) * 0.5); translate: -50% -50%; height: min(76svh, 118vw); aspect-ratio: 3 / 4; will-change: transform, opacity; }
.threshold__arch { position: absolute; inset: 0; border-radius: 999px 999px 6px 6px / 38% 38% 6px 6px; overflow: hidden; box-shadow: 0 0 0 1px #ddb24e40, 0 60px 120px -40px #000; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.threshold__arch :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.threshold__wall { position: absolute; z-index: 4; left: var(--sc-gutter); top: calc(var(--bar-h) + (100svh - var(--bar-h)) * 0.5); translate: 0 -50%; width: min(24rem, 30vw); }
.threshold__wall .display { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.3rem); }
.threshold__aside { position: absolute; z-index: 4; right: var(--sc-gutter); top: calc(var(--bar-h) + (100svh - var(--bar-h)) * 0.5); translate: 0 -50%; width: min(21rem, 26vw); margin: 0; color: var(--dark-muted); font-size: 1.05rem; line-height: 1.6; }
.threshold__inside { position: absolute; z-index: 4; left: 50%; bottom: clamp(36px, 10svh, 110px); translate: -50% 0; width: min(36rem, calc(100vw - 2 * var(--sc-gutter))); margin: 0; text-align: center; font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); font-weight: 600; font-stretch: 108%; line-height: 1.28; color: var(--paper); text-wrap: balance; text-shadow: 0 2px 18px #0b1429; }

/* -------------------------------------------------------- 7 inside -- */

/* ------------------------------------------------------ questions -- */
.questions { padding-block: calc(var(--sc-section) * 0.6) calc(var(--sc-section) * 0.6 + var(--cap-h)); }
.questions__grid { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.answers details { border-top: 1px solid var(--line); }
.answers summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 44px; padding: 16px 0; cursor: pointer; font-weight: 620; list-style: none; transition: color 160ms var(--sc-ease-out); }
.answers summary::-webkit-details-marker { display: none; }
.answers summary::after { content: ""; flex: none; width: 13px; height: 13px; margin-top: 0.42em; color: var(--gold-ink); background: linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat; transition: rotate 200ms var(--sc-ease-out); }
.answers details[open] summary::after { rotate: 45deg; }
@media (hover: hover) and (pointer: fine) { .answers summary:hover { color: var(--gold-ink); } }
.answers details p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

/* ---------------------------------------------------------- foot -- */
.foot { --ground: var(--navy); position: relative; background: var(--navy); color: var(--paper); padding-block: clamp(48px, 7vw, 96px) 40px; }
.foot__in { display: grid; justify-items: center; text-align: center; }
.foot__emblem { width: clamp(88px, 9vw, 120px); height: auto; overflow: visible; }
.foot__emblem .foot__stone { fill: url(#g-ivory) #f6f1e6; }
.foot__tag { margin: 24px 0 0; font-weight: 700; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase; font-size: clamp(0.95rem, 0.5rem + 2vw, 2.2rem); max-width: 100%; }
.foot__tag span { color: var(--gold); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; margin-top: 22px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dark-muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--paper); } }
.foot :focus-visible { outline-color: var(--gold); }
.foot__fine { max-width: 48rem; margin: 28px 0 0; padding-top: 28px; border-top: 1px solid var(--dark-line); color: var(--dark-muted); font-size: 0.8rem; line-height: 1.65; text-wrap: pretty; }
.foot__copy { margin: 14px 0 0; color: var(--dark-muted); font-size: 0.78rem; }

/* Narrow desktops: the sample brief steps right, over the doorway, so it never crowds the lede. */
@media (min-width: 761px) and (max-width: 1180px) {
  .brief { right: calc(6vw + min(29vw, 47svh) * 0.3); }
}

/* The phone dock (home.js dockShow): the free preview ask on a card at the foot of a phone screen, once the hero's own
   ask has gone; ivory with a navy button so it reads on the ivory rooms and the navy ones alike. */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed; inset: auto 0 0 0; z-index: var(--sc-z-chrome); display: block;
    padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none;
    opacity: 0; visibility: hidden; translate: 0 14px;
    transition: opacity 240ms var(--sc-ease-out), translate 320ms var(--sc-ease-out), visibility 0s linear 320ms;
  }
  .dock.is-on { opacity: 1; visibility: visible; translate: none; transition-delay: 0s; }
  .dock__cta {
    pointer-events: auto; display: flex; width: 100%; min-height: 52px; justify-content: center;
    box-shadow: 0 0 0 6px rgb(255 253 248 / 0.96), 0 18px 34px -14px rgb(13 31 64 / 0.6);
  }
}

/* Tablets: the room's name in the bar gives way before it can run over the wordmark; the button keeps its spoken name. */
@media (min-width: 761px) and (max-width: 980px) { .meter__room { display: none; } }

/* ------------------------------------------------------------ phones -- */
@media (max-width: 760px) {
  :root { --bar-h: 58px; --cap-h: 40px; }

  .wordmark__sub, .meter__room { display: none; }
  .wordmark__name { font-size: 0.8rem; letter-spacing: 0.07em; }
  .bar__cta { display: none; }
  .bar:not(.is-past-door) .bar__end > :not(.bar__cta) { translate: none; }
  .brand { gap: 8px; flex: 0 1 auto; }
  .brand__mark { width: 34px; height: 34px; }
  .bar__in { gap: 8px; }
  .bar__end { gap: 6px; flex: none; }
  .meter { padding: 0 6px; min-height: 44px; }
  .meter__arch { width: 38px; height: 22px; }
  .btn--bar { padding: 0 12px; }
  .btn--bar { min-height: 44px; padding: 0 14px; font-size: 0.88rem; }
  .entrance__copy { top: calc(var(--bar-h) + 22px); translate: none; max-width: none; right: var(--sc-gutter); }
  .entrance__copy > * + * { margin-top: var(--sc-4); }
  .entrance__copy .actions { margin-top: var(--sc-5); gap: 12px 22px; }
  .display--hero { font-size: clamp(2.2rem, 9.6vw, 2.75rem); }
  .lede { font-size: 1rem; }
  .door { width: max(150px, min(70vw, 40svh, calc((106svh - 520px) * 0.75))); right: auto; left: 50%; top: auto; bottom: -6svh; translate: -50% 0; }
  .brief { width: calc(100vw - 2 * var(--sc-gutter)); right: auto; left: var(--sc-gutter); top: calc(var(--bar-h) + 18px); bottom: auto; }
  .brief__chart { height: 96px; }
  .brief__thing p:last-child { display: none; }
  .facts { width: auto; right: var(--sc-gutter); bottom: 16px; gap: 14px 18px; padding: 16px 18px; }
  .facts dt { font-size: 1.3rem; }
  .facts dd { font-size: 0.82rem; }
  .study__grid, .plan__in, .desk__grid, .questions__grid { grid-template-columns: minmax(0, 1fr); }
  .study__portrait { max-width: 18rem; margin-inline: auto; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .plan__in { gap: 24px; }
  .courses { gap: 10px; padding-left: 22px; }
  .courses::before, .courses::after { left: 4px; }
  .course { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 16px; }
  .course::before { left: -22px; top: 18px; width: 10px; height: 10px; }
  .course__name h3 { font-size: 1.05rem; }
  .creations__head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .elevation { justify-self: center; width: min(100%, 26rem); }
  .elevation__name { font-size: 19px; }
  .elevation__stone--key .elevation__name { font-size: 18px; }
  .keystone { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "body" "block"; padding: 20px 18px 24px; border-radius: 22px; }
  .keystone__block { grid-template-columns: minmax(0, 1fr); }
  .keystone__block > div { padding: 14px 0 12px; }
  .keystone__block > div + div { border-left: 0; border-top: 1px solid rgb(184 194 214 / 0.16); }
  .keystone__marks { inset: 10px; }
  .keystone__stage { width: min(78vw, 22rem); margin-inline: auto; }
  .hall__link { margin-left: 0; }
  .threshold__wall { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: calc(var(--bar-h) + 18px); translate: none; }
  .threshold__wall .display { font-size: 1.85rem; }
  .threshold__doors { height: min(58svh, 112vw); top: auto; bottom: 7svh; translate: -50% 0; }
  .threshold__aside { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: auto; bottom: 16px; translate: none; font-size: 0.95rem; padding: 12px 14px; border-radius: 12px; background: rgb(11 20 41 / 0.88); }
  .threshold__inside { bottom: 28px; font-size: 1.3rem; }
  .answers { grid-template-columns: minmax(0, 1fr); }
  .desk__frame { border-radius: 999px 999px 14px 14px / 60% 60% 14px 14px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .lede { display: none; }
}
@media (max-width: 374px) {
  .brand__text { display: none; }
}

/* ------------------------------------------------------- the workspace --
   Inside the desk room (12 Oct 2026, Jordan: "a space where they can trade ... they have everything in front of
   them", the journal, the briefs and the learning, "without giving out the sauce"). Four small, honest pictures of
   the member workspace: no prices, no results, labelled as illustrations. */
.tool__art { position: relative; padding: 18px; border-radius: 22px 22px 14px 14px; background: linear-gradient(160deg, #fffdf8, #f4ecdb); border: 1px solid var(--line); box-shadow: var(--sc-e2); display: grid; place-items: center; overflow: hidden; }
.tool__art::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 1.5px; background: linear-gradient(90deg, transparent, #916b23 20%, #916b23 80%, transparent); }

/* The miniature screens. */
.mini { width: 100%; max-width: 280px; display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 0 #fff inset, 0 16px 30px -22px hsl(222 64% 18% / 0.45); font-size: 11px; color: var(--navy); }
.mini__mast { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 11px; letter-spacing: 0.01em; }
.mini__mast img { width: 16px; height: 16px; }
.mini__listen { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--navy); color: var(--paper); font-weight: 650; }
.mini__listen svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.mini__listen svg path:first-child { fill: currentColor; }
.mini__rows { list-style: none; margin: 0; padding: 0; display: grid; }
.mini__rows li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid #efe9dc; }
.mini__rows span { color: var(--muted); font-weight: 600; }
.mini__rows strong { font-weight: 650; }
.mini__rows em { font-style: normal; font-weight: 650; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: #f2ecdf; color: var(--muted); }
.mini__rows em.is-review { background: #f4ead2; color: #5f4510; }
.mini__week { display: flex; align-items: end; gap: 4px; height: 26px; padding-top: 4px; border-top: 1px solid #efe9dc; }
.mini__week span { margin-right: auto; align-self: center; color: var(--muted); font-weight: 600; }
.mini__week i { width: 14px; height: 8px; border-radius: 3px; background: #e6dfcf; }
.mini__week i.is-big { height: 18px; background: var(--navy); }
.mini__pair { font-size: 13px; }
.mini__dir { padding: 2px 7px; border-radius: 999px; background: #e1eee5; color: #1b5a39; font-size: 11px; }
.mini__src { margin-left: auto; color: var(--muted); font-weight: 600; }
.mini__levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini__levels li { display: grid; grid-template-columns: 74px minmax(0, 1fr) 16px; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #f7f2e6; }
.mini__levels span { color: var(--muted); font-weight: 600; }
.mini__levels b { height: 7px; border-radius: 4px; background: linear-gradient(90deg, #c9d3e8, #e3e8f1); }
.mini__levels svg { width: 14px; height: 14px; fill: none; stroke: var(--gold-ink); stroke-width: 1.4; }
.mini__copy { justify-self: start; padding: 6px 11px; border-radius: 8px; background: var(--navy); color: var(--paper); font-weight: 650; }

@media (max-width: 760px) {
  .tool__art { padding: 22px 18px; }
}

/* Any caret on the page wears the readable gold. */
:where(input, textarea) { caret-color: var(--gold-ink); }

/* ------------------------------------------- founding seats (open) -- */
/* The page carries both the invite only and the open words; whichever is hidden stays hidden, whatever its class sets. */
[data-enroll-open][hidden], [data-enroll-closed][hidden], [data-enroll-full][hidden], [data-enroll-founding-only][hidden] { display: none !important; }
/* Shown only while the Architect's enrollment switch is open (enrollment.js); the page is invite only without it.
   The seat board is the one loud thing: a keystone for every seat, navy once taken, a gold outline while open. */
.seats-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #f4ead2; color: var(--navy); font-size: 0.86rem; font-weight: 620; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1px rgb(122 90 18 / 0.28); }
.seats-chip__dot, .hero-seats__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-ink); box-shadow: 0 0 0 0 rgb(221 178 78 / 0.7); animation: seats-pulse 2.4s ease-out 3; flex: none; }
.hero-seats__dot { margin-top: 0.45em; }
@keyframes seats-pulse { 0% { box-shadow: 0 0 0 0 rgb(221 178 78 / 0.7); } 70%, 100% { box-shadow: 0 0 0 8px rgb(221 178 78 / 0); } }
@media (hover: hover) and (pointer: fine) { .seats-chip:hover { background: #efe0bb; } }
.seats-chip:focus-visible { border-radius: 999px; }
.hero-seats { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--navy); font-size: 0.95rem; font-weight: 560; line-height: 1.4; }
.entrance__copy .hero-seats { margin-top: var(--sc-4); }

.founding { --ground: var(--parchment); padding-block: calc(var(--sc-section) * 0.7); }
.founding__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.founding__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: var(--sc-5) 0 0; }
.founding__amount { font-family: var(--sc-font-display); font-weight: 640; font-stretch: 112%; font-size: clamp(3.4rem, 2.4rem + 3.6vw, 5.6rem); letter-spacing: -0.035em; line-height: 0.9; color: var(--navy); font-variant-numeric: tabular-nums; }
.founding__per { color: var(--muted); font-size: 1.05rem; }
.founding__yearly { margin: 10px 0 0; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.founding__terms { list-style: none; margin: var(--sc-5) 0 0; padding: 0; display: grid; gap: 12px; max-width: 46ch; }
.founding__terms li { position: relative; padding-left: 28px; color: var(--navy); line-height: 1.5; }
.founding__terms li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 12px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.founding .actions { margin-top: var(--sc-6); }
.founding__fine { margin-top: var(--sc-5); max-width: 52ch; color: var(--muted); font-size: 0.85rem; line-height: 1.55; }

.seats { margin: 0; padding: clamp(20px, 3vw, 36px); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sc-e3); }
.seats__board { display: grid; grid-template-columns: repeat(var(--cols, 10), minmax(0, 1fr)); gap: clamp(6px, 1vw, 10px); }
.seat { position: relative; aspect-ratio: 7 / 6; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.seat::after { content: ""; position: absolute; inset: 2px 2px 2px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%); }
.seat--taken { background: var(--navy); animation: seat-set 420ms var(--sc-ease-out, ease-out) both; animation-delay: calc(var(--i, 0) * 22ms); }
.seat--taken::after { content: none; }
@keyframes seat-set { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.seats__board--bar { display: block; height: 14px; border-radius: 999px; background: var(--parchment); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.seats__fill { display: block; height: 100%; background: var(--navy); }
.seats__count { margin-top: clamp(18px, 2.4vw, 28px); padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.seats__count strong { color: var(--navy); font-family: var(--sc-font-display); font-size: 2rem; font-weight: 640; font-stretch: 112%; font-variant-numeric: tabular-nums; margin-right: 4px; }

.enroll-preview { position: fixed; z-index: calc(var(--sc-z-chrome, 50) + 1); left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); translate: -50% 0; width: min(34rem, calc(100vw - 32px)); padding: 12px 16px; border-radius: 12px; background: var(--navy); color: var(--paper); font-size: 0.88rem; line-height: 1.45; box-shadow: var(--sc-e3); border: 1px solid var(--gold); }

@media (max-width: 760px) {
  .founding__grid { grid-template-columns: minmax(0, 1fr); }
  .seats { order: -1; }
}
@media (max-width: 520px) {
  .seats-chip { display: none; }
}

/* ---------------------------------------------- what it fixes, 14 Oct 2026 -- */
.pain { padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.6 + var(--cap-h)); }
.pain::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(221 178 78 / 0.08) 0.7px, transparent 0.7px), linear-gradient(90deg, rgb(221 178 78 / 0.08) 0.7px, transparent 0.7px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 52%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 60% 58% at 50% 52%, #000 25%, transparent 72%); }
.pain > .wrap { position: relative; z-index: 1; }
.pain__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.pain__head .body { justify-self: end; margin-top: 0; }
.aches { list-style: none; margin: clamp(28px, 4vw, 52px) auto 0; padding: 0 var(--sc-gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); counter-reset: ache; }
.ache { position: relative; display: flex; flex-direction: column; counter-increment: ache; padding: clamp(22px, 2.6vw, 30px); border-radius: 18px; background: linear-gradient(165deg, var(--navy-raised), var(--navy-deep) 78%); border: 1px solid rgb(221 178 78 / 0.24); box-shadow: 0 22px 44px -28px rgb(0 0 0 / 0.7); }
.ache::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1.5px; background: linear-gradient(90deg, transparent, #916b23 20%, #916b23 80%, transparent); }
.ache__words { margin: 0; font-family: var(--sc-font-display); font-weight: 560; font-size: 1.12rem; line-height: 1.32; letter-spacing: -0.012em; color: var(--paper); text-wrap: pretty; }
.ache h3 { position: relative; margin: 18px 0 0; padding: 14px 0 0 24px; border-top: 1px solid var(--dark-line); font-size: 1.1rem; font-weight: 660; letter-spacing: -0.01em; color: var(--gold); line-height: 1.3; }
.ache h3::before { content: ""; position: absolute; left: 0; top: calc(14px + 0.3em); width: 14px; height: 12px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.ache__fix { margin: 8px 0 0 24px; color: var(--dark-muted); font-size: 0.95rem; line-height: 1.58; }
.ache__to { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin: auto 0 -10px 24px; padding-top: 10px; color: var(--paper); font-size: 0.9rem; font-weight: 620; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
@media (hover: hover) { .ache__to:hover { color: var(--gold); } }
.ache__to:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.pain__fine { margin: 22px auto 0; color: var(--dark-muted); font-size: 0.85rem; }

/* ---------------------------------------------- the three doors, 14 Oct 2026 -- */
.doors { --ground: var(--parchment); padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.7 + var(--cap-h)); }
/* The heading stands on the same centred column as the two doors below it. */
.doors__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sc-5); max-width: 60rem; }
.doors__head .body { margin-top: 0; }
.doors__grid { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); align-items: stretch; max-width: 60rem; }
.way { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 0 clamp(22px, 2.6vw, 30px) clamp(24px, 2.8vw, 32px); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sc-e2); overflow: hidden; }
.way .arch { flex: none; width: calc(100% + 2 * clamp(22px, 2.6vw, 30px)); max-width: none; margin: 0 calc(-1 * clamp(22px, 2.6vw, 30px)); height: auto; aspect-ratio: 240 / 140; display: block; }
.way__plaque { position: absolute; left: 50%; top: 34px; z-index: 2; transform: translateX(-50%); margin: 0; padding: 7px 16px; border-radius: 999px; background: var(--navy); color: var(--paper); font-size: 0.78rem; font-weight: 640; letter-spacing: 0.03em; white-space: nowrap; box-shadow: var(--sc-e2); }
.way__plaque--gold { background: var(--gold); color: var(--navy-deep); }
.way h3 { margin: 6px 0 0; font-size: 1.45rem; font-weight: 660; letter-spacing: -0.018em; line-height: 1.1; color: var(--navy); }
.way__lede { margin: 0; color: var(--muted); line-height: 1.58; font-size: 0.97rem; }
.way__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.way__list li { position: relative; padding-left: 26px; color: var(--navy); line-height: 1.5; font-size: 0.95rem; }
.way__list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 12px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.way__held { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.way .btn, .way .link-quiet { margin-top: auto; align-self: flex-start; }
.way .btn { margin-top: auto; }
.way .link-quiet { padding-top: 6px; }
.way--member { background: var(--navy); border-color: var(--navy); color: var(--paper); box-shadow: var(--sc-e3); }
.way--member .arch__band { stroke: #0b1a36; }
.way--member h3, .way--member .way__list li { color: var(--paper); }
.way--member .way__lede { color: var(--dark-muted); }
@media (max-width: 1100px) { .aches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pain__head, .doors__head { grid-template-columns: minmax(0, 1fr); }
  .pain__head .body, .doors__head .body { justify-self: start; }
  .aches, .doors__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ache { padding: 20px 18px 22px; }
  .way { padding-left: 20px; padding-right: 20px; }
  .way .arch { width: calc(100% + 40px); margin: 0 -20px; }
}
/* The closed state, said once above the headline (14 Oct 2026). */
.hero-status { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; box-shadow: var(--sc-e1); }
.hero-status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgb(221 178 78 / 0.22); flex: none; }
.entrance__copy > .hero-status + h1 { margin-top: var(--sc-4); }
@media (max-width: 760px) {
  .hero-signin { display: none; }
  .hero-status { font-size: 0.76rem; padding: 6px 12px 6px 10px; }
  .entrance__copy > .hero-status + h1 { margin-top: 14px; }
}
/* Short phone screens (browser bars showing): the headline keeps its four lines and the doorway gives way. */
@media (max-width: 760px) and (max-height: 700px) {
  .door { width: max(150px, min(70vw, 40svh, calc((106svh - 400px) * 0.75))); }
}

/* Sightline (index.html #sightline): the Architect's newest creation, shown the way the Scanner and the family are, as
   an exhibit, and told by the questions it answers for the trader. The dome is an architect's plan of a vault seen
   from below on a sheet of good paper, numbered on the drawing and lit from the questions beside it. It inks itself
   once when it comes into view; the hand is the only live thing on it, the hour now in Pacific. */
.sightline { padding-block: calc(var(--sc-section) * 0.7) calc(var(--sc-section) * 0.55 + var(--cap-h)); background-image: radial-gradient(ellipse 70% 50% at 50% 18%, rgb(255 253 248 / 0.9), transparent 70%); }
/* The exhibit: his painted dome, drawn as the reflected plan of a dome on a square bay (apps/landing/README.md). Round
   it, an engraved 24 hour band in Pacific time with a gold keystone set at the hour now (home.js); outside that the
   springing ring and its degrees, the bay with its corners crossed, the pendentive diagonals and the centre lines. The
   construction inks once, the band's ink follows, and the keystone is set last. The Scanner keeps the arch. */
.sightline__exhibit { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 4vw, 56px) clamp(32px, 5.5vw, 88px); }
.sightline__stage { position: relative; isolation: isolate; margin: 0; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.sightline__stage::before { content: ""; position: absolute; inset: 1.5%; z-index: -1; border-radius: 50%; background: radial-gradient(circle at 36% 26%, #fdfaf2, #f2ead8 60%, #e7dcc3); box-shadow: 0 1px 3px rgb(13 31 64 / 0.12), 0 46px 80px -40px rgb(13 31 64 / 0.55); }
.sightline__mount { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sightline__draft { fill: none; stroke: rgb(122 90 18 / 0.34); stroke-width: 0.8; }
.sightline__draft > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--sc-ease-out); }
.sightline__draft > :nth-child(2) { transition-delay: 120ms; } .sightline__draft > :nth-child(3) { transition-delay: 260ms; } .sightline__draft > :nth-child(4) { transition-delay: 420ms; } .sightline__draft > :nth-child(5) { transition-delay: 560ms; }
.sightline__degrees { fill: none; stroke: rgb(122 90 18 / 0.42); stroke-width: 0.7; }
.sightline__rule { fill: none; stroke: rgb(150 112 34 / 0.75); stroke-width: 0.9; }
.sightline__quarter { fill: none; stroke: rgb(18 41 81 / 0.38); stroke-width: 0.7; }
.sightline__hourtick { fill: none; stroke: rgb(18 41 81 / 0.7); stroke-width: 1; }
.sightline__slot { display: none; }
.sightline__hour { fill: var(--navy); font-family: var(--sc-font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.sightline__degrees, .sightline__band { opacity: 0; transition: opacity 800ms var(--sc-ease-out) 650ms; }
.sightline__hand { visibility: hidden; transform-box: view-box; transform-origin: 200px 200px; rotate: var(--sl-hand, 0deg); }
.sightline__hand.is-set { visibility: visible; }
.sightline__key { opacity: 0; translate: 0 -14px; transition: opacity 360ms ease 1350ms, translate 760ms cubic-bezier(.2, 1.3, .4, 1) 1350ms; }
.sightline__stage.sc-in .sightline__draft > * { stroke-dashoffset: 0; }
.sightline__stage.sc-in .sightline__degrees, .sightline__stage.sc-in .sightline__band, .sightline__stage.sc-in .sightline__key { opacity: 1; }
.sightline__stage.sc-in .sightline__key { translate: none; }
.no-js .sightline__draft > * { stroke-dashoffset: 0; } .no-js .sightline__degrees, .no-js .sightline__band { opacity: 1; } .no-js .sightline__hand { display: none; }
.sightline__arch { width: 84%; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 0 0 1px rgb(13 31 64 / 0.45); }
@media (hover: hover) and (pointer: fine) { .sightline__stage:hover .exhibit__arch img, .sightline__stage:hover .exhibit__motion { scale: 1.03; } }
.sightline__head { min-width: 0; }
.sightline__epithet { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); color: var(--gold-ink); }
.sightline__head .body { margin: 22px 0 0; max-width: 36rem; font-size: 1.04rem; }
.sightline__note { margin: 18px 0 0; padding-left: 26px; position: relative; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--navy); }
.sightline__head .body + .body { margin-top: 14px; }
/* Three quick facts under the words, set like the hero's: a large word and the line it opens. */
.sightline__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 26px 0 0; border-top: 1px solid rgb(145 107 35 / 0.35); }
.sightline__facts > div { padding: 14px 16px 0 0; }
.sightline__facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.sightline__facts dt { font-family: var(--sc-font-display); font-weight: 660; font-stretch: 112%; font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); }
.sightline__facts dd { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.sightline__note::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 12px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }

/* The plan: a drawing sheet, squared by registration marks, its title block along the foot. */
.sightplan { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); grid-template-areas: "dome legend" "block block"; align-items: center; gap: clamp(24px, 3.4vw, 48px) clamp(28px, 4.4vw, 72px); margin-top: clamp(36px, 5vw, 64px); padding: clamp(22px, 3.2vw, 48px); border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset, 0 2px 4px rgb(18 41 81 / 0.04), 0 40px 80px -46px rgb(18 41 81 / 0.42); }
.sightplan::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1.5px; background: linear-gradient(90deg, transparent, #916b23 22%, #916b23 78%, transparent); opacity: 0.8; }
.sightplan::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: linear-gradient(rgb(18 41 81 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(18 41 81 / 0.045) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 32% 50%, #000 24%, transparent 78%); }
.sightplan__marks { position: absolute; inset: 14px; pointer-events: none; --m: rgb(122 90 18 / 0.55);
  background:
    linear-gradient(var(--m), var(--m)) left top / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) left top / 1px 16px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) right top / 1px 16px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 16px 1px no-repeat, linear-gradient(var(--m), var(--m)) right bottom / 1px 16px no-repeat; }
.sight { grid-area: dome; margin: 0; min-width: 0; }
.sight__dome { display: block; width: 100%; height: auto; overflow: visible; }
.sight__caption { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 0.8rem; }

/* The drawing. Ink and plaster in the desk's own colours; gold only on the keystone of the hand and the oculus. */
.sight__draft { fill: none; stroke: rgb(122 90 18 / 0.3); stroke-width: 0.8; }
.sight__hair { fill: none; stroke: rgb(221 178 78 / 0.5); stroke-width: 1; }
.sight__hair--gold { stroke: rgb(183 138 42 / 0.55); }
.sight__session { fill: #fffdf8; opacity: 0.075; }
.sight__lane { fill: rgb(255 253 248 / 0.66); font-family: var(--sc-font-display); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; }
.sight__tick { stroke: rgb(255 253 248 / 0.42); stroke-width: 1; }
.sight__tick--long { stroke: var(--gold); stroke-width: 1.4; }
.sight__hour { fill: rgb(255 253 248 / 0.88); font-family: var(--sc-font-display); font-size: 13.5px; font-weight: 560; font-variant-numeric: tabular-nums; }
.sight__hand { transform-box: view-box; transform-origin: 340px 340px; rotate: var(--sl-hand, 112.5deg); }
.sight__hand path { fill: #fffdf8; }
.sight__hand .sight__hand-key { fill: var(--gold); stroke: #0d1f40; stroke-width: 1; }
.sight__mark--u { fill: #86b99a; } .sight__mark--d { fill: #d69a93; } .sight__mark--f { fill: #d8ccb1; }
.sight__bed { fill: none; stroke: rgb(18 41 81 / 0.14); stroke-width: 1; }
.sight__coffer > path:first-child { stroke: rgb(18 41 81 / 0.1); stroke-width: 1; }
.sight__recess { stroke: rgb(255 255 255 / 0.75); stroke-width: 0.8; }
.sight__coffer--u > path:first-child { fill: #b9d6c2; } .sight__coffer--u .sight__recess { fill: #d6e9dc; }
.sight__coffer--d > path:first-child { fill: #e4b6ad; } .sight__coffer--d .sight__recess { fill: #f1d3cd; }
.sight__coffer--f > path:first-child { fill: #ddd1b6; } .sight__coffer--f .sight__recess { fill: #ece3cf; }
.sight__eye-ring { fill: none; stroke-width: 3.5; }
.sight__verdict-small { fill: var(--muted); font-family: var(--sc-font-display); font-size: 12.5px; font-weight: 560; }
.sight__verdict { fill: var(--navy); font-family: var(--sc-font-display); font-size: 26px; font-weight: 660; font-stretch: 112%; letter-spacing: -0.02em; }
.sight__callout path { fill: none; stroke: rgb(122 90 18 / 0.6); stroke-width: 0.9; }
.sight__callout circle { fill: var(--gold-ink); }
.sight__callout .sight__badge { fill: var(--paper); stroke: var(--gold-ink); stroke-width: 1.2; transition: fill 200ms ease; }
.sight__callout text { fill: var(--gold-ink); font-family: var(--sc-font-display); font-size: 14px; font-weight: 660; transition: fill 200ms ease; }

/* Lit from the legend: the part named stays, the rest steps back. */
.sight__part { transition: opacity 260ms var(--sc-ease-out); }
.sight[data-lit="rim"] .sight__part:not([data-part="rim"]), .sight[data-lit="record"] .sight__part:not([data-part="record"]),
.sight[data-lit="coffers"] .sight__part:not([data-part="coffers"]), .sight[data-lit="oculus"] .sight__part:not([data-part="oculus"]) { opacity: 0.16; }
.sight[data-lit="rim"] [data-callout="rim"] .sight__badge, .sight[data-lit="record"] [data-callout="record"] .sight__badge,
.sight[data-lit="coffers"] [data-callout="coffers"] .sight__badge, .sight[data-lit="oculus"] [data-callout="oculus"] .sight__badge { fill: var(--gold-ink); }
.sight[data-lit="rim"] [data-callout="rim"] text, .sight[data-lit="record"] [data-callout="record"] text,
.sight[data-lit="coffers"] [data-callout="coffers"] text, .sight[data-lit="oculus"] [data-callout="oculus"] text { fill: var(--paper); }

/* The legend. */
.sight__legend { grid-area: legend; min-width: 0; }
.sight__legend-title { margin: 0 0 10px; font-size: 1.15rem; font-weight: 650; font-stretch: 108%; color: var(--navy); letter-spacing: -0.01em; }
.sight__parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sight__parts li { border-bottom: 1px solid var(--line); }
.sight__part-btn { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "num name" "num text"; column-gap: 14px; width: 100%; min-height: 44px; margin: 0; padding: 14px 10px 14px 4px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 200ms ease; }
.sight__part-btn:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.sight__num { grid-area: num; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; border: 1.2px solid var(--gold-ink); color: var(--gold-ink); font-size: 0.86rem; font-weight: 660; font-variant-numeric: tabular-nums; transition: background-color 200ms ease, color 200ms ease; }
.sight__part-name { grid-area: name; color: var(--navy); font-weight: 650; font-size: 1rem; line-height: 1.4; }
.sight__part-text { grid-area: text; margin-top: 4px; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.sight__part-btn[aria-pressed="true"] { background: var(--parchment); }
.sight__part-btn[aria-pressed="true"] .sight__num { background: var(--gold-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .sight__part-btn:hover { background: rgb(242 236 223 / 0.6); } }
.no-js .sight__part-btn { cursor: default; }

/* The title block along the foot of the sheet, three cells between hairlines. */
.sightplan__block { grid-area: block; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgb(145 107 35 / 0.35); }
.sightplan__block > div { padding: 18px clamp(16px, 2vw, 28px) 4px; }
.sightplan__block > div + div { border-left: 1px solid var(--line); }
.sightplan__block > div:first-child { padding-left: 0; }
.sightplan__block dt { color: var(--navy); font-weight: 650; font-size: 0.98rem; line-height: 1.35; }
.sightplan__block dd { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* The board and the check: two smaller sheets from the same drawing set. */
.sheets { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(18px, 2.4vw, 28px); }
.sheet { position: relative; padding: clamp(20px, 2.6vw, 32px); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset, 0 1px 2px rgb(18 41 81 / 0.04), 0 18px 36px -28px rgb(18 41 81 / 0.28); }
.sheet h3 { margin: 0; font-size: 1.15rem; font-weight: 650; font-stretch: 108%; color: var(--navy); letter-spacing: -0.01em; }
.sheet__lede { margin: 8px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.55; max-width: 34rem; }
.sheet--board { display: flex; flex-direction: column; }
.sheet__foot { margin: auto 0 0; padding-top: 18px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1rem; }
.board { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.board__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "dome pair" "dome words"; column-gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--ivory); }
.board__row .mini-dome { grid-area: dome; width: 40px; height: 40px; }
.board__pair { grid-area: pair; color: var(--navy); font-weight: 650; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.board__words { grid-area: words; color: var(--muted); font-size: 0.88rem; }
.board__row.is-pinned { grid-template-areas: "dome pair" "dome words" "dome pin"; border-color: rgb(145 107 35 / 0.45); background: #fbf6ea; }
.board__pin { grid-area: pin; justify-self: start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: #f4ead2; color: var(--gold-ink); font-size: 0.78rem; font-weight: 640; }
.mini-dome__q--u { fill: #cfe3d5; } .mini-dome__q--d { fill: #ebc8c1; } .mini-dome__q--f { fill: #e6dcc6; }
.mini-dome__eye { fill: #fffdf8; stroke: var(--gold); stroke-width: 1.2; }

.check { display: grid; grid-template-columns: minmax(96px, 0.5fr) minmax(0, 1fr); gap: 18px 24px; align-items: center; margin-top: 18px; }
.check__trade { width: 100%; max-width: 180px; height: auto; display: block; }
.check__reward { fill: #e1eee5; } .check__risk { fill: #f6e5e1; }
.check__line { stroke-width: 1.6; fill: none; } .check__line--target { stroke: #256844; } .check__line--entry { stroke: var(--navy); stroke-width: 2; } .check__line--stop { stroke: #a23e3c; }
.check__turn { stroke: #916b23; stroke-width: 1.4; stroke-dasharray: 4 4; fill: none; }
.check__label { fill: var(--muted); font-family: var(--sc-font-display); font-size: 12px; font-weight: 560; }
.check__label--strong { fill: var(--navy); font-weight: 660; }
.check__r { fill: rgb(18 41 81 / 0.55); font-family: var(--sc-font-display); font-size: 12px; font-weight: 640; }
.check__answer { min-width: 0; }
.check__found { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.check__found li { display: grid; grid-template-columns: 22px minmax(0, 5.5rem) minmax(0, 1fr); column-gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.check__found b { color: var(--navy); font-weight: 640; }
.check__found span:last-child { color: var(--muted); }
.check__mark { position: relative; top: 3px; width: 16px; height: 16px; border-radius: 50%; }
.is-good .check__mark { background: #e1eee5; box-shadow: inset 0 0 0 1px #256844; }
.is-good .check__mark::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #256844; border-width: 0 1.6px 1.6px 0; rotate: 45deg; }
.is-watch .check__mark { background: #fff0d1; box-shadow: inset 0 0 0 1px #855400; }
.is-watch .check__mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 1.8px; height: 6px; background: #855400; box-shadow: 0 8px 0 #855400; }
.is-watch b { color: #855400; }
.odds { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); }
.odds__label { margin: 0; color: var(--navy); font-weight: 640; font-size: 0.9rem; }
.odds__bar { position: relative; height: 10px; margin-top: 10px; border-radius: 999px; background: #ebe3d1; overflow: visible; }
.odds__fill { position: absolute; inset: 0 auto 0 0; width: 34%; border-radius: 999px; background: var(--navy); }
.odds__even { position: absolute; top: -5px; bottom: -5px; left: 33.3%; width: 2px; border-radius: 2px; background: #916b23; }
.odds__words { margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.check__verdict { margin: 0; color: var(--navy); font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.35; }

.sightline__close { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 30px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.sightline__lead { margin: 0; color: var(--navy); font-size: 1.1rem; font-weight: 620; }
.sightline__close .body { margin: 0; font-size: 0.98rem; }
.sightline__link { margin-left: auto; }
.sightline__fine { flex-basis: 100%; margin: 6px 0 0; color: var(--muted); font-size: 0.8rem; }

/* It inks itself once: the sheet's lines draw, the rim settles, the coffers fill ring by ring from the rim in, then the
   record and the oculus, and last the callouts. Without the script, or with less motion asked for, it is simply drawn. */
.sight__draft > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--sc-ease-out); }
.sight__draft > :nth-child(2) { transition-delay: 140ms; } .sight__draft > :nth-child(3) { transition-delay: 280ms; } .sight__draft > :nth-child(4) { transition-delay: 380ms; }
.sight__in, .sight__callout { opacity: 0; transition: opacity 700ms var(--sc-ease-out), scale 900ms var(--sc-ease-out); transform-box: view-box; transform-origin: 340px 340px; }
.sight__in { scale: 0.975; }
.sight__in--rim { transition-delay: 120ms; }
.sight__ring--1 { transition-delay: 380ms; } .sight__ring--2 { transition-delay: 480ms; } .sight__ring--3 { transition-delay: 580ms; } .sight__ring--4 { transition-delay: 680ms; } .sight__ring--5 { transition-delay: 780ms; }
.sight__in--record { transition-delay: 900ms; } .sight__in--oculus { transition-delay: 1000ms; }
.sight__callout { transition-delay: 1300ms; }
.sightplan.sc-in .sight__draft > * { stroke-dashoffset: 0; }
.sightplan.sc-in .sight__in, .sightplan.sc-in .sight__callout { opacity: 1; scale: 1; }
.no-js .sight__draft > * { stroke-dashoffset: 0; }
.no-js .sight__in, .no-js .sight__callout { opacity: 1; scale: 1; }

@media (max-width: 1000px) {
  /* Stacked from tablets down, name first, so the drawing keeps its size instead of shrinking beside the words. */
  .sightline__exhibit { grid-template-columns: minmax(0, 1fr); gap: 28px 36px; }
  .sightline__head { order: -1; max-width: 44rem; }
  .sightline__stage { width: min(70vw, 28rem); justify-self: center; margin-top: 40px; }
  .sightplan { grid-template-columns: minmax(0, 1fr); grid-template-areas: "dome" "legend" "block"; }
  .sight { max-width: 620px; justify-self: center; width: 100%; }
  .sheets { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sightline__head .body { margin-top: 14px; }
  .sightline__stage { width: min(80vw, 21rem); margin-top: 18px; }
  .sightline__hour { font-size: 15px; }
  .sightline__hour--minor { display: none; }
  .sightline__slot { display: inline; }
  .sightline__facts { grid-template-columns: minmax(0, 1fr); }
  .sightline__facts > div, .sightline__facts > div + div { padding: 12px 0 10px; border-left: 0; }
  .sightline__facts > div + div { border-top: 1px solid var(--line); }
  .sightplan { padding: 18px 14px 20px; border-radius: 22px; }
  .sightplan__marks { inset: 8px; }
  .sightplan__block { grid-template-columns: minmax(0, 1fr); }
  .sightplan__block > div { padding: 14px 0 6px; }
  .sightplan__block > div + div { border-left: 0; border-top: 1px solid var(--line); }
  /* On a phone the drawing is half its size, so its writing is set larger and the session names step aside. */
  .sight__lane { display: none; }
  .sight__hour { font-size: 21px; }
  .sight__callout text { font-size: 19px; }
  .sight__verdict { font-size: 30px; }
  .sight__verdict-small { font-size: 17px; }
  .check { grid-template-columns: minmax(0, 1fr); }
  .check__trade { max-width: 140px; justify-self: center; }
  .check__found li { grid-template-columns: 22px minmax(0, 1fr); }
  .check__found li span:last-child { grid-column: 2; }
  .sightline__link { margin-left: 0; }
}

/* The Workshop and the journal (8 Nov 2026): the member's arch drawn as a plan, three bays, a journal card and its
   numbers. Display only: no text under 11px, nothing loops. */
.workshop__epithet { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); color: var(--gold-ink); }
.workshop__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 0; border-top: 1px solid rgb(145 107 35 / 0.35); }
.workshop__facts > div { padding: 14px 16px 0 0; }
.workshop__facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.workshop__facts dt { font-family: var(--sc-font-display); font-weight: 660; font-stretch: 112%; font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.workshop__facts dd { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.workshop__plan { position: relative; margin: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: 22px 22px 14px 14px; background: linear-gradient(160deg, #fffdf8, #f4ecdb); border: 1px solid var(--line); box-shadow: var(--sc-e2); }
.workshop__plan::before, .bay::after, .jcard::before, .jnum::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 1.5px; background: linear-gradient(90deg, transparent, #916b23 20%, #916b23 80%, transparent); }
.workshop__arch { display: block; width: 100%; height: auto; }
.workshop__plan figcaption { margin-top: 12px; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.workshop__trio { list-style: none; margin: clamp(28px, 4vw, 52px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.bay { position: relative; padding: clamp(22px, 2.6vw, 30px); border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sc-e1); }
.bay :is(h3, h4) { margin: 0; font-size: 1.1rem; font-weight: 660; letter-spacing: -0.01em; color: var(--navy); }
.bay p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.58; }
.bay--optional { border-style: dashed; border-color: #d9c48f; }
.journal__art { margin: 0; display: grid; gap: 16px; }
.jcard, .jnum { position: relative; padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sc-e2); }
.jcard__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-size: 0.85rem; color: var(--muted); }
.jcard__meta strong { margin-left: auto; font-weight: 680; font-variant-numeric: tabular-nums; }
.jcard__meta strong.is-good { color: #256844; }
.jcard__title { margin: 8px 0 0; font-weight: 640; color: var(--navy); font-size: 1.02rem; line-height: 1.4; }
.jcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.jcard__tags span { padding: 3px 10px; border-radius: 999px; background: #f4ead2; color: #5f4510; font-size: 0.8rem; font-weight: 600; }
.jcard__fill { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; padding: 10px 12px; border: 1px solid #e3d3a8; border-radius: 10px; background: #fbf4e2; font-size: 0.85rem; color: var(--navy); }
.jcard__fill span { padding: 4px 10px; border-radius: 999px; border: 1px solid #c9a24a; color: var(--gold-ink); font-weight: 600; font-size: 0.8rem; }
.jnum__head { margin: 0; font-weight: 640; color: var(--navy); font-size: 0.95rem; }
.jnum ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.jnum li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 3.6rem 4.4rem; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--navy); }
.jnum li i { display: block; width: 50%; height: 10px; border-radius: 999px; }
.jnum li i[data-w="78"] { width: 78%; }
.jnum li i[data-w="24"] { width: 24%; }
.jnum li i[data-w="36"] { width: 36%; }
.jnum li i.is-good { background: #5c9a74; }
.jnum li i.is-bad { background: #c46e66; }
.jnum li strong { font-weight: 660; font-variant-numeric: tabular-nums; text-align: right; }
.jnum li em { font-style: normal; color: var(--muted); font-size: 0.8rem; }
.jnum__read { margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; }
.jpoints { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.jpoints li { position: relative; padding-left: 26px; }
.jpoints li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 12px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.jpoints :is(h3, h4) { margin: 0; font-size: 1.05rem; font-weight: 660; letter-spacing: -0.01em; color: var(--navy); }
.jpoints p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 900px) {
  .workshop__trio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .workshop__plan { padding: 14px 10px 16px; }
  .workshop__plan figcaption { padding-inline: 6px; }
  .jnum li { grid-template-columns: minmax(0, 1fr) 3.4rem 4rem; }
  .jnum li i { display: none; }
}


/* The desk, one session from start to finish (8 Nov 2026, Jordan: "flows cleanly on mobile without doubling up"). The
   routine at the top links to four chapters, and each is told once. Every chapter opens on a string course: a gold rule
   with a keystone set in it. The art sits on drafting paper. Display only: no text under 11px, nothing loops, and the
   one motion (the Workshop's stones setting) runs once. */
.routine--links { gap: 4px; }
.routine--links li { display: block; }
.routine--links li::before { content: none; }
.routine--links a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 12px; margin-inline: -10px; padding: 10px; border-radius: 14px; color: inherit; text-decoration: none; transition: background-color 200ms var(--sc-ease-out); -webkit-tap-highlight-color: transparent; }
.routine--links a::before { content: counter(step); grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 0.9rem; background: var(--navy); color: var(--paper); }
.routine--links strong { margin-top: 4px; font-size: 1.1rem; font-weight: 660; color: var(--navy); }
.routine--links span { margin-top: 4px; color: var(--muted); line-height: 1.5; font-size: 0.97rem; }
@media (hover: hover) {
  .routine--links a:hover { background: rgb(255 253 248 / 0.72); }
  .routine--links a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
}
.routine--links a:active { background: rgb(255 253 248 / 0.72); }
.routine--links a:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }

.chapter { margin-top: clamp(64px, 9vw, 128px); scroll-margin-top: calc(var(--bar-h) + 8px); }
.chapter__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text art"; gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: clamp(44px, 5vw, 68px); }
.chapter--flip .chapter__grid { grid-template-areas: "art text"; }
.chapter--workshop .chapter__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.chapter__grid::before { content: ""; position: absolute; top: 0; left: var(--sc-gutter); right: var(--sc-gutter); height: 1px; background: linear-gradient(90deg, rgb(145 107 35 / 0.55), rgb(145 107 35 / 0.22) 62%, rgb(145 107 35 / 0)); }
.chapter__grid::after { content: ""; position: absolute; top: -7px; left: calc(var(--sc-gutter) + 0.55rem); width: 18px; height: 14px; background: linear-gradient(var(--gold), #c39535); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); }
.chapter--flip .chapter__grid::before { background: linear-gradient(270deg, rgb(145 107 35 / 0.55), rgb(145 107 35 / 0.22) 62%, rgb(145 107 35 / 0)); }
.chapter--flip .chapter__grid::after { left: auto; right: calc(var(--sc-gutter) + 0.55rem); }
.chapter__text { grid-area: text; min-width: 0; }
.chapter__art { grid-area: art; min-width: 0; margin: 0; }
.chapter__title { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--sc-font-display); font-weight: 640; font-stretch: 112%; font-size: clamp(1.5rem, 1.12rem + 1.25vw, 2.3rem); letter-spacing: -0.022em; line-height: 1.08; color: var(--navy); text-wrap: balance; }
.chapter__n { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--paper); font-family: var(--sc-font-text, inherit); font-size: 0.95rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; line-height: 1; }
.chapter__epithet { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.36rem); line-height: 1.35; color: var(--gold-ink); }
.chapter__text .body { margin-top: 16px; }
.chapter__art.tool__art { padding: clamp(30px, 4.6vw, 64px) clamp(20px, 3vw, 44px); background: radial-gradient(circle at 1px 1px, rgb(145 107 35 / 0.17) 1px, transparent 1.3px) 0 0 / 18px 18px, linear-gradient(160deg, #fffdf8, #f4ecdb); }
.workshop__plan { background: radial-gradient(circle at 1px 1px, rgb(145 107 35 / 0.13) 1px, transparent 1.3px) 0 0 / 18px 18px, linear-gradient(160deg, #fffdf8, #f4ecdb); }
.mini--lg { max-width: 340px; gap: 12px; padding: 16px; font-size: 12px; }
.mini--lg .mini__mast { font-size: 12.5px; }
.mini--lg .mini__rows li { grid-template-columns: 62px minmax(0, 1fr) auto; padding: 8px 0; }
.mini__verdict { margin: 0; padding: 9px 11px; border-radius: 10px; background: #f4ead2; color: var(--navy); font-family: var(--sc-font-display); font-weight: 640; font-size: 13.5px; line-height: 1.3; letter-spacing: -0.01em; }
.chapter .journal__art { gap: 18px; }
.chapter .journal__art .jcard { margin-right: clamp(0px, 3.4vw, 44px); }
.chapter .journal__art .jnum { margin-left: clamp(0px, 3.4vw, 44px); }
.desk__fine { margin: clamp(40px, 5vw, 64px) auto 0; color: var(--muted); font-size: 0.85rem; }

/* The Workshop's arch: every stone drawn as pale stone, the stones already set in gold on top, set one by one, once. */
.wa-base path, .wa-dome path, .wa-drum { fill: var(--paper); stroke: #cdbf9c; stroke-width: 1; }
.wa-base .wa-key { stroke: #b99d5c; }
.wa-set path { fill: url(#wa-gold); stroke: #916b23; stroke-width: 1; }
.wa-lantern { fill: var(--navy); }
.wa-niche path { fill: var(--paper); stroke: #b99d5c; stroke-width: 1; stroke-dasharray: 3 2.5; }
.wa-ground { fill: none; stroke: #cdbf9c; stroke-width: 1; }
.wa-construct { fill: none; stroke: rgb(145 107 35 / 0.4); stroke-width: 1; stroke-dasharray: 2 4; }
.wa-set path { transition: opacity 380ms var(--sc-ease-out), translate 640ms cubic-bezier(.2, 1.3, .4, 1); }
html:not(.no-js) .workshop__plan:not(.sc-in) .wa-set path { opacity: 0; translate: 0 -12px; }
.wa-set path:nth-child(1) { transition-delay: 260ms; }
.wa-set path:nth-child(2) { transition-delay: 340ms; }
.wa-set path:nth-child(3) { transition-delay: 420ms; }
.wa-set path:nth-child(4) { transition-delay: 500ms; }
.wa-set path:nth-child(5) { transition-delay: 580ms; }
.wa-set path:nth-child(6) { transition-delay: 660ms; }
.wa-set path:nth-child(7) { transition-delay: 760ms; }
.wa-set path:nth-child(8) { transition-delay: 840ms; }
.wa-set path:nth-child(9) { transition-delay: 920ms; }
.wa-ranks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.wa-ranks li { position: relative; padding-left: 22px; min-width: 0; }
.wa-ranks li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 13px; height: 11px; clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); background: #efe3c4; }
.wa-ranks li:nth-child(2)::before { background: #e9d39a; }
.wa-ranks li:nth-child(3)::before { background: #e4c475; }
.wa-ranks li:nth-child(4)::before { background: #dfb85c; }
.wa-ranks li:nth-child(5)::before { background: var(--gold); }
.wa-ranks li:nth-child(6)::before { background: var(--navy); }
.wa-ranks b { display: block; font-weight: 650; font-size: 0.92rem; color: var(--navy); line-height: 1.3; }
.wa-ranks span { display: block; margin-top: 2px; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.wa-ranks .is-top b { color: var(--gold-ink); }

/* The architecture, told once: each course names its rooms and links to where each is told. */
.courses--compact .course { align-items: center; }
.course__rooms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.course__rooms > * { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 13px; border-radius: 999px; font-size: 0.9rem; font-weight: 610; line-height: 1.2; }
.course__rooms a { color: var(--navy); background: var(--ivory); border: 1px solid #e3d3a8; text-decoration: none; transition: background-color 200ms var(--sc-ease-out), border-color 200ms var(--sc-ease-out); -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .course__rooms a:hover { background: #f4ead2; border-color: var(--gold); } }
.course__rooms a:active { background: #f4ead2; }
.course__rooms a:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.course__rooms span { color: var(--muted); border: 1px dashed #d9cfb6; }
.course--base .course__rooms a { background: transparent; color: var(--paper); border-color: rgb(221 178 78 / 0.5); }
@media (hover: hover) { .course--base .course__rooms a:hover { background: rgb(221 178 78 / 0.14); } }
@media (pointer: coarse) { .course__rooms > * { min-height: 44px; } }

/* The two doors took in the old inside room: its fine print, and a way in for members. */
.doors__member { max-width: 60rem; margin: clamp(28px, 4vw, 44px) auto 0; color: var(--muted); font-size: 0.95rem; }
.doors__member a { color: var(--navy); font-weight: 620; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.doors__fine { max-width: 60rem; margin: 10px auto 0; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

@media (max-width: 900px) {
  .chapter__grid, .chapter--flip .chapter__grid, .chapter--workshop .chapter__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "art"; }
  .chapter--flip .chapter__grid::before { background: linear-gradient(90deg, rgb(145 107 35 / 0.55), rgb(145 107 35 / 0.22) 62%, rgb(145 107 35 / 0)); }
  .chapter--flip .chapter__grid::after { left: calc(var(--sc-gutter) + 0.55rem); right: auto; }
  .chapter .journal__art .jcard, .chapter .journal__art .jnum { margin-inline: 0; }
}
@media (max-width: 760px) {
  .chapter { margin-top: 56px; }
  .chapter__grid { gap: 26px; padding-top: 38px; }
  .chapter__title { gap: 12px; }
  .chapter__n { width: 1.9rem; height: 1.9rem; font-size: 0.88rem; }
  .chapter__art.tool__art { padding: 26px 16px; }
  .wa-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; padding-inline: 6px; }
  .courses--compact .course { gap: 10px; }
  /* The six habits ride a sideways rail on a phone, the next card always peeking, so the desk below is a thumb away. */
  .aches { display: flex; gap: 12px; margin-top: 26px; padding: 2px var(--sc-gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .aches::-webkit-scrollbar { display: none; }
  .ache { flex: 0 0 min(84vw, 21rem); scroll-snap-align: start; }
  /* Sightline's two sheets ride the same rail, each at its own height, the second always peeking. */
  .sheets { display: flex; align-items: flex-start; gap: 12px; margin-inline: calc(-1 * var(--sc-gutter)); padding: 2px var(--sc-gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .sheets::-webkit-scrollbar { display: none; }
  .sheet { flex: 0 0 min(86vw, 22rem); scroll-snap-align: start; }
}

/* Motion runs the same way whatever a phone's Reduce Motion switch says (8 Nov 2026, Jordan: "Let's have motion run the
   same way as tranchi"): this sheet has no reduced motion rules; every motion is still finite.

   The arrival, redrawn 9 Nov 2026 (Jordan: "make the intro motion more unique more archectictual type with the logo when
   the website loads"; first built 8 Nov from tranchi.ai's quick logo load). On a full load the mark is set out like a
   drawing and built like an arch: the datum and the centre line are ruled, a compass sweeps the two curves, the piers
   rise, the stones are laid course by course up each side, the gold keystone is lowered in and the wordmark sets under
   it. Then the doors in the arch open and the wall the mark stands on comes toward the visitor until they have walked
   through the arch into the site. One svg in units of the longer side of the screen, so one scale clears every screen.
   All CSS, so it plays and clears with or without home.js, and it never takes a tap (pointer-events: none). The walk
   starts at --arrival-go; home.js brings it forward on a second visit in one session (.arrival-brief), where the
   finished mark stands a moment and the wall opens. Not over a deep link, not in print. Every motion runs once. */
:root { --arrival-go: 1560ms; }
.arrival { position: fixed; inset: 0; z-index: calc(var(--sc-z-chrome) + 10); overflow: hidden; pointer-events: none; animation: arrival-clear 1ms linear calc(var(--arrival-go) + 720ms) forwards; }
.arrival__wall { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transform-origin: 50% 50%; will-change: transform, opacity; animation: arrival-walk 720ms cubic-bezier(.32, 0, .67, 0) var(--arrival-go) both; }
.arrival__light { animation: arrival-off 260ms ease-out calc(var(--arrival-go) + 40ms) both; }
.arrival__leaf, .arrival__datum, .arrival__span, .arrival__sweep, .arrival__pier, .arrival__ring { transform-box: fill-box; }
.arrival__leaf { transform-origin: 0% 50%; animation: arrival-door 340ms cubic-bezier(.77, 0, .175, 1) calc(var(--arrival-go) - 220ms) both; }
.arrival__leaf--r { transform-origin: 100% 50%; }
.arrival__draft { stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; animation: arrival-off 240ms ease-out 1040ms both; }
.arrival__datum { transform-origin: 50% 50%; animation: arrival-rule 420ms cubic-bezier(.23, 1, .32, 1) both; }
.arrival__axis, .arrival__arc { stroke-dasharray: 1; animation: arrival-ink 420ms cubic-bezier(.23, 1, .32, 1) 70ms both; }
.arrival__arc { animation: arrival-ink 520ms cubic-bezier(.77, 0, .175, 1) 130ms both; }
.arrival__arc--in { stroke-width: 0.9; }
.arrival__sweep { transform-origin: 50% 50%; stroke-width: 0.9; animation: arrival-sweep 520ms cubic-bezier(.77, 0, .175, 1) 130ms both, arrival-off 160ms ease-out 650ms forwards; }
.arrival__point, .arrival__centre { fill: var(--gold); stroke: none; }
.arrival__centre { animation: arrival-in 200ms ease-out 100ms both; }
.arrival__span { stroke-width: 0.9; transform-origin: 50% 50%; animation: arrival-rule 380ms cubic-bezier(.23, 1, .32, 1) 220ms both; }
.arrival__pier, .arrival__stone, .arrival__whole { fill: var(--navy); }
.arrival__pier { transform-origin: 50% 100%; animation: arrival-pier 320ms cubic-bezier(.23, 1, .32, 1) 230ms both; }
.arrival__pier--r { animation-delay: 280ms; }
.arrival__stone { animation: arrival-lay 300ms cubic-bezier(.23, 1, .32, 1) both; }
.arrival__stone--l1 { animation-delay: 390ms; }
.arrival__stone--r1 { animation-delay: 440ms; }
.arrival__stone--l2 { animation-delay: 490ms; }
.arrival__stone--r2 { animation-delay: 540ms; }
.arrival__stone--l3 { animation-delay: 590ms; }
.arrival__stone--r3 { animation-delay: 640ms; }
.arrival__whole { animation: arrival-in 140ms ease-out 900ms both; }
.arrival__key { animation: arrival-key 440ms cubic-bezier(.2, 1.35, .4, 1) 830ms both; }
.arrival__ring { opacity: 0; stroke: var(--gold); stroke-width: 1; transform-origin: 50% 50%; animation: arrival-ring 520ms cubic-bezier(.23, 1, .32, 1) 1090ms; }
.arrival__word { fill: var(--navy); font-family: var(--sc-font-display); font-weight: 700; font-stretch: 125%; font-size: 13.5px; letter-spacing: 0.26em; animation: arrival-word 460ms cubic-bezier(.23, 1, .32, 1) 940ms both, arrival-off 150ms ease-out calc(var(--arrival-go) - 190ms) forwards; }
@keyframes arrival-in { from { opacity: 0; } }
@keyframes arrival-off { to { opacity: 0; } }
@keyframes arrival-rule { from { scale: 0 1; } }
@keyframes arrival-ink { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes arrival-sweep { from { rotate: 0deg; } to { rotate: 180deg; } }
@keyframes arrival-pier { from { scale: 1 0; } }
@keyframes arrival-lay { from { opacity: 0; translate: 0 -9px; } }
@keyframes arrival-key { from { opacity: 0; translate: 0 -30px; } to { opacity: 1; translate: none; } }
@keyframes arrival-ring { from { opacity: 0.85; scale: 0.5; } to { opacity: 0; scale: 2.1; } }
@keyframes arrival-word { from { opacity: 0; letter-spacing: 0.62em; } }
@keyframes arrival-door { to { scale: 0 1; } }
@keyframes arrival-walk { from { scale: 1; opacity: 1; } 55% { opacity: 1; } 90% { opacity: 0; } to { scale: 15; opacity: 0; } }
@keyframes arrival-clear { from, to { visibility: hidden; } }
/* a second visit in one session: the mark stands finished, the doors already open, and the walk starts where home.js says */
.arrival-brief .arrival__wall * { animation-duration: 1ms !important; animation-delay: 0ms !important; }
html:has(:target) .arrival { display: none; }
@media print { .arrival { display: none; } }

/* The hero arrives as the wall opens: its lines rise in turn, so the first thing through the arch is the headline. */
.entrance__copy > * { animation: hero-rise 640ms cubic-bezier(.23, 1, .32, 1) calc(var(--arrival-go) + 60ms) both; }
.entrance__copy > h1 { animation-delay: calc(var(--arrival-go) + 130ms); }
.entrance__copy > .lede { animation-delay: calc(var(--arrival-go) + 200ms); }
.entrance__copy > .actions, .entrance__copy > .hero-seats { animation-delay: calc(var(--arrival-go) + 270ms); }
@keyframes hero-rise { from { opacity: 0; translate: 0 18px; } }
html:has(:target) .entrance__copy > * { animation: none; }
@media print { .entrance__copy > * { animation: none; } }

/* The second motion pass (9 Nov 2026, Jordan: "add in more animations to the website ... for premium look"). Each
   piece plays once, when its room is revealed (.sc-in), and each shows what the thing does: a chapter's rule is drawn
   from its keystone, the brief fills in row by row, the setup's levels are read and copied in one tap, the journal's
   numbers measure out, an answer opens instead of snapping, and each door's arch is drawn and keyed. Without the
   script nothing waits hidden (html:not(.no-js) guards every starting state). */
html:not(.no-js) .chapter:not(:has(.chapter__text.sc-in)) .chapter__grid::before { scale: 0 1; }
html:not(.no-js) .chapter:not(:has(.chapter__text.sc-in)) .chapter__grid::after { opacity: 0; translate: 0 -12px; }
.chapter__grid::before { transform-origin: 0 50%; transition: scale 900ms var(--sc-ease-out) 80ms; }
.chapter--flip .chapter__grid::before { transform-origin: 100% 50%; }
.chapter__grid::after { transition: opacity 280ms ease-out 60ms, translate 460ms cubic-bezier(.2, 1.35, .4, 1) 60ms; }
.chapter__text.sc-in .chapter__n { animation: n-set 520ms cubic-bezier(.2, 1.35, .4, 1) 140ms both; }
@keyframes n-set { from { opacity: 0; scale: 0.6; } }

/* the brief: the verdict lands, each market's row is read in, the week's bars stand up, the voice sounds three times */
html:not(.no-js) .chapter__art:not(.sc-in) .mini__verdict { opacity: 0; scale: 0.96; }
html:not(.no-js) .chapter__art:not(.sc-in) .mini__rows li { opacity: 0; translate: -10px 0; }
html:not(.no-js) .chapter__art:not(.sc-in) .mini__week i { scale: 1 0; }
.mini__verdict { transition: opacity 360ms ease-out 220ms, scale 460ms var(--sc-ease-out) 220ms; }
.mini__rows li { transition: opacity 400ms ease-out, translate 520ms var(--sc-ease-out); }
.mini__rows li:nth-child(1) { transition-delay: 360ms; }
.mini__rows li:nth-child(2) { transition-delay: 440ms; }
.mini__rows li:nth-child(3) { transition-delay: 520ms; }
.mini__week i { transform-origin: 50% 100%; transition: scale 480ms var(--sc-ease-out) 640ms; }
.mini__week i:nth-of-type(2) { transition-delay: 690ms; }
.mini__week i:nth-of-type(3) { transition-delay: 740ms; }
.mini__week i:nth-of-type(4) { transition-delay: 790ms; }
.mini__week i:nth-of-type(5) { transition-delay: 840ms; }
.chapter__art.sc-in .mini__wave { animation: mini-wave 900ms ease-in-out 1000ms 3; }
@keyframes mini-wave { 50% { opacity: 0.25; } }

/* the setup: each level is measured out, each copy mark is tapped in turn, and the one button takes them all */
html:not(.no-js) .chapter__art:not(.sc-in) .mini__levels b { scale: 0 1; }
.mini__levels b { transform-origin: 0 50%; transition: scale 620ms var(--sc-ease-out) 320ms; }
.mini__levels li:nth-child(2) b { transition-delay: 400ms; }
.mini__levels li:nth-child(3) b { transition-delay: 480ms; }
.mini__levels li:nth-child(4) b { transition-delay: 560ms; }
.chapter__art.sc-in .mini__levels svg { transform-box: fill-box; transform-origin: 50% 50%; animation: mini-tap 420ms var(--sc-ease-out) 1000ms; }
.chapter__art.sc-in .mini__levels li:nth-child(2) svg { animation-delay: 1110ms; }
.chapter__art.sc-in .mini__levels li:nth-child(3) svg { animation-delay: 1220ms; }
.chapter__art.sc-in .mini__levels li:nth-child(4) svg { animation-delay: 1330ms; }
.chapter__art.sc-in .mini__copy { animation: mini-press 560ms var(--sc-ease-out) 1560ms; }
@keyframes mini-tap { 40% { scale: 1.4; } }
@keyframes mini-press { 35% { scale: 0.93; background: var(--navy-raised); } }

/* the journal: the tags are set down, the fill line arrives, and each setup's bar measures out to its result */
html:not(.no-js) .journal__art:not(.sc-in) .jcard__tags span { opacity: 0; scale: 0.85; }
html:not(.no-js) .journal__art:not(.sc-in) .jcard__fill { opacity: 0; translate: 0 8px; }
html:not(.no-js) .journal__art:not(.sc-in) .jnum li i { scale: 0 1; }
.jcard__tags span { transition: opacity 300ms ease-out 320ms, scale 420ms cubic-bezier(.2, 1.35, .4, 1) 320ms; }
.jcard__tags span:nth-child(2) { transition-delay: 400ms; }
.jcard__tags span:nth-child(3) { transition-delay: 480ms; }
.jcard__fill { transition: opacity 420ms ease-out 640ms, translate 520ms var(--sc-ease-out) 640ms; }
.jnum li i { transform-origin: 0 50%; transition: scale 760ms var(--sc-ease-out) 420ms; }
.jnum li:nth-child(2) i { transition-delay: 540ms; }
.jnum li:nth-child(3) i { transition-delay: 660ms; }

/* an answer opens: its words rise in, and where the browser can measure it the room grows instead of snapping */
.answers details[open] > p { animation: answer-in 340ms var(--sc-ease-out) both; }
@keyframes answer-in { from { opacity: 0; translate: 0 -6px; } }
@supports (interpolate-size: allow-keywords) {
  .answers { interpolate-size: allow-keywords; }
  .answers details::details-content { block-size: 0; overflow: clip; transition: block-size 340ms var(--sc-ease-out), content-visibility 340ms allow-discrete; }
  .answers details[open]::details-content { block-size: auto; }
}

/* the two doors: each arch is drawn from its springing, the gold line follows, and the keystone is set last */
.way .arch__band, .way .arch__line { stroke-dasharray: 1; transition: stroke-dashoffset 1100ms var(--sc-ease-in-out) 160ms; }
.way .arch__line { transition-delay: 380ms; }
.way .arch__key { transition: opacity 260ms ease-out 1060ms, translate 460ms cubic-bezier(.2, 1.35, .4, 1) 1060ms; }
html:not(.no-js) .way:not(.sc-in) :is(.arch__band, .arch__line) { stroke-dashoffset: 1; }
html:not(.no-js) .way:not(.sc-in) .arch__key { opacity: 0; translate: 0 -16px; }
html:not(.no-js) .way:not(.sc-in) .way__plaque { opacity: 0; }
.way__plaque { transition: opacity 380ms ease-out 1180ms; }

/* a pointer finds the cards: they lift a little under it (the reveal's own transition is kept beside the lift) */
@media (hover: hover) and (pointer: fine) {
  .way, .bay { transition: opacity 620ms var(--sc-ease-out), transform 620ms var(--sc-ease-out), translate 260ms var(--sc-ease-out), box-shadow 260ms ease; }
  .jcard, .jnum, .chapter__art .mini { transition: translate 260ms var(--sc-ease-out), box-shadow 260ms ease; }
  .way:hover, .bay:hover, .jcard:hover, .jnum:hover, .chapter__art .mini:hover { translate: 0 -4px; }
  .bay:hover, .jcard:hover, .jnum:hover { box-shadow: var(--sc-e3); }
}

/* The hero's own button catches the light once, as the veil clears: the first place to look. */
.entrance .btn--primary { background-image: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.24) 50%, transparent 62%); background-size: 260% 100%; background-repeat: no-repeat; background-position: 120% 0; animation: btn-glint 1000ms cubic-bezier(.4, 0, .2, 1) calc(var(--arrival-go) + 760ms) 1 both; }
@keyframes btn-glint { from { background-position: 120% 0; } to { background-position: -20% 0; } }

/* The closing card: the page ends on a door. An arched navy card with the mark at its crown and one ask. */
.closing { position: relative; display: grid; justify-items: center; max-width: 46rem; margin: clamp(48px, 7vw, 96px) auto 0; padding: clamp(40px, 5vw, 60px) clamp(22px, 4vw, 56px) clamp(32px, 4.4vw, 52px); text-align: center; border-radius: 50% 50% 22px 22px / 120px 120px 22px 22px; background: radial-gradient(ellipse 70% 55% at 50% 0%, rgb(221 178 78 / 0.18), transparent 70%), var(--navy); color: var(--paper); box-shadow: inset 0 0 0 1px rgb(221 178 78 / 0.3), var(--sc-e3); }
.closing__mark { width: 46px; height: auto; margin-bottom: 18px; }
.closing__stone { fill: var(--paper); }
.closing__title { margin: 0; max-width: 20ch; font-family: var(--sc-font-display); font-weight: 620; font-stretch: 112%; font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.45rem); letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
.closing__lede { margin: 14px 0 0; max-width: 44ch; color: var(--dark-muted); line-height: 1.6; text-wrap: pretty; }
.closing__actions { margin-top: 26px; justify-content: center; align-items: center; }
.closing .closing__signin { color: var(--paper); text-decoration-color: var(--gold); }
@media (max-width: 760px) {
  .closing { border-radius: 50% 50% 18px 18px / 90px 90px 18px 18px; padding-top: 44px; }
  .closing__actions { flex-direction: column; gap: 14px; }
}
