/* The Science — a research report in the brand's slate-and-gold carousel language */

/* ---------- Hero: slate duotone over the steaming valley ---------- */
.sci-hero .page-hero__media img { filter: grayscale(1) contrast(1.12) brightness(0.92); }
.sci-hero .page-hero__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #24384a; mix-blend-mode: color; }
.sci-hero .page-hero__media::after { z-index: 2; background:
  linear-gradient(to top, rgba(22, 29, 36, 0.97) 0%, rgba(22, 29, 36, 0.7) 38%, rgba(22, 29, 36, 0.38) 70%, rgba(22, 29, 36, 0.55) 100%); }
.sci-hero .page-hero__inner { position: relative; }
.sci-hero h1 em { display: block; } /* line break without a <br>, so the accessible name keeps its space */
.sci-hero .page-hero__inner::after { content: ''; display: block; width: 64px; height: 1px; background: var(--gold); opacity: 0.8; margin-top: 4px; }

/* ---------- Shared bits ---------- */
.fig-n { color: var(--accent-text); margin-right: 14px; }
.ref-n { display: inline-grid; place-items: center; flex: none; min-width: 28px; height: 28px; padding: 0 6px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--f-ui); font-size: 0.68rem; font-style: normal; letter-spacing: 0.04em; line-height: 1; color: var(--accent-text); text-decoration: none; transition: border-color 0.3s, background-color 0.3s; }
.ref-n:hover { border-color: var(--accent); }
.sup { vertical-align: 0.15em; margin-left: 6px; line-height: 0; }
.sup .ref-n { min-width: 24px; height: 24px; }

/* ---------- Thesis ---------- */
.thesis__grid { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 1024px) { .thesis__grid { grid-template-columns: 1.05fr 0.95fr; column-gap: clamp(60px, 7vw, 140px); align-items: start; } }
.thesis__head { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.thesis__head h2 { max-width: 11ch; }
.thesis__body { display: grid; gap: 26px; }
.thesis__lede { color: var(--fg); }
.thesis__kicker { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-s); line-height: 1.2; color: var(--fg); padding-top: 22px; border-top: 1px solid var(--line); }
.thesis__kicker em { color: var(--accent-text); }

/* Contents */
.contents { border-top: 1px solid var(--fg); padding-top: clamp(26px, 3vw, 40px); }
.contents__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 3.6vw, 48px); }
@media (min-width: 1024px) { .contents__head { grid-template-columns: 1fr 1fr; align-items: baseline; column-gap: clamp(60px, 7vw, 140px); } }
.contents__head h3 { margin: 0; }
.contents__how { color: var(--muted); font-size: 1.02rem; max-width: 34rem; }
.contents__parts { display: grid; gap: clamp(36px, 4vw, 48px); }
@media (min-width: 1024px) { .contents__parts { grid-template-columns: 1fr 1fr; column-gap: clamp(60px, 7vw, 140px); align-items: start; } }
.contents__pt { font-family: var(--f-ui); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contents__list a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 26px; grid-template-areas: 'n t fig go' 'n src src go'; column-gap: 14px; row-gap: 4px; align-items: baseline; padding: 18px 0 16px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.6s var(--ease), color 0.3s; }
.contents__n { grid-area: n; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--accent-text); }
.contents__t { grid-area: t; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.2rem); line-height: 1.05; }
.contents__fig { grid-area: fig; font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.4vw, 1.45rem); color: var(--accent-text); white-space: nowrap; }
.contents__src { grid-area: src; font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.contents__go { grid-area: go; align-self: center; justify-self: end; color: var(--accent-text); opacity: 0.55; transition: transform 0.5s var(--ease), opacity 0.3s; }
.contents__go .i-arrow { width: 20px; height: 20px; }
.contents__list a:hover { padding-left: 10px; }
.contents__list a:hover .contents__go { opacity: 1; transform: translateX(4px); }
.contents__extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 36px; }
.contents__extra a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--f-ui); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--line); transition: color 0.3s, border-color 0.3s; }
.contents__extra a:hover { color: var(--accent-text); border-color: currentColor; }
.contents__extra .i-arrow { width: 18px; height: 18px; }
@media (min-width: 1024px) { .contents__extra { justify-content: flex-end; } }

/* ---------- Lever sections ---------- */
.lever__head { display: grid; gap: clamp(18px, 2.4vw, 30px); margin-bottom: clamp(44px, 6vw, 96px); }
.lever__meta { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 8px clamp(14px, 2vw, 22px); padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--f-ui); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.lever__meta::before { content: ''; position: absolute; top: -1px; left: 0; width: 72px; height: 1px; background: var(--accent); }
.lever__n { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; letter-spacing: 0; text-transform: none; color: var(--accent-text); line-height: 1; }
.lever__srcs { white-space: nowrap; text-align: right; }
.lever__part { text-wrap: balance; }
.lever__title { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.2em; font-size: clamp(2.9rem, 1.1rem + 7.2vw, 8.4rem); line-height: 0.92; margin-right: -0.2em; overflow-wrap: normal; }
.lever__line { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.4rem); line-height: 1.16; color: var(--fg); max-width: 30ch; text-wrap: balance; }
.lever__line em { color: var(--accent-text); }

.lever__body { display: grid; gap: clamp(44px, 6vw, 80px); grid-template-areas: 'find' 'aside' 'cols'; }
.lever__body > .findings { grid-area: find; }
.lever__body > .lever__aside { grid-area: aside; }
.lever__body > .lever__cols { grid-area: cols; }
@media (min-width: 1024px) {
  .lever__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; grid-template-areas: 'find aside' 'cols aside'; column-gap: clamp(56px, 6vw, 120px); align-items: start; }
  .lever--flip .lever__body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: 'aside find' 'aside cols'; }
  .lever__body > .lever__aside { position: sticky; top: calc(var(--header-h) + 28px); }
}
/* The breath card is taller than most laptop viewports: only pin it when it fits. */
@media (min-width: 1024px) and (max-height: 1000px) { .lever--breathe .lever__body > .lever__aside { position: static; } }
/* 1024–1279: the 7fr column is too narrow to split again — stack figure over claim,
   and the two text columns into one, so nothing sets at three words a line. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .lever__body .lever__cols { grid-template-columns: 1fr; }
  .lever__body .finding:not(.finding--plain) { grid-template-columns: 1fr; }
  .lever__body .finding__fig { grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; }
}

/* Findings */
.findings { display: grid; border-top: 1px solid var(--line); }
.finding { display: grid; gap: 18px clamp(28px, 4vw, 56px); padding-block: clamp(28px, 3.4vw, 44px); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .finding:not(.finding--plain) { grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr); align-items: start; } }
.finding__fig { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 6px 18px; }
@media (min-width: 640px) { .finding__fig { grid-template-columns: 1fr; gap: 14px; } }
.finding__v { display: inline-flex; align-items: baseline; font-family: var(--f-display); font-weight: 300; font-size: clamp(4.4rem, 2.9rem + 4.6vw, 8rem); line-height: 0.8; letter-spacing: -0.035em; color: var(--fg); white-space: nowrap; font-variant-numeric: lining-nums; }
.finding__v small { font-size: 0.34em; font-style: italic; letter-spacing: 0; color: var(--accent-text); margin-left: 0.14em; }
.finding__v small.sym { font-size: 0.5em; font-style: normal; margin-left: 0.06em; }
.finding__fig--word { container-type: inline-size; }
.finding__fig--word .finding__v { font-style: italic; letter-spacing: -0.02em; color: var(--accent-text); padding-right: 0.08em; }
/* A word is wider than a numeral: cap it at the figure column's width (cqi), with the clamp as fallback. */
.finding__fig--word .finding__v { font-size: min(clamp(4.4rem, 2.9rem + 4.6vw, 8rem), 40cqi); }
@media (min-width: 1024px) {
  .lever__body .finding__fig--word .finding__v { font-size: clamp(3.6rem, 0.2rem + 6.7vw, 6.2rem); font-size: min(clamp(3.6rem, 0.2rem + 6.7vw, 6.2rem), 40cqi); }
}
.finding__cap { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 1.6; max-width: 20ch; padding-bottom: 4px; }
.finding__body { display: grid; gap: 14px; align-content: start; }
.finding__k { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-text); }
.finding__claim { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.4rem, 1.15rem + 0.85vw, 2rem); line-height: 1.2; color: var(--fg); text-wrap: pretty; }
.finding__claim em { font-style: italic; color: var(--accent-text); }
.finding__src { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 0.95rem; line-height: 1.4; color: var(--muted); }
.finding__src > a:not(.ref-n) { color: var(--muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: color 0.3s, text-decoration-color 0.3s; }
.finding__src > a:not(.ref-n):hover { color: var(--fg); text-decoration-color: currentColor; }
.finding__src .nw, .fieldnotes .nw { white-space: nowrap; }
.finding__src .i-arrow { display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -1px; }
.finding--plain .finding__claim { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.5rem); line-height: 1.14; }
.finding--minor .finding__claim { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.8rem); }

/* Wide levers (no side figure): findings and columns share one three-track grid so the
   text columns hang under the claim, keeping a readable measure on large screens. */
@media (min-width: 1024px) {
  .lever--wide .method__top .finding, .lever--wide .outcome__top .finding,
  .lever--wide .lever__cols--hang { grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.65fr) minmax(0, 0.65fr); column-gap: clamp(28px, 4vw, 56px); }
  .lever--wide .method__top .finding__body, .lever--wide .outcome__top .finding__body { grid-column: 2 / -1; }
  .lever--wide .lever__cols--hang > .lever__col:first-child { grid-column: 2; }
  .lever--wide .lever__cols--hang > .lever__col:nth-child(2) { grid-column: 3; }
  .lever--wide .lever__cols--hang > .lever__more { grid-column: 2 / -1; }
}

/* Two columns: meaning / in Furnas */
.lever__cols { display: grid; gap: 36px clamp(32px, 4vw, 64px); }
@media (min-width: 768px) { .lever__cols { grid-template-columns: 1fr 1fr; } }
.lever__k { display: flex; gap: 12px; align-items: baseline; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--f-ui); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; color: var(--fg); }
.lever__k span { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--accent-text); }
.lever__col--furnas .lever__k { border-bottom-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.lever__txt { color: var(--muted); font-size: 1.04rem; }
.lever__txt p + p { margin-top: 0.9em; }
.lever__txt em { color: var(--fg); }
.lever__honest { font-style: italic; color: var(--fg); opacity: 0.86; padding-left: 16px; border-left: 1px solid var(--accent); }
.lever__more { grid-column: 1 / -1; display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid var(--line); }
.lever__more-k { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-text); }
.lever__more-list { list-style: none; margin: 0; padding: 0; display: grid; }
.lever__more-list li + li { border-top: 1px solid var(--line); }
.lever__more-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: 14px 0; text-decoration: none; color: var(--fg); }
.lever__more-d { font-family: var(--f-display); font-size: clamp(1.18rem, 1.06rem + 0.4vw, 1.4rem); line-height: 1.3; text-wrap: balance; transition: color 0.3s; }
.lever__more-go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color 0.3s; }
.lever__more-go .i-arrow { width: 18px; height: 18px; flex: none; transition: transform 0.5s var(--ease); }
.lever__more-list a:hover .lever__more-d, .lever__more-list a:hover .lever__more-go { color: var(--accent-text); }
.lever__more-list a:hover .i-arrow { transform: translateX(5px); }
@media (max-width: 639px) { .lever__more-list a { grid-template-columns: 1fr; } }

/* ---------- Breathe: the pacer ---------- */
.breathe-try { display: grid; gap: 22px; justify-items: center; text-align: center; padding: clamp(28px, 3.4vw, 44px) clamp(20px, 3vw, 40px); border: 1px solid var(--line); background: linear-gradient(to bottom, rgba(235, 228, 214, 0.035), rgba(235, 228, 214, 0)); }
.breathe-try__fig { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.breathe-try__title { font-family: var(--f-display); font-weight: 300; font-size: var(--fs-s); line-height: 1.15; }
.breathe-try__title em { color: var(--accent-text); }
.breathe-try .breath__stage { width: min(68vw, 300px); }
.breathe-try__steps { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; max-width: 26rem; text-align: left; counter-reset: b; }
.breathe-try__steps li { counter-increment: b; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.45; color: var(--fg); }
.breathe-try__steps li::before { content: counter(b, decimal-leading-zero); font-family: var(--f-display); font-style: italic; color: var(--accent-text); font-size: 1.1rem; line-height: 1.3; }
.breathe-try__note { font-size: 0.92rem; font-style: italic; color: var(--muted); max-width: 26rem; }
.breathe-try__note a { color: var(--fg); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.breathe-try__note a:hover { color: var(--accent-text); }
@media (min-width: 1024px) and (max-height: 860px) { .breathe-try .breath__stage { width: 240px; } .breathe-try { gap: 16px; } }
@media (min-width: 700px) and (max-width: 1023px) {
  .breathe-try { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; grid-template-areas: 'eb breath' 'title breath' 'steps breath' 'note breath'; column-gap: clamp(32px, 5vw, 56px); row-gap: 18px; justify-items: start; align-items: start; text-align: left; padding: 44px; }
  .breathe-try__fig { grid-area: eb; }
  .breathe-try__title { grid-area: title; }
  .breathe-try .breath { grid-area: breath; justify-self: center; align-self: center; }
  .breathe-try__steps { grid-area: steps; margin-top: 8px; }
  .breathe-try__note { grid-area: note; }
  .breathe-try .breath__stage { width: min(100%, 280px); }
}

/* ---------- Move: plate ---------- */
.lever__plate { margin: 0; }
.lever__plate .media { aspect-ratio: 4 / 3; }
@media (min-width: 640px) and (max-width: 1023px) { .lever__plate .media { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .lever__plate .media { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 120px); width: 100%; } }
/* Two-part captions stack wherever their column is narrow */
@media (max-width: 639px) { .lever__plate .media__cap, .place-plate .media__cap { flex-direction: column; gap: 4px; } }
@media (min-width: 1024px) and (max-width: 1279px) { .lever__plate .media__cap { flex-direction: column; gap: 4px; } }

/* ---------- Connect: the room figure ---------- */
.room-fig { margin: 0; display: grid; gap: 22px; justify-items: center; }
.room-fig__art { width: min(100%, 440px); aspect-ratio: 1; }
@media (max-width: 639px) { .room-fig__art { width: min(88%, 320px); } }
.room-fig svg { width: 100%; height: 100%; overflow: visible; }
.room-fig__orbit { fill: none; stroke: var(--line); stroke-width: 1; }
.room-fig__lines line { stroke: var(--gold); stroke-opacity: 0.34; stroke-width: 0.9; stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s var(--ease) calc(var(--i) * 55ms + 0.2s); }
.js .room-fig:not(.is-in) .room-fig__lines line { stroke-dashoffset: 1; }
.room-fig__seats circle { fill: var(--gold); transform-box: fill-box; transform-origin: center; transition: transform 0.9s var(--ease) calc(var(--i) * 80ms); }
.room-fig__seats .halo { fill: var(--bg); fill-opacity: 0; stroke: var(--gold); stroke-opacity: 0.5; stroke-width: 1; }
.js .room-fig:not(.is-in) .room-fig__seats circle { transform: scale(0); }
.room-fig figcaption, .sound-plate figcaption, .lever__plate figcaption, .place-plate figcaption { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.room-fig figcaption { text-align: center; max-width: 30ch; }
@media (min-width: 1024px) { .lever--connect .lever__aside { padding-top: clamp(20px, 3vw, 48px); } }

/* ---------- Place ---------- */
.place-plate { margin: 0 0 clamp(44px, 6vw, 88px); }
.place-plate .media { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .place-plate .media { aspect-ratio: 16 / 8; } }
@media (min-width: 1100px) { .place-plate .media { aspect-ratio: 21 / 8.5; } }
.place-findings { display: grid; gap: 0 clamp(48px, 6vw, 110px); margin-bottom: clamp(44px, 6vw, 80px); }
.place-findings > .finding { border-top: 1px solid var(--line); }
.place-theory { display: grid; }
@media (min-width: 768px) and (max-width: 1099px) { .place-theory { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); } .place-theory .finding:first-child { border-top: 0; } }
@media (min-width: 1100px) {
  .place-findings { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
  .place-theory { border-top: 1px solid var(--line); }
}

/* ---------- Method: process vs analysis ---------- */
.method__top .finding { border-top: 1px solid var(--line); }
.ratio { margin: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); padding: clamp(24px, 3.4vw, 52px); border: 1px solid var(--line); background: linear-gradient(to bottom, rgba(235, 228, 214, 0.035), rgba(235, 228, 214, 0)); }
.ratio__cap { display: flex; flex-wrap: wrap; gap: 6px 0; margin-bottom: clamp(26px, 3vw, 40px); font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 1.7; }
.ratio__rows { display: grid; gap: clamp(26px, 3vw, 36px); }
.ratio__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'k v' 'bar bar'; gap: 12px 16px; align-items: end; }
@media (min-width: 768px) { .ratio__row { grid-template-columns: minmax(170px, 0.24fr) minmax(0, 1fr) 72px; grid-template-areas: 'k bar v'; align-items: center; column-gap: clamp(20px, 3vw, 40px); } }
.ratio__k { grid-area: k; font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.55rem); line-height: 1.15; color: var(--fg); }
.ratio__v { grid-area: v; font-family: var(--f-ui); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: 0.02em; line-height: 1; color: var(--fg); text-align: right; white-space: nowrap; }
.ratio__row--process .ratio__v { color: var(--accent-text); }
.ratio__bar { grid-area: bar; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(3px, 0.5vw, 6px); height: clamp(34px, 4vw, 56px); }
.ratio__bar i { display: block; transform-origin: left center; transition: transform 0.8s var(--ease) calc(var(--i) * 140ms + 0.25s); }
.ratio__bar .is-a { background: color-mix(in srgb, var(--fg) 42%, transparent); }
.ratio__bar .is-g { border: 1px dashed color-mix(in srgb, var(--fg) 18%, transparent); }
.ratio__bar .is-p { background: linear-gradient(to bottom, var(--gold-2), var(--gold)); }
.js .ratio:not(.is-in) .ratio__bar i:not(.is-g) { transform: scaleX(0); }
.ratio__note { margin-top: clamp(24px, 3vw, 36px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }

/* ---------- Outcome ---------- */
.outcome__top { margin-bottom: clamp(44px, 6vw, 80px); }
.outcome__top .finding { border-top: 1px solid var(--line); }
.lever--outcome .finding__fig--word .finding__v { font-size: clamp(4.8rem, 2.6rem + 7vw, 10.5rem); font-size: min(clamp(4.8rem, 2.6rem + 7vw, 10.5rem), 40cqi); }

/* ---------- Sound ---------- */
.sound-plate { margin: 0; display: grid; gap: 14px; justify-items: start; }
.sound-plate .media { width: min(100%, 300px); aspect-ratio: 9 / 16; }
.sound-plate img { transform: scale(1.07); }
@media (max-width: 639px) { .sound-plate .media { width: min(100%, 260px); } }
@media (min-width: 1024px) { .sound-plate { justify-items: center; } .sound-plate .media { max-height: calc(100vh - var(--header-h) - 120px); width: auto; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .lever--sound .lever__body { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); grid-template-areas: 'find find' 'aside cols'; column-gap: clamp(28px, 5vw, 48px); align-items: start; }
  .lever--sound .lever__cols { grid-template-columns: 1fr; }
  .sound-plate .media { width: 100%; }
}

/* ---------- From evidence to the week ---------- */
.arc { position: relative; display: grid; }
.arc__list { list-style: none; margin: 0; padding: 0; }
.arc__phase { font-family: var(--f-ui); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg); padding: 0 0 16px 34px; position: relative; }
.arc__step { position: relative; display: grid; gap: 10px; align-content: start; padding: 0 0 40px 34px; }
/* vertical spine (mobile/tablet) */
.arc__step::before, .arc__phase::before { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--fg) 22%, transparent); }
.arc__group:first-child .arc__phase::before { top: 0.6em; }
.arc__group:last-child .arc__step:last-child::before { bottom: auto; height: 8px; }
.arc__dot { position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold-deep); background: var(--bg); z-index: 1; }
.arc__group--week .arc__dot { background: var(--gold); border-color: var(--gold); }
.arc__lever { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); line-height: 1.5; }
.arc__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); line-height: 1.05; }
.arc__body { color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 30rem; }
.arc__ev { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--fg); background: color-mix(in srgb, var(--bg) 70%, transparent); transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.ev-chip:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.arc__phase--week { display: grid; gap: 10px; padding-bottom: 26px; padding-top: 8px; }
.arc__span { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--fg); line-height: 1.1; }
.arc__span sup { font-size: 0.5em; color: var(--accent-text); margin-left: 2px; }
.arc__place { font-family: var(--f-text); font-size: 0.98rem; letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.5; max-width: 40rem; }
.arc__place a { color: var(--fg); }
.arc__day { display: block; margin-top: 6px; font-style: italic; color: var(--fg); }
.arc__group--week { position: relative; }
.arc__group--week::after { content: ''; position: absolute; left: -12px; right: -12px; top: 0; bottom: 20px; z-index: -1; border: 1px solid color-mix(in srgb, var(--gold-deep) 35%, transparent); background: color-mix(in srgb, var(--bone) 55%, transparent); }
.arc__group--week { isolation: isolate; margin: 10px 0 30px; padding-top: 12px; }
.arc__foot { margin-top: 26px; }

@media (min-width: 640px) {
  .arc__group--week::after { left: -24px; right: -24px; }
}
@media (min-width: 640px) and (max-width: 1279px) {
  .arc__step { grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr); grid-template-rows: auto auto 1fr; grid-template-areas: 'lever body' 'title body' 'title ev'; column-gap: clamp(24px, 4vw, 48px); row-gap: 8px; }
  .arc__lever { grid-area: lever; }
  .arc__title { grid-area: title; align-self: start; }
  .arc__body { grid-area: body; }
  .arc__ev { grid-area: ev; align-self: start; }
}

/* Spine bridges the week box's margin (10px) + padding (12px) above, and its margin (30px) below */
@media (max-width: 1279px) {
  .arc__group--week .arc__phase::before { top: -22px; }
  .arc__group--week .arc__step:last-child::before { bottom: -30px; }
}

/* Horizontal schematic on wide screens */
@media (min-width: 1280px) {
  .arc { grid-template-columns: minmax(0, 1.05fr) minmax(0, 5fr) minmax(0, 1.05fr); grid-template-rows: auto auto; }
  .arc__group { display: grid; grid-row: 1 / span 2; grid-template-rows: subgrid; }
  .arc__group--week { margin: 0; padding: 0; isolation: auto; }
  .arc__group--week::after { display: none; }
  .arc__group--week .arc__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .arc__list { grid-row: 2; }
  .arc__phase { grid-row: 1; align-self: end; padding: 0 20px 26px 0; }
  .arc__phase::before { display: none; }
  .arc__step { padding: 38px 22px 0 0; }
  .arc__step::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; background: color-mix(in srgb, var(--fg) 22%, transparent); }
  .arc__group:last-child .arc__step:last-child::before { width: 0; height: 1px; }
  .arc__group--week .arc__step::before { background: var(--gold-deep); }
  .arc__dot { top: 0; }
  /* dimension line spanning the five days */
  .arc__phase--week { position: relative; padding: 0 0 30px; gap: 12px; }
  .arc__span { display: flex; align-items: center; gap: 18px; }
  .arc__span::before, .arc__span::after { content: ''; flex: 1; height: 1px; background: var(--gold-deep); }
  .arc__span > span { flex: none; }
  .arc__phase--week::before, .arc__phase--week::after { content: ''; display: block; position: absolute; top: 0.55em; width: 1px; height: 16px; background: var(--gold-deep); transform: translateY(-8px); }
  .arc__phase--week::before { left: 0; bottom: auto; }
  .arc__phase--week::after { right: 0; }
  .arc__place { text-align: center; margin-inline: auto; }
  .arc__group--edge .arc__phase { color: var(--muted); }
}

/* ---------- Field notes ---------- */
.fieldnotes { padding-block: clamp(84px, 10vw, 160px); }
.fieldnotes__grid { display: grid; gap: clamp(26px, 3.4vw, 44px); }
@media (min-width: 1024px) { .fieldnotes__grid { grid-template-columns: 1.05fr 0.95fr; column-gap: clamp(60px, 7vw, 140px); align-items: end; } }
.fieldnotes__head { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.fieldnotes__head h2 { max-width: 13ch; }
.fieldnotes__copy { display: grid; gap: 22px; justify-items: start; max-width: 36rem; }
.fieldnotes__then { font-family: var(--f-display); font-style: italic; font-size: var(--fs-s); line-height: 1.2; color: var(--accent-text); }
.fieldnotes__copy .actions { margin-top: 6px; }

/* ---------- References & note ---------- */
.refs__grid { display: grid; gap: clamp(56px, 7vw, 96px); }
@media (min-width: 1024px) { .refs__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: clamp(60px, 7vw, 140px); align-items: start; } }
.refs__main { display: grid; gap: clamp(20px, 2.4vw, 30px); align-content: start; }
.refs__list { list-style: none; margin: clamp(10px, 2vw, 24px) 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: none; }
.refs__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.refs__list li:target { background: linear-gradient(to right, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%); }
.refs__n { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--accent-text); }
.refs__body { display: grid; gap: 8px; min-width: 0; }
.refs__lever { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.refs__text { font-size: 1.02rem; line-height: 1.5; color: var(--fg); }
.refs__link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; max-width: 100%; min-height: 32px; font-family: var(--f-ui); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--accent-text); text-decoration: none; overflow-wrap: anywhere; }
.refs__link span:first-child { border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent); transition: border-color 0.3s; }
.refs__link:hover span:first-child { border-color: currentColor; }
.refs__link .i-arrow { width: 14px; height: 14px; flex: none; }
.refs__note { display: grid; gap: 16px; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); background: color-mix(in srgb, var(--fg) 3%, transparent); color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
@media (min-width: 1024px) { .refs__note { position: sticky; top: calc(var(--header-h) + 28px); margin-top: clamp(120px, 12vw, 180px); } }
.refs__note-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); line-height: 1.12; color: var(--fg); margin-bottom: 4px; }
.refs__note-title em { color: var(--accent-text); }
.refs__note a { color: var(--fg); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .room-fig__lines line, .room-fig__seats circle, .ratio__bar i { transition: none; }
  .contents__list a { transition: none; }
}

/* Closing band: keep the gold line whole on its own line */
.cta-band h2 em { display: block; }
