/* ==========================================================================
   Lorde: Mono Premium (brandbook v1)
   Ink #111111 · Cream #F4ECE0 · Stone #8A8074 · Soft #2A2620
   Type: Cormorant Garamond · Oswald · Inter · JetBrains Mono
   NO accent color. NO shield / fleur-de-lis / burgundy.
   ========================================================================== */

:root {
  --ink: #111111;
  --cream: #f4ece0;
  --stone: #8a8074;
  --soft: #2a2620;

  --cream-dim: rgba(244, 236, 224, 0.78);
  --cream-mute: rgba(244, 236, 224, 0.52);
  --ink-dim: rgba(17, 17, 17, 0.72);
  --ink-mute: rgba(17, 17, 17, 0.48);
  --line-on-ink: rgba(244, 236, 224, 0.12);
  --line-on-cream: rgba(17, 17, 17, 0.1);

  --font-editorial: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-cta: "Oswald", "Arial Narrow", sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1100px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 4.5rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--cream);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

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

.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-on-cream);
  background: rgba(244, 236, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.l-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.l-brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cream);
  background: var(--ink);
}

.l-brand__text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
}

.l-brand__text strong {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.l-brand__text span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

@media (min-width: 520px) {
  .l-brand__text {
    display: flex;
  }
}

.l-nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
}

.l-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-dim);
}

.l-nav a:hover {
  color: var(--ink);
}

.l-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-on-cream);
  overflow: hidden;
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.lang-toggle button.is-active {
  background: var(--ink);
  color: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-cta);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: var(--soft);
  color: var(--cream);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
}

.btn-cream:hover {
  background: #fff8ef;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.28);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 236, 224, 0.35);
}

.btn-outline-cream:hover {
  border-color: var(--cream);
}

.btn-sm {
  min-height: 2.4rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.76rem;
}

.header-cta {
  display: none;
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-on-cream);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.l-nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  background: var(--cream);
  padding: 1.5rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.l-nav-mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.l-nav-mobile a {
  text-decoration: none;
  font-family: var(--font-editorial);
  font-size: 1.6rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-on-cream);
  color: var(--ink);
}

.l-nav-mobile .btn {
  margin-top: 1.25rem;
  width: 100%;
}

@media (min-width: 920px) {
  .l-nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .l-nav-mobile {
    display: none;
  }
}

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(244, 236, 224, 0.96);
  border-top: 1px solid var(--line-on-cream);
  display: flex;
}

.mobile-cta-bar .btn {
  width: 100%;
}

@media (min-width: 920px) {
  .mobile-cta-bar {
    display: none;
  }
}

main {
  padding-bottom: 5.5rem;
}

@media (min-width: 920px) {
  main {
    padding-bottom: 0;
  }
}

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

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

h1,
h2,
h3 {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 38rem;
}

.section {
  padding: clamp(3.75rem, 9vw, 7rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 0.9rem;
}

.section-head .lead {
  margin: 0;
  color: var(--ink-dim);
}

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

.l-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background: var(--ink);
  color: var(--cream);
}

.l-hero .eyebrow {
  color: var(--stone);
}

.l-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .l-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.75rem;
    align-items: center;
  }
}

.l-hero h1 {
  /* Was max-width: 12ch at 4.4rem: forced one-word-per-line stack. */
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: min(18rem, 100%);
  margin: 0 0 1.15rem;
  text-wrap: balance;
}

.l-hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.l-hero .lead {
  color: var(--cream-dim);
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.65;
}

@media (min-width: 900px) {
  .l-hero h1 {
    max-width: 17.5rem;
  }
}

@media (max-width: 899px) {
  .l-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 7.2vw, 2.55rem);
  }
}

.l-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.l-hero__side {
  width: 100%;
  min-width: 0;
}

/* -------------------------------------------------------------------------- */
/* Hero product theater (Morning GTM Brief)                                   */
/* -------------------------------------------------------------------------- */

.l-theater {
  --theater-pad: 1rem;
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding: var(--theater-pad);
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(244, 236, 224, 0.14);
  box-shadow:
    0 0 0 1px rgba(17, 17, 17, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.28);
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .l-theater {
    --theater-pad: 1.15rem 1.2rem 1.05rem;
    max-width: none;
    margin-inline: 0;
  }
}

.l-theater__chrome {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-on-cream);
}

.l-theater__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.l-theater__title-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.l-theater__kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.l-theater__title {
  font-family: var(--font-cta);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}

.l-theater__live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line-on-cream);
  background: #fff9f1;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
}

.l-theater__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.35);
}

.l-theater:not(.is-static):not(.is-paused) .l-theater__dot {
  animation: theater-pulse 1.8s var(--ease) infinite;
}

@keyframes theater-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.35);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(17, 17, 17, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(17, 17, 17, 0);
  }
}

.l-theater__progress {
  height: 2px;
  background: rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.l-theater__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--ink);
  transform-origin: left center;
  transition: none;
}

.l-theater.is-static .l-theater__progress-bar {
  width: 100%;
}

.l-theater__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.l-theater__steps li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 0.3rem;
  border: 1px solid transparent;
  opacity: 0.38;
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.l-theater__step-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--stone);
}

.l-theater__step-name {
  font-family: var(--font-cta);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.l-theater[data-step="1"] [data-step-indicator="1"],
.l-theater[data-step="2"] [data-step-indicator="1"],
.l-theater[data-step="2"] [data-step-indicator="2"],
.l-theater[data-step="3"] [data-step-indicator="1"],
.l-theater[data-step="3"] [data-step-indicator="2"],
.l-theater[data-step="3"] [data-step-indicator="3"],
.l-theater[data-step="4"] [data-step-indicator="1"],
.l-theater[data-step="4"] [data-step-indicator="2"],
.l-theater[data-step="4"] [data-step-indicator="3"],
.l-theater[data-step="4"] [data-step-indicator="4"] {
  opacity: 1;
}

.l-theater[data-step="1"] [data-step-indicator="1"],
.l-theater[data-step="2"] [data-step-indicator="2"],
.l-theater[data-step="3"] [data-step-indicator="3"],
.l-theater[data-step="4"] [data-step-indicator="4"] {
  border-color: rgba(17, 17, 17, 0.18);
  background: #fff9f1;
}

.l-theater__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 16.5rem;
}

@media (min-width: 520px) {
  .l-theater__body {
    min-height: 19.5rem;
  }
}

.l-theater__panel {
  margin: 0;
  padding: 0 0.75rem;
  border: 1px solid transparent;
  background: #fff9f1;
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    max-height 0.45s var(--ease), padding 0.35s var(--ease),
    border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.l-theater[data-step="1"] .l-theater__panel--truth,
.l-theater[data-step="2"] .l-theater__panel--truth,
.l-theater[data-step="2"] .l-theater__panel--play,
.l-theater[data-step="3"] .l-theater__panel--truth,
.l-theater[data-step="3"] .l-theater__panel--play,
.l-theater[data-step="3"] .l-theater__panel--arch,
.l-theater[data-step="4"] .l-theater__panel--truth,
.l-theater[data-step="4"] .l-theater__panel--play,
.l-theater[data-step="4"] .l-theater__panel--arch,
.l-theater[data-step="4"] .l-theater__panel--op {
  opacity: 1;
  transform: none;
  max-height: 12rem;
  padding: 0.7rem 0.75rem;
  border-color: var(--line-on-cream);
  pointer-events: auto;
}

.l-theater[data-step="1"] .l-theater__panel--truth,
.l-theater[data-step="2"] .l-theater__panel--play,
.l-theater[data-step="3"] .l-theater__panel--arch,
.l-theater[data-step="4"] .l-theater__panel--op {
  border-color: rgba(17, 17, 17, 0.22);
  background: #fffdf8;
}

/* Soft dim of earlier panels when a later beat is active */
.l-theater[data-step="2"] .l-theater__panel--truth,
.l-theater[data-step="3"] .l-theater__panel--truth,
.l-theater[data-step="3"] .l-theater__panel--play,
.l-theater[data-step="4"] .l-theater__panel--truth,
.l-theater[data-step="4"] .l-theater__panel--play,
.l-theater[data-step="4"] .l-theater__panel--arch {
  opacity: 0.72;
}

.l-theater[data-step="4"] .l-theater__panel--op {
  opacity: 1;
}

.l-theater__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.l-theater__label {
  font-family: var(--font-cta);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.l-theater__meta-ts {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.l-theater__line {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.l-theater__meta {
  margin: 0.3rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--ink-mute);
}

.l-theater__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.l-theater__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: var(--cream);
  font-family: var(--font-cta);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0.45;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.l-theater[data-step="3"] .l-theater__chip,
.l-theater[data-step="4"] .l-theater__chip {
  opacity: 1;
  color: var(--ink);
}

.l-theater[data-step="3"] .l-theater__chip[data-chip="truth"],
.l-theater[data-step="3"] .l-theater__chip[data-chip="play"],
.l-theater[data-step="3"] .l-theater__chip[data-chip="arch"],
.l-theater[data-step="4"] .l-theater__chip {
  border-color: rgba(17, 17, 17, 0.22);
  background: #fffdf8;
}

.l-theater[data-step="4"] .l-theater__chip[data-chip="op"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

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

/* Idle empty state: keep body height with a quiet placeholder feel */
.l-theater[data-step="0"] .l-theater__body::before {
  content: "";
  display: block;
  flex: 1;
  min-height: 6.5rem;
  border: 1px dashed rgba(17, 17, 17, 0.12);
  background:
    linear-gradient(
      180deg,
      rgba(255, 249, 241, 0.65),
      rgba(244, 236, 224, 0.35)
    );
  opacity: 0.9;
}

.l-theater[data-step="0"] .l-theater__body {
  justify-content: stretch;
}

/* Reduced motion / static final frame */
.l-theater.is-static .l-theater__panel {
  transition: none;
  transform: none;
}

.l-theater.is-static .l-theater__dot {
  animation: none;
}

/* Mobile: tighter, still readable; never covers WhatsApp bar */
@media (max-width: 519px) {
  .l-theater {
    --theater-pad: 0.9rem;
  }

  .l-theater__body {
    min-height: 13.5rem;
  }

  .l-theater__line {
    font-size: 0.88rem;
  }

  .l-theater__step-name {
    font-size: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .l-theater__dot {
    animation: none !important;
  }

  .l-theater__panel {
    transition: none !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* For whom                                                                   */
/* -------------------------------------------------------------------------- */

.for-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .for-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.for-card {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line-on-cream);
  background: #fff9f1;
  min-height: 100%;
}

.for-card--not {
  background: transparent;
}

.for-card h3 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.for-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.for-card li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-top: 1px solid var(--line-on-cream);
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.for-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.4rem;
  height: 1px;
  background: var(--stone);
}

/* -------------------------------------------------------------------------- */
/* Problem                                                                    */
/* -------------------------------------------------------------------------- */

.problem {
  background: var(--soft);
  color: var(--cream);
}

.problem .eyebrow {
  color: var(--stone);
}

.problem .section-head .lead {
  color: var(--cream-dim);
}

.problem-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-on-ink);
}

.problem-item {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-on-ink);
}

@media (min-width: 760px) {
  .problem-item {
    grid-template-columns: 8rem 1fr;
    gap: 2rem;
  }
}

.problem-item .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.problem-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.problem-item p {
  margin: 0;
  color: var(--cream-dim);
  max-width: 42rem;
}

/* -------------------------------------------------------------------------- */
/* Foundations                                                                */
/* -------------------------------------------------------------------------- */

.found-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .found-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.found-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line-on-cream);
  background: transparent;
}

.found-card .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin-bottom: 0.85rem;
}

.found-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

.found-card p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------- */
/* Why usual fails                                                            */
/* -------------------------------------------------------------------------- */

.fails {
  background: var(--ink);
  color: var(--cream);
}

.fails .eyebrow,
.fails .section-head .lead {
  color: var(--stone);
}

.fails .section-head .lead {
  color: var(--cream-dim);
}

.fails-grid {
  display: grid;
  gap: 1px;
  background: var(--line-on-ink);
  border: 1px solid var(--line-on-ink);
}

@media (min-width: 800px) {
  .fails-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fail-card {
  background: var(--ink);
  padding: 1.5rem 1.35rem;
}

.fail-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.fail-card p {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.94rem;
}

/* -------------------------------------------------------------------------- */
/* Stack / product layers                                                     */
/* -------------------------------------------------------------------------- */

.stack-list {
  display: grid;
  gap: 0;
  counter-reset: stack;
}

.stack-item {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-on-cream);
  counter-increment: stack;
}

@media (min-width: 800px) {
  .stack-item {
    grid-template-columns: 10rem 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.stack-item__name {
  font-family: var(--font-editorial);
  font-size: 1.85rem;
  font-weight: 500;
}

.stack-item__name span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.35rem;
}

.stack-item p {
  margin: 0;
  color: var(--ink-dim);
  max-width: 40rem;
}

/* -------------------------------------------------------------------------- */
/* Outcomes                                                                   */
/* -------------------------------------------------------------------------- */

.outcomes {
  background: #fff9f1;
  border-block: 1px solid var(--line-on-cream);
}

.outcomes-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .outcomes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.outcome {
  padding: 1.35rem 1.2rem;
  border-left: 2px solid var(--ink);
}

.outcome h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}

.outcome p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------------------- */
/* Deliverables                                                               */
/* -------------------------------------------------------------------------- */

.deliv-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .deliv-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.deliv-box {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line-on-cream);
}

.deliv-box h3 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.deliv-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliv-box li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line-on-cream);
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.deliv-box--out {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.deliv-box--out li {
  border-top-color: var(--line-on-ink);
  color: var(--cream-dim);
}

.deliv-box--out a {
  color: var(--cream);
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* How we work                                                                */
/* -------------------------------------------------------------------------- */

.phases {
  display: grid;
  gap: 0;
}

.phase {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-on-cream);
}

@media (min-width: 800px) {
  .phase {
    grid-template-columns: 7rem 12rem 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.phase__gate {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.phase__title {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 500;
}

.phase p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------- */
/* CTA                                                                        */
/* -------------------------------------------------------------------------- */

.l-cta {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}

.l-cta__inner {
  display: grid;
  gap: 2rem;
  max-width: 40rem;
}

.l-cta h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.3rem);
  margin-bottom: 0.9rem;
}

.l-cta .lead {
  color: var(--cream-dim);
  margin: 0 0 1.5rem;
}

.l-cta__note {
  font-size: 0.88rem;
  color: var(--stone);
  margin: 1rem 0 0;
}

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

.l-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line-on-cream);
  font-size: 0.9rem;
  color: var(--stone);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .l-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.l-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.l-footer__brand .mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.l-footer__brand strong {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.l-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.l-footer a {
  color: var(--ink-dim);
  text-decoration: none;
}

.l-footer a:hover {
  color: var(--ink);
}

.back-iygge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stone);
}

.back-iygge:hover {
  color: var(--ink);
}
