/* =============================================================================
   OROSA CAPITAL — Website skin
   TechFly skeleton (full-bleed hero, alternating sections, outlined cards,
   diamond accordion, grid form, 4-card footer) rendered in the Orosa house
   style: near-black, molten amber, Cormorant / Space Grotesk / JetBrains Mono.
   Tokens come from assets/colors_and_type.css (linked BEFORE this file).
============================================================================== */

/* ── Reset / base — scaled UP from the dense app ramp to marketing sizes ──── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  font-size: 16px;                 /* override the 13px app base */
  letter-spacing: 0.01em;
  background: var(--bg-0);
  color: var(--ink);
}
body {
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(217, 96, 48, 0.28); color: var(--ink); }

/* slim warm scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #241a12; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-3); }

/* ── The four-layer background stack (fixed behind everything) ───────────── */
.bg-stars, .bg-grain, .bg-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.bg-stars {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(245,208,137,0.55), transparent),
    radial-gradient(1.5px 1.5px at 27% 62%, rgba(245,208,137,0.35), transparent),
    radial-gradient(1px 1px   at 42% 28%, rgba(245,208,137,0.45), transparent),
    radial-gradient(1.5px 1.5px at 58% 78%, rgba(245,208,137,0.30), transparent),
    radial-gradient(1px 1px   at 68% 12%, rgba(245,208,137,0.40), transparent),
    radial-gradient(1.5px 1.5px at 79% 52%, rgba(245,208,137,0.32), transparent),
    radial-gradient(1px 1px   at 88% 84%, rgba(245,208,137,0.42), transparent),
    radial-gradient(1px 1px   at 8% 86%, rgba(245,208,137,0.30), transparent),
    radial-gradient(1.5px 1.5px at 35% 92%, rgba(245,208,137,0.22), transparent),
    radial-gradient(1px 1px   at 92% 32%, rgba(245,208,137,0.30), transparent),
    radial-gradient(1px 1px   at 50% 48%, rgba(245,208,137,0.20), transparent),
    linear-gradient(180deg, #06060b 0%, #050407 55%, #040306 100%);
}
.bg-grain {
  background-image: url('bg-grain.svg');
  opacity: 0.06; mix-blend-mode: overlay;
}
.bg-vignette {
  background:
    radial-gradient(120% 90% at 50% 8%, transparent 40%, rgba(0,0,0,0.55) 100%),
    radial-gradient(80% 60% at 50% 50%, rgba(40,28,12,0.22), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.5), transparent 14%, transparent 86%, rgba(0,0,0,0.6));
}

/* ── Layout primitives ───────────────────────────────────────────────────── */
.wrap { width: min(1240px, 92vw); margin: 0 auto; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.section-pad { padding: clamp(72px, 11vh, 150px) 0; }
.divider {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--panel-edge-strong), transparent);
}

/* corner-bracket framing used on panels */
.bracketed { position: relative; }
.bracketed > .pc { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.pc.tl { top: -1px; left: -1px; border-top: 1px solid var(--gold-edge); border-left: 1px solid var(--gold-edge); }
.pc.tr { top: -1px; right: -1px; border-top: 1px solid var(--gold-edge); border-right: 1px solid var(--gold-edge); }
.pc.bl { bottom: -1px; left: -1px; border-bottom: 1px solid var(--gold-edge); border-left: 1px solid var(--gold-edge); }
.pc.br { bottom: -1px; right: -1px; border-bottom: 1px solid var(--gold-edge); border-right: 1px solid var(--gold-edge); }

/* ── Typography helpers (marketing scale) ────────────────────────────────── */
.eyebrow {
  font-family: var(--mono); font-weight: 500;
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-1);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::after {
  content: ''; width: clamp(40px, 8vw, 120px); height: 1px;
  background: linear-gradient(90deg, var(--gold-edge), transparent);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before {
  content: ''; width: clamp(40px, 8vw, 120px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-edge));
}

.display {
  font-family: var(--display); font-weight: 500;
  line-height: 0.99; letter-spacing: -0.012em; text-wrap: balance;
  color: var(--ink); margin: 0;
}
/* ghost / outlined headline word — the TechFly two-tone move, in Orosa amber */
.ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(217,96,48,0.7);
  text-stroke: 1px rgba(217,96,48,0.7);
}
.amber { color: var(--gold-2); text-shadow: 0 0 26px rgba(217,96,48,0.45); }
.serif-italic { font-family: var(--display); font-style: italic; font-weight: 300; }

.lead {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(15px, 1.25vw, 18px); line-height: 1.62; color: var(--ink-2);
  letter-spacing: 0.01em; text-wrap: pretty;
}
.mono-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-3);
}
.mono-val { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-2); }

/* section title block (centered, two-tone) */
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.section-head .display { font-size: clamp(34px, 5.2vw, 64px); }
.section-head .lead { max-width: 60ch; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --b: var(--panel-edge);
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.30em; text-transform: uppercase; color: var(--ink);
  padding: 16px 30px; border: 1px solid var(--b); background: transparent;
  position: relative; transition: all 220ms cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn .ar { font-family: var(--display); font-size: 18px; line-height: 0; transition: transform 220ms; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover .ar { transform: translateX(4px); }
.btn-primary {
  --b: var(--gold-edge); color: var(--gold-2);
  background: rgba(217,96,48,0.10);
  box-shadow: 0 0 0 rgba(217,96,48,0);
}
.btn-primary:hover {
  border-color: var(--gold-2); background: rgba(217,96,48,0.18);
  box-shadow: 0 8px 30px rgba(217,96,48,0.18);
}
.btn-secondary { color: var(--ink-2); }
.btn-secondary:hover { border-color: var(--gold-edge); color: var(--ink); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 54px);
  transition: background 300ms, border-color 300ms, padding 300ms;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6,5,9,0.78);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  border-bottom: 1px solid var(--panel-edge);
  padding-top: 14px; padding-bottom: 14px;
}
.site-header.scrolled::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-edge), transparent);
}

/* Orosa wordmark (corporate mark — synthesized; see note in chat) */
.wordmark { display: flex; align-items: center; gap: 13px; }
.wordmark .mark {
  width: 30px; height: 30px; flex: none; position: relative;
}
.wordmark .mark svg { width: 100%; height: 100%; display: block; }
/* New Compass app-tile logo (2026-06-07) */
.wordmark .mark-tile { width: 32px; height: 32px; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.45), 0 0 0 1px rgba(246,198,75,.18); }
.wordmark .mark-tile svg { border-radius: 8px; }
.wordmark .mk-dot { animation: pulse-mark 4s ease-in-out infinite; transform-origin: center; }
.wordmark .wm-text { display: flex; flex-direction: column; line-height: 1; }
/* Bold mixed-case wordmark — matches the Compass logo kit (Inter) */
.wordmark .wm-inline { justify-content: center; }
.wordmark .wm-word {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700; font-size: 19px; letter-spacing: -0.005em;
  color: var(--ink); white-space: nowrap;
}
.wordmark .wm-word .wm-cap { font-weight: 600; color: var(--ink); opacity: 0.92; }
@keyframes pulse-mark {
  0%,100% { opacity: 1; filter: drop-shadow(0 0 3px rgba(245,208,137,0.4)); }
  50%     { opacity: 0.78; filter: drop-shadow(0 0 7px rgba(245,208,137,0.8)); }
}

.nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); }
.nav a.nav-link {
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);
  position: relative; padding: 6px 0; transition: color 200ms;
}
.nav a.nav-link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold-2); transition: right 240ms cubic-bezier(.2,.7,.2,1);
}
.nav a.nav-link:hover { color: var(--ink); }
.nav a.nav-link:hover::after { right: 0; }
.nav .btn { padding: 11px 22px; }

.nav-toggle {
  display: none; background: transparent; border: 0; width: 34px; height: 30px;
  flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.nav-toggle span { display: block; height: 1.5px; width: 26px; background: var(--ink); transition: all 260ms; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 90px;
}
.hero-earth {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-earth canvas {
  width: min(1060px, 94vw); height: min(1060px, 94vw);
  /* push the globe to the right so the headline sits in the dark left field */
  transform: translateX(16%);
  opacity: 1;
  filter: saturate(1.05) brightness(1.12);
}
.hero-earth::after {        /* protection gradient under the headline */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 28% 50%, rgba(5,4,7,0.86) 0%, rgba(5,4,7,0.5) 38%, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; width: min(1240px, 92vw); margin: 0 auto; }
.hero-content { max-width: 740px; display: flex; flex-direction: column; gap: 30px; }
.hero h1.display { font-size: clamp(46px, 8.4vw, 118px); }
.hero .sub { max-width: 52ch; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }

/* hero stat rail */
.hero-stats {
  display: flex; gap: clamp(26px, 4vw, 60px); flex-wrap: wrap;
  margin-top: 14px; padding-top: 26px; border-top: 1px solid var(--panel-edge);
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 6px; }
.hero-stats .stat .n {
  font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4vw, 50px);
  color: var(--gold-2); line-height: 1; letter-spacing: 0.02em;
  text-shadow: 0 0 22px rgba(217,96,48,0.30);
}
.hero-stats .stat .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.34em; color: var(--ink-4); text-transform: uppercase;
}
.scroll-cue .bar { width: 1px; height: 40px; background: linear-gradient(180deg, var(--gold-edge), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ── Ticker ──────────────────────────────────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--panel-edge); border-bottom: 1px solid var(--panel-edge);
  background: linear-gradient(180deg, rgba(8,7,11,0.7), rgba(20,16,10,0.85));
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr;
}
.ticker .tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.34em; color: var(--gold-1);
  padding: 0 24px; display: flex; align-items: center; gap: 10px;
  border-right: 1px solid var(--panel-edge); background: rgba(217,96,48,0.04);
  text-transform: uppercase; white-space: nowrap;
}
.ticker .tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.ticker .track {
  overflow: hidden; position: relative; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.ticker .inner { display: flex; gap: 42px; white-space: nowrap; width: max-content; animation: tick 60s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker .item { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; display: inline-flex; align-items: baseline; gap: 9px; }
.ticker .sym { color: var(--ink-3); }
.ticker .val { color: var(--ink); font-weight: 500; }
.ticker .up { color: var(--gold-2); }
.ticker .down { color: var(--signal-warm); }
/* News headlines from the intel feed — amber signal = the AI/tech edge (Social brief) */
.ticker .item.news { color: var(--ink-2); }
.ticker .item.news .bull { color: #f5894a; font-size: 9px; transform: translateY(-1px); }
.ticker .item.crypto .sym { color: #f5894a; }
.ticker .tag .dot { background: #f5894a; box-shadow: 0 0 8px #f5894a; }

/* ── Thesis / about ──────────────────────────────────────────────────────── */
.thesis-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.thesis-lead .display { font-size: clamp(32px, 4.4vw, 56px); margin-top: 22px; }
.thesis-lead .lead { margin-top: 28px; max-width: 50ch; }
.thesis-lead .lead + .lead { margin-top: 16px; }

/* company-overview spec table (the mono readout) */
.spec {
  border: 1px solid var(--panel-edge); background: var(--panel);
  position: relative; padding: 30px 30px 12px;
}
.spec h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-1); margin: 0 0 20px;
}
.spec .row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px dotted var(--panel-edge);
}
.spec .row:last-child { border-bottom: 0; }
.spec .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.spec .v { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink); text-align: right; }
.spec .v.gold { color: var(--gold-2); }

/* ── Sector grid (What We Own) ───────────────────────────────────────────── */
.sector-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--panel-edge); border: 1px solid var(--panel-edge);
  margin-top: 64px;
}
/* Proof-of-thesis chain strip (acquire → retain → bill → productize) */
.proof-chain {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px; margin-top: 44px;
}
.proof-chain .step {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-3); padding: 8px 16px; border: 1px solid var(--panel-edge); border-radius: 999px;
}
.proof-chain .step.accent { color: #f5894a; border-color: rgba(245,137,74,0.4); box-shadow: 0 0 18px rgba(245,137,74,0.12); }
.proof-chain .arr { color: var(--gold-1); font-family: var(--mono); font-size: 13px; }
.proof-grid { margin-top: 40px; }
.sector {
  position: relative; background: var(--bg-1); padding: 38px 34px 42px;
  display: flex; flex-direction: column; gap: 18px; min-height: 290px;
  transition: background 240ms, transform 240ms;
  isolation: isolate; overflow: hidden;
}
.sector::before {  /* warm glow that blooms on hover */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120% 90% at 18% 0%, rgba(217,96,48,0.16), transparent 60%);
  transition: opacity 300ms;
}
.sector:hover { background: var(--bg-2); }
.sector:hover::before { opacity: 1; }
.sector .idx { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; color: var(--ink-4); }
.sector .glyph {
  font-family: var(--display); font-size: 40px; line-height: 1; color: var(--gold-2);
  text-shadow: 0 0 16px rgba(217,96,48,0.4); transition: transform 300ms;
}
.sector:hover .glyph { transform: translateY(-2px); }
/* Real brand logo in a proof card (BillRxNow, AIxWrk) — app-tile style */
.sector .brand-mark {
  width: 44px; height: 44px; border-radius: 11px; display: block;
  box-shadow: 0 3px 10px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform 300ms;
}
.sector:hover .brand-mark { transform: translateY(-2px); }
.sector h3 { font-family: var(--display); font-weight: 500; font-size: 26px; color: var(--ink); margin: 0; letter-spacing: 0.01em; }
/* Brand-styled card titles — match each brand's own wordmark (bold sans + accent) */
.sector h3.brand-title {
  font-family: 'Inter', system-ui, sans-serif; font-weight: 700; font-size: 23px;
  letter-spacing: -0.01em; color: var(--ink);
}
.sector h3.brand-title .accent { color: #f5894a; }   /* BillRxNow "Now", AIxWrk "x" */
.sector h3.aixwrk .accent { font-weight: 700; }
.sector p { font-family: var(--sans); font-weight: 300; font-size: 13.5px; line-height: 1.58; color: var(--ink-3); margin: 0; }
.sector .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 8px; }
.chip {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--panel-edge); padding: 5px 9px; border-radius: 999px;
  transition: border-color 240ms, color 240ms;
}
.sector:hover .chip { border-color: var(--gold-edge); color: var(--ink-2); }
.sector .corner-id {
  position: absolute; top: 30px; right: 30px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--ink-4);
}

/* ── Brands / Selected holdings ──────────────────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.brand-card {
  position: relative; border: 1px solid var(--panel-edge); background: var(--panel);
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
  transition: border-color 240ms, transform 240ms, background 240ms;
}
.brand-card:hover { border-color: var(--gold-edge); transform: translateY(-3px); background: var(--bg-2); }
.brand-top { display: flex; align-items: center; justify-content: space-between; }
.brand-status {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-1); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.brand-status .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 6px var(--gold-2); animation: pulse-dot 1.8s infinite; }
.brand-status.hold { color: var(--ink-4); }
.brand-status.hold .dot { background: var(--ink-4); box-shadow: none; animation: none; }
.brand-logo {
  width: 100%; height: 120px; border: 1px dashed var(--panel-edge);
  background: linear-gradient(135deg, rgba(20,16,26,0.6), rgba(10,8,6,0.5));
}
.brand-logo image-slot { width: 100%; height: 100%; }
.brand-name { font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--ink); margin: 0; }
.brand-sector { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-1); margin-top: 4px; }
.brand-desc { font-family: var(--sans); font-weight: 300; font-size: 13px; line-height: 1.55; color: var(--ink-3); margin: 0; }
.brand-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.brand-link { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; transition: color 200ms; }
.brand-card:hover .brand-link { color: var(--gold-2); }

/* ── Accordion (How We Operate) ──────────────────────────────────────────── */
.acc { margin-top: 56px; border-top: 1px solid var(--panel-edge); }
.acc-item { border-bottom: 1px solid var(--panel-edge); }
.acc-head {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px;
  padding: 30px 8px; color: var(--ink); transition: padding 240ms, color 200ms;
}
.acc-head:hover { color: var(--gold-2); }
.acc-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold-1); }
.acc-title { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 0.01em; }
.acc-mark {
  font-family: var(--display); font-size: 22px; color: var(--gold-2);
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--panel-edge); transform: rotate(45deg); transition: all 300ms;
}
.acc-mark span { transform: rotate(-45deg); transition: transform 300ms; }
.acc-item.open .acc-mark { border-color: var(--gold-edge); background: rgba(217,96,48,0.10); }
.acc-item.open .acc-mark span { transform: rotate(-45deg) rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 360ms cubic-bezier(.2,.7,.2,1); }
.acc-body-inner {
  display: grid; grid-template-columns: auto 1fr; gap: 26px;
  padding: 0 8px 32px 8px;
}
.acc-body-inner .spacer { width: 11px; }
.acc-body p { font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.62; color: var(--ink-2); max-width: 66ch; }
.acc-item.open .acc-head { color: var(--gold-2); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(36px, 5vw, 72px); margin-top: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.ci-block { border-left: 1px solid var(--gold-edge); padding-left: 20px; }
.ci-block .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-1); }
.ci-block .v { font-family: var(--sans); font-weight: 300; font-size: 17px; color: var(--ink); margin-top: 8px; }
.ci-block .v.mono { font-family: var(--mono); font-size: 15px; letter-spacing: 0.04em; }
.hours { border: 1px solid var(--panel-edge); background: var(--panel); padding: 22px 24px; }
.hours .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-1); margin-bottom: 14px; }
.hours .hr { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dotted var(--panel-edge); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }
.hours .hr:last-child { border-bottom: 0; }
.hours .hr .d { color: var(--ink-3); }
.hours .hr .t { color: var(--ink); }
.hours .hr .t.closed { color: var(--ink-4); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-1); }
.field label .req { color: var(--signal-red); margin-left: 3px; }
.field input, .field textarea, .field select {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink);
  background: rgba(14,11,18,0.5); border: 1px solid var(--panel-edge);
  padding: 14px 16px; transition: border-color 200ms, box-shadow 200ms; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold-edge); box-shadow: 0 0 0 2px rgba(217,96,48,0.16);
}
.field select { -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-1) 50%), linear-gradient(135deg, var(--gold-1) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form .submit-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form .note { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-4); max-width: 38ch; }
.form-success { grid-column: 1 / -1; display: none; border: 1px solid var(--gold-edge); background: rgba(217,96,48,0.08); padding: 18px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); }
.form-success.show { display: block; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-band .display { font-size: clamp(34px, 5.4vw, 70px); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--panel-edge); background: var(--bg-1); position: relative; z-index: 1; }
.footer-top { display: flex; align-items: center; gap: 30px; padding: 40px 0 36px; }
.footer-top .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--panel-edge), transparent 80%); }
.footer-nav { display: flex; gap: 30px; }
.footer-nav a { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); transition: color 200ms; }
.footer-nav a:hover { color: var(--gold-2); }
.footer-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 40px; }
.fcard {
  border: 1px solid var(--panel-edge); background: var(--bg-2); padding: 26px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  transition: border-color 240ms;
}
.fcard:hover { border-color: var(--gold-edge); }
.fcard .gl { font-family: var(--display); font-size: 26px; color: var(--gold-2); line-height: 1; }
.fcard .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.fcard .v { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 34px; border-top: 1px solid var(--panel-edge); flex-wrap: wrap; }
.footer-bottom .copy { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--ink-4); text-transform: uppercase; }
.footer-bottom .disc { font-family: var(--sans); font-size: 11px; color: var(--ink-4); max-width: 56ch; line-height: 1.5; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border: 1px solid var(--panel-edge); display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); transition: all 220ms;
}
.socials a:hover { border-color: var(--gold-edge); color: var(--gold-2); }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker .inner, .scroll-cue .bar, .brand-status .dot, .ticker .tag .dot, .wordmark .mk-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 26px; padding: 40px;
    background: rgba(6,5,9,0.97); border-left: 1px solid var(--panel-edge);
    transform: translateX(100%); transition: transform 360ms cubic-bezier(.2,.7,.2,1); z-index: 49; }
  .nav-open .nav { transform: none; }
  .nav-toggle { display: flex; z-index: 60; }
  .nav .nav-link { font-size: 14px; }
  .nav .btn { width: 100%; justify-content: center; }
  .thesis-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-earth canvas { transform: translateX(8%); opacity: 0.6; }
  .hero-earth::after { background: radial-gradient(90% 90% at 40% 45%, rgba(5,4,7,0.85) 0%, rgba(5,4,7,0.55) 50%, transparent 80%); }
}
@media (max-width: 620px) {
  .sector-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .footer-cards { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .ticker .tag { padding: 0 14px; }
}

/* ── Team ─────────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--panel-edge); border: 1px solid var(--panel-edge); margin-top: 56px;
}
.team-card {
  background: var(--bg-1); padding: 28px 24px; display: flex; align-items: center; gap: 16px;
  transition: background 240ms;
}
.team-card:hover { background: var(--bg-3); }
.team-card .avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: radial-gradient(120% 120% at 30% 25%, #1b150c, #0b0a07);
  box-shadow: inset 0 0 0 1px var(--gold-edge);
}
.team-card .avatar::after {
  content: attr(data-initials);
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; font-weight: 500;
  color: var(--gold-2);
}
/* Real photo avatar (Video #1402) — fills the circle, hides the monogram fallback */
.team-card .avatar:has(img) { overflow: hidden; }
.team-card .avatar:has(img)::after { content: none; }
.team-card .avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
.team-card .t-name {
  font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--ink);
  margin: 0; letter-spacing: 0.01em; line-height: 1.1;
}
.team-card .t-role {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 6px;
}
/* CEO featured card spans the full top row */
.team-card.lead-card {
  grid-column: 1 / -1; background: linear-gradient(90deg, rgba(217,154,46,0.07), transparent 60%);
  padding: 30px 28px;
}
.team-card.lead-card .avatar { width: 60px; height: 60px; box-shadow: inset 0 0 0 1.5px var(--gold-1), 0 0 22px rgba(217,154,46,0.18); }
.team-card.lead-card .avatar::after { color: var(--gold-1); font-size: 15px; }
.team-card.lead-card .t-name { font-size: 23px; }
.team-card.lead-card .t-role { color: var(--gold-1); }

@media (max-width: 920px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ── The Edge / Intelligence Layer ────────────────────────────────────────── */
.edge-section { position: relative; }
.edge-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px;
}
.edge-card {
  background: linear-gradient(180deg, rgba(245,137,74,0.05), transparent 70%);
  border: 1px solid var(--panel-edge); border-top: 1px solid rgba(245,137,74,0.32);
  padding: 34px 28px 36px; transition: transform 240ms, border-color 240ms, background 240ms;
}
.edge-card:hover { transform: translateY(-3px); border-color: rgba(245,137,74,0.4); background: linear-gradient(180deg, rgba(245,137,74,0.09), transparent 70%); }
.edge-card .edge-id {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: #f5894a;
  display: block; margin-bottom: 18px;
}
.edge-card .edge-h {
  font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--ink);
  margin: 0 0 14px; letter-spacing: 0.01em;
}
.edge-card p { font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }

@media (max-width: 920px) { .edge-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Contact: connect links row + email link hover */
.ci-social { display: flex; gap: 16px; flex-wrap: wrap; }
.ci-social a, .contact-info .v a, .fcard .v a { color: var(--gold-2); transition: color 180ms; }
.ci-social a:hover, .contact-info .v a:hover, .fcard .v a:hover { color: var(--ink); }

/* ── Daily Intelligence Brief (live, fade-cycling) ────────────────────────── */
.brief-stage {
  margin-top: 56px; border: 1px solid var(--panel-edge);
  background: linear-gradient(180deg, rgba(245,137,74,0.04), transparent 70%);
  padding: 38px clamp(24px,4vw,56px) 30px; position: relative; overflow: hidden;
}
.brief-rail { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.brief-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #f5894a;
  box-shadow: 0 0 10px #f5894a; animation: pulse-dot 1.6s infinite;
}
.brief-meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
}
.brief-viewport { min-height: 168px; display: flex; align-items: center; }
.brief-story {
  display: block; opacity: 1; transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms ease;
}
.brief-story.fade-out { opacity: 0; transform: translateY(10px); }
.brief-tag {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #f5894a; border: 1px solid rgba(245,137,74,0.34);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.brief-headline {
  font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.12; color: var(--ink); margin: 0 0 14px; letter-spacing: -0.005em; max-width: 26ch;
}
.brief-take {
  font-family: var(--sans); font-weight: 300; font-size: clamp(15px,1.3vw,18px);
  line-height: 1.55; color: var(--ink-2); margin: 0 0 16px; max-width: 60ch;
}
.brief-source { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); }
.brief-dots { display: flex; gap: 8px; margin-top: 26px; }
.brief-dot { width: 22px; height: 2px; background: var(--panel-edge-strong); transition: background 300ms; }
.brief-dot.on { background: #f5894a; }
.brief-cta { display: flex; justify-content: center; margin-top: 48px; }

@media (max-width: 620px) { .brief-headline { font-size: 22px; } .brief-viewport { min-height: 200px; } }

/* Ticker metals (Gold/Silver spot — metals intelligence input, Tech-verified) */
.ticker .item.metal .sym { color: var(--gold-2); }
.ticker .item.metal .unit { color: var(--ink-4); font-size: 10px; }

/* Footer legal links */
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); transition: color 180ms; }
.footer-legal a:hover { color: var(--gold-2); }

/* ── Legal pages (Privacy / Terms) ────────────────────────────────────────── */
.legal-wrap { width: min(760px, 90vw); margin: 0 auto; padding: clamp(120px,18vh,200px) 0 90px; position: relative; z-index: 1; }
.legal-title { font-family: var(--display); font-weight: 500; font-size: clamp(34px,6vw,56px); color: var(--ink); margin: 14px 0 6px; letter-spacing: -0.01em; }
.legal-updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 38px; }
.legal-h { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--ink); margin: 38px 0 12px; }
.legal-p { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.legal-p strong { color: var(--ink); font-weight: 500; }
.legal-p a, .legal-back a { color: var(--gold-2); }
.legal-p a:hover, .legal-back a:hover { color: var(--ink); }
.legal-back { margin-top: 48px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; }
.legal-footer { margin-top: 40px; }
