/* Dissonant Capital, shared stylesheet
   Design tokens and component styles carried over verbatim from the
   original single-page site, extended with a few new components
   (site nav, page-head, notes-list) added for the multi-page rebuild. */

:root { --ink: #faf8f3; --ink-2: #f1ede3; --ink-3: #e8e2d3; --hair: rgba(26,23,18,0.12); --hair-strong: rgba(26,23,18,0.22); --paper: #1c1a15; --paper-dim: #4a463c; --paper-faint: #6e6a5c; --steel: #2c6a83; --steel-dim: #dce8ed; --ember: #c1592c; --ember-dim: #a8481f; --pulse: #c98a2e; --focus: #2c6a83; --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif; --font-body: 'Archivo', -apple-system, 'Segoe UI', sans-serif; --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace; }
*, ::before, ::after { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0px; background: var(--ink); color: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.skip-link { position: absolute; top: -48px; left: 12px; z-index: 200; background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-size: 13px; padding: 12px 18px; border-radius: 2px; text-decoration: none; transition: top 0.15s ease; }
.skip-link:focus { top: 12px; outline: 2px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0px auto; padding: 0px clamp(20px, 5vw, 64px); }
.prose { max-width: 640px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; color: var(--paper); margin: 0px; text-wrap: balance; letter-spacing: -0.01em; }
a { color: inherit; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.nav { position: sticky; top: 0px; z-index: 40; background: rgba(250, 248, 243, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; max-width: 1220px; }
.nav-mark { flex: 0 0 auto; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.nav-mark b { color: var(--paper); font-weight: 500; }
.nav-mark span { color: var(--paper-faint); }
.nav-right { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.nav-cta { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em; text-decoration: none; color: var(--ink); background: var(--paper); padding: 9px 16px; border-radius: 2px; white-space: nowrap; }
.nav-cta:hover { background: var(--steel); }
.nav-cta .cta-short { display: none; }
.nav-links { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em; }
.nav-links a { text-decoration: none; color: var(--paper-dim); white-space: nowrap; }
.nav-links a:hover { color: var(--steel); }
.nav-links a.current { color: var(--paper); font-weight: 500; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 auto; background: transparent; border: none; color: var(--paper); cursor: pointer; padding: 0px; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ico-x { display: none; }
.nav-toggle.open .ico-burger { display: none; }
.nav-toggle.open .ico-x { display: block; }
.back-link { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--paper-dim); text-decoration: none; }
.back-link:hover { color: var(--steel); }
.page-head { padding: clamp(56px, 9vw, 96px) 0px clamp(40px, 6vw, 56px); border-bottom: 1px solid var(--hair); }
.page-head h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; max-width: 16ch; margin-top: 16px; }
.page-head p { margin-top: 20px; max-width: 58ch; color: var(--paper-dim); font-size: 17px; }
.notes-list { padding: clamp(48px, 8vw, 84px) 0px; }
.note { padding: 32px 0px; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 160px 1fr; gap: 32px; }
.note:first-child { padding-top: 0px; }
.note .date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); padding-top: 4px; }
.note h2 { font-family: var(--font-display); font-weight: 560; font-size: 21px; line-height: 1.3; }
.note p { margin: 12px 0px 0px; color: var(--paper-dim); font-size: 15.5px; max-width: 68ch; }
.hero { position: relative; padding: clamp(64px, 12vw, 128px) 0px clamp(48px, 8vw, 88px); overflow: hidden; border-bottom: 1px solid var(--hair); }
.hero-wave { position: absolute; inset: 0px; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; max-width: 15ch; }
.hero .sub { margin-top: 26px; max-width: 52ch; font-size: 18px; color: var(--paper-dim); }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; text-decoration: none; display: inline-block; padding: 14px 26px; border-radius: 2px; background: var(--ember-dim); color: rgb(16, 11, 8); font-weight: 500; border: none; cursor: pointer; }
.btn:hover { background: var(--ember); }
.hero-note { font-size: 13px; color: var(--paper-faint); max-width: 34ch; }
.hero-pdf-link { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.03em; color: var(--paper-dim); text-decoration: underline; text-underline-offset: 3px; }
.hero-pdf-link:hover { color: var(--steel); }
section { padding: clamp(56px, 9vw, 104px) 0px; }
.section-head { margin-bottom: 44px; max-width: 60ch; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.16; }
.section-head p { margin-top: 16px; color: var(--paper-dim); font-size: 16.5px; }
.rule { border-top: 1px solid var(--hair); margin: 0px; }
.photo-full { position: relative; aspect-ratio: 21 / 8; overflow: hidden; background: var(--paper); }
.photo-full img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) sepia(0.16) contrast(1.06) brightness(0.97); }
.photo-full figcaption, .photo-frame figcaption { position: absolute; left: clamp(20px, 5vw, 64px); bottom: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); background: rgba(28, 26, 21, 0.55); padding: 6px 10px; border-radius: 3px; }
.photo-frame { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) sepia(0.14) contrast(1.05); }
.pull-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--paper); }
@media (max-width: 820px) {
  .photo-full { aspect-ratio: 4 / 3; }
  .photo-pair { grid-template-columns: 1fr; }
}
.premise-lede { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 27px); line-height: 1.42; color: var(--paper); max-width: 34ch; font-weight: 420; }
.premise-body { color: var(--paper-dim); font-size: 16.5px; }
.premise-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.signals { display: grid; gap: 22px; margin-top: 8px; }
.signal { border-top: 1px solid var(--hair); padding-top: 16px; }
.signal .num { font-family: var(--font-mono); font-size: 12px; color: var(--steel); }
.signal h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; margin-top: 8px; }
.signal p { margin: 8px 0px 0px; color: var(--paper-dim); font-size: 14.5px; }
.balance { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.balance > div { background: var(--ink); padding: 36px clamp(20px, 3vw, 40px); }
.balance h3 { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 500; color: var(--paper); }
.balance .tag { font-size: 12px; color: var(--paper-faint); margin-top: 4px; display: block; }
.balance ul { list-style: none; margin: 22px 0px 0px; padding: 0px; display: grid; gap: 14px; }
.balance li { font-size: 15px; color: var(--paper-dim); padding-left: 18px; position: relative; }
.balance li::before { content: ""; position: absolute; left: 0px; top: 9px; width: 6px; height: 1px; background: var(--paper-faint); }
.stack { display: grid; gap: 0px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 26px 0px; border-top: 1px solid var(--hair); align-items: baseline; }
.stack .step:last-child { border-bottom: 1px solid var(--hair); }
.step .num { font-family: var(--font-mono); font-size: 14px; color: var(--steel); }
#build-steps .step .num, #build-mistakes .screen-card .num { display: flex; flex-direction: column; gap: 8px; }
.step-icon { width: 26px; height: 26px; flex: 0 0 auto; }
#build-mistakes .screen-card .num { color: var(--ember-dim); }
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; }
.step p { margin: 6px 0px 0px; color: var(--paper-dim); font-size: 15px; max-width: 60ch; }
.stack-note { margin-top: 28px; color: var(--paper-dim); font-size: 15.5px; max-width: 60ch; }
.access { background: var(--ink-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.access p { color: var(--paper-dim); font-size: 16.5px; }
.stat-row { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 8px; }
.stat { font-family: var(--font-mono); }
.stat .n { display: block; font-size: 26px; color: var(--paper); }
.stat .l { display: block; font-size: 11.5px; color: var(--paper-faint); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.screen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin-top: 8px; }
.screen-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.screen-card { background: var(--ink); padding: 32px clamp(20px, 3vw, 40px); }
.screen-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--steel); }
.screen-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; margin-top: 10px; }
.screen-card p { margin: 10px 0px 0px; color: var(--paper-dim); font-size: 15px; }
.paper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin-top: 8px; }
.paper-card { background: var(--ink); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.paper-card .eyebrow { margin-bottom: 10px; }
.paper-card h3 { font-family: var(--font-display); font-weight: 560; font-size: 21px; line-height: 1.28; }
.paper-card p.abstract { margin: 14px 0px 0px; color: var(--paper-dim); font-size: 15px; }
.paper-card .gate { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hair); }
.paper-card .gate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.paper-card .gate-row input[type="email"] { flex: 1 1 180px; min-width: 0px; background: var(--ink-3); border: 1px solid var(--hair-strong); color: var(--paper); font-family: var(--font-body); font-size: 14.5px; padding: 11px 13px; border-radius: 2px; }
.paper-card .gate-row input[type="email"]:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.paper-card .gate-status { font-size: 13px; color: var(--steel); margin-top: 10px; min-height: 1.2em; }
.paper-card .gate-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--paper-faint); margin-top: 10px; }
.paper-card .download-ready { display: none; margin-top: 4px; }
.paper-card .download-ready.show { display: block; }
.paper-card .download-ready a { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; text-decoration: none; display: inline-block; padding: 14px 26px; border-radius: 2px; background: var(--ember-dim); color: rgb(16, 11, 8); font-weight: 500; }
.paper-card .download-ready a:hover { background: var(--ember); }
.paper-card .download-ready p { font-family: var(--font-mono); font-size: 11.5px; color: var(--paper-faint); margin: 0px 0px 12px; }
.map-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; margin-top: 8px; }
.map-frame { position: relative; background: radial-gradient(ellipse at 30% 20%, rgba(53,97,122,0.07), transparent 60%), var(--ink-2); border: 1px solid var(--hair); border-radius: 6px; padding: clamp(8px, 2vw, 20px); overflow: hidden; }
#market-map-svg { width: 100%; height: auto; display: block; }
.map-outline { fill: var(--ink-3); stroke: var(--hair-strong); stroke-width: 1; }
.map-borders { fill: none; stroke: var(--hair); stroke-width: 0.7; }
.market-link { fill: none; stroke: var(--steel); stroke-width: 1.1; opacity: 0.32; stroke-dasharray: 1, 5; stroke-linecap: round; animation: linkFlow 1.8s linear infinite; }
.market-link.active { stroke: var(--ember); opacity: 0.85; stroke-width: 1.6; }
@keyframes linkFlow {
  100% { stroke-dashoffset: -24; }
}
.market-marker { cursor: pointer; outline: none; }
.market-marker .marker-hit { fill: transparent; }
.market-marker .marker-dot { fill: var(--paper-faint); stroke: var(--ink); stroke-width: 1.5; transition: fill 0.15s, r 0.15s; }
.market-marker.hq .marker-dot { fill: var(--ember); } .market-marker.portfolio .marker-dot { fill: var(--steel); }
.market-marker .marker-pulse { fill: none; stroke: var(--paper-faint); stroke-width: 1.4; opacity: 0; transform-origin: center center; transform-box: fill-box; animation: markerPulse 2.6s ease-out infinite; }
.market-marker.hq .marker-pulse { stroke: var(--ember); animation-duration: 2.2s; } .market-marker.portfolio .marker-pulse { stroke: var(--steel); animation-duration: 2.2s; }
.market-marker:nth-of-type(2) .marker-pulse { animation-delay: 0.3s; }
.market-marker:nth-of-type(3) .marker-pulse { animation-delay: 0.6s; }
.market-marker:nth-of-type(4) .marker-pulse { animation-delay: 0.9s; }
.market-marker:nth-of-type(5) .marker-pulse { animation-delay: 1.2s; }
.market-marker:nth-of-type(6) .marker-pulse { animation-delay: 1.5s; }
.market-marker:nth-of-type(7) .marker-pulse { animation-delay: 1.8s; }
.market-marker:nth-of-type(8) .marker-pulse { animation-delay: 2.1s; }
@keyframes markerPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
.market-marker:hover .marker-dot, .market-marker:focus-visible .marker-dot, .market-marker.selected .marker-dot { fill: var(--focus); r: 7; }
.market-marker:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 50%; }
.map-tag { position: absolute; pointer-events: none; z-index: 5; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; background: var(--ink); border: 1px solid var(--hair-strong); color: var(--paper); padding: 4px 8px; border-radius: 3px; white-space: nowrap; transform: translate(-50%, -130%); opacity: 0; transition: opacity 0.12s; }
.map-tag.show { opacity: 1; }
.map-picker { display: none; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.map-picker-btn { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; background: transparent; border: 1px solid var(--hair-strong); color: var(--paper-dim); padding: 8px 14px; border-radius: 20px; cursor: pointer; }
.map-picker-btn:hover { border-color: var(--steel); color: var(--steel); }
.map-picker-btn.is-hq { border-color: var(--ember); color: var(--ember-dim); } .map-picker-btn.is-portfolio { border-color: var(--steel); color: var(--steel); }
.map-picker-btn.selected, .map-picker-btn.is-hq.selected { background: var(--steel); color: var(--ink); border-color: var(--steel); }
.map-picker-btn.is-hq.selected { background: var(--ember-dim); border-color: var(--ember-dim); }
@media (max-width: 820px) {
  .map-picker { display: flex; }
}
.map-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; }
.map-legend .item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--paper-faint); font-family: var(--font-mono); }
.map-legend .swatch { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.map-legend .swatch.hq { background: var(--ember); }
.map-legend .swatch.watch { background: var(--paper-faint); } .map-legend .swatch.portfolio { background: var(--steel); }
.map-detail { background: var(--ink-2); border: 1px solid var(--hair); border-radius: 6px; padding: 24px clamp(18px, 2.4vw, 28px); min-height: 340px; display: flex; flex-direction: column; }
.map-detail .md-empty { margin: auto 0px; color: var(--paper-faint); font-size: 14.5px; line-height: 1.6; }
.map-detail .md-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-dim); }
.map-detail.is-hq .md-role { color: var(--ember-dim); } .map-detail.is-portfolio .md-role { color: var(--steel); }
.map-detail .md-title { font-family: var(--font-display); font-size: 22px; margin-top: 8px; }
.map-detail .md-full { font-size: 12px; color: var(--paper-faint); margin-top: 2px; }
.map-detail .md-why { margin-top: 14px; color: var(--paper-dim); font-size: 14.5px; line-height: 1.55; }
.map-detail .md-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
.map-detail .md-stat .n { display: block; font-family: var(--font-mono); font-size: 19px; color: var(--paper); }
.map-detail .md-stat .n.down { color: var(--ember-dim); }
.map-detail .md-stat .l { display: block; margin-top: 3px; font-size: 10.5px; color: var(--paper-faint); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.4; }
.map-detail .md-note { margin-top: 8px; font-size: 12.5px; color: var(--ember-dim); line-height: 1.4; }
.map-detail .md-fact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--paper-dim); line-height: 1.55; }
.map-detail .md-fact-src { display: block; margin-top: 6px; font-size: 11.5px; color: var(--paper-faint); font-family: var(--font-mono); }
.map-disclaimer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 12.5px; line-height: 1.65; color: var(--paper-faint); max-width: 900px; }
@media (max-width: 820px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-detail { min-height: 0px; }
}
@media (prefers-reduced-motion: reduce) {
  .market-link { opacity: 0.4; animation: none !important; }
  .marker-pulse { animation: none !important; opacity: 0 !important; }
  .wave-group { animation: none !important; }
}
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.insight-card { border-top: 1px solid var(--hair-strong); padding-top: 18px; }
.insight-card .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember-dim); }
.insight-card h3 { font-family: var(--font-display); font-weight: 560; font-size: 19px; margin-top: 12px; line-height: 1.3; }
.insight-card p { margin: 12px 0px 0px; color: var(--paper-dim); font-size: 15px; }
.faq-list { margin-top: 8px; border-top: 1px solid var(--hair); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hair); padding: 22px 0px; }
.faq-item summary { font-family: var(--font-body); font-weight: 600; font-size: 16.5px; color: var(--paper); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--paper-faint); flex: 0 0 auto; transition: transform 0.15s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 14px 0px 0px; color: var(--paper-dim); font-size: 15px; max-width: 70ch; }
.helper-btn { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--ember-dim); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: rgba(0, 0, 0, 0.35) 0px 8px 24px; }
.helper-btn:hover { background: var(--ember); }
.helper-btn svg { width: 26px; height: 26px; }
.helper-btn .ico-close { display: none; }
.helper-btn.open .ico-chat { display: none; }
.helper-btn.open .ico-close { display: block; }
.helper-panel { position: fixed; right: 22px; bottom: 90px; z-index: 60; width: min(360px, calc(100vw - 44px)); max-height: min(560px, calc(100vh - 130px)); background: var(--ink-2); border: 1px solid var(--hair-strong); border-radius: 8px; box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 60px; display: none; flex-direction: column; overflow: hidden; }
.helper-panel.open { display: flex; }
.helper-head { padding: 16px 18px; border-bottom: 1px solid var(--hair); display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.helper-orb { width: 34px; height: 34px; flex: 0 0 auto; }
.helper-head .t1 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }
.helper-head .t2 { font-family: var(--font-display); font-size: 16px; color: var(--paper); margin-top: 2px; }
.helper-disclaimer { font-size: 11.5px; color: var(--paper-faint); padding: 10px 18px; border-bottom: 1px solid var(--hair); flex: 0 0 auto; line-height: 1.5; }
.helper-messages { flex: 1 1 0%; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.helper-msg { font-size: 14px; line-height: 1.55; max-width: 88%; }
.helper-msg.bot { align-self: flex-start; background: var(--ink-3); color: var(--paper); padding: 10px 13px; border-radius: 2px 10px 10px 10px; }
.helper-msg.user { align-self: flex-end; background: var(--steel-dim); color: var(--paper); padding: 10px 13px; border-radius: 10px 2px 10px 10px; }
.helper-msg a { color: var(--steel); text-decoration: underline; }
.helper-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0px 18px 14px; flex: 0 0 auto; }
.helper-chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; background: transparent; border: 1px solid var(--hair-strong); color: var(--paper-dim); padding: 7px 12px; border-radius: 20px; cursor: pointer; }
.helper-chip:hover { border-color: var(--steel); color: var(--steel); }
.helper-form { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--hair); flex: 0 0 auto; }
.helper-form input { flex: 1 1 0%; background: var(--ink-3); border: 1px solid var(--hair-strong); color: var(--paper); font-family: var(--font-body); font-size: 14px; padding: 10px 12px; border-radius: 2px; min-width: 0px; }
.helper-form input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.helper-form button { font-family: var(--font-mono); font-size: 12.5px; background: var(--ember-dim); color: rgb(16, 11, 8); border: none; padding: 0px 16px; border-radius: 2px; cursor: pointer; font-weight: 500; }
.helper-form button:hover { background: var(--ember); }
@media (max-width: 480px) {
  .helper-panel { right: 12px; left: 12px; width: auto; bottom: 82px; }
  .helper-btn { right: 16px; bottom: 16px; }
}
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin: 28px 0px; }
.exp-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.exp-stat { background: var(--ink); padding: 26px clamp(16px, 2vw, 26px); }
.exp-stat .n { display: block; font-family: var(--font-mono); font-size: clamp(21px, 2.2vw, 28px); color: var(--paper); }
.exp-stat .l { display: block; margin-top: 8px; font-size: 11.5px; color: var(--paper-faint); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.4; }
.exp-subhead { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-faint); margin: 44px 0px 0px; }
.exp-prose { max-width: 760px; }
.exp-prose p { color: var(--paper-dim); font-size: 16px; margin-top: 16px; }
.exp-disclosure { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 13px; line-height: 1.65; color: var(--paper-faint); max-width: 820px; }
.glossary-list { margin-top: 8px; border-top: 1px solid var(--hair); max-width: 860px; }
.glossary-item { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0px; border-bottom: 1px solid var(--hair); }
.glossary-item dt { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--steel); text-transform: uppercase; font-weight: 500; }
.glossary-item dd { margin: 0px; color: var(--paper-dim); font-size: 15px; }
.newsletter { background: var(--ink-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.newsletter-bar { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-bar h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 560; }
.newsletter-bar p { margin: 10px 0px 0px; color: var(--paper-dim); font-size: 14.5px; max-width: 44ch; }
.newsletter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-row input[type="email"] { background: var(--ink-3); border: 1px solid var(--hair-strong); color: var(--paper); font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border-radius: 2px; min-width: 240px; }
.newsletter-row input[type="email"]:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.btn-outline { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; padding: 12px 22px; border-radius: 2px; background: transparent; border: 1px solid var(--hair-strong); color: var(--paper); cursor: pointer; }
.btn-outline:hover { border-color: var(--steel); color: var(--steel); }
#newsletter-status { font-size: 13px; color: var(--steel); margin-top: 10px; min-height: 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; border: 0px; }
.form-section { scroll-margin-top: 80px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--paper-faint); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { background: var(--ink-3); border: 1px solid var(--hair-strong); color: var(--paper); font-family: var(--font-body); font-size: 15px; padding: 12px 14px; border-radius: 2px; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0px 26px; }
.check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--ember-dim); }
.check label { font-size: 14px; color: var(--paper-dim); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .fallback { font-size: 13px; color: var(--paper-faint); }
.form-foot .fallback a { color: var(--steel); text-decoration: underline; }
.form-side p a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
#form-status { font-size: 13.5px; color: var(--steel); margin-top: 14px; min-height: 1.4em; }
.form-side .eyebrow { margin-bottom: 14px; }
.form-side h2 { font-size: clamp(24px, 3vw, 32px); }
.form-side p { color: var(--paper-dim); margin-top: 16px; font-size: 16px; }
.form-side .fine { margin-top: 28px; font-size: 13px; color: var(--paper-faint); border-top: 1px solid var(--hair); padding-top: 18px; }
footer { border-top: 1px solid var(--hair); padding: 48px 0px 60px; }
/* Daniel, 2026-09-17 ("footer navigation... no space between the nav and
   the nyc address, and overall it looks like an afterthought, rethink and
   redesign"): .footer-grid used to be a flex row with exactly one child --
   every address, every nav link, and the contact info was one undifferentiated
   .footer-addr block of <br>-separated lines, so a single bare <br> was the
   only thing standing between the NYC address and "Download the one-pager."
   Rebuilt as a real 4-column footer (brand+social / offices / company / investors),
   each with its own labeled section, so office addresses and navigation are
   visually distinct groups instead of one long list. See index.html (and the
   same structure on every other page) for the markup this styles.*/
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 32px; }
.footer-mark { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-tagline { margin: 14px 0px 0px; font-size: 14px; line-height: 1.6; color: var(--paper-dim); max-width: 32ch; }
.footer-social { margin-top: 22px; display: flex; gap: 14px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair-strong); color: var(--paper-dim); transition: border-color 0.15s, color 0.15s; }
.footer-social a:hover { color: var(--steel); border-color: var(--steel); }
.footer-social svg { width: 15px; height: 15px; fill: currentcolor; }
.footer-col-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 16px; }
.footer-office { margin-bottom: 16px; }
.footer-office:last-child { margin-bottom: 0px; }
.footer-office-city { font-size: 12.5px; font-weight: 600; color: var(--steel); margin-bottom: 4px; }
.footer-office address { font-style: normal; font-size: 13.5px; line-height: 1.6; color: var(--paper-dim); }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: var(--paper-dim); text-decoration: none; }
.footer-links a:hover { color: var(--steel); }
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
.legal { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--hair); font-size: 12.5px; line-height: 1.7; color: var(--paper-faint); max-width: 920px; }
.legal p + p { margin-top: 12px; }
.copyright { margin-top: 24px; font-size: 12px; color: var(--paper-faint); font-family: var(--font-mono); }
.role-step { align-items: start; padding: 40px 0px; }
.role-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.role-head h3 { font-family: var(--font-display); font-weight: 560; font-size: 22px; }
.role-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--steel); }
.role-lede { margin: 12px 0px 0px; color: var(--paper-dim); font-size: 15.5px; max-width: 68ch; }
.jd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
.jd-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 10px; }
.jd-list { list-style: none; margin: 0px; padding: 0px; display: grid; gap: 10px; }
.jd-list li { font-size: 14.5px; color: var(--paper-dim); line-height: 1.5; padding-left: 16px; position: relative; }
.jd-list li::before { content: ""; position: absolute; left: 0px; top: 8px; width: 6px; height: 1px; background: var(--paper-faint); }
.role-apply { margin-top: 24px; }
.apply-card { background: var(--ink-2); border: 1px solid var(--hair); border-radius: 6px; padding: clamp(20px, 3vw, 32px); }
.apply-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.apply-role-btn { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; text-decoration: none; text-align: center; background: var(--ink); border: 1px solid var(--hair-strong); color: var(--paper); padding: 14px 12px; border-radius: 2px; }
.apply-role-btn:hover { border-color: var(--ember); color: var(--ember); }
.external-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em; text-decoration: none; color: var(--ink); background: var(--paper); padding: 12px 20px; border-radius: 2px; }
.external-cta:hover { background: var(--steel); }
@media (max-width: 820px) {
  .jd-cols { grid-template-columns: 1fr; gap: 18px; }
  .apply-roles { grid-template-columns: 1fr 1fr; }
  .premise-grid, .access-grid, .form-grid { grid-template-columns: 1fr; gap: 36px; }
  .balance, .screen-grid, .screen-grid.cols-3, .paper-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; }
  .insight-grid { grid-template-columns: 1fr; gap: 28px; }
  .glossary-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0px; }
  .exp-grid, .exp-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .newsletter-bar { flex-direction: column; align-items: flex-start; }
  .newsletter-row { width: 100%; }
  .newsletter-row input[type="email"] { flex: 1 1 0%; min-width: 0px; }
  .note { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 1220px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0px; right: 0px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0px; background: var(--ink); border-bottom: 1px solid var(--hair); padding: 6px clamp(20px, 5vw, 64px) 14px; box-shadow: rgba(26, 23, 18, 0.08) 0px 12px 20px -12px; max-height: calc(100vh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links.open { display: flex; animation: navLinksReveal 0.18s ease; }
  .nav-links a { padding: 13px 0px; border-bottom: 1px solid var(--hair); font-size: 13.5px; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  body:has(.nav-links.open) .helper-btn { display: none; }
}
@keyframes navLinksReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 480px) {
  .nav-mark span { display: none; }
  .nav-cta .cta-full { display: none; }
  .nav-cta .cta-short { display: inline; }
}
@keyframes driftA {
  0% { transform: translateX(0px); }
  100% { transform: translateX(-40px); }
}
@keyframes driftB {
  0% { transform: translateX(0px); }
  100% { transform: translateX(52px); }
}

/* Dissonant University + Advisory: pricing tier cards */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin-top: 8px; }
.tier-card { background: var(--ink); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.tier-card.is-featured { background: var(--ink-2); }
.tier-card .tier-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.tier-card .price { font-family: var(--font-display); font-weight: 560; font-size: 32px; color: var(--paper); margin-top: 12px; }
.tier-card .price .period { font-family: var(--font-mono); font-weight: 400; font-size: 13px; color: var(--paper-faint); letter-spacing: 0.02em; }
.tier-card .tier-desc { margin: 10px 0px 0px; color: var(--paper-dim); font-size: 14.5px; }
.tier-card .tier-list { list-style: none; margin: 18px 0px 0px; padding: 0px; flex: 1 1 auto; }
.tier-card .tier-list li { font-size: 14.5px; color: var(--paper-dim); padding: 9px 0px; border-top: 1px solid var(--hair); }
.tier-card .tier-list li:first-child { border-top: none; }
.tier-card .btn, .tier-card .btn-outline { margin-top: 22px; text-align: center; }
@media (max-width: 760px) {
  .tier-grid { grid-template-columns: 1fr; }
}
/* --- 2026-09-20 nav & footer redesign: grouped clusters replace the flat 7-link nav; dark instrument-panel header; footer taxonomy matches nav --- */
.nav { background: var(--paper); border-bottom: 1px solid rgba(250,248,243,0.14); backdrop-filter: none; }
.nav-mark b { color: var(--ink); }
.nav-mark span { color: rgba(250,248,243,0.55); }
.nav-toggle { color: var(--ink); }
.nav-cta { background: var(--pulse); color: var(--paper); }
.nav-cta:hover { background: #dc9a3f; }
@media (min-width: 1221px) {
  .nav-links { gap: 4px; }
  .nav-links a { color: rgba(250,248,243,0.65); }
  .nav-links a:hover { color: #7fb3c7; }
  .nav-links a.current { color: var(--ink); font-weight: 500; }
  .cluster { position: relative; }
  .cluster > button { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; background: none; border: none; color: rgba(250,248,243,0.65); padding: 8px 10px; cursor: pointer; display: flex; align-items: center; gap: 6px; border-radius: 3px; }
  .cluster > button:hover, .cluster > button[aria-expanded="true"] { color: var(--ink); background: rgba(250,248,243,0.08); }
  .cluster > button.current { color: var(--ink); font-weight: 500; }
  .cluster .car { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform 0.15s ease; opacity: 0.8; flex: 0 0 auto; }
  .cluster > button[aria-expanded="true"] .car { transform: rotate(225deg); }
  .panel { position: absolute; top: calc(100% + 10px); left: 0px; min-width: 230px; background: #232019; border: 1px solid rgba(250,248,243,0.14); border-radius: 4px; padding: 6px; box-shadow: rgba(0,0,0,0.35) 0px 16px 32px; display: none; z-index: 50; }
  .panel.open { display: block; }
  .panel a { display: block; text-decoration: none; padding: 9px 12px; border-radius: 3px; color: var(--ink); font-size: 13.5px; white-space: nowrap; }
  .panel a:hover { background: rgba(250,248,243,0.08); }
  .panel a.current { color: var(--pulse); }
}
@media (max-width: 1220px) {
  .cluster { border-bottom: 1px solid var(--hair); }
  .cluster:last-child { border-bottom: none; }
  .cluster > button { cursor: pointer; font-weight: 600; padding: 13px 0px; border-bottom: none; width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; background: none; border: none; appearance: none; -webkit-appearance: none; color: var(--paper-dim); font-family: inherit; font-size: 13.5px; letter-spacing: 0.03em; margin: 0px; }
  .cluster > button[aria-expanded="true"] { color: var(--paper); }
  .cluster > button .car { display: block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform 0.15s ease; opacity: 0.7; flex: 0 0 auto; margin-left: 8px; }
  .cluster > button[aria-expanded="true"] .car { transform: rotate(225deg); }
  .cluster > button.current { color: var(--steel); }
  .panel { display: none; padding: 0px 0px 8px 2px; }
  .panel.open { display: block; }
  .panel a { display: block; padding: 9px 0px; font-size: 13.5px; border-bottom: none; }
}
.footer-top { grid-template-columns: 1.3fr 0.85fr repeat(4, 0.8fr) 0.9fr; }
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* --- 2026-09-20 footer dark instrument-panel + investor-login pill --- */
.nav-login { border: 1px solid rgba(250,248,243,0.25); border-radius: 3px; padding: 7px 12px; margin-left: 6px; }
.nav-login:hover { border-color: rgba(250,248,243,0.5); color: var(--ink); }
@media (max-width: 1220px) {
  .nav-login { display: block; margin: 0px 0px 8px; padding: 12px 0px; border: none; border-bottom: 1px solid var(--hair); border-radius: 0px; text-align: left; font-weight: 500; }
}
footer { background: var(--paper); border-top: none; }
.footer-mark { color: var(--ink); }
.footer-tagline { color: var(--ink-3); }
.footer-social a { color: var(--ink-3); border-color: rgba(250,248,243,0.2); }
.footer-social a:hover { color: #7fb3c7; border-color: #7fb3c7; }
.footer-col-label { color: rgba(250,248,243,0.45); }
.footer-office-city { color: #7fb3c7; }
.footer-office address { color: var(--ink-3); }
.footer-links a { color: var(--ink-3); }
.footer-links a:hover { color: #7fb3c7; }
.legal { border-top-color: rgba(250,248,243,0.14); color: rgba(250,248,243,0.45); }
.copyright { color: rgba(250,248,243,0.45); }

/* ---------- Motion: scroll reveal, hover polish, nav transition ---------- */
.js-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.js-reveal.is-visible { opacity: 1; transform: none; }
.nav-links a { transition: color 0.2s ease; }
.nav-cta { transition: background-color 0.2s ease, transform 0.2s ease; }
.nav-cta:hover { transform: translateY(-1px); }
.footer-links a { transition: color 0.2s ease; }
.footer-social a { transition: opacity 0.2s ease, transform 0.2s ease; }
.footer-social a:hover { opacity: 0.75; transform: translateY(-1px); }
.external-cta { transition: background-color 0.2s ease, transform 0.2s ease; }
.external-cta:hover { transform: translateY(-1px); }
.apply-role-btn { transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.apply-role-btn:hover { transform: translateY(-1px); }
.btn, .btn-outline { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.btn:hover, .btn-outline:hover { transform: translateY(-1px); }
.screen-card, .tier-card, .insight-card, .paper-card, .apply-card, .faq-item, .glossary-item { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.screen-card:hover, .tier-card:hover, .insight-card:hover, .paper-card:hover, .apply-card:hover { transform: translateY(-3px); box-shadow: 0px 10px 24px -18px rgba(26, 23, 18, 0.35); }
@media (max-width: 1220px) {
  .nav-links { display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s; }
  .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0px); pointer-events: auto; transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .nav-links { transition: none !important; }
  .nav-cta, .external-cta, .apply-role-btn, .btn, .btn-outline, .footer-social a, .screen-card, .tier-card, .insight-card, .paper-card, .apply-card { transition: none !important; transform: none !important; }
}

/* ---------- Mobile nav: move Investor Login to the top of the menu so it's visible without scrolling ---------- */
@media (max-width: 1220px) {
  .nav-links a.nav-login { order: -1; }
}

/* ---------- About page: founder photo + contact links ---------- */
.founder-photo { aspect-ratio: 3 / 4; max-width: 320px; border-radius: 10px; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) sepia(0.14) contrast(1.05); }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
