/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Colors */
  --bg:           #080808;
  --surface:      #0f0f0f;
  --surface-alt:  #141414;
  --text:         #f0f0ee;
  --muted:        #b0b0ac;
  --accent:       #c8f060;
  --border:       rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-serif: 'Space Grotesk', system-ui, sans-serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:  'Geist Mono', 'Courier New', monospace;

  /* Spacing scale (base 4) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --max-width:      1200px;
  --sidebar-width:  260px;
  --player-height:  80px;
  --topbar-height:  56px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Motion */
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --duration: 0.3s;
}


/* ============================================================
   RESET
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* prevent layout shift when sidebar overlay locks scroll */
body.sidebar-lock {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }


/* ============================================================
   APP LAYOUT — sidebar + main
============================================================ */
.app {
  display: flex;
  min-height: 100vh;
}


/* ============================================================
   NOISE TEXTURE
============================================================ */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}


/* ============================================================
   GLOBAL TYPOGRAPHY HELPERS
============================================================ */
.label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}


/* ============================================================
   LAYOUT HELPERS
============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

.section {
  padding: var(--sp-32) 0;
}

.section__eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
}

.section__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.75;
  margin-top: var(--sp-4);
}


/* ============================================================
   PLAYLIST HEADER — Spotify-style section headers
============================================================ */
.playlist-header {
  margin-bottom: var(--sp-12);
}

.playlist-header__meta {
  display: block;
  margin-top: var(--sp-3);
  color: var(--accent);
}


/* ============================================================
   SIDEBAR
============================================================ */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: var(--player-height);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar__header {
  padding: var(--sp-6);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar__logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color var(--duration) var(--ease);
}
.sidebar__logo:hover { color: var(--accent); }

.sidebar__library {
  padding: var(--sp-6) var(--sp-4) var(--sp-8);
  flex: 1;
}

.sidebar__library-label {
  display: block;
  padding: 0 var(--sp-3);
  margin-bottom: var(--sp-3);
}

.sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  position: relative;
}
.sidebar__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.sidebar__link.active {
  color: var(--text);
  font-weight: 500;
}
.sidebar__link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}


/* ============================================================
   SIDEBAR OVERLAY (mobile)
============================================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 90;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.sidebar-overlay.visible {
  display: block;
  opacity: 1;
}


/* ============================================================
   MAIN CONTENT
============================================================ */
.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding-bottom: var(--player-height);
  min-width: 0;
}


/* ============================================================
   MOBILE TOPBAR
============================================================ */
.topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-height);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-6);
}

.topbar__menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.topbar__menu span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all var(--duration) var(--ease);
}
.topbar__menu.open span:first-child  { transform: translateY(6px) rotate(45deg); }
.topbar__menu.open span:nth-child(2) { opacity: 0; }
.topbar__menu.open span:last-child   { transform: translateY(-6px) rotate(-45deg); }

.topbar__logo {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text);
  letter-spacing: -0.02em;
}


/* ============================================================
   PLAYER BAR
============================================================ */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height);
  background: rgba(15, 15, 15, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-8);
  z-index: 200;
  gap: var(--sp-8);
}

.player-bar__left {
  flex: 0 0 200px;
  min-width: 0;
}

.player-bar__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.player-bar__eyebrow {
  color: var(--muted);
}

.player-bar__title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-bar__center {
  flex: 1;
  max-width: 600px;
}

.player-bar__progress-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.player-bar__time {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 32px;
  text-align: center;
}

.player-bar__track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.player-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.25s linear;
}

.player-bar__right {
  flex: 0 0 60px;
  text-align: right;
}

.player-bar__counter {
  color: var(--muted);
}


/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--sp-24);
  padding-bottom: var(--sp-24);
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(
    ellipse at center,
    rgba(200, 240, 96, 0.04) 0%,
    transparent 65%
  );
  pointer-events: none;
  user-select: none;
}

.hero__tag {
  margin-bottom: var(--sp-6);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.75rem, 8vw, 8.5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--sp-8);
}

.hero__headline em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.75;
  margin-bottom: var(--sp-12);
}

.hero__foundry {
  font-size: 0.875rem;
  color: var(--muted);
  opacity: 0.7;
}

.hero__cta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.1); }
}


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.6875rem var(--sp-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn--large {
  padding: 0.9375rem var(--sp-8);
  font-size: 0.8125rem;
}


/* ============================================================
   CARDS (Focus) — 2×2 grid
============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card {
  background: var(--surface);
  padding: var(--sp-12);
  transition: background var(--duration) var(--ease);
  position: relative;
}
.card:hover { background: var(--surface-alt); }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-12);
}

.card__status {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.card__status--active {
  color: var(--accent);
  background: rgba(200, 240, 96, 0.08);
  border: 1px solid rgba(200, 240, 96, 0.18);
}
.card__status--progress {
  color: #e8c46a;
  background: rgba(232, 196, 106, 0.08);
  border: 1px solid rgba(232, 196, 106, 0.18);
}
.card__status--rnd {
  color: var(--muted);
  background: rgba(136, 136, 132, 0.08);
  border: 1px solid rgba(136, 136, 132, 0.18);
}

.card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  color: var(--text);
  margin-bottom: var(--sp-3);
  font-weight: 400;
}

.card__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

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

.tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.2rem var(--sp-3);
  border-radius: 4px;
}


.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.25rem var(--sp-3);
  border-radius: 4px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.card__link:hover {
  color: var(--accent);
  border-color: rgba(200, 240, 96, 0.3);
}


/* ============================================================
   ALBUM-STYLE PLAY BUTTON — appears on hover over card/belief
============================================================ */
.card__play {
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px) scale(0.88);
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
  box-shadow: 0 8px 24px rgba(200, 240, 96, 0);
  padding-left: 2px;
}

.card:hover .card__play,
.belief:hover .card__play {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 8px 24px rgba(200, 240, 96, 0.25);
}

.card__play:hover {
  transform: translateY(0) scale(1.08) !important;
}

.card__play:active {
  transform: translateY(0) scale(0.95) !important;
}


/* ============================================================
   VENTURES
============================================================ */
.ventures { background: var(--bg); }

.venture {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-16);
  padding: var(--sp-16) 0;
}

.venture__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: 0.3rem;
}

.venture__name { color: var(--accent); }

.venture__headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
  margin-bottom: var(--sp-4);
  font-weight: 400;
}

.venture__desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}

.venture__traction {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.venture__traction li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--muted);
}

.venture__traction li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.venture__divider {
  height: 1px;
  background: var(--border);
}


/* ============================================================
   PHILOSOPHY — 3×2 belief grid
============================================================ */
.philosophy { background: var(--surface); }

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.belief {
  background: var(--surface);
  padding: var(--sp-12);
  transition: background var(--duration) var(--ease);
  position: relative;
}
.belief:hover { background: var(--surface-alt); }

.belief__num {
  display: block;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}

.belief__title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--text);
  font-weight: 400;
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.belief__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}


/* ============================================================
   PROCESS — 2×2 step grid
============================================================ */
.process { background: var(--surface); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--sp-16);
}

.step {
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--border);
}

.step__num {
  display: block;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}

.step__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}


/* ============================================================
   IDEAS — horizontal scroll row
============================================================ */
.ideas { background: var(--bg); }

.scroll-row-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.scroll-row {
  flex: 1;
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
}
.scroll-row::-webkit-scrollbar { display: none; }

.scroll-row-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.scroll-row-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: var(--border-hover);
}

/* Book cards in scroll row */
.books-scroll .book {
  flex-shrink: 0;
  width: 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.books-scroll .book:hover {
  background: var(--surface-alt);
  border-color: var(--border-hover);
}

.book__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--sp-2);
}

.book__author { color: var(--accent); }

.book__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}


/* ============================================================
   TESTIMONIALS — horizontal scroll row
============================================================ */
.testimonials { background: var(--surface); }

.reviews-scroll .review {
  flex-shrink: 0;
  width: 400px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.reviews-scroll .review:hover {
  background: var(--surface-alt);
  border-color: var(--border-hover);
}

.review__stars {
  color: var(--accent);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
}

.review__quote {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.8;
  font-style: normal;
  flex: 1;
}

.review__attribution {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.review__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-sans);
}


/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--bg); }

.about__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-16);
  align-items: start;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.about__photo-wrap {
  position: sticky;
  top: var(--sp-8);
}

.about__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: grayscale(15%);
  border: 1px solid var(--border);
  display: block;
}

.about__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.about__text--lead {
  font-size: 1.1875rem;
  color: var(--text);
  line-height: 1.7;
}


/* ============================================================
   FAQ — accordion
============================================================ */
.faq { background: var(--surface); }

.faq-list {
  border-top: 1px solid var(--border);
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: var(--sp-8);
  transition: color var(--duration) var(--ease);
}
.faq-item__q:hover { color: var(--accent); }

.faq-item__icon {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1;
  transition: transform var(--duration) var(--ease), color var(--duration) var(--ease);
}

.faq-item.open .faq-item__q { color: var(--accent); }
.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
  overflow: hidden;
}

.faq-item.open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a-inner {
  overflow: hidden;
}

.faq-item__a-inner p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
  padding-bottom: 0;
  transition: padding-bottom 0.4s var(--ease);
}

.faq-item.open .faq-item__a-inner p {
  padding-bottom: var(--sp-6);
}


/* ============================================================
   EXPERIENCE — horizontal rule rows
============================================================ */
.experience { background: var(--bg); }

.roles {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--duration) var(--ease);
}
.role:hover { padding-left: var(--sp-4); }

.role__left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.role__company {
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 500;
}

.role__period { flex-shrink: 0; }


/* ============================================================
   CONTACT
============================================================ */
.contact {
  background: var(--surface);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-8);
}

.contact__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: calc(-1 * var(--sp-2));
}

.contact__sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.7;
}

.contact__social {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-2);
}

.contact__social-link {
  position: relative;
  padding-bottom: 2px;
  transition: color var(--duration) var(--ease);
}
.contact__social-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}
.contact__social-link:hover { color: var(--text); }
.contact__social-link:hover::after { width: 100%; }


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

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ============================================================
   SCROLL-REVEAL ANIMATION
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.75s var(--ease),
    transform 0.75s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards stagger */
.cards-grid .card:nth-child(1) { transition-delay:   0ms; }
.cards-grid .card:nth-child(2) { transition-delay:  80ms; }
.cards-grid .card:nth-child(3) { transition-delay: 160ms; }
.cards-grid .card:nth-child(4) { transition-delay: 240ms; }
.cards-grid .card:nth-child(5) { transition-delay: 320ms; grid-column: 1 / -1; }

/* Beliefs stagger */
.beliefs-grid .belief:nth-child(1) { transition-delay:   0ms; }
.beliefs-grid .belief:nth-child(2) { transition-delay:  60ms; }
.beliefs-grid .belief:nth-child(3) { transition-delay: 120ms; }
.beliefs-grid .belief:nth-child(4) { transition-delay: 180ms; }
.beliefs-grid .belief:nth-child(5) { transition-delay: 240ms; }
.beliefs-grid .belief:nth-child(6) { transition-delay: 300ms; }

/* Roles stagger */
.roles .role:nth-child(1)  { transition-delay:   0ms; }
.roles .role:nth-child(2)  { transition-delay:  60ms; }
.roles .role:nth-child(3)  { transition-delay: 120ms; }
.roles .role:nth-child(4)  { transition-delay: 180ms; }
.roles .role:nth-child(5)  { transition-delay: 240ms; }
.roles .role:nth-child(6)  { transition-delay: 300ms; }
.roles .role:nth-child(7)  { transition-delay: 360ms; }
.roles .role:nth-child(8)  { transition-delay: 420ms; }
.roles .role:nth-child(9)  { transition-delay: 480ms; }
.roles .role:nth-child(10) { transition-delay: 540ms; }

/* Steps stagger */
.steps-grid .step:nth-child(1) { transition-delay:   0ms; }
.steps-grid .step:nth-child(2) { transition-delay:  80ms; }
.steps-grid .step:nth-child(3) { transition-delay: 160ms; }
.steps-grid .step:nth-child(4) { transition-delay: 240ms; }

/* FAQ stagger */
.faq-list .faq-item:nth-child(1) { transition-delay:   0ms; }
.faq-list .faq-item:nth-child(2) { transition-delay:  60ms; }
.faq-list .faq-item:nth-child(3) { transition-delay: 120ms; }
.faq-list .faq-item:nth-child(4) { transition-delay: 180ms; }
.faq-list .faq-item:nth-child(5) { transition-delay: 240ms; }
.faq-list .faq-item:nth-child(6) { transition-delay: 300ms; }


/* ============================================================
   RESPONSIVE — Tablet
============================================================ */
@media (max-width: 1100px) {
  .beliefs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .venture {
    grid-template-columns: 160px 1fr;
    gap: var(--sp-8);
  }

  .about__layout {
    grid-template-columns: 1fr 280px;
    gap: var(--sp-12);
  }
}

/* ============================================================
   RESPONSIVE — Mobile (sidebar collapses)
============================================================ */
@media (max-width: 900px) {
  html {
    scroll-padding-top: calc(var(--topbar-height) + 16px);
  }

  /* Sidebar becomes off-screen overlay */
  .sidebar {
    bottom: 0;
    transform: translateX(-100%);
    transition: transform var(--duration) var(--ease);
    z-index: 100;
  }
  .sidebar.open {
    transform: translateX(0);
  }

  /* Main goes full width */
  .main {
    margin-left: 0;
  }

  /* Show topbar */
  .topbar {
    display: flex;
  }

  /* Hero accounts for topbar */
  .hero {
    padding-top: calc(var(--topbar-height) + var(--sp-12));
    min-height: calc(100svh - var(--topbar-height));
  }

  /* Player bar simpler on mobile */
  .player-bar {
    padding: 0 var(--sp-4);
    gap: var(--sp-4);
  }
  .player-bar__left {
    flex: 0 0 auto;
  }
  .player-bar__right {
    display: none;
  }

  /* Cards: single column */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Ventures: stack */
  .venture {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .venture__meta {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-4);
  }

  /* Philosophy: single column */
  .beliefs-grid {
    grid-template-columns: 1fr;
  }

  /* Steps: single column */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Scroll rows: narrower cards */
  .books-scroll .book   { width: 260px; }
  .reviews-scroll .review { width: 300px; }

  /* About: stack */
  .about__layout {
    grid-template-columns: 1fr;
  }
  .about__photo-wrap {
    position: static;
    order: -1;
  }
  .about__photo {
    max-height: 400px;
    object-fit: cover;
    object-position: top;
  }

  .section {
    padding: var(--sp-24) 0;
  }

  .contact {
    min-height: auto;
    padding: var(--sp-24) 0;
  }

  .container {
    padding: 0 var(--sp-6);
  }
}
