/* ==========================================================================
   The Marketing Academy — styles
   Direction: "The Media Buyer's Desk" — editorial magazine x ads dashboard
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0e120f;
  --ink-2: #151b16;
  --ink-3: #1f2721;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --paper-3: #fbf8f2;
  --signal: #ff4a1c;
  --signal-hi: #ff6a42;
  --signal-deep: #b42c07;
  --lime: #c8f250;

  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 64px;
  --radius: 10px;
  --radius-s: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* light (paper) theme defaults */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #4d544b;
  --line: rgba(14, 18, 15, 0.16);
  --line-strong: rgba(14, 18, 15, 0.32);
  --accent: var(--signal-deep);
  --focus: var(--ink);
}

.dark {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #a8afa5;
  --line: rgba(244, 239, 230, 0.14);
  --line-strong: rgba(244, 239, 230, 0.3);
  --accent: var(--signal);
  --focus: var(--signal);
}

.light {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #4d544b;
  --line: rgba(14, 18, 15, 0.16);
  --line-strong: rgba(14, 18, 15, 0.32);
  --accent: var(--signal-deep);
  --focus: var(--ink);
}

@media (min-width: 1024px) {
  :root { --header-h: 72px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 18px; } }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

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

::selection { background: var(--signal); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 12px 16px; background: var(--signal); color: var(--ink);
  font-weight: 700; text-decoration: none; border-radius: var(--radius-s);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

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

/* ---------- Type ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.display {
  font-weight: 700;
  font-size: clamp(2.25rem, 1.1rem + 4vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.display em, .hero__title em, .cta-band__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: 1.06em;
  line-height: 0.9;
  color: var(--accent);
}

.lede {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}
p { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: var(--radius-s);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  line-height: 1.15; letter-spacing: -0.01em; text-decoration: none; text-align: center;
  transform: translate(var(--mx), var(--my));
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s var(--ease), transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { flex: none; width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: translate(var(--mx), calc(var(--my) + 1px)); }

.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--signal-hi); box-shadow: 4px 4px 0 var(--fg); }
.btn--primary:active { box-shadow: 1px 1px 0 var(--fg); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; box-shadow: 4px 4px 0 var(--paper); }

.btn--ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }

.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 0.94rem; }
.btn--block { width: 100%; padding-inline: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--fg);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; white-space: nowrap;
}
.chip--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.chip--signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__bar { height: 56px; }

.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--signal); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; flex: none; min-height: 44px;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text {
  font-weight: 700; font-size: 1.06rem; letter-spacing: -0.035em; line-height: 1; white-space: nowrap;
}
.brand__text i {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 1.12em; letter-spacing: -0.01em; margin-right: 0.12em;
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 0.94rem; font-weight: 500; text-decoration: none; color: var(--muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--paper); }
.site-header__cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 12px 0 14px; margin-right: -12px;
  background: none; border: 0; color: var(--paper);
}
.nav-toggle__bars { position: relative; width: 22px; height: 12px; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow-y: auto;
}
.mobile-menu a.mobile-menu__link {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.75rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1;
  text-decoration: none; color: var(--paper);
}
.mobile-menu__link span { color: var(--signal); font-size: 0.7rem; }
.mobile-menu .btn { margin-top: 24px; }

@media (max-width: 359.98px) {
  .nav-toggle .mono { display: none; }
  .brand__text { font-size: 0.98rem; }
  .brand__mark { width: 26px; height: 26px; }
}
@media (min-width: 960px) {
  .nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  background: var(--bg); color: var(--fg);
  padding-block: clamp(72px, 9vw, 136px);
}
.section__head {
  display: grid; gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section__label {
  display: flex; align-items: center; gap: 12px; color: var(--muted);
}
.section__label b { color: var(--accent); font-weight: 500; white-space: nowrap; flex: none; }
.section__label::after { min-width: 24px; }
.section__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

@media (min-width: 900px) {
  .section__head--split {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: 64px; align-items: end;
  }
  .section__head--split .section__label { grid-column: 1 / -1; }
}

/* dark texture: dot grid + grain */
.textured { isolation: isolate; }
.textured::before, .textured::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
}
.textured::before {
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 239, 230, 0.085) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
}
.textured::after {
  background-image: url("../img/grain.webp");
  background-size: 160px 160px;
  opacity: 0.5;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg); color: var(--fg);
  padding-block: clamp(20px, 4vw, 56px) clamp(56px, 7vw, 96px);
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -260px; top: -320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 74, 28, 0.2), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }

.hero__eyebrow {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--muted); margin-bottom: clamp(12px, 2vw, 20px);
}
.hero__eyebrow .pulse { margin-top: 4px; }
.pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--signal); opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hero__title {
  font-weight: 700;
  font-size: clamp(2.5rem, 0.9rem + 7.4vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__title em { color: var(--signal); }

.hero__sub { display: grid; gap: 20px; align-content: start; }
.hero__sub .lede { color: #c4cabf; }

.trust { display: grid; gap: 8px; }
.trust li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.94rem; line-height: 1.35; font-weight: 500; color: var(--paper);
}
.trust svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--lime); }

.hero__form { position: relative; z-index: 2; min-width: 0; }
.hero__dash { position: relative; z-index: 3; min-width: 0; margin-top: -44px; padding-inline: 12px 0; margin-left: 20px; }

.hero__tag {
  position: absolute; z-index: 4; right: 14px; top: -22px;
  transform: rotate(3deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.only-wide { display: none; }

@media (max-width: 639.98px) {
  .hero__grid { gap: 16px; }
  .hero__form { margin-top: 16px; }
  .hero__sub { gap: 14px; }
  .hero__sub .lede { font-size: 1rem; line-height: 1.5; }
  .trust { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .trust li { font-size: 0.84rem; gap: 6px; }
  .trust svg { width: 15px; height: 15px; margin-top: 2px; }
}

/* Tablet: lede + bullets sit beside the dashboard, form spans the full width below */
@media (min-width: 640px) {
  .only-wide { display: inline; }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head head" "sub dash" "form form";
    column-gap: 32px; row-gap: 32px; align-items: center;
  }
  .hero__head { grid-area: head; }
  .hero__sub { grid-area: sub; }
  .hero__form { grid-area: form; margin-top: 12px; }
  .hero__dash { grid-area: dash; margin: 0; padding: 0; z-index: 1; }
  .hero__form .brief__body { padding-bottom: 24px; }
}
@media (min-width: 720px) and (max-width: 1023.98px) {
  .brief .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  .brief .form > * { grid-column: 1 / -1; }
  .brief .form > .field, .brief .form > .form__row { grid-column: auto; }
  .brief .form > .btn { justify-self: start; width: auto; min-width: 320px; }
  .brief .form > .form__note { justify-content: flex-start; }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(392px, 432px);
    grid-template-areas: "head form" "sub form" "dash form";
    column-gap: 48px; row-gap: 28px; align-items: start;
  }
  .hero__head { grid-area: head; }
  .hero__sub { grid-area: sub; }
  .hero__form { grid-area: form; max-width: none; }
  .hero__dash { grid-area: dash; margin: 0 -72px 0 0; padding: 0; max-width: 520px; justify-self: end; width: 100%; z-index: 1; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hero__title { font-size: clamp(4rem, 8.6vw - 1.5rem, 4.75rem); }
}
@media (min-width: 1200px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr) 440px;
    grid-template-areas: "head head form" "sub dash form";
    column-gap: 40px; row-gap: 36px;
  }
  .hero__dash { margin: 0 -104px 0 0; max-width: none; width: auto; justify-self: stretch; }
  /* Largest headline on the page: scales with the space left beside the form, up to 6rem */
  .hero__title { font-size: min(6rem, calc((min(100vw, 1376px) - 576px) / 8.1)); }
}

/* hero load sequence (CSS only; content is never hidden without it) */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-load] { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  @keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Lead form ("campaign brief" card) ---------- */
.brief {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid rgba(14, 18, 15, 0.9);
  box-shadow: 8px 8px 0 rgba(255, 74, 28, 0.95);
  --fg: var(--ink); --bg: var(--paper); --muted: #4d544b;
  --line: rgba(14, 18, 15, 0.16); --line-strong: rgba(14, 18, 15, 0.32);
  --accent: var(--signal-deep); --focus: var(--ink);
}
.brief__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; border-bottom: 1px dashed var(--line-strong); color: var(--muted);
}
.brief__head span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.brief__head span:first-child::before { content: ""; width: 8px; height: 8px; background: var(--signal); border-radius: 1px; }
.brief__body { padding: 20px 20px 24px; }
@media (max-width: 639.98px) { .hero__form .brief__body { padding-bottom: 60px; } }
.brief__title {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.75rem); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 6px; text-wrap: balance;
}
.brief__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -0.01em; }
.brief__intro { font-size: 0.94rem; line-height: 1.45; color: var(--muted); margin-bottom: 16px; }

@media (min-width: 1024px) {
  .hero__form .brief__body { padding-bottom: 24px; }
}
@media (min-width: 400px) {
  .brief__head { padding-inline: 24px; }
  .brief__body { padding-inline: 24px; }
}

.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 360px) {
  .form__row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 399.98px) {
  .form__row--2 .select { padding-left: 12px; padding-right: 30px; background-position: right 10px center; }
}
.field { display: grid; gap: 6px; min-width: 0; }
.field label {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: #3b4239; line-height: 1.3;
}
.field label .req { color: var(--signal-deep); }
.input, .select, .phone {
  width: 100%; min-height: 50px;
  background: var(--paper-3); color: var(--ink);
  border: 1px solid rgba(14, 18, 15, 0.38); border-radius: var(--radius-s);
  font-size: 1rem; line-height: 1.3;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.input, .select { padding: 12px 14px; }
.input::placeholder { color: #6a7066; opacity: 1; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230e120f' stroke-width='1.8'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.input:hover, .select:hover, .phone:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible {
  outline: none; border-color: var(--ink); background-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 74, 28, 0.45);
}
.phone { display: flex; align-items: stretch; overflow: hidden; }
.phone__prefix {
  display: inline-flex; align-items: center; padding: 0 12px;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;
  background: var(--paper-2); border-right: 1px solid rgba(14, 18, 15, 0.38); color: var(--ink);
}
.phone .input { border: 0; border-radius: 0; min-height: 48px; background: transparent; min-width: 0; letter-spacing: 0.02em; }
.phone .input:focus-visible { box-shadow: none; background: transparent; }
.phone:focus-within { border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 3px rgba(255, 74, 28, 0.45); }

.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .phone { border-color: var(--signal-deep); background-color: #fff4ef; }
.field.is-invalid .phone .input { background: transparent; }
.field__error {
  display: none; align-items: flex-start; gap: 6px;
  font-size: 0.82rem; line-height: 1.35; font-weight: 500; color: var(--signal-deep);
}
.field.is-invalid .field__error { display: flex; }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--signal-deep); color: #fff; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; }

.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form__consent { font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.form__consent a { color: var(--ink); text-underline-offset: 2px; }
.form__consent a:hover { color: var(--signal-deep); }
.form__note {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.72rem; color: var(--muted); text-align: center; text-transform: none; letter-spacing: 0.02em;
}
.form__alert {
  padding: 12px 14px; border: 1px solid var(--signal-deep); border-radius: var(--radius-s);
  background: #fff4ef; color: #5c1503; font-size: 0.9rem; line-height: 1.45;
}
.form__alert a { color: inherit; font-weight: 700; }
.btn .spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(14, 18, 15, 0.3); border-top-color: var(--ink);
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .spinner { display: block; }
.btn.is-loading svg.arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.brief__success { padding: 32px 24px 28px; }
.brief__success:focus { outline: none; }
.success__stamp {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  background: var(--lime); border: 1px solid var(--ink); border-radius: 50%;
}
.success__stamp svg { width: 26px; height: 26px; }
.success__stamp path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.success__title { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-bottom: 12px; }
.success__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.success__text { color: var(--muted); margin-bottom: 20px; }
.success__list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 20px; }
.success__list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; line-height: 1.4; }
.success__list li span { color: var(--signal-deep); flex: none; padding-top: 3px; }
.demo-note {
  padding: 10px 12px; margin-bottom: 16px;
  border: 1px dashed var(--ink); border-radius: var(--radius-s); background: #ffe9a8;
  font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.45; color: var(--ink);
}
.demo-note b { text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .brief__success:not([hidden]) > * { animation: rise 0.6s var(--ease) both; }
  .brief__success:not([hidden]) > *:nth-child(2) { animation-delay: 0.08s; }
  .brief__success:not([hidden]) > *:nth-child(3) { animation-delay: 0.14s; }
  .brief__success:not([hidden]) > *:nth-child(n+4) { animation-delay: 0.2s; }
  .brief__success:not([hidden]) .success__stamp path { animation: draw 0.5s 0.3s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

/* ---------- Dashboard fragment ---------- */
.dash {
  background: var(--ink-2); color: var(--paper);
  border: 1px solid rgba(244, 239, 230, 0.22); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.dash__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted);
}
.dash__head .mono { font-size: 0.64rem; }
.dash__dots { display: flex; gap: 5px; }
.dash__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 239, 230, 0.22); }
.dash__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 14px 0; }
.dash__kpi .mono { color: var(--muted); font-size: 0.64rem; }
.dash__big {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.dash__big .chip { transform: translateY(-6px); }
.dash__legend { display: flex; align-items: center; gap: 6px; color: var(--muted); padding-bottom: 8px; }
.dash__legend .mono { font-size: 0.62rem; }
.dash__legend i { width: 14px; height: 2px; background: var(--signal); }
.dash__chart { display: block; width: 100%; height: auto; margin-top: 4px; }
.dash__chart .grid line { stroke: rgba(244, 239, 230, 0.09); stroke-width: 1; }
.dash__line { fill: none; stroke: var(--signal); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dash__area { fill: url(#dashFill); }
.dash__dot { fill: var(--signal); }
.dash__dot-ring { fill: none; stroke: var(--signal); stroke-width: 1; transform-origin: 300px 16px; }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.dash__stat { padding: 10px 14px 12px; border-right: 1px solid var(--line); min-width: 0; }
.dash__stat:last-child { border-right: 0; }
.dash__stat .mono { color: var(--muted); font-size: 0.62rem; display: block; margin-bottom: 2px; }
.dash__stat b { font-family: var(--font-mono); font-weight: 500; font-size: 0.86rem; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.4s; }
.dash__stat b.tick { color: var(--lime); }

@media (prefers-reduced-motion: no-preference) {
  .dash__line { animation: draw 2.2s 0.9s var(--ease) both; }
  .dash__area { animation: fade 1.2s 2s ease both; }
  .dash__dot { animation: fade 0.3s 2.9s ease both; }
  .dash__dot-ring { animation: ring 2.4s 3s ease-out infinite; opacity: 0; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
}
@media (min-width: 1200px) {
  .hero__dash .dash__stats, .hero__dash .dash__main, .hero__dash .dash__head { padding-right: 72px; }
  .hero__dash .dash__chart { width: calc(100% - 60px); }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--signal); color: var(--ink);
  border-block: 1px solid var(--ink);
  overflow: hidden; position: relative;
}
.ticker__track { display: flex; width: max-content; }
.ticker__group {
  display: flex; align-items: center; flex: none;
  padding-block: 14px;
  font-family: var(--font-mono); font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.ticker__group li { display: flex; align-items: center; }
.ticker__group li::after {
  content: ""; width: 7px; height: 7px; margin-inline: 22px; background: var(--ink); transform: rotate(45deg);
}
.ticker__group li.is-metric { font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: marquee 48s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* ---------- Who it's for ---------- */
.personas { border-top: 1px solid var(--fg); }
.persona {
  position: relative;
  display: grid; gap: 12px;
  padding: 28px 0; border-bottom: 1px solid var(--line-strong);
  transition: background-color 0.3s, color 0.3s, padding 0.35s var(--ease);
}
.persona__num { color: var(--accent); }
.persona__name {
  font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02;
}
.persona__now { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.persona__get { display: grid; gap: 6px; }
.persona__get .mono { color: var(--accent); }
.persona__get p { font-weight: 500; line-height: 1.45; }

@media (min-width: 900px) {
  .persona {
    grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 32px; align-items: start; padding: 36px 0;
  }
  .persona__num { padding-top: 10px; }
  .persona__now { padding-top: 6px; }
  .persona:hover { background: var(--ink); color: var(--paper); padding-inline: 24px; --muted: #a8afa5; --accent: var(--signal); }
}

/* ---------- Programs ---------- */
.programs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.program {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 28px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper-3); color: var(--fg);
}
.program__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.program__dur { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.program__dur svg { width: 14px; height: 14px; }
.program__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.program__for { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.program__for b { color: var(--fg); font-weight: 700; }
.program__label { color: var(--muted); margin-bottom: 12px; }
.program__list { display: grid; gap: 10px; }
.program__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.98rem; line-height: 1.4; }
.program__list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.program__foot {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.program__format { color: var(--muted); max-width: 26ch; }

.program--flagship {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  --fg: var(--paper); --bg: var(--ink); --muted: #a8afa5; --line: rgba(244,239,230,.14); --line-strong: rgba(244,239,230,.3);
  --accent: var(--signal); --focus: var(--signal);
  overflow: hidden; isolation: isolate;
}
.program--flagship::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 239, 230, 0.08) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%);
  mask-image: linear-gradient(200deg, #000, transparent 60%);
}
.program--flagship .program__title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); line-height: 0.95; }
.program--flagship .program__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--signal); letter-spacing: -0.015em; font-size: 1.05em; }
.program__spark { display: flex; flex-wrap: wrap; gap: 8px; }
.program__stats { display: none; }
@media (min-width: 1024px) {
  .program__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line-strong); }
  .program__stats li { padding: 16px 16px 16px 0; display: grid; gap: 2px; }
  .program__stats li + li { padding-left: 16px; border-left: 1px solid var(--line); }
  .program__stats b { font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
  .program__stats span { color: var(--muted); }
}

.program__a, .program__b { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.program__b { gap: 0; }

@media (min-width: 640px) {
  .program { padding: 36px 32px; }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .program--flagship .program__list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}
@media (min-width: 1024px) {
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .program--flagship {
    grid-column: 1 / -1; padding: 48px 44px 40px;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 64px; row-gap: 36px;
  }
  .program--flagship .program__a { gap: 28px; }
  .program--flagship .program__b { padding-top: 4px; }
  .program--flagship .program__list { gap: 0; border-top: 1px solid var(--line-strong); }
  .program--flagship .program__list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .program--flagship .program__foot { grid-column: 1 / -1; margin-top: 0; }
  .program--flagship .program__format { max-width: none; }
  .program--flagship .program__spark { margin-top: auto; }
}

/* ---------- Curriculum bento ---------- */
.curriculum { background: var(--paper-2); --bg: var(--paper-2); }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 24px; min-width: 0;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile__num { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.tile__num b { color: var(--accent); font-weight: 500; }
.tile__title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.tile__text { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.tile__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tile__frag { margin-top: auto; padding-top: 8px; }

.tile--ink {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  --fg: var(--paper); --muted: #a8afa5; --line: rgba(244,239,230,.14); --line-strong: rgba(244,239,230,.3); --accent: var(--signal);
}
.tile--signal {
  background: var(--signal); color: var(--ink); border-color: var(--ink);
  --muted: #2a0d03; --accent: var(--ink); --line: rgba(14,18,15,.3); --line-strong: rgba(14,18,15,.55);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
  .tile--ink:hover { box-shadow: 6px 6px 0 var(--signal); }
}

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: 28px; }
  .tile--wide { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .tile { padding: 32px; }
  .t1 { grid-column: span 2; }
  .t2 { grid-column: span 4; }
  .t3, .t4 { grid-column: span 3; }
  .t5, .t6, .t7 { grid-column: span 2; }
  .t8 { grid-column: 1 / -1; }
  .t2, .t8 { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 40px; align-items: stretch; }
  .t2 .tile__copy, .t8 .tile__copy { display: flex; flex-direction: column; gap: 16px; }
  .t2 .tile__frag, .t8 .tile__frag { margin-top: 0; padding-top: 0; align-self: center; }
}
.tile__copy { display: flex; flex-direction: column; gap: 16px; }

.frag-note { margin-top: 24px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.frag-note::before { content: "*"; color: var(--accent); }

/* fragments */
.frag {
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.4;
  overflow: hidden;
}
.frag__bar {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  padding: 7px 10px; border-bottom: 1px solid var(--line); color: var(--muted);
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.frag__bar i { font-style: normal; color: var(--accent); }

/* campaign table */
.ctable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ctable th, .ctable td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ctable th { font-weight: 500; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ctable th:first-child, .ctable td:first-child { text-align: left; white-space: normal; }
.ctable tr:last-child td { border-bottom: 0; }
.ctable .status { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; }
.ctable .status--off { background: rgba(244, 239, 230, 0.3); }
.ctable .chip { padding: 2px 6px; font-size: 0.68rem; }
.ctable .hide-s { display: none; }
@media (min-width: 480px) { .ctable .hide-s { display: table-cell; } }

/* funnel */
.funnel { display: grid; gap: 6px; }
.funnel__row { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; color: var(--muted); }
.funnel__bar { height: 26px; border-radius: 3px; background: var(--ink); display: flex; align-items: center; padding-left: 10px; color: var(--paper); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; transform-origin: 0 50%; min-width: max-content; padding-right: 10px; }
.funnel__row:nth-child(2) .funnel__bar { width: 68%; background: #3a423b; }
.funnel__row:nth-child(3) .funnel__bar { width: 40%; background: var(--signal); color: var(--ink); }

/* search ad */
.sad { padding: 14px; font-family: var(--font-display); background: var(--paper-3); }
.sad__meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); margin-bottom: 6px; }
.sad__meta b { color: var(--ink); font-weight: 700; }
.sad__title { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: #1a3d8f; margin-bottom: 4px; }
.sad__desc { font-size: 0.86rem; line-height: 1.4; color: var(--muted); }
.sad__kw { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--paper); }

/* tracking pipeline */
.pipe { display: flex; align-items: center; gap: 6px 0; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.pipe span { padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 0.68rem; letter-spacing: 0.04em; white-space: nowrap; }
.pipe i { flex: 1 1 22px; max-width: 28px; min-width: 8px; height: 1px; background: var(--line-strong); position: relative; }
.pipe i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg); }
.log { padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; color: var(--muted); }
.log li { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; }
.log li span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.log b { color: var(--ink); font-weight: 500; }
.log .ok { color: #2f6b12; flex: none; }

/* creative test */
.ab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ab__card { border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: 8px; display: grid; gap: 8px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ab__thumb { aspect-ratio: 4 / 5; border-radius: 3px; background: repeating-linear-gradient(135deg, rgba(14,18,15,.1) 0 6px, transparent 6px 12px), var(--paper-2); position: relative; }
.ab__thumb::after { content: ""; position: absolute; left: 8px; right: 30%; bottom: 8px; height: 5px; background: var(--ink); border-radius: 2px; box-shadow: 0 -9px 0 rgba(14,18,15,.35); }
.ab__meter { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ab__meter i { display: block; height: 100%; background: var(--ink); }
.ab__card.is-win { border-color: var(--ink); background: var(--lime); color: var(--ink); }
.ab__card.is-win .ab__thumb { background: repeating-linear-gradient(135deg, rgba(14,18,15,.18) 0 6px, transparent 6px 12px), #e3f9a4; }

/* wireframe */
.wire { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.wire__col { display: grid; gap: 7px; align-content: start; }
.wire__col b { display: block; height: 9px; border-radius: 2px; background: var(--ink); }
.wire__col b:nth-child(2) { width: 70%; }
.wire__col s { display: block; height: 5px; border-radius: 2px; background: var(--line-strong); text-decoration: none; }
.wire__col s:nth-of-type(2) { width: 82%; }
.wire__col u { display: block; width: 62%; height: 20px; margin-top: 4px; border-radius: 3px; background: var(--signal); text-decoration: none; }
.wire__img { border-radius: 3px; min-height: 84px; background: repeating-linear-gradient(135deg, rgba(14,18,15,.1) 0 6px, transparent 6px 12px), var(--paper-2); border: 1px solid var(--line); }
.wire__foot { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* formulas */
.formulas { display: grid; gap: 0; border-top: 1px solid var(--line-strong); font-family: var(--font-mono); }
.formulas li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-strong); font-size: 0.78rem; line-height: 1.35; }
.formulas b { font-weight: 700; font-size: 0.86rem; }

/* report bars */
.report { display: grid; gap: 0; }
.report__chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 14px 12px 0; }
.report__chart i { flex: 1; background: rgba(244, 239, 230, 0.22); border-radius: 2px 2px 0 0; transform-origin: 50% 100%; }
.report__chart i.hi { background: var(--signal); }
.report__axis { display: flex; justify-content: space-between; padding: 7px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- How you learn ---------- */
.steps { display: grid; gap: 0; position: relative; counter-reset: step; }
.step { position: relative; padding: 0 0 40px 56px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 1px; background: var(--line-strong);
}
.step:last-child::before { display: none; }
.step__dot {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--ink);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; color: var(--paper);
}
.step--live .step__dot { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.step__verb { color: var(--accent); margin-bottom: 8px; padding-top: 7px; }
.step__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 12px; text-wrap: balance; }
.step__text { color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 44ch; }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .step { padding: 64px 0 0 0; }
  .step::before { left: 40px; right: -32px; top: 16px; bottom: auto; width: auto; height: 1px; }
  .step:last-child::before { display: block; right: 0; background: linear-gradient(90deg, var(--line-strong), transparent); }
  .step__verb { padding-top: 0; }
}

.loop-note {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; color: var(--muted);
}
.loop-note p { max-width: 60ch; font-size: 1rem; }
.loop-note strong { color: var(--paper); font-weight: 700; }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.outcomes__list { border-top: 1px solid var(--fg); }
.outcome {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 20px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line-strong);
}
.outcome__icon { width: 40px; height: 40px; color: var(--accent); grid-row: span 2; }
.outcome__title { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.outcome__text { color: var(--muted); font-size: 1rem; line-height: 1.55; grid-column: 2; max-width: 52ch; margin-top: 6px; }
.honest {
  margin-top: 28px; padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  display: grid; gap: 8px;
}
.honest .mono { color: var(--accent); }
.honest p { font-size: 1rem; line-height: 1.5; }
@media (min-width: 1024px) {
  .outcomes { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 80px; }
  .outcomes__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: grid; gap: 24px; }
}
.outcomes__intro { display: grid; gap: 24px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--signal); color: var(--ink);
  --fg: var(--ink); --focus: var(--ink); --accent: var(--ink);
  padding-block: clamp(64px, 8vw, 120px);
  border-block: 1px solid var(--ink);
}
.cta-band__inner { display: grid; gap: 32px; }
.cta-band__title {
  font-weight: 700; font-size: clamp(2.25rem, 0.6rem + 5.2vw, 4.75rem);
  line-height: 0.92; letter-spacing: -0.05em; text-wrap: balance;
}
.cta-band__title em { color: var(--ink); }
.cta-band__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.cta-band__row p { max-width: 44ch; font-weight: 500; line-height: 1.45; }
.cta-band .btn--ink:hover { box-shadow: 4px 4px 0 var(--paper); }
@media (min-width: 900px) {
  .cta-band__row { justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 28px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.faq__intro { display: grid; gap: 24px; align-content: start; }
.faq__list { border-top: 1px solid var(--fg); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 8px; align-items: start;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .mono { color: var(--muted); padding-top: 6px; }
.faq__item summary:hover { color: var(--accent); }
.faq__icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; margin-top: 1px; transition: background-color 0.2s, border-color 0.2s, transform 0.3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 36px 26px 44px; color: var(--muted); max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__answer { animation: faq 0.35s var(--ease); }
  @keyframes faq { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 1024px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 80px; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Final enquire ---------- */
.enquire__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.enquire__copy { display: grid; gap: 28px; align-content: start; }
.next { border-top: 1px solid var(--line-strong); }
.next li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next .mono { color: var(--accent); padding-top: 5px; }
.next b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.25; }
.next p { color: var(--muted); font-size: 0.98rem; line-height: 1.5; margin-top: 4px; }
.enquire__form { min-width: 0; }
.enquire__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--muted); }
.enquire__alt a:not(.btn) { color: var(--paper); font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--signal); }
.enquire__alt a:not(.btn):hover { color: var(--signal); }
@media (min-width: 1024px) {
  .enquire__grid { grid-template-columns: minmax(0, 1fr) minmax(400px, 460px); column-gap: 80px; align-items: start; }
  .enquire__form { max-width: none; }
  .enquire__copy { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--paper);
  --bg: var(--ink); --fg: var(--paper); --muted: #a8afa5; --line: rgba(244,239,230,.14); --line-strong: rgba(244,239,230,.3); --focus: var(--signal); --accent: var(--signal);
  border-top: 1px solid var(--line);
  padding-block: 56px 32px;
}
.site-footer > .wrap { container-type: inline-size; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.site-footer__about { display: grid; gap: 16px; max-width: 44ch; }
.site-footer__about p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.site-footer h2 { color: var(--muted); margin-bottom: 14px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer__links { display: grid; gap: 2px; }
.site-footer__links a { overflow-wrap: anywhere;
  display: inline-flex; align-items: center; min-height: 36px;
  text-decoration: none; color: var(--paper); font-weight: 500; font-size: 1rem;
  transition: color 0.2s;
}
.site-footer__links a:hover { color: var(--signal); }
.site-footer__base {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted);
}
.site-footer__base a { color: inherit; text-underline-offset: 3px; }
.site-footer__base a:hover { color: var(--paper); }
@media (min-width: 640px) and (max-width: 1023.98px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 40px; }
}
.wordmark-xl {
  margin-top: 56px; font-weight: 700; letter-spacing: -0.055em; line-height: 0.82;
  font-size: min(8.7vw, 8.4rem); white-space: nowrap;
  /* sized so the wordmark spans the full wrap width */
  font-size: calc(100cqw / 9.27);
  font-variation-settings: "opsz" 96; /* fixed optical size keeps the width ratio constant at every size */
  overflow: clip; overflow-clip-margin: 0.3em; color: var(--paper);
  user-select: none;
}
.wordmark-xl i { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--signal); margin-right: 0.08em; }

/* ---------- Mobile sticky bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); border-top: 1px solid rgba(244, 239, 230, 0.2);
  --fg: var(--paper); --focus: var(--signal); --line-strong: rgba(244,239,230,.3); --bg: var(--ink);
  color: var(--paper);
  transition: transform 0.35s var(--ease), visibility 0.35s;
}
.sticky-cta .btn { min-height: 48px; padding-inline: 16px; }
.sticky-cta .btn--primary { flex: 1; }
.sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; }
body { padding-bottom: 0; }
@media (max-width: 959.98px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Scroll reveals (only when JS is confirmed running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .tile[data-reveal].is-in { transition: opacity 0.7s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease); transition-delay: 0ms; }

  .js .funnel__bar, .js .report__chart i { transform: scaleX(0); transition: transform 0.9s var(--ease); }
  .js .report__chart i { transform: scaleY(0); }
  .js .is-in .funnel__bar, .js .is-in .report__chart i { transform: none; }
  .js .is-in .funnel__row:nth-child(2) .funnel__bar { transition-delay: 0.12s; }
  .js .is-in .funnel__row:nth-child(3) .funnel__bar { transition-delay: 0.24s; }
  .js .is-in .report__chart i:nth-child(n) { transition-delay: calc(var(--n, 0) * 50ms); }
}

/* ---------- Simple page (privacy) ---------- */
.page { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); }
.page__head { display: grid; gap: 20px; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--fg); }
.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.035em; line-height: 1.1; margin-top: 28px; }
.prose ul { list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1.5px; background: var(--accent); }
.prose a { color: var(--accent); text-underline-offset: 3px; font-weight: 500; }
.prose p, .prose li { color: #2c322b; }

/* ---------- Reduced motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .pulse::after, .dash__dot-ring { display: none; }
}
@media print {
  .site-header, .sticky-cta, .ticker { display: none; }
}
