:root {
  --night: #29211E;
  --rice: #F4F0E8;
  --cornflower: #667BC7;
  --persimmon: #DB674D;
  --wasabi: #BACB54;
  --mauve: #A78F9F;
  --pine: #28483C;
  --aluminium: #AAA7A0;
  --butter: #E6DDAF;
  --sky: #C8D5DE;
  --focus: #667BC7;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--night);
  background: var(--rice);
  font-weight: 400;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Sora", sans-serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mono {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--wasabi);
  color: var(--night);
  padding: 0.6rem 1rem;
  z-index: 200;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
}

.skip:focus {
  top: 1rem;
}

.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;
}

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

/* ---------- NAV ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.2rem;
  background: var(--rice);
  color: var(--night);
  border-bottom: 1px solid color-mix(in srgb, var(--night) 8%, transparent);
}

.logo {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  justify-self: start;
}

.logo span {
  color: var(--persimmon);
}

.desktop-nav {
  display: flex;
  gap: 1.8rem;
  justify-self: center;
}

.desktop-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
}

.desktop-nav a .n {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--aluminium);
  transition: transform 110ms var(--ease);
}

.desktop-nav a .l {
  transition: transform 110ms var(--ease) 90ms;
}

.desktop-nav a:hover .n,
.desktop-nav a:focus-visible .n {
  transform: translateY(2px);
}

.desktop-nav a:hover .l,
.desktop-nav a:focus-visible .l {
  transform: translateY(-1px);
}

.nav-cta {
  justify-self: end;
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--persimmon);
  color: var(--rice);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  transition: background-color 80ms linear;
}

.nav-cta span {
  display: inline-block;
  transition: transform 140ms var(--ease) 80ms;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--night);
}

.nav-cta:hover span,
.nav-cta:focus-visible span {
  transform: translateX(2px);
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  justify-self: end;
  position: relative;
}

.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: var(--night);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
}

.nav-toggle i::before { transform: translate(-50%, -5px); }
.nav-toggle i::after { transform: translate(-50%, 5px); }

.mobile-nav {
  display: none;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  background: var(--wasabi);
  color: var(--night);
  transition: background-color 80ms linear, color 80ms linear;
}

.btn span {
  display: inline-block;
  transition: transform 140ms var(--ease) 80ms;
}

.btn:hover span,
.btn:focus-visible span {
  transform: translateX(2px);
}

.btn:hover,
.btn:focus-visible {
  background: var(--night);
  color: var(--rice);
}

.btn-persimmon {
  background: var(--persimmon);
  color: var(--rice);
}

.btn-persimmon:hover,
.btn-persimmon:focus-visible {
  background: var(--rice);
  color: var(--night);
}

.btn-ghost {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: transparent;
  color: inherit;
}

/* ---------- HERO : OUT OF PHASE ---------- */

.hero {
  min-height: 100vh;
  background: var(--rice);
  position: relative;
  padding: 0;
}

.hero-kicker {
  display: none;
}

.hero-title {
  position: absolute;
  top: 6.5vh;
  left: 2.2rem;
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  font-weight: 500;
  max-width: 9ch;
}

.hero-title .ln {
  display: block;
}

.hero-title .ln:nth-child(1) { margin-bottom: 2.6rem; }
.hero-title .ln:nth-child(2) { margin-bottom: 0.12rem; }
.hero-title .ln:nth-child(3) { margin-bottom: 1.9rem; }

.hero-copy {
  position: absolute;
  top: 20vh;
  right: 5.5vw;
  width: 28%;
  max-width: 34ch;
  font-size: 1.12rem;
  color: var(--night);
}

.hero-figure {
  position: absolute;
  top: 40vh;
  left: 44%;
  width: min(26rem, 36vw);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-cta-wrap {
  position: absolute;
  left: 2.2rem;
  bottom: 9vh;
}

.hero-micro {
  position: absolute;
  right: 2.2rem;
  bottom: 5.5vh;
  text-align: right;
  color: var(--aluminium);
}

.hero [data-arrive] {
  opacity: 0;
  animation: arrive 420ms var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}

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

/* ---------- RAPID FIRE ---------- */

.rapid {
  min-height: 38vh;
  background: var(--night);
  color: var(--rice);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  padding: 3.2rem 2.2rem 2.6rem;
  gap: 0.6rem;
}

.rapid p {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 16ch;
}

.rapid p:nth-child(1) { grid-column: 1; margin-top: 0.4rem; }
.rapid p:nth-child(2) { grid-column: 3; margin-top: 0; }
.rapid p:nth-child(3) { grid-column: 5; margin-top: 2.8rem; }
.rapid p:nth-child(4) { grid-column: 2; margin-top: 1.6rem; }
.rapid p:nth-child(5) { grid-column: 4; margin-top: 0.2rem; }
.rapid p:nth-child(6) { grid-column: 6; margin-top: 3.4rem; }

/* ---------- LONG HOLD ---------- */

.hold {
  min-height: 108vh;
  background: var(--butter);
  padding: 16vh 8vw 10vh;
}

.hold h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 500;
  max-width: 16ch;
  width: 48%;
}

.hold p {
  margin-top: 42vh;
  max-width: 44ch;
  width: 42%;
  font-size: 1.15rem;
}

/* ---------- PRIMARY STREAM ---------- */

.primary {
  min-height: 148vh;
  background: var(--rice);
  padding: 0 2.2rem 8vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.primary-top {
  padding-top: 10vh;
  max-width: 18ch;
}

.primary-top .mono {
  color: var(--aluminium);
  margin-bottom: 1.2rem;
}

.primary-top h2 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 500;
}

.primary-mid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 4vw;
  align-items: end;
  margin-top: 28vh;
}

.primary-mid p {
  max-width: 42ch;
  font-size: 1.15rem;
}

.primary-mid figure {
  margin-top: 8vh;
}

.primary-mid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.primary-low {
  margin-top: 22vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  max-width: 78%;
}

.primary-low p {
  max-width: 36ch;
}

/* ---------- INTERRUPTION ---------- */

.interrupt {
  min-height: 28vh;
  background: var(--persimmon);
  color: var(--rice);
  display: flex;
  align-items: center;
  padding: 2.2rem 8vw;
}

.interrupt p {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 500;
  max-width: 22ch;
  letter-spacing: -0.03em;
}

/* ---------- ASYNC SERVICES ---------- */

.async {
  min-height: 175vh;
  background: var(--rice);
  position: relative;
  padding: 8vh 2.2rem 12vh;
  overflow: hidden;
}

.svc {
  position: absolute;
  max-width: 34rem;
}

.svc h3 {
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.svc p {
  font-size: 1.02rem;
}

.svc-1 {
  top: 8vh;
  left: 2.2rem;
  width: 28%;
}

.svc-2 {
  top: 33vh;
  right: 4vw;
  width: 32%;
  background: var(--cornflower);
  color: var(--rice);
  padding: 1.6rem 1.5rem 1.8rem;
}

.svc-3 {
  top: 78vh;
  left: 32%;
  width: 34%;
}

.svc-3 h3 {
  color: var(--persimmon);
}

.svc-4 {
  top: 118vh;
  left: 2.2rem;
  width: 38%;
  background: var(--pine);
  color: var(--rice);
  padding: 2.4rem 2rem 8vh 2rem;
  min-height: 42vh;
}

.svc-5 {
  top: 132vh;
  right: 3vw;
  width: 22%;
}

.svc-5 .mark {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--wasabi);
  margin-bottom: 1rem;
}

.svc img {
  width: 72%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 1rem;
}

.svc.is-in[data-reveal="fade"] { animation: arrive 380ms var(--ease) both; }
.svc.is-in[data-reveal="shift"] { animation: shiftin 420ms var(--ease) both; }
.svc.is-in[data-reveal="field"] .field-first { animation: arrive 300ms var(--ease) both; }
.svc.is-in[data-reveal="image"] img { animation: arrive 280ms var(--ease) both; }
.svc.is-in[data-reveal="image"] h3,
.svc.is-in[data-reveal="image"] p { animation: arrive 400ms var(--ease) 160ms both; }

.js .svc[data-reveal]:not(.is-in) { opacity: 0; }

@keyframes shiftin {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- SYNC POINT ---------- */

.sync {
  min-height: 52vh;
  background: var(--cornflower);
  color: var(--rice);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  padding: 10vh 2.2rem 7vh;
  gap: 1.5rem;
}

.sync p {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--rice) 55%, transparent);
}

/* ---------- FEATURED ---------- */

.featured {
  min-height: 92vh;
  background: var(--rice);
  padding: 8vh 6vw 8vh;
}

.featured img {
  width: 86%;
  max-width: 68rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.featured-copy {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 2rem;
  width: 86%;
  align-items: start;
}

.featured h2 {
  font-size: 2.1rem;
}

.featured .out {
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- DOUBLE TIME ---------- */

.double {
  min-height: 58vh;
  background: var(--night);
  color: var(--rice);
  position: relative;
  padding: 5vh 2.2rem 8vh;
}

.case {
  position: relative;
  width: 28%;
}

.case img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.case h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.case p {
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--rice) 82%, var(--aluminium));
}

.case-a { margin-left: 0; }
.case-b { margin-left: auto; margin-top: -4vh; width: 24%; }
.case-c { margin: 6vh auto 0; width: 26%; }

/* ---------- FREEZE ---------- */

.freeze {
  min-height: 82vh;
  background: var(--sky);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 10vw 12vh;
}

.freeze p {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  max-width: 18ch;
  width: 22%;
}

.freeze .mono {
  margin-top: 1.4rem;
  color: color-mix(in srgb, var(--night) 55%, var(--sky));
}

/* ---------- PROCESS ---------- */

.process {
  min-height: 130vh;
  background: var(--rice);
  padding: 10vh 2.2rem 0;
}

.process-head {
  max-width: 36ch;
  margin-bottom: 10vh;
}

.process-head h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 0.6rem 0 1rem;
}

.tracks {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 4vw;
  min-height: 95vh;
  position: relative;
}

.track h3 {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--aluminium);
  margin-bottom: 2.4rem;
}

.stage {
  margin-bottom: 0;
}

.stage .num {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  color: var(--persimmon);
  display: block;
  margin-bottom: 0.35rem;
}

.stage h4 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.stage p {
  font-size: 0.98rem;
  max-width: 28ch;
}

.t-understand .stage:nth-of-type(1) { margin-bottom: 8vh; }
.t-understand .stage:nth-of-type(2) { margin-bottom: 0; }

.t-create { padding-top: 18vh; }
.t-create .stage { margin-bottom: 7vh; }

.t-verify { padding-top: 8vh; }
.t-verify .stage:nth-of-type(1) { margin-bottom: 38vh; }

.tracks::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--night);
}

.stage.is-in {
  animation: nudge 500ms var(--ease) both;
  animation-delay: var(--d, 0ms);
}

@keyframes nudge {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.js .stage[data-reveal]:not(.is-in) { opacity: 0; }

/* ---------- DESYNC STATEMENT ---------- */

.desync {
  min-height: 72vh;
  background: var(--night);
  color: var(--rice);
  padding: 12vh 6vw 10vh;
  position: relative;
}

.desync .line {
  font-family: "Sora", sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  display: block;
}

.desync .l1 {
  font-size: clamp(2.4rem, 6vw, 6.5rem);
}

.desync .l2 {
  font-size: clamp(2.4rem, 6vw, 6.5rem);
  margin-left: 18vw;
  margin-top: 1.6rem;
}

.desync .l3 {
  font-size: clamp(2.4rem, 6vw, 6.5rem);
  margin-left: 6vw;
  margin-top: 4.8rem;
}

.desync .late {
  color: var(--wasabi);
  display: inline-block;
  transform: translateY(1.15rem);
}

/* ---------- COMPANY TEMPO ---------- */

.tempo {
  background: var(--rice);
  padding: 12vh 8vw 16vh;
  min-height: 160vh;
}

.tempo .block {
  max-width: 38rem;
}

.tempo h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  margin-bottom: 1rem;
  max-width: 16ch;
}

.tempo .b-def { width: 52%; }
.tempo .b-approach { margin-top: 22vh; width: 44%; margin-left: 18%; }
.tempo .b-image { margin: 16vh 0 0 8%; width: 48%; }
.tempo .b-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tempo .b-expert { margin-top: 20vh; width: 38%; }
.tempo .b-context { margin-top: 18vh; width: 50%; margin-left: 22%; }

/* ---------- PARALLEL CAPABILITIES ---------- */

.parallel {
  min-height: 88vh;
  background: var(--night);
  color: var(--rice);
  display: grid;
  grid-template-columns: 65% 25%;
  justify-content: space-between;
  padding: 8vh 2.2rem 12vh;
  gap: 2rem;
}

.track-a { padding-top: 0; }
.track-b { padding-top: 18vh; }

.parallel h2 {
  font-size: 0.72rem;
  font-family: "DM Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--aluminium);
  margin-bottom: 2rem;
}

.track-a ul li {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 0.55rem 0;
}

.track-b ul li {
  font-size: 1.05rem;
  padding: 0.7rem 0;
  border-top: 1px solid color-mix(in srgb, var(--rice) 18%, transparent);
}

/* ---------- PHASE SHIFT ---------- */

.phase {
  min-height: 48vh;
  background: var(--cornflower);
  color: var(--rice);
  padding: 7vh 2.2rem 8vh;
}

.phase .top {
  max-width: 20ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
}

.phase .low {
  margin-top: 10vh;
  text-align: right;
  font-size: 1.08rem;
  max-width: 28ch;
  margin-left: auto;
}

/* ---------- LATE ARRIVAL ---------- */

.late-arr {
  min-height: 92vh;
  background: var(--mauve);
  color: var(--night);
  padding: 16vh 8vw 12vh;
}

.late-arr h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  max-width: 14ch;
  margin-bottom: 1.4rem;
}

.late-arr p {
  max-width: 46ch;
  margin-bottom: 6vh;
  font-size: 1.12rem;
}

.late-arr img {
  width: 62%;
  max-width: 48rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-left: 18%;
}

/* ---------- MARQUEE ---------- */

.cadence-marquee {
  min-height: 70vh;
  background: var(--rice);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18vh;
  overflow: hidden;
  padding: 8vh 0;
}

.mq {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.mq-slow {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  animation: mq-left 48s linear infinite;
}

.mq-fast {
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aluminium);
  animation: mq-right 22s linear infinite;
}

.mq span {
  padding: 0 2.2rem;
}

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

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

/* ---------- REST ---------- */

.rest {
  min-height: 62vh;
  background: var(--rice);
  padding: 8vh 8vw 0;
}

.rest p {
  font-size: 1.05rem;
  max-width: 28ch;
}

/* ---------- FINAL SYNC ---------- */

.final {
  min-height: 88vh;
  background: var(--pine);
  color: var(--rice);
  padding: 10vh 8vw 12vh;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 2rem;
  row-gap: 0;
}

.final h2 {
  grid-column: 1;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  max-width: 12ch;
}

.final .meta {
  grid-column: 2;
  justify-self: end;
  align-self: start;
  text-align: right;
  color: color-mix(in srgb, var(--rice) 70%, var(--wasabi));
}

.final .body {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  max-width: 38ch;
  margin-top: 22vh;
  font-size: 1.15rem;
}

.final .cta-row {
  grid-column: 1;
  grid-row: 3;
  margin-top: 3.2rem;
}

.final .dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--persimmon);
  display: inline-block;
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* ---------- AFTERBEAT ---------- */

.afterbeat {
  min-height: 70vh;
  background: var(--rice);
  position: relative;
  padding: 8vh 2.2rem 10vh;
}

.afterbeat a:hover {
  color: var(--cornflower);
}

.ab-co { position: relative; }
.ab-em { margin-left: auto; width: max-content; margin-top: 10vh; text-align: right; }
.ab-ph { margin-top: 14vh; }
.ab-ad { margin-left: auto; width: max-content; margin-top: 8vh; text-align: right; }

.afterbeat h2 {
  font-size: 1.4rem;
}

.afterbeat p {
  margin-top: 0.35rem;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--night);
  color: var(--rice);
  min-height: auto;
  padding: 1.4rem 2.2rem 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
}

.site-footer nav {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  color: var(--aluminium);
}

.site-footer .legal {
  color: var(--aluminium);
  display: flex;
  gap: 1rem;
}

/* ---------- INNER PAGES ---------- */

.page-hero {
  padding: 8vh 2.2rem 4vh;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
  font-weight: 500;
  max-width: 12ch;
}

.page-hero .lede {
  margin-top: 2rem;
  max-width: 40ch;
  font-size: 1.15rem;
}

/* services page cadence */

.sv-compact {
  min-height: 42vh;
  background: var(--rice);
  padding: 4vh 2.2rem 6vh;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  align-items: start;
}

.sv-compact .btn {
  align-self: start;
  justify-self: end;
}

.sv-compact h2 { font-size: 2rem; }

.sv-spacious {
  min-height: 120vh;
  background: var(--butter);
  padding: 16vh 10vw 12vh;
}

.sv-spacious h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  max-width: 12ch;
}

.sv-spacious p {
  margin-top: 28vh;
  max-width: 40ch;
  width: 48%;
}

.sv-spacious .cta-slot {
  margin-top: 18vh;
}

.sv-image {
  min-height: 58vh;
  background: var(--night);
  color: var(--rice);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3vw;
  padding: 0;
}

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

.sv-image .copy {
  padding: 6vh 3vw 4vh 0;
  align-self: end;
}

.sv-image h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }

.sv-text {
  min-height: 110vh;
  background: var(--pine);
  color: var(--rice);
  padding: 12vh 8vw;
}

.sv-text h2 {
  font-size: 1.7rem;
  max-width: 20ch;
  margin-bottom: 3vh;
}

.sv-text .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  max-width: 70%;
  margin-top: 8vh;
}

.sv-text .cta-slot {
  margin-top: 16vh;
}

.sv-hot {
  min-height: 36vh;
  background: var(--persimmon);
  color: var(--rice);
  padding: 5vh 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.sv-hot h2 { font-size: 2.3rem; max-width: 12ch; }
.sv-hot p { max-width: 36ch; }

/* about */

.about-def {
  min-height: 70vh;
  background: var(--rice);
  padding: 6vh 8vw 10vh;
}

.about-def h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  max-width: 14ch;
  margin-bottom: 2rem;
}

.about-def p { max-width: 46ch; width: 48%; }

.about-bg {
  min-height: 80vh;
  background: var(--night);
  color: var(--rice);
  padding: 18vh 8vw;
}

.about-bg p { max-width: 40ch; width: 42%; margin-top: 20vh; }

.about-ex {
  min-height: 90vh;
  background: var(--butter);
  padding: 14vh 8vw;
}

.about-ex h2 { font-size: 2.2rem; max-width: 12ch; }
.about-ex ul { margin-top: 16vh; max-width: 34rem; }
.about-ex li { padding: 0.85rem 0; border-top: 1px solid color-mix(in srgb, var(--night) 14%, transparent); font-size: 1.12rem; }

.about-ap {
  min-height: 85vh;
  background: var(--rice);
  padding: 12vh 12vw 12vh 8vw;
}

.about-ap h2 { margin-bottom: 18vh; font-size: 2rem; }
.about-ap p { max-width: 42ch; width: 52%; }

.about-pr {
  min-height: 70vh;
  background: var(--night);
  color: var(--rice);
  padding: 10vh 8vw;
}

.about-pr h2 { font-size: 1.5rem; margin-bottom: 8vh; }
.about-pr ol { max-width: 36rem; }
.about-pr li { font-family: "Sora", sans-serif; font-size: 1.25rem; font-weight: 500; padding: 1rem 0; }

.about-cx {
  min-height: 75vh;
  background: var(--rice);
  padding: 16vh 8vw 18vh;
}

.about-cx p { max-width: 44ch; width: 46%; margin-left: 20%; margin-top: 10vh; }
.about-cx h2 { max-width: 14ch; }

/* work */

.wk-long {
  padding: 6vh 2.2rem 10vh;
  background: var(--rice);
  min-height: 115vh;
}

.wk-long img {
  width: 92%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wk-long h2 { font-size: 2.4rem; margin: 2rem 0 1rem; max-width: 16ch; }
.wk-long p { max-width: 48ch; width: 50%; }

.wk-short {
  min-height: 48vh;
  background: var(--cornflower);
  color: var(--rice);
  padding: 5vh 2.2rem;
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.wk-short img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.wk-pause {
  min-height: 70vh;
  background: var(--night);
  padding: 0;
}

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

.wk-text {
  min-height: 100vh;
  background: var(--butter);
  padding: 14vh 10vw;
}

.wk-text h2 { font-size: 2rem; max-width: 16ch; margin-bottom: 4vh; }
.wk-text p { max-width: 50ch; width: 55%; margin-bottom: 1.2rem; }

.wk-compact {
  min-height: 40vh;
  background: var(--rice);
  padding: 4vh 2.2rem 5vh;
  display: grid;
  grid-template-columns: 120px 200px 1fr;
  gap: 2rem;
  align-items: center;
}

.wk-compact img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.wk-full {
  min-height: 88vh;
  background: var(--pine);
  color: var(--rice);
  padding: 0 0 8vh;
}

.wk-full img {
  width: 100%;
  height: 52vh;
  object-fit: cover;
}

.wk-full .copy { padding: 4vh 8vw 0; max-width: 48rem; }
.wk-full h2 { font-size: 2.4rem; margin-bottom: 1rem; }

/* contact */

.contact-top {
  padding: 8vh 2.2rem 4vh;
  background: var(--rice);
}

.contact-top h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
}

.contact-facts {
  padding: 2vh 2.2rem 8vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 4rem;
  max-width: 46rem;
}

.contact-gap {
  min-height: 38vh;
  background: var(--rice);
}

.form-wrap {
  background: var(--rice);
  padding: 0 2.2rem 10vh;
}

.form-wrap form {
  max-width: 52rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

.field input,
.field textarea {
  border: 0;
  border-bottom: 1px solid var(--aluminium);
  border-radius: 0;
  padding: 0.45rem 0 0.55rem;
  outline: none;
  width: 100%;
}

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

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

.field.is-focus .tick {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--wasabi);
}

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

.field .err {
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  color: var(--persimmon);
  min-height: 1rem;
}

.f-name { width: 46%; margin-bottom: 1.4rem; }
.f-email { width: 66%; margin-bottom: 4.2rem; }
.f-msg { width: 96%; margin-bottom: 2.4rem; }

.form-status {
  margin-top: 1.2rem;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
}

.form-status.ok { color: var(--pine); }
.form-status.bad { color: var(--persimmon); }

.map-wrap {
  min-height: 55vh;
  background: var(--sky);
}

.map-wrap iframe {
  width: 100%;
  height: 55vh;
  border: 0;
}

.legal-page {
  background: var(--rice);
  padding: 10vh 8vw 16vh;
  max-width: 46rem;
}

.legal-page h1 { font-size: 2.6rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal-page p { margin-bottom: 0.9rem; }

/* ---------- REVEAL DEFAULTS ---------- */

.obs {
  opacity: 0;
}

.obs.is-in {
  opacity: 1;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 1.5rem 2.2rem 4rem;
  }
  .hero-title,
  .hero-copy,
  .hero-figure,
  .hero-cta-wrap,
  .hero-micro {
    position: static;
    width: auto;
    max-width: none;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .hero-title { margin-top: 2vh; font-size: 3.2rem; max-width: 9ch; }
  .hero-copy { margin-top: 0; max-width: 46ch; }
  .hero-figure { margin: 2rem 0 0 auto; max-width: 20rem; }
  .hero-cta-wrap, .hero-micro { margin: 0; align-self: flex-start; text-align: left; }
  .rapid { grid-template-columns: 1fr 1fr; min-height: auto; padding: 2rem; }
  .rapid p { margin-top: 0.6rem !important; max-width: none; }
  .hold { min-height: 80vh; }
  .hold p { margin-top: 18vh; }
  .primary { min-height: auto; }
  .primary-mid { grid-template-columns: 1fr; margin-top: 8vh; }
  .primary-low { margin-top: 6vh; max-width: 100%; flex-direction: column; align-items: flex-start; }
  .async { min-height: auto; position: static; display: flex; flex-direction: column; gap: 4rem; }
  .svc { position: static; width: auto !important; max-width: none; }
  .svc-4 { min-height: auto; padding-bottom: 2rem; }
  .sync { grid-template-columns: 1fr 1fr; min-height: auto; }
  .featured-copy { grid-template-columns: 1fr; width: 100%; }
  .featured img, .late-arr img { width: 100%; margin-left: 0; }
  .double { position: static; }
  .case, .case-b, .case-c { width: 100%; margin: 0 0 2.5rem; }
  .tracks { grid-template-columns: 1fr; min-height: auto; gap: 3rem; }
  .t-create, .t-verify { padding-top: 0; }
  .t-verify .stage:nth-of-type(1) { margin-bottom: 2rem; }
  .parallel { grid-template-columns: 1fr; }
  .track-b { padding-top: 2rem; }
  .tempo .block { width: auto !important; margin-left: 0 !important; }
  .sv-compact, .sv-image, .wk-short, .wk-compact { grid-template-columns: 1fr; }
  .sv-image img, .wk-pause img, .wk-full img { height: auto; aspect-ratio: 16/9; }
  .sv-text .cols { grid-template-columns: 1fr; max-width: 100%; }
  .final { grid-template-columns: 1fr; min-height: auto; }
  .final .meta { justify-self: start; text-align: left; }
  .final .body { margin-top: 4rem; }
}

@media (max-width: 760px) {
  .hero-kicker { order: 0; }
  .hero-title { order: 1; margin-top: 2.5rem; }
  .hero-figure { order: 2; margin: 10vh 0 0; max-width: 100%; }
  .hero-copy { order: 3; margin-top: 8vh; }
  .hero-cta-wrap { order: 4; margin-top: 10vh; }
  .hero-micro { order: 5; margin-top: 2rem; text-align: left; justify-self: start; }
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .desktop-nav,
  .nav-cta {
    display: none;
  }
  .nav-toggle { display: block; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    inset: 0;
    background: var(--night);
    color: var(--rice);
    padding: 6rem 2rem 2rem;
    gap: 0.4rem;
    z-index: 70;
    transform: translateY(-101%);
    visibility: hidden;
    transition: transform 280ms var(--ease), visibility 280ms;
  }
  .mobile-nav.is-open {
    transform: none;
    visibility: visible;
  }
  .mobile-nav a {
    font-family: "Sora", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
  }
  .mobile-nav.is-open a {
    animation: arrive 220ms var(--ease) forwards;
  }
  .mobile-nav.is-open a:nth-child(1) { animation-delay: 40ms; }
  .mobile-nav.is-open a:nth-child(2) { animation-delay: 90ms; }
  .mobile-nav.is-open a:nth-child(3) { animation-delay: 140ms; }
  .mobile-nav.is-open a:nth-child(4) { animation-delay: 190ms; }
  .mobile-nav a .n { color: var(--persimmon); margin-right: 0.6rem; font-family: "DM Mono", monospace; font-size: 0.8rem; }
  .rapid { grid-template-columns: 1fr; }
  .hold { padding: 10vh 6vw; min-height: 70vh; }
  .hold h2, .hold p { width: 100%; }
  .hold p { margin-top: 10vh; }
  .interrupt p { max-width: none; }
  .freeze p { width: 100%; }
  .desync .l2, .desync .l3 { margin-left: 0; }
  .desync .late { transform: translateY(0.5rem); }
  .f-name, .f-email, .f-msg { width: 100%; }
  .contact-facts { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 0.8rem; }
  .sv-hot { flex-direction: column; align-items: flex-start; }
  .hero-figure { margin-left: 0; max-width: 100%; }
  .cadence-marquee { gap: 10vh; min-height: 50vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero [data-arrive],
  .svc,
  .stage,
  .obs,
  .mobile-nav a {
    opacity: 1 !important;
    transform: none !important;
  }
  .mq-slow,
  .mq-fast {
    animation: none !important;
    white-space: normal;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.6rem;
  }
}
