/* GrowthCurve Capital portfolio site — shared styles */
@import url("./tokens.css");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--gcc-font-sans);
  color: var(--gcc-ink);
  background: var(--gcc-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Top nav ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--gcc-white);
  color: var(--gcc-navy-900);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.nav-brand img {
  height: 26px;
  width: auto;
  display: block;
}
.nav-brand .brand-mark {
  color: var(--gcc-blue-400);
}
.nav-brand .brand-sub {
  color: var(--gcc-slate-300);
  font-weight: 400;
  letter-spacing: 0.18em;
  font-size: 11px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 2px;
  color: var(--gcc-slate-700);
  transition: color 120ms ease, background 120ms ease;
}
.nav-links a:hover { color: var(--gcc-navy-900); background: rgba(0,0,0,0.05); }
.nav-links a.active { color: var(--gcc-navy-900); background: rgba(0,0,0,0.07); }
.nav-cta {
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 2px;
  color: var(--gcc-navy-900);
}
.nav-cta:hover { background: rgba(0,0,0,0.05); }

/* ─── Layout ───────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gcc-blue-500);
  font-weight: 700;
  margin: 0 0 16px;
}
.eyebrow-light { color: var(--gcc-blue-300); }

.section-title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--gcc-navy-900);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.section-lede {
  font-size: 18px;
  color: var(--gcc-slate-500);
  max-width: 720px;
  margin: 0;
  line-height: 1.55;
}

/* ─── Hero (company page) ──────────────────────────────── */
.hero {
  background: var(--gcc-navy-900);
  color: var(--gcc-white);
  padding: 88px 0 96px;
  border-bottom: 4px solid var(--gcc-blue-500);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(0,121,188,0.25), transparent 60%),
    radial-gradient(700px 300px at -10% 120%, rgba(44,153,255,0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gcc-blue-300);
  margin-bottom: 24px;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gcc-blue-400);
  display: inline-block;
}
.hero-title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0 0 32px;
}
.hero-meta {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-meta-item .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gcc-blue-300);
  margin-bottom: 6px;
}
.hero-meta-item .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gcc-white);
}

/* ─── KPI cards ────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kpi-card {
  background: var(--gcc-white);
  border: 1px solid var(--gcc-slate-200);
  border-radius: 6px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--gcc-blue-500);
}
.kpi-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gcc-slate-500);
  margin-bottom: 16px;
  font-weight: 700;
}
.kpi-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--gcc-navy-900);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.kpi-value .unit {
  font-size: 28px;
  color: var(--gcc-slate-500);
  margin-left: 4px;
  font-weight: 400;
}
.kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}
.kpi-delta.up { color: var(--gcc-positive); }
.kpi-delta.down { color: var(--gcc-negative); }
.kpi-delta .arrow { font-size: 14px; }
.kpi-sub {
  font-size: 13px;
  color: var(--gcc-slate-500);
  margin-top: 4px;
}

/* ─── Charts ───────────────────────────────────────────── */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.chart-card {
  background: var(--gcc-white);
  border: 1px solid var(--gcc-slate-200);
  border-radius: 6px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 16px;
}
.chart-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gcc-navy-900);
  margin: 0;
}
.chart-sub {
  font-size: 12px;
  color: var(--gcc-slate-500);
  margin: 0 0 20px;
}
.chart-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gcc-slate-500);
  flex-wrap: wrap;
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 1px;
}

/* ─── Loom video grid ──────────────────────────────────── */
.video-band {
  background: var(--gcc-slate-050);
  border-top: 1px solid var(--gcc-slate-200);
  border-bottom: 1px solid var(--gcc-slate-200);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-grid.single { grid-template-columns: 1fr; max-width: 900px; }
.video-card {
  background: var(--gcc-white);
  border: 1px solid var(--gcc-slate-200);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--gcc-navy-900);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-meta {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--gcc-slate-200);
}
.video-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gcc-blue-500);
  font-weight: 700;
  margin-bottom: 8px;
}
.video-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gcc-navy-900);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.video-sub {
  font-size: 13px;
  color: var(--gcc-slate-500);
  margin: 0 0 16px;
}
.video-context {
  font-size: 14px;
  color: var(--gcc-slate-700);
  line-height: 1.65;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--gcc-slate-100);
}
.video-context p { margin: 0 0 12px; }
.video-context p:last-child { margin-bottom: 0; }
.video-context-note {
  font-size: 12px;
  color: var(--gcc-slate-500);
  font-style: italic;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--gcc-slate-050);
  border-left: 2px solid var(--gcc-blue-300);
}
.video-grid.stacked {
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1080px;
}

/* ─── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--gcc-navy-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--gcc-white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.footer-brand .accent { color: var(--gcc-blue-400); }
.footer-tag {
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gcc-blue-300);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 120ms ease;
}
.footer-col a:hover { color: var(--gcc-white); }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ─── Section headers ─────────────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 32px;
}
.section-head .right { flex-shrink: 0; }
.section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gcc-blue-500);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gcc-blue-500);
  padding-bottom: 2px;
}
.section-link:hover { color: var(--gcc-navy-700); border-color: var(--gcc-navy-700); }

/* ─── Password gate ───────────────────────────────────── */
.gcc-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--gcc-navy-900);
  background-image:
    radial-gradient(900px 400px at 85% -20%, rgba(0,121,188,0.30), transparent 60%),
    radial-gradient(700px 300px at -10% 120%, rgba(44,153,255,0.22), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gcc-gate-card {
  width: 100%;
  max-width: 420px;
  background: var(--gcc-white);
  padding: 48px 48px 40px;
  border-radius: 6px;
  border-top: 4px solid var(--gcc-blue-500);
  box-shadow: var(--shadow-lg);
}
.gcc-gate-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--gcc-navy-900);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.gcc-gate-brand span { color: var(--gcc-blue-500); }
.gcc-gate-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gcc-slate-500);
  font-weight: 700;
  margin-bottom: 32px;
}
.gcc-gate-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gcc-slate-500);
  font-weight: 700;
  margin-bottom: 8px;
}
.gcc-gate-form input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--gcc-slate-200);
  border-radius: 2px;
  color: var(--gcc-ink);
  background: var(--gcc-white);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.gcc-gate-form input:focus {
  border-color: var(--gcc-blue-500);
  box-shadow: 0 0 0 3px rgba(0,121,188,0.15);
}
.gcc-gate-error {
  min-height: 18px;
  font-size: 12px;
  color: var(--gcc-negative);
  margin-top: 8px;
}
.gcc-gate-form button {
  width: 100%;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border: 0;
  border-radius: 2px;
  background: var(--gcc-navy-900);
  color: var(--gcc-white);
  cursor: pointer;
  margin-top: 8px;
  transition: background 120ms ease;
}
.gcc-gate-form button:hover { background: var(--gcc-navy-700); }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-title { font-size: 44px; }
  .section { padding: 64px 0; }
  .nav-inner { padding: 14px 20px; gap: 20px; }
  .nav-links { display: none; }
}

/* === Discussion Topics: topic tiles ==================== */
.topic-stack { display: flex; flex-direction: column; gap: 24px; }
.topic-tile {
  background: #fff;
  border: 1px solid var(--gcc-slate-200);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.topic-tile:hover { box-shadow: var(--shadow-md); border-color: var(--gcc-blue-200); }
.topic-tile.open { border-color: var(--gcc-blue-300); }
.topic-head {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 32px 36px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.topic-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gcc-blue-500);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.topic-title {
  flex: 1;
  font-size: 22px;
  font-weight: 700;
  color: var(--gcc-navy-900);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.topic-chevron {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gcc-slate-200);
  border-radius: 2px;
  color: var(--gcc-navy-900);
  transition: transform 240ms ease, background 160ms ease;
}
.topic-tile.open .topic-chevron { transform: rotate(180deg); background: var(--gcc-slate-050); }
.topic-body { display: none; padding: 0 36px 40px; }
.topic-tile.open .topic-body { display: block; }

/* === Exhibit accordions ================================= */
.exhibit { border: 1px solid var(--gcc-slate-200); border-radius: 4px; margin-bottom: 16px; background: var(--gcc-slate-050); }
.exhibit:last-child { margin-bottom: 0; }
.exhibit-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.exhibit-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gcc-blue-500);
  font-weight: 700;
  white-space: nowrap;
}
.exhibit-title { flex: 1; font-size: 16px; font-weight: 700; color: var(--gcc-navy-900); margin: 0; }
.exhibit-chevron { color: var(--gcc-slate-500); transition: transform 200ms ease; }
.exhibit.open .exhibit-chevron { transform: rotate(180deg); }
.exhibit-body { display: none; padding: 8px 24px 28px; }
.exhibit.open .exhibit-body { display: block; }
.exhibit-note { font-size: 13px; color: var(--gcc-slate-500); margin: 0 0 20px; }

/* sub-section heading inside an exhibit body */
.exhibit-subhead {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gcc-navy-700);
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gcc-slate-200);
}
.exhibit-subhead:first-child { margin-top: 12px; }

/* === Exhibit image grids ================================ */
.exhibit-grid { display: grid; gap: 20px; }
.exhibit-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.exhibit-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.exhibit-item { background: #fff; border: 1px solid var(--gcc-slate-200); border-radius: 4px; overflow: hidden; }
.exhibit-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gcc-navy-900);
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gcc-slate-100);
}
.exhibit-item img { width: 100%; cursor: zoom-in; transition: opacity 150ms ease; }
.exhibit-item img:hover { opacity: 0.92; }
.exhibit-single { max-width: 980px; }
.exhibit-placeholder {
  padding: 36px;
  text-align: center;
  font-size: 13px;
  color: var(--gcc-slate-500);
  border: 1px dashed var(--gcc-slate-200);
  border-radius: 4px;
  background: #fff;
}

/* === Lightbox =========================================== */
.gcc-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 22, 43, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.gcc-lightbox img {
  max-width: 100%; max-height: 100%;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  transition: transform 200ms ease;
}
.gcc-lightbox.zoomed { overflow: auto; display: block; }
.gcc-lightbox.zoomed img { max-width: none; max-height: none; width: 160%; cursor: zoom-out; margin: 0 auto; }
.gcc-lightbox-close {
  position: fixed; top: 20px; right: 24px;
  background: none; border: 0; color: #fff;
  font-size: 36px; line-height: 1; cursor: pointer; opacity: 0.8;
}
.gcc-lightbox-close:hover { opacity: 1; }
.gcc-lightbox-caption {
  position: fixed; bottom: 18px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,0.85); font-size: 13px; letter-spacing: 0.06em;
}

/* === Portfolio overview page ============================ */
.pov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pov-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--gcc-slate-200);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}
.pov-card::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gcc-blue-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms ease;
}
.pov-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gcc-blue-200); }
.pov-card:hover::before { transform: scaleX(1); }
.pov-logo {
  height: 48px;
  display: flex; align-items: center;
  margin-bottom: 20px;
}
.pov-logo img { max-height: 40px; width: auto; max-width: 180px; }
.pov-sector {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gcc-blue-500); font-weight: 700; margin-bottom: 10px;
}
.pov-name { font-size: 24px; font-weight: 700; color: var(--gcc-navy-900); margin: 0 0 10px; letter-spacing: -0.01em; }
.pov-desc { font-size: 14px; color: var(--gcc-slate-500); line-height: 1.55; margin: 0 0 24px; flex: 1; }
.pov-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--gcc-navy-900); letter-spacing: 0.04em;
}
.pov-link svg { transition: transform 200ms ease; }
.pov-card:hover .pov-link svg { transform: translateX(4px); }

/* === Pre-read resources ================================= */
.resource-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; }
.resource-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gcc-slate-200); border-radius: 6px;
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gcc-blue-200); }
.resource-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gcc-slate-050); border: 1px solid var(--gcc-slate-200); border-radius: 4px;
  color: var(--gcc-blue-500);
}
.resource-title { font-size: 16px; font-weight: 700; color: var(--gcc-navy-900); margin: 0 0 6px; }
.resource-sub { font-size: 13px; color: var(--gcc-slate-500); margin: 0; line-height: 1.5; }

@media (max-width: 960px) {
  .exhibit-grid.cols-3, .exhibit-grid.cols-2, .pov-grid, .resource-list { grid-template-columns: 1fr; }
  .topic-head { padding: 24px 20px; gap: 16px; }
  .topic-title { font-size: 18px; }
  .topic-body { padding: 0 20px 28px; }
}

.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.embed-frame { width: 100%; height: 480px; border: 0; display: block; background: #fff; }

/* === Flywheel interactive overview ====================== */
.flywheel-wrap { position: relative; max-width: 980px; background: #fff; border: 1px solid var(--gcc-slate-200); border-radius: 4px; overflow: hidden; }
.flywheel-wrap > img { width: 100%; display: block; }
.flywheel-hotspots {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: 9.5%; /* skip the title band of the graphic */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.flywheel-hotspots button {
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  margin: 2%;
  cursor: zoom-in;
  position: relative;
  transition: border-color 140ms ease, background 140ms ease;
}
.flywheel-hotspots button:hover, .flywheel-hotspots button:focus-visible {
  border-color: var(--gcc-blue-400);
  background: rgba(0,121,188,0.06);
  outline: none;
}
.flywheel-hotspots button::after {
  content: "Expand " attr(data-name);
  position: absolute;
  bottom: 6px; right: 8px;
  font: 700 10px/1.4 inherit;
  font-family: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gcc-blue-500);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--gcc-blue-200);
  border-radius: 2px;
  padding: 3px 8px;
  opacity: 0;
  transition: opacity 140ms ease;
  pointer-events: none;
}
.flywheel-hotspots button:hover::after, .flywheel-hotspots button:focus-visible::after { opacity: 1; }

/* === Flywheel tile grid (native, replaces PNG overview) === */
.fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; }
.fw-tile {
  background: #fff;
  border: 1px solid var(--gcc-slate-200);
  border-radius: 6px;
  padding: 28px 24px 24px;
  text-align: center;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
  font-family: var(--gcc-font-sans);
}
.fw-tile::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gcc-blue-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms ease;
}
.fw-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gcc-blue-200); }
.fw-tile:hover::before { transform: scaleX(1); }
.fw-tile-icon { width: 84px; height: 84px; margin: 0 auto 18px; color: var(--gcc-blue-500); }
.fw-tile-icon svg { width: 100%; height: 100%; }
.fw-tile:hover .fw-tile-icon svg .fw-spin { animation: fw-rotate 6s linear infinite; }
@keyframes fw-rotate { to { transform: rotate(360deg); } }
.fw-tile-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--gcc-navy-900);
  letter-spacing: -0.005em;
  margin: 0 0 6px;
}
.fw-tile-sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gcc-slate-500);
  font-weight: 700;
  margin: 0 0 18px;
}
.fw-tile-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gcc-blue-500);
}
.fw-tile-cta svg { transition: transform 200ms ease; }
.fw-tile:hover .fw-tile-cta svg { transform: scale(1.15); }
@media (max-width: 960px) { .fw-grid { grid-template-columns: 1fr; } }

/* === Animated flywheel diagram (lightbox content) ======= */
.gcc-lightbox-panel { cursor: default; max-width: 100%; max-height: 100%; overflow: auto; }
.fwd {
  width: 860px; max-width: 92vw;
  background: #fff;
  border-radius: 6px;
  border-top: 4px solid var(--gcc-blue-500);
  box-shadow: var(--shadow-lg);
  padding: 36px 40px 40px;
  font-family: var(--gcc-font-sans);
}
.fwd-title { font-size: 24px; font-weight: 700; color: var(--gcc-navy-900); margin: 0 0 2px; letter-spacing: -0.01em; }
.fwd-sub { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gcc-blue-500); font-weight: 700; margin: 0 0 12px; }
.fwd-stage { position: relative; width: 780px; max-width: 100%; height: 560px; margin: 0 auto; }
.fwd-stage svg.fwd-arcs { position: absolute; inset: 0; width: 100%; height: 100%; }

.fwd-arc {
  stroke: var(--gcc-blue-400);
  stroke-width: 7;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: fwd-draw 450ms ease forwards;
}
.fwd-arrowhead { fill: var(--gcc-blue-400); opacity: 0; animation: fwd-pop 250ms ease forwards; }
@keyframes fwd-draw { to { stroke-dashoffset: 0; } }

.fwd-node {
  position: absolute;
  width: 215px;
  padding: 16px 18px;
  background: var(--gcc-navy-900);
  color: #fff;
  border-radius: 4px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  animation: fwd-pop 420ms cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
}
.fwd-node .fwd-node-num {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gcc-blue-300);
  margin-bottom: 5px;
}
@keyframes fwd-pop { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.fwd-arrowhead { transform-origin: center; }

.fwd-center {
  position: absolute;
  left: 50%; top: 50%;
  width: 230px; height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #0079BC 0%, #002E59 78%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  animation: fwd-pop 600ms cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
  box-shadow: var(--shadow-lg);
}
.fwd-center .fwd-center-stat { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.fwd-center .fwd-center-lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gcc-blue-300); font-weight: 700; margin-top: 8px; line-height: 1.5; }
.fwd-replay {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gcc-blue-500); background: none; border: 1px solid var(--gcc-blue-200); border-radius: 2px;
  padding: 7px 14px; cursor: pointer; float: right; margin-top: -40px;
}
.fwd-replay:hover { background: var(--gcc-slate-050); }
@media (max-width: 880px) {
  .fwd { padding: 24px; }
  .fwd-stage { transform: scale(0.62); transform-origin: top center; }
}

/* Flywheel diagram: larger type + center icon */
.fwd-title { font-size: 28px; }
.fwd-sub { font-size: 13px; }
.fwd-node { width: 235px; font-size: 18px; padding: 18px 20px; }
.fwd-node .fwd-node-num { font-size: 11px; }
.fwd-center { width: 250px; height: 250px; }
.fwd-center .fwd-center-icon { width: 52px; height: 52px; margin-bottom: 10px; color: #fff; }
.fwd-center .fwd-center-icon svg { width: 100%; height: 100%; }
.fwd-center .fwd-center-stat { font-size: 34px; }
.fwd-center .fwd-center-lbl { font-size: 12px; }
