:root {
  --varnish-amber: #c49a5c;
  --varnish-amber-deep: #9a7340;
  --solvent-glass: #cfe0e6;
  --solvent-glass-deep: #9bb8c4;
  --conservation-white: #f4f0e8;
  --oxidised-umber: #2f221b;
  --oxidised-umber-mid: #4a352b;
  --retouch-mauve: #a36d7c;
  --retouch-mauve-deep: #7d4f5c;
  --uv-violet: #6e5d8f;
  --uv-violet-soft: rgba(110, 93, 143, 0.22);
  --swab-cotton: #eee4d4;
  --pigment-green: #5f6a48;
  --pigment-green-bright: #748056;
  --label-grey: #8b8680;
  --ink: #2a211c;
  --ink-soft: #5a4e46;
  --paper: #f7f3ec;
  --haze: rgba(196, 154, 92, 0.18);
  --mx: 48%;
  --my: 42%;
  --header-h: 4.4rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --mono: "Sono", "IBM Plex Mono", ui-monospace, monospace;
}

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

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--conservation-white);
  line-height: 1.65;
  min-height: 100%;
}

body.is-locked {
  overflow: hidden !important;
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

.site-grain,
.site-grain::before,
.site-grain::after {
  pointer-events: none;
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(207, 224, 230, 0.55), transparent 58%),
    radial-gradient(900px 600px at 110% 8%, rgba(196, 154, 92, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(244, 240, 232, 0.92), rgba(238, 228, 212, 0.88));
}

.site-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/varnish-texture.jpg");
  background-size: cover;
  opacity: 0.14;
  mix-blend-mode: multiply;
}

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

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
}

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

.cons-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.55rem 1.1rem;
  background: color-mix(in srgb, var(--conservation-white) 88%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--label-grey) 38%, transparent);
  backdrop-filter: blur(10px);
}

.cons-header.is-deep {
  background: color-mix(in srgb, var(--oxidised-umber) 94%, black);
  color: var(--swab-cotton);
  border-bottom-color: color-mix(in srgb, var(--varnish-amber) 35%, transparent);
}

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

.brand img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--label-grey) 50%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--swab-cotton) 80%, transparent);
}

.brand b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--label-grey);
  text-transform: uppercase;
}

.status-readout {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pigment-green);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.status-readout i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--pigment-green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pigment-green) 20%, transparent);
  font-style: normal;
}

.nav-codes {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-codes a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.38rem 0.55rem;
  border: 1px dashed color-mix(in srgb, var(--label-grey) 55%, transparent);
  background: color-mix(in srgb, var(--swab-cotton) 70%, white);
  transform: rotate(-0.4deg);
}

.nav-codes a em {
  display: block;
  font-style: normal;
  color: var(--label-grey);
  font-size: 0.55rem;
}

.cons-header.is-deep .nav-codes a {
  background: color-mix(in srgb, var(--oxidised-umber-mid) 80%, black);
  border-color: color-mix(in srgb, var(--varnish-amber) 40%, transparent);
  color: var(--swab-cotton);
}

.burger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--label-grey);
  background: var(--conservation-white);
  cursor: pointer;
  position: relative;
  z-index: 90;
}

.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1px;
  background: var(--oxidised-umber);
  content: "";
}

.burger span {
  top: 50%;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.btn-window,
.btn-swab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  border: 0;
  position: relative;
}

.btn-window {
  background: var(--conservation-white);
  color: var(--oxidised-umber);
  border: 1.5px solid var(--retouch-mauve);
  padding: 0.78rem 1.15rem 0.78rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 6px 6px 0 0 color-mix(in srgb, var(--oxidised-umber) 12%, transparent);
}

.btn-window::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  background: var(--pigment-green);
  border-radius: 50%;
}

.btn-window::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--uv-violet);
  background: color-mix(in srgb, var(--uv-violet) 18%, transparent);
  margin-left: 0.15rem;
}

.btn-window:hover {
  background: color-mix(in srgb, var(--conservation-white) 70%, var(--solvent-glass));
}

.btn-window:hover::after {
  background: color-mix(in srgb, var(--uv-violet) 35%, white);
}

.btn-window.solid {
  background: var(--retouch-mauve);
  color: var(--conservation-white);
  border-color: var(--retouch-mauve-deep);
}

.btn-window.umber {
  background: var(--oxidised-umber);
  color: var(--conservation-white);
  border-color: var(--varnish-amber);
}

.btn-window .swab-under {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.28rem;
  height: 0;
  border-bottom: 1px solid transparent;
}

.btn-window:hover .swab-under {
  border-bottom-color: var(--varnish-amber);
  height: 4px;
  background: radial-gradient(circle at 8% 50%, var(--swab-cotton), transparent 40%);
}

.btn-swab {
  background: transparent;
  color: var(--pigment-green);
  padding: 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.btn-swab.violet {
  color: var(--uv-violet);
}

.btn-swab.umber {
  color: var(--oxidised-umber);
}

.btn-swab:hover {
  border-bottom-width: 3px;
  border-bottom-style: dotted;
  color: var(--retouch-mauve);
}

.hero-varnish {
  position: relative;
  overflow-x: clip;
  min-height: min(92vh, 860px);
  padding: 1.4rem 0 2.2rem;
}

.hero-stage {
  width: min(1280px, calc(100% - 1.2rem));
  margin: 0 auto;
  min-height: 72vh;
  position: relative;
  background:
    linear-gradient(180deg, rgba(47, 34, 27, 0.28), rgba(47, 34, 27, 0.08)),
    url("../images/hero-varnish-surface.jpg") center/cover no-repeat;
  box-shadow: 0 18px 40px rgba(47, 34, 27, 0.18);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(244, 240, 232, 0.28), transparent 22%),
    linear-gradient(90deg, rgba(196, 154, 92, 0.18), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 120px;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(207, 224, 230, 0.7);
  background: rgba(244, 240, 232, 0.12);
  box-shadow: 0 0 40px rgba(110, 93, 143, 0.18);
  pointer-events: none;
  opacity: 0;
}

@media (min-width: 1025px) and (hover: hover) {
  .hero-stage::after {
    opacity: 1;
  }
}

.test-win {
  position: absolute;
  background: color-mix(in srgb, var(--conservation-white) 82%, var(--solvent-glass));
  border: 1px solid color-mix(in srgb, var(--solvent-glass-deep) 70%, white);
  box-shadow: inset 0 0 0 6px rgba(244, 240, 232, 0.35), 0 8px 18px rgba(47, 34, 27, 0.16);
  overflow: hidden;
  animation: hazeLift 1.8s var(--ease) both;
}

.test-win h1,
.test-win p,
.test-win strong {
  position: relative;
  z-index: 1;
}

.win-a {
  left: 5%;
  top: 11%;
  width: min(38%, 420px);
  padding: 1.3rem 1.2rem 1.1rem;
  transform: rotate(-1.1deg);
}

.win-a h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  line-height: 0.92;
  color: var(--oxidised-umber);
}

.win-b {
  left: 41%;
  top: 28%;
  width: min(28%, 300px);
  padding: 1rem;
  transform: rotate(0.8deg);
  animation-delay: 0.18s;
}

.win-b h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.win-c {
  right: 6%;
  top: 8%;
  width: min(26%, 280px);
  padding: 0.9rem;
  background: color-mix(in srgb, var(--swab-cotton) 88%, white);
  transform: rotate(1.6deg);
  animation-delay: 0.32s;
}

.note-kicker {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label-grey);
}

.hero-note {
  position: absolute;
  left: 6%;
  bottom: 8%;
  width: min(34%, 360px);
  background: var(--conservation-white);
  border: 1px solid var(--label-grey);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 10px 12px 0 color-mix(in srgb, var(--oxidised-umber) 10%, transparent);
  animation: slipIn 1s var(--ease) 0.45s both;
}

.hero-note p {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.anchor-value {
  position: absolute;
  right: 5%;
  bottom: 22%;
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2.2vw, 1.45rem);
  letter-spacing: 0.08em;
  color: var(--conservation-white);
  background: color-mix(in srgb, var(--oxidised-umber) 78%, black);
  padding: 0.55rem 0.8rem;
  transform: rotate(-1.4deg);
}

.lock-row {
  position: absolute;
  right: 5%;
  bottom: 7%;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  max-width: 46%;
  justify-content: flex-end;
}

.lock {
  background: var(--swab-cotton);
  border: 1px dashed var(--label-grey);
  padding: 0.45rem 0.55rem;
  font-size: 0.72rem;
  min-width: 7.5rem;
  animation: tapeIn 0.8s var(--ease) both;
  box-shadow: 0 1px 0 var(--varnish-amber);
}

.lock:nth-child(2) {
  animation-delay: 0.12s;
  transform: rotate(1deg);
}

.lock:nth-child(3) {
  animation-delay: 0.22s;
  transform: rotate(-0.8deg);
}

.lock b {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--uv-violet);
}

.hero-cta {
  position: absolute;
  left: 42%;
  bottom: 8%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.swab-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.swab-svg path {
  fill: none;
  stroke: color-mix(in srgb, var(--swab-cotton) 70%, white);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: drawSwab 2.4s var(--ease) 0.6s forwards;
}

.crack-svg path {
  stroke: color-mix(in srgb, var(--oxidised-umber) 45%, transparent);
  stroke-width: 0.7;
  animation-delay: 1.1s;
}

.pigment-chip {
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--pigment-green);
  right: 29%;
  top: 31%;
  transform: rotate(12deg);
  opacity: 0;
  animation: chipIn 0.6s var(--ease) 2.1s forwards;
  box-shadow: 2px 2px 0 var(--varnish-amber);
}

.strip {
  position: relative;
  overflow-x: clip;
  padding: 1.4rem 0 2rem;
}

.strip-track {
  display: flex;
  gap: 0.7rem;
  width: min(1220px, calc(100% - 1.4rem));
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.strip-item {
  flex: 1 1 160px;
  min-width: 140px;
  background: var(--swab-cotton);
  border: 1px solid var(--label-grey);
  padding: 0.7rem 0.75rem 0.8rem;
  transform: rotate(-0.4deg);
}

.strip-item:nth-child(even) {
  transform: rotate(0.6deg);
  background: var(--conservation-white);
}

.strip-item span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--retouch-mauve);
  text-transform: uppercase;
}

.strip-item p {
  font-size: 0.88rem;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.obscured {
  position: relative;
  overflow-x: clip;
  padding: 2.4rem 0 3rem;
}

.obscured-layout {
  width: min(1220px, calc(100% - 1.4rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.aged-panel {
  flex: 1.4 1 360px;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(47, 34, 27, 0.28), rgba(47, 34, 27, 0.08)),
    url("../images/reveal-strip.jpg") center/cover;
  color: var(--conservation-white);
  padding: 1.6rem 1.4rem;
  position: relative;
}

.aged-panel h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  max-width: 11ch;
  line-height: 0.95;
}

.aged-panel p {
  max-width: 36ch;
  margin-top: 1rem;
  color: color-mix(in srgb, var(--swab-cotton) 90%, white);
}

.note-stack {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.note-card {
  background: var(--conservation-white);
  border: 1px solid color-mix(in srgb, var(--label-grey) 70%, white);
  padding: 1rem 1.05rem;
  position: relative;
}

.note-card:nth-child(2) {
  margin-left: 1.4rem;
}

.note-card:nth-child(3) {
  margin-right: 1.1rem;
}

.note-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}

.note-card p {
  color: var(--ink-soft);
  margin-top: 0.35rem;
  font-size: 0.94rem;
}

.swab-join {
  position: absolute;
  width: 70px;
  height: 40px;
  right: -36px;
  top: 40%;
  pointer-events: none;
}

.outputs {
  position: relative;
  overflow-x: clip;
  padding: 1rem 0 3rem;
}

.outputs-table {
  width: min(1240px, calc(100% - 1.2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.85fr;
  grid-template-rows: auto auto auto;
  gap: 0.8rem;
}

.out-card {
  background: var(--conservation-white);
  border: 1px solid var(--label-grey);
  overflow: hidden;
  position: relative;
}

.out-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.out-card.featured {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.out-card.featured img {
  height: 280px;
}

.out-body {
  padding: 0.9rem 1rem 1.05rem;
}

.out-body h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}

.out-card.featured .out-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.meta-row span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--label-grey);
  padding: 0.18rem 0.35rem;
  background: var(--swab-cotton);
}

.surface-caption {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--uv-violet);
  margin-top: 0.4rem;
}

.thesis {
  position: relative;
  overflow-x: clip;
  margin: 1rem 0 2.5rem;
  background:
    linear-gradient(180deg, rgba(47, 34, 27, 0.88), rgba(47, 34, 27, 0.72)),
    url("../images/varnish-texture.jpg") center/cover;
  color: var(--swab-cotton);
  padding: 4.2rem 0 4.6rem;
}

.thesis .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: flex-end;
}

.thesis h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.88;
  max-width: 14ch;
  transform: translateX(-0.4rem);
}

.thesis-card {
  background: var(--conservation-white);
  color: var(--ink);
  padding: 1.3rem 1.2rem;
  max-width: 380px;
  margin-left: auto;
}

.uv-annote {
  position: absolute;
  right: 8%;
  top: 12%;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--solvent-glass) 80%, white);
  border: 1px solid color-mix(in srgb, var(--uv-violet) 60%, white);
  padding: 0.35rem 0.5rem;
  background: var(--uv-violet-soft);
}

.service-windows {
  position: relative;
  overflow-x: clip;
  padding: 1rem 0 3.2rem;
}

.surface-compose {
  width: min(1240px, calc(100% - 1.2rem));
  margin: 0 auto;
  min-height: 640px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(244, 240, 232, 0.2), rgba(47, 34, 27, 0.08)),
    url("../images/pigment-chips.jpg") 80% 20%/42% no-repeat,
    url("../images/swab-traces.jpg") 8% 80%/38% no-repeat,
    var(--swab-cotton);
  border: 1px solid color-mix(in srgb, var(--label-grey) 50%, transparent);
}

.svc-win {
  position: absolute;
  background: color-mix(in srgb, var(--conservation-white) 92%, white);
  border: 1px solid var(--label-grey);
  padding: 1rem;
  max-width: 280px;
}

.svc-win.primary {
  left: 18%;
  top: 16%;
  width: min(42%, 420px);
  max-width: none;
  padding: 1.3rem;
  background: color-mix(in srgb, var(--conservation-white) 80%, var(--solvent-glass));
}

.svc-win summary {
  list-style: none;
  cursor: pointer;
}

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

.svc-win h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.svc-win.primary h3 {
  font-size: 1.85rem;
}

.svc-win p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

.svc-win .trio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
}

.svc-win .trio span {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--swab-cotton);
  padding: 0.15rem 0.3rem;
  border-left: 2px solid var(--retouch-mauve);
}

.s1 { left: 4%; top: 8%; width: 220px; transform: rotate(-1deg); }
.s2 { right: 6%; top: 10%; width: 230px; transform: rotate(1.2deg); }
.s3 { left: 6%; bottom: 10%; width: 250px; }
.s4 { right: 22%; bottom: 14%; width: 240px; transform: rotate(-0.6deg); }
.s5 { right: 5%; bottom: 38%; width: 210px; }

.svc-caption {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--uv-violet);
  margin-top: 0.4rem;
}

.svc-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.svc-paths path {
  fill: none;
  stroke: color-mix(in srgb, var(--label-grey) 55%, var(--varnish-amber));
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.proof {
  position: relative;
  overflow-x: clip;
  padding: 1rem 0 3rem;
}

.proof-split {
  width: min(1220px, calc(100% - 1.2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.proof-obscured {
  flex: 1.6 1 360px;
  min-height: 380px;
  background:
    linear-gradient(180deg, rgba(47, 34, 27, 0.55), rgba(47, 34, 27, 0.22)),
    url("../images/microcrack-map.jpg") center/cover;
  color: var(--conservation-white);
  padding: 1.6rem;
}

.proof-recovered {
  flex: 1 1 260px;
  background: var(--conservation-white);
  border: 1px solid var(--label-grey);
  padding: 1.3rem;
}

.proof-obscured h2,
.proof-recovered h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.proof-obscured h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.proof-recovered h2 {
  font-size: 1.5rem;
}

.markers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.markers b {
  font-weight: 400;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--pigment-green);
  color: var(--pigment-green);
  padding: 0.28rem 0.45rem;
}

.count-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

.count-row strong {
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--retouch-mauve);
}

.count-row span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.about-method {
  position: relative;
  overflow-x: clip;
  padding: 1rem 0 3rem;
}

.about-lead {
  width: min(1220px, calc(100% - 1.2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-lead img {
  flex: 1.3 1 340px;
  max-height: 420px;
  object-fit: cover;
  border: 8px solid var(--conservation-white);
  box-shadow: 0 0 0 1px var(--label-grey);
}

.about-copy {
  flex: 1 1 300px;
  background: var(--conservation-white);
  padding: 1.3rem;
  border-left: 3px solid var(--varnish-amber);
}

.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1;
}

.seq {
  position: relative;
  overflow-x: clip;
  padding: 1rem 0 3rem;
}

.seq-board {
  width: min(1220px, calc(100% - 1.2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.seq-step {
  flex: 1 1 150px;
  min-height: 170px;
  background: var(--swab-cotton);
  padding: 0.9rem;
  border-top: 4px solid var(--oxidised-umber);
  position: relative;
}

.seq-step:nth-child(2n) {
  margin-top: 1.4rem;
  background: var(--conservation-white);
  border-top-color: var(--retouch-mauve);
}

.seq-step:nth-child(3n) {
  margin-top: 0.5rem;
  border-top-color: var(--pigment-green);
}

.seq-step em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--label-grey);
}

.seq-step h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0.3rem 0;
}

.marquee-wrap {
  overflow: hidden;
  max-width: 100vw;
  position: relative;
  padding: 0.4rem 0 1.6rem;
}

.marquee {
  display: flex;
  gap: 0.6rem;
  width: max-content;
  animation: marqueeMove 32s linear infinite;
}

.marquee.reverse {
  animation-direction: reverse;
  margin-top: 0.45rem;
}

.marquee span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px dashed var(--label-grey);
  padding: 0.35rem 0.7rem;
  background: var(--conservation-white);
  white-space: nowrap;
}

.cta-clarity {
  position: relative;
  overflow-x: clip;
  margin: 1rem 0 2.4rem;
  background:
    linear-gradient(180deg, rgba(47, 34, 27, 0.55), rgba(47, 34, 27, 0.35)),
    url("../images/uv-inspection.jpg") center/cover;
  padding: 4rem 1rem;
}

.cta-window {
  width: min(720px, 92%);
  margin: 0 auto 0 8%;
  background: color-mix(in srgb, var(--conservation-white) 88%, var(--solvent-glass));
  border: 1px solid color-mix(in srgb, var(--uv-violet) 50%, white);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 0 0 10px rgba(110, 93, 143, 0.12);
}

.cta-window h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.95;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.contact-preview {
  position: relative;
  overflow-x: clip;
  padding: 0 0 3rem;
}

.contact-preview .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--conservation-white);
  border: 1px solid var(--label-grey);
  padding: 1.2rem;
}

.contact-preview iframe {
  flex: 1 1 280px;
  min-height: 220px;
  border: 0;
  filter: saturate(0.7) contrast(1.05);
}

.vcard {
  flex: 1 1 240px;
}

.vcard h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
}

.vcard p {
  margin-top: 0.4rem;
}

.cons-footer {
  background: var(--oxidised-umber);
  color: var(--swab-cotton);
  position: relative;
  overflow-x: clip;
  padding: 2.2rem 1rem 1.4rem;
}

.foot-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: space-between;
}

.foot-grid a {
  color: var(--solvent-glass);
}

.foot-grid h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--varnish-amber);
  margin-bottom: 0.55rem;
}

.foot-grid ul {
  list-style: none;
}

.foot-grid li {
  margin: 0.28rem 0;
  font-size: 0.92rem;
}

.foot-copy {
  width: min(1180px, 100%);
  margin: 1.4rem auto 0;
  border-top: 1px solid color-mix(in srgb, var(--varnish-amber) 35%, transparent);
  padding-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.page-hero {
  position: relative;
  overflow-x: clip;
  padding: 2.4rem 1rem 2rem;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.92;
  max-width: 16ch;
}

.page-hero .kicker {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--retouch-mauve);
  margin-bottom: 0.6rem;
}

.prose {
  width: min(780px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  background: var(--conservation-white);
  padding: 1.4rem 1.3rem 1.8rem;
}

.prose.wide {
  width: min(980px, calc(100% - 2rem));
}

.prose h2,
.legal h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 1.4rem 0 0.5rem;
  line-height: 1.15;
}

.prose h3,
.legal h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 1.1rem 0 0.4rem;
}

.prose p,
.legal p {
  margin: 0.55rem 0;
  color: var(--ink-soft);
}

.prose ul,
.legal ul,
.legal ol {
  margin: 0.4rem 0 0.8rem 1.1rem;
  color: var(--ink-soft);
}

.media-band {
  width: min(1180px, calc(100% - 1.4rem));
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.media-band img {
  flex: 1 1 240px;
  height: 240px;
  object-fit: cover;
}

.faq {
  width: min(860px, calc(100% - 1.4rem));
  margin: 0 auto 3rem;
}

.faq-item {
  background: var(--conservation-white);
  border: 1px solid var(--label-grey);
  margin: 0.5rem 0;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0.9rem 1rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--oxidised-umber);
}

.faq-item .faq-body {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--ink-soft);
}

.faq-item.open .faq-body {
  display: block;
}

.group-head {
  width: min(1100px, calc(100% - 1.4rem));
  margin: 1.4rem auto 0.6rem;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--pigment-green);
}

.accordion {
  width: min(1100px, calc(100% - 1.4rem));
  margin: 0 auto 1rem;
  background: var(--conservation-white);
  border: 1px solid var(--label-grey);
}

.accordion summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.accordion .inner {
  padding: 0 1rem 1.1rem;
  color: var(--ink-soft);
}

.form-note {
  width: min(720px, calc(100% - 1.4rem));
  margin: 0 auto 2rem;
  background: var(--swab-cotton);
  border: 1px dashed var(--label-grey);
  padding: 1.3rem;
  position: relative;
}

.form-note::before {
  content: "RECOVERY REQUEST";
  position: absolute;
  top: -0.55rem;
  left: 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  background: var(--oxidised-umber);
  color: var(--swab-cotton);
  padding: 0.15rem 0.4rem;
}

.form-note label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.8rem 0 0.3rem;
}

.form-note input,
.form-note textarea {
  width: 100%;
  border: 1px solid var(--label-grey);
  background: var(--conservation-white);
  padding: 0.7rem 0.75rem;
  color: var(--ink);
}

.form-note textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note input:invalid:not(:placeholder-shown),
.form-note textarea:invalid:not(:placeholder-shown) {
  border-color: var(--retouch-mauve);
}

.form-note input:valid:not(:placeholder-shown),
.form-note textarea:valid:not(:placeholder-shown) {
  border-color: var(--pigment-green);
}

.form-error {
  color: var(--retouch-mauve-deep);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.map-frame {
  width: min(1100px, calc(100% - 1.4rem));
  margin: 0 auto 2.4rem;
  min-height: 320px;
  border: 8px solid var(--conservation-white);
  box-shadow: 0 0 0 1px var(--label-grey);
}

.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

.legal {
  width: min(860px, calc(100% - 1.6rem));
  margin: 0 auto 3rem;
  background: var(--conservation-white);
  padding: 1.6rem 1.4rem 2.2rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1.2rem;
}

.legal-nav a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--pigment-green);
  color: var(--pigment-green);
}

.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.thanks-card {
  width: min(560px, 100%);
  background: var(--conservation-white);
  border: 1px solid var(--label-grey);
  padding: 2rem 1.4rem;
  text-align: left;
}

.thanks-card h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.95;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (min-width: 1025px) and (hover: hover) {
  .parallax-shift {
    transition: transform 0.4s var(--ease);
    will-change: transform;
  }
}

.out-card:hover,
.note-card:hover,
.svc-win:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(47, 34, 27, 0.08);
}

.icon-line {
  width: 28px;
  height: 28px;
}

.icon-line path {
  fill: none;
  stroke: var(--oxidised-umber);
  stroke-width: 1.4;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}

.is-in .icon-line path,
.seq-step:hover .icon-line path {
  animation: drawSwab 1.1s var(--ease) forwards;
}

@keyframes hazeLift {
  from {
    filter: blur(4px) saturate(0.7);
    opacity: 0.4;
    transform: translateY(8px);
  }
  to {
    filter: none;
    opacity: 1;
  }
}

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

@keyframes tapeIn {
  from { transform: translateY(-10px) rotate(-3deg); opacity: 0; }
  to { opacity: 1; }
}

@keyframes chipIn {
  to { opacity: 1; }
}

@keyframes drawSwab {
  to { stroke-dashoffset: 0; }
}

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

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .status-readout {
    display: none;
  }

  .nav-codes,
  .cons-header .btn-window {
    display: none;
  }

  .burger {
    display: inline-block;
    margin-left: auto;
  }

  .nav-codes.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--oxidised-umber);
    color: var(--conservation-white);
    z-index: 85;
    padding: 5.2rem 1.4rem 2rem;
    gap: 0.7rem;
    overflow: auto;
  }

  .nav-codes.is-open a {
    background: var(--oxidised-umber-mid);
    color: var(--swab-cotton);
    font-size: 1.05rem;
    padding: 0.9rem;
  }

  .cons-header .nav-codes.is-open .btn-window {
    display: inline-flex;
    margin-top: 0.6rem;
    width: auto;
  }

  .hero-stage {
    min-height: auto;
    padding-bottom: 1.2rem;
  }

  .test-win,
  .hero-note,
  .anchor-value,
  .lock-row,
  .hero-cta,
  .pigment-chip {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    margin: 0.7rem 0.8rem;
    transform: none;
  }

  .lock-row {
    max-width: none;
    justify-content: flex-start;
    padding: 0 0.8rem 1rem;
  }

  .win-a h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .surface-compose {
    min-height: 0;
    background: var(--swab-cotton);
  }

  .svc-win,
  .svc-win.primary,
  .s1, .s2, .s3, .s4, .s5 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    margin: 0.55rem;
    transform: none;
  }

  .svc-paths,
  .hero-stage::after,
  .uv-annote,
  .swab-join {
    display: none;
  }

  .outputs-table {
    display: flex;
    flex-direction: column;
  }

  .out-card.featured {
    grid-column: auto;
  }

  .thesis h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .cta-window {
    margin: 0 auto;
  }

  .btn-window {
    width: 100%;
    justify-content: center;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
