/* EVICTED Creative Studio — site styles
   Direction: a film studio's release slate. Each studio is a chapter lit in its own colour. */

/* ---------- tokens ---------- */
:root {
  --bg: #0B0B10;
  --surface: #15151D;
  --surface-2: #1D1D27;
  --ink: #F5F5FA;
  --muted: #A5A5B5;
  --line: rgba(245, 245, 250, 0.10);
  --line-strong: rgba(245, 245, 250, 0.28);

  --accent: #8B5CF6;          /* main interface accent — brand colour, kept on purpose. taste-skill-ignore */
  --accent-hover: #A78BFA;    /* taste-skill-ignore: brand violet */
  --accent-ink: #0B0B10;

  --blue: #38BDF8;
  --violet: #A78BFA;          /* taste-skill-ignore: FCT brand colour */
  --amber: #F5A623;
  --crimson: #DC143C;
  --paper: #F5F5FA;
  --paper-ink: #0B0B10;

  /* default "light" (the colour of the chapter you are in) */
  --light: var(--accent);
  --light-ink: var(--accent-ink);
  --light-text: var(--accent-hover);
  --light-hover: var(--accent-hover);
  --field: var(--bg);

  --font-display: 'Big Shoulders', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);   /* 13–14 */
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);     /* 17–19 */
  --step-lead: clamp(1.25rem, 1.05rem + 0.75vw, 1.75rem);      /* 20–28 */
  --step-head: clamp(2.125rem, 1rem + 4.2vw, 5rem);            /* 34–80 */
  --step-display: clamp(2.5rem, 0.4rem + 7.8vw, 9.25rem);      /* hero */

  --margin: clamp(1rem, 2.4vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --space: clamp(4.5rem, 8vw, 8rem);    /* section padding; two of these sit between sections */
  --radius: 6px;
  --header-h: 4.25rem;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7 17 17 7M9 7h8v8%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.2%27/%3E%3C/svg%3E");

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

[data-light="blue"]    { --light: var(--blue);    --light-ink: #0B0B10; --light-text: var(--blue);   --light-hover: #7DD3FC; --field: #0A131B; }
[data-light="violet"]  { --light: var(--violet);  --light-ink: #0B0B10; --light-text: var(--violet); --light-hover: #C4B5FD; --field: #110E1C; }
[data-light="amber"]   { --light: var(--amber);   --light-ink: #0B0B10; --light-text: var(--amber);  --light-hover: #F8BD5A; --field: #15100A; }
[data-light="crimson"] { --light: var(--crimson); --light-ink: #F5F5FA; --light-text: #F0506A;       --light-hover: #B01030; --field: #170A0E; }
[data-light="paper"]   { --light: var(--paper);   --light-ink: #0B0B10; --light-text: var(--ink);    --light-hover: #FFFFFF; --field: #101016; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: var(--margin); top: -4rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 0.75rem 1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 800; text-wrap: balance; }
.display, .head, .hero-title, .card-name, .tile-name, .tile-price, .ticket-name, .how-line,
.faq-title, .ai-name, .more-name, .more-paper, .closing-title, .wordmark-name {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.005em;
}
.display { font-size: var(--step-display); line-height: 0.88; }
.head { font-size: var(--step-head); line-height: 0.92; }
.lead { font-size: var(--step-lead); line-height: 1.35; }
p { text-wrap: pretty; max-width: 72ch; }
.nums { font-variant-numeric: tabular-nums; }

.link, .link-plain {
  text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.link { text-decoration-color: transparent; }
.link-plain { text-decoration-color: currentColor; color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; color: var(--ink); }
  .link-plain:hover { color: var(--light-text); }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--margin); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
main { position: relative; z-index: 1; background: var(--bg); }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.4rem;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: var(--step-small); font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, border-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); } /* taste-skill-ignore: outlined secondary button */
.button--light { background: var(--light); color: var(--light-ink); }
.button--nav { min-height: 2.5rem; padding: 0 1rem; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-hover); }
  .button--ghost:hover { background: var(--surface-2); border-color: var(--ink); }
  .button--light:hover { background: var(--light-hover); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }

/* ---------- status ---------- */
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--step-small); font-weight: 600; }
.status-mark { width: 0.55rem; height: 0.55rem; background: var(--light); flex: none; }
.status.is-out { color: var(--muted); }
.status.is-out .status-mark { background: #4A4A5A; }
.stamp { font-size: var(--step-small); color: var(--muted); max-width: 60ch; line-height: 1.5; }
.stamp--below { margin-top: 1.75rem; }
.stamp--page { padding-block: 2.5rem 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line); /* taste-skill-ignore: brand asks for thin borders */
}
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding-block: 0.5rem; }
.wordmark-name { font-size: 1.75rem; letter-spacing: 0.04em; line-height: 0.9; }
.wordmark-sub { font-size: var(--step-small); color: var(--muted); margin-top: 0.3rem; letter-spacing: 0.01em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.site-nav-list { display: flex; gap: 1.75rem; }
.site-nav-link {
  font-size: var(--step-small); font-weight: 600; color: var(--muted); text-decoration: none;
  padding-block: 0.6rem; display: inline-block; position: relative;
  transition: color var(--t-hover) ease;
}
.site-nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.3rem; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out);
}
.site-nav-link[aria-current="page"] { color: var(--ink); }
.site-nav-link[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .site-nav-link:hover { color: var(--ink); }
  .site-nav-link:hover::after { transform: scaleX(1); }
}
.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0 0.25rem 0 0.75rem; font-size: var(--step-small); font-weight: 600;
}
.menu-toggle svg { stroke: currentColor; stroke-width: 2; }
.menu-bar { transition: transform var(--t-ui) var(--ease-out); transform-origin: 12px 12px; }
.menu-toggle[aria-expanded="true"] .menu-bar--top { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar--bottom { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 63.99em) {
  .js .menu-toggle { display: inline-flex; }
  .site-nav { gap: 1rem; flex-wrap: wrap; }
  .site-nav-list { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    margin: 0; padding: 1.5rem var(--margin) 2rem; background: var(--bg);
    overflow-y: auto; visibility: hidden; opacity: 0;
    transition: opacity var(--t-ui) ease, visibility 0s linear var(--t-ui);
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity var(--t-ui) ease; }
  .js .site-nav-list { flex-direction: column; gap: 0; }
  .js .site-nav-link {
    display: flex; align-items: center; min-height: 3.75rem; width: 100%;
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: var(--step-head); line-height: 1; color: var(--ink);
  }
  .js .site-nav-link::after { display: none; }
  .js .button--nav { min-height: 3.25rem; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(1.75rem, 5vh, 4rem) var(--space); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.hero-label {
  grid-column: 1 / -1; margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-size: var(--step-small); font-weight: 600; letter-spacing: 0.08em; color: var(--muted);
}
.hero-title {
  grid-column: 1 / -1; font-size: var(--step-display); line-height: 0.86;
  margin-bottom: clamp(2rem, 4vw, 3.5rem); text-wrap: initial;
}
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.07em; margin-bottom: -0.07em; white-space: nowrap; }
.mask > [data-line] { display: inline-block; }
.br-narrow { display: none; }
.hero-side { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 2rem; padding-right: 1rem; }
.hero-lead { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.hero-art { grid-column: 5 / -1; }
.hero-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease-out); }
.hero-img.is-active { opacity: 1; }
.hero-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.hero-caption-name { color: var(--ink); font-weight: 600; }
.hero-caption-desc { color: var(--light-text); }
.hero-caption-link { margin-left: auto; }

.switch { margin-top: 0.5rem; }
.switch-label { font-size: var(--step-small); color: var(--muted); margin-bottom: 0.75rem; }
.switch-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.switch-button {
  display: flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 0.9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); /* taste-skill-ignore: control state */
  font-size: var(--step-small); font-weight: 600; color: var(--muted); text-align: left;
  transition: border-color var(--t-hover) ease, color var(--t-hover) ease, background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.switch-button:active { transform: scale(0.97); }
.switch-button[aria-pressed="true"] { color: var(--ink); border-color: var(--light); background: var(--surface-2); }
.switch-swatch { width: 0.75rem; height: 0.75rem; flex: none; background: var(--light); border-radius: 1px; }
@media (hover: hover) and (pointer: fine) {
  .switch-button:hover { color: var(--ink); border-color: var(--line-strong); }
  .switch-button[aria-pressed="true"]:hover { border-color: var(--light); }
}

/* ---------- section heads ---------- */
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: end; row-gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-title { grid-column: 1 / span 8; }
.section-lead { grid-column: 9 / -1; color: var(--ink); max-width: 30ch; }

/* ---------- collection cards ---------- */
.collection { padding-block: var(--space); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; /* taste-skill-ignore: brand thin borders on product cards */
  transition: border-color var(--t-ui) ease;
}
.card-media { display: block; overflow: hidden; background: var(--bg); }
.card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.card-body { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.25rem, 2vw, 1.75rem); flex: 1; }
.card-name { font-size: var(--step-lead); line-height: 1; }
.card-descriptor { color: var(--light-text); font-weight: 600; margin-top: -0.4rem; }
.card-text { color: var(--ink); }
.card-facts { display: grid; gap: 0.5rem; margin-top: auto; padding-top: 1.25rem; font-size: var(--step-small); }
.card-facts > div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: baseline; }
.card-facts dt { color: var(--muted); }
.card-facts dd { font-weight: 600; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.5rem; }
.card-store { font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--light); }
  .card:hover .card-media img { transform: scale(1.03); }
}

/* ---------- inside the studio ---------- */
.studio { padding-block: var(--space); }
.studio-figure { margin: 0; }
.studio-zoom { display: block; border: 1px solid var(--line); /* taste-skill-ignore: concept image edge */ border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.studio-zoom img { width: 100%; }
.studio-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.studio-enlarge { font-size: var(--step-small); min-height: 2.75rem; }

/* ---------- EVICTED AI ---------- */
.ai { background: var(--field); padding-block: var(--space); }
.ai-title { max-width: 24ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.ai-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: end; }
.ai-media { grid-column: 1 / span 7; display: block; border-radius: var(--radius); overflow: hidden; }
.ai-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ai-copy { grid-column: 9 / -1; display: grid; gap: 1.25rem; }
.ai-name { font-size: var(--step-lead); line-height: 1; color: var(--light-text); }

.tiles-wrap { position: relative; margin-top: clamp(4rem, 8vw, 7rem); }
.tiles-head { position: absolute; top: 0; left: 0; width: calc(50% - var(--gutter)); display: grid; gap: 0.75rem; }
.tiles-title { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-lead); line-height: 1; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; align-items: end; }
.tile { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.tile--1 { min-height: 25rem; background: #22101A; }
.tile--2 { min-height: 30rem; background: #2C111C; }
.tile--3 { min-height: 35rem; background: #3A1420; }
.tile--4 { min-height: 40rem; background: #4C1727; }
.tile-body { flex: 1; padding: clamp(1.25rem, 2vw, 1.75rem); display: flex; flex-direction: column; gap: 0.75rem; }
.tile-name { font-size: var(--step-lead); line-height: 1; }
.tile-price { font-family: var(--font-display); font-size: var(--step-head); line-height: 0.9; }
.tile-facts { display: grid; gap: 0.4rem; margin-top: 0.5rem; line-height: 1.4; }
.tile-facts .status, .tile-note { font-size: var(--step-small); }
.tile-facts .status { color: var(--ink); }
.tile-facts .status-mark { background: var(--crimson); }
.tile-note { color: #E4C9CF; }
.tile-action {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4rem; padding: 0 clamp(1.25rem, 2vw, 1.75rem);
  background: var(--crimson); color: #F5F5FA; text-decoration: none;
  font-size: var(--step-small); font-weight: 600;
  transition: background-color var(--t-hover) ease;
}
.tile-arrow { flex: none; width: 1.25rem; height: 1.25rem; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile-action:hover { background: #B01030; }
  .tile-action:hover .tile-arrow { transform: translate(3px, -3px); }
}
.tile-action:active { background: #990D29; }
.ai--page .tiles-head { position: static; width: auto; max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); gap: 1.25rem; }
.ai--page .tiles-title { font-size: var(--step-head); line-height: 0.92; }
.ai--page .tiles-wrap { margin-top: 0; }

/* ---------- Rapture ticket ---------- */
.rapture { padding-block: var(--space); }
.rapture-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: center; }
.rapture-copy { grid-column: 1 / span 5; display: grid; gap: 1.5rem; }
.rapture-text { max-width: 44ch; }
.ticket {
  grid-column: 7 / -1; position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(9rem, 30%);
  background: var(--paper); color: var(--paper-ink); border-radius: var(--radius);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: calc(70% - 0.875rem); width: 1.75rem; height: 1.75rem;
  background: var(--bg); border-radius: 50%;
}
.ticket::before { top: -0.875rem; }
.ticket::after { bottom: -0.875rem; }
.ticket-main { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; align-content: start; }
.ticket-name { font-size: var(--step-head); line-height: 0.9; max-width: 8ch; }
.ticket-table { font-size: var(--step-body); }
.ticket-table th, .ticket-table td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid rgba(11, 11, 16, 0.16); font-weight: 400; } /* taste-skill-ignore: real table */
.ticket-table thead th { font-size: var(--step-small); font-weight: 600; color: #4A4A58; padding-top: 0; }
.ticket-table tbody th { font-weight: 600; }
.ticket-table td:nth-child(2) { font-variant-numeric: tabular-nums; }
.ticket-table td:last-child { text-align: right; font-size: var(--step-small); }
.ticket-table thead th:last-child { text-align: right; }
.ticket-stub {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 2px dashed rgba(11, 11, 16, 0.28);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem;
  font-size: var(--step-small); line-height: 1.5; color: #2A2A35;
}

/* ---------- how it works ---------- */
.how { padding-block: var(--space); }
.how-title { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.how-steps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(2.5rem, 4vw, 3.5rem); }
.how-step { grid-column: 1 / -1; display: grid; gap: 0.75rem; }
.how-step:nth-child(2) { grid-column: 3 / -1; }
.how-step:nth-child(3) { grid-column: 5 / -1; }
.how-line { font-size: var(--step-head); line-height: 0.95; white-space: nowrap; }
.how-line--last { color: var(--accent-hover); }
.how-step p { max-width: 38ch; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-head { background: var(--surface); min-height: 40svh; display: flex; align-items: flex-end; padding-block: clamp(3rem, 6vw, 4.5rem); }
.faq-head-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.25rem; align-items: end; }
.faq-title { grid-column: 1 / span 8; font-size: var(--step-display); line-height: 0.88; }
.faq-head-note { grid-column: 9 / -1; color: var(--muted); max-width: 34ch; }
.faq-band:nth-of-type(odd) { background: var(--bg); }
.faq-band:nth-of-type(even) { background: var(--surface); }
.faq-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1rem; padding-block: clamp(2rem, 3.5vw, 3.25rem); }
.faq-q { grid-column: 1 / span 5; font-family: var(--font-text); font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.faq-button { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; width: 100%; text-align: left; min-height: 2.75rem; }
.faq-icon { flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.2rem; stroke: var(--accent-hover); stroke-width: 2; transition: transform var(--t-ui) var(--ease-out); }
.faq-icon-v { transform-origin: 12px 12px; transition: transform var(--t-ui) var(--ease-out); }
.faq-button[aria-expanded="true"] .faq-icon-v { transform: scaleY(0); }
.faq-a { grid-column: 7 / -1; display: grid; gap: 0.9rem; max-width: 60ch; }
.faq-a[hidden] { display: none; }
.faq-list { display: grid; gap: 0.35rem; padding-left: 1.1rem; }
@media (hover: hover) and (pointer: fine) {
  .faq-button:hover .faq-icon { transform: rotate(90deg); }
}

/* ---------- closing band ---------- */
.closing { position: relative; background: var(--accent); color: var(--accent-ink); transition: background-color 120ms linear, color 120ms linear; }
.closing-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  min-height: 62svh; padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 1.75rem); gap: 2rem;
}
.closing-copy { display: grid; gap: 1.25rem; }
.closing-title { font-size: var(--step-head); line-height: 0.92; max-width: 22ch; }
.closing-lead { font-size: var(--step-body); max-width: 40ch; }
.closing-arrow { width: 3rem; height: 3rem; transition: transform var(--t-ui) var(--ease-out); }
.closing-word { grid-column: 1 / -1; grid-row: 3; display: block; color: inherit; text-decoration: none; }
.closing-word::after { content: ""; position: absolute; inset: 0; }
.closing-svg { width: 100%; height: auto; fill: currentColor; font-family: var(--font-display); font-weight: 800; font-size: 160px; overflow: visible; }
.closing-svg--narrow { display: none; font-size: 290px; }
.closing:has(.closing-word:hover), .closing:has(.closing-word:focus-visible) { background: var(--bg); color: var(--accent-hover); }
.closing:has(.closing-word:hover) .closing-arrow, .closing:has(.closing-word:focus-visible) .closing-arrow { transform: translate(6px, -6px); }
.closing-word:focus-visible { outline: none; }
.closing:has(.closing-word:focus-visible) { outline: 3px solid var(--accent-hover); outline-offset: -6px; }

/* ---------- footer ---------- */
.site-footer { position: sticky; bottom: 0; z-index: 0; background: var(--surface); }
.footer-inner { min-height: 82svh; display: grid; grid-template-rows: auto 1fr auto; padding-block: 2.5rem 1.5rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.footer-h { font-family: var(--font-text); font-size: var(--step-small); font-weight: 600; color: var(--ink); margin-bottom: 0.9rem; }
.footer-list { display: grid; gap: 0.15rem; font-size: var(--step-small); }
.footer-list a { color: var(--muted); display: inline-block; padding-block: 0.35rem; text-decoration-color: transparent; }
.footer-mark { grid-row: 3; display: grid; gap: 1.25rem; padding-top: 3rem; }
.footer-wordmark { width: 100%; height: auto; fill: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 300px; overflow: visible; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: var(--step-small); color: var(--muted); }

/* ---------- page intro (collection) ---------- */
.page-intro { padding-block: clamp(2.5rem, 6vw, 5rem) var(--space); }
.page-intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: end; }
.page-title { grid-column: 1 / span 7; text-wrap: initial; }
.page-intro-side { grid-column: 8 / -1; display: grid; gap: 2rem; }
.jump-list { display: grid; gap: 4px; }
.jump-link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem;
  min-height: 3.25rem; padding: 0 1rem; background: var(--surface); border-radius: var(--radius); text-decoration: none;
  font-weight: 600; transition: color var(--t-hover) ease, padding var(--t-ui) var(--ease-out);
}
.jump-status { font-size: var(--step-small); color: var(--muted); font-weight: 400; }
@media (hover: hover) and (pointer: fine) {
  .jump-link:hover { color: var(--light-text); }
}

/* ---------- chapters (collection) ---------- */
.chapter { background: var(--field); padding-block: var(--space); }
.chapter-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: center; }
.chapter-media { grid-column: 1 / span 7; display: block; border-radius: var(--radius); overflow: hidden; }
.chapter-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chapter-copy { grid-column: 8 / -1; padding-left: clamp(0rem, 2vw, 2rem); display: grid; gap: 1.1rem; justify-items: start; }
.chapter--flip .chapter-media { grid-column: 6 / -1; order: 2; }
.chapter--flip .chapter-copy { grid-column: 1 / span 5; order: 1; padding-left: 0; padding-right: clamp(0rem, 2vw, 2rem); }
.chapter-descriptor { font-size: var(--step-lead); line-height: 1.3; color: var(--light-text); font-weight: 600; }
.chapter-text { max-width: 46ch; }
.chapter-copy > div { width: 100%; }
.chapter-ai-list { width: 100%; display: grid; gap: 4px; font-size: var(--step-small); }
.chapter-ai-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; background: rgba(245, 245, 250, 0.05); border-radius: var(--radius); }
.chapter-ai-list li > span:first-child { font-weight: 600; }
.chapter-sub { color: var(--muted); }
.rapture--chapter { background: #101016; }

/* ---------- options table ---------- */
.options { width: 100%; }
.options-table { font-size: var(--step-body); }
.options-table thead th { font-size: var(--step-small); }
.options-table th, .options-table td { text-align: left; padding: 0.8rem 0.75rem 0.8rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; } /* taste-skill-ignore: real table */
.options-table thead th { color: var(--muted); font-weight: 600; padding-top: 0; }
.options-table tbody th { font-weight: 600; }
.options-table td:last-child { text-align: right; padding-right: 0; }
.options-table .status { font-size: inherit; }

/* ---------- product pages ---------- */
.product-hero { background: var(--field); padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--space); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; font-size: var(--step-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #5A5A6A; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.product-hero-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.25rem; align-items: end; margin-block: clamp(1.75rem, 4vw, 3.5rem); }
.product-title { grid-column: 1 / span 8; text-wrap: initial; }
.product-hero-side { grid-column: 9 / -1; display: grid; gap: 0.9rem; justify-items: start; padding-bottom: 0.4rem; }
.product-descriptor { font-size: var(--step-lead); line-height: 1.3; color: var(--light-text); font-weight: 600; }
.product-kind { max-width: 34ch; }
.product-art { margin: 0; }
.product-zoom { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.product-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.product-detail { padding-block: var(--space); }
.product-detail-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: start; }
.product-about { grid-column: 1 / span 6; display: grid; gap: 1.75rem; }
.product-text { max-width: 36ch; }
.product-note { display: grid; gap: 0.75rem; padding: clamp(1.25rem, 2vw, 1.75rem); background: var(--surface); border-radius: var(--radius); max-width: 40rem; }
.product-note p { line-height: 1.55; max-width: 60ch; }
.product-note--side { grid-column: 8 / -1; }
.note-title { font-family: var(--font-text); font-size: var(--step-body); font-weight: 600; }
.note-title + p + .note-title { margin-top: 0.75rem; }
.product-buy { grid-column: 8 / -1; display: grid; gap: 1.5rem; padding: clamp(1.25rem, 2.4vw, 2rem); background: var(--surface); border-radius: var(--radius); }
.buy-title { font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
.buy-alert { line-height: 1.5; padding: 1rem; background: var(--surface-2); border-radius: var(--radius); }
.product-hero--paper { padding-bottom: var(--space); }
.rapture-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; align-items: center; margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.rapture-hero-copy { grid-column: 1 / span 6; display: grid; gap: 1.25rem; justify-items: start; }
.rapture-hero-copy > * { grid-column: 1 / -1; }
.rapture-hero .product-text { font-size: var(--step-body); max-width: 46ch; }
.rapture-hero .ticket { grid-column: 8 / -1; }
.rapture-hero .ticket::before, .rapture-hero .ticket::after { background: var(--field); }

/* more from the collection */
.more { padding-block: var(--space) calc(var(--space) * 1.25); background: #0F0F15; }
.more-title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.more-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.more-link { display: grid; gap: 0.5rem; text-decoration: none; }
.more-thumb { display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 0.5rem; }
.more-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.more-paper { display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 1rem; background: var(--paper); color: var(--paper-ink); font-size: var(--step-lead); line-height: 0.95; }
.more-name { font-size: var(--step-lead); line-height: 1; }
.more-desc { color: var(--light-text); font-weight: 600; font-size: var(--step-small); }
.more-status { color: var(--muted); font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) {
  .more-link:hover .more-thumb img { transform: scale(1.04); }
  .more-link:hover .more-name { color: var(--light-text); }
}

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; padding: 0;
  border: 0; background: var(--bg); color: var(--ink);
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox::backdrop { background: rgba(5, 5, 8, 0.92); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem var(--margin); background: var(--surface); }
.lightbox-caption { font-size: var(--step-small); color: var(--muted); }
.lightbox-stage { overflow: auto; display: grid; place-items: center; padding: var(--margin); }
.lightbox-img { max-width: 100%; max-height: calc(100svh - 7rem); width: auto; height: auto; border-radius: var(--radius); }

/* ---------- responsive ---------- */
@media (max-width: 79.99em) {
  .how-line { white-space: normal; }
}
@media (max-width: 63.99em) {
  .hero-side { grid-column: 1 / -1; padding-right: 0; gap: 1.75rem; }
  .hero-art { grid-column: 1 / -1; margin-top: 2rem; }
  .switch { margin-top: 0; max-width: 34rem; }
  .switch-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section-title, .section-lead { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .card-media img { height: 100%; }
  .ai-media, .ai-copy { grid-column: 1 / -1; }
  .tiles-head { position: static; width: auto; margin-bottom: 2rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--1, .tile--2, .tile--3, .tile--4 { min-height: 0; }
  .rapture-copy, .ticket, .rapture-hero-copy, .rapture-hero .ticket { grid-column: 1 / -1; }
  .how-step, .how-step:nth-child(2), .how-step:nth-child(3) { grid-column: 1 / -1; }
  .how-step:nth-child(2) { padding-left: 8vw; }
  .how-step:nth-child(3) { padding-left: 16vw; }
  .faq-title, .faq-head-note { grid-column: 1 / -1; }
  .faq-q, .faq-a { grid-column: 1 / -1; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-title, .page-intro-side { grid-column: 1 / -1; }
  .chapter-media, .chapter--flip .chapter-media { grid-column: 1 / -1; order: 0; }
  .chapter-copy, .chapter--flip .chapter-copy { grid-column: 1 / -1; order: 1; }
  .product-title, .product-hero-side { grid-column: 1 / -1; }
  .product-about, .product-buy, .product-note--side { grid-column: 1 / -1; }
  .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47.99em) {
  :root { --header-h: 4rem; }
  .br-wide { display: none; }
  .br-narrow { display: inline; }
  .switch-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-caption-link { margin-left: 0; }
  .card { display: flex; }
  .card-media img { height: auto; }
  .tiles { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket-stub { border-left: 0; border-top: 2px dashed rgba(11, 11, 16, 0.28); padding-top: 1.25rem; }
  .ticket-name { max-width: none; }
  .how-step:nth-child(2) { padding-left: 6vw; }
  .how-step:nth-child(3) { padding-left: 12vw; }
  .faq-head { min-height: 30svh; }
  .closing-inner { min-height: 46svh; }
  .closing-svg--wide { display: none; }
  .closing-svg--narrow { display: block; }
  .closing-inner { grid-template-columns: minmax(0, 1fr); }
  .closing-arrow { display: none; }
  .footer-inner { min-height: 0; }
  .footer-mark { padding-top: 20svh; }
  .more-list { grid-template-columns: 1fr; }
  .options-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .options-table tr { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); } /* taste-skill-ignore: real table */
  .options-table th, .options-table td { border: 0; padding: 0; }
  .options-table td:nth-child(2) { text-align: right; font-weight: 600; }
  .options-table td:nth-child(3), .options-table td:nth-child(4) { color: var(--muted); }
  .options-table td:nth-child(4) { text-align: right; }
  .options-table td:last-child { grid-column: 1 / -1; text-align: left; }
  .lightbox-stage { place-items: start; }
  .lightbox-img { max-width: none; max-height: none; width: 1200px; }
}

/* ---------- motion (content is visible without script and with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 420ms); }
  .js .mask [data-line] { transform: translateY(105%); animation: line-up 950ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 850ms var(--ease-expo); }
  .js .shutter[data-reveal] img { transform: scale(1.06); transition: transform 1400ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
  .js .hero-frame { animation: frame-in 1200ms var(--ease-expo) 260ms both; }
  .hero-img.is-active { animation: drift 2600ms var(--ease-soft) both; }
  .js .product-art { animation: frame-in 1200ms var(--ease-expo) 300ms both; }
  .product-zoom img { transition: transform 1200ms var(--ease-soft); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .product-zoom:hover img { transform: scale(1.015); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: none; } }
@keyframes drift { from { transform: scale(1.07); } to { transform: none; } }
@keyframes frame-in { from { clip-path: inset(12% 0 0 0); opacity: 0.2; } to { clip-path: inset(0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .hero-img, .closing, .site-nav { transition: opacity 200ms linear !important; }
}

/* ---------- policy pages ---------- */
.legal-intro { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); background: #101016; }
.legal-intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: end; margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.legal-title { grid-column: 1 / span 7; text-wrap: initial; }
.legal-intro-side { grid-column: 8 / -1; display: grid; gap: 1.25rem; justify-items: start; padding-bottom: 0.4rem; }
.legal-body { padding-block: clamp(3rem, 6vw, 5.5rem) var(--space); }
.legal-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: start; }
.legal-toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 2rem); }
.legal-toc-title { font-family: var(--font-text); font-size: var(--step-small); font-weight: 600; color: var(--muted); margin-bottom: 0.75rem; }
.legal-toc-list { display: grid; gap: 2px; }
.legal-toc-link {
  display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius);
  font-size: var(--step-small); font-weight: 600; color: var(--muted); text-decoration: none;
  transition: color var(--t-hover) ease, background-color var(--t-hover) ease;
}
.legal-toc-link.is-current { color: var(--ink); background: var(--surface); }
@media (hover: hover) and (pointer: fine) {
  .legal-toc-link:hover { color: var(--ink); background: var(--surface); }
}
.legal-text { grid-column: 5 / -1; display: grid; gap: clamp(2.75rem, 4.5vw, 4rem); }
.legal-section { display: grid; gap: 0.9rem; }
.legal-h { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-lead); line-height: 1; margin-bottom: 0.35rem; }
.legal-section p { max-width: 64ch; }
.legal-section ul { display: grid; gap: 0.45rem; padding-left: 1.25rem; max-width: 62ch; }
.legal-section li::marker { color: var(--accent-hover); }
.legal-more { background: #0F0F15; padding-block: var(--space); }
.legal-more-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: start; }
.legal-more-grid > .head { grid-column: 1 / span 4; }
.legal-more-list { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.legal-more-link {
  display: grid; gap: 0.75rem; height: 100%; padding: clamp(1.25rem, 2.4vw, 2rem);
  background: var(--surface); border-radius: var(--radius); text-decoration: none;
  transition: background-color var(--t-ui) ease;
}
.legal-more-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 0.92; }
.legal-more-text { color: var(--muted); max-width: 44ch; }
@media (hover: hover) and (pointer: fine) {
  .legal-more-link:hover { background: var(--surface-2); }
  .legal-more-link:hover .legal-more-name { color: var(--accent-hover); }
}
@media (max-width: 63.99em) {
  .legal-title, .legal-intro-side { grid-column: 1 / -1; }
  .legal-toc { grid-column: 1 / -1; position: static; }
  .legal-toc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-text { grid-column: 1 / -1; }
  .legal-more-grid > .head, .legal-more-list { grid-column: 1 / -1; }
}
@media (max-width: 47.99em) {
  .legal-more-list { grid-template-columns: 1fr; }
}
