/* SHANKH v9: the Nudge-style canvas, now dark by default with a light switch.
   Inter, DM Mono and Geist Mono, Gochi Hand for notes, Pixelify Sans for pixel words.
   Black and white first; four Nudge-style accents used where they help. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan: #3CC8F5;
  --yellow: #F6C431;
  --sun: #F6C431;
  --pink: #FF5C93;
  --green: #41D98E;
  --on-accent: #0C0C0C;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --mono-2: "Geist Mono", ui-monospace, monospace;
  --hand: "Gochi Hand", cursive;
  --pixel: "Pixelify Sans", var(--mono);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav: 50px;
}
html[data-theme="dark"] {
  --bg: #0C0C0C; --fg: #F3F3F1; --fg-2: #BDBDBA; --mute: #7C7C79;
  --surface: #181818; --surface-2: #262626; --line: rgba(243, 243, 241, .14);
  --grid: rgba(255, 255, 255, .05); --on-fg: #0C0C0C; --nav-bg: rgba(12, 12, 12, .86);
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #FFFFFF; --fg: #111212; --fg-2: #3A3B3B; --mute: #8A8B8B;
  --surface: #EFEFEF; --surface-2: #DDDDDD; --line: rgba(17, 18, 18, .13);
  --grid: #F1F1F1; --on-fg: #FFFFFF; --nav-bg: rgba(255, 255, 255, .9);
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, .35);
  color-scheme: light;
}

html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100px 100px; background-position: -1px -1px;
  color: var(--fg); font-family: var(--sans); font-optical-sizing: auto; font-weight: 500;
  font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background-color .5s, color .5s;
}
body.is-intro { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--on-accent); }
:focus-visible { outline: 2px dashed var(--fg); outline-offset: 4px; }
/* no blue tap flash on phones; taps get a squish instead */
* { -webkit-tap-highlight-color: transparent; }
/* iOS: long-pressing anything you hold or drag must not start a text selection or the callout menu, which cancels the gesture */
.contact-btn, .orb, .tagp, .lever, .reel, .cs__fan, .cs__dial, [data-handle], [data-drag], .card { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* iOS: things you drag have to opt out of page panning, or Safari takes the gesture over and cancels the drag */
.contact-btn, [data-handle], [data-drag], .pile.is-live .tagp { touch-action: none; }
:focus:not(:focus-visible) { outline: none; }
@media (hover: none) {
  .btn:active, .panel__btn:active, .opt:active, .chip:active, .cs__dial:active, .nav__contact:active, .cs__bill:active { scale: .95; transition: scale .08s; }
}

.pixel { font-family: var(--pixel); font-weight: 700; text-transform: uppercase; line-height: .9; letter-spacing: .01em; }
.hand { font-family: var(--hand); font-weight: 400; font-size: 28px; line-height: 1.15; }
.hand--under { position: relative; display: inline-block; }
.hand--under::after, .hand--hero::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: -4px; height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'><path d='M2 3 C 30 1, 70 1, 118 3 M6 6 C 40 4, 80 5, 114 6' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' preserveAspectRatio='none'><path d='M2 3 C 30 1, 70 1, 118 3 M6 6 C 40 4, 80 5, 114 6' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:nth-child(3) { background: var(--green); }

html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out, transform .7s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }

/* ---------- Pixel letters ---------- */
.ch { display: inline-block; transform-origin: 50% 100%; transition: transform .45s var(--spring), color .2s; }
.word { display: inline-block; white-space: nowrap; }
.ch--sp { display: inline; }
html.js [data-pixel] .ch { opacity: 0; }
html.js [data-pixel].is-stamped .ch { animation: stamp .55s steps(5, end) forwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes stamp {
  0% { opacity: 0; transform: translateY(-.35em) scale(.4); }
  60% { opacity: 1; transform: translateY(.04em) scale(1.12, .9); }
  100% { opacity: 1; transform: none; }
}
html.js [data-pixel].is-ready .ch { animation: none; opacity: 1; transform: none; }
html.js [data-pixel].is-ready .ch.is-hop { animation: hop .6s var(--ease); }
html.js [data-pixel].is-ready.is-wave .ch { animation: hop .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes hop { 35% { transform: translateY(-.16em) rotate(-5deg); } 70% { transform: translateY(.03em) scale(1.04, .94); } }
@media (hover: hover) {
  html.js [data-pixel].is-ready:not(.is-wave) .ch:hover { transform: translateY(-.14em) rotate(-8deg) scale(1.08); color: var(--yellow); }
}

/* ---------- Selection boxes ---------- */
.sel { position: relative; }
.sel::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--fg); pointer-events: none; }
.h { position: absolute; width: 12px; height: 12px; background: var(--bg); border: 1.5px solid var(--fg); z-index: 3; pointer-events: none; }
.h.tl { left: -6px; top: -6px; } .h.tr { right: -6px; top: -6px; }
.h.bl { left: -6px; bottom: -6px; } .h.br { right: -6px; bottom: -6px; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; pointer-events: none; }
body.is-intro .intro { pointer-events: auto; }
.intro::before {
  content: ""; position: absolute; inset: 0; background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100px 100px; background-position: -1px -1px; transition: opacity .6s;
}
.intro__box {
  position: relative; display: inline-flex; align-items: center; min-width: 70px; height: 76px; padding: 0 18px;
  background: var(--cyan); color: var(--on-accent); border: 2px solid var(--fg); border-radius: 14px;
  font-size: 44px; font-weight: 500; letter-spacing: -.03em; transition: transform .7s var(--spring), opacity .5s;
}
.intro__caret { width: 2px; height: 44px; background: currentColor; margin-left: 3px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.intro.is-out::before { opacity: 0; }
/* second visit in the same session: no curtain, no wait */
html.seen-intro .intro { display: none; }
html.seen-intro body.is-intro { overflow: visible; }
.intro__box { perspective: 400px; font-family: var(--sans), "Noto Sans Devanagari", "Noto Sans Tamil", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans CJK JP", "Noto Sans Arabic", sans-serif; }
.intro.is-out .intro__box { transform: scale(.2) translateY(-40vh); opacity: 0; }



/* ---------- Custom cursor: a pixel arrow that morphs into context icons ---------- */
html.has-cur, html.has-cur * { cursor: none !important; }
html.has-cur input, html.has-cur textarea, html.has-cur select { cursor: text !important; }
.pxc { position: fixed; left: 0; top: 0; z-index: 502; pointer-events: none; display: none; image-rendering: pixelated; will-change: transform; transition: scale .18s var(--spring), opacity .15s; transform-origin: 0 0; }
html.has-cur .pxc { display: block; }
.pxc.is-soft { image-rendering: auto; }
.pxc.is-icon { transform-origin: 50% 50%; }
.pxc:not(.is-icon) { transform-origin: 28% 0; }
.pxc.is-down { scale: .82; }
.pxc.is-hidden, html.cur-out .pxc { opacity: 0; }
.pxbit { position: fixed; z-index: 501; width: 4px; height: 4px; pointer-events: none; }
.ruler__mark { position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: var(--cyan); z-index: 2; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: var(--nav); left: 0; right: 0; height: 3px; z-index: 99; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--yellow), var(--cyan), var(--pink), var(--green)); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav);
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav__logo { display: grid; place-items: center; width: 64px; }
.badge { width: 34px; height: 34px; border-radius: 50%; background: #F3F3F1; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--fg); transition: transform .5s var(--spring); }
.badge img { height: 21px; width: auto; }
.nav__conch { height: 30px; width: auto; transition: transform .5s var(--spring); }
.nav__logo:hover .nav__conch { transform: rotate(-16deg) scale(1.12); }
.inline-logo { display: inline-block; height: .9em; width: auto; vertical-align: -.08em; transition: transform .5s var(--spring); }
.inline-logo:hover { transform: rotate(-14deg) scale(1.15); }

.nav__links { display: flex; align-items: stretch; margin-right: auto; }
.nav__links a { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: -.02em; transition: background .2s, color .2s; }
.nav__links a i { font-size: 17px; transition: transform .4s var(--spring); }
.nav__links a:hover { background: var(--surface-2); }
.nav__links a:hover i { transform: rotate(-12deg) scale(1.2); }
.nav__links a.is-active { background: var(--fg); color: var(--on-fg); }
.nav__right { display: flex; align-items: center; gap: 8px; padding-right: 16px; }
.nav__av { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--on-accent); cursor: default; }
.nav__av--cyan { background: var(--cyan); }
.nav__av--yellow { background: var(--yellow); margin-left: -12px; box-shadow: 0 0 0 2px var(--bg); }
[data-tip]::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; white-space: nowrap;
  padding: 4px 8px; border-radius: 6px; background: var(--fg); color: var(--on-fg); font-family: var(--mono); font-size: 11px; text-transform: none;
  opacity: 0; scale: .8; transition: opacity .2s, scale .3s var(--spring); pointer-events: none; z-index: 5;
}
[data-tip]:hover::after { opacity: 1; scale: 1; }
.nav__contact { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; margin-left: 6px; border: 1.5px solid var(--fg); border-radius: 4px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; transition: background .2s, color .2s; }
.nav__contact:hover { background: var(--pink); border-color: var(--pink); color: var(--on-accent); }
.nav__contact:hover i { animation: beat .6s infinite; }
@keyframes beat { 50% { transform: scale(1.35); } }
.switch { position: relative; width: 58px; height: 30px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--fg); display: flex; align-items: center; justify-content: space-between; padding: 0 8px; font-size: 13px; }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--on-accent); transition: transform .5s var(--spring); }
html[data-theme="light"] .switch__knob { transform: translateX(28px); }

/* ---------- Ruler ---------- */
.ruler {
  position: relative; height: 26px; margin-top: var(--nav); overflow: hidden; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--mute) 1px, transparent 1px);
  background-size: 10px 6px, 100px 12px; background-repeat: repeat-x; background-position: 0 100%, 0 100%;
}
.ruler span { position: absolute; top: 4px; font-family: var(--mono-2); font-size: 9px; color: var(--mute); transform: translateX(-50%); }
.ruler--foot { margin-top: 0; border-top: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px;
  font-family: var(--mono); font-size: 14px; text-transform: uppercase; white-space: nowrap;
  transition: transform .4s var(--spring), background .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.96); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 13px; }
.btn--fg { background: var(--fg); color: var(--on-fg); padding-left: 8px; }
.btn__ico { width: 36px; height: 36px; display: grid; place-items: center; background: var(--yellow); color: var(--on-accent); font-size: 16px; transition: transform .4s var(--spring); }
.btn--fg:hover .btn__ico { transform: rotate(-90deg); }
.btn--accent { background: var(--yellow); color: var(--on-accent); }
.btn--accent:hover { background: var(--fg); color: var(--on-fg); transform: rotate(-2deg); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn--line:hover { background: var(--fg); color: var(--on-fg); transform: rotate(1.5deg); }
.btn--sel::before { content: ""; position: absolute; inset: -7px; border: 1.5px solid var(--cyan); opacity: 0; transition: opacity .2s; }
.btn--sel .h { opacity: 0; transition: opacity .2s; border-color: var(--cyan); }
.btn--sel .h.tl { left: -13px; top: -13px; } .btn--sel .h.tr { right: -13px; top: -13px; }
.btn--sel .h.bl { left: -13px; bottom: -13px; } .btn--sel .h.br { right: -13px; bottom: -13px; }
.btn--sel:hover::before, .btn--sel:hover .h { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--nav) - 26px); padding: 20px 24px 60px; display: flex; flex-direction: column; align-items: center; }
.clock { font-family: var(--mono); font-size: 14px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero__name { position: relative; margin-top: clamp(40px, 7vh, 80px); display: flex; flex-direction: column; align-items: center; }
.hand--hero { font-size: 38px; position: relative; margin-bottom: 6px; color: var(--yellow); }
.sel--hero { padding: 14px 32px 6px; margin-top: 8px; transform-origin: 50% 50%; transition: transform .8s var(--spring); }
.sel--hero.is-resizing { transition: none; }
.sel--hero::before { border-color: var(--cyan); }
.sel--hero .h { border-color: var(--cyan); pointer-events: auto; cursor: nwse-resize; width: 14px; height: 14px; }
.sel--hero .h.tl { left: -7px; top: -7px; } .sel--hero .h.tr { right: -7px; top: -7px; cursor: nesw-resize; }
.sel--hero .h.bl { left: -7px; bottom: -7px; cursor: nesw-resize; } .sel--hero .h.br { right: -7px; bottom: -7px; }
.sel--hero .h:hover { background: var(--cyan); transform: scale(1.3); }
.dims { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; padding: 3px 8px; background: var(--cyan); color: var(--on-accent); font-family: var(--mono); font-size: 11px; border-radius: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero__title { font-size: clamp(72px, 11vw, 180px); line-height: .85; letter-spacing: .02em; }
.hero__sub { margin-top: 52px; font-family: var(--mono); font-size: 15px; text-align: center; color: var(--fg-2); }
.hero__sub b { color: var(--fg); font-weight: 500; background: linear-gradient(transparent 60%, color-mix(in srgb, var(--pink) 55%, transparent) 60%); }

.machine {
  position: relative; z-index: 4; width: min(900px, 100%); margin-top: 38px;
  background: var(--surface); border: 1.5px solid var(--fg); box-shadow: 8px 8px 0 var(--fg);
}
.machine__bar, .chat__bar, .brief__bar {
  display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-bottom: 1.5px solid var(--fg);
  font-family: var(--mono); font-size: 12px; background: var(--surface-2);
}
.machine__count { margin-left: auto; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.machine__body { display: flex; align-items: center; gap: 16px; padding: 22px 22px 14px 26px; }
.machine__line { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.035em; line-height: 1.1; }
.machine__line .w { color: var(--fg-2); }
.reel { position: relative; height: 1.5em; overflow: hidden; border: 1.5px solid var(--on-accent); color: var(--on-accent); padding: 0 .35em; text-align: left; transition: transform .35s var(--spring); }
.reel:hover { transform: rotate(-2deg) translateY(-2px); }
.reel--cyan { background: var(--cyan); } .reel--yellow { background: var(--yellow); } .reel--pink { background: var(--pink); }
.reel__strip { display: flex; flex-direction: column; align-items: flex-start; will-change: transform; }
.reel__strip span { display: block; width: max-content; height: 1.5em; line-height: 1.5em; white-space: nowrap; font-weight: 500; }
.lever { position: relative; width: 44px; height: 92px; flex: none; }
.lever__stick { position: absolute; left: 19px; bottom: 6px; width: 6px; height: 70px; background: var(--fg); border-radius: 3px; transform-origin: 50% 100%; transition: transform .5s var(--spring); }
.lever__ball { position: absolute; left: 7px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); border: 2px solid var(--fg); transition: transform .5s var(--spring); }
.lever::after { content: ""; position: absolute; left: 6px; bottom: 0; width: 32px; height: 12px; background: var(--surface-2); border: 1.5px solid var(--fg); border-radius: 4px; }
.lever:hover .lever__ball { transform: scale(1.1); }
.lever.is-pulled .lever__stick { transform: scaleY(.25); }
.lever.is-pulled .lever__ball { transform: translateY(54px); }
.machine__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px 18px 26px; }
.machine__foot .hand { font-size: 22px; color: var(--fg-2); }
.btn--sm i { font-size: 16px; }
.hero__ctas { display: flex; gap: 14px; margin-top: 42px; flex-wrap: wrap; justify-content: center; }

.pin { position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 50% 50% 50% 4px; background: var(--cyan); color: var(--on-accent); box-shadow: inset 0 0 0 2px var(--fg); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; animation: bob 4s ease-in-out infinite; }
.pin img { height: 26px; width: auto; }
.pin--l { left: 6%; top: 34%; }
.pin--r { right: 7%; top: 30%; background: var(--yellow); animation-delay: -2s; border-radius: 50% 50% 4px 50%; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.mp { position: absolute; z-index: 5; display: flex; align-items: flex-start; pointer-events: none; will-change: transform; }
.mp svg { width: 22px; height: 22px; fill: var(--fg); stroke: var(--fg); stroke-width: 1; stroke-linejoin: round; }
.mp span { margin: 14px 0 0 -2px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--fg); font-family: var(--mono); font-size: 13px; white-space: nowrap; color: var(--on-accent); }
.mp--a { left: 5%; top: 62%; rotate: 9deg; }
.mp--a svg { transform: scaleX(-1); order: 2; margin-left: -4px; }
.mp--a span { margin: 14px 0 0; background: var(--green); }
.mp--b { right: 6%; top: 56%; rotate: -8deg; }
.mp--b span { background: var(--pink); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1.5px solid var(--fg); background: var(--fg); color: var(--on-fg); padding: 14px 0; rotate: -1.2deg; margin: 20px -20px 0; }
.ticker__track { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-family: var(--pixel); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); will-change: transform; }
.ticker i { font-style: normal; display: inline-block; animation: spin 4s linear infinite; }
.c1 { color: var(--cyan); } .c2 { color: var(--yellow); } .c3 { color: var(--pink); } .c4 { color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- About ---------- */
.about { position: relative; padding: 90px 24px 60px; display: flex; flex-direction: column; align-items: center; }
.scribble { position: absolute; left: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.scribble path, .board__arrows path { fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hand--about { position: absolute; left: calc(50% - 290px); top: 150px; rotate: 12deg; font-size: 26px; color: var(--green); }
.sel--small { margin-top: 130px; padding: 4px 10px; }
.about__kicker { font-size: 40px; letter-spacing: -.035em; font-weight: 500; line-height: 1.15; }
.about__text { max-width: 940px; margin-top: 34px; text-align: center; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.04em; }
.ico { display: inline-grid; place-items: center; vertical-align: -.1em; width: .9em; height: .9em; border-radius: 8px; color: var(--on-accent); rotate: 8deg; transition: rotate .5s var(--spring), scale .5s var(--spring); }
.ico:hover { rotate: -12deg; scale: 1.2; }
.ico i { font-size: .6em; }
.ico--yellow { background: var(--yellow); } .ico--cyan { background: var(--cyan); border-radius: 50%; } .ico--pink { background: var(--pink); }
.ico--logo { width: 1.1em; height: 1.1em; border-radius: 10px; background: #F3F3F1; box-shadow: inset 0 0 0 2px var(--fg); rotate: -6deg; }
.ico--logo img { height: .7em; width: auto; }
.polaroid { --pw: clamp(150px, calc((100vw - 1000px) / 2 - 40px), 210px); position: absolute; z-index: 4; width: var(--pw); padding: 12px 12px 6px; background: #F3F3F1; color: #111; box-shadow: var(--shadow); cursor: grab; user-select: none; touch-action: none; }
.polaroid:active { cursor: grabbing; }
.polaroid__img { aspect-ratio: 1; background: #E2E2E2; overflow: hidden; }
.polaroid__img canvas { width: 100%; height: 100%; display: block; }
.polaroid__img--logo { display: grid; place-items: center; }
.polaroid__img--logo img { height: 46%; width: auto; }
.polaroid figcaption { text-align: center; font-size: 22px; padding: 6px 0 2px; }
.polaroid--l { left: calc(50% - 470px - var(--pw) - 24px); top: 60px; rotate: -10deg; }
.polaroid--r { right: calc(50% - 470px - var(--pw) - 24px); top: 90px; rotate: 9deg; }
@media (max-width: 1300px) { .polaroid { display: none; } }

.skills { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 1180px; }
.skill-pair { display: inline-flex; }
.skill, .skill__ico { display: inline-flex; align-items: center; height: 64px; font-size: clamp(28px, 2.7vw, 40px); letter-spacing: -.035em; line-height: 1; }
.skill { padding: 0 14px; box-shadow: inset 0 0 0 2px var(--fg); transition: transform .4s var(--spring); }
.skill-pair:hover .skill { transform: rotate(-3deg) translateY(-3px); }
.skill--fg { background: var(--fg); color: var(--on-fg); }
.skill--surface { background: var(--surface-2); box-shadow: none; }
.skill__ico { width: 64px; justify-content: center; font-size: 30px; margin-left: 5px; color: var(--on-accent); transition: transform .5s var(--spring); }
.skill-pair:hover .skill__ico { transform: rotate(90deg) scale(1.08); }
.skill__ico--cyan { background: var(--cyan); } .skill__ico--yellow { background: var(--yellow); } .skill__ico--pink { background: var(--pink); } .skill__ico--green { background: var(--green); }
.skill__ico--dash { background: transparent; color: var(--fg); outline: 2px dashed var(--fg); outline-offset: -6px; }
.industries { margin-top: 60px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.industries .hand { font-size: 26px; color: var(--cyan); }
html.js .skills.rv { opacity: 1; transform: none; }
html.js .skills .skill-pair, html.js html.js .skills.in .skill-pair, html.js .industries.in @keyframes pop-in { to { opacity: 1; transform: none; } }

/* ---------- Section heads ---------- */
.work__head, .process__head, .faq__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.work__title, .process__title, .faq__title { font-size: clamp(64px, 8.6vw, 140px); margin-top: 22px; }
.sticky { display: inline-block; padding: 14px 18px; background: var(--yellow); color: var(--on-accent); font-size: 16px; line-height: 1.4; box-shadow: var(--shadow); }
.sticky--note { max-width: 300px; rotate: -3deg; margin-top: 30px; transition: rotate .5s var(--spring); }
.sticky--note:hover { rotate: 2deg; }
.sticky a { border-bottom: 1.5px solid currentColor; }

/* ---------- Work: colourful folders ---------- */
.work { padding: 70px 24px 80px; }
.stack { max-width: 1240px; margin: 120px auto 0; }
/* room after the last folder, so it settles onto the pile and holds there for a beat before the whole stack leaves */
.stack::after { content: ""; display: block; height: 14vh; }
.stack > .proj:last-child { margin-bottom: 18vh; }
.proj { position: sticky; top: calc(var(--nav) + 26px); margin-bottom: 18vh; }
.proj:last-child { margin-bottom: 0; }
.proj__tab {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 64px; padding: 0 48px 0 26px; margin-left: calc(var(--i) * 22%);
  background: var(--c); color: var(--t); font-family: var(--mono); font-size: 15px; clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 100%, 0 100%);
}
.proj:not(.proj--1) .proj__tab { padding-left: 52px; clip-path: polygon(46px 0, calc(100% - 46px) 0, 100% 100%, 0 100%); }
.proj__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; min-height: min(68vh, 640px); padding: 32px 18px 18px; background: var(--c); color: var(--t); }
.proj--1 { --c: var(--cyan); --t: var(--on-accent); }
.proj--2 { --c: var(--fg); --t: var(--on-fg); }
.proj--3 { --c: var(--yellow); --t: var(--on-accent); }
.proj--4 { --c: var(--pink); --t: var(--on-accent); }
.proj__info { display: flex; flex-direction: column; padding: 4px 4px 0; }
.proj__date { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; }
.proj__date i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.proj__title { font-size: clamp(48px, 4.8vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin: 12px 0 18px; }
.proj__desc { font-size: 17px; max-width: 32ch; }
.proj__link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 28px; padding-bottom: 4px; border-bottom: 1.5px solid currentColor; font-family: var(--mono); font-size: 14px; }
.proj__link i { transition: transform .3s var(--spring); }
.proj__link:hover i { transform: translate(4px, -4px) scale(1.2); }
.proj__tags { display: flex; gap: 8px; margin-top: auto; padding-top: 40px; }
.proj__tags span { padding: 6px 10px; border: 1.5px solid currentColor; font-family: var(--mono); font-size: 12px; }
.proj__art { min-height: 420px; overflow: hidden; }
.proj__art::before { border-color: currentColor; z-index: 2; }
.proj__art .h { border-color: currentColor; background: var(--c); }
.proj__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform 1.2s var(--ease); }
.proj:hover .proj__art canvas { transform: scale(1.06); }
.file { position: absolute; right: 14px; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; background: #111; color: #fff; font-family: var(--mono); font-size: 13px; }
.file b { padding: 3px 4px; background: #fff; color: #111; font-size: 9px; font-weight: 500; }

/* ---------- Process: one week, day by day ---------- */
.process { padding: 70px 24px 70px; }
.process__lead { margin-top: 22px; max-width: 520px; font-size: 19px; color: var(--fg-2); }
.week { max-width: 1240px; margin: 70px auto 0; }
.phases { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.phase { height: 34px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: #111; border: 1.5px solid #111; }
.phase--1 { background: var(--yellow); } .phase--2 { background: var(--cyan); } .phase--3 { background: var(--pink); } .phase--4 { background: var(--green); }
.rail { position: relative; height: 6px; margin: 34px calc(100% / 14) 0; background: var(--surface-2); }
.rail__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--yellow), var(--cyan) 22%, var(--pink) 45%, var(--pink) 80%, var(--green)); }
.runner {
  position: absolute; left: 0; bottom: 14px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 6px 10px; background: var(--fg); color: var(--on-fg); font-family: var(--mono); font-size: 11px; border-radius: 999px;
}
.runner::after { content: ""; position: absolute; left: 50%; bottom: -6px; translate: -50% 0; border: 6px solid transparent; border-top-color: var(--fg); border-bottom: 0; }
.runner i { font-size: 15px; animation: run .35s steps(2) infinite; }
@keyframes run { 50% { transform: translateY(-2px) rotate(-8deg); } }
.runner.is-done i { animation: none; }
.days { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-top: -3px; }
.day { position: relative; padding: 30px 14px 18px; background: var(--surface); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: border-color .4s, transform .6s var(--spring), background .4s; }
.day__dot { position: absolute; top: -10px; left: 50%; translate: -50% 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--bg); transition: background .3s, transform .5s var(--spring); }
.day__no { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.day__ico { width: 54px; height: 54px; display: grid; place-items: center; background: var(--surface-2); color: var(--fg-2); font-size: 28px; transition: background .4s, color .4s, transform .6s var(--spring); }
.day h3 { font-size: 22px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin-top: 6px; }
.day p { font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.day__check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #111; font-size: 14px; border: 1.5px solid #111; opacity: 0; transform: scale(0) rotate(-90deg); transition: opacity .2s, transform .5s var(--spring); }
.day.is-done { border-color: var(--c); transform: translateY(-6px); }
.day.is-done .day__dot { background: var(--c); transform: scale(1.3); }
.day.is-done .day__ico { background: var(--c); color: #111; animation: wiggle .6s var(--spring); }
.day.is-done .day__check { opacity: 1; transform: none; }
.day.is-done h3 { color: var(--fg); }
@keyframes wiggle { 30% { transform: rotate(-12deg) scale(1.15); } 60% { transform: rotate(8deg); } }
.day:hover { transform: translateY(-10px) rotate(-1deg); }
.week__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; }
.tally { padding: 8px 14px; border: 1.5px solid var(--fg); font-family: var(--mono); font-size: 13px; border-radius: 999px; }
.tally b { font-weight: 500; color: var(--yellow); }
.delivered { margin-left: 8px; padding: 6px 14px; border: 3px solid var(--green); color: var(--green); font-size: 30px; rotate: -6deg; opacity: 0; transform: scale(2.2); transition: opacity .2s, transform .5s var(--spring); }
.delivered.is-in { opacity: 1; transform: none; }

/* ---------- FAQ: flip cards ---------- */
.faq { padding: 80px 24px 80px; }
.faq__sub { margin-top: 22px; font-size: 19px; color: var(--fg-2); }
.faq__tools { display: flex; gap: 10px; margin-top: 22px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1240px; margin: 60px auto 0; }
.card { position: relative; height: 270px; perspective: 1100px; cursor: pointer; text-align: left; }
.card__in { position: absolute; inset: 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.card.is-flipped .card__in { transform: rotateY(180deg); }
.card:hover .card__in { transform: rotateY(calc(var(--ry, -8) * 1deg)) rotateX(calc(var(--rx, 4) * 1deg)); transition: transform .35s ease-out; }
.card.is-flipped:hover .card__in { transform: rotateY(calc(180deg + var(--ry, -8) * 1deg)) rotateX(calc(var(--rx, 4) * -1deg)); }
.card__front::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; mix-blend-mode: soft-light; }
.card:hover .card__front::after { opacity: 1; }
.card__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 22px; display: flex; flex-direction: column; border: 1.5px solid #111; box-shadow: 6px 6px 0 var(--fg); }
.card__front { background: var(--c); color: #111; transform: rotateY(0deg) translateZ(1px); }
/* belt and braces for browsers that ignore backface-visibility: the side facing away is hidden halfway through the flip */
.card__front { transition: visibility 0s .22s; }
.card.is-flipped .card__front { visibility: hidden; }
.card__back { visibility: hidden; transition: visibility 0s .22s; }
.card.is-flipped .card__back { visibility: visible; }
.card__back { background: var(--surface); color: var(--fg); transform: rotateY(180deg) translateZ(1px); border-color: var(--fg); }
.card__no { font-family: var(--mono); font-size: 12px; }
.card__q { margin-top: auto; font-size: 27px; font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.card__hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--mono); font-size: 11px; opacity: .7; }
.card__hint i { transition: transform .5s var(--spring); }
.card:hover .card__hint i { transform: rotate(180deg); }
.card__a { font-size: 17px; line-height: 1.45; }
.card__a a { border-bottom: 1.5px solid currentColor; }
.card__joke { margin-top: auto; font-family: var(--hand); font-size: 20px; line-height: 1.15; color: var(--c); }
.card__back .card__no { color: var(--fg-2); margin-bottom: 10px; }
.faq__more { text-align: center; margin-top: 50px; font-size: 17px; color: var(--fg-2); }
.faq__more a, .link { color: var(--fg); border-bottom: 1.5px solid var(--yellow); font: inherit; }
.link:hover, .faq__more a:hover { color: var(--yellow); }

/* ---------- Let's talk + INTERN.EXE, the mascot with opinions ---------- */
.talk { padding: 70px 24px 120px; scroll-margin-top: 80px; }
.talk__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; max-width: 1240px; margin: 0 auto 80px; }
.intern { position: relative; display: flex; flex-direction: column; align-items: center; }
.bot { position: relative; width: 100%; height: 420px; display: grid; place-items: center; perspective: 900px; }

/* the orb: liquid chrome, a glass visor, an LED face */
.orb { --s: 250px; --vx: 14px; --vy: 9px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; transition: scale .4s var(--spring); }
.orb__body { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: inset -14px -18px 40px rgba(0, 0, 0, .55), inset 10px 12px 30px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.orb__body canvas { display: block; width: 100%; height: 100%; }
.orb__gloss { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 32%), radial-gradient(circle at 70% 85%, rgba(255, 255, 255, .12), transparent 40%); mix-blend-mode: screen; }
.orb__visor {
  position: absolute; left: 11%; right: 11%; top: 34%; height: 31%; border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, #050607 0%, #0B0E10 60%, #111518 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14), inset 0 -3px 8px rgba(0, 0, 0, .8), 0 6px 18px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(255, 255, 255, .08);
  transform: translateZ(30px);
}
.orb__visor::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(170deg, rgba(255, 255, 255, .16), transparent 38%); pointer-events: none; }
.orb__visor canvas { position: absolute; left: 6%; top: 8%; width: 88%; height: 84%; }
.orb__shadow { position: absolute; left: 50%; bottom: 36px; width: 170px; height: 18px; margin-left: -85px; border-radius: 50%; background: radial-gradient(closest-side, var(--fg), transparent); opacity: .16; animation: shadowBob 3.2s ease-in-out infinite; }
.bot .orb { animation: orbBob 3.2s ease-in-out infinite; }
@keyframes orbBob { 50% { translate: 0 -14px; } }
@keyframes shadowBob { 50% { scale: .82; opacity: .07; } }
.is-angry .orb { animation: orbBob 3.2s ease-in-out infinite, rattle .09s linear infinite; }
@keyframes rattle { 50% { transform: translate(3px, -1px) rotate(2deg); } }
.is-off .orb { animation: none; translate: 0 18px; transition: translate .6s var(--ease); }
.is-off .orb__visor { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .05); }
.orb.is-hit { animation: hit .45s var(--spring); }
@keyframes hit { 30% { scale: 1.12 .86; } 60% { scale: .94 1.06; } }
.orb.is-spin .orb__visor { animation: visorSpin .8s var(--ease); }
@keyframes visorSpin { 50% { translate: 120% 0; opacity: 0; } 51% { translate: -120% 0; } }

/* what it says */
.say {
  position: absolute; z-index: 6; width: max-content; max-width: 300px; padding: 12px 15px 13px; border-radius: 16px 16px 16px 4px;
  background: #0F1113; color: #F3F3F1; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8), 0 0 0 1px rgba(60, 200, 245, .12);
  font-size: 15.5px; line-height: 1.35; font-weight: 450; text-align: left; pointer-events: none;
  opacity: 0; transform: translateY(10px) scale(.92); transform-origin: 0 100%; transition: opacity .2s, transform .45s var(--spring);
}
.say.is-on { opacity: 1; transform: none; }
.say__who { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--cyan); }
.say__who::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.is-angry .say__who { color: var(--pink); }
.say__txt.is-typing::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--cyan); animation: blink .8s steps(1) infinite; }
.bot .say { left: 54%; bottom: calc(50% + 120px); }

.bot__name { margin-top: 4px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.bot__name b { color: var(--cyan); font-weight: 500; }
.panel { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; max-width: 520px; }
.panel__btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 1.5px solid var(--fg); background: var(--surface); font-family: var(--mono); font-size: 12px; text-transform: uppercase; box-shadow: 3px 3px 0 var(--fg); transition: transform .3s var(--spring), box-shadow .2s, background .2s, color .2s; }
.panel__btn i { font-size: 15px; }
.panel__btn:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 5px 5px 0 var(--fg); }
.panel__btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--fg); }
.panel__btn[data-act="roast"]:hover { background: var(--pink); color: #111; }
.panel__btn[data-act="poke"]:hover { background: var(--yellow); color: #111; }
.panel__btn[data-act="idea"]:hover { background: var(--cyan); color: #111; }
.panel__btn[data-act="raise"]:hover { background: var(--green); color: #111; }
.panel__btn[data-act="feel"]:hover { background: var(--cyan); color: #111; }
.panel__btn[data-act="unplug"]:hover, .panel__btn[data-act="brief"]:hover { background: var(--fg); color: var(--on-fg); }

/* the pocket version that follows you around the site */
.dock { position: fixed; left: 18px; bottom: 18px; z-index: 90; pointer-events: none; opacity: 0; translate: 0 30px; scale: .6; transition: opacity .35s, translate .6s var(--spring), scale .6s var(--spring); }
.dock.is-on { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; }
.dock .orb { --s: 62px; --vx: 4px; --vy: 2.5px; animation: orbBob 3.2s ease-in-out infinite; }
.dock .orb__body { box-shadow: inset -5px -6px 14px rgba(0, 0, 0, .55), inset 3px 4px 10px rgba(255, 255, 255, .12), 0 10px 24px -8px rgba(0, 0, 0, .8); }
.dock .orb__visor { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 3px 8px rgba(0, 0, 0, .5); }
.dock .say { left: 74px; bottom: 18px; max-width: min(320px, calc(100vw - 110px)); font-size: 14.5px; }

.talk__title { font-size: clamp(64px, 8vw, 132px); }
.talk__copy p { margin-top: 18px; max-width: 440px; font-size: 18px; color: var(--fg-2); }
.talk__ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.banner { position: relative; max-width: 1240px; min-height: 520px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--yellow); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; border: 2px solid var(--fg); }
.banner__stripes { position: absolute; top: 0; left: -15%; width: 130%; height: 100%; }
.banner__stripes path { fill: #111; }
.waves { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.wave { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--pink); }
.contact-btn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 18px; padding: 14px 16px; background: var(--cyan); border: 3px solid #111; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .3s var(--spring); }
.contact-btn:hover { transform: rotate(-1.5deg) scale(1.02); }
.contact-btn__txt { position: relative; z-index: 2; font-size: clamp(48px, 6vw, 92px); color: #111; }
.contact-btn__ico { position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; background: var(--pink); border: 2px solid #111; color: #111; font-size: 28px; rotate: 45deg; }
.contact-btn__logo { position: relative; z-index: 2; height: 58px; width: auto; filter: none !important; transition: transform .5s var(--spring); }
.contact-btn:hover .contact-btn__logo { transform: rotate(-12deg); }
.contact-btn__ico i { rotate: -45deg; }
.contact-btn__fill { position: absolute; inset: 0; z-index: 1; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; }
.banner__hint { position: relative; z-index: 2; margin-top: 22px; padding: 6px 14px; background: #F3F3F1; color: #111; border: 2px solid #111; font-family: var(--hand); font-size: 24px; }
.banner__sound { position: absolute; right: 18px; bottom: 16px; z-index: 2; padding: 6px 10px; background: #F3F3F1; color: #111; border: 2px solid #111; font-family: var(--mono); font-size: 12px; }
.banner__reveal { position: relative; z-index: 2; display: none; flex-direction: column; align-items: center; margin-top: 30px; padding: 24px 28px; background: #111; color: #fff; border: 2px solid #111; }
.banner.is-called .banner__reveal { display: flex; animation: pop .6s var(--spring); }
@keyframes pop { from { transform: scale(.6) rotate(-4deg); opacity: 0; } }
.banner__mail { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.04em; border-bottom: 2px solid currentColor; }
.banner__mail:hover { color: var(--yellow); }
.banner__ctas { display: flex; gap: 10px; margin-top: 20px; }
.banner__ctas .btn--line { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
body.shake { animation: shake .42s; }
@keyframes shake { 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, -1px); } }

/* ---------- Footer ---------- */
.foot { padding-top: 60px; overflow: hidden; }
.foot__mega { text-align: center; font-size: clamp(90px, 21vw, 340px); line-height: .8; padding: 0 12px 10px; white-space: nowrap; user-select: none; }
.foot__mega .ch { transition: transform .5s var(--spring), color .3s; }
.foot__row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 230px 22px 24px; font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.foot__row a { border-bottom: 1px solid currentColor; }
.badge-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--yellow); color: var(--on-accent); border: 1.5px solid var(--fg); border-radius: 10px; box-shadow: 4px 4px 0 var(--fg); font-family: var(--mono); font-size: 13px; transition: transform .4s var(--spring), box-shadow .3s; }
.badge-float { opacity: 0; translate: 0 30px; pointer-events: none; transition: transform .4s var(--spring), box-shadow .3s, opacity .3s, translate .5s var(--spring); }
.badge-float.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.badge-float:hover { transform: translate(-2px, -2px) rotate(-3deg); box-shadow: 7px 7px 0 var(--fg); }
.badge-float i { animation: spin 3s linear infinite; }

/* ---------- Brief builder ---------- */
.brief { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.brief.is-open { visibility: visible; pointer-events: auto; }
.brief__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.brief.is-open .brief__scrim { opacity: 1; }
.brief__win { position: relative; width: min(720px, 100%); max-height: calc(100svh - 40px); display: flex; flex-direction: column; background: var(--surface); color: var(--fg); border: 1.5px solid var(--fg); box-shadow: 10px 10px 0 var(--yellow); transform: translateY(40px) scale(.9) rotate(-2deg); opacity: 0; transition: transform .6s var(--spring), opacity .3s; }
.brief.is-open .brief__win { transform: none; opacity: 1; }
.brief__x { margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--fg); background: var(--bg); }
.brief__x:hover { background: var(--pink); color: var(--on-accent); }
.brief__progress { height: 6px; background: var(--surface-2); }
.brief__progress i { display: block; height: 100%; width: 25%; background: var(--cyan); transition: width .5s var(--spring); }
.brief__steps { position: relative; padding: 30px 30px 10px; overflow-y: auto; }
.step { display: none; }
.step.is-on { display: block; animation: stepIn .5s var(--spring); }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } }
.step__no { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.step__q { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; line-height: 1.02; margin: 8px 0 6px; font-weight: 500; }
.step__hint { font-size: 22px; color: var(--yellow); margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.opt { padding: 12px 16px; border: 1.5px solid var(--fg); font-size: 16px; text-align: left; transition: background .2s, color .2s, transform .35s var(--spring); }
.opt:hover { transform: translateY(-2px) rotate(-1.5deg); }
.opt.is-on { background: var(--cyan); color: var(--on-accent); border-color: var(--cyan); }
.opts--big { display: grid; grid-template-columns: 1fr 1fr; }
.opts--big .opt { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.opts--big .opt b { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.opts--big .opt span { font-family: var(--hand); font-size: 20px; opacity: .75; }
.opts--big .opt.is-on { background: var(--yellow); border-color: var(--yellow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.field span { font-family: var(--mono); font-size: 12px; color: var(--fg-2); text-transform: uppercase; }
.field input, .field textarea { padding: 12px 14px; background: var(--bg); border: 1.5px solid var(--fg); font-size: 17px; outline: none; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 4px 4px 0 var(--cyan); }
.brief__summary { margin-top: 18px; padding: 12px 14px; background: var(--surface-2); font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--fg-2); }
.step--done { text-align: center; padding: 20px 0 10px; }
.step__done { font-size: clamp(54px, 8vw, 90px); color: var(--green); }
.step__doneText { margin: 18px auto 10px; max-width: 420px; font-size: 18px; }
.step--done a { border-bottom: 1.5px solid currentColor; }
.brief__nav { display: flex; justify-content: space-between; gap: 10px; padding: 18px 30px 24px; }
.brief__nav [data-back][hidden], .brief__nav [data-next][hidden] { display: none; }

/* ---------- Work: the case files (real work, client names redacted) ---------- */
.proj--5 { --c: var(--green); --t: var(--on-accent); }
.cs .proj__tab { margin-left: calc(var(--i) * 19%); gap: 12px; }
.cs__body { position: relative; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; padding: 34px 32px 28px; overflow: hidden; }
.cs__body::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: radial-gradient(currentColor 1px, transparent 1.2px); background-size: 14px 14px; }
.cs__dossier { position: relative; z-index: 1; display: flex; flex-direction: column; }
.cs__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.cs__redact { display: inline-block; min-width: 96px; padding: 0 .4em; background: var(--t); color: transparent; text-align: center; cursor: help; transition: background .25s, color .25s; }
.cs__redact:hover { background: #111; color: var(--c); }
.cs__h { margin-top: 20px; font-size: clamp(38px, 4.2vw, 64px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.cs__p { margin-top: 16px; max-width: 460px; font-size: 17px; line-height: 1.45; }
.cs__rows { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; }
.cs__row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; }
.cs__row > span { padding-top: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; opacity: .7; }
.cs__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cs__chips em { font-style: normal; padding: 5px 11px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .22); transition: background .2s, transform .3s var(--spring); }
.cs__chips em:hover { background: rgba(255, 255, 255, .55); transform: rotate(-3deg); }

/* the fan of phones */
.cs__stage { position: relative; z-index: 1; display: grid; grid-template-rows: 1fr auto; gap: 14px; min-height: 540px; }
.cs__fan { position: relative; }
.cs__ph { --x: 0px; --r: 0deg; --s: 1; position: absolute; left: 50%; top: 50%; width: min(220px, 40%); aspect-ratio: 9 / 16; margin: 0; padding: 7px; border-radius: 30px; background: #0C0C0C; box-shadow: 0 0 0 2px #111, 0 30px 50px -20px rgba(0, 0, 0, .8); transform: translate(-50%, -50%) translateX(var(--x)) rotate(var(--r)) scale(var(--s)); transition: transform .8s cubic-bezier(.34, 1.3, .64, 1), filter .5s; cursor: pointer; }
.cs__scr { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #000; container-type: inline-size; }
.cs__scr video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs__scr::before { content: ""; position: absolute; left: 50%; top: 4.5cqw; z-index: 3; width: 25cqw; height: 6.5cqw; margin-left: -12.5cqw; border-radius: 99px; background: #000; }
.cs__ph[data-pos="0"] { --s: 1.08; z-index: 3; }
.cs__ph[data-pos="1"] { --x: -62%; --r: -9deg; --s: .88; z-index: 2; filter: brightness(.72); }
.cs__ph[data-pos="2"] { --x: 62%; --r: 9deg; --s: .88; z-index: 2; filter: brightness(.72); }
.cs__ph[data-pos="3"] { --s: .7; z-index: 1; filter: brightness(.4); }
.cs__ph[data-pos="1"]:hover, .cs__ph[data-pos="2"]:hover { filter: brightness(1); }
/* a reels-style overlay on the phone in front */
.cs__ui, .cs__cap { position: absolute; z-index: 2; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s .2s; pointer-events: none; }
.cs__ui { right: 3.5cqw; bottom: 26cqw; display: grid; gap: 6cqw; justify-items: center; font-family: var(--mono); font-size: 4.2cqw; text-transform: uppercase; }
.cs__ui span { display: grid; justify-items: center; gap: 1cqw; }
.cs__ui i { font-size: 9.5cqw; }
.cs__ui span:first-child i { color: #FF5C93; }
.cs__cap { left: 5cqw; right: 20cqw; bottom: 6cqw; font-size: 5.1cqw; line-height: 1.3; }
.cs__cap b { display: block; font-weight: 600; }
.cs__ph[data-pos="0"] .cs__ui, .cs__ph[data-pos="0"] .cs__cap { opacity: 1; }
.cs__note { position: absolute; right: -4px; top: 2%; z-index: 5; max-width: 160px; padding: 9px 13px; background: #F3F3F1; color: #111; font-family: var(--hand); font-size: 19px; line-height: 1.05; rotate: 6deg; box-shadow: 4px 4px 0 #111; }
.cs__stamp { position: absolute; left: 0; top: 4%; z-index: 6; padding: 6px 14px; border: 3px solid currentColor; font-family: var(--pixel); font-size: 20px; rotate: -10deg; background: color-mix(in srgb, var(--c) 80%, transparent); opacity: 0; transform: scale(2.2); transition: opacity .2s, transform .5s var(--spring); }
.cs.is-in .cs__stamp { opacity: .92; transform: none; }
.cs__strip { display: flex; justify-content: center; gap: 8px; }
.cs__strip button { width: 50px; aspect-ratio: 9 / 13; padding: 0; border: 2px solid #111; background: #111 center / cover; opacity: .55; transition: opacity .25s, transform .3s var(--spring); }
.cs__strip button:hover { opacity: .9; transform: translateY(-3px); }
.cs__strip button.is-on { opacity: 1; transform: translateY(-5px); box-shadow: 0 0 0 2px #F3F3F1; }

/* the receipt for everything we didn't pay for */
.cs__receipt { position: absolute; left: -6px; bottom: 70px; z-index: 7; width: 200px; padding: 12px 12px 18px; background: #FBFBF7; color: #111; font-family: var(--mono-2, var(--mono)); font-size: 10.5px; line-height: 1.45; rotate: -4deg; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .55); clip-path: inset(0 0 100% 0); transition: clip-path 1.4s steps(12, end), rotate .4s var(--spring); }
.cs__receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: radial-gradient(circle at 4px 0, #FBFBF7 4px, transparent 4.5px) 0 0 / 8px 6px repeat-x; }
.cs.is-in .cs__receipt { clip-path: inset(0 0 -10px 0); }
.cs__receipt:hover { rotate: 0deg; }
.cs__receipt b { display: block; text-align: center; font-family: var(--pixel); font-size: 15px; }
.cs__receipt small { display: block; text-align: center; color: #666; margin-bottom: 6px; }
.cs__receipt small:last-child { margin: 8px 0 0; }
.cs__receipt p { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed #BBB; }
.cs__receipt p i { font-style: normal; }
.cs__receipt .cs__hot i { color: #E5306E; }
.cs__receipt .cs__tot { margin-top: 4px; border: 0; font-weight: 700; font-size: 12px; }

/* folders underneath sink back as the next one slides over */
.cs.proj { transform-origin: 50% 0; }
.cs__shade { position: absolute; inset: 0; z-index: 20; background: #000; opacity: 0; pointer-events: none; }
/* phones only: a button that prints the receipt */
.cs__bill { display: none; position: absolute; left: 6px; bottom: 6px; z-index: 9; align-items: center; gap: 6px; padding: 7px 11px; background: #FBFBF7; color: #111; border: 2px solid #111; box-shadow: 3px 3px 0 #111; font-family: var(--mono); font-size: 11px; text-transform: uppercase; rotate: -3deg; }
.cs__bill i { font-size: 15px; }
.cs.is-bill .cs__bill { background: var(--yellow); }

/* the locked folder */
.cs--locked { --c: #1A1A1A; --t: #F3F3F1; }
.cs--locked .cs__body { grid-template-columns: 1fr; place-items: center; min-height: 440px; text-align: center; border: 2px solid #3A3A3A; }
.cs__lockico { font-size: 64px; color: var(--yellow); }
.cs__lockh { margin-top: 12px; font-size: clamp(32px, 3.6vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.cs__lockp { margin: 14px auto 0; max-width: 520px; font-size: 17px; line-height: 1.45; color: #BDBDBA; }
/* the padlock snaps shut and the file redacts itself as you arrive */
.cs__padlock { position: relative; display: inline-block; width: 64px; height: 64px; }
.cs__padlock i { position: absolute; inset: 0; transition: opacity .15s; }
.cs__padlock .is-shut { opacity: 0; }
.cs--locked.is-locked .cs__padlock .is-open { opacity: 0; }
.cs--locked.is-locked .cs__padlock .is-shut { opacity: 1; }
.cs--locked.is-locked .cs__padlock { animation: clunk .5s var(--spring) .9s both; }
@keyframes clunk { 0% { transform: none; } 30% { transform: translateY(6px) scale(.9, 1.1); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
.cs__doc { position: relative; display: grid; gap: 10px; width: min(500px, 100%); margin: 24px auto 26px; text-align: left; font-family: var(--mono); font-size: 13px; color: #BDBDBA; }
.cs__doc p { position: relative; }
.cs__doc span { color: #7C7C79; text-transform: uppercase; font-size: 11px; margin-right: 6px; }
.cs__doc i { position: absolute; inset: -2px -4px; background: #2E2E2E; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.cs--locked.is-locked .cs__doc i { transform: scaleX(1); }
.cs--locked.is-locked .cs__doc p:nth-child(2) i { transition-delay: .15s; }
.cs--locked.is-locked .cs__doc p:nth-child(3) i { transition-delay: .3s; }
.cs--locked.is-locked .cs__doc p:nth-child(4) i { transition-delay: .45s; }
.cs__classified { position: absolute; left: 50%; top: 50%; padding: 6px 16px; border: 3px solid var(--pink); color: var(--pink); font-family: var(--pixel); font-size: 30px; font-weight: 700; rotate: -8deg; translate: -50% -50%; opacity: 0; transform: scale(2.4); transition: opacity .1s 1.2s, transform .4s var(--spring) 1.2s; pointer-events: none; }
.cs--locked.is-locked .cs__classified { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .cs .proj__tab { margin-left: calc(var(--i) * 15%); }
  .cs__receipt { display: none; }
}
@media (max-width: 760px) {
  .cs .proj__tab { margin-left: calc(var(--i) * 10%); font-size: 11px; }
  .cs__body { grid-template-columns: minmax(0, 1fr); padding: 20px 16px 22px; gap: 18px; }
  .cs__stage { order: -1; min-height: 420px; }
  .cs__ph { width: 46%; }
  .cs__note { font-size: 15px; max-width: 120px; right: -8px; }
  .cs__stamp { font-size: 15px; }
  .cs__h { font-size: 34px; }
  .cs__p { font-size: 15.5px; }
  .cs__row { grid-template-columns: 1fr; gap: 6px; }
  .cs__row > span { padding-top: 0; }
}

/* the idea machine prints out proof: one of our own absurd ideas, actually made */
.machine { z-index: 6; }
.idea-proof { position: absolute; right: -84px; bottom: -232px; z-index: 7; width: 236px; margin: 0; padding: 8px 8px 10px; background: #F3F3F1; color: #111; rotate: 7deg; box-shadow: 0 26px 46px -18px rgba(0, 0, 0, .8); cursor: pointer; transition: rotate .5s var(--spring), translate .5s var(--spring); animation: eject .9s var(--spring) 2.6s both; }
.idea-proof::before { content: ""; position: absolute; left: 50%; top: -11px; z-index: 2; width: 80px; height: 22px; margin-left: -40px; background: color-mix(in srgb, var(--pink) 80%, transparent); rotate: -4deg; }
.idea-proof:hover { rotate: 2deg; translate: 0 -8px; }
@keyframes eject { from { transform: translateY(-90px) scale(.5); opacity: 0; } }
.idea-proof__v { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.idea-proof__v video { display: block; width: 100%; height: 100%; object-fit: cover; }
.idea-proof__tag { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 3px 7px; background: var(--yellow); font-family: var(--mono); font-size: 10px; }
.idea-proof__play { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(243, 243, 241, .92); font-size: 15px; transition: transform .3s var(--spring); }
.idea-proof:hover .idea-proof__play { transform: scale(1.2); }
.idea-proof figcaption { padding-top: 6px; text-align: center; font-family: var(--hand); font-size: 20px; line-height: 1.05; }
@media (max-width: 1100px) { .idea-proof { right: -20px; width: 200px; } }
@media (max-width: 760px) {
  .idea-proof { position: relative; right: auto; bottom: auto; display: block; width: min(280px, 82%); margin: 4px auto 18px; rotate: -3deg; }
}
.lb__vid { display: none; width: min(92vw, calc(82vh * 4 / 3)); aspect-ratio: 4 / 3; background: #000; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); }
.lb.is-video .lb__img { display: none; }
.lb.is-video .lb__vid { display: block; }

/* pinned prints elsewhere on the page */
.pin-print { position: absolute; z-index: 3; width: 200px; padding: 8px 8px 10px; background: #F3F3F1; color: #111; box-shadow: 0 24px 44px -20px rgba(0, 0, 0, .7); cursor: pointer; transition: rotate .5s var(--spring), translate .5s var(--spring); }
.pin-print::before { content: ""; position: absolute; left: 50%; top: -11px; width: 76px; height: 22px; margin-left: -38px; background: color-mix(in srgb, var(--yellow) 75%, transparent); rotate: -3deg; }
.pin-print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
.pin-print figcaption { padding-top: 6px; text-align: center; font-family: var(--hand); font-size: 19px; line-height: 1.05; }
.pin-print:hover { translate: 0 -8px; }
/* prints sit in the side margins next to a section title, never over it */
.work__head, .process__head, .faq__head { position: relative; }
.pin-print--right { right: max(2%, calc(50% - 640px)); top: 20px; rotate: 6deg; }
.pin-print--left { left: max(2%, calc(50% - 640px)); top: 20px; rotate: -6deg; }
.pin-print--right:hover { rotate: 2deg; }
.pin-print--left:hover { rotate: -2deg; }
.pin-print--work::before { background: color-mix(in srgb, var(--pink) 80%, transparent); }
.pin-print--faq::before { background: color-mix(in srgb, var(--green) 80%, transparent); }
.pin-print--faq { left: max(1%, calc(50% - 32vw - 230px)); }  /* this title is wider, so its print sits further out */
.call-poster { top: 50%; width: clamp(150px, 15vw, 215px); margin-top: -160px; }
.call-poster--l { left: 4%; rotate: -7deg; }
.call-poster--r { right: 4%; rotate: 6deg; }
.call-poster--l::before { background: color-mix(in srgb, var(--pink) 80%, transparent); }
.call-poster--r::before { background: color-mix(in srgb, var(--cyan) 80%, transparent); }
.banner.is-called .call-poster { animation: rang .9s var(--spring); }
@keyframes rang { 30% { translate: 0 -24px; } 60% { translate: 0 4px; } }

/* full-screen view */
.lb { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; pointer-events: none; visibility: hidden; }
.lb.is-open { pointer-events: auto; visibility: visible; }
.lb__scrim { position: absolute; inset: 0; background: rgba(8, 8, 8, .9); opacity: 0; transition: opacity .35s; }
.lb.is-open .lb__scrim { opacity: 1; }
.lb__fig { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; }
.lb__img { display: block; height: min(82vh, 115vw); width: auto; aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); transform-origin: 0 0; }
.lb__cap { max-width: min(560px, 90vw); text-align: center; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: #BDBDBA; opacity: 0; transition: opacity .3s .15s; }
.lb__cap b { display: block; margin-bottom: 4px; font-family: var(--sans, inherit); font-size: 18px; font-weight: 500; color: #F3F3F1; }
.lb.is-open .lb__cap { opacity: 1; }
.lb__btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #F3F3F1; color: #111; font-size: 18px; opacity: 0; transition: opacity .3s, transform .3s var(--spring); }
.lb.is-open .lb__btn { opacity: 1; }
.lb__btn:hover { transform: scale(1.1); }
.lb__x { top: 22px; right: 22px; }
.lb__prev { left: 22px; top: 50%; margin-top: -24px; }
.lb__next { right: 22px; top: 50%; margin-top: -24px; }

@media (max-width: 1400px) {
  .pin-print--faq { display: none; }
}
@media (max-width: 1240px) {
  .pin-print--left, .pin-print--right { display: none; }
}
@media (max-width: 1100px) {
  .call-poster { width: 140px; margin-top: -120px; }
}
@media (max-width: 860px) {
  .call-poster { display: none; }
}
@media (max-width: 760px) {
  .lb__prev, .lb__next { top: auto; bottom: 22px; margin-top: 0; }
}

/* ---------- Case 05: a combination lock nobody will ever open ---------- */
.cs__combo { display: grid; justify-items: center; gap: 12px; margin-top: 4px; }
.cs__combo-h { font-family: var(--hand); font-size: 24px; color: var(--yellow); }
.cs__dials { display: flex; align-items: center; gap: 8px; }
.cs__dial { width: 54px; height: 66px; display: grid; place-items: center; border: 2px solid #F3F3F1; background: #0C0C0C; color: #F3F3F1; font-family: var(--pixel); font-size: 34px; box-shadow: inset 0 -10px 0 rgba(255, 255, 255, .06), 4px 4px 0 #F3F3F1; transition: transform .25s var(--spring), border-color .2s, color .2s; }
.cs__dial:hover { transform: translateY(-3px); border-color: var(--yellow); color: var(--yellow); }
.cs__dial.is-roll { animation: roll .28s var(--ease); }
@keyframes roll { 0% { transform: translateY(-14px); opacity: .2; } 100% { transform: none; opacity: 1; } }
.cs__try { display: inline-flex; align-items: center; gap: 8px; height: 66px; margin-left: 6px; padding: 0 18px; background: var(--yellow); color: #111; border: 2px solid #111; font-family: var(--mono); font-size: 13px; text-transform: uppercase; box-shadow: 4px 4px 0 #F3F3F1; transition: transform .2s var(--spring), box-shadow .2s; }
.cs__try:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #F3F3F1; }
.cs__try:active { transform: translate(3px, 3px); box-shadow: 0 0 0 #F3F3F1; }
.cs__combo-msg { min-height: 2.9em; max-width: 440px; font-size: 15px; line-height: 1.4; color: #BDBDBA; }
.cs__combo.is-denied .cs__dial { border-color: var(--pink); color: var(--pink); }
.cs__combo.is-denied .cs__combo-msg { color: #F3F3F1; }
.cs--locked.is-shake .cs__padlock { animation: deny .5s var(--ease); }
@keyframes deny { 15%, 55% { transform: translateX(-8px) rotate(-6deg); } 35%, 75% { transform: translateX(8px) rotate(6deg); } }

/* ---------- Audit fixes ---------- */
/* light mode: the handwritten FAQ jokes and the timeline stamp stay readable */
html[data-theme="light"] .card__joke { align-self: flex-start; color: var(--fg); background: linear-gradient(transparent 55%, color-mix(in srgb, var(--c) 75%, transparent) 55%); }
html[data-theme="light"] .delivered { color: #0E8A4F; border-color: #0E8A4F; }
html[data-theme="light"] .tally b { color: #A87C00; }
.sticky .link { color: inherit; border-bottom-color: currentColor; font-weight: 600; }
.sticky .link:hover { color: inherit; opacity: .7; }
/* the locked file's labels were too faint */
.cs__doc span { color: #A9A9A6; font-size: 11.5px; }
.cs__ui { font-size: 4.6cqw; }
/* room under the hero so the machine's printout never sits on the ticker */
@media (min-width: 761px) { .hero { padding-bottom: 190px; } }
/* the pocket intern steps aside at the footer, and its bubble can be tapped away */
.dock.is-away { opacity: 0 !important; translate: 0 40px !important; pointer-events: none !important; }
.dock .say { max-width: min(280px, calc(100vw - 110px)); font-size: 14px; pointer-events: auto; cursor: pointer; }
@media (max-width: 760px) {
  /* folders stack on phones too: each one is sized to fit the screen, and a folder that can't fit simply scrolls */
  .cs.proj { position: sticky; top: calc(var(--nav) + 6px); margin-bottom: 26svh; }
  .cs.proj.is-tall { position: relative; top: auto; margin-bottom: 34px; }
  .cs.proj:last-child { margin-bottom: 0; }
  .stack::after { height: 14svh; }
  .stack > .cs.proj:last-child { margin-bottom: 26svh; }
  .cs__body { padding: 14px 14px 16px; gap: 12px; }
  .cs__stage { min-height: 0; height: clamp(200px, 30svh, 260px); grid-template-rows: minmax(0, 1fr); }
  .cs__fan { touch-action: pan-y; }
  .cs__ph { width: auto; height: 86%; }
  .cs__strip { display: none; }
  .cs__h { margin-top: 10px; font-size: 27px; }
  .cs__p { margin-top: 8px; font-size: 14.5px; line-height: 1.4; }
  .cs__rows { padding-top: 12px; }
  .cs__row:nth-child(2) { display: none; }
  .cs__chips em { padding: 4px 9px; font-size: 12px; }
  .cs--locked .cs__body { min-height: 0; padding: 22px 16px; }
  .cs__doc { margin: 16px auto 18px; font-size: 12px; }
  /* the receipt prints on demand */
  .cs__bill { display: inline-flex; }
  .cs__receipt { display: block; left: 50%; top: 50%; bottom: auto; width: 214px; translate: -50% -50%; rotate: -3deg; z-index: 8; transition: clip-path .9s steps(10, end), rotate .4s var(--spring); }
  .cs.is-in:not(.is-bill) .cs__receipt { clip-path: inset(0 0 100% 0); }
  .cs.is-bill .cs__receipt { clip-path: inset(0 0 -10px 0); }
  .dock .say { left: 0; bottom: 58px; max-width: min(260px, calc(100vw - 40px)); padding: 9px 12px 10px; font-size: 12.5px; }
  .dock .say__who { font-size: 9px; }
  /* thumb-friendly targets */
  .panel__btn { min-height: 44px; }
  .nav__contact { min-height: 40px; }
  .banner__sound { padding: 10px 12px; }
  .switch::after { content: ""; position: absolute; inset: -8px; }
  .link, .sticky a, .faq__more a, .foot__row a, .sticky .link { display: inline-block; padding: 10px 0; margin: -10px 0; }
}

@media (max-width: 760px) {
  .work { padding-bottom: 60px; }
  .process { padding: 60px 24px 50px; }
  .faq { padding: 60px 24px 60px; }
  .talk { padding-top: 60px; }
  .cs__dial { width: 46px; height: 58px; font-size: 28px; }
  .cs__try { height: 58px; padding: 0 12px; }
}
/* ---------- Industries: a bin of tags you can grab and throw ---------- */
.industries { width: 100%; max-width: 1040px; }
.pile { position: relative; width: 100%; height: 340px; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; background: radial-gradient(var(--line) 1.1px, transparent 1.2px) 0 0 / 18px 18px; touch-action: pan-y; }
.pile__label { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 11px; color: var(--fg-2); letter-spacing: .08em; }
.pile__hint { position: absolute; right: 16px; top: 10px; font-family: var(--hand); font-size: 20px; color: var(--yellow); rotate: 2deg; pointer-events: none; }
.tagp { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border: 2px solid #111; border-radius: 999px; background: var(--c); color: #111; font-size: 17px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; user-select: none; -webkit-user-select: none; will-change: transform; cursor: grab; box-shadow: 0 6px 0 -2px rgba(0, 0, 0, .35); }
.tagp i { font-size: 19px; }
.tagp--you { background: transparent; color: var(--fg); border: 2px dashed var(--fg); }
.tagp.is-hot { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c); }
.pile__joke { position: absolute; left: 50%; bottom: 14px; z-index: 5; max-width: min(520px, 90%); padding: 9px 14px; translate: -50% 0; border-radius: 12px; background: #0F1113; color: #F3F3F1; border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; text-align: center; pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .35s var(--spring); }
.pile__joke.is-on { opacity: 1; transform: none; }
/* without physics (or before it loads) the tags simply sit in a row */
.pile:not(.is-live) { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 52px 16px 60px; }
.pile:not(.is-live) .tagp { position: relative; }
@media (max-width: 760px) {
  .pile { height: 440px; }
  .tagp { gap: 6px; font-size: 13px; padding: 6px 12px 6px 9px; }
  .tagp i { font-size: 15px; }
  .pile__hint { font-size: 17px; top: 30px; right: 12px; }
}


/* ---------- How we think: one brief, start to finish ---------- */
.hwt { max-width: 1300px; margin: 0 auto; padding: 150px 24px 40px; }
.hwt__head { max-width: 820px; margin: 0 auto; text-align: center; }
.hwt__kicker { color: var(--yellow); font-size: 26px; rotate: -2deg; }
.hwt__h { margin-top: 10px; font-size: clamp(56px, 8.4vw, 132px); font-weight: 600; letter-spacing: -.06em; line-height: .88; }
.hwt__h em { display: table; margin: .12em auto 0; }
.hwt__p { max-width: 600px; margin: 24px auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--fg-2); }
.hwt__flow { position: relative; display: grid; grid-template-columns: .9fr .9fr 1fr 1.25fr; gap: 26px; align-items: center; margin-top: 60px; }
.hwt__line { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 40px; translate: 0 -50%; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-dasharray: 6 8; opacity: .55; pointer-events: none; }
.hwt__step { position: relative; z-index: 1; }
html.js .hwt__step { opacity: 0; transform: translateY(40px) rotate(-2deg); transition: opacity .7s var(--ease), transform .9s var(--spring); transition-delay: calc(var(--i) * .35s); }
.hwt.in .hwt__step { opacity: 1; transform: none; }
.hwt__k { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mail { padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; font-family: var(--mono-2); font-size: 13.5px; line-height: 1.5; box-shadow: var(--shadow); }
.mail__row { display: flex; gap: 10px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.mail__row span { width: 58px; flex: none; color: var(--mute); text-transform: uppercase; font-size: 10.5px; padding-top: 2px; }
.mail__body { margin-top: 8px; color: var(--fg-2); }
.sticky-note { padding: 22px 20px 26px; background: var(--yellow); color: #111; font-family: var(--hand); font-size: 25px; line-height: 1.12; rotate: -3deg; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .7); }
.idea-card { padding: 26px 22px; border: 2px solid var(--fg); background: var(--fg); color: var(--on-fg); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; rotate: 1.5deg; box-shadow: 10px 10px 0 var(--pink); }
.hwt__phone { aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px; background: #000; box-shadow: 0 0 0 5px #111, 0 0 0 6.5px rgba(255, 255, 255, .15), 0 30px 50px -20px #000; }
.hwt__phone { position: relative; }
.hwt__phone--wide { aspect-ratio: 4 / 3; border-radius: 14px; }
.hwt__snd { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; }
.hwt__phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hwt__cap { margin-top: 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--fg-2); text-align: center; }
.hwt__foot { margin-top: 30px; text-align: center; font-family: var(--hand); font-size: 20px; color: var(--mute); }
.hwt__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
@media (max-width: 1000px) {
  .hwt__flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hwt__line { display: none; }
  .hwt__step--film { max-width: 260px; }
}
@media (max-width: 760px) {
  .hwt { padding: 100px 16px 20px; }
  .hwt__flow { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 40px; }
  .hwt__step--film { justify-self: center; width: 70%; }
}


/* ---------- Tablet and phone ---------- */
@media (max-width: 1000px) {
  .nav__links a { padding: 0 12px; font-size: 13px; }
  .nav__av { display: none; }
  .polaroid { display: none; }
  .mp, .pin { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --nav: 52px; }
  .nav__links { display: none; }
  .nav__right { margin-left: auto; }
  .hero__name { margin-top: 50px; }
  .sel--hero { padding: 12px 16px 4px; }
  .hero__title { font-size: clamp(56px, 18vw, 100px); }
  .hero__sub { font-size: 13px; margin-top: 46px; }
  .machine { box-shadow: 5px 5px 0 var(--fg); }
  .machine__bar .machine__count { display: none; }
  .machine__body { padding: 18px 14px 10px 16px; gap: 10px; }
  .machine__line { font-size: 21px; }
  .lever { transform: scale(.8); }
  .machine__foot { padding: 0 14px 14px 16px; }
  .machine__foot .hand { font-size: 18px; }
  .hand--about { left: 6%; top: 100px; }
  .about__text { font-size: 32px; }
  .skill, .skill__ico { height: 48px; font-size: 24px; }
  .skill__ico { width: 48px; font-size: 22px; }
  .stack { margin-top: 70px; }
  .proj { top: calc(var(--nav) + 8px); margin-bottom: 10vh; }
  .proj__tab { height: 46px; margin-left: calc(var(--i) * 12%); font-size: 12px; padding: 0 34px 0 16px; }
  .proj:not(.proj--1) .proj__tab { padding-left: 34px; }
  .proj__body { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 22px 14px 14px; gap: 22px; }
  .proj__art { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .proj__tags { padding-top: 22px; }
  .bot { height: 330px; }
  .bot .orb { --s: 186px; --vx: 10px; --vy: 7px; }
  .bot .say { left: 50%; translate: -50% 0; bottom: calc(50% + 98px); max-width: min(290px, calc(100vw - 48px)); font-size: 14px; transform-origin: 50% 100%; }
  .orb__shadow { bottom: 44px; width: 120px; margin-left: -60px; }
  .dock { left: 12px; bottom: 12px; }
  .dock .orb { --s: 50px; }
  .dock .say { left: 0; bottom: 60px; max-width: calc(100vw - 40px); font-size: 13.5px; }
  .panel__btn { font-size: 11px; padding: 8px 10px; }
  .talk__row { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .talk__copy p { margin-inline: auto; }
  .talk__ctas { justify-content: center; }
  .phases { display: none; }
  .week { position: relative; padding-left: 34px; }
  .rail { position: absolute; left: 8px; top: 0; bottom: 0; width: 6px; height: auto; margin: 0; }
  .rail__fill { width: 100% !important; height: 0; bottom: auto; background: linear-gradient(var(--yellow), var(--cyan) 22%, var(--pink) 45%, var(--pink) 80%, var(--green)); }
  .runner { display: none; }
  .days { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 0; }
  .day { padding: 18px 16px; display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; }
  .day__dot { left: -33px; top: 26px; translate: 0 0; }
  .day__no { grid-column: 2; }
  .day__ico { grid-row: 1 / span 3; }
  .day h3, .day p { grid-column: 2; margin: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 40px; }
  .card { height: 168px; }
  .card__face { padding: 16px 18px; }
  .card__q { font-size: 22px; }
  .card__hint { margin-top: 10px; }
  .card__a { font-size: 15px; }
  .card__joke { font-size: 17px; }
  .work__title, .process__title, .faq__title { font-size: clamp(48px, 14vw, 70px); }
  .banner { min-height: 440px; }
  .contact-btn { gap: 8px; padding: 8px 10px; }
  .contact-btn__txt { font-size: 38px; }
  .contact-btn__logo { height: 38px; }
  .contact-btn__ico { width: 34px; height: 34px; font-size: 16px; }
  .banner { padding: 60px 16px; }
  .banner__hint { font-size: 20px; text-align: center; }
  .banner__ctas { flex-direction: column; }
  .foot__row { flex-direction: column; gap: 6px; padding: 18px 24px 80px; }
  .opts--big { grid-template-columns: 1fr; }
  .brief__steps { padding: 22px 18px 6px; }
  .brief__nav { padding: 14px 18px 18px; }
  .badge-float { right: 12px; bottom: 12px; padding: 8px 11px; font-size: 11px; box-shadow: 3px 3px 0 var(--fg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .rv { opacity: 1; transform: none; }
}

/* ---------- Depth in the hero ---------- */

/* phones: bigger clips, a slimmer frame, and only the bits of the reels overlay that still read at this size */
@media (max-width: 760px) {
  .cs__ph { height: 94%; padding: 4px; border-radius: 19px; }
  .cs__scr { border-radius: 15px; }
  .cs__ph[data-pos="0"] { --s: 1; }
  .cs__ph[data-pos="1"] { --x: -64%; --r: -7deg; --s: .84; }
  .cs__ph[data-pos="2"] { --x: 64%; --r: 7deg; --s: .84; }
  .cs__ph[data-pos="3"] { opacity: 0; }
  .cs__ui { bottom: 22cqw; gap: 7cqw; }
  .cs__ui span { font-size: 0; }
  .cs__ui i { font-size: 11cqw; }
  .cs__cap { right: 18cqw; font-size: 7cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cs__cap { font-size: 0; }
  .cs__cap b { font-size: 7.5cqw; }
  .cs__note { top: -4px; right: -6px; max-width: 96px; padding: 6px 8px; font-size: 13px; box-shadow: 3px 3px 0 #111; }
  .cs__stamp { top: 0; left: -4px; padding: 4px 9px; font-size: 13px; border-width: 2px; }
  .cs__bill { left: auto; right: -4px; bottom: -14px; padding: 5px 8px; gap: 5px; font-size: 9.5px; rotate: 3deg; }
  .cs__bill i { font-size: 13px; }
}



/* ---------- Headline accents: the words look "selected" on the canvas, handles, caret and all ---------- */
h1 em, h2 em, h3 em {
  position: relative; display: inline-block; padding: 0 .1em .02em; margin: 0 .04em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; font-weight: 700; letter-spacing: -.045em; color: inherit;
  background-color: rgba(60, 200, 245, .16);
  background-image: linear-gradient(var(--cyan), var(--cyan)), linear-gradient(var(--cyan), var(--cyan)), linear-gradient(var(--cyan), var(--cyan)), linear-gradient(var(--cyan), var(--cyan));
  background-size: 9px 9px; background-repeat: no-repeat; background-position: 0 0, 100% 0, 0 100%, 100% 100%;
  box-shadow: inset 0 0 0 2px var(--cyan);
}
h1 em::after, h2 em::after, h3 em::after { content: ""; position: absolute; right: -.07em; top: 12%; bottom: 12%; width: .06em; min-width: 3px; background: var(--pink); animation: blink .9s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { h1 em::after, h2 em::after, h3 em::after { animation: none; } }

/* ---------- Services: consultancy leads, and every chip shows it opens ---------- */
.skills { position: relative; padding-top: 44px; margin-top: 20px; }
.skill-pair { position: relative; animation: nudge 7s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .35s + 2s); }
@keyframes nudge { 0%, 8%, 100% { transform: none; } 3% { transform: translateY(-6px) rotate(-1.5deg); } 5% { transform: translateY(1px); } }
.skill-pair:hover { animation: none; }
.skill__go { position: absolute; right: -10px; top: -12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--fg); color: var(--on-fg); font-size: 13px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6); transform: scale(.75); transition: transform .35s var(--spring), background .2s, color .2s; z-index: 2; }
.skill-pair:hover .skill__go, .skill-pair:focus-visible .skill__go { transform: scale(1.1) rotate(45deg); background: var(--pink); color: #111; }
.skill-pair:hover .skill { transform: rotate(-3deg) translateY(-3px); }
.skill-pair--lead .skill { background: var(--pink); color: #111; box-shadow: inset 0 0 0 2px var(--pink); }
.skill-pair--lead .skill__ico { background: var(--fg); color: var(--on-fg); }
.skill-pair--lead::before { content: ""; position: absolute; inset: -8px; border: 2px dashed var(--pink); border-radius: 4px; opacity: .55; pointer-events: none; animation: spinDash 12s linear infinite; }
@keyframes spinDash { to { filter: hue-rotate(360deg); } }
.skill__tag { position: absolute; left: 50%; top: -30px; translate: -50% 0; padding: 2px 9px; background: var(--fg); color: var(--on-fg); font-family: var(--hand); font-size: 16px; line-height: 1.2; white-space: nowrap; rotate: -4deg; border-radius: 3px; }
.skill__ico--green { background: var(--green); }
.skills__hint { flex-basis: 100%; margin-top: 18px; text-align: center; font-size: 22px; color: var(--fg-2); }
.skills__hint::before { content: "\261D  "; font-family: var(--sans); }
@media (prefers-reduced-motion: reduce) { .skill-pair { animation: none; } }

/* ============================================================ v18 polish
   Rule: nothing you can click is white. White stays for static paper (receipts, the ticker, labels). */
.nav__links a.is-active { background: var(--yellow); color: #111; }
.btn--fg { background: var(--yellow); color: #111; box-shadow: 4px 4px 0 var(--fg); }
.btn--fg .btn__ico { background: #111; color: var(--yellow); }
.btn--fg:hover { box-shadow: 6px 6px 0 var(--fg); }
.btn--fg:active { box-shadow: 0 0 0 var(--fg); translate: 3px 3px; }
.skill--fg { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); transition: transform .4s var(--spring), background .2s, color .2s, box-shadow .2s; }
.skill-pair:hover .skill--fg, .skill-pair:focus-visible .skill--fg { background: var(--fg); color: var(--on-fg); box-shadow: inset 0 0 0 2px var(--fg); }
/* the polaroids you can grab or click are black instant-film frames now */
.polaroid, .idea-proof, .pin-print { background: #171717; color: #F3F3F1; box-shadow: 0 0 0 1px #2E2E2E, 0 26px 46px -18px rgba(0, 0, 0, .85); }
.idea-proof__play { background: var(--yellow); color: #111; }
.banner__sound { background: #111; color: #F3F3F1; border-color: #111; }
.banner__sound:hover { background: #262626; }
.lb__btn { background: var(--yellow); color: #111; }
/* the big statement headline in "how we think" was shouting */

/* the case-file stack ends flush with the next section instead of leaving a dead band */
.stack { margin-bottom: -18vh; }
@media (max-width: 760px) { .stack { margin-bottom: -26svh; } }
.hwt__h { font-size: clamp(40px, 5.2vw, 78px); line-height: .95; }
.about__text { font-size: clamp(30px, 3vw, 46px); line-height: 1.14; }
@media (max-width: 760px) {
  .about__text { font-size: 25px; line-height: 1.2; }
  .hwt__h { font-size: 42px; }
  /* the email link's tap padding pushed its underline through the next line */
  .faq__more a { padding: 8px 0 1px; margin: -8px 0 0; }
}
html.js .rv { transition-delay: var(--d, 0s); }
/* hero line: two tidy lines, clear of the floating name tags */
.hero__sub { max-width: 660px; margin-left: auto; margin-right: auto; line-height: 1.6; text-wrap: balance; }
/* receipts: item on the left, value never wraps */
.cs__receipt { width: 228px; }
.cs__receipt p span { flex: 1; min-width: 0; }
.cs__receipt p i { flex: none; white-space: nowrap; text-align: right; }
/* the little arrow badges and the "start here" tag on the service buttons were white too */
.skill__go { background: var(--yellow); color: #111; }
.skill__tag { background: var(--yellow); color: #111; }
.skill-pair--lead .skill__ico { background: var(--yellow); color: #111; }
/* WhatsApp: the button people will actually press */
.btn--wa { background: #25D366; color: #0B1F12; border: 2px solid #0B1F12; box-shadow: 4px 4px 0 var(--fg); transition: transform .15s var(--spring), box-shadow .15s; }
.btn--wa i { font-size: 20px; }
.btn--wa:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--fg); }
.btn--wa:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--fg); }
.talk__ctas { flex-wrap: wrap; }
.talk__wa { margin-top: 16px; font-size: 20px; line-height: 1.2; color: #25D366; rotate: -1deg; }
@media (max-width: 760px) { .talk__wa { font-size: 17px; } }
p.talk__wa.hand { color: #25D366; }

/* pixel conch in the about line */
.inline-logo--px { height: 1em; width: auto; image-rendering: pixelated; vertical-align: -.12em; margin: 0 .08em; }

/* ============ v18.6 mobile type system: one scale, balanced breaks, even gaps ============ */
@media (max-width: 760px) {
  .sel--small { margin-top: 88px; padding: 4px 8px; }
  .about__kicker { font-size: 28px; line-height: 1.1; white-space: nowrap; }
  .about__text { margin-top: 26px; padding: 0 4px; font-size: 23px; line-height: 1.32; letter-spacing: -.03em; text-wrap: balance; }
  .about__text .ico { width: .95em; height: .95em; border-radius: 6px; }
  .skills { margin-top: 44px; gap: 10px; width: 100%; padding: 0 2px; }
  .skill-pair { width: 100%; }
  .skill-pair .skill { flex: 1; justify-content: flex-start; }
  .skill, .skill__ico { height: 54px; font-size: 22px; }
  .skill__ico { width: 54px; font-size: 24px; }
  .skills__hint { margin-top: 14px; font-size: 17px; text-wrap: balance; }
  .industries { margin-top: 52px; }
  .industries .hand { font-size: 21px; text-align: center; text-wrap: balance; }
  .pile__hint { position: static; display: block; margin: 30px 14px 0; font-size: 16px; text-wrap: balance; }
  .hand, .hand--under { text-wrap: balance; }
}
.inline-logo--px { height: 1.2em; vertical-align: -.22em; }
/* v18.8: last two white clickables */
.lever__stick { background: #8A8A88; }
.cs__bill { background: var(--yellow); color: #111; }
/* v18.8 phones: the conch hint fits on one line, and the footer word follows the contact card without a dead gap */
@media (max-width: 760px) {
  .banner__hint { font-size: 17px; padding: 6px 12px; white-space: nowrap; }
  .foot { padding-top: 20px; }
  .foot__row { padding: 16px 16px 76px; flex-wrap: wrap; }
}
@media (max-width: 760px) { section.talk { padding-bottom: 48px; } }
.hero__sub { font-family: var(--sans); font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; } .hero__sub b { font-weight: 600; } @media (max-width: 760px) { .hero__sub { font-size: 19px; margin-top: 40px; } }
.cs__client { font-weight: 600; letter-spacing: .04em; }

/* ============ v19.1 light mode legibility: brand-colour TEXT gets a deeper shade on white; brand-colour fills stay as they are ============ */
html[data-theme="light"] { --mute: #626363; }
/* handwritten kickers, numbers, tags and punchlines that are coloured text on white */
html[data-theme="light"] :is(.hand, .wk-hero__lbl, .svc__no, .routes__h, .map__h, .ink__tail, .camp__no, .pl__no, .pl__stages b, .our > span, .pdp__cat,
  .cstep__insight, .talk__wa, p.talk__wa.hand, .bot__name b, .eng b, .eng__steps b, .cine__prog-h, .cine__subs b, .wk-next__link .hand, .pile__hint, .map__q b, .q-c) {
  filter: brightness(.52) saturate(1.5);
}
/* the selected-word accent in headings: dark word inside the cyan selection box */
html[data-theme="light"] :is(h1, h2, h3) em { color: var(--fg) !important; -webkit-text-fill-color: var(--fg); }
/* the film notes under the cinema screen were hard-coded white */
html[data-theme="light"] .cine__subs { color: var(--fg-2); }
/* tiny labels inside light cards */
html[data-theme="light"] :is(.route__tag, .mail__row span, .pdp__k, .pdp__count) { color: #5A5B5B; }


/* v19.6: hero line on one line, smaller */
.hero__sub { max-width: none; white-space: nowrap; font-size: clamp(16px, 1.45vw, 20px); }
@media (max-width: 760px) { .hero__sub { font-size: min(16px, 3.95vw); margin-top: 36px; } }

/* v19.7: the about polaroids hold the two posters (4:5) */
.polaroid__img--photo { aspect-ratio: 4 / 5; background: #E9E4D2; }
.polaroid__img--photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.polaroid figcaption { font-size: 19px; line-height: 1.15; white-space: nowrap; }

/* v19.8: performance. Off-screen sections pause their loops; phones skip the menu-bar blur (re-blurring every scrolled frame is what stutters) */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
@media (max-width: 760px), (hover: none) { .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); } }
