/* ---------------------------------------------------------------------------
   Inovia — landing page styles
   Brand palette pulled from inovia.vc theme presets.
--------------------------------------------------------------------------- */

:root {
  --primary: #1F7887;
  --primary-medium: #1D6F7C;
  --primary-dark: #082E3B;
  --secondary: #00FFF1;
  --accent-purple: #DEE0FF;
  --accent-light: #F7F7F7;
  --white: #FFFFFF;
  --ink: #0B2A33;
  --ink-soft: #4A6169;
  --line: rgba(8, 46, 59, 0.10);

  --font-head: "Quicksand", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --shadow: 0 20px 50px -24px rgba(8, 46, 59, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-alt { background: var(--accent-light); }
.section-purple { background: var(--accent-purple); }
.section-dark { background: var(--primary-dark); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 3px;
  background: var(--secondary);
}
.section-dark .eyebrow { color: var(--secondary); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }
.section-dark .section-head p { color: rgba(255,255,255,.72); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-medium); }
.btn-cyan { background: var(--secondary); color: var(--primary-dark); }
.btn-cyan:hover { background: #7ffff8; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--secondary); color: var(--secondary); }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 700; color: var(--primary);
}
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* Nav --------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 46, 59, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 2rem;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em;
  display: inline-flex; align-items: baseline; gap: .15rem;
}
.logo .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--secondary); display: inline-block;
}
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: rgba(255,255,255,.8); transition: color .15s ease;
}
.nav-links a:hover { color: var(--secondary); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--white);
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor;
  margin: 5px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--primary-dark); color: var(--white);
  padding-block: clamp(4rem, 9vw, 7rem) clamp(4rem, 8vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(31,120,135,.55), transparent 60%),
    radial-gradient(40% 50% at 10% 90%, rgba(0,255,241,.12), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  margin: 0 0 1.4rem;
}
.hero h1 em {
  font-style: normal; color: var(--secondary);
  position: relative; white-space: nowrap;
}
.hero-lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: rgba(255,255,255,.78);
  max-width: 540px; margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }
.hero-proof { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,.7); font-size: .95rem; }
.hero-proof strong { color: var(--white); }

.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -12px; border: 3px solid var(--primary-dark); }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* Avatar system ------------------------------------------------------------ */
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--white); flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.avatar.t2 { background: linear-gradient(135deg, #2FA3B5, var(--primary)); }
.avatar.t3 { background: linear-gradient(135deg, #7C8BFF, var(--primary-medium)); }
.avatar.t4 { background: linear-gradient(135deg, var(--secondary), var(--primary)); color: var(--primary-dark); }
.avatar.t5 { background: linear-gradient(135deg, #D6D9FF, #8FA5FF); color: var(--primary-dark); }
.avatar.photo { overflow: hidden; }
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.15) translateY(6%); }

/* Hero people mosaic */
.mosaic {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 14px;
}
.mosaic .tile {
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s ease;
}
.mosaic .tile:hover { transform: translateY(-4px); }
.mosaic .tile .avatar { width: 56px; height: 56px; font-size: 1.1rem; margin-bottom: auto; }
.mosaic .tile b { font-family: var(--font-head); font-size: .95rem; display: block; }
.mosaic .tile small { color: rgba(255,255,255,.6); font-size: .78rem; }
.mosaic .tile.cyan { background: var(--secondary); color: var(--primary-dark); border-color: transparent; }
.mosaic .tile.cyan b, .mosaic .tile.cyan small { color: var(--primary-dark); }
.mosaic .tile.teal { background: var(--primary); border-color: transparent; }
.mosaic .tile.purple { background: var(--accent-purple); color: var(--primary-dark); border-color: transparent; }
.mosaic .tile.purple small { color: rgba(8,46,59,.65); }
.mosaic .tile.stat { justify-content: center; align-items: flex-start; }
.mosaic .tile.stat:not(.cyan) { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.mosaic .tile.stat .num, .mosaic .tile.stat .lbl { color: inherit; }
.mosaic .tile.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; word-break: keep-all; }
.mosaic .tile.stat .lbl { font-size: .8rem; opacity: .75; margin-top: .3rem; }
.mosaic .tile:nth-child(2) { transform: translateY(28px); }
.mosaic .tile:nth-child(5) { transform: translateY(28px); }
.mosaic .tile:nth-child(2):hover, .mosaic .tile:nth-child(5):hover { transform: translateY(24px); }

/* Stats band --------------------------------------------------------------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-block: 2.2rem;
}
.stat { padding-inline: 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--primary-dark); line-height: 1;
}
.stat .lbl { color: var(--ink-soft); font-size: .92rem; margin-top: .35rem; }

/* Founder stories ---------------------------------------------------------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.story:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.story-top { display: flex; align-items: center; justify-content: space-between; }
.story .tag {
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent-purple); color: var(--primary-dark);
  padding: .35rem .7rem; border-radius: 999px;
}
.story h3 { font-size: 1.5rem; }
.story p { color: var(--ink-soft); flex: 1; }
.story .who { display: flex; align-items: center; gap: .8rem; }
.story .who b { font-family: var(--font-head); display: block; font-size: .95rem; }
.story .who small { color: var(--ink-soft); font-size: .82rem; }
.stories-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.logo-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; color: var(--ink-soft); font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.logo-row span { opacity: .75; }

/* Partnership stages ------------------------------------------------------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stage {
  position: relative;
  background: var(--white); border-radius: var(--radius);
  padding: 2.25rem; overflow: hidden;
  border: 1px solid var(--line);
}
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.stage .step {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  color: var(--primary); letter-spacing: .1em; margin-bottom: 1.25rem;
}
.stage h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.stage .range { color: var(--primary-dark); font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.stage p { color: var(--ink-soft); }
.stage ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.stage li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.stage li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7887' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* People / values ---------------------------------------------------------- */
.people-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.people-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1.25rem; }
.people-copy p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 1.25rem; }
.values { display: grid; gap: 1rem; margin-top: 2rem; }
.value {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.25rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.value .ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: var(--secondary); color: var(--primary-dark);
  display: grid; place-items: center;
}
.value .ic svg { width: 20px; height: 20px; }
.value b { font-family: var(--font-head); display: block; margin-bottom: .15rem; }
.value span { color: rgba(255,255,255,.7); font-size: .95rem; }

.team-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team-wall .card {
  aspect-ratio: 1 / 1.2; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem; text-align: center;
}
.team-wall .card.person {
  position: relative; overflow: hidden; padding: 0; border: 0;
  justify-content: flex-end; align-items: stretch; text-align: left;
  transition: transform .25s ease;
}
.team-wall .card.person:hover { transform: translateY(-4px); }
.team-wall .card.person img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transform: scale(1.06) translateY(2%); transform-origin: center bottom;
  transition: transform .4s ease;
}
.team-wall .card.person:hover img { transform: scale(1.12) translateY(1%); }
.team-wall .card.person .cap {
  position: relative; padding: 2.4rem .9rem .8rem;
  background: linear-gradient(to top, rgba(8,46,59,.92) 30%, rgba(8,46,59,0));
  color: var(--white);
}
.team-wall .card.person .cap b { font-family: var(--font-head); display: block; font-size: .92rem; line-height: 1.2; }
.team-wall .card.person .cap small { color: rgba(255,255,255,.72); font-size: .74rem; }
.team-wall .card.tint-a { background: linear-gradient(160deg, #2A8E9E, var(--primary)); }
.team-wall .card.tint-b { background: linear-gradient(160deg, #8C9BFF, #5C6BD6); }
.team-wall .card.tint-c { background: linear-gradient(160deg, var(--secondary), #16A8A0); }
.team-wall .card.tint-d { background: linear-gradient(160deg, var(--accent-purple), #9DB0E8); }
.team-wall .card small { color: rgba(255,255,255,.6); font-size: .75rem; line-height: 1.3; }
.team-wall .card.big { grid-column: span 2; aspect-ratio: auto; background: var(--primary); border-color: transparent; align-items: flex-start; text-align: left; justify-content: flex-end; transition: background .2s ease; }
.team-wall .card.big:hover { background: var(--primary-medium); }
.team-wall .card.big b { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; }
.team-wall .card.big small { color: rgba(255,255,255,.75); font-size: .85rem; }
.offices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.offices span {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .35rem .9rem;
  color: rgba(255,255,255,.85);
}

/* Report feature ------------------------------------------------------------ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  background: var(--white); border-radius: calc(var(--radius) + 8px);
  padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line);
}
.feature h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
.feature p { color: var(--ink-soft); margin-bottom: 1.75rem; }
.report-cover {
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: var(--white); padding: 2.25rem; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.report-cover::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--secondary); opacity: .25; filter: blur(2px);
}
.report-cover .yr { font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--secondary); }
.report-cover .ttl { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.2; max-width: 16ch; }
.report-cover .sub { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: .5rem; }

/* Conversations -------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post .cover { height: 160px; background: linear-gradient(135deg, var(--accent-purple), #C2F7F4); position: relative; }
.post .cover.b { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.post .cover.c { background: linear-gradient(135deg, #C9FFFB, var(--secondary)); }
.post .cover .kind {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--white); color: var(--primary-dark); padding: .3rem .65rem; border-radius: 999px;
}
.post-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.post h3 { font-size: 1.25rem; }
.post p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.post .meta { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--ink-soft); }
.post .meta .avatar { width: 30px; height: 30px; font-size: .7rem; }

/* CTA -------------------------------------------------------------------------- */
.cta {
  background: var(--primary-dark); color: var(--white);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 120%, rgba(0,255,241,.22), transparent 70%);
}
.cta-inner { position: relative; text-align: center; max-width: 760px; margin-inline: auto; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.25rem; }
.cta p { color: rgba(255,255,255,.75); font-size: 1.15rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Footer ----------------------------------------------------------------------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer .logo { color: var(--primary-dark); }
.footer p { color: var(--ink-soft); font-size: .95rem; margin-top: 1rem; max-width: 30ch; }
.footer h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer ul a { color: var(--ink-soft); font-size: .95rem; }
.footer ul a:hover { color: var(--primary); }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: .8rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); font-family: var(--font-body); font-size: .95rem;
  background: var(--accent-light);
}
.newsletter input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  color: var(--ink-soft); font-size: .85rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.social { display: flex; gap: .6rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--primary-dark); transition: all .15s ease;
}
.social a:hover { background: var(--primary-dark); color: var(--secondary); border-color: var(--primary-dark); }
.social svg { width: 16px; height: 16px; }

/* Reveal animation --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 1.5rem; }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stories, .stages, .posts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--primary-dark); padding: .5rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav.open .nav-links a { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-grid, .people-grid, .feature { grid-template-columns: 1fr; }
  .mosaic { max-width: 520px; }
  .team-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding-inline: 1rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--line); padding-left: 1rem; }
  .stories, .stages, .posts { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 6px; }
  .mosaic .tile:nth-child(2), .mosaic .tile:nth-child(5) { transform: none; }
  .mosaic .tile:nth-child(6) { display: none; }
  .team-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .newsletter .btn { justify-content: center; }
}
