/* =========================================================
   퓨전인더스트리 — Design System
   Minimal · Engineering · Cold/Technical
   3 colors: ink (charcoal), paper (white), accent (brand orange)
   ========================================================= */

:root {
  /* core palette */
  --ink:      #0A0A0A;   /* primary charcoal-black */
  --ink-700:  #1C1C1E;
  --ink-500:  #3A3A3E;
  --paper:    #FFFFFF;
  --paper-2:  #F5F6F7;   /* soft base */
  --paper-3:  #ECEDEF;

  /* accent — tweakable */
  --accent:   #FD6F00;   /* brand orange */
  --accent-ink: #FFFFFF; /* text on accent */

  /* neutrals derived */
  --muted:    #6E7178;
  --muted-2:  #9A9DA3;
  --line:     rgba(10,10,10,0.10);
  --line-2:   rgba(10,10,10,0.06);
  --line-dark: rgba(255,255,255,0.12);
  --line-dark-2: rgba(255,255,255,0.06);

  /* type */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* layout */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --header-h: 68px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
}

/* ---- type scale ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.muted { color: var(--muted-2); }

.display {
  font-weight: 800;
  font-size: clamp(40px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h3 {
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-ghost-light { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow .arr { transition: transform .3s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---- nav dropdown (제품·서비스) ---- */
.nav-item { position: relative; height: var(--header-h); display: flex; align-items: center; }
.nav-drop {
  position: absolute; top: 100%; left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 20px 44px -22px rgba(10,10,10,0.26);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 120;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateY(2px); }
.nav-drop a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; border-radius: 5px; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--ink-500);
}
.nav-drop a:hover { background: var(--paper-2); color: var(--ink); }
.nav-drop a .nd-k { font-family: var(--mono); font-size: 11px; color: var(--muted-2); min-width: 14px; }
.nav-drop a:hover .nd-k { color: var(--accent); }
.nav-drop a.nd-div { margin-top: 6px; padding-top: 13px; border-top: 1px solid var(--line); border-radius: 0 0 5px 5px; }
.nav-drop a.nd-div .nd-k { color: var(--accent); font-size: 13px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header .wrap { display: flex; align-items: center; gap: 28px; width: 100%; }
.header.scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
/* hero is light -> header starts dark text */
.header .logo-img { height: 26px; }
.header .logo-light { display: none; }
.header .logo-dark { display: block; }

.nav {
  display: flex; align-items: center; gap: 4px;
  margin-left: 14px;
}
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-500);
  padding: 8px 11px; border-radius: 2px; white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--ink); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.lang {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
}
.lang button {
  background: none; border: none; padding: 4px 6px;
  color: var(--muted-2); font: inherit; transition: color .2s;
}
.lang button.active { color: var(--ink); }
.lang button:hover { color: var(--ink); }
.lang .sep { color: var(--line); }

/* mobile nav toggle */
.menu-btn { display: none; background: none; border: none; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: background .2s; }

/* =========================================================
   HERO  (shared shell, A/B variants)
   ========================================================= */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }

/* toolpath visual canvas (placeholder for video) */
.toolpath { position: relative; width: 100%; height: 100%; background: #0A0A0A; overflow: hidden; }
.toolpath .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark-2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 100% at 60% 40%, #000 30%, transparent 92%);
}
.toolpath svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp-part { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 1.5; }
.tp-cut {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent));
}
[data-deck] .tp-cut, .tp-animate .tp-cut { animation: tp-draw 6s linear infinite; }
@keyframes tp-draw {
  0% { stroke-dashoffset: 1400; }
  70% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
.tp-tool { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
.tp-tool-grp { offset-rotate: 0deg; }
.tp-animate .tp-tool-grp { animation: tp-move 6s linear infinite; }
@keyframes tp-move {
  0% { offset-distance: 0%; opacity: 0; }
  4% { opacity: 1; }
  70% { offset-distance: 100%; opacity: 1; }
  74%, 100% { offset-distance: 100%; opacity: 0; }
}

.tp-hud {
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); pointer-events: none;
}
.tp-hud .tag { color: var(--accent); }
.tp-readout { display: flex; gap: 18px; }
.tp-todo {
  position: absolute; top: 16px; left: 18px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.32);
  border: 1px dashed rgba(255,255,255,0.18); padding: 4px 8px; border-radius: 2px;
}

/* play button */
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.10); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.play-btn:hover { transform: scale(1.08); background: var(--accent); border-color: var(--accent); }
.play-btn svg { width: 26px; height: 26px; margin-left: 4px; }

/* ---------- HERO D : 에디토리얼 좌 + 라이트 프레임 우 ---------- */
.hero-d { background: var(--paper); color: var(--ink); }
.hero-d-grid {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(24px, 4vw, 60px);
  align-items: center; min-height: 100vh;
  padding-top: calc(var(--header-h) + 2vh); padding-bottom: 5vh;
}
.hd-copy { position: relative; padding-left: 0; }
.hd-brand { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.hd-brand-mark { width: 52px; height: 52px; display: block; border-radius: 13px; }
.hd-brand-name { font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; line-height: 1; }
.hd-brand-name .ac { color: var(--accent); }
.hd-vlabel {
  position: absolute; left: -6px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted-2);
}
.hd-idx { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 22px; }
.hd-h { font-weight: 800; font-size: clamp(38px, 5.4vw, 70px); line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 26px; }
.hd-line { display: block; }
.hd-h .accent-word { color: var(--accent); }
.hd-sub { color: var(--muted); font-size: clamp(18px,1.9vw,21px); max-width: none; margin-bottom: 38px; line-height: 1.55; white-space: nowrap; }
.hd-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hd-visual { position: relative; display: flex; align-items: center; min-height: 64vh; }
.hd-frame {
  flex: 1; position: relative; align-self: center; height: min(70vh, 600px);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px -42px rgba(10,10,10,0.28);
}
.hd-visual::before, .hd-visual::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--accent); z-index: 3;
}
.hd-visual::before { top: -9px; left: -9px; border-right: none; border-bottom: none; }
.hd-visual::after  { bottom: -9px; right: -9px; border-left: none; border-top: none; }

/* ---------- light toolpath (for white hero) ---------- */
.toolpath-light { background: var(--paper-2); }
.toolpath-light .grid {
  background-image:
    linear-gradient(rgba(10,10,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.05) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(120% 100% at 55% 42%, #000 38%, transparent 95%);
  mask-image: radial-gradient(120% 100% at 55% 42%, #000 38%, transparent 95%);
}
.toolpath-light .tp-part { stroke: rgba(10,10,10,0.28); }
.toolpath-light .tp-cut { stroke-width: 2.2; filter: none; }
.toolpath-light .tp-tool { filter: none; }
.toolpath-light .tp-hud { color: var(--muted); }
.toolpath-light .tp-hud .tag { color: var(--accent); }
.toolpath-light .tp-todo { color: var(--muted-2); border-color: var(--line); }

/* =========================================================
   SECTION SHELL
   ========================================================= */
section { position: relative; }
.sec { padding-block: clamp(80px, 10vw, 140px); }
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 76px); }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.sec-head .lead { margin-top: 20px; }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark .lead { color: rgba(255,255,255,0.62); }
.sec-soft { background: var(--paper-2); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } }

/* ---- metrics ---- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.metric { padding: 40px 28px 36px 0; border-right: 1px solid var(--line-dark); }
.metric:last-child { border-right: none; padding-right: 0; }
.metric .num {
  font-size: clamp(44px, 5.2vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
}
.metric .num .u { color: var(--accent); }
.metric .num .todo { font-size: 13px; font-family: var(--mono); color: var(--muted-2); display:block; letter-spacing: 0.04em; margin-top: 8px; }
.metric .lab { margin-top: 16px; color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.45; }

/* ---- process ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--paper);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(10,10,10,0.28); border-color: rgba(10,10,10,0.2); }
.step .shot {
  aspect-ratio: 16/11; background: var(--ink); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.step .shot .ph {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.4);
  text-align: center; padding: 0 20px; line-height: 1.6;
}
.step .shot .grid-mini {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark-2) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .6;
}
.step .body { padding: 26px 26px 30px; }
.step .snum { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.step .stitle { margin-top: 12px; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.step .sdesc { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---- customers marquee ---- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 36s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-cell {
  font-family: var(--mono); font-weight: 500; font-size: 19px; letter-spacing: 0.02em;
  color: var(--muted-2); white-space: nowrap; transition: color .3s var(--ease);
  filter: grayscale(1); opacity: .75;
}
.marquee:hover .logo-cell:hover { color: var(--ink); opacity: 1; }

/* ---- interview cards ---- */
.interviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.iv {
  border-radius: 4px; overflow: hidden; background: var(--ink); position: relative; cursor: pointer;
  border: 1px solid var(--line-dark);
}
.iv .thumb { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; overflow: hidden; }
.iv .thumb .grid-mini { position:absolute; inset:0; background-image: linear-gradient(var(--line-dark-2) 1px,transparent 1px),linear-gradient(90deg,var(--line-dark-2) 1px,transparent 1px); background-size: 30px 30px; opacity:.5; }
.iv .play-mini {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.25); position: relative; z-index: 2;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.iv:hover .play-mini { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.iv .play-mini svg { width: 18px; height: 18px; margin-left: 3px; }
.iv .iv-body { padding: 22px 22px 24px; }
.iv .iv-co { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); }
.iv .iv-quote { margin-top: 10px; color: #fff; font-size: 17px; line-height: 1.5; font-weight: 500; }
.iv.soon { pointer-events: none; }
.iv.soon .iv-co { color: var(--muted-2); }
.iv .soon-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.55); border: 1px dashed rgba(255,255,255,0.22);
  padding: 4px 8px; border-radius: 2px;
}

/* ---- roadmap timeline ---- */
.roadmap { position: relative; margin-top: 20px; }
.rm-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.rm-track::before { content:""; position:absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line); }
.rm-node { position: relative; padding: 30px 24px 0 0; }
.rm-node .dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--muted-2); }
.rm-node.now .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.rm-node .phase { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 8px; }
.rm-node.now .phase { color: var(--accent); }
.rm-node .rtitle { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.rm-node .rdesc { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---- spec table ---- */
.spec {
  border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden;
}
.spec-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr; border-bottom: 1px solid var(--line-dark); }
.spec-row:last-child { border-bottom: none; }
.spec-row.head { background: rgba(255,255,255,0.03); }
.spec-cell { padding: 18px 24px; font-size: 15.5px; }
.spec-row.head .spec-cell { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.spec-row.head .spec-cell.rec { color: var(--accent); }
.spec-cell.key { color: rgba(255,255,255,0.6); font-weight: 500; border-right: 1px solid var(--line-dark); font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; }
.spec-cell.rec { background: rgba(253,111,0,0.05); border-left: 1px solid rgba(253,111,0,0.18); }
.spec-cell .todo { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }

/* ---- final CTA ---- */
.final {
  background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden;
}
.final .glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); }
.final .wrap { position: relative; z-index: 2; }
.final .h2 { margin-bottom: 18px; }
.final .fsub { color: rgba(255,255,255,0.66); font-size: 19px; margin-bottom: 40px; }
.final .fcta { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #060606; color: rgba(255,255,255,0.6); padding-top: 80px; padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1.05fr 1.15fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer .f-logo { height: 24px; margin-bottom: 22px; }
.footer .f-about { font-size: 14.5px; line-height: 1.65; max-width: 320px; }
.footer .f-addr { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer h4 { font-size: 12px; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.f-links { display: flex; flex-direction: column; gap: 12px; }
.f-links a { font-size: 14px; color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; gap: 10px; transition: color .2s; width: fit-content; white-space: nowrap; }
.f-links a:hover { color: #fff; }
.f-links a .ico { width: 16px; height: 16px; opacity: .7; flex-shrink: 0; }
.f-sub p { font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; color: rgba(255,255,255,0.7); }
.f-sub .sub-form { display: flex; border: 1px solid var(--line-dark); border-radius: 2px; overflow: hidden; }
.f-sub .sub-form input { flex: 1; background: transparent; border: none; padding: 13px 14px; color: #fff; font: inherit; font-size: 14.5px; outline: none; }
.f-sub .sub-form input::placeholder { color: rgba(255,255,255,0.35); }
.f-sub .sub-form button { background: var(--accent); color: #fff; border: none; padding: 0 20px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; font-family: var(--mono); letter-spacing: 0.02em; }

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 24px; }
.modal.open { display: grid; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(6,6,6,0.86); backdrop-filter: blur(8px); animation: fade .3s var(--ease); }
.modal .dialog { position: relative; z-index: 2; width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; display: grid; place-items: center; animation: pop .35s var(--ease); }
.modal .dialog .ph { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; padding: 0 30px; line-height: 1.7; }
.modal .close { position: absolute; top: -44px; right: 0; background: none; border: none; color: rgba(255,255,255,0.7); font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; display: flex; gap: 8px; align-items: center; }
.modal .close:hover { color: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(10px); } }

/* mobile nav drawer */
.drawer { position: fixed; inset: 0; z-index: 150; display: none; }
.drawer.open { display: block; }
.drawer .backdrop { position: absolute; inset: 0; background: rgba(6,6,6,0.5); }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 4px; animation: slidein .3s var(--ease); }
.drawer .panel a { padding: 14px 4px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.drawer .panel .btn { margin-top: 18px; justify-content: center; }
@keyframes slidein { from { transform: translateX(100%); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { padding-right: 24px; }
  .metric:nth-child(2) { border-right: none; padding-right: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid var(--line-dark); padding-top: 36px; }
}
@media (max-width: 900px) {
  .hero-d-grid { grid-template-columns: 1fr; gap: 36px; min-height: auto; padding-top: calc(var(--header-h) + 4vh); padding-bottom: 8vh; }
  .hd-copy { padding-left: 0; }
  .hd-sub { white-space: normal; }
  .hd-visual { min-height: 0; }
  .hd-frame { height: 56vh; max-height: 480px; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .interviews { grid-template-columns: 1fr; }
  .rm-track { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .rm-track::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-cell.key { border-right: none; border-bottom: 1px solid var(--line-dark); }
  .spec-cell.rec { border-left: none; }
}
@media (max-width: 560px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none !important; padding-right: 0; }
  .metric + .metric { border-top: 1px solid var(--line-dark); padding-top: 32px; }
  .hd-cta { flex-wrap: wrap; gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .hd-cta .btn, .final .fcta .btn { width: auto; }
}
