/* Catalyst HQ landing: colour chapters. Each section takes the colour of its room's tile in the desk dock
   (Quick30 blue, PitchPerfect on night, the sticky-note yellow, the board green). Anton caps for display,
   Open Sans for everything else. Five type sizes, one grid, one pair of margins.
   Self-hosted from assets/og. Weight 400 uses SemiBold: that folder has no regular file. */

@font-face { font-family: "Anton"; src: url("fonts/Anton-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/OpenSans-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; } /* the variable latin file next/font builds for the app (Open Sans, OFL) */

:root {
  --night: #050a14;
  --navy: #0f1a34;
  --navy-soft: #b4c3d8;
  --blue: #0490f2;
  --blue-press: #0b74c4;
  --cyan: #00dde6;
  --red: #e2412b;
  --yellow: #ffcb30;
  --yellow-ink: #1a1300;
  --green: #00bf63;
  --green-ink: #052a17;
  --paper: #f3f4f6;
  --paper-2: #e6e9ee;
  --ink: #141414;
  --white: #ffffff;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  /* The five sizes. */
  --t-hero: clamp(40px, 9.4vw, 136px);
  --t-h2: clamp(40px, 7.4vw, 108px);
  --t-disp: clamp(32px, 3vw, 44px);
  --t-lead: clamp(19px, 1.5vw, 22px);
  --t-body: 18px;
  --t-small: 15px;

  --margin: clamp(16px, 3vw, 40px);
  --gap-ch: clamp(96px, 11vw, 176px);
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bar-h: 64px;

  --cur-bg: var(--blue-press);
  --cur-ink: var(--white);

  color-scheme: light;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--navy);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
button, a { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--margin); top: 12px; z-index: 50;
  padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 999px;
  font-weight: 700; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: calc(100% - 2 * var(--margin)); max-width: 1360px; margin: 0 auto; }

/* Display type: Anton caps, tight. The product's own wordmarks keep their italic accent (Quick30, PitchPerfect). */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.94;
}
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-lead); font-weight: 700; line-height: 1.3; }
.wordmark { white-space: nowrap; }
.wordmark em { font-style: italic; display: inline-block; transform: skewX(-6deg); margin-right: 0.06em; }

/* ---------- Bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 40;
  height: var(--bar-h);
  background: var(--navy);
  color: var(--white);
}
.bar-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--t-body); min-height: 44px; }
.bar-links { display: flex; gap: 4px; margin-left: auto; }
.bar-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; text-decoration: none; font-size: var(--t-small); font-weight: 600;
  color: var(--white);
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.bar-links a:hover { background: rgb(255 255 255 / 0.12); }
.bar-links a[aria-current] { background: var(--cur-bg); color: var(--cur-ink); }
body[data-ch="quick30"] { --cur-bg: var(--paper); --cur-ink: var(--ink); }
body[data-ch="pitchperfect"] { --cur-bg: var(--red); --cur-ink: var(--night); }
body[data-ch="leaders"] { --cur-bg: var(--yellow); --cur-ink: var(--yellow-ink); }
body[data-ch="rooms"] { --cur-bg: var(--green); --cur-ink: var(--green-ink); }
body[data-ch="questions"] { --cur-bg: var(--paper); --cur-ink: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  background: var(--blue-press); color: var(--white);
  font-weight: 700; font-size: var(--t-body); text-decoration: none; white-space: nowrap;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}
.btn:hover { transform: translateY(-2px); background: #095ea0; }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: var(--t-small); }
.bar .btn-sm { margin-left: 8px; }
.btn-night { background: var(--night); }
.btn-night:hover { background: #18233b; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cyan); }
.text-link {
  font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
  min-height: 44px; display: inline-flex; align-items: center;
  transition: text-underline-offset 180ms var(--ease);
}
.text-link:hover { text-underline-offset: 8px; }

/* ---------- Chapters ---------- */
.ch { padding: var(--gap-ch) 0; }
.ch-blue { background: var(--blue); color: var(--night); }
.ch-paper { background: var(--paper); color: var(--ink); }
.ch-night { background: var(--night); color: var(--white); }
.ch-yellow { background: var(--yellow); color: var(--yellow-ink); }
.ch-green { background: var(--green); color: var(--green-ink); }
.ch-navy { background: var(--navy); color: var(--white); }
figcaption { font-size: var(--t-small); margin-top: 14px; max-width: 60ch; }

/* ---------- 1. Hero ---------- */
.hero { padding-top: clamp(40px, 4.4vw, 64px); padding-bottom: clamp(48px, 5vw, 80px); overflow: hidden; }
.hero-h { font-size: var(--t-hero); line-height: 0.9; }
.hero-h span { display: block; white-space: nowrap; }
.hero-h .l2 { color: var(--white); }
.hero-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px;
  align-items: end; margin-top: clamp(24px, 2.4vw, 36px);
}
.lede { font-size: var(--t-lead); line-height: 1.45; max-width: 46ch; font-weight: 600; }
.hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-shot { margin-top: clamp(32px, 3.4vw, 48px); }
.hero-shot img {
  width: 100%; border-radius: var(--r);
  transform-origin: 50% 0;
  will-change: transform;
}
.hero-shot figcaption { color: var(--night); font-weight: 600; }

/* ---------- 2. Quick30 ---------- */
.q-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.q-head { position: sticky; top: calc(var(--bar-h) + 40px); display: grid; gap: 20px; }
.q-head h2 { margin-bottom: 8px; }
.q-head .wordmark em { color: var(--blue-press); }
.q-head p { max-width: 44ch; }
.q-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 8px; }
.q-steps li {
  counter-increment: step;
  display: grid; grid-template-columns: clamp(64px, 6vw, 96px) minmax(0, 1fr); column-gap: 20px; row-gap: 6px;
  padding: 24px 28px 24px 20px; border-radius: var(--r);
  background: var(--white);
}
.q-steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font-family: var(--font-display); font-size: var(--t-disp); line-height: 0.95;
  color: var(--blue-press); text-align: right;
}
.q-steps li[data-group="Producer"]::before { color: var(--night); }
.q-steps p { color: var(--ink); }

/* ---------- 3. PitchPerfect ---------- */
.pp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.pp-top .wordmark em { color: var(--red); }
.pp-top p { color: #d9e3f2; max-width: 46ch; }
.pp-live {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(48px, 6vw, 88px); align-items: center;
}
.pp-stage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: end;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
}
.pp-stage.out { opacity: 0.25; transform: scale(0.985); }
.pp-face { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--navy); }
.pp-stage figcaption { margin: 0; display: grid; gap: 14px; max-width: none; font-size: var(--t-body); }
.pp-name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--t-disp); line-height: 0.95; color: var(--red); }
.pp-catch { font-size: var(--t-lead); font-weight: 600; line-height: 1.4; color: var(--white); }
.pp-how { color: #c9d3e6; }
.pp-cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pp-cast button {
  width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  display: grid; gap: 8px; color: #d9e3f2; font-size: var(--t-small); font-weight: 600;
  border-radius: 12px;
}
.pp-cast img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--navy);
  outline: 3px solid transparent; outline-offset: 3px;
  transition: transform 220ms var(--ease), outline-color 220ms var(--ease), opacity 220ms var(--ease);
  opacity: 0.72;
}
.pp-cast button:hover img { transform: scale(1.04); opacity: 1; }
.pp-cast button[aria-pressed="true"] img { outline-color: var(--red); opacity: 1; }
.pp-cast button[aria-pressed="true"] span { color: var(--white); }
.pp-cast button:active img { transform: scale(0.97); }
.pp-cast span { min-height: 22px; }
.pp-proof {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(64px, 8vw, 120px); align-items: start;
}
.pp-shot img { border-radius: var(--r); width: 100%; }
.pp-shot figcaption { color: #c9d3e6; }
.pp-facts { margin: 0; display: grid; gap: 32px; }
.pp-facts dt { font-size: var(--t-lead); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pp-facts dd { margin: 0; color: #d9e3f2; }

/* ---------- 4. Leaders ---------- */
.l-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.l-top p { max-width: 44ch; }
.l-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.l-shot img { width: 100%; border-radius: var(--r); }
.l-side { margin-top: clamp(48px, 10vw, 160px); }
.l-list { list-style: none; margin: clamp(56px, 6vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.l-list h3 { margin-bottom: 10px; }

/* ---------- 5. Rooms ---------- */
.r-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.r-head { display: grid; gap: 20px; }
.r-head p { max-width: 42ch; }
.r-shot { margin-top: 20px; }
.r-shot img { width: 100%; border-radius: var(--r); }
.r-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.r-list h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--t-disp); line-height: 1; margin-bottom: 8px; }
.r-looks {
  grid-column: 2; padding: 32px; border-radius: var(--r); background: var(--green-ink); color: var(--white);
  display: grid; gap: 12px;
}
.r-looks p { color: #cdeedd; max-width: 50ch; }
.looks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.looks a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--green); color: var(--green-ink); font-weight: 700; text-decoration: none; font-size: var(--t-small);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}
.looks a:hover { transform: translateY(-2px); background: var(--white); }

/* ---------- 6. Questions ---------- */
.ch-short { padding: clamp(88px, 9vw, 144px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-grid > h2 { position: sticky; top: calc(var(--bar-h) + 40px); }
.faqs { display: grid; gap: 10px; }
.faq { background: var(--paper-2); border-radius: var(--r); transition: background-color 200ms var(--ease); }
.faq[open] { background: var(--white); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 28px; min-height: 64px; font-size: var(--t-lead); font-weight: 700; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  background: var(--navy); color: var(--white); font-size: 22px; font-weight: 600; line-height: 1;
  transition: transform 220ms var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background: var(--blue-press); }
.faq p { padding: 0 28px 26px; max-width: 58ch; }

/* ---------- 7. Close + footer ---------- */
.ch-close { padding-bottom: clamp(56px, 6vw, 96px); }
.close-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.close-row h2 { font-size: var(--t-hero); line-height: 0.9; }
.close-act { display: grid; gap: 20px; justify-items: start; }
.close-act p { font-size: var(--t-lead); font-weight: 600; max-width: 30ch; }

.foot { padding: clamp(40px, 5vw, 72px) 0 48px; }
.foot-name {
  font-family: var(--font-display); text-transform: uppercase; line-height: 0.82;
  font-size: clamp(64px, 17.4vw, 236px); letter-spacing: -0.01em; white-space: nowrap;
  color: var(--blue);
}
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.foot-row nav { display: flex; gap: 8px; }
.foot-row nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgb(255 255 255 / 0.1); text-decoration: none; font-weight: 600; font-size: var(--t-small);
}
.foot-row nav a:hover { background: rgb(255 255 255 / 0.2); }
.fine { font-size: var(--t-small); color: var(--navy-soft); max-width: 56ch; }
.legal { margin-top: 40px; max-width: 64ch; }
.legal h2 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: var(--t-body); font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.legal p { font-size: var(--t-small); color: var(--navy-soft); }

/* ---------- Motion: parts of each section rise in turn, once ---------- */
.motion .rise { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease) var(--d, 0ms), transform 700ms var(--ease) var(--d, 0ms); }
.motion .rise.in { opacity: 1; transform: none; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) {
  .bar-links { display: none; }
  .bar .btn-sm { margin-left: auto; }
  .l-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-row, .q-grid, .pp-top, .pp-live, .pp-proof, .l-top, .l-grid, .r-grid, .faq-grid, .close-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions { justify-content: flex-start; }
  .q-head, .faq-grid > h2 { position: static; }
  .l-side { margin-top: 0; }
  .r-looks { grid-column: auto; }
  .pp-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .ch-close { padding-bottom: var(--gap-ch); }
}
@media (max-width: 600px) {
  :root { --bar-h: 60px; }
  .brand span { font-size: 16px; }
  .hero-h { font-size: 11.2vw; }
  .btn { width: 100%; }
  .bar .btn-sm { width: auto; }
  .hero-actions { gap: 8px; }
  .q-steps li { grid-template-columns: 44px minmax(0, 1fr); padding: 20px 20px 20px 12px; column-gap: 14px; }
  .pp-stage { grid-template-columns: minmax(0, 1fr); }
  .pp-face { max-width: 320px; }
  .pp-cast { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .pp-cast span { font-size: 13px; line-height: 1.25; }
  .l-list, .r-list { grid-template-columns: minmax(0, 1fr); }
  .r-looks { padding: 24px; }
  .faq summary { padding: 18px 20px; }
  .faq p { padding: 0 20px 22px; }
  .foot-name { font-size: 17vw; }
}
@media (max-width: 640px) {
  :root { --t-small: 16px; }
  figcaption { font-size: 15px; }
  .pp-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-cast span { font-size: 16px; }
}
/* After every rule it overrides. Same specificity, so an earlier block loses. Opacity and colour stay. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pp-cast img, .looks a, .faq summary::after { transition: none; }
  .btn:hover, .btn:active, .looks a:hover { transform: none; }
  .pp-cast button:hover img, .pp-cast button:active img { transform: none; }
}
