:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eaf0f6;
  --ink: #102638;
  --ink-soft: #4d6273;
  --line: #ccd9e5;
  --navy: #102c46;
  --navy-2: #173f60;
  --blue: #2b6f98;
  --cyan: #51a9bd;
  --gold: #d59b48;
  --red: #b8605f;
  --green: #4c886e;
  --shadow: 0 18px 48px rgba(27, 58, 83, 0.10);
  --radius: 22px;
  --shell: min(1240px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(204, 217, 229, 0.75);
  background: rgba(244, 247, 251, 0.93);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  padding: 8px;
  border-radius: 12px;
  background: var(--navy);
}
.brand-mark i { display: block; border-radius: 2px; background: #d9edf1; }
.brand-mark i:nth-child(1) { height: 45%; }
.brand-mark i:nth-child(2) { height: 100%; background: var(--cyan); }
.brand-mark i:nth-child(3) { height: 68%; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1.02rem; letter-spacing: 0.08em; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 0.72rem; }
.primary-nav { display: flex; align-items: center; gap: 23px; }
.primary-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(234,240,246,0.88)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(43,111,152,0.055) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(43,111,152,0.055) 79px 80px);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -230px;
  top: -260px;
  border-radius: 50%;
  border: 92px solid rgba(81, 169, 189, 0.08);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 58px;
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow span { width: 36px; height: 2px; background: currentColor; }
.eyebrow-light { color: #8bcbd7; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.2vw, 5.8rem);
  line-height: 0.99;
  letter-spacing: -0.047em;
}
h2 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 3.4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.036em;
}
h3 { line-height: 1.2; }
.hero-lead {
  max-width: 800px;
  margin-bottom: 29px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.72); }
.button-light { background: #fff; color: var(--navy); white-space: nowrap; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 0;
}
.hero-facts div {
  padding: 16px;
  border-left: 3px solid var(--cyan);
  background: rgba(255,255,255,.68);
}
.hero-facts dt { margin-bottom: 5px; font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hero-facts dd { margin: 0; color: var(--ink-soft); font-size: .83rem; }

.hero-system {
  padding: 25px;
  border: 1px solid rgba(191,207,220,.82);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.system-title {
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.system-stack { display: grid; gap: 7px; }
.system-node {
  display: grid;
  grid-template-columns: 38px minmax(120px, .8fr) 1.3fr;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.system-node > span {
  color: var(--blue);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.system-node b { font-size: .88rem; }
.system-node small { color: var(--ink-soft); font-size: .76rem; }
.system-node-accent { border-color: #e0b877; background: #fff9ed; }
.system-node-accent > span { color: #a86d1f; }
.system-note { margin: 16px 2px 0; color: var(--ink-soft); font-size: .82rem; }

.section { padding: 92px 0; }
.section-muted { background: var(--surface-soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-heading { max-width: 920px; margin-bottom: 40px; }
.section-heading > p { color: var(--ink-soft); font-size: 1.03rem; }
.section-heading-light > p { color: #c7d6df; }
.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .75fr);
  gap: 70px;
  align-items: end;
}
.split-heading p { margin-bottom: 5px; }

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.role-card {
  min-height: 255px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.role-index { display: block; margin-bottom: 30px; color: var(--blue); font-weight: 900; font-size: .75rem; }
.role-card h3 { margin-bottom: 12px; font-size: 1.17rem; }
.role-card p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }
.role-card-accent { border-color: #dfbc81; background: #fff9ee; }
.role-card-accent .role-index { color: #a97029; }

.flow-diagram {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.flow-main {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}
.flow-main li {
  position: relative;
  min-height: 154px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fbfd;
}
.flow-main li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -11px;
  width: 14px;
  color: var(--blue);
  background: var(--surface);
  font-weight: 900;
  transform: translateY(-50%);
  text-align: center;
}
.flow-main span { display: block; margin-bottom: 19px; color: var(--blue); font-size: .68rem; font-weight: 900; }
.flow-main b { display: block; margin-bottom: 7px; font-size: .88rem; line-height: 1.25; }
.flow-main small { color: var(--ink-soft); font-size: .71rem; line-height: 1.35; }
.flow-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 24px 0; color: var(--ink-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.flow-split span { height: 1px; background: var(--line); }
.flow-outcomes { display: grid; grid-template-columns: 1.35fr .85fr; gap: 16px; }
.outcome { padding: 23px; border-radius: 18px; }
.outcome-main { border: 1px solid #b9d5c6; background: #f1faf5; }
.outcome-spor { border: 1px solid #e2bc7f; background: #fff8ec; }
.outcome-label { margin-bottom: 9px; color: var(--ink-soft); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.outcome h3 { margin-bottom: 8px; font-size: 1.13rem; }
.outcome p { margin-bottom: 0; color: var(--ink-soft); font-size: .86rem; }
.recycle-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 17px;
  padding: 15px 19px;
  border-radius: 14px;
  background: var(--navy);
  color: #d7e5ed;
  font-size: .77rem;
  text-align: center;
}
.recycle-line b { color: #fff; }

.station-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 26px;
  align-items: stretch;
}
.station-schematic {
  display: grid;
  grid-template-columns: 1fr 210px 1fr;
  align-items: center;
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.station-half {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid #b9cfdd;
  background: linear-gradient(180deg, #eaf4f8, #f8fbfd);
}
.station-left { border-radius: 92px 20px 20px 92px; }
.station-right { border-radius: 20px 92px 92px 20px; }
.rotation-arrow { margin-bottom: 14px; color: var(--blue); font-size: 2.8rem; line-height: 1; }
.station-half strong { margin-bottom: 18px; font-size: 1.02rem; }
.station-half small { margin: 4px 0; color: var(--ink-soft); }
.station-core {
  position: relative;
  z-index: 2;
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-inline: -12px;
  padding: 24px;
  border: 2px solid #d3a65f;
  border-radius: 30px;
  background: #fff9ee;
  text-align: center;
}
.station-core strong { margin-bottom: 14px; }
.station-core small { margin: 3px; color: var(--ink-soft); }
.station-text { display: grid; gap: 17px; }
.equation-card { padding: 25px; border-radius: 22px; background: var(--navy); color: #fff; }
.equation-card span { display: block; margin-bottom: 12px; color: #9dcbd7; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.equation-card strong { display: block; margin-bottom: 13px; font: 700 clamp(1.9rem, 3vw, 2.7rem)/1.1 Georgia, serif; }
.equation-card p { margin-bottom: 0; color: #c8d7e0; font-size: .85rem; }
.plain-list { margin: 0; padding: 23px 23px 23px 42px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.plain-list li { margin: 10px 0; color: var(--ink-soft); font-size: .85rem; }
.metallurgy-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.metallurgy-paths article { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.path-label { margin-bottom: 10px; color: var(--blue); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.metallurgy-paths p { margin-bottom: 0; color: var(--ink-soft); }

.spor-definition {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
}
.spor-definition > div, .not-list {
  padding: 27px;
  border: 1px solid rgba(196,217,228,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
}
.spor-definition h3 { margin-bottom: 20px; }
.need-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.need-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.06); }
.need-list li > span { color: #82c7d3; font-size: .71rem; font-weight: 900; }
.need-list b { display: block; margin-bottom: 3px; }
.need-list small { color: #bdcdd7; }
.not-list { border-color: rgba(218,171,99,.42); background: rgba(213,155,72,.09); }
.not-list ul { padding-left: 20px; color: #d3dfe6; }
.not-list li { margin: 7px 0; }
.not-list p { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #e1eaf0; }
.text-scheme { margin-top: 22px; padding: 27px; border: 1px solid rgba(196,217,228,.18); border-radius: 24px; background: rgba(255,255,255,.055); }
.scheme-title { margin-bottom: 18px; color: #96cbd6; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.text-scheme ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin: 0; padding: 0; }
.text-scheme li { position: relative; min-height: 154px; padding: 16px; border: 1px solid rgba(196,217,228,.2); border-radius: 15px; background: rgba(255,255,255,.04); }
.text-scheme li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 49%; color: #82c7d3; font-weight: 900; }
.text-scheme li > span { display: block; margin-bottom: 18px; color: #82c7d3; font-weight: 900; }
.text-scheme b { display: block; margin-bottom: 8px; font-size: .86rem; }
.text-scheme small { color: #bdcdd7; font-size: .72rem; }
.spor-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.spor-details article { padding: 23px; border: 1px solid rgba(196,217,228,.18); border-radius: 20px; background: rgba(255,255,255,.045); }
.spor-details h3 { margin-bottom: 10px; font-size: 1rem; }
.spor-details p { margin-bottom: 0; color: #c5d4dd; font-size: .86rem; }

.heat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.heat-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.heat-grid h3 { margin-bottom: 10px; font-size: 1.08rem; }
.heat-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: .9rem; }
.system-loop {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 22px;
  padding: 20px;
  overflow-x: auto;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
}
.system-loop > div { min-width: 123px; padding: 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.055); }
.system-loop b, .system-loop small { display: block; }
.system-loop small { margin-top: 4px; color: #b9cbd6; font-size: .72rem; }
.system-loop > span { display: grid; place-items: center; color: #78bdca; font-weight: 900; }
.system-loop .loop-spor { border-color: #d4a45c; background: rgba(213,155,72,.14); }

.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.status-grid article { padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.status-grid h3 { margin: 18px 0 10px; font-size: 1rem; }
.status-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: .86rem; }
.status-tag { display: inline-flex; padding: 6px 9px; border-radius: 7px; font-size: .67rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.status-physical { background: #e7f5ed; color: #2e7556; }
.status-architecture { background: #e5f0f7; color: #326b91; }
.status-rd { background: #fff0dd; color: #9a6126; }
.status-hypothesis { background: #f2e8f5; color: #805289; }
.limits-box { margin-top: 18px; padding: 26px; border-left: 5px solid var(--red); border-radius: 0 20px 20px 0; background: #fff; }
.limits-box h3 { margin-bottom: 13px; }
.limits-box ul { columns: 2; gap: 36px; margin: 0; padding-left: 19px; color: var(--ink-soft); }
.limits-box li { margin-bottom: 8px; break-inside: avoid; }

.closing { padding: 74px 0; background: linear-gradient(135deg, #102c46, #1d4d6e); color: #fff; }
.closing-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.closing h2 { max-width: 900px; }
.closing p { max-width: 900px; margin-bottom: 0; color: #cfdee7; }
.site-footer { padding: 27px 0; background: #0b2134; color: #b9cbd6; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; }
.footer-inner a { color: #fff; text-decoration: none; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 32px, 1040px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-system { max-width: 760px; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-main { grid-template-columns: repeat(4, 1fr); }
  .flow-main li:not(:last-child)::after { display: none; }
  .station-layout { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { min-height: 68px; }
  .brand-copy small { display: none; }
  .nav-toggle {
    width: 44px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    inset: 69px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 13px 16px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(244,247,251,.99);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 9px; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 64px; }
  .hero-facts { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; gap: 6px; }
  .role-grid, .heat-grid { grid-template-columns: 1fr; }
  .flow-main { grid-template-columns: repeat(2, 1fr); }
  .flow-outcomes { grid-template-columns: 1fr; }
  .recycle-line { grid-template-columns: 1fr; }
  .station-schematic { grid-template-columns: 1fr; gap: 8px; }
  .station-half { min-height: 0; border-radius: 18px; }
  .station-core { min-height: 0; margin: 0; }
  .metallurgy-paths, .spor-definition, .spor-details { grid-template-columns: 1fr; }
  .text-scheme ol { grid-template-columns: 1fr; }
  .text-scheme li { min-height: 0; }
  .text-scheme li:not(:last-child)::after { content: "↓"; right: auto; top: auto; left: 50%; bottom: -16px; }
  .closing-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 24px); --radius: 18px; }
  .section { padding: 68px 0; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.65rem); }
  .hero-system, .flow-diagram, .station-schematic { padding: 16px; border-radius: 19px; }
  .system-node { grid-template-columns: 32px 1fr; }
  .system-node small { grid-column: 2; }
  .flow-main { grid-template-columns: 1fr; }
  .flow-main li { min-height: 0; }
  .role-card { min-height: 0; }
  .status-grid { grid-template-columns: 1fr; }
  .limits-box ul { columns: 1; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Prevent long technical names from widening narrow layouts. */
.hero-grid > *,
.split-heading > *,
.station-layout > *,
.spor-definition > *,
.closing-inner > * { min-width: 0; }

h1, h2, h3,
.brand-copy,
.system-node,
.role-card,
.outcome,
.station-half,
.station-core,
.need-list div,
.spor-details article { overflow-wrap: anywhere; }
