/* The dendrite problem, mapped — Forge Research. A cool microscope palette, one crimson filament. */
:root {
  --bg: #0C1016;
  --bg-2: #111720;
  --bg-3: #17202B;
  --ink: #E6EBF0;
  --ink-2: #BCC6D0;
  --muted: #7D8896;
  --muted-2: #5A6573;
  --rule: #1F2834;
  --rule-2: #2E3A48;
  --silver: #DCE3EA;
  --ice: #A9C7E0;
  --slate: #6F8299;
  --crimson: #E8364F;
  --rose: #F2788A;
  --amber: #E7B35A;
  --mint: #9ED8C3;
  --didone: var(--kit-didone);
  --sans: var(--kit-plain);
  --mono: var(--kit-mono);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(28px, 5.4vw, 64px); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.mono, .src-n, .hyp-n, .hyp-y { font-variant-ligatures: none; }

.c-ice { --c: var(--ice); } .c-rose { --c: var(--rose); } .c-amber { --c: var(--amber); }
.c-silver { --c: var(--silver); } .c-slate { --c: #8796A8; } .c-crimson { --c: var(--crimson); } .c-mint { --c: var(--mint); }

sup.fn { font: 600 0.62em/0 var(--mono); margin-left: 2px; letter-spacing: 0; }
sup.fn a { color: var(--ice); text-decoration: none; }
sup.fn a + a::before { content: ','; color: var(--muted-2); padding-right: 0.5px; }
sup.fn a:hover { color: var(--crimson); }

/* ---------------------------------------------------------------- cover */
.cover {
  min-height: 100vh; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 46% at 58% 66%, rgb(232 54 79 / 0.13), transparent 70%),
    radial-gradient(80% 40% at 12% 0%, rgb(169 199 224 / 0.07), transparent 70%),
    var(--bg);
}
.cover-in { display: flex; flex-direction: column; padding-top: 26px; padding-bottom: 26px; min-height: 100vh; }
.mast {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  font: 600 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 13px; border-bottom: 1px solid var(--rule-2);
}
.mast-c, .mast-r { color: var(--muted); font-weight: 500; }
.mast-r { text-align: right; }
.mark { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--crimson); margin-right: 9px; vertical-align: 0; box-shadow: 0 0 10px rgb(232 54 79 / 0.85); }
.cover-head { margin-top: 40px; }
.kicker { font: 600 12px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice); }
h1.title {
  font: 400 84px/0.98 var(--didone); letter-spacing: -0.012em; color: var(--silver);
  margin: 18px 0 22px; max-width: 780px; text-wrap: balance;
}
:lang(tr) h1.title { line-height: 1.04; }
.standfirst { font: 400 19px/1.55 var(--sans); color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }

.hero { margin: 30px 0 0; }
.hero-cap { display: flex; align-items: baseline; gap: 18px; padding-bottom: 12px; border-top: 1px solid var(--rule-2); padding-top: 14px; }
.hero-cap b { font: 600 14px/1.3 var(--sans); color: var(--ink); white-space: nowrap; }
.hero-cap span { font: 400 13px/1.45 var(--sans); color: var(--muted); }
.xsec-box { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule-2), 0 30px 80px -40px rgb(232 54 79 / 0.45); }
svg.xsec { display: block; width: 100%; height: auto; }
.xsec .press-arrow { stroke: var(--ice); stroke-width: 1.6; fill: none; opacity: 0.75; stroke-linecap: round; stroke-linejoin: round; }
.xsec .lab { font: 600 11.5px/1 var(--mono); letter-spacing: 0.14em; font-variant-ligatures: none; }
.xsec .lab-press { fill: var(--ice); opacity: 0.8; }
.xsec .lab-dark { fill: #34404D; }
.xsec .lab-plate { fill: rgb(10 14 19 / 0.78); }
.xsec .lab-light { fill: var(--ice); opacity: 0.72; }
.xsec .lab-note { fill: var(--muted); font-size: 10.5px; }
.xsec .gb line { stroke: #8FB0CF; stroke-opacity: 0.26; stroke-width: 1; }
.xsec .pore { fill: #05080B; opacity: 0.85; }
.xsec .void { fill: #06090D; stroke: #9AAABA; stroke-width: 1.1; }
.xsec .flaw { fill: #070A0E; }
.xsec .nuc { fill: #F4F8FB; }
.xsec .nuc-glow { fill: var(--crimson); opacity: 0.7; }
.xsec .crack { fill: none; stroke: #020305; stroke-width: 4.2; stroke-linejoin: round; stroke-linecap: round; }
.xsec .crack-hi { fill: none; stroke: var(--ice); stroke-width: 1; stroke-opacity: 0.7; stroke-linejoin: round; transform: translate(1.8px, 1px); }
.xsec .glow { fill: none; stroke: var(--crimson); stroke-width: 26; stroke-opacity: 0.7; stroke-linejoin: round; stroke-linecap: round; }
.xsec .glow.br { stroke-width: 15; stroke-opacity: 0.55; }
.xsec .hot { fill: none; stroke: #FF6F83; stroke-width: 10; stroke-opacity: 0.85; stroke-linejoin: round; stroke-linecap: round; }
.xsec .hot.br { stroke-width: 6; }
.xsec .tip-glow { fill: var(--crimson); opacity: 0.5; }
.xsec .core { fill: none; stroke: #EEF3F7; stroke-linecap: round; stroke-linejoin: round; }
.xsec .core.br { stroke-width: 3.2px; }
.xsec .hi { fill: none; stroke: #FFFFFF; stroke-width: 1; stroke-opacity: 0.9; stroke-linejoin: round; stroke-linecap: round; transform: translate(-0.6px, -0.4px); }
.xsec .hi.br { stroke-width: 0.6; }
.xsec .tip { fill: #FFFFFF; }
.xsec .leader { stroke: var(--ice); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.8; }
.xsec .anchor { fill: var(--ice); }
.xsec .pill { fill: rgb(10 14 19 / 0.82); stroke: rgb(169 199 224 / 0.35); stroke-width: 1; }
.xsec .pill-t { font: 600 12px/1 var(--sans); letter-spacing: 0.09em; fill: var(--silver); }
.xsec .mk-c { fill: var(--bg); stroke: var(--ice); stroke-width: 1.5; }
.xsec .mk-n { font: 600 14px/1 var(--mono); fill: var(--silver); font-variant-ligatures: none; }
.xsec .mk { cursor: pointer; outline: none; }
.xsec .mk:is(.hot, :focus-visible) .mk-c { fill: var(--crimson); stroke: #fff; }
.xsec .mk:is(.hot, :focus-visible) .pill { stroke: var(--crimson); }
.grow .xsec .core { animation: grow 0.45s calc(var(--i, 0) * 60ms) ease-out both; }
@keyframes grow { from { stroke-dasharray: 1 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1 1; stroke-dashoffset: 0; } }
.grow .xsec .glow, .grow .xsec .hi, .grow .xsec .tip { animation: fadein 1.6s 1.2s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.xsec .tip-glow { animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { opacity: 0.32; } 50% { opacity: 0.55; } }

.status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; border-top: 1px solid var(--rule-2); }
.st { padding: 14px 18px 4px 0; }
.st + .st { padding-left: 18px; border-left: 1px solid var(--rule); }
.st-name { font: 600 11.5px/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.st-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.st-line { margin-top: 9px; font: 400 14px/1.45 var(--sans); color: var(--ink-2); }
.st-est { --c: var(--mint); } .st-pro { --c: var(--amber); } .st-not { --c: var(--crimson); }
.st-name, .col-name { color: var(--c); }
.cover-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; font: 500 12px/1.3 var(--sans); color: var(--muted); }
.cover-foot .made { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); font-size: 11px; }

/* ---------------------------------------------------------------- sections */
section.wrap { padding-top: 104px; }
.sec-title { font: 400 44px/1.06 var(--didone); color: var(--silver); letter-spacing: -0.005em; margin-bottom: 30px; }
.sub-title { font: 600 13px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); margin: 54px 0 20px; }
.findings-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-2); }
.findings-list li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.findings-list .n { font: 400 34px/1 var(--didone); color: var(--crimson); }
.findings-list p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 74ch; }
.findings-list strong { color: var(--ink); font-weight: 600; }

.ch-head { border-top: 1px solid var(--rule-2); padding-top: 18px; margin-bottom: 30px; }
.ch-kicker { font: 600 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--crimson); }
.ch-head h2 { font: 400 52px/1.04 var(--didone); color: var(--silver); margin-top: 14px; max-width: 20ch; text-wrap: balance; }
.ch-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.prose p { font-size: 17px; line-height: 1.68; color: var(--ink-2); max-width: 66ch; }
.prose p + p { margin-top: 16px; }
.side { display: grid; gap: 28px; }
.pull { margin: 0; padding: 4px 0 0 22px; border-left: 2px solid var(--crimson); }
.pull .q { font: italic 400 23px/1.36 var(--didone); color: var(--silver); }
.pull .q-orig { margin-top: 10px; font: 400 13px/1.5 var(--sans); color: var(--muted); }
.pull .q-orig span { text-transform: uppercase; letter-spacing: 0.12em; font-size: 10.5px; font-weight: 600; }
.pull cite { display: block; margin-top: 12px; font: 600 12px/1.4 var(--sans); font-style: normal; letter-spacing: 0.06em; color: var(--muted); }

.fig { margin: 52px 0 0; }
.fig-head { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--rule-2); margin-bottom: 18px; }
.fig-head b { font: 600 15px/1.3 var(--sans); color: var(--ink); }
.fig-head span { font: 400 13px/1.45 var(--sans); color: var(--muted); }
.fig-source { margin-top: 12px; font: 400 12px/1.5 var(--sans); color: var(--muted); }
.chart-box { width: 100%; }
svg.chart { display: block; overflow: visible; }
svg.chart text { font-family: var(--sans); }

/* timeline */
.tl .yr { font: 500 11px/1 var(--mono); fill: var(--muted); font-variant-ligatures: none; }
.tl .yr-line { stroke: var(--rule); stroke-width: 1; }
.tl .brk { fill: none; stroke: var(--muted-2); stroke-width: 1.2; }
.tl .band26 { fill: var(--crimson); opacity: 0.09; }
.tl .band26-t { font: 600 10.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; fill: var(--crimson); }
.tl .band26-l { stroke: var(--crimson); stroke-width: 1; opacity: 0.6; }
.tl .col05 { fill: var(--ice); opacity: 0.035; }
.tl .yr26 { fill: var(--crimson); }
.tl .lane-line { stroke: var(--c); stroke-opacity: 0.22; stroke-width: 1; }
.tl .lane-dot { fill: var(--c); }
.tl .lane-lab { font: 500 13px/1 var(--sans); fill: var(--ink-2); }
.tl .tl-dot { cursor: pointer; outline: none; }
.tl .tl-dot circle { fill: color-mix(in srgb, var(--c) 22%, var(--bg)); stroke: var(--c); stroke-width: 1.4; }
.tl .tl-dot text { font: 600 11px/1 var(--mono); fill: var(--ink); font-variant-ligatures: none; }
.tl .tl-dot:is(.hot, :focus-visible) circle { fill: var(--c); }
.tl .tl-dot:is(.hot, :focus-visible) text { fill: var(--bg); }

/* hypotheses */
.hyps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hyp { background: var(--bg-2); border: 1px solid var(--rule); border-radius: 8px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; scroll-margin: 120px; }
.hyp-top { display: flex; justify-content: space-between; align-items: baseline; }
.hyp-n { font: 400 30px/1 var(--didone); color: var(--silver); }
.hyp-y { font: 500 12px/1 var(--mono); color: var(--muted); }
.hyp h4 { font: 600 17px/1.25 var(--sans); color: var(--ink); }
.hyp-claim { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.hyp-ev { font-size: 13.5px; line-height: 1.55; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--rule-2); }
.chip { margin-top: auto; align-self: flex-start; font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 99px; padding: 6px 10px 6px 9px; display: inline-flex; gap: 7px; align-items: center; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.s-yes { --c: var(--mint); } .s-mid { --c: var(--amber); } .s-no { --c: #8796A8; } .s-open { --c: var(--crimson); }
.hyp.s-open { border-color: rgb(232 54 79 / 0.4); background: linear-gradient(180deg, rgb(232 54 79 / 0.07), var(--bg-2) 60%); }

/* tables */
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
table.data thead th { font: 600 11px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule-2); }
table.data tbody th { font-weight: 600; color: var(--ink); }
table.data td { color: var(--ink-2); }
table.methods tbody th { width: 34%; }
table.methods td.src { width: 70px; white-space: nowrap; }
table.cells tbody th { width: 17%; font-size: 14px; }
table.cells td.res { color: var(--ink); font-family: var(--sans); }
table.cells td.out { color: var(--ink-2); }
table.cells td.out i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: 1px; }

/* pressure ladder and bars */
.ladder .grid-v, .ccd .grid-v { stroke: var(--rule); stroke-width: 1; }
.ladder .axis { stroke: var(--rule-2); }
.ladder .xlab, .ccd .xlab { font: 500 11px/1 var(--mono); fill: var(--muted); font-variant-ligatures: none; }
.ladder .row-rule { stroke: var(--rule); }
.ladder .row-lab { font: 400 13.5px/1 var(--sans); fill: var(--ink-2); }
.ladder .sref, .sref { font: 600 9px/1 var(--mono); fill: var(--ice); }
.ladder .ld-stem { stroke: var(--c); stroke-opacity: 0.35; stroke-width: 1.5; stroke-dasharray: 2 3; }
.ladder .ld-dot { fill: var(--c); }
.ladder .ld-dot.hollow { fill: var(--bg); stroke: var(--c); stroke-width: 2.4; }
.ladder .ld-band { fill: var(--c); fill-opacity: 0.32; stroke: var(--c); stroke-width: 1; }
.ladder .ld-more { fill: none; stroke: var(--c); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ccd .grp-lab { font: 600 13px/1 var(--mono); fill: var(--ink); font-variant-ligatures: none; }
.ccd .bar { fill: var(--c); }
.ccd .bar.c-silver { fill-opacity: 0.85; }
.ccd .bar-v { font: 600 13px/1 var(--mono); fill: var(--c); dominant-baseline: middle; font-variant-ligatures: none; }
.ccd .bar-k { font: 500 12px/1 var(--sans); fill: var(--muted); }

/* board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-2); }
.board .col { padding: 18px 22px 8px 0; }
.board .col + .col { padding-left: 22px; border-left: 1px solid var(--rule); }
.col-name { font: 600 12px/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.col-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.board ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.board li { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--rule); }
.board li:first-child { border-top: 0; padding-top: 0; }
.board strong { color: var(--ink); font-weight: 600; }
.board-q { margin-top: 40px; max-width: 640px; }

/* open questions */
.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.oq { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule); }
.oq-n { grid-row: span 2; font: 400 30px/1 var(--didone); color: var(--crimson); }
.oq-q { font: 600 16.5px/1.35 var(--sans); color: var(--ink); }
.oq-a { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* sources */
.sources { padding-bottom: 60px; }
.method { max-width: 78ch; margin-bottom: 56px; }
.method p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.src-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.src-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--rule); scroll-margin: 160px; transition: background 0.6s; }
.src-list li.flash { background: rgb(232 54 79 / 0.14); }
.src-n { font: 600 13px/1.5 var(--mono); color: var(--crimson); }
.src-pub { font: 600 11px/1.45 var(--sans); letter-spacing: 0.06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.tag { font: 600 9.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 6px; border-radius: 3px; }
.tag.peer { color: var(--mint); border: 1px solid rgb(158 216 195 / 0.4); }
.tag.pre { color: var(--amber); border: 1px solid rgb(231 179 90 / 0.45); }
.src-title { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.src-kind { margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }
.src-url { margin-top: 3px; font: 400 11.5px/1.4 var(--mono); word-break: break-all; font-variant-ligatures: none; }
.src-url a { color: var(--ice); text-decoration: none; }
.src-url a:hover { text-decoration: underline; }
.src-read { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.colophon { border-top: 1px solid var(--rule-2); padding: 20px 0 30px; font: 500 12px/1.3 var(--sans); color: var(--muted); }
.colophon .wrap { display: flex; justify-content: space-between; }

/* tooltip */
.tip {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; max-width: 340px;
  background: rgb(17 23 32 / 0.97); border: 1px solid var(--rule-2); border-radius: 8px; padding: 11px 13px;
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.8); opacity: 0; transition: opacity 0.12s;
  font: 400 13px/1.45 var(--sans); color: var(--ink-2);
}
.tip.on { opacity: 1; }
.tip-k { font: 600 10.5px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--muted); font-variant-ligatures: none; }
.tip-t { margin-top: 4px; font-weight: 600; color: var(--ink); }
.tip-b { margin-top: 6px; }
.tip-b sup.fn a { color: var(--ice); }
.tip-s { margin-top: 8px; font: 600 10.5px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1100px) {
  h1.title { font-size: 74px; }
}
@media (max-width: 860px) {
  .ch-grid { grid-template-columns: 1fr; gap: 30px; }
  .hyps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .src-list { grid-template-columns: 1fr; }
}
