/* CodeHorizon home page. One typeface (Google Sans), warm paper, one orange, big uppercase type.
   Loaded after main.css on every page (it also styles the shared nav, menu, contact sheet and footer). Every class here starts with z-.
   html.z-js is set by home.js when scripts run; html.z-live when motion is also allowed. Layouts that
   only make sense with scripts (the pinned paragraph, the stacked deck, the contact sheet) sit under
   those classes, so the page is plain and readable without them.
   Order: tokens, nav, buttons, hero, ribbon, about, reel, heads, cards, services, deck, questions,
   contact, footer, responsive. */

/* ---------- Tokens ---------- */
:root:has(body:is(.hx, .zx)) {
  --paper: #f8efe7;
  --card: #fffaf5;
  --ink: #15120f;
  --muted: #6d625a;
  --sun: #f4500f;
  --sun-text: #c23c06;
  --pale: #ffbf9e;
  --blush: #f1ddd0;
  --nav-h: 70px;
  --pad: clamp(14px, 2vw, 28px);
  --r: clamp(18px, 1.8vw, 26px);
}
body.hx { background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--body); }
.hx .ic { width: 1.1em; height: 1.1em; }
:is(.hx, .zx) ::selection { background: var(--sun); color: #fff; }
.z-eyebrow { margin: 0; font: 500 .8rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .01em; }
/* A headline is a set of lines; each line is a window its text slides up into. */
.z-l { display: block; overflow: hidden; padding-block: .1em; margin-block: -.1em; }
.z-l > span { display: block; }
.z-draw { stroke-dasharray: 1000; }

/* ---------- Opening wipe (built by home.js): the wordmark pops on orange, then two strokes sweep it away ---------- */
.z-load { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; pointer-events: none; }
.z-load-s { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 150; }
.z-load-s.is-o { stroke: var(--sun); }
.z-load-s.is-p { stroke: #ffd3bc; }
.z-load-s path { stroke-dasharray: 1000; }
.z-load-w { position: relative; display: flex; margin: 0; font: 700 clamp(2.2rem, 9.4vw, 8.4rem)/1 var(--display); letter-spacing: -.04em; color: #fff8f0; }
.z-load-w span { display: inline-block; }
.z-load.is-panel { background: var(--sun); will-change: transform; }
.z-load.is-panel .z-load-s { display: none; }
.z-load.is-panel::after { content: ""; position: absolute; left: -10%; right: -10%; top: calc(100% - 1px); height: 12vh; background: var(--sun); border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* ---------- Nav ---------- */
.z-nav { position: fixed; z-index: 90; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px var(--pad); pointer-events: none; }
.z-nav > * { pointer-events: auto; }
/* The bar steps out of the way on the way down and comes back on the way up. */
.z-nav { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.z-nav.is-away { transform: translateY(-130%); }
.z-nav-l { display: flex; gap: 6px; justify-self: start; }
/* On a small laptop the five links sit a little tighter, so the logo stays in the middle. */
@media (max-width: 1279px) { .z-nav-l { gap: 4px; } .z-nav-l .z-chip { padding: 0 11px; font-size: .86rem; } .z-nav-l .z-chip.is-ic { padding: 0 10px; } }
@media (max-width: 1099px) { .z-nav-l .z-chip { padding: 0 8px; font-size: .84rem; } .z-nav-l .z-chip.is-ic { padding: 0 9px; } }
.z-chip { position: relative; isolation: isolate; display: inline-grid; place-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font: 500 .9rem/1 var(--body); white-space: nowrap; overflow: hidden; }
.z-chip > span { position: relative; z-index: 1; }
.z-chip.is-ic { width: 38px; padding: 0; }
/* On hover a thick orange zigzag draws in behind the label while its stroke swells from nothing, 0.5s;
   leaving plays it back 1.4 times as fast (the reference's own timing). */
.z-scr { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--sun); pointer-events: none; }
.z-scr path { stroke-width: 0; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset .36s cubic-bezier(.45, 0, .55, 1), stroke-width .36s cubic-bezier(.45, 0, .55, 1); }
.z-chip:hover .z-scr path, .z-chip:focus-visible .z-scr path { stroke-width: 24px; stroke-dashoffset: 0; transition-duration: .5s; }
.z-brand { display: inline-flex; align-items: center; gap: 8px; font: 700 1.36rem/1 var(--display); letter-spacing: -.03em; text-transform: uppercase; color: var(--sun); }
.z-brand .logo { width: 28px; height: 28px; }
/* One full turn on hover. A keyframe spin, not a transition, so a turn cut short (the pointer leaving, the
   sheet or menu covering it) snaps upright instead of being left tilted. Mouse only: on touch, hover sticks. */
.z-fine .z-brand:hover .logo { animation: z-logo-turn .9s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes z-logo-turn { from { rotate: 0deg; } to { rotate: 360deg; } }
/* In the bar the name is a little sticker drawn like the hero's browser and phone frames: white, a thick ink
   outline and a hard ink shadow, set slightly askew. On hover it presses flat and straightens. It reads on
   cream and on the orange menu and sheet alike. */
.z-nav .z-brand, .z-modal-bar .z-brand { justify-self: start; height: 38px; padding: 0 16px 0 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 3px 4px 0 var(--ink); rotate: -2deg; transition: rotate .35s cubic-bezier(.34, 1.56, .64, 1), translate .2s ease, box-shadow .2s ease; }
.z-fine .z-nav .z-brand:hover, .z-fine .z-modal-bar .z-brand:hover { rotate: 0deg; translate: 2px 3px; box-shadow: 1px 1px 0 var(--ink); }
@media (min-width: 1041px) { .z-nav .z-brand { justify-self: center; } }
.z-nav-r { display: flex; justify-content: flex-end; align-items: center; gap: clamp(10px, 1.6vw, 22px); }
.z-hours { display: grid; align-content: center; height: 38px; margin: 0; padding: 0 16px; border-radius: 999px; background: #fff; font: 500 .78rem/1.25 var(--body); }
.z-burger { display: none; position: relative; width: 46px; height: 38px; border-radius: 999px; background: #fff; }
.z-burger span { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.z-burger span:first-child { transform: translateY(-4px); }
.z-burger span:last-child { transform: translateY(4px); }
.z-burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.z-burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
/* Phone and tablet menu: full-width numbered rows between thin lines, so the sheet is filled edge to edge,
   and a normal-sized Start a project button with the email beside it at the foot. Row type scales with the
   screen's height too, so a short landscape tablet still fits it all without scrolling. */
.z-menu { position: fixed; inset: 0; z-index: 85; display: grid; grid-template-rows: 1fr auto; gap: clamp(20px, 4vh, 40px); padding: calc(var(--nav-h) + clamp(8px, 2vh, 24px)) var(--pad) max(24px, env(safe-area-inset-bottom)); background: var(--sun); color: #fff8f0; overflow: auto; }
.z-menu[hidden] { display: none; }
/* While the menu is open its own Start a project button sits at the foot, so the bar's copy steps aside. */
.z-nav:has(~ .z-menu:not([hidden])) .z-cta { opacity: 0; pointer-events: none; }
.z-menu-nav { display: grid; align-content: start; border-top: 1.5px solid rgba(255, 248, 240, .35); }
.z-menu-nav a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(12px, 2.4vw, 22px); padding: clamp(8px, 1.9vh, 22px) 0; border-bottom: 1.5px solid rgba(255, 248, 240, .35); color: #fff8f0; }
.z-menu-n { min-width: 2ch; font: 500 .82rem/1 var(--body); opacity: .8; }
.z-menu-t { font: 700 clamp(2rem, min(9vw, 6.2vh), 4.4rem)/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.z-menu-nav .ic { width: clamp(22px, 3.4vw, 32px); height: clamp(22px, 3.4vw, 32px); transition: rotate .3s ease; }
.z-menu-nav a:hover .ic, .z-menu-nav a:focus-visible .ic { rotate: -45deg; }
/* On a short screen (an iPhone SE) the seven rows sit a little closer, so the menu never has to scroll. */
@media (max-height: 700px) { .z-menu-nav a { padding-block: clamp(6px, 1.4vh, 12px); } }
.z-menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.z-menu-mail { display: grid; gap: 2px; margin: 0; }
.z-menu-mail span { font: 500 .8rem/1.2 var(--body); text-transform: uppercase; opacity: .8; }
.z-menu-mail a { padding-block: 6px; font: 600 clamp(1rem, 2.4vw, 1.2rem)/1.2 var(--body); color: #fff8f0; }

/* ---------- Buttons: the round end floods the pill, and the arrow springs ---------- */
.z-cta { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 5px 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 .9rem/1 var(--body); white-space: nowrap; overflow: hidden; }
.z-cta-t { position: relative; z-index: 1; }
.z-cta-d { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.z-cta-d i { position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--sun); transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.z-cta-d .ic { position: relative; width: 15px; height: 15px; }
.z-cta:hover .z-cta-d i, .z-cta:focus-visible .z-cta-d i { transform: scale(14); }
html:not(.z-fine) .z-cta:hover .z-cta-d .ic, html:not(.z-live) .z-cta:hover .z-cta-d .ic { animation: z-arrow .62s both; }
@keyframes z-arrow { 0% { rotate: 0deg; } 35% { rotate: -25deg; } 70% { rotate: 7deg; } 100% { rotate: 0deg; } }
.z-cta.is-lg { height: 54px; padding: 0 8px 0 26px; gap: 16px; font-size: 1.04rem; }
.z-cta.is-lg .z-cta-d { width: 38px; height: 38px; }
.z-cta.is-lg .z-cta-d .ic { width: 19px; height: 19px; }
.z-cta.is-ink { height: 46px; padding: 0 6px 0 20px; background: #fff8f0; color: var(--ink); transition: color .3s; }
.z-cta.is-ink .z-cta-d { width: 34px; height: 34px; color: #fff; }
.z-cta.is-ink .z-cta-d i { background: var(--ink); }
.z-cta.is-ink:hover { color: #fff; }

/* ---------- Pills ---------- */
.z-pill { position: absolute; z-index: 3; margin: 0; padding: .55em 1.15em; border-radius: 999px; background: var(--ink); color: #fff; font: 500 clamp(.72rem, 1.12vw, 1.02rem)/1.2 var(--body); letter-spacing: 0; text-transform: none; white-space: nowrap; overflow: hidden; }
.z-pill > span { display: block; }

/* ---------- Hero ---------- */
.z-hero { --win: min(47vw, 690px, 62vh); --ph: min(17.5vw, 250px, 22.5vh); position: relative; padding-top: calc(var(--nav-h) + clamp(14px, 2.4vw, 40px)); text-align: center; overflow: hidden; }
.z-loop { position: absolute; top: 6%; width: clamp(110px, 21vw, 330px); height: auto; overflow: visible; fill: none; stroke: var(--sun); stroke-width: 26; stroke-linecap: round; pointer-events: none; }
.z-loop.is-a { left: -1vw; }
.z-loop.is-b { right: -1vw; top: 3%; }
.z-hero-head { position: relative; z-index: 1; width: fit-content; margin-inline: auto; }
.z-h1 { margin: 0; font: 700 clamp(2.5rem, min(8.2vw, 14.5vh), 9.8rem)/.86 var(--display); letter-spacing: -.045em; text-transform: uppercase; color: var(--sun); }
.z-h1 .z-l:first-child { color: var(--ink); }
.z-h1 .w { display: inline-block; white-space: nowrap; }
.z-h1 .c { display: inline-block; }
/* Product icons that pop out along the pointer's path (home.js adds and removes them). */
.z-trail { position: absolute; z-index: 1; width: clamp(40px, 4.2vw, 62px); height: auto; margin: clamp(-31px, -2.1vw, -20px) 0 0 clamp(-31px, -2.1vw, -20px); border: 2.5px solid var(--ink); border-radius: 26%; background: #fff; pointer-events: none; }
.z-pill.is-1 { left: 5%; top: 34%; rotate: -9deg; }
.z-pill.is-2 { left: 47%; top: 1%; rotate: -2deg; }
.z-pill.is-3 { right: 3%; bottom: 7%; rotate: 7deg; }
.z-duo { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 46px); margin-top: clamp(-30px, -1.6vw, -8px); padding-inline: var(--pad); }
.z-win { width: var(--win); border: 2.5px solid var(--ink); border-radius: clamp(10px, 1.4vw, 20px); background: #fff; box-shadow: clamp(5px, .8vw, 11px) clamp(6px, .9vw, 13px) 0 var(--ink); overflow: hidden; rotate: -4deg; }
.z-win-bar { display: flex; gap: 6px; padding: clamp(6px, .7vw, 10px) 12px; border-bottom: 2.5px solid var(--ink); background: var(--sun); }
.z-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.z-frames { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.z-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; will-change: clip-path; }
.z-frames img.is-on { opacity: 1; }
.z-phone { width: var(--ph); margin-bottom: 1.5%; padding: clamp(4px, .55vw, 8px); border: 2.5px solid var(--ink); border-radius: clamp(14px, 2.3vw, 36px); background: var(--ink); box-shadow: clamp(5px, .8vw, 11px) clamp(6px, .9vw, 13px) 0 var(--sun); rotate: 5deg; }
.z-phone .z-frames { aspect-ratio: 9 / 16; border-radius: clamp(10px, 1.8vw, 28px); overflow: hidden; }
.z-pal { display: flex; align-items: flex-end; gap: 10px; padding-bottom: 1%; }
.z-pal img { width: clamp(34px, 4.4vw, 66px); height: auto; border: 2.5px solid var(--ink); border-radius: 26%; background: #fff; rotate: -8deg; }
.z-pal img + img { rotate: 9deg; }
.z-live .z-pal img { animation: z-hop 1.5s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.z-live .z-pal img + img { animation-delay: -.75s; }
@keyframes z-hop { from { translate: 0 0; } to { translate: 0 -14px; } }
/* Pills and stickers drift slowly so the page is never quite still. */
.z-live :is(.z-pill, .z-tag) { animation: z-float 3.6s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.z-live :is(.z-pill, .z-tag):nth-of-type(2n) { animation-duration: 4.4s; animation-delay: -1.2s; }
.z-live :is(.z-pill, .z-tag):nth-of-type(3n) { animation-duration: 5s; animation-delay: -2.4s; }
@keyframes z-float { from { translate: 0 -5px; } to { translate: 0 6px; } }
/* A round badge of turning type on the corner of the window, and a star that counts what is live. */
.z-badge { position: absolute; z-index: 4; left: max(4%, calc(50% - var(--win) / 2 - var(--ph) / 2 - 118px)); bottom: 3%; display: grid; place-items: center; width: clamp(84px, 9.6vw, 138px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 3px var(--paper); }
.z-badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: z-turn 14s linear infinite; }
.z-badge text { font: 500 12.4px var(--body); letter-spacing: .02em; text-transform: uppercase; fill: #fff; }
.z-badge .ic { width: 30%; height: 30%; color: var(--sun); transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1); }
.z-badge:hover .ic { rotate: -45deg; }
.z-badge:hover svg:first-child { animation-duration: 4s; }
@keyframes z-turn { to { rotate: 360deg; } }
.z-burst { position: absolute; z-index: 4; right: max(3%, calc(50% - var(--win) / 2 - var(--ph) / 2 - 64px)); top: 4%; isolation: isolate; display: grid; place-content: center; justify-items: center; width: clamp(72px, 8vw, 116px); aspect-ratio: 1; margin: 0; color: #fff; line-height: 1; rotate: 10deg; }
.z-burst::before, .z-burst::after { content: ""; position: absolute; inset: 6%; z-index: -1; border-radius: 16%; background: var(--sun); animation: z-turn 18s linear infinite; }
.z-burst::after { animation-delay: -2.25s; }
.z-burst b { font: 700 clamp(1.5rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -.04em; }
.z-burst small { margin-top: 2px; font: 500 clamp(.56rem, .78vw, .74rem)/1 var(--body); text-transform: uppercase; }
.z-hero-foot { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; width: min(100% - 2 * var(--pad), 660px); margin: clamp(28px, 3.4vw, 50px) auto 0; }
.z-hero-foot p { margin: 0; font-size: clamp(1rem, 1.25vw, 1.2rem); font-weight: 500; text-wrap: balance; }
@media (min-width: 1041px) {
  .z-hero-foot { display: flex; align-items: center; justify-content: center; gap: 36px; width: min(100% - 2 * var(--pad), 940px); text-align: left; }
  .z-hero-foot p { max-width: 34em; }
  .z-hero-foot .z-cta { flex: none; }
}

/* ---------- Ribbon ---------- */
.z-ribbon { position: relative; z-index: 1; margin-top: clamp(10px, 2vw, 34px); }
.z-ribbon svg { display: block; width: 100%; height: auto; min-height: 220px; overflow: visible; }
.z-rib-band, .z-rib-m { fill: none; stroke-width: 120; stroke-dasharray: 1000; }
.z-rib-band { stroke: var(--sun); }
.z-rib-m { stroke: #fff; }
.z-rib-text text { font: 700 56px var(--display); letter-spacing: -.01em; text-transform: uppercase; fill: #fff8f0; }

/* ---------- About: pinned while the paragraph inks itself ---------- */
.z-about { position: relative; margin-top: clamp(-150px, -9vw, -40px); }
.z-live .z-about { height: 340vh; }
.z-about-pin { display: grid; align-content: center; justify-items: center; gap: clamp(16px, 3vh, 34px); min-height: 100vh; padding: calc(var(--nav-h) + 10px) var(--pad) 30px; text-align: center; }
.z-live .z-about-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.z-about-box { position: relative; width: min(100%, 1180px); }
.z-about-t { margin: 0; font: 600 clamp(1.7rem, 5vw, 5.1rem)/1.03 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.z-about-t .w { display: inline-block; white-space: nowrap; }
.z-about-t .c { display: inline-block; }
.z-tag { position: absolute; padding: .5em 1em; border-radius: 999px; background: var(--sun); color: #fff; font: 500 clamp(.7rem, 1.05vw, .98rem)/1.2 var(--body); white-space: nowrap; box-shadow: 0 0 0 3px var(--paper); }
.z-tag.is-1 { right: 2%; top: -13%; rotate: -5deg; }
.z-tag.is-2 { left: 1%; bottom: -13%; rotate: 5deg; }
.z-tag.is-3 { right: 1%; bottom: -14%; rotate: -3deg; }
.z-me { position: absolute; left: 3%; top: -30%; width: clamp(58px, 8.4vw, 126px); margin: 0; border: 2.5px solid var(--ink); border-radius: 24%; box-shadow: 6px 7px 0 var(--sun); overflow: hidden; rotate: -8deg; }
.z-me img { display: block; width: 100%; height: auto; }
.z-about-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; font-weight: 500; }
.z-about-links a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.z-kin .c { display: inline-block; }

/* ---------- Reel ---------- */
.z-reel { position: relative; margin-top: clamp(-110px, -7vw, -30px); padding-block: clamp(16px, 2.6vw, 36px); overflow: hidden; }
html:not(.z-live) .z-reel { overflow-x: auto; }
.z-reel-track { display: flex; gap: clamp(12px, 1.4vw, 20px); width: max-content; }
.z-reel-i { flex: none; height: clamp(230px, 48vh, 470px); border-radius: var(--r); background: var(--blush); overflow: hidden; }
.z-reel-i img { display: block; width: auto; height: 100%; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.z-reel-i:hover img { transform: scale(1.06); }

/* ---------- Section heads ---------- */
.z-work, .z-svc, .z-proc, .z-faq { padding: clamp(64px, 8vw, 124px) var(--pad) 0; }
.z-proc { padding-top: clamp(20px, 3vw, 48px); }
.z-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: start; margin-bottom: clamp(28px, 4vw, 62px); }
.z-head .z-eyebrow { padding-top: .6em; }
.z-h2 { margin: 0; font: 700 clamp(2.5rem, 7.4vw, 8rem)/.87 var(--display); letter-spacing: -.045em; text-transform: uppercase; }

/* ---------- On the record: cards drawn like the nav sticker and the hero frames (white, a thick ink outline,
   a hard ink shadow, a slight tilt). Linked ones straighten and press flat on hover. ---------- */
.z-rec { padding: clamp(64px, 8vw, 124px) var(--pad) 0; }
.z-rec-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.z-rec-list li { display: grid; }
.z-rec-c { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: clamp(18px, 1.8vw, 26px); border: 2.5px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 5px 6px 0 var(--ink); rotate: -1.2deg; transition: rotate .35s cubic-bezier(.34, 1.56, .64, 1), translate .2s ease, box-shadow .2s ease; }
.z-rec-list li:nth-child(even) .z-rec-c { rotate: 1.2deg; }
.z-rec-c small { padding-right: 34px; font: 500 .8rem/1.25 var(--body); text-transform: uppercase; color: var(--muted); }
.z-rec-c b { font: 700 clamp(2.8rem, 4.6vw, 4.8rem)/.9 var(--display); letter-spacing: -.045em; color: var(--sun); }
.z-rec-c span { font: 500 clamp(.95rem, 1.1vw, 1.05rem)/1.4 var(--body); }
.z-rec-go { position: absolute; top: clamp(16px, 1.6vw, 22px); right: clamp(16px, 1.6vw, 22px); width: 22px; height: 22px; transition: rotate .3s ease; }
.z-fine a.z-rec-c:hover, a.z-rec-c:focus-visible { rotate: 0deg !important; translate: 3px 4px; box-shadow: 2px 2px 0 var(--ink); }
.z-fine a.z-rec-c:hover .z-rec-go.is-in { rotate: -45deg; }
@media (max-width: 1040px) { .z-rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* On phones the number and its label share the top line and the sentence runs full width below, so eight
   cards stay a short scroll whatever the number's length. */
@media (max-width: 520px) {
  .z-rec-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .z-rec-c { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 14px; align-items: center; padding: 16px 18px; box-shadow: 4px 5px 0 var(--ink); }
  .z-rec-c b { font-size: 2.3rem; }
  .z-rec-c small { grid-column: 2; grid-row: 1; padding-right: 30px; }
  .z-rec-c span { grid-column: 1 / -1; font-size: .95rem; }
}

/* ---------- Journal: a timeline. A line runs down the entries with a dot in each product's colour, cards
   lift into the sticker shadow on hover, and the notes fold away under "What changed" (the newest three open). ---------- */
.zx .journal { padding-bottom: clamp(40px, 6vw, 90px); }
.zx .year { margin-bottom: clamp(40px, 6vw, 80px); }
.zx .year-h { margin: 0 0 clamp(18px, 2.4vw, 32px); font: 700 clamp(3.6rem, 10vw, 9.5rem)/.82 var(--display); letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.zx .entries { position: relative; gap: 20px; }
.zx .entries::before { content: ""; position: absolute; left: 137px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: rgba(21, 18, 15, .14); }
.zx .entry { position: relative; grid-template-columns: 112px minmax(0, 1fr); gap: 40px; }
.zx .entry::before { content: ""; position: absolute; left: 131px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--acc, var(--sun)); box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px var(--paper); }
.zx .entry-date { padding-top: 26px; font: 500 .8rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.zx .entry-card { gap: 12px; padding: clamp(20px, 2.4vw, 30px); border: 2px solid var(--ink); border-radius: 22px; background: #fff; transition: translate .25s ease, box-shadow .25s ease; }
.z-fine .zx .entry-card:hover { translate: -3px -3px; box-shadow: 6px 7px 0 var(--ink); }
.zx .entry:target .entry-card { box-shadow: 6px 7px 0 var(--sun); }
.zx .entry-ic { width: 34px; height: 34px; border-radius: 10px; }
.zx .entry-card h3 { font: 700 clamp(1.35rem, 2.1vw, 2.05rem)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.zx .entry-card .entry-sum { font-size: 1.02rem; line-height: 1.55; }
.zx .entry-more { border-top: 1.5px dashed rgba(21, 18, 15, .18); padding-top: 12px; }
.zx .entry-more summary { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; list-style: none; font: 600 .95rem/1 var(--body); }
.zx .entry-more summary::-webkit-details-marker { display: none; }
.zx .entry-n { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--blush); font-size: .78rem; }
.zx .entry-x { width: 16px; height: 16px; transition: rotate .3s ease; }
.zx .entry-more[open] .entry-x { rotate: 180deg; }
.zx .entry-more .ticks { margin-top: 8px; }
.zx .journal-side .chip-btn { justify-content: flex-start; }
.zx .chip-n { margin-left: auto; padding-left: 10px; font: 500 .78rem/1 var(--body); opacity: .6; }
@media (max-width: 760px) {
  .zx .entries::before { left: 6px; }
  .zx .entry { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 30px; }
  .zx .entry::before { left: 0; top: 4px; }
  .zx .entry-date { padding-top: 0; }
  .zx .year-h { -webkit-text-stroke-width: 1.5px; }
}

/* ---------- The products page, in the look of the work cards on the home page: each screen sits in a panel
   with an ink outline and a hard shadow that lifts under the pointer, the name is bold and uppercase with its kind
   in orange below, and an orange arrow says it opens. ---------- */
.zx .cards .card-media { background: var(--tint); border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: 6px 7px 0 var(--ink); transition: translate .3s ease, box-shadow .3s ease; }
.z-fine .zx .cards .card a:hover .card-media { translate: -3px -3px; box-shadow: 9px 10px 0 var(--ink); }
.zx .cards .card a:focus-visible .card-media { box-shadow: 9px 10px 0 var(--sun); }
.zx .card-n { left: 16px; top: 16px; z-index: 1; padding: 5px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 600 .78rem/1 var(--body); color: var(--ink); }
.zx .cards .card a { gap: 18px; }
.zx .card-info { gap: 10px; padding-top: 4px; }
.zx .card-title { gap: 12px; min-width: 0; }
.zx .card-title img { width: 46px; height: 46px; border-radius: 26%; }
.zx .card-title > span { min-width: 0; }
.zx .card-title b { font: 700 clamp(1.15rem, 1.7vw, 1.6rem)/1.05 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.zx .card-title small { margin-top: 4px; font: 500 .74rem/1.2 var(--body); text-transform: uppercase; letter-spacing: 0; color: var(--sun-text); }
.zx .cards .pill { flex: none; margin-left: auto; padding: 6px 10px; border: 2px solid var(--ink); background: #fff; font: 600 .7rem/1 var(--body); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.zx .cards .pill.is-soon { background: var(--butter); }
.zx .cards .pill.is-past { border-style: dashed; background: transparent; color: var(--muted); }
.zx .card-go { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sun); color: #fff; transition: rotate .4s cubic-bezier(.34, 1.56, .64, 1); }
.zx .card-go .ic { width: 16px; height: 16px; }
.z-fine .zx .cards .card a:hover .card-go { rotate: 45deg; }
.zx .card-tag { font: 500 clamp(1rem, 1.15vw, 1.08rem)/1.45 var(--body); color: var(--ink); }
/* The filters and the search, outlined in ink like the rest of the site's controls. */
.zx .toolbar .chip-btn { border: 2px solid var(--ink); background: #fff; font-weight: 600; }
.zx .toolbar .chip-btn[aria-pressed="true"] { background: var(--ink); }
.zx .toolbar .search-box { border: 2px solid var(--ink); background: #fff; }
.zx .toolbar .search-box:focus-within { box-shadow: 3px 4px 0 var(--ink); }
@media (max-width: 760px) {
  .zx .card-go { width: 44px; height: 44px; }
  .zx .card-title small { font-size: .8rem; }
}

/* ---------- Product pages in the new look ---------- */
/* The section bar is a dock at the foot of the screen: it slides up once the product's header has gone by
   and steps aside near the end of the page, so it never sits over a heading. A white sticker, like the nav. */
.zx .subnav { position: fixed; left: 0; right: 0; top: auto; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60; margin: 0; translate: 0 calc(100% + 40px); transition: translate .5s cubic-bezier(.22, 1, .36, 1); }
.zx .subnav.is-on { translate: 0 0; }
.zx .subnav-in { height: 58px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.zx .subnav-links a.on { background: var(--ink); color: #fff; }
/* Cards: white with an ink outline, like the rest of the site. */
.zx :is(.ba-col, .hood-card, .feat, .hard, .note, .story-step, .code-card) { background: #fff; border: 2px solid var(--ink); box-shadow: none; }
.zx .feat { transition: translate .25s ease, box-shadow .25s ease; }
.z-fine .zx .feat:hover { translate: -3px -3px; box-shadow: 6px 7px 0 var(--ink); }
.zx .ba-col:last-child { box-shadow: 6px 7px 0 var(--ink); }
.zx .privacy { border: 2px solid var(--ink); }
/* No glow: the closing card is a plain sticker. */
.zx .hire-sun { display: none; }
.zx .hire-card { background: #fff; border: 2.5px solid var(--ink); box-shadow: 8px 10px 0 var(--ink); }
/* The next product: bold uppercase, like every other big title, and a hard shadow on its screen. */
.zx .next::before { display: none; }
.zx .next-name { max-width: calc(100% - min(22vw, 300px)); font-weight: 700; font-size: clamp(2.8rem, 8.4vw, 8.6rem); text-transform: uppercase; letter-spacing: -.055em; }
.zx .next-shot { border: 2.5px solid var(--ink); box-shadow: 8px 10px 0 var(--ink); }
.zx .next-more a { background: #fff; border: 2px solid var(--ink); }
/* Cards 01 and 06 were tinted in the old look; on white they keep the ink text (the tint colours were
   meant for a coloured card and went pale or dark-on-dark depending on the product). */
.zx .feat.f1, .zx .feat.f6, .zx .ba-col.after { color: var(--ink); }
.zx .ba .after .ic { color: var(--acc); }
.zx .feat.f1 .feat-n, .zx .feat.f6 .feat-n { color: var(--muted); opacity: 1; }
/* A steadier rhythm between sections, without the long empty stretches. */
.zx .p-sec { padding: calc(var(--sec) * .6) 0; }

/* Try it: on wide screens a small demo sits beside its heading, so the whole toy fits on one screen and
   the dock never covers its keys. Wide demos keep the heading above, with room below for the dock. */
.zx .p-try { padding-bottom: calc(var(--sec) * .6 + 56px); scroll-margin-top: 24px; }
.try-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 0 64px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
.try-head .eyebrow { grid-column: 1 / -1; }
.try-head .h2 { margin: 0; font-size: clamp(2.6rem, 5.6vw, 6rem); }
.try-head .lede { justify-self: end; margin: 0; max-width: 40ch; }
@media (min-width: 961px) {
  .p-try.is-split .try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(48px, 7vw, 130px); align-items: center; }
  .p-try.is-split .try-head { display: block; margin: 0; }
  .p-try.is-split .try-head .lede { justify-self: start; margin-top: clamp(20px, 2vw, 30px); }
  .p-try.is-split .y-try { width: 100%; margin: 0; }
}
@media (max-width: 960px) {
  .try-head { grid-template-columns: 1fr; gap: 18px; }
  .try-head .lede { justify-self: start; }
}

/* ---------- Demo film player ---------- */
/* Built by product.js over the <video>: a play sticker on the poster, then a white pill of controls
   in the same ink-outlined sticker style as the dock. Without the script the native controls stay. */
.vp { position: relative; isolation: isolate; --pop: cubic-bezier(.34, 1.56, .64, 1); }
.vp video { display: block; cursor: pointer; }
.vp.is-quiet, .vp.is-quiet video { cursor: none; }
.vp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp svg .f { fill: currentColor; stroke: none; }
.vp button:focus-visible, .vp-track:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Bottom left, so it never sits on the poster's own headline. */
.vp-big { position: absolute; z-index: 2; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); display: flex; align-items: center; gap: 14px; padding: 9px 26px 9px 9px; border-radius: 999px; background: #fff; color: var(--ink); border: 2.5px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); transition: translate .25s ease, box-shadow .25s ease, opacity .3s ease, scale .4s var(--pop); }
.z-fine .vp-big:hover { translate: -3px -3px; box-shadow: 8px 9px 0 var(--ink); }
.vp-big:active { scale: .95; }
.vp-big-ic { position: relative; display: grid; place-items: center; width: clamp(48px, 5vw, 62px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: #fff; }
.vp-big-ic svg { width: 42%; height: 42%; margin-left: 8%; }
.vp-big-ic::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--sun); animation: vp-ping 2s cubic-bezier(.22, 1, .36, 1) infinite; }
.vp-big-txt { display: grid; gap: 3px; text-align: left; }
.vp-big-txt b { font: 700 clamp(1rem, 1.4vw, 1.25rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.vp-big-len { font-size: .78rem; color: var(--muted); }
.vp:not(.is-idle) .vp-big { opacity: 0; scale: .7; pointer-events: none; }
@keyframes vp-ping { from { scale: 1; opacity: .9; } to { scale: 1.6; opacity: 0; } }

.vp-bar { position: absolute; z-index: 2; left: clamp(10px, 1.6vw, 20px); right: clamp(10px, 1.6vw, 20px); bottom: clamp(10px, 1.6vw, 20px); display: flex; align-items: center; gap: 4px; height: 58px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--ink); border: 2.5px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); transition: opacity .35s ease, translate .5s cubic-bezier(.22, 1, .36, 1); }
.vp.is-idle .vp-bar, .vp.is-quiet .vp-bar { opacity: 0; translate: 0 24px; pointer-events: none; }
.vp-btn { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background-color .2s, color .2s, scale .35s var(--pop); }
.z-fine .vp-btn:hover { background: rgba(21, 18, 15, .07); }
.vp-btn:active { scale: .86; }
.vp-play { background: var(--ink); color: #fff; }
.z-fine .vp-play:hover { background: var(--sun); }
.vp-back svg { width: 18px; height: 18px; }
.vp-time { flex: none; padding: 0 8px 0 6px; font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-sep { margin: 0 5px; opacity: .35; }
.vp-track { position: relative; flex: 1; display: flex; align-items: center; height: 42px; margin: 0 10px; cursor: pointer; touch-action: none; }
.vp-rail { position: relative; flex: 1; height: 12px; border-radius: 999px; background: #efe8de; border: 2px solid var(--ink); overflow: hidden; }
.vp-buf, .vp-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); }
.vp-buf { background: rgba(21, 18, 15, .1); }
.vp-fill { background: var(--sun); }
.vp-knob { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: scale .3s var(--pop); pointer-events: none; }
.z-fine .vp-track:hover .vp-knob, .vp.is-seeking .vp-knob { scale: 1.18; }
.vp-tip { position: absolute; bottom: calc(100% + 6px); left: 0; translate: -50% 0; padding: 5px 8px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .74rem; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .2s; }
.z-fine .vp-track:hover .vp-tip, .vp.is-seeking .vp-tip { opacity: 1; }
.vp.is-full { display: grid; place-items: center; border-radius: 0; background: #000; }
.vp.is-full video { width: 100%; height: 100%; object-fit: contain; }
.vp.is-full .vp-bar { left: 50%; right: auto; width: min(960px, calc(100% - 40px)); translate: -50% 0; bottom: 24px; }
.vp.is-full.is-quiet .vp-bar { translate: -50% 24px; }
@media (max-width: 600px) {
  .vp-bar { height: 50px; padding: 0 5px; gap: 2px; }
  .vp-btn { width: 38px; height: 38px; }
  .vp-back, .vp-sep, .vp-dur { display: none; }
  .vp-track { margin: 0 8px 0 4px; }
  .vp-big { gap: 10px; padding: 6px 18px 6px 6px; box-shadow: 4px 5px 0 var(--ink); }
  .vp-big-len { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vp-big-ic::before { animation: none; opacity: 0; } }
@media (max-width: 760px) {
  .zx .subnav-in { height: 54px; padding: 0 6px 0 8px; gap: 6px; }
  .zx .subnav-id { font-size: 0; gap: 0; padding-right: 8px; }
  .zx .subnav-cta { display: none; }
  .zx .next-name { max-width: none; font-size: 11vw; }
}

/* ---------- Work cards: each opens from a small window ---------- */
.z-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 50px) clamp(12px, 1.4vw, 22px); }
.z-card { display: block; perspective: 1100px; }
.z-card-clip { display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; will-change: clip-path; }
.z-card-in { position: relative; display: block; width: 100%; height: 100%; background: var(--tint, #fff); }
.z-card-in > img { position: absolute; left: 9%; top: 11%; width: 152%; max-width: none; height: auto; border-radius: 12px; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .4); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.z-card-in.is-p > img { left: 21%; top: 9%; width: 58%; border-radius: 20px; }
/* Hover, as on the reference: a solid stroke in the product's own colour comes in from the bottom
   right corner and swells until it covers the card; a second stroke then works as a mask and uncovers
   a second screen, full size, with the product's icon on it, from the top right. home.js runs both. */
.z-card-fg, .z-card-alt { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.z-card-fg { z-index: 2; }
.z-card-alt { z-index: 3; }
.z-card-fg path, .z-card-alt mask path { fill: none; stroke-width: 0; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: -1000; will-change: stroke-dashoffset, stroke-width; }
.z-card-fg path { stroke: var(--accent, var(--sun)); }
.z-card-alt mask path { stroke: #fff; }
.z-card-alt rect { fill: var(--accent, var(--sun)); }
.z-card-alt .z-card-chip { fill: #fff; stroke: rgba(21, 18, 15, .12); stroke-width: 1.5; }
.z-card-meta { display: flex; align-items: center; gap: 12px; padding-top: 14px; }
.z-card-meta img { width: 46px; height: 46px; border-radius: 26%; }
.z-card-meta b { display: block; font: 700 clamp(1rem, 1.3vw, 1.2rem)/1.1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.z-card-meta small { display: block; margin-top: 4px; font: 500 .74rem/1.2 var(--body); text-transform: uppercase; color: var(--sun-text); }
.z-card-go { flex: none; display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border-radius: 50%; background: var(--sun); color: #fff; }
.z-more { display: grid; justify-items: center; gap: 34px; padding-top: clamp(70px, 9vw, 136px); text-align: center; }
.z-more-box { position: relative; }
.z-index { width: min(100%, 1180px); margin: clamp(10px, 2vw, 30px) 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); text-align: left; }
.z-row { position: relative; isolation: isolate; display: grid; grid-template-columns: 2.4ch 48px minmax(0, 1.4fr) minmax(0, 1fr) auto 40px; align-items: center; gap: clamp(10px, 1.6vw, 24px); padding: clamp(11px, 1.3vw, 19px) clamp(8px, 1.2vw, 18px); border-bottom: 2px solid var(--ink); overflow: hidden; transition: padding .45s cubic-bezier(.22, 1, .36, 1); }
.z-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tint, var(--blush)); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.z-row:hover::before, .z-row:focus-visible::before { transform: scaleY(1); }
.z-row:hover { padding-left: clamp(16px, 2.6vw, 40px); }
.z-row-n { font: 500 .85rem/1 var(--body); color: var(--sun-text); }
.z-row img { width: 48px; height: 48px; border-radius: 26%; transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), scale .5s cubic-bezier(.34, 1.56, .64, 1); }
.z-row:hover img { rotate: -10deg; scale: 1.14; }
.z-row b { font: 700 clamp(1.25rem, 2.9vw, 2.7rem)/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.z-row.is-off b { color: color-mix(in srgb, var(--ink) 62%, var(--paper)); }
.z-row-k { font-size: .95rem; font-weight: 500; }
.z-row-s { padding: .42em .95em; border: 1.5px solid var(--ink); border-radius: 999px; font: 500 .8rem/1 var(--body); white-space: nowrap; }
.z-row-s.is-live { background: var(--ink); color: #fff; }
.z-row-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: #fff; transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), background-color .3s; }
.z-row-go .ic { width: 18px; height: 18px; }
.z-row:hover .z-row-go { rotate: 45deg; background: var(--ink); }
.z-peek { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(220px, 25vw, 380px); aspect-ratio: 16 / 10; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: 7px 8px 0 var(--ink); overflow: hidden; pointer-events: none; visibility: hidden; }
.z-peek.is-tall { width: clamp(130px, 13vw, 200px); aspect-ratio: 9 / 16; }
.z-peek img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.z-more-t { margin: 0; font: 700 clamp(1.9rem, 6.2vw, 6.6rem)/.87 var(--display); letter-spacing: -.045em; text-transform: uppercase; color: var(--sun); }
.z-pill.is-4 { left: -5%; top: -13%; rotate: -6deg; }
.z-pill.is-5 { right: -7%; top: 36%; rotate: 5deg; }
.z-pill.is-6 { left: -9%; bottom: -24%; rotate: -4deg; }

/* ---------- Services: a path runs down through each stop and curls between them ---------- */
.z-route { position: relative; padding-bottom: clamp(110px, 11vw, 170px); }
.z-route-svg { position: absolute; left: 0; top: 0; overflow: visible; fill: none; pointer-events: none; }
.z-route-pale { stroke: var(--pale); stroke-width: 14; stroke-linecap: round; opacity: .45; }
.z-route-ink { stroke: var(--sun); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1000; }
.z-stops { position: relative; display: grid; grid-auto-rows: clamp(300px, 29vw, 430px); margin: 0; padding: 0; list-style: none; }
.z-stop { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); align-items: center; }
.z-stop.is-r { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.z-stop.is-r .z-stop-main { order: 2; }
.z-stop-main { display: grid; justify-items: center; gap: 14px; text-align: center; }
.z-stop h3 { display: flex; align-items: center; gap: .16em; margin: 0; font: 700 clamp(1.9rem, 5.2vw, 5.6rem)/.9 var(--display); letter-spacing: -.045em; text-transform: uppercase; color: var(--sun); }
.z-sw { display: block; overflow: hidden; padding-block: .09em; }
.z-sw > span { display: block; }
.z-stop-ic { flex: none; display: grid; place-items: center; width: 1.1em; height: 1.1em; border: .04em solid var(--ink); border-radius: 26%; background: var(--ink); color: #fff; box-shadow: .07em .08em 0 var(--sun), 0 0 0 .09em var(--paper); rotate: -8deg; overflow: hidden; transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), background-color .3s; }
.z-stop.is-l .z-stop-ic { rotate: 7deg; }
.z-stop-main:hover .z-stop-ic { rotate: 14deg; background: var(--sun); }
.z-stop-ic .ic { width: .56em; height: .56em; }
/* Each icon has a small move of its own that never stops. */
.z-live .is-i-globe .ic { animation: z-ic-spin 7s linear infinite; }
.z-live .is-i-cart .ic { animation: z-ic-roll 1.6s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.z-live .is-i-puzzle .ic { animation: z-ic-click 2.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.z-live .is-i-phone .ic { animation: z-ic-buzz 2s linear infinite; }
.z-live .is-i-pencil .ic { animation: z-ic-write 1.4s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.z-live .is-i-heart .ic { animation: z-ic-beat 1.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
@keyframes z-ic-spin { to { rotate: 360deg; } }
@keyframes z-ic-roll { from { translate: -22% 0; rotate: -10deg; } to { translate: 22% 0; rotate: 10deg; } }
@keyframes z-ic-click { 0%, 55%, 100% { rotate: 0deg; scale: 1; } 70% { rotate: 90deg; scale: 1.15; } 85% { rotate: 90deg; scale: 1; } }
@keyframes z-ic-buzz { 0%, 60%, 100% { rotate: 0deg; } 66%, 78%, 90% { rotate: -12deg; } 72%, 84%, 96% { rotate: 12deg; } }
@keyframes z-ic-write { from { translate: -18% 14%; rotate: -8deg; } to { translate: 18% -14%; rotate: 8deg; } }
@keyframes z-ic-beat { 0%, 100% { scale: 1; } 30% { scale: 1.28; } 55% { scale: .94; } }
.z-stop-p { max-width: 28ch; margin: 0; padding: 1em 1.35em; border: 1.5px solid var(--ink); border-radius: 1.6em 1.6em 1.6em .4em; background: var(--card); color: var(--ink); box-shadow: 5px 6px 0 var(--sun); font: 500 clamp(.86rem, 1.1vw, 1.06rem)/1.32 var(--body); translate: 38% 0; rotate: -5deg; transition: background-color .3s, color .3s, rotate .5s cubic-bezier(.34, 1.56, .64, 1); }
.z-stop.is-l .z-stop-p { border-radius: 1.6em 1.6em .4em 1.6em; translate: -36% 0; rotate: 4deg; }
.z-stop-main:hover .z-stop-p { background: var(--ink); color: #fff; rotate: 0deg; }
/* The example beside each stop: one of my own products that shows that service. */
.z-eg { justify-self: center; display: grid; gap: 10px; width: min(100%, 380px); padding: 10px; border: 1.5px solid var(--ink); border-radius: 24px; background: var(--card); box-shadow: 6px 7px 0 var(--ink); rotate: 4deg; transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), translate .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s; }
.z-stop.is-l .z-eg { rotate: -4deg; }
.z-eg:hover { rotate: 0deg; translate: 0 -8px; box-shadow: 10px 12px 0 var(--sun); }
.z-eg-shot { display: block; aspect-ratio: 16 / 10; border-radius: 15px; background: var(--tint, var(--blush)); overflow: hidden; }
.z-eg-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.z-eg-shot.is-p { aspect-ratio: 4 / 5; }
.z-eg-shot.is-p img { width: 62%; height: auto; margin: 9% auto 0; border-radius: 14px; }
.z-eg:hover .z-eg-shot img { transform: scale(1.06); }
.z-eg-cap { display: flex; align-items: center; gap: 10px; padding: 0 4px 2px; }
.z-eg-cap img { width: 40px; height: 40px; border-radius: 26%; }
.z-eg-cap small { display: block; font: 500 .7rem/1.2 var(--body); text-transform: uppercase; color: var(--sun-text); }
.z-eg-cap b { display: block; font: 700 1rem/1.15 var(--display); letter-spacing: -.02em; }
.z-eg-cap .ic { margin-left: auto; width: 20px; height: 20px; }

/* ---------- Process: a deck of cards on an orange panel ---------- */
.z-panel { position: relative; display: grid; place-items: center; min-height: min(92vh, 800px); padding: clamp(44px, 6vw, 90px) clamp(18px, 7vw, 110px); border-radius: var(--r); background: var(--sun); overflow: hidden; }
.z-deck { display: grid; gap: 14px; width: min(100%, 860px); margin: 0; padding: 0; list-style: none; }
.z-js .z-deck > li { grid-area: 1 / 1; }
.z-dk { position: relative; overflow: hidden; display: grid; align-content: start; gap: 14px; min-height: clamp(300px, 38vw, 440px); padding: clamp(22px, 3.4vw, 50px); border-radius: clamp(20px, 2.4vw, 34px); background: var(--card); color: var(--sun-text); box-shadow: 0 0 0 1.5px rgba(21, 18, 15, .14), 0 22px 40px -26px rgba(70, 22, 0, .6); }
.z-dk > * { position: relative; }
.z-dk-big { position: absolute; right: clamp(8px, 2.4vw, 34px); bottom: -.15em; font: 700 clamp(7.5rem, 22vw, 20rem)/1 var(--display); letter-spacing: -.06em; color: var(--blush); pointer-events: none; user-select: none; }
.z-dk-n { font: 500 .8rem/1 var(--body); text-transform: uppercase; }
.z-dk h3 { margin: 0; font: 700 clamp(2rem, 5.2vw, 4.8rem)/.92 var(--display); letter-spacing: -.04em; color: var(--sun); }
.z-dk p { max-width: 34em; margin: 0; font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 500; }
.z-dk .z-dk-out { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.z-dk-out span { padding: .45em .95em; border: 1.5px solid currentColor; border-radius: 999px; font-size: .86rem; }
.z-ticks { position: absolute; right: clamp(8px, 2.4vw, 36px); top: 50%; display: none; justify-items: end; gap: 9px; translate: 0 -50%; }
.z-js .z-ticks { display: grid; }
.z-ticks i { display: block; width: 12px; height: 2px; background: #fff; opacity: .55; transition: width .35s, opacity .35s; }
.z-ticks i.is-on { width: 28px; opacity: 1; }
.z-deck-nav { position: absolute; left: 50%; bottom: 14px; display: none; gap: 8px; margin: 0; translate: -50% 0; }
.z-js .z-deck-nav { display: flex; }
.z-deck-nav button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--card); color: var(--ink); }
.z-arrow { position: fixed; z-index: 95; left: 0; top: 0; display: none; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--ink); color: #fff; pointer-events: none; }
.z-arrow .ic { width: 30px; height: 30px; }
.z-live.z-fine .z-arrow { display: grid; }
.z-live.z-fine .z-panel { cursor: none; }
.z-live.z-fine .z-deck-nav:not(:focus-within) { opacity: 0; }
.z-in-deck .cursor { opacity: 0; }

/* ---------- Questions: the open one narrows and its answer pops out as a speech bubble ---------- */
.z-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 70px); align-items: start; }
.z-faq-l { position: sticky; top: calc(var(--nav-h) + 12px); display: grid; gap: 14px; }
.z-faq-l .z-h2 { font-size: clamp(2.3rem, 5.8vw, 6.2rem); }
.z-ask { width: min(60%, 290px); margin: 26px 0 0 4%; overflow: visible; fill: none; stroke: var(--sun); stroke-width: 34; stroke-linecap: round; }
.z-ask .is-thin { stroke: var(--ink); stroke-width: 6; }
.z-fqs, .z-fq { display: grid; gap: 8px; }
.z-fq-q { width: 100%; padding: 17px 22px; border-radius: 16px; background: var(--blush); color: var(--ink); text-align: left; font: 500 clamp(.98rem, 1.2vw, 1.12rem)/1.3 var(--body); transition: background-color .3s, box-shadow .3s, padding .45s cubic-bezier(.34, 1.56, .64, 1); }
.z-fq:not(.is-open) .z-fq-q:hover { padding-left: 34px; background: #e9cfbe; }
.z-fq.is-open .z-fq-q { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.z-js .z-fq.is-open .z-fq-q { width: 56%; }
.z-fq-a { display: flex; justify-content: flex-end; align-items: flex-end; gap: 12px; }
.z-js .z-fq:not(.is-open) .z-fq-a { height: 0; overflow: hidden; visibility: hidden; }
.z-fq-a p { width: min(100%, 620px); margin: 0; padding: 20px 24px; border-radius: 24px 24px 6px 24px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: clamp(.98rem, 1.15vw, 1.08rem); transform-origin: 100% 100%; }
.z-fq-b { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: #fff; }
.z-fq-b .logo { width: 26px; height: 26px; }

/* ---------- Contact: a section without scripts, a full-screen sheet with them ---------- */
.z-modal { position: relative; margin: clamp(64px, 9vw, 140px) var(--pad) 0; border-radius: var(--r); background: var(--sun); color: #fff8f0; overflow: hidden; }
.z-wipe, .z-modal-bar { display: none; }
.z-modal-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(26px, 5vw, 80px); }
.z-js .z-modal { position: fixed; inset: 0; z-index: 300; display: none; margin: 0; border-radius: 0; background: none; overflow: auto; overscroll-behavior: contain; }
.z-js .z-modal.is-open { display: block; }
.z-js .z-wipe { position: fixed; inset: 0; display: block; width: 100%; height: 100%; fill: none; stroke: var(--sun); stroke-width: 150; pointer-events: none; }
.z-wipe path { stroke-dasharray: 1000; }
.z-js .z-modal-in { min-height: 100%; padding-top: 100px; }
.z-js .z-modal-bar { position: absolute; left: var(--pad); right: var(--pad); top: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.z-modal-bar .z-brand { grid-column: 2; justify-self: center; }
.z-close { justify-self: end; }
.z-modal-copy .z-h2 { font-size: clamp(2.4rem, 6vw, 6.2rem); }
.z-modal-copy .z-h2:focus { outline: none; }
.z-modal-copy .z-h2 .c { display: inline-block; }
.z-modal-copy .z-h2 .w { display: inline-block; white-space: nowrap; }
.z-modal-copy p { max-width: 30em; margin: 18px 0 0; font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 500; }
.z-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.z-mail > span { flex-basis: 100%; font-size: .8rem; text-transform: uppercase; }
.z-mail a { font: 700 clamp(1.2rem, 2.3vw, 2.1rem)/1.1 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.z-mail button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff8f0; color: var(--ink); }
.z-form-wrap { padding: clamp(20px, 3vw, 40px); border-radius: clamp(20px, 2.4vw, 34px); background: var(--card); color: var(--ink); }
.z-form { display: grid; gap: 14px; }
.z-form .field > span { color: var(--ink); font-size: .8rem; text-transform: uppercase; }
.z-form .field input, .z-form .field textarea { border: 1.5px solid transparent; border-radius: 14px; background: var(--blush); font: inherit; color: inherit; }
.z-form .field textarea { min-height: 110px; }
.z-form .field input:focus, .z-form .field textarea:focus { border-color: var(--ink); background: #fff; box-shadow: none; }
.z-form .field.invalid input, .z-form .field.invalid textarea { border-color: #c21f1f; }
.z-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.z-sent h3 { margin: 0 0 10px; font: 700 clamp(1.8rem, 3.4vw, 3rem)/1 var(--display); letter-spacing: -.04em; color: var(--sun); }
.z-sent p { margin: 0 0 18px; }
.z-sent .z-chip { background: var(--blush); }

/* ---------- Footer ---------- */
.z-foot { position: relative; margin: clamp(26px, 3.4vw, 56px) clamp(6px, .8vw, 12px) clamp(6px, .8vw, 12px); padding: clamp(28px, 4vw, 60px) clamp(16px, 2.4vw, 36px) 0; border-radius: var(--r); background: var(--sun); color: #fff8f0; overflow: hidden; }
/* Behind the footer: rings of a sun coming up over the bottom edge. */
.z-foot-bg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 3; opacity: .28; pointer-events: none; }
.z-foot-top { position: relative; display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.z-foot-h { margin: 0 0 24px; font: 600 clamp(2rem, 4.6vw, 4.4rem)/.98 var(--display); letter-spacing: -.04em; }
.z-foot-mail { display: grid; justify-items: start; gap: 4px; margin: clamp(28px, 4vw, 54px) 0 0; }
.z-foot-mail > span { font-size: .8rem; }
.z-foot-mail a { font: 500 clamp(1.1rem, 1.7vw, 1.5rem)/1.2 var(--body); overflow-wrap: anywhere; }
.z-foot-col { display: grid; align-content: start; justify-items: start; gap: 10px; font: 500 clamp(1rem, 1.3vw, 1.2rem)/1.2 var(--body); }
.z-foot-col p { margin: 0 0 4px; font-size: .8rem; }
.z-foot-col .z-foot-note { margin-top: clamp(20px, 4vw, 60px); font-size: .95rem; line-height: 1.35; }
.z-foot-c { position: relative; margin: clamp(30px, 5vw, 70px) 0 8px; font-size: .78rem; }
/* The wordmark: one span a letter. home.js sizes it to the footer's width, lifts the letters in one
   after another and raises the ones under the pointer. */
.z-foot-word { position: relative; display: flex; justify-content: space-between; margin: 0; padding-bottom: .05em; font: 700 12.6vw/.8 var(--display); letter-spacing: -.04em; white-space: nowrap; color: #fff8f0; user-select: none; }
.z-foot-word span { display: block; transform-origin: 50% 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .z-hours { display: none; }
  .z-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .z-foot-top { grid-template-columns: 1fr 1fr; }
  .z-foot-say { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .z-nav { grid-template-columns: 1fr auto; }
  .z-nav-l { display: none; }
  .z-brand { font-size: 1.16rem; }
  .z-burger { display: block; }
  .z-loop { top: 34%; width: 84px; stroke-width: 30; }
  .z-loop.is-b { top: 30%; }
  .z-h1 { font-size: 12.4vw; }
  .z-pill.is-1 { left: -1%; top: 36%; }
  .z-pill.is-2 { left: 40%; top: -9%; }
  .z-pill.is-3 { right: -1%; bottom: -4%; }
  .z-duo { margin-top: 18px; }
  .z-win { width: 62vw; }
  .z-phone { width: 25vw; }
  .z-pal { display: none; }
  .z-badge { left: 2%; bottom: -6%; }
  .z-burst { right: 1%; top: -6%; }
  .z-rib-text text { font-size: 62px; }
  .z-about { margin-top: -20px; }
  .z-reel { margin-top: -40px; }
  .z-about-t { font-size: clamp(1.7rem, 8vw, 3rem); }
  /* On a phone the stickers sit under the paragraph, so they never cover the words. */
  .z-about-box { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
  .z-about-t { flex-basis: 100%; order: -1; margin-bottom: 10px; }
  .z-tag, .z-tag.is-1, .z-tag.is-2, .z-tag.is-3 { position: static; font-size: .78rem; box-shadow: none; }
  .z-me { position: static; order: -2; width: 72px; margin-bottom: 4px; }
  .z-head { grid-template-columns: 1fr; gap: 10px; }
  .z-head .z-eyebrow { padding-top: 0; }
  .z-h2 { font-size: clamp(2.4rem, 13vw, 4.4rem); }
  .z-cards { grid-template-columns: 1fr; }
  .z-more-t { font-size: 9.4vw; }
  .z-more-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .z-more-t { flex-basis: 100%; margin-bottom: 12px; }
  .z-pill.is-4, .z-pill.is-5, .z-pill.is-6 { position: static; font-size: .8rem; }
  .z-stops { grid-auto-rows: auto; gap: 96px; padding-top: 30px; }
  .z-stop, .z-stop.is-r { grid-template-columns: 1fr; gap: 26px; }
  .z-stop.is-r .z-stop-main { order: 0; }
  .z-eg { width: min(78%, 300px); }
  .z-stop h3 { flex-wrap: wrap; justify-content: center; font-size: clamp(1.6rem, 8.6vw, 3rem); }
  .z-stop-main { max-width: 100%; }
  .z-stop-p, .z-stop.is-l .z-stop-p { translate: 0 0; }
  .z-route-pale, .z-route-ink { stroke-width: 10; }
  .z-stop-p, .z-stop.is-l .z-stop-p { box-shadow: 4px 5px 0 var(--sun); }
  .z-panel { padding: 34px 22px 70px; }
  .z-faq { grid-template-columns: 1fr; }
  .z-faq-l { position: static; }
  .z-ask { display: none; }
  .z-js .z-fq.is-open .z-fq-q { width: 78%; }
  .z-fq-b { width: 38px; height: 38px; }
  .z-fq-b .logo { width: 20px; height: 20px; }
  .z-modal-in { grid-template-columns: 1fr; }
  .z-js .z-modal-in { padding-top: 84px; }
  .z-foot-top { grid-template-columns: 1fr 1fr; }
}
/* ---------- Shout: two rows of very large type before the footer. home.js keeps them moving, in
   opposite directions, faster and slanted while the page scrolls. ---------- */
.z-shout { display: block; margin-top: clamp(64px, 9vw, 140px); padding-block: clamp(8px, 1.2vw, 18px); overflow: hidden; color: var(--ink); }
.z-shout-row { display: flex; width: max-content; }
.z-shout-row.is-b { margin-top: clamp(4px, .8vw, 12px); color: var(--sun); }
.z-shout-set { display: flex; flex: none; align-items: center; gap: clamp(14px, 2.2vw, 36px); padding-right: clamp(14px, 2.2vw, 36px); }
.z-shout b { font: 700 clamp(3rem, 10.5vw, 10.5rem)/.98 var(--display); letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; transition: color .4s; }
.z-shout i { display: grid; place-items: center; flex: none; width: clamp(40px, 6.6vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: #fff; transition: rotate .6s cubic-bezier(.34, 1.56, .64, 1), background-color .4s; }
.z-shout-row.is-b i { background: var(--ink); }
.z-shout i .ic { width: 44%; height: 44%; }
@media (hover: hover) {
  .z-shout:hover .z-shout-row b { color: var(--sun); }
  .z-shout:hover .z-shout-row.is-b b { color: var(--ink); }
  .z-shout:hover i { rotate: 45deg; background: var(--ink); }
  .z-shout:hover .z-shout-row.is-b i { background: var(--sun); }
}
@media (max-width: 760px) {
  .z-panel { min-height: 0; }
  .z-pill.is-1 { left: 3%; }
}

@media (max-width: 760px) {
  .z-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .z-row-n, .z-row-k, .z-row-go { display: none; }
  .z-row img { width: 40px; height: 40px; }
  .z-row b { font-size: 1.2rem; }
}
/* ---------- Tablet and phone, second pass. Tablets take the phone's menu button, stickers that sit
   under the text instead of on it, and a hero sized for a tall screen. ---------- */
@media (max-width: 1040px) {
  .z-nav { grid-template-columns: 1fr auto; }
  .z-nav-l { display: none; }
  .z-burger { display: block; }
  .z-hero { --win: min(58vw, 80vh); --ph: min(21vw, 29vh); }
  .z-h1 { font-size: min(9.4vw, 17vh); }
  .z-loop { top: 30%; width: 13vw; }
  .z-loop.is-b { top: 27%; }
  .z-about-t { flex-basis: 100%; order: -1; margin-bottom: 10px; font-size: clamp(1.7rem, 6.6vw, 4.4rem); }
  .z-about-box { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
  .z-tag, .z-tag.is-1, .z-tag.is-2, .z-tag.is-3 { position: static; box-shadow: none; }
  .z-me { position: static; order: -2; width: 84px; margin-bottom: 4px; }
  .z-live .z-about { height: 280vh; }
  .z-more-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .z-more-t { flex-basis: 100%; margin-bottom: 12px; }
  .z-pill.is-4, .z-pill.is-5, .z-pill.is-6 { position: static; }
  .z-panel { min-height: 0; padding-block: clamp(40px, 7vw, 70px) 76px; }
}
@media (max-width: 760px) {
  .z-h1 { font-size: 12.4vw; }
  .z-about-t { font-size: clamp(1.7rem, 8vw, 3rem); }
  .z-me { width: 72px; }
  .z-live .z-about { height: 230vh; }
  .z-reel-i { height: clamp(170px, 30vh, 260px); }
  /* Cards are wide rather than tall, so six of them are not six screens of scrolling. */
  .z-card-clip { aspect-ratio: 5 / 4; }
  .z-card-in.is-p > img { left: 29%; top: 8%; width: 42%; }
  .z-stops { gap: 64px; }
  .z-route { padding-bottom: 84px; }
  /* The path runs straight down the middle here; each title sits on a patch of paper so the line
     passes behind it instead of through the letters. */
  .z-stop h3 { padding: 6px 12px; border-radius: 16px; background: var(--paper); }
  .z-panel { padding: 34px 22px 70px; }
}

/* ---------- Every other page: the same paper, ink and orange, and the same heavy type. The header,
   contact sheet, closing band and footer are the home page's own (build.mjs copies them in). ---------- */
:root:has(body.zx) { --mono: var(--body); --paper-2: #f1ddd0; --muted: #5c5148; --line: rgba(21, 18, 15, .14); --line-2: rgba(21, 18, 15, .3); --sun-soft: #ffbf9e; }
body.zx { background: var(--paper); color: var(--ink); }
.zx main :is(.mast-title, .page-title) { font-weight: 700; text-transform: uppercase; letter-spacing: -.05em; color: var(--sun); }
.zx .mast-title, .zx .mast-wide .mast-title { margin-left: 0; font-size: clamp(3rem, 14.4vw, 15rem); }
.zx main .p-title { font-size: clamp(2.8rem, 9vw, 10rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.05em; }
.zx main :is(.h2, .sun-title, .nums-title, .reel-title, .panel-title, .act-title) { font-weight: 700; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; }
.zx :is(.h3, .lead-title, .sr-title, .ins-card-title, .log-latest-title, .log-title, .art-title, .row-title, .svc-title, .panel-end-title) { font-weight: 600; letter-spacing: -.035em; }
.zx :is(h1, h2, h3) em { font-style: normal; font-weight: inherit; color: var(--sun); }
.zx main :is(h1, h2, h3, h4) { font-weight: 600; }
.zx .mast-badge { border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper); }
.zx .mast-badge text { font-family: var(--body); font-weight: 500; letter-spacing: .04em; fill: #fff; }
.zx .mast-badge i { border: 0; background: var(--sun); }
.zx :is(.mono, .eyebrow) { font-family: var(--body); font-weight: 500; letter-spacing: .01em; }

@media (max-width: 760px) {
  /* The round badge has nowhere to sit beside a title this wide. */
  .zx .mast-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .z-cta-d i, .z-scr path { transition: none; }
  .z-cta:hover .z-cta-d .ic, .z-card:hover .z-card-go .ic, .z-brand:hover .logo { animation: none; }
}
@media (max-width: 520px) {
  /* The menu carries the same link, so the bar keeps only the logo and the menu button. */
  .z-nav .z-cta { display: none; }
}

/* ---------- Small screens: one scale for spacing, type and touch. Tablets (up to 1040px) and phones
   (up to 760px) get wider side margins, a steady gap between sections, no text under about 13px and
   touch targets of about 44px. Last in the file so it settles anything set above. ---------- */
@media (max-width: 1040px) {
  :root:has(body:is(.hx, .zx)) { --pad: clamp(20px, 3.6vw, 32px); --nav-h: 76px; }
  /* Touch */
  .z-burger { width: 50px; height: 44px; }
  .z-nav .z-brand, .z-modal-bar .z-brand { height: 44px; }
  /* The sheet's bar matches the nav: name on the left, Close on the right, so they never meet. */
  .z-js .z-modal-bar { grid-template-columns: 1fr auto; }
  .z-modal-bar .z-brand { grid-column: 1; justify-self: start; }
  .z-burger span { left: 16px; right: 16px; }
  .z-chip { height: 44px; }
  .z-chip.is-ic { width: 44px; }
  .z-cta { height: 44px; padding-left: 18px; font-size: .95rem; }
  .z-cta-d { width: 34px; height: 34px; }
  .z-cta.is-ink { height: 48px; }
  .z-cta.is-ink .z-cta-d { width: 38px; height: 38px; }
  .z-card-go, .z-mail button { width: 44px; height: 44px; }
  .z-deck-nav button { width: 48px; height: 48px; }
  .z-about-links { gap: 0 22px; }
  .z-about-links a { padding-block: 10px; }
  .z-foot-col { gap: 0; }
  .z-foot-col a, .z-foot-mail a { padding-block: 11px; }
  .z-foot-col .z-foot-note { margin-top: 18px; }
  /* Rhythm: the same gap above every section */
  .z-work, .z-svc, .z-faq { padding-top: clamp(80px, 12vw, 112px); }
  .z-more { gap: 28px; padding-top: clamp(72px, 11vw, 104px); }
  .z-head { margin-bottom: clamp(28px, 5vw, 44px); }
  .z-modal, .z-shout { margin-top: clamp(80px, 12vw, 112px); }
  .z-foot { margin: 28px 8px 8px; padding: clamp(32px, 5vw, 48px) clamp(22px, 4vw, 36px) 0; }
  .z-foot-top { row-gap: 34px; }
  /* Hero: the stickers sit in a row under the headline instead of on its letters */
  .z-hero-head { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; width: auto; padding-inline: var(--pad); }
  .z-h1 { flex-basis: 100%; margin-bottom: 18px; font-size: min(10vw, 17vh); }
  .z-hero-head .z-pill { position: static; font-size: .9rem; }
  .z-hero-head .z-pill.is-1 { rotate: -4deg; }
  .z-hero-head .z-pill.is-2 { rotate: 3deg; }
  .z-hero-head .z-pill.is-3 { rotate: -3deg; }
  .z-duo { margin-top: clamp(30px, 5vw, 44px); }
  .z-hero-foot { gap: 22px; margin-top: clamp(32px, 5vw, 44px); }
  .z-hero-foot p { font-size: clamp(1.02rem, 2.1vw, 1.2rem); line-height: 1.5; }
  /* Type floor */
  .z-eyebrow { font-size: .84rem; }
  .z-about-box .z-tag { font-size: .88rem; }
  .z-pill { font-size: .88rem; }
  .z-card-meta small { font-size: .8rem; }
  .z-eg-cap small { font-size: .76rem; }
  .z-stop-p { font-size: 1rem; }
  .z-row-s { font-size: .84rem; }
  .z-dk-n { font-size: .84rem; }
  .z-mail > span, .z-foot-mail > span, .z-foot-col p, .z-form .field > span { font-size: .84rem; }
  .z-foot-c { font-size: .84rem; }
  .z-fq-q { padding: 18px 20px; font-size: 1.02rem; }
  .z-fq-a p { padding: 18px 20px; font-size: 1rem; }
  /* Other pages: labels were sized for a monospace face and read small in Google Sans */
  .zx .mono, .zx .eyebrow { font-size: .8rem; }
  .zx :is(.pill, .type, .chips span, .ins-topic, .lead-tag) { font-size: .78rem; }
  .zx :is(.cal-topic, .code-lang, .art-upd, .art-by small, .card-title small, .bar small, .rhythm figcaption, .resume dt, .chip-btn sup, .flow-k, .src-list small, .av-field small, .um-results small, .serp-r small, .api-table .mono, .rail-dot) { font-size: .72rem; }
  .zx .crumbs a, .zx .art-toc a, .zx main .link, .zx .mast-strip a, .zx .src-list a, .zx .subnav-id { padding-block: 10px; margin-block: -10px; }
  .z-burst small { font-size: .7rem; }
  .zx .art-toc a { margin-block: 0; }
}
@media (max-width: 760px) {
  .z-h1 { font-size: 12.6vw; }
  .z-hero-head .z-pill { font-size: .84rem; }
  .z-about-box .z-tag { font-size: .84rem; }
  .z-hero-foot p { font-size: 1.02rem; }
  .z-burst small { font-size: .72rem; }
  .z-h2 { font-size: clamp(2.4rem, 12.4vw, 4.4rem); }
  .z-faq-l .z-h2 { font-size: clamp(2.4rem, 12.4vw, 4.4rem); }
  .z-stop-p { font-size: .98rem; }
  .z-about-links { gap: 0 16px; }
  .z-panel { padding: 30px 18px 76px; }
  .z-dk { padding: 24px 22px; }
  .z-foot-top { gap: 30px 16px; }
}
