/* ==========================================================================
   Frame Economics - site.css
   Palette and rules are locked by the Notion page "Spec & Brand Decisions" § Colour system (D2).
   Do not introduce colours outside the token block below.
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */

:root {
  /* Colour - spec.md § Colour system. Ratios are computed WCAG 2.1 values.
     2026 restyle: red accent softened to coral; primary CTA kept hotter so
     the money action still pulls. See spec.md § Colour system exception.    */
  --ink:        #0B0B0C;  /* page ground                                     */
  --surface:    #141416;  /* cards, nav, raised panels                       */
  --surface-2:  #1E1E21;  /* hover, borders, dividers                        */
  --paper:      #FFFFFF;  /* headings, primary type      19.6:1 AAA on ink   */
  --muted:      #A1A1A6;  /* secondary type, captions     9.0:1 AAA on ink   */
  --red:        #E0533B;  /* coral accent, active states  UI / large use     */
  --red-bright: #F2664E;  /* coral TEXT on dark grounds   AA on ink          */
  --cta:        #E23511;  /* hotter coral - primary Apply CTA fill only      */
  --cta-hover:  #C42D0C;  /* CTA hover                                       */
  --glow:       224, 83, 59; /* coral rgb for ambient radial glows          */

  /* Type */
  --display: "Helvetica Neue", "Inter", -apple-system, BlinkMacSystemFont,
             "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo,
          Consolas, monospace;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.28rem + 0.85vw, 1.95rem);
  --step-3:  clamp(1.7rem, 1.45rem + 1.3vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.65rem + 2.4vw, 3.85rem);

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --rule: 1px solid var(--surface-2);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--red); color: var(--paper); }

/* --- Layout primitives --------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(2.75rem, 5.5vw, 4.75rem);
  border-top: var(--rule);
}
.section--flush { border-top: 0; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip:focus { left: 0; }

/* --- Typography ---------------------------------------------------------- */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.2; }

/* Display serif - the site's "voice" lines ONLY: the page hero headline, the
   big thesis statements, and the application funnel questions. Section
   headers, prices, tables and body copy stay in --display (sans). The pricing
   page opts its hero back to sans in pricing.html. Needs the Newsreader
   <link> in the page head; falls back to Georgia if absent. */
.hero h1,
.statement,
.q {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero h1 em,
.q em { font-style: italic; color: var(--red-bright); }

p { text-wrap: pretty; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--muted);
  max-width: 46ch;
}

.body { color: var(--muted); max-width: 62ch; }
.body + .body { margin-top: 1.1em; }
.body strong { color: var(--paper); font-weight: 600; }

/* Mono eyebrow - the primary differentiator per D2's risk note:
   the palette is generic, so separation comes from type and layout. */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: attr(data-n);
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.eyebrow[data-n]::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--surface-2);
}

.section-head { margin-bottom: clamp(1.4rem, 2.5vw, 2.25rem); }
.section-head h2 { margin-top: 1rem; max-width: 20ch; }
.section-head .lede { margin-top: 1rem; }

/* Inline link inside prose - red on hover only (rule 3). */
.link {
  color: var(--paper);
  border-bottom: 1px solid var(--surface-2);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.link:hover { color: var(--red-bright); border-color: var(--red-bright); }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Rule 2 - ONE .btn--primary per viewport. It always points at the
   $100 session (D4). If you add a second red fill, remove this one. */
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); }

.btn--ghost { border-color: var(--surface-2); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: var(--surface); }

.btn--quiet { padding-inline: 0; color: var(--muted); }
.btn--quiet:hover { color: var(--paper); }

.btn .arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.price-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand .mark {
  width: 10px;
  height: 10px;
  border: 2px solid var(--red);
  border-radius: 1px;
  translate: 0 -1px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}
.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  padding-block: 0.35rem;
  transition: color 0.18s var(--ease);
}
.nav a:hover { color: var(--paper); }
/* Rule 3 - red marks the active nav item. */
.nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--red);
  margin-top: 0.3rem;
}

/* Header CTA is deliberately NOT red - the red fill is reserved for the
   in-page primary CTA so only one exists per viewport (rule 2). */
.nav .btn { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* Sole header action: a single ghost "Apply" button, pinned right, always
   visible (no nav dropdown to hide behind on mobile). */
.header-cta {
  margin-left: auto;
  white-space: nowrap;
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
}
@media (max-width: 520px) {
  .header-cta { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
    background: none;
    border: 1px solid var(--surface-2);
    border-radius: var(--radius);
    padding: 0.5rem 0.85rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.75rem;
    background: var(--ink);
    border-bottom: var(--rule);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav a {
    font-size: 1.15rem;
    padding-block: 0.95rem;
    border-bottom: var(--rule);
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red-bright); }
  .nav .btn { margin-top: 1.25rem; justify-content: center; font-size: 1rem; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2.25rem, 4vw, 3.5rem); }
.hero h1 { margin-top: 1.25rem; max-width: 18ch; }
.hero .lede { margin-top: 1.35rem; max-width: 52ch; }

.hero-meta {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: 1.25rem;
  border-top: var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.5rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Stat band ----------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--surface-2);
  border: var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--ink); padding: clamp(1.4rem, 3vw, 2.1rem); }

/* Rule 3 - the numeric proof figures are red. This is the tie between the
   palette and the brand's core claim; do not neutralise it. */
.stat b {
  display: block;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--red-bright);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}
.stat em {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  color: #6E6E73;
}

/* --- Retention figure ---------------------------------------------------- */

.figure {
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.figure__chart { overflow-x: auto; }
.figure__chart svg { min-width: 560px; width: 100%; height: auto; }
.figure figcaption {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: var(--rule);
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 70ch;
}
.figure figcaption b { color: var(--paper); font-weight: 600; }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse > :first-child { order: 2; }
}

/* --- Service / offer cards ----------------------------------------------- */

.tiers { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.tier:hover { border-color: #33333a; background: #17171a; }
.tier__n {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.tier h3 { margin-top: 1.1rem; }
.tier p { margin-top: 0.9rem; color: var(--muted); font-size: 0.95rem; }
.tier ul {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.tier li { display: flex; gap: 0.7rem; }
.tier li::before { content: "-"; color: #55555c; flex: none; }
.tier__foot {
  margin-top: auto;
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tier__price {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier--lead { border-color: #33333a; }
.tier--lead .tier__n { color: var(--red-bright); }

/* --- Work grid ----------------------------------------------------------- */

.filters {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: var(--rule);
}
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; }
.filter-row > .filter-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E6E73;
  width: 5.5rem;
  flex: none;
}
@media (max-width: 620px) {
  .filter-row > .filter-label { width: 100%; margin-bottom: 0.15rem; }
}

.chip {
  background: none;
  border: 1px solid var(--surface-2);
  border-radius: 100px;
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease),
              background 0.16s var(--ease);
}
.chip:hover { color: var(--paper); border-color: #3a3a41; }
/* Active filter is a white fill, not red - red stays on the CTA (rule 2). */
.chip[aria-pressed="true"] {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  font-weight: 600;
}

/* Masonry columns (site.js greedily drops each card into the shortest
   column). Every card keeps its natural height, so a short 16:9 next to a
   tall 9:16 never stretches - the next card just loads under whichever
   column is currently shorter. Two columns on mobile, three on desktop. */
.work-grid {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.6rem, 1.6vw, 1.25rem);
}
.work-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.6vw, 1.25rem);
}

/* Rule 5 - cards stay neutral. Thumbnails supply all the colour. */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover { border-color: #3a3a41; transform: translateY(-2px); }
.card[hidden] { display: none; }

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0F0F11;
  overflow: hidden;
}
.card--vertical .card__media { aspect-ratio: 9 / 16; }
.card__media video,
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* YouTube facade - thumbnail + play button, swaps to an iframe on click. */
.card__facade {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #0F0F11;
  display: block;
}
.card__facade img { width: 100%; height: 100%; object-fit: cover; }
.card__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35));
  transition: background 0.2s ease;
}
.card__facade:hover::after { background: rgba(0,0,0,0.28); }
.card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-content: center;
  border-radius: 999px;
  background: var(--red-bright, #ff3b30);
  color: #fff;
  font-size: 1.1rem;
  padding-left: 0.18rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform 0.15s ease;
}
/* Shrink the play button on phones so it doesn't cover the thumbnail. */
@media (max-width: 620px) {
  .card__play { width: 2.4rem; height: 2.4rem; font-size: 0.85rem; }
}
.card__facade:hover .card__play { transform: translate(-50%, -50%) scale(1.08); }
.card__facade:focus-visible { outline: 2px solid var(--red-bright, #ff3b30); outline-offset: -2px; }
.card__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Placeholder shown until a real 3-8s loop is dropped in (D8 tier 1). */
.card__slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 9px,
      rgba(255, 255, 255, 0.022) 9px 18px
    ),
    #0F0F11;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #55555c;
}

.card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--surface-2);
  border-radius: 3px;
  padding: 0.25rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.05rem; }
.card__meta {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6E6E73;
}
.card__stat {
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: var(--rule);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.card__stat b {
  color: var(--red-bright);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.card__link {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.86rem;
  color: var(--muted);
  display: inline-flex;
  gap: 0.45rem;
}
.card__link:hover { color: var(--red-bright); }

.empty-state {
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--surface-2);
  border-radius: var(--radius);
}
.empty-state[hidden] { display: none; }

/* --- Ruled list (process, deliverables, qualifiers) ---------------------- */

.ruled { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.ruled li {
  display: grid;
  gap: 0.35rem 1.75rem;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 1.4rem;
  border-bottom: var(--rule);
}
@media (min-width: 760px) {
  .ruled li { grid-template-columns: 4.5rem minmax(0, 22ch) minmax(0, 1fr); align-items: baseline; }
}
.ruled .n {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #6E6E73;
}
.ruled h3 { font-size: 1.05rem; letter-spacing: -0.015em; }
.ruled p { color: var(--muted); font-size: 0.95rem; }

/* --- Comparison table ---------------------------------------------------- */

.table-scroll { overflow-x: auto; border: var(--rule); border-radius: var(--radius); }
table.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.94rem;
}
table.compare th,
table.compare td {
  text-align: left;
  padding: 1.05rem 1.25rem;
  border-bottom: var(--rule);
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  background: var(--surface);
}
table.compare tbody th { font-weight: 600; color: var(--paper); }
table.compare td { color: var(--muted); }
table.compare tr:last-child th,
table.compare tr:last-child td { border-bottom: 0; }
table.compare tr.is-mine { background: var(--surface); }
table.compare tr.is-mine td:first-of-type { color: var(--red-bright); font-weight: 600; }
.table-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #6E6E73;
  max-width: 70ch;
}

/* --- Portrait ------------------------------------------------------------ */

.portrait {
  border: var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  position: relative;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #55555c;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq { border-top: var(--rule); }
.faq details { border-bottom: var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  cursor: pointer;
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--muted);
  flex: none;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--red-bright); }
.faq summary:hover { color: var(--paper); }
.faq .answer { padding-bottom: 1.6rem; color: var(--muted); max-width: 68ch; }
.faq .answer p + p { margin-top: 0.9em; }

/* --- Booking / CTA panel ------------------------------------------------- */

.panel {
  border: var(--rule);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(var(--glow), 0.10), transparent 58%),
    var(--surface);
  padding: clamp(2rem, 6vw, 4.25rem);
}
.panel h2 { max-width: 18ch; }
.panel .lede { margin-top: 1.4rem; }

.embed-slot {
  margin-top: 2.25rem;
  border: 1px dashed var(--surface-2);
  border-radius: var(--radius);
  min-height: 420px;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  background: var(--ink);
}
.embed-slot .k {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E6E73;
}
.embed-slot p { color: var(--muted); font-size: 0.9rem; max-width: 44ch; }

/* --- Forms & validation -------------------------------------------------- *
 * spec.md Q10 - red is the CTA colour, so an error in red is ambiguous.
 * RESOLVED with Q10's stated default: errors are a WHITE outline plus an
 * icon and a text label. Red is never used for a failure state anywhere on
 * this site. Booking currently runs through the Calendly widget, so these
 * styles exist for any form added later (contact, brief intake).
 * -------------------------------------------------------------------------- */

.field { display: grid; gap: 0.5rem; margin-bottom: 1.4rem; }
.field > label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  background: var(--ink);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--paper);
  transition: border-color 0.16s var(--ease);
}
.field input:hover,
.field textarea:hover { border-color: #3a3a41; }
.field input:focus,
.field textarea:focus { border-color: var(--paper); outline: none; }

/* Failure state - white, not red. */
.field[data-state="error"] input,
.field[data-state="error"] textarea,
.field[data-state="error"] select {
  border-color: var(--paper);
  border-width: 2px;
  padding: calc(0.85rem - 1px) calc(1rem - 1px);
}
.field .field-msg { display: none; }
.field[data-state="error"] .field-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--paper);
}
.field[data-state="error"] .field-msg::before {
  content: "!";
  display: grid;
  place-content: center;
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

/* --- Callout ------------------------------------------------------------- */

.callout {
  border-left: 2px solid var(--red);
  padding: 0.15rem 0 0.15rem 1.4rem;
  color: var(--muted);
  max-width: 60ch;
}
.callout b { color: var(--paper); font-weight: 600; }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  border-top: var(--rule);
  padding-block: clamp(2.5rem, 5vw, 3.75rem) 2.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6E6E73;
  font-weight: 400;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.site-footer a { color: var(--muted); font-size: 0.94rem; }
.site-footer a:hover { color: var(--paper); }
.footer-tag { color: var(--muted); max-width: 34ch; margin-top: 1.2rem; font-size: 0.94rem; }
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6E6E73;
}
.footer-base a { margin-left: auto; color: inherit; }
.footer-base a:hover { color: var(--paper); }

/* --- Shared includable sections (partials/) ------------------------------ *
 * These styles back the reusable partials injected via data-include, so the
 * markup and its styling both live in one place and update everywhere. */

.section--band { background: var(--surface); }

/* Scarcity chip under the apply CTA. */
.scar {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--surface-2);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}
.scar b { color: var(--red-bright); font-weight: 600; }

/* Masterclass band: copy left, CTA right on desktop. */
.mclass .wrap {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 820px) { .mclass .wrap { grid-template-columns: 1.4fr 0.6fr; gap: 2.5rem; } }
.mclass .m-cta { justify-self: start; display: flex; flex-direction: column; align-items: stretch; gap: 1.25rem; max-width: 320px; }
@media (min-width: 820px) { .mclass .m-cta { justify-self: end; } }
/* The "Get the masterclass" button spans the cover width so their edges line
   up, and carries a coral outline — it's an important secondary CTA, so it
   stays an outline rather than a second filled primary (that's the Apply CTA). */
.mclass .m-cta .btn { width: 100%; justify-content: center; }
.mclass .m-cta .btn--ghost { border: 1.5px solid var(--red); color: var(--paper); background: transparent; }
.mclass .m-cta .btn--ghost:hover { border-color: var(--red-bright); color: var(--red-bright); background: transparent; }
/* Masterclass cover art in the band — makes the free asset tangible. No border. */
.mclass-cover-link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease);
}
.mclass-cover-link:hover { transform: translateY(-2px); }
.mclass-cover { display: block; width: 100%; height: auto; }

/* --- Utilities ----------------------------------------------------------- */

.mt-lg { margin-top: clamp(2rem, 5vw, 3.25rem); }
.mt-md { margin-top: 1.75rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll - opt-in, and inert without JS or with reduced motion. */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.no-js .reveal, .no-motion .reveal { opacity: 1; transform: none; }
