/* Hallmark · genre: modern-minimal · macrostructure: Workbench · theme: Cobalt · enrichment: none · audience: cathode researchers · use: trace and compare · tone: technical */
:root { color-scheme: light; --paper: oklch(98.5% 0.004 250); --surface: oklch(100% 0.002 250); --ink: oklch(24% 0.02 258); --muted: oklch(49% 0.015 258); --rule: oklch(88% 0.012 250); --blue: oklch(58% 0.20 256); --danger: oklch(52% 0.17 24); --warn: oklch(48% 0.11 75); --space: 1rem; font-family: Inter, "Noto Sans KR", system-ui, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); line-height: 1.55; }
.skip { position: absolute; transform: translateY(-120%); background: var(--ink); color: var(--surface); padding: .5rem 1rem; z-index: 20; }
.skip:focus { transform: translateY(0); }
.masthead { min-height: 64px; padding: 0 clamp(1rem, 4vw, 3.5rem); border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { display: inline-grid; place-items: center; background: var(--blue); color: white; width: 27px; height: 27px; border-radius: 5px; font-size: .9rem; }
.edition, .eyebrow, .masthead-right, .count, .section-mark, small, footer { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; letter-spacing: .04em; }
.edition { color: var(--muted); font-weight: 400; margin-left: .65rem; }
.masthead-right { color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
main { max-width: 1420px; padding: 0 clamp(1rem, 4vw, 3.5rem) 5rem; margin: auto; }
.intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: end; padding: clamp(3rem, 7vw, 6rem) 0 3rem; }
.eyebrow { color: var(--blue); font-weight: 700; margin: 0 0 .75rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; letter-spacing: -.04em; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 5vw, 4.7rem); max-width: 13ch; margin-bottom: 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; }
h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.intro-copy { max-width: 35ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.2rem); margin: 0 0 .25rem; }
.access { background: var(--ink); color: var(--surface); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; border-radius: 10px; }
.access .eyebrow { color: oklch(76% 0.12 256); }
.access p:not(.eyebrow) { color: oklch(80% 0.01 250); font-size: .88rem; margin: .8rem 0 0; }
.access-form { align-self: end; }
label { display: block; font-size: .82rem; font-weight: 650; margin-bottom: .45rem; }
.field-row { display: flex; gap: .5rem; }
input, button { font: inherit; border-radius: 6px; min-height: 44px; }
input { min-width: 0; width: 100%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); padding: .6rem .8rem; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
input:invalid:not(:placeholder-shown) { border-color: var(--danger); }
button { border: 1px solid var(--blue); background: var(--blue); color: white; padding: .55rem .9rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
button:hover { filter: brightness(.94); }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: .55; }
.form-message { min-height: 1.3rem; }
.form-message[data-state="error"] { color: oklch(82% 0.09 22) !important; }
.workspace { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1.5rem; margin-top: 1.5rem; }
.projects, .lineage, .comparison { border: 1px solid var(--rule); background: var(--surface); padding: clamp(1.2rem, 2.6vw, 2rem); min-width: 0; border-radius: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.count, .section-mark { color: var(--blue); font-size: 1.1rem; }
.section-note { color: var(--muted); margin: 1rem 0 1.5rem; max-width: 66ch; }
.project-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.project-list li { border-bottom: 1px solid var(--rule); padding: 1rem 0; display: flex; flex-direction: column; gap: .25rem; overflow-wrap: anywhere; }
.project-list strong { font-size: 1rem; }
.project-list small { color: var(--muted); }
.empty { color: var(--muted); }
.lookup-form { margin-bottom: 1.5rem; }
.result { border-top: 1px solid var(--rule); padding-top: 1.4rem; min-height: 4rem; overflow-wrap: anywhere; }
.result.error { color: var(--danger); }
.result.warning h3 { color: var(--warn); }
.result.positive h3 { color: var(--blue); }
.fact { padding: .6rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(6rem, .4fr) minmax(0, 1fr); gap: 1rem; font-size: .9rem; }
.fact-label { color: var(--muted); }
.comparison { margin-top: 1.5rem; }
.compare-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .8rem; align-items: end; margin-bottom: 1.5rem; }
footer { max-width: 1420px; margin: 0 auto; padding: 1.2rem clamp(1rem, 4vw, 3.5rem) 2rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
@media (max-width: 800px) { .intro, .access, .workspace { grid-template-columns: minmax(0, 1fr); } .intro { gap: 1rem; } .compare-form { grid-template-columns: minmax(0, 1fr); } .compare-form button { justify-self: start; } }
@media (max-width: 500px) { .edition, .masthead-right { display: none; } .field-row { flex-direction: column; } .field-row button { width: 100%; } .fact { grid-template-columns: minmax(0, 1fr); gap: .15rem; } footer { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
