/*
 * ════════════════════════════════════════════════════════════════
 *  HOFFMANN STUDIO — SHARED DESIGN SYSTEM
 *  v1.0 · Applies to all venture sites
 *
 *  Structure:  system.css handles spacing, cards, nav, hero base,
 *              section anatomy, buttons, accessibility, responsive.
 *  Brand:      Each venture's tokens.css handles color + personality.
 *  Unique:     Each venture's styles.css adds venture-specific elements.
 *
 *  Token contract (every tokens.css must define):
 *    --dark    --light    --mid    --primary    --border
 *    --font    --max
 * ════════════════════════════════════════════════════════════════
 */

/* ─── Spacing Scale (8px grid) ─────────────────────────────── */
:root {
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Type scale */
  --text-xs:      10px;
  --text-sm:      13px;
  --text-base:    16px;
  --text-lg:      18px;
  --text-xl:      clamp(20px, 2.2vw, 26px);
  --text-2xl:     clamp(24px, 3vw, 36px);
  --text-3xl:     clamp(30px, 4vw, 48px);
  --text-display: clamp(38px, 5.5vw, 68px);

  /* Motion */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-std:  220ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --r-sm:   5px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);

  /* Focus ring — accessible, uses brand color */
  --focus-ring: 0 0 0 3px rgba(0,0,0,0.08), 0 0 0 5px var(--primary);
}


/* ─── Semantic Color Tokens (light/dark mode) ────────────── */
/* These map palette tokens to structural roles.
   Ventures override dark mode values in their tokens.css.
   Token contract extension:
     --bg  --bg-surface  --fg  --fg-muted  --border-subtle  --shadow-alpha */
:root {
  --bg:             var(--light);
  --bg-surface:     #fff;
  --fg:             var(--dark);
  --fg-muted:       var(--mid);
  --border-subtle:  var(--border);
  --shadow-alpha:   0.07;

  /* Inverted context helpers (for sections that are always dark) */
  --bg-inv:         var(--dark);
  --fg-inv:         var(--light);
  --fg-inv-muted:   rgba(255,255,255,0.65);
  --border-inv:     rgba(255,255,255,0.08);
}

/* ─── Dark Mode ──────────────────────────────────────────── */
/* System defaults — each venture overrides in tokens.css */
[data-theme="dark"] {
  --bg:             var(--dark);
  --bg-surface:     color-mix(in srgb, var(--dark), white 6%);
  --fg:             var(--light);
  --fg-muted:       rgba(255,255,255,0.58);
  --border-subtle:  rgba(255,255,255,0.08);
  --shadow-alpha:   0.25;

  --bg-inv:         var(--light);
  --fg-inv:         var(--dark);
  --fg-inv-muted:   var(--mid);
  --border-inv:     var(--border);
}

/* Auto-detect system preference when no explicit theme is set */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg:             var(--dark);
    --bg-surface:     color-mix(in srgb, var(--dark), white 6%);
    --fg:             var(--light);
    --fg-muted:       rgba(255,255,255,0.58);
    --border-subtle:  rgba(255,255,255,0.08);
    --shadow-alpha:   0.25;

    --bg-inv:         var(--light);
    --fg-inv:         var(--dark);
    --fg-inv-muted:   var(--mid);
    --border-inv:     var(--border);
  }
}

/* Smooth transition between modes */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition: background-color 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── Accessibility ─────────────────────────────────────────── */

/* Skip to main content */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-3);
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t-std);
}
.skip-link:focus { top: var(--sp-3); }

/* Focus visible — beautiful, not just default outline */
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─── Navigation ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
nav.nav-dark {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.nav-brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}
nav.nav-dark .nav-brand { color: #fff; }
.nav-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  letter-spacing: 0.06em;
  line-height: 1;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: var(--sp-4);
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
  transition: color var(--t-std);
  padding: var(--sp-1) 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-std);
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--dark); }
nav.nav-dark .nav-links a { color: rgba(255,255,255,0.45); }
nav.nav-dark .nav-links a:hover,
nav.nav-dark .nav-links a.active { color: #fff; }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--dark);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background var(--t-std), transform var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--primary); transform: translateY(-1px); }
nav.nav-dark .nav-cta { background: var(--primary); color: var(--dark); }
nav.nav-dark .nav-cta:hover { opacity: 0.88; background: var(--primary); }

/* ─── Mobile Nav (hamburger + dropdown) ────────────────────── *
 * Desktop: both .nav-toggle and .nav-mobile are hidden.
 * Tablet/mobile (≤768px): hamburger shows, nav-links/cta hide.
 * ──────────────────────────────────────────────────────────── */

/* Force-hide on ALL viewports — only the 768px media query reveals them */
.nav-toggle    { display: none !important; }
.nav-mobile    { display: none !important; }

/* Hamburger button (styled but invisible above 768px) */
.nav-toggle[aria-label] {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px -8px -8px 0;
  flex-shrink: 0;
  position: relative;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after  { top: 6px; }
nav.nav-dark .nav-toggle-bar,
nav.nav-dark .nav-toggle-bar::before,
nav.nav-dark .nav-toggle-bar::after { background: #fff; }

/* Hamburger → X animation */
nav.nav-open .nav-toggle-bar { background: transparent; }
nav.nav-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--dark);
}
nav.nav-open .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--dark);
}
nav.nav-dark.nav-open .nav-toggle-bar::before,
nav.nav-dark.nav-open .nav-toggle-bar::after { background: #fff; }

/* Mobile dropdown panel (styled but invisible above 768px) */
.nav-mobile[class] {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--light, #f8f6f2);
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.08));
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 99;
  flex-direction: column;
  gap: var(--sp-1);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
nav.nav-dark .nav-mobile {
  background: var(--dark, #171412);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav-mobile a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.06));
  transition: color 0.15s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile a.active { color: var(--primary); font-weight: 600; }
nav.nav-dark .nav-mobile a { color: rgba(255,255,255,0.65); }
nav.nav-dark .nav-mobile a:hover,
nav.nav-dark .nav-mobile a.active { color: #fff; }
.nav-mobile .nav-mobile-cta {
  display: inline-block;
  margin-top: var(--sp-2);
  background: var(--primary, #3153a4);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r-sm, 6px);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
  border-bottom: none;
}
.nav-mobile .nav-mobile-cta:hover { background: var(--dark); color: #fff !important; }

/* ─── Tablet + Mobile breakpoint: show hamburger ─────────── */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-cta   { display: none !important; }
  .nav-toggle { display: flex !important; }
  /* Open state: reveal mobile dropdown */
  nav.nav-open .nav-mobile {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: var(--sp-16) var(--sp-4) var(--sp-12);
  min-height: 65vh;
  display: flex;
  align-items: flex-start;
}
/* Image overlay — add class .hero-has-image to enable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.hero-headline {
  font-size: clamp(26px, 3.8vw, 50px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: var(--sp-3);
  max-width: 760px;
}
.hero-headline strong { font-weight: 700; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.72;
  margin-bottom: var(--sp-6);
  max-width: 520px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* Light hero variant */
.hero.hero-light {
  background: var(--light);
  padding-top: var(--sp-12);
  min-height: 0;
}
.hero.hero-light .hero-headline { color: var(--dark); }
.hero.hero-light .hero-sub { color: var(--mid); }

/* Split hero (2-column) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-16);
  align-items: start;
}

/* ─── Buttons ───────────────────────────────────────────────── *
 *
 *  Standardised button system. ALL ventures MUST use these
 *  class names. No venture-specific button classes.
 *
 *  HIERARCHY (every page gets exactly 2 actions):
 *    Primary:   .btn .btn-dark       (dark bg, hero/CTA primary action)
 *    Secondary: .btn .btn-outline    (bordered, hero/CTA secondary action)
 *
 *  VARIANTS (context-dependent):
 *    .btn .btn-primary-fill          (brand-colored solid)
 *    .btn .btn-outline-light         (for dark backgrounds)
 *    .btn .btn-ghost                 (text-only with underline reveal)
 *    .btn .btn-white                 (white solid for dark sections)
 *
 *  SIZES:
 *    .btn-sm   (compact, tags, inline)
 *    .btn      (default)
 *    .btn-lg   (hero, CTA blocks)
 *
 *  ICONS:
 *    .btn-icon (square, icon-only)
 *    Arrow: append <span class="btn-arrow">→</span>
 *
 * ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--t-std), color var(--t-std), border-color var(--t-std), transform var(--t-fast), box-shadow var(--t-std), opacity var(--t-std);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* ── Primary: dark solid ── */
.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-md); }

/* ── Brand fill ── */
.btn-primary-fill {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary-fill:hover { opacity: 0.88; box-shadow: var(--shadow-md); }

/* ── Outlined (light bg) ── */
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--dark); box-shadow: var(--shadow-sm); }

/* ── Outlined (dark bg) ── */
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.18);
}
.btn-outline-light:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── White solid (for dark sections) ── */
.btn-white {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}
.btn-white:hover { background: rgba(255,255,255,0.88); box-shadow: var(--shadow-md); }

/* ── Ghost (text-only, minimal) ── */
.btn-ghost {
  background: transparent;
  color: var(--mid);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-std);
}
.btn-ghost:hover { color: var(--dark); transform: none; }
.btn-ghost:hover::after { transform: scaleX(1); }

/* Ghost on dark backgrounds */
.section-dark .btn-ghost,
footer .btn-ghost {
  color: rgba(255,255,255,0.45);
}
.section-dark .btn-ghost:hover,
footer .btn-ghost:hover {
  color: rgba(255,255,255,0.85);
}

/* ── Sizes ── */
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn-lg { padding: 15px 34px; font-size: 14px; }

/* ── Arrow element within buttons ── */
.btn-arrow {
  display: inline-block;
  transition: transform var(--t-std);
  margin-left: 2px;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── Icon-only button ── */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--r-md);
}

/* ─── Section Anatomy ───────────────────────────────────────── */
section { padding: var(--sp-12) var(--sp-4); }
.section-inner { max-width: var(--max); margin: 0 auto; }

.kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.kicker-dim {
  color: var(--mid);
  opacity: 0.65;
}

.section-headline {
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: var(--sp-2);
}
.section-headline strong { font-weight: 700; }
.section-headline em { font-style: normal; color: var(--primary); }

/* Aliases: venture HTML uses .section-kicker / .section-title naming */
.section-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: var(--sp-2);
}
.section-title strong { font-weight: 700; }
.section-title em { font-style: normal; color: var(--primary); }

.section-sub {
  font-size: var(--text-base);
  color: var(--mid);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: var(--sp-8);
  font-weight: 400;
}

/* Dark section variant */
.section-dark {
  background: var(--dark);
}
.section-dark .section-headline { color: rgba(255,255,255,0.92); }
.section-dark .section-title { color: rgba(255,255,255,0.92); }
.section-dark .section-sub { color: rgba(255,255,255,0.45); }
.section-dark .kicker { color: var(--primary); }
.section-dark .section-kicker { color: var(--primary); }

/* White section variant */
.section-white { background: var(--bg-surface); }

/* ─── Cards ─────────────────────────────────────────────────── */

/* Standard card */
.card {
  padding: var(--sp-4) var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow var(--t-std), border-color var(--t-std), transform var(--t-std);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* Gap-trick grid (borderless seamless cards) */
.grid-gapped {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.grid-gapped > * {
  background: var(--light);
  transition: background var(--t-std);
}
.grid-gapped > *:hover { background: var(--bg-surface); }
.grid-gapped-dark {
  background: rgba(255,255,255,0.07);
}
.grid-gapped-dark > * {
  background: rgba(255,255,255,0.03);
  transition: background var(--t-std);
}
.grid-gapped-dark > *:hover { background: rgba(255,255,255,0.065); }

/* Card elements */
.card-num {
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--sp-2);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card-body {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.72;
}

/* Dark card variant */
.card-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.card-dark .card-title { color: rgba(255,255,255,0.9); }
.card-dark .card-body { color: rgba(255,255,255,0.5); }

/* ─── Team Cards ───────────────────────────────────────────── */

/* Clickable team member card — <a> wrapping photo + body */
.team-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--t-std), border-color var(--t-std), transform var(--t-std);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* Portrait photo area — 4:5 ratio for player-card feel */
.team-card-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--light);
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.team-card:hover .team-card-photo img {
  transform: scale(1.03);
}

/* Placeholder when no photo yet — shows initials */
.team-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--mid);
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--light) 0%, rgba(0,0,0,0.04) 100%);
}

/* Text content below photo */
.team-card-body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-1) 0;
}

.team-card-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--sp-3) 0;
}

.team-card-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-3) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-card-facts li {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.team-card-facts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
  font-weight: 300;
}

/* "View profile →" link text */
.team-card-arrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: var(--sp-2);
  transition: transform var(--t-std), opacity var(--t-std);
  opacity: 0.7;
}
.team-card:hover .team-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Dark section variant */
.section-dark .team-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .team-card:hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.section-dark .team-card-name { color: rgba(255,255,255,0.92); }
.section-dark .team-card-role { color: var(--primary); }
.section-dark .team-card-facts li { color: rgba(255,255,255,0.5); }
.section-dark .team-card-facts li::before { color: rgba(255,255,255,0.15); }
.section-dark .team-card-arrow { color: var(--primary); }

/* Dark mode variant */
[data-theme="dark"] .team-card {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}
[data-theme="dark"] .team-card:hover {
  border-color: rgba(255,255,255,0.14);
}
[data-theme="dark"] .team-card-name { color: var(--fg); }
[data-theme="dark"] .team-card-facts li { color: var(--fg-muted); }

/* ─── Grid Layouts ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-3); }
.split-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--sp-10); align-items: start; }
.split-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-10); align-items: start; }
.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10); align-items: start; }

/* ─── Data Display / Infographic ────────────────────────────── */
.data-strip {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.data-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.data-cell {
  padding: var(--sp-10) var(--sp-5);
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  position: relative;
}
.data-cell:last-child { border-right: none; }
.data-cell::before {
  content: '';
  position: absolute;
  top: 0; left: var(--sp-5); right: var(--sp-5);
  height: 2px;
  background: var(--primary);
  opacity: 0.6;
}
.data-label {
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-2);
}
.data-figure {
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin-bottom: var(--sp-3);
}
.data-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  flex: 1;
}
.data-source {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  margin-top: var(--sp-3);
  font-style: italic;
}

/* ─── Statement / Belief Block ──────────────────────────────── */
.statement-block {
  background: var(--dark);
  padding: var(--sp-10) var(--sp-4);
}
.statement-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-10);
  align-items: center;
}
.statement-label {
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}
.statement-text {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.statement-text strong { font-weight: 600; color: #fff; }
.statement-text em { font-style: normal; color: var(--primary); }

/* ─── Pull Quote ────────────────────────────────────────────── */
.pull-quote {
  border-left: 2px solid var(--primary);
  padding-left: var(--sp-3);
  margin: var(--sp-5) 0;
}
.pull-quote blockquote {
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: var(--sp-2);
}
.pull-quote cite {
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─── Process Steps ─────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-8);
}
.process-step {
  padding: var(--sp-4) var(--sp-4);
  background: var(--light);
  transition: background var(--t-std);
  position: relative;
}
.process-step:hover { background: var(--bg-surface); }
.process-step::before {
  content: attr(data-step);
  display: block;
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.process-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--sp-1);
  letter-spacing: -0.01em;
}
.process-step-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
}

/* Dark process variant */
.process-grid-dark {
  background: rgba(255,255,255,0.07);
}
.process-grid-dark .process-step {
  background: rgba(255,255,255,0.03);
}
.process-grid-dark .process-step:hover { background: rgba(255,255,255,0.065); }
.process-grid-dark .process-step-title { color: rgba(255,255,255,0.9); }
.process-grid-dark .process-step-desc { color: rgba(255,255,255,0.48); }

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-block {
  padding: var(--sp-10) var(--sp-4);
}
.cta-block-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8);
  align-items: center;
}
.cta-headline {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: var(--sp-2);
}
.cta-headline strong { font-weight: 700; }
.cta-body {
  font-size: 15px;
  line-height: 1.72;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: flex-end;
}

/* ─── Footer ────────────────────────────────────────────────── *
 *
 *  Standard footer anatomy (ALL ventures must follow):
 *
 *  <footer>
 *    <div class="footer-inner">
 *      <div class="footer-brand-col">
 *        <span class="footer-brand">
 *          <span class="footer-mark">XX</span> Venture Name
 *        </span>
 *        <span class="footer-tagline">Optional tagline.</span>
 *      </div>
 *      <div class="footer-links">
 *        <a href="...">Link</a>  ← venture-specific nav echoes
 *      </div>
 *    </div>
 *    <div class="footer-meta">
 *      <span class="footer-copy">© 2026 Thomas Hoffmann</span>
 *      <a href="../index.html" class="footer-network">
 *        Hoffmann Venture Network
 *      </a>
 *    </div>
 *  </footer>
 *
 * ──────────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: var(--sp-6) var(--sp-4) var(--sp-4);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  line-height: 1;
}
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--t-std);
  letter-spacing: 0.01em;
}
.footer-links a:hover { color: rgba(255,255,255,0.78); }

/* ── Footer meta row ── */
.footer-meta {
  max-width: var(--max);
  margin: var(--sp-3) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

/* ── Hoffmann Venture Network link — hover-only reveal ── */
.footer-network {
  font-size: 11px;
  color: rgba(255,255,255,0);
  text-decoration: none;
  transition: color var(--t-slow);
  letter-spacing: 0.04em;
}
.footer-network:hover {
  color: rgba(255,255,255,0.35);
}
/* Reveal on footer hover for discoverability */
footer:hover .footer-network {
  color: rgba(255,255,255,0.12);
}
footer:hover .footer-network:hover {
  color: rgba(255,255,255,0.45);
}

/* Legacy alias — backwards compat */
.footer-portfolio {
  font-size: 11px;
  color: rgba(255,255,255,0);
  text-decoration: none;
  transition: color var(--t-slow);
}
footer:hover .footer-portfolio { color: rgba(255,255,255,0.12); }
.footer-portfolio:hover,
footer:hover .footer-portfolio:hover { color: rgba(255,255,255,0.45); }

/* ── Crisis/special footer block (Kenny Drums pattern) ── */
.footer-crisis {
  max-width: var(--max);
  margin: var(--sp-3) auto 0;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  line-height: 1.65;
}
.footer-crisis strong {
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}

/* ─── Blog & Post Layouts ────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.blog-card {
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-std), border-color var(--t-std), transform var(--t-std);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.blog-card-body {
  padding: var(--sp-4) var(--sp-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.blog-card-category {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
}
.blog-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex: 1;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}
.blog-card-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mid);
  padding: var(--sp-2) var(--sp-4);
  border-top: 1px solid var(--border);
}

/* Page hero (blog index, about pages) */
.page-hero {
  background: var(--dark);
  padding: var(--sp-10) var(--sp-4) var(--sp-10);
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero .kicker { color: var(--primary); margin-bottom: var(--sp-2); }
.page-hero-headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.92);
  line-height: 1.1;
  max-width: 800px;
}
.page-hero-headline strong { font-weight: 700; }

/* Post layout */
.post-hero {
  background: var(--dark);
  padding: var(--sp-10) var(--sp-4) var(--sp-8);
}
.post-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.post-meta-line {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28);
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  font-weight: 600;
}
.post-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.94);
  line-height: 1.08;
  margin-bottom: var(--sp-3);
}
.post-deck {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  font-weight: 300;
}
.post-body {
  background: var(--light);
  padding: var(--sp-10) var(--sp-4);
}
.post-content {
  max-width: 720px;
  margin: 0 auto;
}
.post-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: var(--sp-8) 0 var(--sp-2);
  color: var(--dark);
}
.post-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: var(--sp-6) 0 var(--sp-2);
  color: var(--dark);
}
.post-content p {
  font-size: 16px;
  line-height: 1.88;
  color: var(--dark);
  margin-bottom: var(--sp-3);
}
.post-content ul, .post-content ol {
  margin: 0 0 var(--sp-3) var(--sp-4);
}
.post-content li {
  font-size: 16px;
  line-height: 1.78;
  color: var(--dark);
  margin-bottom: var(--sp-1);
}
.post-content blockquote {
  border-left: 2px solid var(--primary);
  padding: 0 0 0 var(--sp-3);
  margin: var(--sp-5) 0;
  font-style: italic;
  color: var(--mid);
  font-size: 18px;
  line-height: 1.65;
}
.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-8) 0;
}
.post-nav {
  background: var(--light);
  padding: var(--sp-6) var(--sp-4);
  border-top: 1px solid var(--border);
}
.post-nav-inner {
  max-width: 720px;
  margin: 0 auto;
}
.post-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity var(--t-std);
}
.post-nav a:hover { opacity: 0.7; }

/* ─── Blog Index Components ─────────────────────────────────── */

/* Blog hero / journal header */
.blog-hero {
  background: var(--dark);
  padding: var(--sp-10) var(--sp-4) var(--sp-8);
}
.blog-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.blog-hero .kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.blog-hero-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--sp-3);
}
.blog-hero-title strong { font-weight: 800; }
.blog-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
}

/* Filter bar */
.filter-bar {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0 var(--sp-4);
}
.filter-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: var(--sp-2) 0;
  overflow-x: auto;
}
.filter-btn {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  background: transparent;
  border: none;
  padding: 7px 16px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color var(--t-std), background var(--t-std);
  white-space: nowrap;
}
.filter-btn:hover { color: rgba(255,255,255,0.8); }
.filter-btn.active { color: white; background: rgba(255,255,255,0.1); }

/* Featured post (blog index) */
.blog-featured {
  background: white;
  padding: var(--sp-6) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.blog-featured-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  background: var(--light);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--t-std);
}
.blog-featured-card:hover { box-shadow: var(--shadow-lg); }
.blog-featured-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  min-height: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-4);
}
.blog-featured-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 100px;
  align-self: flex-start;
}
.blog-featured-content {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.blog-featured-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: var(--sp-2);
}
.blog-featured-excerpt {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.blog-featured-read {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-featured-read .arrow { transition: transform var(--t-std); }
.blog-featured-card:hover .blog-featured-read .arrow { transform: translateX(4px); }

/* Blog posts section (wraps .blog-grid) */
.blog-posts {
  padding: var(--sp-6) var(--sp-4) var(--sp-10);
}
.blog-posts-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* Blog CTA section */
.blog-cta {
  background: var(--dark);
  padding: var(--sp-10) var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.blog-cta-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.blog-cta .kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
  display: block;
}
.blog-cta-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: var(--sp-2);
}
.blog-cta-headline strong { font-weight: 800; }
.blog-cta-copy {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

/* ─── Extended Post Components ──────────────────────────────── */

/* Post header (individual post pages) */
.post-header {
  background: var(--dark);
  padding: var(--sp-10) var(--sp-4) var(--sp-8);
}
.post-header-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.post-back-link {
  display: block;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: var(--sp-4);
  font-weight: 500;
  transition: opacity var(--t-std);
}
.post-back-link:hover { opacity: 0.75; }
.post-category-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: var(--sp-2);
}
.post-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: var(--sp-4);
}
.post-header-meta {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* Post article wrapper */
.post-article {
  padding: var(--sp-8) var(--sp-4);
  background: white;
}

/* Material note / callout */
.post-callout {
  background: var(--dark);
  color: white;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  margin: var(--sp-5) 0;
  border-left: 4px solid var(--primary);
}
.post-callout-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.post-callout-content {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--primary);
  padding-left: var(--sp-4);
  margin: var(--sp-5) 0;
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--mid);
}

/* Related stories */
.related-stories { margin: var(--sp-6) 0; }
.related-stories-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.related-card {
  background: var(--dark);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--t-std), box-shadow var(--t-std);
  border: 1px solid rgba(255,255,255,0.06);
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.related-card-image {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}
.related-card-content { padding: var(--sp-2); }
.related-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

/* Post footer navigation */
.post-footer-nav {
  background: white;
  border-top: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-4);
}
.post-footer-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.post-footer-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity var(--t-std);
}
.post-footer-link:hover { opacity: 0.75; }

/* Cart UI (e-commerce ventures) */
.cart-toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  padding: 8px;
  transition: color var(--t-std);
}
.cart-toggle:hover { color: white; }
.cart-toggle svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-std);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: white;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transition: right var(--t-std);
}
.cart-drawer.active { right: 0; }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.cart-drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--mid);
  padding: 4px 8px;
}
.cart-close:hover { color: var(--dark); }
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-3);
}
.cart-drawer-footer {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--border);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}
.cart-total-label { font-weight: 600; color: var(--dark); }
.cart-total-value { font-weight: 700; color: var(--dark); }
.btn-checkout {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 14px;
  transition: opacity var(--t-std);
}
.btn-checkout:hover { opacity: 0.9; }
.cart-note {
  font-size: 12px;
  color: var(--mid);
  text-align: center;
  margin-top: var(--sp-1);
}

/* ─── Blog/Post Responsive Extensions ───────────────────────── */
@media (max-width: 960px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-visual { min-height: 220px; }
}
@media (max-width: 768px) {
  .post-header-meta { flex-direction: column; gap: var(--sp-1); }
}
@media (max-width: 640px) {
  .blog-hero { padding: var(--sp-8) var(--sp-3) var(--sp-6); }
  .blog-featured, .blog-posts { padding: var(--sp-4) var(--sp-3); }
  .blog-grid { grid-template-columns: 1fr; }
  .filter-bar-inner { padding-bottom: 4px; }
  .post-header { padding: var(--sp-8) var(--sp-3) var(--sp-6); }
  .post-article { padding: var(--sp-5) var(--sp-3); }
  .post-headline { font-size: 28px; }
  .post-footer-nav { padding: var(--sp-3) var(--sp-3); }
  .related-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; max-width: 100vw; right: -100%; }
  .cart-drawer.active { right: 0; }
}

/* ─── Utility Classes ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-mid { color: var(--mid); }
.mt-sm { margin-top: var(--sp-2); }
.mt-md { margin-top: var(--sp-4); }
.mt-lg { margin-top: var(--sp-8); }
.mb-sm { margin-bottom: var(--sp-2); }
.mb-md { margin-bottom: var(--sp-4); }
.mb-lg { margin-bottom: var(--sp-8); }
.container { max-width: var(--max); margin: 0 auto; }
.divider { border: none; border-top: 1px solid var(--border); margin: var(--sp-5) 0; }

/* Text link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--t-std), opacity var(--t-std);
  letter-spacing: 0.01em;
}
.text-link:hover { gap: var(--sp-2); opacity: 0.8; }

/* Tag/badge */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--mid);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .hero-split { grid-template-columns: 1fr; gap: var(--sp-8); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split-1-2, .split-2-1, .split-even { grid-template-columns: 1fr; gap: var(--sp-6); }
  .statement-inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .data-strip-inner { grid-template-columns: 1fr; }
  .data-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .data-cell:last-child { border-bottom: none; }
  .data-cell::before { left: var(--sp-5); right: var(--sp-5); }
  .cta-block-inner { grid-template-columns: 1fr; }
  .cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  :root {
    --sp-12: 72px;
    --sp-10: 60px;
    --sp-8:  48px;
  }
  section { padding: var(--sp-10) var(--sp-3); }
  .hero { padding: var(--sp-10) var(--sp-3) var(--sp-8); min-height: 0; }
  .page-hero, .post-hero { padding: var(--sp-8) var(--sp-3) var(--sp-8); }
  .grid-2, .grid-3, .grid-auto { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: var(--sp-3); }
  .footer-links { gap: var(--sp-3); }
  .footer-meta { flex-direction: column; gap: var(--sp-1); align-items: flex-start; }
  .statement-block { padding: var(--sp-8) var(--sp-3); }

  /* Team cards — horizontal layout on mobile */
  .team-card {
    flex-direction: row;
  }
  .team-card-photo {
    width: 40%;
    min-width: 140px;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
    border-radius: 0;
  }
  .team-card-body {
    padding: var(--sp-3);
  }
  .team-card-name { font-size: 16px; }
  .team-card-facts { margin-bottom: var(--sp-2); }
  .team-card-arrow { opacity: 1; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  /* Team cards — revert to stacked on small phones */
  .team-card { flex-direction: column; }
  .team-card-photo { width: 100%; aspect-ratio: 4 / 5; }
  .team-card-body { padding: var(--sp-3); }
}



/* ─── Dark Mode Component Overrides ──────────────────────── */
[data-theme="dark"] nav,
html:not([data-theme]) nav {
  /* only override if venture hasn't set dark nav explicitly */
}

[data-theme="dark"] .card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .hover-card {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}

[data-theme="dark"] .card:hover,
[data-theme="dark"] .blog-card:hover,
[data-theme="dark"] .hover-card:hover {
  border-color: rgba(255,255,255,0.14);
}

/* Nav in dark mode — unless venture explicitly defines dark nav */
[data-theme="dark"] nav:not(.nav-dark) {
  background: var(--bg-surface);
  border-bottom-color: var(--border-subtle);
}
[data-theme="dark"] nav:not(.nav-dark) .nav-brand {
  color: var(--fg);
}
[data-theme="dark"] nav:not(.nav-dark) .nav-links a {
  color: var(--fg-muted);
}
[data-theme="dark"] nav:not(.nav-dark) .nav-links a:hover,
[data-theme="dark"] nav:not(.nav-dark) .nav-links a.active {
  color: var(--fg);
}

/* Footer — already dark, no changes needed */

/* Shadows adapt */
[data-theme="dark"] .shadow-sm { box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
[data-theme="dark"] .shadow-md { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* Focus ring in dark mode */
[data-theme="dark"] {
  --focus-ring: 0 0 0 3px rgba(255,255,255,0.1), 0 0 0 5px var(--primary);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .card,
  html:not([data-theme]) .blog-card,
  html:not([data-theme]) .hover-card {
    background: var(--bg-surface);
    border-color: var(--border-subtle);
  }
  html:not([data-theme]) nav:not(.nav-dark) {
    background: var(--bg-surface);
    border-bottom-color: var(--border-subtle);
  }
  html:not([data-theme]) nav:not(.nav-dark) .nav-brand { color: var(--fg); }
  html:not([data-theme]) nav:not(.nav-dark) .nav-links a { color: var(--fg-muted); }
  html:not([data-theme]) nav:not(.nav-dark) .nav-links a:hover { color: var(--fg); }
}

/* ─── Theme Toggle Button ────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  color: var(--fg-muted);
  transition: color var(--t-fast), background var(--t-fast);
  margin-left: var(--sp-1);
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--fg);
  background: rgba(128,128,128,0.1);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .theme-toggle .icon-sun { display: block; }
  html:not([data-theme]) .theme-toggle .icon-moon { display: none; }
}

/* ─── Forms ─── */
.form-group { margin-bottom: var(--sp-3); }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--fg, var(--dark)); margin-bottom: var(--sp-1);
  letter-spacing: 0.01em;
}
.form-input, .form-select, .form-textarea {
  display: block; width: 100%; font-family: inherit;
  font-size: 15px; color: var(--fg, var(--dark));
  background: var(--bg-surface, #fff);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 12px 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 0,0,0), 0.12);
}
.form-input::placeholder { color: var(--mid); opacity: 0.6; }
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.form-hint { font-size: 12px; color: var(--mid); margin-top: 6px; line-height: 1.5; }
.form-error { font-size: 12px; color: #c62828; margin-top: 6px; }
.form-input.is-error { border-color: #c62828; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.form-toggle {
  position: relative; display: inline-flex; align-items: center;
  gap: var(--sp-1); cursor: pointer; font-size: 14px; color: var(--fg, var(--dark));
}
.form-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-toggle-track {
  width: 44px; height: 24px; background: var(--border);
  border-radius: var(--r-pill); transition: background var(--t-fast);
  position: relative; flex-shrink: 0;
}
.form-toggle-track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; background: #fff;
  border-radius: 50%; transition: transform var(--t-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.form-toggle input:checked + .form-toggle-track { background: var(--primary); }
.form-toggle input:checked + .form-toggle-track::after { transform: translateX(20px); }
.form-checkbox {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  cursor: pointer; font-size: 14px; color: var(--fg, var(--dark));
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; border: 1.5px solid var(--border);
  border-radius: 4px; appearance: none; background: var(--bg-surface, #fff);
  cursor: pointer; transition: all var(--t-fast); flex-shrink: 0;
}
.form-checkbox input[type="checkbox"]:checked {
  background: var(--primary); border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ─── Accordion ─── */
.accordion { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: var(--sp-3) var(--sp-4); background: var(--bg-surface, #fff);
  border: none; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 600; color: var(--fg, var(--dark));
  text-align: left; transition: background var(--t-fast);
}
.accordion-trigger:hover { background: var(--light); }
.accordion-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform var(--t-std);
}
.accordion-item.is-open .accordion-icon { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow);
}
.accordion-panel-inner {
  padding: 0 var(--sp-4) var(--sp-4);
  font-size: 14px; color: var(--mid); line-height: 1.7;
}

/* ─── Tables ─── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); }
.table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.table th {
  text-align: left; padding: var(--sp-2) var(--sp-3);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid);
  background: var(--light); border-bottom: 1px solid var(--border);
}
.table td {
  padding: var(--sp-2) var(--sp-3); color: var(--fg, var(--dark));
  border-bottom: 1px solid var(--border);
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(0,0,0,0.02); }
.table-dark { background: var(--dark); }
.table-dark th {
  color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.table-dark td {
  color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.06);
}
.table-dark tr:hover td { background: rgba(255,255,255,0.03); }

/* ─── Progress ─── */
.progress-bar {
  height: 6px; background: var(--border); border-radius: var(--r-pill);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%; background: var(--primary); border-radius: var(--r-pill);
  transition: width var(--t-slow);
}
.progress-bar-sm { height: 4px; }
.progress-bar-lg { height: 10px; }
.progress-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--fg, var(--dark)); margin-bottom: 6px;
}
.progress-label span { font-weight: 700; color: var(--primary); }

/* ─── Skeleton Loading ─── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, rgba(0,0,0,0.04) 50%, var(--border) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
.skeleton-text { height: 14px; margin-bottom: 10px; border-radius: 4px; }
.skeleton-text:last-child { width: 60%; }
.skeleton-title { height: 24px; width: 50%; margin-bottom: var(--sp-2); border-radius: 4px; }
.skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-card { height: 200px; border-radius: var(--r-lg); }

/* ─── Toast Notifications ─── */
.toast {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.toast-success { background: #e8f5e9; color: #2e7d32; border-color: rgba(46,125,50,0.2); }
.toast-error { background: #ffebee; color: #c62828; border-color: rgba(198,40,40,0.2); }
.toast-warning { background: #fff3e0; color: #e65100; border-color: rgba(230,81,0,0.2); }
.toast-info { background: #e3f2fd; color: #1565c0; border-color: rgba(21,101,192,0.2); }
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── Tabs ─── */
.tabs { border-bottom: 1px solid var(--border); display: flex; gap: 0; }
.tab {
  padding: var(--sp-2) var(--sp-3); font-size: 14px; font-weight: 500;
  color: var(--mid); background: none; border: none; cursor: pointer;
  font-family: inherit; border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  margin-bottom: -1px;
}
.tab:hover { color: var(--fg, var(--dark)); }
.tab.is-active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-panel { padding: var(--sp-4) 0; }
.tabs-dark { border-color: rgba(255,255,255,0.1); }
.tabs-dark .tab { color: rgba(255,255,255,0.45); }
.tabs-dark .tab:hover { color: rgba(255,255,255,0.8); }
.tabs-dark .tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }

/* ─── Breadcrumbs ─── */
.breadcrumbs {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--mid);
}
.breadcrumbs a { color: var(--mid); text-decoration: none; transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs-sep { color: var(--border); font-size: 11px; }
.breadcrumbs-current { color: var(--fg, var(--dark)); font-weight: 600; }

/* ─── Avatars ─── */
.avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  flex-shrink: 0;
}
.avatar-sm { width: 28px; height: 28px; font-size: 11px; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.avatar-group { display: flex; }
.avatar-group .avatar { margin-left: -8px; border: 2px solid var(--bg-surface, #fff); }
.avatar-group .avatar:first-child { margin-left: 0; }

/* ─── Empty States ─── */
.empty-state {
  text-align: center; padding: var(--sp-10) var(--sp-4);
  max-width: 400px; margin: 0 auto;
}
.empty-state-icon {
  width: 56px; height: 56px; margin: 0 auto var(--sp-3);
  color: var(--border); opacity: 0.6;
}
.empty-state-title {
  font-size: 18px; font-weight: 700; color: var(--fg, var(--dark));
  margin-bottom: var(--sp-1);
}
.empty-state-desc {
  font-size: 14px; color: var(--mid); line-height: 1.65;
  margin-bottom: var(--sp-4);
}

/* ─── Dividers ─── */
.divider {
  height: 1px; background: var(--border); border: none;
  margin: var(--sp-6) 0;
}
.divider-label {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mid);
  margin: var(--sp-6) 0;
}
.divider-label::before, .divider-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ─── Print ─────────────────────────────────────────────────── */
@media print {
  nav, footer { display: none; }
  .hero { min-height: 0; padding: var(--sp-4) 0; }
  body { color: #000; background: #fff; }
}

/* ══════════════════════════════════════════════════════════════
 *  VENTURE HERO IMAGE — full-bleed cinematic image after hero
 * ══════════════════════════════════════════════════════════════ */
.venture-hero-img {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  max-height: 580px;
}
.venture-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
 *  HOVER IMAGE CARDS
 *
 *  Usage:
 *    <div class="hover-card-grid">          ← 2-up grid
 *    <div class="hover-card-grid-3">        ← 3-up grid
 *      <div class="hover-card">
 *        <img …>
 *        <div class="hover-card-base">      ← always visible
 *          <div class="hover-card-badge">…</div>
 *          <div class="hover-card-name">…</div>
 *        </div>
 *        <div class="hover-card-overlay">   ← revealed on hover
 *          <div class="hover-card-name">…</div>
 *          <div class="hover-card-tagline">…</div>
 *          <div class="hover-card-spec-list">
 *            <div class="hover-card-spec">…</div>
 *          </div>
 *          <div class="hover-card-price">$000 <span>note</span></div>
 *        </div>
 *      </div>
 *    </div>
 * ══════════════════════════════════════════════════════════════ */

.hover-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
.hover-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}

.hover-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: default;
  background: var(--dark);
  aspect-ratio: 4 / 3;
}
.hover-card.hover-card-wide {
  aspect-ratio: 16 / 9;
}
.hover-card.hover-card-tall {
  aspect-ratio: 3 / 4;
}

.hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow), opacity var(--t-slow);
}
.hover-card:hover img {
  transform: scale(1.05);
  opacity: 0.55;
}

/* ── Always-visible gradient + name bar at card bottom ── */
.hover-card-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: linear-gradient(to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0) 100%);
  pointer-events: none;
  transition: opacity var(--t-std);
}
.hover-card:hover .hover-card-base {
  opacity: 0;
}

/* ── Full hover overlay — slides up on hover ── */
.hover-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-3);
  background: linear-gradient(to top,
    rgba(0,0,0,0.94) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.08) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-std), transform var(--t-std);
  pointer-events: none;
}
.hover-card:hover .hover-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ── Text elements inside cards ── */
.hover-card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.hover-card-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}
.hover-card-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin-bottom: var(--sp-2);
}
.hover-card-spec-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: var(--sp-2);
}
.hover-card-spec {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.hover-card-price {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  padding-top: var(--sp-1);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hover-card-price span {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  margin-left: 5px;
  letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hover-card-grid   { grid-template-columns: 1fr; }
  .hover-card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hover-card-grid-3 { grid-template-columns: 1fr; }
}
