/* ==========================================================================
   Skylar - shared styles
   Dark, founder-led, high contrast. One accent (lime), pulled from the
   window behind Skylar in his portrait.

   Mobile-first: base rules are the 375px layout, media queries are
   min-width only. Colors are CSS custom properties so they are
   Slingshot-editable (data-sl-color="<token name without -->").

   Shape rule: buttons are full pills, panels and photos are 24px,
   inputs and option rows are 14px. Nothing else gets a radius.
   ========================================================================== */

:root {
  --brand-ink: #f2f1ec;      /* primary text */
  --brand-bg: #0c0d0f;       /* page background */
  --brand-surface: #16181c;  /* panels, cards, inputs */
  --brand-primary: #d4f24a;  /* lime: CTAs, highlights */
  --brand-muted: #9da1a8;    /* secondary text */
  --brand-line: #272a30;     /* rules, borders */
  --brand-error: #ff8a7a;    /* form validation messages */

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --section-space: clamp(80px, 13vw, 160px);
  --measure: 62ch;
  --nav-height: 64px;
  --radius-panel: 24px;
  --radius-field: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */

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

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--brand-bg);
  color: var(--brand-ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

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

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

::selection {
  background: var(--brand-primary);
  color: var(--brand-bg);
}

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

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: var(--brand-bg);
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

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

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

.section {
  padding-block: var(--section-space);
}

.headline-xl {
  font-size: clamp(2.5rem, 1.4rem + 5.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.headline-lg {
  font-size: clamp(2.125rem, 1.4rem + 3.4vw, 4rem);
}

.headline-md {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
}

.accent-text {
  color: var(--brand-primary);
}

.muted {
  color: var(--brand-muted);
}

.prose {
  max-width: var(--measure);
  color: #d9d9d4;
}

.prose > * + * {
  margin-top: 1.2em;
}

.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  line-height: 1.5;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  color: var(--brand-bg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), filter 0.25s var(--ease-out);
}

.btn::after {
  content: "\2192";
  font-weight: 700;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
}

.btn--dark {
  background: var(--brand-bg);
  color: var(--brand-primary);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--quiet {
  background: transparent;
  color: var(--brand-ink);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.btn--quiet::after,
.btn--plain::after {
  content: none;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(12 13 15 / 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-height);
}

.wordmark {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-decoration: none;
}

a.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

.hero {
  padding-top: clamp(36px, 7vw, 88px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.hero-headline {
  font-size: clamp(2.625rem, 1.6rem + 3.9vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-headline > span,
.thesis-headline > span {
  display: block;
}

.hero-subhead {
  margin-top: 24px;
  max-width: 34ch;
  color: #cfcfca;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4375rem);
  line-height: 1.45;
}

.hero-actions {
  margin-top: 36px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--brand-surface);
  aspect-ratio: 4 / 5;
  max-height: 560px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* ---------- Proof (bento) ---------- */

.proof-headline {
  max-width: 16ch;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 168px;
  padding: 22px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
}

.tile--feature {
  grid-column: 1 / -1;
  min-height: 240px;
  padding: 28px;
  color: var(--brand-bg);
}

.tile-number {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.tile--feature .tile-number {
  font-size: clamp(4.5rem, 2.6rem + 9vw, 9.5rem);
}

.tile-label {
  color: var(--brand-muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.tile--feature .tile-label {
  max-width: 26ch;
  color: rgb(12 13 15 / 0.78);
  font-size: 1.0625rem;
  font-weight: 600;
}

.proof-footer {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* ---------- Thesis (manifesto) ---------- */

.thesis {
  border-top: 1px solid var(--brand-line);
}

.thesis-headline {
  max-width: 11ch;
}

.thesis-body {
  margin-top: clamp(40px, 6vw, 72px);
}

.thesis-body p:last-child {
  color: var(--brand-ink);
  font-weight: 700;
}

/* ---------- Problem (editorial column) ---------- */

.problem {
  background: var(--brand-surface);
}

.problem-inner {
  max-width: 48rem;
}

.problem .headline-lg {
  margin-bottom: 36px;
}

.problem-kicker {
  margin-top: clamp(48px, 8vw, 88px);
  font-size: clamp(1.875rem, 1.2rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

/* ---------- Guide (story + admission callout) ---------- */

.guide-grid {
  display: grid;
  gap: 40px;
}

.guide .headline-lg {
  margin-bottom: 32px;
}

.admission {
  align-self: start;
  padding: 28px;
  border-radius: var(--radius-panel);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.admission-label {
  margin-bottom: 14px;
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 700;
}

.admission-body {
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ---------- Plan (numbered rows) ---------- */

.plan .headline-lg {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.steps {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--brand-line);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  padding-block: 28px;
  border-bottom: 1px solid var(--brand-line);
}

.step-number {
  grid-row: span 2;
  min-width: 2.2ch;
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.step-body {
  max-width: 52ch;
  margin-top: 6px;
  color: var(--brand-muted);
}

/* ---------- Blueprint (feature + list) ---------- */

.blueprint .headline-lg {
  margin-bottom: 18px;
}

.blueprint-intro {
  max-width: 40ch;
  margin-bottom: clamp(36px, 6vw, 64px);
  color: var(--brand-muted);
}

.blueprint-grid {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.deliverable {
  padding: 24px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
}

.deliverable--feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 28px;
  color: var(--brand-bg);
}

.deliverable-tag {
  margin-bottom: auto;
  padding-bottom: 48px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.deliverable-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.deliverable--feature .deliverable-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  letter-spacing: -0.04em;
}

.deliverable-body {
  margin-top: 10px;
  color: var(--brand-muted);
}

.deliverable--feature .deliverable-body {
  max-width: 36ch;
  margin-top: 16px;
  color: rgb(12 13 15 / 0.8);
  font-size: 1.0625rem;
  font-weight: 500;
}

/* ---------- Practice (editorial columns) ---------- */

.practice {
  border-top: 1px solid var(--brand-line);
}

.practice .headline-lg {
  max-width: 14ch;
  margin-bottom: 18px;
}

.practice-intro {
  margin-bottom: clamp(40px, 6vw, 72px);
  color: var(--brand-muted);
}

.examples {
  display: grid;
  gap: 40px;
  list-style: none;
  padding: 0;
}

.example {
  padding-top: 22px;
  border-top: 2px solid var(--brand-ink);
}

.example-title {
  margin-bottom: 12px;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem);
  letter-spacing: -0.03em;
}

.example-body {
  color: #cfcfca;
}

.practice-closing {
  max-width: 30ch;
  margin-top: clamp(56px, 8vw, 96px);
  font-size: clamp(1.625rem, 1.15rem + 2.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* ---------- Fit (comparison panels) ---------- */

.fit .headline-lg {
  margin-bottom: clamp(36px, 6vw, 64px);
}

.fit-grid {
  display: grid;
  gap: 12px;
}

.fit-panel {
  padding: 28px 24px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
}

.fit-panel--yes {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--brand-primary);
}

.fit-heading {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.fit-list {
  list-style: none;
  padding: 0;
}

.fit-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  line-height: 1.45;
}

.fit-list li + li {
  border-top: 1px solid var(--brand-line);
}

.fit-list li::before {
  position: absolute;
  left: 0;
  top: 14px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
}

.fit-list--no li {
  color: var(--brand-muted);
}

.fit-list--no li::before {
  content: "\2715";
  background: var(--brand-line);
  color: var(--brand-muted);
}

.fit-list--yes li::before {
  content: "\2713";
  background: var(--brand-primary);
  color: var(--brand-bg);
}

/* ---------- Commitment (sticky split) ---------- */

.commitment {
  background: var(--brand-surface);
}

.commitment-grid {
  display: grid;
  gap: 32px;
}

.commitment-points {
  display: grid;
  gap: 28px;
}

.commitment-points p {
  padding-left: 20px;
  border-left: 3px solid var(--brand-primary);
  color: #dcdcd7;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

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

.faq .headline-lg {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.faq-list {
  max-width: 52rem;
  border-top: 1px solid var(--brand-line);
}

.faq-item {
  border-bottom: 1px solid var(--brand-line);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 56px 18px 0;
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--brand-line);
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

.faq-item[open] summary::after {
  background: var(--brand-primary);
  box-shadow: none;
  color: var(--brand-bg);
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-width: var(--measure);
  padding-bottom: 26px;
  color: #cfcfca;
}

/* ---------- Final CTA (lime panel + cutout) ---------- */

.cta-section {
  padding-block: clamp(24px, 4vw, 48px) clamp(64px, 9vw, 112px);
}

.cta-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-panel);
  color: var(--brand-bg);
}

.cta-copy {
  position: relative;
  z-index: 1;
  padding: 40px 24px 0;
}

.cta-copy .headline-lg {
  max-width: 13ch;
}

.cta-body {
  max-width: 34ch;
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 500;
}

.cta-copy .btn {
  margin-top: 30px;
}

.cta-note {
  max-width: 36ch;
  margin-top: 16px;
  color: rgb(12 13 15 / 0.72);
  font-size: 0.9375rem;
  font-weight: 600;
}

.cta-portrait {
  justify-self: center;
  width: min(100%, 340px);
  margin-top: 28px;
  margin-bottom: -2px;
}

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

.site-footer {
  padding-top: 48px;
  padding-bottom: calc(48px + 80px + env(safe-area-inset-bottom, 0px)); /* room for sticky bar */
  border-top: 1px solid var(--brand-line);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 14px;
}

.footer-tagline {
  font-weight: 700;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand-muted);
}

.footer-meta {
  color: var(--brand-muted);
}

.site-footer--compact {
  padding-bottom: 48px;
}

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgb(12 13 15 / 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  transform: translateY(110%);
  visibility: hidden;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
}

@media (prefers-reduced-motion: no-preference) {
  .sticky-cta {
    transition: transform 0.35s var(--ease-out), visibility 0.35s;
  }
}

/* ---------- Motion: reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .hero-load > * {
    animation: rise 0.9s var(--ease-out) both;
  }

  .hero-load > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-load > *:nth-child(3) { animation-delay: 0.16s; }

  .hero-media {
    animation: settle 1.1s var(--ease-out) 0.1s both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   apply.html - qualification flow
   ========================================================================== */

.apply-main {
  padding-top: clamp(36px, 8vw, 88px);
  padding-bottom: var(--section-space);
}

.apply-layout {
  display: grid;
  gap: 40px;
}

.apply-headline {
  font-size: clamp(2.375rem, 1.5rem + 3.8vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.apply-subhead {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--brand-muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}

.apply-panel {
  padding: 24px 20px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
}

.progress {
  margin-bottom: 28px;
}

.progress-text {
  color: var(--brand-muted);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--brand-line);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 33.333%;
  border-radius: 999px;
  transition: width 0.5s var(--ease-out);
}

/* No-JS: every step is visible, progress is meaningless */
html:not(.js) .progress,
html:not(.js) .step-nav {
  display: none;
}

html:not(.js) .form-step + .form-step {
  margin-top: 56px;
}

.form-step-title {
  margin-bottom: 26px;
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  letter-spacing: -0.035em;
}

.form-step-title:focus,
.apply-state-title:focus {
  outline: none;
}

.field {
  margin: 0 0 26px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.field-label,
.field legend {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-weight: 700;
  line-height: 1.4;
}

.field-optional {
  color: var(--brand-muted);
  font-weight: 500;
}

.input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #353941;
  border-radius: var(--radius-field);
  background: var(--brand-bg);
  color: var(--brand-ink);
  font: inherit;
  font-size: 1rem; /* 16px minimum prevents iOS zoom */
  line-height: 1.4;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea.input {
  min-height: 116px;
  resize: vertical;
}

.input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgb(212 242 74 / 0.22);
}

.input[aria-invalid="true"] {
  border-color: var(--brand-error);
}

.options {
  display: grid;
  gap: 8px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #353941;
  border-radius: var(--radius-field);
  background: var(--brand-bg);
  cursor: pointer;
  line-height: 1.35;
  transition: border-color 0.2s, background 0.2s;
}

.option:hover {
  border-color: #50555f;
}

.option input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand-primary);
}

.option:has(input:checked) {
  border-color: var(--brand-primary);
  background: rgb(212 242 74 / 0.08);
}

.option:has(input:focus-visible) {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

fieldset[aria-invalid="true"] .option {
  border-color: var(--brand-error);
}

.field-help {
  margin-top: 10px;
  color: var(--brand-muted);
  font-size: 0.9375rem;
}

.field-error {
  margin-top: 8px;
  color: var(--brand-error);
  font-size: 0.9375rem;
  font-weight: 600;
}

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

.step-nav {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  margin-top: 6px;
}

.apply-state-title {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem);
  letter-spacing: -0.045em;
}

.apply-state .text-link {
  margin-top: 24px;
}

.apply-error {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-field);
  box-shadow: inset 0 0 0 1px var(--brand-error);
}

.apply-error .text-link {
  margin-top: 2px;
}

.apply-aside {
  display: none;
}

/* ==========================================================================
   768px and up
   ========================================================================== */

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --nav-height: 72px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }

  .hero-media {
    max-height: none;
  }

  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(200px, auto));
    gap: 16px;
  }

  .tile--feature {
    grid-column: span 2;
    grid-row: span 2;
    padding: 36px;
  }

  .tile {
    padding: 26px;
  }

  .proof-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .thesis-body {
    margin-left: auto;
    max-width: 46rem;
  }

  .guide-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 64px;
    align-items: end;
  }

  .admission {
    padding: 36px;
  }

  .step {
    grid-template-columns: 9rem minmax(0, 18rem) minmax(0, 1fr);
    gap: 32px;
    align-items: baseline;
    padding-block: 36px;
  }

  .step-number {
    grid-row: auto;
  }

  .step-body {
    margin-top: 0;
  }

  .blueprint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .deliverable {
    grid-column: 2;
  }

  .deliverable--feature {
    grid-column: 1;
    grid-row: 1 / span 4;
    min-height: 0;
    padding: 40px;
  }

  .deliverable {
    padding: 28px;
  }

  .examples {
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 40px;
  }

  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .fit-panel {
    padding: 36px;
  }

  .commitment-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }

  .commitment-grid > :first-child {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
  }

  .cta-copy {
    padding: 64px 0 64px 56px;
  }

  .cta-portrait {
    width: min(100%, 420px);
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: auto 1fr repeat(3, auto);
    align-items: center;
    gap: 32px;
  }

  .site-footer {
    padding-bottom: 48px;
  }

  .sticky-cta {
    display: none;
  }

  .apply-panel {
    padding: 40px;
  }

  .step-nav {
    flex-direction: row;
    justify-content: space-between;
  }

  .step-nav .btn--block {
    width: auto;
    min-width: 11rem;
  }

  .step-nav--end {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .apply-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 72px;
    align-items: start;
  }

  .apply-intro {
    position: sticky;
    top: calc(var(--nav-height) + 48px);
  }

  .apply-aside {
    display: block;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--brand-line);
  }

  .apply-aside img {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
    object-position: 50% 22%;
  }

  .apply-aside-text {
    margin-top: 16px;
    max-width: 34ch;
    color: var(--brand-muted);
  }
}

/* ==========================================================================
   Punch list additions
   ========================================================================== */

/* ---------- Shared: in-section CTA ---------- */

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: clamp(32px, 5vw, 48px);
}

.section-cta-note {
  max-width: 36ch;
  color: var(--brand-muted);
  font-size: 0.9375rem;
}

/* ---------- Proof: platform logos ---------- */

.platforms {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.platform {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-surface);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.platform-icon img {
  width: 20px;
  height: 20px;
}

.platform-text {
  color: var(--brand-muted);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.platform-stat {
  color: var(--brand-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Thesis: rent vs equity chart ---------- */

.chart {
  margin-top: clamp(40px, 6vw, 72px);
  padding: 22px 18px 18px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
}

.chart-legend {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.legend-item {
  position: relative;
  padding-left: 30px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.legend-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 20px;
  height: 4px;
  border-radius: 999px;
}

.legend-item--content::before {
  background: var(--brand-primary);
}

.legend-item--ads {
  color: var(--brand-muted);
}

.legend-item--ads::before {
  background: #6d727b;
}

.chart-plot {
  position: relative;
  aspect-ratio: 800 / 340;
}

.chart-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid line {
  stroke: var(--brand-line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.chart-area {
  fill: url(#content-fill);
}

.chart-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line--content {
  stroke: var(--brand-primary);
}

.chart-line--ads {
  stroke: #6d727b;
}

.chart-dot--content {
  fill: var(--brand-primary);
}

.chart-dot--ads {
  fill: var(--brand-bg);
  stroke: #6d727b;
  stroke-width: 3;
}

.chart-flag {
  position: absolute;
  display: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.chart-flag--ads {
  left: 50.5%;
  bottom: 12%;
  background: var(--brand-bg);
  color: var(--brand-muted);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.chart-flag--content {
  right: 4%;
  top: 2%;
  background: var(--brand-primary);
  color: var(--brand-bg);
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--brand-line);
  color: var(--brand-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.chart-caption {
  margin-top: 14px;
  color: #7c8088;
  font-size: 0.8125rem;
}

.thesis-tagline {
  margin-top: clamp(48px, 7vw, 88px);
  color: var(--brand-primary);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

/* Chart draw-in. Only animates when JS marks it ready and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js .chart[data-chart] .chart-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }

  .js .chart[data-chart] .chart-area,
  .js .chart[data-chart] .chart-dot,
  .js .chart[data-chart] .chart-flag {
    opacity: 0;
  }

  .js .chart.is-in .chart-line {
    transition: stroke-dashoffset 2.2s cubic-bezier(0.45, 0, 0.2, 1);
    stroke-dashoffset: 0;
  }

  .js .chart.is-in .chart-line--content {
    transition-delay: 0.35s;
    transition-duration: 2.6s;
  }

  .js .chart.is-in .chart-area {
    opacity: 1;
    transition: opacity 1.2s ease 1.6s;
  }

  .js .chart.is-in .chart-dot--ads,
  .js .chart.is-in .chart-flag--ads {
    opacity: 1;
    transition: opacity 0.5s ease 1.35s;
  }

  .js .chart.is-in .chart-dot--content,
  .js .chart.is-in .chart-flag--content {
    opacity: 1;
    transition: opacity 0.5s ease 2.8s;
  }

  .js .chart.is-in .chart-dot--content {
    animation: pulse 2.4s ease-in-out 3.3s infinite;
    transform-box: fill-box;
    transform-origin: center;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.45); }
}

/* ---------- Problem: output panel ---------- */

.problem-grid {
  display: grid;
  gap: 48px;
}

.output-panel {
  align-self: start;
  padding: 26px 22px 22px;
  border-radius: var(--radius-panel);
  background: var(--brand-bg);
}

.output-number {
  font-size: clamp(3.5rem, 2.4rem + 5vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.output-label {
  max-width: 34ch;
  margin-top: 14px;
  margin-bottom: 22px;
  color: var(--brand-muted);
  font-size: 0.9375rem;
}

.output-grid {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Blueprint: timeline ---------- */

.timeline {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 0;
  list-style: none;
}

.phase-bar {
  display: block;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand-line);
}

.phase--prove .phase-bar {
  background: rgb(212 242 74 / 0.4);
}

.phase--own .phase-bar {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--brand-primary);
}

.phase-when {
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 700;
}

.phase-what {
  margin-top: 4px;
  font-weight: 700;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .chart-flag {
    display: block;
  }
}

@media (min-width: 768px) {
  .platforms {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 28px;
  }

  .proof-footer {
    grid-template-columns: 1fr auto;
  }

  .chart {
    padding: 32px 32px 24px;
  }

  .chart-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .timeline {
    grid-template-columns: 1fr 3.4fr 1.3fr;
    gap: 6px;
  }

  .phase {
    padding-right: 18px;
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
  }

  .output-panel {
    padding: 34px;
  }
}

/* ==========================================================================
   Positioning brief additions
   ========================================================================== */

/* ---------- Proof: brand strip (text marks until logo files are approved) ---------- */

.brands {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--brand-line);
}

.brands-label {
  color: var(--brand-muted);
  font-size: 0.9375rem;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
  list-style: none;
  padding: 0;
}

.brand-mark {
  color: #c9cac5;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* ---------- Guide: team stat ---------- */

.team-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.team-number {
  font-size: clamp(3.5rem, 2.6rem + 4vw, 5.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.team-label {
  max-width: 30ch;
  color: #cfcfca;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Logo wall marquee ---------- */

.logo-wall {
  overflow: hidden;
  padding-block: 36px;
  border-block: 1px solid var(--brand-line);
}

.marquee {
  display: flex;
  width: max-content;
}

.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-item {
  display: flex;
  align-items: center;
  flex: none;
  gap: 12px;
  height: 44px;
  padding-right: clamp(56px, 7vw, 96px);
  opacity: 0.85;
}

.logo-img {
  width: 32px;
  height: 32px;
}

.logo-img--wordmark {
  width: 76px;
  height: 76px;
}

.logo-name {
  color: #d6d7d2;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-wordmark {
  color: #d6d7d2;
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee.is-running {
    animation: marquee 40s linear infinite;
  }

  .logo-wall:hover .marquee.is-running {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    width: auto;
  }

  .marquee-track {
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    row-gap: 16px;
  }

  .logo-wall {
    padding-inline: var(--gutter);
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stories ---------- */

.stories .headline-lg {
  max-width: 16ch;
  margin-bottom: 18px;
}

.stories-intro {
  margin-bottom: clamp(36px, 6vw, 64px);
  color: var(--brand-muted);
}

.story-grid {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.story {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
}

.story-figure {
  margin-bottom: 22px;
  color: var(--brand-primary);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.story-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.story-body {
  margin-top: 10px;
  color: #cfcfca;
}

.story--feature {
  padding: 30px 26px;
  color: var(--brand-bg);
}

.story--feature .story-figure {
  margin-bottom: 18px;
  color: var(--brand-bg);
  font-size: clamp(4.5rem, 2.6rem + 9vw, 9rem);
  line-height: 0.85;
}

.story--feature .story-title {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  letter-spacing: -0.035em;
}

.story--feature .story-body {
  max-width: 46ch;
  color: rgb(12 13 15 / 0.8);
  font-size: 1.0625rem;
  font-weight: 500;
}

/* ---------- Offers ---------- */

.offers .headline-lg {
  margin-bottom: clamp(36px, 6vw, 64px);
}

.offer-grid {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
}

.offer--audit {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--brand-primary);
}

.offer-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--brand-bg);
  font-size: 0.8125rem;
  font-weight: 800;
}

.offer-name {
  font-size: 1.375rem;
  letter-spacing: -0.025em;
}

.offer-price {
  margin-top: 10px;
  font-size: clamp(2.5rem, 1.9rem + 2.6vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.offer-body {
  margin-top: 18px;
  color: #cfcfca;
}

.offer-for {
  margin-top: auto;
  padding-top: 20px;
  color: var(--brand-muted);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .brands {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 40px;
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .story--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 40px;
    padding: 44px;
  }

  .story--feature .story-figure {
    margin-bottom: 0;
  }

  .story {
    padding: 30px;
  }

  .offer-grid {
    grid-template-columns: 1.15fr 1fr 0.9fr;
    gap: 16px;
    align-items: stretch;
  }

  .offer {
    padding: 34px 30px;
  }

  .offer--build {
    padding-top: 44px;
  }
}

/* ==========================================================================
   Industry landing pages (industries/*.html)
   ========================================================================== */

.ind-headline {
  max-width: 18ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.ind-problems {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.ind-problem {
  padding: 24px;
  border-radius: var(--radius-panel);
  background: var(--brand-bg);
}

.ind-problem-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ind-problem-body {
  margin-top: 10px;
  color: #cfcfca;
}

.ind-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.ind-proof-note {
  max-width: 52ch;
  margin-top: 28px;
  color: #cfcfca;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.ind-offer {
  display: grid;
  gap: 24px;
  padding: 28px 24px;
  border-radius: var(--radius-panel);
  box-shadow: inset 0 0 0 2px var(--brand-primary);
}

.ind-offer .section-cta {
  margin-top: 24px;
}

.industries-hero .hero-subhead {
  max-width: 44ch;
}

.industries-list {
  padding-top: 0;
}

.industry-grid {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-panel);
  background: var(--brand-surface);
  transition: box-shadow 0.2s, transform 0.25s var(--ease-out);
}

.industry-card:hover {
  box-shadow: inset 0 0 0 2px var(--brand-primary);
  transform: translateY(-2px);
}

.industry-name {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* Stretch the link over the whole card */
.industry-name::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.industry-name:focus-visible {
  outline: none;
}

.industry-card:has(.industry-name:focus-visible) {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.industry-line {
  color: var(--brand-muted);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .ind-problems {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .ind-problem {
    padding: 30px;
  }

  .ind-format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ind-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .ind-offer {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 48px;
    padding: 44px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
