/* Layer Fusion · layerfusion.in
   Rule of the page: orange means printed. Nothing decorative is orange. */

:root {
  --char: #16181B;      /* drafting ground */
  --char-2: #1D2024;    /* raised surface on dark */
  --line-d: #33373C;    /* rules on dark */
  --concrete: #8C949C;  /* cured concrete */
  --paper: #EDEAE4;     /* fresh paper */
  --paper-2: #E2DED6;   /* second light tone */
  --line-l: #C9C4BA;    /* rules on light */
  --orange: #E0642C;    /* printed */
  --orange-ink: #A8441A;/* orange text on paper (AA) */
  --mute-d: #A2A8AE;    /* secondary text on dark */
  --mute-l: #575C61;    /* secondary text on light */

  --f-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --gut: clamp(16px, 4.5vw, 72px);
  --maxw: 1440px;
  --sec: clamp(88px, 12vw, 176px);
  --ease: cubic-bezier(.22,.7,.2,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--char); color: var(--paper);
  font: 400 17px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--char); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }

/* ---------- type */
.h2 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(38px, 5.4vw, 86px); line-height: .98; letter-spacing: -0.03em;
  margin: 0; text-wrap: balance;
}
.h2-solo { max-width: 15ch; margin-bottom: clamp(48px, 6vw, 88px); }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; margin: 0 0 1em; max-width: 36em; }
p { margin: 0 0 1em; max-width: 40em; }
.source { font-size: 13px; line-height: 1.55; color: var(--mute-l); margin-top: 28px; max-width: 70em; }
.source-dark { color: rgba(22,24,27,.72); }
.note-line { font-size: 15px; color: var(--mute-d); border-top: 1px solid var(--line-d); padding-top: 18px; margin-top: 48px; max-width: none; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--orange);
  background: var(--orange); color: var(--char); text-decoration: none; cursor: pointer;
  font: 600 16px/1 var(--f-sans); letter-spacing: .005em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #EC7440; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn-ghost:hover { background: rgba(237,234,228,.08); }
.sec-paper .btn-ghost:hover, .sec-paper2 .btn-ghost:hover { background: rgba(22,24,27,.06); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 28px;
  padding: 0 max(var(--gut), env(safe-area-inset-right)) 0 max(var(--gut), env(safe-area-inset-left));
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(22,24,27,.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-d); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 19px/1 var(--f-display); font-stretch: 118%; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; }
.brand-mark .hot { stroke: var(--orange); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--mute-d); transition: color .2s; }
.nav-links a:hover, .nav-links a.is-on { color: var(--paper); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--paper); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 68px 0 auto 0; z-index: 49; background: rgba(22,24,27,.97); border-bottom: 1px solid var(--line-d); padding: 12px var(--gut) 28px; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; font: 700 26px/1.1 var(--f-display); font-stretch: 110%; text-decoration: none; border-bottom: 1px solid var(--line-d); }
.mobile-menu a:last-child { color: var(--orange); border: 0; }

/* ---------- Z rail */
.zrail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; mix-blend-mode: difference; }
.zrail-track { width: 9px; height: 34vh; background: repeating-linear-gradient(to top, rgba(237,234,228,.55) 0 1px, transparent 1px 8px); position: relative; }
.zrail-head { position: absolute; left: -3px; right: -3px; bottom: 0; height: 2px; background: var(--orange); }
.zrail-read { font-size: 11px; color: rgba(237,234,228,.8); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .04em; }

/* ---------- hero */
.hero { position: relative; height: 340vh; background: var(--char); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-pin::before { /* drafting grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(237,234,228,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(237,234,228,.045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center center;
  mask-image: radial-gradient(120% 90% at 65% 45%, #000 40%, transparent 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.hero-canvas:active { cursor: grabbing; }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(120px, 20vh, 220px); pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero-kicker { font-size: 15px; color: var(--mute-d); margin-bottom: 22px; }
.hero-title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 106%;
  font-size: clamp(52px, 8.4vw, 144px); line-height: .9; letter-spacing: -0.045em; margin: 0 0 30px;
}
.hero-lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: #CFCBC4; max-width: 30em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stages { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 56px); z-index: 2; list-style: none; margin: 0; display: flex; gap: 32px; pointer-events: none; }
.hero-stages li { font-size: 15px; color: rgba(237,234,228,.38); padding-top: 12px; border-top: 1.5px solid rgba(237,234,228,.16); min-width: 180px; transition: color .4s var(--ease), border-color .4s var(--ease); }
.hero-stages li b { font-weight: 600; }
.hero-stages li.is-on { color: var(--paper); border-color: var(--orange); }
.hero-read { position: absolute; right: max(var(--gut), 48px); bottom: clamp(28px, 6vh, 56px); z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--mute-d); letter-spacing: .03em; }
.hero-read b { color: var(--paper); font-weight: 500; }
#r-stage { color: var(--orange); }

/* ---------- sections */
.sec { position: relative; padding: var(--sec) 0; }
.sec-dark { background: var(--char); color: var(--paper); }
.sec-paper { background: var(--paper); color: var(--char); color-scheme: light; }
.sec-paper2 { background: var(--paper-2); color: var(--char); color-scheme: light; }
.sec-orange { background: var(--orange); color: var(--char); color-scheme: light; }
.sec-paper .source, .sec-paper2 .source { color: var(--mute-l); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: start; margin-bottom: clamp(56px, 7vw, 104px); }
.split-body { padding-top: .5em; }
.split-body p:not(.lede) { color: inherit; opacity: .78; }

/* ---------- compare */
.compare { border-top: 2px solid var(--char); }
.compare-row { display: grid; grid-template-columns: 1.25fr 1.4fr 1.3fr 1.2fr 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-l); font-size: 16px; align-items: baseline; }
.compare-head { font-size: 13px; color: var(--mute-l); padding: 14px 0; }
.c-name { font-family: var(--f-display); font-weight: 700; font-stretch: 108%; font-size: 19px; letter-spacing: -0.01em; }
.compare-row em { font-style: normal; color: var(--mute-l); font-size: 14px; }
.compare-us { background: var(--char); color: var(--paper); margin: 0 calc(-1 * clamp(12px, 1.6vw, 24px)); padding-left: clamp(12px, 1.6vw, 24px); padding-right: clamp(12px, 1.6vw, 24px); border: 0; }
.compare-us .c-name { color: var(--orange); }
.compare-us em { color: var(--mute-d); }

/* ---------- wall */
.wall { margin: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.wall-svg { width: 100%; height: auto; overflow: visible; }
.wall-grid rect { fill: none; stroke: rgba(237,234,228,.1); stroke-width: 1; stroke-dasharray: 3 5; }
.cell { transition: fill .45s var(--ease), stroke .45s var(--ease); stroke-width: 2; }
.cell-std { fill: #2A2E33; stroke: #4A4F55; }
.cell-spc { fill: var(--orange); stroke: #F08A5A; }
.wall-outline { fill: none; stroke: var(--paper); stroke-width: 2.5; stroke-linejoin: round; }
.wall-ground { stroke: var(--paper); stroke-width: 2; }
.wall-dim path { stroke: var(--mute-d); stroke-width: 1; fill: none; }
.wall-dim text { fill: var(--mute-d); font: 400 15px var(--f-mono); }
.wall-label { display: block; font-weight: 500; font-size: 17px; margin-bottom: 18px; }
.range-wrap { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--mute-d); }
.range-wrap input { flex: 1; }
.wall-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 34px 0 22px; }
.wall-stats b { display: block; font: 800 clamp(44px, 4.6vw, 68px)/1 var(--f-display); font-stretch: 110%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.wall-stats span { display: block; font-size: 14px; color: var(--mute-d); margin-top: 8px; line-height: 1.35; }
.hot-stat b { color: var(--orange); }
.wall-bar { grid-column: 1 / -1; display: flex; height: 10px; background: var(--char-2); }
.wall-bar i { display: block; height: 100%; transition: flex-grow .45s var(--ease); }
#w-bar-std { background: #4A4F55; flex: 1 1 0; }
#w-bar-spc { background: var(--orange); flex: 0 1 0; }
.wall-cap { font-size: 16px; color: #CFCBC4; min-height: 3.2em; margin: 0; }

/* range input, drawn like a ruler */
input[type=range] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: currentColor; opacity: 1; background: linear-gradient(90deg, var(--orange) var(--fill, 0%), rgba(237,234,228,.28) var(--fill, 0%)); }
input[type=range]::-moz-range-track { height: 2px; background: rgba(237,234,228,.28); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--orange); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 4px solid var(--orange); box-shadow: 0 0 0 6px rgba(224,100,44,.0); transition: box-shadow .2s; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 4px solid var(--orange); }
input[type=range]:hover::-webkit-slider-thumb, input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(224,100,44,.22); }
input[type=range]:focus-visible { outline: none; }

/* ---------- how */
.how { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); }
.how-stage { position: sticky; top: 14vh; height: 72vh; display: flex; align-items: center; }
#how-svg { width: 100%; height: 100%; max-height: 640px; overflow: visible; }
#how-svg .ink { fill: none; stroke: var(--char); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#how-svg .thin { fill: none; stroke: rgba(22,24,27,.42); stroke-width: 1; }
#how-svg .faint { fill: none; stroke: rgba(22,24,27,.3); stroke-width: 1; stroke-dasharray: 4 6; }
#how-svg .hot { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; }
#how-svg .hotfill { fill: var(--orange); stroke: #B9501F; stroke-width: 1; }
#how-svg .panel { fill: #CFCAC1; stroke: rgba(22,24,27,.55); stroke-width: 1; }
#how-svg .conc { fill: #9AA1A8; stroke: var(--char); stroke-width: 1.4; }
#how-svg text { font: 400 13px var(--f-mono); fill: var(--mute-l); }
#how-svg .scene { opacity: 0; transition: opacity .6s var(--ease); }
#how-svg .scene.is-on { opacity: 1; }
.how-steps { list-style: none; margin: 0; padding: 4vh 0 22vh; }
.how-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line-l); padding: 40px 0; opacity: .38; transition: opacity .5s var(--ease); }
.how-step.is-on { opacity: 1; }
.step-no { font: 800 64px/1 var(--f-display); font-stretch: 112%; color: transparent; -webkit-text-stroke: 1.5px var(--char); margin-bottom: 22px; }
.how-step.is-on .step-no { color: var(--orange); -webkit-text-stroke: 0; }
.how-step h3 { font: 800 clamp(26px, 2.4vw, 36px)/1.08 var(--f-display); font-stretch: 108%; letter-spacing: -0.02em; margin: 0 0 14px; }
.how-step p { font-size: 18px; color: var(--mute-l); max-width: 30em; }

/* ---------- configurator */
.cfg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); border: 1px solid var(--line-d); }
.cfg-view { position: relative; min-height: 640px; border-right: 1px solid var(--line-d); background:
  linear-gradient(rgba(237,234,228,.035) 1px, transparent 1px) 0 0/40px 40px,
  linear-gradient(90deg, rgba(237,234,228,.035) 1px, transparent 1px) 0 0/40px 40px; }
#cfg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#cfg-canvas:active { cursor: grabbing; }
.cfg-toggle { position: absolute; left: 20px; top: 20px; display: flex; border: 1px solid var(--line-d); border-radius: 999px; padding: 4px; background: rgba(22,24,27,.8); }
.cfg-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; color: var(--mute-d); }
.cfg-toggle button[aria-checked="true"] { background: var(--paper); color: var(--char); }
.cfg-hint { position: absolute; right: 20px; bottom: 16px; font-size: 12px; color: var(--mute-d); margin: 0; }
.cfg-panel { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 6px; }
.ctl label { display: flex; justify-content: space-between; font-size: 15px; color: var(--mute-d); }
.ctl output { color: var(--paper); font-family: var(--f-mono); font-size: 14px; }
.ctl input { width: 100%; color: var(--paper); }
.ctl + .ctl { margin-top: 10px; }
.cfg-out { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); margin-top: 24px; }
.cfg-out div { padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.cfg-out div:nth-child(odd) { padding-right: 12px; }
.cfg-out span { display: block; font-size: 13px; color: var(--mute-d); }
.cfg-out b { font: 700 24px/1.2 var(--f-display); font-stretch: 108%; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.cfg-note { font-size: 13px; color: var(--mute-d); margin: 14px 0 22px; }
.cfg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- who */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--char); }
.who-item { padding: 30px 28px 36px 0; border-right: 1px solid var(--line-l); }
.who-item + .who-item { padding-left: 28px; }
.who-item:last-child { border-right: 0; }
.who-item h3 { font: 800 28px/1.05 var(--f-display); font-stretch: 110%; letter-spacing: -0.02em; margin: 0 0 18px; }
.who-what { font-size: 17px; }
.who-why { font-size: 15px; color: var(--mute-l); border-top: 1px solid var(--line-l); padding-top: 14px; margin-top: 18px; }

/* ---------- printers */
.printers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.printer { margin: 0; padding: 36px 32px 32px; border-right: 1px solid var(--line-d); }
.printer:first-child { padding-left: 0; } .printer:last-child { border-right: 0; padding-right: 0; }
.printer svg { width: 100%; max-width: 260px; height: auto; margin: 0 auto 26px; display: block; }
.printer .ink { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.printer .thin { stroke: rgba(237,234,228,.55); stroke-width: 1; }
.printer .hot { stroke: var(--orange); stroke-width: 2.6; }
.printer h3 { font: 800 24px/1.1 var(--f-display); font-stretch: 110%; margin: 0 0 8px; }
.printer p { font-size: 16px; color: var(--mute-d); margin: 0; }

/* ---------- facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.fact { border-top: 2px solid var(--char); padding-top: 22px; }
.fact-num { font: 900 clamp(52px, 5.2vw, 92px)/.95 var(--f-display); font-stretch: 100%; letter-spacing: -0.045em; margin-bottom: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact p:not(.fact-num) { font-size: 17px; }

/* ---------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 19vw, 300px); gap: clamp(10px, 1.2vw, 18px); }
.g { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.04); }
.g-tall { grid-row: span 2; }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: 14px; line-height: 1.35; color: var(--paper); background: linear-gradient(transparent, rgba(22,24,27,.82)); }

/* ---------- founder + plan */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.founder-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; filter: grayscale(.25) contrast(1.02); }
.founder-body .h2 { margin-bottom: 32px; }
.founder-body p:not(.lede) { color: #CFCBC4; }
.founder-sign { font-family: var(--f-display); font-weight: 700; font-stretch: 110%; color: var(--paper) !important; margin-top: 28px; }
.plan { margin-top: clamp(96px, 12vw, 176px); }
.plan-title { font: 800 clamp(28px, 2.6vw, 40px)/1.05 var(--f-display); font-stretch: 112%; letter-spacing: -0.02em; margin: 0 0 36px; }
.plan-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.plan-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line-d); }
.plan-steps li { position: relative; padding-right: 28px; }
.plan-no { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--paper); background: var(--char); font: 700 17px/1 var(--f-display); margin-bottom: 24px; position: relative; }
.plan-steps li:first-child .plan-no { border-color: var(--orange); color: var(--orange); }
.plan-steps h4 { font: 700 20px/1.2 var(--f-display); font-stretch: 108%; margin: 0 0 10px; }
.plan-steps p { font-size: 15px; color: var(--mute-d); }

/* ---------- contact */
.contact .split { margin-bottom: 0; }
.contact-direct { font-size: 17px; color: var(--mute-l); margin-top: 28px; }
.contact-direct a { color: var(--char); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--mute-l); padding: 0; }
.field input, .field textarea { font: 400 17px/1.4 var(--f-sans); color: var(--char); background: transparent; border: 0; border-bottom: 1.5px solid var(--char); padding: 10px 0; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--orange); }
.field textarea::placeholder { color: #8C8F92; }
.chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line-l); border-radius: 999px; font-size: 15px; color: var(--char); transition: all .2s; }
.chips input:checked + span { background: var(--char); color: var(--paper); border-color: var(--char); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form .btn { align-self: flex-start; }
.form-note { font-size: 13px; color: var(--mute-l); margin: -6px 0 0; }
.form-error { color: #B3261E; font-size: 15px; margin: 0; }

/* ---------- footer */
.foot { background: var(--char); padding: clamp(72px, 10vw, 140px) 0 calc(36px + env(safe-area-inset-bottom)); overflow: hidden; }
.foot-word { font: 900 clamp(44px, 11vw, 176px)/.8 var(--f-display); font-stretch: 110%; letter-spacing: -0.05em; margin: 0 0 40px; max-width: none; white-space: nowrap;
  color: transparent; background: repeating-linear-gradient(0deg, var(--paper) 0 3px, transparent 3px 7px); -webkit-background-clip: text; background-clip: text; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 14px; color: var(--mute-d); border-top: 1px solid var(--line-d); padding-top: 22px; }
.foot-row p { margin: 0; }
.foot-row p:first-child { color: var(--paper); margin-right: auto; }

/* ---------- reveal (one quiet entrance for section headings only) */
.js .h2 { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .h2.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .h2 { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .who { grid-template-columns: 1fr 1fr; }
  .who-item:nth-child(2) { border-right: 0; }
  .who-item:nth-child(3) { padding-left: 0; }
  .who-item:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .compare-row { grid-template-columns: 1.2fr 1.3fr 1.2fr 1fr 1fr; gap: 16px; font-size: 15px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .zrail { display: none; }
  .split, .wall, .how, .founder, .cfg { grid-template-columns: 1fr; }
  .split { gap: 24px; }
  .how-stage { top: 68px; height: 40vh; z-index: 2; background: var(--paper-2); margin: 0 calc(-1 * var(--gut)); padding: 8px var(--gut); }
  .how-step { min-height: 46vh; }
  .cfg-view { min-height: 460px; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .printers { grid-template-columns: 1fr; }
  .printer, .printer:first-child, .printer:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
  .printer:last-child { border-bottom: 0; }
  .printer svg { margin: 0; max-width: 120px; }
  .facts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .plan-steps { grid-template-columns: 1fr; gap: 28px; }
  .plan-steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .plan-steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; padding: 0; }
  .plan-steps li > :not(.plan-no) { grid-column: 2; }
  .plan-no { grid-row: span 2; margin: 0; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 18px 0; }
  .compare-row .c-name { grid-column: 1 / -1; margin-bottom: 4px; }
  .compare-row span:not(.c-name)::before { content: attr(data-l); display: block; font-size: 12px; color: var(--mute-l); }
  .compare-us span:not(.c-name)::before { color: var(--mute-d); }
  .hero-read { display: none; }
  .hero-stages { gap: 14px; }
  .hero-stages li { min-width: 0; flex: 1; font-size: 13px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .who { grid-template-columns: 1fr; }
  .who-item, .who-item + .who-item { padding: 24px 0 28px; border-right: 0; border-top: 1px solid var(--line-l); }
  .who-item:first-child { border-top: 0; }
  .wall-stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 92vw; }
  .g-tall { grid-row: span 1; }
  .hero-stages li b { display: block; }
  .hero-copy { padding-top: 96px; }
  .hero-lede { display: none; }
  .hero-title { margin-bottom: 26px; }
  .hero-actions .btn { flex: 1; padding: 0 14px; }
  .btn { min-height: 50px; padding: 0 22px; }
  .foot-row p:first-child { width: 100%; }
}
@media (max-width: 340px) { .hero-title { font-size: 46px; } .cfg-toggle button { padding: 7px 10px; font-size: 13px; } }
@media (max-height: 520px) and (orientation: landscape) { .hero-copy { padding-top: 84px; } .hero-lede { display: none; } .hero-stages { display: none; } }
