:root {
  --paper: #f3efe6;
  --ink: #171419;
  --dark: #111216;
  --dark-2: #17181d;
  --acid: #d8ee72;
  --coral: #ef735c;
  --blue: #aab9e7;
  --rose: #ead7dc;
  --light: #f4efe8;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "DM Mono", monospace;
  --pad: clamp(20px, 3.2vw, 58px);
  --header-h: 62px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.map-open { overflow: hidden; }

main {
  position: relative;
  z-index: 1;
}

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

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
figure { margin: 0; }

.micro {
  margin: 0;
  font: 300 9px/1.45 var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ---------- texture ---------- */

.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

/* ---------- loader ---------- */

.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 26px var(--pad);
  background: var(--dark);
  color: var(--light);
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 18px;
}

.boot__mark {
  align-self: center;
  font: 500 clamp(58px, 13vw, 210px)/.8 var(--sans);
  letter-spacing: -.08em;
}

.boot__line {
  height: 1px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
}

.boot__line i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
}

.boot__meta {
  display: flex;
  justify-content: space-between;
  font: 300 10px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* ---------- 3D ---------- */

#skin-canvas,
.webgl-fallback {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#skin-canvas {
  z-index: 0;
  opacity: .82;
}

.webgl-fallback {
  z-index: -1;
  opacity: 0;
  background: var(--coral);
  clip-path: ellipse(28% 42% at 74% 42%);
}

body.no-webgl .webgl-fallback {
  z-index: 0;
  opacity: .75;
}

/* ---------- fixed chrome ---------- */

.chrome {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-h);
  padding: 16px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 28px;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  transition: transform .34s ease, opacity .28s ease;
}

.chrome.is-hidden {
  transform: translateY(-115%);
  opacity: 0;
}

.chrome > * { pointer-events: auto; }

.chrome__brand,
.chrome__cta {
  text-decoration: none;
  text-transform: uppercase;
  font: 500 11px/1 var(--mono);
  letter-spacing: .12em;
  white-space: nowrap;
}

.chrome__live {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 300 9px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .11em;
  white-space: nowrap;
}

.chrome__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.map-toggle {
  width: 48px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 12px;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  font: 300 8px/1 var(--mono);
  text-transform: uppercase;
}

.map-toggle span { grid-row: 1 / 3; }
.map-toggle i {
  display: block;
  width: 12px;
  height: 1px;
  background: currentColor;
}

.chrome__cta span { font-size: 13px; }

/* ---------- navigation overlay ---------- */

.site-map {
  position: fixed;
  inset: 0;
  z-index: 180;
  padding: max(24px, env(safe-area-inset-top)) var(--pad) max(28px, env(safe-area-inset-bottom));
  background: var(--acid);
  color: #101115;
  transform: translateY(-102%);
  transition: transform .72s cubic-bezier(.77,0,.18,1);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.map-open .site-map { transform: translateY(0); }

.site-map__wash {
  position: absolute;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  right: -15vw;
  top: -20vw;
  border: 1px solid rgba(17,18,22,.2);
  border-radius: 50%;
  pointer-events: none;
}

.site-map__wash::before,
.site-map__wash::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(17,18,22,.18);
  border-radius: 50%;
}
.site-map__wash::before { inset: 14%; }
.site-map__wash::after { inset: 31%; }

.site-map__head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  font: 300 9px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.map-close {
  border: 0;
  padding: 0;
  background: none;
  text-transform: uppercase;
  cursor: pointer;
  font: inherit;
}

.site-map__links {
  position: relative;
  z-index: 2;
  width: min(980px, 88vw);
  margin-top: clamp(56px, 9vh, 110px);
  display: flex;
  flex-direction: column;
}

.site-map__links a {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  align-items: end;
  border-bottom: 1px solid rgba(17,18,22,.24);
  padding: 10px 0 9px;
  text-decoration: none;
}

.site-map__links small {
  margin-bottom: 9px;
  font: 300 9px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.site-map__links span {
  font: 500 clamp(40px, 6.2vw, 96px)/.82 var(--sans);
  letter-spacing: -.06em;
  transition: transform .25s ease;
}


.site-map__foot {
  position: relative;
  z-index: 2;
  width: min(620px, 82vw);
  margin: 34px 0 0;
  padding-bottom: 18px;
  font: 300 8px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ---------- chapter seams ----------
   These occupy their own space between scenes, so they can never cover text. */

.chapter-seam {
  position: relative;
  z-index: 4;
  height: clamp(54px, 5.2vw, 82px);
  margin: 0;
  background: var(--from);
  overflow: hidden;
  pointer-events: none;
}

.chapter-seam svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 104%;
  height: 100%;
  margin-left: -2%;
  overflow: visible;
}

.chapter-seam__fill { fill: var(--to); }

.chapter-seam__line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  opacity: .55;
}

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 42px) var(--pad) 72px;
  background: rgba(243,239,230,.94);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr);
  grid-template-rows: auto minmax(0,1fr) auto;
  column-gap: clamp(34px, 5vw, 92px);
  row-gap: 20px;
  overflow: hidden;
}

.hero__signal {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  width: 180px;
  margin-top: 3vh;
  font: 300 9px/1.45 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero__type {
  grid-column: 1;
  margin: 0;
  font: inherit;
  grid-row: 2;
  align-self: center;
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  pointer-events: none;
}

.hero__line {
  display: block;
  overflow: visible;
  min-width: 0;
}

.hero__line span {
  display: block;
  width: max-content;
  max-width: 100%;
  transform-origin: left bottom;
  letter-spacing: -.085em;
}

.hero__line--one span {
  font: 500 clamp(68px, min(10.4vw, 18vh), 178px)/.72 var(--sans);
}

.hero__line--two {
  padding-left: 5vw;
}

.hero__line--two span {
  font: 500 clamp(68px, min(11vw, 18vh), 182px)/.72 var(--sans);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero__line--three {
  padding-left: min(18vw, 300px);
}

.hero__line--three span {
  font: italic 500 clamp(54px, min(7.9vw, 13.5vh), 138px)/.78 var(--serif);
  letter-spacing: -.05em;
}

.hero__portrait {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  position: relative;
  z-index: 2;
  width: 100%;
  height: min(65svh, 640px);
  min-height: 390px;
  max-height: 680px;
  clip-path: polygon(5% 0, 100% 4%, 93% 96%, 16% 100%, 0 72%);
  overflow: hidden;
}

.hero__portrait img {
  filter: saturate(.82) contrast(1.04);
  transform: scale(1.02);
}

.hero__portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 92%;
  padding: 9px 11px;
  background: rgba(243,239,230,.92);
  color: var(--ink);
  font: 300 8px/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero__thought {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  width: min(320px, 100%);
  min-width: 0;
  margin: 0;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.55;
}

.hero__start {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 400 9px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero__start b {
  font: 400 20px/1 var(--sans);
  animation: bob .9s ease-in-out infinite alternate;
}

/* ---------- scan ---------- */

.scan {
  --x: 66%;
  --y: 52%;
  --r: clamp(135px, 16vw, 245px);
  min-height: 100svh;
  padding: calc(var(--header-h) + 58px) var(--pad) 84px;
  background: var(--dark);
  color: var(--light);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.scan__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.scan__base,
.scan__detail {
  position: absolute;
  inset: 0;
}

.scan__base {
  filter: grayscale(1) contrast(1.08) brightness(.44);
  transform: scale(1.02);
}

.scan__detail {
  filter: saturate(1.05) contrast(1.03) brightness(.92);
  clip-path: circle(var(--r) at var(--x) var(--y));
}

.scan__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,18,22,.92) 0%, rgba(17,18,22,.64) 35%, rgba(17,18,22,.08) 72%, rgba(17,18,22,.12) 100%);
  pointer-events: none;
}

.scan__ring {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border: 1px solid var(--acid);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.scan__ring::before,
.scan__ring::after {
  content: "";
  position: absolute;
  background: var(--acid);
}

.scan__ring::before {
  left: 50%;
  top: -16px;
  width: 1px;
  height: 32px;
  transform: translateX(-50%);
}

.scan__ring::after {
  left: -16px;
  top: 50%;
  width: 32px;
  height: 1px;
  transform: translateY(-50%);
}

.scan__ring span {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  color: var(--acid);
  font: 300 8px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.scan__copy {
  position: relative;
  z-index: 4;
  width: min(570px, 42vw);
  margin-top: clamp(18px, 3vh, 32px);
}

.scan__copy h2 {
  margin: .24em 0 .34em;
  font: 500 clamp(70px, 8.5vw, 136px)/.8 var(--sans);
  letter-spacing: -.075em;
}

.scan__copy h2 em {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--acid);
}

.scan__copy > p:last-child {
  width: min(410px, 88%);
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.scan__readout {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  right: var(--pad);
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 300 8px/1 var(--mono);
  letter-spacing: .12em;
  color: var(--acid);
}

/* ---------- thesis ---------- */

.thesis {
  min-height: 100svh;
  padding: 104px var(--pad) 118px;
  background: var(--rose);
  overflow: hidden;
}

.thesis__ticker {
  position: absolute;
  left: 0;
  top: 46px;
  width: 100%;
  padding: 11px 0 10px;
  border-bottom: 1px solid rgba(23,20,25,.25);
  overflow: hidden;
  white-space: nowrap;
  font: 300 9px/1 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.thesis__ticker span {
  display: inline-block;
  min-width: 155%;
  animation: ticker 21s linear infinite;
}

.thesis__small {
  margin: 0 0 clamp(58px, 9vh, 100px);
  font: 300 11px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.thesis__words {
  position: relative;
  margin: 0;
  font: inherit;
  z-index: 2;
  width: 100%;
}

.thesis-word {
  display: block;
  width: max-content;
  max-width: 100%;
  font: 500 clamp(78px, 13.2vw, 220px)/.7 var(--sans);
  letter-spacing: -.09em;
}

.thesis-word--b {
  margin-left: 4vw;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--ink);
}

.thesis-word--c {
  margin-left: min(14vw, 240px);
  font: italic 500 clamp(62px, 10vw, 168px)/.76 var(--serif);
  letter-spacing: -.05em;
}

.thesis__note {
  width: min(420px, 38vw);
  margin: clamp(54px, 8vh, 90px) 6vw 0 auto;
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- protocols ---------- */

.protocols {
  position: relative;
  min-height: 100svh;
  background: var(--dark);
  color: var(--light);
}

.protocols__pin {
  position: relative;
  min-height: 100svh;
  background: var(--dark);
}

.protocols__rail {
  position: absolute;
  z-index: 8;
  left: var(--pad);
  right: var(--pad);
  top: 70px;
  display: none;
  align-items: center;
  gap: 12px;
  color: rgba(241,236,227,.68);
  font: 300 8px/1 var(--mono);
  letter-spacing: .12em;
}

.protocols__rail i {
  flex: 1;
  height: 1px;
  background: rgba(241,236,227,.22);
  overflow: hidden;
}

.protocols__rail i::after {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  background: var(--acid);
  transform: translateX(var(--rail, -100%));
}

.protocol-track {
  display: block;
  width: 100%;
  min-height: 0;
}

.protocol-panel {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: 112px clamp(44px, 7vw, 126px) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 128px);
  overflow: hidden;
}

/* Desktop horizontal mode is opt-in. Keeping it behind a class means the
   document is still readable if JavaScript or animation libraries fail. */
.protocols.is-horizontal {
  height: var(--protocol-scroll-height, auto);
}

.protocols.is-horizontal .protocols__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.protocols.is-horizontal .protocols__rail {
  display: flex;
}

.protocols.is-horizontal .protocol-track {
  display: flex;
  width: max-content;
  height: 100%;
  min-height: 100svh;
  transform: translate3d(0,0,0);
  will-change: transform;
  backface-visibility: hidden;
}

.protocols.is-horizontal .protocol-panel {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100svh;
  min-height: 100svh;
}

.protocol-panel--intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.protocol-panel--intro h2 {
  margin: .18em 0 0;
  font: 500 clamp(78px, 10.5vw, 168px)/.78 var(--sans);
  letter-spacing: -.075em;
}

.protocol-panel--intro h2 em {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--acid);
}

.protocol-panel__copy {
  width: min(410px, 36vw);
  margin: 46px 0 0 auto;
  font-size: 13px;
  line-height: 1.65;
}

.protocol-panel figure,
.procedure-slot {
  position: relative;
  z-index: 2;
  width: 100%;
  height: min(68svh, 640px);
  min-height: 420px;
  overflow: hidden;
}

.protocol-panel--texture figure {
  grid-column: 1;
  clip-path: polygon(7% 0, 100% 6%, 93% 100%, 0 88%);
}

.protocol-panel--texture .protocol-panel__text {
  grid-column: 2;
}

.protocol-panel--structure {
  background: var(--blue);
  color: #14151a;
}

.protocol-panel--structure .protocol-panel__text {
  grid-column: 1;
}

.protocol-panel--structure .procedure-slot {
  grid-column: 2;
}

.protocol-panel--expression figure {
  grid-column: 2;
  grid-row: 1;
  clip-path: polygon(0 6%, 94% 0, 100% 90%, 14% 100%);
}

.protocol-panel--expression .protocol-panel__text {
  grid-column: 1;
  grid-row: 1;
}

.protocol-panel figure img {
  filter: saturate(.86) contrast(1.04);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}


.protocol-panel__text {
  position: relative;
  z-index: 3;
  width: min(520px, 100%);
  min-width: 0;
}

.protocol-panel__text h3,
.protocol-panel--end h3 {
  margin: .22em 0 .32em;
  font: 500 clamp(58px, 6.6vw, 108px)/.82 var(--sans);
  letter-spacing: -.07em;
}

.protocol-panel__text > p:last-child {
  width: min(350px, 94%);
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.protocol-panel__number {
  position: absolute;
  z-index: 0;
  right: 1vw;
  bottom: -9vh;
  font: 500 clamp(220px, 34vw, 520px)/.75 var(--sans);
  letter-spacing: -.09em;
  opacity: .05;
  pointer-events: none;
}

.protocol-panel--structure .protocol-panel__number {
  color: #14151a;
  opacity: .08;
}

.procedure-slot {
  border: 1px solid rgba(20,21,26,.34);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.5vw, 40px);
  background:
    linear-gradient(rgba(20,21,26,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,21,26,.09) 1px, transparent 1px);
  background-size: 34px 34px;
}

.procedure-slot::before {
  content: "";
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(20,21,26,.28);
  border-radius: 50%;
  left: 50%;
  top: 42%;
  transform: translate(-50%,-50%);
}

.procedure-slot__cross::before,
.procedure-slot__cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  background: rgba(20,21,26,.3);
  transform: translate(-50%,-50%);
}

.procedure-slot__cross::before { width: 58%; height: 1px; }
.procedure-slot__cross::after { width: 1px; height: 58%; }

.procedure-slot > span {
  position: relative;
  z-index: 2;
  font: 500 clamp(34px, 4.2vw, 64px)/.86 var(--sans);
  letter-spacing: -.065em;
}

.procedure-slot > p {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  font: 300 9px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.protocol-panel--end {
  background: var(--acid);
  color: #111216;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.protocol-panel--end h3 {
  font-size: clamp(78px, 10.5vw, 168px);
}

.protocol-panel--end h3 em { font-family: var(--serif); }

.protocol-panel--end a {
  width: max-content;
  margin-top: 4vh;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  font: 400 10px/1 var(--mono);
  letter-spacing: .12em;
}

/* ---------- consultation / ritual ---------- */

.ritual {
  min-height: 205svh;
  padding: 108px var(--pad) 150px;
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(360px,.92fr) minmax(480px,1.08fr);
  gap: clamp(70px, 7vw, 132px);
  align-items: start;
}

.ritual__sticky {
  position: sticky;
  top: clamp(92px, 13vh, 128px);
  align-self: start;
  height: max-content;
  min-width: 0;
  z-index: 2;
}

.ritual__sticky h2 {
  margin: .28em 0 0;
  font: 500 clamp(62px, 7.1vw, 116px)/.84 var(--sans);
  letter-spacing: -.07em;
}

.ritual__sticky h2 em {
  font-family: var(--serif);
  font-weight: 500;
  color: #4b63c7;
}

.ritual__steps {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: clamp(38px, 6vh, 66px);
}

.ritual__steps article {
  min-height: 46svh;
  padding: clamp(48px, 7vh, 78px) 0;
  border-top: 1px solid rgba(23,20,25,.25);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(220px,.78fr);
  gap: clamp(34px, 3.2vw, 58px);
  align-content: start;
  align-items: start;
}

.ritual__steps article:last-child {
  border-bottom: 1px solid rgba(23,20,25,.25);
}

.ritual__steps b {
  display: block;
  min-width: 0;
  max-width: 100%;
  font: italic 500 clamp(40px, 3.6vw, 62px)/.92 var(--serif);
  letter-spacing: -.035em;
  white-space: nowrap;
}

.ritual__steps p {
  min-width: 0;
  margin: .15em 0 0;
  max-width: 330px;
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- room ---------- */

.room {
  min-height: 100svh;
  background: var(--dark-2);
  color: var(--light);
  overflow: hidden;
}

.room__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.room__image img {
  filter: saturate(.72) contrast(1.03) brightness(.74);
  transform: scale(1.035);
}

.room__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21,22,26,.93) 0%, rgba(21,22,26,.72) 36%, rgba(21,22,26,.14) 72%, rgba(21,22,26,.22) 100%);
}

.room__shutter {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: var(--dark-2);
  transform-origin: center;
}

.room__shutter--a { left: 0; }
.room__shutter--b { right: 0; }

.room__caption {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  width: min(620px, 48vw);
  padding: 118px 0 110px var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.room__caption h2 {
  margin: .2em 0 .3em;
  font: 500 clamp(72px, 8.5vw, 140px)/.76 var(--sans);
  letter-spacing: -.08em;
}

.room__caption h2 em {
  font-family: var(--serif);
  color: var(--acid);
}

.room__caption > p:last-child {
  width: min(350px, 92%);
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.room__coord {
  position: absolute;
  z-index: 5;
  right: var(--pad);
  bottom: 26px;
  max-width: 360px;
  text-align: right;
  font: 300 8px/1.55 var(--mono);
  letter-spacing: .09em;
}

/* ---------- FAQ ---------- */

.questions {
  min-height: 100svh;
  padding: 112px var(--pad) 110px;
  background: var(--rose);
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(52px, 8vw, 150px);
  align-items: start;
}

.questions__title {
  position: sticky;
  top: 104px;
  align-self: start;
  min-width: 0;
  z-index: 2;
}

.questions__title h2 {
  margin: .28em 0 0;
  font: 500 clamp(84px, 10.5vw, 164px)/.68 var(--sans);
  letter-spacing: -.085em;
}

.questions__title h2 em {
  font-family: var(--serif);
  color: #e84f37;
}

.questions__list {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: 32px;
}

.questions details {
  border-top: 1px solid rgba(23,20,25,.3);
}

.questions details:last-child {
  border-bottom: 1px solid rgba(23,20,25,.3);
}

.questions summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  padding: 26px 0;
  font-size: clamp(19px, 2vw, 30px);
  line-height: 1.28;
}

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

.questions summary b {
  font: 300 28px/1 var(--mono);
  transition: transform .3s ease;
}

.questions details[open] summary b {
  transform: rotate(45deg);
}

.questions details p {
  max-width: 580px;
  margin: 0;
  padding: 0 5vw 34px 0;
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- contact ---------- */

.contact {
  min-height: 100svh;
  padding: 118px var(--pad) 84px;
  background: var(--acid);
  color: #111216;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(38vw, 620px);
  aspect-ratio: 1;
  right: -8vw;
  top: 6vh;
  border: 1px solid rgba(17,18,22,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(17,18,22,.035), 0 0 0 14vw rgba(17,18,22,.022);
}

.contact__eyeline {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  top: 76px;
  max-width: calc(100vw - (var(--pad) * 2));
  font: 300 8px/1.35 var(--mono);
  letter-spacing: .12em;
  white-space: nowrap;
  overflow: hidden;
}

.contact h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font: 500 clamp(78px, 11vw, 180px)/.72 var(--sans);
  letter-spacing: -.08em;
}

.contact h2 em {
  font-family: var(--serif);
  font-weight: 500;
  margin-left: 8vw;
}

.contact h2 span:last-child {
  margin-left: 3vw;
}

.contact__button {
  position: relative;
  z-index: 3;
  align-self: flex-end;
  width: min(420px, 42vw);
  margin-top: 6vh;
  padding: 18px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  text-transform: uppercase;
  font: 400 10px/1.35 var(--mono);
  letter-spacing: .1em;
}

.contact__button b {
  flex: 0 0 auto;
  font: 400 28px/1 var(--sans);
  transition: transform .25s ease;
}


.contact__meta {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(17,18,22,.28);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 20px;
  font: 300 8px/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact__meta span:last-child {
  justify-self: end;
}

/* ---------- compact desktop / tablets ---------- */

@media (min-width: 901px) and (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .72fr);
    column-gap: 34px;
  }

  .hero__line--three {
    padding-left: 12vw;
  }

  .scan__copy {
    width: min(510px, 46vw);
  }

  .protocol-panel {
    padding-left: 5vw;
    padding-right: 5vw;
    gap: 5vw;
  }

  .ritual {
    grid-template-columns: minmax(300px,.9fr) minmax(390px,1.1fr);
    gap: 5vw;
  }

  .ritual__steps article {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ritual__steps b {
    white-space: normal;
  }

  .questions {
    grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
    gap: 5vw;
  }
}

/* ---------- mobile ---------- */

@media (max-width: 900px) {
  :root {
    --pad: 18px;
    --header-h: 54px;
  }

  html { scroll-padding-top: 66px; }

  #skin-canvas {
    opacity: .42;
  }

  .noise { opacity: .04; }

  .chrome {
    min-height: var(--header-h);
    padding: max(14px, env(safe-area-inset-top)) 18px 12px;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .chrome__live { display: none; }
  .chrome__brand { font-size: 10px; letter-spacing: .09em; }
  .chrome__cta { font-size: 8px; }
  .map-toggle { width: 42px; }

  .site-map {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-map__head > span {
    max-width: 62vw;
    line-height: 1.4;
  }

  .site-map__links {
    width: 100%;
    margin-top: clamp(50px, 8vh, 74px);
    padding-bottom: 28px;
  }

  .site-map__links a {
    grid-template-columns: 56px minmax(0,1fr);
    gap: 8px;
    padding: 12px 0 11px;
  }

  .site-map__links span {
    font-size: clamp(38px, 10.8vw, 58px);
  }

  .site-map__foot {
    width: 100%;
    margin-top: 28px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .chapter-seam {
    height: clamp(38px, 10vw, 54px);
  }

  /* Hero: deliberate vertical poster, no absolute overlap. */
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 34px) 18px 76px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 0;
  }

  .hero__signal {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    width: 170px;
  }

  .hero__portrait {
    grid-column: 1;
    grid-row: 2;
    width: calc(100% + 36px);
    height: min(53svh, 520px);
    min-height: 340px;
    max-height: 540px;
    margin: 28px -18px 0;
    clip-path: polygon(0 3%, 95% 0, 100% 92%, 7% 100%);
  }

  .hero__type {
    grid-column: 1;
    grid-row: 3;
    margin-top: 30px;
  }

  .hero__line--one span {
    font-size: clamp(68px, 19.5vw, 104px);
  }

  .hero__line--two {
    padding-left: 2vw;
  }

  .hero__line--two span {
    font-size: clamp(70px, 20.5vw, 110px);
  }

  .hero__line--three {
    padding-left: 8vw;
  }

  .hero__line--three span {
    font-size: clamp(52px, 14.8vw, 78px);
  }

  .hero__thought {
    grid-column: 1;
    grid-row: 4;
    justify-self: end;
    width: min(290px, 78vw);
    margin-top: 34px;
    font-size: 12px;
  }

  .hero__start {
    grid-column: 1;
    grid-row: 5;
    margin-top: 30px;
  }

  /* Scan: image + lens remain immersive, copy sits safely above bottom. */
  .scan {
    --x: 68%;
    --y: 38%;
    --r: clamp(105px, 27vw, 150px);
    min-height: 100svh;
    padding: 96px 18px 98px;
    align-items: flex-end;
  }

  .scan__media::after {
    background: linear-gradient(180deg, rgba(17,18,22,.46) 0%, rgba(17,18,22,.1) 34%, rgba(17,18,22,.34) 58%, rgba(17,18,22,.9) 100%);
  }

  .scan__copy {
    width: 100%;
    margin: 0 0 72px;
  }

  .scan__copy h2 {
    font-size: clamp(58px, 15.5vw, 84px);
    line-height: .84;
  }

  .scan__copy > p:last-child {
    width: min(320px, 88vw);
    font-size: 12px;
  }

  .scan__readout {
    left: 18px;
    right: 18px;
    bottom: 28px;
    font-size: 7px;
  }

  .scan__ring span {
    bottom: -24px;
  }

  /* Thesis */
  .thesis {
    min-height: auto;
    padding: 118px 18px 108px;
  }

  .thesis__ticker {
    top: 52px;
  }

  .thesis__small {
    margin-bottom: 60px;
  }

  .thesis-word {
    font-size: clamp(66px, 18vw, 92px);
    line-height: .73;
  }

  .thesis-word--b {
    margin-left: 0;
  }

  .thesis-word--c {
    margin-left: 3vw;
    font-size: clamp(50px, 13.8vw, 72px);
  }

  .thesis__note {
    width: min(310px, 82vw);
    margin: 66px 0 0 auto;
    font-size: 12px;
  }

  /* Procedures: native vertical reading order; no desktop positioning survives. */
  .protocols {
    min-height: auto;
  }

  .protocols__pin {
    min-height: auto;
    overflow: visible;
  }

  .protocols__rail { display: none; }

  .protocol-track {
    display: block;
    width: 100%;
    min-height: 0;
  }

  .protocol-panel {
    width: 100%;
    min-height: auto;
    padding: 92px 18px 104px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .protocol-panel--intro {
    min-height: 82svh;
    justify-content: center;
  }

  .protocol-panel--intro h2 {
    font-size: clamp(68px, 18vw, 94px);
  }

  .protocol-panel__copy {
    width: min(310px, 82vw);
    margin: 42px 0 0 auto;
    font-size: 12px;
  }

  .protocol-panel figure,
  .procedure-slot {
    order: 1;
    width: calc(100% + 36px);
    height: min(52svh, 500px);
    min-height: 340px;
    margin: 44px -18px 0;
  }

  .protocol-panel--texture figure,
  .protocol-panel--expression figure {
    grid-column: auto;
    grid-row: auto;
    clip-path: polygon(0 4%, 96% 0, 100% 93%, 6% 100%);
  }

  .protocol-panel__text,
  .protocol-panel--texture .protocol-panel__text,
  .protocol-panel--structure .protocol-panel__text,
  .protocol-panel--expression .protocol-panel__text {
    order: 2;
    width: 100%;
    margin-top: 38px;
  }

  .protocol-panel__text h3 {
    font-size: clamp(52px, 13.7vw, 74px);
  }

  .protocol-panel__text > p:last-child {
    width: min(320px, 90vw);
  }

  .protocol-panel__number {
    right: -2vw;
    bottom: 10px;
    font-size: 55vw;
    opacity: .035;
  }

  .protocol-panel--structure {
    background: var(--blue);
    color: #14151a;
  }

  .procedure-slot {
    background:
      linear-gradient(rgba(20,21,26,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(20,21,26,.08) 1px, transparent 1px),
      var(--blue);
    background-size: 34px 34px;
  }

  .protocol-panel--end {
    min-height: 76svh;
    justify-content: center;
  }

  .protocol-panel--end h3 {
    font-size: clamp(72px, 18.5vw, 100px);
  }

  /* Consultation: mobile is intentionally not sticky. */
  .ritual {
    min-height: auto;
    padding: 108px 18px 116px;
    display: block;
  }

  .ritual__sticky {
    position: relative;
    top: auto;
  }

  .ritual__sticky h2 {
    font-size: clamp(58px, 14.8vw, 80px);
  }

  .ritual__steps {
    padding-top: 68px;
  }

  .ritual__steps article {
    min-height: 0;
    padding: 44px 0 52px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ritual__steps b {
    font-size: clamp(44px, 12vw, 62px);
  }

  .ritual__steps p {
    max-width: 320px;
    font-size: 12px;
  }

  /* Room: photograph, then copy — never text over a busy image. */
  .room {
    min-height: auto;
    overflow: hidden;
  }

  .room__image {
    position: relative;
    inset: auto;
    height: min(64svh, 600px);
    min-height: 410px;
  }

  .room__image::after {
    background: linear-gradient(180deg, rgba(21,22,26,.06) 0%, rgba(21,22,26,.14) 62%, rgba(21,22,26,.72) 100%);
  }

  .room__caption {
    min-height: auto;
    width: 100%;
    padding: 62px 18px 92px;
    background: var(--dark-2);
  }

  .room__caption h2 {
    font-size: clamp(66px, 17.5vw, 94px);
  }

  .room__caption > p:last-child {
    margin-left: auto;
    width: min(310px, 84vw);
    font-size: 12px;
  }

  .room__coord {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    padding: 0 18px 28px;
    background: var(--dark-2);
    text-align: right;
  }

  .room__shutter {
    display: none;
  }

  /* FAQ: title gets its own space; no seam can ever intrude. */
  .questions {
    min-height: auto;
    padding: 108px 18px 112px;
    display: block;
  }

  .questions__title {
    position: relative;
    top: auto;
  }

  .questions__title h2 {
    font-size: clamp(82px, 22vw, 116px);
  }

  .questions__list {
    padding-top: 64px;
  }

  .questions summary {
    padding: 24px 0;
    font-size: clamp(19px, 5.3vw, 26px);
  }

  .questions details p {
    padding-right: 0;
    font-size: 12px;
  }

  /* Contact */
  .contact {
    min-height: 100svh;
    padding: 118px 18px max(92px, calc(env(safe-area-inset-bottom) + 72px));
  }

  .contact__eyeline {
    left: 18px;
    top: 72px;
    max-width: calc(100vw - 36px);
    white-space: normal;
    overflow: visible;
    line-height: 1.5;
  }

  .contact h2 {
    font-size: clamp(60px, 16vw, 86px);
    line-height: .75;
  }

  .contact h2 em,
  .contact h2 span:last-child {
    margin-left: 0;
  }

  .contact__button {
    align-self: stretch;
    width: auto;
    margin-top: 50px;
  }

  .contact__meta {
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr auto;
  }

  .contact__meta span:nth-child(2) { display: none; }
}

/* ---------- narrow phones ---------- */

@media (max-width: 390px) {
  .chrome { gap: 10px; }
  .chrome__cta span { display: none; }

  .site-map__links span {
    font-size: 10vw;
  }

  .hero__portrait {
    min-height: 320px;
  }

  .hero__line--one span { font-size: 18.5vw; }
  .hero__line--two span { font-size: 19.5vw; }
  .hero__line--three span { font-size: 13.8vw; }

  .scan {
    --r: 28vw;
  }

  .scan__readout span:nth-child(2) {
    display: none;
  }

  .thesis-word { font-size: 17vw; }
  .thesis-word--c { font-size: 12.7vw; }

  .protocol-panel,
  .ritual,
  .questions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .protocol-panel figure,
  .procedure-slot {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }

  .contact h2 {
    font-size: 15.1vw;
  }

  .contact__button span {
    font-size: 8px;
    letter-spacing: .07em;
  }
}

/* ---------- short landscape / small laptop ----------
   Keeps typography inside the viewport at 16:9-ish and low-height screens. */

@media (min-width: 901px) and (max-height: 760px) {
  .hero {
    padding-top: 82px;
    padding-bottom: 36px;
  }

  .hero__signal { margin-top: 0; }

  .hero__portrait {
    height: 58svh;
    min-height: 330px;
  }

  .hero__line--one span {
    font-size: clamp(62px, 9.2vw, 148px);
  }

  .hero__line--two span {
    font-size: clamp(62px, 9.6vw, 152px);
  }

  .hero__line--three span {
    font-size: clamp(50px, 7.1vw, 116px);
  }

  .hero__line--three {
    padding-left: 14vw;
  }

  .scan {
    padding-top: 86px;
    padding-bottom: 48px;
  }

  .scan__copy h2 {
    font-size: clamp(62px, 7.4vw, 112px);
  }

  .protocol-panel {
    padding-top: 88px;
    padding-bottom: 48px;
  }

  .protocol-panel figure,
  .procedure-slot {
    height: 62svh;
    min-height: 330px;
  }

  .ritual {
    padding-top: 86px;
  }

  .ritual__sticky,
  .questions__title {
    top: 82px;
  }

  .room__caption {
    padding-top: 86px;
    padding-bottom: 72px;
  }

  .questions {
    padding-top: 86px;
  }

  .contact {
    min-height: 100svh;
    padding-top: 94px;
    padding-bottom: 54px;
    justify-content: flex-start;
  }

  .contact h2 {
    font-size: clamp(62px, 8.8vw, 132px);
  }

  .contact__button {
    margin-top: 34px;
  }

  .contact__meta {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: auto;
  }
}


@media (hover: hover) and (pointer: fine) {
  .site-map__links a:hover span {
    transform: translateX(1.4vw);
    font-style: italic;
  }

  .protocol-panel figure:hover img {
    transform: scale(1.025);
  }

  .contact__button:hover b {
    transform: translate(7px,-7px);
  }
}

/* ---------- motion accessibility ---------- */

body.no-motion-lib .room__shutter {
  display: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .scan__ring { display: none; }

  .scan__detail {
    clip-path: circle(var(--r) at 66% 50%);
  }

  .chapter-seam svg {
    transform: none !important;
  }
}

@keyframes pulse {
  0%,100% { opacity: .35; transform: scale(.75); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes bob {
  to { transform: translateY(6px); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}
