/* ========================================
   DESIGN TOKENS - Joshua Burkhow
   Direction: Sharp editorial, electric blue accent
   ======================================== */

:root {
  /* -- Colors (Light Mode) -- */
  --background: #FAFAF9;
  --foreground: #1C1917;
  --surface: #FFFFFF;
  --surface-foreground: #1C1917;
  --muted: #F5F5F4;
  --muted-foreground: #78716C;
  --border: #E7E5E4;
  --border-subtle: #F0EEEC;

  /* Brand - Electric Blue */
  --primary: #3B82F6;
  --primary-hover: #2563EB;
  --primary-foreground: #FFFFFF;
  --primary-light: rgba(59, 130, 246, 0.08);
  --accent: #60A5FA;
  --accent-foreground: #FFFFFF;

  /* Semantic */
  --card: #FFFFFF;
  --card-foreground: #1C1917;
  --card-hover: #FAFAF9;
  --section-alt: #F5F5F4;
  --section-dark: #0F172A;
  --section-dark-foreground: #F1F5F9;
  --section-dark-muted: #94A3B8;

  /* -- Typography -- */
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;

  /* Scale (1.25 ratio) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: clamp(2.5rem, 6vw, 3.5rem);
  --text-6xl: clamp(3rem, 8vw, 5rem);

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Leading */
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* -- Spacing -- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* -- Layout -- */
  --container: 1200px;
  --container-narrow: 720px;
  --radius: 6px;
  --radius-lg: 12px;

  /* -- Shadows -- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.1);

  /* -- Transitions -- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* -- Dark Mode -- */
.dark {
  --background: #0A0A0F;
  --foreground: #E7E5E4;
  --surface: #14141A;
  --surface-foreground: #E7E5E4;
  --muted: #1E1E26;
  --muted-foreground: #A8A29E;
  --border: #2A2A35;
  --border-subtle: #1E1E26;

  --primary: #60A5FA;
  --primary-hover: #93C5FD;
  --primary-foreground: #0A0A0F;
  --primary-light: rgba(96, 165, 250, 0.12);

  --card: #14141A;
  --card-foreground: #E7E5E4;
  --card-hover: #1E1E26;
  --section-alt: #10101A;
  --section-dark: #060610;
  --section-dark-foreground: #E7E5E4;
  --section-dark-muted: #78716C;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.5);
}

/* ========================================
   STYLES - Joshua Burkhow
   BEM naming, mobile-first
   ======================================== */

/* -- Base overrides for WP -- */
body {
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -- Skip Link -- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-weight: var(--weight-semibold);
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* -- Container -- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* -- Sections -- */
.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section--compact {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.section--spacious {
  padding: clamp(4rem, 8vw, 10rem) 0;
}

.section--alt {
  background-color: var(--section-alt);
}

.section--dark {
  background-color: var(--section-dark);
  color: var(--section-dark-foreground);
}

/* ========================================
   HEADER / NAV
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background-color: rgba(250, 250, 249, 0.9);
}

.dark .header {
  background-color: rgba(15, 15, 15, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-decoration: none;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
  padding: var(--space-2) 0;
  text-decoration: none;
}

.header__nav-link:hover,
.header__nav-link:focus-visible {
  color: var(--foreground);
}

.header__nav-link--active {
  color: var(--foreground);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-2);
  cursor: pointer;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.header__theme-toggle:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

.header__theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Hamburger */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--foreground);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.header__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
  .header__nav {
    display: block;
  }

  .header__menu-btn {
    display: none;
  }
}

/* ========================================
   MOBILE NAV
   ======================================== */
.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
  z-index: 99;
  padding: var(--space-8) var(--space-4);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

.mobile-nav--open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  padding: var(--space-3) 0;
  color: var(--foreground);
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.mobile-nav__link:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: clamp(4rem, 10vw, 10rem) 0 clamp(3rem, 6vw, 6rem);
}

.hero__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: var(--weight-regular);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--foreground);
  margin-bottom: var(--space-6);
}

.hero__title strong {
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

/* --- Rotator --- */
.hero__rotator {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}

.hero__rotator-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__rotator-phrase {
  display: block;
  height: 1.15em;
  line-height: 1.15;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--primary);
}

.hero__subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  line-height: var(--leading-relaxed);
  color: var(--muted-foreground);
  max-width: 48ch;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn--primary:hover {
  background-color: var(--primary-hover);
}

.btn--outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--foreground);
  background-color: var(--primary-light);
}

.btn--ghost {
  background: none;
  color: var(--foreground);
  padding: var(--space-2) var(--space-3);
}

.btn--ghost:hover {
  color: var(--primary);
}

.btn__arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ========================================
   PATHWAYS (How can I help you?)
   ======================================== */
.pathways {
  padding: clamp(3rem, 6vw, 6rem) 0;
  background-color: var(--section-alt);
}

.pathways__header {
  margin-bottom: var(--space-10);
}

.pathways__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.pathways__subtitle {
  color: var(--muted-foreground);
  font-size: var(--text-lg);
}

.pathways__grid {
  display: grid;
  gap: var(--space-4);
}

.pathway {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pathway:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pathway__number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.pathway__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
}

.pathway__desc {
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
}

.pathway__link {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--transition-fast);
  text-decoration: none;
}

.pathway:hover .pathway__link {
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .pathways__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   FEATURED CONTENT
   ======================================== */
.featured {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.featured__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.featured__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

.featured__grid {
  display: grid;
  gap: var(--space-6);
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--card);
}

.post-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.post-card__image {
  aspect-ratio: 16/9;
  background-color: var(--muted);
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: var(--space-6);
}

.post-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.post-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.post-card__excerpt {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured__grid .post-card:first-child {
    grid-column: 1 / -1;
  }

  .featured__grid .post-card:first-child .post-card__body {
    padding: var(--space-8);
  }

  .featured__grid .post-card:first-child .post-card__title {
    font-size: var(--text-2xl);
  }
}

/* ========================================
   ABOUT STRIP
   ======================================== */
.about-strip {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--section-dark);
  color: var(--section-dark-foreground);
}

.about-strip__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.about-strip__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.about-strip__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.about-strip__text {
  color: var(--section-dark-muted);
  line-height: var(--leading-relaxed);
  max-width: 56ch;
  margin-bottom: var(--space-6);
}

.about-strip__stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--primary);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--section-dark-muted);
}

@media (min-width: 768px) {
  .about-strip__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
  padding: clamp(4rem, 8vw, 8rem) 0;
  text-align: center;
}

.newsletter__inner {
  max-width: 560px;
  margin-inline: auto;
}

.newsletter__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.newsletter__desc {
  color: var(--muted-foreground);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.newsletter__input {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--foreground);
  min-height: 48px;
  transition: border-color var(--transition-fast);
}

.newsletter__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.newsletter__input::placeholder {
  color: var(--muted-foreground);
}

.newsletter__note {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  margin-top: var(--space-2);
}

@media (min-width: 640px) {
  .newsletter__form {
    flex-direction: row;
  }

  .newsletter__input {
    flex: 1;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  margin-top: var(--space-2);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer__link-group {
  min-width: 140px;
}

.footer__link-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: var(--space-3);
}

.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--foreground);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer__social-link:hover {
  color: var(--foreground);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ========================================
   FOCUS STYLES
   ======================================== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate {
  opacity: 0;
}

.animate--visible {
  animation: fade-up 0.6s ease forwards;
}

.animate--delay-1 { animation-delay: 0.1s; }
.animate--delay-2 { animation-delay: 0.2s; }
.animate--delay-3 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .animate { opacity: 1; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

.text-balance {
  text-wrap: balance;
}

/* ========================================
   SOCIAL BAR (prominent follow CTAs)
   ======================================== */
.social-bar {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.social-bar__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.social-bar__subtitle {
  font-size: var(--text-base);
  opacity: 0.85;
  margin-bottom: var(--space-8);
}

.social-bar__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.social-bar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--primary-foreground);
  transition: all var(--transition-fast);
  min-height: 44px;
  text-decoration: none;
}

.social-bar__link:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

.social-bar__link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ========================================
   HERO -- SPLIT (image + text)
   ======================================== */
.hero--split {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.hero--split .hero__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

@media (min-width: 768px) {
  .hero--split .hero__inner {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-16);
  }

  .hero__image {
    order: 2;
    min-height: 440px;
  }
}

/* ========================================
   PAGE HEADER (inner pages)
   ======================================== */
.page-header {
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.page-header__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.page-header__desc {
  font-size: var(--text-lg);
  color: var(--muted-foreground);
  max-width: 56ch;
  line-height: var(--leading-relaxed);
}

/* ========================================
   CONTENT GRID (inner page cards)
   ======================================== */
.content-section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.content-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .content-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .content-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   COURSE / TOOL / TALK CARDS
   ======================================== */
.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.course-card__image {
  aspect-ratio: 16/9;
  background: var(--muted);
  overflow: hidden;
}

.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  align-self: flex-start;
}

.course-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.course-card__desc {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
  margin-bottom: var(--space-4);
}

.course-card__meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tool-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.tool-card__icon svg {
  width: 24px;
  height: 24px;
}

.tool-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
}

.tool-card__desc {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
}

.tool-card__category {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.talk-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.talk-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.talk-card__date {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--primary);
}

.talk-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  line-height: var(--leading-snug);
}

.talk-card__venue {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}

.talk-card__desc {
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.talk-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.talk-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: var(--space-1) var(--space-3);
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .talk-card {
    grid-template-columns: 160px 1fr;
    align-items: start;
  }

  .talk-card__date {
    grid-row: 1 / 4;
  }
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.about-hero__inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.about-hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 400px;
}

.about-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__bio h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-6);
}

.about-hero__bio p {
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  max-width: 56ch;
}

.about-hero__bio p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .about-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

/* Timeline */
.timeline {
  padding: clamp(3rem, 6vw, 6rem) 0;
  background: var(--section-alt);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
}

.timeline__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
  padding-left: var(--space-8);
}

.timeline__list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline__year {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.timeline__role {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-1);
}

.timeline__company {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  margin-bottom: var(--space-2);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
  max-width: 48ch;
}

/* ========================================
   SOCIAL FOLLOW (large buttons)
   ======================================== */
.social-follow {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .social-follow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .social-follow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.social-follow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}

.social-follow__item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.social-follow__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.social-follow__icon svg {
  width: 32px;
  height: 32px;
}

.social-follow__name {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.social-follow__cta {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--primary);
}

/* ========================================
   SECTION TITLE UTILITY
   ======================================== */
.section-header {
  margin-bottom: var(--space-8);
}

.section-header__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.section-header__desc {
  color: var(--muted-foreground);
  font-size: var(--text-lg);
  max-width: 56ch;
}

/* ========================================
   BANNER IMAGE (full-width)
   ======================================== */
.banner-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   FEATURED VIDEO EMBED
   ======================================== */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--muted);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   ACTIVE NAV STATE
   ======================================== */
.header__nav-link[aria-current="page"] {
  color: var(--foreground);
  border-bottom: 2px solid var(--primary);
  padding-bottom: calc(var(--space-2) - 2px);
}

.mobile-nav__link[aria-current="page"] {
  color: var(--primary);
}
