:root {
  --ink: #202124;
  --cotton: #f2eee3;
  --malachite: #3c806b;
  --vermilion: #d8583e;
  --indigo: #3e4a78;
  --saffron: #d8a633;
  --violet: #89768d;
  --copper: #9c6554;
  --aqua: #b7d2cc;
  --white: #fcf9f1;
  --malachite-wash: rgba(60, 128, 107, 0.16);
  --vermilion-wash: rgba(216, 88, 62, 0.14);
  --indigo-wash: rgba(62, 74, 120, 0.16);
  --saffron-wash: rgba(216, 166, 51, 0.18);
  --aqua-wash: rgba(183, 210, 204, 0.45);
  --font-display: "Bodoni Moda", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header: 4.5rem;
  --paper:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/></svg>");
}

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

html {
  scroll-behavior: smooth;
}

html.is-reduced {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cotton);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--paper);
  opacity: 0.55;
  z-index: 0;
}

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

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

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

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
}

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

.band {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

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

.link-pigment i {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--malachite);
  display: inline-block;
  transition: background 320ms var(--ease);
}

.link-pigment:hover i,
.link-pigment:focus-visible i {
  background: var(--vermilion);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  cursor: pointer;
  background: var(--vermilion);
  color: var(--white);
  font-weight: 500;
  isolation: isolate;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 9px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 18% 92%);
  transition: transform 320ms var(--ease);
}

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

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

.btn-malachite::after {
  background: var(--saffron);
}

.btn-ink {
  background: var(--ink);
  color: var(--saffron);
}

.btn-ink::after {
  background: var(--vermilion);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0 2.2rem;
  background: var(--cotton);
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(32, 33, 36, 0.08);
}

.site-header.is-ink {
  background: var(--ink);
  color: var(--white);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.logo span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  margin-left: 0.45rem;
  opacity: 0.7;
}

.nav-desktop {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
}

.nav-desktop a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-desktop a::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.35rem;
  width: 6px;
  height: 6px;
  background: transparent;
  transition: height 300ms var(--ease), background 300ms var(--ease);
}

.nav-desktop a:hover::before,
.nav-desktop a:focus-visible::before,
.nav-desktop a[aria-current="page"]::before {
  background: var(--malachite);
  height: 11px;
}

.nav-desktop a[aria-current="page"]:nth-child(2)::before,
.nav-desktop a:nth-child(2):hover::before {
  background: var(--vermilion);
}

.nav-desktop a[aria-current="page"]:nth-child(3)::before,
.nav-desktop a:nth-child(3):hover::before {
  background: var(--indigo);
}

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

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  width: 1.3rem;
  height: 2px;
  background: currentColor;
  left: 0.65rem;
}

.nav-toggle span {
  top: 1.25rem;
}

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

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

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

.mobile-nav {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 40;
  background: var(--cotton);
  display: grid;
  grid-template-columns: 12% 1fr 18% 1fr 10%;
  padding: 8vh 1.2rem 2rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mn-a,
.mn-b,
.mn-c {
  min-height: 70vh;
}

.mn-a {
  background: var(--malachite);
  clip-path: polygon(0 0, 100% 6%, 88% 100%, 0 94%);
}

.mn-b {
  background: var(--indigo);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 88%);
}

.mn-c {
  background: var(--vermilion);
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 22% 100%);
}

.mobile-nav nav {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 4vh;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 600;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 108vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.15fr;
  grid-template-rows: auto 1fr auto;
  padding: 1.4rem 2.2rem 3.5rem;
  overflow: hidden;
}

.hero-marker {
  grid-column: 1;
  align-self: start;
}

.hero-band-top,
.hero-edge,
.hero-wash,
.hero-indigo {
  grid-column: 1;
  grid-row: 1;
}

.hero-band-top {
  position: absolute;
  top: 0;
  left: 63%;
  width: 7%;
  height: 0;
  background: var(--malachite);
  clip-path: polygon(8% 0, 100% 0, 86% 100%, 0 96%);
}

.hero-edge {
  position: absolute;
  top: 8%;
  left: 16%;
  width: 7px;
  height: 0;
  background: var(--vermilion);
}

.hero-wash {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 28%;
  height: 0;
  background: var(--saffron-wash);
}

.hero-indigo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18%;
  height: 0;
  background: var(--indigo);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
}

body.is-ready .hero-band-top {
  height: 42%;
  transition: height 900ms var(--ease);
}

body.is-ready .hero-edge {
  height: 54%;
  transition: height 1100ms 120ms var(--ease);
}

body.is-ready .hero-wash {
  height: 36%;
  transition: height 800ms 180ms var(--ease);
}

body.is-ready .hero-indigo {
  height: 38%;
  transition: height 950ms 240ms var(--ease);
}

.hero-copy-cluster {
  grid-column: 1 / 3;
  grid-row: 2;
  position: relative;
  z-index: 2;
  min-height: 58vh;
}

.hero h1 {
  position: relative;
  height: 100%;
}

.hero h1 span {
  position: absolute;
  display: block;
  opacity: 0;
  transform: translateY(18px);
}

.hf-a {
  top: 4%;
  right: 8%;
  font-size: clamp(4.2rem, 9vw, 8.4rem);
  font-weight: 700;
}

.hf-b {
  top: 34%;
  left: 4%;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-style: italic;
  font-weight: 500;
}

.hf-c {
  top: 52%;
  left: 28%;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  color: rgba(32, 33, 36, 0.18);
  z-index: 0;
}

.hf-d {
  top: 58%;
  left: 27%;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  z-index: 1;
}

body.is-ready .hero h1 span {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 800ms var(--ease);
}

body.is-ready .hf-a { transition-delay: 280ms; }
body.is-ready .hf-b { transition-delay: 420ms; }
body.is-ready .hf-c { transition-delay: 500ms; }
body.is-ready .hf-d { transition-delay: 560ms; }

.hero-figure {
  grid-column: 3;
  grid-row: 1 / 4;
  position: relative;
  z-index: 1;
  width: min(28vw, 420px);
  justify-self: center;
  margin-top: 8vh;
  clip-path: inset(100% 0 0 0);
}

body.is-ready .hero-figure {
  clip-path: inset(0);
  transition: clip-path 1000ms 380ms var(--ease);
}

.hero-figure img {
  width: 100%;
  height: 78vh;
  object-fit: cover;
}

.hero-business {
  grid-column: 1;
  grid-row: 3;
  max-width: 22rem;
  opacity: 0;
}

.hero-cta {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  margin-right: 6%;
  opacity: 0;
}

body.is-ready .hero-business,
body.is-ready .hero-cta {
  opacity: 1;
  transition: opacity 600ms 720ms var(--ease);
}

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

.first-sep {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 22% 1fr 28%;
  grid-template-rows: 34vh 1fr;
  gap: 0;
}

.sep-a {
  grid-row: 1 / 3;
  background: var(--malachite);
  color: var(--white);
  padding: 12vh 1.6rem 2rem;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.sep-a h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 2rem;
}

.sep-a p {
  margin-top: 2.4rem;
  max-width: 14rem;
}

.sep-b {
  grid-column: 2;
  background: var(--white);
  padding: 6vh 7% 0 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sep-b .wash {
  height: 1.1rem;
  width: 42%;
  background: var(--vermilion);
  margin-bottom: 1.4rem;
}

.sep-b h2 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.sep-c {
  grid-column: 3;
  grid-row: 1 / 3;
  background: var(--indigo);
  color: var(--white);
  padding: 38vh 1.8rem 2rem;
}

.sep-c h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  margin: 0.8rem 0 1.2rem;
}

.clean-fraction {
  min-height: 56vh;
  display: grid;
  place-items: center;
  padding: 8vh 2rem;
}

.clean-fraction p {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  max-width: 18ch;
  text-align: left;
  line-height: 1.15;
  font-weight: 500;
}

.clean-fraction .mark {
  position: absolute;
  left: 12%;
  top: 28%;
  width: 8px;
  height: 18vh;
  background: var(--malachite);
}

.dominant {
  min-height: 124vh;
  display: grid;
  grid-template-columns: 42% 1fr;
  background: var(--aqua);
}

.dominant-visual {
  position: relative;
}

.dominant-visual img {
  width: 100%;
  height: 124vh;
  object-fit: cover;
}

.dominant-copy {
  padding: 10vh 7% 6vh 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dominant-copy h2 {
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  max-width: 8ch;
}

.dominant-copy p {
  max-width: 34ch;
  margin: 1.5rem 0 2rem;
}

.dominant-note {
  font-size: 0.95rem;
  max-width: 28ch;
  color: rgba(32, 33, 36, 0.82);
}

.migration {
  min-height: 132vh;
  background: var(--white);
  padding: 10vh 0 12vh;
}

.migration-col {
  width: min(42%, 520px);
  margin-left: 18%;
  display: grid;
  gap: 14vh;
}

.migration h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.migration p {
  max-width: 34ch;
}

.mig-2 { margin-left: 18%; }
.mig-3 { margin-left: 4%; }
.mig-4 { margin-left: 12%; }

.library {
  min-height: 118vh;
  position: relative;
  padding: 8vh 2vw 12vh;
}

.lib-a,
.lib-b,
.lib-c,
.lib-d,
.lib-e {
  position: absolute;
  padding: 1.6rem;
  transition: transform 280ms var(--ease);
}

.lib-a:hover,
.lib-b:hover,
.lib-d:hover,
.lib-e:hover {
  transform: translateY(-1px);
}

.lib-c:hover {
  transform: rotate(180deg) translateX(-1px);
}

.lib-a {
  left: 2%;
  top: 8%;
  width: 34%;
  min-height: 58vh;
  background: var(--malachite);
  color: var(--white);
}

.lib-a .tail {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 18%;
  background: rgba(252, 249, 241, 0.12);
  transition: background 350ms var(--ease);
}

.lib-a:hover .tail {
  background: rgba(252, 249, 241, 0.28);
}

.lib-a h3 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  margin-top: 18vh;
}

.lib-b {
  left: 40%;
  top: 6%;
  width: 22%;
  min-height: 28vh;
  background: var(--white);
  color: var(--ink);
}

.lib-c {
  right: 6%;
  top: 4%;
  width: 12%;
  min-height: 72vh;
  background: var(--vermilion);
  color: var(--white);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.lib-c h3 {
  font-size: 2rem;
}

.lib-d {
  left: 39%;
  top: 42%;
  width: 36%;
  min-height: 48vh;
  background: var(--indigo);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}

.lib-d img {
  width: 42%;
  height: 100%;
  object-fit: cover;
  float: left;
}

.lib-d .pad {
  padding: 1.5rem 1.4rem 1.4rem 46%;
}

.lib-d h3 {
  font-size: 2.1rem;
  margin: 0.6rem 0 0.8rem;
}

.lib-e {
  left: 8%;
  bottom: 4%;
  width: 28%;
  min-height: 26vh;
  background: var(--aqua);
}

.lib-e h3 {
  font-size: 1.8rem;
  margin: 0.5rem 0 0.7rem;
}

.solvent {
  min-height: 42vh;
  position: relative;
  background: var(--saffron);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.solvent .below {
  position: absolute;
  inset: 0;
  background: var(--aqua);
  clip-path: inset(0 0 100% 0);
}

.solvent.is-in .below {
  clip-path: inset(52% 0 0 0);
  transition: clip-path 720ms var(--ease);
}

.solvent p {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  max-width: 18ch;
  line-height: 1.12;
  opacity: 0;
}

.solvent.is-in p {
  opacity: 1;
  transition: opacity 500ms 480ms var(--ease);
}

.featured {
  min-height: 100vh;
  background: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  grid-template-rows: auto 1fr auto;
  padding: 8vh 6vw 7vh;
  gap: 2rem 4vw;
}

.featured figure {
  grid-column: 2;
  grid-row: 1;
}

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

.featured h2 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 8ch;
}

.featured .desc {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  max-width: 38ch;
}

.featured .result {
  grid-column: 1 / 3;
  grid-row: 3;
  font-family: var(--font-display);
  font-size: 1.35rem;
  max-width: 42ch;
}

.cases {
  display: grid;
}

.case-a {
  background: var(--cotton);
  display: grid;
  justify-items: start;
  padding: 8vh 10vw;
}

.case-a h3 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.4rem;
}

.case-a img {
  width: min(38vw, 420px);
  height: 72vh;
  object-fit: cover;
}

.case-a p {
  max-width: 36ch;
  margin-top: 1.6rem;
}

.case-b {
  background: var(--vermilion);
  color: var(--white);
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  padding: 8vh 6vw;
  gap: 4vw;
}

.case-b h3 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.case-b img {
  width: 100%;
  height: 28vh;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.case-c {
  background: var(--indigo);
  color: var(--white);
  padding: 12vh 18vw 12vh 8vw;
}

.case-c h3 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  max-width: 12ch;
  margin: 0.8rem 0 1.4rem;
}

.case-c p {
  max-width: 42ch;
}

.case-d {
  min-height: 80vh;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 10vh 2rem;
  text-align: center;
}

.case-d img {
  width: min(28vw, 280px);
  height: min(28vw, 280px);
  object-fit: cover;
  margin: 1.4rem auto;
}

.case-d p {
  max-width: 36ch;
}

.overlay {
  position: relative;
}

.overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--malachite);
  opacity: 0.28;
  pointer-events: none;
  mix-blend-mode: multiply;
  clip-path: inset(0);
}

.overlay.is-separated::after {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 700ms var(--ease);
}

.case-b.overlay::after { background: var(--ink); opacity: 0.25; }
.case-c.overlay::after { background: var(--saffron); opacity: 0.22; }
.case-d.overlay::after { background: var(--indigo); opacity: 0.18; }

.dry {
  min-height: 55vh;
  background: var(--ink);
  color: var(--cotton);
  position: relative;
}

.dry p {
  position: absolute;
  right: 8%;
  top: 18%;
  font-size: 0.95rem;
  max-width: 22ch;
}

.dry .line {
  position: absolute;
  left: 12%;
  bottom: 22%;
  width: 1px;
  height: 18vh;
  background: var(--copper);
}

.method {
  min-height: 122vh;
  background: var(--cotton);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 10vh 5vw 8vh;
  gap: 4vw;
}

.step {
  max-width: 22rem;
}

.step:nth-child(1) { margin-top: 0; }
.step:nth-child(2) { margin-top: 18vh; }
.step:nth-child(3) { margin-top: 8vh; }
.step:nth-child(4) { margin-top: 8vh; }
.step:nth-child(5) { margin-top: 22vh; }
.step:nth-child(6) { margin-top: 4vh; }

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.step h3 {
  font-size: 2rem;
  margin: 0.35rem 0 0.7rem;
}

.pig-mark {
  width: 7px;
  height: 2.4rem;
  margin-top: 1rem;
  background: var(--malachite);
  transform: translateY(-12px);
}

.step.is-in .pig-mark,
[data-reveal].is-in .pig-mark {
  transform: none;
  transition: transform 600ms var(--ease);
}

.step:nth-child(2) .pig-mark,
.step:nth-child(5) .pig-mark { background: var(--vermilion); }
.step:nth-child(3) .pig-mark,
.step:nth-child(6) .pig-mark { background: var(--indigo); }

.concentration {
  min-height: 82vh;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
}

.concentration-copy {
  padding: 10vh 6vw;
}

.concentration h2 {
  font-size: clamp(5rem, 14vw, 12rem);
  color: var(--vermilion);
}

.concentration p {
  max-width: 36ch;
  margin: 1.2rem 0 2rem;
}

.concentration-visual {
  background: var(--indigo);
  display: grid;
  place-items: end;
}

.concentration-visual img {
  width: 78%;
  height: 70%;
  object-fit: cover;
  justify-self: end;
}

.spectrum {
  min-height: 112vh;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  grid-template-rows: 1.1fr 0.9fr;
}

.spec-id {
  background: var(--cotton);
  padding: 8vh 6vw 4vh;
}

.spec-id h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 10ch;
}

.spec-ex {
  background: var(--malachite);
  color: var(--white);
  padding: 8vh 1.6rem 2rem;
}

.spec-ex h3 {
  font-size: 1.8rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.spec-ap {
  grid-column: 1 / 2;
  background: var(--aqua);
  padding: 7vh 8vw;
}

.spec-ap h3 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.spec-cx {
  background: var(--indigo);
  color: var(--white);
  padding: 4vh 1.6rem;
}

.spec-img {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  justify-self: center;
  align-self: end;
  width: min(22vw, 260px);
  margin-bottom: -8vh;
  z-index: 2;
  pointer-events: none;
}

.spec-img img {
  width: 100%;
  height: 46vh;
  object-fit: cover;
}

.traces {
  min-height: 78vh;
  position: relative;
  background: var(--white);
  padding: 8vh 6vw;
}

.traces h2 {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  max-width: 10ch;
}

.trace {
  position: absolute;
  max-width: 16rem;
}

.trace b {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.trace h3 {
  font-size: 1.15rem;
  margin: 0.2rem 0 0.35rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.trace i {
  display: block;
  width: 18px;
  height: 3px;
  margin-bottom: 0.5rem;
  background: var(--malachite);
}

.t1 { left: 8%; top: 16%; }
.t2 { right: 10%; top: 18%; }
.t2 i { background: var(--vermilion); }
.t3 { left: 12%; bottom: 14%; }
.t3 i { background: var(--indigo); }
.t4 { right: 14%; bottom: 16%; }
.t4 i { background: var(--saffron); }
.t5 { left: 38%; top: 12%; }
.t5 i { background: var(--copper); }
.t6 { right: 36%; bottom: 10%; }
.t6 i { background: var(--violet); }

.marquee-block {
  padding: 10vh 0;
  background: var(--cotton);
  display: grid;
  gap: 7vh;
  overflow: hidden;
}

.mq {
  display: flex;
  width: max-content;
  gap: 2.4rem;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.mq-a {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  animation: mq 42s linear infinite;
}

.mq-b {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: mq-rev 54s linear infinite;
}

.mq span:nth-child(odd) { color: var(--ink); }
.mq-a span:nth-child(even) { color: var(--malachite); }
.mq-b span:nth-child(even) { color: var(--indigo); }

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

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

.pure {
  min-height: 72vh;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 8vh 2rem;
}

.pure figure {
  width: min(28vw, 280px);
}

.pure img {
  width: 100%;
  height: 42vh;
  object-fit: cover;
}

.pure figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resolution {
  min-height: 96vh;
  display: grid;
  grid-template-columns: 20% 10% 35% 15% 20%;
}

.res-ind { background: var(--indigo); }
.res-saf { background: var(--saffron); }
.res-copy {
  background: var(--cotton);
  padding: 12vh 8% 4vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.res-copy h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  max-width: 9ch;
}

.res-copy p {
  margin-top: 1.4rem;
  max-width: 28ch;
}

.res-mal { background: var(--malachite); }
.res-cta {
  background: var(--vermilion);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.contact-residue {
  background: var(--ink);
  color: var(--cotton);
  padding: 10vh 8vw 8vh;
}

.residue-field {
  max-width: 18rem;
  display: grid;
  gap: 2.2rem;
}

.residue-field a:hover {
  color: var(--aqua);
}

.site-footer {
  background: var(--cotton);
  padding: 2.4rem 2.2rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: end;
  font-size: 0.88rem;
}

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

.ref-marks {
  display: flex;
  gap: 4px;
  justify-self: center;
}

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

.ref-marks i:nth-child(1) { background: var(--malachite); }
.ref-marks i:nth-child(2) { background: var(--vermilion); }
.ref-marks i:nth-child(3) { background: var(--indigo); }
.ref-marks i:nth-child(4) { background: var(--saffron); }

.legal {
  justify-self: end;
  display: flex;
  gap: 1rem;
}

.page-hero {
  position: relative;
  z-index: 1;
  min-height: 78vh;
  padding: 10vh 6vw 8vh;
}

.page-hero h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.cascade-open {
  position: relative;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1.1fr 0.4fr 0.8fr 0.3fr;
  background: var(--cotton);
  padding: 0;
}

.co-a { background: var(--malachite); }
.co-b { background: var(--saffron-wash); }
.co-c { background: var(--indigo); }
.co-d { background: var(--vermilion); }

.cascade-open .intro {
  position: absolute;
  left: 4%;
  bottom: 12%;
  max-width: min(26rem, 34%);
  z-index: 2;
  color: var(--white);
}

.chapter {
  min-height: 92vh;
  display: grid;
  position: relative;
  z-index: 1;
}

.ch-mal {
  background: var(--malachite);
  color: var(--white);
  grid-template-columns: 0.9fr 1.1fr;
}

.ch-mal img {
  width: 100%;
  height: 92vh;
  object-fit: cover;
}

.ch-copy { padding: 10vh 7vw; }

.ch-copy h2 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  margin: 0.6rem 0 1.2rem;
  overflow-wrap: break-word;
  max-width: 14ch;
}

.ch-copy ul {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.ch-copy li {
  padding: 0.45rem 0;
  border-top: 1px solid rgba(252, 249, 241, 0.2);
}

.ch-cotton {
  background: var(--cotton);
  padding: 12vh 18vw 12vh 10vw;
}

.ch-cotton h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 10ch;
}

.ch-ver {
  background: var(--vermilion);
  color: var(--white);
}

.ch-ver img {
  width: 100%;
  height: 42vh;
  object-fit: cover;
}

.ch-ind {
  background: var(--indigo);
  color: var(--white);
  grid-template-columns: 28% 1fr;
  min-height: 110vh;
}

.ch-ind img {
  width: min(22vw, 280px);
  height: 72vh;
  object-fit: cover;
  margin-bottom: 1.6rem;
}

.ch-ind .rail {
  background: rgba(252, 249, 241, 0.06);
  padding: 10vh 1.4rem;
}

.ch-aqua {
  background: var(--aqua);
  padding: 16vh 22vw;
}

.ch-ink {
  background: var(--ink);
  color: var(--white);
  padding: 12vh 10vw;
}

.about-open {
  min-height: 88vh;
  padding: 14vh 10vw 10vh 8vw;
  background: var(--cotton);
}

.about-open h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 14ch;
}

.longform {
  max-width: 42rem;
  padding: 8vh 10vw 4vh;
}

.longform h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 1rem;
}

.longform p + p { margin-top: 1rem; }

.about-band {
  background: var(--aqua);
  padding: 10vh 10vw;
}

.about-strong {
  background: var(--malachite);
  color: var(--white);
  padding: 10vh 12vw;
}

.work-open {
  min-height: 70vh;
  padding: 12vh 7vw;
  background: var(--cotton);
  display: grid;
  grid-template-columns: 1.2fr 0.4fr 0.6fr;
}

.wo-b { background: var(--malachite); }
.wo-c { background: var(--indigo); min-height: 40vh; align-self: end; }

.work-item { position: relative; z-index: 1; }

.wi-mix {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--malachite);
  color: var(--white);
}

.wi-mix img {
  height: 88vh;
  width: 100%;
  object-fit: cover;
}

.wi-text { padding: 8vh 6vw; }

.wi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wi-split .panel {
  padding: 10vh 6vw;
}

.wi-ind { background: var(--indigo); color: var(--white); }
.wi-white { background: var(--white); }

.wi-wide img {
  width: 100%;
  height: 48vh;
  object-fit: cover;
}

.wi-wide .cap {
  padding: 6vh 8vw 10vh;
  max-width: 46rem;
}

.wi-quiet {
  background: var(--ink);
  color: var(--cotton);
  padding: 16vh 20vw 16vh 10vw;
}

.contact-page {
  background: var(--white);
  min-height: 70vh;
  padding: 12vh 8vw 4vh;
}

.contact-page h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.contact-stack {
  margin-top: 6vh;
  max-width: 22rem;
  display: grid;
  gap: 2rem;
}

.form-wrap {
  padding: 8vh 8vw 10vh;
  background: var(--white);
  max-width: 52rem;
}

.form-wrap h2 {
  margin-bottom: 2.4rem;
}

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

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(32, 33, 36, 0.28);
  background: transparent;
  padding: 0.55rem 0 0.7rem 1.1rem;
  border-radius: 0;
}

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

.field .marker {
  position: absolute;
  left: 0;
  bottom: 0.7rem;
  width: 4px;
  height: 1.1rem;
  background: var(--malachite);
  transition: height 280ms var(--ease);
}

.field:focus-within .marker {
  height: 2.1rem;
}

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

.field-email .marker { background: var(--indigo); }
.field-org .marker { background: var(--saffron); }
.field-msg .marker { background: var(--vermilion); }

.field-error {
  min-height: 1.1rem;
  font-size: 0.82rem;
  color: transparent;
}

.field.is-invalid .field-error {
  color: var(--vermilion);
}

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

.form-status {
  margin-top: 1rem;
  min-height: 1.4rem;
}

.form-status.is-error { color: var(--vermilion); }
.form-status.is-success { color: var(--malachite); }

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

.legal-page {
  max-width: 46rem;
  padding: 10vh 8vw 12vh;
  position: relative;
  z-index: 1;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1.4rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.7rem;
}

.cookie-bar {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 22rem;
  background: var(--ink);
  color: var(--cotton);
  padding: 1rem 1.1rem;
  font-size: 0.88rem;
}

.cookie-bar[hidden] { display: none; }

.cookie-bar button {
  margin-top: 0.7rem;
  background: var(--malachite);
  color: var(--white);
  border: 0;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease), transform 650ms var(--ease);
}

html.is-reduced .hero-band-top,
html.is-reduced .hero-edge,
html.is-reduced .hero-wash,
html.is-reduced .hero-indigo {
  height: 36%;
  transition: none;
}

html.is-reduced .hero-indigo { height: 38%; }
html.is-reduced .hero-band-top { height: 42%; }

html.is-reduced .hero h1 span,
html.is-reduced .hero-business,
html.is-reduced .hero-cta,
html.is-reduced .hero-figure,
html.is-reduced [data-reveal] {
  opacity: 1;
  transform: none;
  clip-path: none;
  transition: none;
}

html.is-reduced .mq {
  animation: none;
  mask-image: none;
  flex-wrap: wrap;
  width: auto;
  justify-content: center;
}

html.is-reduced .overlay::after,
html.is-reduced .solvent .below {
  display: none;
}

html.is-reduced .pig-mark {
  transform: none;
}

@media (max-width: 1080px) {
  .library { min-height: auto; padding-bottom: 4vh; }
  .lib-a, .lib-b, .lib-c, .lib-d, .lib-e {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 1rem 4vw;
    writing-mode: horizontal-tb;
    transform: none;
  }
  .lib-c { min-height: 28vh; }
  .lib-d img { float: none; width: 100%; height: 32vh; }
  .lib-d .pad { padding: 1.4rem; }
  .method { grid-template-columns: 1fr; }
  .step { margin-top: 0 !important; padding: 2rem 0; }
  .traces h2 { position: relative; left: auto; top: auto; transform: none; margin-bottom: 2rem; }
  .trace { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 1.4rem 0; }
  .resolution { grid-template-columns: 1fr; min-height: auto; }
  .res-ind, .res-saf, .res-mal { min-height: 12vh; }
  .res-cta { min-height: 30vh; }
  .spec-img { display: none; }
  .migration-col { width: min(78%, 520px); margin-left: 8%; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 1.1rem; }
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 1rem 1.1rem 4.5rem;
  }
  .hero-copy-cluster {
    min-height: 0;
    width: 100%;
    position: relative;
    z-index: 2;
  }
  .hero h1 { position: relative; height: auto; }
  .hero h1 span {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: block;
  }
  .hf-a { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .hf-b { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .hf-d { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hf-c { display: none; }
  .hero-band-top {
    top: 46%;
    left: auto;
    right: 18%;
    width: 14px;
    z-index: 0;
  }
  .hero-edge {
    top: 48%;
    left: 0.6rem;
    z-index: 0;
  }
  .hero-wash {
    top: 50%;
    right: 0;
    width: 36%;
    z-index: 0;
  }
  .hero-indigo {
    width: 22%;
    z-index: 0;
  }
  .hero-figure {
    width: 78%;
    margin: 1.2rem 0 1.2rem auto;
    position: relative;
    z-index: 1;
  }
  .hero-figure img { height: 58vh; }
  .hero-business {
    max-width: 36ch;
    position: relative;
    z-index: 2;
    margin: 0.4rem 0 1rem;
  }
  .hero-cta {
    position: relative;
    z-index: 2;
    margin: 0;
    align-self: flex-start;
  }
  .first-sep, .dominant, .featured, .case-b, .concentration,
  .spectrum, .ch-mal, .ch-ind, .wi-mix, .wi-split, .cascade-open, .work-open {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .sep-a, .sep-c, .spec-ex { writing-mode: horizontal-tb; padding: 8vh 1.4rem; }
  .sep-a h2, .spec-ex h3 { writing-mode: horizontal-tb; transform: none; }
  .dominant-visual img, .ch-mal img, .wi-mix img { height: 58vh; }
  .case-a img { width: 100%; height: 58vh; }
  .site-footer { grid-template-columns: 1fr; }
  .legal { justify-self: start; }
  .longform, .about-open, .ch-cotton, .ch-aqua, .form-wrap, .contact-page { padding-left: 1.2rem; padding-right: 1.2rem; }
  .ch-aqua { padding: 10vh 1.2rem; }
  .wi-quiet { padding: 10vh 1.2rem; }
  .cascade-open .intro { max-width: 86%; left: 1.2rem; }
  .ch-ind img { width: 100%; height: 58vh; }
  body.is-ready .hero-band-top { height: 28%; }
  body.is-ready .hero-edge { height: 32%; }
  body.is-ready .hero-wash { height: 24%; }
}
