/* Atishay Jain — Agency founder profile
   Design: professional, polished, personality */

:root {
  /* Hyperke brand color system — #4B6FEF (Spec v2 Section 1) */
  --brand-primary: #4B6FEF;
  --brand-primary-dark: #3A5BD9;
  --brand-primary-light: #6B8DF5;
  --brand-primary-muted: rgba(75, 111, 239, 0.10);
  --brand-primary-border: rgba(75, 111, 239, 0.20);
  --brand-primary-shadow: rgba(75, 111, 239, 0.18);
  --brand-text-on-primary: #FFFFFF;
  --brand-accent-eyebrow: #4B6FEF;

  --bg: #F2F4FB;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #EEF0F8;
  --bg-accent: #eff6ff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #111;
  --text-secondary: #374151;
  --text-muted: #9CA3AF;
  --accent: var(--brand-primary);
  --accent-hover: var(--brand-primary-dark);
  --accent-light: var(--brand-primary-light);
  --accent-bg: var(--brand-primary-muted);

  /* Card shadow token system (Section 7.1) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.07), 0 24px 48px rgba(0, 0, 0, 0.08);
  --shadow-brand-hover: 0 8px 24px rgba(75, 111, 239, 0.14), 0 20px 40px rgba(0, 0, 0, 0.06);
  --shadow-card: var(--shadow-sm);

  /* Typography (Section 10) */
  --font: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 0.9375rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 2rem;
  --text-3xl: 1.125rem;
  --text-4xl: 2.5rem;
  --text-5xl: clamp(2.375rem, 5vw, 3.5rem);

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.55;
  --leading-relaxed: 1.65;

  /* 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;

  --container: min(100% - 2 * var(--space-6), 1120px);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --duration: 0.25s;
  --duration-slow: 0.4s;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font);
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--accent);
  color: white;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  z-index: 100;
  transform: translateY(-120%);
  transition: transform var(--duration) var(--ease);
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  transform: translateY(0);
}

/* Navigation — Frosted glass on scroll (spec 1.1) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  overflow-x: hidden;
}
.site-header--scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Nav container: flex row on desktop, column on small screens */
.nav-container.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  width: 100%;
  max-width: min(100%, var(--container));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.brand {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.brand:hover {
  color: var(--accent);
}

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

/* Hamburger toggle — visible only on tablet/mobile */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--brand-primary-muted);
  outline: none;
}
.nav-toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--brand-primary);
}
.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.site-nav.is-open .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav.is-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
}
.site-nav.is-open .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-underline-offset: 4px;
  transition: color 250ms ease;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}
.nav-link::after {
  content: "";
  display: block;
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-1);
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 220ms ease;
}
.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}
.nav-link.active::after,
.nav-link:hover::after {
  width: calc(100% - var(--space-3) * 2);
}

/* Container */
.container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Hero — gradient mesh */
.hero {
  padding: var(--space-20) 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(75, 111, 239, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(120, 80, 255, 0.05) 0%, transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
}

/* Profile photo — soft blob shape + layered glow (spec 2.1) */
.hero__media-wrap {
  position: relative;
}
.profile-photo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40% 60% 60% 40% / 45% 45% 55% 55%;
  z-index: 1;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.9),
    0 0 0 16px var(--brand-primary-muted),
    0 20px 60px var(--brand-primary-shadow);
  border: 0;
}

.hero__content {
  max-width: 560px;
}

/* Badge row — pills (spec 2.3) */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.hero__badge-pill {
  background: var(--brand-primary-muted);
  border: 1px solid var(--brand-primary-border);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  transition: transform 150ms ease;
}
.hero__badge-pill:hover {
  transform: scale(1.04);
}

.hero__title {
  font-size: clamp(2.375rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 var(--space-4);
}

.hero__tagline {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin: 0 0 var(--space-8);
}

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

/* Buttons (spec 2.4) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}
.btn-primary {
  background: var(--brand-primary);
  color: var(--brand-text-on-primary);
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(75, 111, 239, 0.30);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-primary-dark);
  color: var(--brand-text-on-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(75, 111, 239, 0.40);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(75, 111, 239, 0.25);
}
.btn-secondary {
  background: white;
  color: var(--brand-primary);
  border: 1.5px solid rgba(75, 111, 239, 0.35);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(75, 111, 239, 0.05);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}
.btn-secondary:active {
  transform: translateY(0);
}

/* Main content */
.site-main {
  display: block;
}

.section {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section--subtle {
  background: var(--bg-subtle);
}

/* Outside of Work — quote block (spec 3.4) */
.outside-quote {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--brand-primary-border);
}
.outside-quote .section__subtitle {
  font-style: italic;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.section__header {
  margin-bottom: var(--space-10);
  max-width: 640px;
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--brand-accent-eyebrow);
  opacity: 0.75;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.section__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--space-2);
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* Content blocks */
.content-block {
  display: grid;
  gap: var(--space-6);
}

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

/* About cards — Apple-style with shadow tokens (Section 7.4) */
.about-card {
  padding: 28px 24px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-brand-hover), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(75, 111, 239, 0.09);
  border: 1px solid rgba(75, 111, 239, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 200ms ease, transform 200ms ease;
}
.about-card:hover .card-icon-badge {
  background: rgba(75, 111, 239, 0.15);
  transform: scale(1.08);
}
.card-icon-badge svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}
.block {
  padding: var(--space-6) var(--space-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.block:last-child {
  margin-bottom: 0;
}
.block__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 var(--space-3);
}

.block p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin: 0;
}

/* Cards */
.card-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

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

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

/* TEDx section background (spec 5.1) */
.section--tedx {
  background: linear-gradient(180deg, #ECEEF8 0%, #F0F2FA 100%);
}

/* Recognition cards — glassmorphism-lite, 20px radius (Section 7.2) */
.recognition-card {
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 250ms ease;
}
.recognition-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.07),
    0 20px 48px var(--brand-primary-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card {
  padding: var(--space-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary-border);
}

/* Category badges (spec 5.3) */
.category-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
}
.category-badge--tedx {
  background: rgba(232, 0, 45, 0.08);
  color: #E8002D;
}
.category-badge--partnership {
  background: rgba(0, 168, 89, 0.08);
  color: #008A3D;
}
.category-badge--press {
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
}
.category-badge svg {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: middle;
}

.card__title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
}

.card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 var(--space-3);
  line-height: var(--leading-snug);
}

.card p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin: 0 0 var(--space-4);
}

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

/* Impact metrics section (Section 4) */
.metrics-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.metric-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: left;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(75, 111, 239, 0.12), 0 20px 40px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.metric-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(75, 111, 239, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.metric-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}
.metric-stat {
  font-size: 42px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-top: 8px;
}
.metric-context {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

/* Media cards (Section 5) */
.media-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.media-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.media-card:hover {
  box-shadow: 0 4px 16px rgba(75, 111, 239, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
  border-color: var(--brand-primary-border);
}
.media-card__platform {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card__platform svg {
  width: 22px;
  height: 22px;
}
.media-card__body {
  flex: 1;
  min-width: 0;
}
.media-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}
.media-card__platform-label {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 2px;
}
.media-card__arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.media-card:hover .media-card__arrow {
  opacity: 1;
  transform: translateX(0);
}
.media-card__arrow svg {
  width: 18px;
  height: 18px;
  color: var(--brand-primary);
}

/* Social row with icons (Section 9.4) */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}
.social-row a:hover {
  background: var(--accent-bg);
  border-color: var(--brand-primary-border);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.social-row a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Links — clear hover highlight */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--accent-hover);
}

/* Inline content links: background highlight + underline on hover */
.card a,
.block a,
.section__subtitle a,
.link-list a,
.press-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  padding: 0 2px;
  margin: 0 -2px;
  border-radius: 3px;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.card a:hover,
.block a:hover,
.section__subtitle a:hover,
.link-list a:hover,
.press-list a:hover {
  background: var(--accent-bg);
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Timeline — Professional Background (spec 4.1, 4.2) */
.timeline {
  position: relative;
  padding-left: 28px;
  list-style: none;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-primary-border);
}
.timeline-entry {
  position: relative;
  margin-bottom: var(--space-6);
}
.timeline-entry:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 2px solid white;
  box-shadow: 0 0 0 4px var(--brand-primary-muted);
  transition: box-shadow 200ms ease;
}
.timeline-entry:hover .timeline-dot {
  box-shadow: 0 0 0 8px var(--brand-primary-muted);
}
.background-card {
  border-radius: 16px;
  padding: 20px 24px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 200ms ease, box-shadow 200ms ease;
  font-size: var(--text-base);
  color: var(--text-secondary);
}
.background-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}
.background-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.background-card__icon svg {
  width: 18px;
  height: 18px;
}

/* Bio list (fallback if used elsewhere) */
.bio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bio-list li {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration) var(--ease);
}
.bio-list li:hover {
  background: var(--bg-subtle);
}
.bio-list li:last-child {
  border-bottom: none;
}

/* Link lists */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.link-list li {
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.link-list li:last-child {
  border-bottom: none;
}

.link-list a {
  display: block;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--text-secondary);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}

.link-list a:hover {
  background: var(--accent-bg);
  color: var(--accent);
  padding-left: calc(var(--space-6) + 4px);
}

/* Press details */
.press-details {
  margin-top: var(--space-10);
  padding: var(--space-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.press-details summary {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.press-details summary::-webkit-details-marker {
  display: none;
}

.press-details summary:hover {
  background: var(--accent-bg);
}

.press-list {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  columns: 2;
  column-gap: var(--space-10);
}

.press-list li {
  break-inside: avoid;
  margin-bottom: var(--space-2);
}

@media (max-width: 640px) {
  .press-list {
    columns: 1;
  }
}

/* Footer */
.footer {
  padding: var(--space-10) 0 var(--space-12);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.footer__layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }
.reveal-delay-4 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    padding: var(--space-12) 0;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }

  .hero__media {
    margin: 0 auto;
    max-width: 220px;
  }

  .hero__content {
    max-width: none;
  }

  .hero__actions {
    justify-content: center;
  }
}

/* Nav: tablet and below — hamburger + drawer, consistent padding */
@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .nav-bar {
    flex: 0 0 auto;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0;
  }

  .site-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-link {
    display: block;
    padding: var(--space-4) 0;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-link::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .nav-links {
    gap: 0;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

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

  .link-list a {
    padding: var(--space-4) var(--space-5);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
