:root {
  --layout-max: 82rem;
  --type-sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --type-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --radius-control: 0;
  --poster-ink: #362538;
  --poster-paper: #F8F2EE;
  --poster-blue: #D7E2EC;
  --type-poster: Arial, "Liberation Sans", sans-serif;
  --space-32: 8rem;
  --poster-muted: #5C4B5D;
  --poster-line: #B9A6BC;
  --poster-accent: #853657;
  --poster-lilac: #E6D8EA;
  --poster-peach: #F0BB9F;
  --poster-stock: #FFFAF8;
}

:root {
  --max: var(--layout-max, 82rem);
  --text: var(--type-sans, system-ui, -apple-system, "Segoe UI", sans-serif);
  --mono: var(--type-mono, "IBM Plex Mono", Consolas, monospace);
  --s2: var(--space-2, .5rem);
  --s3: var(--space-3, .75rem);
  --s4: var(--space-4, 1rem);
  --s6: var(--space-6, 1.5rem);
  --s8: var(--space-8, 2rem);
  --s12: var(--space-12, 3rem);
  --s16: var(--space-16, 4rem);
  --s24: var(--space-24, 6rem);
  --s32: var(--space-32, 8rem);
  --edge: clamp(var(--s4), 5vw, var(--s16));
  --section: clamp(var(--s16), 8vw, var(--s32));
  --columns: clamp(var(--s8), 6vw, var(--s24));
  --control-radius: var(--radius-control, 0);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--text); }
body, main, section, article, figure, .shell, .split > *, .steps > *, .role-list > * { min-width: 0; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.045; letter-spacing: -.05em; text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(2.65rem, 5.2vw, 5.2rem); }
h3 { font-size: clamp(1.65rem, 2.8vw, 2.65rem); line-height: 1.12; }
a { color: inherit; text-underline-offset: .27em; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-block-start: var(--s6); }
.shell { width: min(calc(100% - var(--edge) * 2), var(--max)); margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--columns); }
.band { padding-block: var(--section); }
.lede { max-width: 36rem; font-size: clamp(1.07rem, 1.55vw, 1.32rem); line-height: 1.55; }
.kicker { font: 600 .74rem/1.4 var(--text); letter-spacing: .13em; text-transform: uppercase; }
.arrow { display: inline-block; flex: none; font-family: var(--text); line-height: 1; }
.jump { z-index: 20; position: absolute; inset: .5rem auto auto .5rem; width: max-content; transform: translateY(calc(-100% - 1rem)); padding: var(--s3) var(--s4); background: var(--ink); color: var(--paper); }
.jump:focus { transform: none; }
.head-inner, .foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s8); }
.head-inner { min-height: 4.65rem; }
.wordmark { display: inline-flex; gap: .27em; align-items: baseline; padding-block: .6rem; font: 800 1.36rem/1.05 var(--text); letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.wordmark span { font-weight: 500; letter-spacing: -.052em; }
.site-nav, .foot-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(var(--s3), 2.8vw, var(--s8)); }
.site-nav a, .foot-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .88rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .foot-nav a:hover, .wordmark:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s6); }
.button, .text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: var(--s3); font-weight: 680; font-size: .91rem; }
.button { justify-content: space-between; width: fit-content; padding: .8rem 1.05rem; border: 1px solid var(--ink); border-radius: var(--control-radius); background: var(--ink); color: var(--paper); text-decoration: none; }
.button:hover { background: var(--paper); color: var(--ink); }
.button:focus-visible { outline-color: var(--ink); }
.text-link { width: fit-content; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.footer { padding-block: var(--s6); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: var(--s4); align-items: end; }
.section-head p { max-width: 33rem; }
.media { margin: 0; }
.media-slot { display: grid; place-items: center; width: 100%; min-height: 13rem; aspect-ratio: 1.57; padding: clamp(var(--s3), 3vw, var(--s8)); border: 1px solid var(--line); background: color-mix(in srgb, var(--pale) 30%, var(--stock)); }
.rule-list, .steps, .role-list, .example-rows, .portfolio-list, .pilot-checklist { list-style: none; padding: 0; margin: 0; }
.rule-list li { border-top: 1px solid var(--line); padding-block: var(--s4); display: grid; gap: var(--s2); }
.rule-list strong, .role-list strong { font-weight: 700; }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list p, .role-list p { max-width: 42ch; }
.rule-list p { color: var(--muted); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: "0" counter(step); font: 500 .76rem/1 var(--mono); display: block; letter-spacing: .04em; }
.steps li h3 { margin-top: var(--s4); }
.steps li p { margin-top: var(--s3); max-width: 35ch; }
.portfolio-list { border-top: 1px solid var(--line); }
.portfolio-list li { border-bottom: 1px solid var(--line); }
.portfolio-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .32rem var(--s4); align-items: baseline; text-decoration: none; padding-block: var(--s6); }
.portfolio-link .portfolio-name { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -.03em; font-size: clamp(1.55rem, 3vw, 2.55rem); line-height: 1.13; }
.portfolio-link:hover .portfolio-name { text-decoration: underline; text-decoration-thickness: 1px; }
.portfolio-link .portfolio-summary { grid-column: 1; font-size: .94rem; }
.portfolio-link .arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 1.45rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s4); min-height: 3rem; padding: var(--s4) 0; font-size: 1.03rem; font-weight: 690; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+" / ""; font: 400 1.5rem/1 var(--text); }
.faq details[open] summary::after { content: "−" / ""; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.faq details p { padding-bottom: var(--s6); max-width: 55ch; color: var(--muted); }
@media (max-width: 48rem) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
  .head-inner { padding-block: var(--s2); gap: 0 var(--s4); }
  .section-head { align-items: start; }
}
@media (max-width: 28rem) {
  .site-nav, .foot-nav { column-gap: var(--s4); }
  .site-nav a, .foot-nav a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root {
  --paper: var(--poster-paper, #F8F2EE);
  --ink: var(--poster-ink, #362538);
  --muted: var(--poster-muted, #5C4B5D);
  --line: var(--poster-line, #B9A6BC);
  --accent: var(--poster-accent, #853657);
  --pale: var(--poster-lilac, #E6D8EA);
  --pilot: var(--poster-peach, #F0BB9F);
  --cool: var(--poster-blue, #D7E2EC);
  --stock: var(--poster-stock, #FFFAF8);
  --display: var(--type-poster, Arial, "Liberation Sans", sans-serif);
  --display-weight: 800;
}
.head { border-bottom: 1px solid var(--ink); background: var(--pale); }
.head .wordmark { font-weight: 850; }
.head a:hover { color: var(--accent); }
.kicker { color: var(--accent); }
.button { box-shadow: .2rem .2rem 0 var(--accent); }
.button:hover { box-shadow: .2rem .2rem 0 var(--ink); }
.ink-word { color: var(--accent); }
.marker { position: relative; display: inline-block; isolation: isolate; }
.marker::after { content: ""; position: absolute; z-index: -1; inset: auto .01em -.03em -.04em; height: .14em; border-block: 1px solid var(--accent); border-radius: 70% 22% 68% 32%; transform: rotate(-2.2deg); }
.paper-edge { position: relative; isolation: isolate; }
.paper-edge::before { content: ""; position: absolute; z-index: -1; top: -.59rem; left: 0; width: 100%; height: .63rem; background: var(--edge-paper, var(--paper)); clip-path: polygon(0 40%, 3% 51%, 8% 24%, 14% 48%, 20% 20%, 25% 60%, 31% 26%, 39% 48%, 43% 17%, 51% 58%, 56% 37%, 64% 54%, 70% 15%, 79% 38%, 87% 22%, 94% 56%, 97% 26%, 100% 42%, 100% 100%, 0 100%); pointer-events: none; }
.ink-arrow { display: block; position: absolute; width: 5rem; height: 2.15rem; border-bottom: 2px solid currentColor; border-radius: 0 0 62% 65%; color: var(--accent); transform: rotate(-16deg); pointer-events: none; }
.ink-arrow::after { content: ""; position: absolute; right: 0; bottom: .17rem; width: .72rem; height: .72rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(24deg); }
.register { position: absolute; width: 1.65rem; height: 1.65rem; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); pointer-events: none; }
.register::before, .register::after { content: ""; position: absolute; left: -.35rem; right: -.35rem; top: 50%; border-top: 1px solid currentColor; }
.register::after { transform: rotate(90deg); }
.poster .portfolio-band { background: var(--cool); --edge-paper: var(--cool); --line: color-mix(in srgb, var(--ink) 35%, var(--cool)); }
.poster .pilot-band { background: var(--pilot); --edge-paper: var(--pilot); }
.poster .footer { border-top-color: var(--ink); background: var(--pale); }

.theme-cleaning {
  --paper: #fbf3e8;
  --ink: #412922;
  --muted: #654840;
  --line: #bda295;
  --accent: #913827;
  --pale: #f3d9bc;
  --pilot: #edb8a7;
  --cool: #ebe2cd;
  --stock: #fffbf6;
}

.theme-waste {
  --paper: #edf3ee;
  --ink: #173a35;
  --muted: #3f5b52;
  --line: #8da49a;
  --accent: #176253;
  --pale: #cee3d7;
  --pilot: #e3d8ad;
  --cool: #cfe2e6;
  --stock: #f8fcf8;
}

.feature { color: var(--ink); }
.product-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--accent);
  font: 800 .85rem/1.1 var(--text);
  letter-spacing: -.025em;
}
.product-mark {
  display: grid;
  width: 1.75rem;
  aspect-ratio: 1;
  place-items: center;
  background: var(--accent);
  color: var(--stock);
}
.product-mark::before {
  content: "";
  width: .75rem;
  height: .42rem;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: translateY(-2px) rotate(-45deg);
}
.theme-waste .product-mark::before {
  width: .72rem;
  height: .72rem;
  border-width: 1px;
  border-radius: 50%;
  transform: none;
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 4px var(--stock);
}

.preview {
  width: 100%;
  max-width: 32rem;
  min-width: 0;
  background: var(--stock);
  border: 1px solid var(--ink);
  box-shadow: .3rem .3rem 0 var(--accent);
  color: var(--ink);
  container-type: inline-size;
}
.preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s2);
  padding: var(--s3);
  border-bottom: 1px solid var(--line);
}
.preview-heading strong {
  display: block;
  font: var(--display-weight) clamp(1.05rem, 3.8cqi, 1.6rem)/1.1 var(--display);
  letter-spacing: -.04em;
}
.preview-place, .preview-label {
  display: block;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.4;
}
.preview-place { margin-bottom: .28rem; }
.preview-label {
  padding: .12rem .32rem;
  border: 1px solid var(--line);
}
.preview-body {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: var(--s3);
  padding: var(--s3);
}
.preview-drawing { min-height: 7rem; }
.preview-records {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  padding: 0;
  list-style: none;
  font-size: .73rem;
  font-weight: 650;
  line-height: 1.25;
}
.preview-records li {
  display: grid;
  align-content: center;
  gap: .25rem;
  border-bottom: 1px solid var(--line);
  padding-block: .25rem;
}
.preview-records li:first-child { padding-top: 0; }
.preview-records .status { font-size: .65rem; }
.floor-plan {
  display: grid;
  grid-template: 1fr 1fr / 1fr 1.24fr;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
}
.floor-room {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .69rem;
}
.floor-entry { grid-row: span 2; background: var(--pale); }
.floor-hall { background: var(--pilot); }
.floor-stairs { background: var(--cool); }
.route-map {
  position: relative;
  background:
    linear-gradient(62deg, transparent 47%, var(--stock) 47% 53%, transparent 53%),
    linear-gradient(-24deg, transparent 62%, var(--stock) 62% 69%, transparent 69%),
    var(--cool);
}
.route-path {
  position: absolute;
  inset: 0;
  background: var(--accent);
  clip-path: polygon(18% 83%, 74% 69%, 80% 47%, 80% 18%, 81% 18%, 81% 48%, 75% 71%, 18% 85%);
}
.route-pin {
  position: absolute;
  display: grid;
  width: 1.25rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--stock);
  color: var(--accent);
  font: 700 .66rem/1 var(--mono);
  transform: translate(-50%, -50%);
}
.route-pin-first { left: 18%; top: 84%; background: var(--accent); color: var(--stock); }
.route-pin-second { left: 74%; top: 70%; }
.route-pin-third { left: 81%; top: 18%; background: var(--pilot); }
@container (min-width: 25rem) {
  .preview-heading, .preview-body { padding: var(--s4); }
  .preview-records li { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
}

.home-hero { position: relative; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { margin-top: var(--s4); }
.hero-copy h1 > .title-line { display: block; }
.hero-copy .lede { margin-block: var(--s6) var(--s8); }
.home-products .section-head { margin-bottom: var(--s12); }
.home-products .section-head h2 { font-size: clamp(2.35rem, 3.8vw, 4rem); }
.feature { position: relative; }
.feature h3 { margin-top: var(--s4); font-size: clamp(2.45rem, 5vw, 5.12rem); line-height: .99; }
.feature p { margin-block: var(--s4) var(--s3); max-width: 35ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); }
.feature-copy { min-width: 0; }
.feature-copy .text-link { font-weight: 750; }
.experience-grid { align-items: start; }
.experience-grid .section-head { gap: var(--s4); }
.work-band .section-head { margin-bottom: var(--s8); }
.home .steps li { padding-top: var(--s4); }
.home .steps li::before { color: var(--accent); }
.home-pilot .section-head { gap: var(--s3); }
.home-pilot .pilot-links { display: grid; align-content: start; gap: var(--s3); justify-items: start; }
.home-pilot .pilot-links .text-link { font-size: 1rem; }

.poster .home-hero { background: var(--pale); }
.poster .home-hero .shell { position: relative; padding-block: clamp(var(--s16), 8.5vw, var(--s32)); }
.poster .hero-copy { width: fit-content; }
.poster .hero-copy h1 { font-size: clamp(3.2rem, 10.1vw, 10rem); line-height: .86; letter-spacing: -.085em; }
.poster .hero-copy h1 .title-line + .title-line { margin-top: .13em; }
.poster .hero-copy h1 b { color: var(--accent); }
.poster .hero-copy .lede { max-width: 31rem; }
.print-drawing { position: absolute; right: 0; top: 10%; width: clamp(10rem, 28vw, 27rem); aspect-ratio: 1; pointer-events: none; }
.print-drawing .star-image { position: absolute; z-index: 2; inset: 5% auto auto 7%; width: 77%; height: auto; filter: invert(1) contrast(1.08); mix-blend-mode: multiply; opacity: .83; transform: rotate(10deg); }
.halftone-disc { position: absolute; inset: 25% 0 8% 36%; border-radius: 49%; opacity: .48; background: radial-gradient(var(--accent) .065rem, transparent .078rem) 0 0 / .44rem .44rem; mask-image: linear-gradient(132deg, transparent 9%, #000 65%); }
.cut-paper { position: absolute; inset: 31% 15% 23% 10%; background: var(--pilot); clip-path: polygon(0 63%, 8% 58%, 16% 54%, 17% 47%, 28% 42%, 32% 37%, 51% 32%, 53% 24%, 65% 23%, 74% 14%, 83% 18%, 91% 11%, 100% 1%, 95% 35%, 90% 41%, 82% 45%, 70% 55%, 64% 57%, 49% 68%, 33% 72%, 29% 79%, 10% 89%, 0 100%); transform: rotate(-6deg); }
.print-drawing .register { right: 9%; top: 13%; }
.print-drawing .ink-arrow { right: 4%; bottom: -7%; rotate: -22deg; }
.poster .home-products { --edge-paper: var(--paper); }
.poster .home-products .section-head h2 { font-size: clamp(3rem, 5.9vw, 6rem); }
.poster .features { display: grid; grid-template-columns: minmax(0, 1.11fr) minmax(0, .89fr); align-items: start; gap: clamp(var(--s8), 8vw, var(--s32)); }
.poster .feature { border-top: 1px solid var(--ink); padding-top: var(--s6); }
.poster .feature-waste { margin-top: clamp(var(--s8), 7vw, var(--s24)); }
.poster .feature-copy { position: relative; }
.poster .feature h3 { margin-block: var(--s4) var(--s6); font-size: clamp(2.36rem, 4.65vw, 4.55rem); }
.poster .feature-waste .media-slot { aspect-ratio: 1.32; background: color-mix(in srgb, var(--cool) 29%, var(--stock)); }
.poster .feature-cleaning .register { top: .6rem; right: .6rem; }
.poster .feature-waste .ink-arrow { top: -.95rem; right: .55rem; width: 3.5rem; transform: rotate(-10deg); }
.poster .feature .feature-tail { padding-block: var(--s2) var(--s4); border-bottom: 1px solid var(--ink); }
.poster .portfolio-band .section-head { position: relative; }
.poster .portfolio-band .register { right: 9%; bottom: -2.35rem; }
.poster .work-band { background: var(--paper); }
.poster .work-band .section-head { margin-bottom: var(--s12); }
.poster .work-band .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s8); }
.poster .work-band .steps li { border-top: 1px solid var(--ink); }
.poster .work-band .steps li:nth-child(2) { margin-top: var(--s6); }
.poster .work-band .steps li:nth-child(3) { margin-top: var(--s12); }
.poster .home-pilot .section-head h2 { max-width: 13ch; }

@media (max-width: 52rem) {
  .poster .print-drawing { right: 0; top: 9%; width: clamp(7rem, 23vw, 13rem); }
}
@media (max-width: 48rem) {
  .poster .home-hero .shell { padding-block: clamp(var(--s16), 13vw, var(--s24)) var(--s16); }
  .poster .hero-copy h1 { font-size: clamp(3.05rem, 11.6vw, 5.8rem); }
  .poster .print-drawing { top: 5%; right: 0; width: clamp(5rem, 22vw, 10rem); }
  .poster .print-drawing .ink-arrow { width: 2.6rem; height: 1.3rem; transform: rotate(28deg); bottom: -4%; }
  .poster .features { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
  .poster .feature-waste { margin-top: 0; }
  .poster .feature-waste .media-slot { aspect-ratio: 1.57; }
  .poster .portfolio-band .register { right: var(--s3); bottom: 0; }
  .poster .work-band .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .poster .work-band .steps li:nth-child(n) { margin-top: 0; }
}
@media (max-width: 31rem) {
  .poster .home-hero .shell { padding-top: var(--s24); }
  .poster .print-drawing { top: .4rem; width: clamp(4.5rem, 19vw, 7.3rem); }
  .poster .print-drawing .register { width: .85rem; height: .85rem; }
  .poster .print-drawing .ink-arrow { display: none; }
  .poster .portfolio-band .register { bottom: auto; top: .35rem; }
}

.case-hero { padding-block: clamp(var(--s12), 6.5vw, var(--s24)) var(--section); }
.case-hero .hero-layout { position: relative; align-items: center; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); }
.case-hero .hero-text { position: relative; z-index: 1; }
.case-hero .breadcrumbs { margin-bottom: var(--s6); }
.case-hero .breadcrumbs a { min-height: 2.75rem; align-items: center; display: inline-flex; gap: .55rem; font-size: .86rem; font-weight: 630; }
.case-hero .breadcrumbs a:hover { color: var(--accent); }
.case-hero h1 { margin-top: var(--s4); max-width: 11ch; font-size: clamp(3.35rem, 6.2vw, 6.6rem); line-height: .96; letter-spacing: -.062em; text-wrap: initial; }
.case-hero .lede { margin-block: var(--s4) var(--s8); color: var(--muted); }
.case-hero .media-slot { min-height: clamp(15rem, 32vw, 27rem); aspect-ratio: auto; }
.case-hero .hero-media { margin-top: var(--s6); }
.case-subhead { display: grid; align-content: start; gap: var(--s4); position: relative; }
.case-subhead .lede { max-width: 30rem; }
.case-intro { border-top: 1px solid var(--line); }
.case-intro .case-subhead h2, .case-roles .case-subhead h2 { max-width: 14ch; }
.case-flow .case-subhead { margin-bottom: var(--s12); }
.case-flow .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s8); }
.case-flow .steps li { border-top: 1px solid var(--line); padding-block: var(--s4) var(--s6); }
.case-flow .steps li::before { color: var(--accent); }
.case-flow .steps h3 { font-size: clamp(1.7rem, 3.1vw, 3.04rem); }
.case-flow .steps p { color: var(--muted); }
.case-example .split { align-items: center; }
.case-example .case-subhead h2 { max-width: 14ch; }
.case-example .case-subhead p { max-width: 44ch; }
.case-example .example-note { font-size: .93rem; }
.example-figure { border: 1px solid var(--line); background: var(--stock); color: var(--ink); }
.example-figure figcaption { display: flex; padding: var(--s4) var(--s6); flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); border-bottom: 1px solid var(--line); font-size: .91rem; font-weight: 680; }
.example-figure .context { color: var(--muted); font-size: .73rem; font-weight: 500; }
.example-rows li { display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) max-content; align-items: baseline; gap: .35rem var(--s3); padding: var(--s4) var(--s6); }
.example-rows li + li { border-top: 1px solid var(--line); }
.example-rows .record-time { font: 500 .78rem/1.2 var(--mono); color: var(--muted); }
.example-rows .record-place { font-size: .88rem; font-weight: 670; }
.status { width: fit-content; padding: .18rem .4rem; border: 1px solid transparent; font-size: .71rem; font-weight: 650; line-height: 1.35; }
.status-done { color: var(--ink); background: var(--pale); }
.status-note { color: var(--ink); background: var(--pilot); }
.status-open { color: var(--muted); border-color: var(--line); }
.case-roles .role-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s8); margin-top: var(--s8); }
.role-list li { border-top: 1px solid var(--line); padding-top: var(--s4); }
.role-list strong { display: block; font-size: 1.07rem; }
.role-list p { margin-top: var(--s2); color: var(--muted); }
.case-pilot .shell { position: relative; }
.pilot-checklist { display: grid; border-top: 1px solid var(--line); }
.pilot-checklist li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); align-items: baseline; gap: var(--s3); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.pilot-checklist li::before { content: ""; width: .63rem; height: .63rem; border: 1px solid currentColor; }
.case-faq .case-subhead h2 { max-width: 10ch; }
.case-end { border-top: 1px solid var(--line); padding-block: var(--s12); }
.case-end .portfolio-link { border-bottom: 1px solid var(--line); padding-block: var(--s4); }
.case-end .portfolio-summary { color: var(--muted); }

.poster .case-hero { background: var(--pale); }
.poster .case-hero .hero-layout .register { right: .6rem; top: -.5rem; }
.poster .case-hero h1 { font-size: clamp(3.4rem, 7.3vw, 7.3rem); max-width: 10ch; letter-spacing: -.075em; }
.poster .case-hero h1 .ink-word { display: block; }
.poster .case-intro { border-top: 0; }
.poster .case-intro .ink-arrow { left: 1.2rem; bottom: -3.5rem; }
.poster .case-flow { background: var(--cool); --edge-paper: var(--cool); --line: color-mix(in srgb, var(--ink) 35%, var(--cool)); }
.poster .case-flow .steps li:nth-child(2) { margin-top: var(--s6); }
.poster .case-flow .steps li:nth-child(3) { margin-top: var(--s12); }
.poster .case-example { --edge-paper: var(--paper); }
.poster .case-example .case-subhead { padding-inline-start: var(--s6); border-inline-start: 2px solid var(--accent); }
.poster .case-example .example-figure { box-shadow: .45rem .45rem 0 var(--pale); }
.poster .case-example .example-note { color: var(--muted); }
.poster .case-roles { background: var(--pale); --edge-paper: var(--pale); }
.poster .case-pilot { --line: color-mix(in srgb, var(--ink) 35%, var(--pilot)); }
.poster .case-pilot .pilot-star { position: absolute; width: clamp(3rem, 5.2vw, 4.7rem); height: auto; right: 2%; top: calc(100% + .35rem); filter: invert(1); opacity: .73; mix-blend-mode: multiply; transform: rotate(17deg); pointer-events: none; }
.poster .case-faq { --edge-paper: var(--paper); }
.poster .case-end { background: var(--cool); --edge-paper: var(--cool); }

@media (max-width: 53rem) {
  .case-hero .hero-layout { gap: var(--s8); }
  .case-example .split { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
}
@media (max-width: 48rem) {
  .case-hero .hero-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .case-hero .breadcrumbs { margin-bottom: var(--s4); }
  .case-hero .hero-media { margin-top: 0; }
  .case-hero h1, .poster .case-hero h1 { font-size: clamp(3.15rem, 11vw, 5.2rem); }
  .case-hero .media-slot { min-height: 13rem; }
  .poster .case-hero .hero-layout .register { top: 0; }
  .case-flow .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .poster .case-flow .steps li:nth-child(n) { margin-top: 0; }
  .case-roles .role-list { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .poster .case-intro .ink-arrow { display: none; }
  .poster .case-pilot .pilot-star { width: 2.85rem; right: 1%; }
}
@media (max-width: 35rem) {
  .example-figure figcaption { padding-inline: var(--s4); }
  .example-rows li { grid-template-columns: 2.8rem minmax(0, 1fr); padding-inline: var(--s4); }
  .example-rows .status { grid-column: 2; }
}
