/* Remaining component styles — layouts for all sections */

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 768px) {
  /* Header */
  .header-inner { height: 72px; }
  .site-header.is-scrolled .header-inner { height: 56px; }
  .header-logo-img { height: 44px; }
  .site-header.is-scrolled .header-logo-img { height: 32px; }

  /* Hero */
  .hero-copy h1 { font-size: 36px !important; line-height: 1.1; }
  .hero-copy .lead { font-size: 16px; }
  .hero-grid { padding-bottom: 40px; gap: 40px; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { justify-content: center; }
  .hero-visual { max-width: 360px; margin: 0 auto; }

  /* Tickers */
  .hero-ticker { font-size: 11px; }

  /* Section heads — stack 2-col grid */
  .section-head { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Common card grids */
  .diff-cards,
  .ratios-grid,
  .focus-list,
  .insights-layout,
  .why-grid,
  .footer-cols,
  .team-grid {
    grid-template-columns: 1fr !important;
  }
  .team-grid { gap: 32px; }

  /* Section padding */
  .section { padding: 60px 0; }
  .sub-hero { padding: 60px 0 40px; }

  /* Background symbols smaller */
  .bg-symbols img { width: 220px !important; }

  /* Modals */
  .article-modal { height: 92vh; }
  .article-modal-head { padding: 16px 18px; }
  .article-modal-head h3 { font-size: 18px; }
  .team-modal { padding: 24px; }
  .team-modal-head { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Footer */
  .site-footer { padding: 60px 0 24px; }
  .footer-top { gap: 32px; padding-bottom: 40px; }
  .footer-cols { gap: 28px; }
  .footer-legal { flex-direction: column; gap: 16px; align-items: flex-start; }

  /* Container gutter */
  .container { padding-left: 20px; padding-right: 20px; }

  /* Scroll-top button smaller */
  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

  /* Calendar */
  .events-list { max-height: 260px; }
  .event-row { gap: 14px; padding: 14px 0; }

  /* Founder quote */
  .founder-hero-quote { padding: 32px 28px; }
  .founder-quote-text { font-size: 20px; }

  /* Hero countdown — slightly smaller numbers */
  .hcd-num { font-size: 26px; }
  .hcd-unit { min-width: 40px; }
  .hcd-sep { font-size: 22px; }
}

/* ========== ARTICLE MODAL ========== */
.article-modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 0, 90, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.article-modal {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  width: min(1100px, 100%);
  height: min(88vh, 900px);
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}
.article-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--hairline);
}
.article-modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--bg);
  font-size: 22px; line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.article-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
}
.article-body { flex: 1; }
.article-body p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.article-body p:first-child { color: var(--fg); font-weight: 500; }
.article-body ul {
  margin: 0 0 18px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-body li {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}
.article-modal-readmore {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
}

/* Make insight-card work as <button> */
button.insight-card {
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 100%;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 60;
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink-1);
  border: 1px solid var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6, 0, 90, 0.18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.scroll-top:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6, 0, 90, 0.24); }
.scroll-top .arrow {
  display: inline-block;
  transform: rotate(-90deg);
  font-size: 18px;
  line-height: 1;
}

/* ========== BACKGROUND SYMBOLS ========== */
.bg-symbols {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
  transition: background .25s var(--ease);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 112px; gap: 24px;
  transition: height .25s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 72px; }
.header-logo { display: inline-flex; align-items: center; }
.header-logo-img {
  height: 72px;
  transition: height .25s var(--ease);
}
.site-header.is-scrolled .header-logo-img { height: 40px; }
.header-nav {
  display: none; gap: 28px; align-items: center;
}
@media (min-width: 1100px) {
  .header-nav { display: flex; }
}
.nav-link {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color .2s var(--ease);
  font-weight: 400;
}
.nav-link:hover, .nav-link.is-active { color: var(--fg); }
.nav-link.is-active {
  position: relative;
}
.nav-link.is-active::after {
  content: ""; position: absolute; bottom: -24px; left: 0; right: 0;
  height: 2px; background: var(--accent);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 36px; height: 36px; padding: 8px;
  background: none; border: 1px solid var(--hairline); border-radius: 8px;
}
.nav-burger span { display: block; height: 1.5px; background: var(--fg); }
@media (min-width: 1100px) { .nav-burger { display: none; } }

.mobile-nav {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px var(--gutter) 28px;
  border-top: 1px solid var(--hairline);
}
.mobile-nav a { font-size: 18px; }

/* ========== HERO (split) ========== */
.hero-split { padding: clamp(60px, 8vw, 120px) 0 0; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; gap: 60px; align-items: center;
  grid-template-columns: 1fr;
  padding-bottom: 80px;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 80px; }
}
.hero-copy { max-width: 640px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; margin: 0 auto; width: 100%; }
.hero-motif { position: relative; width: 100%; height: 100%; }
.hero-metric {
  position: absolute;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  padding: 10px 14px; border-radius: 10px;
}
.hero-metric-val {
  font-family: var(--font-display); font-size: 16px; font-weight: 500;
  letter-spacing: -0.01em; margin-top: 4px;
}

.hero-year-tick {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  pointer-events: none;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
}

.hero-now-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px color-mix(in oklab, var(--accent) 35%, transparent);
  pointer-events: none;
}
.hero-now-chip .pipe-label { color: #fff; }

.hero-countdown {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.hero-countdown-label {
  font-family: var(--font-mono); font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}
.hero-countdown-target {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1;
  margin-top: 4px;
  color: var(--ink-1);
}
.hero-countdown-years {
  margin-top: 14px;
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
}
.hero-countdown-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  color: var(--accent);
}
.hero-countdown-unit {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.hero-countdown-clock {
  margin-top: 14px;
  display: flex; align-items: flex-start; justify-content: center; gap: 6px;
}
.hcd-unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 52px;
}
.hcd-num {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hcd-lbl {
  margin-top: 6px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.hcd-sep {
  font-family: var(--font-display);
  font-size: 28px; line-height: 1;
  color: var(--ink-3);
  padding-top: 2px;
}

.hero-ticker {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden; padding: 16px 0;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: inline-flex; gap: 40px; white-space: nowrap;
  animation: ticker 50s linear infinite;
  padding-left: 40px;
}
.ticker-track span:first-child, .ticker-track span:nth-child(8) { color: var(--accent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== SECTION 2 — WHY ========== */
.sect-why { border-top: 1px solid var(--hairline); }
.why-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 1000px) {
  .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
}
.why-emph {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  margin-top: 24px;
  color: var(--fg);
  letter-spacing: -0.015em;
}
.why-emph em { color: var(--accent); font-style: normal; }
.dim { color: var(--fg-dim); }

.gap-viz {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
  margin-top: 56px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.gap-step { text-align: center; }
.gap-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--fg); margin: 0 auto 8px;
}
.gap-dot-green { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 25%, transparent); }
.gap-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--fg-muted); letter-spacing: 0.08em; }
.gap-bridge {
  height: 1px; background: repeating-linear-gradient(90deg, var(--fg-dim) 0 6px, transparent 6px 12px);
  position: relative;
}
.gap-bridge-label {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--bg); padding: 0 12px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  color: var(--fg-dim); letter-spacing: 0.08em;
}

/* ========== SECTION 3 — DIFFERENT ========== */
.diff-cards {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 900px) { .diff-cards { grid-template-columns: repeat(3, 1fr); } }
.diff-card {
  background: var(--bg);
  padding: 40px 32px 32px;
  position: relative;
  transition: background .3s var(--ease);
}
.diff-card:hover { background: var(--bg-2); }
.diff-card-top { display: flex; align-items: center; margin-bottom: 56px; }
.diff-card h3 { font-size: 26px; margin-bottom: 16px; max-width: 18ch; }
.diff-card p { color: var(--fg-muted); font-size: 15px; }

/* ========== SECTION 4 — FOCUS ========== */
.focus-layout {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 1000px) {
  .focus-layout { grid-template-columns: 0.4fr 0.6fr; gap: 48px; align-items: start; }
}
.focus-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.focus-tab {
  background: none; border: none;
  color: var(--fg-muted);
  padding: 28px 0; text-align: left;
  border-bottom: 1px solid var(--hairline);
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
  transition: color .2s var(--ease), padding .2s var(--ease);
}
.focus-tab:hover { color: var(--fg); padding-left: 8px; }
.focus-tab.is-active { color: var(--fg); }
.focus-tab.is-active .focus-tab-arrow { color: var(--accent); }
.focus-tab-title { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.015em; font-weight: 500; }
.focus-tab-arrow { font-size: 20px; }

.focus-detail {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--bg-2);
}
.focus-ill {
  position: relative;
  aspect-ratio: 5/4;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  overflow: hidden;
  margin-bottom: 28px;
}
.focus-ill-label { position: absolute; top: 16px; left: 16px; }
.focus-detail-copy h3 { font-size: 28px; }
.focus-lookingfor { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.focus-lookingfor ul {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.focus-lookingfor li {
  padding: 6px 12px; border: 1px solid var(--hairline);
  border-radius: 999px; font-size: 13px; color: var(--fg-muted);
}

/* ========== SECTION 6 — FOUNDER QUOTE ========== */
.founder-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1000px) {
  .founder-quotes { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.founder-hero-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 5vw, 64px) clamp(40px, 6vw, 88px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  overflow: hidden;
}
.founder-quote-mark {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.75;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 12px; left: 20px;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.founder-quote-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-weight: 500;
  position: relative;
  max-width: 72ch;
}
.founder-quote-attr {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 16px;
}
.founder-quote-portrait {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--hairline);
  flex-shrink: 0;
}
.founder-quote-name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em;
}
.founder-quote-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 4px;
}

/* ========== PORTFOLIO CAROUSEL ========== */

.sect-portfolio .section-head { margin-bottom: 48px; }

.pf-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

/* Slide card — full width, image + content split */
.pf-slide {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  min-width: 0;
}
@media (min-width: 900px) {
  .pf-slide { grid-template-columns: 1.4fr 1fr; }
}

.pf-slide-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #04101f;
  overflow: hidden;
}
.pf-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-slide-content {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-top: 3px solid var(--pf-accent, var(--accent));
}
@media (min-width: 900px) {
  .pf-slide-content { border-top: none; border-left: 3px solid var(--pf-accent, var(--accent)); }
}
.pf-slide-name {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  color: var(--fg);
}
.pf-slide-tagline {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
}
.pf-slide-foot { margin-top: 28px; }

/* Nav arrows */
.pf-nav {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--bg);
  color: var(--fg);
  font-size: 22px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.pf-nav:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
  transform: scale(1.06);
}

/* Sector link */
.pf-sector-link { text-decoration: none; display: inline-block; }
.pf-sector-link:hover .pipe-label { text-decoration: underline; text-underline-offset: 3px; }
.pf-sector-arrow { font-style: normal; font-size: 10px; margin-left: 2px; opacity: 0.7; }

/* Dots */
.pf-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.pf-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: none;
  background: var(--hairline-2);
  cursor: pointer;
  padding: 0;
  transition: background .2s var(--ease), width .2s var(--ease);
}
.pf-dot.is-active { background: var(--accent); width: 28px; }

/* Modal media */
.pf-modal-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.pf-modal-media img { width: 100%; height: auto; display: block; }

@media (max-width: 640px) {
  .pf-nav { width: 42px; height: 42px; font-size: 18px; }
  .pf-carousel { gap: 8px; }
}

/* ========== SECTION 7 — INSIGHTS ========== */
.insights-layout {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 1100px) {
  .insights-layout { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
}
.insight-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .insight-cards { grid-template-columns: repeat(2, 1fr); } }
.insight-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: background .2s var(--ease), transform .25s var(--ease), border-color .2s var(--ease);
}
.insight-card:hover { background: var(--bg-3); transform: translateY(-3px); border-color: var(--accent); }
.insight-top { display: flex; align-items: center; margin-bottom: 48px; }
.insight-title { font-size: 22px; margin-bottom: 14px; letter-spacing: -0.015em; }
.insight-excerpt { color: var(--fg-muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 28px; }
.insight-foot {
  display: flex; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--hairline);
  font-size: 12px; color: var(--fg-dim);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}

.events-panel {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.events-head { display: flex; justify-content: space-between; margin-bottom: 20px; }
.events-list {
  list-style: none; padding: 0; margin: 0;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.events-list::-webkit-scrollbar { width: 6px; }
.events-list::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 3px; }
.event-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--hairline);
  align-items: center;
}
.event-date {
  display: flex; flex-direction: column; text-align: center;
  border: 1px solid var(--hairline); padding: 8px 10px; border-radius: 8px;
  min-width: 56px;
}
.event-day { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.event-mo { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--fg-muted); }
.event-title { font-size: 15px; line-height: 1.35; }
.event-meta { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.event-rsvp {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hairline-2); border: 1px solid var(--hairline);
  color: var(--fg);
}
.event-rsvp:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  padding: 80px 0 32px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-2);
}
.footer-top {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  padding-bottom: 64px;
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1fr 2fr; gap: 80px; }
}
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 24px; color: var(--fg-muted);
  transition: color .2s var(--ease);
}
.footer-social:hover { color: var(--accent); }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (min-width: 700px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-col-title {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--fg-dim); margin-bottom: 16px;
}
.footer-cols a {
  display: block; font-size: 14px; color: var(--fg-muted);
  margin-bottom: 10px; transition: color .2s var(--ease);
}
.footer-cols a:hover { color: var(--accent); }
.footer-sub { display: flex; border: 1px solid var(--hairline); border-radius: 999px; overflow: hidden; }
.footer-sub input { flex: 1; background: transparent; border: none; color: var(--fg); padding: 10px 14px; font-family: inherit; font-size: 13px; outline: none; }
.footer-sub button { background: var(--accent); color: var(--navy); border: none; padding: 0 18px; font-weight: 600; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-dim);
}
.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-countdown { display: flex; gap: 16px; flex-wrap: wrap; }

.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
/* Desktop rows: 3 (leadership) / 4 / 2, all centred.
   An 8-col track with cards spanning 2 lets partial rows centre cleanly
   (a 4-col track can't centre an odd count). Row 2 spacing is unchanged. */
@media (min-width: 1100px) {
  .team-grid { grid-template-columns: repeat(8, 1fr); }
  .team-grid > * { grid-column: span 2; }
  /* Row 1 — leadership trio, centred (cols 2-7 of 8) */
  .team-grid > :nth-child(1) { grid-column: 2 / span 2; }
  .team-grid > :nth-child(2) { grid-column: 4 / span 2; }
  .team-grid > :nth-child(3) { grid-column: 6 / span 2; }
  /* Row 2 — four across, full width (item 4 starts a new row) */
  .team-grid > :nth-child(4) { grid-column: 1 / span 2; }
  /* Row 3 — analyst pair, centred (cols 3-6 of 8) */
  .team-grid > :nth-child(8) { grid-column: 3 / span 2; }
  .team-grid > :nth-child(9) { grid-column: 5 / span 2; }
}
.team-card { text-align: center; }
.team-body { padding-top: 18px; }
.team-body h4 { font-size: 20px; font-weight: 500; }
.team-body p { color: var(--fg-muted); font-size: 14px; margin-top: 6px; }
.team-portrait { display: flex; justify-content: center; }

/* Advisors — 1→2→3→4→5 cols; 10 advisors = 2 clean rows of 5 on desktop */
.advisors-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px 20px;
  margin-top: 28px;
}
@media (min-width: 440px) { .advisors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .advisors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .advisors-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1140px) { .advisors-grid { grid-template-columns: repeat(5, 1fr); } }
.advisor-card { text-align: center; }
.advisor-body { padding-top: 14px; }
.advisor-body h4 { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.advisor-country { color: var(--fg-muted); font-weight: 400; }
.advisor-body p { color: var(--fg-muted); font-size: 13px; margin-top: 6px; line-height: 1.45; }

/* Team — read more button + modal */
.team-readmore {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  padding: 0;
  background: none; border: 0;
  color: var(--accent);
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.team-readmore:hover { text-decoration: underline; }
.team-modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 0, 90, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.team-modal {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  max-width: 640px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.team-modal-close {
  position: absolute; top: 12px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--bg);
  font-size: 22px; line-height: 1;
  cursor: pointer;
}
.team-modal-head {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.team-modal-portrait { flex-shrink: 0; }
.team-modal-body {
  color: var(--fg-muted); line-height: 1.6;
}

/* Partners — 2 or 3 columns with logo placeholder + description */
.partners-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 800px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 16px;
}
.partner-card-head {
  display: flex; gap: 16px; align-items: center;
}
.partner-card-meta { display: flex; flex-direction: column; gap: 4px; }
.partner-card-meta h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.partner-card p { color: var(--fg-muted); font-size: 13px; line-height: 1.55; }
.partner-logo-placeholder {
  flex: 0 0 auto;
  width: 88px; height: 88px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--hairline);
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 6px;
}
.partner-logo-placeholder span {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.04em; color: var(--fg-dim);
  line-height: 1.2;
}

.risk-card {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, var(--bg));
  border-radius: var(--radius);
  max-width: 900px;
}
.risk-head { display: flex; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }

.sect-final-cta { padding: 100px 0 140px; text-align: center; }

/* ========== SECONDARY PAGES ========== */
.page-secondary .sub-hero {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--hairline);
}
.page-secondary .sub-hero h1 { max-width: 20ch; }

/* ── Why We Exist — circular diagram ── */
.why-diagram {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px minmax(0,1fr);
  grid-template-rows: auto auto auto;
  gap: 44px 52px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.why-card-top    { grid-column: 2; grid-row: 1; text-align: center; }
.why-card-left   { grid-column: 1; grid-row: 2; text-align: right; }
.why-ring-wrap   { grid-column: 2; grid-row: 2; width: 280px; height: 280px; }
.why-card-right  { grid-column: 3; grid-row: 2; text-align: left; }
.why-card-bottom { grid-column: 2; grid-row: 3; text-align: center; }

/* connector hairlines between card edges and the ring */
.why-card-top    { padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.why-card-bottom { padding-top: 16px;    border-top:    1px solid var(--hairline); }
.why-card-left   { padding-right: 24px;  border-right:  1px solid var(--hairline); }
.why-card-right  { padding-left:  24px;  border-left:   1px solid var(--hairline); }

.why-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.why-num-accent { color: var(--accent); }
.why-num-green  { color: #3ec87a; }
.why-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; margin: 0; }
.why-card p  { margin-top: 10px; color: var(--fg-muted); font-size: 15px; line-height: 1.65; }

@media (max-width: 860px) {
  .why-diagram {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }
  .why-ring-wrap { display: none; }
  .why-card-top, .why-card-left, .why-card-right, .why-card-bottom {
    grid-column: 1 !important;
    grid-row: auto !important;
    text-align: left !important;
    border: none !important;
    padding: 32px 0 !important;
    border-bottom: 1px solid var(--hairline) !important;
  }
  /* Re-order to 01 · 02 · 03 · 04 (DOM order is top·left·right·bottom = 01·04·02·03) */
  .why-card-top    { order: 1; }
  .why-card-right  { order: 2; }
  .why-card-bottom { order: 3; }
  .why-card-left   { order: 4; }
}

/* ── How We Build — vertical pipeline ── */
.how-pipeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

/* Each step row: [card-area] [node-column] — placed by .hp-row-right/left */
.hp-row {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: start;
}
/* card on right side */
.hp-row-right .hp-card { grid-column: 3; grid-row: 1; }
.hp-row-right .hp-node { grid-column: 2; grid-row: 1; }
/* card on left side */
.hp-row-left  .hp-card { grid-column: 1; grid-row: 1; }
.hp-row-left  .hp-node { grid-column: 2; grid-row: 1; }

/* Node column: dot + connecting stem */
.hp-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 18px;
}
.hp-dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--bg-1);   /* ring buffer so stem doesn't bleed into dot */
}
.hp-stem {
  width: 2px;
  flex: 1;
  min-height: 48px;
  opacity: 0.25;
  margin-top: 4px;
}

/* Card */
.hp-card {
  padding: 18px 0 36px;
  border-width: 0;
  border-style: solid;
}
.hp-row-right .hp-card { padding-left: 28px;  border-left-width: 2px; }
.hp-row-left  .hp-card { padding-right: 28px; border-right-width: 2px; text-align: right; }

.hp-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; margin: 0; }
.hp-card p  { margin-top: 10px; color: var(--fg-muted); font-size: 15px; line-height: 1.68; }

/* ── Mobile: single-column spine on the left ── */
@media (max-width: 760px) {
  .hp-row {
    grid-template-columns: 56px 1fr;
  }
  .hp-row-right .hp-card,
  .hp-row-left  .hp-card {
    grid-column: 2 !important; grid-row: 1 !important;
    text-align: left !important;
    padding-left: 20px !important; padding-right: 0 !important;
    border-left-width: 2px !important; border-right-width: 0 !important;
  }
  .hp-row-right .hp-node,
  .hp-row-left  .hp-node {
    grid-column: 1 !important; grid-row: 1 !important;
  }
  .hp-dot { width: 40px; height: 40px; font-size: 10px; }
  .hp-stem { min-height: 32px; }
}

.sect-ratios { border-top: 1px solid var(--hairline); }
.ratios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .ratios-grid { grid-template-columns: repeat(2, 1fr); } }
.ratio-card { background: var(--bg); padding: 40px; }
.ratio-n { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -0.03em; color: var(--accent); }
.ratio-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); margin-top: 12px; }

.focus-deep { border-top: 1px solid var(--hairline); }
.focus-deep-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .focus-deep-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.focus-deep-viz { aspect-ratio: 5/4; border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); position: relative; }
.focus-deep-viz .focus-ill { margin: 0; border: none; }

.insight-categories { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .insight-categories { grid-template-columns: repeat(3, 1fr); } }
.insight-cat h3 { font-size: 20px; margin-bottom: 20px; }
.insight-cat ul { list-style: none; padding: 0; margin: 0; }
.insight-cat li { padding: 14px 0; border-top: 1px solid var(--hairline); }
.insight-cat a { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.insight-cat a:hover { color: var(--accent); }

.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  width: 100%; background: none; border: none; color: var(--fg);
  padding: 24px 0; text-align: left;
  font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; font-weight: 500;
}
.faq-q:hover { color: var(--accent); }
.faq-q-text { text-align: left; }
.faq-toggle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hairline); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.faq-a { padding: 0 0 28px; color: var(--fg-muted); font-size: 16px; max-width: 72ch; }
.faq-item.is-open .faq-toggle { background: var(--accent); color: var(--navy); border-color: var(--accent); }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.contact-list { list-style: none; padding: 0; margin: 16px 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--hairline); color: var(--fg-muted); font-size: 15px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .field-wrap { display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.contact-form .req-star { color: #e05c5c; }
.contact-form input, .contact-form select, .contact-form textarea {
  background: transparent; border: 1px solid var(--hairline);
  color: var(--fg); padding: 14px 16px; border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color .2s var(--ease);
  box-shadow: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form input:invalid, .contact-form textarea:invalid { box-shadow: none; }

/* ── Legal pages ── */
.legal-body { max-width: 780px; }
.legal-body p { color: var(--fg-muted); line-height: 1.75; }
.legal-body ul li { color: var(--fg-muted); line-height: 1.7; }
.legal-body a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--accent); }
.contact-form .contact-error { color: #e05c5c; font-size: 14px; margin: 0; }
.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-success { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact-success-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-success h3 { margin: 0; }
.contact-success p { margin-top: 10px; color: var(--fg-muted); }

/* ========== MOTION & MICRO-INTERACTIONS ========== */

/* Scroll progress hairline (element created by motion.js) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 210;
  pointer-events: none;
}

/* Magnetic elements: GSAP owns transform, CSS keeps colour transitions */
.is-magnetic {
  transition-property: background, color, border-color, box-shadow;
  will-change: transform;
}

/* Cursor-tracking glow on cards (coords set by motion.js) */
.has-glow { position: relative; }
.has-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in oklab, var(--accent) 10%, transparent),
    transparent 70%
  );
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.has-glow:hover::after { opacity: 1; }

/* Animated hover underline on nav links (::after is taken by the active bar) */
.nav-link { position: relative; }
.nav-link::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .35s var(--ease);
}
.nav-link:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.nav-link.is-active::before { content: none; }

/* Portfolio image zoom on hover */
.pf-slide-media img { transition: transform .8s var(--ease-out); }
.pf-slide:hover .pf-slide-media img { transform: scale(1.04); }

/* Focus-area illustration zoom on hover */
.focus-ill img { transition: transform .8s var(--ease-out); }
.focus-detail:hover .focus-ill img { transform: scale(1.03); }

/* Pause tickers on hover */
.hero-ticker:hover .ticker-track { animation-play-state: paused; }

/* Entrance animations (mount-keyed; gated for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .article-modal-backdrop,
  .team-modal-backdrop { animation: sg-fade-in .3s var(--ease-out) both; }
  .article-modal,
  .team-modal { animation: sg-pop-in .45s var(--ease-out) both; }
  .pf-slide { animation: sg-slide-in .5s var(--ease-out) both; }
  .focus-detail { animation: sg-slide-in .45s var(--ease-out) both; }
  .mobile-nav { animation: sg-fade-down .3s var(--ease-out) both; }
  .faq-a { animation: sg-slide-in .35s var(--ease-out) both; }
}
@keyframes sg-fade-in { from { opacity: 0; } }
@keyframes sg-pop-in { from { opacity: 0; transform: translateY(22px) scale(0.985); } }
@keyframes sg-slide-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes sg-fade-down { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
