/* Landing (/) and /privacy styles. Owner: landing. Builds on tokens.css and components.css.
   Landing classes start with lp-, privacy classes with pv-. Shared classes are only extended inside these pages. */

/* ---------- landing: frame ---------- */

.lp-nav {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
}
.lp-nav .site-head__row {
  min-height: 60px;
}

.lp-sec {
  padding-block: var(--s12);
}
.lp-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  letter-spacing: var(--track-display);
  line-height: 1;
}
.lp-sub {
  max-width: 38em;
  margin-block: var(--s3) var(--s8);
  font-size: var(--fs-read);
  color: var(--ink-muted);
}

.lp-split {
  display: grid;
  gap: var(--s8);
  align-items: start;
}

/* Art boxes filled by landing.js. The slot id label shows only with the inspector switch on. */
.lp-art > img {
  object-position: center bottom;
}
.lp-art .art-slot-id {
  position: absolute;
  inset-inline: var(--s1);
  inset-block-end: var(--s1);
  z-index: 2;
  margin: 0;
  padding: 2px var(--s2);
  background: var(--white);
  border: 1px dashed var(--ink);
  border-radius: var(--r-panel);
  font-size: var(--fs-label);
  line-height: 1.35;
  color: var(--ink);
}

/* ---------- landing: hero ---------- */

.lp-hero {
  background: var(--grape);
  border-block-end: var(--line) solid var(--ink);
  overflow: hidden;
}
.lp-hero__grid {
  display: grid;
  gap: var(--s4);
  padding-block: var(--s4) var(--s10);
}
.lp-hero__art {
  order: -1;
  margin: 0;
  border-width: var(--line-heavy);
}
.lp-hero__art .panel__art {
  aspect-ratio: 2 / 1;
}
.lp-hero .lp-sfx--top {
  inset-inline: var(--s4) auto;
  inset-block: var(--s3) auto;
}
.lp-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.lp-hero__title {
  --title-stroke: 1.5px;
  --title-shadow: 3px 3px 0 var(--ink);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4.25rem);
  line-height: 0.98;
  color: var(--white);
  -webkit-text-stroke: var(--title-stroke) var(--ink);
  paint-order: stroke fill;
  text-shadow: var(--title-shadow);
}
.lp-hero__lede {
  max-width: 34em;
  color: var(--grape-50);
}
.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  margin-block-start: var(--s2);
}
.lp-hero__btn {
  width: 100%;
  box-shadow: var(--sh-press-lg);
}
.lp-hero__meta {
  font-size: var(--fs-sm);
  color: var(--grape-100);
}

/* The one loud moment: "exactly" is sliced into a left and a right half, like the pizza in the art.
   The cut runs between letters, never along the line of text, so it can't read as a strikethrough.
   The real word stays in the DOM (transparent) for reading, copying and layout; two generated
   copies draw the halves. */
.lp-cut {
  position: relative;
  display: inline-block;
  margin-inline-end: 0.08em;
  color: transparent;
  -webkit-text-stroke-color: transparent;
  text-shadow: none;
}
.lp-cut::before,
.lp-cut::after {
  content: attr(data-word);
  content: attr(data-word) / "";
  position: absolute;
  inset: 0;
  color: var(--white);
  -webkit-text-stroke: var(--title-stroke) var(--ink);
  text-shadow: var(--title-shadow);
  animation: cut-apart var(--dur-panel) var(--ease-press) 520ms both;
}
.lp-cut::before {
  clip-path: polygon(-10% -40%, 56.5% -40%, 45% 140%, -10% 140%);
  --cut-x: 0em;
  --cut-y: 0em;
  --cut-r: 0deg;
}
.lp-cut::after {
  clip-path: polygon(56.5% -40%, 110% -40%, 110% 140%, 45% 140%);
  transform-origin: 47% 100%;
  --cut-x: 0.06em;
  --cut-y: 0.06em;
  --cut-r: 3deg;
}
.lp-cut__slash {
  position: absolute;
  inset-block: -0.12em;
  inset-inline-start: calc(50.75% - 0.035em);
  width: 0.07em;
  background: var(--sun);
  border-radius: var(--r-pill);
  transform: rotate(14deg);
  pointer-events: none;
  animation:
    slash-down var(--dur-slash) var(--ease-press) 280ms both,
    slash-out var(--dur-bump) var(--ease-press) 640ms forwards;
}
@keyframes slash-down {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.lp-sfx--top {
  animation: sfx-pop var(--dur-sfx) var(--ease-pop) 560ms both;
}
@keyframes cut-apart {
  from {
    translate: 0 0;
    rotate: 0deg;
  }
  to {
    translate: var(--cut-x) var(--cut-y);
    rotate: var(--cut-r);
  }
}
@keyframes slash-out {
  to {
    opacity: 0;
  }
}
/* tokens.css shortens durations but keeps delays, so the load sequence is switched off here outright. */
@media (prefers-reduced-motion: reduce) {
  .lp-cut::before,
  .lp-cut::after,
  .lp-sfx--top {
    animation: none;
  }
  .lp-cut::before,
  .lp-cut::after {
    translate: var(--cut-x) var(--cut-y);
    rotate: var(--cut-r);
  }
  .lp-cut__slash {
    display: none;
  }
}

/* ---------- landing: strip ---------- */

.lp-strip {
  display: grid;
  gap: var(--s6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-cell {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--sh-cell);
}
.lp-cell__cap {
  flex: 1;
  padding: var(--s3) var(--s4) var(--s4);
  border-block-start: var(--line) solid var(--ink);
  font-size: var(--fs-cap);
  line-height: var(--lh-read);
  color: var(--ink-soft);
}
.lp-cell__title {
  display: block;
  margin-block-end: var(--s1);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  letter-spacing: var(--track-display);
  line-height: 1.15;
  color: var(--ink);
}

/* ---------- landing: branch tree ---------- */

.lp-branch {
  background: var(--sun-50);
  border-block: var(--line) solid var(--ink);
}
.lp-tree {
  display: grid;
  gap: var(--s6) var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-tree__head {
  margin-block-end: var(--s2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-muted);
}
.lp-tree__nodes {
  display: grid;
  gap: var(--s2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lp-node {
  padding: var(--s2) var(--s3);
  background: var(--white);
  border: var(--line-thin) solid var(--ink);
  border-radius: var(--r-surface);
  font-size: var(--fs-cap);
  font-weight: 600;
  line-height: 1.3;
}
.lp-node__sub {
  display: block;
  margin-block-start: 2px;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink-muted);
}
.lp-node--locked {
  background: var(--locked);
  border-style: dashed;
  color: var(--ink-faint);
}
.lp-node--locked .lp-node__sub {
  color: var(--ink-faint);
}
.lp-node--end {
  background: var(--grape);
  color: var(--white);
}
.lp-node--end .lp-node__sub {
  color: var(--grape-100);
}
.lp-tree__note {
  max-width: 44em;
  margin-block-start: var(--s6);
  font-size: var(--fs-base);
}

/* ---------- landing: what's inside ---------- */

.lp-inside {
  gap: var(--s6) var(--s10);
}
.lp-inside__title {
  margin-block-end: var(--s1);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.3;
}
.lp-inside p {
  max-width: 36em;
  color: var(--ink-soft);
}

/* ---------- landing: report ---------- */

.lp-report {
  background: var(--grape-50);
  border-block: var(--line) solid var(--ink);
}
.lp-report__copy {
  display: grid;
  gap: var(--s4);
}
.lp-report__text {
  max-width: 36em;
  font-size: var(--fs-read);
  color: var(--ink-soft);
}
.lp-report__list {
  font-size: var(--fs-read);
}
.lp-report__example {
  padding-block-start: var(--s3);
}
.lp-report__example .report {
  max-width: 30rem;
}

/* ---------- landing: what stays out, season ---------- */

.lp-safe {
  background: var(--ink);
}
.lp-safe .lp-h2 {
  color: var(--sun);
}
.lp-safe__list {
  gap: var(--s3);
  margin-block-start: var(--s6);
  font-size: var(--fs-read);
}
.lp-season {
  padding: var(--s5);
  background: var(--space);
  border: var(--line) solid var(--sun);
  border-radius: var(--r-surface);
}
.lp-season__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-3xl);
  letter-spacing: var(--track-display);
  line-height: 1;
  color: var(--sun);
}
.lp-season__lede {
  margin-block-start: var(--s2);
  color: var(--space-text);
}
.lp-eps {
  display: grid;
  margin: var(--s3) 0 0;
  padding: 0;
  list-style: none;
}
.lp-ep {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  align-items: center;
  gap: var(--s1) var(--s3);
  padding-block: var(--s3);
  border-block-end: 1px solid var(--space-3);
}
.lp-ep:last-child {
  border-block-end: 0;
}
.lp-ep__n {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  letter-spacing: var(--track-display);
  color: var(--space-text);
}
.lp-ep__name--art {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.lp-ep__n {
  grid-row: span 2;
}
.lp-ep__art {
  position: relative;
  flex: none;
  width: 7.5rem;
  aspect-ratio: 5 / 3;
  background: var(--space-deep);
  border: var(--line-thin) solid var(--sun);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.lp-ep__art > svg,
.lp-ep__art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-ep__status {
  grid-column: 2;
  justify-self: start;
  padding: 2px var(--s2);
  background: var(--space-3);
  color: var(--grape-100);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  white-space: nowrap;
}
.lp-ep__status--free {
  background: var(--sun);
  color: var(--ink);
}

/* ---------- landing: FAQ ---------- */

.lp-faq {
  display: grid;
  gap: var(--s3);
  max-width: 48rem;
  margin-block-start: var(--s6);
}
.lp-q {
  background: var(--white);
  border: var(--line-thin) solid var(--ink);
  border-radius: var(--r-surface);
}
.lp-q > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 56px;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-surface);
  font-size: var(--fs-read);
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.lp-q > summary::-webkit-details-marker {
  display: none;
}
.lp-q > summary::after {
  content: "+";
  content: "+" / "";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--sun);
  border: var(--line-thin) solid var(--ink);
  border-radius: 50%;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.lp-q[open] > summary::after {
  content: "\2212";
  content: "\2212" / "";
}
.lp-q__a {
  display: grid;
  justify-items: start;
  gap: var(--s2);
  padding: 0 var(--s4) var(--s4);
  color: var(--ink-soft);
}
.lp-q__a p {
  max-width: 60ch;
}
.lp-q__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
}

/* ---------- landing: final CTA and footer ---------- */

.lp-final {
  padding-block: var(--s12);
  background: var(--sun);
  border-block-start: var(--line) solid var(--ink);
  text-align: center;
}
.lp-final__text {
  max-width: 34em;
  margin: var(--s3) auto var(--s6);
  font-size: var(--fs-read);
}
.lp-final__btn {
  width: 100%;
}

.lp-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 var(--s2);
  text-align: center;
}
.lp-foot__group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 var(--s2);
  min-height: var(--tap);
}

/* ---------- landing: wider screens ---------- */

@media (min-width: 600px) {
  .lp-ep {
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
  }
  .lp-ep__n {
    grid-row: auto;
  }
  .lp-ep__status {
    grid-column: 3;
  }
  .lp-tree {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-hero__btn,
  .lp-final__btn {
    width: auto;
  }
}

@media (min-width: 760px) {
  .lp-foot__group + .lp-foot__group::before {
    content: "·";
    content: "·" / "";
  }
  .lp-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s4);
  }
  .lp-inside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .lp-sec,
  .lp-final {
    padding-block: var(--s16);
  }
  .lp-hero__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: var(--s10);
    padding-block: var(--s12);
  }
  .lp-hero__art {
    order: 0;
    box-shadow: var(--sh-hero);
    transform: rotate(1.5deg);
  }
  .lp-hero__art .panel__art {
    aspect-ratio: 5 / 3;
  }
  .lp-hero__title {
    --title-shadow: 4px 4px 0 var(--ink);
  }
  .lp-hero__lede {
    font-size: var(--fs-lg);
  }
  .lp-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s10);
    align-items: center;
  }
}

@media (min-width: 960px) {
  .lp-tree {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- privacy notice (/privacy) ---------- */

.pv-head__home {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.pv-page {
  gap: var(--s8);
  font-size: var(--fs-read);
}
.pv-intro {
  display: grid;
  gap: var(--s3);
}
.pv-sec {
  display: grid;
  gap: var(--s3);
}
.pv-h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.25;
}
.pv-h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.3;
}
.pv-list {
  display: grid;
  gap: var(--s2);
  margin: 0;
  padding-inline-start: 1.25em;
}
.pv-table {
  font-size: var(--fs-base);
}
.pv-contact {
  margin: 0;
  font-style: normal;
}
