/* ============ Murjan Studio ============ */
:root {
  --bg-dark: #140a10;
  --bg-dark-2: #1c0f16;
  --panel-dark: #221219;
  --cream: #f2ede7;
  --cream-2: #eae2da;
  --white: #fdfbf9;
  --ink: #201318;
  --ink-2: #52404a;
  --muted: #6f5860;           /* 4.5:1+ on cream, cream-2 and white */
  --coral: #f2564d;          /* display/fill + text on DARK grounds only */
  --coral-soft: #ff8a7a;
  /* Accessible text variants — coral at small sizes fails AA on light grounds
     (2.9:1). These are used for labels, links and small type on cream/white. */
  --coral-text: #b8342c;     /* 5.06:1 on cream, 5.71:1 on white */
  --orange-text: #a34a08;    /* 5.10:1 on cream */
  --amber-text: #7d520a;     /* 5.85:1 on cream */
  --green-text: #1f6b42;
  --btn-fill: #d8382e;       /* 4.64:1 with white label (was 3.38:1) */
  --plum: #43152f;
  --purple: #8b6cff;
  --green: #4ade80;
  --amber: #fbbf24;
  --line: rgba(32, 19, 24, 0.12);
  --line-light: rgba(250, 245, 240, 0.14);
  --on-dark: #f6f0ec;
  --on-dark-muted: rgba(246, 240, 236, 0.65);
  --grad: linear-gradient(135deg, #ff8a7a 0%, #f2564d 45%, #43152f 100%);
  --radius: 22px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;   /* stop iOS inflating text in landscape */
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a, button, input, textarea, label { -webkit-tap-highlight-color: rgba(242, 86, 77, 0.18); }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* Skip link — the first tab stop on every page. Hidden until focused, then it
   drops in under the sticky header. Saves keyboard and screen-reader users the
   six nav tab stops that otherwise repeat on every navigation. */
.skip-link {
  position: fixed; top: 12px; left: 50%;
  transform: translateX(-50%) translateY(-160%);
  z-index: 100;
  background: var(--btn-fill); color: #fff;
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem;
  padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(20, 10, 16, 0.4);
  transition: transform 0.18s ease;
}
.skip-link:focus {
  transform: translateX(-50%) translateY(0);
  outline: 2px solid #fff; outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }

/* The jump target: clear the sticky header on arrival, and suppress the focus
   ring that would otherwise outline the entire page region. */
main[tabindex="-1"] { scroll-margin-top: 84px; }
/* in-page anchors must clear the sticky header too */
#form { scroll-margin-top: 90px; }
main[tabindex="-1"]:focus { outline: none; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 28px);
}
/* keep content clear of notches/rounded corners in landscape */
@supports (padding: max(0px)) {
  .wrap {
    padding-left: max(clamp(20px, 5vw, 28px), env(safe-area-inset-left));
    padding-right: max(clamp(20px, 5vw, 28px), env(safe-area-inset-right));
  }
}

/* ---------- Header (dark) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 10, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
  color: var(--on-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark-muted);
  transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-soft); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 5px 0; transition: 0.25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--btn-fill);
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-transform: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(216, 56, 46, 0.35); background: #e8443a; }
.btn-outline {
  background: none;
  color: var(--on-dark) !important;
  border: 1px solid rgba(246, 240, 236, 0.45);
}
.btn-outline:hover { background: rgba(246, 240, 236, 0.08); box-shadow: none; }
.on-light .btn-outline,
.section:not(.dark) .btn-outline,
.story-text .btn-outline {
  color: var(--ink) !important;
  border-color: rgba(32, 19, 24, 0.4);
}
.section:not(.dark) .btn-outline:hover,
.story-text .btn-outline:hover { background: rgba(32, 19, 24, 0.05); }
.nav .btn-outline { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 22px; }

.text-link { font-family: var(--font-head); font-weight: 500; color: var(--coral-text); font-size: 0.9rem; }
.dark .text-link, .hero .text-link, .card--dark .text-link { color: var(--coral); }
.text-link:hover { text-decoration: underline; }

.circle-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-light);
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit; font-size: 1.05rem;
  transition: 0.2s;
}
.circle-btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.card--cream .circle-btn { border-color: rgba(32, 19, 24, 0.25); }

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 85% 40%, #3a1220 0%, var(--bg-dark-2) 45%, var(--bg-dark) 100%);
  color: var(--on-dark);
  padding: 110px 0 130px;
}
.home-hero { min-height: calc(92vh - 72px); display: flex; align-items: center; }
/* svh tracks the mobile URL bar instead of jumping when it hides */
@supports (height: 100svh) { .home-hero { min-height: calc(92svh - 72px); } }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 600;
  max-width: 700px;
  margin-bottom: 26px;
}
.hero h1 .dot { color: var(--coral); }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-bar { width: 44px; height: 3px; background: var(--coral); border-radius: 2px; margin-bottom: 28px; }
.hero p.lead {
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  color: var(--on-dark-muted);
  max-width: 460px;
  margin-bottom: 38px;
}
.hero .prose p { color: var(--on-dark-muted); }
.hero .prose p strong { color: var(--on-dark); }
.hero .statement { color: var(--on-dark); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-blobs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-blobs svg { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(54vw, 700px); height: auto; opacity: 0.95; }
.blob-float { animation: float 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.blob-float.d1 { animation-delay: -2s; animation-duration: 11s; }
.blob-float.d2 { animation-delay: -4s; animation-duration: 13s; }
.blob-float.d3 { animation-delay: -6s; animation-duration: 10s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -14px); }
}
@media (prefers-reduced-motion: reduce) {
  .blob-float { animation: none; }
  html { scroll-behavior: auto; }
}

.scroll-hint {
  position: absolute; right: 40px; bottom: 34px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-muted); text-align: right;
}
.scroll-hint .circle-btn { border-color: var(--line-light); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.cream-2 { background: var(--cream-2); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: 16px;
}
.dark .eyebrow, .hero .eyebrow { color: var(--coral); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 22px; max-width: 760px; }
.section .sub { font-size: 1.08rem; color: var(--ink-2); max-width: 620px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head .text-link { white-space: nowrap; padding-bottom: 8px; }

.centered { text-align: center; }
.centered h2, .centered .sub { margin-left: auto; margin-right: auto; }

.prose p { margin-bottom: 1.1em; max-width: 640px; color: var(--ink-2); }
.prose p strong { color: var(--ink); }
.statement {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 760px;
}
.statement em { font-style: normal; color: var(--coral-text); }
.dark .statement em, .hero .statement em { color: var(--coral); }

/* Dark sections */
.dark { background: var(--bg-dark); color: var(--on-dark); }
.dark .prose p, .dark .sub { color: var(--on-dark-muted); }
.dark .prose p strong { color: var(--on-dark); }

/* ---------- Venture cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 24px; margin-top: 52px; }
.card {
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  background: var(--white);
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(20, 10, 16, 0.18); }
.card--dark { background: var(--bg-dark); border-color: var(--line-light); color: var(--on-dark); }
.card--cream { background: var(--cream); }
.dark .card { background: rgba(250, 245, 240, 0.05); border-color: var(--line-light); color: var(--on-dark); }

.card .venture-logo { height: 54px; margin-bottom: 26px; display: flex; align-items: center; }
.card .venture-logo img { max-height: 100%; width: auto; }
.logo-plate { background: #fff; border-radius: 12px; padding: 8px 12px; height: 54px; display: flex; align-items: center; }
.logo-plate img { max-height: 100%; width: auto; }

.card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.card h4 { font-size: 1.05rem; font-weight: 600; margin: 8px 0 10px; }
.card .cat {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 500;
  color: var(--coral-text); margin-bottom: 14px;
}
.card--dark .cat, .dark .card .cat { color: var(--coral); }
.card .cat.orange { color: var(--orange-text); }
.card--dark .cat.orange, .dark .card .cat.orange { color: #f07a3c; }
.card .cat.purple { color: var(--purple); }
.card .tag {
  font-family: var(--font-head); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.dark .card .tag, .card--dark .tag { color: var(--on-dark-muted); }
.card p { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.card--dark p { color: var(--on-dark-muted); }
.dark .card p { color: var(--on-dark-muted); }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }

.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--green-text); }
.card--dark .status.live, .dark .card .status.live { color: var(--green); }
.status.building { color: var(--amber-text); }
.card--dark .status.building, .dark .card .status.building { color: var(--amber); }
.status.building-purple { color: var(--purple); }

.stage {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
}
.stage.live { background: rgba(74, 222, 128, 0.14); color: var(--green-text); }
.dark .stage.live { color: var(--green); }
.stage.building { background: rgba(251, 191, 36, 0.14); color: var(--amber-text); }
.dark .stage.building { color: var(--amber); }

/* ---------- Horizontal steps (home) ---------- */
.steps-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  margin: 64px 0 54px;
  position: relative;
}
.steps-row::before {
  content: ''; position: absolute; left: 9%; right: 9%; top: 74px;
  border-top: 2px dotted rgba(32, 19, 24, 0.22);
}
.step-h { text-align: center; position: relative; z-index: 1; }
.step-h .num { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink-2); margin-bottom: 16px; }
.step-h .circ {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--ink);
}
.step-h .circ svg { width: 22px; height: 22px; }
.step-h h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-h p { font-size: 0.83rem; color: var(--ink-2); max-width: 170px; margin: 0 auto; }

/* ---------- Story split ---------- */
.story-split { display: grid; grid-template-columns: 1fr 1fr; }
.story-visual {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 120% at 70% 30%, #3a1220 0%, var(--bg-dark) 70%);
  min-height: 520px;
  display: flex; align-items: flex-end;
}
.story-visual > svg { position: absolute; right: -10%; top: -6%; width: 80%; opacity: 0.85; }
.story-card {
  position: relative; z-index: 2;
  margin: 40px;
  background: rgba(20, 10, 16, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 28px;
  color: var(--on-dark);
  max-width: 320px;
  display: flex; gap: 18px; align-items: flex-start;
}
.story-card .story-mark { width: 42px; height: auto; flex-shrink: 0; }
.story-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.story-card p { font-size: 0.83rem; color: var(--on-dark-muted); }
.story-text { background: var(--white); padding: 90px 70px; }

/* ---------- Detailed method (how we build) ---------- */
.method-block {
  display: grid; grid-template-columns: 180px 1fr; gap: 40px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.method-block:first-of-type { border-top: 0; }
.method-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.method-num small { display: block; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); -webkit-text-fill-color: var(--muted); margin-top: 12px; font-weight: 600; }
.method-body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 18px; }
.method-body p { color: var(--ink-2); max-width: 620px; margin-bottom: 1em; }
.method-body p strong { color: var(--ink); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; max-width: 660px; }
.pill {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; color: var(--ink-2);
}
.dark .pill { border-color: var(--line-light); color: var(--on-dark-muted); }
.decision { display: flex; gap: 14px; margin: 24px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.decision .go { color: var(--green-text); }
.decision .hold { color: var(--amber-text); }
.decision .kill { color: var(--coral-text); }

/* ---------- Stages timeline ---------- */
.stages-list { margin-top: 50px; display: grid; gap: 0; }
.stage-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 30px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.dark .stage-row { border-color: var(--line-light); }
.stage-row .name { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.18em; font-size: 0.92rem; text-transform: uppercase; }
.stage-row .desc { color: var(--ink-2); }
.dark .stage-row .desc { color: var(--on-dark-muted); }

/* ---------- Venture detail ---------- */
.venture-hero .wrap { max-width: 1200px; }
.venture-id { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.venture-id .logo-plate { height: 64px; padding: 10px 16px; border-radius: 14px; }
.venture-meta {
  display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-dark-muted);
}
.venture-meta .sep { opacity: 0.4; }
.venture-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.venture-hero .lead { max-width: 560px; }

/* Stage track — the venture's position in the studio pipeline */
.track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
  position: relative;
}
.track::before {
  content: ''; position: absolute; left: 7%; right: 7%; top: 7px;
  border-top: 2px dotted var(--line);
}
.dark .track::before, .venture-hero .track::before { border-color: var(--line-light); }
.track-step { position: relative; z-index: 1; text-align: center; }
.track-step .dot {
  display: block; width: 16px; height: 16px; border-radius: 50%;
  margin: 0 auto 12px; background: var(--cream-2);
  border: 2px solid var(--line); box-sizing: border-box;
}
.dark .track-step .dot, .venture-hero .track-step .dot { background: var(--bg-dark-2); border-color: var(--line-light); }
.track-step .lbl {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  display: block; line-height: 1.3;
}
.dark .track-step .lbl, .venture-hero .track-step .lbl { color: rgba(246, 240, 236, 0.5); }

.track-step.is-done .dot { background: var(--coral-text); border-color: var(--coral-text); }
.dark .track-step.is-done .dot, .venture-hero .track-step.is-done .dot { background: var(--coral); border-color: var(--coral); }
.track-step.is-done .lbl { color: var(--ink-2); }
.dark .track-step.is-done .lbl, .venture-hero .track-step.is-done .lbl { color: var(--on-dark-muted); }

.track-step.is-current .dot {
  width: 22px; height: 22px; margin-top: -3px; margin-bottom: 9px;
  background: var(--coral-text); border-color: var(--coral-text);
  box-shadow: 0 0 0 5px rgba(184, 52, 44, 0.18);
}
.dark .track-step.is-current .dot, .venture-hero .track-step.is-current .dot {
  background: var(--coral); border-color: var(--coral);
  box-shadow: 0 0 0 5px rgba(242, 86, 77, 0.22);
}
.track-step.is-current .lbl { color: var(--coral-text); }
.dark .track-step.is-current .lbl, .venture-hero .track-step.is-current .lbl { color: var(--coral-soft); }

.track-note { margin-top: 22px; color: var(--ink-2); font-size: 0.95rem; max-width: 62ch; }
.dark .track-note, .venture-hero .track-note { color: var(--on-dark-muted); }

/* Problem / approach two-column */
.split-2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 44px; margin-top: 44px;
}
.split-2 h2, .split-2 h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: 14px; max-width: none; }
.split-2 p { color: var(--ink-2); margin-bottom: 1em; }
.dark .split-2 p { color: var(--on-dark-muted); }
.split-2 p strong { color: var(--ink); }
.dark .split-2 p strong { color: var(--on-dark); }

/* "Who it's for" list */
.audience-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; max-width: 620px; }
.audience-list li {
  position: relative; padding-left: 30px; color: var(--ink-2);
}
.dark .audience-list li { color: var(--on-dark-muted); }
.audience-list li::before {
  content: ''; position: absolute; left: 4px; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--coral-text);
}
.dark .audience-list li::before { background: var(--coral); }
.audience-list li b { color: var(--ink); font-weight: 600; }
.dark .audience-list li b { color: var(--on-dark); }

/* Related ventures strip */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 40px; }
.related-card {
  border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}
.related-card:only-child { max-width: 420px; }
.related-card:hover { transform: translateY(-4px); border-color: var(--coral); }
.related-card .cat {
  font-family: var(--font-head); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-muted);
}
.related-card h3 { font-size: 1.2rem; }
.related-card .go { margin-top: auto; padding-top: 12px; color: var(--coral); font-family: var(--font-head); font-size: 0.85rem; font-weight: 500; }

@media (max-width: 860px) {
  .track { grid-template-columns: 1fr; gap: 0; }
  .track::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 0; height: auto; border-top: 0; border-left: 2px dotted var(--line); }
  .dark .track::before, .venture-hero .track::before { border-left-color: var(--line-light); }
  .track-step { text-align: left; display: flex; align-items: center; gap: 14px; padding: 7px 0; }
  .track-step .dot { margin: 0; flex-shrink: 0; }
  .track-step.is-current .dot { margin: 0 -3px 0 -3px; }
  .track-step .lbl { font-size: 0.74rem; }
}
@media (max-width: 600px) {
  .venture-id .logo-plate { height: 54px; }
  .split-2 { gap: 32px; margin-top: 32px; }
}

/* ---------- Studio directory ---------- */
.studio-stat {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.4;
  margin-top: 30px; max-width: 60ch;
}
.studio-stat b { color: var(--coral-text); font-weight: 600; }
.dark .studio-stat b { color: var(--coral); }

.studio-group { margin-top: 48px; }
.group-head {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 14px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.dark .group-head { color: var(--on-dark-muted); border-color: var(--line-light); }
.group-head .count {
  font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dark .group-head .count { color: rgba(246, 240, 236, 0.5); }

.studio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(132px, 100%), 1fr));
  gap: 30px 20px;
}
.person { text-align: center; }
.avatar {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 14px; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
}
.section.cream-2 .avatar { background: var(--white); }
.dark .avatar { background: rgba(250, 245, 240, 0.08); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Initials stand in until a photo exists — deliberate, not a broken image */
.monogram {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.5rem; letter-spacing: 0.03em;
  background: linear-gradient(135deg, #d8382e 0%, #b8342c 45%, #43152f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.dark .monogram { background: var(--grad); -webkit-background-clip: text; background-clip: text; }

.person .name { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; line-height: 1.3; margin-bottom: 3px; }
.person .role { font-size: 0.82rem; color: var(--ink-2); line-height: 1.4; }
.dark .person .role { color: var(--on-dark-muted); }
.person a.name-link { display: block; }
.person a.name-link:hover .name { color: var(--coral-text); }
.dark .person a.name-link:hover .name { color: var(--coral-soft); }

/* Placeholder state — remove .is-draft once real people are in */
.person.is-draft .avatar { border: 1px dashed var(--line); }
.dark .person.is-draft .avatar { border-color: var(--line-light); }
.person.is-draft .name, .person.is-draft .role { opacity: 0.5; }

.draft-flag {
  border: 1px solid rgba(184, 52, 44, 0.35); background: rgba(184, 52, 44, 0.08);
  border-radius: 12px; padding: 16px 20px; margin-top: 34px;
  font-size: 0.92rem; color: #9e2620; max-width: 70ch;
}
.dark .draft-flag {
  border-color: rgba(255, 138, 122, 0.35); background: rgba(255, 138, 122, 0.1);
  color: var(--coral-soft);
}
.draft-flag b { display: block; font-family: var(--font-head); margin-bottom: 4px; }

@media (max-width: 600px) {
  .studio-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .avatar { width: 72px; height: 72px; margin-bottom: 11px; }
  .monogram { font-size: 1.25rem; }
  .person .name { font-size: 0.88rem; }
  .person .role { font-size: 0.76rem; }
  .studio-group { margin-top: 36px; }
}
/* Only the narrowest phones drop to two — 375px fits three comfortably,
   which nearly halves the scroll depth of an 18-person directory. */
@media (max-width: 330px) {
  .studio-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 26px; margin-top: 56px; }
.principle { border-top: 2px solid var(--coral); padding-top: 26px; }
.principle h3 { font-size: 1.25rem; margin-bottom: 10px; }
.principle p { color: var(--ink-2); font-size: 0.95rem; }
.dark .principle p { color: var(--on-dark-muted); }

/* ---------- Audience blocks ---------- */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 24px; margin-top: 52px; }

/* ---------- Journal categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; margin-top: 48px; }
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; background: var(--white);
}
.cat-card h3 { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 10px; color: var(--coral); }
.cat-card p { color: var(--ink-2); font-size: 0.93rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 0; }
.cta-band .cta-text .sub { margin-top: 16px; }
.cta-band .cta-blobs { position: absolute; right: -4%; bottom: -40%; width: 380px; opacity: 0.5; z-index: 1; pointer-events: none; }
.cta-band.centered .wrap { justify-content: center; text-align: center; flex-direction: column; }

/* ---------- Arabic ---------- */
.arabic {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  direction: rtl;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Email as an alternative route to the form — a form with no fallback
   is a leap of faith if a send ever fails. */
.contact-alt { margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; }
.contact-alt a { color: var(--coral-text); text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a:hover { color: var(--coral-soft); }

/* ---------- Forms ---------- */
.contact-form { max-width: 640px; margin-top: 50px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
/* visually hidden but still focusable — must beat `.field input { width:100% }` */
.chip-group input[type="radio"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.chip-group label {
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 22px; cursor: pointer; transition: 0.2s;
  color: var(--ink-2);
}
.chip-group input:checked + label { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip-group input:focus-visible + label { outline: 2px solid var(--coral); outline-offset: 2px; }

.field { margin-bottom: 24px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.88rem; margin-bottom: 8px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--white); color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); }
.field textarea { min-height: 150px; resize: vertical; }

.form-success { padding: 36px 0; }
.form-success:focus { outline: none; }
.form-success h3 { font-size: 1.8rem; margin-bottom: 12px; }
.form-success p { color: var(--ink-2); }

/* Form status messages */
.form-status {
  margin-top: 16px; padding: 13px 17px; border-radius: 12px;
  font-size: 0.93rem; line-height: 1.5;
  background: rgba(31, 107, 66, 0.10); color: var(--green-text);
  border: 1px solid rgba(31, 107, 66, 0.28);
}
.form-status.is-error { background: rgba(184, 52, 44, 0.09); color: var(--coral-text); border-color: rgba(184, 52, 44, 0.3); }
.form-status:focus { outline: 2px solid var(--coral-text); outline-offset: 2px; }
.dark .form-status, .site-footer .form-status {
  background: rgba(127, 199, 156, 0.12); color: #9fe0bb; border-color: rgba(127, 199, 156, 0.3);
}
.dark .form-status.is-error, .site-footer .form-status.is-error {
  background: rgba(255, 138, 122, 0.12); color: var(--coral-soft); border-color: rgba(255, 138, 122, 0.32);
}
.dark .form-status:focus, .site-footer .form-status:focus { outline-color: var(--coral-soft); }

/* Privacy / expectation note under the submit button */
.form-note { margin-top: 18px; font-size: 0.86rem; color: var(--ink-2); max-width: 52ch; }
.form-note a { color: var(--coral-text); text-decoration: underline; text-underline-offset: 2px; }
.form-meta {
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-family: var(--font-head); font-size: 0.84rem; color: var(--ink-2);
}
.form-meta b { color: var(--ink); font-weight: 600; }

/* Newsletter (dark contexts) */
.newsletter { max-width: 520px; }
.newsletter form { display: flex; gap: 10px; margin-top: 16px; }
.newsletter input {
  flex: 1; min-width: 0; font-size: 0.92rem; padding: 12px 18px;
  border: 1px solid var(--line-light); border-radius: 999px;
  background: rgba(250, 245, 240, 0.07); color: var(--on-dark);
}
.newsletter input::placeholder { color: rgba(246, 240, 236, 0.62); }
.newsletter input:focus { outline: none; border-color: var(--coral-soft); }
.newsletter .btn { padding: 12px 20px; }
.newsletter .note { font-size: 0.82rem; color: rgba(246, 240, 236, 0.62); margin-top: 12px; }

/* Subscribe block at the end of a post. The dark-context newsletter styles
   assume a dark ground, so the light-ground variants are set here. */
.newsletter-block { max-width: 620px; }
.newsletter-block h2 { margin-bottom: 14px; }
.newsletter-block .sub { margin-bottom: 26px; }
.newsletter-block .newsletter { max-width: 520px; }
.newsletter-block .newsletter input {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.newsletter-block .newsletter input::placeholder { color: var(--muted); }
.newsletter-block .newsletter input:focus { border-color: var(--coral-text); }
.newsletter-block .note { color: var(--ink-2); }
.newsletter-block .form-status { max-width: 520px; }

@media (max-width: 480px) {
  .newsletter-block .newsletter form { flex-wrap: wrap; }
  .newsletter-block .newsletter input { flex: 1 1 100%; }
  .newsletter-block .newsletter .btn { width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--on-dark); padding: 84px 0 36px; border-top: 1px solid var(--line-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 44px;
  margin-bottom: 60px;
}
.footer-grid .brand-logo { height: 46px; }
.footer-tagline { margin-top: 20px; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--coral-soft); }
.footer-meta { margin-top: 8px; color: var(--on-dark-muted); font-size: 0.9rem; }
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-light);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--on-dark-muted);
  transition: 0.2s;
}
.footer-social a:hover { color: #fff; border-color: var(--coral); background: var(--coral); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(246, 240, 236, 0.62); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; padding: 8px 0; color: var(--on-dark-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--coral-soft); }
.footer-col p { font-size: 0.85rem; color: var(--on-dark-muted); }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(246, 240, 236, 0.62); font-size: 0.83rem;
}
.footer-bottom a { color: inherit; margin-left: 24px; display: inline-block; padding: 6px 0; }
.footer-bottom a:hover { color: var(--coral-soft); }

/* ---------- Journal index ---------- */
.post-list { display: grid; gap: 0; margin-top: 44px; }
.post-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 34px;
  padding: 34px 0; border-top: 1px solid var(--line);
  align-items: start;
  transition: opacity 0.2s;
}
.post-card:last-child { border-bottom: 1px solid var(--line); }
.dark .post-card { border-color: var(--line-light); }
.post-card:hover h3 { color: var(--coral-text); }
.dark .post-card:hover h3 { color: var(--coral-soft); }
.post-card .rail {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral-text);
  padding-top: 5px;
}
.dark .post-card .rail { color: var(--coral); }
.post-card .rail .when { display: block; color: var(--muted); margin-top: 7px; letter-spacing: 0.12em; }
.dark .post-card .rail .when { color: rgba(246, 240, 236, 0.5); }
.post-card h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 10px; transition: color 0.2s; }
.post-card p { color: var(--ink-2); font-size: 0.97rem; max-width: 62ch; }
.dark .post-card p { color: var(--on-dark-muted); }
.post-card .more {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 500; color: var(--coral-text);
}
.dark .post-card .more { color: var(--coral); }

/* ---------- Article ---------- */
.post-hero .wrap { max-width: 780px; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: 22px;
}
.post-meta .cat { color: var(--coral); }
.post-meta .sep { opacity: 0.4; }
.post-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 20ch; }

.post-body { max-width: 68ch; }
.post-body > p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.post-body p { color: var(--ink-2); margin-bottom: 1.15em; }
.post-body h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 46px 0 16px;
}
.post-body h2:first-child { margin-top: 0; }
.post-body strong { color: var(--ink); }
.post-body ul { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.post-body li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); }
.post-body li::before {
  content: ''; position: absolute; left: 5px; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral-text);
}
.post-body blockquote {
  margin: 32px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--coral-text);
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.4; color: var(--ink);
}
.post-body hr {
  border: 0; border-top: 1px solid var(--line);
  margin: 44px 0;
}

/* Next / previous */
.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%), 1fr)); gap: 20px; margin-top: 40px; }
.post-nav a {
  border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 7px;
  transition: transform 0.2s, border-color 0.2s;
}
.post-nav a:hover { transform: translateY(-4px); border-color: var(--coral); }
.post-nav .dir {
  font-family: var(--font-head); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-dark-muted);
}
.post-nav h3 { font-size: 1.08rem; }

@media (max-width: 700px) {
  .post-card { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .post-card .rail { padding-top: 0; display: flex; gap: 14px; align-items: baseline; }
  .post-card .rail .when { margin-top: 0; }
  .post-body h2 { margin-top: 36px; }
  .post-body blockquote { padding-left: 18px; margin: 26px 0; }
}

/* ---------- Legal / long-form ---------- */
.legal { max-width: 68ch; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 44px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 1em; }
.legal ul { padding-left: 1.15em; margin-bottom: 1.4em; }
.legal li { margin-bottom: 0.5em; }
.legal strong { color: var(--ink); }
.legal .updated {
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 34px;
}
.legal-flag {
  border: 1px solid rgba(184, 52, 44, 0.3); background: rgba(184, 52, 44, 0.07);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 38px;
  font-size: 0.92rem; color: #9e2620;
}
.legal-flag b { display: block; font-family: var(--font-head); margin-bottom: 4px; }

/* ---------- 404 ---------- */
.page-404 { min-height: 70vh; display: flex; align-items: center; }

/* ---------- Cookie consent ----------
   Injected by main.js only when the configured analytics provider actually
   sets cookies. Switching to a cookie-free provider removes it automatically. */
.consent {
  position: fixed; z-index: 90;
  left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  background: var(--bg-dark);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 24px 26px;
  color: var(--on-dark);
  box-shadow: 0 18px 50px rgba(20, 10, 16, 0.55);
}
@supports (padding: max(0px)) {
  .consent { bottom: max(20px, env(safe-area-inset-bottom)); }
}
.consent[hidden] { display: none !important; }

.consent h2 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  margin-bottom: 8px;
}
.consent p {
  font-size: 0.92rem; line-height: 1.55; color: var(--on-dark-muted);
  margin-bottom: 18px; max-width: 60ch;
}
.consent p a { color: var(--coral-soft); text-decoration: underline; text-underline-offset: 2px; }

/* Accept and decline carry equal visual weight on purpose — burying the
   refusal is the pattern regulators single out. */
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { flex: 0 0 auto; }
.consent-actions .btn-outline { color: var(--on-dark) !important; border-color: rgba(246, 240, 236, 0.45); }

.consent-anim { animation: consent-in 0.32s cubic-bezier(.2,.7,.3,1) both; }
@keyframes consent-in {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .consent-anim { animation: none; } }

/* Footer control for changing the choice later — withdrawing consent has to
   be as easy as giving it. */
.consent-reopen {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: var(--font-body); font-size: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 2px;
}
.consent-reopen:hover { color: var(--coral-soft); }

@media (max-width: 560px) {
  .consent { padding: 20px; border-radius: 14px; bottom: 12px; width: calc(100vw - 24px); }
  .consent-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Reveal ----------
   Content ships VISIBLE. main.js adds .js-reveal to <html> before paint, which
   arms the animation. If the script is blocked, errors, or never loads, the page
   renders fully — just without the fade-in — instead of going blank. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Pointer capability ----------
   Touch screens have no hover, so lift/shadow effects would stick after a tap. */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .btn:hover { transform: none; box-shadow: none; background: var(--btn-fill); }
  .btn-outline:hover { background: none; }
  .circle-btn:hover { background: none; border-color: var(--line-light); color: inherit; }
}
/* Give touch users a clear press state instead */
@media (hover: none) {
  .btn:active { transform: scale(0.97); }
  .card:active { transform: scale(0.995); }
}

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1120px) {
  .story-text { padding: 76px 48px; }
}

@media (max-width: 1020px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); gap: 34px 18px; }
  .steps-row::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Tablet / mobile nav ----------
   920 (not 860): at ~880 the desktop nav had only 59px of headroom left. */
@media (max-width: 920px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--bg-dark);
    flex-direction: column; align-items: stretch;
    padding: 16px 24px 28px; gap: 4px;
    border-bottom: 1px solid var(--line-light);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-130%);
    visibility: hidden;                 /* keep links out of the tab order when closed */
    transition: transform 0.3s ease, visibility 0.3s;
  }
  @supports (height: 100dvh) { .nav { max-height: calc(100dvh - 72px); } }
  .nav.open { transform: none; visibility: visible; }
  .nav a {
    font-size: 0.95rem; letter-spacing: 0.06em; text-transform: none;
    padding: 14px 4px;                  /* 44px+ tap targets */
    border-bottom: 1px solid var(--line-light);
  }
  .nav a:last-of-type { border-bottom: 0; }
  .nav .btn-outline {
    font-size: 0.85rem; letter-spacing: 0.08em;
    justify-content: center; padding: 14px 22px; margin-top: 14px;
    border-bottom: 1px solid rgba(246, 240, 236, 0.45);
  }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-blobs svg { opacity: 0.3; right: -30%; width: 90vw; }
  .scroll-hint { display: none; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .story-split { grid-template-columns: 1fr; }
  .story-visual { min-height: 380px; }
  .story-text { padding: 64px 28px; }
  .method-block { grid-template-columns: 1fr; gap: 16px; }
  .stage-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 68px 0; }
  .hero { padding: 84px 0 96px; }

  /* Bump the smallest labels — 10–11px tracked caps is too fine below laptop size */
  .eyebrow { font-size: 0.76rem; letter-spacing: 0.24em; }
  .card .tag { font-size: 0.72rem; letter-spacing: 0.2em; }
  .status, .stage { font-size: 0.72rem; letter-spacing: 0.16em; }
  .footer-col h4 { font-size: 0.74rem; letter-spacing: 0.22em; }
}

/* Any touch device, at any width (incl. tablets in landscape):
   inputs below 16px make iOS/iPadOS zoom the page on focus. */
@media (pointer: coarse) {
  .field input, .field textarea, .newsletter input, .chip-group label { font-size: 16px; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section.tight { padding: 44px 0; }
  .hero { padding: 68px 0 76px; }
  .card { padding: 28px 24px; }
  .cards, .audience { margin-top: 36px; gap: 18px; }
  .principles { margin-top: 36px; gap: 30px; }
  .cat-grid { margin-top: 32px; }

  /* Steps read as a vertical list instead of cramped columns */
  .steps-row { grid-template-columns: 1fr; gap: 26px; margin: 40px 0 36px; }
  .step-h { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; }
  .step-h .circ { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .step-h .num { grid-column: 2; grid-row: 1; margin-bottom: 2px; }
  .step-h h3 { grid-column: 2; grid-row: 2; }
  .step-h p { grid-column: 2; grid-row: 3; max-width: none; margin: 0; }

  .story-card { margin: 20px; padding: 22px; gap: 14px; }
  .story-visual { min-height: 300px; }
  .cta-band .wrap { gap: 28px; }
  .cta-band .cta-blobs { width: 260px; opacity: 0.35; }

  .footer-bottom { font-size: 0.85rem; }
  .story-card p, .step-h p { font-size: 0.9rem; }

  /* Roomier tap targets */
  .footer-col a { padding: 12px 0; }
  .footer-social a, .circle-btn { width: 44px; height: 44px; }
  .footer-social { gap: 12px; }
  .text-link { display: inline-block; padding: 6px 0; }

  .footer-bottom { flex-direction: column; gap: 14px; }
  .footer-bottom a { margin-left: 0; margin-right: 20px; }

  .contact-form { margin-top: 34px; }
  .chip-group { gap: 8px; margin-bottom: 28px; }
  .decision { flex-wrap: wrap; gap: 10px; }
  .method-block { padding: 44px 0; }
}

/* ---------- Small phones (iPhone SE and narrower) ---------- */
@media (max-width: 400px) {
  .brand-logo { height: 34px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card { padding: 24px 20px; }
  .story-text { padding: 48px 20px; }
  .newsletter form { flex-wrap: wrap; }
  .newsletter input { flex: 1 1 100%; }
}

/* ---------- Landscape phones ----------
   A 360px-tall viewport can't afford a 92vh hero or 96px section padding. */
@media (max-height: 560px) and (orientation: landscape) {
  .home-hero { min-height: 0; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 18px; }
  .hero p.lead { margin-bottom: 26px; }
  .hero-bar { margin-bottom: 20px; }
  .section { padding: 48px 0; }
  .scroll-hint { display: none; }
  .story-visual { min-height: 260px; }
}

/* ---------- Large screens ---------- */
@media (min-width: 1600px) {
  .wrap { max-width: 1320px; }
  .story-text { padding: 110px 90px; }
}
