/* graham-hurst.co.uk */

@font-face {
  font-family: 'Asta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/asta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #17171a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f6;
  --muted: #9a9ca1;
  --dim: #80838a;
  --ok: #8fd6a5;
  --bad: #ff8a80;

  --font: "Asta Sans", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(16px, 2.8vw, 40px);
  --max: 1456px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  --step-4: clamp(2.25rem, 1.3rem + 3.2vw, 4.5rem);
  --step-5: clamp(2.5rem, 1.2rem + 4.4vw, 5.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #2b2c30 var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: #f5f5f6; color: #0a0a0b; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2b2c30; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3b40; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; letter-spacing: -0.035em; line-height: 1; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.5s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { background: #ffffff; }
.btn-solid:active { transform: scale(0.98); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 13px; height: 13px; transition: transform 0.5s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; }
.nav-in::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); transition: opacity 0.5s var(--ease); }
.nav.is-scrolled { background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav.is-hidden { transform: translateY(-100%); }
.mark { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; transition: opacity 0.3s var(--ease); }
.mark:hover { opacity: 0.8; }
.mark-svg { display: block; width: 34px; height: 34px; }
@media (max-width: 720px) { .mark-svg { width: 30px; height: 30px; } }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--text); opacity: 0.86; transition: opacity 0.3s; }
.nav-links a:not(.btn):hover { opacity: 1; }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-in { height: 64px; }
}

/* Hero */
.hero { position: relative; height: 100svh; min-height: 680px; max-height: 1100px; overflow: hidden; isolation: isolate; }
.wall {
  position: absolute; inset: 72px 0 0 0; z-index: 0;
  perspective: 1500px; perspective-origin: 62% 42%;
  pointer-events: none;
}
.wall-poster { position: absolute; left: 0; top: 6px; width: 100%; height: calc(100% * 790 / 952); object-fit: cover; object-position: 100% 0; transition: opacity 1.2s var(--ease); }
.wall.is-live .wall-poster { opacity: 0; }
.wall-plane {
  position: absolute; top: 2.5%; right: 2.6%;
  transform-origin: 100% 50%;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry, -34deg)) rotateX(var(--rx, 2deg)) translateZ(0);
  will-change: transform;
}
.wall-track { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: var(--tile-w, 21vw); gap: 1.2vw; direction: rtl; -webkit-box-reflect: below 1.2vw linear-gradient(transparent 62%, rgba(0, 0, 0, 0.2)); }
.tile {
  position: relative; overflow: hidden; border-radius: 3px; background: #15161a; aspect-ratio: 16 / 10; direction: ltr;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateZ(-80px);
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease);
}
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; filter: brightness(0.66) saturate(0.85) contrast(1.05); transition: filter 0.8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 1px 0 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.05); background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 35%), linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, 0.45)); pointer-events: none; }
.wall.is-live .tile { opacity: 1; transform: none; }
.wall-reflect { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.6) 40%, var(--bg)); }
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 11, 0.86) 14%, rgba(10, 10, 11, 0.2) 40%, transparent 60%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 11, 0.75) 22%, transparent 48%),
    radial-gradient(120% 70% at 70% 30%, transparent 40%, rgba(10, 10, 11, 0.5) 100%);
}
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(120px, 15vh, 140px); }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 2.95vw, 3.95rem); max-width: 11.6em; line-height: 0.98; letter-spacing: -0.038em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .line > span { display: block; }
.hero-credit { margin-top: 18px; color: #b9bbbf; font-size: 15px; }
.hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hi-g { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(96px, 11vh, 112px); display: flex; align-items: center; gap: 14px; text-decoration: none; }
.hi-g img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 0.6s var(--ease); }
.hi-g:hover img { transform: scale(1.04); }
.hi-g span { font-weight: 700; font-size: 15px; }
.names { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.names-in { position: relative; height: 64px; display: flex; align-items: center; overflow: hidden; }
.names-in::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line); }
.names ul { list-style: none; padding: 0; display: flex; justify-content: space-between; width: 100%; gap: 32px; }
.names li { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: #7f8288; font-weight: 600; white-space: nowrap; }
@media (max-width: 1100px) {
  .names ul { width: max-content; justify-content: flex-start; gap: 48px; animation: drift 40s linear infinite; }
  .names ul[aria-hidden] { display: flex; }
}
.names ul[aria-hidden] { display: none; padding-left: 48px; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .hero { min-height: 640px; max-height: none; }
  .wall { inset: 64px 0 0 0; perspective-origin: 70% 30%; }
  .wall-plane { top: 0; right: -10%; --tile-w: 44vw; }
  .hero-copy { bottom: 108px; }
  .hi-g { bottom: 112px; gap: 10px; }
  .hi-g img { width: 52px; height: 52px; }
  .hi-g span { font-size: 14px; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 11, 0.9) 38%, rgba(10, 10, 11, 0.1) 70%), linear-gradient(90deg, rgba(10, 10, 11, 0.6), transparent 60%); }
}

/* Statement */
.statement { padding-block: clamp(120px, 16vw, 220px) clamp(96px, 12vw, 160px); }
.statement p.big { font-size: var(--step-4); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; max-width: 21em; }
.js .statement .w { color: #3a3b40; transition: color 0.6s var(--ease); }
.js .statement .w.on { color: var(--text); }
.facts { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts > div { padding: 28px 28px 0 0; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.facts span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 30ch; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts > div { padding-block: 22px; }
}

/* Section headings */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.sec-head h2 { font-size: var(--step-5); }
.sec-head p { color: var(--muted); max-width: 36ch; font-size: 15px; }

/* Work */
.work { padding-block: clamp(48px, 6vw, 80px) clamp(96px, 12vw, 160px); }
.work-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); margin-top: clamp(40px, 5vw, 64px); }
.stage { position: sticky; top: 96px; height: calc(100svh - 128px); max-height: 760px; min-height: 520px; grid-column: 2; grid-row: 1; }
.stage-in { position: relative; height: 100%; }
.shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s; }
.shot.on { opacity: 1; visibility: visible; transition: opacity 0.9s var(--ease), visibility 0s; }
.browser {
  position: absolute; left: 0; top: 0; right: 8%;
  border-radius: 10px; overflow: hidden; background: #1a1b1f;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(16px) scale(0.985); transition: transform 1.2s var(--ease);
}
.shot.on .browser { transform: none; }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1c1d21; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #34353a; }
.browser-bar span { margin-left: 12px; font-size: 11.5px; color: #8b8d92; letter-spacing: 0.01em; background: #24252a; padding: 4px 12px; border-radius: 999px; }
.browser img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: 50% 0; }
.phone {
  position: absolute; right: 0; top: 30%; width: 25%;
  border-radius: 26px; padding: 7px; background: #1c1d21;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(40px); transition: transform 1.4s var(--ease) 0.08s;
}
.shot.on .phone { transform: none; }
.phone img { border-radius: 20px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: 50% 0; }
.shot figcaption { position: absolute; left: 0; bottom: 0; font-size: 13px; color: var(--dim); }

.projects { grid-column: 1; grid-row: 1; list-style: none; padding: 0; }
.project { min-height: 92svh; padding-block: 8svh; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.project:first-child { padding-top: 0; min-height: 84svh; justify-content: flex-start; }
.project:last-child { border-bottom: 0; }
.p-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.p-count { flex: none; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.p-tag { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
.project h3 { font-size: var(--step-3); }
.p-body { margin-top: 28px; display: grid; gap: 20px; }
.p-body h4 { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.p-body p { color: #d7d8db; max-width: 52ch; }
.chain { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; list-style: none; padding: 0; }
.chain li { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.chain li span { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; color: #e3e4e6; }
.chain li + li::before { content: ""; width: 14px; height: 1px; background: var(--line-2); margin-right: 4px; }
.p-foot { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.p-note { font-size: 13px; color: var(--dim); }
.p-media { display: none; }
@media (max-width: 960px) {
  .work-grid { display: block; }
  .stage { display: none; }
  .project, .project:first-child { min-height: 0; padding-block: 48px; }
  .project:first-child { padding-top: 8px; }
  .p-media { display: block; position: relative; margin-top: 28px; padding-bottom: 14%; }
  .p-media .browser { position: relative; right: auto; transform: none; width: 88%; }
  .p-media .phone { top: auto; bottom: 0; width: 28%; transform: none; }
}

/* Results */
.results { padding-block: clamp(96px, 12vw, 160px); background: var(--bg-2); border-block: 1px solid var(--line); }
.res-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.res { background: var(--bg-2); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; min-height: 340px; }
.res.r-a { grid-column: span 7; }
.res.r-b { grid-column: span 5; }
.res.r-c { grid-column: span 5; }
.res.r-d { grid-column: span 7; }
.res .num { font-size: clamp(3.5rem, 2rem + 5vw, 7rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.res .num small { font-size: clamp(14px, 0.32em, 40px); letter-spacing: -0.02em; font-weight: 600; color: var(--muted); margin-left: 0.2em; }
.res blockquote { font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; max-width: 26ch; }
.res p.say { color: var(--muted); max-width: 46ch; }
.res footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.res footer b { font-weight: 600; }
.res footer span { color: var(--dim); }
.res-total { margin-top: 28px; color: var(--muted); font-size: 15px; }
.res-total b { color: var(--text); font-weight: 600; }
@media (max-width: 860px) {
  .res-grid { grid-template-columns: 1fr; }
  .res.r-a, .res.r-b, .res.r-c, .res.r-d { grid-column: auto; min-height: 0; }
}

/* About */
.about { padding-block: clamp(96px, 12vw, 180px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.about-photo { position: sticky; top: 104px; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: #111; }
.about-photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 20%; transform: translateY(var(--py, 0)); will-change: transform; }
.about h2 { font-size: var(--step-5); }
.about-copy { padding-top: clamp(8px, 4vw, 64px); }
.about-copy .lede { margin-top: 32px; font-size: var(--step-2); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.about-copy p + p { margin-top: 18px; }
.about-copy p:not(.lede) { color: #c9cacd; max-width: 56ch; }
.about-sign { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; max-width: 56ch; }
.about-sign a { color: var(--text); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; aspect-ratio: 4 / 4.4; }
}

/* How */
.how { padding-block: clamp(48px, 6vw, 80px) clamp(96px, 12vw, 160px); }
.steps { list-style: none; padding: 0; margin-top: 0; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); padding-block: clamp(28px, 3.5vw, 44px); border-bottom: 1px solid var(--line); align-items: baseline; }
.step h3 { font-size: var(--step-3); }
.step p { color: #c9cacd; max-width: 50ch; font-size: var(--step-1); line-height: 1.5; }
.story { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.story figure { border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; }
.story figure img { width: 100%; height: 100%; object-fit: cover; }
.story blockquote { font-size: var(--step-2); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; max-width: 34ch; }
.story blockquote p + p { margin-top: 16px; }
.story blockquote p:last-child { color: var(--text); }
.story blockquote p:not(:last-child) { color: #a9abb0; }
@media (max-width: 860px) {
  .step, .story { grid-template-columns: 1fr; gap: 12px; }
  .story { gap: 28px; }
}

/* Enquire */
.enquire { padding-block: clamp(96px, 12vw, 160px); background: var(--bg-2); border-top: 1px solid var(--line); }
.enq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.enquire h2 { font-size: var(--step-5); }
.enq-intro p { margin-top: 24px; color: #c9cacd; max-width: 40ch; font-size: var(--step-1); line-height: 1.5; }
.enq-intro ul { margin-top: 32px; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.enq-intro li { display: flex; gap: 12px; align-items: baseline; }
.enq-intro li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--line-2); transform: translateY(-4px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; color: var(--muted); font-weight: 500; padding: 0; }
.field label .opt { color: var(--dim); }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: 8px; border: 1px solid var(--line-2); background: #0d0d0f; color: var(--text);
  font: 400 16px/1.4 var(--font); caret-color: var(--text);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
textarea.input { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.input::placeholder { color: #6f7177; }
.input:hover { border-color: rgba(255, 255, 255, 0.26); }
.input:focus { outline: none; border-color: var(--text); background: #111114; }
.input[aria-invalid="true"] { border-color: var(--bad); }
.err { font-size: 13px; color: var(--bad); min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #d5d6d9; transition: all 0.3s var(--ease); cursor: pointer; }
.chip input:hover + span { border-color: rgba(255, 255, 255, 0.36); }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--dim); font-size: 13px; max-width: 46ch; }
.form-foot small a { color: var(--muted); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.btn .spin { display: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
.btn[aria-busy="true"] .spin { display: inline-block; }
.btn[aria-busy="true"] svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { grid-column: 1 / -1; font-size: 15px; color: var(--bad); }
.form-status:empty { display: none; }
.thanks { display: none; border: 1px solid var(--line-2); border-radius: 10px; padding: clamp(28px, 4vw, 48px); }
.thanks h3 { font-size: var(--step-3); }
.thanks p { margin-top: 14px; color: #c9cacd; max-width: 46ch; }
.enquire.is-sent .form { display: none; }
.enquire.is-sent .thanks { display: block; animation: rise 0.9s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .enq-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* Footer */
.foot { padding-block: 64px 40px; }
.foot-big { font-size: clamp(3rem, 1rem + 9vw, 10.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.85; color: #1f2024; white-space: nowrap; user-select: none; }
.foot-row { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.foot-row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-row a { color: var(--muted); text-decoration: none; }
.foot-row a:hover { color: var(--text); }

/* Reveal: visible by default, JS adds the hidden start state */
.js .rv { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .hero.is-in h1 .line > span { transform: none; }
.js .hero h1 .line:nth-child(2) > span { transition-delay: 0.08s; }
.js .hero h1 .line:nth-child(3) > span { transition-delay: 0.16s; }
.js .hero .fade { opacity: 0; transition: opacity 1.2s var(--ease) 0.45s; }
.js .hero.is-in .fade { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .hero h1 .line > span, .js .hero .fade { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .names ul { animation: none !important; }
  .tile, .shot, .browser, .phone { transition: none !important; }
}
@media (max-width: 640px) {
  .chain li + li::before { display: none; }
  .chain { gap: 8px 6px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 640px) {
  .hero h1 { max-width: 9.5em; }
  .hero h1 .line, .js .hero h1 .line { display: inline; overflow: visible; padding: 0; margin: 0; }
  .hero h1 .line > span, .js .hero h1 .line > span { display: inline; transform: none; }
  .js .hero h1 { opacity: 0; transition: opacity 1.1s var(--ease); }
  .js .hero.is-in h1 { opacity: 1; }
}

/* Cookie banner. Accept and No thanks look the same on purpose: saying no has to be as easy as yes. */
.consent {
  position: fixed; z-index: 90; right: var(--gutter); bottom: var(--gutter);
  width: min(460px, calc(100% - var(--gutter) * 2));
  padding: 20px 22px; border-radius: 10px;
  background: rgba(17, 17, 19, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(12px); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.consent.in { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent p { font-size: 14px; line-height: 1.55; color: #c9cacd; }
.consent a { color: var(--text); }
.consent-btns { display: flex; gap: 8px; margin-top: 16px; }
.consent-btns button {
  flex: 1; height: 42px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--font); color: var(--text); background: transparent; border: 1px solid var(--line-2);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.consent-btns button:hover { border-color: rgba(255, 255, 255, 0.4); }
.foot-row button.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.foot-row button.linklike:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }
