/* ==========================================================================
   Brilla Life Sciences — brilla.css
   Light theme. White/pale-blue page, deep blue bands, gold as the CTA colour.
   ========================================================================== */

:root {
  /* sampled directly from the official Brilla logo */
  --cyan-300: #7ee8ea;
  --cyan-400: #59dde2;
  --cyan-500: #44bad6;
  --blue-400: #2d95ca;
  --blue-500: #2d95ca;
  --blue-600: #176ebb;
  --blue-700: #034dae;
  --blue-800: #023d8c;
  --blue-900: #022c66;
  --cyan-200: #a9eaf0;

  --gold:     #f3ad27;
  --gold-2:   #ef921c;

  --ink:      #0d2440;
  --body:     #4a6078;
  --muted:    #6b829a;

  --paper:    #ffffff;
  --mist:     #f2fafd;
  --mist-2:   #e4f4fb;
  --line:     #d8ecf6;

  --shadow-xs: 0 1px 3px rgba(3, 77, 174, 0.06);
  --shadow-sm: 0 2px 12px rgba(3, 77, 174, 0.09);
  --shadow-md: 0 10px 30px rgba(3, 77, 174, 0.13);
  --shadow-lg: 0 24px 56px rgba(3, 77, 174, 0.18);

  --max: 1180px;
  --pad: 24px;
  --r: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Outfit", "Inter", sans-serif;
  color: var(--blue-900);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.12rem; }
h4 { font-size: 0.98rem; }

p { margin: 0 0 1.05em; }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }

/* eyebrow — small blue caps label above every section heading */
.eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 0.55em;
}
.on-dark .eyebrow, .band .eyebrow { color: var(--cyan-200); }

.lede { font-size: 1.02rem; color: var(--body); }
.band .lede, .on-dark .lede { color: rgba(255,255,255,0.9); }

/* section head: heading, then supporting copy directly beneath it */
.head-split {
  display: block;
  margin-bottom: 34px;
  max-width: 760px;
}
.head-split p { margin: 12px 0 0; font-size: 1rem; line-height: 1.6; }
.head-split h2 { margin-bottom: 0; }

/* ---------- header ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(100deg, #0c56a2 0%, #1268b6 55%, #1d84c6 100%);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 46px; width: auto; }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 9px 16px;
  text-decoration: none;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover { color: var(--gold); border-bottom-color: rgba(243, 173, 39, 0.5); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--blue-900) !important;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px !important;
  border-radius: 100px;
  border: none !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-cta:hover { background: var(--gold-2); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 38px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px;
  margin-left: -9px; border-radius: 2px; background: #fff;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 18px; }
.nav-toggle span::before { content: ""; left: 0; margin: 0; top: -6px; }
.nav-toggle span::after  { content: ""; left: 0; margin: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arw { transition: transform 0.2s ease; }
.btn:hover .arw { transform: translateX(3px); }

.btn-gold  { background: var(--gold); color: var(--blue-900); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-2); }
.btn-blue  { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-blue:hover { background: var(--blue-800); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue-900); }
.btn-line  { border-color: var(--line); color: var(--blue-700); background: #fff; }
.btn-line:hover { border-color: var(--blue-500); }
.btn-soft  { background: var(--mist-2); color: var(--blue-700); }
.btn-soft:hover { background: var(--cyan-200); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

/* text link with arrow */
.link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--blue-600); text-decoration: none;
}
.link:hover { color: var(--blue-800); }
.link .arw { transition: transform 0.2s ease; }
.link:hover .arw { transform: translateX(3px); }

/* ---------- sections -------------------------------------------------- */

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.bg-mist { background: var(--mist); }

/* deep blue band with DNA motif — used for hero + closing CTA */
.band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(72% 135% at 95% 38%, rgba(126, 232, 234, 0.55) 0%, transparent 62%),
    linear-gradient(102deg, #0f62b2 0%, #1a7cc4 38%, #2d95ca 68%, #4bc4d9 100%);
  color: #fff;
}
.band h1, .band h2, .band h3, .band h4 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.88); }
.band .wrap { position: relative; z-index: 2; }

.band-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.band-art svg { width: 100%; height: 100%; }
.dna-line { animation: dna-drift 26s ease-in-out infinite alternate; }
@keyframes dna-drift {
  from { transform: translateY(-10px); }
  to   { transform: translateY(10px); }
}
.bub { animation: bub 9s ease-in-out infinite alternate; }
@keyframes bub { from { opacity: .25; } to { opacity: .8; } }

/* hero photo slot (right side of the band) */
.hero-shell { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero-shell.solo { grid-template-columns: 1fr; }
.hero-tag {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan-200); margin: 0 0 1.1em;
}
.hero-accent { color: var(--cyan-400); }
.hero-motto {
  font-family: "Outfit", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: right;
  color: #fff;
}
.hero-motto::after {
  content: "";
  display: block;
  width: 54px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px 0 0 auto;
}

.photo-slot {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- pillar strip (white card straddling the band) ------------- */

.pillars {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -44px;
  position: relative;
  z-index: 5;
}
.pillars.four { grid-template-columns: repeat(4, 1fr); }
.pillar { display: flex; gap: 15px; padding: 26px 28px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: none; }
.pillar h4 { margin: 0 0 2px; }
.pillar p { margin: 0; font-size: 0.87rem; line-height: 1.45; color: var(--muted); }
.pillar .ico { flex: none; width: 34px; height: 34px; color: var(--blue-600); }
.pillar .ico.gold { color: var(--gold-2); }
.pillar .ico svg { width: 100%; height: 100%; }

/* ---------- cards ----------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cyan-200); }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { font-size: 0.91rem; line-height: 1.55; color: var(--muted); margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.card .link { margin-top: auto; }
.card.soft { background: var(--mist); border-color: transparent; }

.ico-sq { width: 34px; height: 34px; margin-bottom: 14px; color: var(--blue-600); }
.ico-sq svg { width: 100%; height: 100%; }
.ico-sq.gold { color: var(--gold-2); }
.ico-sq.violet { color: #7b5cd6; }
.ico-sq.cyan { color: var(--cyan-400); }

.mini { text-align: center; padding: 22px 16px; }
.mini .ico-sq { margin: 0 auto 12px; width: 30px; height: 30px; }
.mini h4 { font-size: 0.9rem; margin-bottom: 6px; }
.mini p { font-size: 0.82rem; line-height: 1.45; }

/* ---------- story band (image + copy) --------------------------------- */

.story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--mist) 0%, var(--mist) 62%, #1268b6 62%, #2d95ca 84%, #4bc4d9 100%);
}
.story-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; min-height: 0; }
.story-copy { padding: 34px 60px 34px 0; }
.story-copy h2,
.story-copy p,
.story-copy .eyebrow { max-width: 500px; }
.story-art { position: relative; align-self: stretch; }
.story-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ---------- founder --------------------------------------------------- */

.founder { display: grid; grid-template-columns: 0.72fr 1.6fr 0.9fr; gap: 28px; align-items: start; }
.founder-photo { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.founder-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.founder-body h3 { font-size: 1.4rem; margin-bottom: 2px; }
.founder-role { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.founder-body p { font-size: 0.92rem; }

.quote {
  background: var(--mist);
  border-radius: var(--r);
  padding: 26px 24px;
}
.quote .mark { font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; color: var(--cyan-400); }
.quote p { font-style: italic; font-family: "Outfit", sans-serif; color: var(--blue-800); font-size: 0.98rem; line-height: 1.5; margin: 4px 0 14px; }
.quote cite { font-style: normal; font-size: 0.84rem; color: var(--muted); }
.quote .rule { width: 46px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 14px; }

/* ---------- 5 BEs ----------------------------------------------------- */

.bes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.be {
  position: relative;
  text-align: center;
  padding: 30px 18px 26px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.be::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
}
.be:nth-child(2)::before { background: linear-gradient(90deg, var(--cyan-500), var(--blue-600)); }
.be:nth-child(3)::before { background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); }
.be:nth-child(4)::before { background: linear-gradient(90deg, var(--blue-600), var(--blue-800)); }
.be:nth-child(5)::before { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.be:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.be .badge {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  box-shadow: 0 6px 16px rgba(45, 149, 202, .28);
}
.be:nth-child(2) .badge { background: linear-gradient(135deg, var(--cyan-500), var(--blue-600)); }
.be:nth-child(3) .badge { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.be:nth-child(4) .badge { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); }
.be:nth-child(5) .badge { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3a2703; box-shadow: 0 6px 16px rgba(239, 146, 28, .3); }
.be .badge svg { width: 24px; height: 24px; }

.be .n {
  position: absolute;
  top: 14px; right: 16px;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--cyan-500);
  opacity: .65;
}
.be h4 { color: var(--blue-700); font-size: 1rem; margin-bottom: 6px; }
.be p { font-size: 0.83rem; line-height: 1.5; margin: 0; color: var(--muted); }

/* ---------- process steps -------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { display: flex; gap: 13px; }
.step .n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-600); color: #fff;
  display: grid; place-items: center;
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 0.9rem;
}
.step h4 { margin: 4px 0 4px; }
.step p { font-size: 0.85rem; line-height: 1.45; margin: 0; }

/* ---------- contact --------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: start; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: 34px 32px;
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.87rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 0.95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9db3c6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(43, 134, 221, 0.15);
}
.field textarea { min-height: 128px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.btn-send {
  width: 100%; border: none; border-radius: 8px; padding: 14px;
  background: linear-gradient(100deg, var(--blue-700), var(--blue-500));
  color: #fff; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: filter 0.2s ease;
}
.btn-send:hover { filter: brightness(1.08); }

.reach { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.reach .ico {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-600); color: #fff;
  display: grid; place-items: center;
}
.reach .ico.ig { background: linear-gradient(135deg, #f9a03f, #d6249f 52%, #6a35c9); }
.reach .ico svg { width: 19px; height: 19px; }
.reach h4 { margin: 0 0 1px; }
.reach p { margin: 0; font-size: 0.9rem; }
.reach a { text-decoration: none; font-weight: 500; }
.reach a:hover { text-decoration: underline; }

/* ---------- footer ---------------------------------------------------- */

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 34px 0 26px; }
.footer-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 26px;
  padding-bottom: 26px;
}
.footer-logos img { height: 52px; width: auto; object-fit: contain; }
.footer-logos img.blogo { height: 56px; }
.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: var(--muted);
}
.footer-copy { display: flex; align-items: center; gap: 14px; }
.footer-copy img { height: 38px; width: auto; }
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social span { font-size: 0.85rem; color: var(--muted); }
.footer-social a {
  width: 30px; height: 30px; border-radius: 7px;
  display: grid; place-items: center; color: #fff;
  background: var(--blue-700);
  transition: transform 0.2s ease;
}
.footer-social a.ig { background: linear-gradient(135deg, #f9a03f, #d6249f 52%, #6a35c9); }
.footer-social a:hover { transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-tag { text-align: right; line-height: 1.5; }
.footer-tag strong { color: var(--blue-700); font-weight: 600; }

/* ---------- reveal + a11y --------------------------------------------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--blue-800); padding: 12px 20px; z-index: 200; }
.skip:focus { left: 0; }

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

/* ---------- responsive ------------------------------------------------ */

@media (max-width: 1040px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-5, .bes { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .founder { grid-template-columns: 0.8fr 1.6fr; }
  .founder .quote { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .hero-shell, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .story { background: linear-gradient(160deg, #1268b6, #2d95ca); }
  .story-copy { padding: 34px 0 26px; }
  .story-copy h2, .story-copy p { color: #fff; }
  .story-copy .eyebrow { color: var(--cyan-200); }
  .story-art { min-height: 0; }
  .pillars, .pillars.four { grid-template-columns: 1fr; margin-top: -30px; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .founder { grid-template-columns: 1fr; }
  .footer-logos { justify-content: center; }
  .footer-base { justify-content: center; text-align: center; }
  .footer-tag { text-align: center; }
  section { padding: 52px 0; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #0f62b2;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 400px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .site-nav .header-cta { margin-top: 14px; justify-content: center; }
}

@media (max-width: 560px) {
  .grid-4, .grid-5, .grid-6, .bes, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .footer-logos img { height: 42px; }
}

/* ---------- founder AI projects (About page) -------------------------- */

.ai-projects {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ai-projects .card { padding: 20px 18px; }
.ai-projects .card h4 { font-size: 0.94rem; }
.ai-projects .card p { font-size: 0.85rem; margin-bottom: 12px; }
.ai-projects .ico-sq { width: 28px; height: 28px; margin-bottom: 10px; }


/* ---------- 5-step framework ------------------------------------------ */

.framework { display: grid; gap: 14px; }
.fstep {
  display: grid;
  grid-template-columns: 62px 200px 1fr 1fr;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.fstep:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--cyan-200); }

.fstep .fnum {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  box-shadow: 0 6px 16px rgba(45, 149, 202, .3);
}
.fstep:nth-child(2) .fnum { background: linear-gradient(135deg, var(--cyan-500), var(--blue-600)); }
.fstep:nth-child(3) .fnum { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }
.fstep:nth-child(4) .fnum { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); }
.fstep:nth-child(5) .fnum { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3a2703; box-shadow: 0 6px 16px rgba(239,146,28,.3); }

.fstep h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.fstep h3::after {
  content: "";
  display: block;
  width: 44px; height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: 7px;
}
.fstep .fwhat { margin: 0; font-size: 0.92rem; line-height: 1.55; }
.fstep ul { list-style: none; margin: 0; padding: 0; }
.fstep li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 7px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}
.fstep li:last-child { margin-bottom: 0; }
.fstep li::before {
  content: "";
  position: absolute; left: 0; top: .34em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--blue-500);
}
.fstep li::after {
  content: "";
  position: absolute; left: 5px; top: .52em;
  width: 4px; height: 7px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* the shine idea — light/dark framing */
.shine-lead {
  background: linear-gradient(100deg, #f2fafd 0%, #e4f4fb 100%);
  border-radius: 16px;
  padding: 34px 36px;
  border: 1px solid var(--line);
}
.shine-lead p:last-child { margin-bottom: 0; }
.shine-lead .pull {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1.4;
}

@media (max-width: 1040px) {
  .fstep { grid-template-columns: 52px 1fr; gap: 16px 18px; }
  .fstep h3 { grid-column: 2; }
  .fstep .fwhat, .fstep ul { grid-column: 2; }
  .fstep .fnum { grid-row: span 1; }
}


/* ---------- the shine explanation list -------------------------------- */

.shine-list { list-style: none; margin: 0 0 1.15em; padding: 0; }
.shine-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.shine-list li:last-child { margin-bottom: 0; }
.shine-list li strong { color: var(--blue-700); }
.shine-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 0 4px rgba(243, 173, 39, .18);
}


/* ---------- current page label (shown when the nav collapses) --------- */

.page-label {
  display: none;
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  padding-bottom: 3px;
  border-bottom: 3px solid var(--gold);
  white-space: nowrap;
}

@media (max-width: 880px) {
  .page-label { display: block; margin-left: auto; margin-right: 4px; }
}

@media (max-width: 420px) {
  .brand img { height: 38px; }
  .page-label { font-size: 0.94rem; }
}


/* keep the fifth value centred when the grid drops to two columns */
@media (max-width: 1040px) and (min-width: 561px) {
  .bes .be:nth-child(5) {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    margin-left: auto;
    margin-right: auto;
  }
}


/* ---------- Ways to Partner: B2G centred on its own row --------------- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.partner-grid > :nth-child(3) {
  grid-column: 1 / -1;
  max-width: calc(50% - 10px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid > :nth-child(3) { max-width: none; }
}



/* ---------- Our Story: stack before the columns get tight ------------- */

@media (max-width: 1024px) {
  .story {
    background: linear-gradient(160deg, #1268b6 0%, #2d95ca 100%);
  }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-copy { padding: 44px 0 44px; }
  .story-copy h2,
  .story-copy p,
  .story-copy .eyebrow { max-width: none; color: #fff; }
  .story-copy .eyebrow { color: var(--cyan-200); }
  .story-art { display: none; }
}

/* ---------- Beyond the Work (community) ------------------------------- */

.community { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cm {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.cm:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cyan-200); }
.cm-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.cm-photo img { width: 100%; height: 100%; object-fit: cover; }
.cm-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cm-kicker {
  font-family: "Outfit", sans-serif;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 6px;
}
.cm h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cm p { font-size: .88rem; line-height: 1.55; color: var(--muted); margin-bottom: 14px; }
.cm .link { margin-top: auto; font-size: .84rem; }

@media (max-width: 880px) { .community { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
