/* Schemantics landing (A5 Plant as code). 원본 시안: artifacts/landing-research/2026-11-19/mockups/a5 */
@font-face {font-family:Geist;src:url("/assets/media/Geist.woff2") format("woff2");font-weight:100 900;font-display:swap;}
@font-face {font-family:"Geist Mono";src:url("/assets/media/GeistMono.woff2") format("woff2");font-weight:100 900;font-display:swap;}
@font-face {font-family:Newsreader;src:url("/assets/media/Newsreader.woff2") format("woff2");font-weight:300 600;font-style:normal;font-display:swap;}
@font-face {font-family:Newsreader;src:url("/assets/media/Newsreader-Italic.woff2") format("woff2");font-weight:300 600;font-style:italic;font-display:swap;}
:root {
  --paper:#f3f1ea; --sheet:#fbfaf6; --ink:#15171c; --ink-2:#2b2e36; --muted:#646a75; --rule:rgba(21,23,28,.16);
  --ed:#0f1115; --ed-2:#171a21; --ed-line:#ffffff17; --ed-text:#d5d8df; --ed-dim:#6f7682;
  --lime:#dcf794; --blue:#2358d4; --key:#9fb6ff; --num:#f4c58f; --pur:#c7a3ff;
  --serif:"Newsreader",Georgia,serif; --sans:Geist,system-ui,sans-serif; --mono:"Geist Mono",ui-monospace,monospace;
  --gutter:clamp(16px,3.5vw,48px);
  /* Shared with the console (console/src/styles/base.css): hairline borders, rounded corners, sans headings. */
  --radius:8px; --radius-lg:14px; --nav-height:56px;
  --soft-shadow:0 1px 2px rgba(21,23,28,.05),0 12px 32px -12px rgba(21,23,28,.18);
}
*,*::before,*::after {box-sizing:border-box;}
[hidden] {display:none!important;}
body {margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 var(--sans);-webkit-font-smoothing:antialiased;}
h1,h2,h3,p,dl,dd,ul,ol,pre {margin:0;padding:0;}
ul,ol {list-style:none;}
a {color:inherit;text-decoration:none;}
button {font:inherit;color:inherit;}
:focus-visible {outline:2px solid var(--blue);outline-offset:2px;}
.label {font:500 13px/1.3 var(--sans);color:var(--muted);}
.badge {display:inline-flex;gap:6px;align-items:center;font:500 12px/1 var(--sans);padding:5px 9px;border:1px solid currentColor;border-radius:6px;white-space:nowrap;}
.btn {display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border:1px solid var(--rule);border-radius:var(--radius);font-weight:500;font-size:14px;background:var(--sheet);cursor:pointer;transition:background .15s ease,border-color .15s ease;}
.btn:hover {border-color:var(--muted);}
.btn.ink {background:var(--ink);border-color:var(--ink);color:var(--sheet);}
.btn.ink:hover {background:var(--blue);border-color:var(--blue);}

/* ---------- 히어로: 화면 전체가 3D ---------- */
.hero {position:relative;height:min(100svh,980px);min-height:640px;overflow:hidden;background:var(--paper);border-bottom:1px solid var(--rule);}
#stage {position:absolute;inset:0;}
#stage canvas {display:block;width:100%;height:100%;cursor:grab;touch-action:none;}
#stage canvas.pointer {cursor:pointer;}
.nav {position:fixed;z-index:20;inset:0 0 auto;display:flex;align-items:center;gap:20px;height:var(--nav-height);padding:0 var(--gutter);
  background:color-mix(in srgb,var(--sheet) 72%,transparent);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);border-bottom:1px solid var(--rule);}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {.nav {background:var(--sheet);}}
.brand {display:inline-flex;gap:9px;align-items:center;font-weight:600;font-size:16px;letter-spacing:-.02em;}
.brand img {width:26px;height:26px;border-radius:2px;}
.nav nav {display:flex;gap:2px;font-size:13.5px;font-weight:500;color:var(--ink-2);}
.nav nav a {display:inline-flex;align-items:center;height:34px;padding:0 10px;border-radius:6px;}
.nav nav a:hover {background:rgba(21,23,28,.06);}
.nav .btn {margin-left:auto;min-height:34px;padding:0 12px;font-size:13px;}
html {scroll-padding-top:calc(var(--nav-height) + 16px);}
.copy {position:absolute;z-index:3;left:var(--gutter);top:clamp(96px,14vh,150px);max-width:min(560px,46vw);pointer-events:none;}
.copy > * {pointer-events:auto;}
h1 {font:600 clamp(46px,6vw,88px)/.98 var(--sans);letter-spacing:-.045em;margin-top:14px;}
h1 em {font-style:normal;color:var(--muted);}
h1 code {font:500 .62em var(--mono);letter-spacing:-.04em;background:var(--ink);color:var(--lime);padding:.04em .2em .08em;border-radius:.16em;vertical-align:.08em;}
.copy p.lede {margin-top:20px;font-size:17px;color:var(--ink-2);max-width:30em;background:linear-gradient(90deg,rgba(243,241,234,.92),rgba(243,241,234,.6));padding:2px 0;}
.copy .actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;}

.dock {position:absolute;z-index:3;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:5px;background:var(--ink);border-radius:999px;box-shadow:0 12px 30px -12px rgba(0,0,0,.45);}
.dock button {border:0;background:none;color:#aeb4bf;padding:8px 14px;border-radius:999px;font:500 13px var(--sans);cursor:pointer;white-space:nowrap;}
.dock button[aria-pressed="true"] {background:var(--lime);color:var(--ink);}
.dock .sep {width:1px;height:20px;background:#ffffff26;margin:0 4px;}
.dock .loop[aria-pressed="true"] {background:#fff;}

.hint {position:absolute;z-index:2;right:var(--gutter);bottom:28px;font:500 12px var(--sans);color:var(--muted);}
.tip {position:absolute;z-index:4;pointer-events:none;background:var(--ink);color:#fff;font:500 12px var(--mono);padding:6px 9px;border-radius:6px;white-space:nowrap;transform:translate(14px,14px);display:none;}
.tip small {color:#aeb4bf;margin-left:6px;}

.card {position:absolute;z-index:3;right:var(--gutter);top:calc(var(--nav-height) + 20px);width:min(340px,calc(100vw - 32px));background:var(--sheet);border:1px solid var(--rule);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--soft-shadow);display:none;}
.card.on {display:block;}
.card header {display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 16px 12px;border-bottom:1px solid var(--rule);}
.card h3 {font:600 22px/1.1 var(--sans);letter-spacing:-.02em;}
.card .type {font:500 12px var(--mono);color:var(--blue);margin-top:6px;}
.card .x {border:1px solid var(--rule);border-radius:6px;background:none;width:28px;height:28px;cursor:pointer;flex:none;}
.card canvas {display:block;width:100%;height:120px;background:#fff;border-bottom:1px solid var(--rule);}
.card dl {display:grid;grid-template-columns:auto 1fr;gap:6px 12px;padding:12px 16px 14px;font-size:13px;}
.card dt {font:500 11px var(--mono);color:var(--muted);letter-spacing:.04em;padding-top:2px;white-space:nowrap;}
.card dd {font:500 12.5px/1.45 var(--mono);word-break:break-word;}
.card .src {display:flex;justify-content:space-between;padding:7px 16px;font:500 10.5px var(--mono);color:var(--muted);letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid var(--rule);}
.legend3d {position:absolute;z-index:2;left:var(--gutter);bottom:26px;display:flex;gap:14px;flex-wrap:wrap;font:500 12px var(--sans);color:var(--muted);}
.legend3d i {display:inline-block;width:10px;height:10px;margin-right:6px;vertical-align:-1px;border:1px solid var(--rule);border-radius:3px;}
.hero::after {content:"";position:absolute;z-index:1;inset:0 auto 0 0;width:min(52vw,720px);pointer-events:none;background:linear-gradient(90deg,rgba(243,241,234,.94) 0%,rgba(243,241,234,.7) 55%,rgba(243,241,234,0) 100%);}
.labels {position:absolute;inset:0;pointer-events:none;z-index:1;isolation:isolate;}
.lbl {font:500 11px/1.2 var(--mono);padding:4px 7px;border-radius:5px;white-space:nowrap;transform:translateY(-14px);}
.lbl b {font-weight:600;}
.lbl span {margin-left:6px;opacity:.75;}
.lbl.eq {background:var(--ink);color:var(--lime);}
.lbl.va {background:rgba(15,17,21,.82);color:#d5d8df;}
.lbl.va:not(.tagged) {background:none;color:var(--ink-2);padding:0;}
.lbl.va:not(.tagged) span {margin:0;}
.lbl.in {background:#fff3e0;color:#7a4300;border:1px solid #f4c58f;border-radius:999px;}
.lbl.on {outline:2px solid var(--lime);outline-offset:1px;}
.loading {position:absolute;inset:0;display:grid;place-items:center;font:500 14px var(--sans);color:var(--muted);}

/* ---------- 2D 토폴로지 + yaml ---------- */
section.block {padding:clamp(56px,8vw,96px) 0;border-bottom:1px solid var(--rule);}
.wrap {width:min(100% - 2 * var(--gutter),1320px);margin-inline:auto;}
.sec-head {display:grid;gap:14px;margin-bottom:clamp(28px,4vw,40px);}
h2 {font:600 clamp(30px,3.6vw,48px)/1.08 var(--sans);letter-spacing:-.035em;max-width:22em;}
h2 em {font-style:normal;color:var(--muted);}
.sec-head p:not(.label) {margin-top:14px;color:var(--ink-2);font-size:17px;max-width:38em;}
.topo {display:grid;grid-template-columns:minmax(0,1fr) 420px;border-radius:var(--radius-lg);overflow:hidden;background:var(--ed);box-shadow:var(--soft-shadow);}
.topo-head {display:flex;justify-content:space-between;align-items:center;padding:0 14px;min-height:42px;border-bottom:1px solid var(--ed-line);color:var(--ed-dim);}
.graph {border-right:1px solid var(--ed-line);min-width:0;}
.graph svg {display:block;width:100%;height:auto;}
.graph [data-key] {cursor:pointer;}
.graph [data-key]:hover .hit, .graph [data-key].on .hit {stroke:var(--lime);stroke-width:5;}
.graph [data-key].on text.tag {fill:var(--lime);}
.yaml {display:flex;flex-direction:column;min-width:0;color:var(--ed-text);}
.yaml pre {flex:1;padding:16px 18px;font:12.5px/1.75 var(--mono);white-space:pre-wrap;overflow:auto;max-height:560px;}
.k{color:var(--key)}.s{color:var(--lime)}.n{color:var(--num)}.p{color:var(--pur)}.c{color:var(--ed-dim)}
.vlegend {display:flex;flex-wrap:wrap;gap:14px;padding:10px 14px;border-top:1px solid var(--ed-line);font:500 11px var(--mono);color:var(--ed-dim);}
.vlegend span {display:inline-flex;align-items:center;gap:4px;} .vlegend svg {width:30px;height:28px;flex:none;}

.status {width:100%;border-collapse:separate;border-spacing:0;background:var(--sheet);border:1px solid var(--rule);border-radius:var(--radius-lg);overflow:hidden;font-size:15px;}
.status th {font:500 13px var(--sans);color:var(--muted);text-align:left;padding:12px 18px;}
.status td {padding:16px 18px;border-top:1px solid var(--rule);vertical-align:middle;}
.status th:first-child,.status td:first-child {width:170px;}
.status td:last-child {color:var(--muted);font-size:14px;}
.st-beta {color:#3f5a00;background:var(--lime);border-color:#b7d466;} .st-today {color:var(--blue);} .st-res {color:var(--muted);border-style:dashed;} .st-soon {color:var(--ink);border-color:var(--rule);}
footer {padding:24px 0 40px;}
footer .wrap {display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--muted);}
footer a {text-decoration:underline;text-underline-offset:3px;}


/* ---------- 연결 시트 ---------- */
.tabs {display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;margin-left:-6px;}
.tabs button {border:0;background:none;color:var(--ed-dim);font:500 11.5px var(--mono);letter-spacing:.04em;padding:12px 10px 10px;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;position:relative;}
.tabs button i {font-style:normal;opacity:.6;margin-left:3px;}
.tabs button[aria-selected="true"] {color:var(--ed-text);border-bottom-color:var(--lime);}
.tabs button.has::after {content:"";position:absolute;top:8px;right:3px;width:6px;height:6px;border-radius:50%;background:var(--lime);}
.sheet svg {display:block;width:100%;height:auto;}
.sheet [data-key] {cursor:pointer;}
.sheet [data-key]:hover .hit, .sheet [data-key].on .hit {stroke:var(--lime);stroke-width:4.5;}
.sheet [data-key].on text.tag {fill:var(--lime);}
.msheet {display:grid;grid-template-columns:1.2fr 1fr;gap:0;min-height:420px;}
.msheet .mcol {padding:22px 24px;font-size:15px;line-height:1.65;}
.msheet .mcol:first-child {background:#fbfaf6;color:var(--ink);}
.msheet .mcol + .mcol {border-left:1px solid var(--ed-line);}
.msheet h4 {font:600 19px var(--sans);margin:10px 0 10px;}
.msheet p + p {margin-top:10px;}
.msheet .label {color:var(--muted);}
.msheet .mcol + .mcol .label {color:var(--ed-dim);}
.mlink {background:linear-gradient(transparent 58%,var(--lime) 58%);cursor:pointer;}
.mlink.on {background:var(--lime);outline:2px solid var(--ink);}
.mfoot {font:500 11px var(--mono);color:var(--muted);margin-top:18px!important;}
.mfacts {display:grid;gap:10px;margin-top:12px;font:13px/1.5 var(--mono);}
.mfacts li {border:1px solid var(--ed-line);border-radius:var(--radius);padding:9px 11px;}
.mfacts .mlink {background:none;color:var(--lime);border-bottom:1px dashed var(--lime);}
.mfacts .mlink.on {background:none;outline:none;border-bottom-style:solid;}
.mfacts b {color:var(--num);font-weight:500;}
.mfacts em {display:block;font-style:normal;color:var(--ed-dim);font-size:11.5px;}
.field {display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1px;background:var(--ed-line);}
.field figure {margin:0;background:var(--ed);position:relative;}
.field figure[data-key] {cursor:pointer;}
.field figure.on {outline:3px solid var(--lime);outline-offset:-3px;z-index:1;}
.field img {display:block;width:100%;aspect-ratio:4/3;object-fit:cover;}
.field figcaption {padding:8px 10px 10px;font:500 11px/1.45 var(--mono);color:var(--ed-dim);}
.field figcaption b {display:block;color:var(--ed-text);font-weight:500;font-size:12px;}
.field figcaption a {text-decoration:underline;text-underline-offset:2px;}
.fnote,.fempty {padding:10px 14px;font:500 11px var(--mono);color:var(--ed-dim);border-top:1px solid var(--ed-line);}
.c-links {display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:0 16px 12px;font:500 10.5px var(--mono);color:var(--muted);letter-spacing:.04em;}
.c-links span {text-transform:uppercase;letter-spacing:.08em;margin-right:2px;}
.c-links button {border:1px solid var(--rule);border-radius:5px;background:#fff;font:500 11px var(--mono);padding:3px 7px;cursor:pointer;color:var(--ink);}
.c-links button i {font-style:normal;color:var(--muted);}
.c-links button:hover {border-color:var(--ink);}
.c-photo {margin:0;border-top:1px solid var(--rule);}
.c-photo img {display:block;width:100%;height:120px;object-fit:cover;}
.c-photo figcaption {padding:6px 16px 9px;font:500 10.5px/1.4 var(--mono);color:var(--muted);}
.c-photo a {text-decoration:underline;}
@media (max-width:720px) {#sheet-sld,#sheet-logic {overflow-x:auto;} #sheet-sld svg,#sheet-logic svg {min-width:760px;} .msheet {grid-template-columns:1fr;} .msheet .mcol + .mcol {border-left:0;border-top:1px solid var(--ed-line);}}

@media (max-width:1020px) {
  .topo {grid-template-columns:1fr;}
  .graph {border-right:0;border-bottom:1px solid var(--ed-line);}
  .copy {max-width:calc(100vw - 2 * var(--gutter));}
}
@media (max-width:720px) {
  .nav nav {display:none;}
  .hero {height:auto;min-height:0;display:flex;flex-direction:column;}
  .copy {position:relative;left:auto;top:auto;padding:calc(var(--nav-height) + 28px) var(--gutter) 16px;max-width:none;}
  .copy p.lede {font-size:16px;}
  #stage {position:relative;height:62svh;min-height:380px;border-top:1px solid var(--rule);}
  .dock {bottom:auto;top:calc(100% - 64px);max-width:calc(100vw - 24px);overflow-x:auto;}
  .dock button {padding:8px 11px;font-size:11px;}
  .hint,.legend3d {display:none;}
  .card {position:fixed;top:auto;bottom:12px;right:12px;left:12px;width:auto;max-height:55svh;overflow:auto;z-index:6;}
  .card canvas {height:88px;}
    .hero::after {display:none;}
}
@media (prefers-reduced-motion:reduce) {* {scroll-behavior:auto;}}

/* ---------- photos.css ---------- */
/* A5 사진 섹션: 현장 → 도면 → 관제 띠와 사진 배경 마무리 CTA. 출처는 각 사진 캡션과 shared/photos 원본의 CREDITS.md */
.ph-band {padding:clamp(56px,8vw,96px) 0;border-bottom:1px solid var(--rule);}
.ph-band .ph-intro {display:grid;gap:14px;margin-bottom:clamp(28px,4vw,40px);}
.ph-band .ph-intro p.ph-sub {margin-top:14px;color:var(--ink-2);font-size:17px;max-width:38em;}
.ph-strip {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.ph-shot {position:relative;margin:0;overflow:hidden;aspect-ratio:4/5;border-radius:var(--radius-lg);background:var(--ed);}
.ph-shot img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.82) contrast(1.04);transition:transform 1.2s cubic-bezier(.2,.7,.1,1);}
.ph-shot:hover img {transform:scale(1.035);}
.ph-shot::after {content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,17,21,0) 45%,rgba(15,17,21,.82) 100%);}
.ph-shot figcaption {position:absolute;z-index:1;left:0;right:0;bottom:0;display:grid;grid-template-rows:auto auto 3em;padding:20px;color:#fff;}
.ph-shot .ph-step {font:500 13px/1 var(--sans);color:var(--lime);}
.ph-shot h3 {font:600 22px/1.15 var(--sans);letter-spacing:-.025em;margin:10px 0 6px;}
.ph-shot p {font-size:14px;color:#d5d8df;max-width:24em;}
.ph-shot .ph-credit {display:block;margin-top:12px;font:500 10px/1.3 var(--mono);letter-spacing:.04em;color:#9aa1ad;}
.ph-shot .ph-credit a {color:inherit;text-decoration:underline;text-underline-offset:2px;}

.ph-cta {position:relative;overflow:hidden;min-height:min(70svh,640px);display:grid;align-items:end;color:#fff;}
.ph-cta > img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.85);}
.ph-cta::before {content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(10,14,24,.92) 0%,rgba(10,14,24,.78) 38%,rgba(10,14,24,.2) 72%,rgba(10,14,24,.05) 100%),linear-gradient(180deg,rgba(10,14,24,0) 60%,rgba(10,14,24,.7) 100%);}
.ph-cta .wrap {position:relative;z-index:2;padding:clamp(56px,8vw,96px) 0;}
.ph-cta .label {color:var(--lime);}
.ph-cta h2 {color:#fff;font-size:clamp(38px,5.2vw,72px);line-height:1.02;margin-top:16px;max-width:12em;}
.ph-cta h2 em {color:#aeb6c4;}
.ph-cta p.ph-sub {margin-top:18px;color:#d5d8df;font-size:17px;max-width:32em;}
.ph-cta .actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:26px;}
.ph-cta .btn {background:transparent;border-color:#ffffff66;color:#fff;}
.ph-cta .btn.lime {background:var(--lime);color:var(--ink);border-color:var(--lime);}
.ph-cta .btn.lime:hover {background:#fff;border-color:#fff;}
.ph-cta .ph-credit {position:absolute;z-index:2;right:var(--gutter);bottom:14px;font:500 10px/1.3 var(--mono);color:#9aa1ad;letter-spacing:.04em;}

@media (max-width:1020px) {
  .ph-strip {grid-template-columns:1fr 1fr;}
  .ph-shot:first-child {grid-column:1/-1;aspect-ratio:16/9;}
}
@media (max-width:720px) {
  .ph-strip {grid-template-columns:1fr;}
  .ph-shot, .ph-shot:first-child {aspect-ratio:4/3;}
  .ph-cta .ph-credit {left:var(--gutter);right:auto;}
  .ph-shot::after {background:linear-gradient(180deg,rgba(15,17,21,.05) 20%,rgba(15,17,21,.88) 78%);}
}
@media (prefers-reduced-motion:reduce) {.ph-shot img {transition:none;}}

/* 상태표: A6와 같이 좁은 화면에서 행을 세로로 쌓는다 */
@media (max-width:720px) {
  #status .status thead {display:none;}
  #status .status tr {display:block;border-top:1px solid var(--rule);padding:8px 0;}
  #status .status td {display:block;border:0;padding:4px 14px;}
}

/* 시뮬레이션 유량 HUD (flow.js). 실제 계측값이 아님을 머리말에 밝힌다 */
.flow-hud {position:absolute;z-index:3;left:var(--gutter);bottom:58px;width:290px;background:rgba(15,17,21,.88);color:#d5d8df;border:0;border-radius:var(--radius-lg);backdrop-filter:blur(6px);font:500 11.5px/1.4 var(--mono);padding:12px 14px 10px;pointer-events:none;}
.flow-hud .fh-head {display:flex;align-items:center;gap:7px;margin:0 0 6px;color:var(--lime);font:500 12px var(--sans);}
.flow-hud .fh-head span:last-child {margin-left:auto;color:#8b93a1;letter-spacing:.04em;text-transform:none;}
.flow-hud .fh-dot {width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 0 rgba(220,247,148,.6);animation:fh-pulse 1.6s infinite;}
@keyframes fh-pulse {70% {box-shadow:0 0 0 6px rgba(220,247,148,0);} 100% {box-shadow:0 0 0 0 rgba(220,247,148,0);}}
.flow-hud dl {display:grid;grid-template-columns:1fr auto;gap:3px 10px;margin:0;}
.flow-hud dt {color:#8b93a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.flow-hud dd {margin:0;text-align:right;white-space:nowrap;}
.flow-hud dd b {color:#fff;font-weight:600;font-variant-numeric:tabular-nums;}
@media (max-width:720px) {.flow-hud {left:12px;right:12px;width:auto;bottom:auto;top:calc(100% - 64px - 118px);}}
@media (prefers-reduced-motion:reduce) {.flow-hud .fh-dot {animation:none;}}
