/* The persona pages, layered on home.css so they wear the landing page's
   ground, type and buttons. Each page sets --persona from its persona.json
   accentColor; it tints the headline's serif tail and the chips, nothing else.
   Mobile-first: these are bio links, and a bio link opens on a phone. */
:root { --pmax: 1080px; }
.persona { --persona: var(--clay); }
.persona.maya { --persona: #D48A6E; }
.persona.remi { --persona: #E0667D; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .persona.maya { --persona: #A9532F; }
  :root:not([data-theme="dark"]) .persona.remi { --persona: #B03550; }
}
.persona .serif { color: var(--persona); }
.persona .wrap { max-width: var(--pmax); }

/* The disclosure bar: first thing on the page, before the nav. */
.disclose {
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-align: center; padding: 9px 16px; background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.disclose b { color: var(--text); font-weight: 500; }

/* ---------- Hero ---------- */
.p-hero { position: relative; padding: 28px 0 8px; }
.p-hero::before {
  content: ""; position: absolute; inset: -80px 0 auto 0; height: 700px; pointer-events: none;
  background: radial-gradient(50% 45% at 50% 30%, var(--glow), transparent 70%);
}
.p-hero .wrap { position: relative; display: grid; gap: 28px; }
/* Her renders are 9:16 with the face in the top third. A phone shows a 4:5
   window onto it so the headline and the follow button stay on the first
   screen; desktop has the height for the whole frame. */
.media {
  position: relative; border-radius: var(--r); overflow: hidden; background: var(--card);
  border: 1px solid var(--line-2); aspect-ratio: 4 / 5; box-shadow: var(--shadow);
}
.media video, .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.media .tag, .tile .tag {
  position: absolute; left: 12px; top: 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 8px; border-radius: 8px; background: rgb(0 0 0 / .5); color: #fff; backdrop-filter: blur(8px);
}
.media .pause {
  position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(0 0 0 / .5); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px);
}
.p-hero h1 {
  margin: 14px 0 14px; font-weight: 600; font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.03; letter-spacing: -.035em;
}
.p-hero h1 .serif { font-size: 1.06em; }
.p-hero .lede { font-size: 18px; }
.follow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--card); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .btn.ghost { background: transparent; color: var(--text); }
  :root:not([data-theme="dark"]) .btn.ghost:hover { background: var(--card); }
}
.handle { font: 500 13px var(--mono); color: var(--faint); margin-top: 12px; }
.handle span { white-space: nowrap; }
.handle a { color: var(--muted); }
.handle a:hover { color: var(--text); }
.chip-ai {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 12px; border-radius: 999px;
  font-size: 13.5px; color: var(--muted); border: 1px solid var(--line-2);
}
.chip-ai::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--persona); }

/* ---------- Sections ---------- */
.p-block { padding: 72px 0 0; }
.p-block .head { margin-bottom: 28px; }
.p-block .head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2;
  letter-spacing: -.01em; max-width: 24em; margin: 0 auto; text-align: center;
}
.quote + .eyebrow { display: block; text-align: center; margin-top: 16px; }

/* Episodes: rows on a phone, a strip of 9:16 tiles on desktop. */
.eps { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.eps li { border-bottom: 1px solid var(--line); }
.eps a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; }
.eps .tile { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--card); }
.eps .tile video, .eps .tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.eps .tile .tag { display: none; }
.eps b { font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.eps small { display: block; margin-top: 3px; color: var(--faint); font: 500 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.eps .go { color: var(--faint); transition: transform .15s ease, color .15s ease; }
.eps a:hover .go { color: var(--persona); transform: translateX(2px); }
.eps a:hover b { color: var(--text); }

.pillars { display: grid; gap: 12px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.pillar h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.pillar p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.pillar .n { font: 500 12px var(--mono); color: var(--persona); }

.fits { display: grid; grid-template-columns: repeat(4, 62%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 0 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
.fits::-webkit-scrollbar { display: none; }
.fits figure { scroll-snap-align: start; margin: 0; }
.fits img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.fits figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.behind {
  display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px;
}
.behind h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin-top: 8px; }
.behind p { color: var(--muted); font-size: 15px; margin-top: 4px; max-width: 30em; }
.behind .more { margin: 0; }

.reprise { text-align: center; padding: 56px 20px; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 0%, var(--glow), transparent 70%), var(--bg-2); }
.reprise h2 { font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.035em; line-height: 1.04; margin-top: 14px; }
.reprise > p { color: var(--muted); margin: 12px auto 0; max-width: 30em; }
.reprise .follow { justify-content: center; }
.reprise .wl { margin: 26px auto 0; }

/* Maya's show-and-tell: two loops, then the grid. */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; border: 1px solid var(--line); background: var(--card); }
.pair video, .pair img { width: 100%; height: 100%; object-fit: cover; }
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.parts .pillar { padding: 18px; }
.parts .pillar h3 { font-size: 16.5px; }
.parts .pillar p { font-size: 14.5px; }

.fineprint { margin-top: 72px; max-width: 40em; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.fineprint em { font-family: var(--serif); font-size: 20px; color: var(--text); }
.persona footer.foot { margin-top: 48px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .p-hero { padding-top: 56px; }
  .p-hero .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .media { aspect-ratio: 9 / 16; max-height: 78vh; justify-self: center; width: 100%; max-width: 420px; }
  .p-block { padding-top: 112px; }
  .eps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; border: 0; }
  .eps li { border: 0; }
  .eps a { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .eps .tile { aspect-ratio: 9 / 16; border-radius: 16px; border: 1px solid var(--line); }
  .eps .tile .tag { display: block; }
  .eps .go { display: none; }
  .eps small { display: none; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .parts { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fits { grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .pair { gap: 16px; max-width: 640px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
}
/* A phone opens this from a bio, often inside Instagram's own browser (about
   700px tall). The hero gives up height before the follow button gives up
   the first screen, and the button comes straight after the headline. */
@media (max-width: 899px) {
  .p-hero { padding-top: 16px; }
  .p-hero .wrap { gap: 18px; }
  .media { aspect-ratio: auto; height: min(40svh, calc((100vw - 32px) * 1.25)); }
  .p-hero .copy { display: flex; flex-direction: column; }
  .p-hero .copy .follow { order: 1; margin-top: 4px; }
  .p-hero .copy .lede { order: 2; margin-top: 18px; font-size: 16.5px; }
  .p-hero .copy > :is(.handle, .chip-ai) { order: 3; }
  .p-hero h1 { margin: 10px 0 18px; font-size: clamp(2rem, 8.6vw, 2.6rem); }
}
@media (max-width: 640px) {
  .follow .btn { flex: 1 1 auto; justify-content: center; }
  .reprise .follow .btn { flex: 0 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .eps .go { transition: none; }
}
