:root {
  --color-bg: #f4f3ef;
  --color-surface: #e8e5de;
  --color-text: #161817;
  --color-muted: #686b68;
  --color-primary: #b8d3e1;
  --color-accent: #d9b66f;
  --ink: #161817;
  --chalk: #f4f3ef;
  --concrete: #c9c3b8;
  --silver: #b8bec0;
  --mist: #b8d3e1;
  --lemon: #f0e8a8;
  --gold: #d9b66f;
  --orange: #b96335;
  --blue-gray: #29323b;
  --font-heading: "Arial Narrow", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Pretendard", "SUIT", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1600px;
  --space-section: clamp(96px, 11vw, 180px);
  --space-card: clamp(24px, 3vw, 48px);
  --radius-sm: 0;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-pill: 0;
  --shadow-card: none;
  --ratio-hero: 22 / 15;
  --ratio-card: 4 / 3;
  --ratio-product: 1 / 1;
  --header-height: 76px;
  --page-pad: clamp(40px, 4vw, 64px);
  --ease-light: cubic-bezier(.45, 0, .15, 1);
  --scene-progress: 0;
  --cursor-x: 50%;
  --cursor-y: 50%;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

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

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

button {
  border: 0;
}

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

::selection {
  color: var(--ink);
  background: var(--lemon);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.mono,
.chapter-label,
.data-cluster,
.scene-meta {
  font-family: var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--chalk);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(130px, .8fr) auto minmax(280px, .8fr);
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  color: var(--chalk);
  border-bottom: 1px solid rgba(244, 243, 239, .16);
  transition: color .5s var(--ease-light), background .5s var(--ease-light), border-color .5s var(--ease-light);
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(10, 12, 13, .55), transparent);
  opacity: .9;
  transition: opacity .5s var(--ease-light);
}

.site-header[data-theme="light"] {
  color: var(--ink);
  border-color: rgba(22, 24, 23, .18);
  background: rgba(244, 243, 239, .88);
  backdrop-filter: blur(14px);
}

.site-header[data-theme="light"]::before {
  opacity: 0;
}

.site-header[data-scene="exit"] {
  background: rgba(10, 12, 13, .82);
  backdrop-filter: blur(14px);
}

.site-header[data-scene="exit"]::before {
  opacity: 0;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: .86;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: clamp(22px, 2.2vw, 42px);
  align-items: center;
}

.desktop-nav a,
.header-tools,
.text-control,
.menu-toggle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.desktop-nav a,
.sunset-footer nav a {
  position: relative;
}

.desktop-nav a::after,
.sunset-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-light);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.sunset-footer nav a:hover::after,
.sunset-footer nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.header-time {
  min-width: 42px;
}

.text-control,
.menu-toggle {
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.text-control[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-toggle {
  display: none;
  gap: 10px;
  align-items: center;
}

.menu-toggle i,
.menu-toggle i::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .45s var(--ease-light);
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::after {
  position: absolute;
  top: 5px;
  content: "";
}

.menu-toggle[aria-expanded="true"] i {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::after {
  transform: translateY(-5px) rotate(-90deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  align-content: center;
  padding: calc(var(--header-height) + 40px) 18px 32px;
  color: var(--chalk);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease-light), visibility .5s;
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  padding: 9px 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 11vw, 54px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu p {
  align-self: end;
  margin: 48px 0 0;
  color: rgba(244, 243, 239, .56);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  text-transform: uppercase;
}

.scene-progress {
  position: fixed;
  z-index: 70;
  top: 50%;
  right: 18px;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.scene-progress a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: rgba(244, 243, 239, .55);
  font-family: var(--font-mono);
  font-size: 8px;
}

.scene-progress a span {
  opacity: 0;
  transform: translateX(7px);
  transition: opacity .3s, transform .3s;
}

.scene-progress a i {
  width: 10px;
  height: 1px;
  background: currentColor;
  transition: width .3s, color .3s;
}

.scene-progress a:hover span,
.scene-progress a:focus-visible span,
.scene-progress a.is-active span {
  opacity: 1;
  transform: none;
}

.scene-progress a.is-active {
  color: var(--chalk);
}

.scene-progress a.is-active i {
  width: 28px;
}

.light-cursor {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border: 1px solid rgba(244, 243, 239, .65);
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x) - 11px), calc(var(--cursor-y) - 11px), 0);
  transition: width .25s, height .25s, opacity .25s;
}

@media (pointer: fine) {
  body:hover .light-cursor {
    opacity: 1;
  }
}

.scene {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: clip;
}

.theme-dark {
  color: var(--chalk);
  background: var(--ink);
}

.theme-light {
  color: var(--ink);
  background: var(--chalk);
}

.scene-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.scene-media picture,
.scene-media img {
  width: 100%;
  height: 100%;
}

.scene-media img {
  object-fit: cover;
}

.scene-copy {
  position: absolute;
  z-index: 5;
  max-width: min(620px, 46vw);
}

.scene-copy h1,
.scene-copy h2,
.split-header h2,
.builder-intro h2,
.surfaces-heading h2,
.logs-heading h2,
.exit-copy h2,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 520;
  line-height: .93;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chapter-label {
  margin: 0 0 18px;
  font-size: 11px;
}

.chapter-body {
  max-width: 470px;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.chapter-lead {
  margin: 26px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 42px);
  line-height: 1.08;
}

.data-cluster {
  display: grid;
  gap: 6px;
  font-size: 10px;
  line-height: 1.4;
}

.data-cluster span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-width: 225px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}

.data-cluster b {
  font-weight: 500;
}

.scene-control {
  position: absolute;
  z-index: 6;
}

.scene-control label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

input[type="range"] {
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: currentColor;
}

input[type="range"]::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -6px;
  appearance: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
}

input[type="range"]::-moz-range-track {
  height: 1px;
  background: currentColor;
}

input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
}

.line-button {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 44px;
  padding: 0 0 8px;
  color: inherit;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.line-button::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-light);
}

.line-button:hover::before,
.line-button:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.product-hotspot {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-hotspot span {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.product-hotspot span::after {
  position: absolute;
  inset: 3px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  animation: hotspot 2.4s ease-in-out infinite;
}

@keyframes hotspot {
  50% { opacity: .15; transform: scale(.55); }
}

/* Entry */
.entry-media img {
  transform: scale(1.035);
  transition: transform 3s var(--ease-light), filter 2.4s var(--ease-light);
}

.scene-entry.is-visible .entry-media img {
  transform: scale(1);
}

.entry-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 13, .32), rgba(8, 11, 13, .72) 52%, rgba(8, 11, 13, .88));
}

.window-slit {
  position: absolute;
  top: 0;
  left: 5.4%;
  width: clamp(2px, calc(2px + var(--scene-progress) * 1.2vw), 18px);
  height: 68%;
  background: linear-gradient(to bottom, rgba(184, 211, 225, .95), rgba(244, 243, 239, .12));
  box-shadow: 0 0 45px rgba(184, 211, 225, .18);
}

.light-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.light-path path {
  fill: none;
  stroke: rgba(201, 224, 235, .58);
  stroke-width: 2;
  filter: blur(.5px);
  stroke-dasharray: 1500;
  stroke-dashoffset: calc(1500 - 1500 * var(--scene-progress));
}

.light-path path + path {
  stroke-width: 8;
  opacity: .08;
  filter: blur(6px);
}

.dust-field {
  position: absolute;
  inset: 0;
  opacity: calc(.08 + var(--scene-progress) * .22);
  background-image:
    radial-gradient(circle at 15% 32%, rgba(255, 255, 255, .7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 26% 48%, rgba(255, 255, 255, .5) 0 1px, transparent 1.4px),
    radial-gradient(circle at 38% 60%, rgba(255, 255, 255, .45) 0 1px, transparent 1.4px);
  background-size: 90px 120px, 130px 90px, 170px 145px;
  transform: translate3d(calc((var(--cursor-x) - 50%) * .008), calc((var(--cursor-y) - 50%) * .008), 0);
}

.dust-overlay {
  position: absolute;
  z-index: 1;
  top: 6%;
  left: 4%;
  width: 62%;
  height: 72%;
  object-fit: contain;
  opacity: calc(.04 + var(--scene-progress) * .24);
  pointer-events: none;
  mix-blend-mode: screen;
}

.entry-copy {
  top: 15%;
  left: var(--page-pad);
  max-width: 860px;
}

.scene-meta {
  display: flex;
  gap: 28px;
  margin-bottom: clamp(50px, 9vh, 95px);
  font-size: 10px;
}

.entry-copy h1 {
  font-size: clamp(68px, 7.6vw, 112px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-light) .2s;
}

.scene-entry.is-visible .entry-copy h1 {
  clip-path: inset(0);
}

.entry-copy > p {
  margin: 30px 0 0;
  color: rgba(244, 243, 239, .72);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
}

.scroll-cue {
  position: absolute;
  right: var(--page-pad);
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: rgba(244, 243, 239, .25);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--chalk);
  animation: cue 2s var(--ease-light) infinite;
}

@keyframes cue {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* Capture */
.scene-capture::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(244, 243, 239, .84) 0 30%, rgba(244, 243, 239, 0) 58%);
}

.scene-capture .scene-media img {
  object-position: 62% center;
  filter: saturate(.86);
}

.anchor-left {
  top: 20%;
  left: var(--page-pad);
}

.anchor-left h2 {
  font-size: clamp(54px, 6vw, 88px);
}

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

.prism-ray-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: translateX(calc((var(--prism-angle, 0) * 1px)));
}

.prism-rays path {
  fill: none;
  stroke: rgba(255, 255, 255, .78);
  stroke-width: 1.4;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  filter: drop-shadow(3px 0 0 rgba(184, 211, 225, .2)) drop-shadow(-3px 0 0 rgba(240, 232, 168, .18));
  transition: d .4s ease;
}

.scene-capture.is-visible .prism-rays path {
  animation: draw-ray 2.8s var(--ease-light) forwards;
}

.scene-capture.is-visible .prism-rays path:nth-child(2) { animation-delay: .12s; }
.scene-capture.is-visible .prism-rays path:nth-child(3) { animation-delay: .24s; }
.scene-capture.is-visible .prism-rays path:nth-child(4) { animation-delay: .36s; }

@keyframes draw-ray {
  to { stroke-dashoffset: 0; }
}

.capture-data {
  position: absolute;
  right: var(--page-pad);
  bottom: 11%;
}

.capture-control {
  bottom: 10%;
  left: var(--page-pad);
  width: min(360px, 32vw);
}

.compare-toggle {
  margin-top: 20px;
}

.scene-capture.is-comparing .scene-media img {
  filter: saturate(.55) brightness(.82);
}

.scene-capture.is-comparing .prism-rays {
  opacity: .08;
}

.scene-capture .product-hotspot {
  top: 39%;
  left: 57%;
}

/* Bend */
.scene-bend::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(20, 23, 23, .72), transparent 48%);
}

.bend-media img {
  object-position: center 40%;
}

.mirror-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mirror-path path {
  fill: none;
  stroke: rgba(255, 250, 218, .8);
  stroke-width: 2;
}

.mirror-path .incident {
  opacity: .45;
}

.mirror-path .reflected {
  filter: drop-shadow(0 0 8px rgba(255, 246, 194, .28));
}

.mirror-path circle {
  fill: transparent;
  stroke: rgba(255, 250, 218, .88);
  stroke-width: 2;
}

.mirror-handle {
  position: absolute;
  top: 32%;
  left: 48%;
  width: 110px;
  height: 14px;
  border: 1px solid rgba(244, 243, 239, .85);
  background: rgba(184, 190, 192, .25);
  transform: rotate(calc((var(--mirror-angle, 32) - 27) * 1deg));
  transform-origin: center;
  cursor: ew-resize;
}

.mirror-handle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  content: "";
  border: 1px solid rgba(244, 243, 239, .9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.anchor-bottom-left {
  bottom: 10%;
  left: var(--page-pad);
  color: var(--chalk);
}

.anchor-bottom-left h2 {
  font-size: clamp(42px, 5.2vw, 78px);
}

.bend-data {
  position: absolute;
  right: var(--page-pad);
  bottom: 10%;
  color: var(--chalk);
}

.bend-control {
  top: 18%;
  right: var(--page-pad);
  width: min(310px, 27vw);
  color: var(--chalk);
}

.mirror-hotspot {
  top: 34%;
  left: 55%;
  color: var(--chalk);
}

/* Split */
.scene-split {
  min-height: 115svh;
  padding: calc(var(--header-height) + 48px) var(--page-pad) 48px;
}

.split-header {
  position: absolute;
  z-index: 5;
  top: calc(var(--header-height) + 38px);
  left: var(--page-pad);
  pointer-events: none;
}

.split-header h2 {
  max-width: 680px;
  font-size: clamp(50px, 6.5vw, 92px);
}

.purpose-field {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.purpose-panel {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--chalk);
  background: var(--ink);
  cursor: pointer;
  transition: filter 1.2s var(--ease-light);
}

.purpose-panel + .purpose-panel {
  border-left: 1px solid rgba(244, 243, 239, .25);
}

.purpose-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.34) saturate(.5);
  transform: scale(1.02);
  transition: filter 1.5s var(--ease-light), transform 1.5s var(--ease-light);
}

.purpose-panel.is-active img,
.purpose-panel:hover img {
  filter: brightness(.82) saturate(.82);
  transform: scale(1.045);
}

.purpose-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 14, 14, .72), transparent 62%);
}

.purpose-panel strong,
.purpose-panel small,
.purpose-index {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 3vw, 48px);
  text-align: left;
}

.purpose-panel strong {
  bottom: 88px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 500;
  text-transform: uppercase;
}

.purpose-panel small {
  bottom: 52px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.purpose-index {
  bottom: 150px;
  font-size: 10px;
}

.split-paths {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.split-paths path {
  fill: none;
  stroke: rgba(255, 247, 211, .7);
  stroke-width: 1.5;
  opacity: .15;
  transition: opacity .8s var(--ease-light), stroke-width .8s;
}

.split-paths path.is-active {
  stroke-width: 2.5;
  opacity: 1;
}

.purpose-status {
  position: absolute;
  z-index: 5;
  top: calc(var(--header-height) + 48px);
  right: var(--page-pad);
  display: grid;
  justify-items: end;
  font-size: 9px;
}

/* Soften */
.soften-layer {
  position: absolute;
  inset: 0;
  transition: opacity .45s linear;
}

.balanced-layer,
.soft-layer {
  opacity: 0;
}

.glare-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 64% 48%, rgba(255, 255, 255, .85), transparent 30%);
  mix-blend-mode: screen;
  opacity: .28;
}

.scene-soften::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(244, 243, 239, .9), transparent 54%);
}

.anchor-top-left {
  top: 16%;
  left: var(--page-pad);
}

.anchor-top-left h2 {
  font-size: clamp(54px, 7vw, 98px);
}

.diffusion-readout {
  position: absolute;
  right: var(--page-pad);
  bottom: 14%;
  color: var(--ink);
}

.diffusion-readout > strong {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.diffusion-control {
  right: 28%;
  bottom: 6%;
  left: 28%;
}

.diffusion-control label {
  gap: 20px;
}

.diffusion-hotspot {
  top: 39%;
  right: 28%;
}

/* Extend */
.extend-light-layer {
  position: absolute;
  inset: 0;
  opacity: var(--extend-progress, 1);
  transition: opacity .4s linear;
}

.scene-extend::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 11, 12, .86), transparent 55%);
}

.rail-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rail-path path {
  fill: none;
  stroke: rgba(255, 245, 199, .62);
  stroke-width: 3;
  stroke-dasharray: 1700;
  stroke-dashoffset: calc(1700 - var(--extend-progress, 1) * 1700);
  filter: drop-shadow(0 0 7px rgba(255, 245, 199, .25));
}

.anchor-left-center {
  top: 50%;
  left: var(--page-pad);
  color: var(--chalk);
  transform: translateY(-50%);
}

.anchor-left-center h2 {
  font-family: var(--font-mono);
  font-size: clamp(70px, 10vw, 150px);
  font-weight: 400;
}

.extend-control {
  right: var(--page-pad);
  bottom: 10%;
  width: min(430px, 34vw);
  color: var(--chalk);
}

.coordinate-marker {
  position: absolute;
  z-index: 5;
  top: 45%;
  right: 10%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--chalk);
  font-size: 8px;
}

.coordinate-marker i {
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.rail-hotspot {
  top: 26%;
  left: 52%;
  color: var(--chalk);
}

/* Time */
.time-layer {
  position: absolute;
  inset: 0;
  transition: opacity .12s linear;
}

.morning-layer,
.sunset-layer {
  opacity: 0;
}

.temperature-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--time-color, rgba(217, 182, 111, .12));
  mix-blend-mode: color;
  transition: background 1s var(--ease-light);
}

.scene-time::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 16, 17, .72), transparent 56%);
}

.sun-orbit {
  position: absolute;
  right: 7%;
  bottom: 18%;
  width: min(52vw, 760px);
  overflow: visible;
}

.sun-orbit-image {
  position: absolute;
  right: 7%;
  bottom: 18%;
  width: min(52vw, 760px);
  height: auto !important;
  object-fit: contain !important;
  opacity: .24;
  pointer-events: none;
}

.sun-orbit path {
  fill: none;
  stroke: rgba(244, 243, 239, .38);
  stroke-width: 1;
}

.sun-orbit circle {
  fill: var(--lemon);
  stroke: rgba(244, 243, 239, .8);
  stroke-width: 1;
  filter: drop-shadow(0 0 14px rgba(240, 232, 168, .3));
  transition: cx .3s linear, cy .3s linear;
}

.scene-time .anchor-top-left {
  color: var(--chalk);
}

.scene-time .anchor-top-left h2 {
  max-width: 730px;
}

.time-readout {
  position: absolute;
  right: var(--page-pad);
  bottom: 24%;
  color: var(--chalk);
}

.time-readout > strong {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: clamp(62px, 8vw, 118px);
  font-weight: 400;
  line-height: 1;
}

.time-presets {
  position: absolute;
  z-index: 5;
  bottom: 14%;
  left: var(--page-pad);
  display: flex;
  gap: 22px;
}

.time-presets button {
  padding: 0 0 6px;
  color: rgba(244, 243, 239, .5);
  border-bottom: 1px solid transparent;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  cursor: pointer;
}

.time-presets button.is-active {
  color: var(--chalk);
  border-color: currentColor;
}

.time-control {
  right: var(--page-pad);
  bottom: 8%;
  left: var(--page-pad);
  color: var(--chalk);
}

/* Builder */
.scene-builder {
  min-height: auto;
  padding: var(--space-section) var(--page-pad);
}

.builder-intro {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: var(--space-card);
  max-width: var(--container);
  margin: 0 auto clamp(64px, 8vw, 110px);
}

.builder-intro .chapter-label {
  grid-column: 1 / -1;
}

.builder-intro h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.builder-intro > p {
  max-width: 450px;
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.75;
}

.planner-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .55fr);
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.planner-stage {
  grid-row: span 2;
  padding: 20px 28px 28px 0;
  border-right: 1px solid var(--ink);
}

.planner-stage-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  font-size: 9px;
}

.room-canvas {
  position: relative;
  aspect-ratio: 10 / 7.6;
  overflow: hidden;
  background: #dedbd4;
  cursor: crosshair;
}

.room-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) contrast(.94);
}

.room-canvas > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.generated-path {
  fill: none;
  stroke: rgba(240, 232, 168, .96);
  stroke-width: 4;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  filter: drop-shadow(0 0 5px rgba(240, 232, 168, .35));
}

.planner-shell.has-result .generated-path {
  animation: planner-path .8s var(--ease-light) forwards;
}

@keyframes planner-path {
  to { stroke-dashoffset: 0; }
}

.planner-node {
  opacity: 0;
  transition: opacity .4s;
}

.planner-shell.has-result .planner-node {
  opacity: 1;
}

.planner-shell.has-result .node-mirror { transition-delay: .18s; }
.planner-shell.has-result .node-diffuse { transition-delay: .36s; }

.planner-node circle {
  fill: rgba(244, 243, 239, .85);
  stroke: var(--ink);
}

.planner-node text {
  fill: var(--ink);
  font: 12px var(--font-mono);
}

.window-marker,
.target-marker {
  position: absolute;
  z-index: 3;
  color: var(--ink);
  border: 1px solid currentColor;
  background: rgba(244, 243, 239, .72);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.window-marker {
  top: 53%;
  left: 5%;
  padding: 7px 10px;
  transform: rotate(-62deg);
}

.target-marker {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: move;
}

.target-marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

.path-node-image {
  position: absolute;
  z-index: 2;
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(240, 232, 168, .4));
  transition: opacity .3s;
}

.node-image-one { top: 39%; left: 24%; }
.node-image-two { top: 50%; left: 51%; }
.node-image-three { top: 66%; left: 71%; }

.planner-shell.has-result .path-node-image {
  opacity: 1;
}

.planner-settings {
  display: grid;
  gap: 30px;
  padding: 28px 0 32px 28px;
}

.planner-settings fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.planner-settings legend {
  margin-bottom: 12px;
  font-size: 9px;
}

.planner-settings label {
  display: grid;
  grid-template-columns: 1fr 80px 20px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.planner-settings label:has(select),
.planner-settings label:has(input[type="time"]) {
  grid-template-columns: 1fr 130px;
}

.planner-settings input,
.planner-settings select,
.newsletter input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-width: 0;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
  border: 1px solid var(--ink);
}

.segmented-control button {
  min-height: 38px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  cursor: pointer;
}

.segmented-control button + button {
  border-left: 1px solid var(--ink);
}

.segmented-control button.is-active {
  color: var(--chalk);
  background: var(--ink);
}

.planner-result {
  grid-column: 2;
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 28px 0 28px 28px;
  border-top: 1px solid var(--ink);
}

.planner-result > p {
  margin: 0;
  font-size: 9px;
}

.path-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 17px;
  text-transform: uppercase;
}

.path-sequence li:not(:last-child)::after {
  margin-left: 16px;
  content: "→";
}

.result-metrics {
  display: grid;
  gap: 5px;
  font-size: 9px;
}

.result-metrics span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(22, 24, 23, .22);
}

.result-actions {
  display: grid;
}

.result-actions button,
.result-actions a {
  padding: 9px 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 8px;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.builder-full-link {
  margin: 48px 0 0 calc((100vw - min(var(--container), calc(100vw - var(--page-pad) * 2))) / 2);
}

/* Surfaces */
.scene-surfaces {
  min-height: auto;
  padding: var(--space-section) var(--page-pad);
}

.surfaces-heading,
.logs-heading {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto 72px;
}

.surfaces-heading h2,
.logs-heading h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.surface-field {
  display: grid;
  grid-template-columns: 1.15fr .82fr 1fr;
  grid-template-rows: minmax(340px, 42vw) minmax(300px, 34vw);
  gap: 1px;
  max-width: var(--container);
  margin: 0 auto;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.surface-tile {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--chalk);
  background: var(--ink);
  text-align: left;
  cursor: pointer;
}

.surface-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.74) saturate(.72);
  transition: filter 1.2s var(--ease-light), transform 1.2s var(--ease-light);
}

.surface-tile:hover img,
.surface-tile:focus-visible img {
  filter: brightness(.96) saturate(.9);
  transform: scale(1.025);
}

.surface-tile strong,
.surface-tile small {
  position: absolute;
  z-index: 2;
  left: 24px;
  text-transform: uppercase;
}

.surface-tile strong {
  bottom: 42px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
}

.surface-tile small {
  bottom: 20px;
  font-family: var(--font-mono);
  font-size: 8px;
}

.surface-beam {
  position: absolute;
  z-index: 1;
  top: -30%;
  bottom: -30%;
  left: -45%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 249, 221, .65), transparent);
  opacity: 0;
  transform: skewX(-14deg);
}

.surface-tile:hover .surface-beam,
.surface-tile:focus-visible .surface-beam {
  animation: surface-light 1.8s var(--ease-light) forwards;
}

@keyframes surface-light {
  0% { left: -45%; opacity: 0; }
  20% { opacity: .55; }
  100% { left: 125%; opacity: 0; }
}

.surface-tile.reflect { grid-row: span 2; }
.surface-tile.refract { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.surface-tile.redirect { margin-left: -12%; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.surface-tile.diffuse { clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); }
.surface-tile.filter { margin-right: -12%; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.surface-tile.store { margin-left: -12%; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }

.surface-archive-link,
.logs-link {
  margin-top: 42px;
  margin-left: calc((100vw - min(var(--container), calc(100vw - var(--page-pad) * 2))) / 2);
}

/* Logs */
.scene-logs {
  min-height: auto;
  padding: var(--space-section) var(--page-pad);
  background: #e5e2db;
}

.light-log-list {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.log-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .4fr);
  gap: var(--space-card);
  padding: 48px 0;
  border-bottom: 1px solid var(--ink);
}

.log-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.log-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.log-media .after-image {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 52%);
  transition: clip-path .9s var(--ease-light);
}

.log-entry:hover .after-image,
.log-entry:focus-visible .after-image {
  clip-path: inset(0 0 0 24%);
}

.comparison-line {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 1px;
  background: var(--chalk);
  transition: left .9s var(--ease-light);
}

.comparison-line::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  content: "↔";
  color: var(--ink);
  background: var(--chalk);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 26px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.log-entry:hover .comparison-line,
.log-entry:focus-visible .comparison-line {
  left: 24%;
}

.log-info {
  display: grid;
  align-content: end;
  gap: 8px;
  font-size: 9px;
  text-transform: uppercase;
}

.log-info strong {
  margin: 26px 0 6px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 1;
}

/* Exit */
.scene-exit {
  min-height: 120svh;
}

.scene-exit::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(12, 16, 20, .35);
}

.exit-afterglow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.exit-afterglow path {
  fill: none;
  stroke: rgba(185, 99, 53, .24);
  stroke-width: 4;
  filter: blur(1px);
}

.exit-copy {
  position: absolute;
  top: 18%;
  left: var(--page-pad);
}

.exit-copy h2 {
  font-size: clamp(58px, 7vw, 104px);
}

.sunset-footer {
  position: absolute;
  right: var(--page-pad);
  bottom: 40px;
  left: var(--page-pad);
  display: grid;
  grid-template-columns: 1fr .8fr 1.2fr;
  gap: var(--space-card);
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid rgba(244, 243, 239, .3);
}

.footer-brand p {
  margin: 22px 0 0;
  color: rgba(244, 243, 239, .55);
  font-size: 12px;
  line-height: 1.6;
}

.sunset-footer nav {
  display: grid;
  justify-items: start;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 28px);
  text-transform: uppercase;
}

.newsletter label {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 42px);
  text-transform: uppercase;
}

.newsletter > div {
  display: flex;
  border-bottom: 1px solid var(--chalk);
}

.newsletter input {
  flex: 1;
  color: var(--chalk);
  border: 0;
}

.newsletter input::placeholder {
  color: rgba(244, 243, 239, .45);
}

.newsletter button {
  width: 42px;
  color: var(--chalk);
  background: transparent;
  cursor: pointer;
}

.newsletter > p {
  min-height: 18px;
  margin: 8px 0 0;
  color: rgba(244, 243, 239, .6);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  color: rgba(244, 243, 239, .42);
  border-top: 1px solid rgba(244, 243, 239, .14);
  font-size: 8px;
}

/* Surface dialog */
.surface-dialog {
  position: fixed;
  width: min(1180px, calc(100vw - 80px));
  max-width: none;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--ink);
  background: var(--chalk);
}

.surface-dialog[open] {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
}

.surface-dialog::backdrop {
  background: rgba(12, 14, 15, .72);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  color: inherit;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dialog-media {
  aspect-ratio: 1 / 1;
}

.dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  display: grid;
  align-content: center;
  padding: clamp(36px, 5vw, 72px);
}

.dialog-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 500;
  line-height: .95;
  text-transform: uppercase;
}

.dialog-copy > p:not(.chapter-label) {
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.7;
}

.dialog-copy dl {
  display: grid;
  gap: 6px;
  margin: 0 0 34px;
  font-size: 9px;
  text-transform: uppercase;
}

.dialog-copy dl div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(22, 24, 23, .25);
}

.dialog-copy dd {
  margin: 0;
}

/* Internal page shell */
.internal-page {
  min-height: 100svh;
  padding-top: var(--header-height);
  background: var(--chalk);
}

.internal-page .site-header {
  color: var(--ink);
  border-color: rgba(22, 24, 23, .18);
  background: rgba(244, 243, 239, .92);
  backdrop-filter: blur(14px);
}

.internal-page .site-header::before {
  opacity: 0;
}

.page-main {
  min-height: 80svh;
}

.page-hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: min(74svh, 760px);
  padding: var(--space-section) var(--page-pad) 54px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.page-hero.has-image {
  color: var(--chalk);
  border-color: rgba(244, 243, 239, .35);
}

.page-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.has-image::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(12, 14, 14, .78), rgba(12, 14, 14, .08));
}

.page-hero-content {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: var(--space-card);
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 1050px;
  font-size: clamp(64px, 9vw, 138px);
}

.page-hero-copy {
  max-width: 480px;
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}

.page-section {
  padding: var(--space-section) var(--page-pad);
}

.page-section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-intro {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: var(--space-card);
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-intro h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 520;
  line-height: .98;
  text-transform: uppercase;
}

.systems-index {
  border-top: 1px solid var(--ink);
}

.system-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(220px, .75fr) 1.25fr 180px;
  gap: var(--space-card);
  align-items: center;
  min-height: 190px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.system-row > img {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 14%;
  width: min(300px, 24vw);
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0;
  transform: translateY(-45%) scale(.92);
  transition: opacity .5s, transform .7s var(--ease-light);
}

.system-row:hover > img,
.system-row:focus-visible > img {
  opacity: .88;
  transform: translateY(-50%) scale(1);
}

.system-row .row-index,
.system-row .row-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.system-row h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.system-row p {
  max-width: 540px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.system-row .row-arrow {
  justify-self: end;
  font-size: 28px;
}

.detail-hero {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  min-height: calc(100svh - var(--header-height));
  border-bottom: 1px solid var(--ink);
}

.detail-hero-copy {
  display: grid;
  align-content: end;
  padding: var(--space-section) var(--page-pad) 54px;
  border-right: 1px solid var(--ink);
}

.detail-hero h1 {
  margin-top: 24px;
  font-size: clamp(58px, 7.4vw, 110px);
}

.detail-hero-copy > p:not(.chapter-label) {
  max-width: 470px;
  margin: 32px 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

.detail-hero-media {
  min-height: 520px;
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.detail-data div {
  min-height: 130px;
  padding: 18px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.detail-data dt {
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.detail-data dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 38px);
  line-height: 1.05;
  text-transform: uppercase;
}

.detail-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 120px);
  align-items: center;
}

.detail-story img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-story-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.8vw, 80px);
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.detail-story-copy p {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

.project-index {
  display: grid;
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(72svh, 700px);
  color: var(--chalk);
  background: var(--ink);
}

.project-row-media {
  position: relative;
  overflow: hidden;
}

.project-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-light);
}

.project-row:hover img {
  transform: scale(1.025);
}

.project-row-copy {
  display: grid;
  align-content: end;
  padding: clamp(36px, 6vw, 90px);
  background: var(--blue-gray);
}

.project-row:nth-child(2) .project-row-copy {
  order: -1;
  background: #736a61;
}

.project-row:nth-child(3) .project-row-copy {
  background: #313736;
}

.project-row-copy h2 {
  margin: 24px 0;
  font-family: var(--font-heading);
  font-size: clamp(50px, 7vw, 98px);
  font-weight: 500;
  line-height: .95;
  text-transform: uppercase;
}

.project-row-copy p {
  max-width: 430px;
  margin: 0 0 34px;
  color: rgba(244, 243, 239, .66);
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.material-item {
  min-width: 0;
  background: var(--chalk);
}

.material-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.material-item-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 20px;
}

.material-item h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
}

.material-item p,
.material-item dl {
  grid-column: 1 / -1;
}

.material-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.material-item dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.material-item dl div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(22, 24, 23, .2);
}

.material-item dd {
  margin: 0;
}

.technology-flow {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.technology-step {
  display: grid;
  grid-template-columns: 100px .7fr 1.3fr;
  gap: var(--space-card);
  padding: 40px 0;
  border-bottom: 1px solid var(--ink);
}

.technology-step > span {
  font-family: var(--font-mono);
  font-size: 9px;
}

.technology-step h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.technology-step p {
  max-width: 600px;
  margin: 0;
  color: var(--color-muted);
}

.about-statement {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: var(--space-card);
}

.about-statement blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 500;
  line-height: .98;
  text-transform: uppercase;
}

.about-statement-copy {
  align-self: end;
}

.about-statement-copy p {
  margin: 0 0 24px;
  color: var(--color-muted);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.principle {
  min-height: 300px;
  padding: 28px;
  background: var(--chalk);
}

.principle span {
  font-family: var(--font-mono);
  font-size: 9px;
}

.principle h3 {
  margin: 100px 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 520;
  line-height: 1;
  text-transform: uppercase;
}

.principle p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(48px, 10vw, 160px);
}

.contact-sidebar h2 {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.contact-sidebar p {
  max-width: 380px;
  color: var(--color-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.project-comparison {
  position: relative;
  aspect-ratio: 3 / 2;
  margin-bottom: 48px;
  overflow: hidden;
  cursor: ew-resize;
}

.project-comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-comparison .project-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}

.project-compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--chalk);
}

.project-compare-line i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--chalk);
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  transform: translate(-50%, -50%);
}

.full-planner {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.planner-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.planner-steps button {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 0 18px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.planner-steps button + button {
  border-left: 1px solid var(--ink);
}

.planner-steps button span {
  color: var(--color-muted);
}

.planner-steps button.is-active {
  color: var(--chalk);
  background: var(--ink);
}

.planner-steps button.is-active span {
  color: var(--chalk);
}

.full-planner-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
  min-height: 650px;
}

.full-planner-canvas {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #dcd9d2;
  cursor: crosshair;
}

.full-planner-canvas > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .8s var(--ease-light);
}

.planner-path-image,
.planner-result-image {
  opacity: 0;
}

.full-planner[data-step="2"] .planner-path-image {
  opacity: .36;
}

.full-planner.has-result .planner-base-image,
.full-planner.has-result .planner-path-image {
  opacity: 0;
}

.full-planner.has-result .planner-result-image {
  opacity: .72;
}

.full-planner-canvas > svg {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#full-light-path {
  fill: none;
  stroke: rgba(255, 246, 194, .95);
  stroke-width: 4;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  filter: drop-shadow(0 0 6px rgba(240, 232, 168, .4));
}

.full-node {
  fill: rgba(244, 243, 239, .92);
  stroke: var(--ink);
  opacity: 0;
}

.full-planner.has-result #full-light-path {
  animation: planner-path .8s var(--ease-light) forwards;
}

.full-planner.has-result .full-node {
  opacity: 1;
  transition: opacity .3s .3s;
}

.full-window-marker,
.full-target-marker {
  position: absolute;
  z-index: 4;
  color: var(--ink);
  border: 1px solid currentColor;
  background: rgba(244, 243, 239, .82);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.full-window-marker {
  top: 52%;
  left: 4%;
  padding: 8px 12px;
  transform: rotate(-62deg);
}

.full-target-marker {
  top: 42%;
  left: 82%;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: move;
}

.full-target-marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

.full-path-node {
  position: absolute !important;
  z-index: 3;
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.full-node-one { top: 39%; left: 23%; }
.full-node-two { top: 51%; left: 51%; }
.full-node-three { top: 67%; left: 71%; }

.full-planner.has-result .full-path-node {
  opacity: 1;
}

.full-planner-form {
  display: grid;
  align-content: start;
  gap: 34px;
  padding: 36px;
  border-left: 1px solid var(--ink);
}

.full-planner-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.full-planner-form legend {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.full-planner-form label {
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.planner-input-grid {
  display: grid;
  gap: 12px;
}

.planner-input-grid label {
  grid-template-columns: 1fr 72px 12px;
}

.full-planner-form input,
.full-planner-form select {
  width: 100%;
  min-width: 0;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
}

.full-planner-result {
  display: grid;
  grid-template-columns: 1.1fr .7fr .4fr;
  gap: var(--space-card);
  padding: 44px 0;
  border-top: 1px solid var(--ink);
}

.full-planner-result h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 520;
  line-height: 1.05;
  text-transform: uppercase;
}

.full-planner-result table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.full-planner-result caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.full-planner-result th,
.full-planner-result td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(22, 24, 23, .24);
  font-weight: 400;
  text-align: left;
}

.full-planner-result td {
  text-align: right;
}

.full-planner-result .result-actions {
  align-self: start;
}

.internal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-card);
  padding: 60px var(--page-pad) 28px;
  color: var(--chalk);
  background: var(--ink);
}

.internal-footer nav {
  display: grid;
  justify-items: start;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 20px;
  text-transform: uppercase;
}

.internal-footer > p {
  margin: 0;
  color: rgba(244, 243, 239, .52);
  font-size: 12px;
}

.internal-footer .footer-legal {
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1180px) {
  :root {
    --page-pad: 36px;
  }

  .site-header {
    grid-template-columns: 120px 1fr auto;
  }

  .desktop-nav {
    justify-self: center;
    gap: 18px;
  }

  .text-control {
    display: none;
  }

  .scene-progress {
    display: none;
  }

  .surface-field {
    grid-template-rows: minmax(300px, 46vw) minmax(270px, 38vw);
  }

  .system-row {
    grid-template-columns: 54px minmax(180px, .75fr) 1.25fr 60px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
    --page-pad: 24px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: var(--header-height);
  }

  .desktop-nav,
  .header-tools .sound-toggle,
  .header-tools .motion-toggle {
    display: none;
  }

  .header-tools {
    gap: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .scene-copy {
    max-width: 68vw;
  }

  .planner-shell {
    grid-template-columns: 1fr;
  }

  .planner-stage {
    grid-row: auto;
    padding-right: 0;
    border-right: 0;
  }

  .planner-settings,
  .planner-result {
    grid-column: auto;
    padding: 28px 0;
    border-top: 1px solid var(--ink);
  }

  .surfaces-heading,
  .logs-heading,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .surface-field {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, minmax(280px, 48vw));
  }

  .surface-tile.reflect {
    grid-row: auto;
  }

  .surface-tile.refract,
  .surface-tile.redirect,
  .surface-tile.diffuse,
  .surface-tile.filter,
  .surface-tile.store {
    margin: 0;
    clip-path: none;
  }

  .log-entry {
    grid-template-columns: 1fr;
  }

  .log-info {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .log-info strong {
    grid-column: 1 / -1;
  }

  .sunset-footer {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter {
    grid-column: 1 / -1;
  }

  .page-hero-content,
  .detail-hero,
  .detail-story,
  .project-row,
  .about-statement,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .detail-hero-copy {
    min-height: 54svh;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .detail-data {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-row:nth-child(2) .project-row-copy {
    order: initial;
  }

  .material-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .technology-step {
    grid-template-columns: 60px 1fr;
  }

  .technology-step p {
    grid-column: 2;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .full-planner-workspace,
  .full-planner-result {
    grid-template-columns: 1fr;
  }

  .full-planner-form {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .full-planner-result .result-actions {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 18px;
    --space-section: 84px;
  }

  body {
    font-size: 15px;
  }

  .scene {
    min-height: 100svh;
  }

  .light-cursor {
    display: none;
  }

  .entry-vignette {
    background: linear-gradient(0deg, rgba(8, 11, 13, .62), rgba(8, 11, 13, .2) 58%, rgba(8, 11, 13, .48));
  }

  .entry-copy {
    top: 18%;
    left: 18px;
  }

  .scene-meta {
    gap: 12px;
    margin-bottom: 54px;
    font-size: 8px;
  }

  .entry-copy h1 {
    font-size: clamp(46px, 14vw, 58px);
    line-height: .96;
  }

  .scroll-cue {
    right: 18px;
    bottom: 24px;
  }

  .scene-copy {
    max-width: calc(100vw - 36px);
  }

  .anchor-left,
  .anchor-top-left {
    top: 15%;
    left: 18px;
  }

  .anchor-left h2,
  .anchor-top-left h2 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .chapter-lead {
    font-size: 26px;
  }

  .chapter-body {
    max-width: 310px;
    margin-top: 18px;
    font-size: 14px;
  }

  .scene-capture::after,
  .scene-soften::after,
  .scene-time::after {
    background: linear-gradient(0deg, rgba(244, 243, 239, .78), transparent 66%);
  }

  .scene-capture .anchor-left {
    top: auto;
    bottom: 24%;
  }

  .capture-data,
  .bend-data {
    right: 18px;
    bottom: 8%;
    left: 18px;
  }

  .capture-control {
    top: calc(var(--header-height) + 28px);
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
  }

  .compare-toggle {
    float: right;
  }

  .scene-capture .product-hotspot {
    top: 36%;
    left: 48%;
  }

  .bend-media img {
    object-position: center;
  }

  .anchor-bottom-left {
    bottom: 24%;
    left: 18px;
  }

  .anchor-bottom-left h2 {
    font-size: 40px;
  }

  .bend-control {
    top: calc(var(--header-height) + 28px);
    right: 18px;
    width: calc(100vw - 36px);
  }

  .mirror-handle {
    top: 35%;
    left: 42%;
  }

  .mirror-hotspot {
    top: 37%;
    left: 50%;
  }

  .scene-split {
    min-height: auto;
    padding: 96px 0 36px;
  }

  .split-header {
    position: relative;
    top: auto;
    left: auto;
    padding: 0 18px 42px;
  }

  .split-header h2 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .purpose-field {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .purpose-panel {
    min-height: 42svh;
  }

  .purpose-panel + .purpose-panel {
    border-top: 1px solid rgba(244, 243, 239, .25);
    border-left: 0;
  }

  .purpose-panel:not(.is-active) {
    min-height: 22svh;
  }

  .purpose-panel strong {
    bottom: 58px;
    font-size: 40px;
  }

  .purpose-panel small {
    bottom: 28px;
  }

  .purpose-index {
    bottom: 112px;
  }

  .split-paths {
    display: none;
  }

  .purpose-status {
    position: relative;
    top: auto;
    right: auto;
    justify-items: start;
    padding: 24px 18px 0;
  }

  .scene-soften .anchor-top-left {
    color: var(--ink);
  }

  .diffusion-readout {
    right: 18px;
    bottom: 18%;
    left: 18px;
  }

  .diffusion-readout > strong {
    margin-bottom: 14px;
    font-size: 48px;
  }

  .diffusion-control {
    right: 18px;
    bottom: 7%;
    left: 18px;
  }

  .diffusion-hotspot {
    top: 51%;
    right: 20%;
  }

  .anchor-left-center {
    top: 42%;
    left: 18px;
  }

  .anchor-left-center h2 {
    font-size: 68px;
  }

  .extend-control {
    right: 18px;
    bottom: 8%;
    width: calc(100vw - 36px);
  }

  .coordinate-marker {
    top: 56%;
    right: 18px;
  }

  .rail-hotspot {
    top: 32%;
    left: 55%;
  }

  .scene-time .anchor-top-left {
    top: 15%;
    color: var(--chalk);
  }

  .scene-time .anchor-top-left h2 {
    font-size: 46px;
  }

  .time-readout {
    right: 18px;
    bottom: 25%;
    left: 18px;
  }

  .time-readout > strong {
    font-size: 66px;
  }

  .time-presets {
    bottom: 18%;
    left: 18px;
    gap: 14px;
  }

  .time-control {
    right: 18px;
    bottom: 8%;
    left: 18px;
  }

  .sun-orbit {
    right: -24%;
    bottom: 34%;
    width: 120vw;
  }

  .builder-intro {
    grid-template-columns: 1fr;
    margin-bottom: 54px;
  }

  .builder-intro h2 {
    font-size: 43px;
  }

  .planner-stage {
    padding-top: 14px;
  }

  .planner-stage-head {
    font-size: 7px;
  }

  .room-canvas {
    aspect-ratio: 1 / 1;
  }

  .planner-settings label {
    grid-template-columns: 1fr 72px 16px;
  }

  .builder-full-link,
  .surface-archive-link,
  .logs-link {
    margin-left: 0;
  }

  .surfaces-heading,
  .logs-heading {
    margin-bottom: 42px;
  }

  .surfaces-heading h2,
  .logs-heading h2 {
    font-size: 43px;
  }

  .surface-field {
    display: flex;
    width: calc(100vw - 18px);
    margin-right: -18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-right: 0;
    background: transparent;
  }

  .surface-tile {
    flex: 0 0 78vw;
    min-height: 64svh;
    border-right: 1px solid var(--ink);
    scroll-snap-align: start;
  }

  .log-entry {
    padding: 30px 0;
  }

  .log-info strong {
    font-size: 34px;
  }

  .scene-exit {
    min-height: 132svh;
  }

  .exit-copy {
    top: 16%;
    left: 18px;
  }

  .exit-copy h2 {
    font-size: 50px;
  }

  .sunset-footer {
    right: 18px;
    bottom: 22px;
    left: 18px;
    grid-template-columns: 1fr;
  }

  .sunset-footer nav {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter {
    grid-column: auto;
  }

  .footer-legal {
    gap: 16px;
    font-size: 7px;
  }

  .surface-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    overflow: auto;
  }

  .surface-dialog[open] {
    grid-template-columns: 1fr;
  }

  .dialog-media {
    aspect-ratio: 4 / 3;
  }

  .dialog-copy {
    padding: 30px 22px;
  }

  .page-hero {
    min-height: 70svh;
    padding: 84px 18px 30px;
  }

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

  .page-hero h1 {
    font-size: clamp(54px, 17vw, 72px);
  }

  .page-hero-copy {
    margin-top: 20px;
    font-size: 15px;
  }

  .page-section {
    padding: 84px 18px;
  }

  .section-intro h2 {
    font-size: 42px;
  }

  .system-row {
    grid-template-columns: 34px 1fr 28px;
    gap: 12px;
    min-height: 150px;
  }

  .system-row p,
  .system-row .row-meta {
    display: none;
  }

  .system-row > img {
    right: 14%;
    width: 150px;
  }

  .detail-hero-copy {
    min-height: 58svh;
    padding: 84px 18px 30px;
  }

  .detail-hero h1 {
    font-size: 54px;
  }

  .detail-hero-media {
    min-height: 58svh;
  }

  .detail-data {
    grid-template-columns: 1fr 1fr;
  }

  .detail-data div {
    min-height: 110px;
    padding: 14px;
  }

  .detail-story {
    gap: 42px;
  }

  .detail-story-copy h2 {
    font-size: 42px;
  }

  .project-row {
    min-height: auto;
  }

  .project-row-media {
    aspect-ratio: 3 / 2;
  }

  .project-row-copy {
    min-height: 48svh;
    padding: 30px 20px;
  }

  .project-row-copy h2 {
    font-size: 50px;
  }

  .material-grid {
    grid-template-columns: 1fr;
  }

  .technology-step {
    grid-template-columns: 42px 1fr;
    gap: 16px;
  }

  .technology-step h3 {
    font-size: 34px;
  }

  .about-statement blockquote {
    font-size: 52px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .project-comparison {
    aspect-ratio: 4 / 3;
  }

  .planner-steps button {
    display: grid;
    align-content: center;
    gap: 2px;
    min-height: 70px;
    padding: 8px;
    font-size: 7px;
  }

  .full-planner-canvas {
    min-height: 72svh;
  }

  .full-planner-form {
    padding: 28px 0;
  }

  .full-planner-result {
    gap: 36px;
  }

  .full-planner-result .result-actions {
    grid-template-columns: 1fr;
  }

  .internal-footer {
    grid-template-columns: 1fr;
    padding: 48px 18px 24px;
  }

  .internal-footer .footer-legal {
    grid-column: auto;
  }
}

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

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

body.reduced-motion *,
body.reduced-motion *::before,
body.reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}
