:root{--ink:#242423;--paper:#efedeb;--orange:#c84816;--sun:#ffcc41;--rule:#a8a39f;--soft:#ddd9d3;--font:Inter,Arial,sans-serif;--serif:Georgia,serif;--space:clamp(1.1rem,4vw,4.5rem);--target:2.75rem}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:1rem/1.5 var(--font)}img{display:block;max-width:100%}a{color:inherit;text-underline-offset:.22em}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid var(--orange);outline-offset:4px}.skip{position:fixed;top:.5rem;left:.5rem;z-index:99;transform:translateY(-200%);background:white;padding:.7rem}.skip:focus{transform:none}
.hero{position:relative;display:flex;min-height:100svh;background:#e5e0dc;isolation:isolate;overflow:hidden}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:67% center;z-index:-2}.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(239,236,233,.94) 0%,rgba(239,236,233,.78) 28%,rgba(239,236,233,.05) 60%,transparent 100%)}.hero-content{width:100%;padding:7.5rem var(--space) 2rem;display:flex;flex-direction:column;justify-content:center;align-items:start}.eyebrow,.caption,.project-kicker{font:600 .7rem/1.4 var(--font);letter-spacing:.11em;text-transform:uppercase}.eyebrow{display:flex;align-items:center;gap:.7rem}.eyebrow:before{content:"";width:1.9rem;height:2px;background:var(--orange)}.hero h1{font-size:clamp(3.1rem,8vw,8.5rem);line-height:.91;letter-spacing:-.075em;margin:1rem 0;font-weight:650}.hero h1 span{font:italic 400 .95em/.9 var(--serif);letter-spacing:-.06em}.hero-desc{max-width:23rem;font-size:clamp(1rem,1.25vw,1.2rem);line-height:1.55}.primary-link,.secondary-link,.motion-button{display:inline-flex;align-items:center;justify-content:center;gap:1rem;min-height:var(--target);padding:.7rem 1.1rem;text-decoration:none;font-size:.82rem;font-weight:700;border:1px solid var(--ink);background:var(--ink);color:#fff;border-radius:2px}.secondary-link,.motion-button{background:transparent;color:var(--ink)}.primary-link:hover{background:var(--orange);border-color:var(--orange)}.hero-bottom{margin-top:3rem;display:flex;align-items:center;gap:.8rem;font-size:.76rem}.motion-button{border-radius:50%;width:3rem;height:3rem;min-width:3rem;padding:0;font-size:1.1rem}.hero-bottom span{max-width:11rem}.hero-status{min-height:1.5rem;margin-top:.4rem;font-size:.75rem}
.section{padding:clamp(4rem,9vw,9rem) var(--space);max-width:100rem;margin:auto}.section-top{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}.section-top h2{font:500 clamp(2.8rem,6vw,6.5rem)/1 var(--font);letter-spacing:-.065em;margin:.4rem 0}.section-top h2 em{font:italic 400 1em/1 var(--serif)}.section-top p{max-width:29rem;color:#545552}.feature{display:grid;background:#dedbd5;overflow:hidden}.feature-art{min-height:19rem;display:grid;place-items:center;background:#d4d0cb}.feature-art img{width:100%;height:100%;max-height:42rem;object-fit:contain}.feature-copy{padding:clamp(1.5rem,4vw,4rem);display:flex;flex-direction:column;align-items:start;justify-content:center}.feature-copy h3{font-size:clamp(2.4rem,4vw,5rem);line-height:1;letter-spacing:-.07em;margin:.7rem 0}.feature-copy p{max-width:34ch}.feature-copy .primary-link{margin-top:1rem}.project-grid{display:grid;gap:1.3rem;margin-top:1.3rem}.project{display:block;text-decoration:none;border-top:1px solid var(--rule);padding-top:.7rem}.project img{width:100%;aspect-ratio:1.5;object-fit:cover;background:#d6d1cb}.project h3{font-size:clamp(1.45rem,2.4vw,2.5rem);letter-spacing:-.05em;margin:.5rem 0}.project p{max-width:39ch;color:#545552}.project small{display:block;color:#545552;margin-top:.5rem}.journal{border-top:1px solid var(--rule)}.journal-grid{display:grid;gap:1.5rem}.story-card{display:block;text-decoration:none;border-top:1px solid var(--rule);padding-top:.8rem}.story-card .story-art{aspect-ratio:1.8;overflow:hidden;background:#d5d2cc}.story-card img{width:100%;height:100%;object-fit:contain}.story-card h3{font-size:1.55rem;line-height:1.15;letter-spacing:-.04em;margin:.6rem 0}.story-card p{color:#555}.meta-line{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.image-credit{font-size:.7rem}.footer{background:#242423;color:#f3f1ed;padding:4rem var(--space);display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap}.footer h2{font-size:clamp(3rem,7vw,7rem);letter-spacing:-.07em;line-height:1;margin:.5rem 0}.footer a{display:inline-flex;min-height:var(--target);align-items:center;margin-right:1rem}
@media(min-width:45rem){.feature{grid-template-columns:1.35fr 1fr}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-content{max-width:52%}.hero-bottom{margin-top:4rem}}
@media(max-width:44.999rem){.hero{min-height:calc(100svh - 6.25rem)}.hero-image{object-position:69% center}.hero::before{background:linear-gradient(180deg,rgba(239,236,233,.95),rgba(239,236,233,.8) 39%,rgba(239,236,233,.12) 78%)}.hero-content{justify-content:flex-start;padding-top:2.4rem}.hero h1{font-size:clamp(3.2rem,13vw,5rem)}.hero-bottom{margin-top:auto;padding-top:9rem}.hero-status{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.wrap{max-width:95rem;margin-inline:auto;padding-inline:var(--space)}
.crumb,.text-act{display:inline-flex;align-items:center;min-height:var(--target);font-weight:600}.page-head{padding:2rem 0;border-bottom:1px solid var(--rule)}.page-head h1,.article h1{font-size:clamp(3.4rem,8vw,7rem);letter-spacing:-.075em;line-height:.98;margin:1rem 0}.tag{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em}.lead{font-size:clamp(1.05rem,1.6vw,1.35rem);line-height:1.5;max-width:58ch}.story-card h2{font-size:1.6rem;line-height:1.15;letter-spacing:-.04em;margin:.7rem 0}.article{max-width:62rem;margin:auto;padding:3rem var(--space) 7rem}.article .meta-line{margin-top:2rem}.article section{margin-top:3rem;max-width:72ch}.article section h2{font-size:clamp(1.8rem,3vw,3rem);line-height:1.05;letter-spacing:-.05em}.article section p{line-height:1.7}.article>.text-act{margin-top:2rem}.article .story-art{margin-top:2rem;background:#d5d2cc}.article .story-art img{width:100%;max-height:32rem;object-fit:contain}.video-block{margin:2rem 0}.video-block video,.video-block iframe{display:block;width:100%;aspect-ratio:16/9;background:#222;border:0}.video-block summary{cursor:pointer;min-height:var(--target);padding-top:.7rem}


.story-card .story-art,.article .story-art{position:relative}
.image-credit{position:absolute;left:.5rem;bottom:.5rem;background:#242423;color:#fff;padding:.2rem .4rem;font-size:.65rem}
.story-art:has(img[src*="/scan-"]),.story-art:has(img[src*="/split-"]){background:#263638}

/* The hero follows the accepted storyboard's presentation and scale. */
.hero{--hero-title-inset:clamp(6rem,13svh,8rem);min-height:min(100svh,calc(100vw * .5628));background:#eae6e3}
.hero-image{object-fit:cover;object-position:center center}
.hero::before{background:linear-gradient(90deg,rgba(237,233,230,.45),rgba(237,233,230,.05) 35%,transparent 60%)}
.hero-content{justify-content:flex-start;padding-top:var(--hero-title-inset);padding-bottom:3rem;max-width:44%}
.hero h1{font:400 clamp(3.5rem,6.4vw,6.8rem)/.87 var(--serif);letter-spacing:-.065em;margin:0 0 1rem}
.hero h1 span{font:inherit;letter-spacing:inherit}
.hero-desc{font:italic clamp(1rem,1.2vw,1.22rem)/1.3 var(--serif);color:var(--ink);margin:0}
.hero-desc:after{content:'';display:block;width:1.8rem;height:2px;background:var(--orange);margin-top:1rem}
.hero-bottom{margin-top:2rem}
.motion-button{width:2.75rem;height:2.75rem;min-width:2.75rem;border-color:var(--rule);font-size:.8rem}
@media(max-width:44.999rem){
 .hero{min-height:calc(100svh - 6rem)}
 .hero-image{height:58%;top:auto;bottom:0;object-fit:cover;object-position:75% center}
 .hero::before{background:linear-gradient(180deg,#ebe7e4 0%,#ebe7e4 35%,rgba(235,231,228,.22) 67%,transparent 100%)}
 .hero-content{max-width:none;--hero-title-inset:1.85rem}
 .hero h1{font-size:clamp(3.8rem,15vw,5.6rem)}
 .hero-bottom{margin-top:1.2rem;padding:0}
}




@media(max-width:44.999rem){}
@media(prefers-reduced-motion:reduce){}

.hero-lab{display:inline-flex;align-items:center;min-height:var(--target);font-size:.8rem;font-weight:700;color:var(--orange)}.hero-lab[hidden]{display:none}

/* Sketch and finished-work surfaces alternate throughout the journey. */
:root{--draft-line:rgba(81,76,70,.12);--draft-size:1.125rem;--draft-paper:#e9e6e2}
.journal,.page-head{background-color:var(--draft-paper);background-image:linear-gradient(var(--draft-line) 1px,transparent 1px),linear-gradient(90deg,var(--draft-line) 1px,transparent 1px);background-size:var(--draft-size) var(--draft-size)}
.journal{max-width:none;padding-inline:max(var(--space),calc((100vw - 95rem)/2))}
.page-head{padding-inline:var(--space);margin-inline:calc(-1 * var(--space));padding-block:2rem 3rem}
.article{position:relative;isolation:isolate}.article:before{content:'';position:absolute;z-index:-1;inset:0 0 auto;height:clamp(15rem,30vw,24rem);background-color:var(--draft-paper);background-image:linear-gradient(var(--draft-line) 1px,transparent 1px),linear-gradient(90deg,var(--draft-line) 1px,transparent 1px);background-size:var(--draft-size) var(--draft-size);mask-image:linear-gradient(#000 65%,transparent)}
.section-top h2,.page-head h1{font-family:var(--serif);font-weight:400;letter-spacing:-.055em}.project h3{font-family:var(--serif);font-weight:400}

/* Portfolio-wide drafting paper with restrained ink and orange details. */
:root{--paper-grain:rgba(50,45,40,.025);--draft-line-soft:rgba(81,76,70,.075);--accent-ink:#222220;--accent-orange:#bc4518}
body{background-color:var(--paper);background-image:linear-gradient(var(--draft-line-soft) 1px,transparent 1px),linear-gradient(90deg,var(--draft-line-soft) 1px,transparent 1px),repeating-linear-gradient(18deg,transparent 0 3px,var(--paper-grain) 4px,transparent 5px);background-size:var(--draft-size) var(--draft-size),var(--draft-size) var(--draft-size),auto}
.text-act:hover,.crumb:hover{color:var(--accent-orange)}
.project{position:relative}
.project:before,.story-card:before{content:"";display:block;width:1.7rem;height:2px;background:var(--accent-orange);margin-bottom:.7rem}
.project img,.story-card .story-art{outline:1px solid rgba(36,36,35,.25);outline-offset:-1px}
.project:hover h3,.story-card:hover h2,.story-card:hover h3{color:var(--accent-orange)}
.feature{outline:1px solid rgba(36,36,35,.25)}
.feature-copy{background-color:rgba(239,237,235,.55);background-image:linear-gradient(var(--draft-line-soft) 1px,transparent 1px),linear-gradient(90deg,var(--draft-line-soft) 1px,transparent 1px);background-size:var(--draft-size) var(--draft-size)}
.feature-copy .project-kicker:before{content:"";display:inline-block;width:.35rem;height:.35rem;background:var(--accent-orange);margin-right:.5rem;vertical-align:middle}
.article section h2:before{content:"";display:block;width:1.7rem;height:2px;background:var(--accent-orange);margin-bottom:.8rem}
.footer{background-color:#242423;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:var(--draft-size) var(--draft-size)}
.footer .project-kicker:before{content:"";display:inline-block;width:1.5rem;height:2px;background:var(--accent-orange);margin-right:.7rem;vertical-align:middle}

.mechanism-story{background:var(--ink);color:var(--paper);padding:clamp(4rem,8vw,8rem) var(--space)}
.mechanism-layout{max-width:95rem;margin:auto;display:grid;gap:2rem;align-items:center}
.mechanism-copy h2{font:400 clamp(2.7rem,5vw,5.5rem)/1 var(--serif);letter-spacing:-.055em;margin:1rem 0}
.mechanism-copy h2 em{font-weight:400;color:#f7b66a}
.mechanism-copy>p:not(.eyebrow):not(.mechanism-credit){max-width:37ch;color:#e5e0da}
.mechanism-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.8rem}
.mechanism-actions .primary-link{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.mechanism-actions .secondary-link{border-color:#aaa39e;color:var(--paper)}
.mechanism-story a:focus-visible,.mechanism-story button:focus-visible{outline-color:var(--sun)}
.mechanism-credit{font-size:.75rem;color:#beb6ae;margin-top:2rem}
.mechanism-view{margin:0;min-width:0}.mechanism-image{display:grid;place-items:center;aspect-ratio:1050/810;background-color:#dbd8d3;background-image:linear-gradient(rgba(81,76,70,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(81,76,70,.12) 1px,transparent 1px);background-size:1.125rem 1.125rem}
.mechanism-image img{width:100%;height:100%;object-fit:contain}.mechanism-view figcaption{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:.75rem;font-size:.75rem;color:#e5e0da}
.mechanism-switch{display:flex;gap:.5rem}.mechanism-switch button{min-height:var(--target);padding:.5rem .8rem;border:1px solid #aaa39e;background:transparent;color:var(--paper)}.mechanism-switch button[aria-pressed=true]{background:var(--paper);border-color:var(--paper);color:var(--ink)}
@media(min-width:45rem){.mechanism-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,5vw,6rem)}}

.mechanism-story{background-color:var(--ink);background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:var(--draft-size) var(--draft-size)}
.mechanism-copy h2 em{color:#f0a75a}

.mechanism-story{background-color:var(--ink);background-image:linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px),repeating-linear-gradient(18deg,transparent 0 3px,rgba(255,255,255,.025) 4px,transparent 5px);background-size:var(--draft-size) var(--draft-size),var(--draft-size) var(--draft-size),auto}

/* The interactive annotation shares the poster's source coordinates. */
.hero {
  --trace-duration: 1100ms;
  --trace-orange: #a2310b;
  --trace-paper: #f3ede2;
}
.hero-drawing { position: absolute; z-index: 1; pointer-events: none; }
.hero-trace { display: block; width: 100%; height: 100%; overflow: visible; }
.hero::after { display: none; }
.hero-trace .route {
  fill: none;
  stroke: var(--trace-orange);
  stroke-width: 3;
  stroke-dasharray: 8 7;
  opacity: 0;
}
.hero-trace .motion-layer { opacity: 0; }
.hero-trace .wheel-face { transform-box: fill-box; transform-origin: center; }
.hero-trace .gate { transform-origin: 1062px 317px; }
.hero-trace .exit-ring { transform-origin: 718px 721px; }
.hero-trace .part-ink {
  fill: var(--trace-paper);
  stroke: var(--trace-orange);
  stroke-width: 3;
}
.hero-trace .part-detail { fill: none; stroke: var(--trace-orange); stroke-width: 2.5; }
.hero-trace .card-face { fill: var(--sun); stroke: var(--trace-orange); stroke-width: 2.5; }
.hero.is-playing .route,
.hero[data-step="3"] .route { opacity: .82; }
.hero-trace .wheel-layer { opacity: 1; }
.hero.is-playing .wheel-face { animation: drive-wheel var(--trace-duration) cubic-bezier(.3,.1,.4,1) both; }
.hero.is-playing .gate { animation: feed-gate var(--trace-duration) ease both; }
.hero.is-playing .card-art { animation: carry-card var(--trace-duration) linear both; }
.hero.is-playing .exit-ring { animation: detect-exit var(--trace-duration) ease-out both; }
.hero[data-step="3"] .exit-ring { opacity: 1; }
@keyframes drive-wheel { from { transform: rotate(0); } to { transform: rotate(1080deg); } }
@keyframes feed-gate {
  0% { opacity: 0; transform: rotate(0); }
  10%,24% { opacity: 1; transform: rotate(-20deg); }
  40% { opacity: 1; transform: rotate(0); }
  56%,100% { opacity: 0; transform: rotate(0); }
}
@keyframes carry-card {
  0%,12% { opacity: 0; transform: translate(1030px,294px) rotate(-20deg); }
  20% { opacity: 1; transform: translate(1030px,294px) rotate(-20deg); }
  42% { opacity: 1; transform: translate(1162px,377px) rotate(10deg); }
  59% { opacity: 1; transform: translate(1127px,554px) rotate(30deg); }
  84% { opacity: 1; transform: translate(742px,693px) rotate(-20deg); }
  90%,100% { opacity: 0; transform: translate(694px,748px) rotate(-25deg); }
}
@keyframes detect-exit {
  0%,81% { opacity: 0; transform: scale(.8); }
  86% { opacity: 1; transform: scale(1.16); }
  100% { opacity: 1; transform: scale(1); }
}
.wheel-hotspot {
  position: absolute;
  left: 79.2%;
  top: 57.4%;
  z-index: 1;
  transform: translate(-50%, -50%);
  inline-size: var(--target);
  block-size: var(--target);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}
.wheel-hotspot[hidden] { display: none; }
.wheel-hotspot:focus-visible {
  outline: 2px solid var(--trace-orange);
  outline-offset: 3px;
}
.hero-drawing:has(.wheel-hotspot:is(:hover, :focus-visible)) .wheel-layer .part-ink {
  fill: var(--sun);
}
.motion-button:hover { background: var(--ink); color: var(--paper); }
.motion-button:active { scale: .93; }
.hero-bottom { gap: .65rem; flex-wrap: wrap; }
.motion-button { width: auto; height: auto; padding: .45rem .75rem; border-radius: .15rem; }
.hero-bottom .hero-lab {
  padding-inline: .5rem;
  color: var(--trace-orange);
  text-underline-offset: .25em;
}
.hero-status { min-block-size: 2.5em; margin-block: .2rem 0; max-inline-size: 32ch; }
.mechanism-switch { flex-wrap: wrap; }
.mechanism-switch .text-act { color: var(--paper); font-size: inherit; padding-inline: .45rem; }
.mechanism-view [data-assembly-status] { display: block; flex-basis: 100%; min-block-size: 1.25em; }
.project[href="cardin-v2.html"] { grid-column: 1 / -1; }
.project[href="cardin-v2.html"] img { aspect-ratio: 2.45; object-fit: contain; background: var(--draft-paper); }
@media (min-width: 45rem) {
  .project[href="cardin-v2.html"] img { float: left; inline-size: 54%; margin-inline-end: 4%; }
  .project[href="cardin-v2.html"]::after { content: ""; display: block; clear: both; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-trace *, .wheel-hotspot, .motion-button { animation: none !important; transition: none; }
  .hero[data-step="3"] .gate, .hero[data-step="3"] .wheel-layer { opacity: 1; }
}

@media(min-width:75rem) { .hero { min-block-size: min(100svh,70vw); } }

.hero .wheel-hotspot { -webkit-tap-highlight-color: transparent; }
@media(max-width:44.999rem) {
  .hero::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--folio-texture);
    background-size: var(--folio-paper-size);
    mask-image: linear-gradient(#000 28%, transparent 62%);
    opacity: .65;
    pointer-events: none;
  }
}

/* Shared paper design tokens. Source: paper.css */

:root {
  --folio-paper: #efedeb;
  --folio-charcoal: #242423;
  --folio-plate: #dbd8d3;
  --folio-grid: 1.125rem;
  --folio-grid-light: rgba(81,76,70,.10);
  --folio-grain-light: rgba(50,45,40,.025);
  --folio-grid-dark: rgba(255,255,255,.14);
  --folio-grain-dark: rgba(255,255,255,.026);
  --folio-line: var(--folio-grid-light);
  --folio-grain: var(--folio-grain-light);
  --folio-paper-size: var(--folio-grid) var(--folio-grid), var(--folio-grid) var(--folio-grid), auto;
}
body,.journal,.page-head,.mechanism-image,.case-hero .plate,#visitor,#visitor #viewport,.mechanism-story,.footer,.sitefoot,.lab-panel {
  --folio-texture:
    linear-gradient(var(--folio-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--folio-line) 1px, transparent 1px),
    repeating-linear-gradient(18deg, transparent 0 3px, var(--folio-grain) 4px, transparent 5px);
}
body,.journal,.page-head,.mechanism-image,.case-hero .plate,#visitor,#visitor #viewport {
  --folio-line: var(--folio-grid-light);
  --folio-grain: var(--folio-grain-light);
  background-image: var(--folio-texture);
  background-size: var(--folio-paper-size);
}
.mechanism-story,.footer,.sitefoot,.lab-panel {
  --folio-line: var(--folio-grid-dark);
  --folio-grain: var(--folio-grain-dark);
  background-image: var(--folio-texture);
  background-size: var(--folio-paper-size);
}
.mechanism-actions a:hover,.mechanism-switch a:hover { color: var(--sun); }
.mechanism-actions .primary-link:hover { background-color: var(--ink); color: var(--paper); }
#visitor #viewport {
  background-image: var(--folio-texture) !important;
  background-size: var(--folio-paper-size) !important;
}
#visitor .lab-fallback {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1rem;
  color: var(--folio-charcoal);
  background: var(--folio-paper);
}
#visitor .lab-fallback[hidden] { display: none; }
#visitor .lab-fallback img { display: block; inline-size: 100%; height: auto; }
#visitor .lab-fallback p { margin: 0; }
#visitor .lab-fallback a { display: flex; align-items: center; min-block-size: 2.75rem; }

/* Gallery navigation and registered pillar demonstrations. */
.hero [hidden] { display: none; }
.gallery-sr {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-image--alternate {
  object-fit: cover;
  object-position: center center;
}
.gallery-overlay {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.gallery-overlay svg { display: block; inline-size: 100%; block-size: 100%; overflow: visible; }
.pillar-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  inline-size: var(--target);
  block-size: var(--target);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.pillar-hotspot:focus-visible { outline: 2px solid var(--trace-orange); outline-offset: 3px; }
.pillar-marker, .pillar-trace, .pillar-result {
  fill: none;
  stroke: var(--trace-orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar-marker { fill: var(--trace-paper); fill-opacity: .28; }
.gallery-overlay:has(.pillar-hotspot:is(:hover, :focus-visible)) .pillar-marker { fill: var(--sun); fill-opacity: .7; }
.pillar-trace { opacity: 0; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-width: 4; }
.pillar-result { opacity: 0; stroke-width: 4; }
.gallery-overlay[data-action="running"] .pillar-trace {
  animation: pillar-signal 340ms calc(340ms * var(--signal-order)) cubic-bezier(.25,.2,.35,1) both;
}
.gallery-overlay[data-action="complete"] .pillar-trace { opacity: .75; stroke-dashoffset: 0; }
.gallery-overlay[data-action="complete"] .pillar-result { opacity: 1; }
@keyframes pillar-signal {
  from { opacity: 0; stroke-dashoffset: 100; }
  14% { opacity: 1; }
  to { opacity: .75; stroke-dashoffset: 0; }
}
@media (max-width:44.999rem) {
  .hero-content { padding-bottom: .75rem; }
  .hero-image--alternate { height: min(54%, 86vw); object-position: 95% center; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-overlay .pillar-trace { animation: none !important; }
}

/* Warm drafting cues grow around the illustrated controls. Hit areas stay fixed. */
.hero {
  --cue-amber: #ee9d42;
  --cue-stroke: #a34c13;
  --cue-core: color-mix(in srgb, var(--trace-paper) 46%, var(--cue-amber));
  --cue-duration: 1800ms;
}
.hero-trace .wheel-layer .part-ink {
  fill: var(--cue-core);
  stroke: var(--cue-stroke);
}
.gallery-overlay .pillar-marker {
  fill: var(--cue-amber);
  fill-opacity: .46;
  stroke: var(--cue-stroke);
}
.hero .hero-drawing:has(.wheel-hotspot:is(:hover, :focus-visible)) .wheel-layer .part-ink,
.hero .gallery-overlay:has(.pillar-hotspot:is(:hover, :focus-visible)) .pillar-marker {
  fill: var(--cue-amber);
  fill-opacity: .76;
}
/* Four fixed outlines overlap briefly, so the wave travels only outward. */
.hero-cue-ripple {
  fill: none;
  stroke: #d86a14;
  stroke-width: 4;
  filter: drop-shadow(0 0 3px var(--cue-amber));
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(var(--cue-size));
  animation: var(--cue-wave) var(--cue-duration) 170ms ease-in-out 2 both;
}
.hero-cue-ripple.cue-center { --cue-size: .84; --cue-wave: hero-wave-center; stroke-width: 3.25; }
.hero-cue-ripple.cue-small { --cue-size: 1.08; --cue-wave: hero-wave-small; }
.hero-cue-ripple.cue-medium { --cue-size: 1.26; --cue-wave: hero-wave-medium; }
.hero-cue-ripple.cue-large { --cue-size: 1.48; --cue-wave: hero-wave-large; }
.hero.is-playing .hero-drawing .hero-cue-ripple,
.gallery-overlay[data-action="running"] .hero-cue-ripple {
  visibility: hidden;
  animation-play-state: paused;
}
@keyframes hero-wave-center {
  0%, 23%, 100% { opacity: 0; }
  6%, 15% { opacity: .98; }
}
@keyframes hero-wave-small {
  0%, 15%, 39%, 100% { opacity: 0; }
  23%, 31% { opacity: .98; }
}
@keyframes hero-wave-medium {
  0%, 31%, 55%, 100% { opacity: 0; }
  39%, 47% { opacity: .98; }
}
@keyframes hero-wave-large {
  0%, 47%, 86%, 100% { opacity: 0; }
  55%, 67% { opacity: .95; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-cue-ripple { animation: none; }
}


/* Homepage sequence between the work introduction and the project grid. */
#work {
  --work-chapter-gap: clamp(2rem, 4vw, 4rem);
}

.work-intro {
  padding-block: var(--section-inset) var(--work-chapter-gap);
}

.journal {
  --journal-rule-width: 1px;
  border-block-start-width: var(--journal-rule-width);
  padding-block: calc(var(--section-inset) - var(--journal-rule-width)) var(--section-inset);
}

:is(.work-intro, .journal) .eyebrow { margin-block-start: var(--section-label-offset); }

.work-projects { padding-block: var(--work-chapter-gap) var(--section-inset); }
.work-projects .project-grid { margin-block-start: 0; }
