/* DHREAM. site v1.0.
   Standard: /workspace/dhream/brand/STYLE_GUIDE_v2.md (APPROVED 22 Nov 2026, inside Brand Kit v1.2).
   Spacing: golden-ratio steps from the header wordmark cap (38.19 px at 250 px visible width).
   Wordmark: approved v1.2 master SVG, geometry unaltered. */

/* Slogan face: local fonts only, metric overrides put the cap line at the top of a
   line-height: 1 box, so the slogan lands cap/φ³ under the wordmark baseline. */
@font-face {
  font-family: "DHREAM Slogan";
  src: local("Helvetica Bold"), local("Helvetica-Bold"), local("Helvetica Neue Bold"),
       local("HelveticaNeue-Bold"), local("Nimbus Sans Bold"), local("NimbusSans-Bold"),
       local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 700;
  ascent-override: 71.8%;
  descent-override: 28.2%;
  line-gap-override: 0%;
}

:root {
  /* Palette (Brand Kit v1.2 + two supporting neutrals) */
  --ink: #161616;
  --paper: #FFFFFF;
  --gold: #A58B5B;        /* on black only */
  --gold-deep: #826D47;   /* gold on white */
  --muted: #5E5E5E;       /* captions, 6.4:1 on white */
  --line: #E4DFD6;        /* hairlines */
  --wash: #F7F5F1;        /* quiet panel fill */

  --font: Helvetica, "Helvetica Neue", "Nimbus Sans", "Liberation Sans", Arial, sans-serif;

  /* Golden-ratio spacing from header cap = 38.19 px */
  --s-3: 9px;     /* cap/φ³ */
  --s-2: 14.6px;  /* cap/φ² */
  --s-1: 23.6px;  /* cap/φ  */
  --s0: 38.2px;   /* cap    */
  --s1: 61.8px;   /* cap·φ  */
  --s2: 100px;    /* cap·φ² */

  /* Type: 16 px base, φ^0.5 (1.272) steps */
  --t-fine: 12.6px;
  --t-body: 16px;
  --t-lead: 20.35px;
  --t-h3: 20.35px;
  --t-h2: 25.9px;
  --t-h1: 32.9px;
  --t-fig: 41.9px;
  --t-hero: 41.9px;

  --measure: 34em;
  --wrap: 1200px;
  --gutter: var(--s-1);
}
@media (min-width: 760px) {
  :root { --t-h1: 41.9px; --t-fig: 53.3px; --t-hero: 53.3px; --gutter: var(--s0); }
}
@media (min-width: 1100px) {
  :root { --t-h1: 53.3px; --t-fig: 67.8px; --t-hero: 67.8px; --gutter: var(--s1); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: var(--t-body); line-height: 1.5;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 1.5px solid var(--gold-deep); outline-offset: 3px; }
p { margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Icons ---------- */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor;
     stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.i-sm { width: 18px; height: 18px; }
.i-lg { width: 32px; height: 32px; }

/* ---------- Header ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); }
/* Master canvas is 1095.892 × 290.455 with 0.5·cap clear space; 288.19 px canvas = 250 px visible (minimum). */
.brand { display: block; width: 288.19px; height: 76.38px; margin-left: -19.1px; flex: none; }
.brand img { width: 288.19px; height: 76.38px; }
.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s0); }
.nav-desktop a { text-decoration: none; color: var(--muted); font-size: 15px; letter-spacing: 0.01em; padding: var(--s-3) 0; border-bottom: 1px solid transparent; }
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--gold-deep); }
.menu-btn { display: inline-flex; align-items: center; gap: var(--s-3); background: none; border: 0; padding: var(--s-3) 0; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.menu-btn .i-close-wrap { display: none; }
.menu-open .menu-btn .i-open-wrap { display: none; }
.menu-open .menu-btn .i-close-wrap { display: inline-flex; }
.menu-sheet { display: none; border-top: 1px solid var(--line); padding: var(--s-1) 0 var(--s0); }
.menu-open .menu-sheet { display: block; }
.menu-sheet .group { margin-bottom: var(--s-1); }
.menu-sheet .group:last-child { margin-bottom: 0; }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet a { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) 0; text-decoration: none; font-size: var(--t-lead); }
.menu-sheet a[aria-current="page"] { color: var(--gold-deep); }
.menu-sheet .i { color: var(--gold-deep); }
@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .menu-btn, .menu-sheet { display: none !important; }
}

/* Section tabs */
.tabs-nav { border-bottom: 1px solid var(--line); }
.tabs-nav ul { list-style: none; margin: 0; padding: var(--s-2) 0; display: flex; gap: var(--s-3); overflow-x: auto; scrollbar-width: none; }
.tabs-nav ul::-webkit-scrollbar { display: none; }
.tabs-nav a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none; font-size: 14px; padding: 7px 14.6px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.tabs-nav a:hover { color: var(--ink); border-color: var(--ink); }
.tabs-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tabs-nav .i { width: 16px; height: 16px; }

/* ---------- Page frame ---------- */
main { flex: 1 0 auto; }
.page { padding-top: var(--s1); padding-bottom: var(--s1); }
@media (min-width: 760px) { .page { padding-top: var(--s2); } }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); }

.label { display: block; font-size: var(--t-fine); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.label.muted { color: var(--muted); }
.label .sep { color: var(--line); padding: 0 0.5em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.012em; }
h1 { font-size: var(--t-h1); line-height: 1.08; margin-top: var(--s-2); max-width: 18em; }
h2 { font-size: var(--t-h2); line-height: 1.2; }
h3 { font-size: var(--t-h3); line-height: 1.25; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--muted); margin-top: var(--s-1); max-width: 30em; }
.block { margin-top: var(--s1); }
.block-sm { margin-top: var(--s0); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Figures (big number, small caption) */
.figures { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-1); border-top: 1px solid var(--line); padding-top: var(--s-1); }
@media (min-width: 640px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s0); } }
.figures.two { }
@media (min-width: 640px) { .figures.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.figure .label { color: var(--muted); }
.figure .fig { display: block; font-size: var(--t-fig); line-height: 1; font-weight: 700; letter-spacing: -0.02em; margin: var(--s-2) 0 var(--s-3); font-variant-numeric: tabular-nums; }
.figure .cap { font-size: 14px; color: var(--muted); }
.fig .unit { font-size: 0.62em; letter-spacing: 0; margin-left: 0.04em; }

/* Assessment line */
.assess { border-top: 1px solid var(--line); padding-top: var(--s-1); }
.assess p { font-size: var(--t-lead); line-height: 1.4; margin-top: var(--s-3); max-width: 32em; }

/* Panels and cards */
.panel { border: 1px solid var(--line); padding: var(--s-1); background: var(--paper); }
@media (min-width: 760px) { .panel { padding: var(--s0); } }
.panel.wash { background: var(--wash); border-color: var(--wash); }
.panel h3 { margin-top: var(--s-2); }
.panel p { margin-top: var(--s-3); color: var(--muted); }
.panel .i { color: var(--gold-deep); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
@media (min-width: 640px) { .grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 999px) { .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

a.card { display: flex; flex-direction: column; gap: var(--s-3); text-decoration: none; border: 1px solid var(--line); padding: var(--s-1); min-height: 100%; transition: border-color .2s ease; }
a.card:hover { border-color: var(--ink); color: var(--ink); }
a.card .i { color: var(--gold-deep); margin-bottom: var(--s-3); }
a.card h3 { font-size: 18px; }
a.card p { color: var(--muted); font-size: 15px; }
a.card .go { margin-top: auto; padding-top: var(--s-2); display: flex; justify-content: flex-end; color: var(--muted); }
a.card .go .i { color: inherit; margin: 0; width: 18px; height: 18px; }
a.card:hover .go { color: var(--gold-deep); }

/* Numbered rule cards */
.rule-card { border-top: 1px solid var(--ink); padding-top: var(--s-2); }
.rule-card .n { display: flex; justify-content: space-between; align-items: center; color: var(--gold-deep); font-size: var(--t-fine); font-weight: 700; letter-spacing: 0.1em; }
.rule-card h3 { margin-top: var(--s-2); font-size: var(--t-h3); }
.rule-card p { margin-top: var(--s-3); color: var(--muted); }

/* Capital-structure style rows */
.rows { border-top: 1px solid var(--line); }
.rows .head { display: flex; justify-content: space-between; padding: var(--s-2) 0; border-bottom: 1px solid var(--gold); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); padding: 12px 0; border-bottom: 1px solid var(--line); }
.row span:first-child { color: var(--ink); }
.row .note { color: var(--muted); font-size: 14px; }
.row strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.row.sub span:first-child { padding-left: var(--s-2); color: var(--muted); }
.row.total { border-bottom: 1px solid var(--ink); }

/* Split diagram */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
.split .source { text-align: center; border: 1px solid var(--ink); padding: var(--s-2) var(--s-1); }
.split .source .label { color: var(--muted); }
.split .source strong { display: block; font-size: var(--t-h2); margin-top: 4px; }
.split .halves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2); position: relative; }
.split .half { border: 1px solid var(--line); padding: var(--s-1) var(--s-2); }
@media (min-width: 760px) { .split .half { padding: var(--s-1); } }
.split .half .pct { display: block; font-size: var(--t-fig); font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin: var(--s-2) 0 var(--s-3); }
.split .half p { color: var(--muted); font-size: 15px; }
.split .half .i { color: var(--gold-deep); }
.split .stem { display: flex; justify-content: center; color: var(--line); }
.split .stem svg { width: 60%; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.25; stroke-linecap: round; }

/* Formula */
.formula { font-size: var(--t-lead); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; margin-top: var(--s-2); }

/* Bars (stay invested) */
.bars { display: grid; gap: var(--s-2); border-top: 1px solid var(--line); padding-top: var(--s-1); }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px var(--s-2); align-items: baseline; }
.bar .k { font-size: 15px; }
.bar .v { font-weight: 700; font-variant-numeric: tabular-nums; }
.bar .track { grid-column: 1 / -1; height: 6px; background: var(--wash); }
.bar .fill { display: block; height: 100%; background: var(--ink); width: var(--w); }
.bar.lead-bar .fill { background: var(--gold-deep); }

/* Fund cards */
.fund { border: 1px solid var(--line); padding: var(--s-1); display: flex; flex-direction: column; }
.fund .top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); }
.fund .ticker { font-size: var(--t-h3); font-weight: 700; letter-spacing: 0.04em; }
.fund .yield { text-align: right; }
.fund .yield strong { display: block; font-size: var(--t-h2); color: var(--gold-deep); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fund .yield .label { color: var(--muted); font-size: var(--t-fine); }
.fund .name { color: var(--muted); font-size: 14px; margin-top: 4px; }
.fund .what { margin-top: var(--s-2); font-size: 15px; }
.fund dl { margin: var(--s-2) 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); border-top: 1px solid var(--line); }
.fund dt, .fund dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fund dt { color: var(--muted); padding-right: var(--s-2); }
.fund dd { text-align: right; font-variant-numeric: tabular-nums; }
.fund .src { margin-top: var(--s-2); font-size: 12.6px; color: var(--muted); }

/* Disclosure line */
.disclosure { border-left: 2px solid var(--gold-deep); padding: var(--s-3) 0 var(--s-3) var(--s-2); font-size: 15px; }

/* Tabs (in-page) */
.tablist { display: none; }
.js .tablist { display: inline-flex; gap: 4px; padding: 4px; background: var(--wash); border-radius: 999px; margin-bottom: var(--s-1); }
.tablist button { font: inherit; font-size: 14px; border: 0; background: none; padding: 8px 18px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.tablist button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(22,22,22,.08); }
.js .tabpanel[hidden] { display: none; }
.no-js-label { margin-bottom: var(--s-2); }
.js .no-js-label { display: none; }
.tabpanel + .tabpanel { margin-top: var(--s0); }
.js .tabpanel + .tabpanel { margin-top: 0; }

/* Toy or tool list */
.verdicts { border-top: 1px solid var(--line); }
.verdict { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s-2); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.verdict .what { font-weight: 700; }
.verdict .kind { font-size: var(--t-fine); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); align-self: center; }
.verdict .how { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s0); }
@media (min-width: 860px) { .calc { grid-template-columns: 300px minmax(0, 1fr); gap: var(--s1); } }
.calc form { display: grid; gap: var(--s-1); }
.calc label { display: block; font-size: var(--t-fine); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.calc .field { display: flex; align-items: baseline; gap: 6px; border-bottom: 1px solid var(--ink); padding: 6px 0; margin-top: 6px; }
.calc .field span { color: var(--muted); font-size: var(--t-lead); }
.calc input { font: inherit; font-size: var(--t-h2); font-weight: 700; border: 0; outline: 0; width: 100%; padding: 0; background: none; color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.calc input::-webkit-outer-spin-button, .calc input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc .field:focus-within { border-bottom-color: var(--gold-deep); }
.calc .result .fig { font-size: var(--t-fig); font-weight: 700; line-height: 1; letter-spacing: -0.02em; display: block; margin: var(--s-2) 0 var(--s-3); }
.calc .result .label { color: var(--muted); }
.fv-chart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); align-items: end; height: 220px; margin-top: var(--s-1); border-bottom: 1px solid var(--ink); }
.fv-bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.fv-col { display: block; background: var(--wash); border-top: 2px solid var(--gold-deep); }
.fv-bar:last-child .fv-col { background: var(--ink); border-top-color: var(--ink); }
.fv-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); margin-top: 8px; }
.fv-legend span { font-size: 12.6px; color: var(--muted); }
.fv-legend b { display: block; color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Notes */
.note-card { border-top: 1px solid var(--ink); padding-top: var(--s-2); }
.note-card h3 { margin-top: var(--s-2); }
.note-card p { margin-top: var(--s-3); color: var(--muted); }
.note-card .warn { font-size: 13px; margin-top: var(--s-2); }

/* Resources */
.res h3 { display: flex; align-items: center; gap: var(--s-3); font-size: 18px; }
.res h3 .i { color: var(--gold-deep); }
.res ul { list-style: none; margin: var(--s-2) 0 0; padding: 0; border-top: 1px solid var(--line); }
.res li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.res li a { text-decoration: none; display: block; }
.res li a:hover { text-decoration: underline; }
.res li span { display: block; color: var(--muted); font-size: 13px; }

/* Fine print (method notes) */
.fine { margin-top: var(--s0); font-size: var(--t-fine); line-height: 1.55; color: var(--muted); max-width: 52em; }
.fine p + p { margin-top: 4px; }
.fine b { color: var(--ink); font-weight: 700; }


/* Next link */
.next { margin-top: var(--s1); border-top: 1px solid var(--ink); }
.next a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-1); padding: var(--s-1) 0; text-decoration: none; }
.next .label { color: var(--muted); }
.next strong { display: block; font-size: var(--t-h2); margin-top: 4px; }
.next .i { width: 28px; height: 28px; }
.next a:hover .i { color: var(--gold-deep); }

/* Home hero lockup: wordmark + slogan per golden_ratio_spacing_spec.md.
   vis = visible wordmark width. cap = 0.152765·vis. clear (pad) = cap/2.
   Slogan cap = cap/φ²; gap = cap/φ³; slogan ink 10/126·vis left of the D. */
.lockup { --vis: 250px; --cap: calc(var(--vis) * 0.152765); --pad: calc(var(--cap) / 2);
  --canvas-w: calc(var(--vis) * 1.152766); --canvas-h: calc(var(--cap) * 2);
  --sl-cap: calc(var(--cap) * 0.381966); --sl-size: calc(var(--sl-cap) / 0.718);
  --gap: calc(var(--cap) * 0.236068);
  position: relative; width: var(--canvas-w); height: calc(var(--pad) + var(--cap) + var(--gap) + var(--sl-cap) + 4px);
  margin-left: calc(-1 * var(--pad) + var(--vis) * 0.079365 + var(--sl-size) * 0.076); }
@media (min-width: 760px) { .lockup { --vis: 420px; } }
.lockup img { position: absolute; left: 0; top: 0; width: var(--canvas-w); height: var(--canvas-h); }
.lockup .slogan { position: absolute; margin: 0; white-space: nowrap;
  left: calc(var(--pad) - var(--vis) * 0.079365 - var(--sl-size) * 0.076);
  top: calc(var(--pad) + var(--cap) + var(--gap));
  font-family: "DHREAM Slogan", Helvetica, Arial, sans-serif; font-weight: 700; font-size: var(--sl-size); line-height: 1; color: var(--gold-deep); }
.hero h1 { font-size: var(--t-hero); line-height: 1.05; max-width: 14em; margin-top: var(--s2); }
.hero .lead { max-width: 26em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: var(--s0) 0 var(--s1); margin-top: var(--s1); }
.site-footer .wrap { display: grid; gap: var(--s-2); }
.site-footer p { font-size: 13px; color: var(--muted); max-width: 60em; }
.site-footer .strong { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--s-1); font-size: 13px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .fv-col { transition: height .45s cubic-bezier(.2,.7,.2,1); }
}
@media print {
  .site-header, .tabs-nav, .next, .menu-sheet { display: none; }
}

/* v0.7 review fixes */
body.home .site-header .brand { display: none; }
body.home .site-header .wrap:first-child { justify-content: flex-end; min-height: 61.8px; }
@media (max-width: 519px) {
  .menu-btn .menu-word { display: none; }
  .menu-btn { padding: var(--s-3); margin-right: calc(-1 * var(--s-3)); }
}
@media (max-width: 639px) {
  .figures { gap: 0; padding-top: 0; }
  .figure { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l f" "c f"; column-gap: var(--s-2); align-items: center; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
  .figure .label { grid-area: l; align-self: end; }
  .figure .cap { grid-area: c; align-self: start; margin-top: 4px; }
  .figure .fig { grid-area: f; margin: 0; font-size: var(--t-h1); }
  .grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  .grid.cards a.card { padding: var(--s-2); }
  .grid.cards a.card p { font-size: 14px; }
}
.site-header .wrap.sheet-wrap { display: block; }

/* v0.8 Account flow diagram: thin line art, no filled panels */
.flowchart { margin-left: 0; margin-right: 0; }
.fc-row { display: grid; gap: 0 var(--s0); }
.fc-row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fc-row.one { justify-items: center; }
.fc-row.one .node { width: min(100%, 360px); text-align: center; }
.fc-row.one .node .node-head { justify-content: center; }
.fc-col { display: flex; flex-direction: column; align-items: stretch; }
.node { border: 1px solid var(--line); background: var(--paper); padding: var(--s-2); display: block; }
@media (min-width: 760px) { .node { padding: var(--s-1); } }
.node .node-head { display: flex; align-items: center; gap: var(--s-3); }
.node .node-head .i { color: var(--gold-deep); width: 20px; height: 20px; }
.node .label { font-size: 11px; }
.node strong { display: block; margin-top: var(--s-3); font-size: 17px; line-height: 1.3; }
.node p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.node.accent { border-color: var(--gold); }
.node.key { border-color: var(--ink); }
.node.key strong { font-size: var(--t-h2); }
.node.decision { border-color: var(--gold); border-radius: 999px; padding-left: var(--s0); padding-right: var(--s0); }
.conn { display: block; position: relative; width: 1.25px; height: 30px; margin: 0 auto; background: var(--gold); }
.conn::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; border-right: 1.25px solid var(--gold); border-bottom: 1.25px solid var(--gold); transform: translate(-50%, -1px) rotate(45deg); }
.fc-link { position: relative; }
.fc-link .hconn { position: absolute; top: 46px; left: 50%; width: var(--s0); transform: translateX(-50%); height: 1.25px; background: var(--gold); }
.fc-link .hconn::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-left: 1.25px solid var(--gold); border-bottom: 1.25px solid var(--gold); transform: translate(1px, -50%) rotate(45deg); }
.fc-link .hconn span { display: none; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
@media (max-width: 759px) { .fc-link .hconn span { display: none; display: none; } }
.fc-row.two.fc-link .fc-col:last-child { grid-column: 2; }
.fc-fork { display: flex; justify-content: center; }
.fc-fork svg { width: calc(50% + var(--s0) / 2); height: 30px; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 1.25; stroke-linecap: round; }
.fc-tag { display: block; text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; }

/* v0.8 one-month calculator */
.calc-flow form { gap: var(--s-2); }
.calc-flow input { font-size: var(--t-lead); }
.calc-flow .field span { font-size: 16px; }
.say-line { font-size: var(--t-lead); line-height: 1.4; max-width: 30em; }
.fig .fig-word { font-size: 0.62em; letter-spacing: -0.01em; }

/* v0.9: the owner's sheet, verbatim, restyled */
.node .strong-line, .panel .strong-line, .rule-card .strong-line { color: var(--ink); font-weight: 600; }
.node .cite, .panel .cite, .rule-card .cite { font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.node > span[data-canon]:not(.label), .node > strong { display: block; margin-top: var(--s-3); font-size: 17px; line-height: 1.3; font-weight: 700; }
.node.key > span[data-canon]:not(.label) { font-size: var(--t-h2); }
.node.decision > span[data-canon] { margin-top: 0; text-align: center; }
.fc-row.full .node { width: 100%; }
.fc-branches .fc-col:first-child { align-items: center; }
.conn.long { flex: 1 1 auto; min-height: 30px; height: auto; }
.fc-branches .fc-col:last-child > .node { width: 100%; }
.fc-foot { margin-top: var(--s-1); }
.fc-foot p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.rule-card .rc-label { display: block; margin-top: var(--s-2); }
.rule-card h3 + p, .rule-card p + p { margin-top: 6px; }
.formula-panel .formula + p { margin-top: var(--s-3); }
.branches .panel h3 { margin-top: var(--s-3); }
.slogan-line { margin-top: var(--s-3); font-weight: 700; color: var(--gold-deep); font-size: 15px; }
[data-canon] { text-transform: none; }

/* v0.9: Guiding Principles (owner's master, verbatim) */
.gp-list { display: grid; gap: var(--s0); }
.gp-card { border-top: 1px solid var(--ink); padding-top: var(--s-1); }
.gp-card .n { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--gold-deep); font-size: 13px; letter-spacing: 0.08em; }
.gp-card .n .i { color: var(--gold-deep); width: 20px; height: 20px; }
.gp-card > .label { display: block; margin-top: var(--s-2); }
.gp-card .gp-title { margin-top: var(--s-3); font-size: var(--t-h2); line-height: 1.15; }
.gp-dl { margin: var(--s-1) 0 0; display: grid; gap: var(--s-2); }
.gp-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
@media (min-width: 760px) { .gp-row { grid-template-columns: 110px 1fr; gap: var(--s-1); } }
.gp-row dt { padding-top: 3px; }
.gp-row dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
[data-principle] { text-transform: none; }

/* Single h1 per page without new wording (owner, 10:52 PM, 22 Nov 2026: headline saying removed for now).
   index: the hero lockup (wordmark + slogan) is the h1; flow: the sheet title label is the h1. Looks unchanged. */
h1.lockup { margin: 0; max-width: none; font-size: inherit; line-height: 1; letter-spacing: 0; }
h1.label.page-title { margin-top: 0; max-width: none; line-height: inherit; }

/* Polish (CoS QA, 22 Nov 2026, 11:37 PM) */
.nowrap { white-space: nowrap; }
/* Chip row: right-edge fade while more chips are off-screen (site.js toggles .fade-r; hidden at the scroll end) */
.tabs-nav ul.fade-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
