/* London City Demolition — londoncitydemolition.co.uk
   World: a London demolition site. Board-marked concrete and dust (light), soot and night shifts (dark),
   one hi-vis yellow for everything that must be seen. Big Shoulders = site signage, Stencil = sprayed marks,
   Instrument Sans = the method statement, IBM Plex Mono = measurements only (tonnes, metres, weeks, numbers). */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Big Shoulders Stencil"; src: url("../fonts/big-shoulders-stencil-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --dust: #E6E3DC;      /* page: concrete dust */
  --plate: #D6D2C9;     /* board-marked concrete panels */
  --plate-2: #C7C2B8;
  --aggregate: #908C84; /* secondary text on dark */
  --graphite: #4A4A46;  /* secondary text on light */
  --ink: #1C1D1E;
  --soot: #161718;
  --soot-2: #1F2022;
  --soot-3: #2B2C2E;
  --hivis: #FFC20E;
  --hivis-2: #FFD54A;
  --signal: #C23E1C;

  --line: rgba(22, 23, 24, .16);
  --line-d: rgba(230, 227, 220, .16);

  --f-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --f-stencil: "Big Shoulders Stencil", "Big Shoulders", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-heavy: cubic-bezier(.32, .72, 0, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gut: clamp(16px, 4.6vw, 64px);
  --r: 14px;
  --sec: clamp(88px, 11vw, 168px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--dust); color: var(--ink);
  font-family: var(--f-body); font-size: clamp(16px, 0.25vw + 15px, 18px); line-height: 1.6;
  font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: .92; letter-spacing: -.01em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--hivis); color: var(--soot); }
:focus-visible { outline: 2px solid var(--soot); outline-offset: 3px; border-radius: 4px; }
.is-dark :focus-visible, .site-header :focus-visible, .menu :focus-visible, .site-footer :focus-visible { outline-color: var(--hivis); }
html { scrollbar-color: var(--soot-3) var(--dust); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--dust); }
::-webkit-scrollbar-thumb { background: var(--soot-3); border: 3px solid var(--dust); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--soot); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--hivis); color: var(--soot); padding: 10px 16px; font-weight: 600; border-radius: 8px; transition: top .3s var(--ease-out); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.is-dark { background: var(--soot); color: var(--dust); }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.hi { color: var(--hivis); }
.mark-hi { background: linear-gradient(transparent 58%, var(--hivis) 58%, var(--hivis) 92%, transparent 92%); padding-inline: .06em; }

/* ---------- headings & text ---------- */
.h-xl { font-size: clamp(3.4rem, 8.2vw, 8.4rem); text-transform: uppercase; font-weight: 850; }
.h-lg { font-size: clamp(2.8rem, 5.6vw, 5.6rem); text-transform: uppercase; font-weight: 850; }
.h-md { font-size: clamp(2rem, 3.4vw, 3.4rem); text-transform: uppercase; font-weight: 800; }
.h-sm { font-size: clamp(1.5rem, 2vw, 2rem); text-transform: uppercase; font-weight: 800; line-height: 1; }
.lead { font-size: clamp(1.08rem, .5vw + .95rem, 1.32rem); line-height: 1.5; max-width: 40ch; }
.muted { color: var(--graphite); }
.is-dark .muted { color: var(--aggregate); }
.ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.ln > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--hivis); --fg: var(--soot);
  position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 6px 6px 6px 22px;
  background: var(--bg); color: var(--fg); text-decoration: none; font-family: var(--f-display); font-weight: 750;
  font-size: 1.14rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), transform .25s var(--ease-out);
}
.btn__ico { display: grid; place-items: center; width: 42px; height: 42px; background: var(--fg); color: var(--bg); transition: transform .5s var(--ease-heavy); }
.btn__ico svg { width: 18px; height: 18px; }
.btn:hover { --bg: var(--hivis-2); }
.btn:hover .btn__ico { transform: translate(3px, -2px); }
.btn:active { transform: scale(.98); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; clip-path: none; }
.btn--ghost .btn__ico { background: currentColor; }
.btn--ghost .btn__ico svg { color: var(--dust); }
.btn--ghost:hover { --bg: rgba(230, 227, 220, .08); }
.btn--dark { --bg: var(--soot); --fg: var(--dust); }
.btn--dark .btn__ico { background: var(--hivis); color: var(--soot); }
.btn--dark:hover { --bg: var(--soot-3); }
.btn--sm { min-height: 42px; font-size: 1rem; padding: 4px 4px 4px 16px; gap: 10px; }
.btn--sm .btn__ico { width: 34px; height: 34px; }
.btn--sm .btn__ico svg { width: 15px; height: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 750; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease-heavy); }
.link-arrow:hover svg { transform: translate(4px, -3px); }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 40; left: 0; right: 0; top: 0; padding: 12px 12px 0; pointer-events: none; transition: transform .6s var(--ease-heavy), opacity .6s var(--ease-out); }
.site-header.is-hidden { transform: translateY(-120%); }
.site-header__bar {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 24px; max-width: 1440px; margin: 0 auto;
  height: var(--header-h); padding: 0 10px 0 16px; background: rgba(22, 23, 24, .93); color: var(--dust);
  border-radius: 12px; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45);
}
.site-header__progress { position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; overflow: hidden; border-radius: 3px; }
.site-header__progress i { display: block; height: 100%; background: var(--hivis); transform-origin: 0 50%; transform: scaleX(0); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__word { display: flex; flex-direction: column; gap: 3px; font-family: var(--f-display); text-transform: uppercase; line-height: .9; }
.brand__l1 { font-weight: 600; font-size: .72rem; letter-spacing: .26em; color: var(--aggregate); }
.brand__l2 { font-weight: 850; font-size: 1.42rem; letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { position: relative; padding: 10px 14px; font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: rgba(230, 227, 220, .82); transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--hivis); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease-heavy); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--dust); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.header-call { flex: none; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border-radius: 10px; background: var(--hivis); }
.nav-toggle span:not(.sr-only) { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--soot); transition: transform .5s var(--ease-heavy), top .5s var(--ease-heavy); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 39; background: var(--soot); color: var(--dust); padding: 110px var(--gut) 32px; display: flex; flex-direction: column; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 2px; }
.menu__links a { display: block; overflow: hidden; font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: clamp(2.8rem, 13vw, 4.6rem); line-height: 1; text-decoration: none; padding: 4px 0; }
.menu__links a span { display: inline-block; }
.menu__links a[aria-current="page"] { color: var(--hivis); }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; border-top: 1px solid var(--line-d); }
.menu__foot a { text-decoration: none; font-size: 1.15rem; }
.menu__foot .mono { color: var(--aggregate); }

@media (max-width: 1080px) {
  .nav, .header-call { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 420px) {
  .brand__l2 { font-size: 1.22rem; }
  .brand__mark { width: 34px; height: 34px; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--dust); background: var(--soot); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; transform-origin: 40% 60%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(22, 23, 24, .96) 0%, rgba(22, 23, 24, .78) 30%, rgba(22, 23, 24, .3) 62%, rgba(22, 23, 24, .5) 100%),
  linear-gradient(to right, rgba(22, 23, 24, .55) 0%, rgba(22, 23, 24, 0) 60%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 40px; padding-top: 140px; padding-bottom: 40px; }
.hero__title { font-size: clamp(3.6rem, 8.6vw, 9.2rem); font-weight: 870; text-transform: uppercase; line-height: .86; letter-spacing: -.012em; }
.hero__aside { padding-bottom: .5rem; }
.hero__lead { font-size: clamp(1.06rem, .5vw + .95rem, 1.28rem); line-height: 1.5; max-width: 34ch; color: rgba(230, 227, 220, .9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 22px; padding-bottom: calc(clamp(110px, 12vw, 170px) / 2 + 26px); border-top: 1px solid var(--line-d); color: var(--aggregate); }
.hero__facts li { display: flex; gap: 12px; align-items: baseline; }
.hero__facts b { color: var(--hivis); font-weight: 500; }
.shatter { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }
html.intro-on .site-header, html.intro-run .site-header { opacity: 0; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; padding-top: 120px; }
  .hero__facts { grid-template-columns: 1fr; gap: 8px; }
  .hero__media img { object-position: 30% 40%; }
}

/* ---------- hazard tapes ---------- */
.tapes { position: relative; z-index: 3; overflow-x: clip; overflow-y: visible; height: clamp(110px, 12vw, 170px); margin-top: calc(clamp(110px, 12vw, 170px) / -2); margin-bottom: calc(clamp(110px, 12vw, 170px) / -2); pointer-events: none; }
.tape { position: absolute; left: -4vw; right: -4vw; top: 50%; overflow: hidden; white-space: nowrap; }
.tape--a { background: var(--hivis); color: var(--soot); transform: translateY(-62%) rotate(-2.4deg); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); }
.tape--b { background: var(--soot); color: var(--hivis); transform: translateY(18%) rotate(1.6deg); }
.tape--a::before, .tape--a::after { content: ""; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(-45deg, var(--soot) 0 10px, var(--hivis) 10px 20px); }
.tape--a::before { top: 0; }
.tape--a::after { bottom: 0; }
.tape__track { display: inline-flex; will-change: transform; }
.tape__track span { display: inline-flex; align-items: center; gap: 22px; padding: 17px 22px; font-family: var(--f-display); font-weight: 850; font-size: clamp(1.2rem, 1.6vw, 1.6rem); letter-spacing: .08em; text-transform: uppercase; }
.tape--b .tape__track span { padding: 11px 22px; font-size: clamp(1rem, 1.2vw, 1.2rem); font-weight: 700; letter-spacing: .14em; }
.tape__track span::after { content: ""; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head p { margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* intro statement */
.intro { padding-top: calc(var(--sec) + 40px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__statement { font-size: clamp(2.4rem, 4.6vw, 4.6rem); text-transform: uppercase; font-weight: 850; line-height: .94; margin-bottom: clamp(28px, 3vw, 44px); }
.intro__body { max-width: 56ch; color: var(--graphite); font-size: 1.08em; }
.intro__body p:first-child { color: var(--ink); }
.intro__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 56px); border-top: 1.5px solid var(--soot); }
.intro__points li { padding: 18px 18px 0 0; }
.intro__points li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.intro__points b { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.32rem; line-height: 1; margin-bottom: 8px; }
.intro__points span { font-size: .94rem; color: var(--graphite); line-height: 1.45; display: block; }
.intro__fig { margin: 0; position: sticky; top: 110px; }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__fig { position: static; }
  .intro__points { grid-template-columns: 1fr; }
  .intro__points li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
  .intro__points li { padding-top: 16px; }
}

/* photo frame with crack reveal */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--plate-2); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__plate { position: absolute; inset: -1px; z-index: 2; background: var(--plate); pointer-events: none; display: none; }
.photo__plate::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(22, 23, 24, .05) 0 1px, transparent 1px 34px); }
.is-dark .photo__plate { background: var(--soot-3); }
.js .photo[data-crack] .photo__plate { display: block; }
.photo__half { position: absolute; inset: -1px; z-index: 2; background: var(--plate) repeating-linear-gradient(0deg, rgba(22, 23, 24, .05) 0 1px, transparent 1px 34px); pointer-events: none; will-change: transform; }
.is-dark .photo__half { background-color: var(--soot-3); }
.photo__crack { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.photo__crack polyline { fill: none; stroke: var(--soot); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: bevel; }
.figcap { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; color: var(--graphite); font-size: .95rem; }
.is-dark .figcap { color: var(--aggregate); }

/* ---------- work packages (home) ---------- */
.packages { display: flex; gap: 10px; height: clamp(480px, 64vh, 660px); }
.pkg { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r); background: var(--soot-2); color: var(--dust); cursor: pointer; transition: flex-grow .8s var(--ease-heavy); outline-offset: 4px; }
.pkg.is-open { flex-grow: 3.1; cursor: default; }
.pkg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease-heavy), filter .8s; filter: grayscale(.7) brightness(.72); }
.pkg.is-open img { transform: scale(1); filter: none; }
.pkg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 23, 24, .95) 0%, rgba(22, 23, 24, .55) 42%, rgba(22, 23, 24, .05) 75%); }
.pkg__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 30px); }
.pkg__tag { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 6px 9px; background: var(--hivis); color: var(--soot); border-radius: 4px; }
.pkg__title { font-size: clamp(1.7rem, 2.3vw, 2.5rem); text-transform: uppercase; font-weight: 850; line-height: .95; max-width: 12ch; }
.pkg__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-heavy); }
.pkg.is-open .pkg__more { grid-template-rows: 1fr; }
.pkg__more > div { overflow: hidden; min-width: 0; }
.pkg__text { margin: 14px 0 18px; max-width: 44ch; color: rgba(230, 227, 220, .86); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .8s var(--ease-heavy); }
.pkg__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; opacity: 0; transition: opacity .5s .1s; }
.pkg__list li { padding: 5px 10px; border: 1px solid var(--line-d); border-radius: 20px; font-size: .84rem; white-space: nowrap; }
.pkg.is-open .pkg__text, .pkg.is-open .pkg__list { opacity: 1; transform: none; transition-delay: .25s; }
.pkg .link-arrow { color: var(--hivis); }
@media (max-width: 900px) {
  .pkg::after { background: linear-gradient(to top, rgba(22, 23, 24, .96) 0%, rgba(22, 23, 24, .82) 45%, rgba(22, 23, 24, .3) 80%, rgba(22, 23, 24, .2) 100%); }
  .packages { flex-direction: column; height: auto; }
  .pkg, .pkg.is-open { flex: none; min-height: 440px; cursor: default; }
  .pkg img { filter: none; transform: none; }
  .pkg__more { grid-template-rows: 1fr; }
  .pkg__text, .pkg__list { opacity: 1; transform: none; }
}

/* ---------- takedown (signature) ---------- */
.method { padding-bottom: 0; }
.method__head { margin-bottom: clamp(24px, 3vw, 40px); }
.takedown { position: relative; }
.takedown__pin { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 100svh; padding-top: calc(var(--header-h) + 36px); padding-bottom: 32px; }
.takedown__steps { counter-reset: s; display: grid; gap: 4px; }
.tstep { position: relative; padding: 16px 0 16px 58px; border-top: 1px solid var(--line); transition: opacity .5s; }
.js .tstep { opacity: .38; }
.js .tstep.is-active, .js .tstep.is-done { opacity: 1; }
.tstep__n { position: absolute; left: 0; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--soot); border-radius: 50%; font-family: var(--f-mono); font-size: .8rem; transition: background-color .4s, color .4s; }
.tstep.is-active .tstep__n { background: var(--hivis); border-color: var(--hivis); color: var(--soot); }
.tstep.is-done .tstep__n { background: var(--soot); color: var(--dust); }
.tstep h3 { font-size: clamp(1.5rem, 2vw, 1.95rem); text-transform: uppercase; font-weight: 800; margin: 4px 0 0; }
.tstep__p { color: var(--graphite); font-size: .96rem; line-height: 1.55; margin: 0; max-width: 44ch; }
.js .tstep__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-heavy); }
.js .tstep__p > span { overflow: hidden; display: block; }
.js .tstep.is-active .tstep__p { grid-template-rows: 1fr; }
.js .tstep.is-active .tstep__p > span { padding-top: 10px; }
.takedown__stage { position: relative; align-self: stretch; display: flex; flex-direction: column; min-height: 0; }
.takedown__frame { position: relative; flex: 1; min-height: 360px; border-radius: var(--r); background: var(--plate); overflow: hidden; }
.takedown__frame::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(22, 23, 24, .04) 0 1px, transparent 1px 30px); pointer-events: none; }
.takedown__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.takedown__level { position: absolute; top: 16px; left: 16px; display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; background: var(--soot); color: var(--dust); border-radius: 8px; }
.takedown__level b { font-family: var(--f-display); font-weight: 850; font-size: 2rem; line-height: 1; color: var(--hivis); min-width: 2.2ch; }
.takedown__hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 1px; margin-top: 10px; background: var(--line); border-radius: 10px; overflow: hidden; }
.hud__cell { background: var(--dust); padding: 12px 14px; }
.hud__cell .mono { display: block; color: var(--graphite); font-size: .68rem; }
.hud__val { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 1.7vw, 1.75rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hud__val small { font-family: var(--f-mono); font-size: .7rem; font-weight: 400; margin-left: 3px; color: var(--graphite); }
.hud__cell--total { background: var(--soot); color: var(--dust); }
.hud__cell--total .mono, .hud__cell--total small { color: var(--aggregate); }
.hud__cell--total .hud__val { color: var(--hivis); }
.hud__key { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }
.method__note { padding-top: 18px; padding-bottom: var(--sec); color: var(--graphite); max-width: none; }
.no-js-fallback { display: none; }
html:not(.js) .takedown__stage { display: none; }
html:not(.js) .takedown__pin { grid-template-columns: 1fr; min-height: 0; }
@media (max-width: 960px) {
  .takedown__pin { grid-template-columns: 1fr; align-content: start; gap: 14px; padding-top: calc(var(--header-h) + 24px); }
  .takedown__stage { order: -1; }
  .takedown__frame { flex: none; height: 46svh; min-height: 300px; }
  .takedown__hud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hud__cell--total { grid-column: span 3; display: flex; justify-content: space-between; align-items: baseline; }
  .hud__cell:nth-child(4) { display: none; }
  .js .tstep { display: none; padding-left: 52px; }
  .js .tstep.is-active { display: block; border-top: 0; }
  .takedown__steps { min-height: 190px; }
}
@media (max-width: 960px) and (max-height: 700px) { .takedown__frame { height: 40svh; min-height: 240px; } }

/* ---------- standards bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 12px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; }
.tile h3 { font-size: clamp(1.6rem, 2.2vw, 2.3rem); text-transform: uppercase; font-weight: 850; line-height: .95; margin-bottom: 14px; max-width: 16ch; }
.tile p { margin: 0; font-size: .98rem; max-width: 46ch; }
.tile--text { background: var(--plate); color: var(--ink); }
.tile--text::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(22, 23, 24, .045) 0 1px, transparent 1px 32px); pointer-events: none; }
.tile--text > * { position: relative; }
.tile--text p { color: var(--graphite); }
.tile--text .tile__ico { width: 44px; height: 44px; margin-bottom: auto; padding-bottom: 28px; box-sizing: content-box; color: var(--soot); }
.tile--photo { color: var(--dust); justify-content: flex-end; min-height: 320px; background: var(--soot); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-heavy); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 23, 24, .92) 0%, rgba(22, 23, 24, .45) 45%, rgba(22, 23, 24, 0) 75%); }
.tile--photo > :not(img) { position: relative; z-index: 1; }
.tile--photo p { color: rgba(230, 227, 220, .86); }
.tile--hazard { background: var(--hivis); }
.tile--hazard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--soot) 0 12px, var(--hivis) 12px 24px); }
.tile--hazard p { color: var(--ink); }
.tile--hazard .tile__ico { margin-top: 12px; }
.t-a { grid-column: 1 / span 7; grid-row: span 2; }
.t-b { grid-column: 8 / span 5; }
.t-c { grid-column: 8 / span 5; }
.t-d { grid-column: 1 / span 4; }
.t-e { grid-column: 5 / span 8; }
.tile__kv { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.tile__kv span { color: var(--hivis); }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-a { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .t-b, .t-c, .t-d, .t-e { grid-column: auto; }
  .t-e { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: auto; }
}

/* ---------- London band ---------- */
.london { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--dust); background: var(--soot); isolation: isolate; }
.london__media { position: absolute; inset: -12% 0; z-index: -2; }
.london__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.london::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 23, 24, .94) 0%, rgba(22, 23, 24, .55) 38%, rgba(22, 23, 24, .05) 70%); }
.london__inner { padding-bottom: clamp(36px, 5vw, 64px); }
.london__title { font-size: clamp(2.8rem, 6.4vw, 6.6rem); text-transform: uppercase; font-weight: 870; line-height: .9; max-width: 14ch; margin-bottom: 24px; }
.london__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.london__row p { max-width: 50ch; margin: 0; color: rgba(230, 227, 220, .88); }
.areas { margin-top: 36px; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; white-space: nowrap; }
.areas__track { display: inline-flex; padding: 14px 0; color: var(--aggregate); }
.areas__track span { padding-right: 28px; }
.areas__track span b { color: var(--hivis); font-weight: 500; }
@media (max-width: 760px) { .london__row { grid-template-columns: 1fr; } }

/* ---------- clients ---------- */
.clients__list { border-top: 1.5px solid var(--soot); }
.client { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 48px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; isolation: isolate; }
.client::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -.5); z-index: -1; background: var(--hivis); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-heavy); border-radius: 6px; }
.client:hover::before, .client:focus-visible::before { transform: scaleY(1); }
.client h3 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); text-transform: uppercase; font-weight: 850; }
.client p { margin: 0; color: var(--graphite); font-size: .98rem; transition: color .3s; }
.client:hover p { color: var(--ink); }
.client__go { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--soot); border-radius: 50%; transition: transform .55s var(--ease-heavy), background-color .3s; }
.client__go svg { width: 16px; height: 16px; }
.client:hover .client__go { background: var(--soot); color: var(--hivis); transform: rotate(-45deg); }
@media (max-width: 760px) {
  .client { grid-template-columns: 1fr 44px; gap: 8px 16px; }
  .client p { grid-column: 1; grid-row: 2; }
  .client__go { grid-row: 1 / span 2; grid-column: 2; }
}

/* ---------- CTA ---------- */
.talk { position: relative; overflow: hidden; }
.talk__stripe { height: 16px; background: repeating-linear-gradient(-45deg, var(--hivis) 0 16px, var(--soot) 16px 32px); }
.talk__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px 72px; align-items: end; padding-block: clamp(88px, 10vw, 150px); }
.talk__title { font-size: clamp(3rem, 6.8vw, 7rem); text-transform: uppercase; font-weight: 870; line-height: .88; }
.talk__side p { color: rgba(230, 227, 220, .86); max-width: 40ch; }
.talk__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
.talk__mail { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
@media (max-width: 900px) { .talk__inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--soot-2); color: var(--dust); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer__grid h2 { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aggregate); margin-bottom: 16px; line-height: 1.4; }
.footer__grid ul { display: grid; gap: 8px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--hivis); }
.footer__about p { color: var(--aggregate); max-width: 34ch; margin-top: 18px; font-size: .96rem; }
.footer__about .brand__l2 { font-size: 1.6rem; }
.wordmark { display: block; font-family: var(--f-stencil); font-weight: 850; text-transform: uppercase; line-height: .88; letter-spacing: -.005em; color: var(--soot-3); user-select: none; padding-bottom: 8px; }
.wordmark__row { display: block; width: max-content; white-space: nowrap; font-size: clamp(3.6rem, 16vw, 16rem); }
.wordmark__row--b { font-size: clamp(3.6rem, 12vw, 12rem); }
.wordmark span { display: inline-block; transition: color .4s; }
.wordmark span:hover { color: var(--hivis); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px 28px; border-top: 1px solid var(--line-d); color: var(--aggregate); font-size: .84rem; }
.footer__legal p { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- page transition: site hoarding ---------- */
.hoarding { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; visibility: hidden; }
.hoarding__p { position: relative; background: var(--soot-2); border-right: 1px solid #0d0e0f; transform: translateY(-101%); }
.hoarding__p::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: repeating-linear-gradient(-45deg, var(--hivis) 0 14px, var(--soot) 14px 28px); }
.hoarding__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 16px; color: var(--dust); opacity: 0; }
.hoarding__label svg { width: 54px; height: 54px; }
.hoarding__label span { font-family: var(--f-stencil); font-weight: 850; font-size: clamp(1.6rem, 3vw, 2.6rem); text-transform: uppercase; letter-spacing: .04em; line-height: .9; }
html.hoard-in .hoarding { visibility: visible; }
html.hoard-in .hoarding__p { transform: none; }
html.hoard-in .hoarding__label { opacity: 1; }

/* ---------- entrance states while a cover is up (JS animates them in; CSS safety if it never does) ---------- */
html.intro-on [data-hero-title] .ln > span, html.intro-run [data-hero-title] .ln > span, html.hoard-in [data-hero-title] .ln > span { transform: translateY(112%); }
html.intro-on [data-hero-aside], html.intro-run [data-hero-aside], html.hoard-in [data-hero-aside],
html.intro-on [data-hero-facts], html.intro-run [data-hero-facts], html.hoard-in [data-hero-facts] { opacity: 0; }
html.hoard-in [data-hero-title] .ln > span, html.hoard-in [data-hero-aside], html.hoard-in [data-hero-facts] { animation: lcd-unhide 0s 2.6s forwards; }
@keyframes lcd-unhide { to { transform: none; opacity: 1; } }

/* ---------- services page ---------- */
.page-hero { position: relative; color: var(--dust); background: var(--soot); padding-top: calc(var(--header-h) + clamp(80px, 9vw, 130px)); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__title { font-size: clamp(3.2rem, 7.6vw, 8rem); font-weight: 870; text-transform: uppercase; line-height: .87; }
.page-hero__lead { color: rgba(230, 227, 220, .88); }
.page-hero__photo { position: relative; height: clamp(300px, 58vh, 640px); overflow: hidden; }
.page-hero__photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 60%; }
.page-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--soot) 0%, rgba(22, 23, 24, 0) 26%); }
.page-hero__caption { position: absolute; z-index: 1; right: var(--gut); bottom: 18px; color: var(--dust); background: rgba(22, 23, 24, .7); padding: 6px 10px; border-radius: 6px; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } }

.subnav { position: sticky; top: calc(var(--header-h) + 20px); z-index: 20; display: flex; justify-content: center; margin-top: -28px; padding-inline: 12px; pointer-events: none; transition: transform .6s var(--ease-heavy); }
html.hdr-hidden .subnav { transform: translateY(calc(-1 * (var(--header-h) + 8px))); }
.subnav__bar { pointer-events: auto; display: flex; gap: 2px; padding: 5px; background: var(--hivis); border-radius: 12px; overflow-x: auto; scrollbar-width: none; max-width: 100%; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .5); }
.subnav__bar::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 14px; border-radius: 8px; font-family: var(--f-display); font-weight: 750; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--soot); transition: background-color .3s, color .3s; }
.subnav a:hover { background: rgba(22, 23, 24, .1); }
.subnav a.is-active { background: var(--soot); color: var(--hivis); }

.svc { padding-block: clamp(80px, 9vw, 140px); border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.svc__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc--flip .svc__media { order: 2; }
.svc__media { position: sticky; top: 140px; }
.svc__media .photo { aspect-ratio: 4 / 3.2; }
.svc__title { font-size: clamp(2.6rem, 5vw, 5rem); text-transform: uppercase; font-weight: 870; line-height: .9; margin-bottom: 22px; }
.svc__intro { font-size: 1.12em; max-width: 52ch; }
.svc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; margin-top: 36px; }
.svc__cols h3 { font-family: var(--f-mono); font-weight: 500; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; color: var(--graphite); padding-bottom: 10px; border-bottom: 1.5px solid var(--soot); }
.ticks li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px solid var(--line); font-size: .97rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--soot); border-bottom: 2px solid var(--soot); transform: rotate(-45deg); }
.is-dark .ticks li { border-color: var(--line-d); }
.is-dark .ticks li::before { border-color: var(--hivis); }
.svc__note { margin-top: 28px; padding: 16px 18px; background: var(--plate); border-radius: 10px; font-size: .95rem; color: var(--graphite); }
.svc__note b { color: var(--ink); }
@media (max-width: 900px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc--flip .svc__media { order: 0; }
  .svc__media { position: static; }
  .svc__cols { grid-template-columns: 1fr; }
}

/* programme (paperwork Gantt) */
.programme { margin-top: clamp(32px, 4vw, 56px); border-top: 1.5px solid var(--dust); }
.prog__head, .prog__row { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 2.4fr) minmax(0, 5.4fr); gap: 20px; align-items: center; }
.prog__head { padding: 12px 0; color: var(--aggregate); border-bottom: 1px solid var(--line-d); }
.prog__weeks { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.prog__row { padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.prog__row h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.02rem; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.prog__row p { margin: 4px 0 0; color: var(--aggregate); font-size: .9rem; line-height: 1.45; }
.prog__who { color: var(--aggregate); }
.prog__who b { display: block; color: var(--dust); font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 600; }
.prog__track { position: relative; height: 26px; background: repeating-linear-gradient(90deg, rgba(230, 227, 220, .1) 0 1px, transparent 1px calc(100% / 7)); border-radius: 4px; }
.prog__bar { position: absolute; top: 5px; bottom: 5px; left: calc(var(--s) / 7 * 100%); width: calc((var(--e) - var(--s)) / 7 * 100%); background: var(--hivis); border-radius: 3px; transform-origin: 0 50%; }
.prog__bar--soft { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hivis); }
.prog__bar--start { background: var(--dust); }
.prog__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--aggregate); }
.prog__legend i { display: inline-block; width: 22px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: 0; background: var(--hivis); }
.prog__legend i.soft { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hivis); }
.prog__legend i.start { background: var(--dust); }
@media (max-width: 860px) {
  .prog__head { display: none; }
  .prog__row { grid-template-columns: 1fr; gap: 8px; }
  .prog__track { margin-bottom: 18px; }
  .prog__track::before, .prog__track::after { position: absolute; bottom: -18px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .05em; color: var(--aggregate); }
  .prog__track::before { content: "W-6"; left: 0; }
  .prog__track::after { content: "START"; right: 0; }
}

/* kit table */
.kit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.kit__rows { border-top: 1.5px solid var(--soot); }
.kit__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .5fr) minmax(0, 1.4fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.kit__row h3 { font-size: 1.36rem; text-transform: uppercase; font-weight: 800; line-height: 1; }
.kit__row .mono { color: var(--graphite); }
.kit__row p { margin: 0; font-size: .95rem; color: var(--graphite); line-height: 1.45; }
@media (max-width: 900px) { .kit { grid-template-columns: 1fr; } .kit__row { grid-template-columns: 1fr auto; } .kit__row p { grid-column: 1 / -1; } }

/* FAQ */
.faq { border-top: 1.5px solid var(--soot); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 1.8vw, 1.75rem); text-transform: uppercase; line-height: 1.05; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 36px; height: 36px; border: 1.5px solid var(--soot); border-radius: 50%; transition: background-color .3s, transform .5s var(--ease-heavy); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-heavy); }
.faq details[open] summary i { background: var(--hivis); border-color: var(--hivis); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 0 24px; max-width: 70ch; color: var(--graphite); }
.faq__a p:last-child { margin-bottom: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-hero { padding-bottom: 0; }
.contact-hero .page-hero__grid { align-items: end; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(56px, 6vw, 88px); }
.card { position: relative; padding: 24px; border-radius: var(--r); background: var(--soot-2); display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.card .mono { color: var(--aggregate); }
.card__big { font-family: var(--f-display); font-weight: 850; font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1; text-decoration: none; text-transform: uppercase; overflow-wrap: anywhere; }
.card__big--lc { text-transform: none; font-size: clamp(1.25rem, 1.75vw, 1.65rem); font-weight: 800; letter-spacing: 0; }
a.card__big:hover { color: var(--hivis); }
.card p { margin: 0; color: var(--aggregate); font-size: .94rem; }
.card__foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-d); font-size: .86rem; color: var(--dust); text-decoration: none; transition: background-color .3s, border-color .3s, color .3s; }
.chip-btn:hover { background: var(--hivis); border-color: var(--hivis); color: var(--soot); }
.chip-btn svg { width: 14px; height: 14px; }
.card--accent { background: var(--hivis); color: var(--soot); }
.card--accent .mono, .card--accent p { color: rgba(22, 23, 24, .72); }
.card--accent .chip-btn { color: var(--soot); border-color: rgba(22, 23, 24, .3); }
.card--accent .chip-btn:hover { background: var(--soot); color: var(--hivis); border-color: var(--soot); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.quote { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.check), .field legend { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); padding: 0; }
.field > label b { color: var(--signal); font-weight: 500; }
.input { width: 100%; min-height: 52px; padding: 13px 14px; background: #F1EFEA; border: 1.5px solid transparent; border-bottom-color: var(--soot); border-radius: 8px 8px 2px 2px; transition: border-color .3s, background-color .3s; }
.input::placeholder { color: #8b877f; }
.input:hover { background: #F5F3EF; }
.input:focus { outline: none; border-color: var(--soot); background: #fff; box-shadow: 0 0 0 3px var(--hivis); }
textarea.input { min-height: 148px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--soot) 50%), linear-gradient(135deg, var(--soot) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--soot); border-radius: 8px; font-size: .94rem; transition: background-color .3s, color .3s; }
.chip span::before { content: ""; width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; transition: background-color .3s; }
.chip input:checked + span { background: var(--soot); color: var(--dust); }
.chip input:checked + span::before { background: var(--hivis); border-color: var(--hivis); }
.chip input:focus-visible + span { outline: 2px solid var(--soot); outline-offset: 3px; }
.chip:hover span { background: rgba(22, 23, 24, .06); }
.chip input:checked:hover + span { background: var(--soot-3); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--graphite); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--soot); flex: none; }
.field__err { color: var(--signal); font-size: .86rem; min-height: 0; display: none; }
.field.is-invalid .input { border-color: var(--signal); background: #F8EDE9; }
.field.is-invalid .field__err { display: block; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form__actions p { margin: 0; font-size: .88rem; color: var(--graphite); max-width: 44ch; }
.form__status { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 10px; background: var(--soot); color: var(--dust); }
.form__status.is-on { display: block; }
.form__status b { color: var(--hivis); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.aside-box { background: var(--plate); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); position: sticky; top: 120px; }
.aside-box h3 { font-size: 1.7rem; text-transform: uppercase; font-weight: 850; margin-bottom: 14px; }
.aside-box + .aside-box { margin-top: 12px; position: static; }
.next { counter-reset: n; display: grid; gap: 0; }
.next li { position: relative; padding: 12px 0 12px 44px; border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.45; }
.next li::before { counter-increment: n; content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--f-mono); font-size: .76rem; padding: 3px 6px; background: var(--soot); color: var(--hivis); border-radius: 4px; }
.next li b { display: block; }
.quote__aside .ticks { margin-top: 4px; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } .aside-box { position: static; } }

.coverage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.map { position: relative; border-radius: var(--r); background: var(--soot-2); overflow: hidden; }
.map svg { width: 100%; height: auto; }
.map__credit { position: absolute; right: 12px; bottom: 10px; color: var(--aggregate); font-size: .62rem; }
.coverage__list { columns: 2; column-gap: 28px; margin-top: 24px; }
.coverage__list li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 12px; }
.coverage__list li span { color: var(--aggregate); }
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; } }

.registry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin-top: clamp(40px, 5vw, 64px); }
.registry > div { background: var(--dust); padding: 20px 22px; }
.registry dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); margin-bottom: 6px; }
.registry dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .registry { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .registry { grid-template-columns: 1fr; } }

.pc { margin-top: 28px; }
.pc__row { display: flex; gap: 8px; }
.pc__row .input { background: var(--soot-3); color: var(--dust); border-bottom-color: var(--aggregate); max-width: 220px; text-transform: uppercase; }
.pc__row .input::placeholder { color: var(--aggregate); text-transform: none; }
.pc__row .input:focus { background: var(--soot-3); border-color: var(--hivis); box-shadow: none; }
.pc__out { margin: 12px 0 0; min-height: 3em; color: var(--aggregate); font-size: .95rem; }
.pc__out b { color: var(--dust); }
.pc__out.is-yes b { color: var(--hivis); }

/* coverage map (generated by tools/gen-map.mjs) */
.map-boroughs { fill: #252629; stroke: #3b3c3f; stroke-width: 1; stroke-linejoin: round; }
.map-bexley { fill: rgba(255, 194, 14, .13); stroke: rgba(255, 194, 14, .55); stroke-width: 1.2; stroke-linejoin: round; }
.map-outline { fill: none; stroke: var(--dust); stroke-width: 2; stroke-linejoin: round; }
.map-river { fill: none; stroke: #6f8f9a; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.map-ring { fill: none; stroke: var(--aggregate); stroke-width: 1.2; stroke-dasharray: 4 6; }
.map-ringlabel { fill: var(--aggregate); font: 500 12px var(--f-mono); }
.map-city { fill: var(--hivis); stroke: var(--soot); stroke-width: 1; }
.map-pin__dot { fill: var(--hivis); stroke: var(--soot); stroke-width: 2.5; }
.map-pin__pulse { fill: var(--hivis); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.4s var(--ease-out) infinite; }
.map-callout line { stroke: var(--dust); stroke-width: 1.2; }
.map-label { fill: var(--dust); font: 500 14px var(--f-mono); letter-spacing: .06em; }
.map-label--hi { fill: var(--hivis); }
.map-region { fill: rgba(230, 227, 220, .34); font: 500 12px var(--f-mono); letter-spacing: .2em; }
@media (max-width: 700px) {
  .map-label { font-size: 30px; }
  .map-region, .map-ringlabel { font-size: 24px; }
  .map-callout line { stroke-width: 2; }
  .map-pin__dot { r: 10px; }
}
@keyframes pin-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(3.6); opacity: 0; } }

/* ---------- legal pages (privacy, terms) ---------- */
.legal-hero { padding-bottom: clamp(48px, 6vw, 88px); }
.legal-hero .page-hero__grid { padding-bottom: 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; color: var(--aggregate); }
.legal-meta span:first-child { color: var(--hivis); }
.legal { padding-top: clamp(56px, 6vw, 96px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: thin; padding-right: 8px; transition: top .6s var(--ease-heavy); }
html.hdr-hidden .toc { top: 24px; }
.toc__title { color: var(--graphite); margin: 0 0 10px; }
.toc ol + .toc__title { margin-top: 24px; }
.toc ol { list-style: none; counter-reset: t; padding: 0; margin: 0; border-left: 1.5px solid var(--line); }
.toc ol[start="6"] { counter-reset: t 5; }
.toc li { counter-increment: t; }
.toc a { position: relative; display: flex; gap: 12px; padding: 6px 0 6px 16px; font-size: .94rem; line-height: 1.35; text-decoration: none; color: var(--graphite); transition: color .3s; }
.toc a::before { content: counter(t); flex: none; min-width: 1.6em; font-family: var(--f-mono); font-size: .74rem; padding-top: .15em; color: var(--aggregate); }
.toc a::after { content: ""; position: absolute; left: -1.5px; top: 4px; bottom: 4px; width: 3px; background: var(--hivis); transform: scaleY(0); transition: transform .45s var(--ease-heavy); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; }
.toc a.is-active::after { transform: scaleY(1); }
.legal__body { max-width: 74ch; }
.short { background: var(--plate); border-radius: var(--r); padding: clamp(22px, 2.6vw, 34px); margin-bottom: clamp(40px, 4vw, 56px); position: relative; overflow: hidden; }
.short::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--soot) 0 10px, var(--hivis) 10px 20px); }
.short__title { font-size: clamp(1.6rem, 2.2vw, 2.1rem); text-transform: uppercase; margin: 6px 0 14px; }
.short .ticks li { border-color: rgba(22, 23, 24, .12); }
.legal__part { font-size: clamp(2rem, 3.2vw, 3rem); text-transform: uppercase; font-weight: 850; margin: clamp(48px, 5vw, 72px) 0 8px; padding-top: 20px; border-top: 1.5px solid var(--soot); }
.short + .legal__part { margin-top: 0; }
.clause { padding: 28px 0 8px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.clause:last-child { border-bottom: 0; }
.clause h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.5rem, 2vw, 1.95rem); text-transform: uppercase; font-weight: 800; margin-bottom: 16px; }
.clause__n { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 6px; background: var(--soot); color: var(--hivis); font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: 0; transform: translateY(-3px); }
.clause p, .clause li { color: #34342f; }
.clause a { color: var(--ink); text-decoration-color: var(--hivis); text-decoration-thickness: 2px; }
.clause code { font-family: var(--f-mono); font-size: .86em; background: var(--plate); padding: 1px 6px; border-radius: 4px; }
.bullets { margin: 0 0 1em; padding: 0; }
.bullets li { position: relative; padding: 0 0 10px 22px; line-height: 1.6; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--hivis); outline: 1.5px solid var(--soot); transform: rotate(45deg); }
.ltable { margin: 4px 0 20px; border-top: 1.5px solid var(--soot); font-size: .92rem; }
.ltable__row { display: grid; grid-template-columns: 1.1fr 1.5fr 1.3fr 1.2fr 1.1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.ltable__head { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); padding: 10px 0; }
.ltable__row:not(.ltable__head) span:first-child { font-weight: 600; color: var(--ink); }
@media (max-width: 1180px) {
  .ltable__head { display: none; }
  .ltable__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .ltable__row span::before { content: attr(data-h); display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); margin-bottom: 2px; }
  .ltable__row span:first-child { font-size: 1.02rem; }
  .ltable__row span:first-child::before { display: none; }
}
@media (max-width: 960px) {
  .legal__grid { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; overflow: visible; padding: 20px; background: var(--plate); border-radius: var(--r); }
  .toc ol { columns: 2; column-gap: 20px; border-left: 0; }
  .toc li { break-inside: avoid; }
  .toc a { padding-left: 0; }
  .toc a::after { display: none; }
}
@media (max-width: 560px) { .toc ol { columns: 1; } }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__links a { color: var(--dust); text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current="page"] { color: var(--hivis); }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; align-items: center; padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px; }
.lost__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.lost__code { font-family: var(--f-stencil); font-weight: 900; font-size: clamp(8rem, 24vw, 22rem); line-height: .78; color: var(--soot); letter-spacing: -.02em; }
.lost__code span { display: inline-block; }
.lost__code .hi { color: var(--hivis); -webkit-text-stroke: 0; }
.lost h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); text-transform: uppercase; font-weight: 870; margin-bottom: 20px; }
.lost p { max-width: 42ch; color: var(--graphite); }
.lost__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .lost__grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- first-paint covers (removed by JS; CSS safety nets if JS never runs) ---------- */
html.intro-on body::after { content: ""; position: fixed; inset: 0; z-index: 59; background: var(--plate); animation: lcd-safety 0s 3.2s forwards; }
html.hoard-in .hoarding { animation: lcd-safety 0s 2.6s forwards; }
@keyframes lcd-safety { to { visibility: hidden; opacity: 0; } }
