/* timsondesign.com — AI edition
 * Poster hero + mission-control sections.
 * Tokens at the top; one family (Archivo) at two widths.
 */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-wdth.woff2') format('woff2-variations'), url('../fonts/archivo-wdth.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #E8E8E3;     /* cool studio grey-white */
  --graphite: #252627;  /* panel black */
  --sage: #C9DCCF;      /* mission-control mint */
  --signal: #F05A28;    /* signal orange */
  --ink: #252627;
  --muted: #64676A;
  --line-dark: rgba(201, 220, 207, .28);
  --gutter: clamp(16px, 4vw, 56px);
  --wide: 125%;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
dl, dd { margin: 0; }
h1, h2, h3, p { margin: 0; }
p, dd, li { text-wrap: pretty; } /* no lonely last words */
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* small label voice, from the dashboard reference */
.mc-head__label, .case__meta dt, .rig__band dt, .unit__strip dt, .unit__notes dt, .band__cell dt, .tl__phase span, .tl__ticks, .hero__scroll, .note__stat dt, .foot {
  font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: .02em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 15px 26px; border: 0; border-radius: 0; cursor: pointer;
  text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--line { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--ink); color: var(--signal); box-shadow: none; }
.btn--lg { padding: 20px 34px; font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter); color: var(--ink);
  transition: transform .6s var(--ease), color .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--nav-bg, var(--paper)); opacity: 0; transition: opacity .4s, background-color .4s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav.is-solid::before { opacity: .94; }
.nav[data-on="dark"] { --nav-bg: var(--graphite); }
.nav[data-on="sage"] { --nav-bg: var(--sage); }
.nav[data-on="signal"] { --nav-bg: var(--signal); }
.nav.is-dark { color: var(--paper); }
.nav__brand { font-weight: 800; font-stretch: 112%; font-size: 18px; letter-spacing: -.01em; text-decoration: none; justify-self: start; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 44px); font-size: 14px; }
.nav__links a { text-decoration: none; position: relative; padding: 4px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__call {
  justify-self: end; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--paper);
  transition: transform .5s var(--ease), background-color .3s;
}
.nav.is-dark .nav__call { background: var(--paper); color: var(--ink); }
.nav__call:hover { transform: scale(1.08); background: var(--signal); color: var(--ink); }
.nav__call svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: calc(var(--nav-h) + 8px) var(--gutter) 28px;
  display: grid; grid-template-rows: auto 1fr auto;
}
.hero__kicker {
  position: relative; z-index: 3; text-align: center;
  font-stretch: var(--wide); font-weight: 600; font-size: clamp(18px, 2.6vw, 40px);
  letter-spacing: -.01em; line-height: 1.1; min-height: 1.1em; text-transform: uppercase;
}
.hero__kick { display: inline-block; }
/* the stage fills the whole hero; kicker and foot sit on top of it */
.hero__stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__word {
  position: absolute; left: 50%; top: 51%; transform: translate(-50%, -50%);
  display: flex; align-items: flex-end; gap: .34em;
  font-stretch: var(--wide); font-weight: 900; color: var(--ink);
  font-size: min(46vw, 64svh); line-height: .76; letter-spacing: -.04em; margin: 0;
  z-index: 1;
}
.hero__a { position: relative; display: block; }
.hero__letter { display: block; overflow: hidden; padding: .02em 0 .06em; }
.hero__letter > span { display: block; }
.hero__disc {
  position: absolute; z-index: 0; left: 50%; top: 55%;
  width: min(50vw, 66svh); aspect-ratio: 1; border-radius: 50%;
  background: var(--signal); transform: translate(-50%, -50%);
}
/* runs up the outside of the A's left leg, like the poster caption */
.hero__side {
  position: absolute; z-index: 2; left: -32px; bottom: 62px;
  font-size: clamp(11px, 1.05vw, 16px); line-height: 1;
  transform-origin: left bottom; transform: rotate(-64deg);
  font-stretch: var(--wide); font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; white-space: nowrap; color: var(--ink);
}
.hero__me {
  position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%);
  height: calc(100% - var(--nav-h) - 54px); width: auto; max-width: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .18));
}
.hero__kicker, .hero__foot { z-index: 3; }
.hero__foot { grid-row: 3; }
.hero__foot { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none; }
.hero__foot > * { pointer-events: auto; }
.hero__intro { max-width: calc(350px + var(--gutter)); background: var(--paper); margin: 0 0 -28px calc(var(--gutter) * -1); padding: 18px 22px 28px var(--gutter); }
.hero__intro p { font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
.hero__cta { display: flex; align-items: center; gap: 22px; }
.hero__squiggle { width: 48px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.hero__badge { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
.hero__ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.hero__ring svg { position: absolute; inset: 0; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 5 6; animation: spin 24s linear infinite; }
.hero__ring img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--signal); transition: transform .7s var(--ease); }
.hero__badge:hover .hero__ring img { transform: scale(1.06); }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__scroll svg { width: 12px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- SIGNAL BAND ---------- */
.band { background: var(--signal); color: var(--ink); }
.band__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.band__cell {
  position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  padding: 26px var(--gutter) 24px; border-left: 1.5px solid rgba(37, 38, 39, .5);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.band__cell:first-child { border-left: 0; }
.band__word { font-weight: 800; font-size: clamp(40px, 4.6vw, 72px); line-height: .9; letter-spacing: -.05em; }
.band__label { font-size: 14px; font-weight: 600; line-height: 1.3; max-width: 24ch; }
.band__go {
  position: absolute; right: var(--gutter); bottom: 26px; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.band__go::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.band__cell:hover, .band__cell:focus-visible { background: var(--ink); color: var(--signal); }
.band__cell:hover .band__go, .band__cell:focus-visible .band__go { opacity: 1; transform: none; }
.band__cell:focus-visible { outline-offset: -4px; outline-color: var(--paper); }

/* ---------- mission-control shared ---------- */
.mc-head { display: flex; justify-content: space-between; align-items: center; }
.mc-head__label { display: inline-flex; align-items: center; gap: 10px; }
.mc-head__label i { width: 14px; height: 14px; border-radius: 50%; background: currentColor; display: inline-block; position: relative; }
.mc-head__label i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--graphite); }
.mc-rule { height: 4px; background: var(--sage); margin: 14px 0 0; transform-origin: left; }

/* ---------- WORK ---------- */
.work { background: var(--graphite); color: var(--sage); padding: 40px var(--gutter) 120px; position: relative; overflow: hidden; }
.work__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding: 56px 0 40px; }
.work__title { font-weight: 800; font-size: clamp(56px, 9vw, 150px); line-height: .88; letter-spacing: -.055em; }
.work__sub { max-width: 40ch; font-size: 18px; color: rgba(201, 220, 207, .8); }

.case { position: relative; padding: 90px 0 30px; border-top: 1px solid var(--line-dark); margin-top: 40px; }
.case__num {
  position: absolute; right: calc(var(--gutter) * -1); top: 30px; z-index: 0;
  font-weight: 900; font-stretch: var(--wide); font-size: clamp(160px, 26vw, 420px); line-height: .8;
  letter-spacing: -.06em; color: rgba(201, 220, 207, .06); pointer-events: none; user-select: none;
  transform: translateX(18%);
}
.case__head { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.case__title { font-weight: 800; font-size: clamp(54px, 8.4vw, 132px); line-height: .9; letter-spacing: -.055em; color: var(--sage); }
.case__dek { font-weight: 700; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; color: var(--paper); }
.case__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.case__meta dt { color: var(--signal); margin-bottom: 4px; }
.case__meta dd { font-size: 15px; color: var(--paper); }

/* timeline */
.tl { position: relative; z-index: 1; }
.tl__phases { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; }
.tl__phase span { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.tl__phase--a span { color: var(--signal); }
.tl__phase--b span { color: var(--sage); }
.tl__phase i { display: block; height: 10px; transform-origin: left; }
.tl__phase--a i { background: var(--signal); }
.tl__phase--b i { background: var(--sage); }
.tl__ticks {
  display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 14px; height: 40px;
  border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark); color: rgba(201, 220, 207, .7);
}
.tl__ticks span { position: relative; text-align: center; padding-top: 6px; font-size: 10px; }
.tl__ticks span::after { content: ''; position: absolute; left: 50%; bottom: 0; height: 14px; width: 1px; background: var(--line-dark); }
.tl__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 14px 0 0; }
.tl__step {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  min-height: 112px; padding: 14px 14px 12px; border: 0; cursor: pointer; text-align: left;
  color: var(--graphite); transition: transform .5s var(--ease), background-color .3s;
}
.tl__step--a { background: var(--signal); }
.tl__step--b { background: var(--sage); }
.tl__step svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tl__step span { font-weight: 700; font-size: 14px; line-height: 1.15; letter-spacing: -.01em; }
.tl__step::after { /* dashed leader */
  content: ''; position: absolute; left: 18px; top: 100%; height: 22px; border-left: 1.5px dashed currentColor; opacity: 0; transition: opacity .3s;
}
.tl__step:hover { transform: translateY(-3px); }
.tl__step[aria-selected="true"] {
  background-color: var(--graphite); color: var(--signal);
  background-image: repeating-linear-gradient(135deg, rgba(240, 90, 40, .35) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 0 0 1.5px var(--signal);
}
.tl__step--b[aria-selected="true"] { color: var(--sage); box-shadow: inset 0 0 0 1.5px var(--sage); background-image: repeating-linear-gradient(135deg, rgba(201, 220, 207, .3) 0 1px, transparent 1px 7px); }
.tl__step[aria-selected="true"]::after { opacity: 1; }
.tl__panel { margin-top: 30px; border-bottom: 1.5px solid var(--sage); padding: 10px 0 34px; min-height: 9.5em; }
.tl__panel p { font-size: clamp(19px, 1.9vw, 27px); line-height: 1.38; letter-spacing: -.015em; color: var(--paper); max-width: 46ch; }

/* hardware rig (flat stand-in for the 3D panel) */
.rig { position: relative; z-index: 1; margin: 70px 0 0; }
.rig__frame {
  position: relative; border-radius: 26px; padding: 18px; background: #1b1c1d;
  box-shadow: inset 0 0 0 2px #3a3c3e, 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden;
}
.rig__frame img { width: 100%; border-radius: 12px; background: #000; }
.rig__bolt { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #4a4d50; box-shadow: inset 0 0 0 3px #2b2d2f; }
.rig__bolt:first-child { left: 4px; }
.rig__bolt:nth-child(2) { right: 4px; }
.rig__band {
  position: relative; margin: -46px 6% 0; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--signal); color: var(--graphite); z-index: 2;
}
.rig__band > div { padding: 16px 22px 14px; display: flex; flex-direction: column-reverse; border-left: 1.5px solid rgba(37, 38, 39, .45); }
.rig__band > div:first-child { border-left: 0; }
.rig__band dd { font-weight: 800; font-size: clamp(30px, 3.6vw, 54px); line-height: 1; letter-spacing: -.045em; }
.case__links { position: relative; z-index: 1; display: flex; gap: 26px; margin-top: 26px; font-size: 15px; }
.case__links a { color: var(--sage); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.case__links a:hover { color: var(--signal); }

/* prototypes row under the Social Nature case */
.protos { position: relative; z-index: 1; margin-top: 64px; }
.protos__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.protos__title { margin: 0; font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.03em; color: var(--paper); }
.protos__count { font-size: 12px; font-weight: 600; color: var(--signal); white-space: nowrap; }
.protos__row { list-style: none; margin: 0; padding: 22px 0 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proto { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--sage); }
.proto__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #1b1c1d; box-shadow: inset 0 0 0 1px #3a3c3e; padding: 6px; }
.proto__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 6px; transition: transform .8s var(--ease); }
.proto__kind { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--signal); }
.proto__name { font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--paper); }
.proto__desc { font-size: 14px; line-height: 1.45; color: rgba(201, 220, 207, .78); }
.proto:hover .proto__shot img, .proto:focus-visible .proto__shot img { transform: scale(1.06); }
.proto:hover .proto__name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* full-screen prototype viewer */
.viewer { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--graphite); color: var(--sage);
  padding: max(10px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.viewer__bar { display: flex; align-items: center; gap: 14px; padding: 6px 0 12px; }
.viewer__tabs { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.viewer__tab { flex: none; border: 0; cursor: pointer; padding: 10px 16px; border-radius: 999px; background: transparent; color: var(--sage); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background-color .35s, color .35s, box-shadow .35s; }
.viewer__tab:hover { box-shadow: inset 0 0 0 1px var(--sage); }
.viewer__tab[aria-selected="true"] { background: var(--signal); color: var(--graphite); box-shadow: none; }
.viewer__out { flex: none; font-size: 14px; font-weight: 600; color: var(--sage); text-underline-offset: 4px; }
.viewer__out:hover { color: var(--signal); }
.viewer__close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--paper); color: var(--graphite); font-size: 22px; line-height: 1; transition: transform .5s var(--ease), background-color .3s; }
.viewer__close:hover { transform: rotate(90deg); background: var(--signal); }
.viewer__stage { position: relative; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px #3a3c3e; }
.viewer__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }

/* ---------- LAB ---------- */
.lab {
  position: relative; overflow: hidden; color: var(--graphite);
  padding: 120px var(--gutter) 130px;
  background-color: var(--sage);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 2px, transparent 2px 5px, rgba(37, 38, 39, .07) 5px 7px, transparent 7px 10px);
}
.lab__giant {
  position: absolute; left: calc(var(--gutter) * -.6); top: -.02em; z-index: 0;
  font-weight: 900; font-stretch: var(--wide); font-size: clamp(200px, 34vw, 560px); line-height: .8; letter-spacing: -.06em;
  color: var(--graphite); pointer-events: none; user-select: none;
}
.lab__intro { position: relative; z-index: 1; margin-left: auto; max-width: 520px; background: var(--sage); padding: 22px 26px; box-shadow: 0 0 0 1.5px var(--graphite); }
.lab__title { font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: .95; letter-spacing: -.05em; margin-bottom: 10px; }
.lab__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(80px, 12vw, 180px); }
.unit__box {
  position: relative; height: 230px; border-radius: 30px; background: #2b2c2e; overflow: hidden;
  box-shadow: inset 0 0 0 10px #1f2021, inset 0 0 0 12px #3b3d40, 0 26px 50px rgba(37, 38, 39, .35);
}
.unit__slats { position: absolute; inset: 12px; border-radius: 20px; background: repeating-linear-gradient(180deg, #232425 0 9px, #2f3133 9px 11px); }
.unit__screw { position: absolute; z-index: 2; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #55585b; box-shadow: inset 0 0 0 3px #303234; transform: translateY(-50%); }
.unit__screw:first-child { left: 18px; }
.unit__screw:nth-child(2) { right: 18px; }
.unit__strip {
  position: absolute; z-index: 1; left: 44px; right: 44px; top: 50%; transform: translateY(-50%);
  background: var(--signal); color: var(--graphite); display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 22px;
}
.unit__strip h3 { font-weight: 800; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.045em; line-height: 1; }
.unit__strip dl { display: flex; gap: 22px; }
.unit__strip dl > div { display: flex; flex-direction: column-reverse; border-left: 1.5px solid rgba(37, 38, 39, .5); padding-left: 14px; }
.unit__strip dd { font-weight: 700; font-size: 15px; line-height: 1.2; }
.unit__notes { margin-top: 30px; display: grid; gap: 18px; }
.unit__notes dt { margin-bottom: 3px; }
.unit__notes dd { font-size: 16px; max-width: 52ch; }

/* ---------- APPROACH ---------- */
.approach { padding: 130px var(--gutter) 120px; }
.approach__intro { max-width: 900px; }
.approach__title { font-stretch: var(--wide); font-weight: 900; font-size: clamp(46px, 7.6vw, 124px); line-height: .9; letter-spacing: -.05em; text-transform: uppercase; margin-bottom: 28px; }
.approach__intro p { font-size: 19px; max-width: 64ch; }
.approach__pick { margin-top: 18px; font-weight: 700; }
.probs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.prob {
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start; text-align: left;
  background: none; border: 0; border-left: 1.5px solid var(--ink); padding: 26px 22px 24px; cursor: pointer;
  min-height: 330px; transition: background-color .4s, color .4s;
}
.prob:first-child { border-left: 0; padding-left: 0; }
.prob__quote { font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.025em; flex: 1; }
.prob__wins { display: flex; flex-direction: column; gap: 6px; }
.prob__wins span { font-size: 13px; font-weight: 600; padding: 5px 10px; background: var(--signal); color: var(--ink); }
.prob__open { font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.prob__open::after { content: ''; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; background: linear-gradient(currentColor, currentColor) center/10px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 10px no-repeat; transition: transform .5s var(--ease); }
.prob:hover .prob__quote { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.prob[aria-expanded="true"] { background: var(--ink); color: var(--paper); padding-left: 22px; }
.prob[aria-expanded="true"] .prob__open::after { transform: rotate(45deg); }

.pd { overflow: hidden; }
.pd__in { position: relative; display: grid; grid-template-columns: 1fr auto 1.3fr; gap: 32px; align-items: start; padding: 44px 0 40px; border-bottom: 1.5px solid var(--ink); }
.pd__label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.pd__label--red { color: var(--signal); }
.pd__usual p { font-size: 20px; line-height: 1.35; }
.pd__strike { background: linear-gradient(var(--signal), var(--signal)) 0 55% / 0% 3px no-repeat; }
.pd__arrow { font-size: 34px; line-height: 1; padding-top: 22px; }
.pd__mine p { font-weight: 700; font-size: clamp(21px, 2vw, 28px); line-height: 1.25; letter-spacing: -.02em; }
.pd__where { grid-column: 1 / -1; display: flex; gap: 22px; align-items: flex-start; padding-top: 10px; }
.pd__stamp { flex: none; background: var(--signal); color: var(--ink); font-weight: 800; font-stretch: var(--wide); font-size: 13px; text-transform: uppercase; padding: 8px 12px; transform: rotate(-3deg); }
.pd__where p { max-width: 70ch; }
.pd__close { position: absolute; right: 0; top: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 20px; cursor: pointer; }

.team { margin-top: 100px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.team__head { font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.045em; }
.team__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.team__list li { padding: 16px 0; border-top: 1.5px solid var(--ink); font-size: 16px; }

/* ---------- SKILLS ---------- */
.skills { background: var(--graphite); color: var(--sage); padding: 40px var(--gutter) 120px; }
.skills__title { font-weight: 800; font-size: clamp(48px, 7vw, 112px); line-height: .9; letter-spacing: -.055em;  }
.skills__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 56px 0 44px; }
/* two-way switch; the orange thumb slides under the active option */
.flipper { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.flipper__opt { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--sage); transition: color .4s var(--ease); white-space: nowrap; }
.flipper__opt[aria-selected="true"] { color: var(--graphite); }
.flipper__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--signal); transition: transform .6s var(--ease); }
.flipper[data-on="list"] .flipper__thumb { transform: translateX(100%); }
.board { margin: 0; }
.board__full { width: 100%; border-radius: 10px; background: #f3efe6; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.board__panels { display: none; list-style: none; margin: 0; padding: 0; }
.board__panels img { width: 100%; border-radius: 8px; background: #f3efe6; }
.skills__list { border-top: 1px solid var(--line-dark); }
.skill { display: grid; grid-template-columns: minmax(220px, 1fr) 2.2fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); transition: background-color .4s; }
.skill dt { font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.03em; line-height: 1.1; color: var(--paper); }
.skill dd { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.skill dd span { font-size: 14px; padding: 6px 12px; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background-color .3s, color .3s, box-shadow .3s; }
.skill:hover dd span { box-shadow: inset 0 0 0 1px var(--sage); }
.skill dd span:hover { background: var(--signal); color: var(--graphite); box-shadow: none; }
.skill--off dt { color: var(--signal); }
.skill dd em { flex-basis: 100%; font-style: normal; margin-top: 8px; color: rgba(201, 220, 207, .8); }

/* ---------- ABOUT ---------- */
.about { padding: 130px var(--gutter) 130px; }
.about__lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: end; margin-bottom: 70px; }
.about__title { font-stretch: var(--wide); font-weight: 900; font-size: clamp(40px, 5.6vw, 92px); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.about__lead p { font-size: 19px; max-width: 46ch; }
.about__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 4px solid var(--ink); }
.note { padding: 28px 28px 30px 0; display: flex; flex-direction: column; gap: 14px; }
.note + .note { padding-left: 28px; border-left: 1.5px solid var(--ink); }
.note h3 { font-weight: 800; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.035em; line-height: 1.05; }
.note p { font-size: 16px; }
.note__pull { margin-top: auto; font-weight: 700; }
.note--band { background: var(--ink); color: var(--paper); padding-right: 28px; }
.note + .note--band { border-left: 0; }
.note__stat { margin-top: auto; background: var(--signal); color: var(--ink); padding: 14px 16px; display: flex; flex-direction: column-reverse; gap: 4px; }
.note__stat dd { font-weight: 800; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.045em; line-height: 1; }

/* ---------- CONTACT ---------- */
.contact { background: var(--signal); color: var(--ink); padding: 110px var(--gutter) 28px; overflow: hidden; }
.contact__word { font-stretch: var(--wide); font-weight: 900; font-size: min(19.5vw, 400px); line-height: .78; letter-spacing: -.06em; margin-left: -.04em; text-transform: uppercase; white-space: nowrap; }
.contact__word span { display: inline-block; }
/* reveal masks hug each letter; widen them so the O's curve isn't clipped by the tight tracking */
.contact__word .cw-mask { padding: .04em .12em .04em 0; margin: -.04em -.12em -.04em 0; }
.contact__body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-top: 60px; }
.contact__body p { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; max-width: 30ch; font-weight: 500; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.contact .btn--ink:hover { color: var(--signal); }
.foot { display: flex; justify-content: space-between; margin-top: 110px; padding-top: 16px; border-top: 1.5px solid var(--ink); }

/* ---------- motion helpers ---------- */
/* hidden until the entrance runs (the head script drops .js if scripts fail) */
html.js .hero__kick, html.js .hero__letter > span, html.js .hero__disc, html.js .hero__me, html.js .hero__side, html.js .hero__foot { visibility: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .protos__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .probs { grid-template-columns: 1fr 1fr; }
  .prob:nth-child(3) { border-left: 0; padding-left: 0; }
  .prob:nth-child(n+3) { border-top: 1.5px solid var(--ink); }
  .prob { min-height: 270px; }
  .about__cols { grid-template-columns: 1fr 1fr; }
  .note--band { grid-column: 1 / -1; margin-top: 20px; }
  .team, .team__list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__call { width: 40px; height: 40px; }
  .hero { min-height: 100svh; padding-bottom: 20px; }
  .hero__kicker { font-size: 16px; padding: 0 8px; }
  .hero__word { font-size: 52vw; top: 40%; }
  .hero__disc { width: 86vw; top: 44%; }
  .hero__me { height: 66%; bottom: 0; }
  .hero__side { display: none; }
  .hero__foot { flex-direction: column; align-items: stretch; background: var(--paper); margin: 0 calc(var(--gutter) * -1) -20px; padding: 22px var(--gutter) 22px; }
  .hero__intro { max-width: none; margin: 0; padding: 0; background: none; }
  .hero__badge { display: none; }
  .band__row { grid-template-columns: 1fr 1fr; }
  .band__cell:nth-child(3) { border-left: 0; }
  .band__go { display: none; }
  .band__cell:nth-child(n+3) { border-top: 1.5px solid rgba(37, 38, 39, .5); }
  .work__intro, .case__head, .about__lead, .contact__body { grid-template-columns: 1fr; gap: 22px; }
  .case { padding-top: 60px; }
  .case__head { margin-bottom: 40px; }
  .tl__phases { grid-template-columns: 1fr; gap: 14px; }
  .tl__ticks { display: none; }
  .tl__steps { grid-template-columns: 1fr 1fr; }
  .tl__step { min-height: 84px; }
  .tl__step:last-child { grid-column: 1 / -1; }
  .tl__step::after { display: none; }
  .rig__frame { border-radius: 16px; padding: 10px; }
  .rig__band { margin: -20px 0 0; grid-template-columns: 1fr; }
  .rig__band > div { border-left: 0; border-top: 1.5px solid rgba(37, 38, 39, .45); flex-direction: row-reverse; justify-content: space-between; align-items: baseline; }
  .rig__band > div:first-child { border-top: 0; }
  .lab__grid { grid-template-columns: 1fr; margin-top: 60px; }
  .protos__row { grid-template-columns: 1fr; gap: 32px; }
  .lab__intro { margin-top: 90px; }
  .unit__box { height: 200px; }
  .unit__strip { left: 36px; right: 36px; flex-direction: column; align-items: flex-start; }
  .probs { grid-template-columns: 1fr; }
  .prob { border-left: 0 !important; padding-left: 0; min-height: 0; border-top: 1.5px solid var(--ink); }
  .prob:first-child { border-top: 0; }
  .prob[aria-expanded="true"] { padding-left: 16px; padding-right: 16px; }
  .pd__in { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; }
  .pd__arrow { transform: rotate(90deg); padding: 0; width: max-content; }
  .pd__where { flex-direction: column; }
  .skill { grid-template-columns: 1fr; gap: 14px; }
  .board__full { display: none; }
  .board__panels { display: grid; gap: 14px; }
  .flipper { width: 100%; }
  .about__cols { grid-template-columns: 1fr; }
  .note, .note + .note { padding: 24px 0; border-left: 0; border-top: 1.5px solid var(--ink); }
  .note:first-child { border-top: 0; }
  .note--band { padding: 24px 18px; margin-top: 0; }
  .contact__actions { justify-content: flex-start; }
  .foot { margin-top: 70px; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
