/* Coffee and Cleavage - hand-authored for this show only.
   Color contracts (one color, one job):
   --ground   #0f0a1a  page ground. Provenance: dark facets of the studio wall (cc-feed-cover.jpg).
   --panel    #1a1230  card/band surface. Provenance: mid facets of the same wall.
   --cream    #f8dbd0  identity display. Provenance: "Coffee" script pixels, cc-logo-trans.png.
   --rose     #f5b5b7  identity secondary (eyebrows, small labels). Provenance: "CLEAVAGE" caps pixels.
   --pink     #ff66c4  THE conversion action only (watch newest episode). Provenance: the show's
                       own thumbnail underline scribble (cc-site-thumb.jpg). Text on it: --ground (7.37:1).
   --body     #f3ece4  body text on ground (16.62:1).
   --muted    #b8a9c9  metadata text (8.86:1 on ground).
   --edge     #6a5a86  control edges on ground (3.17:1); --edge-panel #7a6a96 on panel (3.69:1).
   No status color: no live-status truth exists. */

/* scaffold-grade reset (non-visual) */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
img, picture, video { display: block; max-width: 100%; }
button, input { font: inherit; }

:root {
  --ground: #0f0a1a;
  --panel: #1a1230;
  --cream: #f8dbd0;
  --rose: #f5b5b7;
  --pink: #ff66c4;
  --body-c: #f3ece4;
  --muted: #b8a9c9;
  --edge: #6a5a86;
  --edge-panel: #7a6a96;
  --violet: #2f0070; /* hero scrim tint only; earned by the wall facets */
  --display: "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ground);
  color: var(--body-c);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  padding: 12px 18px; background: var(--cream); color: var(--ground);
  font-weight: 700; text-decoration: none; transition: none;
}
.skip-link:focus-visible { top: 12px; }

a { color: var(--cream); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}
/* clip-path swallows an outer outline, so faceted controls carry an inset
   ring instead: ground-on-pink 7.37:1, cream-on-ground 16.6:1 */
.cta:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--ground);
}
.mail-cta:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--cream);
}

/* ---------- hero: the toast ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; /* keep both faces in frame on tall crops */ }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(178deg, rgba(15,10,26,0) 34%, rgba(24,10,42,0.62) 56%, rgba(15,10,26,0.97) 82%);
}
.hero__facet {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(200deg, rgba(47,0,112,0.28), rgba(15,10,26,0.9));
  clip-path: polygon(0 34%, 38% 12%, 66% 30%, 100% 6%, 100% 100%, 0 100%);
}
.hero__copy {
  position: relative; z-index: 2;
  width: min(100% - 44px, 640px);
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(40px, 7svh, 72px);
}
.hero__logo {
  position: absolute;
  top: clamp(12px, 2svh, 18px);
  left: 0;
  width: min(50vw, 200px);
  height: auto;
}
.hero__body { width: 100%; }
.hero__eyebrow {
  margin-top: 0;
  color: var(--rose);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.hero__tagline {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(27px, 7vw, 40px);
  line-height: 1.14;
  color: var(--cream);
  text-wrap: balance;
}
.hero__hosts { margin-top: 12px; color: var(--muted); font-size: 16px; }
.hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* the ONE conversion action; top-right facet cut from the wall geometry */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 26px;
  background: var(--pink); color: var(--ground);
  font-weight: 800; font-size: 17px; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid var(--pink);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.cta::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 3px; background: var(--ground);
  transform: scaleX(0); transform-origin: left center;
}
.cta:focus-visible::after { transform: scaleX(1); }
.cta:active { transform: translateY(1px); }

.link-quiet {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 4px;
  color: var(--cream); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--edge);
}
.link-quiet:active { transform: translateY(1px); }

/* ---------- shared section shell ---------- */

.shell { width: min(100% - 44px, 1100px); margin: 0 auto; }
.section { padding: clamp(56px, 9vw, 104px) 0 0; }
/* the hero already carries its own bottom presence; the first section sits closer */
main > .section:first-of-type { padding-top: clamp(30px, 4vw, 52px); }
.section:last-of-type { padding-bottom: clamp(56px, 9vw, 96px); }
.kicker {
  color: var(--rose); font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-family: var(--sans);
}
.section h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 400; line-height: 1.15;
  color: var(--cream);
}
.section h2.kicker {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 13px; font-weight: 700;
  color: var(--rose); line-height: 1.6;
}

/* ---------- newest episode ---------- */

.episode {
  margin-top: 26px;
  background: var(--panel);
  clip-path: polygon(0 0, 100% 12px, 100% 100%, 0 calc(100% - 8px));
  padding: clamp(26px, 4vw, 44px);
}
.episode__cover { display: block; width: 100%; height: auto; }
.episode__title {
  margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(24px, 4.4vw, 34px);
  font-weight: 400; line-height: 1.18; color: var(--cream);
}
.episode__meta { margin-top: 8px; color: var(--muted); font-size: 15px; }
.episode__summary { margin-top: 14px; max-width: 56ch; }
.episode__actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.episode__listen { display: inline-flex; gap: 20px; }

.prev { margin-top: 30px; border-top: 1px solid var(--edge); }
.prev h3 {
  margin: 18px 0 0;
  color: var(--muted); font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.prev ul { margin: 12px 0 0; padding: 0; list-style: none; }
.prev li { padding: 7px 0; color: var(--body-c); }
.prev li span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* ---------- watch or listen rows ---------- */

.paths { margin-top: 26px; display: grid; gap: 14px; }
.path {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center; column-gap: 18px; row-gap: 2px;
  min-height: 76px; padding: 16px 20px;
  background: var(--panel);
  text-decoration: none; color: var(--body-c);
  border: 1px solid transparent;
}
.path svg { grid-column: 1; grid-row: 1 / span 2; }
.path__label { grid-column: 2; grid-row: 1; }
.path__note { grid-column: 2; grid-row: 2; }
.path__arrow { grid-column: 3; grid-row: 1 / span 2; }
.path:nth-child(1) { clip-path: polygon(0 0, 100% 6px, 100% 100%, 0 100%); }
.path:nth-child(2) { clip-path: polygon(0 4px, 100% 0, 100% calc(100% - 4px), 0 100%); }
.path:nth-child(3) { clip-path: polygon(0 0, 100% 4px, 100% 100%, 0 calc(100% - 6px)); }
.path svg { flex: none; width: 30px; height: 30px; fill: var(--cream); }
.path__label { font-weight: 700; color: var(--cream); }
.path__note { color: var(--muted); font-size: 15px; }
.path__arrow { margin-left: auto; color: var(--rose); font-weight: 700; }

/* ---------- hosts: the two pathway cards ----------
   The matching cover crops stay side by side at every viewport so they read
   as one shared studio photograph. Text remains below each face. */

.hosts {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 4px;
  row-gap: 22px;
  overflow-x: clip;
}
.host-card {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: var(--body-c);
}
.host-card__frame {
  display: block;
  position: relative;
  aspect-ratio: 700 / 1068;
  overflow: hidden;
}
.host-card__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.host-card--lynnie .host-card__frame { clip-path: polygon(0 26px, 26px 0, 100% 0, 100% 100%, 0 100%); }
.host-card--lynnie .host-card__frame img { object-position: left center; }
.host-card--claudia .host-card__frame { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.host-card--claudia .host-card__frame img { object-position: right center; }
.host-card__frame::after {
  content: ""; position: absolute; inset: 0;
  border: 2px solid transparent; pointer-events: none;
}
.host-card--lynnie .host-card__frame::after { clip-path: polygon(0 26px, 26px 0, 100% 0, 100% 100%, 0 100%); }
.host-card--claudia .host-card__frame::after { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.host-card__name {
  display: block; margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(19px, 5.6vw, 32px);
  font-weight: 400; color: var(--cream); line-height: 1.15;
}
.host-card__bio {
  display: block; margin-top: 8px;
  font-size: 14px; line-height: 1.5; color: var(--muted);
}
.host-card__follow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  min-height: 44px; margin-top: 8px;
  position: relative; width: fit-content; max-width: 100%; padding-right: 4px;
  font-size: 14px; font-weight: 700; color: var(--cream);
}
.host-card__follow svg { flex: none; width: 18px; height: 18px; fill: var(--cream); }
.host-card__handle { color: var(--muted); font-weight: 600; }
.host-card__arrow { color: var(--rose); }
.host-card__follow::after {
  content: ""; position: absolute; left: 0; right: 4px; bottom: 4px;
  height: 2px; background: var(--cream);
  transform: scaleX(0);
}
.host-card--lynnie .host-card__follow::after { transform-origin: left center; }
.host-card--claudia .host-card__follow::after { transform-origin: right center; }
.host-card:focus-visible .host-card__follow::after { transform: scaleX(1); }
.host-card:focus-visible .host-card__frame::after { border-color: var(--cream); }
.gary {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--muted);
  font-style: italic;
}

@media (min-width: 600px) {
  .hosts { column-gap: 8px; }
  .host-card__follow { font-size: 15px; }
  .host-card__bio { font-size: 15px; line-height: 1.55; }
}

/* ---------- participation band ---------- */

.participate {
  margin-top: 26px;
  background: var(--panel);
  clip-path: polygon(0 10px, 100% 0, 100% 100%, 0 calc(100% - 6px));
  padding: clamp(26px, 4vw, 44px);
}
.participate h2 { margin-top: 0; letter-spacing: 0.04em; }
.participate__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 22px; }
.mail-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 11px 22px;
  color: var(--cream); font-weight: 700; text-decoration: none;
  border: 2px solid var(--edge-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.mail-cta:active { transform: translateY(1px); }

/* ---------- club (quiet) ---------- */

.club { margin-top: 26px; border: 1px solid var(--edge); padding: clamp(22px, 3.4vw, 34px); }
.club h2 { font-size: clamp(22px, 3.4vw, 30px); }
.club .link-quiet { margin-top: 14px; }

/* ---------- closer ---------- */

.closer { text-align: center; }
.closer p {
  font-family: var(--display);
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.25; color: var(--cream);
  max-width: 22ch; margin: 0 auto;
  text-wrap: balance;
}
.closer .cta { margin-top: 30px; }

/* ---------- footer ---------- */

.footer {
  margin-top: clamp(56px, 9vw, 96px);
  border-top: 1px solid var(--edge);
  padding: 28px 0 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  color: var(--muted); font-size: 15px;
}
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.footer form { margin-left: auto; }
.footer button {
  min-height: 44px; padding: 9px 16px;
  background: none; border: 1px solid var(--edge);
  color: var(--muted); cursor: pointer;
}

/* ---------- members page (hop 2, quiet room) ---------- */

.room {
  min-height: 100svh; display: grid; place-items: center;
  padding: 40px 0;
}
.room__inner { width: min(100% - 44px, 480px); }
.room .kicker { display: block; }
.room h1 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 400; color: var(--cream); line-height: 1.15;
}
.room__block { margin-top: 28px; border-top: 2px solid var(--edge); padding-top: 20px; }
.room__block h2 {
  margin: 0; color: var(--rose);
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.room__error { margin: 16px 0 0; color: var(--rose); font-weight: 700; }
.room form { margin-top: 14px; }
.room label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.room input[type="checkbox"] {
  flex: none; width: 44px; height: 44px;
  accent-color: var(--cream);
}
.room label span { padding-top: 10px; }
.room button {
  margin-top: 20px; width: 100%;
  min-height: 52px; padding: 12px 22px;
  background: var(--cream); color: var(--ground);
  border: 2px solid var(--cream); font-weight: 800; cursor: pointer;
}
.room button:active { transform: translateY(1px); }
.room__back { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-top: 18px; padding: 0 6px; color: var(--muted); }

/* ---------- depart ---------- */

.depart { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.depart main { width: min(100% - 44px, 480px); }
.depart h1 { font-family: var(--display); font-weight: 400; color: var(--cream); margin-top: 8px; }
.depart p { color: var(--muted); }
.depart a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; margin-top: 22px; padding: 11px 24px;
  background: var(--cream); color: var(--ground);
  font-weight: 800; text-decoration: none;
}

/* ---------- desktop composition (designed, not projected) ---------- */

@media (min-width: 980px) {
  .hero { align-items: stretch; }
  .hero__grid {
    position: relative; z-index: 2;
    width: min(100% - 96px, 1240px); margin: 0 auto;
    display: grid; grid-template-columns: minmax(440px, 1fr) minmax(380px, 44%);
    gap: 0; align-items: center;
  }
  .hero__copy { width: auto; min-height: 0; margin: 0; display: block; padding: 96px 56px 96px 0; }
  .hero__logo { position: static; width: 360px; }
  .hero__body { width: auto; }
  .hero__eyebrow { margin-top: 18px; }
  .hero__tagline { font-size: clamp(40px, 3.6vw, 54px); }
  .hero__media { position: relative; inset: auto; align-self: stretch; min-height: 100svh; }
  .hero__media img { position: absolute; inset: 0; clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); object-position: 50% 12%; }
  /* seam blend only: the desktop crop keeps wall to Lynnie's left, so the
     fade ends at 18% of the column, well before her hair or face at every
     viewport aspect */
  .hero__scrim { background: linear-gradient(90deg, var(--ground) 0%, rgba(15,10,26,0) 18%); }
  .hero__facet { height: 22%; clip-path: polygon(0 60%, 30% 30%, 58% 52%, 100% 22%, 100% 100%, 0 100%); opacity: 0.55; }

  .episode {
    display: grid;
    grid-template-columns: minmax(320px, 40%) minmax(0, 1fr);
    column-gap: 40px;
    row-gap: 24px;
    align-items: start;
  }
  .episode__cover { grid-column: 1; grid-row: 1; width: 100%; }
  .episode__title { margin-top: 0; }
  .episode__body { grid-column: 2; grid-row: 1; min-width: 0; }
  .prev { grid-column: 1 / -1; margin-top: 0; }
  .prev ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .prev li { min-width: 0; }

  .paths { grid-template-columns: repeat(3, 1fr); }
  .path { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
  .path__arrow { margin-left: 0; margin-top: auto; }

  .hosts { column-gap: 12px; }
  .host-card__name { margin-top: 16px; }
  .host-card__bio { max-width: 52ch; font-size: 17px; line-height: 1.6; }
  .host-card__follow { margin-top: 10px; font-size: 17px; }
  .host-card__follow svg { width: 22px; height: 22px; }
  .gary { grid-column: 1 / -1; text-align: center; }

  .participate__actions { gap: 18px 26px; }
}

/* ---------- motion: 2 named jobs + press feedback; all one-shot ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* job 1: identity arrival, "the toast" (two sides meet in the middle).
     Transform-only: nothing ever renders at reduced opacity, so no capture or
     slow load can strand dim content. */
  @keyframes cc-rise { from { transform: translateY(18px); } to { transform: none; } }
  @keyframes cc-from-left { from { transform: translateX(-26px); } to { transform: none; } }
  @keyframes cc-from-right { from { transform: translateX(26px); } to { transform: none; } }
  .hero__copy { animation: cc-rise 600ms cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  @media (min-width: 980px) {
    .hero__copy { animation-name: cc-from-left; }
    .hero__media { animation: cc-from-right 600ms cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  }
  /* job 2: conversion emphasis, "the scribble" (their thumbnail underline, drawn) */
  .cta::after { transition: transform 200ms ease-out; }
  .cta:active, .link-quiet:active, .mail-cta:active, .room button:active { transition: transform 60ms ease-out; }
  /* job 3: host pathways. Entry: the two cards slide in from opposite sides
     and settle side by side (the toast, extended to the hosts). Scroll-driven,
     one-shot, transform-only; browsers without view() get the static layout.
     Hover warms the frame edge and draws mirrored underlines; the portraits
     themselves never move. */
  @supports (animation-timeline: view()) {
    /* 20px < the 22px shell margin: the from-state never leaves the viewport */
    @keyframes cc-host-from-left { from { transform: translateX(-20px); } to { transform: none; } }
    @keyframes cc-host-from-right { from { transform: translateX(20px); } to { transform: none; } }
    /* fill forwards + entry 0%: below the viewport the cards keep their
       natural rects (no phantom overflow); the slide begins at first pixel */
    .host-card--lynnie { animation: cc-host-from-left forwards; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .host-card--claudia { animation: cc-host-from-right forwards; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
  .host-card__follow::after { transition: transform 220ms ease-out; }
  .host-card__frame::after { transition: border-color 180ms ease-out; }
  .host-card__arrow { transition: transform 120ms ease-out; }
  @media (hover: hover) {
    .cta:hover::after { transform: scaleX(1); }
    .path:hover { border-color: var(--edge-panel); }
    .link-quiet:hover, .footer a:hover { color: var(--cream); }
    .mail-cta:hover { border-color: var(--cream); color: var(--cream); }
    .host-card:hover .host-card__follow::after { transform: scaleX(1); }
    .host-card:hover .host-card__frame::after { border-color: var(--cream); }
  }
  .host-card:active .host-card__arrow { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  @media (hover: hover) {
    .cta:hover::after { transform: scaleX(1); }
    .path:hover { border-color: var(--edge-panel); }
    .mail-cta:hover { border-color: var(--cream); color: var(--cream); }
    .host-card:hover .host-card__follow::after { transform: scaleX(1); }
    .host-card:hover .host-card__frame::after { border-color: var(--cream); }
  }
}

/* ---------- forced colors ---------- */

@media (forced-colors: active) {
  .hero__scrim, .hero__facet { display: none; }
  .cta, .mail-cta, .path, .club, .room button, .depart a { border: 2px solid ButtonText; }
  .cta, .mail-cta { clip-path: none; }
  .path svg, .host-card__follow svg { fill: ButtonText; }
  .host-card__frame { clip-path: none; }
  .host-card__follow::after { background: ButtonText; }
}
