:root {
  --color-bg: #f4f2ec;
  --color-surface: #ffffff;
  --color-cement: #d9d8d3;
  --color-text: #1f2325;
  --color-muted: #60676a;
  --color-primary: #10344d;
  --color-accent: #f4c400;
  --color-orange: #e7762e;
  --color-aluminum: #a9b0b3;
  --color-fabric: #24282a;
  --font-heading: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, Pretendard, SUIT, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1600px;
  --space-section: clamp(64px, 8vw, 132px);
  --space-card: clamp(22px, 2.4vw, 42px);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 999px;
  --shadow-card: 0 24px 60px rgba(31, 35, 37, 0.12);
  --ratio-hero: 22 / 15;
  --ratio-card: 7 / 6;
  --ratio-product: 4 / 5;
  --page-pad: clamp(18px, 3.35vw, 52px);
  --rail: clamp(118px, 13vw, 210px);
  --line: rgba(31, 35, 37, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

::selection {
  background: var(--color-accent);
  color: var(--color-text);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--color-text);
  color: white;
  transform: translateY(-150%);
}

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

.noscript {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 32px;
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 74px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.scrolled,
.site-header:not(.is-home) {
  background: rgba(244, 242, 236, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: max-content;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.brand span {
  display: block;
}

.brand-header {
  width: auto;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.3vw, 58px);
}

.site-nav a,
.header-action,
.menu-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-action {
  padding: 0 6px;
}

.menu-button {
  width: 44px;
  padding: 0;
  cursor: pointer;
}

.menu-button svg {
  width: 19px;
}

.menu-panel {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 92px var(--page-pad) 36px;
  background: var(--color-primary);
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition:
    opacity 240ms ease,
    visibility 240ms ease,
    transform 240ms var(--ease);
}

.menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu-panel a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 8vw, 82px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: min(880px, 100svh);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 6px solid white;
  background:
    linear-gradient(90deg, rgba(244, 242, 236, 0.2), transparent 54%),
    var(--color-cement);
}

.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-media .hero-mechanism {
  position: absolute;
  z-index: 1;
  inset: auto;
  width: clamp(54px, 6vw, 88px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 7px 16px rgba(31, 35, 37, 0.2));
  pointer-events: none;
  transform-origin: 50% 50%;
}

.hero-media .hero-hinge {
  right: 26%;
  top: 29%;
}

.hero-media .hero-lock {
  right: 23%;
  top: 53%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: min(880px, 100svh);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 108px var(--page-pad) 48px;
  pointer-events: none;
}

.hero-copy > * {
  pointer-events: auto;
}

.hero-index {
  margin: 0 0 auto;
  padding-top: 2.5vh;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-title {
  max-width: 0.52em;
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: clamp(72px, 11.4vw, 184px);
  font-weight: 950;
  line-height: 0.72;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-lede {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.3vw, 40px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-descriptor {
  max-width: 34ch;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.scroll-cue {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 16px;
}

.hero-specs,
.final-specs {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 48px;
  width: 148px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-specs strong,
.final-specs strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.spec-rule {
  width: 20px;
  height: 2px;
  margin-top: 10px;
  background: var(--color-text);
}

.rail-section {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  background: var(--color-surface);
  border-bottom: 6px solid var(--color-bg);
}

.scene-index {
  position: relative;
  z-index: 2;
  padding: 40px 24px 40px var(--page-pad);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.scene-index-number {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.scene-index h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.25vw, 36px);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.scene-index p {
  max-width: 14ch;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.scene-index::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  margin-top: 22px;
  background: var(--color-accent);
}

.scene-body {
  min-width: 0;
}

.unfold-section {
  min-height: 520px;
}

.unfold-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  min-height: 100%;
}

.unfold-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 36px 18px 24px;
  border-right: 1px solid var(--line);
  background: white;
  cursor: pointer;
  transition:
    background 240ms ease,
    transform 240ms var(--ease);
}

.unfold-card:last-child {
  border-right: 0;
}

.unfold-card:hover,
.unfold-card.active {
  background: #f7f7f4;
}

.unfold-card.active {
  z-index: 1;
  transform: translateY(-8px);
}

.step-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.step-meta b {
  font-size: 14px;
}

.unfold-card .step-image {
  width: 100%;
  height: min(390px, 34vw);
  object-fit: contain;
  align-self: center;
  filter: saturate(0.94);
}

.mechanism-overlay {
  position: absolute;
  right: 10px;
  bottom: 68px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(31, 35, 37, 0.14));
  pointer-events: none;
}

.mechanism-overlay.lock-overlay {
  width: 70px;
  height: 52px;
}

.step-status {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-aluminum);
}

.active .status-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(244, 196, 0, 0.18);
}

.support-tabs,
.selector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-tabs {
  padding: 20px 20px 0;
}

.support-tab,
.selector-tab,
.mode-tab,
.filter-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.support-tab:hover,
.support-tab[aria-selected="true"],
.selector-tab:hover,
.selector-tab[aria-pressed="true"],
.mode-tab:hover,
.mode-tab[aria-pressed="true"],
.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 18px 8px 8px;
}

.support-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--color-cement);
  transition:
    opacity 500ms ease,
    filter 500ms ease;
}

.support-card:not(.active) {
  opacity: 0.68;
  filter: grayscale(0.35);
}

.support-card.active {
  opacity: 1;
  filter: none;
}

.support-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-card h3 {
  position: absolute;
  top: 20px;
  left: 20px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.support-spec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.support-spec-row span {
  padding: 14px 20px;
  border-right: 1px solid var(--line);
}

.support-spec-row span:last-child {
  border-right: 0;
}

.shelter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.25fr);
  min-height: 610px;
}

.shelter-main {
  position: relative;
  overflow: hidden;
  background: var(--color-cement);
}

.shelter-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.8s var(--ease);
}

.shelter-main.revealed::after {
  transform: scaleX(0);
}

.shelter-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelter-specs {
  display: grid;
  align-content: center;
  gap: 44px;
  padding: 36px;
  background: white;
}

.spec-diagram {
  display: grid;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
}

.spec-diagram svg {
  width: 100%;
  max-height: 96px;
}

.connect-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.9fr);
  min-height: 610px;
}

.system-board {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #fafaf8;
}

.system-board > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.system-lines {
  position: absolute;
  inset: 15% 18%;
  width: 64%;
  height: 70%;
  pointer-events: none;
}

.system-lines path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 800ms var(--ease);
}

.system-board.connected .system-lines path {
  stroke-dashoffset: 0;
}

.system-node {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  padding: 20px;
  border: 1px solid var(--color-text);
  background: rgba(255, 255, 255, 0.94);
  clip-path: polygon(24% 7%, 76% 7%, 100% 50%, 76% 93%, 24% 93%, 0 50%);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.system-node img {
  width: 32px;
  margin: 0 auto 5px;
}

.system-label {
  position: absolute;
  z-index: 2;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.86);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.label-bench {
  top: 47%;
  left: 6%;
}

.label-shade {
  top: 8%;
  left: 54%;
}

.label-table {
  top: 41%;
  right: 4%;
}

.label-chair {
  bottom: 9%;
  left: 20%;
}

.label-partition {
  right: 5%;
  bottom: 8%;
}

.connect-photo {
  position: relative;
  overflow: hidden;
  background: var(--color-cement);
}

.connect-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adapt-layout {
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(420px, 1.1fr);
  min-height: 620px;
}

.adapt-layout > * {
  min-width: 0;
}

.adapt-panel {
  display: grid;
  align-content: center;
  gap: 30px;
  padding: clamp(28px, 4vw, 66px);
  background: #fafaf8;
}

.control-group {
  display: grid;
  gap: 10px;
}

.control-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.dimension-stage {
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) minmax(220px, 1fr);
  align-items: end;
  gap: 22px;
  padding: 36px 42px 10px;
  border-bottom: 1px solid var(--color-text);
  background-image: url("/field-unit/assets/images/dimension-line.svg");
  background-repeat: no-repeat;
  background-position: center bottom 6px;
  background-size: calc(100% - 26px) 8px;
}

.person-scale {
  justify-self: end;
  width: 64px;
  height: var(--person-height, 170px);
  background: var(--color-fabric);
  clip-path: polygon(
    42% 0,
    58% 0,
    66% 7%,
    64% 14%,
    58% 18%,
    64% 30%,
    64% 55%,
    72% 98%,
    55% 98%,
    50% 66%,
    44% 98%,
    27% 98%,
    36% 55%,
    36% 29%,
    42% 18%,
    36% 13%,
    35% 7%
  );
  transition: height 600ms var(--ease);
}

.adapt-structure {
  position: relative;
  height: var(--structure-height, 200px);
  transition: height 600ms var(--ease);
}

.adapt-structure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.height-label,
.structure-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.height-label {
  left: 0;
  bottom: 2px;
}

.structure-label {
  right: 2px;
  top: 2px;
}

.adapt-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--color-cement);
}

.adapt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 260ms ease,
    transform 600ms var(--ease);
}

.adapt-photo.changing img {
  opacity: 0.52;
  transform: scale(1.015);
}

.carousel-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.circle-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 22px rgba(31, 35, 37, 0.15);
  cursor: pointer;
  pointer-events: auto;
}

.circle-button svg {
  width: 17px;
}

.deploy-panel {
  padding: 26px 20px 30px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  overflow: hidden;
}

.deploy-step {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 14px 12px 0;
  border-right: 1px solid var(--line);
  transition:
    background 240ms ease,
    opacity 240ms ease;
}

.deploy-step:last-child {
  border-right: 0;
}

.deploy-step:not(.active) {
  opacity: 0.54;
}

.deploy-step.active {
  background: #f7f7f4;
  opacity: 1;
}

.deploy-step img {
  width: 100%;
  height: 340px;
  object-fit: contain;
}

.time {
  color: var(--color-muted);
  font-size: 8px;
}

.deploy-scrubber {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 10px 0;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.deploy-scrubber input {
  width: 100%;
  accent-color: var(--color-accent);
}

.city-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.28fr) minmax(0, 1fr);
  min-height: 580px;
}

.city-list {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 32px;
  background: #fafaf8;
}

.city-list h3 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.city-marker-button {
  min-height: 48px;
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--color-primary));
}

.city-marker-button[aria-pressed="true"] .legend-dot {
  box-shadow: 0 0 0 5px rgba(244, 196, 0, 0.22);
}

.city-map {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)),
    #dfe6ea;
}

.city-map > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(0.94);
}

.map-pin {
  position: absolute;
  width: 48px;
  height: 56px;
  display: grid;
  place-content: center;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.map-pin img {
  width: 36px;
  height: 44px;
  object-fit: contain;
}

.map-pin:hover,
.map-pin.active {
  z-index: 2;
  transform: translate(-50%, -100%) scale(1.15);
  filter: drop-shadow(0 8px 10px rgba(31, 35, 37, 0.2));
}

.map-label {
  position: absolute;
  top: 3px;
  left: 42px;
  width: max-content;
  max-width: 140px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.systems-panel {
  background: white;
}

.product-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 560px;
  padding: 28px 18px 20px;
  border-right: 1px solid var(--line);
  background: white;
  transition:
    background 180ms ease,
    transform 220ms var(--ease);
}

.product-card:last-child {
  border-right: 0;
}

.product-card:hover {
  z-index: 1;
  background: #f8f8f5;
  transform: translateY(-6px);
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
}

.product-card img {
  width: 100%;
  height: 390px;
  object-fit: contain;
}

.product-card-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px;
  font-size: 11px;
  line-height: 1.35;
}

.product-card-specs {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-card-specs div {
  display: grid;
  grid-template-columns: minmax(54px, 0.34fr) 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.product-card-specs dt {
  color: var(--color-muted);
}

.product-card-specs dd {
  margin: 0;
}

.arrow-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
}

.arrow-link svg {
  width: 17px;
}

.pack-again {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--color-cement);
}

.pack-again > img:not(.pack-lock-overlay) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pack-lock-overlay {
  position: absolute;
  z-index: 2;
  inset: auto;
  right: 14%;
  bottom: 18%;
  width: clamp(58px, 7vw, 96px);
  height: auto;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 6px 14px rgba(31, 35, 37, 0.18));
  pointer-events: none;
}

.pack-again-copy {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: var(--rail);
  padding: 74px var(--page-pad);
}

.pack-again-copy h2 {
  max-width: 19ch;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.7vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.pack-again-copy p {
  margin: 28px 0 0;
  color: #d5a800;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pack-final-label {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail);
  padding: 42px 24px 42px var(--page-pad);
  border-right: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.9);
}

.pack-final-label h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.pack-final-label p {
  max-width: 10ch;
  font-size: 12px;
  line-height: 1.35;
}

.pack-final-label::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  margin-top: 18px;
  background: var(--color-accent);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 2fr minmax(160px, 0.8fr);
  gap: 40px;
  align-items: start;
  padding: 34px var(--page-pad) 26px;
  background: #082b42;
  color: white;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.footer-mobile {
  display: none;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.footer-statement {
  justify-self: end;
  max-width: 120px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-statement::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 12px;
  background: var(--color-accent);
}

.subpage-main {
  padding-top: 74px;
}

.subpage-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
  border-bottom: 6px solid white;
  background:
    linear-gradient(125deg, #efeee9, var(--color-cement));
}

.subpage-hero-copy {
  align-self: end;
  padding: 72px var(--page-pad);
}

.page-kicker {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(62px, 9vw, 146px);
  font-weight: 900;
  line-height: 0.77;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.page-lede {
  max-width: 54ch;
  margin: 30px 0 0;
  font-size: clamp(18px, 1.5vw, 25px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.subpage-hero-media {
  min-height: 420px;
  overflow: hidden;
}

.subpage-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.content-section {
  padding: var(--space-section) var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: var(--color-surface);
}

.content-section.alt {
  background: var(--color-bg);
}

.content-header {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 74px);
}

.content-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.content-heading {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.content-copy {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--color-muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
}

.split-media {
  min-height: 440px;
  overflow: hidden;
  background: #f7f7f4;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.split-copy h3 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.split-copy p {
  max-width: 54ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--color-text);
  background: var(--color-text);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--color-text);
}

.button.accent {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-text);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  min-height: 160px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 62px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.detail-grid,
.product-list,
.usecase-grid,
.material-grid,
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-card);
}

.detail-card,
.usecase-card,
.material-card,
.journal-card {
  min-width: 0;
  border-top: 1px solid var(--color-text);
  padding-top: 18px;
}

.detail-card h3,
.usecase-card h3,
.material-card h3,
.journal-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.detail-card p,
.usecase-card p,
.material-card p,
.journal-card p {
  color: var(--color-muted);
}

.usecase-card img,
.material-card img,
.journal-card img {
  width: 100%;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-cement);
}

.material-card img {
  aspect-ratio: 1;
}

.product-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid var(--line);
}

.product-list .product-card {
  min-height: 610px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.compare-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 24px;
  background: #f7f7f4;
}

.compare-card h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.compare-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sequence-mini {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.sequence-mini article {
  min-width: 150px;
  padding: 18px;
  border-right: 1px solid var(--line);
  scroll-snap-align: start;
}

.sequence-mini img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.technical-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.technical-table th,
.technical-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.technical-table th {
  width: 38%;
  font-weight: 500;
}

.configurator {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  min-height: 640px;
  border: 1px solid var(--line);
}

.config-controls {
  display: grid;
  align-content: start;
  gap: 28px;
  padding: clamp(26px, 4vw, 56px);
  border-right: 1px solid var(--line);
  background: #fafaf8;
}

.config-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.36fr);
  background: white;
}

.config-preview-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #f5f5f1;
}

.config-preview-media > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--height-scale, 1));
  transition:
    transform 600ms var(--ease),
    opacity 240ms ease;
}

.config-space-context {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(38%, 260px);
  margin: 0;
  border: 6px solid white;
  background: white;
  box-shadow: 0 12px 32px rgba(31, 35, 37, 0.16);
}

.config-space-context img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.config-space-context figcaption {
  padding: 9px 10px 7px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.recommendation {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 28px;
  border-left: 1px solid var(--line);
}

.recommendation h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 0.95;
  text-transform: uppercase;
}

.recommendation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.recommendation li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.checkbox-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.check-card {
  min-height: 64px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.check-card input {
  accent-color: var(--color-accent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-status {
  min-height: 28px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.35fr);
  gap: 50px;
}

.cart-list {
  border-top: 1px solid var(--line);
}

.cart-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 110px;
  aspect-ratio: 1;
  object-fit: contain;
  background: white;
}

.cart-row h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  text-transform: uppercase;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.quantity button {
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cart-summary {
  align-self: start;
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
}

.cart-summary h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  text-transform: uppercase;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.empty-state {
  min-height: 340px;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.empty-state h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.95;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 16px 18px;
  background: var(--color-text);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 220ms ease,
    transform 220ms var(--ease);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --rail: 150px;
    --page-pad: 28px;
  }

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

  .site-nav {
    display: none;
  }

  .hero-title {
    font-size: clamp(72px, 13vw, 150px);
  }

  .unfold-grid,
  .deploy-grid,
  .product-rail,
  .product-list {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .unfold-card,
  .deploy-step,
  .product-card {
    min-width: 270px;
    scroll-snap-align: start;
  }

  .connect-layout,
  .adapt-layout {
    grid-template-columns: 1fr;
  }

  .connect-photo,
  .adapt-photo {
    min-height: 520px;
  }

  .product-list {
    grid-template-columns: repeat(5, 270px);
  }

  .config-preview {
    grid-template-columns: 1fr;
  }

  .recommendation {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad: 20px;
  }

  .site-header {
    height: 64px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-copy {
    min-height: 100svh;
    padding-top: 92px;
    padding-bottom: 30px;
  }

  .hero-index {
    padding-top: 0;
  }

  .hero-title {
    max-width: 0.58em;
    font-size: clamp(68px, 22vw, 118px);
  }

  .hero-lede {
    font-size: 25px;
  }

  .hero-specs {
    top: 96px;
    right: 18px;
    bottom: auto;
    width: 118px;
    font-size: 8px;
  }

  .rail-section {
    display: block;
  }

  .scene-index {
    min-height: 174px;
    padding: 28px var(--page-pad);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scene-index p {
    max-width: 28ch;
    margin-top: 12px;
  }

  .scene-index::after {
    margin-top: 16px;
  }

  .unfold-grid,
  .deploy-grid {
    grid-template-columns: repeat(5, 78vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .unfold-card,
  .deploy-step {
    min-width: auto;
    scroll-snap-align: start;
  }

  .unfold-card img {
    height: 440px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    padding: 14px 0 0;
  }

  .support-card {
    min-height: 540px;
  }

  .support-card:not(.active) {
    display: none;
  }

  .shelter-layout,
  .city-layout {
    grid-template-columns: 1fr;
  }

  .shelter-main {
    min-height: 520px;
  }

  .shelter-specs {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 26px 20px;
  }

  .system-board {
    min-height: 500px;
  }

  .adapt-panel {
    padding: 34px 20px;
  }

  .dimension-stage {
    min-height: 250px;
    padding-inline: 16px;
  }

  .adapt-photo {
    min-height: 480px;
  }

  .deploy-step {
    min-height: 480px;
  }

  .deploy-step img {
    height: 390px;
  }

  .city-list {
    order: 0;
  }

  .city-map {
    order: 1;
    min-height: 420px;
  }

  .product-rail {
    grid-template-columns: repeat(5, 76vw);
  }

  .product-card {
    min-width: auto;
  }

  .pack-again {
    min-height: 640px;
  }

  .pack-final-label {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pack-again-copy {
    margin-left: 0;
    padding: 58px var(--page-pad);
  }

  .final-specs {
    right: 20px;
    bottom: 20px;
  }

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

  .footer-desktop {
    display: none;
  }

  .footer-mobile {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .footer-mobile summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
  }

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

  .footer-mobile summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 400;
  }

  .footer-mobile[open] summary::after {
    content: "−";
  }

  .footer-mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-bottom: 14px;
  }

  .footer-mobile-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
  }

  .footer-statement {
    justify-self: start;
  }

  .subpage-main {
    padding-top: 64px;
  }

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

  .subpage-hero-copy {
    padding: 58px var(--page-pad) 40px;
  }

  .page-title {
    font-size: clamp(54px, 17vw, 110px);
  }

  .subpage-hero-media {
    min-height: 380px;
  }

  .content-header,
  .split,
  .configurator,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .content-header {
    gap: 12px;
  }

  .split-media {
    min-height: 380px;
  }

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

  .detail-grid,
  .usecase-grid,
  .material-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

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

  .config-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .config-preview-media {
    min-height: 480px;
  }

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

  .field.full {
    grid-column: auto;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 18px;
  }

  .header-actions {
    gap: 4px;
  }

  .hero-title {
    font-size: clamp(64px, 24vw, 104px);
  }

  .hero-media img {
    object-position: 18% center;
  }

  .hero-media .hero-mechanism {
    width: 54px;
  }

  .hero-media .hero-hinge {
    right: 16%;
    top: 31%;
  }

  .hero-media .hero-lock {
    right: 12%;
    top: 55%;
  }

  .hero-specs {
    display: none;
  }

  .unfold-grid,
  .deploy-grid {
    grid-template-columns: repeat(5, 86vw);
  }

  .unfold-card img {
    height: 400px;
  }

  .support-card {
    min-height: 470px;
  }

  .shelter-main {
    min-height: 430px;
  }

  .shelter-specs {
    grid-template-columns: 1fr;
  }

  .system-board {
    min-height: 430px;
  }

  .system-node {
    width: 94px;
  }

  .adapt-photo {
    min-height: 420px;
  }

  .product-rail {
    grid-template-columns: repeat(5, 84vw);
  }

  .product-card img {
    height: 350px;
  }

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

  .checkbox-row {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 84px 1fr;
  }

  .cart-row > :last-child {
    grid-column: 2;
  }

  .cart-row img {
    width: 84px;
  }
}

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

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

  .shelter-main::after {
    display: none;
  }
}
