/* Marwell: a calmer type hierarchy around the existing document choreography. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-v1.woff2") format("woff2");
}

:root {
  --display: "IBM Plex Sans", "Geist", system-ui, sans-serif;
  --section: clamp(80px, 8.5vw, 124px);
  --shadow-lift: 0 2px 8px -4px rgb(21 43 48 / 12%), 0 16px 32px -24px rgb(21 43 48 / 24%);
}

body { letter-spacing: 0; line-height: 1.6; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.13;
  font-synthesis: none;
  overflow-wrap: anywhere;
}
h2 { font-size: clamp(2.125rem, 4.1vw, 3.65rem); }
h3 { letter-spacing: -.012em; line-height: 1.22; }
.label { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .085em; }
.btn { font-weight: 550; letter-spacing: 0; box-shadow: 0 4px 12px -8px rgb(21 43 48 / 32%); }
.nav-link { letter-spacing: 0; }
.link-arrow, .link-down { text-underline-offset: .25em; }
.keep-together { white-space: nowrap; }

/* Give the sentence an intentional rhythm without breaking review-ready. */
.hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.hero-title {
  max-width: none;
  font-size: clamp(2.75rem, 4.5vw, 4.2rem);
  line-height: 1.075;
  letter-spacing: -.027em;
  font-weight: 600;
  text-wrap: initial;
}
.hero-line { display: block; }
.hero-lead { max-width: 33em; line-height: 1.65; letter-spacing: 0; }
.hero-note { font-size: .9375rem; }
.hero-kicker { line-height: 1.6; max-width: 38em; }
.page-title { font-family: var(--display); font-size: clamp(2.6rem, 5.2vw, 4.5rem); letter-spacing: -.027em; line-height: 1.1; }
.page-intro { line-height: 1.65; }

/* Keep the motion sequence and its layout; make its supporting type easier to read. */
.film-intro h2 { max-width: 19ch; }
.chapter h3 { letter-spacing: -.015em; line-height: 1.18; }
.chapter p:not(.chapter-meta) { line-height: 1.65; }
.film-rail a { font-size: .8125rem; letter-spacing: .035em; }
.demo-head { max-width: 850px; }
.demo-lead { line-height: 1.65; }
.demo-after p { font-weight: 500; letter-spacing: 0; }
.insp-body, .worksheet { box-shadow: var(--shadow-lift); }
.ws-head { flex-wrap: wrap; gap: 12px; }
.proof-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-size: 1rem; font-weight: 550; text-underline-offset: .25em; }
.demo-proof { max-width: 43em; color: var(--muted); font-size: .9375rem; margin-top: 12px; }

/* Rule-separated specifications replace repeated feature cards. */
.services-head h2 { max-width: 22ch; }
.service-list { display: block; margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--ink); }
.service-group {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, .85fr) minmax(0, 1.45fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: 12px;
  padding: clamp(28px, 3vw, 40px) 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.service-group:hover, .service-group.reveal.is-in:hover { transform: none; box-shadow: none; }
.service-num { grid-column: 1; grid-row: 1 / 3; font-size: .9375rem; padding-top: 4px; }
.service-group h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -.015em; line-height: 1.2; }
.service-benefit { grid-column: 2; grid-row: 2; margin: 0; font-size: 1rem; line-height: 1.65; }
.service-spec { grid-column: 3; grid-row: 1 / 3; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-content: start; gap: 18px 28px; margin: 0; padding: 0; }
.service-spec div { border: 0; padding: 0; }
.service-spec dt { font-family: var(--sans); font-size: .875rem; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink); }
.service-spec dd { margin-top: 5px; font-size: 1rem; line-height: 1.6; }
.service-spec .service-held { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }
.service-held dt { color: var(--brass-ink); }
.service-held dd { border-left-width: 2px; padding-left: 12px; }

/* The founder supports the offer. Actual project evidence remains clearly attributed. */
.founder-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.founder-copy { padding-top: 12px; }
.founder-name { font-size: clamp(2.5rem, 3.7vw, 3.5rem); line-height: 1.1; letter-spacing: -.025em; max-width: 16ch; }
.founder-role { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; line-height: 1.55; margin-top: 12px; }
.founder-body { font-size: 1.0625rem; line-height: 1.7; margin-top: 24px; }
.case-file { transform: none; border-radius: 2px; box-shadow: 0 3px 14px -8px rgb(21 43 48 / 12%); }
.case-file h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); letter-spacing: -.015em; line-height: 1.25; }
.case-label { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .025em; line-height: 1.65; }
.case-facts div { grid-template-columns: 8.4rem minmax(0, 1fr); gap: 22px; padding: 14px 0; }
.case-facts dt { font-family: var(--sans); font-size: .875rem; letter-spacing: 0; text-transform: none; }
.case-facts dd { line-height: 1.6; }
.case-note { font-size: .9375rem; line-height: 1.6; }

.engage-head h2 { max-width: 22ch; }
.engage-step h3 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); letter-spacing: -.015em; line-height: 1.25; }
.engage-meta { font-family: var(--sans); font-size: .875rem; letter-spacing: 0; line-height: 1.5; }
.engage-body { line-height: 1.65; }
.engage-out dt { font-family: var(--sans); font-size: .875rem; letter-spacing: 0; text-transform: none; }
.engage-out dd { font-weight: 500; line-height: 1.6; }
.engage-quote, .engage-promise { border-radius: 3px; }
.faq-head h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.15; }
.faq-item summary { font-weight: 550; line-height: 1.5; letter-spacing: 0; }
.close-cta h2 { font-size: clamp(2.4rem, 5vw, 4.55rem); line-height: 1.12; letter-spacing: -.025em; max-width: 18ch; }
.close-cta em { letter-spacing: -.015em; }
.wf-row h3, .commit-grid h3, .roles-grid h3 { line-height: 1.3; }
.sample-plan, .gate-card, .about-facts { box-shadow: var(--shadow-lift); }
.legal h1 { letter-spacing: -.025em; line-height: 1.12; }
.legal h2 { font-size: 1.45rem; letter-spacing: -.012em; line-height: 1.3; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .6s var(--ease), transform .85s var(--ease-out); }
  .case-file.reveal { transform: translateY(24px); }
  .case-file.reveal.is-in { transform: none; }
}

@media (max-width: 979px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: none; font-size: clamp(2.75rem, 6.9vw, 4.2rem); }
  .service-group { grid-template-columns: 2rem minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 24px; }
  .service-spec { grid-template-columns: 1fr; gap: 14px; }
  .service-spec .service-held { grid-column: auto; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-copy { max-width: 40em; }
  .founder-name { max-width: none; }
}
@media (max-width: 719px) {
  .hero-title { font-size: clamp(1.8rem, 8vw, 3.65rem); max-width: none; letter-spacing: -.02em; line-height: 1.1; }
  .hero-kicker { font-size: .75rem; letter-spacing: .06em; }
  .hero-lead { font-size: 1.0625rem; }
  .services-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .services-head .link-arrow { min-width: 0; max-width: 100%; }
  .services-head h2 { max-width: 24ch; }
  .service-group { grid-template-columns: 1.8rem minmax(0, 1fr); gap: 10px 16px; padding: 28px 0; }
  .service-num { grid-row: 1; }
  .service-group h3 { grid-column: 2; grid-row: 1; font-size: 1.4rem; }
  .service-benefit { grid-column: 2; grid-row: 2; }
  .service-spec { grid-column: 2; grid-row: 3; margin-top: 10px; }
  .service-spec dd { font-size: 1rem; }
  .founder-name { font-size: clamp(2.15rem, 8vw, 3rem); }
  .case-facts div { grid-template-columns: 1fr; gap: 4px; }
  .case-label { font-size: .75rem; }
  .film.is-live .chapter h3 { font-size: 1.3rem; line-height: 1.2; }
  .film.is-live .chapter p:not(.chapter-meta) { line-height: 1.5; }
  .proof-link { font-size: .9375rem; }
  .close-cta h2 { max-width: 19ch; }
}
@media print {
  .service-group { break-inside: avoid; }
  .case-file { transform: none; box-shadow: none; }
}
