/* Thoughts & Coffee — sage green, pure black, Sarah Barnes-Humphrey brand */

:root {
  --accent: #6B9E6B;
  --accent-dim: rgba(107,158,107,.12);
  --accent-border: rgba(107,158,107,.28);
  --accent-pink: #E8C4D4;
  --accent-navy: #3D4A7A;
  --bg: #000000;
  --surface: #0d0d0d;
  --border: rgba(255,255,255,.07);
  --border-hi: rgba(255,255,255,.14);
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-faint: #444444;
  --font-disp: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;
  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: clamp(1rem,.95rem + .25vw,1.125rem); line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
h1,h2,h3 { text-wrap: balance; }
p, li { max-width: 68ch; }
.accent { color: var(--accent); }

.eyebrow {
  font-family: var(--font-body); font-size: clamp(.68rem,.63rem + .18vw,.78rem);
  font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem; max-width: none;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-disp); font-size: clamp(.9rem,.85rem + .2vw,1.05rem);
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 1rem 3rem; border-radius: 3px; border: none;
  transition: background .2s var(--ease), transform .15s, box-shadow .2s;
  cursor: pointer; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #000; }
.btn--accent:hover { box-shadow: 0 0 28px rgba(107,158,107,.35); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  transition: background .3s var(--ease), backdrop-filter .3s;
}
.nav.solid { background: rgba(0,0,0,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--accent-border); }
.nav__brand { display: flex; flex-direction: column; gap: 2px; }
.nav__show { font-family: var(--font-disp); font-size: clamp(1rem,.9rem + .4vw,1.4rem); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--text); line-height: 1; }
.nav__network { font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }
.nav__logo {
  height: 52px;
  width: auto;
  display: block;
  opacity: .9;
  transition: opacity .2s ease;
}
.nav__logo:hover { opacity: 1; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: .85rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.55); transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* HERO */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }

/* Hero video */
.hero__video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 1;
}
.hero__video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% 40%, rgba(107,158,107,.07), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.65) 60%, var(--bg) 100%);
}
/* Fallback gradient when no video src is present */
.hero__video-wrap:not(:has(.hero__video[src])) {
  background:
    radial-gradient(ellipse 100% 60% at 50% 40%, rgba(107,158,107,.08), transparent 60%),
    linear-gradient(to bottom, #0a0a0a 0%, var(--bg) 100%);
}

/* Hero mute toggle */
.hero__mute-toggle {
  position: absolute; bottom: 2.4rem; left: 2.5rem; z-index: 3;
  display: flex; align-items: center; gap: .55rem;
  color: rgba(255,255,255,.55); transition: color .2s var(--ease);
  padding: .45rem .8rem; border-radius: 3px;
  background: rgba(14,13,11,.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
}
.hero__mute-toggle:hover { color: var(--accent); border-color: var(--accent-border); }
.hero__mute-label { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* Host name script under hero title */
.hero__host {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 1rem + 2vw, 2.8rem);
  font-weight: 600;
  color: var(--accent-pink);
  margin-top: .6rem;
  letter-spacing: .01em;
  line-height: 1.2;
}

.hero__content { position: relative; z-index: 2; padding: 0 2.5rem 5rem; max-width: 880px; }
.hero__title {
  font-family: var(--font-disp); font-size: clamp(5.5rem,2.5rem + 9.5vw,11rem);
  font-weight: 900; line-height: .88; letter-spacing: -.01em; text-transform: uppercase;
  color: var(--text); display: flex; flex-direction: column;
}
.hero__scroll { position: absolute; bottom: 2.4rem; right: 2.5rem; z-index: 2; display: flex; align-items: center; gap: 1rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.2); }
.hero__scroll-line { width: 44px; height: 1px; background: rgba(255,255,255,.15); }

/* PROOF BAR */
.proof-bar { background: var(--surface); border-top: 1px solid var(--accent-border); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.proof-bar__inner { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.proof-bar__item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.proof-bar__item strong { font-family: var(--font-disp); font-size: clamp(.9rem,.8rem + .5vw,1.3rem); font-weight: 900; color: var(--accent); line-height: 1; }
.proof-bar__item span { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.proof-bar__sep { width: 1px; height: 36px; background: var(--border); }

/* ABOUT */
.about { padding: clamp(5rem,8vw,9rem) 0; background: var(--bg); }
.about__inner { max-width: 1000px; margin: 0 auto; padding: 0 2.5rem; }
.about__headline { font-family: var(--font-disp); font-size: clamp(2.5rem,1.5rem + 4vw,5.5rem); font-weight: 900; text-transform: uppercase; line-height: .92; margin-bottom: 1.75rem; }
.about__body { font-size: clamp(.95rem,.9rem + .2vw,1.1rem); font-weight: 300; color: var(--text-muted); line-height: 1.78; max-width: 62ch; }

/* THE STUDIO */
.studio { background: var(--bg); padding: clamp(4rem,6vw,7rem) 0 0; border-top: 1px solid var(--border); overflow: hidden; }
.studio__header { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem clamp(2.5rem,4vw,4rem); }
.studio__headline { font-family: var(--font-disp); font-size: clamp(2.5rem,1.5rem + 4vw,5.5rem); font-weight: 900; text-transform: uppercase; line-height: .92; }

.studio__strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 380px;
  gap: 3px;
}
.studio__item { overflow: hidden; position: relative; background: #0d0d0d; }
.studio__item img,
.studio__item video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1), filter .4s ease;
  filter: brightness(.85) saturate(.9);
}
.studio__item:hover img,
.studio__item:hover video { transform: scale(1.04); filter: brightness(1) saturate(1); }
.studio__item--wide { grid-column: 1; }

@media (max-width: 768px) {
  .studio__strip {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 180px 180px;
  }
}

/* CAST HEADER */
.cast-header { background: var(--surface); padding: clamp(4rem,6vw,7rem) 0 0; border-top: 1px solid var(--border); }
.cast-header__inner { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem clamp(3rem,5vw,5rem); }
.cast-header__headline { font-family: var(--font-disp); font-size: clamp(3rem,1.5rem + 5vw,7rem); font-weight: 900; text-transform: uppercase; line-height: .9; margin-bottom: 1.2rem; }
.cast-header__sub { font-size: clamp(.9rem,.85rem + .2vw,1.05rem); color: var(--text-muted); max-width: 48ch; }

/* CHARACTER CARDS */
.character {
  background: var(--surface); max-width: 1280px; margin: 0 auto;
  padding: clamp(3rem,5vw,5rem) 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem,4.5vw,6rem); align-items: start;
  border-top: 1px solid var(--border);
}
.character:last-of-type { border-bottom: 1px solid var(--border); }
.character--flip .character__photo-col { order: 2; }
.character--flip .character__text { order: 1; }

.character__photo-col { display: flex; flex-direction: column; gap: 1.25rem; }
.character__photo-wrap { position: relative; aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; border: 1px solid var(--border-hi); background: #0d0d0d; }
.character__num-bg { position: absolute; bottom: .75rem; right: 1rem; font-family: var(--font-disp); font-size: clamp(4rem,6vw,6rem); font-weight: 900; color: rgba(107,158,107,.1); line-height: 1; pointer-events: none; user-select: none; }

/* CHARACTER VIDEO PLAYER */
.char-video {
  position: relative; width: 100%; height: 100%;
  cursor: pointer;
}
.char-video__el {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; position: relative; z-index: 1;
  background: #0d0d0d;
}
/* Poster covers video until play is clicked */
.char-video__poster {
  position: absolute; inset: 0; z-index: 2;
  background-size: cover; background-position: center top; background-repeat: no-repeat;
  transition: opacity .4s ease;
}
.char-video.is-playing .char-video__poster { opacity: 0; pointer-events: none; }

/* Play button */
.char-video__play-btn {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; padding: 0; cursor: pointer;
  transition: opacity .3s ease;
}
.char-video__play-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
}
.char-video__play-btn span,
.char-video__play-btn svg {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(107,158,107,.15); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(107,158,107,.45);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s;
  padding: 20px;
}
.char-video__play-btn:hover svg {
  background: rgba(107,158,107,.3);
  border-color: rgba(107,158,107,.75);
  transform: scale(1.07);
}
.char-video.is-playing .char-video__play-btn { opacity: 0; pointer-events: none; }
.char-video.is-playing:hover .char-video__play-btn { opacity: 1; pointer-events: auto; }

/* Number badge */
.char-video__num {
  position: absolute; bottom: .75rem; right: 1rem; z-index: 4;
  font-family: var(--font-disp); font-size: clamp(4rem,6vw,6rem);
  font-weight: 900; color: rgba(107,158,107,.14); line-height: 1;
  pointer-events: none; user-select: none;
  transition: opacity .3s ease;
}
.char-video.is-playing .char-video__num { opacity: 0; }

/* No-src state: hide play button, show only poster */
.char-video.no-src .char-video__play-btn { display: none; }
.char-video.no-src { cursor: default; }

.character__text { display: flex; flex-direction: column; gap: 1rem; padding-top: .5rem; }
.character__vertex { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.character__name { font-family: var(--font-disp); font-size: clamp(3rem,1.5rem + 3.5vw,5.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: .88; color: var(--text); }
.character__rule { width: 48px; height: 2px; background: var(--accent); border-radius: 2px; margin: .3rem 0; }
.character__bio { font-size: clamp(.9rem,.85rem + .18vw,1.05rem); font-weight: 300; color: var(--text-muted); line-height: 1.78; max-width: 54ch; }
.character__traits { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.character__traits span { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-border); background: var(--accent-dim); padding: .2rem .75rem; border-radius: 2px; }
.character__quote { border-left: 2px solid var(--accent); padding-left: 1.2rem; margin-top: .5rem; font-size: clamp(1rem,.95rem + .25vw,1.2rem); font-style: italic; font-weight: 300; color: var(--text); line-height: 1.5; max-width: 48ch; }

/* CTA READY */
.cta-ready { background: var(--bg); border-top: 1px solid rgba(107,158,107,.18); padding: clamp(4rem,8vw,7rem) 2.5rem; text-align: center; position: relative; overflow: hidden; }
.cta-ready::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 500px; height: 250px; background: radial-gradient(ellipse at center top, rgba(107,158,107,.09), transparent 70%); pointer-events: none; }
.cta-ready__inner { position: relative; max-width: 600px; margin: 0 auto; }
.cta-ready__headline { font-family: var(--font-disp); font-size: clamp(2.5rem,1.5rem + 3vw,4.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: .95; color: var(--text); margin-bottom: 1rem; }
.cta-ready__sub { font-size: clamp(.9rem,.85rem + .2vw,1.05rem); font-weight: 300; color: var(--text-muted); line-height: 1.7; max-width: 42ch; margin: 0 auto 2rem; }

/* PLATFORM */
.platform { background: var(--surface); padding: clamp(5rem,8vw,9rem) 0; border-top: 1px solid var(--border); }
.platform__inner { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }
.platform__headline { font-family: var(--font-disp); font-size: clamp(2.8rem,1.5rem + 4vw,5.5rem); font-weight: 900; text-transform: uppercase; line-height: .9; margin-bottom: 1.5rem; }
.platform__body { font-size: clamp(.88rem,.84rem + .18vw,.98rem); font-weight: 300; color: var(--text-muted); line-height: 1.75; max-width: 52ch; }

/* FOOTER */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 0; }
.footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer__brand { display: flex; flex-direction: column; gap: 3px; }
.footer__show { font-family: var(--font-disp); font-size: 1.1rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--text); }
.footer__network { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.footer__links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer__links a { font-size: .78rem; color: var(--text-muted); transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { width: 100%; text-align: center; font-size: .7rem; color: var(--text-faint); padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .character { grid-template-columns: 1fr; }
  .character--flip .character__photo-col, .character--flip .character__text { order: 0; }
  .nav__links { display: none; }
}
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .hero__content { padding: 0 1.5rem 4rem; }
  .hero__scroll { display: none; }
  .about__inner, .cast-header__inner, .character, .platform__inner, .cta-ready, .footer__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
