/* =========================================================
   Huelion — Design System
   Style: Minimal Swiss / Modern Biotech
   Palette: Crimson (logo) · Light gray · White
   ========================================================= */

:root {
  /* Brand */
  --crimson: #860b25;          /* sampled from logo */
  --crimson-700: #6b0a1e;
  --crimson-100: #f3dde2;
  --crimson-50: #fbf3f5;

  /* Neutrals */
  --ink: #141417;
  --ink-2: #34343b;
  --muted: #5c5c64;            /* 6.6:1 on white */
  --line: #e4e4e7;
  --line-strong: #cdcdd3;
  --gray-50: #f8f8f9;
  --gray-100: #f2f2f4;
  --gray-200: #e9e9ec;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --surface: var(--gray-100);
  --text: var(--ink);
  --text-muted: var(--muted);
  --accent: var(--crimson);
  --focus: var(--crimson);

  /* Type */
  --font-ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-en: "Jost", var(--font-ko);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing (8pt) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --radius: 2px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-base: 240ms;
  --t-slow: 480ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ko);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--crimson); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--gray { background: var(--surface); }
.section--line { border-top: 1px solid var(--line); }
main { padding-top: var(--header-h); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--even { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--crimson); }
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.75; color: var(--ink-2); }
.ko-title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.measure { max-width: 640px; }
.measure-sm { max-width: 520px; }

.section-head { display: grid; gap: var(--s-4); margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s-6); }
@media (max-width: 1023px) { .section-head--split { grid-template-columns: 1fr; } }

.prose p + p { margin-top: 1em; }
.prose p { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--crimson); --btn-bd: var(--crimson); }
.btn--primary:hover { --btn-bg: var(--crimson-700); --btn-bd: var(--crimson-700); }
.btn--dark:hover { --btn-bg: var(--crimson); --btn-bd: var(--crimson); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--crimson); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: transparent; --btn-fg: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 6px 0; border-bottom: 1px solid currentColor;
  transition: color var(--t-base) var(--ease-out), gap var(--t-base) var(--ease-out);
}
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--crimson); gap: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; padding: 4px 0; flex-shrink: 0; }

/* Logo lockup: script wordmark with the tagline centred beneath, rules on both sides (as in the original logo) */
.lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.lockup img { height: 42px; width: auto; }
.lockup__tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-en); font-size: 7px; font-weight: 400; line-height: 1.2;
  letter-spacing: 0.01em; color: var(--ink-2); white-space: nowrap;
}
.lockup__tag::before, .lockup__tag::after { content: ""; width: 8px; height: 1px; background: currentColor; opacity: 0.8; }
.lockup--lg { gap: 3px; }
.lockup--lg img { height: 52px; }
.lockup--lg .lockup__tag { font-size: 8px; gap: 5px; }
.lockup--lg .lockup__tag::before, .lockup--lg .lockup__tag::after { width: 10px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__list { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: color var(--t-fast) var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--crimson); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--crimson); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center; border-radius: var(--radius);
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--white);
  padding: var(--s-6) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav__list { border-top: 1px solid var(--line); }
.mobile-nav__list a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-en); font-size: 26px; font-weight: 400; letter-spacing: -0.01em;
}
.mobile-nav__list a span { font-family: var(--font-ko); font-size: 13px; color: var(--text-muted); letter-spacing: 0; }
.mobile-nav__list a[aria-current="page"] { color: var(--crimson); }
.mobile-nav__foot { margin-top: var(--s-7); display: grid; gap: var(--s-4); }
.mobile-nav__foot .btn { width: 100%; }

@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1024px) { .mobile-nav { display: none; } }
body.menu-open { overflow: hidden; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-7); align-items: end; }
.page-hero .h1 { margin-top: var(--s-5); }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero__meta { display: grid; gap: var(--s-2); padding-bottom: 8px; }
@media (max-width: 1023px) { .page-hero__inner { grid-template-columns: 1fr; gap: var(--s-5); } }

.breadcrumb { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--crimson); }
/* Bigger touch area for small inline links without changing how they look */
.breadcrumb a, a[href^="tel:"]:not(.btn):not(.call-card__number) { display: inline-block; padding: 10px 0; margin: -10px 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .display em { font-style: normal; color: var(--crimson); }
.hero .lead { margin-top: var(--s-5); max-width: 560px; }
.hero .btn-row { margin-top: var(--s-6); }
.hero__visual { position: relative; }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
}

/* Well plate illustration */
.plate { width: 100%; height: auto; overflow: visible; }
.plate__body { fill: var(--white); stroke: var(--line-strong); stroke-width: 1; }
.plate__well { fill: var(--gray-50); stroke: var(--line-strong); stroke-width: 1; }
.plate__core { fill: var(--crimson); opacity: 0.18; transform-box: fill-box; transform-origin: center; }
.plate__ring { fill: none; stroke: var(--crimson); stroke-width: 1.25; opacity: 0; transform-box: fill-box; transform-origin: center; }
.plate__label { font-family: var(--font-mono); font-size: 9px; fill: var(--text-muted); letter-spacing: 0.06em; }
.plate__tick { stroke: var(--line-strong); stroke-width: 1; }
.plate__flow { fill: none; stroke: var(--crimson); stroke-width: 1.5; stroke-linecap: round; }
.plate__port { fill: var(--white); stroke: var(--crimson); stroke-width: 1.25; }

.js .plate__flow { stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); animation: draw 2.4s var(--ease-out) 0.3s forwards; }
.js .plate__core { animation: core 7.2s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.6s); }
.js .plate__ring { animation: ring 7.2s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.6s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes core {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  6% { opacity: 0.95; transform: scale(1.08); }
  18% { opacity: 0.6; transform: scale(1); }
  40% { opacity: 0.18; }
}
@keyframes ring {
  0%, 100% { opacity: 0; transform: scale(0.85); }
  6% { opacity: 0.9; transform: scale(1); }
  24% { opacity: 0; transform: scale(1.18); }
}
/* Hero concept illustration: ORBIT × TEMP in one well */
.hx { width: 100%; height: auto; overflow: visible; font-family: var(--font-ko); }
.hx-well { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.hx-medium { fill: var(--crimson-50); }
.hx-insert { fill: none; stroke: #9a9aa2; stroke-width: 2; stroke-linejoin: round; }
.hx-membrane { stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 4 3; }
.hx-shaft { fill: #bdbdc4; }
.hx-motor { fill: #2b2b31; }
.hx-motor-top { fill: #d9d3c6; }
.hx-rot { fill: none; stroke: var(--crimson); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hx-blades rect { fill: #6c6c74; }
.hx-sph circle { fill: var(--crimson); opacity: 0.62; }
.hx-pipe { fill: none; stroke: var(--gray-200); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.hx-flow { fill: none; stroke: var(--crimson); stroke-width: 2; stroke-dasharray: 6 10; stroke-linecap: round; stroke-linejoin: round; }
.hx-arrow { fill: none; stroke: var(--crimson); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hx-lead { stroke: var(--line-strong); stroke-width: 1; }
.hx-tag { font-family: var(--font-mono); font-size: 11px; fill: var(--crimson); letter-spacing: 0.06em; }
.hx-txt { font-size: 13px; fill: var(--ink-2); }
.hx-txt--sm { font-size: 11px; fill: var(--text-muted); }
.hx-card { fill: #fff; stroke: var(--line); }
.hx-axis { stroke: var(--line-strong); stroke-width: 1; }
.hx-curve { fill: none; stroke: var(--crimson); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.hx-pkdot { fill: var(--crimson); stroke: #fff; stroke-width: 2; }
/* TEMP pump in the plate scene */
.hx-pipe--thin { stroke-width: 5; }
.hx-pump { fill: #2b2b31; }
.hx-pump-screen { fill: var(--crimson); opacity: 0.85; }
.hx-rotor circle { fill: none; stroke: #d9d3c6; stroke-width: 2; }
.hx-rotor line { stroke: #d9d3c6; stroke-width: 2; stroke-linecap: round; }
.js .hx-rotor { transform-box: fill-box; transform-origin: center; animation: hx-stir var(--s, 2.4s) linear infinite; }

/* stirrer bars in the plate scene: each well runs at its own speed / direction, some stopped */
.hx-mw--lg line { stroke-width: 6 !important; }
.hx-mw line { stroke: var(--crimson); stroke-width: 2.5; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: rotate(calc(var(--p, 0) * 1deg)); }
.hx-mw.is-off line { stroke: var(--line-strong); }
.js .hx-mw:not(.is-off) line { transform-box: fill-box; transform-origin: center; animation: hx-stir var(--s, 1.4s) linear infinite; }
.js .hx-mw.is-ccw line { animation-direction: reverse; }
/* --p = starting angle (deg), so wells are out of phase while spinning and still look different when motion is off */
@keyframes hx-stir { from { transform: rotate(calc(var(--p, 0) * 1deg)); } to { transform: rotate(calc(var(--p, 0) * 1deg + 360deg)); } }
/* Loop (24 s): 12-well plate (each well stirred on its own) → highlight well B2 → slow zoom into it
   → one-well section → slow cross-fade back to the plate.
   Change --hx-cycle to slow down / speed up the whole loop. Without JS the section is shown as a still. */
.hx { --hx-cycle: 24s; }
.hx-plate { opacity: 0; }
.hx-target { fill: none; stroke: var(--crimson); stroke-width: 2.5; opacity: 0; }
.js .hx-plate { transform-box: view-box; transform-origin: 0 0; animation: hx-plate var(--hx-cycle) cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.js .hx-target { animation: hx-target var(--hx-cycle) ease-out infinite; }
.js .hx-section { transform-box: view-box; transform-origin: 190px 285px; animation: hx-section var(--hx-cycle) ease-in-out infinite; }
/* at 24 s: plate holds ~6.7 s, zoom ~2.9 s, section fades in ~2.4 s and holds ~9 s, then ~2–3 s cross-fade back */
@keyframes hx-plate {
  0%, 28%  { transform: none; opacity: 1; }
  34%      { opacity: 1; }
  /* well B2 sits at (190, 208) with r = 32 after the plate's translate(10 40) scale(0.8); grow it to the section's well */
  40%      { transform: translate(190px, 285px) scale(3.75) translate(-190px, -208px); opacity: 0; }
  87.9%    { transform: translate(190px, 285px) scale(3.75) translate(-190px, -208px); opacity: 0; }
  88%      { transform: none; opacity: 0; }
  100%     { transform: none; opacity: 1; }
}
@keyframes hx-target {
  0%, 12%  { opacity: 0; }
  17%, 34% { opacity: 1; }
  39%, 100% { opacity: 0; }
}
@keyframes hx-section {
  0%, 34%  { opacity: 0; transform: scale(0.94); }
  44%, 84% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hx-plate { animation: none; opacity: 0; }
  .js .hx-section { animation: none; opacity: 1; transform: none; }
}

/* phones: the drawing shrinks to ~60%, so enlarge its labels to stay readable */
@media (max-width: 639px) {
  .hx-tag { font-size: 15px; letter-spacing: 0.02em; }
  .hx-txt { font-size: 15px; }
  .hx-txt--sm { font-size: 13px; }
}
.js .hx-flow { animation: hx-dash 1.4s linear infinite; }
.js .hx-blades { transform-box: view-box; transform-origin: 190px 345px; animation: hx-spin 0.9s ease-in-out infinite; }
.js .hx-sph circle { animation: hx-swirl var(--t, 3s) ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.js .hx-wells circle { animation: hx-pulse var(--t, 2s) ease-in-out infinite; }
@keyframes hx-dash { to { stroke-dashoffset: -32; } }
@keyframes hx-spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
@keyframes hx-swirl { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
@keyframes hx-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.hero__caption { margin-top: var(--s-4); display: flex; justify-content: space-between; gap: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-3); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stat { padding: var(--s-6) var(--s-5) var(--s-5) 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: var(--s-5); }
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-en); font-weight: 300;
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem);
  line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.stat__value--long { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.875rem); white-space: nowrap; }
.stat__value small { font-size: 0.42em; font-weight: 400; letter-spacing: 0; margin-left: 4px; color: var(--crimson); }
.stat__label { margin-top: var(--s-4); font-size: 15px; font-weight: 600; }
.stat__note { margin-top: var(--s-1); font-size: 13px; color: var(--text-muted); line-height: 1.6; }
/* 4 columns only when each cell is wide enough for numbers like "166→104 μm"; 2×2 below 1200px */
@media (max-width: 1199px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-right: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
}

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.card--gray { background: var(--gray-50); }
.card__index { font-family: var(--font-mono); font-size: 12px; color: var(--crimson); letter-spacing: 0.06em; }
.card__en { margin-top: var(--s-5); font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.card__title { margin-top: var(--s-2); font-size: 1.3125rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.02em; }
.card__body { margin-top: var(--s-4); color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.card__foot { margin-top: auto; padding-top: var(--s-6); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-5); }
a.card:hover, .card--hover:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 32px -20px rgba(20, 20, 23, 0.35); }
a.card:hover .link-arrow { color: var(--crimson); gap: 12px; }
.card .link-arrow { border-bottom: 0; padding: 0; }

.tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12px; color: var(--ink-2); white-space: nowrap;
}
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); }
.status--dev::before { background: transparent; border: 1.5px solid var(--crimson); }

/* Feature list (numbered rows) */
.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: var(--s-5);
  padding: var(--s-6) 0; border-bottom: 1px solid var(--line);
}
.row__num { font-family: var(--font-mono); font-size: 13px; color: var(--crimson); padding-top: 4px; }
.row__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.row__title span { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.row__body { color: var(--ink-2); font-size: 15px; }
@media (max-width: 767px) {
  .row { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* Spec list */
.specs { border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 160px 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); padding-top: 3px; }
.specs dd { font-size: 15px; color: var(--ink); }
@media (max-width: 479px) { .specs > div { grid-template-columns: 1fr; gap: 2px; } }

/* Check list */
.checks { display: grid; gap: var(--s-3); }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.72em; width: 12px; height: 1px; background: var(--crimson);
}

/* ---------- Media slots (replaceable images) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gray-100); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.media--contain { background: var(--white); border: 1px solid var(--line); }
.media--contain img, .media--contain video { object-fit: contain; }
.media:hover img { transform: scale(1.015); }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

.media-slot {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--s-4);
  background:
    linear-gradient(var(--gray-100), var(--gray-100)) padding-box,
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(20,20,23,0.025) 10px 11px);
  background-color: var(--gray-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.media-slot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(20, 20, 23, 0.035) 14px 15px);
}
.media-slot__corner { position: absolute; width: 14px; height: 14px; border-color: var(--line-strong); border-style: solid; }
.media-slot__corner--tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.media-slot__corner--tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.media-slot__corner--bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
.media-slot__corner--br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.media-slot__label { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.media-slot__label svg { width: 16px; height: 16px; color: var(--crimson); }
.media-slot__meta { position: relative; padding: 6px 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; line-height: 1.6; }

/* ---------- Cropped looping videos ----------
   A 16:9 frame that shows only part of the source video (no letterbox, no UI).
   The video is scaled up (--vc-scale = width relative to the frame) and shifted
   (--vc-x / --vc-y) so the chosen region fills the frame. The poster image
   uses the same box, so a blocked autoplay still shows a correct still frame.
   When you replace a video with clean footage, set all three to 100% / 0 / 0. */
.video-crop {
  --vc-scale: 100%; --vc-x: 0%; --vc-y: 0%;
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.video-crop video {
  position: absolute; left: var(--vc-x); top: var(--vc-y);
  width: var(--vc-scale); max-width: none; height: auto;
  pointer-events: none;
}
.video-crop video::-webkit-media-controls { display: none !important; }
/* TEMP: 1280x720 screen recording — keep x 198–1183, y 118–672 (drops watermark + taskbar) */
.video-crop--temp  { --vc-scale: 130%;    --vc-x: -20.1%;  --vc-y: -21.3%; }
/* ORBIT prototype (real footage): 1360x1000 clip (full view 0–3 s, zooms into the rotating shafts 3–9 s)
   keep x 120–1360 (drops the tubing at the top-left edge), y 110–808 for 16:9 */
.video-crop--orbit { --vc-scale: 109.68%; --vc-x: -9.68%; --vc-y: -15.77%; background: #e9e9ea; }

/* ---------- Vision film (Home): full-width CG concept film right under the hero ---------- */
/* ---------- Film hero (Home first screen) ----------
   Full page width, uncropped (exact 16:9 box). On desktop the headline sits top-left over the film,
   with a soft white wash on the left; it fades out while the film's own end title is on screen. */
.film-hero { position: relative; background: #fff; }
.film-hero__media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #fff; }
.film-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.film-hero__text { padding: var(--s-6) 0 var(--s-7); }
.film-hero .display { margin-top: var(--s-3); font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem); max-width: 11.5em; }
.film-hero .display em { font-style: normal; color: var(--crimson); }
.film-hero .lead { margin-top: var(--s-4); max-width: 540px; }
.film-hero .btn-row { margin-top: var(--s-5); }
.film-hero__scroll { display: none; }
/* mobile/tablet only: the film's ending icons repeated as readable text right under the film */
.film-hero__keys { list-style: none; margin: 0; padding: var(--s-4) 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.film-hero__keys li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.film-hero__keys svg { width: 44px; height: 44px; margin-bottom: 4px; border: 1.5px solid var(--crimson); border-radius: 50%;
  fill: none; stroke: var(--crimson); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-hero__keys .k-fill { fill: var(--crimson); fill-opacity: 0.22; stroke: none; }
.film-hero__keys b { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.film-hero__keys span { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
@media (min-width: 1024px) {
  .film-hero__keys { display: none; }
  .film-hero__text { position: absolute; top: clamp(32px, 4.5vw, 80px); left: 0; right: 0; z-index: 2; padding: 0; transition: opacity 0.7s var(--ease-out); }
  .film-hero__text .container > * { text-shadow: 0 0 22px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.9); }
  .film-hero__text .btn { text-shadow: none; }
  .film-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.65) 30%, rgba(255, 255, 255, 0) 55%);
    /* only behind the copy (top ~60%), so the film's journey row at the bottom stays crisp */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, transparent 62%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 48%, transparent 62%); }
  .film-hero.is-ending .film-hero__text { opacity: 0; pointer-events: none; }
  .film-hero__scroll {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  }
  .film-hero__scroll::after { content: ""; width: 1px; height: 32px; background: linear-gradient(var(--ink-2), transparent); }
  .js .film-hero__scroll::after { animation: hx-cue 1.8s ease-in-out infinite; transform-origin: top; }
}
/* narrow desktops: the film is short, so keep the copy compact and clear of the film's icon row (bottom ~37%) */
@media (min-width: 1024px) and (max-width: 1365px) {
  .film-hero__text { top: 24px; }
  .film-hero .display { margin-top: var(--s-2); font-size: clamp(2.25rem, 0.6rem + 3.6vw, 3.5rem); }
  .film-hero .lead { margin-top: var(--s-3); font-size: 1rem; max-width: 500px; }
  .film-hero .btn-row { margin-top: var(--s-4); }
}
/* wide screens: line the copy up with the film's icon row (left edge of the first icon ≈ 9.8% of the film width) */
@media (min-width: 1280px) {
  .film-hero__text .container { max-width: none; padding-left: 9.8vw; padding-right: 9.8vw; }
}
@keyframes hx-cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.how { border-top: 1px solid var(--line); }

/* Full-width and uncropped: the box is exactly 16:9 at the page width, so the whole frame shows edge to edge.
   Copy sits top-left (the film's own end title appears mid-left, ~50–62% down, so the two never meet). */
.vision-film { position: relative; background: #fff; border-top: 1px solid var(--line); }
.vision-film .lead .badge { margin-left: 6px; vertical-align: 2px; }
.vision-film__media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #fff; }
.vision-film__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vision-film__text { padding: var(--s-7) 0 var(--s-5); }
.br-wide { display: none; }
@media (min-width: 768px) {
  .vision-film__text { position: absolute; top: clamp(28px, 4.5vw, 72px); left: 0; right: 0; z-index: 2; padding: 0; pointer-events: none; }
  .vision-film__text .lead { font-size: clamp(1rem, 0.9rem + 0.35vw, 1.1875rem); }
  .vision-film__text .container > * { text-shadow: 0 0 20px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.9); }
  .vision-film__text .badge { text-shadow: none; }
  .vision-film__text { transition: opacity 0.7s var(--ease-out); }
  .vision-film.is-ending .vision-film__text { opacity: 0; }
  .vision-film__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.55) 18%, rgba(255, 255, 255, 0) 36%); }
  .br-wide { display: inline; }
}

/* Side-by-side micrographs with a number under each (ORBIT data) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.pair figure { margin: 0; }
.pair .media { aspect-ratio: 3 / 2; }
.pair__value { margin-top: var(--s-3); font-family: var(--font-en); font-size: 1.75rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pair__value small { font-size: 0.5em; color: var(--crimson); margin-left: 3px; }
.pair__label { font-size: 13px; color: var(--text-muted); }
@media (max-width: 479px) { .pair { grid-template-columns: 1fr; } }

/* Plan / done labels */
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.card > .badge { align-self: flex-start; }
.badge--done { background: var(--crimson); color: #fff; }
.badge--plan { border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--white); }

/* Achievements list */
.records { border-top: 1px solid var(--ink); }
.record { display: grid; grid-template-columns: 120px 1fr auto; gap: var(--s-5); align-items: start; padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.record__when { font-family: var(--font-mono); font-size: 13px; color: var(--crimson); padding-top: 3px; }
.record__type { font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.record__title { margin-top: 4px; font-size: 1.125rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; }
.record__body { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.record__meta { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.record > .badge { justify-self: start; }
@media (max-width: 767px) { .record { grid-template-columns: 1fr; gap: var(--s-2); } .record > .badge { grid-row: 1; justify-self: end; margin-top: -2px; } .record__when { grid-row: 1; } }

/* Contact call-out */
.call-card { display: grid; gap: var(--s-3); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--gray-50); }
.call-card__number { font-family: var(--font-en); font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 300; letter-spacing: -0.01em; color: var(--ink); }
.call-card__number:hover { color: var(--crimson); }

figcaption, .caption { margin-top: var(--s-3); font-size: 13px; color: var(--text-muted); line-height: 1.6; }
figcaption b, .caption b { color: var(--ink); font-weight: 600; }

/* Image with numbered pins (labels live in HTML so they stay sharp) */
.annot-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); }
/* shown at ~300px wide from a 700px source (≥2x density), which keeps the render crisp */
.annot { position: relative; max-width: 300px; margin: 0 auto; }
.annot img { width: 100%; height: auto; }
.annot__pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--crimson); color: #fff; box-shadow: 0 0 0 3px #fff;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 1;
}
/* Two columns of equal height: the figure box and the text column end on the same line (desktop) */
.annot-wrap--fill figcaption { margin-top: var(--s-4); }
.rows--compact .row { padding: var(--s-4) 0; align-items: center; }
.rows--compact .row__num { padding-top: 0; }
@media (min-width: 1024px) {
  .split--match { align-items: stretch; }
  .split--match > figure { display: flex; flex-direction: column; }
  .annot-wrap--fill { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .match-col { display: flex; flex-direction: column; }
  .match-col .rows--compact { flex: 1; display: flex; flex-direction: column; }
  .match-col .rows--compact .row { flex: 1; }
}
.row__num--pin { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--crimson); color: #fff; font-size: 11px; padding: 0; }

/* ORBIT concept: device image in the middle, colour-coded callouts on both sides */
.concept { display: grid; grid-template-columns: 1fr minmax(220px, 300px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); }
.concept__device { margin: 0; align-self: center; }
.concept__device img { width: 100%; height: auto; }
.concept__col { display: flex; flex-direction: column; justify-content: space-around; gap: var(--s-5); }
.concept__item { border-left: 3px solid var(--c, var(--crimson)); padding: 2px 0 2px var(--s-4); }
.concept__col--left .concept__item { border-left: 0; border-right: 3px solid var(--c, var(--crimson)); padding: 2px var(--s-4) 2px 0; text-align: right; }
.concept__title { font-size: 1rem; font-weight: 700; line-height: 1.45; color: var(--c, var(--ink)); }
.concept__title .badge { margin-left: 6px; vertical-align: 1px; }
.concept__body { margin-top: 4px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 1023px) {
  .concept { grid-template-columns: 1fr 1fr; }
  .concept__device { grid-column: 1 / -1; max-width: 300px; margin: 0 auto; }
  .concept__col--left .concept__item { border-right: 0; border-left: 3px solid var(--c); padding: 2px 0 2px var(--s-4); text-align: left; }
}
@media (max-width: 639px) { .concept { grid-template-columns: 1fr; } }

/* ---------- Profiles (concentration charts) ---------- */
.profile { padding: var(--s-5); }
.profile svg { width: 100%; height: auto; margin-top: var(--s-5); }
.profile .axis { stroke: var(--line-strong); stroke-width: 1; }
.profile .curve { fill: none; stroke: var(--crimson); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.profile .curve--dash { stroke: var(--muted); stroke-dasharray: 4 4; }
.profile .area { fill: var(--crimson); opacity: 0.07; }
.profile .ax-label { font-family: var(--font-mono); font-size: 9px; fill: var(--muted); }

/* ---------- Leadership profile: small photo + bio ---------- */
.split--profile { grid-template-columns: 220px 1fr; gap: clamp(32px, 5vw, 72px); }
.profile-photo { margin: 0; width: 220px; }
.profile-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 1023px) {
  .split--profile { grid-template-columns: 1fr; }
  .profile-photo { width: 180px; }
}

/* ---------- Timeline (bio) ---------- */
.timeline { border-left: 1px solid var(--line-strong); margin-left: 4px; }
.timeline li { position: relative; padding: 0 0 var(--s-5) var(--s-5); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -4.5px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--crimson); }
.timeline li:first-child::before { background: var(--crimson); }
.timeline__when { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; }
.timeline__what { font-size: 15px; font-weight: 600; margin-top: 2px; }
.timeline__where { font-size: 14px; color: var(--ink-2); }

/* ---------- Statement (About vision) ---------- */
.statement {
  font-family: var(--font-en); font-weight: 300;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem);
  line-height: 1.22; letter-spacing: -0.015em; text-wrap: balance;
}
.statement b { font-weight: 400; color: var(--crimson); }

/* ---------- Quote / big numbers ---------- */
.figure-num { font-family: var(--font-en); font-weight: 300; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.figure-num--md { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); white-space: nowrap; }
.figure-num small { font-size: 0.4em; color: var(--crimson); margin-left: 4px; letter-spacing: 0; }

.result {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-6);
  padding: var(--s-7) 0; border-bottom: 1px solid var(--line);
}
.result:first-child { border-top: 1px solid var(--ink); }
.result__meta { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 767px) { .result { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- Empty state ---------- */
.empty {
  display: grid; justify-items: start; gap: var(--s-3);
  padding: var(--s-7); border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--white);
}
.empty svg { width: 28px; height: 28px; color: var(--crimson); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--crimson); color: #fff; padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.75); }
.cta-band .eyebrow::before { background: #fff; }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: end; position: relative; }
.cta-band .h2 { margin-top: var(--s-4); }
.cta-band p { margin-top: var(--s-4); color: rgba(255, 255, 255, 0.85); }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band__line { position: absolute; right: -40px; top: 50%; width: 640px; transform: translateY(-50%); opacity: 0.16; pointer-events: none; }
.cta-band__line path { fill: none; stroke: #fff; stroke-width: 1.5; }
@media (max-width: 767px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.contact-list > div { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--crimson); margin-top: 3px; }
.contact-list dt { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.contact-list dd { font-size: 16px; margin-top: 2px; }
.contact-list a:hover { color: var(--crimson); }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-100); border-top: 1px solid var(--line); padding: var(--s-8) 0 var(--s-6); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); }
.footer__title { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-4); }
.footer__links { display: grid; gap: 6px; }
.footer__links a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink-2); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--crimson); }
.footer__info { display: grid; gap: 6px; color: var(--ink-2); font-style: normal; line-height: 1.7; }
.footer__info a { transition: color var(--t-fast); }
.footer__info a:hover { color: var(--crimson); }
.footer__label { display: inline-block; min-width: 32px; margin-right: 8px; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.footer__biz { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--ink-2); }
.footer__biz li + li::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 12px; background: var(--line-strong); vertical-align: -1px; }
@media (max-width: 639px) { .footer__biz { flex-direction: column; } .footer__biz li + li::before { display: none; } }
.footer__bottom { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-5); flex-wrap: wrap; color: var(--text-muted); font-size: 13px; }
@media (max-width: 767px) { .footer__top { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .plate__flow { stroke-dashoffset: 0; animation: none; }
  .js .plate__core, .js .plate__ring { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
