:root {
  --mulberry: #24171F;
  --butter: #F1D77A;
  --lilac: #A996B8;
  --seafoam: #9DC4B5;
  --paprika: #C94E3B;
  --parchment: #DED9CF;
  --ink: #3B302C;
  --aluminium: #A7A9A4;
  --cream: #F5F0E5;
  --plum: #33233A;

  --font-display: "Anton", sans-serif;
  --font-body: "Figtree", sans-serif;
  --font-mono: "Ubuntu Mono", ui-monospace, monospace;

  --ease-snap: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-flap: cubic-bezier(0.55, 0.06, 0.25, 1);
  --radius: 2px;
  --nav-h: 72px;
  --gutter: clamp(18px, 3.6vw, 56px);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

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

address {
  font-style: normal;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 80;
  background: var(--butter);
  color: var(--mulberry);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.skip:focus {
  top: 10px;
}

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

/* TYPE */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.86;
  text-transform: uppercase;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SLOT / MARKERS */
.slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.slot__cell {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--plum);
  color: var(--cream);
  border-radius: var(--radius);
}

.slot__cell--butter {
  background: var(--butter);
  color: var(--mulberry);
}

.slot__cell--seafoam {
  background: var(--seafoam);
  color: var(--mulberry);
}

.slot__cell--paprika {
  background: var(--paprika);
  color: var(--cream);
}

.slot--outline .slot__cell {
  background: transparent;
  color: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}

.slot.is-filled .slot__cell {
  background: currentColor;
  color: var(--cream);
  box-shadow: none;
}

.slot.is-filled.slot--on-dark .slot__cell {
  background: var(--butter);
  color: var(--mulberry);
}

.slot.is-filled.slot--on-butter .slot__cell {
  background: var(--mulberry);
  color: var(--butter);
}

.slot.is-filled.slot--on-seafoam .slot__cell {
  background: var(--mulberry);
  color: var(--seafoam);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: stretch;
  min-height: 52px;
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.btn__label {
  display: grid;
  place-items: center;
  padding: 0 22px;
}

.btn__flip {
  display: grid;
  place-items: center;
  width: 46px;
  font-family: var(--font-mono);
  font-size: 16px;
  transition: background 180ms var(--ease-snap), color 180ms var(--ease-snap), transform 180ms var(--ease-flap);
  transform-style: preserve-3d;
}

.btn--paprika {
  background: var(--paprika);
  color: var(--cream);
}

.btn--paprika .btn__flip {
  background: #a83d2e;
  color: var(--cream);
}

.btn--paprika:hover .btn__flip,
.btn--paprika:focus-visible .btn__flip {
  background: var(--butter);
  color: var(--mulberry);
}

.btn--butter {
  background: var(--butter);
  color: var(--mulberry);
}

.btn--butter .btn__flip {
  background: #e0c35f;
  color: var(--mulberry);
}

.btn--butter:hover .btn__flip,
.btn--butter:focus-visible .btn__flip {
  background: var(--mulberry);
  color: var(--butter);
}

.btn--mulberry {
  background: var(--mulberry);
  color: var(--cream);
}

.btn--mulberry .btn__flip {
  background: var(--plum);
}

.btn--mulberry:hover .btn__flip,
.btn--mulberry:focus-visible .btn__flip {
  background: var(--butter);
  color: var(--mulberry);
  transform: rotateX(180deg);
}

.link-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.link-strip .cell {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: var(--radius);
  transition: background 180ms var(--ease-snap), color 180ms var(--ease-snap);
}

.link-strip:hover .cell,
.link-strip:focus-visible .cell {
  background: var(--butter);
  color: var(--mulberry);
}

.link-strip--on-dark .cell {
  background: var(--cream);
  color: var(--mulberry);
}

.link-strip--on-dark:hover .cell {
  background: var(--butter);
}

/* FLAP CELLS */
.flap-row {
  display: inline-flex;
  gap: 4px;
  perspective: 420px;
}

.flap {
  position: relative;
  display: grid;
  place-items: center;
  width: 0.72em;
  height: 1.08em;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: inherit;
  line-height: 1;
  overflow: hidden;
  border-radius: 2px;
  transform-style: preserve-3d;
}

.flap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(36, 23, 31, 0.45);
  z-index: 2;
}

.flap span {
  display: block;
  transform-origin: 50% 50%;
}

.flap.is-flipping span {
  animation: flap-rotate 280ms var(--ease-flap) both;
}

@keyframes flap-rotate {
  0% { transform: rotateX(-90deg); }
  62% { transform: rotateX(12deg); }
  100% { transform: rotateX(0deg); }
}

.flap--butter {
  background: var(--butter);
  color: var(--mulberry);
}

.flap--cream {
  background: var(--cream);
  color: var(--mulberry);
}

.hero.is-ready .hero-flap .flap span {
  animation: flap-rotate 280ms var(--ease-flap) both;
}

.hero.is-ready .hero-flap .flap:nth-child(1) span { animation-delay: 80ms; }
.hero.is-ready .hero-flap .flap:nth-child(2) span { animation-delay: 120ms; }
.hero.is-ready .hero-flap .flap:nth-child(3) span { animation-delay: 160ms; }
.hero.is-ready .hero-flap .flap:nth-child(4) span { animation-delay: 200ms; }
.hero.is-ready .hero-flap .flap:nth-child(5) span { animation-delay: 240ms; }
.hero.is-ready .hero-flap .flap:nth-child(6) span { animation-delay: 280ms; }
.hero.is-ready .hero-flap .flap:nth-child(7) span { animation-delay: 320ms; }
.hero.is-ready .hero-flap .flap:nth-child(8) span { animation-delay: 360ms; }
.hero.is-ready .hero-flap .flap:nth-child(9) span { animation-delay: 400ms; }
.hero.is-ready .hero-flap .flap:nth-child(10) span { animation-delay: 440ms; }
.hero.is-ready .hero-flap .flap:nth-child(11) span { animation-delay: 480ms; }

/* NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mulberry);
  color: var(--cream);
  min-height: var(--nav-h);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  min-height: var(--nav-h);
  padding: 0 var(--gutter);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--plum);
  color: var(--butter);
  font-family: var(--font-display);
  font-size: 16px;
  position: relative;
}

.logo__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(36, 23, 31, 0.5);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--aluminium);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--nav-h);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
}

.nav-link .idx {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--aluminium);
  margin-bottom: 4px;
}

.nav-link .marker {
  position: absolute;
  left: 16px;
  bottom: 10px;
  width: 10px;
  height: 10px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--aluminium);
}

.nav-link.is-active .marker,
.nav-link:hover .marker,
.nav-link:focus-visible .marker {
  background: var(--butter);
  box-shadow: none;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-self: center;
  justify-self: end;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  position: relative;
}

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

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

.board-index {
  display: none;
}

/* HERO / MASTER BOARD */
.hero {
  background: var(--mulberry);
  color: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-desktop-only {
  display: revert;
}

.hero-mobile-only {
  display: none;
}

.hero-l1 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aluminium);
  border-bottom: 1px solid rgba(167, 169, 164, 0.22);
}

.hero-l1 span:last-child {
  color: var(--lilac);
}

.hero-l2 {
  padding: 42px var(--gutter) 18px;
}

.hero-kicker {
  font-size: clamp(64px, 12vw, 168px);
  color: var(--cream);
  margin-bottom: 10px;
}

.hero-mid {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 14px;
}

.hero-flap {
  font-size: clamp(42px, 8.4vw, 118px);
}

.hero-sub {
  font-size: clamp(36px, 6vw, 84px);
  color: var(--butter);
}

.hero-l3 {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) 1fr;
  padding: 8px var(--gutter) 36px;
}

.hero-copy {
  max-width: 34ch;
  font-size: 17px;
  color: var(--parchment);
  opacity: 0;
  transform: translateY(10px);
}

.hero.is-ready .hero-copy {
  opacity: 1;
  transform: none;
  transition: opacity 280ms 700ms var(--ease-snap), transform 280ms 700ms var(--ease-snap);
}

.hero-bar {
  height: 10px;
  background: var(--butter);
  transform: scaleX(0);
  transform-origin: left;
}

.hero.is-ready .hero-bar {
  transform: scaleX(1);
  transition: transform 420ms 520ms var(--ease-snap);
}

.hero-l4 {
  display: grid;
  grid-template-columns: 0.2fr 0.55fr 0.25fr;
  min-height: 240px;
  align-items: stretch;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px var(--gutter) 22px var(--gutter);
  background: var(--plum);
  color: var(--aluminium);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta strong {
  color: var(--cream);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hero-image {
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
}

.hero.is-ready .hero-image {
  clip-path: inset(0 0 0 0);
  transition: clip-path 520ms 620ms var(--ease-snap);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 22px;
  background: var(--mulberry);
  opacity: 0.45;
}

.hero.is-ready .hero-actions {
  opacity: 1;
  transition: opacity 240ms 900ms linear;
}

/* QUESTION */
.question {
  background: var(--cream);
  padding: clamp(72px, 12vw, 160px) var(--gutter);
}

.question .slot {
  margin-bottom: 28px;
  color: var(--ink);
}

.question p {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.16;
  max-width: 18ch;
  letter-spacing: -0.03em;
}

.question p em {
  font-style: normal;
  color: var(--paprika);
}

/* STATE CHANGE */
.states {
  display: grid;
}

.state-band {
  display: grid;
  grid-template-columns: 90px 1fr minmax(180px, 0.32fr);
  gap: 24px;
  align-items: center;
  padding: 28px var(--gutter);
  min-height: 110px;
  border-top: 1px solid rgba(59, 48, 44, 0.12);
}

.state-band:nth-child(1) {
  background: var(--parchment);
  min-height: 96px;
}

.state-band:nth-child(2) {
  background: var(--lilac);
  color: var(--mulberry);
  min-height: 140px;
}

.state-band:nth-child(3) {
  background: var(--seafoam);
  min-height: 168px;
}

.state-band h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.1;
}

.state-band p {
  max-width: 42ch;
  font-size: 15px;
}

.state-band.is-live {
  background: var(--butter);
}

.state-band.is-live .slot__cell {
  background: var(--mulberry);
  color: var(--butter);
}

/* PRIMARY SERVICE BOARD */
.primary-board {
  background: var(--butter);
  color: var(--mulberry);
  padding: 0;
}

.primary-board__top {
  display: grid;
  grid-template-columns: 48px 1fr 0.42fr;
  gap: 28px;
  padding: 48px var(--gutter) 28px;
  align-items: end;
}

.primary-board h2 {
  font-size: clamp(52px, 8vw, 118px);
  max-width: 10ch;
}

.primary-board__copy {
  font-size: 17px;
  max-width: 38ch;
  padding-bottom: 8px;
}

.primary-board__copy p + p {
  margin-top: 12px;
}

.primary-board__cta {
  padding: 0 var(--gutter) 28px;
}

.primary-board__image {
  width: 100%;
  height: min(42vw, 420px);
  overflow: hidden;
}

.primary-board__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  align-self: start;
  margin-top: 8px;
}

/* SIDE CHANNELS */
.channels {
  background: var(--parchment);
}

.channel {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(36, 23, 31, 0.12);
  overflow: hidden;
  transition: background 280ms var(--ease-snap), color 280ms var(--ease-snap);
}

.channel:nth-child(1) {
  min-height: 240px;
  background: var(--cream);
}

.channel:nth-child(2) {
  min-height: 90px;
  background: var(--plum);
  color: var(--cream);
}

.channel:nth-child(3) {
  min-height: 180px;
  grid-template-columns: 88px 1fr 0.42fr;
  background: var(--lilac);
  color: var(--mulberry);
}

.channel:nth-child(4) {
  min-height: 130px;
  background: var(--mulberry);
  color: var(--cream);
}

.channel:nth-child(5) {
  min-height: 260px;
  background: var(--cream);
  grid-template-columns: 88px minmax(0, 0.55fr) 1fr;
}

.channel h3 {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.1;
}

.channel p {
  max-width: 52ch;
  font-size: 15px;
  margin-top: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease-snap), opacity 280ms var(--ease-snap), margin 280ms var(--ease-snap);
}

.channel:nth-child(1) p,
.channel:nth-child(5) p {
  max-height: 8em;
  opacity: 1;
}

.channel img {
  width: 220px;
  height: 100%;
  max-height: 180px;
  object-fit: cover;
}

.channel:nth-child(5) img {
  width: 100%;
  max-height: 220px;
}

@media (hover: hover) and (pointer: fine) {
  .channel:hover,
  .channel:focus-within {
    background: var(--butter);
    color: var(--mulberry);
  }

  .channel:hover p,
  .channel:focus-within p {
    max-height: 8em;
    opacity: 1;
    margin-top: 8px;
  }

  .channel:nth-child(3):hover img,
  .channel:nth-child(3):focus-within img {
    filter: grayscale(0.2) contrast(1.05);
  }
}

/* CLEAR FIELD */
.clear-field {
  background: var(--cream);
  padding: clamp(96px, 16vw, 220px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr minmax(160px, 0.22fr);
  gap: 32px;
  align-items: end;
}

.clear-field p {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  max-width: 16ch;
  letter-spacing: -0.03em;
}

.seafoam-block {
  background: var(--seafoam);
  color: var(--mulberry);
  padding: 18px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 92px;
}

/* DECISION MATRIX */
.matrix {
  background: var(--parchment);
  padding: 64px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 0;
  position: relative;
}

.matrix-need {
  background: var(--mulberry);
  color: var(--cream);
  padding: 48px 40px 64px;
  min-height: 420px;
}

.matrix-need h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  margin: 16px 0 28px;
}

.matrix-need ul li {
  font-size: 22px;
  font-weight: 500;
  padding: 10px 0;
  border-top: 1px solid rgba(245, 240, 229, 0.16);
}

.matrix-approach {
  background: var(--cream);
  padding: 36px 28px;
}

.matrix-approach h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0 16px;
}

.matrix-output {
  grid-column: 1 / -1;
  width: 78%;
  margin-left: 14%;
  margin-top: -28px;
  background: var(--lilac);
  color: var(--mulberry);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.matrix-output p {
  font-size: 18px;
  font-weight: 500;
  max-width: 46ch;
}

/* CASE BOARD */
.cases {
  background: var(--cream);
}

.cases-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 48px var(--gutter) 18px;
}

.cases-head h2 {
  font-size: clamp(36px, 5vw, 68px);
}

.case-board {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr;
  min-height: 520px;
  border-top: 1px solid rgba(36, 23, 31, 0.14);
}

.case-main {
  background: var(--mulberry);
  color: var(--cream);
}

.case-main article {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 520px;
}

.case-visual {
  min-height: 280px;
  overflow: hidden;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.case-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 28px 32px 32px;
}

.case-copy h3 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.1;
}

.case-facts p {
  font-size: 15px;
  color: var(--parchment);
  margin-bottom: 12px;
}

.case-facts strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--butter);
  margin-bottom: 4px;
  font-weight: 400;
}

.case-list {
  background: var(--parchment);
  display: flex;
  flex-direction: column;
}

.case-tab {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(36, 23, 31, 0.12);
  font-weight: 600;
  font-size: 16px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  color: var(--ink);
}

.case-tab .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--aluminium);
}

.case-tab[aria-selected="true"] {
  background: var(--butter);
  color: var(--mulberry);
}

.case-tab[aria-selected="true"] .idx {
  color: var(--mulberry);
}

.case-mobile {
  display: none;
}

/* FLIP GAP */
.flip-gap {
  background: var(--mulberry);
  min-height: 42vh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
}

.flip-gap .word {
  font-family: var(--font-display);
  font-size: clamp(72px, 16vw, 220px);
  color: var(--butter);
  line-height: 0.8;
  letter-spacing: 0.02em;
}

.flip-gap.is-in .word {
  animation: flap-rotate 420ms var(--ease-flap) both;
}

/* PROCESS */
.process-board {
  display: grid;
  grid-template-columns: 120px 1fr 0.4fr;
  gap: 28px;
  padding: 36px var(--gutter);
  align-items: center;
  border-bottom: 1px solid rgba(36, 23, 31, 0.1);
}

.process-board:nth-child(1) {
  background: var(--cream);
  min-height: 160px;
}

.process-board:nth-child(2) {
  background: var(--parchment);
  min-height: 220px;
}

.process-board:nth-child(3) {
  background: var(--plum);
  color: var(--cream);
  min-height: 280px;
}

.process-board:nth-child(4) {
  background: var(--seafoam);
  min-height: 180px;
}

.process-board:nth-child(5) {
  background: var(--butter);
  min-height: 240px;
}

.process-board h3 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
}

.process-board p {
  max-width: 36ch;
}

.process-no {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--paprika);
}

.process-board:nth-child(3) .process-no {
  color: var(--butter);
}

/* INTERRUPT */
.interrupt {
  background: var(--paprika);
  color: var(--cream);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}

.interrupt p {
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 600;
  line-height: 1.05;
  max-width: 14ch;
  letter-spacing: -0.03em;
}

/* COMPANY REGISTER */
.register {
  background: var(--cream);
}

.register-who {
  padding: 72px var(--gutter) 36px;
}

.register-who h2 {
  font-size: clamp(32px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.12;
  max-width: 18ch;
  letter-spacing: -0.03em;
}

.register-how {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.36fr);
  gap: 32px;
  padding: 12px var(--gutter) 36px;
}

.register-how .dense {
  background: var(--parchment);
  padding: 24px;
  font-size: 15px;
}

.register-where {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  min-height: 240px;
}

.register-where .ctx {
  background: var(--lilac);
  color: var(--mulberry);
  padding: 32px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.register-where img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

/* LEDGER */
.ledger {
  background: var(--parchment);
  padding: 56px 0 72px;
}

.ledger h2 {
  padding: 0 var(--gutter) 28px;
  font-size: clamp(32px, 4vw, 52px);
}

.ledger-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px var(--gutter);
  border-top: 1px solid rgba(36, 23, 31, 0.1);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
}

.ledger-row:nth-child(odd) { padding-left: calc(var(--gutter) + 4vw); }
.ledger-row:nth-child(3n) { padding-left: calc(var(--gutter) + 14vw); }
.ledger-row:nth-child(4n) { padding-left: calc(var(--gutter) + 8vw); }
.ledger-row:nth-child(5n) { padding-left: calc(var(--gutter) + 22vw); }

.ledger-row .idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paprika);
}

/* BELTS */
.belts {
  overflow: hidden;
  background: var(--mulberry);
}

.belt {
  overflow: hidden;
  white-space: nowrap;
}

.belt-track {
  display: inline-flex;
  gap: 0;
  min-width: 200%;
}

.belt span {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: 0.04em;
}

.belt--a {
  background: var(--mulberry);
  color: var(--cream);
}

.belt--a .belt-track {
  animation: belt-left 38s linear infinite;
}

.belt--b {
  background: var(--butter);
  color: var(--mulberry);
}

.belt--b .belt-track {
  animation: belt-right 46s linear infinite;
}

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

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

/* LAST UPDATE */
.last-update {
  background: var(--parchment);
  padding: 48px var(--gutter);
}

.last-update p {
  margin-top: 12px;
  font-size: 18px;
  max-width: 36ch;
}

/* CONFIRMED CTA */
.confirm {
  background: var(--seafoam);
  color: var(--mulberry);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.confirm h2 {
  font-size: clamp(40px, 6vw, 84px);
  max-width: 12ch;
  margin: 18px 0 0;
}

.confirm .actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

/* CONTACT PREVIEW */
.contact-board {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.7fr;
  background: var(--cream);
  border-top: 1px solid rgba(36, 23, 31, 0.12);
}

.contact-field {
  padding: 28px 24px;
  border-right: 1px solid rgba(36, 23, 31, 0.12);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-field:last-child {
  border-right: 0;
}

.contact-field:nth-child(1) { background: var(--parchment); }
.contact-field:nth-child(2) { background: var(--cream); }
.contact-field:nth-child(3) { background: var(--lilac); }
.contact-field:nth-child(4) { background: var(--plum); color: var(--cream); }

.contact-field h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.7;
}

.contact-field p,
.contact-field a {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

/* FOOTER */
.site-footer {
  background: var(--mulberry);
  color: var(--cream);
  padding: 48px var(--gutter) 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
}

.site-footer a:hover {
  color: var(--butter);
}

.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aluminium);
  font-weight: 400;
  margin-bottom: 14px;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(167, 169, 164, 0.2);
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--aluminium);
}

/* PAGE HEROES / INNER */
.page-hero {
  background: var(--mulberry);
  color: var(--cream);
  padding: 48px var(--gutter) 56px;
}

.page-hero.calm {
  background: var(--cream);
  color: var(--mulberry);
}

.page-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aluminium);
  margin-bottom: 18px;
}

.page-hero.calm .eyebrow {
  color: var(--paprika);
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 108px);
}

.page-hero.calm h1 {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 16ch;
  font-size: clamp(34px, 5vw, 68px);
}

.announce-board {
  background: var(--butter);
  color: var(--mulberry);
  padding: 56px var(--gutter);
}

.announce-board h1 {
  font-size: clamp(48px, 8vw, 120px);
  max-width: 12ch;
}

.announce-board p {
  max-width: 42ch;
  margin-top: 20px;
  font-size: 18px;
}

.service-block {
  padding: 64px var(--gutter);
}

.service-block h2 {
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.05;
  margin: 12px 0 20px;
}

.service-block p {
  max-width: 58ch;
}

.service-block p + p {
  margin-top: 12px;
}

.service-a {
  background: var(--mulberry);
  color: var(--cream);
}

.service-a h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.service-b {
  background: var(--cream);
  padding: 88px var(--gutter);
}

.service-b h2 {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.service-c {
  background: var(--seafoam);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.service-d {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  padding: 0;
  background: var(--plum);
  color: var(--cream);
  min-height: 360px;
}

.service-d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.service-d .inner {
  padding: 48px 40px;
}

.service-e {
  background: var(--parchment);
}

.stack-lines {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.stack-lines article {
  display: grid;
  grid-template-columns: 72px 1fr 1.2fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(36, 23, 31, 0.12);
}

.stack-lines h3 {
  font-size: 20px;
  font-weight: 600;
}

/* ABOUT */
.about-band {
  padding: 64px var(--gutter);
}

.about-band.alt {
  background: var(--parchment);
}

.about-band h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  margin-bottom: 18px;
}

.about-band p {
  max-width: 62ch;
}

.principles {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0;
}

.principles article {
  padding: 32px var(--gutter);
  border-top: 1px solid rgba(36, 23, 31, 0.1);
}

.principles article:nth-child(1) {
  grid-column: 1 / -1;
  background: var(--mulberry);
  color: var(--cream);
  min-height: 200px;
}

.principles article:nth-child(2) {
  background: var(--cream);
}

.principles article:nth-child(3) {
  background: var(--lilac);
}

.principles h3 {
  font-size: 26px;
  margin: 8px 0 12px;
}

.about-context {
  background: var(--plum);
  color: var(--cream);
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
}

.about-context img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.about-context .copy {
  padding: 48px 40px;
}

/* WORK PAGE CASES */
.work-case {
  display: grid;
}

.work-case h2 {
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.05;
}

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

.work-01 img {
  width: 100%;
  height: min(48vw, 460px);
  object-fit: cover;
}

.work-01 .copy {
  padding: 36px var(--gutter) 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.work-02 {
  background: var(--parchment);
  padding: 80px var(--gutter);
}

.work-02 h2 {
  font-size: clamp(48px, 8vw, 120px);
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.88;
  max-width: 10ch;
}

.work-02 p {
  max-width: 28ch;
  margin-top: 24px;
  font-size: 18px;
}

.work-03 {
  background: var(--seafoam);
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 40px;
}

.work-04 {
  background: var(--butter);
  padding: 64px var(--gutter);
}

.work-04 .pair {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 24px;
  align-items: end;
  margin-top: 24px;
}

.work-05 {
  background: var(--mulberry);
  color: var(--cream);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.work-05 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.work-05 .copy {
  padding: 56px 40px;
}

/* CONTACT PAGE */
.contact-status {
  background: var(--mulberry);
  color: var(--cream);
  padding: 48px var(--gutter) 24px;
}

.contact-status h1 {
  font-size: clamp(52px, 10vw, 140px);
}

.contact-fields {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 0.9fr;
  min-height: 220px;
}

.contact-fields article {
  padding: 28px 24px;
}

.contact-fields article:nth-child(1) {
  background: var(--butter);
  color: var(--mulberry);
}

.contact-fields article:nth-child(2) {
  background: var(--cream);
}

.contact-fields article:nth-child(3) {
  background: var(--lilac);
}

.form-wrap {
  background: var(--parchment);
  padding: 56px var(--gutter) 80px;
}

.form-wrap h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 28px;
}

.field {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: end;
  padding: 18px 0;
  border-bottom: 2px solid rgba(36, 23, 31, 0.18);
  transition: border-color 180ms var(--ease-snap);
}

.field:focus-within {
  border-bottom-color: var(--butter);
}

.field.is-error {
  border-bottom-color: var(--paprika);
}

.field label {
  font-size: 18px;
  font-weight: 500;
}

.field .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paprika);
  padding-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 0;
  outline: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 18px 0 24px;
  font-size: 14px;
  color: var(--ink);
}

.form-success {
  display: none;
  background: var(--seafoam);
  color: var(--mulberry);
  padding: 20px;
  margin-top: 20px;
}

.form-success.is-on {
  display: block;
}

.legal {
  background: var(--cream);
  padding: 56px var(--gutter) 96px;
}

.legal h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 12px;
}

.legal h2 {
  margin: 32px 0 10px;
  font-size: 24px;
}

.legal p,
.legal li {
  max-width: 68ch;
}

.legal ul {
  padding-left: 18px;
  list-style: disc;
  margin: 8px 0 16px;
}

.faq details {
  border-top: 1px solid rgba(36, 23, 31, 0.14);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--paprika);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 10px;
  max-width: 62ch;
}

/* MOBILE NAV BOARD */
@media (max-width: 900px) {
  .nav {
    grid-template-columns: auto auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

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

  .board-index {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--mulberry);
    color: var(--cream);
    z-index: 60;
    padding: 28px var(--gutter);
    overflow: auto;
  }

  .board-index.is-open {
    display: flex;
    flex-direction: column;
  }

  .board-index header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
  }

  .board-index a.item {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 500;
    padding: 18px 0;
    border-bottom: 1px solid rgba(245, 240, 229, 0.12);
  }

  .board-index a.item.is-current {
    background: var(--butter);
    color: var(--mulberry);
    margin: 0 calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .board-index .idx {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--aluminium);
  }

  .board-index a.item.is-current .idx {
    color: var(--mulberry);
  }

  .hero-desktop-only {
    display: none;
  }

  .hero-mobile-only {
    display: revert;
  }

  .hero-l4 {
    display: contents;
  }

  .hero-image {
    order: 3;
  }

  .hero-l3 {
    order: 4;
    padding-top: 28px;
  }

  .hero-actions {
    order: 5;
    padding: 0 var(--gutter) 28px;
  }

  .hero-meta {
    order: 6;
  }

  .hero-l1 {
    flex-direction: column;
  }

  .hero-mid {
    flex-wrap: wrap;
  }

  .hero-flap {
    font-size: clamp(36px, 10vw, 64px);
  }

  .hero-desktop-flap {
    display: none;
  }

  .hero-mobile-word {
    display: inline-flex;
  }

  .hero-l3 {
    grid-template-columns: 1fr;
  }

  .hero-l4 {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: row;
    gap: 16px;
  }

  .hero-copy {
    opacity: 1;
    transform: none;
    max-width: 46ch;
  }

  .hero-actions {
    opacity: 1;
  }

  .state-band,
  .primary-board__top,
  .channel,
  .channel:nth-child(3),
  .channel:nth-child(5),
  .clear-field,
  .matrix,
  .case-board,
  .process-board,
  .register-how,
  .register-where,
  .confirm,
  .contact-board,
  .footer-top,
  .service-c,
  .service-d,
  .principles,
  .about-context,
  .work-01 .copy,
  .work-03,
  .work-04 .pair,
  .work-05,
  .contact-fields,
  .stack-lines article {
    grid-template-columns: 1fr;
  }

  .channel {
    min-height: 0 !important;
    padding: 28px var(--gutter);
  }

  .channel p {
    max-height: none;
    opacity: 1;
  }

  .channel img,
  .channel:nth-child(5) img {
    width: 100%;
    max-height: 160px;
    margin-top: 12px;
  }

  .matrix-output {
    width: 100%;
    margin: 0;
  }

  .case-board {
    display: none;
  }

  .case-mobile {
    display: block;
  }

  .case-mobile article {
    padding: 28px var(--gutter);
    border-top: 1px solid rgba(36, 23, 31, 0.12);
  }

  .case-mobile img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 16px;
  }

  .rail {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .ledger-row,
  .ledger-row:nth-child(odd),
  .ledger-row:nth-child(3n),
  .ledger-row:nth-child(4n),
  .ledger-row:nth-child(5n) {
    padding-left: var(--gutter);
    font-size: 20px;
  }

  .hero-kicker,
  .hero-sub {
    font-size: clamp(40px, 14vw, 72px);
  }

  .question p {
    max-width: 12ch;
  }
}

.hero-mobile-word {
  display: none;
}

@media (min-width: 901px) {
  .hero-mobile-word {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .primary-board__image,
  .work-01 img {
    height: 180px;
  }

  .interrupt p {
    max-width: 12ch;
  }

  .contact-field,
  .process-board,
  .register-who,
  .about-band {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero .hero-copy,
  .hero .hero-actions,
  .hero .hero-image {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .hero-bar {
    transform: none;
  }

  .belt-track {
    animation: none !important;
    flex-wrap: wrap;
    min-width: 0;
    white-space: normal;
  }

  .belt {
    white-space: normal;
  }
}
