/* ============ Tokens ============ */
:root {
  --bg: #ecebe7;
  --bg-2: #e3e2dd;
  --ink: #141414;
  --ink-2: #5d5c58;
  --line: rgba(20, 20, 20, .14);
  --dark: #141414;
  --dark-2: #1c1c1c;
  --on-dark: #ecebe7;
  --on-dark-2: #8d8c87;
  --line-dark: rgba(236, 235, 231, .14);
  --gutter: clamp(16px, 2.6vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.js body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg path { fill: none; stroke: currentColor; stroke-width: 1.4; }
::selection { background: var(--ink); color: var(--bg); }

/* Visible to screen readers only */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.mask { display: block; clip-path: inset(0 -.2em); padding-bottom: .2em; margin-bottom: -.2em; } /* room for descenders at tight line heights */
.mask > span { display: block; }
.dim { opacity: .55; }
.muted { color: var(--ink-2); }

.kicker { font-size: 13px; letter-spacing: .01em; margin-bottom: 28px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.display {
  font-size: clamp(48px, 8.4vw, 132px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .94;
}
.split-lines > span { display: block; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg, .btn svg, .nav__cta svg { width: 11px; height: 11px; transition: transform .5s var(--ease); }
.link-arrow:hover svg, .btn:hover svg, .nav__cta:hover svg { transform: translate(2px, -2px); }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 22px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid currentColor; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn--light { color: var(--on-dark); }
.btn--light:hover { color: var(--dark); }
.btn--light:hover::before { background: var(--on-dark); }

/* ============ Loader ============ */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--dark); color: var(--on-dark);
  display: flex; align-items: flex-end; justify-content: space-between; padding: var(--gutter);
}
html:not(.js) .loader, .skip-loader .loader { display: none; }
.loader__mark { font-weight: 700; font-size: 28px; letter-spacing: -.06em; }
.loader__count { font-size: clamp(80px, 16vw, 240px); font-weight: 600; letter-spacing: -.05em; line-height: .8; clip-path: inset(0 -.2em); } /* clip top and bottom only, so the last digit's edge survives */
.loader__count span { display: block; }

/* ============ Cursor ============ */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  display: flex; align-items: center; justify-content: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), border-radius .4s var(--ease), opacity .3s;
}
.cursor__label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #000; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.cursor.is-label { width: auto; height: 28px; margin: -14px 0 0 12px; border-radius: 2px; padding: 0 10px; mix-blend-mode: normal; background: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; color: var(--bg); }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 18px;
  padding: 18px var(--gutter);
  /* Solid bar that takes the colour of the section underneath (set by common.js), so page text never shows through */
  background: var(--nav-bg, var(--bg)); color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.nav.is-dark { color: var(--on-dark); }
.nav__logo { font-weight: 700; font-size: 24px; letter-spacing: -.07em; line-height: 1; }
.nav__status { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid currentColor; padding: 7px 10px; }
.nav__status::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 1px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.nav__links { --nav-gap: clamp(24px, 2.6vw, 40px); display: flex; justify-content: flex-end; gap: var(--nav-gap); margin-right: calc(var(--nav-gap) - 18px); font-size: 13px; } /* 18px is the .nav gap, so the CTA spaces like the links */
.nav__links a, .footer a { position: relative; }
.nav__links a::after, .footer a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .footer a:hover::after { transform: scaleX(1); transform-origin: left; }
/* Active section: the current link's underline draws in, the others dim a little */
.nav__links a, .nav__cta { transition: opacity .5s var(--ease); }
.nav__cta { position: relative; }
.nav__cta::after { content: ""; position: absolute; left: 0; right: 21px; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
/* Solid colours, not opacity, so the quieter links still pass WCAG AA on every background */
.nav.has-active .nav__links a:not(.is-active), .nav.has-active .nav__cta:not(.is-active) { color: var(--ink-2); }
.nav.is-dark.has-active .nav__links a:not(.is-active), .nav.is-dark.has-active .nav__cta:not(.is-active) { color: var(--on-dark-2); }
.nav.has-active .nav__links a:hover, .nav.has-active .nav__cta:hover { color: inherit; }
.nav__links a.is-active::after, .nav__cta.is-active::after { transform: scaleX(1); transform-origin: left; transition-duration: .7s; }
.nav__cta { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; }
.nav__toggle { display: none; font-size: 13px; }
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--gutter);
}
.menu a { font-size: clamp(40px, 12vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.menu a { display: flex; align-items: center; gap: .3em; transition: color .5s var(--ease); }
.menu a::before { content: ""; width: .18em; height: .18em; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .5s var(--ease); }
.menu.has-active a:not(.is-active) { color: var(--on-dark-2); } /* a solid colour, not opacity: 6:1 on the dark menu, passes WCAG AA */
.menu a.is-active::before { transform: scale(1); }
.menu[hidden] { display: none; }
/* While the menu is open, the bar above it matches the menu */
.nav.is-menu-open { background: var(--dark) !important; color: var(--on-dark); }

.section-label {
  position: fixed; left: var(--gutter); bottom: 20px; z-index: 80; color: #fff; mix-blend-mode: difference;
  font-size: 12px; overflow: hidden; height: 18px; pointer-events: none; opacity: 0; transition: opacity .4s;
}
.section-label.is-on { opacity: 1; }
.section-label span { display: block; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  padding: 120px var(--gutter) 0; overflow-x: clip;
}
.hero__name { font-weight: 600; letter-spacing: -.055em; line-height: .8; white-space: nowrap; margin-top: 12vh; }
.hero__fit { display: inline-block; font-size: 13.4vw; padding-right: .07em; }
.hero__fit .char { display: inline-block; will-change: transform; }
.hero__name { clip-path: inset(0 -3vw); padding-bottom: 2.4vw; } /* vw, not em: the h1's em is the small base size, not the giant name */
.hero__row { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 6vh; }
.hero__intro { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.015em; max-width: 30em; }
.hero__scroll { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.hero__scroll svg { width: 11px; height: 11px; }

.brands {
  margin-top: auto; display: flex; align-items: center; gap: 40px;
  border-top: 1px solid var(--line); padding: 28px 0;
}
.brands__label { font-size: 12px; white-space: nowrap; }
.brands__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; width: max-content; animation: marquee var(--marquee-time, 32s) linear infinite; }
.brands.is-paused .brands__track { animation-play-state: paused; }
/* Pause control: stops the moving logos for anyone who finds motion distracting (WCAG 2.2.2) */
.brands__toggle {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.brands__toggle:hover { border-color: var(--ink); }
.brands__toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.brands__play { display: none; fill: currentColor !important; }
.brands.is-paused .brands__pause { display: none; }
.brands.is-paused .brands__play { display: block; }
.brands__track span { margin-right: 72px; font-size: 18px; font-weight: 700; letter-spacing: -.04em; opacity: .85; white-space: nowrap; }
.brands__track { align-items: center; }
/* Single-colour logos: each file is a mask, so the logo takes the text colour of any theme.
   Heights are set by eye, so square and stacked logos balance the long wordmarks. */
.logo { display: block; flex-shrink: 0; height: calc(var(--h) * var(--logo-scale, 1)); aspect-ratio: var(--r); background: currentColor; mask-position: center; mask-size: contain; mask-repeat: no-repeat; }
.logo--nationwide { --h: 18px; --r: 7.45; mask-image: url(../img/logos/nationwide.svg); }
.logo--tmw { --h: 46px; --r: 1.92; mask-image: url(../img/logos/mortgage-works.svg); }
.logo--kingfisher { --h: 38px; --r: 2.96; mask-image: url(../img/logos/kingfisher.svg); }
.logo--bq { --h: 40px; --r: 1; mask-image: url(../img/logos/bq.png); }
.logo--castorama { --h: 17px; --r: 8.39; mask-image: url(../img/logos/castorama.svg); }
.logo--screwfix { --h: 22px; --r: 4.51; mask-image: url(../img/logos/screwfix.svg); }
.logo--brico { --h: 38px; --r: 1.645; mask-image: url(../img/logos/brico.png); }
.logo--saltus { --h: 24px; --r: 4.04; mask-image: url(../img/logos/saltus.svg); }
.logo--skandia { --h: 20px; --r: 5.35; mask-image: url(../img/logos/skandia.svg); }
.logo--rugby { --h: 44px; --r: 2; mask-image: url(../img/logos/england-rugby.png); }
@keyframes marquee { to { transform: translateX(-50%); } } /* the track is two identical halves */

/* ============ Statement ============ */
.statement { height: 220vh; }
.statement__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 var(--gutter); }
.statement__text {
  max-width: 13em; text-align: center; font-size: clamp(32px, 4.6vw, 68px);
  font-weight: 600; letter-spacing: -.045em; line-height: 1;
}
.statement__text .word { opacity: .12; }

/* ============ Tour ============ */
/* Default (no WebGL, reduced motion, no JS): a stack of full-bleed project cards.
   tour-assemble.js adds .is-3d and turns it into one pinned 3D scene where each project assembles. */
.tour { position: relative; background: #0c0c0c; color: var(--on-dark); }
.tour__pin { position: relative; }
.tour__gl { display: none; }
.tour__slide { position: relative; height: 100vh; overflow: hidden; }
.tour__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour .room__skip { display: none; }
.tour.is-3d { height: 1400vh; }
.tour.is-3d .tour__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.tour.is-3d .tour__gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.tour.is-3d .tour__slide { position: absolute; inset: 0; height: auto; opacity: 0; pointer-events: none; }
.tour.is-3d .tour__slide.is-on { pointer-events: auto; }
.tour.is-3d .room__skip { display: inline-flex; }
.room__shade {
  position: absolute; inset: 0; pointer-events: none;
  /* Reaches full strength before the text starts, so copy stays legible over the brightest screenshot */
  background:
    linear-gradient(90deg, rgba(10,10,10,.15), rgba(10,10,10,.9) calc(100% - min(520px, 100% - 2 * var(--gutter)) - var(--gutter) - 80px)),
    linear-gradient(0deg, rgba(10,10,10,.85), transparent 30%),
    linear-gradient(180deg, rgba(10,10,10,.75), transparent 120px); /* keeps the blended nav readable */
}
.room__info { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(520px, 100% - 2 * var(--gutter)); }
.room__no { font-size: clamp(28px, 3.2vw, 52px); font-weight: 600; letter-spacing: -.06em; line-height: .9; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.room__of { font-size: .4em; letter-spacing: .02em; color: #a3a29d; vertical-align: top; margin-left: .3em; }
.room__info .eyebrow { margin-bottom: 14px; opacity: .7; }
.room__title { font-size: clamp(40px, 5.2vw, 80px); font-weight: 600; letter-spacing: -.045em; line-height: .96; }
.room__title .dim { opacity: 1; color: #a3a29d; }
.room__sub { font-size: clamp(16px, 1.3vw, 19px); margin: 18px 0 32px; color: #cfcdc7; }
.room__tags, .room__skip { position: absolute; bottom: 22px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.room__tags { left: var(--gutter); bottom: 52px; color: #bdbcb7; } /* clear of the fixed section label */
.room__skip { right: var(--gutter); display: inline-flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 12px; border-bottom: 1px solid var(--line-dark); padding-bottom: 3px; }
.room__skip svg { width: 10px; height: 10px; }

/* ============ Approach ============ */
.approach { padding: 22vh var(--gutter) 10vh; }
.approach__head { margin-bottom: 18vh; }
.approach__title { font-size: clamp(40px, 12.5vw, 200px); font-weight: 600; letter-spacing: -.055em; line-height: 1.05; display: flex; flex-direction: column; }
.slot { display: block; height: 1.4em; overflow: hidden; padding: 0 .1em; margin: 0 -.1em;
  /* words fade out at the window's edges instead of being cut off against the line above */
  -webkit-mask-image: linear-gradient(transparent, #000 13%, #000 87%, transparent); mask-image: linear-gradient(transparent, #000 13%, #000 87%, transparent); }
.slot__inner { display: flex; flex-direction: column; }
.slot__inner span { display: block; height: 1.4em; line-height: 1.4em; } /* rows and window match, so a rolling word never touches the line above */
.approach__lede { margin-top: clamp(40px, 4vw, 72px); /* clear of the rolling word's tall slot */ font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.015em; }
.principle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center;
  min-height: 90vh; padding: 6vh 0;
}
.principle__copy { width: fit-content; max-width: 32rem; justify-self: end; } /* text hugs the centre line, next to the drawing */
.principle--flip .principle__copy { order: 2; justify-self: start; }
.principle__copy h3 { font-size: clamp(40px, 5vw, 76px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 20px; }
.principle__lede { font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 20px; max-width: 18em; }
.principle__copy > p:last-child, .principle__body { max-width: 30em; color: var(--ink-2); font-size: 15px; }
.principle__body + .principle__body { margin-top: 14px; }
.principle__art { display: grid; place-items: center; }
.principle__art svg { width: min(100%, 460px); height: auto; overflow: visible; }

/* System drawings (App.drawSVG): tiles, nodes and links on a dot grid */
svg .s { stroke: var(--ink); stroke-width: 1.2; fill: var(--bg); vector-effect: non-scaling-stroke; transform-box: fill-box; }
svg .s.link { fill: none; }
svg .s.ghost { fill: none; stroke-dasharray: 4 4; opacity: .55; }
svg .s.mark { fill: var(--ink); }
svg .dots { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; opacity: .16; vector-effect: non-scaling-stroke; }
.split-words .word, .split-words .w { display: inline-block; }

/* ============ Writing ============ */
.writing { padding: 16vh var(--gutter); border-top: 1px solid var(--line); }
.writing__head { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px; margin-bottom: 12vh; }
.writing__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.writing__lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.015em; }
.writing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.book { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 32px; align-items: end; perspective: 1000px; }
.book__cover { transform-style: preserve-3d; transition: transform .8s var(--ease); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.book__cover img { width: 100%; height: auto; }
.book__meta h3 { font-size: 32px; letter-spacing: -.04em; font-weight: 600; margin: 8px 0 12px; line-height: 1; }
.book__meta p:not(.eyebrow) { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }
.articles .eyebrow { margin-bottom: 14px; }
.article {
  display: grid; grid-template-columns: 48px 1fr 16px; gap: 16px; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--line); position: relative;
}
.article:last-of-type { border-bottom: 1px solid var(--line); }
.article__no { font-size: 12px; color: var(--ink-2); }
.article__body strong { display: block; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; transition: transform .6s var(--ease); }
.article__body em { display: block; font-style: normal; color: var(--ink-2); font-size: 14px; margin-top: 4px; transition: transform .6s var(--ease) .04s; }
.article__arrow { width: 14px; height: 14px; transition: transform .6s var(--ease); }
.article:hover .article__body strong, .article:hover .article__body em { transform: translateX(14px); }
.article:hover .article__arrow { transform: rotate(45deg); }
.articles__all { margin-top: 28px; }

/* ============ Work ============ */
.work { background: var(--dark); color: var(--on-dark); padding: 24vh var(--gutter) 16vh; }
.work__head { display: grid; grid-template-columns: auto 1fr; gap: 6vw; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.work__title { font-size: clamp(64px, 12vw, 190px); font-weight: 600; letter-spacing: -.06em; line-height: .85; }
.work__lede { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.25; padding-bottom: 1vw; }
.work__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0 8vh; font-size: 12px; }
.work__bar a { text-decoration: underline; text-underline-offset: 3px; }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw 3vw; }
.card { display: block; }
.card:nth-child(3n+2) { margin-top: 14vh; }
.card:nth-child(3n+3) { margin-top: 7vh; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--dark-2); }
.card__media img { width: 100%; height: 118%; object-fit: cover; transition: transform 1.2s var(--ease); will-change: transform; }
.card:hover .card__media img { transform: scale(1.05); }
/* Shown in full: no crop, parallax or hover zoom */
.card--fit .card__media img, .card--fit:hover .card__media img { height: 100%; transform: none; }
.card__arrow {
  position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(20,20,20,.75); backdrop-filter: blur(8px); display: grid; place-items: center;
  transition: transform .6s var(--ease), background .4s;
}
.card__arrow svg { width: 14px; height: 14px; transition: transform .6s var(--ease); }
.card:hover .card__arrow { background: var(--on-dark); color: var(--dark); }
.card:hover .card__arrow svg { transform: rotate(45deg); }
.card__meta { padding-top: 22px; }
.card__meta .eyebrow { color: var(--on-dark-2); line-height: 1.8; }
.card__meta h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.035em; margin: 12px 0 6px; line-height: 1.05; }
.card__meta p:last-child { color: var(--on-dark-2); font-size: 14px; }
.card--soon .card__media { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #1b1b1b 0 12px, #181818 12px 24px); }
/* Coming soon: a dark tile with a dashed page of components and one accent piece */
.card--soon .card__media { background: var(--dark-2) !important; box-shadow: inset 0 0 0 1px var(--line-dark); }
.card__tags { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__tag { padding: 7px 10px; border-radius: 4px; background: var(--accent-on-dark); color: var(--dark); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.card__tag--lock { background: var(--accent); color: #fff; font-weight: 400; }
.card__soon-art { width: 62%; height: auto; overflow: visible; }
.card__soon-art .s { stroke: var(--on-dark); }
.card__soon-art .s.mark { fill: var(--accent-on-dark, var(--on-dark)); stroke: var(--accent-on-dark, var(--on-dark)); }
.card--soon .card__media .card__soon { position: absolute; left: 20px; bottom: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.card--soon .card__media span { font-size: 64px; font-weight: 700; letter-spacing: -.07em; color: #2f2f2f; }


/* ============ Experience ============ */
.exp { padding: 20vh var(--gutter) 0; position: relative; }
.exp__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 12vh; }
.exp__lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.015em; margin-bottom: 20px; }
.chapter { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 7vh 0; border-top: 1px solid var(--line); }
.chapter__years { font-size: clamp(28px, 3.2vw, 48px); font-weight: 500; letter-spacing: -.045em; position: sticky; top: 100px; align-self: start; }
.chapter__body h3 { font-size: clamp(40px, 5vw, 76px); font-weight: 600; letter-spacing: -.05em; line-height: .95; }
.chapter__role { margin: 10px 0 24px; color: var(--ink-2); font-size: 16px; font-weight: bold;}
.chapter__body > p:not(.chapter__role):not(.featured-in) { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35; letter-spacing: -.015em; max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 8px 10px; }
.featured-in { margin-top: 28px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.featured-in a { color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
/* .yearbar { position: sticky; bottom: 0; background: var(--bg); padding: 20px 0 22px 140px; border-top: 1px solid var(--line); z-index: 2; } */
.yearbar { position: sticky; bottom: 0; background: var(--bg); padding: 20px 0 22px 140px; z-index: 2; }
.yearbar__track { height: 2px; background: var(--line); }
.yearbar__fill { height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); } /* runs Now → 2012, matching the newest-first chapters */
.yearbar__ticks { display: flex; justify-content: space-between; font-size: 11px; margin-top: 10px; color: var(--ink-2); }

/* ============ Recognition ============ */
.recog { background: var(--dark); color: var(--on-dark); padding: 22vh var(--gutter) 14vh; }
.recog__head { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 10vh; }
.seal { width: 200px; flex-shrink: 0; margin-right: 6vw; color: #8a8984; }
.seal svg { display: block; width: 100%; height: auto; overflow: visible; }
.seal__edge { fill: none; stroke: #3a3a3a; stroke-width: 1; }
.seal__ring text { fill: currentColor; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.seal__mh { fill: var(--on-dark); font-size: 40px; font-weight: 700; letter-spacing: -.07em; }
.award {
  display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 20px;
  padding: 34px 0; border-top: 1px solid var(--line-dark);
}
.award:last-child { border-bottom: 1px solid var(--line-dark); }
.award__count { font-size: clamp(24px, 2.6vw, 40px); font-weight: 500; color: var(--on-dark-2); letter-spacing: -.04em; }
.award__name { font-size: clamp(24px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.award__tag { font-size: 13px; border: 1px solid var(--line-dark); padding: 14px 18px; transition: background .4s, color .4s; }
.award:hover .award__tag { background: var(--on-dark); color: var(--dark); }

/* ============ About ============ */
.about { background: var(--dark); color: var(--on-dark); padding: 10vh var(--gutter) 18vh; }
.about .muted, .about__cols p { color: var(--on-dark-2); }
/* 3fr + 5fr gives a 4:5 and a 4:3 photo the same height, so both edges line up */
.about__grid { display: grid; grid-template-columns: 3fr 5fr; gap: 20px; margin: 10vh 0 10vh; align-items: start; }
.about__photo { overflow: hidden; }
.about__photo--a { aspect-ratio: 4 / 3; }
.about__photo--b { aspect-ratio: 4 / 5; }
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__photo--a img { transform: scale(1.015); transform-origin: right center; } /* crops a pale line down the source photo's left edge */
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  border: 1px dashed #3a3a3a; color: #6f6e6a; font-size: 14px; background: #191919;
}
.about__big { font-size: clamp(36px, 4.6vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 8vh; }
.about__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; font-size: 16px; }
.about__cols strong { color: var(--on-dark); }
/* Skills: what Mike leads, designs and builds */
.skills { padding-top: 16vh; } /* padding, not margin, so the nav link lands clear of the fixed bar */
.skills__title { font-size: clamp(32px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.skills__lede { font-size: clamp(16px, 1.3vw, 20px); color: var(--on-dark-2); margin-top: 16px; }
.skills__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 3vw; margin-top: 8vh; }
.skills__group { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.skills__group h4 { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.skills__group > p { margin-top: 4px; font-size: 14px; color: var(--on-dark-2); }
.skills__group ul { margin-top: 24px; }
.skills__award { margin-top: 10vh; }
.skills__group li { padding: 11px 0; border-top: 1px solid var(--line-dark); font-size: 16px; line-height: 1.3; }

/* ============ Contact ============ */
.contact { position: relative; padding: 20vh var(--gutter) 10vh; overflow: hidden; }
.contact__lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.015em; }
.contact__field { position: relative; height: 26vh; margin: 4vh 0 0; }
.contact__field .fc { position: absolute; will-change: transform; }
.contact__field .fc svg { display: block; height: 18px; width: auto; overflow: visible; }
.contact__big {
  display: block; width: max-content; font-size: clamp(80px, 17vw, 280px); font-weight: 600; letter-spacing: -.065em; line-height: .85;
  transition: letter-spacing .8s var(--ease);
}
.contact__big:hover { letter-spacing: -.045em; }
.contact__alt { margin-top: 6vh; }

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 26px var(--gutter); border-top: 1px solid var(--line); margin: 0 var(--gutter); padding-left: 0; padding-right: 0; font-size: 12px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* ============ Case study page ============ */
.case-hero { padding: 150px var(--gutter) 6vh; }
.case-hero .eyebrow { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; color: var(--ink-2); }
.case-hero h1 { font-size: clamp(52px, 9vw, 150px); font-weight: 600; letter-spacing: -.055em; line-height: .9; max-width: 11em; }
.case-hero__intro { margin-top: 36px; max-width: 34em; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -.015em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8vh; }
.stat { padding: 26px 20px 0 0; }
.stat strong { display: block; font-size: clamp(44px, 6vw, 96px); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.stat span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.case-cover { padding: 0 var(--gutter); }
.case-cover__frame { overflow: hidden; aspect-ratio: 16 / 9; clip-path: inset(12% 8% 12% 8%); }
.case-cover__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.caption { font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.block { padding: 18vh var(--gutter) 0; }
.block__head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 8vh; }
.block__head h2 { font-size: clamp(36px, 4.6vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.block__head p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.35; letter-spacing: -.015em; color: var(--ink-2); max-width: 34em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; }
.two h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.two p { margin-bottom: 18px; }
.ticks li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; color: var(--ink-2); }
.ticks li::before { content: "—"; color: var(--ink); }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards4 > div { border: 1px solid var(--line); padding: 26px 22px 34px; min-height: 180px; display: flex; flex-direction: column; gap: 12px; transition: background .5s, color .5s; }
.cards4 > div:hover { background: var(--ink); color: var(--bg); }
.cards4 span { font-size: 11px; color: var(--ink-2); }
.cards4 h3 { font-size: 22px; font-weight: 500; letter-spacing: -.03em; margin-top: 32px; }
.cards4 p { font-size: 14px; opacity: .75; }
.cards4--principles { grid-template-columns: repeat(3, 1fr); }
/* Section intro under the small heading on the left (Process page) */
.block__note { margin-top: 4px; }
.block__note p { font-size: 17px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink-2); max-width: 30em; }
.block__note p + p { margin-top: 1em; }
.block--end { padding-bottom: 18vh; }
/* Small heading, large heading, then text, all down the left */
.block__head--stack { display: flex; flex-direction: column; gap: 0; }
.block__head--stack .block__side { display: contents; }
.block__head--stack .kicker { order: 1; }
.block__head--stack h2 { order: 2; }
.block__head--stack .block__note { order: 3; margin-top: 28px; }
.block__head--stack .block__note p { max-width: 40em; }
.principle__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.principle__link svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ctimeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; border-top: 2px solid var(--ink); }
.ctimeline > div { padding-top: 20px; position: relative; }
.ctimeline > div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.ctimeline strong { font-size: 32px; letter-spacing: -.05em; font-weight: 600; }
.ctimeline h3 { font-size: 16px; font-weight: 500; margin: 6px 0; }
.ctimeline p { font-size: 13px; color: var(--ink-2); }
.step { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 10vh 0; border-top: 1px solid var(--line); }
.step__no { font-size: clamp(64px, 9vw, 150px); font-weight: 600; letter-spacing: -.06em; line-height: .8; position: sticky; top: 110px; align-self: start; }
.step h3 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 20px; }
.step__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; letter-spacing: -.01em; max-width: 36em; }
.step__img { margin-top: 6vh; overflow: hidden; }
.step__img img { width: 100%; height: auto; transform: scale(1.12); }
.callout { margin-top: 6vh; background: var(--dark); color: var(--on-dark); padding: 34px; }
.callout .eyebrow { color: var(--on-dark-2); margin-bottom: 14px; }
.callout h4 { margin: 0 0 12px; font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.callout p { color: #c6c4be; max-width: 44em; }
.callout__out { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: var(--on-dark) !important; }
.callout__out b { font-weight: 500; }
.outcomes { background: var(--dark); color: var(--on-dark); margin-top: 18vh; padding: 18vh var(--gutter); }
.outcomes .block__head { padding: 0; }
.outcomes .block__head p { color: var(--on-dark-2); }
.ogroup { margin-bottom: 8vh; }
.ogroup > p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
.ogroup__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.ogroup__row > div { padding: 26px 24px 0 0; }
.ogroup__row strong { display: block; font-size: clamp(44px, 5.4vw, 88px); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.ogroup__label { font-size: 16px; font-weight: 500; margin: 12px 0 6px; }
.ogroup__row p:not(.ogroup__label) { font-size: 14px; color: var(--on-dark-2); }
.reflect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; }
.reflect > div { border-top: 1px solid var(--line); padding-top: 22px; }
.reflect h3 { font-size: 24px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 12px; }
.reflect p { color: var(--ink-2); }
/* Title and image sit in separate columns, so the hover image can never cover the text */
.next {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30vw); gap: 4vw; align-items: center;
  margin-top: 20vh; padding: 14vh var(--gutter); background: var(--dark); color: var(--on-dark); overflow: hidden;
}
.next__label { font-size: 12px; color: var(--on-dark-2); }
.next__label .card__tag { display: inline-block; margin-left: 10px; vertical-align: middle; }
.next__title { font-size: clamp(48px, 7.4vw, 132px); font-weight: 600; letter-spacing: -.055em; line-height: .92; margin-top: 20px; }
.next__img { aspect-ratio: 4 / 3; overflow: hidden; opacity: .35; transform: scale(.92); transition: opacity .6s, transform 1s var(--ease); }
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next:hover .next__img, .next:focus-visible .next__img { opacity: 1; transform: scale(1); }
/* Veil for App.fadeJump: covers the page (not the nav) while it jumps */
.page-fade { position: fixed; inset: 0; z-index: 95; background: #0c0c0c; opacity: 0; pointer-events: none; }
.back-link { position: fixed; left: var(--gutter); bottom: 20px; z-index: 80; font-size: 12px; color: #fff; mix-blend-mode: difference; display: inline-flex; gap: 8px; align-items: center; }
.back-link { transition: opacity .4s, visibility .4s; }
.at-footer .back-link, .at-footer .section-label { opacity: 0; visibility: hidden; } /* would sit on the copyright line */

/* ============ Responsive ============ */
@media (max-width: 900px) {
  /* No spare margin on phones, so the fixed labels would sit on top of content: drop the decorative
     section label (the menu already says where you are) and make the back link a solid chip. */
  .section-label { display: none; }
  .back-link { bottom: 16px; padding: 9px 14px; border-radius: 999px; background: var(--dark); color: var(--on-dark); mix-blend-mode: normal; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__status { justify-self: start; }
  .nav__toggle { display: block; }
  .brands { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
  .brands__toggle { order: 2; }
  .brands__track { --logo-scale: .85; }
  .brands__viewport { order: 3; flex: 1 0 100%; }
    .brands__viewport { width: 100%; }
  .tour.is-3d { height: 1200vh; }
  .room__info { top: auto; bottom: 70px; transform: none; left: var(--gutter); }
  .room__no { font-size: 28px; margin-bottom: 12px; }
  .room__shade { background: linear-gradient(180deg, rgba(10,10,10,.75), transparent 120px), linear-gradient(0deg, rgba(10,10,10,.92) 60%, rgba(10,10,10,.3)); }
  .room__tags { display: none; }
  .principle, .writing__head, .writing__grid, .work__head, .exp__head, .chapter, .block__head, .two, .step { grid-template-columns: 1fr; }
  .principle { min-height: 0; gap: 40px; padding: 10vh 0; }
  .principle--flip .principle__copy { order: 0; }
  .principle__copy { justify-self: start; max-width: none; }
  .book { grid-template-columns: 140px 1fr; gap: 20px; }
  .work__grid { grid-template-columns: 1fr; gap: 64px; }
  .card:nth-child(n) { margin-top: 0; }
  .card__media { aspect-ratio: 4 / 3.4; }
  .card--fit .card__media { aspect-ratio: 4 / 5; }
  .chapter { gap: 16px; }
  .chapter__years { position: static; }
  .yearbar { padding-left: 0; }
  .recog__head { gap: 16px; } /* badge stays to the right of the heading */
  .seal { width: clamp(96px, 30vw, 130px); margin: 0; }
  .award { grid-template-columns: 56px 1fr; }
  .award__tag { grid-column: 2; justify-self: start; padding: 10px 12px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo--b { max-width: 62%; }
  .skills__grid { grid-template-columns: 1fr; }
  .about__cols, .stats, .cards4, .cards4--principles, .ogroup__row, .reflect { grid-template-columns: 1fr; }
  .block__side { display: contents; }
  .block__head .kicker { order: 1; }
  .block__head h2 { order: 2; }
  .block__note { order: 3; }
  .ctimeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .step__no { position: static; }
  .next { grid-template-columns: 1fr; }
  .next__img { display: none; }
  .footer nav { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .slot__inner span:not(:last-child) { display: none; } /* no roll: show only the final verb */
  .brands__toggle { display: none; } /* nothing moves, so nothing to pause */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============ Consent banner ============ */
.consent {
  position: fixed; right: var(--gutter); bottom: 20px; z-index: 90; max-width: 420px;
  display: flex; flex-direction: column; gap: 14px; padding: 18px 20px;
  background: var(--dark); color: var(--on-dark); font-size: 13px; line-height: 1.45;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.consent.is-open { opacity: 1; transform: none; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent button {
  font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: inherit;
  background: none; border: 1px solid currentColor; padding: 10px 16px; cursor: pointer;
}
.consent button:hover { background: rgba(255, 255, 255, .08); }
.consent .consent__yes { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.consent .consent__yes:hover { background: #fff; }
.consent :focus-visible { outline: 2px solid var(--on-dark); outline-offset: 3px; }
@media (max-width: 900px) {
  .consent { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ============ Privacy page ============ */
.legal { padding-top: 150px; padding-bottom: 14vh; }
.legal .block__head h1 { font-size: clamp(36px, 4.6vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.legal__body { margin-left: calc((100% - 40px) / 3 + 40px); }
@media (max-width: 900px) { .legal__body { margin-left: 0; } }
.legal__body { max-width: 40em; font-size: 17px; line-height: 1.6; }
.legal__body h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 2.2em 0 .6em; }
.legal__body p + p { margin-top: 1em; }
.legal__body a { text-decoration: underline; text-underline-offset: 2px; }
.legal__body code { font-size: .9em; }

/* ============ Case study: prose, pairs and image placeholders ============ */
.prose, .block__lede { max-width: 40em; }
.prose { margin-left: calc((100% - 40px) / 3 + 40px); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; letter-spacing: -.01em; }
.prose > * + *, .block__lede > * + *, .step__text > * + * { margin-top: 1em; }
.step__text .ticks, .prose .ticks { font-size: 16px; letter-spacing: 0; }
.pairs { display: grid; gap: 0; font-size: 16px; letter-spacing: 0; }
.pairs > div { display: grid; grid-template-columns: 11em 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.pairs dt { font-weight: 500; }
.pairs dd { color: var(--ink-2); }
.step__img--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.todo {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 24px; text-align: center;
  border: 1px dashed var(--ink-2); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(0, 0, 0, .025) 12px 24px);
  color: var(--ink-2); font-size: 14px; line-height: 1.4;
}
.todo p { max-width: 30em; }
.todo b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.case-cover__frame .todo { aspect-ratio: auto !important; }
.ogroup__row p.ogroup__title { color: var(--on-dark); font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 12px; }
.card__media--todo { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #1b1b1b 0 12px, #181818 12px 24px); }
.card__media--todo > span:first-child { font-size: 64px; font-weight: 700; letter-spacing: -.07em; color: #2f2f2f; }
@media (max-width: 900px) {
  .prose { margin-left: 0; }
  .pairs > div, .step__img--grid { grid-template-columns: 1fr; }
}
/* Assembling tour: the 3D screen is the image, so the slide's flat copy (cropped differently) stays hidden */
.tour.is-assemble .tour__media { visibility: hidden; }

/* ---------- 404 page ---------- */
.lost { min-height: 100svh; display: grid; grid-template-columns: minmax(180px, 320px) 1fr; align-items: center; gap: 6vw; padding: 140px var(--gutter) 80px; }
.lost h1 { font-size: clamp(44px, 6.4vw, 104px); font-weight: 600; letter-spacing: -.045em; line-height: .98; margin: 18px 0 0; }
.lost__lede { margin-top: 28px; max-width: 30em; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); }
.lost__links { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.lost__links a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }
.droid { width: 100%; height: auto; overflow: visible; color: var(--ink); }
.droid .s { fill: var(--bg); stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.droid .map { fill: var(--bg-2); }
.droid text { font: 600 22px var(--font); fill: currentColor; }
.droid__tip, .droid__iris { fill: var(--accent); }
.droid__shadow { fill: var(--ink); opacity: .08; }
.droid__head { transform-box: fill-box; transform-origin: 50% 100%; animation: droid-tilt 5s ease-in-out infinite; }
.droid__eye { transform-box: fill-box; transform-origin: 50% 50%; animation: droid-blink 4s infinite; }
.droid__bob { animation: droid-bob 3s ease-in-out infinite; }
@keyframes droid-tilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(5deg); } }
@keyframes droid-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes droid-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .droid__head, .droid__eye, .droid__bob { animation: none; } }
@media (max-width: 900px) { .lost { grid-template-columns: 1fr; gap: 32px; padding-top: 110px; } .droid { max-width: 180px; } }

/* ================== THEME: warm paper and vermilion (launch, 2 Nov 2026) ==================
   Every colour change for this theme lives in this block. To roll back the styling,
   delete from here to the end of the file. Full copies of the pre-theme files are in
   _rollback/pre-cobalt-2026-10-29/ (see the README there). */
:root {
  --bg: #efece6;    /* warm paper */
  --bg-2: #e5e1d9;
  --ink: #211d19;
  --ink-2: #5a534b;
  --line: rgba(33, 29, 25, .14);
  --dark: #151210;
  --dark-2: #1e1a17;
  --on-dark: #efece6;
  --on-dark-2: #979087;
  --line-dark: rgba(239, 236, 230, .14);
  --accent: #bf3f0c;          /* 4.5:1 on --bg, fine for text and shapes */
  --accent-on-dark: #ff9d73;  /* the accent for text and lines on dark sections */
  --shade: 21, 18, 16;        /* --dark as RGB, for the tour's gradients */
}
/* Spare themes, kept in case the colour changes later. To use one, add data-theme="blue" or
   data-theme="sage" to the <html> tag on every page. The case study images have the warm
   background built in, so they would need regenerating too. */
:root[data-theme="blue"] {
  --bg: #e3e9f4; --bg-2: #d8e0ed;
  --ink: #1b2028; --ink-2: #4d5562; --line: rgba(27, 32, 40, .14);
  --dark: #0e1117; --dark-2: #151a22;
  --on-dark: #edeff2; --on-dark-2: #8b93a0; --line-dark: rgba(237, 239, 242, .14);
  --accent: #2b59f0; --accent-on-dark: #9db3ff; --shade: 14, 17, 23;
}
:root[data-theme="sage"] {
  --bg: #e4ebe6; --bg-2: #d9e2dc;
  --ink: #1a2420; --ink-2: #4c5a53; --line: rgba(26, 36, 32, .14);
  --dark: #0e1412; --dark-2: #151d1a;
  --on-dark: #ecf0ed; --on-dark-2: #8c9891; --line-dark: rgba(236, 240, 237, .14);
  --accent: #1f6b4f; --accent-on-dark: #8fd0b4; --shade: 14, 20, 18;
}

/* Dark sections */
.tour, .page-fade { background: var(--dark); }
.room__shade {
  background:
    linear-gradient(90deg, rgba(var(--shade), .15), rgba(var(--shade), .9) calc(100% - min(520px, 100% - 2 * var(--gutter)) - var(--gutter) - 80px)),
    linear-gradient(0deg, rgba(var(--shade), .85), transparent 30%),
    linear-gradient(180deg, rgba(var(--shade), .75), transparent 120px);
}
.room__of, .room__title .dim { color: #a8a096; }
.room__sub { color: #d3cdc4; }
.room__tags { color: #bfb8ae; }
.callout p { color: #cbc5bc; }
.seal { color: var(--on-dark-2); }
.seal__edge { stroke: #3b352f; }
.card--soon .card__media, .card__media--todo { background: repeating-linear-gradient(135deg, #1e1a17 0 12px, #1a1714 12px 24px); }
.card--soon .card__media span, .card__media--todo > span:first-child { color: #352f29; }

/* The accent, used sparingly: marked shapes, active states, progress, hover fills and focus */
svg .s.mark { fill: var(--accent); stroke: var(--accent); }
.seal__mh { fill: var(--accent-on-dark); }
.yearbar__fill { background: var(--accent); }
.nav__links a::after, .nav__cta::after, .menu a::before { background: var(--accent); }
.nav.is-dark .nav__links a::after, .nav.is-dark .nav__cta::after, .menu a::before { background: var(--accent-on-dark); }
.btn::before { background: var(--accent); }
.btn:hover { color: #fff; border-color: var(--accent); }
.btn--light:hover { color: #fff; border-color: var(--accent); }
.btn--light:hover::before { background: var(--accent); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline-color: var(--accent); }
/* Skip link targets (tabindex="-1"): draw the outline inside, so a full-width section shows its whole border */
[tabindex="-1"]:focus-visible { outline-offset: -3px; }
.consent :focus-visible { outline-color: var(--accent-on-dark); }

@media (max-width: 900px) {
  .room__shade { background: linear-gradient(180deg, rgba(var(--shade), .75), transparent 120px), linear-gradient(0deg, rgba(var(--shade), .92) 60%, rgba(var(--shade), .3)); }
}
/* ================== END THEME ================== */
