/* ============================================================
   Storytelling components (homepage "why" + AIfred "how").
   Built on the existing tokens and kit: sharp 0 to 2px corners,
   ruled lattices, one type scale, gold = what AIfred delivers,
   teal = the guest's state (P10), ember only for "AI".
   Theme-agnostic: reads the semantic tokens, so the same markup
   works on paper (theme-light) and on navy (default / .is-navy).
   ============================================================ */

/* ---------- Section head: headline left, lead right ---------- */
.st-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); align-items: end; margin-bottom: var(--sp-8); }
.st-head > div { display: flex; flex-direction: column; gap: var(--sp-4); }
.st-head h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.st-head .sl-lead { max-width: 44ch; }
.st-head--stack { grid-template-columns: 1fr; gap: var(--sp-5); max-width: 820px; }

/* ---------- Photo hero (full bleed, copy on a navy grade) ---------- */
.st-hero { padding: 0; min-height: clamp(560px, 86vh, 860px); display: flex; align-items: flex-end; background: #05101d; }
.st-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  filter: saturate(0.92) contrast(1.03); }
.st-hero__grade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,16,29,0.82) 0%, rgba(5,16,29,0.58) 34%, rgba(5,16,29,0.12) 64%, rgba(5,16,29,0) 100%),
    linear-gradient(0deg, rgba(5,16,29,0.62) 0%, rgba(5,16,29,0) 42%); }
.st-hero__inner { position: relative; z-index: 1; width: 100%; padding-block: var(--sp-10) var(--sp-9); }
.st-hero__copy { display: flex; flex-direction: column; gap: var(--sp-5); max-width: 700px; }
.st-hero h1 { font-size: clamp(44px, 6.2vw, var(--fs-display)); }
.st-hero .mk-hero__lead { max-width: 30em; }
.st-hero .mk-eyebrow { color: rgba(249, 250, 251, 0.82); }
.st-hero__stamp { position: absolute; z-index: 1; right: var(--container-pad); bottom: var(--sp-6);
  font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: 0.06em; color: rgba(249, 250, 251, 0.78); }

/* ---------- The problem: three guests, one message ---------- */
.st-guests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--section-gap); }
.st-guest { display: flex; flex-direction: column; gap: var(--sp-5); }
.st-guest .mk-media__frame { --mk-ar: 3 / 4; }
.st-push { position: absolute; left: var(--sp-4); right: var(--sp-4); top: var(--sp-4); z-index: 1;
  background: rgba(255, 255, 255, 0.94); color: #05101d; border: 1px solid #d2d5d7; border-radius: 2px;
  box-shadow: 0 14px 30px -14px rgba(5, 16, 29, 0.45); padding: var(--sp-3) var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-1); backdrop-filter: blur(6px); }
.st-push__app { display: flex; justify-content: space-between; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: var(--fs-caption); color: #42566c; }
.st-push__txt { font-family: var(--font-ui); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--fw-medium); }
.st-guest__cap { display: flex; flex-direction: column; gap: var(--sp-3); }
.st-guest__who { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); letter-spacing: 0.02em; }
.st-guest__cap h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-medium); }
.st-fit { display: grid; grid-template-columns: minmax(72px, max-content) 1fr; border-top: 1px solid var(--line); }
.st-fit dt { padding-right: var(--sp-4); } /* longer labels (Braucht, Bekommt) keep clear of the text */
.st-fit > * { padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); line-height: var(--lh-small); }
.st-fit dt { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--text-muted); padding-top: calc(var(--sp-3) + 2px); }
.st-fit dd { margin: 0; color: var(--text-body); }
.st-fit dd.is-need { color: var(--teal-ink, var(--teal-500)); font-weight: var(--fw-medium); }
.st-fit dd.is-got { color: var(--text-muted); }

.st-statement { margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); align-items: end; }
.st-statement p:first-child { font-family: var(--font-display); font-size: var(--fs-h2); line-height: var(--lh-h2);
  font-weight: var(--fw-medium); letter-spacing: var(--ls-tight); color: var(--text-strong); text-wrap: balance; }
.st-statement p:last-child { color: var(--text-muted); max-width: 44ch; }

/* ---------- What it costs ---------- */
.st-cost { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--section-gap); align-items: stretch; margin-bottom: var(--section-gap); }
.st-cost .mk-media__frame { --mk-ar: 3 / 2; }
.st-stat { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6);
  border: 1px solid var(--border-card); background: var(--surface-card); padding: var(--sp-6); border-radius: 2px; }
.st-stat__value { font-family: var(--font-display); font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight);
  font-size: clamp(var(--fs-h1), 7vw, var(--fs-display)); line-height: var(--lh-display); color: var(--text-strong); }
.st-stat__value span { color: var(--gold-ink, var(--gold-500)); }
.st-stat__label { font-size: var(--fs-h3); line-height: var(--lh-h3); max-width: 20ch; }
.st-stat__src { font-family: var(--font-ui); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-muted);
  padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.st-cards .mk-card h3 { font-size: var(--fs-h3); }
.st-cards .mk-card p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text-muted); }
.st-num { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }

/* ---------- The turn: service, the majordomo way ---------- */
.st-turn { display: grid; grid-template-columns: 0.8fr 1fr; gap: var(--sp-8); align-items: center; }
.st-turn .mk-media__frame { --mk-ar: 4 / 5; }
.st-turn__copy { display: flex; flex-direction: column; gap: var(--sp-5); }
.st-turn__copy h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.st-scale { margin-top: var(--sp-4); border-top: 1px solid var(--line-strong); }
.st-scale__row { display: grid; grid-template-columns: 150px 1fr auto; gap: var(--sp-5); align-items: baseline;
  padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.st-scale__row b { font-family: var(--font-ui); font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--text-strong); }
.st-scale__row span { color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }
.st-scale__row em { font-style: normal; font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.st-scale__row.is-now { border-bottom-color: var(--line-strong); }
.st-scale__row.is-now span { color: var(--text-body); }
.st-scale__row.is-now em { color: var(--gold-ink, var(--gold-500)); display: inline-flex; align-items: center; gap: var(--sp-2); }
.st-scale__row.is-now em::before { content: ""; width: 7px; height: 7px; background: var(--gold-500); }

/* ---------- One sea day: the timeline ---------- */
.st-day { border-top: 1px solid var(--line-strong); }
.st-moment { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--sp-7);
  padding: var(--sp-7) 0; border-bottom: 1px solid var(--line); align-items: start; }
.st-time { font-family: var(--font-mono); font-size: var(--fs-h3); color: var(--text-strong); line-height: 1; padding-top: 4px; }
.st-time small { display: block; margin-top: var(--sp-2); font-size: var(--fs-caption); color: var(--text-muted); letter-spacing: 0.02em; }
.st-moment .mk-media__frame { --mk-ar: 4 / 3; }
.st-moment__body { display: flex; flex-direction: column; gap: var(--sp-5); }
.st-moment__body h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-medium); letter-spacing: var(--ls-tight); }
.st-moment__body > p { color: var(--text-muted); }
.st-screen { background: var(--surface-card); border: 1px solid var(--border-card); border-radius: 2px; box-shadow: var(--shadow-lg);
  padding: var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.st-screen__bar { display: flex; justify-content: space-between; gap: var(--sp-3); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }
.st-screen__txt { font-family: var(--font-ui); font-size: var(--fs-body); line-height: var(--lh-h3); color: var(--text-strong); font-weight: var(--fw-medium); }
.st-reasons { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.st-reason { display: inline-flex; align-items: baseline; gap: var(--sp-2); padding: 6px var(--sp-3); border: 1px solid var(--line-strong);
  border-radius: 2px; font-family: var(--font-mono); font-size: var(--fs-caption); line-height: 1.3; color: var(--text-body); background: transparent; }
.st-reason i { font-style: normal; color: var(--text-muted); }
.st-reason--state { border-color: var(--teal-border, var(--teal-tint-30)); background: var(--teal-tint, var(--teal-tint-14)); }
.st-reason--state i { color: var(--teal-ink, var(--teal-500)); }
.st-silence { display: grid; grid-template-columns: 112px 1fr; gap: var(--sp-7); padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.st-silence span:first-child { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }
.st-silence span:last-child { font-size: var(--fs-body); color: var(--text-muted); }
.st-silence b { color: var(--text-strong); font-weight: var(--fw-semibold); }
.st-model { display: grid; grid-template-columns: 112px 1fr auto; gap: var(--sp-7); padding: var(--sp-6) 0 0; align-items: center; }
.st-model__lbl { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.st-model__row { display: flex; gap: var(--sp-5); flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }
.st-model__row .mk-blur { color: var(--text-muted); }
.st-model__say { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--text-strong); font-weight: var(--fw-medium); }
.st-note { margin-top: var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); letter-spacing: 0.02em; }

/* ---------- Navy island: AIfred ---------- */
.st-island { position: relative; background: var(--bg-page); border-block: 1px solid var(--line-strong); overflow: hidden; }
.st-island__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--sp-8); align-items: center; }
.st-island__copy { display: flex; flex-direction: column; gap: var(--sp-5); }
.st-island__copy h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.st-island__cta { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; margin-top: var(--sp-3); }
.st-seed { width: 112px; height: 112px; margin-bottom: var(--sp-2); }
.st-seed img { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .st-seed img { animation: st-seed-breath 5.2s ease-in-out infinite; }
}
@keyframes st-seed-breath { 0%, 100% { transform: scale(0.95); opacity: 0.88; } 50% { transform: scale(1); opacity: 1; } }
.st-steps { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.st-step { display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-5); padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); }
.st-step__n { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--teal-500); padding-top: 6px; }
.st-step h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.st-step p { color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }

/* ---------- Trust + pilot ---------- */
.st-tp { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-8); align-items: start; }
.st-tp__copy { display: flex; flex-direction: column; gap: var(--sp-4); }
.st-tp__copy h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.st-trust { margin-top: var(--sp-5); border-top: 1px solid var(--line-strong); }
.st-trust__row { display: grid; grid-template-columns: 28px 1fr; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.st-trust__row svg { width: 20px; height: 20px; color: var(--teal-ink, var(--teal-500)); margin-top: 2px; }
.st-trust__row b { display: block; font-weight: var(--fw-semibold); color: var(--text-strong); margin-bottom: 2px; }
.st-trust__row span { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }
.st-pilot { background: var(--surface-card); border: 1px solid var(--border-card); border-radius: 2px; box-shadow: var(--shadow-hero);
  padding: var(--sp-7); display: flex; flex-direction: column; gap: var(--sp-6); }
.st-pilot h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-semibold); letter-spacing: var(--ls-tight); }
.st-pilot__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.st-pilot__step { padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--sp-2); }
.st-pilot__step:nth-child(even) { padding-left: var(--sp-5); border-left: 1px solid var(--line); }
.st-pilot__step b { font-size: var(--fs-body); }
.st-pilot__step p { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-muted); }

/* ============================================================
   AIfred page ("how"): system flow, context, decision, loop,
   integration.
   ============================================================ */
.st-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr) minmax(0, 1fr);
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.st-node { position: relative; min-height: 200px; padding: var(--sp-5); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6); }
.st-node__n { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }
.st-node h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-medium); letter-spacing: var(--ls-tight); }
.st-node p { color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); margin-top: var(--sp-2); }
.st-node:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 50%; width: 11px; height: 11px; z-index: 1;
  background: var(--bg-page); border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.st-node--core { background: var(--surface-card); }
.st-node--core .st-node__n { color: var(--teal-500); }
.st-node--core h3 .aifred { font-weight: var(--fw-semibold); }

.st-ctx { display: grid; grid-template-columns: 1fr 72px 1fr; gap: 0; align-items: stretch; }
.st-ctx__col { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: var(--sp-6) 0; }
.st-ctx__col h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-medium); letter-spacing: var(--ls-tight); margin-bottom: var(--sp-5); }
.st-ctx__col ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-6); }
.st-ctx__col li { display: flex; gap: var(--sp-3); align-items: baseline; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-body); }
.st-ctx__col li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--line-strong); transform: translateY(-1px); }
.st-ctx__col--now li::before { background: var(--teal-500); }
.st-ctx__plus { display: grid; place-items: center; font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 300; color: var(--text-muted); }
.st-ctx__foot { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-8); padding: var(--sp-6) 0 0; align-items: baseline; }
.st-ctx__foot b { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: var(--fw-semibold); }
.st-ctx__foot p { color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }

.st-decide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--section-gap); align-items: stretch; }
.st-decide__lbl { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-4); display: block; }
.st-offers { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.st-offer { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--sp-4); align-items: center; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.st-offer img { width: 76px; height: 56px; object-fit: cover; border: 1px solid var(--line); filter: saturate(0.72) brightness(0.86); }
.st-offer b { display: block; font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.st-offer span { font-size: var(--fs-caption); color: var(--text-muted); }
.st-offer em { font-style: normal; font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }
.st-offer.is-pick em { color: var(--gold-500); }
.st-criteria { border: 1px solid var(--line-strong); background: var(--surface-raised); padding: var(--sp-5); border-radius: 2px; }
.st-criterion { display: grid; grid-template-columns: 32px 1fr; gap: var(--sp-3); padding: var(--sp-4) 0; border-top: 1px solid var(--line); }
.st-criterion:first-of-type { border-top: 0; padding-top: 0; }
.st-criterion i { font-style: normal; font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--teal-500); padding-top: 3px; }
.st-criterion b { display: block; font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.st-criterion span { font-size: var(--fs-small); color: var(--text-muted); }
.st-pick { border: 1px solid var(--gold-tint-40); background: var(--surface-card); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.st-pick .mk-media__frame { --mk-ar: 4 / 3; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; }
.st-pick__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.st-pick__kicker { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--gold-500); }
.st-pick__body h3 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-medium); letter-spacing: var(--ls-tight); }
.st-pick__meta { display: flex; gap: var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--text-muted); }
.st-none { margin-top: var(--sp-7); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line-strong); }
.st-none p:first-child { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-medium); color: var(--text-strong); }
.st-none p:last-child { color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-small); }

.st-loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.st-loop .st-node { min-height: 180px; }
.st-loop .st-node small { font-family: var(--font-ui); font-size: var(--fs-caption); font-weight: var(--fw-semibold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.st-loop .st-node:last-child small { color: var(--gold-500); }
.st-back { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); }
.st-back svg { width: 20px; height: 20px; color: var(--teal-500); flex: none; }
.st-back b { font-weight: var(--fw-semibold); color: var(--text-strong); }
.st-back span { color: var(--text-muted); font-size: var(--fs-small); }

.st-integrate { display: grid; grid-template-columns: 1fr 1.1fr 1fr; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.st-integrate .st-node { min-height: 0; justify-content: flex-start; gap: var(--sp-5); padding: var(--sp-6); }
.st-integrate ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st-integrate li { padding: var(--sp-2) 0; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-body); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .st-head, .st-statement, .st-cost, .st-turn, .st-island__grid, .st-tp, .st-ctx__foot, .st-none { grid-template-columns: 1fr; gap: var(--sp-6); }
  .st-guests { grid-template-columns: 1fr 1fr; }
  .st-guest:last-child { grid-column: 1 / -1; }
  .st-guest:last-child .mk-media__frame { --mk-ar: 16 / 9; }
  .st-moment { grid-template-columns: 1fr; gap: var(--sp-5); }
  .st-silence, .st-model { grid-template-columns: 1fr; gap: var(--sp-2); }
  .st-flow { grid-template-columns: 1fr 1fr; }
  .st-flow .st-node--core { grid-column: 1 / -1; }
  .st-node::after { display: none; }
  .st-ctx { grid-template-columns: 1fr; }
  .st-ctx__plus { padding: var(--sp-4) 0; }
  .st-decide { grid-template-columns: 1fr; }
  .st-loop { grid-template-columns: 1fr 1fr; }
  .st-integrate { grid-template-columns: 1fr; }
  .st-turn .mk-media__frame { --mk-ar: 3 / 2; }
}
@media (max-width: 640px) {
  .st-hero__inner { padding-block: var(--sp-9) var(--sp-8); }
  .st-hero__stamp { display: none; }
  .st-guests { grid-template-columns: 1fr; }
  .st-guest .mk-media__frame, .st-guest:last-child .mk-media__frame { --mk-ar: 4 / 3; }
  .st-scale__row { grid-template-columns: 1fr; gap: var(--sp-1); }
  .st-pilot { padding: var(--sp-5); }
  .st-pilot__steps { grid-template-columns: 1fr; }
  .st-pilot__step:nth-child(even) { padding-left: 0; border-left: 0; }
  .st-flow, .st-loop { grid-template-columns: 1fr; }
  .st-node, .st-loop .st-node { min-height: 0; gap: var(--sp-4); }
  .st-ctx__col ul { grid-template-columns: 1fr; }
  .st-head h2, .st-turn__copy h2, .st-island__copy h2, .st-tp__copy h2 { font-size: clamp(34px, 9vw, var(--fs-h1)); }
}

/* ---------- Closing photo band: keep the sunset, grade only behind the copy ---------- */
.theme-light .st-band .mk-media__img, .st-band .mk-media__img { filter: saturate(0.95) contrast(1.02); }
.theme-light .st-band .mk-media__grade, .st-band .mk-media__grade {
  background:
    linear-gradient(90deg, rgba(5,16,29,0.74) 0%, rgba(5,16,29,0.42) 38%, rgba(5,16,29,0) 68%),
    linear-gradient(0deg, rgba(5,16,29,0.35) 0%, rgba(5,16,29,0) 40%); }
.st-band .mk-band__overlay-inner { max-width: calc(var(--container-max) - 2 * var(--container-pad)); }
.st-band .mk-band__overlay h3 { max-width: 18ch; }
.st-seed img { mix-blend-mode: screen; }
/* a single card outside the lattice gets its own full frame */
.mk-card.st-solo { border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); }
/* band copy in the sky, clear of the subject */
.st-band--top .mk-band__overlay { justify-content: flex-start; padding-top: clamp(var(--sp-6), 6vw, var(--sp-9)); }
.st-band--top .mk-media__grade { background: linear-gradient(180deg, rgba(5,16,29,0.55) 0%, rgba(5,16,29,0) 55%); }
/* in-page anchors land below the sticky header */
.sl-section[id], .st-hero { scroll-margin-top: 84px; }

/* four trust cards in one row (AIfred page) */
@media (min-width: 1001px) { .mk-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mk-cards--4 { grid-template-columns: 1fr; } }

/* closing: headline and form side by side, the form flush with the headline */
.st-contact__head { display: flex; flex-direction: column; gap: var(--sp-5); }
.st-contact__head h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); max-width: 13ch; }
.st-contact__head .sl-lead { max-width: 38ch; }
