:root {
  color-scheme: dark;
  --bg: #0a1220;
  --bg-deep: #070e19;
  --surface: #0d1929;
  --surface-soft: #102132;
  --text: #f1f4f3;
  --muted: #a5b2c3;
  --mint: #b2eed8;
  --mint-strong: #81d8b8;
  --line: #243448;
  --font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--mint); color: var(--bg-deep); }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; border-radius: 2px; }
svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; font-weight: 550; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 10px; left: 12px; z-index: 10; transform: translateY(-180%); padding: 10px 18px; background: var(--mint); color: var(--bg-deep); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 25px; letter-spacing: -.9px; }
.brand-mark { width: 32px; height: 32px; color: var(--mint); flex: none; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 44px); }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #c1cad6; text-decoration: none; font-size: 14px; }
.main-nav a:hover { color: var(--mint); }
.main-nav a span { color: var(--mint); }

.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .95fr); align-items: center; gap: clamp(24px, 5vw, 76px); padding-block: 78px 66px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 29px; color: var(--mint); font-family: var(--mono); font-size: 11px; letter-spacing: 1.3px; }
.eyebrow-line { width: 27px; height: 1px; background: var(--mint); flex: none; }
h1 { font-size: clamp(58px, 6.7vw, 92px); letter-spacing: -.062em; line-height: 1.02; }
h1 span { color: var(--mint); }
.hero-lead { max-width: 510px; margin-top: 30px; color: #b6c1cf; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 51px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 650; text-decoration: none; }
.button-primary { color: #10231e; background: var(--mint); }
.button-primary:hover { background: #cefae9; }
.button-text { color: var(--text); padding-inline: 7px; }
.button-text:hover { color: var(--mint); }
.hero-footnote { margin-top: 42px; color: #a2afbf; font-size: 12px; }
.hero-footnote span { display: inline-block; padding-inline: 9px; color: #64768a; }
.analysis-map { position: relative; width: 100%; }
.analysis-map::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at center, #1635304a, transparent 67%); pointer-events: none; }
.analysis-map svg { width: 100%; height: auto; }
.analysis-map figcaption { margin-top: 5px; padding-inline: 16px; color: #a3b2c4; font-size: 12px; text-align: center; }
.map-background { fill: #0d1929; stroke: #2b4050; }
.map-top-rule { stroke: #2a3b4c; fill: none; }
.map-kicker, .map-index, .map-number, .map-footer { font-family: var(--mono); }
.map-kicker { fill: #bbc8d5; font-size: 10px; letter-spacing: 1px; }
.map-index { fill: #81a397; font-size: 11px; }
.map-arrow { stroke: #81b8a5; stroke-width: 1.2; fill: none; }
.map-node { fill: #0d1929; }
.map-symbol, .map-symbol-soft { fill: #0d1929; stroke: var(--mint); stroke-width: 1.5; }
.map-symbol-soft { stroke: #557f78; }
.map-stage { font-family: var(--font); font-size: 13px; font-weight: 600; fill: #c4eddd; letter-spacing: .4px; }
.map-description { font-family: var(--font); font-size: 14px; fill: #b6c1d0; }
.map-number { fill: #77988e; font-size: 10px; }
.map-footer { fill: #9eafbd; font-size: 8px; letter-spacing: .8px; }

.section { padding-block: 100px; }
.section-project { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.section-label { display: flex; gap: 15px; align-items: center; padding-top: 7px; color: #b7c4d1; font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; }
.section-label span { color: var(--mint-strong); }
h2 { font-size: clamp(34px, 3.5vw, 48px); letter-spacing: -.045em; line-height: 1.15; }
.section-intro { max-width: 680px; margin-top: 23px; color: var(--muted); font-size: 17px; }
.project-rows { margin-top: 65px; border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 60px 1.05fr 1.3fr auto; align-items: baseline; gap: 28px; padding-block: 31px; border-bottom: 1px solid var(--line); }
.row-index { color: var(--mint-strong); font-family: var(--mono); font-size: 12px; }
.project-row h3 { font-size: 21px; letter-spacing: -.6px; line-height: 1.3; }
.project-row p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.row-category { min-width: 105px; color: #a7bdbe; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-align: right; }

.section-method { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.method-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(50px, 8vw, 110px); }
.method-intro .section-label { margin-bottom: 29px; }
.method-intro > p:not(.section-label) { max-width: 400px; margin-top: 25px; color: var(--muted); }
.method-principle { display: flex; align-items: flex-start; gap: 18px; margin-top: 43px; padding-top: 27px; border-top: 1px solid var(--line); }
.principle-mark { color: var(--mint); font-size: 27px; line-height: 1.1; font-weight: 300; }
.method-principle p { color: #aab9c8; font-size: 14px; line-height: 1.8; }
.method-principle strong { color: var(--mint); font-weight: 550; }
.method-steps { list-style: none; counter-reset: none; padding: 0; margin: 0; }
.method-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.method-steps li:first-child { padding-top: 0; border-top: 0; }
.method-steps li:last-child { padding-bottom: 0; }
.step-number { padding-top: 3px; color: var(--mint-strong); font-family: var(--mono); font-size: 12px; }
.method-steps h3 { margin-bottom: 12px; font-size: 20px; letter-spacing: -.4px; line-height: 1.3; }
.method-steps p { color: var(--muted); font-size: 14px; line-height: 1.75; }

.section-development { padding-bottom: 0; }
.development-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 76px; padding: 50px; border: 1px solid #36594f; border-radius: 10px; background: linear-gradient(120deg, #102722 0%, #0c1b26 73%); }
.development-title .section-label { margin-bottom: 33px; }
.status-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 9px; border: 1px solid #45665a; border-radius: 3px; color: #c2ebd9; font-family: var(--mono); font-size: 9px; letter-spacing: .9px; }
.status-label > span { width: 5px; height: 5px; border: 1px solid #b2eed8; border-radius: 50%; }
.development-title h2 { font-size: clamp(31px, 3.2vw, 42px); }
.development-copy { padding-top: 7px; }
.development-lead { color: #d0dedf; font-size: 17px; line-height: 1.7; }
.development-list { list-style: none; margin: 25px 0 27px; padding: 0; }
.development-list li { position: relative; padding: 8px 0 8px 19px; color: #b2c4ca; font-size: 14px; }
.development-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 5px; height: 1px; background: var(--mint); }
.connection-note { display: flex; gap: 13px; padding-top: 22px; border-top: 1px solid #35504e; }
.connection-symbol { color: var(--mint); font-size: 18px; }
.connection-note p { color: #b4c7cc; font-size: 12px; line-height: 1.8; }
.connection-note strong { color: #daebe3; font-weight: 600; }

.scope-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.scope-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; margin-top: 53px; }
.scope-columns article { padding-top: 23px; border-top: 1px solid var(--line); }
.scope-columns h3 { margin-bottom: 17px; font-size: 18px; letter-spacing: -.4px; }
.scope-columns p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 38px; }
.footer-brand { font-size: 25px; gap: 0; }
.brand-dot { color: var(--mint); }
.footer-inner p { margin-top: 4px; color: #9eafbe; font-size: 12px; }
.back-top { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 13px; text-decoration: none; }
.back-top span { color: var(--mint); }
.back-top:hover { color: var(--mint); }

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1.15fr .95fr; gap: 22px; }
  h1 { font-size: clamp(56px, 7.7vw, 78px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 9px; }
  .button { padding-inline: 14px; gap: 12px; font-size: 13px; }
  .project-row { grid-template-columns: 36px 1fr 1.3fr; gap: 23px; }
  .row-category { display: none; }
  .development-panel { gap: 40px; padding: 38px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 82px; flex-wrap: wrap; gap: 0 20px; padding-block: 15px 9px; }
  .brand { font-size: 23px; }
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 54px 48px; gap: 40px; }
  .hero-copy { max-width: 620px; }
  .eyebrow { margin-bottom: 24px; font-size: 10px; }
  h1 { font-size: clamp(54px, 11.7vw, 83px); }
  .hero-lead { max-width: 500px; margin-top: 25px; font-size: 17px; }
  .hero-actions { margin-top: 26px; gap: 16px; }
  .button { padding-inline: 17px; font-size: 13px; }
  .hero-footnote { margin-top: 29px; }
  .analysis-map { width: min(100%, 440px); justify-self: center; }
  .section { padding-block: 64px; }
  .section-heading, .scope-heading { grid-template-columns: 1fr; gap: 26px; }
  h2 { font-size: clamp(32px, 6.6vw, 43px); }
  .section-intro { margin-top: 22px; font-size: 16px; }
  .project-rows { margin-top: 40px; }
  .project-row { grid-template-columns: 30px 1fr; gap: 8px 18px; padding-block: 25px; }
  .project-row h3 { font-size: 20px; }
  .project-row p { grid-column: 2; max-width: 530px; }
  .method-layout { grid-template-columns: 1fr; gap: 41px; }
  .method-intro > p:not(.section-label) { max-width: 550px; }
  .method-principle { max-width: 470px; margin-top: 27px; }
  .method-steps li { gap: 10px; }
  .development-panel { grid-template-columns: 1fr; gap: 27px; padding: 29px 24px; }
  .development-title .section-label { margin-bottom: 25px; }
  .development-title h2 { font-size: 35px; }
  .development-copy { padding-top: 0; }
  .development-lead { font-size: 16px; }
  .section-development { padding-bottom: 0; }
  .scope-columns { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .scope-columns p { max-width: 570px; }
  .footer-inner { align-items: flex-start; padding-block: 29px; }
  .footer-inner p { max-width: 240px; }
}

@media (max-width: 430px) {
  .header-inner { gap: 2px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 12px; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(48px, 12.4vw, 55px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 5px; }
  .button-text { padding-left: 0; }
  .hero-footnote { max-width: 280px; font-size: 11px; line-height: 1.9; }
  .analysis-map figcaption { font-size: 11px; }
  .development-panel { padding-inline: 21px; }
  .development-title h2 { font-size: 31px; }
  .section-label { font-size: 10px; letter-spacing: .9px; }
  .footer-inner { flex-direction: column; gap: 18px; }
}

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