/* Exarh landing — v3 (trillion-dollar iteration)
 * Direction: editorial Apple-meets-Anthropic.
 * - Massive confident type as hero
 * - Generous negative space + grid-breaking moments
 * - A single signature visual that's unforgettable
 * - Fewer sections, denser content
 * - Refined motion micro-interactions
 *
 * Loaded ON TOP of styles-base.css + styles.css.
 * Overrides where needed, adds new patterns.
 */

/* ============ Type system push ============ */
:root {
  --serif: 'Crimson Pro', Georgia, serif;
  --grid-line: rgba(196, 147, 63, 0.15);
}

/* Editorial display sizing — push h1 / h2 further than v2 */
.v3-display {
  font-family: var(--serif);
  font-size: clamp(58px, 9vw, 156px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--text-primary);
}
.v3-display .it {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-gold);
}
.v3-h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.v3-h2 .it {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-gold);
}

/* Grid-line overlay (subtle, editorial) */
.v3-grid-bg {
  position: relative;
}
.v3-grid-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
  opacity: 0.32;
  z-index: 0;
}

/* ============ V3 HERO ============ */
.v3-hero {
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}
.v3-hero-ambient {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 4%, rgba(196,147,63,0.18), transparent 38%),
    radial-gradient(circle at 4% 90%, rgba(27,58,92,0.06), transparent 50%);
}

.v3-hero-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.v3-hero-meta .live {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand-gold); font-weight: 700;
}
.v3-hero-meta .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #5BCA8A; box-shadow: 0 0 8px rgba(91,202,138,0.7);
  animation: pulse-dot 2s infinite;
}
.v3-hero-meta .sep { color: var(--text-faint); }

.v3-hero-headline {
  max-width: 1280px;
  margin-bottom: 56px;
}
.v3-hero-sub {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.v3-hero-actions {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.v3-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px;
  background: var(--brand-blue);
  color: var(--brand-cream);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1), box-shadow 0.22s;
  box-shadow: 0 6px 20px rgba(27,58,92,0.18);
  white-space: nowrap;
}
.v3-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(27,58,92,0.32);
}
.v3-cta .arrow {
  display: inline-flex; transition: transform 0.22s;
}
.v3-cta:hover .arrow { transform: translateX(4px); }

.v3-secondary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px dashed var(--brand-gold-line);
  padding-bottom: 4px;
  text-decoration: none;
}
.v3-secondary:hover { color: var(--brand-gold); border-bottom-color: var(--brand-gold); }

/* ============ Signature: Operational Matrix ============
 * A dense, animated "live" view of what's happening across all agents
 * right now. Big visual centerpiece — replaces the small chat preview
 * with a confident editorial product surface.
 */
.v3-matrix {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #0E1B2A 0%, #0A1421 100%);
  border: 1px solid rgba(196,147,63,0.32);
  color: #F0E6D2;
  box-shadow:
    0 48px 120px -32px rgba(13,27,42,0.55),
    0 12px 32px rgba(13,27,42,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.v3-matrix::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(196,147,63,0.10), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(196,147,63,0.05), transparent 35%);
  pointer-events: none;
}
.v3-matrix-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(196,147,63,0.14);
  background: rgba(7,15,27,0.4);
  position: relative; z-index: 1;
}
.v3-matrix-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: #FAF7F0;
  letter-spacing: -0.01em;
}
.v3-matrix-title .live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #5BCA8A; box-shadow: 0 0 8px rgba(91,202,138,0.7);
  animation: pulse-dot 2s infinite;
  margin-right: 10px;
  vertical-align: middle;
}
.v3-matrix-meta {
  display: flex; align-items: center; gap: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(240,230,210,0.45);
  letter-spacing: 0.06em;
}
.v3-matrix-meta .val { color: #E3B765; font-weight: 700; }

.v3-matrix-body {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  min-height: 460px;
  position: relative; z-index: 1;
}
@media (max-width: 1100px) {
  .v3-matrix-body { grid-template-columns: 160px 1fr; }
  .v3-matrix-side { display: none; }
}
@media (max-width: 700px) {
  .v3-matrix-body { grid-template-columns: 1fr; }
  .v3-matrix-agents { display: none; }
}

.v3-matrix-agents {
  border-right: 1px solid rgba(196,147,63,0.14);
  padding: 16px 0;
  background: rgba(0,0,0,0.2);
}
.v3-matrix-agents .h {
  padding: 0 18px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(227,183,101,0.55);
}
.v3-agent-row {
  display: grid; grid-template-columns: 26px 1fr auto;
  gap: 10px; align-items: center;
  padding: 8px 18px;
  font-size: 13px;
  color: rgba(240,230,210,0.78);
  border-left: 2px solid transparent;
  cursor: default;
}
.v3-agent-row.active {
  background: rgba(196,147,63,0.10);
  border-left-color: var(--brand-gold);
  color: #FAF7F0;
}
.v3-agent-row .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5BCA8A;
  box-shadow: 0 0 5px rgba(91,202,138,0.5);
  justify-self: end;
}
.v3-agent-row .dot.idle { background: rgba(227,183,101,0.4); box-shadow: none; }
.v3-agent-row .dot.busy { background: #E3B765; box-shadow: 0 0 6px rgba(227,183,101,0.6); }
.v3-agent-row .ct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(196,147,63,0.14);
  color: #E3B765;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.v3-matrix-main {
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.v3-matrix-row {
  display: grid;
  grid-template-columns: 64px 24px 1fr auto;
  gap: 14px; align-items: start;
  padding: 12px 16px;
  background: rgba(15,24,35,0.55);
  border: 1px solid rgba(196,147,63,0.12);
  border-radius: 10px;
  opacity: 0; transform: translateY(8px);
  animation: row-in 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes row-in {
  to { opacity: 1; transform: none; }
}
.v3-matrix-row .time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(240,230,210,0.45);
  padding-top: 2px;
}
.v3-matrix-row .ix {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(196,147,63,0.16);
  color: #E3B765;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 12px; font-weight: 600;
}
.v3-matrix-row .body { min-width: 0; }
.v3-matrix-row .who {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(227,183,101,0.78);
  font-weight: 700;
  margin-bottom: 3px;
}
.v3-matrix-row .what {
  font-size: 13px;
  color: rgba(240,230,210,0.92);
  line-height: 1.45;
}
.v3-matrix-row .what .ref { color: #E3B765; font-weight: 600; }
.v3-matrix-row .verdict {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.v3-matrix-row .verdict.ok { background: rgba(91,202,138,0.16); color: #5BCA8A; }
.v3-matrix-row .verdict.hold { background: rgba(227,183,101,0.18); color: #E3B765; }
.v3-matrix-row .verdict.block { background: rgba(220,90,90,0.16); color: #E07A7A; }

/* Side panel (right) — telemetry */
.v3-matrix-side {
  border-left: 1px solid rgba(196,147,63,0.14);
  padding: 18px;
  background: rgba(0,0,0,0.22);
  display: flex; flex-direction: column; gap: 16px;
}
.v3-side-stat .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(227,183,101,0.55);
  margin-bottom: 4px;
}
.v3-side-stat .v {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  color: #FAF7F0;
  letter-spacing: -0.025em;
}
.v3-side-stat .v small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(240,230,210,0.55);
  margin-left: 4px;
  font-weight: 500;
}
.v3-side-stat .delta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin-top: 4px;
  font-weight: 600;
}
.v3-side-stat .delta.up   { color: #5BCA8A; }
.v3-side-stat .delta.down { color: #E07A7A; }

.v3-matrix-foot {
  padding: 12px 24px;
  border-top: 1px solid rgba(196,147,63,0.14);
  background: rgba(0,0,0,0.28);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(240,230,210,0.45);
  letter-spacing: 0.06em;
}
.v3-matrix-foot .gold { color: #E3B765; font-weight: 700; }

/* Caption under matrix */
.v3-matrix-caption {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 16px;
}
.v3-matrix-caption .right { color: var(--brand-gold); font-weight: 700; }

/* ============ Outcome ribbon (the "trillion-dollar" stat strip) ============ */
.v3-outcomes {
  padding: 80px 0;
  border-top: 1px solid var(--brand-gold-line);
  border-bottom: 1px solid var(--brand-gold-line);
  background:
    radial-gradient(circle at 50% 50%, rgba(196,147,63,0.04), transparent 70%);
}
.v3-outcomes-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
.v3-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--brand-gold-line);
  border-bottom: 1px solid var(--brand-gold-line);
}
@media (max-width: 900px) {
  .v3-outcome-grid { grid-template-columns: 1fr; }
}
.v3-outcome {
  padding: 56px 40px;
  border-right: 1px solid var(--brand-gold-line);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.v3-outcome:last-child { border-right: none; }
@media (max-width: 900px) {
  .v3-outcome { border-right: none; border-bottom: 1px solid var(--brand-gold-line); }
  .v3-outcome:last-child { border-bottom: none; }
}
.v3-outcome-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-gold);
}
.v3-outcome-n {
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 124px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--text-primary);
}
.v3-outcome-n .unit {
  font-size: 0.42em;
  color: var(--text-muted);
  margin-left: 8px;
  letter-spacing: -0.02em;
}
.v3-outcome-l {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.35;
  max-width: 28ch;
}
.v3-outcome-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--brand-gold-line);
}

/* ============ Editorial principle block (single page-width statement) ============ */
.v3-principle {
  padding: 80px 0;
  position: relative;
  border-bottom: 1px solid var(--brand-gold-line);
}
.v3-principle-grid {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .v3-principle-grid { grid-template-columns: 1fr; gap: 28px; }
}
.v3-principle-mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold);
  padding-top: 12px;
}
.v3-principle-body {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 56px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}
.v3-principle-body .it { font-style: italic; color: var(--brand-gold); }
.v3-principle-body .small {
  display: block;
  font-size: 0.42em;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 28px;
  font-family: var(--serif);
  letter-spacing: -0.005em;
  line-height: 1.5;
  max-width: 30ch;
}
.v3-principle-side {
  display: flex; flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.v3-principle-orb {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E6C17A, #C4933F 50%, #8A6624);
  box-shadow: 0 8px 24px rgba(196,147,63,0.32);
  animation: orb-float 8s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.v3-principle-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-align: right;
}

/* ============ Editorial section header (used across new sections) ============ */
.v3-section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--brand-gold-line);
}
@media (max-width: 800px) {
  .v3-section-head { grid-template-columns: 1fr; gap: 24px; }
}
.v3-section-num {
  font-family: var(--serif);
  font-size: clamp(96px, 12vw, 200px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--brand-gold);
  font-style: italic;
  opacity: 0.95;
}
.v3-section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.v3-section-title .it { font-style: italic; color: var(--brand-gold); }

/* ============ Capabilities — re-imagined as confident statements ============ */
.v3-caps {
  padding: 120px 0;
}
.v3-cap-list {
  display: flex; flex-direction: column;
}
.v3-cap-item {
  display: grid;
  grid-template-columns: 80px 1fr 0.7fr;
  gap: 56px;
  padding: 44px 0;
  border-top: 1px solid var(--brand-gold-line);
  align-items: center;
  position: relative;
  transition: padding-left 0.35s cubic-bezier(0.22,1,0.36,1);
}
.v3-cap-item:last-child { border-bottom: 1px solid var(--brand-gold-line); }
.v3-cap-item:hover { padding-left: 18px; }
.v3-cap-item:hover .v3-cap-num { color: var(--brand-gold); }
@media (max-width: 800px) {
  .v3-cap-item { grid-template-columns: 60px 1fr; gap: 16px; padding: 28px 0; }
  .v3-cap-item-meta { display: none; }
}
.v3-cap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  transition: color 0.25s;
}
.v3-cap-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}
.v3-cap-title .it { font-style: italic; color: var(--brand-gold); }
.v3-cap-item-meta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  display: flex; flex-direction: column; gap: 6px;
}
.v3-cap-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 6px;
}
.v3-cap-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  background: var(--brand-gold-soft);
  color: var(--brand-blue);
  border-radius: 3px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ============ V3 Industries teaser ============ */
.v3-ind-teaser {
  padding: 120px 0;
  border-top: 1px solid var(--brand-gold-line);
  position: relative;
}
.v3-ind-teaser-lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  max-width: 64ch;
  margin-bottom: 56px;
}

/* Marquee — two rows of square tiles, edge-to-edge, sliding in opposite
   directions. Hover gradually slows everything to a stop. */
.v3-ind-marquee {
  margin: 0 0 56px;
  overflow: hidden;
  position: relative;
  /* Faded edges so tiles drift in/out of view smoothly */
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  display: flex; flex-direction: column;
  gap: 0;
}
.v3-ind-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: v3-ind-scroll 110s linear infinite;
  will-change: transform;
  transition: animation-play-state 2.4s ease;
}
.v3-ind-marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 130s;
}
/* Pausing on hover caused jarring position jumps (animation-duration is not
   transitionable). Let the marquee scroll at constant speed; individual
   tile hover (scale+brightness) still provides interactivity feedback. */
@keyframes v3-ind-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.v3-ind-marquee-tile {
  position: relative;
  display: block;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  text-decoration: none;
  overflow: hidden;
  border-left: 1px solid rgba(196,147,63,0.08);
}
.v3-ind-marquee-tile:first-child { border-left: none; }
.v3-ind-marquee-tile .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.4s;
  filter: saturate(0.78) brightness(0.88);
}
.v3-ind-marquee-tile:hover .img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}
.v3-ind-marquee-tile .overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent 40%, rgba(13,27,42,0.86) 100%);
  pointer-events: none;
}
.v3-ind-marquee-tile .name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: #FAF7F0;
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
@media (max-width: 900px) {
  .v3-ind-marquee-tile { width: 220px; height: 220px; }
  .v3-ind-marquee-tile .name { font-size: 18px; }
  .v3-ind-marquee-track { animation-duration: 80s; }
  .v3-ind-marquee-track.reverse { animation-duration: 95s; }
}
@media (max-width: 600px) {
  .v3-ind-marquee-tile { width: 180px; height: 180px; }
  .v3-ind-marquee-tile .overlay { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-ind-marquee-track { animation-duration: 300s; }
}

/* CTA row at the bottom of the teaser */
.v3-ind-teaser-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--brand-gold-line);
  flex-wrap: wrap;
}
.v3-ind-teaser-count {
  display: flex; align-items: baseline; gap: 14px;
}
.v3-ind-teaser-count .num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-gold);
  font-style: italic;
}
.v3-ind-teaser-count .lbl {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 28ch;
  line-height: 1.45;
}

/* ============ Nav dropdown (Industries) ============ */
.v3-nav-dd {
  position: relative;
}
.v3-nav-dd-trigger {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.v3-nav-dd-trigger::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--brand-gold);
  transition: width 0.25s;
}
.v3-nav-dd-trigger:hover::after,
.v3-nav-dd.open .v3-nav-dd-trigger::after { width: calc(100% - 16px); }
.v3-nav-dd-trigger:hover { color: var(--brand-gold); }

.v3-nav-dd-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 92vw);
  background: var(--brand-cream);
  border: 1px solid var(--brand-gold-line);
  border-radius: 18px;
  box-shadow: 0 32px 80px -16px rgba(13,27,42,0.18), 0 8px 24px rgba(13,27,42,0.06);
  z-index: 100;
  overflow: hidden;
  animation: ddIn 0.22s cubic-bezier(0.22,1,0.36,1);
}
@keyframes ddIn {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
[data-theme="dark"] .v3-nav-dd-panel {
  background: var(--brand-cream);
  border-color: var(--brand-gold-line);
}

.v3-nav-dd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 800px) {
  .v3-nav-dd-grid { grid-template-columns: repeat(2, 1fr); }
}
.v3-nav-dd-col {
  padding: 22px 24px;
  border-right: 1px solid var(--brand-gold-line);
  border-bottom: 1px solid var(--brand-gold-line);
}
.v3-nav-dd-col:nth-child(3n) { border-right: none; }
.v3-nav-dd-col:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 800px) {
  .v3-nav-dd-col:nth-child(3n) { border-right: 1px solid var(--brand-gold-line); }
  .v3-nav-dd-col:nth-child(2n) { border-right: none; }
  .v3-nav-dd-col:nth-last-child(-n+3) { border-bottom: 1px solid var(--brand-gold-line); }
  .v3-nav-dd-col:nth-last-child(-n+2) { border-bottom: none; }
}

.v3-nav-dd-h {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--brand-gold);
  margin-bottom: 6px;
}
.v3-nav-dd-d {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}
.v3-nav-dd-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.v3-nav-dd-col ul li a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  text-decoration: none;
  padding: 3px 0;
  display: block;
  transition: color 0.15s, transform 0.18s;
}
.v3-nav-dd-col ul li a:hover {
  color: var(--brand-gold);
  transform: translateX(3px);
}
.v3-nav-dd-more a {
  font-style: italic !important;
  color: var(--brand-gold) !important;
  font-size: 12.5px !important;
  margin-top: 4px;
}

.v3-nav-dd-foot {
  padding: 14px 24px;
  background: var(--brand-cream-2);
  border-top: 1px solid var(--brand-gold-line);
  text-align: center;
}
[data-theme="dark"] .v3-nav-dd-foot { background: rgba(255,255,255,0.025); }
.v3-nav-dd-foot a {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--brand-gold);
  text-decoration: none;
  font-style: italic;
  letter-spacing: -0.005em;
}

/* ============ V3 Founder section (continues) ============ */
.v3-founder {
  padding: 120px 0;
  border-top: 1px solid var(--brand-gold-line);
}
.v3-founder-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .v3-founder-grid { grid-template-columns: 1fr; gap: 40px; } }

.v3-founder-portrait {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--brand-gold-line);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
  max-width: 360px;
}
.v3-founder-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  display: block;
  border-radius: inherit;
  /* No blur — keep the portrait crisp. Light tone lift only. */
  filter: brightness(1.03) saturate(1.0);
}
.v3-founder-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.018em;
}
.v3-founder-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.v3-founder-pull {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--text-primary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--brand-gold-line);
  max-width: 38ch;
}
.v3-founder-pull em { font-style: italic; color: var(--brand-gold); }

.v3-founder-body-p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 36px;
}
.v3-founder-body-p strong { color: var(--text-primary); font-weight: 600; }

.v3-founder-alma {
  margin-bottom: 36px;
  padding: 22px 26px;
  background: var(--brand-cream-2);
  border: 1px solid var(--brand-gold-line);
  border-radius: 14px;
}
[data-theme="dark"] .v3-founder-alma { background: rgba(255,255,255,0.025); }
.v3-founder-alma-h {
  color: var(--brand-gold) !important;
  font-size: 10.5px !important;
  margin-bottom: 14px;
}
.v3-founder-alma-row {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--brand-gold-line);
  flex-wrap: wrap;
}
.v3-founder-alma-row:last-child { border-bottom: none; }
.v3-founder-alma-row img {
  max-height: 40px;
  max-width: 130px;
  width: auto; height: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(15%) sepia(15%) saturate(1200%) hue-rotate(180deg);
  opacity: 0.85;
}
[data-theme="dark"] .v3-founder-alma-row img { filter: brightness(0) invert(1); opacity: 0.85; }
.v3-founder-alma-row.secondary img {
  max-height: 32px; max-width: 110px;
}
.v3-founder-alma-row .plus {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--brand-gold);
  font-weight: 700;
}
.v3-founder-alma-row .degree {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-left: auto;
}

.v3-founder-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--brand-gold);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: all 0.22s;
}
.v3-founder-cta:hover {
  background: var(--brand-gold);
  color: #1B3A5C;
  transform: translateY(-2px);
}
.v3-founder-cta .arrow { display: inline-flex; transition: transform 0.22s; }
.v3-founder-cta:hover .arrow { transform: translateX(4px); }
.v3-manifest {
  position: relative;
  padding: 160px 0 140px;
  background: linear-gradient(180deg, var(--brand-cream) 0%, var(--brand-cream-2) 100%);
  text-align: center;
  border-top: 1px solid var(--brand-gold-line);
  overflow: hidden;
}
[data-theme="dark"] .v3-manifest {
  background: linear-gradient(180deg, #0F1823 0%, #0B131D 100%);
}
.v3-manifest-ambient {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(196,147,63,0.18), transparent 50%),
    radial-gradient(circle at 12% 90%, rgba(27,58,92,0.08), transparent 45%);
}
.v3-container { position: relative; z-index: 1; }
.v3-manifest-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--brand-gold-soft);
  border: 1px solid rgba(196,147,63,0.32);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 44px;
  white-space: nowrap;
}
.v3-manifest-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5BCA8A;
  box-shadow: 0 0 8px rgba(91,202,138,0.7);
  animation: pulse-dot 2s infinite;
}
.v3-manifest-h {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  margin: 0 auto 36px;
  padding: 0 16px;
  text-align: center;
  display: inline-block;
  width: auto;
  max-width: 100%;
}
.v3-manifest-h .it {
  font-style: italic;
  color: var(--brand-gold);
  font-weight: 400;
}
.v3-manifest-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 24px);
  font-style: italic;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 48px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.v3-manifest-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap;
  margin-bottom: 88px;
}
.v3-cta-gold {
  background: var(--brand-gold);
  color: #1B3A5C;
  box-shadow: 0 6px 24px rgba(196,147,63,0.32);
  font-weight: 600;
}
.v3-cta-gold:hover {
  box-shadow: 0 18px 44px rgba(196,147,63,0.45);
}
.v3-secondary-light {
  color: var(--text-muted);
}

.v3-manifest-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--brand-gold-line);
  padding-top: 28px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .v3-manifest-foot { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
}
.v3-manifest-foot-col {
  padding: 0 22px;
  border-right: 1px solid var(--brand-gold-line);
  text-align: center;
}
.v3-manifest-foot-col:last-child { border-right: none; }
@media (max-width: 720px) {
  .v3-manifest-foot-col:nth-child(2) { border-right: none; }
}
.v3-manifest-foot-col .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 8px;
}
.v3-manifest-foot-col .v {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ============ Header with editorial chrome ============ */
.v3-header {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 22px 0;
  background: rgba(250,247,240,0.82);
  backdrop-filter: saturate(1.6) blur(18px);
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.3s, padding 0.3s;
}
.v3-header.scrolled {
  padding: 14px 0;
  border-bottom-color: var(--brand-gold-line);
}
[data-theme="dark"] .v3-header { background: rgba(15,24,35,0.82); }
.v3-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.v3-header-nav {
  display: flex; gap: 32px;
}
.v3-header-nav a {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.005em;
  position: relative;
  padding-bottom: 3px;
}
.v3-header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--brand-gold);
  transition: width 0.25s;
}
.v3-header-nav a:hover::after { width: 100%; }
.v3-header-nav a[aria-current="page"]::after { width: 100%; }
.v3-header-nav a[aria-current="page"] { color: var(--text-primary); opacity: 1; }
@media (max-width: 800px) { .v3-header-nav { display: none; } }

/* ============ Container override (wider for v3 editorial) ============ */
.v3-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative; z-index: 1;
}
@media (max-width: 700px) {
  .v3-container { padding: 0 22px; }
}
