/* Composition of the Arconite public site. Tokens and components come from system.css. */

/* The handwritten face of the notes in the photographs is particular to this site. */
@font-face {
  font-family: Caveat;
  src: url("/assets/fonts/caveat-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); }
.skip-link:focus { top: 12px; }
html { scroll-behavior: smooth; }
main { display: block; gap: var(--s-8); min-width: 0; }
section { display: grid; gap: var(--s-5); scroll-margin-top: 84px; min-width: 0; }
main a:not(.btn):not(.product):not(.post) { color: var(--accent-ink); text-underline-offset: 3px; }

/* ---------- Header ---------- */
.brand { display: inline-flex; align-items: baseline; gap: 3px; color: var(--ink); text-decoration: none; font-size: 24px; }
.brand-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.site-header { position: relative; flex-wrap: wrap; }
.site-header .site-nav { margin-left: var(--s-6); margin-right: auto; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.site-header .nav-toggle, .mobile-nav { display: none; }
.account-menu { left: auto; right: 0; width: 300px; padding: 10px; border-radius: var(--r-lg); }
.account-menu p { padding: 6px 8px 8px; font-size: 13px; color: var(--ink-2); }
.account-menu a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.account-menu a:hover { background: var(--raised); }
.account-menu a > .icon { color: var(--ink-2); }
.account-menu strong, .account-menu small { display: block; }
.account-menu strong { font-weight: 500; }
.account-menu small { font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) {
  .site-header .site-nav, .site-header .contact { display: none; }
  .site-header .menu-wrap { margin-left: auto; }
  .site-header .nav-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: grid; flex-basis: 100%; padding: 8px; border-radius: var(--r-lg); background: var(--surface); }
  .mobile-nav a { padding: 12px 14px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-size: 17px; }
  .mobile-nav a[aria-current="page"] { background: var(--raised); }
}

/* ---------- Page heads ---------- */
.page-head { display: grid; gap: var(--s-4); padding: clamp(40px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); max-width: 860px; }
.page-head .display { font-size: clamp(40px, 6vw, 80px); }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.stage .eyebrow { color: var(--glow); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.stage .status { color: color-mix(in srgb, var(--on-stage) 80%, transparent); }
.note { font-size: 13px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Sections ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.split.center { align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: var(--s-4); max-width: 62ch; }
.prose p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.big-sheet { display: grid; gap: var(--s-5); align-content: start; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); }
.big-sheet.stage { background: var(--stage-deep); }
.big-sheet.stage p { color: color-mix(in srgb, var(--on-stage) 80%, transparent); }
.figure-box { position: relative; min-height: 320px; border-radius: var(--r-xl); }
.figure-box canvas { position: absolute; inset: 0; }
.photo { border-radius: var(--r-xl); background: var(--stage-deep); overflow: hidden; }
.photo img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-4); }
.facts div { display: grid; gap: 2px; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--surface); }
.facts dt { font-size: 13px; color: var(--ink-2); }
.facts dd { font-weight: 500; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); }
.code { margin: 0; padding: var(--s-5); border-radius: var(--r-lg); background: var(--stage-deep); color: var(--on-stage); overflow-x: auto; font: 400 13.5px/1.7 ui-monospace, "SF Mono", Menlo, monospace; }
.product { min-height: 100%; }
.product .status { color: color-mix(in srgb, var(--on-stage) 80%, transparent); }
.linkrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-5); }
.post { display: grid; align-content: start; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform var(--t-control) var(--ease); }
.post:hover { transform: translateY(-3px); }
.post img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; background: var(--stage-deep); }
.post-copy { display: grid; gap: var(--s-2); padding: var(--s-5) var(--s-5) var(--s-6); }
.post-copy p { color: var(--ink-2); }
.post.featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.post.featured img { height: 100%; }
.post.featured .post-copy { padding: clamp(24px, 4vw, 48px); gap: var(--s-4); }
@media (max-width: 820px) { .post.featured { grid-template-columns: minmax(0, 1fr); } }

.article-page main { width: min(1180px, 100%); margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 40px) var(--s-8); }
.blog-reading-width { width: min(680px, 100%); margin-inline: auto; }
.blog-article-heading { display: grid; gap: var(--s-3); }
.blog-back { justify-self: start; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.blog-meta { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.blog-article-heading h1 { font: var(--display-weight, 400) clamp(36px, 5vw, 60px)/1.04 var(--font-display); letter-spacing: var(--display-track); text-wrap: balance; }
.blog-deck { font-size: 20px; line-height: 1.45; color: var(--ink-2); }
.blog-byline { font-size: 14px; font-weight: 500; }
.blog-article-cover { margin: var(--s-7) 0; }
.blog-article-cover img { width: 100%; border-radius: var(--r-xl); background: var(--stage-deep); }
.blog-prose { display: grid; gap: var(--s-5); font-size: 18px; line-height: 1.7; }
.blog-prose h2 { margin-top: var(--s-5); font: 600 26px/1.2 var(--font-title); letter-spacing: -0.02em; }
.blog-next { margin-top: var(--s-8); }
.blog-next a { display: grid; gap: 4px; padding: var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; }
.blog-next span { font-size: 13px; color: var(--ink-2); }
.blog-next strong { font: 600 20px/1.2 var(--font-title); }

/* ---------- Legal documents (text imported from the published pages) ---------- */
.legal-page main { width: min(820px, 100%); margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 40px) var(--s-8); }
.legal-heading { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); }
.legal-heading > p:first-child, .legal-heading span { font-size: 14px; color: var(--ink-2); }
.legal-heading h1 { font: var(--display-weight, 400) clamp(36px, 5vw, 60px)/1.04 var(--font-display); letter-spacing: var(--display-track); }
.legal-heading p { font-size: 18px; color: var(--ink-2); }
.legal-heading .legal-draft-status { padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--accent-soft); color: var(--ink); font-size: 15px; }
.legal-body { display: grid; gap: var(--s-6); font-size: 16px; line-height: 1.7; }
.legal-body section { display: grid; gap: var(--s-3); }
.legal-body h2 { font: 600 22px/1.25 var(--font-title); letter-spacing: -0.02em; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.policy-table { overflow-x: auto; border-radius: var(--r-lg); background: var(--surface); padding: var(--s-2) var(--s-4); }
.policy-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.policy-table caption { text-align: left; padding: 10px 0; font-weight: 500; color: var(--ink); }
.policy-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--ink-2); }
.policy-table th, .policy-table td { padding: 10px 12px 10px 0; vertical-align: top; }
.policy-table tr + tr td { border-top: 1px solid var(--line); }
.legal-canonical { white-space: pre-wrap; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); font-size: 15px; line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer { display: grid; gap: var(--s-6); margin-top: var(--s-8); padding-top: var(--s-7); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.footer-top p { margin-right: auto; }
.site-footer .footer-links { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-xl); background: var(--surface); }
.footer-links div { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer-links strong { color: var(--ink); font-weight: 500; }
.footer-links button { padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.footer-links button:hover { color: var(--ink); }
.privacy-summary a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; font-size: 13px; }
.privacy-dialog { position: relative; }
.privacy-dialog form { position: absolute; top: 16px; right: 16px; }
.privacy-dialog .privacy-setting { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.privacy-setting strong, .privacy-setting small { display: block; }
.privacy-setting strong { font-weight: 500; }
.privacy-setting small { font-size: 13px; color: var(--ink-2); }
.privacy-setting .select { width: auto; flex: none; }
.privacy-links { display: flex; gap: var(--s-4); font-size: 14px; }
.privacy-dialog .row { justify-content: space-between; }

/* ---------- Home: mixed-media hero ---------- */
.hand { font: 600 30px/1.05 Caveat, "Segoe Print", cursive; color: #23305f; }
.small-hand { font-size: 22px; opacity: 0.75; }
.hero-mixed { position: relative; display: grid; place-items: center; min-height: min(860px, 92vh); padding-top: var(--s-7); padding-bottom: var(--s-8); }
.hero-text { position: relative; z-index: 2; display: grid; gap: var(--s-5); justify-items: center; text-align: center; max-width: 780px; }
.hero-text .display { font-size: clamp(44px, 7vw, 92px); }
.hero-text .row { justify-content: center; }
.collage { position: absolute; inset: 0; pointer-events: none; }
.piece { position: absolute; border-radius: var(--r-lg); box-shadow: var(--float); will-change: transform; }
.piece.note { left: 2%; top: 12%; width: 200px; padding: 18px 20px 22px; background: #ffffff; rotate: -5deg; }
.piece.plate { right: 3%; top: 6%; width: clamp(150px, 17vw, 230px); padding: 14px; background: var(--surface); rotate: 4deg; }
.piece.schema { left: 2%; bottom: 5%; width: clamp(160px, 17vw, 230px); padding: 10px; background: var(--surface); rotate: 3deg; }
.piece.frame { right: 1%; bottom: 5%; width: clamp(180px, 18vw, 260px); aspect-ratio: 16 / 10; rotate: -3deg; }
.piece.frame canvas { position: absolute; inset: 0; }
.piece.wave { left: 22%; bottom: 1%; display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 18px; background: var(--surface); border-radius: var(--r-pill); }
.piece.wave i { width: 4px; border-radius: 2px; background: var(--iris, var(--accent-ink)); background-size: 600% 100%; height: 12px; animation: wave 1.6s ease-in-out infinite; }
.piece.wave i:nth-child(3n) { height: 28px; animation-delay: -0.4s; } .piece.wave i:nth-child(3n+1) { height: 18px; animation-delay: -0.9s; }
.piece.wave small { margin-left: 8px; font-size: 12px; color: var(--ink-2); }
@keyframes wave { 50% { transform: scaleY(0.45); } }
.playbar { display: block; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--on-stage) 22%, transparent); overflow: hidden; }
.playbar i { display: block; width: 42%; height: 100%; border-radius: 2px; background: var(--iris, var(--glow)); }
.piece.frame .playbar { position: absolute; left: 14px; right: 14px; bottom: 12px; }
@media (max-width: 980px) {
  .hero-mixed { min-height: 0; gap: var(--s-6); }
  .collage { position: relative; inset: auto; width: 100%; height: 300px; }
  .piece.note { left: 0; top: 0; width: 170px; } .piece.plate { right: 0; top: 10px; width: 140px; }
  .piece.schema { left: 30%; bottom: 0; top: auto; width: 150px; } .piece.frame { right: 0; bottom: 0; width: 170px; } .piece.wave { display: none; }
}

/* Schematic */
.schema-svg { width: 100%; height: auto; }
.schema-svg .flow { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.schema-svg .blue { stroke: #4f86e8; } .schema-svg .red { stroke: #ef6a5b; }
.schema-svg .node rect { fill: var(--raised); } .schema-svg .node.main rect { fill: var(--ink); }
.schema-svg text { font: 500 15px var(--font-ui); text-anchor: middle; fill: var(--ink); }
.schema-svg .node.main text { fill: var(--bg); }
.schema-svg .tag-text { font-size: 13px; fill: var(--ink-2); }

/* ---------- Home: the story (one question, five media) ---------- */
.story { padding: var(--s-8) 0; }
.story-copy { display: grid; gap: var(--s-8); }
.story-copy li { display: grid; gap: var(--s-3); }
.story-stage { display: grid; gap: var(--s-5); }
.layer { position: relative; display: grid; place-items: center; min-height: 340px; padding: var(--s-6); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.story-grid { display: grid; gap: var(--s-7); }
.story-dots { display: none; }
.paper { display: grid; gap: 10px; padding: 34px 38px; border-radius: var(--r-md); background: #ffffff; rotate: -2deg; box-shadow: var(--float); }
.paper .hand { font-size: clamp(34px, 4vw, 52px); }
.scribble { width: 100%; } .scribble path { fill: none; stroke: #ef6a5b; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; }
.l-schema .schema-svg { max-width: 440px; }
.l-plate img { max-height: 420px; width: auto; filter: drop-shadow(0 24px 40px rgb(16 17 20 / 0.18)); }
.plate-tags { position: absolute; left: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.layer.l-video { align-content: center; gap: var(--s-4); background: var(--stage-deep); }
.strip { display: flex; gap: 12px; width: max-content; justify-self: start; }
.cell { position: relative; flex: none; width: 240px; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: #000; }
.cell.light { background: #f5f5f7; } .cell img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cell canvas { position: absolute; inset: 0; }
.cell:nth-child(2) { outline: 2px solid var(--glow); outline-offset: 3px; }
.subtitle-line { justify-self: center; padding: 6px 14px; border-radius: var(--r-sm); background: rgb(0 0 0 / 0.5); font-size: 16px; }
.player-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; }
.player-line .round { background: var(--on-stage); color: var(--stage-deep); } .player-line small { color: color-mix(in srgb, var(--on-stage) 70%, transparent); }
.skill-card { display: grid; gap: var(--s-4); justify-items: start; max-width: 460px; padding: var(--s-6); border-radius: var(--r-lg); background: var(--bg); }
.story > .note { margin-top: var(--s-5); }

@media (prefers-reduced-motion: no-preference) and (min-width: 821px) {
  .js-story .story { height: 520vh; padding: 0; }
  .js-story .story-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
  .js-story .story-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
  .js-story .story-copy, .js-story .story-stage { display: grid; }
  .js-story .story-copy li, .js-story .story-stage .layer { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity var(--t-reveal) var(--ease), transform 600ms var(--ease); }
  .js-story .story-copy li { transform: translateY(28px); }
  .js-story .story-copy li.is-past { transform: translateY(-28px); }
  .js-story .story-stage .layer { height: min(560px, 68vh); transform: scale(0.94) translateY(36px); }
  .js-story .story-stage .layer.is-past { transform: scale(1.04) translateY(-36px); }
  .js-story .story-copy li.is-active, .js-story .story-stage .layer.is-active { opacity: 1; transform: none; pointer-events: auto; }
  .js-story .scribble path { stroke-dashoffset: calc(1 - var(--t, 0) * 1.6); }
  .js-story .l-schema .flow { stroke-dashoffset: calc(1 - var(--t, 0) * 1.4); }
  .js-story .l-plate img { transform: scale(calc(0.92 + var(--t, 0) * 0.12)) rotate(calc(-3deg + var(--t, 0) * 3deg)); }
  .js-story .story-stage .strip { transform: translateX(calc(8% - var(--t, 0) * 46%)); }
  .js-story .story-stage .l-video .playbar i { width: calc(8% + var(--t, 0) * 80%); }
  .js-story .skill-card { transform: translateY(calc(30px - var(--t, 0) * 30px)); }
  .js-story .story-dots { position: absolute; left: 50%; bottom: 28px; display: flex; gap: 8px; translate: -50% 0; }
  .story-dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--sunken); transition: background var(--t-panel) var(--ease), width var(--t-panel) var(--ease); }
  .story-dots i.is-active { width: 48px; background: var(--ink); }
  .js-story .story > .note { position: absolute; left: 0; right: 0; bottom: 0; }
  .js-story .story { position: relative; }
}

/* ---------- Home: products and closing ---------- */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-5); }
.product-xl { display: grid; grid-template-rows: minmax(280px, 42vh) auto; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; }
.product-xl.dark { background: var(--stage-deep); color: var(--on-stage); }
.product-xl .product-media { position: relative; overflow: hidden; display: grid; place-items: center; }
.product-xl .product-media img { height: 118%; width: auto; max-width: none; transition: scale 700ms var(--ease); }
.product-xl .product-media canvas { position: absolute; inset: 0; transition: scale 700ms var(--ease); }
.product-xl:hover .product-media img, .product-xl:hover .product-media canvas { scale: 1.05; }
.product-xl .product-copy { display: grid; gap: var(--s-2); padding: var(--s-6); }
.product-xl .title { font-size: clamp(28px, 3vw, 40px); }
.product-xl p { color: var(--ink-2); max-width: 46ch; }
.product-xl.dark p { color: color-mix(in srgb, var(--on-stage) 78%, transparent); }
.product-xl .linkrow { margin-top: var(--s-3); }
.link-sheet { color: var(--ink); text-decoration: none; transition: background var(--t-control) var(--ease); }
.link-sheet:hover { background: var(--sunken); }
.chain-flow { display: flex; flex-wrap: wrap; gap: 10px; }
.chain-flow li { display: inline-flex; align-items: center; gap: 10px; font: var(--display-weight, 500) clamp(20px, 2.6vw, 32px)/1.2 var(--font-display); letter-spacing: var(--display-track); }
.chain-flow li + li::before { content: ""; width: clamp(18px, 3vw, 44px); height: 3px; border-radius: 2px; background: var(--iris, var(--line-strong)); }
.closing { display: grid; min-height: 460px; place-items: center; text-align: center; }
.closing canvas { position: absolute; inset: 0; opacity: 0.55; }
.closing-copy { position: relative; display: grid; gap: var(--s-5); justify-items: center; padding: var(--s-7) var(--s-5); max-width: 720px; }
.closing-copy .lead { color: color-mix(in srgb, var(--on-stage) 82%, transparent); }
.brand-dot { background: var(--iris, var(--dot)); }

/* Entrance, once, for large blocks only. */
@media (prefers-reduced-motion: no-preference) {
  .js-story .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
  .js-story .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Inner pages ---------- */
.page-top { padding-top: var(--s-5); }
.hero-stage { min-height: min(640px, 78vh); }
.row.between { justify-content: space-between; }
.big-sheet p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.big-sheet .question { color: var(--ink); }
.prose code { padding: 2px 6px; border-radius: var(--r-xs); background: var(--surface); font-size: 0.9em; }
.photo { display: grid; place-items: center; padding: var(--s-6); background: var(--surface); }

/* Small screens: each text sits right above its own media, and the collage stays still. */
.story-copy, .story-stage { display: contents; }
.story-copy li:nth-child(1) { order: 1; } .story-stage .layer:nth-child(1) { order: 2; }
.story-copy li:nth-child(2) { order: 3; } .story-stage .layer:nth-child(2) { order: 4; }
.story-copy li:nth-child(3) { order: 5; } .story-stage .layer:nth-child(3) { order: 6; }
.story-copy li:nth-child(4) { order: 7; } .story-stage .layer:nth-child(4) { order: 8; }
.story-copy li:nth-child(5) { order: 9; } .story-stage .layer:nth-child(5) { order: 10; }
.story-grid { gap: var(--s-5); }
.story-copy li { margin-top: var(--s-6); }
@media (max-width: 980px) { .collage .piece { translate: none !important; } }
@media (prefers-reduced-motion: no-preference) and (min-width: 821px) { .js-story .story-copy li { margin-top: 0; } }
.hero-stage canvas { opacity: 0.38; }

/* ---------- Learning story details ---------- */
.territory { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.territory li { padding: 7px 14px; border-radius: var(--r-pill); background: var(--surface); font-size: 14px; color: var(--ink-2); }
.evidence { display: grid; gap: 8px; margin-top: var(--s-3); }
.evidence div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); }
.evidence dt { font-size: 13px; color: var(--ink-2); }
.evidence dd { font-weight: 500; }
.evidence div + div dd { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.piece.recall { right: 1%; bottom: 6%; width: clamp(200px, 19vw, 260px); display: grid; gap: 10px; padding: 18px 20px; background: var(--ink); color: var(--bg); rotate: -3deg; }
.piece.recall small { opacity: 0.7; font-size: 12px; } .piece.recall strong { font: 500 18px/1.25 var(--font-title); }
.spaced { display: flex; align-items: center; gap: 6px; }
.spaced i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.spaced i:nth-child(2) { margin-left: 10px; } .spaced i:nth-child(3) { margin-left: 26px; opacity: 0.6; } .spaced i:nth-child(4) { margin-left: 52px; opacity: 0.3; }
@media (max-width: 980px) { .piece.recall { right: 0; bottom: 0; width: 180px; } }
.timeline { position: relative; width: min(520px, 100%); }
.timeline .track { position: absolute; left: 8px; right: 8px; top: 7px; height: 3px; border-radius: 2px; background: var(--sunken); }
.timeline .track i { display: block; height: 100%; width: 100%; border-radius: 2px; background: var(--ink); }
.timeline ol { position: relative; display: grid; grid-template-columns: 1fr 1.6fr 2.4fr auto; }
.timeline li { display: grid; gap: 4px; padding-top: 28px; font-weight: 500; }
.timeline li b { position: absolute; top: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--surface); }
.timeline li small { font-weight: 400; font-size: 13px; color: var(--ink-2); max-width: 12ch; }
.plate-tags .task { padding: 8px 14px; border-radius: var(--r-md); background: var(--bg); font-weight: 500; }
.plate-tags { align-items: center; right: 24px; }
.techniques { display: grid; gap: 8px; }
.techniques.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.techniques li { display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); }
.techniques strong { font-weight: 500; } .techniques span { color: var(--ink-2); }
.chain-flow li:last-child { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) and (min-width: 821px) {
  .js-story .timeline .track i { width: calc(var(--t, 0) * 130%); max-width: 100%; }
  .js-story .l-plate .plate-tags { opacity: calc(var(--t, 0) * 3); }
}
.hero-text { max-width: 700px; }
.hero-text .display { font-size: clamp(42px, 6vw, 80px); }
.piece.plate { right: 1%; }

/* ================= Review pass (2026-12-03): photography, layered media, calmer sections ================= */
body { font-size: 16px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.band { padding: clamp(64px, 9vw, 128px) 0; gap: var(--s-7); }
.band-head { gap: var(--s-4); max-width: 760px; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); width: 100%; max-width: none; padding-inline: max(clamp(16px, 4vw, 40px), calc((100vw - 1180px) / 2 + 40px)); }

/* Hero: copy on the left, one composed image on the right */
.hero-mixed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(24px, 5vw, 80px); place-items: center stretch; min-height: min(820px, 88vh); padding-top: var(--s-6); padding-bottom: var(--s-8); }
.hero-text { justify-items: start; text-align: left; max-width: none; gap: var(--s-5); }
.hero-text .display { font-size: clamp(44px, 5.6vw, 84px); }
.hero-text .row, .territory { justify-content: flex-start; }
.territory li { background: none; padding: 0; color: var(--ink-2); }
.territory li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px 3px 4px; border-radius: 50%; background: var(--line-strong); }
.territory { gap: 0; }
.composite { position: relative; width: 100%; aspect-ratio: 4 / 4.6; max-height: 78vh; justify-self: end; }
.composite .shot { position: absolute; inset: 0 6% 4% 8%; border-radius: var(--r-xl); overflow: hidden; background: var(--sunken); }
.composite .shot img { width: 100%; height: 108%; object-fit: cover; }
.composite .piece { box-shadow: var(--float); }
.composite .piece.schema { left: -4%; bottom: 0; top: auto; width: 40%; padding: 10px; background: var(--surface); rotate: -3deg; }
.composite .piece.plate { right: -3%; top: 6%; width: 30%; padding: 10px; background: var(--surface); rotate: 4deg; }
.composite .piece.recall { right: -2%; bottom: 12%; width: 46%; rotate: 2deg; }
.ink { position: absolute; fill: none; pointer-events: none; }
.ink path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.composite .ink { left: 18%; top: 22%; width: 54%; }
.ink-note { position: absolute; left: 14%; top: 8%; color: #fff; font-size: clamp(22px, 2.2vw, 32px); rotate: -4deg; text-shadow: 0 1px 12px rgb(0 0 0 / 0.45); }
.ink.over { left: 20%; top: 18%; width: 60%; }
@media (prefers-reduced-motion: no-preference) {
  .composite .ink path { animation: draw 1.6s var(--ease) 0.5s both; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (max-width: 980px) {
  .hero-mixed { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .composite { justify-self: center; width: min(520px, 100%); max-height: none; }
  .composite [data-depth] { translate: none !important; }
}

/* Photo layers: image fills the sheet, other media sit on top */
.photo-layer { padding: 0; }
.layer .fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.layer .fill.half { bottom: auto; height: 52%; }
.photo-layer .paper, .photo-layer .skill-card { position: relative; margin: var(--s-6); }
.photo-layer.l-skill { place-items: end start; }
.photo-layer.l-skill .skill-card { box-shadow: var(--float); }
.photo-layer.l-question { place-items: end; }
.l-spacing { align-items: end; }
.l-spacing .timeline { margin: 0 var(--s-6) var(--s-7); width: auto; justify-self: stretch; }
.layer.l-schema { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: var(--s-4); }
.l-schema .aside-art { max-height: 300px; width: auto; justify-self: center; }
.layer { min-height: 420px; }

/* Sections without the card grid */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-6) var(--s-7); }
.pillars article { display: grid; gap: var(--s-3); align-content: start; }
.pillars p { color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.audiences figure { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-xl); overflow: hidden; background: var(--stage-deep); color: #fff; }
.audiences img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease); }
.audiences figure:hover img { scale: 1.05; }
.audiences figcaption { position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 72px 20px 20px; background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0)); }
.audiences strong { font: 600 20px/1.2 var(--font-title); letter-spacing: -0.02em; }
.audiences span { font-size: 14px; line-height: 1.4; opacity: 0.88; }
@media (max-width: 900px) { .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); } .audiences figure { aspect-ratio: 4 / 5; } }
@media (max-width: 520px) { .audiences { grid-template-columns: minmax(0, 1fr); } .audiences figure { aspect-ratio: 4 / 3; } }
.principles { display: grid; }
.principles li { display: grid; gap: var(--s-2); padding: var(--s-5) 0; }
.principles li + li { border-top: 1px solid var(--line); }
.principles h3 { font: var(--display-weight, 500) clamp(24px, 2.6vw, 34px)/1.15 var(--font-display); letter-spacing: var(--display-track); color: var(--ink-2); }
.principles h3 b { font-weight: inherit; color: var(--ink); }
.principles p { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 821px) { .sticky-head { position: sticky; top: 110px; } }
.techniques li { background: none; padding: 16px 0; border-radius: 0; }
.techniques li + li { border-top: 1px solid var(--line); }
.techniques strong { font-size: 18px; }
.techniques.two { gap: 0 var(--s-7); }
.evidence div { background: none; padding: 10px 0; border-radius: 0; }
.evidence div + div { border-top: 1px solid var(--line); }
.chain-flow li:not(:last-child) { color: var(--ink-2); }
.closing { min-height: 520px; }
.site-footer .footer-links { background: none; padding: var(--s-6) 0; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ================= Review pass 2: alignment, thesis ladder, closing ================= */
.wrap { width: min(1280px, 100%); }
.band.wrap { padding-inline: clamp(16px, 4vw, 40px); }
.site-header { padding-inline: max(clamp(16px, 4vw, 40px), calc((100vw - 1280px) / 2 + 40px)); }
.band-head > .btn, .page-head > .btn { justify-self: start; }
.post img { height: auto; }
.thesis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.thesis-photo, .side-photo { border-radius: var(--r-xl); overflow: hidden; background: var(--sunken); }
.thesis-photo { aspect-ratio: 4 / 3; }
.thesis-photo img { width: 100%; height: 112%; object-fit: cover; }
.side-photo { aspect-ratio: 16 / 10; margin-top: var(--s-5); }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }
.chain-flow { display: grid; gap: 6px; }
.chain-flow li { --i: 0; padding-left: calc(var(--i) * clamp(10px, 2.4vw, 36px)); font-size: calc(clamp(19px, 1.9vw, 26px) + var(--i) * 2.5px); line-height: 1.15; }
.chain-flow li:nth-child(2) { --i: 1; } .chain-flow li:nth-child(3) { --i: 2; } .chain-flow li:nth-child(4) { --i: 3; } .chain-flow li:nth-child(5) { --i: 4; } .chain-flow li:nth-child(6) { --i: 5; }
.chain-flow li + li::before { width: 14px; height: 14px; border-radius: 0 0 0 6px; background: none; border-left: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); translate: 0 -5px; }
.audiences figcaption { padding-top: 96px; background: linear-gradient(to top, rgb(0 0 0 / 0.86) 20%, rgb(0 0 0 / 0)); }
.closing { place-items: center start; text-align: left; }
.closing canvas { inset: 0 0 0 42%; width: 58%; opacity: 0.9; }
.closing-copy { justify-items: start; padding: var(--s-8) clamp(24px, 5vw, 72px); max-width: 640px; }
@media (max-width: 820px) {
  .thesis { grid-template-columns: minmax(0, 1fr); }
  .closing canvas { inset: 0; width: 100%; opacity: 0.28; }
}
.site-header.wrap { width: 100%; }
.site-footer.wrap { padding-inline: clamp(16px, 4vw, 40px); }

/* ================= Review pass 3: inner pages without the card grid ================= */
.cols { gap: var(--s-6); }
.cols .sheet, .people .sheet { padding: var(--s-5) 0 0; border-radius: 0; background: none; border-top: 1px solid var(--line); }
.sheet .subtitle { font-size: 20px; }
.sheet p { font-size: 16.5px; line-height: 1.55; max-width: 44ch; }
.steps .sheet::before { display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--ink-2); font: var(--display-weight, 500) 44px/1 var(--font-display); letter-spacing: var(--display-track); }
.facts { gap: 0 var(--s-6); }
.facts div { padding: var(--s-4) 0; border-radius: 0; background: none; border-top: 1px solid var(--line); }
.policy-table { padding: 0; border-radius: 0; background: none; }
.policy-table table { font-size: 17px; }
.policy-table th { padding-bottom: 14px; font-size: 14px; border-bottom: 1px solid var(--line); }
.policy-table td { padding: 20px 24px 20px 0; }
.policy-table td:first-child { font: var(--display-weight, 500) 22px/1.2 var(--font-display); letter-spacing: var(--display-track); }
.policy-table td:last-child:not(:has(a)) { color: var(--ink-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-2) 55%, transparent); }
.prose > .btn { justify-self: start; }
.side-photo.tall { aspect-ratio: 4 / 4.4; margin-top: 0; }
.side-photo.tall img { height: 110%; }
.statements { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--s-7) clamp(24px, 5vw, 80px); }
.statements article { display: grid; gap: var(--s-4); align-content: start; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.statement { font: var(--display-weight, 500) clamp(22px, 2.3vw, 32px)/1.22 var(--font-display); letter-spacing: var(--display-track); text-wrap: pretty; }
.page-top .layer { min-height: 480px; }
.sheet.plain { padding: var(--s-5) 0 0; border-radius: 0; background: none; border-top: 1px solid var(--line); }
.sheet.plain p { max-width: 52ch; font-size: 17px; line-height: 1.6; }
.l-video .strip { justify-self: center; max-width: 100%; }
.l-video .cell { width: clamp(120px, 14vw, 190px); }
.posts:has(.featured) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .posts:has(.featured) { grid-template-columns: minmax(0, 1fr); } .post.featured { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 980px) { .composite { width: min(480px, 88%); } .timeline small { display: none; } }

/* ================= Audit pass (2026-12-03): behavior, motion, small and short screens ================= */
[id] { scroll-margin-top: 96px; }
.site-header { transition: box-shadow var(--t-panel) var(--ease); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.hero-text { min-width: 0; }
.hero-mixed { min-height: min(820px, calc(100vh - 110px)); padding-bottom: var(--s-7); }
.hero-text .display { font-size: clamp(38px, min(5.6vw, 10vh), 84px); }
.composite { max-height: min(78vh, 720px); }
.ink-note { left: 12%; top: 7%; }
.paper { max-width: 82%; padding: 26px 30px; }
.paper .hand { font-size: clamp(26px, min(3vw, 5.4vh), 44px); }
.paper .small-hand { font-size: clamp(18px, 1.8vw, 24px); }
.photo-layer .paper { margin: var(--s-5); }
.audiences figure:hover img { scale: none; }
.audiences img { transition: none; }
.skill-card .btn, .big-sheet .row span.btn { pointer-events: none; }
.statements { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.footer-top p { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .js-story .reveal { transform: translateY(16px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
  .js-story .audiences .reveal:nth-child(2), .js-story .posts .reveal:nth-child(2), .js-story .cols .reveal:nth-child(2), .js-story .principles .reveal:nth-child(2), .js-story .duo .reveal:nth-child(2), .js-story .statements .reveal:nth-child(2) { transition-delay: 90ms; }
  .js-story .audiences .reveal:nth-child(3), .js-story .posts .reveal:nth-child(3), .js-story .cols .reveal:nth-child(3), .js-story .principles .reveal:nth-child(3) { transition-delay: 180ms; }
  .js-story .audiences .reveal:nth-child(4), .js-story .cols .reveal:nth-child(4), .js-story .principles .reveal:nth-child(4) { transition-delay: 270ms; }
  .mobile-nav:not([hidden]) { animation: nav-in var(--t-panel) var(--ease); }
  @keyframes nav-in { from { opacity: 0; translate: 0 -8px; } }
}
@media (max-width: 900px) {
  .site-header .nav-toggle { margin-left: 0; }
  .site-header .menu-wrap { position: static; }
  .site-header .account-menu { left: clamp(16px, 4vw, 40px); right: clamp(16px, 4vw, 40px); top: 68px; width: auto; }
  .mobile-nav a { padding: 10px 14px; }
}
@media (max-width: 520px) {
  .hero-text .row { width: 100%; }
  .hero-text .row .btn { flex: 1 1 auto; justify-content: center; }
  .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
}
main { overflow-x: clip; }
.story-copy li, .story-grid, .chain-flow li { min-width: 0; }
@media (max-width: 360px) {
  .evidence div { grid-template-columns: 76px minmax(0, 1fr); }
  .chain-flow li { padding-left: calc(var(--i) * 6px); font-size: calc(18px + var(--i) * 1.5px); }
  .composite .piece.recall { right: 0; width: 50%; }
}
@media (max-width: 640px) {
  .policy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .policy-table table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; }
  .policy-table tr { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
  .policy-table tr + tr td { border-top: 0; }
  .policy-table td { padding: 2px 0; }
  .policy-table td:first-child { padding-bottom: 6px; }
}

.product-xl .product-media img.cover { width: 100%; height: 100%; object-fit: cover; }
.media-card { position: absolute; left: var(--s-5); bottom: var(--s-5); display: grid; gap: 8px; width: min(280px, 70%); padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: var(--float); }
.media-card small { font-size: 12px; color: var(--ink-2); }
.media-card strong { font: 500 17px/1.25 var(--font-title); }
.steps-line { display: flex; gap: 6px; }
.steps-line i { flex: 1; height: 4px; border-radius: 2px; background: var(--sunken); }
.steps-line i:first-child { background: var(--ink); }

/* ================= Footer (2026-12-03) ================= */
.site-footer { display: block; margin-top: clamp(64px, 9vw, 128px); padding: 0; background: var(--sunken); color: var(--ink-2); font-size: 15px; }
.footer-inner { display: grid; gap: var(--s-8); padding-block: clamp(48px, 7vw, 88px) var(--s-6); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-7) clamp(32px, 6vw, 96px); align-items: start; }
.footer-intro { display: grid; gap: var(--s-5); justify-items: start; }
.footer-intro .brand { font-size: 30px; }
.footer-line { max-width: 14ch; color: var(--ink); font: var(--display-weight, 500) clamp(26px, 2.8vw, 38px)/1.08 var(--font-display); letter-spacing: var(--display-track); }
.footer-intro .btn.secondary { background: var(--surface); }
.site-footer .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); padding: 0; border: 0; }
.footer-links div { gap: 12px; }
.footer-links strong { margin-bottom: 4px; font-size: 14px; }
.footer-links a, .footer-links button { font-size: 16px; }
.site-footer .footer-bottom { flex-direction: row; align-items: baseline; padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 13px; }
.site-footer .privacy-summary { margin: 0; }
@media (max-width: 820px) { .footer-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .footer-bottom { flex-direction: column; } }
@media (max-width: 520px) { .site-footer .footer-links div:last-child { grid-column: 1 / -1; } }

/* Floating pieces use the pad role, so they stay white when the page itself is white. */
.composite .piece.schema, .composite .piece.plate, .media-card, .footer-intro .btn.secondary, .skill-card { background: var(--pad); }

/* ================= Living opening (2026-12-03) ================= */
.hero-live { position: relative; display: grid; place-items: center; min-height: calc(100vh - 76px); padding: var(--s-8) 0; overflow: hidden; text-align: center; }
.living { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-live .living { inset: -6% -4%; width: 108%; height: 112%; opacity: 0.9; mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); }
.hero-live-copy { position: relative; display: grid; gap: var(--s-6); justify-items: center; }
.hero-live .display { max-width: 11ch; font-size: clamp(46px, min(9vw, 15vh), 136px); line-height: 0.94; }
.hero-live .lead { max-width: 34ch; color: var(--ink); font-size: clamp(18px, 1.7vw, 24px); }
.hero-live .row { justify-content: center; }
.word { display: inline-block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; vertical-align: bottom; }
.word > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .word > span { animation: word-rise 900ms var(--ease) both; }
  .hero-live .lead, .hero-live .row { animation: soft-in 800ms var(--ease) 620ms both; }
  .hero-live .living { animation: soft-in 1600ms ease-out both; }
  @keyframes word-rise { from { transform: translateY(105%); } }
  @keyframes soft-in { from { opacity: 0; } }
}
.closing .living { inset: 0 0 0 38%; width: 62%; height: 100%; opacity: 1; }
.thesis .composite { justify-self: start; max-height: none; }
@media (max-width: 820px) {
  .hero-live { min-height: calc(100svh - 76px); }
  .closing .living { inset: 0; width: 100%; opacity: 0.45; }
  .thesis .composite { justify-self: center; margin-bottom: var(--s-6); }
}
.hero-live { padding: var(--s-7) 0; }
.hero-live .display { max-width: 15ch; font-size: clamp(42px, min(7.4vw, 12.5vh), 116px); line-height: 0.96; }
.hero-live-copy { gap: var(--s-5); }

/* ================= The spectrum carries through the page (2026-12-03) ================= */
:root { --spectrum: linear-gradient(100deg, #4f86e8, #8b6cf6 36%, #ef6a5b 70%, #f5b041); }
.band .headline, .story .headline { font-size: clamp(34px, 4.4vw, 62px); }
.brand-dot { background: var(--spectrum); width: 7px; height: 7px; }
.story-dots i.is-active { background: var(--spectrum); }
.timeline .track i, .steps-line i:first-child, .playbar i { background: var(--spectrum); }
.chain-flow li + li::before { border-color: var(--step, var(--line-strong)); }
.chain-flow li:nth-child(2) { --step: #4f86e8; } .chain-flow li:nth-child(3) { --step: #7376f1; } .chain-flow li:nth-child(4) { --step: #a76bd9; }
.chain-flow li:nth-child(5) { --step: #ef6a5b; } .chain-flow li:nth-child(6) { --step: #f5b041; }
.btn.primary { transition: box-shadow var(--t-panel) var(--ease), background var(--t-control) var(--ease), transform var(--t-press) var(--ease); }
.btn.primary.lg:hover { box-shadow: 0 10px 30px -10px rgb(139 108 246 / 0.34), 0 4px 16px -8px rgb(239 106 91 / 0.26); }
.product-xl .product-media .living { inset: 0; width: 100%; height: 100%; opacity: 1; }
.hero-stage .living { opacity: 1; }
.site-header.is-scrolled { box-shadow: none; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--spectrum); transform-origin: left; transform: scaleX(var(--read, 0)); }
.hero-stage .living { inset: 0 0 0 40%; width: 60%; }

.duo.single .product-xl { grid-template-rows: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: min(520px, 62vh); align-items: stretch; }
.duo.single .product-copy { align-content: center; padding: clamp(24px, 4vw, 56px); }
@media (max-width: 820px) { .duo.single .product-xl { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(260px, 40vh) auto; min-height: 0; } }

/* ================= Institution pass (2026-12-03): evidence over adjectives ================= */
.ledger { display: grid; }
.ledger > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-3) var(--s-6); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.ledger dt { font: var(--display-weight, 500) clamp(20px, 2vw, 26px)/1.2 var(--font-display); letter-spacing: var(--display-track); }
.ledger dd { display: grid; gap: 2px; }
.ledger dd strong { font-weight: 500; font-size: 18px; }
.ledger dd span { color: var(--ink-2); }
.shared-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: var(--s-3) var(--s-6); align-items: center; padding: var(--s-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.shared-row strong { font: var(--display-weight, 500) clamp(20px, 2vw, 26px)/1.2 var(--font-display); letter-spacing: var(--display-track); }
.shared-row span { color: var(--ink-2); }
.shared-row .icon { transition: transform var(--t-control) var(--ease); }
.shared-row:hover .icon { transform: translateX(4px); }
.statements.three { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.statements.three .statement { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; }
.refs { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.refs li { font-size: 16px; line-height: 1.5; max-width: 56ch; color: var(--ink-2); }
.contact-line { display: grid; gap: var(--s-4); }
.link-plain { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.link-plain:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.techniques strong a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
@media (max-width: 640px) {
  .ledger > div, .shared-row { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .shared-row .icon { display: none; }
}
.band > .btn { justify-self: start; }

/* ================= Colour and theme pass (2026-12-03) ================= */
/* On a dark page the dark stage blocks sit on a background of almost the same value: a hairline keeps their edge. */
:root[data-mode="dark"] .closing.stage, :root[data-mode="dark"] .product-xl.dark, :root[data-mode="dark"] .big-sheet.stage, :root[data-mode="dark"] .l-video.stage { box-shadow: inset 0 0 0 1px var(--line); }

/* ================= Opening sketch (2026-12-03): figures of learning drawn and undone in ribbons of light ================= */
.hero-live .sketch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero-live .sketch { animation: soft-in 1200ms ease-out both; } }
.hero-live .lead { max-width: 44ch; color: var(--ink-2); text-wrap: balance; }

/* The opening fills the first screen; the bands above and below the words are where the figures live. */
.hero-live { min-height: max(560px, calc(100svh - var(--above, 76px))); padding: clamp(88px, 15vh, 150px) 0; }
@media (max-width: 720px) { .hero-live { padding: clamp(96px, 15vh, 130px) 0; } }

/* ---------- Site audit pass ---------- */
/* Three items never wrap as two and an orphan: three columns when they fit, one column when they do not. */
@media (max-width: 899px) { .cols:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* On narrow stages the figure sits behind the words, so it steps back and the text reads first. */
@media (max-width: 899px) { .closing.stage .living { opacity: 0.5; } }
/* Quieter marks: thin rules and small dots carry the structure, so the words keep the contrast. */
.timeline .track { top: 5px; height: 2px; border-radius: 1px; }
.timeline li b { width: 11px; height: 11px; box-shadow: 0 0 0 4px var(--surface); }
.timeline li { padding-top: 24px; }
.chain-flow li + li::before { border-left-width: 1.5px; border-bottom-width: 1.5px; }
.steps-line i { height: 2px; border-radius: 1px; }
/* ---------- Responsive audit ---------- */
/* The video demo keeps its three scenes and its player inside the stage on narrow screens. */
@media (max-width: 899px) {
  .layer.l-video { padding: var(--s-5); }
  .l-video .strip { width: 100%; }
  .l-video .cell { flex: 1 1 0; width: auto; min-width: 0; }
}
/* The longest word of the headline fits a 320px screen. */
@media (max-width: 359px) { .hero-live-copy .display { font-size: 35px; } }
.blog-back { padding: 6px 0; }
/* ---------- Drawings in place of photographs ---------- */
.drawing { display: block; }
.layer .plate-drawing { width: min(360px, 78%); aspect-ratio: 1; }
.product-xl .product-media .cover.drawing { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing .closing-drawing { position: absolute; inset: 0 0 0 42%; width: 58%; height: 100%; opacity: 1; }
@media (max-width: 899px) { .closing .closing-drawing { inset: 0; width: 100%; opacity: 0.26; } }
.cols.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) { .cols.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cols.four { grid-template-columns: minmax(0, 1fr); } }
/* Three items sit side by side again from tablet width up. */
@media (min-width: 700px) and (max-width: 899px) { .cols:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ---------- Second review pass ---------- */
/* Consecutive bands on the home share one interval instead of stacking two. */
.band.follows { padding-top: 0; }
.story .headline { font-size: clamp(32px, 3.7vw, 52px); }
.post .subtitle { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
@media (max-width: 720px) {
  /* On a phone the picture sits close to the idea it explains. */
  .story .layer { min-height: 300px; }
  .schema-svg .tag-text { font-size: 19px; }
  .product-xl { grid-template-rows: minmax(190px, 26vh) auto; }
}
/* On narrow stages the drawing gets its own strip under the words, in full colour. */
@media (max-width: 899px) {
  .closing.stage { grid-template-rows: auto 190px; }
  .closing.stage .closing-copy { grid-row: 1; }
  .closing.stage .closing-drawing { position: relative; inset: auto; grid-row: 2; width: 100%; height: 190px; opacity: 1; }
}
/* The note sits under the story, clear of its progress marks. */
@media (prefers-reduced-motion: no-preference) and (min-width: 821px) {
  .js-story .story > .note { bottom: auto; top: 100%; margin-top: var(--s-4); }
  .js-story .story { margin-bottom: 88px; }
}

/* Final challenge answers the tap */
.skill-card button.btn { pointer-events: auto; }
.skill-card .reply { margin: 0; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2, inherit); }

/* Heart diagram readable on phones: the drawing sits above a larger diagram */
@media (max-width: 640px) {
  .layer.l-schema { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--s-5); padding-block: var(--s-6); }
  .l-schema .aside-art { max-height: 170px; }
  .l-schema .schema-svg { width: min(100%, 300px); }
  .schema-svg text { font-size: 20px; }
  .schema-svg .tag-text { font-size: 21px; transform: translateX(22px); }
}

/* Third review pass: shorter story travel, compact blog on phones, company identity beside the contact */
@media (prefers-reduced-motion: no-preference) and (min-width: 821px) { .js-story .story { height: 400vh; } }
.footer-id { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 640px) {
  .posts { gap: var(--s-4); }
  .posts:not(:has(.featured)) .post:not(:first-child) { grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; border-radius: var(--r-lg); }
  .posts:not(:has(.featured)) .post:not(:first-child) img { height: 100%; aspect-ratio: auto; }
  .posts:not(:has(.featured)) .post:not(:first-child) .post-copy { padding: var(--s-4); align-content: center; }
  .posts:not(:has(.featured)) .post:not(:first-child) .post-copy p { display: none; }
  .posts:not(:has(.featured)) .post:not(:first-child) .subtitle { font-size: 18px; }
}

/* Theme: automatic, light or dark. theme.js sets data-theme; without it the control stays hidden. */
.theme-wrap, .theme-row { display: none; }
:root[data-theme] .theme-wrap { display: inline-block; }
[data-theme-icon] { display: none; }
:root[data-theme="auto"] [data-theme-icon="auto"], :root[data-theme="light"] [data-theme-icon="light"], :root[data-theme="dark"] [data-theme-icon="dark"] { display: block; }
.theme-menu { left: auto; right: 0; min-width: 176px; transform-origin: top right; }
.theme-menu button[aria-pressed="true"], .theme-row button[aria-pressed="true"] { background: var(--raised); font-weight: 500; }
.theme-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.theme-row button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--r-md); background: none; color: var(--ink); font-size: 14px; }
@media (max-width: 900px) {
  :root[data-theme] .theme-wrap { display: none; }
  :root[data-theme] .theme-row { display: grid; }
}

/* Only the science table strikes its last column ("what is not enough"); legal tables state durations. */
.legal-page .policy-table td:last-child { text-decoration: none; }
