@font-face {
  font-family: Inter;
  src: url("media/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("media/fonts/inter-tight.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("media/fonts/jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #faf8f4;
  --ink: #141414;
  --muted: #55524c;
  --line: #e2ddd2;
  --coral: #e8552c;
  --coral-ink: #b83e18;
  --lime: #c9f24b;
  --lime-hover: #b9e534;
  --lime-ink: #3d5200;
  --on-ink: #faf8f4;
  --on-ink-muted: #bcb7ac;
  --on-ink-line: rgba(250, 248, 244, 0.16);
  --field: #1e1e1c;
  --display: "Inter Tight", Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1280px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  scrollbar-color: var(--ink) var(--bg);
}
body {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--coral);
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
img,
svg {
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 999px;
}
.skip:not(:focus) {
  clip-path: inset(50%);
  opacity: 0;
}

.wrap {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  container-type: inline-size;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: min(100% - 2 * var(--gutter), var(--max));
  height: 68px;
  margin-inline: auto;
}
.logo {
  font: 800 1.15rem/1 var(--display);
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 0.55rem 0.8rem 0.6rem;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 10px;
}
.logo span {
  color: var(--lime);
}
.nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}
.nav a {
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  font-size: 0.9rem;
  white-space: nowrap;
}
.status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  border: 1.5px solid var(--lime-ink);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--lime-ink);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.status-time {
  font: 500 0.82rem var(--mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.45rem;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s var(--ease-out);
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover svg {
  transform: translate(2px, -2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-lime {
  background: var(--lime);
  color: var(--ink);
}
.btn-lime:hover {
  background: var(--lime-hover);
}
.btn-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-ink:hover {
  background: #2a2a28;
}
.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-small {
  padding: 0.7rem 1.1rem;
  font-size: 0.92rem;
}
.btn-wide {
  width: 100%;
  justify-content: center;
}
.text-link {
  font-weight: 600;
}

/* Thread */
.thread {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.thread-line {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thread-over {
  z-index: 3;
}
.tip-ring {
  fill: var(--bg);
  stroke: var(--coral);
  stroke-width: 2;
}
.tip-dot {
  fill: var(--coral);
}
.thread-tip {
  opacity: 0;
  transition: opacity 0.3s;
}
.thread.ready .thread-tip {
  opacity: 1;
}
.tp {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  /* Same left edge as .wrap: the gutter, or the centred 1280px column on wide screens */
  padding: 104px max(var(--gutter), calc((100% - var(--max)) / 2)) clamp(3rem, 6vw, 5rem);
  /* The fanned deck may reach past the page edges; never scroll sideways for it */
  overflow-x: clip;
}
.hero-title {
  position: relative;
  z-index: 2;
  font-weight: 800;
  font-size: clamp(2.8rem, 8.1vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: initial;
}
.hero-title .line {
  position: relative;
  display: block;
  width: fit-content;
}
.hero-title .word {
  position: relative;
  display: inline-block;
}
/* The one lime mark in the headline sits on the promise: WE SHIP */
.hero-title .mark {
  padding: 0 0.08em;
  margin-left: -0.08em;
  background: var(--lime);
}
.hero-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(1.5rem, 2.6vw, 2.25rem);
}
.hero-offer {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-facts {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-facts span {
  margin-inline: 0.55em;
  color: var(--coral);
}

/* The shipped deck: real screens of the six projects, fanned */
.deck {
  --step: clamp(130px, 16vw, 250px);
  --card: clamp(250px, 26vw, 400px);
  position: relative;
  z-index: 2;
  height: calc(var(--card) * 0.66 + 150px);
  margin-top: clamp(1.25rem, 2.4vw, 2rem);
}
.deck-card {
  --x: 0px;
  --y: 0px;
  --r: 0deg;
  --s: 1;
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card);
  color: inherit;
  text-decoration: none;
  transform: translateX(-50%) translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
  transform-origin: 50% 120%;
  transition:
    transform 0.9s var(--ease-out),
    opacity 0.6s ease;
}
.deck-card[data-pos="0"] {
  z-index: 5;
}
.deck-card[data-pos="-1"],
.deck-card[data-pos="1"] {
  --y: 22px;
  --s: 0.9;
  z-index: 4;
}
.deck-card[data-pos="-1"] {
  --x: calc(var(--step) * -1);
  --r: -6deg;
}
.deck-card[data-pos="1"] {
  --x: var(--step);
  --r: 6deg;
}
.deck-card[data-pos="-2"],
.deck-card[data-pos="2"] {
  --y: 70px;
  --s: 0.8;
  z-index: 3;
}
.deck-card[data-pos="-2"] {
  --x: calc(var(--step) * -1.85);
  --r: -12deg;
}
.deck-card[data-pos="2"] {
  --x: calc(var(--step) * 1.85);
  --r: 12deg;
}
.deck-card[data-pos="3"] {
  --y: 110px;
  --s: 0.7;
  z-index: 0;
  opacity: 0;
  /* Gone at once, so the card leaving the fan never shows through the front one */
  visibility: hidden;
}
.deck-card:hover .frame,
.deck-card:focus-visible .frame {
  border-color: var(--coral);
}
.deck-label {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
}
/* Only the front card is captioned: the old caption goes at once, the new one fades in */
.deck-card[data-pos="0"] .deck-label {
  opacity: 1;
  transition: opacity 0.4s ease 0.35s;
}
.deck-name {
  font: 700 1.1rem var(--display);
  letter-spacing: -0.02em;
}
.deck-status {
  font-size: 0.9rem;
  color: var(--muted);
}
/* Without JS the deck is a plain row you can scroll sideways */
.deck:not(.is-ready) {
  display: flex;
  gap: 1rem;
  height: auto;
  overflow-x: auto;
  padding-bottom: 3.5rem;
}
.deck:not(.is-ready) .deck-card {
  position: relative;
  left: 0;
  flex: 0 0 var(--card);
  transform: none;
}
.deck:not(.is-ready) .deck-label {
  opacity: 1;
  left: 0;
  transform: none;
}

/* Browser frame around a screenshot */
.frame {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 14px;
  box-shadow:
    0 2px 4px rgba(20, 20, 20, 0.08),
    0 24px 48px -18px rgba(20, 20, 20, 0.35);
  transition: border-color 0.2s;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding-inline: 12px;
  background: #f1eee7;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}
.frame-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d8d3c8;
}
.frame-url {
  overflow: hidden;
  margin-left: 0.6rem;
  font: 500 11.5px var(--mono);
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.frame-body {
  display: block;
  aspect-ratio: 16 / 10;
  background: #fff;
}
.frame-body img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.frame-private {
  display: grid;
  place-items: center;
  padding: 6% 8%;
  background: var(--bg);
  color: var(--ink);
}
.editor-drawing {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.editor-drawing text {
  fill: currentColor;
  stroke: none;
  font: 500 15px var(--mono);
}
.editor-drawing .hot,
.editor-drawing .hot-line {
  stroke: var(--coral);
}
.editor-drawing .hot-line {
  stroke-width: 2.2;
}

/* Type scale */
.display-m {
  font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.display-l {
  font-weight: 800;
  font-size: clamp(2.8rem, 7.6vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.lede {
  max-width: 58ch;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
}

/* Brief + fork */
.brief {
  position: relative;
  padding-block: clamp(6rem, 14vw, 11rem) clamp(5rem, 10vw, 8rem);
}
.brief-copy .display-m {
  max-width: 13em;
}
.fork {
  --g: clamp(1.5rem, 3vw, 3rem);
  position: relative;
  margin-top: clamp(4rem, 8vw, 6rem);
}
.fork .tp-gap {
  left: calc(66.667% + var(--g) / 6);
}
.fork-lines {
  width: 100%;
  height: 150px;
  overflow: visible;
}
.fork-lines path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.fork-ends {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--g);
  list-style: none;
}
.fork-ends li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}
.fork-ends h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.fork-ends p {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 36ch;
}
.fork-ends .proof a {
  color: inherit;
}
.fork-ends .proof {
  margin-top: 1rem;
  color: var(--coral-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Shipped work: a carousel, pinned on wide screens so scrolling moves it sideways */
.work {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
}
.work-stage {
  position: relative;
  /* Above both thread layers: the thread runs underneath the work */
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: clamp(5rem, 9vw, 7rem) max(var(--gutter), calc((100% - var(--max)) / 2)) clamp(3rem, 6vw, 4rem);
  background: var(--ink);
}
.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
}
.work-sub {
  margin-top: 0.75rem;
  color: var(--on-ink-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.work-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.work-count {
  margin-right: 0.5rem;
  font: 500 0.95rem var(--mono);
  color: var(--on-ink-muted);
  font-variant-numeric: tabular-nums;
}
.work-count span {
  color: var(--on-ink);
}
.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--on-ink-line);
  border-radius: 50%;
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.round-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.round-btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
  color: var(--on-ink);
  border-color: var(--on-ink-line);
}
.round-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-viewport {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}
html:not(.pin) .work-viewport {
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2));
  padding-right: max(var(--gutter), (100vw - var(--max)) / 2);
  scroll-padding-left: 0;
}
.slide > * {
  min-width: 0;
}
/* A neighbour peeking in shows its screen, not half its copy */
.slide .slide-info {
  transition: opacity 0.35s ease;
}
.work.is-scripted .slide:not(.is-current) .slide-info {
  opacity: 0;
}
.work-viewport::-webkit-scrollbar {
  display: none;
}
.work-track {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  list-style: none;
}
.slide {
  flex: 0 0 min(1180px, 86%);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  scroll-snap-align: start;
}
.slide-shot .frame {
  border-color: rgba(250, 248, 244, 0.12);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
}
.slide-name {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.slide-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--on-ink-line);
  border-radius: 999px;
  font-size: 0.88rem;
}
.status-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-ink-muted);
}
.slide-status.is-live .status-pip {
  background: var(--lime);
}
.slide-story {
  margin-top: 1.75rem;
}
.slide-story > div + div {
  margin-top: 1.1rem;
}
.slide-story dt {
  font-size: 0.85rem;
  color: var(--on-ink-muted);
}
.slide-story dd {
  margin-top: 0.25rem;
  max-width: 46ch;
  text-wrap: pretty;
}
.slide-meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--on-ink-line);
  font-size: 0.92rem;
  color: var(--on-ink-muted);
}
.slide-info .links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.slide-private {
  margin-top: 1.5rem;
  max-width: 42ch;
  font-size: 0.95rem;
  color: var(--on-ink-muted);
}
.work-rail {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.rail-line {
  position: relative;
  height: 2px;
  background: var(--on-ink-line);
}
.rail-fill {
  position: absolute;
  inset: 0;
  background: var(--coral);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}
.rail-ticks {
  display: grid;
  grid-template-columns: repeat(var(--slides), 1fr);
  margin-top: 0.85rem;
  list-style: none;
}
.rail-ticks button {
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--on-ink-muted);
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}
.rail-ticks button:hover,
.rail-ticks button[aria-current="true"] {
  color: var(--on-ink);
}
.rail-ticks button[aria-current="true"]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: 0.1em;
}

/* Wide screens with JS: the stage pins and vertical scroll drives the track */
.pin .work {
  height: calc(100svh + (var(--slides) - 1) * 70svh);
}
.pin .work-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  padding-top: clamp(88px, 11vh, 120px);
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.pin .work-viewport {
  flex: 1;
  min-height: 0;
  overflow: visible;
  /* The next project may peek in on the right; nothing leaks in on the left */
  clip-path: inset(-50vh -100vw -50vh 0);
  scroll-snap-type: none;
  display: flex;
  align-items: center;
}
.pin .work-track {
  width: 100%;
  will-change: transform;
}
.pin .slide {
  flex-basis: calc(100% - clamp(4rem, 9vw, 9rem));
}
.pin .slide-shot .frame-body {
  max-height: calc(100svh - 360px);
  aspect-ratio: 16 / 10;
}

/* Draw-in, only when JS has run and motion is welcome (app.js animates) */
.anim .draw:not(.in) [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.anim .draw:not(.in) text,
.anim .draw:not(.in) .dash {
  opacity: 0;
}

/* How we work */
.how {
  position: relative;
  padding-block: clamp(6rem, 12vw, 10rem);
}
.ways-wrap {
  --g: clamp(1.5rem, 3vw, 3rem);
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.ways-wrap .tp-gap {
  left: calc(66.667% + var(--g) / 6);
}
/* Below the columns the thread drops into the left page margin */
.ways-wrap .tp-margin-l {
  left: calc(var(--gutter) / -2);
}
.how > .tp-edge {
  left: calc(var(--gutter) / 2);
}
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--g);
  list-style: none;
}
.ways li {
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}
.ways h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.ways p {
  margin-top: 0.8rem;
  color: var(--muted);
  max-width: 38ch;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  margin-top: clamp(5.5rem, 9vw, 7.5rem);
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  font: 700 1rem var(--display);
  color: var(--coral-ink);
}
.steps h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.steps p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.faq {
  max-width: 820px;
  margin-top: clamp(4.5rem, 9vw, 7rem);
}
.faq-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 1.1rem 3rem 1.1rem 0;
  font-weight: 600;
  font-size: 1.08rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.4rem;
  width: 14px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq details p {
  max-width: 64ch;
  padding-bottom: 1.25rem;
  color: var(--muted);
}

/* Contact */
.contact {
  position: relative;
  padding-block: clamp(6rem, 12vw, 10rem);
  background: var(--ink);
  color: var(--on-ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-copy,
.contact-copy h2 {
  position: relative;
}
.contact-copy .tp-margin {
  left: calc(var(--gutter) / -2);
}
.contact .lede {
  color: var(--on-ink-muted);
}
.direct {
  margin-top: 3rem;
  color: var(--on-ink-muted);
}
.email {
  display: block;
  width: fit-content;
  margin-top: 0.4rem;
  font: 700 clamp(1.5rem, 3.2vw, 2.6rem) / 1.1 var(--display);
  letter-spacing: -0.03em;
  color: var(--on-ink);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}
.email:hover {
  color: var(--lime);
}
.enquiry {
  display: grid;
  gap: 1.6rem;
}
.enquiry fieldset {
  border: 0;
}
.enquiry legend,
.enquiry label:not(.choices label) {
  display: block;
  margin-bottom: 0.65rem;
  font-weight: 600;
}
.optional {
  font-weight: 400;
  color: var(--on-ink-muted);
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.choices label {
  position: relative;
  cursor: pointer;
}
.choices input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choices span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid var(--on-ink-line);
  border-radius: 999px;
  font-size: 0.95rem;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.choices label:hover span {
  border-color: var(--on-ink-muted);
}
.choices input:checked + span {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.choices input:focus-visible + span {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.enquiry textarea,
.enquiry select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--field);
  border: 1px solid var(--on-ink-line);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.enquiry textarea {
  resize: vertical;
  min-height: 9rem;
}
.enquiry textarea::placeholder {
  color: #9d988e;
}
.enquiry textarea:hover,
.enquiry select:hover {
  border-color: var(--on-ink-muted);
}
.enquiry textarea:focus-visible,
.enquiry select:focus-visible {
  outline: none;
  border-color: var(--lime);
}
.enquiry [aria-invalid="true"] {
  border-color: #ff8a66;
}
.error {
  margin-top: 0.5rem;
  color: #ff9a7a;
  font-size: 0.95rem;
}
.form-note {
  font-size: 0.92rem;
  color: var(--on-ink-muted);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-row .status {
  margin-left: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.95rem;
}
.wordmark {
  margin-top: clamp(2rem, 5vw, 4rem);
  font: 800 17.4vw/0.8 var(--display);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.copyright {
  padding-block: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Tablet */
@media (max-width: 960px) {
  /* Tablet keeps the nav; the status and clock stay in the footer */
  .site-header .status {
    display: none;
  }
  .site-header .btn-small {
    margin-left: auto;
  }
  .contact-grid,
  .slide {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .rail-line,
  .rail-ticks {
    display: none;
  }
}

/* Phone */
@media (max-width: 640px) {
  :root {
    --gutter: 1.5rem;
  }
  body {
    font-size: 16px;
  }
  .editor-drawing text {
    font-size: 19.5px;
  }
  .tp-hero-end,
  .hero > .tp-start {
    left: calc(100% - var(--gutter) * 0.7);
  }
  .hero-offer {
    padding-right: 1.75rem;
  }
  .bar {
    height: 60px;
  }
  .hero {
    padding-top: 104px;
  }
  .hero-title {
    font-size: clamp(2.5rem, 12.6vw, 5rem);
    line-height: 0.92;
  }
  .deck {
    --step: 21vw;
    --card: 62vw;
  }
  .slide {
    flex-basis: 88%;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .fork-lines {
    display: none;
  }
  .fork-ends,
  .ways {
    grid-template-columns: 1fr;
  }
  /* On a phone the thread keeps to the inset right margin */
  .ways-wrap .tp-gap,
  .ways-wrap .tp-under,
  .brief .tp,
  .how .wrap > .tp {
    left: calc(100% + var(--gutter) * 0.3);
  }
  .how > .tp {
    left: calc(100% - var(--gutter) / 2);
  }
  .nav {
    display: none;
  }
  .site-header .btn-small {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .status-dot::after {
    animation: none;
  }
  .deck-card,
  .deck-label,
  .slide .slide-info,
  .faq summary::after {
    transition: none;
  }
  .btn,
  .btn svg {
    transition: none;
  }
}
