/* ─────────────────────────────────────────────
   ARCDESIGN — the visual practice of ARCUHN
   Lighter, editorial, gridded. Builds on styles.css.
   ───────────────────────────────────────────── */
.page-arcdesign {
  --paper: #E7E1D6;
  --paper-2: #DDD5C7;
  --ink: #2E2E2E;
  --ink-70: rgb(46 46 46 / .72);
  --ink-45: rgb(46 46 46 / .45);
  --ink-15: rgb(46 46 46 / .14);
  --ox: #4A0404;
  --ox-2: #6b1414;
  --slate: #8095AA;
  --brass: #a8834f;
  --header-bg: rgb(231 225 214 / .95);
  --header-line: rgb(46 46 46 / .1);

  background: var(--paper);
  color: var(--ink);
}
.page-arcdesign .site-header.is-scrolled.on-dark { --header-bg: rgb(46 46 46 / .95); --header-line: rgb(222 216 204 / .1); }

/* header follows the page: ink on paper, oat on dark sections / open menu */
.page-arcdesign .site-header { color: var(--ink); transition: color .4s; }
.page-arcdesign .brand__mark { fill: currentColor; filter: none; }
.page-arcdesign .site-header { text-shadow: none; }
.page-arcdesign .menu-toggle { color: inherit; }
.page-arcdesign .site-header.on-dark { color: var(--oat); }
.page-arcdesign:has(.menu-toggle[aria-expanded="true"]) .site-header { color: var(--ink); }

/* the menu follows ARCDESIGN's lighter, editorial world */
.page-arcdesign .site-menu {
  background:
    linear-gradient(to right, var(--ink-15) 1px, transparent 1px) var(--gutter) 0 / calc((100% - 2 * var(--gutter)) / 12) 100%,
    var(--paper);
  color: var(--ink);
}
.page-arcdesign .site-menu__list a { color: var(--ink); }
.page-arcdesign .site-menu__list a:hover,
.page-arcdesign .site-menu__list a[aria-current="page"] { color: var(--ox); }
.page-arcdesign .site-menu__list .idx { color: var(--ox); opacity: .7; }
.page-arcdesign .site-menu__foot { color: var(--ink-45); }

.ad { position: relative; overflow: clip; }

/* shared type */
.ad-label, .ad-tag {
  margin: 0;
  font: 400 11px var(--font-mono);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ox);
}
.ad-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.ad-tag::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }
.ad-h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ox { color: var(--ox); }
.dim { color: var(--ink-45); }

.ad-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 6px 0;
  font: 700 12px var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ox);
}
.ad-cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(.3);
  transition: transform .6s var(--ease-out);
}
.ad-cta:hover::after, .ad-cta:focus-visible::after { transform: scaleX(1); }
.ad-cta span { transition: transform .5s var(--ease-out); }
.ad-cta:hover span { transform: translateX(4px); }
.ad-cta--big { font-size: clamp(13px, 1.2vw, 16px); }

.sysline {
  margin: 56px 0 0;
  font: 400 11px/1.9 var(--font-mono);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.sysline::before { content: "// "; color: var(--ox); }

/* scroll reveal */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.rv.is-in { opacity: 1; transform: none; }

.ad-sec {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(96px, 15vh, 170px) var(--gutter);
}

/* ─────────────── 01 · THE REFRAME MACHINE ─────────────── */
.machine { position: relative; height: 100vh; height: 100svh; }   /* the machine runs by itself — no scroll needed */
.machine__sticky {
  --p: 0;              /* scroll progress through the machine, set by JS */
  position: relative;          /* runs by itself: no sticky / no own compositor layer needed */
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  padding: clamp(84px, 12vh, 120px) var(--gutter) clamp(24px, 4vh, 40px);
  gap: 0 var(--gutter);
}
.machine__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--ink-15) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(46 46 46 / .06) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 12) 100%, 100% 48px;
  background-position: var(--gutter) 0, 0 0;
  opacity: calc(.35 + var(--p) * .65);    /* the grid firms up as order returns */
}
.crop { position: absolute; width: 18px; height: 18px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink-45); }
.crop::before { width: 18px; height: 1px; } .crop::after { width: 1px; height: 18px; }
.crop--tl { left: 14px; top: 74px; } .crop--tr { right: 14px; top: 74px; transform: scaleX(-1); }
.crop--bl { left: 14px; bottom: 14px; transform: scaleY(-1); } .crop--br { right: 14px; bottom: 14px; transform: scale(-1); }

.machine__head { grid-column: 1 / -1; position: relative; z-index: 2; }
.machine__title {
  margin: 14px 0 0;
  text-wrap: balance;
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}

/* stage */
.rf { grid-column: 1 / -1; position: relative; min-height: 0; margin: 2vh 0 3vh; }
.rf__side {
  position: absolute;
  top: 6%;
  margin: 0;
  font: 400 10px var(--font-mono);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.rf__side span { opacity: .6; }
.rf__side--in { left: 0; }
.rf__side--out { right: 0; color: var(--ox); }

/* the reframe field: a soft volume of blur between old and new */
.rf__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(120px, 15vw, 230px);
  height: 92%;
  translate: -50% -50%;
  perspective: 900px;
  z-index: 2;
  pointer-events: none;
}
.rf__blur {
  position: absolute;
  inset: 0 -30%;
  -webkit-backdrop-filter: blur(14px) saturate(.85) brightness(1.04);
          backdrop-filter: blur(14px) saturate(.85) brightness(1.04);
  background: radial-gradient(60% 50% at 50% 50%, rgb(255 250 240 / .35), rgb(255 250 240 / 0));
  /* feathered on every side, so the blur fades in and out rather than having edges */
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}
/* two faint glass planes give the field depth */
.rf__plane {
  position: absolute;
  inset: 6% 18%;
  border: 1px solid rgb(46 46 46 / .06);
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(255 255 255 / .18), rgb(255 255 255 / 0) 40%, rgb(74 4 4 / .05));
  animation: plane-breathe 7s ease-in-out infinite;
}
.rf__plane--back  { transform: translateZ(-140px) rotateY(18deg); opacity: .6; }
.rf__plane--front { transform: translateZ(60px) rotateY(-12deg); animation-delay: -3.5s; }
@keyframes plane-breathe { 50% { translate: 0 -6px; opacity: .45; } }

/* fragments: position from messy (fx,fy,fr) → through the core → ordered (tx,ty) — driven by --q */
.frag {
  --q: 0;              /* this fragment's own progress, set by JS */
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--w) * 1%);
  translate:
    calc(-50% + (var(--fx) + (var(--tx) - var(--fx)) * var(--q)) * 1cqw)
    calc(-50% + (var(--fy) + (var(--ty) - var(--fy)) * var(--q)) * 1cqh);
  rotate: calc(var(--fr) * (1 - var(--q)) * 1deg);
  /* keeps drifting, and is squeezed to a point as it passes through the portal */
  transform: perspective(700px) translate(var(--bx, 0px), var(--by, 0px)) rotateY(var(--ry, 0deg)) scale(calc(.78 * var(--sq, 1)));
  opacity: var(--fo, 1);
  z-index: 1;
}
.rf { container-type: size; }
.frag > div { transition: none; }
.frag__m { opacity: calc(1 - var(--sw, 0)); }
.frag__c { position: absolute; inset: 0; opacity: var(--sw, 0); }
.frag { --sw: clamp(0, (var(--q) - .42) * 6, 1); }

/* messy faces */
.frag__m--title { font: 700 italic clamp(14px, 1.9vw, 26px)/1.05 Georgia, serif; color: #c0392b; text-shadow: 2px 2px 0 #f1c40f; }
.frag__m--title small { font: 400 11px Arial, sans-serif; color: #555; text-shadow: none; }
.frag__m--wall { font: 400 9px/1.25 "Times New Roman", serif; color: #333; text-align: justify; background: #fffef5; padding: 6px; border: 1px dashed #999; }
.frag__m--pie { aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#3cf 0 22%, #f3c 0 31%, #9f3 0 45%, #fc0 0 63%, #f60 0 71%, #36c 0 84%, #999 0); box-shadow: 4px 6px 0 #888; transform: rotateX(38deg); }
.frag__m--logos { display: grid; gap: 2px; }
.frag__m--logos b:nth-child(1) { font: 700 16px "Comic Sans MS", cursive; color: #2a7de1; }
.frag__m--logos b:nth-child(2) { font: 900 13px Impact, sans-serif; color: #e74c3c; letter-spacing: .1em; }
.frag__m--logos b:nth-child(3) { font: 300 italic 15px Georgia, serif; color: #16a085; }
.frag__m--swatch { display: flex; gap: 3px; }
.frag__m--swatch i { flex: 1; height: 22px; }
/* the red note grows with its text, so the words can never stick out of it */
.frag__m--note { width: max-content; font: 900 clamp(8px, 1.15cqw, 11px)/1.2 Arial, sans-serif; color: #fff; background: #e74c3c; padding: .55em .7em; transform: rotate(-3deg); box-shadow: 2px 2px 0 #900; }

/* clean faces */
.frag__c { background: #F3EFE7; border: 1px solid var(--ink-15); padding: 8px 10px; }
.frag__c--title { font: 500 clamp(14px, 1.7vw, 24px)/1.05 var(--font-sans); letter-spacing: -.03em; color: var(--ink); display: grid; align-content: center; background: transparent; border: 0; border-left: 2px solid var(--ox); }
.frag__c--title small { font: 400 9px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ox); margin-bottom: 4px; }
.frag__c--lines { display: grid; align-content: center; gap: 6px; }
.frag__c--lines i { display: block; height: 3px; width: 100%; background: var(--ink-45); }
.frag__c--bars { display: flex; align-items: end; gap: 6px; padding-bottom: 10px; }
.frag__c--bars i { flex: 1; background: var(--slate); }
.frag__c--bars i:last-child { background: var(--ox); }
.frag__c--logo { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 6px 4px; white-space: nowrap; font: 500 clamp(8px, 1.2cqw, 12px) var(--font-sans); letter-spacing: .2em; }
.frag__c--logo span { flex: none; width: .85em; height: .85em; background: var(--ox); }
.frag__c--swatch { display: flex; gap: 0; padding: 0; }
.frag__c--swatch i { flex: 1; }
.frag__c--key { display: grid; align-content: center; font: 500 clamp(16px, 1.9vw, 26px) var(--font-sans); letter-spacing: -.03em; color: var(--ox); }
.frag__c--key small { font: 400 9px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-45); }

.machine__copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 34rem;
  font-size: clamp(.95rem, 1.1vw, 1.08rem);
  line-height: 1.55;
}
.machine__copy p { margin: 0 0 8px; }
.machine__copy .machine__kinds { margin: 12px 0 0; font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.3rem); letter-spacing: -.01em; }
.machine__foot {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: end;
  display: grid;
  justify-items: end;
  gap: 14px;
  text-align: right;
}

.machine__sticky > * { min-width: 0; }

/* mobile: the machine turns on its side — input falls in from the top, output lands below */
@media (max-width: 760px) {
  .machine { height: 100svh; }
  .machine__sticky { grid-template-columns: 1fr; padding-top: 88px; }
  .machine__foot { justify-self: start; justify-items: start; text-align: left; }
  .rf { margin: 1vh 0; }
  .rf__side { display: none; }
  .rf__core { width: 96%; height: 70px; }
  .rf__blur { inset: -30% 0; }
  .rf__plane { inset: 12% 4%; }
  .frag {
    width: calc(var(--w) * 1.9%);
    translate:
      calc(-50% + (var(--fy) + (var(--ty) - var(--fy)) * var(--q)) * .8cqw)
      calc(-50% + (var(--fx) + (var(--tx) - var(--fx)) * var(--q)) * 1.25cqh);
  }
  .frag--logo { width: 27%; }          /* room for the word BRAND in its white box */
  .frag--note { width: 24%; }
  .frag__m--wall { font-size: 6px; }
  .frag__m--logos b { font-size: 11px !important; }
  .frag__m--note { font-size: 8px; }
  .frag__c--logo { font-size: 9px; letter-spacing: .14em; }
}

/* ─────────────── 02 · SERVICES ─────────────── */
.station {
  --p: 0;              /* transformation progress 0 → 1, played in time by JS */
  margin-top: clamp(80px, 12vh, 140px);
  display: grid;
  gap: 40px;
  align-items: center;
}
.station + .station { margin-top: clamp(160px, 26vh, 300px); }
@media (min-width: 980px) {
  .station { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 6vw, 96px); }
  .station--flip .station__art { order: 2; }
}
.station__art {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--ink-15);
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* the service text: status, name, who it's for, what's in it, the price and the way in */
.station__top { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.station__n { font: 400 11px var(--font-mono); letter-spacing: .2em; color: var(--ink-70); }
.station__name { margin: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.station__head { margin: 14px 0 0; max-width: 30rem; font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.45; letter-spacing: -.01em; }
.station__incl { margin: 16px 0 0; max-width: 32rem; line-height: 1.55; color: var(--ink-70); }
.station__incl span { display: block; margin-bottom: 2px; font: 400 10px var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-70); }
.station__limit { display: inline-block; margin: 14px 0 0; padding: 5px 10px; background: var(--ink); color: var(--paper); font: 400 12px var(--font-mono); letter-spacing: .08em; }
.rates { margin: 24px 0 22px; display: flex; gap: 0; border-top: 1px solid var(--ink-15); border-bottom: 1px solid var(--ink-15); }
.rates > div { flex: 1; padding: 12px 0; }
.rates > div + div { padding-left: 18px; border-left: 1px solid var(--ink-15); }
.rates dt { font: 400 10px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-70); }
.rates dd { margin: 4px 0 0; font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; }
.rates__pilot dt { color: var(--ox); }
.rates__pilot dd { color: var(--ox); }

/* shared scrub helper: an item's own progress, staggered by --s */
.station [style*="--s"], .br__i, .rr__pg { --k2: clamp(0, (var(--p) - var(--s, 0) * .5) * 1.8, 1); }

/* lab 01 · brand starter: fragments converge into one identity card */
.station--brand .station__art { background: #EFEAE1; }
.bs { position: relative; width: 70%; aspect-ratio: 1.45; border: 1px dashed transparent; transition: border-color .6s; }
.station--brand .bs::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--ink-15); opacity: var(--p); background: #F6F2EB; }
.bs__f {
  position: absolute;
  translate: calc(var(--fx) * (1 - var(--k2))) calc(var(--fy) * (1 - var(--k2)));
  rotate: calc(var(--fr) * (1 - var(--k2)));
  transition: none;
}
.bs__f--mark { left: 8%; top: 12%; width: 22%; aspect-ratio: 1; background: var(--ox); color: var(--paper); display: grid; place-items: center; font: 500 clamp(20px, 3vw, 40px) var(--font-sans); letter-spacing: -.04em; }
.bs__f--word { left: 36%; top: 18%; font: 500 clamp(14px, 1.9vw, 24px) var(--font-sans); letter-spacing: -.03em; }
.bs__f--c1, .bs__f--c2, .bs__f--c3 { top: 64%; width: 12%; aspect-ratio: 1; }
.bs__f--c1 { left: 8%; background: var(--ox); }
.bs__f--c2 { left: 22%; background: var(--ink); }
.bs__f--c3 { left: 36%; background: var(--slate); }
.bs__f--type { left: 56%; top: 58%; font: 300 clamp(24px, 3vw, 40px) var(--font-sans); letter-spacing: -.03em; display: grid; line-height: 1; }
.bs__f--type small { font: 400 8px var(--font-mono); letter-spacing: .18em; color: var(--ink-45); margin-top: 4px; }
.bs__f--avatar { right: 8%; top: 12%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 500 14px var(--font-sans); }

/* lab 02 · brand refresh: old system sorted into keep / rethink / update, then recomposed */
.station--refresh .station__art { background: #E1DACD; }
.br { position: relative; width: 80%; aspect-ratio: 1.4; }
.br__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; opacity: calc(1 - clamp(0, (var(--p) - .7) * 4, 1)); }
.br__cols span { border-top: 1px solid var(--ink); padding-top: 6px; font: 400 9px var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-70); }
.br__cols span:nth-child(3) { color: var(--ox); border-color: var(--ox); }
.br__i {
  --s: calc(var(--c) * .2 + var(--r) * .1);
  /* phase 1 (p .0–.55): scattered → sorted into its column; phase 2 (p .7–1): recomposed into one row */
  --sort: clamp(0, (var(--p) - var(--s) * .5) * 2.2, 1);
  --comp: clamp(0, (var(--p) - .7) * 3.3, 1);
  position: absolute;
  left: calc((var(--c) * 33.3% + 4%) * (1 - var(--comp)) + (var(--c) * 2 + var(--r)) * 16.3% * var(--comp));
  top: calc((24% + var(--r) * 22%) * (1 - var(--comp)) + 58% * var(--comp));
  translate: calc((1 - var(--sort)) * (var(--r) * 60px - 30px)) calc((1 - var(--sort)) * (var(--c) * 30px - 40px));
  rotate: calc((1 - var(--sort)) * (var(--c) * 7deg - 6deg));
  padding: 7px 10px;
  font: 400 11px var(--font-mono);
  letter-spacing: .06em;
  background: #fff;
  border: 1px solid var(--ink-15);
  white-space: nowrap;
}
.br__i--1, .br__i--2 { font-family: Georgia, serif; }
.br__i--3, .br__i--4 { color: #7a6f5d; font-style: italic; }
.br__i--5 { background: linear-gradient(90deg, #0a8, #fc3); color: #fff; }
.br__i--6 { font-family: "Courier New", monospace; }
/* after recomposition everything shares one visual language */
.station--refresh[style*="--p: 1"] .br__i, .station--refresh.is-done .br__i { font-family: var(--font-sans); font-style: normal; color: var(--ink); background: #F6F2EB; }
.station--refresh.is-done .br__i--5 { background: var(--ox); color: var(--paper); }

/* lab 03 · presentation reframe: overloaded slide simplifies */
.station--slides .station__art { background: #2E2E2E; }
.station--slides .art-label { color: rgb(222 216 204 / .5); }
.ps {
  --clean: clamp(0, var(--p) * 1.2, 1);     /* --p is time-driven here (data-play) */
  position: relative;
  width: 82%;
  aspect-ratio: 16 / 9;
  background: #fff;
  padding: 5%;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
}
.ps__count { position: absolute; right: 4%; top: 4%; font: 400 8px var(--font-mono); letter-spacing: .1em; color: var(--ink-45); }
.ps__title {
  display: block;
  max-width: calc(100% - (1 - var(--clean)) * 0%);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: calc(9px + var(--clean) * 0px);
  line-height: 1.2;
  opacity: calc(1 - var(--clean) * 1.4);
}
.ps__noise { position: absolute; opacity: calc(1 - var(--clean) * 1.6); }
.ps__noise--1 { left: 5%; top: 26%; width: 55%; font: 400 6px/1.3 Arial, sans-serif; color: #555; }
.ps__noise--2 { right: 5%; top: 24%; width: 32%; height: 40%; background: repeating-linear-gradient(0deg, #ddd 0 3px, transparent 3px 7px), linear-gradient(135deg, #3cf, #36c); }
.ps__noise--3 { left: 5%; bottom: 5%; font: 400 5px Arial, sans-serif; color: #999; }
.ps__noise--4 { right: 40%; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #e74c3c; color: #fff; font: 900 12px Arial; display: grid; place-items: center; }
.ps__noise--5 { left: 5%; top: 48%; width: 50%; height: 30%; background: repeating-linear-gradient(90deg, #eee 0 10%, #ccc 10% 11%), repeating-linear-gradient(0deg, transparent 0 5px, #ccc 5px 6px); }
.ps__key {
  position: absolute;
  left: 7%; top: 18%;
  width: 60%;
  font: 500 clamp(16px, 2.2vw, 30px)/1.02 var(--font-sans);
  letter-spacing: -.04em;
  color: var(--ink);
  opacity: clamp(0, (var(--clean) - .5) * 3, 1);
  translate: 0 calc((1 - var(--clean)) * 20px);
}
.ps__fig { position: absolute; right: 8%; bottom: 14%; width: 26%; height: 45%; display: flex; align-items: end; gap: 8%; opacity: clamp(0, (var(--clean) - .6) * 3, 1); }
.ps__fig i { flex: 1; background: var(--slate); height: 40%; }
.ps__fig i:nth-child(2) { height: 60%; }
.ps__fig i:nth-child(3) { height: 100%; background: var(--ox); }

/* lab 04 · report reframe: dense pages separate into layers, one editorial spread emerges */
.station--report .station__art { background: #E9E3D8; perspective: 900px; }
.rr { position: relative; width: 44%; aspect-ratio: 1 / 1.35; transform-style: preserve-3d; }
.rr__pg {
  --s: calc(var(--k) * .1);
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid var(--ink-15);
  padding: 10%;
  display: grid;
  align-content: start;
  gap: 5px;
  box-shadow: 0 10px 20px -10px rgb(0 0 0 / .25);
  /* stacked & messy → fanned into layers → laid out as a clean spread */
  translate: calc((var(--k) - 1.5) * 34% * var(--k2)) calc(var(--k) * -3px * (1 - var(--k2)));
  rotate: calc((var(--k) - 1.5) * 3deg * (1 - var(--k2)));
  scale: calc(1 - var(--k2) * .32);
}
.rr__pg b { font: 400 7px var(--font-mono); color: var(--ink-45); }
.rr__pg i { display: block; height: 3px; background: #d2ccc2; }
.rr__pg i:nth-child(3n) { width: 70%; }
.rr__pg--key { border-top: 3px solid var(--ox); }
.rr__big { font: 500 clamp(10px, 1.3vw, 16px)/1 var(--font-sans); letter-spacing: -.03em; color: var(--ox); margin: 4px 0; }
.rr__bars { display: flex; align-items: end; gap: 3px; height: 26px; margin-top: 4px; }
.rr__bars i { flex: 1; background: var(--slate) !important; height: 50% !important; }
.rr__bars i:nth-child(2) { height: 80% !important; }
.rr__bars i:nth-child(3) { height: 100% !important; background: var(--ox) !important; }

/* ─────────────── 03 · HOW WE WORK ─────────────── */
.approach__body { margin: clamp(40px, 7vh, 72px) 0 0 auto; max-width: 40rem; font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.6; }
.approach__body p { margin: 0 0 6px; }
.flow { margin: clamp(56px, 9vh, 96px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; font: 400 clamp(11px, 1.05vw, 14px) var(--font-mono); letter-spacing: .26em; text-transform: uppercase; }
.flow span:last-child { color: var(--ox); }
.flow i { width: clamp(24px, 3.5vw, 56px); height: 1px; background: var(--ink); position: relative; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out) .4s; }
.flow i + span + i { transition-delay: .9s; }
.flow i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 6px solid var(--ink); border-right: 0; }
.flow.is-in i { transform: scaleX(1); }
.approach__close { margin: clamp(40px, 6vh, 64px) 0 0; text-align: center; font: 700 clamp(12px, 1.1vw, 15px)/1.7 var(--font-mono); letter-spacing: .24em; text-transform: uppercase; }
.approach__close span { color: var(--ox); }

/* ─────────────── 04 · PILOT ROUNDS ─────────────── */
.pilot { background: var(--ink); color: var(--oat); }
.pilot__in { max-width: 1320px; margin: 0 auto; padding: clamp(96px, 15vh, 160px) var(--gutter); }
.pilot__label { margin: 0 0 24px; font: 400 11px var(--font-mono); letter-spacing: .28em; text-transform: uppercase; color: #d6a86d; }
.pilot__copy { margin-top: clamp(28px, 5vh, 48px); max-width: 38rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: rgb(222 216 204 / .88); }
.pilot__copy p { margin: 0 0 14px; }
.pilot__statement { margin: clamp(40px, 7vh, 72px) 0 0; font: 400 clamp(14px, 1.8vw, 22px) var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: #d6a86d; }

/* ─────────────── 05 · FINAL ─────────────── */
.final { padding-top: clamp(140px, 22vh, 240px); padding-bottom: clamp(140px, 22vh, 240px); }
.final__h { margin: 0; max-width: 14ch; font-size: clamp(2.4rem, 6vw, 5.4rem); font-weight: 500; line-height: .96; letter-spacing: -.045em; }
.final__copy { margin: 36px 0 40px; max-width: 32rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-70); }
.final__copy p { margin: 0 0 6px; }

/* footer on the light page */
.page-arcdesign .site-footer { background: var(--ink); }

/* ─────────────── service status + CTA (overview and service pages; values from arcdesign-services.js) ─────────────── */
.page-arcdesign :focus-visible { outline-color: var(--ox); }
.page-arcdesign [data-theme="dark"] :focus-visible, .page-arcdesign .site-footer :focus-visible { outline-color: var(--oat); }
.sv-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font: 700 11px var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
.sv-state::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #455A38; box-shadow: 0 0 0 3px rgb(69 90 56 / .16); }
[data-flow="waitlist"] .sv-state::before { background: var(--brass); box-shadow: 0 0 0 3px rgb(168 131 79 / .2); }
.sv-btn {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  padding: 15px 22px;
  border: 1px solid var(--ox);
  background: var(--ox);
  color: #F3EEE6;
  font: 700 12px var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .3s, border-color .3s, color .3s;
}
.sv-btn:hover, .sv-btn:focus-visible { background: var(--ink); border-color: var(--ink); }
.sv-btn [aria-hidden] { transition: transform .4s var(--ease-out); }
.sv-btn:hover [aria-hidden] { transform: translateX(4px); }
.sv-btn--big { padding: 18px 26px; font-size: clamp(12px, 1.1vw, 14px); }
[data-theme="dark"] .sv-btn { background: #d6a86d; border-color: #d6a86d; color: #1d1b1a; }
[data-theme="dark"] .sv-btn:hover, [data-theme="dark"] .sv-btn:focus-visible { background: var(--oat); border-color: var(--oat); }

.page-arcdesign .site-menu__list a[aria-current="true"] { color: var(--ox); }
@media (pointer: coarse) { .sv-btn { min-height: 48px; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
