:root {
  --graphite: #202124;
  --cream: #f1ebdd;
  --azure: #3769a6;
  --watermelon: #d85b68;
  --chartreuse: #b8c94a;
  --cyan: #6eb5b2;
  --taupe: #a78e7d;
  --lavender: #aaa4bb;
  --sand: #c6c0b4;
  --pixel: #fbf8f0;
  --ink: #16171a;
  --line: rgba(32, 33, 36, 0.18);
  --line-light: rgba(251, 248, 240, 0.22);
  --font-d: "Afacad Flux", sans-serif;
  --font-b: "Noto Serif", Georgia, serif;
  --font-m: "Cousine", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 0.71, 0.18, 1);
  --t-micro: 180ms;
  --t-cell: 320ms;
  --t-sec: 480ms;
  --t-hero: 700ms;
  --header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--cream);
  font-family: var(--font-b);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--chartreuse);
  color: var(--graphite);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-d);
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.micro {
  font-family: var(--font-m);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.display {
  font-family: var(--font-d);
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header);
  padding: 0.7rem 1.6rem;
  background: var(--pixel);
  border-bottom: 1px solid transparent;
}

.site-head.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.res-mark {
  font-family: var(--font-m);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--azure);
  padding-top: 0.15rem;
}

.brand-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--taupe);
  margin-left: 0.2rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 1.4rem;
  flex-wrap: nowrap;
}

.site-nav a {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}

.cell-mark {
  width: 9px;
  height: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  opacity: 0;
}

.cell-mark i,
.cell-mark::after,
.cell-mark::before {
  content: "";
  background: transparent;
}

.site-nav a[aria-current="page"] .cell-mark,
.site-nav a:hover .cell-mark,
.site-nav a:focus-visible .cell-mark {
  opacity: 1;
}

.site-nav a[aria-current="page"] .cell-mark i {
  background: var(--watermelon);
}

.site-nav a:hover .cell-mark::before,
.site-nav a:focus-visible .cell-mark::before {
  background: var(--chartreuse);
}

.cell-mark {
  position: relative;
}

.cell-mark i {
  grid-column: 1;
  grid-row: 1;
}

.cell-mark::before {
  position: absolute;
  width: 4px;
  height: 4px;
  right: 0;
  top: 0;
}

.site-head .btn {
  margin-left: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  font-family: var(--font-d);
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
}

.lowres-menu {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 35;
  display: grid;
  grid-template-rows: 1.15fr 1.6fr 0.7fr;
  background: var(--cream);
}

.lowres-menu[hidden] {
  display: none;
}

.lm-azure,
.lm-cream,
.lm-melon-wrap {
  padding: 1.5rem 1.4rem;
}

.lm-azure {
  background: var(--azure);
  color: var(--pixel);
  display: flex;
  align-items: flex-end;
}

.lm-azure p {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 12ch;
}

.lm-cream {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

.lm-cream a {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  width: fit-content;
}

.lm-melon-wrap {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 38%;
  padding: 0;
}

.lm-cta {
  display: flex;
  align-items: center;
  padding: 1rem 1.4rem;
}

.lm-melon {
  background: var(--watermelon);
}

body.menu-open {
  overflow: hidden;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem 0.55rem 0.9rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  width: fit-content;
  transition: background var(--t-micro) var(--ease), color var(--t-micro) var(--ease);
}

.btn .sq {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: currentColor;
  transition: box-shadow var(--t-micro) var(--ease), background var(--t-micro) var(--ease), transform var(--t-micro) var(--ease);
}

.btn:hover .sq,
.btn:focus-visible .sq {
  background: transparent;
  box-shadow:
    -3px -3px 0 0 currentColor,
    3px -3px 0 0 currentColor,
    -3px 3px 0 0 currentColor,
    3px 3px 0 0 currentColor;
}

.btn-chartreuse {
  background: var(--chartreuse);
  color: var(--graphite);
}

.btn-azure {
  background: var(--azure);
  color: var(--pixel);
}

.btn-melon {
  background: var(--watermelon);
  color: var(--pixel);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link .sq {
  width: 7px;
  height: 7px;
  background: var(--azure);
  transition: background var(--t-micro) var(--ease);
}

.text-link:hover .sq,
.text-link:focus-visible .sq {
  background: var(--watermelon);
}

/* ---------- hero ---------- */

.hero {
  background: var(--cream);
  padding: 0.7rem 0.7rem 1.1rem;
  min-height: calc(100vh - var(--header));
  position: relative;
}

.hero-field {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 0.95fr 0.82fr;
  grid-template-rows: minmax(22vh, 1fr) minmax(28vh, 1.25fr) minmax(18vh, 0.9fr);
  gap: 0.55rem;
  min-height: calc(100vh - var(--header) - 1.8rem);
}

.hero-h {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: var(--pixel);
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 1.5rem 1.8rem;
  opacity: 0;
  transform: translateY(10px);
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.55rem);
  font-weight: 600;
  max-width: 11ch;
  letter-spacing: -0.045em;
}

.hero-empty {
  grid-column: 2;
  grid-row: 1;
}

.hero-frag {
  overflow: hidden;
  background: var(--sand);
  opacity: 0;
  transform: translate(6px, 4px);
}

.hero-frag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-frag-a {
  grid-column: 3;
  grid-row: 1;
  transform: translate(-7px, 3px);
}

.hero-frag-a img {
  object-position: 20% 70%;
}

.hero-swatch {
  grid-column: 4;
  grid-row: 1;
  background: var(--azure);
  opacity: 0;
}

.hero-frag-b {
  grid-column: 2;
  grid-row: 2;
  transform: translate(4px, -6px);
}

.hero-frag-b img {
  object-position: 80% 45%;
}

.hero-frag-c {
  grid-column: 3 / span 2;
  grid-row: 2;
  transform: translate(-5px, 5px);
}

.hero-frag-c img {
  object-position: 62% 18%;
}

.hero-copy {
  grid-column: 1;
  grid-row: 3;
  max-width: 36ch;
  align-self: end;
  padding: 0.4rem 0.6rem 0.2rem;
  font-size: 1.02rem;
  line-height: 1.55;
  opacity: 0;
}

.hero-gap {
  grid-column: 2;
  grid-row: 3;
}

.hero-frag-d {
  grid-column: 3;
  grid-row: 3;
  transform: translate(3px, 6px);
}

.hero-frag-d img {
  object-position: 8% 88%;
}

.hero-cta {
  grid-column: 4;
  grid-row: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.4rem;
  opacity: 0;
}

.hero.is-live .hero-frag-a {
  opacity: 1;
  transform: translate(6px, 4px);
  transition: opacity var(--t-hero) var(--ease), transform var(--t-hero) var(--ease);
  transition-delay: 80ms;
}

.hero.is-live .hero-frag-b,
.hero.is-live .hero-frag-c,
.hero.is-live .hero-frag-d,
.hero.is-live .hero-swatch {
  opacity: 1;
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}

.hero.is-live .hero-frag-b { transition-delay: 220ms; }
.hero.is-live .hero-frag-c { transition-delay: 300ms; }
.hero.is-live .hero-frag-d { transition-delay: 360ms; }
.hero.is-live .hero-swatch { transition-delay: 260ms; }

.hero.is-live .hero-h {
  opacity: 1;
  transform: none;
  transition: opacity 580ms var(--ease), transform 580ms var(--ease);
  transition-delay: 420ms;
}

.hero.is-aligned .hero-frag {
  transform: none;
}

.hero.is-copy .hero-copy {
  opacity: 1;
  transition: opacity 420ms var(--ease);
}

.hero.is-cta .hero-cta {
  opacity: 1;
  transition: opacity 380ms var(--ease);
}

body:not(.js) .hero-h,
body:not(.js) .hero-frag,
body:not(.js) .hero-swatch,
body:not(.js) .hero-copy,
body:not(.js) .hero-cta {
  opacity: 1;
  transform: none;
}

/* ---------- shared section rhythm ---------- */

.band {
  position: relative;
}

.band-pixel { background: var(--pixel); color: var(--graphite); }
.band-cream { background: var(--cream); color: var(--graphite); }
.band-graphite { background: var(--graphite); color: var(--pixel); }
.band-azure { background: var(--azure); color: var(--pixel); }
.band-melon { background: var(--watermelon); color: var(--pixel); }
.band-chartreuse { background: var(--chartreuse); color: var(--graphite); }
.band-lavender { background: var(--lavender); color: var(--graphite); }
.band-cyan { background: var(--cyan); color: var(--graphite); }

[data-populate] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-sec) var(--ease), transform var(--t-sec) var(--ease);
}

[data-populate].is-in {
  opacity: 1;
  transform: none;
}

[data-populate][data-delay="2"] { transition-delay: 80ms; }
[data-populate][data-delay="3"] { transition-delay: 140ms; }
[data-populate][data-delay="4"] { transition-delay: 200ms; }

/* 02 full resolution */

.full-res {
  padding: 8.5rem 8vw 7rem;
}

.full-res-inner {
  width: min(58%, 42rem);
}

.full-res h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  max-width: 18ch;
  margin-bottom: 1.4rem;
}

.full-res p {
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 2.6rem;
}

.full-res figure {
  margin: 0;
  width: min(78vw, 68rem);
}

.full-res img {
  width: 100%;
  height: min(58vh, 32rem);
  object-fit: cover;
}

/* 03 six samples */

.six {
  min-height: 92vh;
  padding: 4rem 5vw 5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 1.2rem 1rem;
  align-items: start;
}

.six-a {
  grid-column: 1 / span 3;
  grid-row: 1;
  font-size: 1.02rem;
  max-width: 22ch;
  padding-top: 1.5rem;
}

.six-b {
  grid-column: 8 / span 4;
  grid-row: 1 / span 2;
}

.six-b img {
  width: 100%;
  height: 52vh;
  object-fit: cover;
  object-position: 50% 40%;
}

.six-c {
  grid-column: 5 / span 2;
  grid-row: 2;
  background: var(--azure);
  min-height: 28vh;
  margin-top: 8vh;
}

.six-d {
  grid-column: 1 / span 3;
  grid-row: 3;
  color: var(--taupe);
  padding-top: 3rem;
}

.six-e {
  grid-column: 4 / span 6;
  grid-row: 3;
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 16ch;
  padding-top: 1rem;
}

.six-f {
  grid-column: 11 / span 2;
  grid-row: 4;
  min-height: 18vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: var(--taupe);
}

/* 04 primary low */

.primary-low {
  min-height: 78vh;
  padding: 5rem 5vw 4.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem 3vw;
  align-items: end;
}

.primary-low h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  max-width: 10ch;
  font-weight: 600;
}

.primary-low .lede {
  margin-top: 1.4rem;
  max-width: 36ch;
  font-size: 1.15rem;
}

.coarse-blocks {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  grid-template-rows: 1fr 0.7fr;
  gap: 0.55rem;
  min-height: 52vh;
}

.coarse-blocks figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.coarse-blocks img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
}

.coarse-a { grid-column: 1; grid-row: 1 / span 2; }
.coarse-a img { object-position: 30% 40%; }
.coarse-b img { object-position: 80% 20%; }
.coarse-c img { object-position: 70% 80%; }

.coarse-b,
.coarse-c {
  min-height: 18vh;
}

/* 05 primary resolve */

.primary-resolve {
  padding: 6.5rem 6vw 5rem;
}

.primary-resolve .frame {
  width: min(70%, 52rem);
  margin-left: 8%;
}

.primary-resolve h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin: 0 0 1.2rem;
  max-width: 16ch;
}

.primary-resolve .body {
  font-size: 1.12rem;
  margin-bottom: 1.6rem;
}

.approach,
.outputs {
  margin-bottom: 1.5rem;
}

.approach h3,
.outputs h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.outputs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  font-size: 1rem;
}

.outputs li {
  position: relative;
  padding-left: 0.8rem;
}

.outputs li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--azure);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.primary-resolve .wide {
  margin: 3.2rem 0 0;
  width: min(92vw, 78rem);
}

.primary-resolve .wide img {
  width: 100%;
  height: min(56vh, 34rem);
  object-fit: cover;
  object-position: 50% 70%;
}

.samples-row {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.samples-row span {
  width: 1.7rem;
  height: 1.7rem;
}

.sw-a { background: #2a4f7a; }
.sw-b { background: #d9e3ea; }
.sw-c { background: #8aa0b5; }
.sw-d { background: #f4efe4; }
.sw-e { background: #c16b6a; }

.primary-resolve .cta-row {
  margin-top: 2rem;
}

/* 06 structure */

.structure {
  padding: 4.5rem 5vw 5.5rem;
}

.structure-field {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem 3.2rem;
  align-items: flex-start;
}

.st {
  width: 16%;
  min-width: 9.5rem;
}

.st:nth-child(2) { width: 22%; }
.st:nth-child(3) { width: 18%; margin-top: 3.5rem; }
.st:nth-child(4) { width: 28%; }
.st:nth-child(5) { width: 20%; margin-top: 2rem; }
.st:nth-child(6) { width: 15%; }
.st:nth-child(7) { width: 24%; margin-left: 8%; }
.st:nth-child(8) { width: 19%; margin-top: 1.2rem; }

.st h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.st p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3c3d42;
}

.st .micro {
  color: var(--azure);
  display: block;
  margin-bottom: 0.45rem;
}

/* 07 dropped */

.dropped {
  min-height: 52vh;
  padding: 4rem 6vw;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
  align-items: stretch;
}

.ghost {
  border: 1px solid var(--line-light);
  min-height: 7rem;
}

.ghost:nth-child(1) { grid-column: 2 / span 1; }
.ghost:nth-child(2) { grid-column: 5 / span 1; grid-row: 1; }
.ghost:nth-child(3) { grid-column: 8 / span 1; }
.ghost:nth-child(4) { grid-column: 3 / span 1; grid-row: 2; }
.ghost:nth-child(5) { grid-column: 6 / span 2; grid-row: 2; border-color: transparent; display: flex; align-items: center; }
.ghost:nth-child(6) { grid-column: 10; grid-row: 2; }

.dropped p {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

/* 08 variable services */

.var-services {
  padding: 5rem 5vw 6rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.2rem 1.4rem;
}

.svc-a {
  grid-column: 1 / span 3;
  padding-top: 1rem;
}

.svc-a h2,
.svc-b h2,
.svc-c h2,
.svc-d h2,
.svc-e h2 {
  font-size: 1.55rem;
  margin-bottom: 0.7rem;
}

.svc-a p {
  font-size: 1rem;
  max-width: 22ch;
}

.svc-b {
  grid-column: 5 / span 8;
}

.svc-b img {
  width: 100%;
  height: 38vh;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: saturate(0.85);
  transition: filter var(--t-cell) var(--ease);
}

.svc-b.is-sharp img,
.svc-d.is-sharp img {
  filter: saturate(1) contrast(1.04);
}

.svc-b p {
  max-width: 46ch;
}

.svc-c {
  grid-column: 1 / span 5;
  margin-top: 1.5rem;
}

.svc-c h2 {
  font-size: 1.4rem;
}

.svc-c ul {
  margin-top: 0.8rem;
}

.svc-c li {
  font-size: 0.98rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--line);
  max-width: 34ch;
}

.svc-d {
  grid-column: 8 / span 5;
  margin-top: 2.5rem;
}

.svc-d img {
  width: 100%;
  height: 22vh;
  object-fit: cover;
  margin-bottom: 0.6rem;
  filter: saturate(0.8);
  transition: filter var(--t-cell) var(--ease);
}

.svc-d h2 {
  font-size: 1.15rem;
}

.svc-d p {
  font-size: 0.95rem;
  max-width: 28ch;
}

.svc-e {
  grid-column: 3 / span 6;
  background: var(--cyan);
  color: var(--graphite);
  padding: 2.4rem 2rem;
  min-height: 28vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 1rem;
}

.svc-e h2 {
  font-size: 1.7rem;
  max-width: 12ch;
}

.svc-e p {
  margin-top: 0.7rem;
  max-width: 32ch;
}

.svc-extra {
  display: none;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  color: #4a4b50;
}

.svc-a:hover .svc-extra,
.svc-a:focus-within .svc-extra {
  display: block;
}

/* 09 colour break */

.bit-break {
  min-height: 38vh;
  padding: 3.5rem 6vw;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.bit-break p {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 14ch;
}

.tiny-sq {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.tiny-sq i {
  width: 12px;
  height: 12px;
  display: block;
}

.tiny-sq i:nth-child(1) { background: var(--chartreuse); }
.tiny-sq i:nth-child(2) { background: var(--pixel); }
.tiny-sq i:nth-child(3) { background: var(--graphite); }

/* 10 case thumb */

.case-thumb {
  min-height: 72vh;
  padding: 8rem 8vw 5rem;
}

.case-thumb .kicker {
  margin-bottom: 3.5rem;
  color: var(--taupe);
}

.case-thumb h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 16ch;
  margin-bottom: 1.4rem;
}

.case-thumb img {
  width: 11rem;
  height: 8.2rem;
  object-fit: cover;
  margin-bottom: 1.3rem;
}

.case-thumb p {
  max-width: 34ch;
  font-size: 1.05rem;
}

/* 11 case full */

.case-full {
  padding: 0 0 5rem;
}

.case-full img {
  width: 100%;
  height: min(72vh, 44rem);
  object-fit: cover;
}

.case-full-copy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 2rem;
  padding: 2.8rem 6vw 0;
}

.case-full-copy h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.case-full-copy p {
  font-size: 1.02rem;
}

/* 12 case data */

.case-data {
  padding: 2rem 6vw 6rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr 1fr;
  gap: 2.5rem 2rem;
}

.datum {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.datum h3 {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.datum p {
  font-size: 0.95rem;
}

.datum:nth-child(2) { margin-top: 2.5rem; }
.datum:nth-child(3) { margin-top: 0.5rem; }
.datum:nth-child(4) { margin-top: 3rem; }

/* 13 other cases */

.other-cases {
  padding: 5rem 5vw 4rem;
  min-height: 70vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 1rem;
}

.oc {
  min-width: 0;
}

.oc h3 {
  font-size: 1.15rem;
  margin: 0.55rem 0 0.35rem;
}

.oc p {
  font-size: 0.95rem;
  max-width: 24ch;
}

.oc img {
  object-fit: cover;
}

.oc-1 {
  grid-column: 1 / span 3;
  padding-top: 6vh;
}

.oc-1 img { width: 7.5rem; height: 7.5rem; }

.oc-2 {
  grid-column: 6 / span 4;
}

.oc-2 img { width: 100%; height: 18vh; }

.oc-3 {
  grid-column: 2 / span 4;
  margin-top: 4vh;
}

.oc-3 img { width: 100%; height: 9vh; }

.oc-4 {
  grid-column: 9 / span 3;
  margin-top: 8vh;
}

.oc-4 img { width: 5.5rem; height: 8rem; }

/* 14 full signal case */

.signal-case {
  padding: 7rem 8vw;
}

.signal-case-inner {
  width: min(62%, 46rem);
}

.signal-case h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.2rem;
  max-width: 16ch;
}

.signal-case p {
  margin-bottom: 1.1rem;
}

.signal-case img {
  width: min(80vw, 64rem);
  height: min(52vh, 30rem);
  object-fit: cover;
  margin-top: 2.4rem;
}

/* 15 buffer */

.buffer {
  min-height: 60vh;
  padding: 5rem 7vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.buffer p {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 22ch;
}

.buffer .ref {
  color: var(--graphite);
  opacity: 0.7;
}

/* 16 process */

.process {
  padding: 6rem 6vw 5rem;
}

.process-intro {
  width: min(48%, 34rem);
  margin-bottom: 3.4rem;
}

.process-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
}

.passes {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.7fr;
  gap: 2.4rem 3vw;
}

.pass {
  position: relative;
}

.pass h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pass p {
  font-size: 1rem;
}

.pass-1 { grid-column: 1; }
.pass-2 { grid-column: 2; margin-top: 2.5rem; }
.pass-3 { grid-column: 3; margin-top: 7rem; font-size: 0.95rem; }
.pass-3 h3 { font-size: 1.05rem; }
.pass-4 { grid-column: 1 / span 2; margin-top: 1.2rem; }
.pass-4 p { max-width: 58ch; }
.pass-5 { grid-column: 1 / span 2; }
.pass-5 ul { margin-top: 0.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1.4rem; font-size: 0.95rem; }
.pass-5 li { padding-left: 0.75rem; position: relative; }
.pass-5 li::before { content: ""; width: 6px; height: 6px; background: var(--cyan); position: absolute; left: 0; top: 0.5em; }
.pass-6 { grid-column: 3; align-self: end; }

.cell-dots {
  display: flex;
  gap: 0.28rem;
  margin-bottom: 0.55rem;
  opacity: 0;
  transform: scale(0.7);
  transform-origin: left center;
}

.is-in .cell-dots {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-cell) var(--ease), transform var(--t-cell) var(--ease);
}

.cell-dots i {
  width: 8px;
  height: 8px;
  background: var(--azure);
  display: block;
}

.cell-dots i:nth-child(2) { background: var(--watermelon); opacity: 0.35; }
.cell-dots i:nth-child(3) { background: var(--chartreuse); opacity: 0.45; }

/* 17 high density */

.dense {
  padding: 5.5rem 7vw 6rem;
}

.dense-grid {
  width: min(82%, 62rem);
  margin-left: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 3rem;
}

.dense-grid article {
  font-size: 0.98rem;
}

.dense-grid h3 {
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--azure);
}

.dense-grid p + p {
  margin-top: 0.7rem;
}

.dense-grid article:nth-child(3) {
  grid-column: 1 / span 2;
  max-width: 68ch;
}

.dense-grid article:nth-child(5) {
  grid-column: 2;
}

/* 18 reset */

.hard-reset {
  min-height: 42vh;
  display: flex;
  align-items: center;
  padding: 4rem 7vw;
}

.hard-reset p {
  font-family: var(--font-d);
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 12ch;
}

/* 19 company low */

.co-low {
  min-height: 78vh;
  padding: 8rem 8vw 4rem;
}

.co-low h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.co-low .one {
  max-width: 34ch;
  margin-bottom: 3.5rem;
}

.co-low img {
  width: 22rem;
  height: 14rem;
  object-fit: cover;
}

/* 20 company resolved */

.co-res {
  padding: 4rem 8vw 5.5rem;
}

.co-res-copy {
  width: min(64%, 46rem);
}

.co-res h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.co-res p {
  margin-bottom: 1.05rem;
}

.co-res img {
  width: min(86vw, 70rem);
  height: min(48vh, 28rem);
  object-fit: cover;
  margin-top: 2.8rem;
}

/* 21 data cells */

.co-data {
  padding: 1rem 8vw 6rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 1.2rem;
}

.co-data div {
  min-width: 0;
}

.co-data h3 {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--azure);
  margin-bottom: 0.4rem;
}

.co-data p,
.co-data a {
  font-size: 0.98rem;
}

.cd-1 { grid-column: 1 / span 3; }
.cd-2 { grid-column: 5 / span 3; margin-top: 3rem; }
.cd-3 { grid-column: 9 / span 3; }
.cd-4 { grid-column: 2 / span 4; margin-top: 1rem; }
.cd-5 { grid-column: 8 / span 4; margin-top: 2rem; }

/* 22 resolution drop */

.res-drop {
  min-height: 58vh;
  padding: 5.5rem 7vw;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.res-drop p {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--watermelon);
  letter-spacing: -0.04em;
  line-height: 1.06;
  max-width: 14ch;
}

.fade-cells {
  display: grid;
  grid-template-columns: repeat(4, 1.4rem);
  gap: 0.45rem;
  justify-content: end;
}

.fade-cells i {
  width: 1.4rem;
  height: 1.4rem;
  background: var(--sand);
  opacity: 0.55;
  transition: opacity 420ms var(--ease);
}

.res-drop.is-cleared .fade-cells i:nth-child(1) { opacity: 0; transition-delay: 40ms; }
.res-drop.is-cleared .fade-cells i:nth-child(2) { opacity: 0; transition-delay: 120ms; }
.res-drop.is-cleared .fade-cells i:nth-child(4) { opacity: 0; transition-delay: 200ms; }
.res-drop.is-cleared .fade-cells i:nth-child(5) { opacity: 0; transition-delay: 280ms; }
.res-drop.is-cleared .fade-cells i:nth-child(6) { opacity: 0; transition-delay: 340ms; }
.res-drop.is-cleared .fade-cells i:nth-child(8) { opacity: 0; transition-delay: 400ms; }
.res-drop.is-cleared .fade-cells i:nth-child(3),
.res-drop.is-cleared .fade-cells i:nth-child(7) {
  opacity: 0.2;
}

/* 23 capabilities */

.caps {
  padding: 5.5rem 6vw 5rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.8rem 1.2rem;
  align-items: start;
}

.cap {
  min-width: 0;
}

.cap h3 {
  font-weight: 600;
}

.cap-lg {
  grid-column: 1 / span 5;
  font-size: 2rem;
}

.cap-lg h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 12ch; }

.cap-sm {
  grid-column: 8 / span 4;
  margin-top: 3rem;
}

.cap-sm h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.cap-sm p { font-size: 0.95rem; }

.cap-txt {
  grid-column: 2 / span 3;
  font-size: 1.05rem;
}

.cap-txt h3 { font-size: 1.15rem; }

.cap-color {
  grid-column: 6 / span 4;
  background: var(--azure);
  color: var(--pixel);
  padding: 1.4rem 1.2rem;
  min-height: 8rem;
  display: flex;
  align-items: flex-end;
}

.cap-color h3 { font-size: 1.2rem; }

.cap-mid { grid-column: 1 / span 3; }
.cap-mid h3 { font-size: 1.2rem; }

.cap-quiet { grid-column: 5 / span 3; margin-top: 1.5rem; }
.cap-quiet h3 { font-size: 1.05rem; font-weight: 500; }

.cap-last { grid-column: 9 / span 3; }
.cap-last h3 { font-size: 1.15rem; }

.cap-wide { grid-column: 3 / span 6; }
.cap-wide h3 { font-size: 1.35rem; }
.cap-wide p { font-size: 0.98rem; max-width: 42ch; margin-top: 0.3rem; }

/* 24 marquee */

.marquee-wrap {
  padding: 2.5rem 0 2.2rem;
  overflow: hidden;
  background: var(--pixel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mq {
  display: flex;
  width: max-content;
  gap: 1.2rem;
  will-change: transform;
}

.mq-top {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  animation: mq-left 42s linear infinite;
  margin-bottom: 0.9rem;
}

.mq-low {
  font-family: var(--font-m);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  animation: mq-right 38s linear infinite;
}

.mq span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.mq b {
  width: 10px;
  height: 10px;
  display: inline-block;
  flex: 0 0 10px;
}

.mq b.a { background: var(--azure); }
.mq b.w { background: var(--watermelon); }
.mq b.c { background: var(--chartreuse); }
.mq b.y { background: var(--cyan); }

@keyframes mq-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes mq-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* 25 clean frame */

.clean-frame {
  padding: 0;
}

.clean-frame img {
  width: 100%;
  height: min(78vh, 48rem);
  object-fit: cover;
  object-position: 50% 35%;
}

.clean-frame figcaption {
  padding: 0.8rem 6vw 2.5rem;
  color: var(--taupe);
}

/* 26 final */

.final {
  min-height: 78vh;
  padding: 6.5rem 6vw 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  grid-template-rows: 1fr auto;
  gap: 2rem;
}

.final h2 {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  max-width: 12ch;
  color: var(--pixel);
  align-self: start;
}

.final .final-body {
  grid-column: 2;
  grid-row: 2;
  max-width: 36ch;
  font-size: 1.08rem;
  color: var(--sand);
  align-self: end;
}

.final .btn {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: end;
}

/* 27 contact data */

.contact-strip {
  padding: 2.4rem 6vw 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--pixel);
}

.contact-strip h3 {
  font-family: var(--font-m);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.4rem;
}

.contact-strip p,
.contact-strip a {
  font-size: 0.98rem;
}

/* footer */

.site-foot {
  background: var(--graphite);
  color: var(--cream);
  padding: 1.3rem 1.6rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem 1.6rem;
  align-items: center;
  font-size: 0.82rem;
}

.site-foot nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-foot a:hover {
  color: var(--chartreuse);
}

.foot-mark {
  width: 7px;
  height: 7px;
  background: var(--chartreuse);
  justify-self: end;
}

.foot-legal {
  display: flex;
  gap: 1rem;
}

.foot-copy {
  color: var(--sand);
}

/* ---------- inner pages ---------- */

.page-hero {
  padding: 5.5rem 7vw 3rem;
  background: var(--pixel);
}

.page-hero .micro {
  color: var(--azure);
  display: block;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  max-width: 14ch;
}

.page-hero p {
  margin-top: 1.1rem;
  max-width: 42ch;
}

/* services chapters */

.ch {
  padding: 5rem 6vw;
}

.ch h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 0.9rem;
}

.ch-api {
  background: var(--cream);
}

.ch-api .copy {
  width: min(52%, 38rem);
  margin-left: 12%;
}

.ch-api p { margin-bottom: 1rem; }
.ch-api ul { margin: 1rem 0 1.6rem; }
.ch-api li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); max-width: 42ch; }

.ch-ecom {
  background: var(--pixel);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 78vh;
}

.ch-ecom img {
  width: 100%;
  height: min(62vh, 36rem);
  object-fit: cover;
}

.ch-ecom .copy { max-width: 36ch; }

.ch-build {
  background: var(--graphite);
  color: var(--pixel);
  min-height: 70vh;
}

.ch-build .copy { width: min(70%, 54rem); }
.ch-build h2 { color: var(--chartreuse); }

.build-caps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.6rem 2rem;
  margin-top: 2rem;
}

.build-caps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.build-caps p { font-size: 0.95rem; color: var(--sand); }

.ch-pay {
  background: var(--cyan);
  min-height: 82vh;
}

.ch-pay .copy { width: min(48%, 36rem); margin-bottom: 2.4rem; }

.pay-steps {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.8fr 1.1fr;
  gap: 1.4rem;
}

.pay-steps article {
  background: rgba(251, 248, 240, 0.35);
  padding: 1.1rem 1rem;
}

.pay-steps h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.pay-steps p { font-size: 0.92rem; }
.pay-steps article:nth-child(2) { margin-top: 2.4rem; }
.pay-steps article:nth-child(3) { margin-top: 5rem; padding: 0.8rem; }
.pay-steps article:nth-child(4) { margin-top: 1rem; }

.ch-consult {
  background: var(--pixel);
  min-height: 62vh;
  padding: 8rem 8vw;
}

.ch-consult .copy {
  width: min(44%, 34rem);
}

.ch-consult h2 { margin-bottom: 1rem; }

/* about */

.about-def {
  padding: 4rem 8vw 3rem;
  width: min(58%, 44rem);
}

.about-def p { font-size: 1.2rem; line-height: 1.7; }

.about-ctx {
  padding: 2rem 8vw 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.about-ctx img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.about-ctx h2 { margin-bottom: 1rem; font-size: 1.8rem; }
.about-ctx p { margin-bottom: 0.9rem; }

.about-approach {
  background: var(--cream);
  padding: 5rem 8vw;
}

.about-approach h2 { margin-bottom: 1.4rem; }
.about-approach .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  width: min(80%, 58rem);
}

.about-principles {
  background: var(--pixel);
  padding: 4.5rem 8vw 5rem;
}

.about-principles h2 { margin-bottom: 1.6rem; }
.pr-list {
  width: min(70%, 50rem);
}
.pr-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.2rem;
  font-size: 1.02rem;
}
.pr-list strong {
  font-family: var(--font-d);
  font-weight: 600;
}

.about-env {
  background: var(--lavender);
  padding: 4rem 8vw;
  min-height: 36vh;
}
.about-env p {
  max-width: 46ch;
  font-size: 1.1rem;
}

/* work page */

.work-case {
  padding: 4.5rem 6vw;
}

.work-min {
  min-height: 56vh;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3rem;
  align-items: end;
}

.work-min h2 { font-size: 2rem; max-width: 14ch; margin-bottom: 0.8rem; }
.work-min img { width: 9rem; height: 7rem; object-fit: cover; margin-bottom: 1rem; }

.work-explain {
  background: var(--cream);
}

.work-explain .copy { width: min(58%, 42rem); }
.work-explain h3 { font-size: 1.1rem; margin: 1.2rem 0 0.4rem; }

.work-dense {
  background: var(--graphite);
  color: var(--pixel);
}

.work-dense .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.6rem;
}

.work-dense h2 { margin-bottom: 1.6rem; }

.work-result {
  padding: 0 0 4rem;
}

.work-result img {
  width: 100%;
  height: min(62vh, 36rem);
  object-fit: cover;
}

.work-result p {
  padding: 1.4rem 8vw 0;
  max-width: 48ch;
}

.work-image-open {
  padding: 0;
}

.work-image-open img {
  width: 100%;
  height: min(68vh, 40rem);
  object-fit: cover;
}

.work-detail {
  padding: 4rem 8vw 5rem;
  width: min(60%, 44rem);
}

.work-state {
  background: var(--azure);
  color: var(--pixel);
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 7vw;
}

.work-state h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  max-width: 14ch;
}

.work-struct {
  background: var(--pixel);
  padding: 4rem 7vw 5.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.6rem;
}

.work-struct article {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.work-struct h3 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.work-struct p { font-size: 0.95rem; }

/* contact page */

.contact-page {
  background: var(--pixel);
}

.contact-head {
  padding: 6rem 8vw 2rem;
}

.contact-head h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 12ch;
}

.contact-facts {
  padding: 1rem 8vw 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 3.5rem;
  width: min(72%, 52rem);
}

.contact-facts h2 {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.pause {
  height: 18vh;
  background: var(--pixel);
}

.form-wrap {
  padding: 0 8vw 4rem;
}

.enquire {
  width: min(78%, 52rem);
}

.field {
  margin-bottom: 1.4rem;
  position: relative;
}

.field label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.focus-sq {
  width: 7px;
  height: 7px;
  background: transparent;
}

.field.is-focus .focus-sq {
  background: var(--chartreuse);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--sand);
  background: transparent;
  border-radius: 0;
  padding: 0.7rem 0;
  min-height: 3rem;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--azure);
}

.field.has-error input,
.field.has-error textarea {
  border-bottom-color: var(--watermelon);
}

.field-error {
  min-height: 1.1rem;
  font-size: 0.85rem;
  color: var(--watermelon);
  margin-top: 0.25rem;
}

.field-name { width: 40%; }
.field-email { width: 55%; }
.field-msg { width: 92%; }

.form-status {
  margin: 0.8rem 0;
  padding: 0.7rem 0;
  font-size: 0.95rem;
}

.form-status.is-ok {
  color: var(--graphite);
  border-left: 4px solid var(--cyan);
  padding-left: 0.8rem;
}

.form-status.is-error {
  color: var(--watermelon);
}

.map-wrap {
  padding: 0 0 4rem;
}

.map-wrap iframe {
  width: 100%;
  height: 52vh;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

.legal {
  padding: 5rem 8vw 6rem;
  width: min(68%, 46rem);
  background: var(--pixel);
}

.legal h1 { margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { list-style: disc; padding-left: 1.1rem; margin-bottom: 1rem; }
.legal li { margin: 0.3rem 0; }

/* ---------- tablet ---------- */

@media (max-width: 1024px) {
  .hero-field {
    grid-template-columns: 1.1fr 1fr 0.8fr;
    grid-template-rows: auto minmax(22vh, 1fr) minmax(20vh, 1fr) auto;
  }
  .hero-h { grid-column: 1 / span 2; grid-row: 1; min-height: 28vh; }
  .hero-empty { display: none; }
  .hero-frag-a { grid-column: 3; grid-row: 1; }
  .hero-swatch { grid-column: 1; grid-row: 2; }
  .hero-frag-b { grid-column: 2; grid-row: 2; }
  .hero-frag-c { grid-column: 3; grid-row: 2; }
  .hero-copy { grid-column: 1 / span 2; grid-row: 4; }
  .hero-gap { display: none; }
  .hero-frag-d { display: none; }
  .hero-cta { grid-column: 3; grid-row: 4; }

  .full-res-inner,
  .signal-case-inner,
  .co-res-copy { width: min(78%, 44rem); }

  .six { grid-template-columns: repeat(8, 1fr); }
  .six-a { grid-column: 1 / span 3; }
  .six-b { grid-column: 5 / span 4; }
  .six-c { grid-column: 3 / span 2; }
  .six-e { grid-column: 1 / span 6; }
  .six-f { grid-column: 7 / span 2; }

  .primary-low { grid-template-columns: 1fr; }
  .st { width: 28% !important; margin: 0 !important; }

  .var-services { grid-template-columns: repeat(8, 1fr); }
  .svc-a { grid-column: 1 / span 3; }
  .svc-b { grid-column: 1 / span 8; }
  .svc-c { grid-column: 1 / span 4; }
  .svc-d { grid-column: 5 / span 4; margin-top: 1.5rem; }
  .svc-e { grid-column: 2 / span 6; }

  .case-full-copy,
  .case-data { grid-template-columns: 1fr 1fr; }
  .other-cases { grid-template-columns: repeat(6, 1fr); }
  .oc-1 { grid-column: 1 / span 2; }
  .oc-2 { grid-column: 3 / span 4; }
  .oc-3 { grid-column: 1 / span 3; }
  .oc-4 { grid-column: 5 / span 2; }

  .passes { grid-template-columns: 1fr 1fr; }
  .pass-3, .pass-6 { grid-column: 2; margin-top: 0; }
  .pass-4, .pass-5 { grid-column: 1 / span 2; }

  .dense-grid { width: 100%; }
  .final { grid-template-columns: 1fr 1fr; }
  .final h2 { grid-column: 1 / span 2; }
  .caps { grid-template-columns: repeat(6, 1fr); }
  .cap-lg, .cap-wide { grid-column: 1 / span 6; }
  .cap-sm, .cap-color { grid-column: 4 / span 3; }
  .cap-txt, .cap-mid { grid-column: 1 / span 3; }
  .cap-quiet, .cap-last { grid-column: 1 / span 3; }

  .ch-ecom { grid-template-columns: 1fr; }
  .build-caps, .pay-steps, .work-struct, .work-dense .grid { grid-template-columns: 1fr 1fr; }
  .about-ctx { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr 1fr; }
  .site-foot { grid-template-columns: 1fr 1fr; }
}

/* ---------- mobile ---------- */

@media (max-width: 1024px) {
  .site-nav,
  .site-head .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  body { font-size: 1.05rem; }
  .hero { padding: 0.45rem; }
  .hero-field {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 34vw 28vw auto auto;
    min-height: 0;
    gap: 0.4rem;
  }
  .hero-h { grid-column: 1 / span 2; grid-row: 1; min-height: 0; padding: 1.3rem 1.1rem; }
  .hero h1 { font-size: 2.05rem; max-width: 12ch; }
  .hero-frag-a { grid-column: 1; grid-row: 2; min-height: 34vw; }
  .hero-swatch { grid-column: 2; grid-row: 2; }
  .hero-frag-c { grid-column: 1 / span 2; grid-row: 3; min-height: 28vw; }
  .hero-frag-b,
  .hero-frag-d,
  .hero-empty,
  .hero-gap { display: none; }
  .hero-copy { grid-column: 1 / span 2; grid-row: 4; max-width: none; padding: 0.8rem 0.4rem; }
  .hero-cta { grid-column: 1 / span 2; grid-row: 5; justify-content: flex-start; padding: 0.2rem 0.3rem 0.8rem; }

  .full-res { padding: 4.2rem 1.3rem 3.5rem; }
  .full-res-inner { width: 100%; }
  .full-res img { height: 42vw; min-height: 12rem; }

  .six {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    min-height: 0;
    padding: 3rem 1.3rem;
  }
  .six-b img { height: 42vw; }
  .six-c { min-height: 18vh; margin: 0; }
  .six-f { min-height: 10vh; justify-content: flex-start; }

  .primary-low,
  .primary-resolve,
  .structure,
  .var-services,
  .process,
  .dense,
  .co-res,
  .caps,
  .final,
  .ch,
  .page-hero {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }

  .primary-low { min-height: 0; }
  .primary-low h2 { font-size: 2.4rem; }
  .coarse-blocks { min-height: 42vh; }

  .primary-resolve .frame,
  .signal-case-inner,
  .co-res-copy,
  .process-intro,
  .dense-grid { width: 100%; margin-left: 0; }

  .structure-field .st { width: 100% !important; }

  .dropped {
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 46vh;
    padding: 2.5rem 1.3rem;
  }
  .ghost:nth-child(n) { grid-column: auto; grid-row: auto; }
  .ghost:nth-child(5) { grid-column: 1 / span 2; }

  .svc-a, .svc-b, .svc-c, .svc-d, .svc-e { grid-column: 1 / -1; margin: 0; }
  .var-services { display: flex; flex-direction: column; gap: 2.2rem; }
  .svc-a h2 { font-size: 1.7rem; }
  .svc-b img { height: 42vw; }
  .svc-c li { max-width: none; }
  .svc-e { min-height: 32vh; }

  .bit-break { grid-template-columns: 1fr; min-height: 34vh; padding: 2.4rem 1.3rem; }
  .case-thumb { padding: 4rem 1.3rem; min-height: 0; }
  .case-full-copy,
  .case-data { grid-template-columns: 1fr; padding-left: 1.3rem; padding-right: 1.3rem; }
  .datum { margin-top: 0 !important; }
  .case-full img { height: 48vw; min-height: 14rem; }

  .other-cases { display: flex; flex-direction: column; gap: 2rem; }
  .oc img { width: 100% !important; height: 28vw !important; }

  .signal-case { padding: 3.5rem 1.3rem; }
  .buffer { min-height: 48vh; padding: 3rem 1.3rem; }

  .passes { grid-template-columns: 1fr; }
  .pass-1, .pass-2, .pass-3, .pass-4, .pass-5, .pass-6 { grid-column: 1; margin: 0; }
  .pass-5 ul { grid-template-columns: 1fr; }

  .dense-grid { grid-template-columns: 1fr; }
  .dense-grid article:nth-child(n) { grid-column: 1; }

  .hard-reset { min-height: 36vh; padding: 3rem 1.3rem; }
  .co-low { padding: 4rem 1.3rem; min-height: 0; }
  .co-low img { width: 100%; height: 40vw; }
  .co-data { grid-template-columns: 1fr; padding: 1rem 1.3rem 3.5rem; }
  .cd-1, .cd-2, .cd-3, .cd-4, .cd-5 { grid-column: 1; margin: 0; }

  .res-drop { grid-template-columns: 1fr; min-height: 48vh; padding: 3.5rem 1.3rem; }
  .caps { display: flex; flex-direction: column; gap: 1.4rem; }
  .cap-sm { margin: 0; }

  .final { grid-template-columns: 1fr; min-height: 0; padding: 4rem 1.3rem; }
  .final h2, .final .final-body, .final .btn { grid-column: 1; grid-row: auto; justify-self: start; }

  .contact-strip { grid-template-columns: 1fr; padding: 2rem 1.3rem; }
  .site-foot {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .foot-mark { justify-self: start; }

  .ch-ecom, .about-ctx, .about-approach .cols, .build-caps, .pay-steps,
  .work-min, .work-dense .grid, .work-struct, .contact-facts {
    grid-template-columns: 1fr;
  }

  .ch-api .copy,
  .ch-consult .copy,
  .about-def,
  .pr-list,
  .work-explain .copy,
  .work-detail,
  .legal,
  .enquire {
    width: 100%;
    margin-left: 0;
  }

  .field-name,
  .field-email,
  .field-msg { width: 100%; }

  .pay-steps article { margin-top: 0 !important; }
  .pr-list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .contact-head { padding: 4rem 1.3rem 1rem; }
  .form-wrap { padding: 0 1.3rem 3rem; }
  .pause { height: 10vh; }
}

/* reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero .hero-h,
  .hero .hero-frag,
  .hero .hero-swatch,
  .hero .hero-copy,
  .hero .hero-cta,
  [data-populate] {
    opacity: 1 !important;
    transform: none !important;
  }
  .mq-top,
  .mq-low { animation: none; }
  .mq { width: auto; flex-wrap: wrap; }
}
