/* ─────────────────────────────────────────────────────────────
   Share by Smartshares — portfolio story mid-zone.
   Strong takeover: Navy + Gold + Teal-spark palette, Playfair
   Display + Inter typeface stack, animated Equity Grid mark,
   mock cap-table / holdings dashboard. FR chrome reuses
   marquee.css + permissio.css.
   ───────────────────────────────────────────────────────────── */

.sh-zone {
  /* Share brand tokens (scoped) */
  --sh-navy900: #0A1628;
  --sh-navy600: #1F4E79;
  --sh-navy500: #1A2F4F;
  --sh-navy400: #2D4B73;
  --sh-navy300: #5A7BA3;
  --sh-navy050: #E8EDF4;

  --sh-gold:   #E8A33D;
  --sh-teal:   #14A3A3;

  --sh-canvas: #F1F5F9;
  --sh-paper:  #FFFFFF;
  --sh-text:   #1A1D23;
  --sh-soft:   #334155;
  --sh-muted:  #64748B;
  --sh-border: #D1D5DB;
  --sh-border-strong: #5A7BA3;

  --sh-success: #0F7B4F;
  --sh-warning: #C77D2A;
  --sh-error:   #B42B3D;
  --sh-info:    #075985;

  --sh-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sh-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sh-mono:  'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;

  background: var(--sh-canvas);
  color: var(--sh-text);
  font-family: var(--sh-sans);
  padding: 120px 64px;
  position: relative;
}
.sh-zone::before {
  /* Subtle equity-grid pattern */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(90,123,163,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,123,163,0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(1100px 700px at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.55;
  pointer-events: none;
}
.sh-zone__inner {
  position: relative;
  max-width: 1280px; margin: 0 auto;
}

/* ── Brand handoff bar ─────────────────────────────────────── */
.sh-handoff {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: var(--sh-paper);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  margin-bottom: 80px;
  box-shadow: 0 1px 0 rgba(10,22,40,0.04);
}
.sh-handoff__wordmark {
  height: 40px;
  width: auto;
  display: block;
}
.sh-handoff__meta {
  font: 600 11px/1 var(--sh-mono);
  letter-spacing: 0.10em;
  color: var(--sh-muted);
  text-transform: uppercase;
}
.sh-handoff__meta b { color: var(--sh-navy600); font-weight: 700; }

/* ── Mission strap (Playfair editorial) ────────────────────── */
.sh-mission {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 80px;
}
.sh-mission .kicker {
  font: 600 12px/1 var(--sh-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sh-gold);
  margin-bottom: 24px;
}
.sh-mission h2 {
  font: 500 clamp(40px, 5.2vw, 64px)/1.1 var(--sh-serif);
  letter-spacing: -0.02em;
  color: var(--sh-navy900);
  margin: 0 0 28px;
  text-wrap: balance;
}
.sh-mission h2 em {
  font-style: italic;
  color: var(--sh-navy600);
}
.sh-mission p {
  font: 300 19px/1.6 var(--sh-sans);
  color: var(--sh-soft);
  margin: 0 auto;
  max-width: 660px;
}

/* ── Three metric cards ────────────────────────────────────── */
.sh-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 96px;
}
.sh-metrics > div {
  background: var(--sh-paper);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.sh-metrics > div::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 100%; width: 4px;
  background: var(--sh-gold);
}
.sh-metrics .v {
  font: 500 clamp(40px, 4.5vw, 56px)/1 var(--sh-serif);
  letter-spacing: -0.02em;
  color: var(--sh-navy600);
  margin-bottom: 14px;
}
.sh-metrics .v small {
  font: 400 16px/1 var(--sh-sans);
  color: var(--sh-muted);
  margin-left: 6px;
}
.sh-metrics .l {
  font: 600 11px/1.4 var(--sh-sans);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sh-navy900);
  margin-bottom: 10px;
}
.sh-metrics .d {
  font: 400 14px/1.55 var(--sh-sans);
  color: var(--sh-soft);
  margin: 0;
}

/* ── Evidence ledger centerpiece ───────────────────────────── */
.sh-evidence {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  margin: 0 0 96px;
}
.sh-evidence__copy .ref {
  font: 600 11px/1 var(--sh-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sh-gold);
  margin: 0 0 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.sh-evidence__copy .ref::before {
  content: ""; width: 32px; height: 1px; background: currentColor;
}
.sh-evidence__copy h3 {
  font: 500 clamp(36px, 3.8vw, 48px)/1.15 var(--sh-serif);
  letter-spacing: -0.02em;
  color: var(--sh-navy900);
  margin: 0 0 24px;
  text-wrap: balance;
}
.sh-evidence__copy h3 em {
  font-style: italic;
  color: var(--sh-navy600);
}
.sh-evidence__copy p {
  font: 400 16px/1.65 var(--sh-sans);
  color: var(--sh-soft);
  margin: 0 0 18px;
}
.sh-evidence__copy ul {
  margin: 8px 0 0; padding: 0; list-style: none;
}
.sh-evidence__copy ul li {
  display: flex;
  align-items: baseline; gap: 14px;
  font: 400 14px/1.55 var(--sh-sans);
  color: var(--sh-text);
  padding: 10px 0;
  border-bottom: 1px solid var(--sh-border);
}
.sh-evidence__copy ul li::before {
  content: "▪";
  flex: 0 0 12px;
  color: var(--sh-teal);
  font-size: 18px;
  line-height: 1;
}
.sh-evidence__copy ul li b { font-weight: 600; color: var(--sh-navy900); }

/* Holdings dashboard / cap table mock */
.sh-holdings {
  background: var(--sh-paper);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(10,22,40,0.18);
}
.sh-holdings__head {
  background: var(--sh-navy900);
  color: var(--sh-paper);
  padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.sh-holdings__head b {
  font: 600 14px/1.2 var(--sh-sans);
}
.sh-holdings__head b small {
  display: block;
  font: 500 10px/1 var(--sh-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.sh-holdings__pill {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 10px/1 var(--sh-mono);
  letter-spacing: 0.10em; text-transform: uppercase;
  color: #ECFDF5;
  background: rgba(15,123,79,0.4);
  padding: 6px 10px; border-radius: 4px;
  border: 1px solid rgba(167,243,208,0.3);
}
.sh-holdings__pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: #A7F3D0;
}
.sh-holdings__valbar {
  padding: 22px;
  border-bottom: 1px solid var(--sh-border);
  background: var(--sh-canvas);
}
.sh-holdings__valbar .row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.sh-holdings__valbar .cell .l {
  font: 500 10px/1 var(--sh-mono);
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--sh-muted);
  margin-bottom: 4px;
}
.sh-holdings__valbar .cell .v {
  font: 500 22px/1 var(--sh-serif);
  color: var(--sh-navy900);
  font-variant-numeric: tabular-nums;
}
.sh-holdings table {
  width: 100%; border-collapse: collapse;
  font: 400 13px/1.4 var(--sh-sans);
}
.sh-holdings thead th {
  font: 500 10px/1 var(--sh-mono);
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--sh-muted);
  padding: 14px 22px;
  border-bottom: 1px solid var(--sh-border);
  text-align: left;
}
.sh-holdings thead th.r { text-align: right; }
.sh-holdings tbody td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--sh-border);
  color: var(--sh-text);
}
.sh-holdings tbody tr:last-child td { border-bottom: none; }
.sh-holdings tbody td.r {
  text-align: right;
  font-family: var(--sh-mono);
  font-variant-numeric: tabular-nums;
  color: var(--sh-navy900);
}
.sh-holdings tbody td .id {
  font: 500 11px/1 var(--sh-mono);
  color: var(--sh-navy600);
  display: block;
  margin-bottom: 4px;
}
.sh-holdings tbody td .h {
  font-weight: 500;
  color: var(--sh-navy900);
}
.sh-holdings tbody td .vest {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 10px/1 var(--sh-mono);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sh-success);
}
.sh-holdings tbody td .vest::before {
  content: ""; width: 5px; height: 5px; border-radius: 999px;
  background: var(--sh-success);
}

/* ── Equity Grid animated mark + scenario engines ──────────── */
.sh-grid-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  background: var(--sh-navy900);
  color: var(--sh-paper);
  border-radius: 8px;
  padding: 56px 48px;
  margin: 0 0 96px;
  position: relative;
  overflow: hidden;
}
.sh-grid-row::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle at center, rgba(232,163,61,0.18), transparent 70%);
  pointer-events: none;
}
.sh-equity {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 280px;
  aspect-ratio: 1 / 1;
  position: relative;
  z-index: 1;
}
.sh-equity .cell {
  border-radius: 2px;
}
/* Row 1 (top): 4 cells, deep navy */
.sh-equity .r1 { background: var(--sh-paper); }
/* Row 2: 3 cells */
.sh-equity .r2 { background: var(--sh-navy050); }
/* Row 3: 2 cells */
.sh-equity .r3 { background: var(--sh-navy300); }
/* Row 4: 1 cell (the spark) */
.sh-equity .r4 { background: var(--sh-teal); }

/* Entrance — visible end-state is the base; we animate FROM hidden */
@media (prefers-reduced-motion: no-preference) {
  .sh-equity .cell {
    animation: sh-cell-in 600ms ease-out backwards;
  }
  .sh-equity .r1.c1 { animation-delay: 100ms; }
  .sh-equity .r1.c2 { animation-delay: 200ms; }
  .sh-equity .r1.c3 { animation-delay: 300ms; }
  .sh-equity .r1.c4 { animation-delay: 400ms; }
  .sh-equity .r2.c1 { animation-delay: 600ms; }
  .sh-equity .r2.c2 { animation-delay: 700ms; }
  .sh-equity .r2.c3 { animation-delay: 800ms; }
  .sh-equity .r3.c1 { animation-delay: 1000ms; }
  .sh-equity .r3.c2 { animation-delay: 1100ms; }
  .sh-equity .r4 {
    animation: sh-cell-spark 800ms ease-out backwards;
    animation-delay: 1400ms;
  }
}
@keyframes sh-cell-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes sh-cell-spark {
  0%   { opacity: 0; transform: translateY(-12px) scale(0.7); box-shadow: 0 0 0 0 rgba(20,163,163,0); }
  60%  { opacity: 1; transform: none; box-shadow: 0 0 0 14px rgba(20,163,163,0.4); }
  100% { opacity: 1; transform: none; box-shadow: 0 0 0 0 rgba(20,163,163,0); }
}

.sh-grid-row__copy {
  position: relative; z-index: 1;
}
.sh-grid-row__copy .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 10px/1 var(--sh-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sh-gold);
  background: rgba(232,163,61,0.12);
  border: 1px solid rgba(232,163,61,0.28);
  padding: 7px 12px; border-radius: 4px;
  margin-bottom: 18px;
}
.sh-grid-row__copy h3 {
  font: 500 clamp(28px, 3vw, 40px)/1.15 var(--sh-serif);
  letter-spacing: -0.015em;
  color: var(--sh-paper);
  margin: 0 0 16px;
  text-wrap: balance;
}
.sh-grid-row__copy h3 em { font-style: italic; color: var(--sh-gold); }
.sh-grid-row__copy p {
  font: 300 16px/1.6 var(--sh-sans);
  color: rgba(255,255,255,0.78);
  margin: 0 0 22px;
}
.sh-engines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sh-engines .e {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 12px 14px;
}
.sh-engines .e b {
  display: block;
  font: 600 10px/1 var(--sh-mono);
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--sh-gold);
  margin-bottom: 4px;
}
.sh-engines .e span {
  font: 500 13px/1.3 var(--sh-sans);
  color: var(--sh-paper);
}

/* ── Capability pillars ────────────────────────────────────── */
.sh-pillars__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--sh-navy900);
}
.sh-pillars__head h3 {
  font: 500 28px/1.2 var(--sh-serif);
  letter-spacing: -0.015em;
  color: var(--sh-navy900);
  margin: 0;
}
.sh-pillars__head h3 small {
  font: 600 11px/1 var(--sh-mono);
  letter-spacing: 0.14em;
  color: var(--sh-gold);
  margin-left: 14px;
  text-transform: uppercase;
}
.sh-pillars__head .count {
  font: 500 12px/1 var(--sh-mono);
  color: var(--sh-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.sh-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--sh-border);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 96px;
}
.sh-pillar {
  background: var(--sh-paper);
  padding: 28px 22px 26px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: background 200ms ease;
}
.sh-pillar:hover { background: var(--sh-canvas); }
.sh-pillar .ref {
  font: 600 10px/1 var(--sh-mono);
  letter-spacing: 0.16em;
  color: var(--sh-gold);
  text-transform: uppercase;
}
.sh-pillar h4 {
  font: 500 18px/1.25 var(--sh-serif);
  color: var(--sh-navy900);
  margin: 0;
}
.sh-pillar p {
  font: 400 13px/1.55 var(--sh-sans);
  color: var(--sh-soft);
  margin: 0;
}
.sh-pillar .keys {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--sh-border);
  font: 500 11px/1.5 var(--sh-mono);
  color: var(--sh-navy600);
}

/* ── Tax-depth callout ─────────────────────────────────────── */
.sh-tax {
  background: var(--sh-paper);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 0 64px;
  position: relative;
}
.sh-tax::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--sh-gold);
}
.sh-tax__copy .ref {
  font: 600 11px/1 var(--sh-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sh-gold);
  margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 14px;
}
.sh-tax__copy .ref::before {
  content: ""; width: 32px; height: 1px; background: currentColor;
}
.sh-tax__copy h3 {
  font: 500 clamp(28px, 3vw, 36px)/1.15 var(--sh-serif);
  color: var(--sh-navy900);
  margin: 0 0 18px;
  text-wrap: balance;
}
.sh-tax__copy h3 em { font-style: italic; color: var(--sh-navy600); }
.sh-tax__copy p {
  font: 400 15px/1.6 var(--sh-sans);
  color: var(--sh-soft);
  margin: 0;
}
.sh-tax__forms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sh-tax__form {
  background: var(--sh-canvas);
  border: 1px solid var(--sh-border);
  border-radius: 6px;
  padding: 16px 18px;
}
.sh-tax__form b {
  display: block;
  font: 600 11px/1 var(--sh-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sh-navy600);
  margin-bottom: 6px;
}
.sh-tax__form p {
  font: 400 12px/1.45 var(--sh-sans);
  color: var(--sh-soft);
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .sh-metrics { grid-template-columns: 1fr; }
  .sh-evidence { grid-template-columns: 1fr; gap: 40px; }
  .sh-grid-row { grid-template-columns: 1fr; gap: 32px; }
  .sh-equity { width: 220px; margin: 0 auto; }
  .sh-engines { grid-template-columns: repeat(2, 1fr); }
  .sh-pillars { grid-template-columns: repeat(2, 1fr); }
  .sh-tax { grid-template-columns: 1fr; }
  .sh-tax__forms { grid-template-columns: 1fr 1fr; }
}

/* ── Hero overrides — Smartshares uses Gold as the hero accent ─ */
.sh-hero .mq-hero__eyebrow,
.sh-hero .mq-hero__vol b { color: var(--sh-gold, #E8A33D); }
.sh-hero .mq-hero__giant em { color: var(--sh-gold, #E8A33D); }
.sh-hero { padding-top: 134px; }


/* ════════════════════════════════════════════════════════════════
   EDITORIAL POLISH — brand-book parity pass
   ════════════════════════════════════════════════════════════════ */

/* Refined editorial nameplate — Share's institutional voice */
.sh-handoff {
  background: transparent;
  border: none;
  border-top: 1px solid var(--sh-navy900);
  border-bottom: 1px solid var(--sh-navy900);
  border-radius: 0;
  padding: 22px 0;
  margin-bottom: 80px;
  box-shadow: none;
}
.sh-handoff__meta {
  letter-spacing: 0.22em;
  font-weight: 600;
  display: flex; align-items: center; gap: 18px;
}
.sh-handoff__meta::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--sh-gold);
}

/* Drop cap on the evidence centerpiece — gold accent */
.sh-evidence__copy p.lead::first-letter {
  font: 500 88px/0.85 var(--sh-serif);
  color: var(--sh-gold);
  float: left;
  padding: 8px 14px 0 0;
  margin-top: 2px;
  letter-spacing: -0.04em;
}

/* Closing editorial pull-quote — set in Playfair italic for the finance voice */
.sh-quote {
  border-top: 1px solid var(--sh-navy900);
  padding: 80px 0 24px;
  text-align: center;
  max-width: 880px;
  margin: 96px auto 0;
}
.sh-quote .eyebrow {
  font: 600 11px/1 var(--sh-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sh-gold);
  margin: 0 0 28px;
}
.sh-quote blockquote {
  font: 500 italic clamp(28px, 3.2vw, 48px)/1.2 var(--sh-serif);
  letter-spacing: -0.02em;
  color: var(--sh-navy900);
  margin: 0 0 24px;
  text-wrap: balance;
}
.sh-quote cite {
  font: 600 11px/1.4 var(--sh-mono);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--sh-muted);
  font-style: normal;
}
.sh-quote cite::before { content: "—"; margin-right: 12px; color: var(--sh-gold); }
