/* Lemyre Impact — every value derives from DESIGN.md (v2). Change that file first. */

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

:root {
  --brand: #14294b;
  --brand-hover: #0e1f3a;
  --brand-press: #0a172c;
  --navy-band-top: #0e2140;
  --navy-band-bottom: #0a1830;
  --ink: #212836;
  --paper: #ffffff;
  --mist: #f1f4f9;
  --quiet: #53607a;
  --cloud: #c4cfe1;
  --signal: #a15c07;
  --signal-bright: #e4a95f;
  --line: #dde3ec;
  --line-dark: rgba(255, 255, 255, 0.18);
  --field: #7c8aa0;
  --display: Spectral, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --text: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --shadow-card: 0 1px 2px rgba(20, 41, 75, 0.05), 0 12px 32px rgba(20, 41, 75, 0.06);
  --dg-ink: var(--brand);
  --dg-accent: var(--signal);
  color-scheme: light;
}

html {
  overflow-anchor: none;
  scroll-padding-top: 1.5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}

::selection {
  background: var(--brand);
  color: #fff;
}

.band-navy ::selection {
  background: var(--signal-bright);
  color: var(--brand-press);
}

a,
button,
summary,
input,
textarea {
  touch-action: manipulation;
}

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

.band-navy :focus-visible,
.site-foot :focus-visible {
  outline-color: #fff;
}

.consult-card :focus-visible {
  outline-color: var(--brand);
}

#content:focus,
#consultation:focus,
#form-status:focus,
#form-success:focus {
  outline: none;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--brand);
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}

h2 {
  font-size: clamp(1.95rem, 1.55rem + 1.1vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-bottom: 1.4rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--signal);
  margin-bottom: 1.1rem;
}

.section-lede {
  max-width: var(--measure);
}

/* ---------- Illustration system ---------- */

.illo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
  margin-bottom: 1.4rem;
}

.illo svg {
  display: block;
  width: 100%;
  height: auto;
  shape-rendering: geometricPrecision;
}

.illo svg * {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.illo .round,
.illo .ad {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.illo .i {
  stroke: var(--brand);
  stroke-width: 1.15;
  fill: none;
}

.illo circle.i {
  fill: none;
}

.illo .i2 {
  stroke: var(--brand);
  stroke-width: 1;
  fill: none;
}

.illo .id {
  stroke: var(--brand);
  stroke-width: 1.15;
  stroke-dasharray: 2.5 3;
  fill: none;
}

.illo .a {
  stroke: var(--signal);
  stroke-width: 1.5;
  fill: none;
}

.illo .a2 {
  stroke: var(--signal);
  stroke-width: 1.25;
  fill: none;
}

.illo .ad {
  stroke: var(--signal);
  stroke-width: 1.5;
  stroke-dasharray: 1.5 3.25;
  fill: none;
}

.illo .ln {
  stroke: #d5deea;
  stroke-width: 1;
  fill: none;
}

.illo .fi {
  fill: #e6edf6;
  stroke: var(--brand);
  stroke-width: 1.15;
}

.illo .fp {
  fill: #fff;
  stroke: var(--brand);
  stroke-width: 1.15;
}

.illo .fw {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.15;
}

.illo circle.fw[r="2.2"],
.illo circle.fw[r="2.4"] {
  fill: var(--signal);
  stroke: none;
}

.illo .fa {
  fill: var(--signal);
  stroke: none;
}

.illo .fn {
  fill: var(--brand);
  stroke: none;
}

.illo .ax {
  stroke: #3d5274;
  stroke-width: 1.15;
  fill: none;
}

.illo .gd {
  display: none;
}

.illo .bar:not([rx]) {
  fill: #c9d4e4;
  opacity: 1;
  stroke: none;
  rx: 2;
}

.illo .bar[rx] {
  fill: #f3f6fa;
  stroke: #d7e0ec;
  stroke-width: 1;
}

.illo .pick {
  fill: var(--paper);
  stroke: var(--signal);
  stroke-width: 1.15;
}

.illo .choice {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  fill: var(--brand);
  stroke: none;
  dominant-baseline: central;
}

.illo .choice.on {
  fill: var(--signal);
}

.band-navy .illo {
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(3, 8, 18, 0.35), 0 16px 40px rgba(3, 8, 18, 0.35);
}

.shift-arrow .a {
  stroke: var(--dg-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ---------- Bands and wrap ---------- */

.band {
  background: var(--paper);
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
}

.band-mist {
  background: var(--mist);
}

.band-navy {
  background:
    radial-gradient(80rem 44rem at 82% -12%, rgba(38, 66, 118, 0.55), transparent 62%),
    linear-gradient(180deg, var(--navy-band-top), var(--navy-band-bottom));
  color: var(--cloud);
  --dg-ink: #fff;
  --dg-accent: var(--signal-bright);
}

.band-navy h2,
.band-navy h3 {
  color: #fff;
}

.band-navy .eyebrow {
  color: var(--signal-bright);
}

.band-rule {
  border-top: 1px solid var(--line);
}

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

/* ---------- Skip link ---------- */

.skip {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-300%);
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 6px;
}

.skip:focus {
  transform: none;
}

/* ---------- Language ---------- */

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

.locale-row {
  position: absolute;
  top: calc(0.75rem + env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.locale-switcher {
  display: inline-flex;
  align-items: stretch;
  pointer-events: auto;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  overflow: hidden;
}

.locale-switcher__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  color: var(--cloud);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
}

.locale-switcher__option + .locale-switcher__option {
  border-left: 1px solid var(--line-dark);
}

.locale-switcher__tile {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1px;
  background: var(--cloud);
  flex-shrink: 0;
}

.locale-switcher__option--active {
  color: var(--brand);
  background: #fff;
}

.locale-switcher__option--active .locale-switcher__tile {
  background: var(--signal);
}

.locale-switcher__option--link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.locale-switcher__option--link:hover .locale-switcher__tile {
  background: var(--signal-bright);
}

/* ---------- The call to action ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.4rem 1.4rem;
  background: var(--brand);
  color: #fff;
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.cta:hover {
  background: var(--brand-hover);
}

.cta:active {
  background: var(--brand-press);
}

.band-navy .cta {
  background: #fff;
  color: var(--brand);
}

.band-navy .cta:hover {
  background: var(--mist);
}

.band-navy .cta:active {
  background: var(--cloud);
}

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

.hero {
  position: relative;
  padding-top: calc(clamp(4rem, 7vw, 6rem) + env(safe-area-inset-top));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: center;
}

.hero-grid > *,
.guide-grid > *,
.consult-grid > *,
.failure-cards > *,
.plan > *,
.method-grid > *,
.shift > *,
.facts-row > *,
.form-pair > * {
  min-width: 0;
}

.hero-copy .lede {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--cloud);
  max-width: 32rem;
  margin-top: 1.5rem;
}

.hero-copy .cta-row {
  margin-top: 2.4rem;
}

/* Signature: the decision card */

.decision-card {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  --dg-ink: var(--brand);
  --dg-accent: var(--signal);
  border-radius: 12px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 2px 6px rgba(3, 8, 18, 0.35), 0 28px 64px rgba(3, 8, 18, 0.45);
  justify-self: start;
  width: min(100%, 24rem);
}

.decision-card figcaption {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--signal);
  margin-bottom: 1rem;
}

.decision-rule {
  display: block;
  height: 2px;
  background: var(--signal);
  transform-origin: left;
  margin-bottom: 0.4rem;
}

.decision {
  list-style: none;
  margin: 0;
  padding: 0;
}

.decision li {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.55rem, 1.35rem + 0.5vw, 1.8rem);
  line-height: 1.2;
  color: var(--brand);
  padding-block: 0.65rem;
}

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

/* ---------- The stakes ---------- */

.stakes-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.stakes-col {
  display: contents;
}

/* Reading order while stacked: left, right, then the paragraph under each. */
.stakes-col:first-child p:first-child {
  order: 1;
}

.stakes-col:last-child p:first-child {
  order: 2;
}

.stakes-col:first-child p:last-child {
  order: 3;
}

.stakes-col:last-child p:last-child {
  order: 4;
}

.failure-cards {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.failure-cards li {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem;
}

.failure-cards .illo {
  margin-bottom: 1.25rem;
}

.callout {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-left: 3px solid var(--signal);
  padding-left: 1.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + 0.55vw, 1.6rem);
  line-height: 1.35;
  color: var(--brand);
  max-width: 44rem;
  text-wrap: balance;
}

/* ---------- The outcome: shift diagram ---------- */

.shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.shift-from,
.shift-to {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem);
  line-height: 1.35;
  border-radius: 10px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  text-wrap: wrap;
}

.shift-from {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--quiet);
}

.shift-to {
  background: linear-gradient(180deg, var(--navy-band-top), var(--navy-band-bottom));
  color: #fff;
  box-shadow: var(--shadow-card);
}

.shift-arrow {
  --dg-accent: var(--signal);
  align-self: center;
  rotate: 90deg;
  margin-inline: 0.5rem;
}

/* ---------- The evaluator ---------- */

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: start;
}

.guide-facts {
  max-width: 34rem;
}

.guide-copy p {
  max-width: var(--measure);
}

.facts-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.fact {
  border-top: 2px solid var(--signal);
  padding-top: 1.1rem;
  margin: 0;
}

.fact-num {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.2rem, 2.6rem + 1.5vw, 4.2rem);
  line-height: 1;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.fact-label {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--quiet);
  max-width: 14rem;
}

/* ---------- The plan ---------- */

.plan {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.25rem) 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.plan li {
  counter-increment: step;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
}

.plan .illo {
  margin-bottom: 1.4rem;
}

.plan h3::before {
  content: counter(step) ".";
  color: var(--signal-bright);
  margin-right: 0.5rem;
}

.plan li p {
  margin-top: 0.7rem;
}

.band-navy .cta-row {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
}

/* ---------- The work ---------- */

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.method-note {
  border-top: 2px solid var(--signal);
  padding-top: 1.25rem;
}

.method-note p {
  margin-top: 0.7rem;
}

.method-grid + .cta-row {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
}

.deliverables-title {
  margin-top: clamp(3rem, 6vw, 4rem);
}

.deliverables {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.deliverables li {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem;
}

.deliverables .illo {
  margin-bottom: 1.25rem;
}

.deliverables strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--brand);
  margin-bottom: 0.4rem;
}

.useful {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
  max-width: var(--measure);
}

.useful + .cta-row {
  margin-top: 2.4rem;
}

/* ---------- Questions ---------- */

.faq-list {
  max-width: 46rem;
  margin-top: 2rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  position: relative;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1.1rem 2.4rem 1.1rem 0;
  cursor: pointer;
}

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

.faq summary:hover {
  color: var(--brand);
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--signal);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 2.4rem 1.3rem 0;
  max-width: var(--measure);
}

/* ---------- Next step ---------- */

.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: start;
}

.consult-copy p {
  max-width: 34rem;
}

.consult-copy h2 + p {
  margin-top: 0;
}

.consult-note {
  margin-top: 1.15rem;
  font-size: 1rem;
}

.consult-card {
  overflow-anchor: none;
  background: var(--paper);
  color: var(--ink);
  --dg-ink: var(--brand);
  --dg-accent: var(--signal);
  border-radius: 12px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 2px 6px rgba(3, 8, 18, 0.35), 0 28px 64px rgba(3, 8, 18, 0.45);
}

.consult-card .cta {
  background: var(--brand);
  color: #fff;
  width: 100%;
}

.consult-card .cta:hover {
  background: var(--brand-hover);
}

.consult-card .cta:active {
  background: var(--brand-press);
}

.consult-card .cta:disabled {
  background: var(--brand);
  opacity: 0.72;
}

.consult-card form[aria-busy="true"] .cta:disabled {
  cursor: progress;
}

#form-status {
  margin: 0 0 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand);
}

.form-success[hidden],
#form-status[hidden],
.cta[hidden] {
  display: none !important;
}

.form-success {
  margin: 1.6rem 0 0;
  padding: 0;
  border: 0;
}

.form-success .eyebrow {
  margin: 0 0 0.35rem;
}

.form-success-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.15rem + 0.45vw, 1.6rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--brand);
  max-width: 16em;
  text-wrap: balance;
}

form p {
  margin: 0;
}

.form-fields {
  display: grid;
  gap: 1.15rem;
}

.form-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
}

form label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

input,
textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--field);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
}

textarea {
  resize: vertical;
  min-height: 8rem;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.form-privacy {
  color: var(--quiet);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.form-privacy a {
  color: var(--brand);
  text-underline-offset: 0.15em;
}

.form-submit {
  padding-top: 0.85rem;
}

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

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

.site-foot {
  background: var(--navy-band-bottom);
  border-top: 1px solid var(--line-dark);
  padding-block: 1.35rem calc(1.35rem + env(safe-area-inset-bottom));
}

.site-foot-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.site-foot-legal {
  margin: 0;
  color: var(--cloud);
  font-size: 1rem;
}

.site-foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin: 0;
  font-size: 1rem;
}

.site-foot-links a {
  color: var(--cloud);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.site-foot-links a[href^="mailto:"] {
  color: #fff;
}

.site-foot a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-foot .locale-switcher__option--link:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Privacy policy ---------- */

.policy-banner {
  position: relative;
  padding-top: calc(clamp(4rem, 7vw, 6rem) + env(safe-area-inset-top));
}

.policy-banner p:not(.eyebrow) {
  max-width: 36rem;
  margin-top: 1.25rem;
  font-size: 1.3rem;
  line-height: 1.5;
}

.policy-banner .eyebrow a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.policy {
  max-width: var(--measure);
}

.policy > * + * {
  margin-top: 1rem;
}

.policy h2 {
  max-width: none;
  margin-top: 2.75rem;
  margin-bottom: 0;
}

.policy > h2:first-child {
  margin-top: 0;
}

.policy ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.policy li + li {
  margin-top: 0.45rem;
}

.policy a {
  color: var(--brand);
  text-underline-offset: 0.15em;
}

.policy address {
  font-style: normal;
}

/* ---------- Motion ---------- */

.decision-rule {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .decision-card {
    animation: rise 550ms ease-out both;
  }

  .decision-card {
    animation-delay: 150ms;
  }

  .decision-rule {
    animation: draw-rule 900ms ease-out 600ms both;
  }
}

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

@keyframes draw-rule {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---------- Responsive ----------
   Same scale as theor-e.com: sm 40rem, md 48rem, lg 64rem.
   Columns open only when the text can survive the narrower measure. */

@media (min-width: 40rem) {
  .facts-row,
  .form-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .shift {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-items: stretch;
  }

  .shift-arrow {
    rotate: 0deg;
    margin-inline: 0;
  }

  .site-foot-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
  }
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
  }

  .decision-card {
    justify-self: end;
  }

  .stakes-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
  }

  .stakes-col {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }

  .failure-cards,
  .plan,
  .method-grid,
  .deliverables {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
  }

  .guide-facts {
    max-width: none;
  }

  .consult-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
  }
}
