/* Trading Café shared design layer: "Instrument & assay".
   Loaded after each page's inline <style>, so it wins on equal specificity.
   Scope ink (hero, signal path, contact) with assay gold traces and one cool
   signal blue; drafting-paper body with graphite type. Serif display,
   grotesk text, mono for data and labels. */

:root {
  --ink:        #0B0D11;
  --ink-2:      #12151B;
  --gold:       #F2C14E;
  --blue:       #6FA8FF;
  --bg:         #F1EDE4;
  --vellum:     #E6E0D2;
  --surface:    #F7F4EC;
  --card:       #F7F4EC;
  --fg:         #15130F;
  --muted:      #5E5849;
  --rule:       #D4CCBB;
  --border:     #D4CCBB;
  --accent:     #C8961E;
  --accent-ink: #8C6200;
  --on-ink:     #F4EFE3;
  --on-ink-2:   #B9B3A5;
  --neon-gold:  var(--accent);
  --neon-red:   var(--fg);
  --neon-green: var(--accent);
  --success:    #1F7A4D;
  --danger:     #B3401F;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

html { background: var(--bg); }
body {
  background: var(--bg) !important;
  color: var(--fg);
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
}
#node-network { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, .section-title, .serif, .founder-name, .page-header h1, .legal-header h1 {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  letter-spacing: -0.015em;
}
h1 em, h2 em, .serif em, .section-title em { font-style: italic; }
h3, h4, .plan-title { font-family: var(--font-body) !important; font-weight: 500 !important; letter-spacing: -0.01em; }
.mono, .mono-label { font-family: var(--font-mono) !important; }
.mono-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; margin: 0; }
.mono-label.gold { color: var(--gold); }
.mono-label.ink-gold { color: var(--accent-ink); }

.section-title, .mv-content h2, .legal-card h2 {
  background: none !important; -webkit-text-fill-color: currentColor !important;
  color: var(--fg) !important;
}
.section-title { font-size: clamp(40px, 5vw, 68px) !important; line-height: .98 !important; }
.section-title em { color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.section-desc { color: var(--muted) !important; font-size: 17px; line-height: 1.6; }

.section-label, .hero-eyebrow, .mv-label, .founder-role, .partner-role, .card-badge {
  font-family: var(--font-mono) !important;
  font-size: 11px !important; font-weight: 400 !important;
  letter-spacing: .18em !important; text-transform: uppercase;
  color: var(--accent-ink) !important;
  text-shadow: none !important;
}
[style*="text-shadow"] { text-shadow: none !important; }

/* ---------- Buttons ---------- */
.btn-gold, .btn-line, .btn-ink, .btn-primary, .btn-secondary, .nav-cta, .plan-btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px !important;
  border-radius: 999px !important; box-shadow: none !important;
  font: 500 15px/1 var(--font-body) !important; letter-spacing: 0 !important; text-transform: none !important;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s !important;
}
.btn-gold { background: var(--gold) !important; color: var(--ink) !important; border: 1px solid var(--gold) !important; font-weight: 600 !important; }
.btn-gold:hover { background: #F7D37A !important; transform: translateY(-1px); }
.btn-line { background: transparent !important; color: var(--on-ink) !important; border: 1px solid rgba(244,239,227,.3) !important; }
.btn-line:hover { border-color: var(--on-ink) !important; background: rgba(244,239,227,.06) !important; }
.btn-ink, .btn-primary, .plan-btn { background: var(--fg) !important; color: var(--on-ink) !important; border: 1px solid var(--fg) !important; }
.btn-ink:hover, .btn-primary:hover, .plan-btn:hover { background: #2A2721 !important; opacity: 1 !important; }
.btn-secondary { background: transparent !important; color: var(--fg) !important; border: 1px solid rgba(21,19,15,.25) !important; }
.btn-secondary:hover { border-color: var(--fg) !important; }
.wide { width: 100%; justify-content: space-between !important; min-height: 58px; }
.plan-btn { width: 100%; margin-top: auto; }

/* ---------- Nav ---------- */
.nav {
  background: rgba(241, 237, 228, .88) !important;
  border-bottom: 1px solid var(--rule) !important;
  backdrop-filter: saturate(140%) blur(14px) !important;
  transition: background .3s, border-color .3s;
}
.nav-links a { font: 400 14px/1 var(--font-body) !important; color: var(--muted) !important; letter-spacing: 0 !important; text-transform: none !important; }
.nav-links a:hover, .nav-links a.active { color: var(--fg) !important; }
.nav-logo span { color: var(--fg) !important; font: 600 17px/1 var(--font-body) !important; letter-spacing: -.01em; }
.nav-logo img { mix-blend-mode: normal !important; border-radius: 8px !important; width: 40px !important; height: 40px !important; }
.nav-cta { min-height: 42px; padding: 0 18px !important; font-size: 14px !important; background: transparent !important; color: var(--fg) !important; border: 1px solid rgba(21,19,15,.25) !important; }
.nav-cta:hover { border-color: var(--fg) !important; }
.has-banner .nav:not(.scrolled) { background: transparent !important; border-color: rgba(244,239,227,.08) !important; backdrop-filter: none !important; }
.has-banner .nav:not(.scrolled) .nav-links a { color: rgba(244,239,227,.62) !important; }
.has-banner .nav:not(.scrolled) .nav-links a:hover, .has-banner .nav:not(.scrolled) .nav-links a.active { color: var(--on-ink) !important; }
.has-banner .nav:not(.scrolled) .nav-logo span { color: var(--on-ink) !important; }
.has-banner .nav:not(.scrolled) .nav-cta { color: var(--on-ink) !important; border-color: rgba(244,239,227,.3) !important; }
.has-banner .nav:not(.scrolled) .nav-toggle, .has-banner .nav:not(.scrolled) .nav-mobile-toggle { color: var(--on-ink) !important; }
@media (max-width: 900px) {
  .nav-links:not(.open) { display: none !important; }
  .nav-toggle, .nav-mobile-toggle { display: block !important; background: none; border: 0; color: var(--fg); font-size: 22px; cursor: pointer; min-width: 44px; min-height: 44px; }
  .nav-links.open {
    display: flex !important; flex-direction: column; gap: 18px !important;
    position: absolute; top: 100%; left: 0; right: 0; padding: 24px !important;
    background: var(--bg) !important; border-bottom: 1px solid var(--rule);
  }
  .nav-links.open a { color: var(--fg) !important; font-size: 17px !important; }
}
@media (min-width: 901px) { .nav-toggle, .nav-mobile-toggle { display: none !important; } }
@media (max-width: 640px) { .nav-cta { display: none !important; } }

/* ---------- Scope (ink) surfaces ---------- */
.scope {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--ink) !important; color: var(--on-ink) !important;
  background-image: linear-gradient(rgba(244,239,227,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(244,239,227,.045) 1px, transparent 1px) !important;
  background-size: 60px 60px !important;
}
.mc-canvas { position: absolute; inset: 0; z-index: -2; display: block; pointer-events: none; }
.qe-hero-fade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--ink) 0%, rgba(11,13,17,.92) 36%, rgba(11,13,17,0) 58%); }
@media (max-width: 760px) { .qe-hero-fade { background: linear-gradient(180deg, rgba(11,13,17,0) 30%, var(--ink) 58%); } }
.scope h1, .scope h2 { color: var(--on-ink) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
.scope h1 em, .scope h2 em { color: var(--gold); }
.scope .qe-lede { color: var(--on-ink-2); }

/* Subpage headers */
.scope-banner {
  max-width: none !important; width: auto; margin: 0 !important; border: 0 !important;
  min-height: 460px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  text-align: left !important;
  padding: 150px max(24px, calc((100vw - 1200px) / 2)) 64px !important;
}
.scope-banner h1 { font-size: clamp(44px, 6vw, 88px) !important; line-height: .95 !important; margin-bottom: 18px !important; }
.scope-banner p, .scope-banner span:not(.mono-label) { color: var(--on-ink-2) !important; -webkit-text-fill-color: currentColor !important; }
.scope-banner .section-label { color: var(--gold) !important; }
.scope-banner > p { max-width: 620px; margin-left: 0 !important; }
.scope-banner > h1 { max-width: min(720px, 50vw); }
@media (max-width: 760px) { .scope-banner > h1 { max-width: none; } }
.legal-container { padding-top: 0 !important; margin-top: 0 !important; }
.legal-header.scope-banner { margin: 0 calc(50% - 50vw) 48px !important; width: 100vw; }
.page-header.scope-banner .split-section-grid { width: 100%; }

/* ---------- Home hero ---------- */
.qe-hero { min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: center; padding: 120px max(24px, calc((100vw - 1280px) / 2)) 96px; box-sizing: border-box; }
.qe-hero-copy { max-width: 580px; display: flex; flex-direction: column; gap: 26px; }
.qe-hero h1 { font-size: clamp(56px, 7.4vw, 108px) !important; line-height: .92 !important; margin: 0; }
.qe-hero-sub { font-size: 19px; line-height: 1.55; color: var(--on-ink-2); margin: 0; max-width: 500px; }
.qe-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qe-status { position: absolute; left: max(24px, calc((100vw - 1280px) / 2)); bottom: 36px; display: flex; gap: 28px; color: rgba(244,239,227,.5); font-size: 11px; }
.qe-status span { display: inline-flex; align-items: center; gap: 8px; }
.led { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.6s ease-in-out infinite; }
.led.green { background: #6FD39A; }
@keyframes blink { 50% { opacity: .2; } }
.rise { opacity: 0; animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .15s; } .rise.d2 { animation-delay: .35s; } .rise.d3 { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .qe-hero { justify-content: flex-end; padding-top: 360px; padding-bottom: 88px; }
  .qe-status { flex-wrap: wrap; gap: 10px 20px; bottom: 28px; }
}

/* ---------- Tape ---------- */
.tape { overflow: hidden; background: var(--vellum); border-bottom: 1px solid var(--rule); height: 64px; display: flex; align-items: center; }
.tape-track { display: flex; gap: 64px; width: max-content; padding-left: 64px; animation: tape 42s linear infinite; font: 400 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #3E3A31; white-space: nowrap; }
.tape b { color: var(--accent-ink); font-weight: 500; margin-right: 8px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Generic QE sections ---------- */
.qe-section { padding: 128px max(24px, calc((100vw - 1280px) / 2)); box-sizing: border-box; }
.qe-section h2 { font-size: clamp(42px, 5vw, 68px) !important; line-height: .98 !important; margin: 18px 0 0; }
.qe-section h2.big { font-size: clamp(52px, 7vw, 96px) !important; }
.qe-lede { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 460px; }
.qe-link { font-size: 15px; font-weight: 500; color: var(--accent-ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.qe-link:hover { color: var(--fg); }
.qe-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 64px; }
@media (max-width: 900px) { .qe-split { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; } .qe-section { padding-top: 88px; padding-bottom: 88px; } }

/* §01 system spec sheet */
.qe-system { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; }
.qe-system-intro { display: flex; flex-direction: column; gap: 22px; align-self: start; position: sticky; top: 110px; }
.qe-system-intro h2 { margin: 0; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.spec-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.spec-id { font: 400 12px/1 var(--font-mono); color: var(--accent-ink); }
.spec-row h3 { margin: 0 0 6px; font-size: 22px; }
.spec-row p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.spec-glyph { width: 150px; height: 56px; }
@media (max-width: 900px) {
  .qe-system { grid-template-columns: 1fr; gap: 40px; }
  .qe-system-intro { position: static; }
  .spec-row { grid-template-columns: 52px minmax(0, 1fr); }
  .spec-glyph { display: none; }
}

/* §02 signal path */
.pipe { position: relative; }
.pipe-bus { position: absolute; left: 0; right: 0; top: 56px; height: 1px; background: rgba(242,193,78,.35); }
.pulse { position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: flow 5.4s linear infinite; }
.pulse.p2 { animation-delay: 1.8s; } .pulse.p3 { animation-delay: 3.6s; }
@keyframes flow { 0% { left: -2%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.pipe-loop { position: absolute; left: 0; right: 0; top: 112px; width: 100%; height: 60px; }
.pipe-loop path { animation: loop 1.4s linear infinite; }
@keyframes loop { to { stroke-dashoffset: -48; } }
.pipe-nodes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 28px; }
.pipe-nodes li { display: flex; flex-direction: column; gap: 16px; }
.node { height: 112px; box-sizing: border-box; padding: 14px; border: 1px solid rgba(242,193,78,.35); border-radius: 10px; background: var(--ink-2); display: grid; grid-template-columns: 1fr auto; align-content: space-between; }
.node .mono-label { font-size: 10px; letter-spacing: .14em; color: rgba(244,239,227,.5); }
.node b { grid-column: 1 / -1; font-weight: 500; font-size: 16px; line-height: 1.2; }
.pipe-nodes li:nth-child(2) .led { animation-delay: .2s; } .pipe-nodes li:nth-child(3) .led { animation-delay: .4s; } .pipe-nodes li:nth-child(4) .led { animation-delay: .6s; }
.pipe-nodes li:nth-child(5) .led { animation-delay: .8s; } .pipe-nodes li:nth-child(6) .led { animation-delay: 1s; } .pipe-nodes li:nth-child(7) .led { animation-delay: 1.2s; }
.pipe-nodes p { margin: 0; padding-top: 104px; font-size: 13px; line-height: 1.5; color: #9A9486; }
.pipe-loop-label { position: absolute; left: 50%; top: 172px; transform: translateX(-50%); color: #9CC2FF; font-size: 11px; white-space: nowrap; }
@media (max-width: 1100px) {
  .pipe-bus, .pipe-loop, .pipe-loop-label { display: none; }
  .pipe-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pipe-nodes p { padding-top: 0; }
}

/* §03 subscription matrix */
.matrix-wrap { overflow-x: auto; }
.matrix { width: 100%; min-width: 860px; border-collapse: collapse; border-top: 1px solid var(--fg); }
.matrix th, .matrix td { text-align: left; padding: 0 22px; height: 60px; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 400; }
.matrix tbody th { padding-left: 0; }
.matrix thead th { height: auto; padding-top: 26px; padding-bottom: 22px; vertical-align: top; border-bottom: 1px solid var(--fg); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.matrix thead .mono-label { display: block; font-size: 10px; letter-spacing: .16em; color: var(--accent-ink); margin-bottom: 8px; }
.matrix thead small { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.matrix td.mono { font: 400 13px/1 var(--font-mono); }
.matrix .hl { background: var(--fg); color: var(--on-ink); border-bottom-color: rgba(244,239,227,.12); }
.matrix thead .hl { border-radius: 14px 14px 0 0; }
.matrix thead .hl .mono-label { color: var(--gold); }
.matrix thead .hl small { color: var(--on-ink-2); }
.matrix tfoot td { height: 96px; border-bottom: 0; }
.matrix tfoot .hl { border-radius: 0 0 14px 14px; }
.matrix tfoot a { width: 100%; }
.matrix i { display: inline-block; }
.matrix i.on { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.matrix .hl i.on { background: var(--gold); }
.matrix i.off { width: 14px; height: 1px; background: #B5AC99; vertical-align: middle; }
.matrix .hl i.off { background: rgba(244,239,227,.3); }

/* Quote */
.qe-quote { background: var(--vellum); padding: 120px 24px; display: flex; justify-content: center; }
.qe-quote figure { margin: 0; max-width: 1000px; text-align: center; display: flex; flex-direction: column; gap: 28px; align-items: center; }
.qe-quote blockquote { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; font-style: italic; }

/* §04 contact */
.qe-contact .mc-canvas { opacity: .6; }
.qe-contact .qe-split { margin-bottom: 0; align-items: flex-end; }
.qe-contact-actions { width: 380px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.qe-contact-actions .mono { font-size: 13px; color: var(--on-ink-2); }
.qe-social { display: flex; gap: 20px; padding-top: 8px; }
.qe-social a { color: var(--on-ink-2); font-size: 14px; text-decoration: none; }
.qe-social a:hover { color: var(--gold); }

/* ---------- Kept sections, restyled ---------- */
.section { max-width: 1280px !important; }
.terminal-frame { border-radius: 14px !important; border: 1px solid #1d2028 !important; box-shadow: 0 30px 60px -34px rgba(11,13,17,.55) !important; background: var(--ink) !important; }
.trend-card { border-radius: 10px !important; }
.gold-section-divider { border: 0 !important; height: 1px !important; background: var(--rule) !important; max-width: 1280px; margin: 0 auto !important; box-shadow: none !important; }

.service-card, .value-card, .pricing-card, .enterprise-card, .legal-card,
.contact-form-card, .contact-info-card, .partner-card {
  background: var(--surface) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 14px !important;
  box-shadow: none !important; color: var(--fg);
  transition: border-color .25s, transform .4s cubic-bezier(.2,.7,.2,1), opacity .8s !important;
}
.service-card:hover, .value-card:hover, .pricing-card:hover, .enterprise-card:hover, .partner-card:hover { border-color: var(--fg) !important; }
.service-card h3, .value-card h3, .enterprise-card h3, .legal-card h2, .partner-card h3 { color: var(--fg) !important; }
.service-card p, .value-card p, .enterprise-card p, .legal-card p, .legal-card li, .partner-card p { color: #3E3A31 !important; }
.value-number { font-family: var(--font-mono) !important; color: var(--accent-ink) !important; }
.legal-card h2 { font-family: var(--font-display) !important; font-size: 32px !important; }

.pricing-card { display: flex; flex-direction: column; padding: 32px 24px !important; }
.pricing-card.featured { background: var(--fg) !important; color: var(--on-ink) !important; border-color: var(--fg) !important; }
.pricing-card.featured .plan-title, .pricing-card.featured li { color: var(--on-ink) !important; }
.pricing-card.featured .plan-subtitle { color: var(--on-ink-2) !important; }
.pricing-card.featured .card-badge { color: var(--gold) !important; background: var(--ink) !important; border-color: rgba(242,193,78,.5) !important; }
.pricing-card.featured .plan-btn { background: var(--gold) !important; color: var(--ink) !important; border-color: var(--gold) !important; }
.pricing-section { padding-top: 72px !important; }
.plan-header { border-bottom: 1px solid var(--rule) !important; }
.plan-title { color: var(--fg) !important; font-size: 22px !important; text-transform: none !important; }
.plan-subtitle { color: var(--muted) !important; }
.plan-features li { color: #2E2B27 !important; border-color: var(--rule) !important; }
.plan-features li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 12px; vertical-align: middle; }
.card-badge { background: var(--bg) !important; border: 1px solid rgba(140,98,0,.35) !important; border-radius: 999px !important; padding: 5px 12px !important; }

.social-link { background: var(--surface) !important; color: var(--fg) !important; border: 1px solid var(--rule) !important; border-radius: 999px !important; }
.social-link:hover { background: var(--fg) !important; color: var(--on-ink) !important; }
.founder-bio, .founder-quote { color: #3E3A31 !important; }
.founder-name { color: var(--fg) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
[style*="border-left: 4px solid"] { background: transparent !important; border: 0 !important; border-left: 2px solid var(--accent) !important; border-radius: 0 !important; padding: 6px 0 6px 22px !important; }
.legal, .legal p, .legal li { color: #3E3A31 !important; }
.legal h2 { color: var(--fg) !important; font-family: var(--font-display) !important; }

/* Footer */
footer, .footer {
  background: var(--ink) !important; color: #D8D2C4 !important; border-top: 1px solid rgba(244,239,227,.08) !important;
  max-width: none !important; margin: 0 !important; width: 100%; box-sizing: border-box;
  padding-left: max(24px, calc((100vw - 1280px) / 2)) !important; padding-right: max(24px, calc((100vw - 1280px) / 2)) !important;
}
footer a, .footer a { color: #D8D2C4 !important; }
footer a:hover, .footer a:hover { color: var(--gold) !important; }
.footer-col h4 { color: #7E786C !important; font: 400 11px/1 var(--font-mono) !important; letter-spacing: .16em; text-transform: uppercase; }
footer .nav-logo span, .footer .nav-logo span { color: var(--on-ink) !important; }
.footer-brand p, .footer-bottom { color: #9A9486 !important; }
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links { flex-wrap: wrap !important; gap: 14px 20px !important; }
}

/* Forms */
.form-group label { font-family: var(--font-mono) !important; font-size: 10px !important; letter-spacing: .16em !important; color: var(--muted) !important; font-weight: 400 !important; }
.form-group input, .form-group textarea, .form-group select { background: var(--bg) !important; color: var(--fg) !important; border: 1px solid var(--rule) !important; border-radius: 10px !important; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9A9486 !important; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--fg) !important; box-shadow: 0 0 0 3px rgba(200,150,30,.2) !important; }
.contact-info-card a { color: var(--fg) !important; }

/* Scroll reveals */
.fx { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1) !important; }
.fx.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .fx { opacity: 1 !important; transform: none !important; }
}

/* Mission page: engine film section */
.about-film { max-width: 1080px; margin: 0 auto; padding: 96px 24px 24px; box-sizing: border-box; }
.about-film-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.about-film-caption { margin: 0; font-size: 15px; color: var(--muted); }
.about-film-frame { overflow: hidden; }
.about-film-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }
@media (max-width: 640px) { .about-film { padding-top: 64px; } }

/* Founders page: statements (text only) */
.founders-words { background: var(--vellum); padding: 112px max(24px, calc((100vw - 1200px) / 2)); }
.founders-words-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 40px; }
.founders-words figure { margin: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 28px; border-top: 1px solid var(--fg); }
.founders-words blockquote { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; font-style: italic; color: var(--fg); }
.founders-words figcaption { color: var(--accent-ink); font-size: 11px; }
@media (max-width: 820px) { .founders-words { padding-top: 80px; padding-bottom: 80px; } .founders-words-grid { grid-template-columns: 1fr; gap: 48px; } }

/* Cookie consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000;
  max-width: 760px; margin: 0 auto; box-sizing: border-box;
  display: flex; align-items: center; gap: 24px; padding: 18px 20px;
  background: var(--ink); color: var(--on-ink); border: 1px solid rgba(242,193,78,.35); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.consent.show { opacity: 1; transform: none; pointer-events: auto; }
.consent-text { flex: 1; }
.consent-text .mono-label { color: var(--gold); font-size: 10px; margin-bottom: 6px; }
.consent-text p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-ink-2); }
.consent-text a { color: var(--on-ink); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btn { min-height: 44px; min-width: 96px; padding: 0 18px; border-radius: 999px; font: 500 14px/1 var(--font-body); cursor: pointer;
  background: transparent; color: var(--on-ink); border: 1px solid rgba(244,239,227,.35); }
.consent-btn:hover { border-color: var(--on-ink); }
.consent-btn.primary { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
.consent-btn.primary:hover { background: #F7D37A; }
.cookie-settings-link { background: none; border: 0; padding: 0; margin-left: 16px; font: inherit; font-size: 13px; color: #9A9486; text-decoration: underline; cursor: pointer; }
.cookie-settings-link:hover { color: var(--gold); }
@media (max-width: 640px) {
  .consent { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-actions .consent-btn { flex: 1; }
}

::selection { background: rgba(242,193,78,.4); color: var(--fg); }
