:root {
  --charcoal: #1e2024;
  --fog: #e7e8e3;
  --magenta: #d45082;
  --aqua: #78bbb8;
  --apricot: #e1a17f;
  --steel: #68798c;
  --olive: #30362f;
  --citron: #ded77c;
  --mauve: #aaa0a8;
  --white: #fafaf5;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --micro: 220ms;
  --align: 420ms;
  --major: 560ms;
  --hero: 780ms;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", sans-serif;
  --mono: "Fragment Mono", ui-monospace, monospace;
  --gutter: clamp(1.1rem, 3.6vw, 3.4rem);
}

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

html {
  scroll-behavior: smooth;
}

html.reduce-motion {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--fog);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

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

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grain {
  position: relative;
  isolation: isolate;
}

.grain > * {
  position: relative;
  z-index: 1;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.reg {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--steel);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.reg-x {
  top: 0.6rem;
  left: 0.6rem;
}

.reg-tr {
  top: 0.6rem;
  right: 0.8rem;
}

.reg-bl {
  bottom: 0.7rem;
  left: 0.8rem;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: var(--gutter);
  top: 0.6rem;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.35rem 0.85rem 1.15rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  isolation: isolate;
}

.btn-mark {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: currentColor;
  transform: translate(-4px, 0);
  transition: transform var(--micro) var(--ease);
}

.btn:hover .btn-mark,
.btn:focus-visible .btn-mark {
  transform: translate(0, 0);
}

.btn-magenta {
  background: var(--magenta);
  color: var(--white);
}

.btn-aqua {
  background: var(--aqua);
  color: var(--charcoal);
}

.btn-charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(250, 250, 245, 0.35);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.text-link .sq {
  width: 7px;
  height: 7px;
  background: var(--aqua);
}

.text-link .sq:last-child {
  background: var(--magenta);
  transform: translate(3px, -2px);
  transition: transform var(--micro) var(--ease);
}

.text-link:hover .sq:last-child,
.text-link:focus-visible .sq:last-child {
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  align-items: center;
  gap: 1.1rem 1.4rem;
  min-height: 4.35rem;
  padding: 0.65rem var(--gutter);
  background: var(--fog);
  border-bottom: 1px solid rgba(30, 32, 36, 0.08);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--fog) 92%, white);
}

body.nav-open .site-header {
  background: var(--charcoal);
  border-bottom-color: transparent;
}

body.nav-open .logo {
  color: var(--white);
}

body.nav-open .nav-toggle span,
body.nav-open .nav-toggle span::before,
body.nav-open .nav-toggle span::after {
  background: var(--white);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.logo small {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.logo-mark {
  width: 11px;
  height: 11px;
  margin-left: 0.2rem;
  background: var(--aqua);
  box-shadow: 4px 3px 0 var(--magenta);
}

.ref-chip {
  color: var(--steel);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link::before {
  content: attr(data-dup);
  position: absolute;
  inset: 0;
  color: var(--steel);
  opacity: 0.28;
  transform: translate(2px, 1px);
  pointer-events: none;
  transition: transform var(--micro) var(--ease), opacity var(--micro) var(--ease);
}

.nav-link:hover::before,
.nav-link.is-active::before {
  transform: none;
  opacity: 0.12;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 7px;
  height: 7px;
  background: var(--aqua);
}

.header-cta {
  justify-self: end;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  justify-self: end;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--charcoal);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-drawer {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 4.35rem);
  height: calc(100dvh - 4.35rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto 1fr auto;
  padding: 1.4rem var(--gutter) 2.2rem;
  background: var(--fog);
  overflow: hidden;
}

.hero-status {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--steel);
  opacity: 0;
}

.hero-status .dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--steel);
}

.hero-status .st-done {
  display: none;
}

.hero.is-resolved .hero-status .dot {
  background: var(--aqua);
  border-color: var(--aqua);
}

.hero.is-resolved .st-check {
  display: none;
}

.hero.is-resolved .st-done {
  display: inline;
}

.hero-title-wrap {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  width: 58%;
  position: relative;
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero h1 .hold {
  display: inline-block;
  margin-left: 0.18em;
  color: var(--magenta);
}

.hero-title-wrap::before {
  content: attr(data-dup);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--steel);
  opacity: 0.28;
  transform: translate(16px, 12px);
  pointer-events: none;
  z-index: 0;
}

.hero-media {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  align-self: center;
  width: min(100%, 38rem);
  justify-self: end;
  margin-right: 1vw;
}

.hero-media img {
  width: 100%;
  height: 46vh;
  max-height: 24rem;
  object-fit: cover;
  object-position: 20% 55%;
}

.hero-media .crop-ref {
  position: absolute;
  inset: 0;
  width: 92%;
  height: 88%;
  object-fit: cover;
  opacity: 0.38;
  transform: translate(12px, 8px);
  z-index: 0;
}

.hero-media .crop-verified {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.hero-copy {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: end;
  width: min(28ch, 100%);
  color: var(--steel);
  font-size: 1.02rem;
  opacity: 0;
}

.hero-cta {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  opacity: 0;
}

.hero-title-wrap h1 {
  color: var(--charcoal);
}

.hero.is-running .hero-status {
  animation: appear var(--align) var(--ease) 0.05s forwards;
}

.hero.is-running .hero-title-wrap h1,
.hero.is-resolved .hero-title-wrap h1 {
  opacity: 1;
  transition: opacity var(--hero) var(--ease) 0.18s;
}

.hero.is-running .hero-title-wrap::before {
  animation: refIn var(--hero) var(--ease) 0.08s both, alignOut var(--align) var(--ease) 0.72s forwards;
}

.hero.is-running .crop-ref {
  animation: appear var(--align) var(--ease) 0.32s both, fadeRef var(--major) var(--ease) 0.95s forwards;
}

.hero.is-running .crop-verified {
  animation: appear var(--major) var(--ease) 0.9s forwards;
}

.hero.is-running .hero-copy {
  animation: appear var(--align) var(--ease) 1.08s forwards;
}

.hero.is-running .hero-cta {
  animation: appear var(--align) var(--ease) 1.22s forwards;
}

.hero.is-resolved .hero-status,
.hero.is-resolved h1,
.hero.is-resolved .hero-copy,
.hero.is-resolved .hero-cta,
.hero.is-resolved .crop-verified {
  opacity: 1;
}

.hero.is-resolved .hero-title-wrap::before {
  opacity: 0;
  transform: none;
}

.hero.is-resolved .crop-ref {
  opacity: 0;
}

@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes refIn {
  from {
    opacity: 0;
    transform: translate(16px, 12px);
  }
  to {
    opacity: 0.28;
    transform: translate(16px, 12px);
  }
}

@keyframes alignOut {
  to {
    opacity: 0;
    transform: translate(0, 0);
  }
}

@keyframes fadeRef {
  to {
    opacity: 0;
    transform: translate(0, 0);
  }
}

/* 02 Verified statement */
.verified {
  min-height: 72vh;
  display: grid;
  align-content: center;
  padding: 8vh var(--gutter);
  background: var(--white);
}

.verified h2 {
  width: min(22ch, 82%);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.verified p {
  width: min(46ch, 72%);
  margin-top: 2.2rem;
  font-size: 1.18rem;
  color: var(--steel);
}

/* 03 Mismatch */
.mismatch {
  min-height: 90vh;
  padding: 10vh var(--gutter) 8vh;
  background: var(--fog);
  display: grid;
  gap: 7vh;
}

.mismatch-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
}

.mismatch-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  width: min(18ch, 70%);
}

.mismatch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8vw;
  opacity: 0;
  transform: translateY(10px);
}

.mismatch-row.in-view {
  opacity: 1;
  transform: none;
  transition: opacity var(--major) var(--ease), transform var(--major) var(--ease);
}

.mismatch-row:nth-child(2) .need {
  margin-top: 0;
}
.mismatch-row:nth-child(3) .need {
  margin-top: 8vh;
}
.mismatch-row:nth-child(4) .need {
  margin-top: 2vh;
}
.mismatch-row:nth-child(5) .need {
  margin-top: 11vh;
}
.mismatch-row:nth-child(6) .need {
  margin-top: 4vh;
}

.need,
.comp {
  max-width: 22ch;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.25;
  font-weight: 500;
}

.need {
  color: var(--steel);
}

.comp {
  justify-self: end;
  text-align: right;
  color: var(--charcoal);
}

.comp span {
  color: var(--magenta);
}

/* 04 Primary validation */
.primary {
  min-height: 118vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto 1fr auto;
  gap: 1.4rem 3vw;
  padding: 8vh var(--gutter) 7vh;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
}

.primary h2 {
  grid-column: 1 / -1;
  width: min(16ch, 92%);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.primary-copy {
  max-width: 38ch;
  font-size: 1.12rem;
  color: color-mix(in srgb, var(--white) 78%, var(--aqua));
}

.confirm-field {
  background: var(--aqua);
  color: var(--charcoal);
  padding: 1.4rem 1.5rem 1.6rem;
  width: min(28rem, 100%);
  align-self: start;
}

.confirm-field p {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}

.primary-media {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 2vh;
}

.primary-media img {
  width: 86%;
  max-height: 52vh;
  object-fit: cover;
}

.primary .btn {
  position: absolute;
  right: var(--gutter);
  bottom: 7vh;
}

/* 05 Redundancy */
.redundancy {
  min-height: 70vh;
  padding: var(--gutter);
  background: var(--fog);
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.redundancy p {
  width: min(28ch, 70%);
  font-size: 1.05rem;
  color: var(--steel);
}

.redundancy p:last-child {
  justify-self: end;
  align-self: end;
  text-align: right;
}

/* 06 Parallel services */
.parallel {
  background: var(--white);
  padding: 0;
}

.service-pair {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4vw;
  padding: 8vh var(--gutter);
  position: relative;
  width: 100%;
  background: var(--white);
}

.service-pair + .service-pair {
  border-top: 1px solid rgba(30, 32, 36, 0.08);
}

.sp-a .main {
  width: 70%;
  background: var(--fog);
  padding: 4.5vh 3vw 5vh;
}
.sp-a .pair-note {
  width: 20%;
  padding-top: 4.5vh;
}
.sp-b {
  justify-content: flex-end;
  gap: 10vw;
}
.sp-b .main {
  width: 30%;
  text-align: right;
}
.sp-b .pair-note {
  width: 55%;
  text-align: left;
  align-self: center;
}
.sp-c .main {
  width: 45%;
  background: var(--apricot);
  padding: 5vh 3vw;
}
.sp-c .pair-note {
  width: 35%;
  align-self: end;
  padding-bottom: 1rem;
}
.sp-d .main {
  width: 80%;
}
.sp-d .pair-note {
  width: auto;
  max-width: 16ch;
  align-self: center;
}

.service-pair h2 {
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.service-pair h2::before {
  content: attr(data-dup);
  position: absolute;
  inset: 0;
  color: var(--steel);
  opacity: 0;
  transform: translate(6px, 2px);
  pointer-events: none;
}

.service-pair:hover h2::before {
  opacity: 0.28;
  animation: hoverAlign var(--micro) var(--ease) forwards;
}

@keyframes hoverAlign {
  from {
    transform: translate(6px, 2px);
  }
  to {
    transform: none;
  }
}

.pair-note {
  font-size: 1rem;
  color: var(--charcoal);
}

.mark-outline {
  width: 10px;
  height: 10px;
  border: 1px solid var(--charcoal);
  display: inline-block;
  margin-top: 1rem;
}

.service-pair:hover .mark-outline,
.service-pair.in-view .mark-outline {
  background: var(--aqua);
  border-color: var(--aqua);
}

.pair-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--steel);
}

/* 07 Error band */
.error-band {
  min-height: 42vh;
  display: grid;
  align-content: center;
  padding: 8vh var(--gutter);
  background: var(--magenta);
  color: var(--white);
}

.error-band h2 {
  width: min(16ch, 90%);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.error-band p {
  margin-top: 1.4rem;
  max-width: 42ch;
  font-size: 1rem;
  color: color-mix(in srgb, var(--white) 82%, var(--magenta));
}

/* 08 Process */
.process {
  min-height: 110vh;
  padding: 10vh var(--gutter) 8vh;
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4vh 1.2rem;
}

.process > header {
  grid-column: 1 / -1;
}

.process h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.pass {
  position: relative;
}

.pass-num {
  position: relative;
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--steel);
  margin-bottom: 0.55rem;
}

.pass-num::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--magenta);
  opacity: 0.55;
  transform: translate(6px, 0);
}

.pass.in-view .pass-num::before {
  transform: none;
  opacity: 0;
  transition: transform var(--align) var(--ease), opacity var(--align) var(--ease);
}

.pass h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.pass p {
  margin-top: 0.55rem;
  max-width: 24ch;
  color: var(--steel);
}

.p1 {
  grid-column: 1 / 4;
}
.p2 {
  grid-column: 6 / 9;
  margin-top: 6vh;
}
.p3 {
  grid-column: 10 / 13;
}
.p4 {
  grid-column: 1 / 4;
  width: 85%;
}
.p5 {
  grid-column: 7 / 11;
}
.p6 {
  grid-column: 1 / -1;
  padding-top: 3vh;
  border-top: 1px solid rgba(30, 32, 36, 0.1);
}

.p6 h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* 09 Checkpoint */
.checkpoint {
  min-height: 45vh;
  background: var(--citron);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
}

.checkpoint .tick {
  width: 10px;
  height: 10px;
  background: var(--olive);
  margin: 0 auto 1.1rem;
}

.checkpoint p {
  width: min(22ch, 100%);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

/* 10 Cases */
.cases {
  background: var(--fog);
}

.case {
  position: relative;
  padding: 9vh var(--gutter);
}

.case + .case {
  border-top: 1px solid rgba(30, 32, 36, 0.08);
}

.case-media {
  position: relative;
}

.case-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.35;
  transform: translate(8px, 6px);
  z-index: 0;
}

.case-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: cover;
}

.case.in-view .case-media::before {
  opacity: 0;
  transform: none;
  transition: opacity var(--major) var(--ease), transform var(--major) var(--ease);
}

.case-01 {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 4vw;
  align-items: start;
}

.case-01 img {
  height: 62vh;
}

.case-copy {
  display: grid;
  gap: 12vh;
  padding-top: 8vh;
}

.case-copy h3,
.case h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.case-copy p,
.case p {
  color: var(--steel);
}

.case-02 {
  display: grid;
  grid-template-columns: 1.3fr 0.5fr;
  gap: 3vw;
}

.case-02 h3 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  width: 10ch;
}

.case-02 img {
  width: 11rem;
  height: 11rem;
  justify-self: end;
}

.case-02 .dense {
  grid-column: 1 / -1;
  width: min(62ch, 100%);
  font-size: 1.08rem;
}

.case-03 {
  background: var(--apricot);
  min-height: 48vh;
  display: grid;
  align-content: end;
}

.case-03 h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  max-width: 16ch;
}

.case-03 p {
  margin-top: 1rem;
  max-width: 36ch;
  color: var(--olive);
}

.case-04 {
  background: var(--white);
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 6vw;
  align-items: center;
}

.case-04 img {
  width: 70%;
}

.case-04 .final {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  color: var(--charcoal);
  max-width: 14ch;
}

.case-04 .case-media::before {
  display: none;
}

/* 11 False positive */
.false {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  background: var(--white);
}

.false-clean {
  padding: 10vh var(--gutter) 8vh;
  background: var(--fog);
}

.false-uneven {
  padding: 14vh 8vw 8vh 6vw;
  background: var(--white);
  border-left: 12px solid var(--magenta);
  transform: translateY(18px);
}

.false h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.false p {
  margin-top: 1.2rem;
  max-width: 34ch;
  color: var(--steel);
}

.false-uneven h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-left: 8%;
}

.false-uneven p {
  margin-left: 18%;
}

/* 12 Confidence */
.confidence {
  min-height: 90vh;
  padding: 10vh var(--gutter);
  background: var(--fog);
  position: relative;
}

.confidence h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 8vh;
  width: min(16ch, 70%);
}

.stmt {
  position: absolute;
  max-width: 22ch;
  padding-left: 1.1rem;
}

.stmt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border: 1px solid var(--charcoal);
}

.stmt.in-view::before {
  background: var(--aqua);
  border-color: var(--aqua);
}

.s1 {
  top: 28%;
  left: var(--gutter);
  font-size: 1.35rem;
  font-weight: 600;
}
.s2 {
  top: 24%;
  right: 18%;
  font-size: 1rem;
}
.s3 {
  top: 48%;
  left: 32%;
  font-size: 1.7rem;
  font-family: var(--display);
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.s4 {
  top: 62%;
  right: var(--gutter);
  font-size: 0.98rem;
  max-width: 20ch;
}
.s5 {
  bottom: 12%;
  left: 12%;
  font-size: 1.1rem;
}
.s6 {
  bottom: 18%;
  left: 48%;
  font-size: 0.95rem;
  color: var(--steel);
}

/* 13 Company record */
.record {
  min-height: 100vh;
  padding: 10vh var(--gutter) 8vh;
  background: var(--white);
  display: grid;
  gap: 9vh 4vw;
  grid-template-columns: 1.1fr 0.7fr;
}

.name-stack {
  position: relative;
  grid-column: 1 / -1;
  min-height: 18vh;
}

.name-ref {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 8rem);
  letter-spacing: -0.07em;
  color: var(--fog);
  line-height: 0.85;
}

.name-sharp {
  position: absolute;
  left: 8%;
  top: 38%;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.record-def {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  width: min(16ch, 100%);
}

.record-approach {
  width: min(36ch, 100%);
  font-size: 1.12rem;
}

.record-context {
  font-size: 0.95rem;
  color: var(--steel);
  width: min(28ch, 80%);
}

.record-facts {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  align-self: end;
  padding-left: 0.8rem;
  border-left: 8px solid var(--mauve);
}

.record-media {
  grid-column: 2;
  grid-row: 2 / 5;
  transform: translate(12px, 20px);
  width: 78%;
  justify-self: end;
}

.record-media img {
  height: 58vh;
  object-fit: cover;
  width: 100%;
}

/* 14 Consistency */
.consistency {
  min-height: 80vh;
  padding: 10vh var(--gutter);
  background: var(--fog);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5vh 1rem;
}

.consistency h2 {
  grid-column: 1 / 7;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.cap {
  max-width: 22ch;
}

.cap .code {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--steel);
}

.cap h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.cap p {
  margin-top: 0.4rem;
  color: var(--steel);
  font-size: 0.95rem;
}

.c1 {
  grid-column: 1 / 4;
}
.c2 {
  grid-column: 4 / 7;
  margin-top: 8vh;
}
.c3 {
  grid-column: 8 / 12;
}
.c4 {
  grid-column: 2 / 5;
}
.c5 {
  grid-column: 6 / 9;
  margin-top: 4vh;
}
.c6 {
  grid-column: 10 / 13;
}
.c7 {
  grid-column: 1 / 4;
}
.c8 {
  grid-column: 7 / 11;
}

/* 15 Marquee */
.parity-marquee {
  padding: 5vh 0;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

.mq-row {
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
  width: max-content;
}

.mq-a {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  animation: mqLeft 42s linear infinite;
}

.mq-b {
  margin-top: 1.1rem;
  color: var(--aqua);
  animation: mqRight 48s linear infinite;
}

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

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

/* 16 Clean build */
.clean-build {
  min-height: 75vh;
  padding: 10vh var(--gutter);
  background: var(--white);
  display: grid;
  place-items: center;
}

.clean-build figure {
  width: min(72%, 58rem);
}

.clean-build img {
  width: 100%;
  max-height: 52vh;
  object-fit: cover;
}

.clean-build figcaption {
  margin-top: 0.7rem;
  color: var(--steel);
}

/* 17 Final check */
.final-check {
  min-height: 70vh;
  padding: 10vh var(--gutter);
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: 5vh;
}

.check-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 1.1rem;
  align-items: start;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  max-width: 22ch;
}

.check-item:nth-child(2) {
  margin-left: 18%;
}

.check-item:nth-child(3) {
  margin-left: 8%;
}

.box {
  width: 14px;
  height: 14px;
  margin-top: 0.55rem;
  box-shadow: inset 0 0 0 1px var(--white);
}

.check-item.in-view .box {
  background: var(--aqua);
  box-shadow: none;
}

.check-item:nth-child(3).in-view .box {
  background: var(--citron);
}

/* 18 CTA */
.output {
  min-height: 90vh;
  padding: 10vh var(--gutter) 8vh;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
}

.output h2 {
  grid-column: 1;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
  width: 10ch;
}

.output p {
  grid-column: 2;
  align-self: center;
  max-width: 32ch;
  color: var(--steel);
  font-size: 1.12rem;
}

.output .state {
  grid-column: 1;
  align-self: end;
  color: var(--steel);
}

.output .btn {
  grid-column: 2;
  justify-self: end;
  align-self: end;
}

/* 19 Contact record */
.contact-record {
  padding: 8vh var(--gutter);
  background: var(--fog);
  display: grid;
  grid-template-columns: 45% 30% 20%;
  gap: 4vh 2vw;
}

.cr-address {
  grid-column: 1 / 3;
  width: 60%;
}

.contact-record h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.45rem;
}

.contact-record p,
.contact-record a {
  font-size: 1.15rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--olive);
  color: var(--white);
  padding: 2.4rem var(--gutter) 1.8rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 1.6rem;
  align-items: start;
}

.foot-marks {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.foot-marks i {
  width: 8px;
  height: 8px;
  display: block;
}

.foot-marks i:first-child {
  background: var(--magenta);
}

.foot-marks i:last-child {
  background: var(--aqua);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
}

.site-footer a {
  font-size: 0.92rem;
}

.legal {
  display: flex;
  gap: 1rem;
  color: color-mix(in srgb, var(--white) 75%, var(--olive));
}

.copy {
  grid-column: 1 / -1;
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--white) 62%, var(--olive));
}

/* Inner pages shared */
.page-hero {
  padding: 10vh var(--gutter) 6vh;
  background: var(--fog);
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
  max-width: 14ch;
}

.page-hero p {
  margin-top: 1.4rem;
  max-width: 42ch;
  color: var(--steel);
}

.dup-once {
  position: relative;
}

.dup-once::before {
  content: attr(data-dup);
  position: absolute;
  inset: 0;
  color: var(--steel);
  opacity: 0.22;
  transform: translate(10px, 6px);
  pointer-events: none;
}

.dup-once.in-view::before {
  opacity: 0;
  transform: none;
  transition: opacity var(--align) var(--ease), transform var(--align) var(--ease);
}

/* Services page */
.svc-block {
  padding: 10vh var(--gutter);
}

.svc-need,
.svc-method,
.svc-out {
  color: var(--steel);
  max-width: 44ch;
}

.svc-block h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.045em;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  margin: 1.1rem 0 1.4rem;
}

.svc-clean {
  background: var(--white);
  min-height: 80vh;
}

.svc-dup {
  background: var(--fog);
}

.svc-dup h2 {
  position: relative;
}

.svc-dup h2::before {
  content: attr(data-dup);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--steel);
  opacity: 0.25;
  transform: translate(12px, 8px);
  pointer-events: none;
}

.svc-dup.in-view h2::before {
  opacity: 0;
  transform: none;
  transition: opacity var(--align) var(--ease), transform var(--align) var(--ease);
}

.svc-apricot {
  background: var(--apricot);
}

.svc-dark {
  background: var(--charcoal);
  color: var(--white);
}

.svc-dark .svc-need,
.svc-dark .svc-method,
.svc-dark .svc-out {
  color: color-mix(in srgb, var(--white) 72%, var(--aqua));
}

.svc-aqua-note {
  background: var(--aqua);
  color: var(--charcoal);
  padding: 1.2rem 1.3rem;
  max-width: 28rem;
  margin-top: 2rem;
  font-weight: 600;
}

.svc-image {
  background: var(--white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4vw;
  align-items: center;
}

.svc-image img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.meta-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.2rem;
}

.meta-row div {
  max-width: 22ch;
}

/* About */
.about-lead {
  min-height: 70vh;
  padding: 10vh var(--gutter);
  background: var(--white);
}

.about-lead h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
  max-width: 14ch;
}

.about-bg,
.about-approach,
.about-principles,
.about-context {
  padding: 8vh var(--gutter);
}

.about-bg {
  background: var(--fog);
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 6vw;
}

.about-bg h2,
.about-approach h2,
.about-principles h2,
.about-context h2,
.about-exp h2 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.about-bg img {
  width: 70%;
  justify-self: end;
  transform: translate(8px, 12px);
  object-fit: cover;
  height: 48vh;
}

.about-approach {
  background: var(--white);
  width: 100%;
}

.about-approach p {
  max-width: 52ch;
  font-size: 1.15rem;
}

.about-exp {
  padding: 8vh var(--gutter) 4vh;
  background: var(--fog);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}

.about-exp h2 {
  grid-column: 1 / -1;
}

.about-principles {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-principles h2 {
  grid-column: 1 / -1;
}

.about-principles p {
  max-width: 32ch;
}

.about-context {
  background: var(--white);
}

.about-context p {
  max-width: 48ch;
  color: var(--steel);
}

/* Portfolio page */
.port-page .case-media::before {
  transform: translate(12px, 8px);
}

.port-mid .case-media::before {
  transform: translate(4px, 3px);
}

.port-end .case-media::before {
  display: none;
}

.portfolio-list .case {
  min-height: auto;
}

.strip img {
  height: 22vh;
  width: 100%;
  object-fit: cover;
}

/* Contact page */
.contact-page {
  background: var(--white);
}

.contact-hero {
  padding: 10vh var(--gutter) 4vh;
}

.contact-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.tiny-ref {
  margin-top: 1rem;
  color: var(--steel);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 6vw;
  padding: 4vh var(--gutter) 8vh;
}

.contact-facts p {
  margin: 0 0 1.4rem;
}

.contact-facts a {
  font-weight: 600;
}

.map-frame {
  margin: 0 var(--gutter) 8vh;
  min-height: 42vh;
  background: var(--fog);
}

.map-frame iframe {
  width: 100%;
  height: 42vh;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* Form */
.enquiry-form {
  display: grid;
  gap: 2.2rem;
}

.field {
  position: relative;
  padding-top: 0.2rem;
}

.field-ref {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--steel);
}

.field label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.confirm-sq {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 0.45rem;
  box-shadow: inset 0 0 0 1px var(--charcoal);
  vertical-align: middle;
}

.field.is-ok .confirm-sq {
  background: var(--aqua);
  box-shadow: none;
}

.field.is-error .confirm-sq {
  background: var(--magenta);
  box-shadow: none;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--charcoal);
  border-radius: 0;
  background: transparent;
  padding: 0.55rem 0 0.7rem;
}

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

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

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

.err {
  display: none;
  margin-top: 0.35rem;
  color: var(--magenta);
  font-size: 0.88rem;
}

.field.is-error .err {
  display: block;
}

.form-note {
  color: var(--steel);
  font-size: 0.9rem;
}

.legal-page {
  padding: 10vh var(--gutter) 12vh;
  background: var(--white);
  max-width: 48rem;
}

.legal-page h1 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  margin-bottom: 1.4rem;
}

.legal-page h2 {
  font-family: var(--display);
  margin: 2rem 0 0.7rem;
}

.legal-page p,
.legal-page li {
  color: var(--steel);
  margin-bottom: 0.8rem;
}

/* Mobile nav */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .ref-chip,
  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    color: var(--white);
    padding: 5.5rem var(--gutter) 2rem;
    transform: translateY(-101%);
    transition: transform var(--major) var(--ease);
    z-index: 45;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open .nav-drawer {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle span,
  body.nav-open .nav-toggle span::before,
  body.nav-open .nav-toggle span::after {
    background: var(--white);
  }

  .nav-drawer a {
    position: relative;
    display: block;
    font-family: var(--display);
    font-size: 2.1rem;
    letter-spacing: -0.04em;
    padding: 0.7rem 0;
  }

  .nav-drawer a::before {
    content: attr(data-dup);
    position: absolute;
    inset: 0.7rem 0;
    color: var(--magenta);
    opacity: 0.28;
    transform: translate(8px, 4px);
    pointer-events: none;
  }

  .nav-drawer a.is-active::before,
  .nav-drawer a:hover::before {
    transform: none;
    opacity: 0.12;
    color: var(--aqua);
  }

  .nav-drawer .btn {
    margin-top: 2rem;
  }

  .hero,
  .primary,
  .case-01,
  .case-02,
  .case-04,
  .false,
  .record,
  .contact-grid,
  .svc-image,
  .about-bg,
  .about-principles,
  .about-exp,
  .output,
  .contact-record,
  .foot-grid,
  .process {
    display: flex;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    height: auto;
    padding-top: 1.4rem;
  }

  .hero-title-wrap,
  .hero h1,
  .hero-title-wrap::before {
    width: 100%;
  }

  .hero-title-wrap::before {
    transform: translate(8px, 6px);
    max-height: 1.1em;
    overflow: hidden;
  }

  .hero-media {
    width: 100%;
    margin: 1.6rem 0;
  }

  .hero-media img {
    height: 42vh;
  }

  .hero-copy,
  .hero-cta {
    width: 100%;
    justify-self: start;
  }

  .verified h2,
  .verified p {
    width: 100%;
  }

  .mismatch-row,
  .mismatch-head {
    display: block;
  }

  .need,
  .comp {
    max-width: none;
    text-align: left;
  }

  .comp {
    margin-top: 0.6rem;
  }

  .primary-media img,
  .primary .btn {
    position: static;
    width: 100%;
  }

  .primary .btn {
    margin-top: 1.4rem;
  }

  .service-pair,
  .sp-a,
  .sp-b,
  .sp-c,
  .sp-d {
    width: 100%;
    display: block;
    text-align: left;
  }

  .sp-a .main,
  .sp-b .main,
  .sp-c .main,
  .sp-d .main,
  .sp-a .pair-note,
  .sp-b .pair-note,
  .sp-c .pair-note,
  .sp-d .pair-note {
    width: 100%;
    text-align: inherit;
  }

  .service-pair:nth-child(even) {
    text-align: right;
  }

  .service-pair:nth-child(even) .pair-note {
    margin-left: auto;
    text-align: right;
  }

  .p1,
  .p2,
  .p3,
  .p4,
  .p5,
  .p6,
  .c1,
  .c2,
  .c3,
  .c4,
  .c5,
  .c6,
  .c7,
  .c8 {
    width: 100%;
  }

  .confidence {
    display: grid;
    gap: 2.4rem;
  }

  .stmt {
    position: static;
    max-width: none;
  }

  .record-media,
  .about-bg img {
    transform: none;
    width: 100%;
    height: 40vh;
  }

  .name-sharp {
    position: relative;
    left: 0;
    top: 0;
  }

  .output h2,
  .output p,
  .output .btn,
  .output .state {
    grid-column: auto;
    justify-self: start;
  }

  .cr-address {
    width: 100%;
  }

  .copy {
    grid-column: auto;
  }

  .svc-image img {
    height: 42vh;
  }

  .false-uneven {
    transform: none;
    border-left-width: 8px;
    margin-left: 8%;
  }

  .clean-build figure {
    width: 100%;
  }

  .check-item,
  .check-item:nth-child(2),
  .check-item:nth-child(3) {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .service-pair:nth-child(3) {
    text-align: left;
  }

  .meta-row,
  .about-exp {
    display: block;
  }

  .about-exp > * + * {
    margin-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-title-wrap::before,
  .crop-ref,
  .case-media::before,
  .dup-once::before,
  .svc-dup h2::before,
  .pass-num::before {
    opacity: 0 !important;
    transform: none !important;
  }

  .mq-row {
    animation: none !important;
    flex-wrap: wrap;
    white-space: normal;
    width: auto;
  }

  .hero-status,
  .hero h1,
  .hero-copy,
  .hero-cta,
  .crop-verified,
  .mismatch-row {
    opacity: 1 !important;
    transform: none !important;
  }

  .box,
  .stmt::before,
  .mark-outline {
    background: var(--aqua);
    box-shadow: none;
    border-color: var(--aqua);
  }
}
