/* NEXTSPIKE: black and white, Switzer, matched to the existing brand */

@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/switzer-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --black: #000000;
  --soft: #f2f2f2;
  --line: #d9d9d9;
  --muted: #5e5e5e;

  /* Deep burgundy: the one color. It marks depth (dark sections) and action (primary buttons, selections). */
  --wine: #3A0B16;
  --wine-deep: #22060C;
  --wine-glow: #5C1527;

  --sans: "Switzer", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 62px;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -0.006em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Anything marked hidden stays hidden, even if a class gives it a display value */
[hidden] { display: none !important; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { opacity: 0.7; }

:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.hero-video :focus-visible,
.services :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  z-index: 50;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.skip-link:focus { top: 12px; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 6.25rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

h3, .h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.3;
  max-width: 44ch;
}

.small-head {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--black);
  border-radius: 0;
  cursor: pointer;
  --bg: var(--black); --fg: var(--white); --bd: var(--black);
  --hbg: var(--white); --hfg: var(--black);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bd);
  transition: color 0.4s cubic-bezier(0.7, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}
/* Hover: the opposite colour wipes in from the left */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hbg);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.btn:hover { opacity: 1; color: var(--hfg); border-color: var(--hbg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }

.btn-small { min-height: 34px; padding: 0 14px; }

.btn-light { --bg: var(--white); --fg: var(--black); --bd: var(--white); --hbg: var(--black); --hfg: var(--white); }

.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn[disabled]::before { display: none; }

.text-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: underline;
}
.text-link.on-dark { color: var(--white); }
.text-link:hover { opacity: 1; text-decoration-thickness: 2px; }

/* Underline that draws in on hover (nav and footer links) */
.site-nav a:not(.btn),
.footer-nav a,
.footer-bottom a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
  padding-bottom: 2px;
  transition: background-size 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}
.site-nav a:not(.btn):hover,
.footer-nav a:hover,
.footer-bottom a:hover { opacity: 1; background-size: 100% 1px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  color: var(--black);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }

/* Homepage: the header sits over the video until you scroll past it */
.is-home .site-header { position: fixed; left: 0; right: 0; background: transparent; color: var(--white); }
.is-home .site-header.is-solid { background: var(--white); color: var(--black); }
.is-home .site-header:not(.is-solid) .btn { --bg: var(--white); --fg: var(--black); --bd: var(--white); --hbg: var(--black); --hfg: var(--white); }
.is-home .site-header:not(.is-solid) .menu-toggle { background: var(--white); color: var(--black); }
.is-home .site-header:not(.is-solid) :focus-visible { outline-color: var(--white); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.wordmark:hover { opacity: 1; }
.wordmark sup {
  font-size: 0.32em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  margin-left: 1px;
  vertical-align: top;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.site-nav a[aria-current="page"]:not(.btn) { background-size: 100% 1px; }

/* Desktop: the links hold the right edge */
@media (min-width: 761px) {
  .site-nav { gap: 28px; }
}

.menu-toggle {
  display: none;
  font: inherit;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 0;
  min-height: 34px;
  padding: 0 14px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--gutter) 20px;
    background: var(--white);
    color: var(--black);
    border-bottom: 1px solid var(--black);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { background: none; }
  .site-nav a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
    font-weight: 700;
  }
  .site-nav a:not(.btn):last-child { border-bottom: 0; }
}

/* ---------- Hero (video) ---------- */

.hero-video {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(calc(100vh - var(--header-h)), 900px);
  background: #111;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 35%, rgba(0, 0, 0, 0.05) 65%, rgba(0, 0, 0, 0) 100%);
}

.hero-video-inner {
  padding-top: 120px;
  padding-bottom: clamp(36px, 6vw, 80px);
}

.hero-video h1 { color: var(--white); }
.hero-title span { display: block; }

.hero-video .lede {
  color: var(--white);
  margin-top: clamp(16px, 2vw, 24px);
  max-width: 40ch;
}

.hero-video .btn { --bg: var(--white); --fg: var(--black); --bd: var(--white); --hbg: var(--black); --hfg: var(--white); }

/* Homepage hero fills the screen under the see-through header */
.is-home .hero-video { min-height: min(100vh, 980px); }
.is-home .video-toggle { top: calc(var(--header-h) + 12px); }
/* Darkens the top edge so the white header stays readable over bright shots */
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: clamp(22px, 3vw, 32px);
}

.video-toggle {
  position: absolute;
  top: 16px;
  right: var(--gutter);
  z-index: 1;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  padding: 6px 10px;
  cursor: pointer;
}
.video-toggle:hover { background: rgba(0, 0, 0, 0.75); }

@media (max-width: 640px) {
  .hero-video { min-height: 78svh; }
  .is-home .hero-video { min-height: 88svh; }
  .hero-video h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section.tight-top { padding-top: clamp(40px, 5vw, 64px); }

/* Intro */

.intro-inner { display: block; }

.statement {
  font-size: clamp(2.2rem, 5.2vw, 4.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.format-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.format-list li {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 7px 10px;
  border: 1px solid var(--black);
}

/* Services */

.services { background: var(--black); color: var(--white); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: clamp(32px, 4vw, 52px);
}
.service {
  padding-top: 20px;
  border-top: 1px solid var(--white);
}
.service h3 { margin-bottom: 14px; }
.service p { color: #d6d6d6; }

@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Spike chart */

.spike-chart {
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
}
.spike-chart svg { width: 100%; height: auto; overflow: visible; }
.spike-chart .chart-mobile { display: none; }

@media (max-width: 900px) {
  .spike-chart .chart-desktop { display: none; }
  .spike-chart .chart-mobile { display: block; max-width: 640px; }
}

.chart-base { stroke: #5a5a5a; stroke-width: 1; }

.line-without {
  fill: none;
  stroke: #7a7a7a;
  stroke-width: 2.5;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
}

.line-with {
  fill: none;
  stroke: var(--white);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.chart-note {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  fill: var(--white);
}
.chart-desktop .chart-note { font-size: 15px; }
.chart-mobile .chart-note { font-size: 19px; }
.chart-note.quiet { fill: #9a9a9a; }

.chart-arrow {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spike-chart figcaption {
  margin-top: 18px;
  font-size: 0.875rem;
  color: #a8a8a8;
  max-width: 60ch;
}

@media (prefers-reduced-motion: no-preference) {
  .js .spike-chart .line-with { stroke-dashoffset: 1; }
  .js .spike-chart:not(.in-view) .line-with { visibility: hidden; }
  .js .spike-chart .chart-note,
  .js .spike-chart .chart-arrow { opacity: 0; }
  .js .spike-chart.in-view .line-with { animation: draw 2.4s cubic-bezier(0.45, 0, 0.2, 1) 0.15s forwards; }
  .js .spike-chart.in-view .chart-note,
  .js .spike-chart.in-view .chart-arrow { animation: note-in 0.5s ease forwards; animation-delay: var(--d, 1s); }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes note-in { to { opacity: 1; } }

/* CTA band */

.cta-band {
  background: var(--white);
  color: var(--black);
  padding: var(--section) 0;
  border-top: 1px solid var(--black);
}
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.cta-band p { font-size: 1.125rem; margin-top: 16px; max-width: 50ch; }
.cta-band .btn-light { --bg: var(--black); --fg: var(--white); --bd: var(--black); --hbg: var(--white); --hfg: var(--black); }

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 56px;
  align-items: end;
}

@media (max-width: 760px) {
  .cta-inner { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Inner pages ---------- */

.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 6.25rem); }
.page-hero .lede { margin-top: clamp(18px, 2.5vw, 28px); }
.page-hero.compact h1 { font-size: clamp(2.4rem, 6vw, 5rem); }

.page-hero + .section { border-top: 1px solid var(--black); }
.section + .section { border-top: 1px solid var(--black); }

.narrow { max-width: calc(780px + var(--gutter) * 2); }

/* About */

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin-top: clamp(32px, 4vw, 52px);
}
.principle-grid > div { padding: 24px 0 32px; border-top: 1px solid var(--black); }
.principle-grid h3 { margin-bottom: 14px; }

@media (max-width: 760px) {
  .principle-grid { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px 72px;
  align-items: start;
}
.split p { font-size: 1.125rem; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
  margin-top: clamp(32px, 4vw, 52px);
}
.fit-col h3 { padding-bottom: 14px; border-bottom: 1px solid var(--black); }

@media (max-width: 760px) {
  .fit-grid { grid-template-columns: 1fr; }
}

.mark-list { list-style: none; margin: 0; padding: 0; }
.mark-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.35;
}
.mark-list li::before {
  position: absolute;
  left: 2px;
  top: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}
.mark-list.yes li::before { content: "\2713"; }
.mark-list.no li::before { content: "\2715"; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 48px 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form { display: grid; gap: 22px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
}

.field { display: grid; gap: 8px; margin: 0; min-width: 0; }

.field label,
.field legend {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.optional { font-weight: 500; color: var(--muted); text-transform: none; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 0;
  padding: 12px 14px;
  min-height: 48px;
}

.field textarea { min-height: 150px; resize: vertical; line-height: 1.4; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--black); outline-offset: 0; }

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: #b3261e; outline-color: #b3261e; }

.field textarea::placeholder { color: #767676; }
.field select:invalid { color: #767676; }
.field select option { color: var(--black); }

.checks { border: 0; padding: 0; }
.checks legend { margin-bottom: 12px; padding: 0; }

.check-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.check-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.006em;
  line-height: 1.3;
  cursor: pointer;
}
.check-options input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  flex: none;
  accent-color: var(--black);
}

@media (max-width: 600px) {
  .check-options { grid-template-columns: 1fr; }
}

@supports selector(:has(*)) {
  .check-options { display: flex; flex-wrap: wrap; gap: 10px; }
  .check-options label {
    position: relative;
    align-items: center;
    padding: 11px 16px;
    border: 1px solid var(--black);
    transition: background-color 0.2s ease, color 0.2s ease;
    user-select: none;
  }
  @media (hover: hover) { .check-options label:hover { background: var(--soft); } }
  .check-options input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
  }
  .check-options label:has(input:checked) { background: var(--black); color: var(--white); }
  .check-options label:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 2px; }
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 6px;
}
.form-foot .btn { min-height: 48px; padding: 0 26px; }
.form-note { font-size: 0.875rem; color: var(--muted); margin: 0; }

.contact-aside {
  border-top: 1px solid var(--black);
  padding-top: 20px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.next-steps {
  list-style: none;
  counter-reset: next;
  margin: 18px 0 0;
  padding: 0;
}
.next-steps li {
  counter-increment: next;
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
  line-height: 1.35;
}
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 12px;
  font-weight: 700;
}

.aside-email { margin-top: 28px; }
.aside-email p { margin: 0 0 4px; color: var(--muted); font-size: 0.875rem; text-transform: uppercase; }
.aside-email a { font-weight: 600; font-size: 1.0625rem; word-break: break-word; }

/* Thank you, 404, privacy */

.plain-list { margin: 14px 0 32px; padding-left: 1.2em; }
.plain-list li { margin: 8px 0; max-width: 60ch; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 44px 0 12px; }
.prose p, .prose li { line-height: 1.45; }
.prose ul { padding-left: 1.2em; }

.meta-date { color: var(--muted); font-size: 0.875rem; text-transform: uppercase; margin-top: 18px; }

.actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

/* Email shown from data attributes until site.js fills in the real link */
.eml:empty::after { content: attr(data-u) "\40" attr(data-d); }

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

.site-footer {
  border-top: 1px solid var(--black);
  padding: clamp(40px, 5vw, 72px) 0 20px;
}
.site-footer .wrap { container-type: inline-size; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 40px;
}
.footer-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.footer-email {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Full-width wordmark sign-off. 0.186 = 1 / (width of NEXTSPIKE in em at this tracking) */
.footer-mark {
  display: block;
  margin: clamp(40px, 6vw, 88px) 0 0 -0.02em;
  font-weight: 900;
  text-transform: uppercase;
  font-size: min(calc((100vw - var(--gutter) * 2 - 16px) * 0.186), calc(var(--maxw) * 0.186));
  font-size: calc(100cqi * 0.186);
  line-height: 0.78;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
}
.footer-mark:hover { opacity: 1; }
.footer-mark .ch { display: inline-block; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  margin-top: clamp(20px, 2.4vw, 32px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom .to-top { margin-left: auto; }

@media (max-width: 760px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Planner ---------- */

.chart-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.chart-cta p { max-width: 46ch; font-size: 1.125rem; }

.planner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.6fr);
  gap: 32px clamp(28px, 4vw, 56px);
  align-items: start;
}
.planner-inputs {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 28px;
}
.planner-inputs fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.planner-inputs legend {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  padding: 0;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row label {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--black);
  font-size: 0.9375rem;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) { .chip-row label:hover { background: var(--soft); } }
.chip-row small { font-size: 0.8125rem; color: var(--muted); }
@supports selector(:has(*)) {
  .chip-row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
  .chip-row label:has(input:checked) { background: var(--black); color: var(--white); }
  .chip-row label:has(input:checked) small { color: rgba(255, 255, 255, 0.7); }
  .chip-row label:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 2px; }
}

.plan-panel {
  background: var(--black);
  color: var(--white);
  padding: clamp(22px, 3.4vw, 48px);
  min-height: 480px;
}
.plan-panel :focus-visible { outline-color: var(--white); }
.print-brand { display: none; }
.plan-for { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); }
.plan-summary {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 18ch;
}

.plan-chart { margin: clamp(22px, 3vw, 36px) 0 0; }
.plan-chart-svg svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan-chart .base { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.plan-chart .tick { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
.plan-chart .without { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 2; stroke-dasharray: 5 7; }
.plan-chart .with { fill: none; stroke: var(--white); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.plan-chart .mk circle { fill: var(--white); }
.plan-chart .lbl { fill: var(--white); font-family: var(--sans); font-weight: 600; letter-spacing: 0.01em; }
.plan-chart .leader { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.plan-chart .wk { fill: rgba(255, 255, 255, 0.6); font: 500 12px var(--sans); text-transform: uppercase; }

.plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}
.plan-legend .yes::before,
.plan-legend .no::before {
  content: "";
  display: inline-block;
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
  border-top: 3px solid var(--white);
}
.plan-legend .no::before { border-top: 2px dashed rgba(255, 255, 255, 0.6); }
.plan-note { color: rgba(255, 255, 255, 0.5); }

.plan-list { list-style: none; margin: clamp(26px, 4vw, 44px) 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.plan-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.plan-when { display: flex; align-items: center; gap: 10px; align-self: start; padding-top: 1px; }
.plan-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 0.8125rem;
  font-weight: 700;
  flex: none;
}
.plan-week { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }
.plan-list h3 { font-size: 1.125rem; color: var(--white); }
.plan-list p { margin-top: 6px; color: rgba(255, 255, 255, 0.85); max-width: 62ch; }
.plan-list .plan-tags { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }

.plan-h {
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}
.plan-small { margin-top: 10px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.55); }
.plan-small a { color: inherit; }

.plan-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; }
.plan-glance div { min-width: 0; }
.plan-glance dt { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.plan-glance dd { margin: 2px 0 0; font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }

.plan-cal { margin-top: 16px; font-size: 0.75rem; }
.cal-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px; padding: 5px 0; }
.cal-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.cal-name b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-right: 6px; border-radius: 50%;
  background: var(--white); color: var(--black); font-size: 0.6875rem;
}
.cal-track { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; height: 16px; }
.cal-track i { grid-row: 1; height: 100%; }
.cal-head .cal-name { color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.cal-head .cal-track span { grid-row: 1; text-align: center; color: rgba(255, 255, 255, 0.55); line-height: 16px; }
.cal-prep { background: rgba(255, 255, 255, 0.22); }
.cal-go { background: var(--white); }
.cal-recap { border: 1px dashed rgba(255, 255, 255, 0.6); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.cal-legend span::before { content: ""; display: inline-block; width: 14px; height: 10px; margin-right: 7px; vertical-align: -1px; }
.cal-legend .k-prep::before { background: rgba(255, 255, 255, 0.22); }
.cal-legend .k-go::before { background: var(--white); }
.cal-legend .k-recap::before { border: 1px dashed rgba(255, 255, 255, 0.6); }

.pb-sample {
  display: inline-block; margin-left: 10px; padding: 3px 7px; vertical-align: 3px;
  border: 1px solid rgba(255, 255, 255, 0.6); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0;
}
.plan-pb { margin-top: 14px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.25); }
.plan-pb .pb-head { margin-top: 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.plan-pb .pb-head:first-child { margin-top: 0; }
.plan-pb ol { margin: 6px 0 0; padding-left: 20px; }
.plan-pb li { display: list-item; padding: 3px 0; border: 0; color: rgba(255, 255, 255, 0.9); }
.plan-pb .pb-cap { font-style: italic; color: var(--white); }

.plan-gate { margin-top: 30px; padding: clamp(20px, 3vw, 32px); background: var(--white); color: var(--black); }
.plan-gate h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--black); }
.plan-gate > p { margin-top: 8px; max-width: 56ch; }
.plan-gate .plan-small { color: var(--muted); }
.gate-form { margin-top: 18px; display: grid; gap: 14px; }
.gate-fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.gate-fields label { display: grid; gap: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.gate-fields em { font-style: normal; font-weight: 500; text-transform: none; color: var(--muted); }
.gate-fields input {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; font-weight: 500;
  text-transform: none; color: var(--black); background: var(--white); border: 1px solid var(--black); border-radius: 0;
}
.gate-fields input:focus { outline: 2px solid var(--black); outline-offset: 0; }
.gate-form .btn { justify-self: start; min-height: 48px; --bg: var(--black); --fg: var(--white); --bd: var(--black); --hbg: var(--white); --hfg: var(--black); }
.gate-form :focus-visible { outline-color: var(--black); }
.gate-hp { position: absolute; left: -9999px; }
.gate-error { color: #b3261e; font-size: 0.875rem; }
.plan-unlocked { margin-top: 26px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.4); }
.plan-unlocked .text-link { display: inline-block; margin-top: 10px; background: none; border: 0; padding: 0; font-family: var(--sans); color: var(--white); cursor: pointer; }

.plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.plan-actions .text-link { background: none; border: 0; padding: 0; font-family: var(--sans); cursor: pointer; }

.btn.plan-jump {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  min-height: 48px;
  padding: 0 22px;
  white-space: nowrap;
  transform: translate(-50%, 160%);
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1), color 0.4s cubic-bezier(0.7, 0, 0.2, 1);
  box-shadow: 0 0 0 1px var(--white);
}
.btn.plan-jump.is-visible { transform: translate(-50%, 0); }
@media (min-width: 901px) { .btn.plan-jump { display: none; } }

.planner-note {
  margin-bottom: 18px;
  padding: 12px 14px;
  background: var(--soft);
  font-size: 0.9375rem;
}

@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .planner-inputs { position: static; }
}
@media (max-width: 560px) {
  .plan-list li { grid-template-columns: 1fr; }
  .plan-panel { margin: 0 calc(var(--gutter) * -1); }
  .plan-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-row { grid-template-columns: 1fr; gap: 4px; padding: 6px 0; }
  .cal-head .cal-name { display: none; }
  .gate-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .plan-chart .with { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(0.45, 0, 0.2, 1) 0.1s forwards; }
  .plan-chart .mk { opacity: 0; animation: note-in 0.4s ease forwards; animation-delay: var(--d, 0.5s); }
}

/* Save as PDF: just the plan, black on white */
@media print {
  .site-header, .site-footer, .skip-link, .page-hero, .planner-inputs, .plan-actions, .plan-jump, .spike-app, .res-top .text-link, .num-prompt { display: none !important; }
  .plan-panel .score, .plan-panel .math-card { border-color: #ccc; break-inside: avoid; }
  .plan-panel .ring-bg { stroke: #e5e5e5; }
  .plan-panel .ring { stroke: #000; transition: none; }
  .plan-panel .bar { background: #e5e5e5; }
  .plan-panel .bar i { background: #000; transition: none; }
  .plan-panel .whatif { border: 1px solid #ccc; }
  .score-how[open] p, .score-how p { display: block; }
  body { background: #fff; }
  .section.tight-top { padding: 0; }
  .planner { display: block; }
  .plan-panel, .plan-panel * { color: #000 !important; }
  .plan-panel { background: #fff; padding: 0; min-height: 0; margin: 0; }
  .print-brand { display: block; font-weight: 900; text-transform: uppercase; margin-bottom: 18px; }
  .plan-chart .with { stroke: #000; }
  .plan-chart .without { stroke: #777; }
  .plan-chart .base, .plan-chart .tick { stroke: #999; }
  .plan-chart .mk circle { fill: #000; }
  .plan-chart .lbl { fill: #000; }
  .plan-chart .leader { stroke: #999; }
  .plan-gate, .plan-unlocked { display: none !important; }
  .cal-prep, .cal-legend .k-prep::before { background: #ccc; }
  .cal-go, .cal-legend .k-go::before { background: #000; }
  .cal-recap, .cal-legend .k-recap::before { border-color: #777; }
  .cal-name b { background: #000; color: #fff !important; }
  .plan-pb { border-color: #ccc; break-inside: avoid; }
  .plan-h { border-color: #ccc; }
  .plan-chart .wk { fill: #444; }
  .plan-legend .yes::before { border-top-color: #000; }
  .plan-legend .no::before { border-top-color: #777; }
  .plan-num { background: #000; color: #fff !important; }
  .plan-list, .plan-list li { border-color: #ccc; }
  .plan-list > li { display: block; break-inside: avoid; }
  .plan-pb li { display: list-item; }
  .plan-h { break-after: avoid; }
  .plan-when { margin-bottom: 6px; }
  .plan-chart .with { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: none !important; }
  .plan-chart .mk { opacity: 1 !important; animation: none !important; }
  .plan-chart, .plan-glance, .plan-cal { break-inside: avoid; }
}

/* ---------- Planner app ---------- */

.spike-app {
  max-width: 860px;
  border: 1px solid var(--black);
  padding: clamp(22px, 4vw, 44px);
}
.app-top { display: grid; gap: 10px; margin-bottom: clamp(22px, 3vw, 32px); }
.app-count { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.app-progress { height: 4px; background: var(--line); }
.app-progress i { display: block; height: 100%; width: 14%; background: var(--black); transition: width 0.45s cubic-bezier(0.7, 0, 0.2, 1); }
.app-q { font-size: clamp(1.8rem, 4.2vw, 3rem); margin-bottom: clamp(18px, 2.4vw, 26px); }
.app-q:focus { outline: none; }
.app-hint { margin: -10px 0 20px; color: var(--muted); font-size: 0.9375rem; }
.app-step .chip-row label { font-size: 1.0625rem; padding: 13px 18px; }
.app-step .chip-row { gap: 10px; }

.num-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.num-label { display: block; margin-bottom: 8px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.num-wrap { display: flex; align-items: center; border: 1px solid var(--black); background: var(--white); }
.num-wrap:focus-within { outline: 2px solid var(--black); outline-offset: 0; }
.num-pre { padding-left: 14px; font-size: 1.375rem; font-weight: 700; }
.num-wrap input {
  width: 100%; min-width: 0; border: 0; background: transparent; padding: 12px 14px; min-height: 56px;
  font: inherit; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: var(--black);
}
.num-wrap input:focus { outline: none; }
.num-wrap input::placeholder { color: #b5b5b5; font-weight: 500; }
.range-field { display: block; }
.range-field input[type="range"] { width: 100%; accent-color: var(--black); margin: 8px 0 4px; }
.range-out { display: block; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.freq-field { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.freq-field legend { padding: 0; }
.freq-field .chip-row label { font-size: 0.9375rem; padding: 10px 14px; }

.app-live {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--black);
  color: var(--white);
  font-size: 1.0625rem;
  line-height: 1.4;
  min-height: 52px;
}
.app-live b { font-weight: 700; }

.app-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(24px, 3vw, 34px); }
.app-nav .text-link { background: none; border: 0; padding: 0; font-family: var(--sans); cursor: pointer; color: var(--black); }
.app-nav .btn { min-height: 48px; padding: 0 26px; }
.app-back { margin-right: auto; }

@media (prefers-reduced-motion: no-preference) {
  .app-step.is-active { animation: step-in 0.35s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
}
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* Results */
.res-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px 28px; }
.res-top .text-link { background: none; border: 0; padding: 0; font-family: var(--sans); cursor: pointer; }

.score {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: clamp(26px, 4vw, 40px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.score-ring { position: relative; width: 180px; height: 180px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.15); stroke-width: 10; }
.ring { fill: none; stroke: var(--white); stroke-width: 10; stroke-linecap: butt; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s cubic-bezier(0.2, 0.7, 0.1, 1); }
.score-num { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 58px; }
.score-num span { font-size: 3.4rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.score-num small { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); margin-left: 2px; }
.score-label { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.score-tier { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95; margin: 4px 0 8px; }
.pillars { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.pillar-top { display: flex; justify-content: space-between; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; }
.bar { height: 6px; margin: 8px 0; background: rgba(255, 255, 255, 0.15); }
.bar i { display: block; height: 100%; width: 0; background: var(--white); transition: width 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) 0.2s; }
.pillars p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.score-how { margin-top: 18px; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.65); }
.score-how summary { cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.score-how p { margin-top: 8px; max-width: 70ch; }

.num-prompt { margin-top: clamp(24px, 3vw, 36px); padding: clamp(18px, 3vw, 28px); border: 1px dashed rgba(255, 255, 255, 0.6); }
.num-prompt h3 { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.num-prompt p { margin: 8px 0 16px; color: rgba(255, 255, 255, 0.8); max-width: 60ch; }

.math-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.math-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.25); }
.mc-label { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.mc-big { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.mc-big small, .mc-big2 small { font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.7); }
.math-card > p:not([class]) { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); }
.mc-how { margin-top: auto; padding-top: 6px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.whatif { margin-top: 4px; padding: 12px; background: var(--white); color: var(--black); }
.whatif label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.whatif input { width: 100%; accent-color: var(--black); }
.whatif .mc-big2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.whatif .mc-big2 small { color: var(--muted); }

@media (max-width: 960px) {
  .math-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .num-grid { grid-template-columns: 1fr; }
  .score { grid-template-columns: 1fr; justify-items: start; }
  .pillars { grid-template-columns: 1fr; }
  .math-grid { grid-template-columns: 1fr; }
  .spike-app { border: 0; padding: 0; }
}

/* ---------- Motion ----------
   One load moment (the hero), scroll-linked reveals that follow the reader,
   and small responses to hover. All of it is off for reduced-motion visitors. */

@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes soft-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }
@keyframes wipe-up {
  from { clip-path: inset(-0.2em -0.2em 100% -0.2em); transform: translateY(0.3em); }
  to { clip-path: inset(-0.2em -0.2em -0.2em -0.2em); transform: none; }
}
@keyframes hero-out { to { transform: translateY(-12vh); } }
@keyframes spike {
  0% { transform: none; }
  35% { transform: translateY(-0.13em); }
  100% { transform: none; }
}

.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero-title .ln > span { display: block; }

@media (prefers-reduced-motion: no-preference) {
  /* Homepage load: video settles, headline lines rise out of their masks, then the rest */
  .hero-media { animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero-title .ln > span { animation: line-up 1s cubic-bezier(0.2, 0.75, 0.1, 1) both; }
  .hero-title .ln:nth-child(1) > span { animation-delay: 0.15s; }
  .hero-title .ln:nth-child(2) > span { animation-delay: 0.28s; }
  .hero-video .lede { animation: soft-in 0.8s ease 0.75s both; }
  .hero-actions { animation: soft-in 0.8s ease 0.88s both; }

  /* Inner pages: the title wipes up into view */
  .page-hero h1 { animation: wipe-up 1s cubic-bezier(0.2, 0.75, 0.1, 1) 0.08s both; }
  .page-hero .lede { animation: soft-in 0.8s ease 0.5s both; }

  /* Footer wordmark: letters spike up in a wave on hover */
  @media (hover: hover) {
    .footer-mark:hover .ch { animation: spike 0.65s cubic-bezier(0.3, 0.7, 0.3, 1) both; animation-delay: calc(var(--i) * 45ms); }
  }

  /* Smooth fade between pages, where the browser supports it */
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.3s; }
}

/* As you scroll, the hero copy lifts away (scroll-linked, where supported) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-video-inner {
      animation: hero-out linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 85vh;
    }
  }
}

/* Statement words light up as you read down (opacity set by site.js) */
.statement .w { transition: opacity 0.2s linear; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Burgundy layer ----------
   One color, used for depth and for action. Everything else stays black and white. */

::selection { background: var(--wine); color: var(--white); }

/* Primary buttons are burgundy, with a black wipe on hover */
.btn { --bg: var(--wine); --fg: var(--white); --bd: var(--wine); --hbg: var(--black); --hfg: var(--white); }
/* Light buttons sit on dark or burgundy sections, so they stay white */
.btn.btn-light { --bg: var(--white); --fg: var(--black); --bd: var(--white); --hbg: var(--black); --hfg: var(--white); }
/* The header button swaps from white to burgundy as you scroll past the video: no fade, so the text never goes dark-on-dark */
.site-header .btn { transition: none; }
.cta-band .btn-light,
.gate-form .btn { --bg: var(--wine); --fg: var(--white); --bd: var(--wine); --hbg: var(--black); --hfg: var(--white); }

/* Dark sections: deep burgundy lit from one corner, like light on paint */
.services,
.plan-panel {
  background:
    radial-gradient(85% 70% at 88% 0%, rgba(92, 21, 39, 0.85) 0%, rgba(92, 21, 39, 0) 62%),
    radial-gradient(60% 55% at 0% 100%, rgba(92, 21, 39, 0.45) 0%, rgba(92, 21, 39, 0) 65%),
    var(--wine-deep);
}

/* Hero: the shade behind the headline carries a hint of burgundy instead of flat black */
.hero-video::after {
  background:
    radial-gradient(70% 60% at 10% 92%, rgba(58, 11, 22, 0.6) 0%, rgba(58, 11, 22, 0) 70%),
    linear-gradient(to right, rgba(20, 4, 8, 0.45) 0%, rgba(20, 4, 8, 0.15) 50%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(to top, rgba(20, 4, 8, 0.78) 0%, rgba(20, 4, 8, 0.4) 35%, rgba(0, 0, 0, 0.05) 65%, rgba(0, 0, 0, 0) 100%);
}

/* Choices you've made */
.chip-row label:has(input:checked),
.check-options label:has(input:checked) { background: var(--wine); border-color: var(--wine); color: var(--white); }

/* Planner app */
.app-progress i { background: var(--wine); }
.app-live { background: linear-gradient(120deg, var(--wine) 0%, var(--wine-deep) 100%); }


@media print {
  .services, .plan-panel { background: #fff !important; }
}

/* ---------- Signature: the spike horizon ----------
   Where white meets burgundy, the edge is a spike line whose floor rises left to right.
   Burgundy surfaces get a fine grain like lacquer, and on a computer a soft light follows the cursor. */

@property --lit { syntax: "<number>"; inherits: false; initial-value: 0; }

:root { --edge-h: clamp(64px, 9vw, 140px); }

.services,
.plan-panel,
.plan-preview,
.rc-front,
.pitch-card,
.site-footer {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(520px circle at var(--mx, 70%) var(--my, 20%), rgba(150, 38, 62, calc(0.42 * var(--lit))), rgba(150, 38, 62, 0) 62%),
    radial-gradient(85% 70% at 88% 0%, rgba(92, 21, 39, 0.85) 0%, rgba(92, 21, 39, 0) 62%),
    radial-gradient(60% 55% at 0% 100%, rgba(92, 21, 39, 0.45) 0%, rgba(92, 21, 39, 0) 65%),
    var(--wine-deep);
  transition: --lit 0.5s ease;
}
.services.is-lit,
.plan-panel.is-lit,
.plan-preview.is-lit,
.pitch-card.is-lit,
.site-footer.is-lit { --lit: 1; }

/* Fine grain over the burgundy */
.services::after,
.plan-panel::after,
.plan-preview::after,
.rc-front::after,
.pitch-card::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.16;
  mix-blend-mode: soft-light;
}

.services { padding-top: calc(var(--section) + var(--edge-h) * 0.55); }

/* Footer: the page ends on burgundy */
.site-footer {
  color: var(--white);
  border-top: 0;
  padding-top: calc(var(--edge-h) + clamp(28px, 4vw, 56px));
}
.site-footer :focus-visible { outline-color: var(--white); }
.footer-label { color: rgba(255, 255, 255, 0.6); }
.footer-bottom { color: rgba(255, 255, 255, 0.6); border-top-color: rgba(255, 255, 255, 0.22); }

/* The CTA band hands straight over to the footer's horizon */
.cta-band { padding-bottom: clamp(24px, 4vw, 48px); }


/* ---------- The spike horizon (inline SVG, drawn by build.py) ---------- */
.horizon {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: var(--edge-h);
  overflow: hidden;
  overflow: clip visible;
  z-index: -1;
  pointer-events: none;
}
/* On narrow screens the horizon keeps its proportions and shows the tallest spikes on the right */
.hz-track {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: max(100%, calc(var(--edge-h) * 11.08));
}
.hz-track svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hz-fill { fill: var(--white); }
.hz-line {
  fill: none;
  stroke-width: 1.25;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.6, 0, 0.2, 1);
}
/* The ember on the tallest tip: the next spike */
.hz-dot {
  position: absolute;
  width: clamp(6px, calc(var(--edge-h) * 0.07), 9px);
  height: clamp(6px, calc(var(--edge-h) * 0.07), 9px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #C23A57;
  box-shadow: 0 0 0 2px rgba(194, 58, 87, 0.22), 0 0 16px 3px rgba(194, 58, 87, 0.55);
  transition: opacity 0.6s ease 2.1s, transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 2.1s;
}
.hz-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(194, 58, 87, 0.7);
  opacity: 0;
}
.js .horizon:not(.is-drawn) .hz-line { stroke-dashoffset: 1; }
.js .horizon:not(.is-drawn) .hz-dot { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
@media (prefers-reduced-motion: no-preference) {
  .horizon.is-drawn .hz-dot::after { animation: hz-pulse 3s ease-out 2.8s infinite; }
}
@keyframes hz-pulse {
  0% { transform: scale(0.4); opacity: 0.9; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Footer wordmark: it fills as you reach the end ----------
   An outlined NEXTSPIKE, with a rising fill whose surface is a spike line.
   A blush rim rides on top of the fill. site.js adds .is-full once the wordmark is in view. */
@property --lvl { syntax: "<percentage>"; inherits: true; initial-value: -25%; }
.footer-mark {
  position: relative;
  transition: --lvl 3s cubic-bezier(0.3, 0.15, 0.25, 1) 0.1s;
}
.js .footer-mark { --lvl: 130%; }
.js .footer-mark.is-full { --lvl: -25%; }
.footer-mark .fm { display: block; }
.footer-mark .fm-line {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
}
.footer-mark .fm-rim,
.footer-mark .fm-fill {
  position: absolute;
  inset: 0;
}
.footer-mark .fm-rim { color: #F0C4CE; clip-path: polygon(0.0% calc(var(--lvl) + 3.0%), 1.0% calc(var(--lvl) + 2.9%), 2.0% calc(var(--lvl) + 2.8%), 3.0% calc(var(--lvl) + 2.6%), 3.8% calc(var(--lvl) + 2.5%), 4.0% calc(var(--lvl) + 2.5%), 4.8% calc(var(--lvl) + 2.3%), 5.0% calc(var(--lvl) + 2.1%), 5.6% calc(var(--lvl) + 0.5%), 6.0% calc(var(--lvl) + -1.7%), 6.2% calc(var(--lvl) + -3.0%), 6.6% calc(var(--lvl) + -5.7%), 7.0% calc(var(--lvl) + -6.8%), 7.4% calc(var(--lvl) + -5.7%), 8.0% calc(var(--lvl) + -4.3%), 8.8% calc(var(--lvl) + -2.8%), 9.0% calc(var(--lvl) + -2.5%), 10.0% calc(var(--lvl) + -1.3%), 11.0% calc(var(--lvl) + -0.5%), 12.0% calc(var(--lvl) + 0.1%), 13.0% calc(var(--lvl) + 0.4%), 14.0% calc(var(--lvl) + 0.6%), 15.0% calc(var(--lvl) + 0.7%), 16.0% calc(var(--lvl) + 0.7%), 17.0% calc(var(--lvl) + 0.7%), 17.8% calc(var(--lvl) + 0.7%), 18.0% calc(var(--lvl) + 0.7%), 18.8% calc(var(--lvl) + 0.4%), 19.0% calc(var(--lvl) + 0.2%), 19.6% calc(var(--lvl) + -1.7%), 20.0% calc(var(--lvl) + -4.4%), 20.2% calc(var(--lvl) + -6.1%), 20.6% calc(var(--lvl) + -9.4%), 21.0% calc(var(--lvl) + -10.8%), 21.4% calc(var(--lvl) + -9.3%), 22.0% calc(var(--lvl) + -7.5%), 22.8% calc(var(--lvl) + -5.7%), 23.0% calc(var(--lvl) + -5.3%), 24.0% calc(var(--lvl) + -3.7%), 25.0% calc(var(--lvl) + -2.7%), 26.0% calc(var(--lvl) + -2.0%), 27.0% calc(var(--lvl) + -1.6%), 28.0% calc(var(--lvl) + -1.3%), 29.0% calc(var(--lvl) + -1.1%), 30.0% calc(var(--lvl) + -1.1%), 31.0% calc(var(--lvl) + -1.0%), 31.8% calc(var(--lvl) + -1.1%), 32.0% calc(var(--lvl) + -1.1%), 32.8% calc(var(--lvl) + -1.3%), 33.0% calc(var(--lvl) + -1.6%), 33.6% calc(var(--lvl) + -3.8%), 34.0% calc(var(--lvl) + -7.1%), 34.2% calc(var(--lvl) + -9.1%), 34.6% calc(var(--lvl) + -13.0%), 35.0% calc(var(--lvl) + -14.7%), 35.4% calc(var(--lvl) + -12.9%), 36.0% calc(var(--lvl) + -10.7%), 36.8% calc(var(--lvl) + -8.5%), 37.0% calc(var(--lvl) + -8.0%), 38.0% calc(var(--lvl) + -6.2%), 39.0% calc(var(--lvl) + -4.9%), 40.0% calc(var(--lvl) + -4.1%), 41.0% calc(var(--lvl) + -3.5%), 42.0% calc(var(--lvl) + -3.1%), 43.0% calc(var(--lvl) + -2.9%), 44.0% calc(var(--lvl) + -2.8%), 45.0% calc(var(--lvl) + -2.8%), 45.8% calc(var(--lvl) + -2.8%), 46.0% calc(var(--lvl) + -2.8%), 46.8% calc(var(--lvl) + -3.1%), 47.0% calc(var(--lvl) + -3.4%), 47.6% calc(var(--lvl) + -5.9%), 48.0% calc(var(--lvl) + -9.7%), 48.2% calc(var(--lvl) + -12.1%), 48.6% calc(var(--lvl) + -16.6%), 49.0% calc(var(--lvl) + -18.6%), 49.4% calc(var(--lvl) + -16.5%), 50.0% calc(var(--lvl) + -14.0%), 50.8% calc(var(--lvl) + -11.3%), 51.0% calc(var(--lvl) + -10.8%), 52.0% calc(var(--lvl) + -8.6%), 53.0% calc(var(--lvl) + -7.1%), 54.0% calc(var(--lvl) + -6.1%), 55.0% calc(var(--lvl) + -5.4%), 56.0% calc(var(--lvl) + -5.0%), 57.0% calc(var(--lvl) + -4.7%), 58.0% calc(var(--lvl) + -4.6%), 59.0% calc(var(--lvl) + -4.5%), 59.8% calc(var(--lvl) + -4.5%), 60.0% calc(var(--lvl) + -4.5%), 60.8% calc(var(--lvl) + -4.9%), 61.0% calc(var(--lvl) + -5.2%), 61.6% calc(var(--lvl) + -8.1%), 62.0% calc(var(--lvl) + -12.4%), 62.2% calc(var(--lvl) + -15.1%), 62.6% calc(var(--lvl) + -20.2%), 63.0% calc(var(--lvl) + -22.5%), 63.4% calc(var(--lvl) + -20.1%), 64.0% calc(var(--lvl) + -17.2%), 64.8% calc(var(--lvl) + -14.2%), 65.0% calc(var(--lvl) + -13.6%), 66.0% calc(var(--lvl) + -11.1%), 67.0% calc(var(--lvl) + -9.3%), 68.0% calc(var(--lvl) + -8.2%), 69.0% calc(var(--lvl) + -7.4%), 70.0% calc(var(--lvl) + -6.9%), 71.0% calc(var(--lvl) + -6.5%), 72.0% calc(var(--lvl) + -6.4%), 73.0% calc(var(--lvl) + -6.3%), 73.8% calc(var(--lvl) + -6.2%), 74.0% calc(var(--lvl) + -6.2%), 74.8% calc(var(--lvl) + -6.6%), 75.0% calc(var(--lvl) + -7.0%), 75.6% calc(var(--lvl) + -10.2%), 76.0% calc(var(--lvl) + -15.0%), 76.2% calc(var(--lvl) + -18.1%), 76.6% calc(var(--lvl) + -23.9%), 77.0% calc(var(--lvl) + -26.4%), 77.4% calc(var(--lvl) + -23.7%), 78.0% calc(var(--lvl) + -20.4%), 78.8% calc(var(--lvl) + -17.0%), 79.0% calc(var(--lvl) + -16.3%), 80.0% calc(var(--lvl) + -13.5%), 81.0% calc(var(--lvl) + -11.5%), 82.0% calc(var(--lvl) + -10.2%), 83.0% calc(var(--lvl) + -9.3%), 84.0% calc(var(--lvl) + -8.7%), 85.0% calc(var(--lvl) + -8.4%), 86.0% calc(var(--lvl) + -8.1%), 87.0% calc(var(--lvl) + -8.0%), 87.8% calc(var(--lvl) + -8.0%), 88.0% calc(var(--lvl) + -8.0%), 88.8% calc(var(--lvl) + -8.4%), 89.0% calc(var(--lvl) + -8.8%), 89.6% calc(var(--lvl) + -12.4%), 90.0% calc(var(--lvl) + -17.7%), 90.2% calc(var(--lvl) + -21.1%), 90.6% calc(var(--lvl) + -27.5%), 91.0% calc(var(--lvl) + -30.3%), 91.4% calc(var(--lvl) + -27.3%), 92.0% calc(var(--lvl) + -23.7%), 92.8% calc(var(--lvl) + -19.9%), 93.0% calc(var(--lvl) + -19.1%), 94.0% calc(var(--lvl) + -15.9%), 95.0% calc(var(--lvl) + -13.8%), 96.0% calc(var(--lvl) + -12.3%), 97.0% calc(var(--lvl) + -11.3%), 98.0% calc(var(--lvl) + -10.6%), 99.0% calc(var(--lvl) + -10.2%), 100.0% calc(var(--lvl) + -9.9%), 100% 400%, 0% 400%); }
.footer-mark .fm-fill { color: var(--white); clip-path: polygon(0.0% calc(var(--lvl) + 6.0%), 1.0% calc(var(--lvl) + 5.9%), 2.0% calc(var(--lvl) + 5.8%), 3.0% calc(var(--lvl) + 5.6%), 3.8% calc(var(--lvl) + 5.5%), 4.0% calc(var(--lvl) + 5.5%), 4.8% calc(var(--lvl) + 5.3%), 5.0% calc(var(--lvl) + 5.1%), 5.6% calc(var(--lvl) + 3.5%), 6.0% calc(var(--lvl) + 1.3%), 6.2% calc(var(--lvl) + -0.0%), 6.6% calc(var(--lvl) + -2.7%), 7.0% calc(var(--lvl) + -3.8%), 7.4% calc(var(--lvl) + -2.7%), 8.0% calc(var(--lvl) + -1.3%), 8.8% calc(var(--lvl) + 0.2%), 9.0% calc(var(--lvl) + 0.5%), 10.0% calc(var(--lvl) + 1.7%), 11.0% calc(var(--lvl) + 2.5%), 12.0% calc(var(--lvl) + 3.1%), 13.0% calc(var(--lvl) + 3.4%), 14.0% calc(var(--lvl) + 3.6%), 15.0% calc(var(--lvl) + 3.7%), 16.0% calc(var(--lvl) + 3.7%), 17.0% calc(var(--lvl) + 3.7%), 17.8% calc(var(--lvl) + 3.7%), 18.0% calc(var(--lvl) + 3.7%), 18.8% calc(var(--lvl) + 3.4%), 19.0% calc(var(--lvl) + 3.2%), 19.6% calc(var(--lvl) + 1.3%), 20.0% calc(var(--lvl) + -1.4%), 20.2% calc(var(--lvl) + -3.1%), 20.6% calc(var(--lvl) + -6.4%), 21.0% calc(var(--lvl) + -7.8%), 21.4% calc(var(--lvl) + -6.3%), 22.0% calc(var(--lvl) + -4.5%), 22.8% calc(var(--lvl) + -2.7%), 23.0% calc(var(--lvl) + -2.3%), 24.0% calc(var(--lvl) + -0.7%), 25.0% calc(var(--lvl) + 0.3%), 26.0% calc(var(--lvl) + 1.0%), 27.0% calc(var(--lvl) + 1.4%), 28.0% calc(var(--lvl) + 1.7%), 29.0% calc(var(--lvl) + 1.9%), 30.0% calc(var(--lvl) + 1.9%), 31.0% calc(var(--lvl) + 2.0%), 31.8% calc(var(--lvl) + 1.9%), 32.0% calc(var(--lvl) + 1.9%), 32.8% calc(var(--lvl) + 1.7%), 33.0% calc(var(--lvl) + 1.4%), 33.6% calc(var(--lvl) + -0.8%), 34.0% calc(var(--lvl) + -4.1%), 34.2% calc(var(--lvl) + -6.1%), 34.6% calc(var(--lvl) + -10.0%), 35.0% calc(var(--lvl) + -11.7%), 35.4% calc(var(--lvl) + -9.9%), 36.0% calc(var(--lvl) + -7.7%), 36.8% calc(var(--lvl) + -5.5%), 37.0% calc(var(--lvl) + -5.0%), 38.0% calc(var(--lvl) + -3.2%), 39.0% calc(var(--lvl) + -1.9%), 40.0% calc(var(--lvl) + -1.1%), 41.0% calc(var(--lvl) + -0.5%), 42.0% calc(var(--lvl) + -0.1%), 43.0% calc(var(--lvl) + 0.1%), 44.0% calc(var(--lvl) + 0.2%), 45.0% calc(var(--lvl) + 0.2%), 45.8% calc(var(--lvl) + 0.2%), 46.0% calc(var(--lvl) + 0.2%), 46.8% calc(var(--lvl) + -0.1%), 47.0% calc(var(--lvl) + -0.4%), 47.6% calc(var(--lvl) + -2.9%), 48.0% calc(var(--lvl) + -6.7%), 48.2% calc(var(--lvl) + -9.1%), 48.6% calc(var(--lvl) + -13.6%), 49.0% calc(var(--lvl) + -15.6%), 49.4% calc(var(--lvl) + -13.5%), 50.0% calc(var(--lvl) + -11.0%), 50.8% calc(var(--lvl) + -8.3%), 51.0% calc(var(--lvl) + -7.8%), 52.0% calc(var(--lvl) + -5.6%), 53.0% calc(var(--lvl) + -4.1%), 54.0% calc(var(--lvl) + -3.1%), 55.0% calc(var(--lvl) + -2.4%), 56.0% calc(var(--lvl) + -2.0%), 57.0% calc(var(--lvl) + -1.7%), 58.0% calc(var(--lvl) + -1.6%), 59.0% calc(var(--lvl) + -1.5%), 59.8% calc(var(--lvl) + -1.5%), 60.0% calc(var(--lvl) + -1.5%), 60.8% calc(var(--lvl) + -1.9%), 61.0% calc(var(--lvl) + -2.2%), 61.6% calc(var(--lvl) + -5.1%), 62.0% calc(var(--lvl) + -9.4%), 62.2% calc(var(--lvl) + -12.1%), 62.6% calc(var(--lvl) + -17.2%), 63.0% calc(var(--lvl) + -19.5%), 63.4% calc(var(--lvl) + -17.1%), 64.0% calc(var(--lvl) + -14.2%), 64.8% calc(var(--lvl) + -11.2%), 65.0% calc(var(--lvl) + -10.6%), 66.0% calc(var(--lvl) + -8.1%), 67.0% calc(var(--lvl) + -6.3%), 68.0% calc(var(--lvl) + -5.2%), 69.0% calc(var(--lvl) + -4.4%), 70.0% calc(var(--lvl) + -3.9%), 71.0% calc(var(--lvl) + -3.5%), 72.0% calc(var(--lvl) + -3.4%), 73.0% calc(var(--lvl) + -3.3%), 73.8% calc(var(--lvl) + -3.2%), 74.0% calc(var(--lvl) + -3.2%), 74.8% calc(var(--lvl) + -3.6%), 75.0% calc(var(--lvl) + -4.0%), 75.6% calc(var(--lvl) + -7.2%), 76.0% calc(var(--lvl) + -12.0%), 76.2% calc(var(--lvl) + -15.1%), 76.6% calc(var(--lvl) + -20.9%), 77.0% calc(var(--lvl) + -23.4%), 77.4% calc(var(--lvl) + -20.7%), 78.0% calc(var(--lvl) + -17.4%), 78.8% calc(var(--lvl) + -14.0%), 79.0% calc(var(--lvl) + -13.3%), 80.0% calc(var(--lvl) + -10.5%), 81.0% calc(var(--lvl) + -8.5%), 82.0% calc(var(--lvl) + -7.2%), 83.0% calc(var(--lvl) + -6.3%), 84.0% calc(var(--lvl) + -5.7%), 85.0% calc(var(--lvl) + -5.4%), 86.0% calc(var(--lvl) + -5.1%), 87.0% calc(var(--lvl) + -5.0%), 87.8% calc(var(--lvl) + -5.0%), 88.0% calc(var(--lvl) + -5.0%), 88.8% calc(var(--lvl) + -5.4%), 89.0% calc(var(--lvl) + -5.8%), 89.6% calc(var(--lvl) + -9.4%), 90.0% calc(var(--lvl) + -14.7%), 90.2% calc(var(--lvl) + -18.1%), 90.6% calc(var(--lvl) + -24.5%), 91.0% calc(var(--lvl) + -27.3%), 91.4% calc(var(--lvl) + -24.3%), 92.0% calc(var(--lvl) + -20.7%), 92.8% calc(var(--lvl) + -16.9%), 93.0% calc(var(--lvl) + -16.1%), 94.0% calc(var(--lvl) + -12.9%), 95.0% calc(var(--lvl) + -10.8%), 96.0% calc(var(--lvl) + -9.3%), 97.0% calc(var(--lvl) + -8.3%), 98.0% calc(var(--lvl) + -7.6%), 99.0% calc(var(--lvl) + -7.2%), 100.0% calc(var(--lvl) + -6.9%), 100% 400%, 0% 400%); }

@media print {
  .horizon { display: none; }
  .footer-mark .fm-line { color: #000; -webkit-text-stroke: 0; }
  .footer-mark .fm-rim, .footer-mark .fm-fill { display: none; }
}

/* ---------- Final polish ---------- */

/* Short pages: the footer always reaches the bottom of the screen */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* No lone last words */
h1:not(.hero-title), h2:not(.statement) { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* The sticky header gets a hairline once the page moves */
.site-header { transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12); }
.is-home .site-header:not(.is-solid) { box-shadow: none; }

/* Jump targets land below the header */
#what-we-do, #spike-app, #plan { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Touch targets: 44px minimum */
.menu-toggle { min-height: 44px; }
.video-toggle { min-height: 44px; padding: 0 14px; }
@media (max-width: 760px) {
  .footer-nav { gap: 0 28px; }
  .footer-nav a { display: inline-block; padding: 13px 0; }
  .footer-bottom a { display: inline-block; padding: 14px 0; }
  .hero-actions .text-link { padding: 13px 0; }
  .wordmark { padding: 13px 0; }
}

/* Video control sits on the content grid, level with the hero buttons */
@media (min-width: 641px) {
  .video-toggle,
  .is-home .video-toggle { top: auto; bottom: clamp(36px, 6vw, 80px); right: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
}

/* CTA buttons keep their natural width on phones, like every other button */
.cta-inner .btn { justify-self: start; }

/* Short pages line up with the rest of the site instead of centring */
.wrap.narrow { max-width: calc(var(--maxw) + var(--gutter) * 2); }
.wrap.narrow > * { max-width: 780px; }

/* Contact form: each field says what's missing, not just a red border */
.field { align-content: start; }
.field-error { display: none; margin: 0; color: #b3261e; font-size: 0.875rem; }
.field:has(:user-invalid) .field-error { display: block; }

/* Planner */
.app-live, .app-hint { max-width: none; }
.num-wrap input::placeholder { color: #9b9b9b; font-weight: 400; }
.plan-h { font-size: clamp(1.1rem, 1.6vw, 1.375rem); }
.plan-h + .plan-list { margin-top: 16px; border-top: 0; }
.math-grid + .whatif {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 32px;
  margin-top: 14px;
  padding: 18px 20px;
}
.math-grid + .whatif label { font-size: 1rem; }
.math-grid + .whatif .mc-big2 { margin: 0; }
@media (max-width: 640px) { .math-grid + .whatif { grid-template-columns: 1fr; } }
.gate-error { margin: 10px 0 0; }
.gate-fields input[aria-invalid="true"] { border-color: #b3261e; }

/* Phones: the video control becomes a quiet square icon, level with the hero buttons */
@media (max-width: 640px) {
  .video-toggle,
  .is-home .video-toggle {
    top: auto;
    bottom: clamp(36px, 6vw, 80px);
    right: var(--gutter);
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0;
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
  }
  .video-toggle::before { content: ""; display: block; margin: auto; }
  .video-toggle[aria-label^="Pause"]::before { width: 10px; height: 13px; border-left: 3px solid var(--white); border-right: 3px solid var(--white); }
  .video-toggle[aria-label^="Play"]::before { width: 0; height: 0; margin-left: 17px; border-left: 11px solid var(--white); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
  .is-home .hero-actions { padding-right: 56px; }
}

/* ---------- Planner: the live preview and the needle progress ---------- */
.planner-stage { display: grid; gap: clamp(16px, 2vw, 24px); }
.plan-preview { display: none; }
@media (min-width: 1000px) {
  .planner-stage { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); align-items: stretch; }
  .planner-stage .spike-app { max-width: none; }
  .plan-preview { display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 24px; color: var(--white); overflow: hidden; }
}
.pv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pv-label { margin: 0; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.pv-step:empty { display: none; }
.pv-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pv-grid { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.pv-base { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
.pv-ghost { fill: none; stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.5; stroke-dasharray: 1.5 5; stroke-linecap: round; }
.pv-area { fill: url(#pv-fill); }
.pv-line { fill: none; stroke: var(--white); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.pv-ember { fill: #C23A57; stroke: var(--white); stroke-width: 1.5; }
.pv-halo { fill: rgba(194, 58, 87, 0.45); transform-box: fill-box; transform-origin: center; }
.pv-tag { opacity: 0; transition: opacity 0.35s ease; }
.pv-tag.is-on { opacity: 1; }
.pv-name { fill: var(--white); font: 600 11px var(--sans); letter-spacing: 0.02em; }
.pv-lead { stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; stroke-dasharray: 2 3; }
.pv-wk { fill: rgba(255, 255, 255, 0.55); font: 500 10.5px var(--sans); text-transform: uppercase; }
.pv-picks { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.pv-picks div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.pv-picks dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.pv-picks dd { margin: 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.38); transition: color 0.3s ease; }
.pv-picks .is-set dd { color: var(--white); }
.pv-picks .is-set dd::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  vertical-align: 2px;
  border-radius: 50%;
  background: #C23A57;
  box-shadow: 0 0 8px 1px rgba(194, 58, 87, 0.85);
}
.pv-foot { margin: auto 0 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

/* Progress: seven needles, each taller than the last */
.app-progress {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  height: 40px;
  background: none;
  border-bottom: 1px solid #d4d4d4;
}
.app-progress .pn { position: relative; justify-self: center; width: 14px; height: var(--h); color: #d4d4d4; transition: color 0.4s ease; }
.app-progress .pn svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.app-progress .pn.is-done,
.app-progress .pn.is-now { color: var(--wine); }
.app-progress .pn.is-now::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #C23A57;
  box-shadow: 0 0 0 2px var(--white), 0 0 12px 3px rgba(194, 58, 87, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .pv-halo { animation: pv-pulse 2.6s ease-out infinite; }
  .app-progress .pn.is-now::after { animation: pn-in 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
}
@keyframes pv-pulse { 0% { transform: scale(0.45); opacity: 0.9; } 80%, 100% { transform: scale(2); opacity: 0; } }
@keyframes pn-in { from { transform: scale(0.2); opacity: 0; } }

@media print { .planner-stage { display: none !important; } }

/* ---------- Planner results: premium graphics ---------- */
/* Score gauge: ticks lit to the score, a blush-to-white arc, an ember at its tip */
.score { grid-template-columns: 200px minmax(0, 1fr); }
.score-ring { width: 200px; height: 200px; }
.score-num { padding-top: 66px; }
.score-ring .ring-bg { stroke: rgba(255, 255, 255, 0.1); stroke-width: 9; }
.score-ring .ring { stroke: url(#ring-grad); stroke-width: 9; }
.score-ring .tk { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.score-ring .tk.major { stroke-width: 1.6; }
.score-ring .tk.on { stroke: rgba(240, 196, 206, 0.8); }
.ring-tip { transform-origin: 60px 60px; transform: rotate(0deg); transition: transform 1.3s cubic-bezier(0.2, 0.7, 0.1, 1); }
.tip-dot { fill: #C23A57; stroke: var(--white); stroke-width: 1.6; }
.tip-halo { fill: rgba(194, 58, 87, 0.42); transform-box: fill-box; transform-origin: center; }

/* Pillar bars: thin, blush to white, with a ringed end cap */
.bar { height: 4px; background: rgba(255, 255, 255, 0.12); }
.bar i { position: relative; background: linear-gradient(90deg, rgba(231, 179, 191, 0.85), var(--white)); }
.bar i::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 2px var(--wine-deep);
}

/* Spike chart: soft area, week grid, ringed markers, ember on the last peak, crosshair */
.plan-chart-svg { position: relative; cursor: crosshair; }
.plan-chart-svg:focus-visible { outline-offset: 6px; }
.plan-chart .grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.plan-chart .area { fill: url(#pc-area); }
.plan-chart .with { stroke-width: 3; }
.plan-chart .mk circle { fill: var(--white); stroke: var(--wine-deep); stroke-width: 2; }
.plan-chart .mk circle.ember { fill: #C23A57; stroke: var(--white); stroke-width: 1.6; }
.plan-chart .mk circle.halo { fill: rgba(194, 58, 87, 0.45); stroke: none; transform-box: fill-box; transform-origin: center; }
.plan-chart .wk { font: 500 11px var(--sans); }
.cross-line { stroke: rgba(255, 255, 255, 0.6); stroke-width: 1; stroke-dasharray: 2 3; }
.cross-dot { fill: var(--white); stroke: var(--wine-deep); stroke-width: 2; }
.pc-tip {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 150px;
  max-width: 250px;
  padding: 10px 12px 11px;
  background: var(--white);
  color: var(--black);
  font-size: 0.8125rem;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(10, 2, 4, 0.4);
}
.pc-tip b { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.pc-tip strong { font-weight: 700; }

/* Plan at a glance: a needle for every unit */
.plan-glance dd .pips { display: flex; flex-wrap: wrap; gap: 3px; max-width: 170px; margin-top: 12px; }
.plan-glance dd .pips i { width: 5px; height: 13px; background: rgba(255, 255, 255, 0.75); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Week by week: hatched prep, blush-white go with an ember, dashed recap */
.cal-prep,
.cal-legend .k-prep::before {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.36) 0 1.5px, rgba(255, 255, 255, 0) 1.5px 5px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.cal-go,
.cal-legend .k-go::before { background: linear-gradient(90deg, var(--white) 0%, #F4D3DA 100%); }
.cal-go { position: relative; }
.cal-go b { position: absolute; left: 5px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #C23A57; }
.cal-row:not(.cal-head) { transition: background-color 0.2s ease; }
@media (hover: hover) { .cal-row:not(.cal-head):hover { background: rgba(255, 255, 255, 0.04); } }

@media (prefers-reduced-motion: no-preference) {
  .plan-chart .area { opacity: 0; animation: note-in 0.9s ease 1.2s forwards; }
  .plan-chart .mk circle.halo,
  .tip-halo { animation: pv-pulse 2.6s ease-out 1.8s infinite; }
}

@media print {
  .pc-tip, .cross { display: none !important; }
  .plan-panel .score-ring .ring { stroke: #000; }
  .plan-panel .score-ring .tk { stroke: #ddd; }
  .plan-panel .score-ring .tk.on { stroke: #000; }
  .plan-panel .bar i::after { background: #000; box-shadow: none; }
  .plan-panel .plan-chart .mk circle { fill: #000; stroke: #fff; }
  .plan-panel .plan-chart .mk circle.ember { fill: #C23A57; }
  .plan-panel .plan-glance dd .pips i { background: #000; }
  .plan-panel .cal-prep, .plan-panel .cal-legend .k-prep::before { background: repeating-linear-gradient(135deg, #888 0 1.5px, #fff 1.5px 5px); box-shadow: inset 0 0 0 1px #888; }
  .plan-panel .cal-go, .plan-panel .cal-legend .k-go::before { background: #000; }
}

@media (max-width: 640px) {
  .score { grid-template-columns: 1fr; }
  .score-ring { width: 184px; height: 184px; }
  .score-num { padding-top: 61px; }
}

/* ---------- The report cover beside the email form ---------- */
.plan-gate { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px clamp(28px, 4vw, 56px); align-items: center; }
.report-cover { position: relative; width: 210px; aspect-ratio: 0.773; justify-self: center; margin: 14px 26px 14px 0; }
.rc-page { position: absolute; inset: 0; background: var(--white); border: 1px solid #e4e4e4; box-shadow: 0 10px 24px rgba(34, 6, 12, 0.12); }
.rc-back2 { transform: rotate(7deg) translate(16px, 8px); }
.rc-back1 { transform: rotate(3.5deg) translate(8px, 4px); display: grid; align-content: start; gap: 9px; padding: 26% 14% 0; }
.rc-back1 span { height: 4px; background: #ececec; }
.rc-back1 span:nth-child(2) { width: 80%; }
.rc-back1 span:nth-child(4) { width: 64%; }
.rc-front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 15px;
  color: var(--white);
  transform: rotate(-2.5deg);
  box-shadow: 0 26px 50px -14px rgba(34, 6, 12, 0.6), 0 2px 6px rgba(34, 6, 12, 0.35);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (hover: hover) { .plan-gate:hover .rc-front { transform: rotate(0deg) translateY(-6px); } }
.rc-front > * { flex-shrink: 0; }
.rc-mark { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: -0.02em; }
.rc-title { margin: 16px 0 6px; font-size: 28px; font-weight: 800; line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; }
.rc-for { margin: 0; max-width: none; overflow: hidden; font-size: 12px; color: rgba(255, 255, 255, 0.78); white-space: nowrap; text-overflow: ellipsis; }
.rc-score { margin: auto 0 0; font-size: 36px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.rc-score small { margin-left: 2px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.65); }
.rc-score span { display: block; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: #F0C4CE; }
.rc-chart { position: relative; margin: 10px 0 8px; }
.rc-line { display: block; width: 100%; height: 40px; overflow: visible; }
.rc-area { fill: url(#rc-fill); }
.rc-path { fill: none; stroke: var(--white); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rc-ember { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #C23A57; box-shadow: 0 0 0 1.5px var(--white), 0 0 10px 2px rgba(194, 58, 87, 0.7); }
.rc-foot { margin: 0; font-size: 10px; font-weight: 600; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 760px) {
  .plan-gate { grid-template-columns: 1fr; }
  .report-cover { order: -1; width: 180px; margin: 8px 24px 4px 0; }
  .rc-front { padding: 15px 15px 13px; }
  .rc-title { font-size: 23px; margin-top: 12px; }
  .rc-score { font-size: 28px; }
  .rc-line { height: 32px; }
  .rc-chart { margin: 8px 0 6px; }
}

/* ---------- Planner: pick-a-range answers ---------- */
.pick-grid { display: grid; gap: 22px; }
.pick-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.pick-field > .num-label { display: block; margin-bottom: 10px; padding: 0; }
.chip-row-sm { gap: 8px; }
.chip-row-sm label { padding: 8px 12px; font-size: 0.875rem; }
.app-step[data-numbers] .app-live { margin-top: 24px; }

/* ---------- Homepage: plan yours in three taps ---------- */
.teaser { display: none; }
.js .teaser {
  display: block;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.js .chart-cta { display: none; }
.tz-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 20px; }
.tz-title { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.25rem); color: var(--white); }
.tz-progress { display: flex; align-items: flex-end; gap: 12px; height: 30px; margin-left: auto; padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.tz-progress .pn { position: relative; width: 11px; height: var(--h); color: rgba(255, 255, 255, 0.25); transition: color 0.4s ease; }
.tz-progress .pn svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.tz-progress .pn.is-done,
.tz-progress .pn.is-now { color: var(--white); }
.tz-progress .pn.is-now::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #C23A57;
  box-shadow: 0 0 0 1.5px var(--white), 0 0 10px 3px rgba(194, 58, 87, 0.6);
}
.tz-count { min-width: 4.5em; margin: 0; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.tz-q { margin: 0 0 12px; font-size: 1.125rem; color: rgba(255, 255, 255, 0.92); }
.tz-q:focus { outline: none; }
.chip-row.chip-row-light label { border-color: rgba(255, 255, 255, 0.5); color: var(--white); background: transparent; }
@media (hover: hover) { .chip-row.chip-row-light label:hover { background: rgba(255, 255, 255, 0.1); } }
.chip-row.chip-row-light label:has(input:checked) { background: var(--white); border-color: var(--white); color: var(--wine-deep); }
.chip-row.chip-row-light label:has(input:focus-visible) { outline-color: var(--white); }
.tz-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; max-width: none; }
.tz-picks[hidden] { display: none; }
.tz-pick {
  position: relative;
  padding: 7px 11px 7px 25px;
  font: inherit;
  font-size: 0.875rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.tz-pick::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #C23A57; box-shadow: 0 0 8px 1px rgba(194, 58, 87, 0.8); }
@media (hover: hover) { .tz-pick:hover { border-color: rgba(255, 255, 255, 0.6); } }
.tz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.tz-actions .text-link { padding: 0; font-family: var(--sans); background: none; border: 0; cursor: pointer; }
@media (max-width: 640px) {
  .tz-progress { margin-left: 0; }
  .tz-actions .text-link { padding: 13px 0; }
}

/* Their own chart, drawn in place of the example */
.spike-chart .chart-area { fill: url(#yours-area); }
.spike-chart .chart-dot { fill: var(--white); stroke: var(--wine-deep); stroke-width: 2; }
.spike-chart .chart-ember { fill: #C23A57; stroke: var(--white); stroke-width: 1.6; }
.spike-chart .chart-halo { fill: rgba(194, 58, 87, 0.45); transform-box: fill-box; transform-origin: center; }
.spike-chart .chart-lead { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.spike-chart .chart-wk { fill: rgba(255, 255, 255, 0.55); font: 500 11px var(--sans); }
.spike-chart.is-yours .line-with { stroke-width: 3.5; }
@media (prefers-reduced-motion: no-preference) {
  .js .spike-chart.is-yours.in-view .line-with { animation-duration: 1.7s; animation-delay: 0s; }
  .js .spike-chart.is-yours .chart-mark { opacity: 0; animation: note-in 0.45s ease forwards; animation-delay: var(--d, 0.6s); }
  .js .spike-chart.is-yours .chart-mark .chart-note { opacity: 1; animation: none; }
  .js .spike-chart.is-yours .chart-area { opacity: 0; animation: note-in 0.8s ease 1.1s forwards; }
  .spike-chart.is-yours .chart-halo { animation: pv-pulse 2.6s ease-out 1.8s infinite; }
}
.spike-chart.is-static .line-with { animation: none !important; stroke-dashoffset: 0 !important; visibility: visible !important; }
.spike-chart.is-static .chart-mark,
.spike-chart.is-static .chart-note,
.spike-chart.is-static .chart-area { animation: none !important; opacity: 1 !important; }
#planner-stage { scroll-margin-top: calc(var(--header-h) + 16px); }
.spike-chart { scroll-margin-top: calc(var(--header-h) + 28px); }

/* ---------- The pitch card (contact and thank-you) ---------- */
.pitch-card {
  display: block;
  padding: 20px 22px 16px;
  color: var(--white);
  box-shadow: 0 26px 50px -20px rgba(34, 6, 12, 0.6), 0 2px 6px rgba(34, 6, 12, 0.25);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1), opacity 0.5s ease;
}
.pitch-slot .pitch-card { margin-bottom: 30px; }
.pitch-slot-sm:empty { display: none; }
.pc-top { display: flex; align-items: center; gap: 10px; }
.pc-mark { font-size: 12px; font-weight: 900; letter-spacing: -0.02em; }
.pc-badge { padding: 3px 7px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: #F0C4CE; border: 1px solid rgba(240, 196, 206, 0.5); }
.pc-badge[hidden] { display: none; }
.pc-needles { display: flex; align-items: flex-end; gap: 5px; height: 20px; margin-left: auto; }
.pc-needles i { width: 7px; height: var(--h); background: rgba(255, 255, 255, 0.22); clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: background-color 0.3s ease; }
.pc-needles i.is-on { background: var(--white); }
.pc-label { margin: 18px 0 4px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.pc-brand { margin: 0; max-width: none; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.pc-from { margin: 6px 0 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); }
.pitch-card .is-empty { color: rgba(255, 255, 255, 0.36); }
.pc-rows { margin: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.pc-rows div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.pc-rows div[hidden] { display: none; }
.pc-rows dt { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.pc-rows dd { margin: 0; font-size: 0.875rem; }
.pc-needs { display: flex; flex-wrap: wrap; gap: 5px; }
.pc-needs span { padding: 2px 7px; font-size: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.35); }
.pc-msg { margin: 14px 0 0; max-width: none; font-size: 0.9375rem; font-style: italic; line-height: 1.4; color: rgba(255, 255, 255, 0.9); overflow-wrap: anywhere; }
.pc-line { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.pc-base { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.2; }
.pc-draw { fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.7s cubic-bezier(0.2, 0.7, 0.1, 1); }
.pc-ember { fill: #C23A57; stroke: var(--white); stroke-width: 1; opacity: 0; transition: opacity 0.4s ease; }
.pc-halo { fill: rgba(194, 58, 87, 0.45); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pitch-card.is-ready .pc-ember,
.pitch-card.is-ready .pc-halo { opacity: 1; }
.pc-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.pitch-card.is-ready .pc-status { color: #F0C4CE; }
.pc-stamp {
  position: absolute;
  right: 18px;
  top: 50px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F0C4CE;
  border: 2px solid #F0C4CE;
  opacity: 0;
  transform: rotate(-8deg) scale(1.5);
  pointer-events: none;
}
.pitch-card.is-sending .pc-stamp,
.pitch-card.is-received .pc-stamp { opacity: 1; transform: rotate(-8deg) scale(1); transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.pitch-card.is-sending { animation: pc-file 0.55s cubic-bezier(0.6, 0, 0.8, 0.3) 0.3s forwards; }
@keyframes pc-file { to { transform: translateY(-36px) rotate(-3deg) scale(0.96); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .pitch-card.is-ready .pc-halo { animation: pv-pulse 2.6s ease-out infinite; }
}

/* The aside stops following the page when the screen is too short to hold it */
@media (max-height: 880px) { .contact-aside { position: static; } }
@media (max-width: 900px) { .pitch-slot { display: none; } .pitch-slot-sm .pitch-card { margin: 4px 0 6px; } }

/* Thank-you page: the headline and their stamped card side by side */
.thanks-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.thanks-hero .lede { max-width: 46ch; }
.pitch-received[hidden] { display: none; }
.pitch-received .pitch-card { transform: rotate(1.5deg); }
@media (max-width: 860px) { .thanks-hero { grid-template-columns: 1fr; } .pitch-received { max-width: 380px; } }
@media (prefers-reduced-motion: no-preference) {
  .pitch-received .pitch-card { animation: pc-arrive 0.8s cubic-bezier(0.2, 0.7, 0.1, 1) 0.25s both; }
}
@keyframes pc-arrive { from { transform: translateY(26px) rotate(-2deg); opacity: 0; } to { transform: rotate(1.5deg); opacity: 1; } }

@media print { .pitch-slot, .pitch-slot-sm { display: none !important; } }
/* The aside's top rule moves under the card, onto "What happens next" */
@media (min-width: 901px) {
  .contact-aside { border-top: 0; padding-top: 0; }
  .contact-aside > .h3 { padding-top: 18px; border-top: 1px solid var(--black); }
}
@media (max-width: 860px) { .pitch-received .pitch-card { transform: rotate(0.8deg); } }
