/* =========================================================================
   Bring Colour To Life — "Spectrum"
   Vanilla CSS. Ink on warm paper. A living magenta -> tangerine -> cyan accent.
   Signature gesture: the page begins desaturated and saturates on scroll.
   ========================================================================= */

/* ----- Design tokens ----- */
:root {
  /* Core palette */
  --ink: #14110E;
  --ink-80: #3a342e;
  --ink-55: #6f675d;
  --paper: #FAFAF8;
  --paper-2: #f1f0ea;
  --line: rgba(20, 17, 14, 0.14);

  /* Living accent stops */
  --magenta: #E0218A;
  --tangerine: #F26B1D;
  --gold: #F6C445;
  --teal: #1FB6A6;
  --cyan: #1E9BE6;
  --grape: #7A1E8A;

  /* The signature gradient */
  --spectrum: linear-gradient(
    100deg,
    var(--magenta) 0%,
    var(--tangerine) 34%,
    var(--gold) 52%,
    var(--teal) 74%,
    var(--cyan) 100%
  );

  /* Live accent: starts muted, JS shifts the hue with scroll progress */
  --accent-h: 326;
  --accent: hsl(var(--accent-h) 78% 52%);

  /* Saturation gate (the gesture). 0 = grey, 1 = full colour. */
  --sat: 0;

  /* Type */
  --font-display: "Outfit", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.82rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.08rem + 0.6vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);
  --step-4: clamp(2.8rem, 1.6rem + 6vw, 6.4rem);

  /* Rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --maxw: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain: a faint warm vignette, pure CSS, no images */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(224, 33, 138, 0.05), transparent 60%),
    radial-gradient(120% 90% at 100% 110%, rgba(30, 155, 230, 0.05), transparent 55%);
  /* this faint wash also follows the saturation gate */
  filter: saturate(calc(0.15 + var(--sat) * 0.85));
  transition: filter 0.6s var(--ease);
}

/* ----- Skip link + focus ----- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Scroll-progress hue bar ----- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 120;
  background: var(--paper-2);
}
.progress__fill {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--spectrum);
  background-size: 100vw 100%;
  background-attachment: fixed;
  /* mute the bar until the page has colour */
  filter: saturate(calc(0.2 + var(--sat) * 0.8));
  transition: width 0.08s linear, filter 0.6s var(--ease);
}

/* =========================================================================
   THE SIGNATURE GESTURE
   Anything tagged colour-bearing starts greyscale, then saturates when its
   section is revealed (JS adds .in-view, which lifts --sat to 1).
   ========================================================================= */
.blob,
.card__field,
.service__swatch,
.chip__fill,
.word-colour,
.kicker__dot,
.brand__dots i {
  filter: grayscale(calc(1 - var(--sat))) saturate(calc(0.25 + var(--sat) * 0.75));
  transition: filter 0.9s var(--ease);
}

/* When a section is in view, push its saturation to full */
[data-section].in-view { --sat: 1; }

/* ----- Layout helpers ----- */
.site-head,
.hero__inner,
.manifesto,
.services,
.process,
.work,
.band__grid,
.contact__inner,
.site-foot {
  width: min(100% - var(--gut) * 2, var(--maxw));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

/* ----- Reveal animation ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ----- Brand wordmark ----- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.01em;
}
.brand__word { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; }
.brand__word em { font-style: normal; color: var(--ink-55); }
.brand__dots { display: inline-flex; gap: 4px; }
.brand__dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--magenta);
}
.brand__dots i:nth-child(2) { background: var(--tangerine); }
.brand__dots i:nth-child(3) { background: var(--cyan); }

/* ----- Header ----- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  position: sticky;
  top: 4px;
  z-index: 110;
}
.site-head::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gut) * -1);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.site-head.stuck::before { opacity: 1; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  font-weight: 500;
  font-size: var(--step--1);
}
.site-nav a { position: relative; padding: 0.35rem 0; }
.site-nav a:not(.site-nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--spectrum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:not(.site-nav__cta):hover::after,
.site-nav a:not(.site-nav__cta):focus-visible::after { transform: scaleX(1); }

.site-nav__cta {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.site-nav__cta:hover,
.site-nav__cta:focus-visible { background: var(--ink); color: var(--paper); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--lg { padding: 1rem 1.9rem; font-size: var(--step-0); }
.btn--solid {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.btn--solid::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--spectrum);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 0;
}
.btn--solid > * { position: relative; z-index: 1; }
.btn--solid:hover,
.btn--solid:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20, 17, 14, 0.18); }
.btn--solid:hover::before,
.btn--solid:focus-visible::before { opacity: 1; }
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover,
.btn--ghost:focus-visible { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* ----- Eyebrows / kickers ----- */
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-55);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-55);
  margin-bottom: 0.9rem;
}
.kicker__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--spectrum);
  background-size: 200% 100%;
}
.kicker--light { color: rgba(250, 250, 248, 0.7); }

/* ----- HERO ----- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3rem, 8vh, 7rem) var(--section-y);
  overflow: hidden;
}
.hero__field {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px) grayscale(calc(1 - var(--sat)));
  opacity: 0.55;
  mix-blend-mode: multiply;
}
.blob--a { width: 46vw; height: 46vw; top: -8%; right: -6%; background: radial-gradient(circle, var(--magenta), transparent 68%); animation: float 18s var(--ease) infinite; }
.blob--b { width: 40vw; height: 40vw; bottom: -14%; left: -8%; background: radial-gradient(circle, var(--cyan), transparent 68%); animation: float 22s var(--ease) infinite reverse; }
.blob--c { width: 30vw; height: 30vw; top: 30%; left: 40%; background: radial-gradient(circle, var(--tangerine), transparent 68%); animation: float 26s var(--ease) infinite; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, 6%) scale(1.08); }
  66% { transform: translate(-5%, -3%) scale(0.96); }
}

.hero__inner { max-width: 18ch; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-4);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 1.1rem 0 1.4rem;
  max-width: 16ch;
}
.hero__title .line { display: block; }
.line--paint { color: var(--ink); }
.word-colour {
  background: var(--spectrum);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue-pan 9s linear infinite;
}
@keyframes hue-pan {
  to { background-position: 200% 0; }
}
.hero__sub {
  max-width: 46ch;
  font-size: var(--step-1);
  color: var(--ink-80);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-55);
}
.hero__scroll span { position: relative; padding-bottom: 2.2rem; display: inline-block; }
.hero__scroll span::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 1px; height: 1.6rem;
  background: linear-gradient(var(--ink-55), transparent);
  animation: drop 1.8s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: translateX(-50%) scaleY(0); transform-origin: top; }
  40% { transform: translateX(-50%) scaleY(1); transform-origin: top; }
  60% { transform: translateX(-50%) scaleY(1); transform-origin: bottom; }
  100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; }
}

/* ----- MANIFESTO ----- */
.manifesto { padding-block: var(--section-y); }
.manifesto__line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.manifesto__line::first-line { color: var(--ink); }

/* ----- Section heads ----- */
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 30ch; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-head--row {
  display: flex;
  gap: var(--gut);
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  flex-wrap: wrap;
}
.work__aside {
  max-width: 30ch;
  color: var(--ink-55);
  font-size: var(--step--1);
}

/* ----- SERVICES ----- */
.services { padding-block: var(--section-y); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  position: relative;
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  overflow: hidden;
}
.service__no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--ink-55);
  transition: color 0.4s var(--ease);
}
.service__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  margin: 0.6rem 0 0.7rem;
}
.service p { color: var(--ink-80); font-size: var(--step--1); line-height: 1.55; transition: color 0.4s var(--ease); }
.service__swatch {
  margin-top: auto;
  height: 6px;
  border-radius: 999px;
  width: 3.2rem;
  background: var(--spectrum);
  background-size: 400% 100%;
  background-position: calc(var(--i) * 33%) 0;
  transition: width 0.5s var(--ease);
}
.service:hover { background: var(--ink); color: var(--paper); }
.service:hover .service__no,
.service:hover p { color: rgba(250, 250, 248, 0.78); }
.service:hover .service__swatch { width: 100%; }

/* ----- PROCESS ----- */
.process {
  padding-block: var(--section-y);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 920px) {
  .process { grid-template-columns: 0.85fr 1.15fr; }
}
.process__lead { color: var(--ink-80); max-width: 44ch; margin-bottom: 1.8rem; }
.process__steps { display: grid; gap: 1rem; }
.process__steps li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-80);
}
.process__steps strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
}

/* The palette being built */
.palette {
  background: var(--ink);
  color: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 30px 60px rgba(20, 17, 14, 0.22);
}
.palette__cap {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--step--1);
  font-weight: 600;
  color: rgba(250, 250, 248, 0.6);
  margin-bottom: 1.2rem;
}
.palette__chips { display: grid; gap: 0.7rem; }
.chip { border-radius: 14px; overflow: hidden; }
.chip__btn {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: stretch;
  width: 100%;
  text-align: left;
  background: rgba(250, 250, 248, 0.04);
  border: 1px solid rgba(250, 250, 248, 0.1);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip__btn:hover { transform: translateX(4px); border-color: rgba(250, 250, 248, 0.3); }
.chip__fill {
  background: var(--c);
  /* the build animation: chips grow from a sliver to full width */
  transform-origin: left;
  transition: filter 0.9s var(--ease);
}
.chip__meta {
  display: grid;
  align-content: center;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
}
.chip__name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-0); }
.chip__hex { font-variant-numeric: tabular-nums; color: rgba(250, 250, 248, 0.6); font-size: var(--step--1); letter-spacing: 0.02em; }
.chip__aa {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: 0.2rem;
}
/* colour is never the only signal: glyph + text accompany the state colour */
.chip__aa::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
}
.chip__aa[data-ok] { color: #9ff0c9; }
.chip__aa[data-ok]::before { background: #4fd394; }
.chip__aa[data-warn] { color: #ffd98a; }
.chip__aa[data-warn]::before { background: #f6c445; border-radius: 1px; }
.palette__note {
  margin-top: 1.2rem;
  font-size: var(--step--1);
  color: rgba(250, 250, 248, 0.55);
}
.chip.copied .chip__name::after {
  content: " · copied";
  color: #9ff0c9;
  font-weight: 500;
}

/* When the palette is in view, animate the chip fills building up */
.palette.in .chip__fill { animation: build 0.7s var(--ease) both; }
.palette.in .chip:nth-child(1) .chip__fill { animation-delay: 0.05s; }
.palette.in .chip:nth-child(2) .chip__fill { animation-delay: 0.16s; }
.palette.in .chip:nth-child(3) .chip__fill { animation-delay: 0.27s; }
.palette.in .chip:nth-child(4) .chip__fill { animation-delay: 0.38s; }
.palette.in .chip:nth-child(5) .chip__fill { animation-delay: 0.49s; }
@keyframes build {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ----- WORK ----- */
.work { padding-block: var(--section-y); }
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border: 1px solid var(--line);
}
.card__field {
  position: absolute;
  inset: 0;
  background: var(--g);
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 17, 14, 0.78) 0%, rgba(20, 17, 14, 0.12) 55%, transparent 100%);
}
.card:hover .card__field { transform: scale(1.06); }
.card__body {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--paper);
  display: grid;
  gap: 0.3rem;
}
.card__sector {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(250, 250, 248, 0.82);
}
.card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}
.card__note { font-size: var(--step--1); color: rgba(250, 250, 248, 0.85); max-width: 34ch; }

/* ----- STAT BAND ----- */
.band {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--section-y);
  margin-top: var(--section-y);
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.band__grid > div { border-top: 2px solid rgba(250, 250, 248, 0.16); padding-top: 1.2rem; }
.band dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--spectrum);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(calc(0.2 + var(--sat) * 0.8));
  transition: filter 0.9s var(--ease);
}
.band dd { color: rgba(250, 250, 248, 0.72); font-size: var(--step--1); margin-top: 0.5rem; max-width: 26ch; }

/* ----- CONTACT ----- */
.contact {
  padding-block: var(--section-y);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(224, 33, 138, 0.16), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, rgba(30, 155, 230, 0.16), transparent 55%),
    var(--ink);
  color: var(--paper);
  filter: saturate(calc(0.25 + var(--sat) * 0.75));
  transition: filter 0.9s var(--ease);
}
.contact__inner { max-width: 760px; text-align: center; margin-inline: auto; }
.contact h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0.6rem 0 1rem;
  text-wrap: balance;
}
.contact__lead { color: rgba(250, 250, 248, 0.78); max-width: 50ch; margin: 0 auto 2.2rem; }
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}
.field { display: grid; gap: 0.45rem; margin: 0; }
.field--wide { grid-column: 1 / -1; }
.field--submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  color: rgba(250, 250, 248, 0.85);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--paper);
  background: rgba(250, 250, 248, 0.06);
  border: 1.5px solid rgba(250, 250, 248, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
  resize: vertical;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(250, 250, 248, 0.4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta);
  background: rgba(250, 250, 248, 0.1);
}
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.field input:user-invalid,
.field textarea:user-invalid { border-color: #ff8aa0; }
.form-status { font-size: var(--step--1); font-weight: 500; color: #9ff0c9; }
.form-status[data-error] { color: #ffb3c0; }

/* ----- FOOTER ----- */
.site-foot { padding-block: clamp(3rem, 6vw, 5rem); }
.site-foot__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gut);
  flex-wrap: wrap;
}
.brand--foot .brand__word { font-size: 0.8rem; }
.site-foot__nav { display: flex; gap: clamp(1rem, 3vw, 2rem); font-weight: 500; font-size: var(--step--1); }
.site-foot__nav a { position: relative; }
.site-foot__nav a:hover { color: var(--magenta); }
.site-foot__rule {
  height: 3px;
  margin-block: 2rem;
  background: var(--spectrum);
  background-size: 100% 100%;
  border-radius: 999px;
  filter: saturate(calc(0.2 + var(--sat) * 0.8));
  transition: filter 0.9s var(--ease);
}
.site-foot__btm {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: var(--ink-55);
  font-size: var(--step--1);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 720px) {
  .site-nav a:not(.site-nav__cta):not(.site-nav__cta) { display: none; }
  .site-nav__cta { display: inline-flex; }
  .contact__form { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero__inner { max-width: none; }
}

/* Keep one nav link visible on small screens for orientation */
@media (max-width: 720px) {
  .site-nav a[href="#work"] { display: inline-flex; }
}

/* =========================================================================
   REDUCED MOTION — accessible static fallback.
   Colour is shown at full strength immediately; nothing animates.
   The gesture is described in copy, never lost.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  :root { --sat: 1; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .blob { animation: none; }
  .hero__scroll span::after { animation: none; opacity: 0.4; }
}
