/* ============================================================
   Lumino Institute - brand stylesheet
   Navy + gold, drawn from the institute logo.
   ============================================================ */

:root {
  --navy-900: #0c1430;
  --navy-800: #111b3d;
  --navy-700: #16234d;
  --navy-600: #1d2e63;
  --navy-500: #28407f;
  --gold-500: #c9a44a;
  --gold-400: #d9b863;
  --gold-300: #e7cd8b;
  --ink: #16213f;
  --slate: #4a566f;
  --slate-light: #6b7791;
  --paper: #ffffff;
  --paper-2: #f6f7fb;
  --paper-3: #eef0f7;
  --line: #e3e6f0;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 10px rgba(12, 20, 48, 0.06);
  --shadow-md: 0 16px 40px rgba(12, 20, 48, 0.10);
  --shadow-lg: 0 30px 70px rgba(12, 20, 48, 0.16);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { font-family: "Fraunces", Georgia, serif; line-height: 1.12; color: var(--navy-800); font-weight: 600; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 760px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 44px; height: 44px; object-fit: contain; }
.nav__brandtext { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brandtext strong { font-family: "Fraunces", serif; font-size: 18px; letter-spacing: 2px; color: var(--navy-800); }
.nav__brandtext small { font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--slate-light); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--slate); transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--navy-700); }
.nav__cta {
  background: var(--navy-700); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 600 !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(22, 35, 77, 0.28); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: 0.25s var(--ease); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(201, 164, 74, 0.18), transparent 60%),
    radial-gradient(900px 600px at 8% 0%, rgba(40, 64, 127, 0.30), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-800) 100%);
  color: #eef1f9;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(231, 205, 139, 0.5), transparent),
    radial-gradient(2px 2px at 70% 20%, rgba(231, 205, 139, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(231, 205, 139, 0.30), transparent);
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 92px 28px 104px; }
.hero__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-300);
  padding: 7px 16px; border: 1px solid rgba(201, 164, 74, 0.4); border-radius: 999px;
  margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 62px); font-weight: 600; color: #fff;
  letter-spacing: -0.01em; max-width: 16ch;
}
.grad {
  background: linear-gradient(100deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede {
  margin-top: 24px; max-width: 60ch; font-size: clamp(16px, 1.5vw, 19px);
  color: #c3cbe0; line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 40px; margin-top: 64px;
  padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: "Fraunces", serif; font-size: 26px; color: var(--gold-300); }
.hero__stats span { font-size: 13.5px; color: #9aa6c4; letter-spacing: 0.3px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer; border: 1px solid transparent;
}
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--gold {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900); box-shadow: 0 10px 28px rgba(201, 164, 74, 0.32);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201, 164, 74, 0.42); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* ===================== SECTIONS ===================== */
.section { padding: 96px 0; }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 14px;
}
.kicker--light { color: var(--gold-300); }
.section__title { font-size: clamp(26px, 3.4vw, 40px); max-width: 22ch; letter-spacing: -0.01em; }
.section__title--light { color: #fff; }
.section__sub { margin-top: 18px; max-width: 64ch; font-size: 17px; color: var(--slate); }

/* ===================== MISSION ===================== */
.mission { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; margin-top: 48px; align-items: start; }
.mission__lead p { font-size: 17.5px; color: var(--slate); margin-bottom: 20px; }
.mission__lead em { color: var(--navy-700); font-style: italic; }
.mission__points { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.mission__points li { padding-left: 22px; border-left: 3px solid var(--gold-400); }
.mission__points h4 { font-size: 18px; margin-bottom: 5px; }
.mission__points p { font-size: 15px; color: var(--slate); }

/* ===================== WHAT WE BUILD ===================== */
.build { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.build__col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow-sm);
}
.build__col--tool {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-700));
  border-color: var(--navy-600); color: #dfe5f4;
}
.build__col--tool h3, .build__col--tool .build__desc { color: #fff; }
.build__tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--navy-600);
  background: var(--paper-3); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.build__tag--gold { background: rgba(201, 164, 74, 0.18); color: var(--gold-300); }
.build__col h3 { font-size: 26px; margin-bottom: 12px; }
.build__col h3 .abbr { color: var(--gold-500); font-weight: 500; }
.build__desc { font-size: 15.5px; color: var(--slate); line-height: 1.65; }
.r2a { list-style: none; counter-reset: r2a; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.r2a li { counter-increment: r2a; position: relative; padding-left: 42px; }
.r2a li::before {
  content: counter(r2a); position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--navy-700); color: var(--gold-300);
  font-family: "Fraunces", serif; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.r2a strong { display: block; font-size: 15px; color: var(--navy-800); }
.r2a span { font-size: 14px; color: var(--slate); }
.flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px;
}
.flow span {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eaf0ff; padding: 7px 13px; border-radius: 8px; font-size: 13px; font-weight: 500;
}
.flow i { color: var(--gold-400); font-style: normal; font-weight: 700; }
.build__note {
  margin-top: 26px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(201, 164, 74, 0.12); border: 1px solid rgba(201, 164, 74, 0.3);
  font-size: 14.5px; color: #eef2fb;
}
.build__note strong { color: var(--gold-300); }

/* ===================== PRINCIPLES + PIPELINE ===================== */
.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 46px; }
.principle {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 20px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.principle h4 { font-size: 16.5px; margin-bottom: 8px; color: var(--navy-700); }
.principle p { font-size: 13.5px; color: var(--slate); }

.pipeline { margin-top: 72px; }
.pipeline__title { font-size: 22px; max-width: 34ch; margin-bottom: 30px; color: var(--navy-700); }
.pipeline__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pipeline__steps li {
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px;
  position: relative; overflow: hidden;
}
.pipeline__steps li > span {
  font-family: "Fraunces", serif; font-size: 30px; font-weight: 600;
  color: var(--paper-3); position: absolute; top: 10px; right: 14px;
}
.pipeline__steps h5 { font-size: 16px; margin-bottom: 6px; color: var(--navy-800); position: relative; }
.pipeline__steps p { font-size: 13px; color: var(--slate); position: relative; }

/* ===================== RESEARCH (DARK) ===================== */
.section--dark {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 164, 74, 0.14), transparent 60%),
    linear-gradient(165deg, var(--navy-900), var(--navy-800));
  color: #d6dcec;
}
.section--dark .section__sub { color: #a8b2cd; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 46px; }
.card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 30px; position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(201, 164, 74, 0.5); background: rgba(255, 255, 255, 0.06); }
.card--wide { grid-column: 1 / -1; }
.card__num {
  font-family: "Fraunces", serif; font-size: 15px; font-weight: 600; color: var(--navy-900);
  background: var(--gold-400); width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: #aeb8d2; }
.card__data {
  display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--gold-300);
  border: 1px solid rgba(201, 164, 74, 0.35); padding: 4px 11px; border-radius: 999px;
}

/* ===================== JOIN / ROLES ===================== */
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 46px; }
.role {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border-top: 3px solid var(--gold-400);
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.role h4 { font-size: 20px; margin-bottom: 10px; }
.role p { font-size: 15px; color: var(--slate); margin-bottom: 14px; }
.role small { font-size: 13px; color: var(--slate-light); letter-spacing: 0.2px; }
.roles__note {
  margin-top: 34px; font-size: 16px; color: var(--slate); max-width: 70ch;
  padding-left: 22px; border-left: 3px solid var(--gold-400); font-style: italic;
}

/* ===================== CTA ===================== */
.section--cta {
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(201, 164, 74, 0.18), transparent 60%),
    linear-gradient(165deg, var(--navy-800), var(--navy-700));
  color: #fff; text-align: center;
}
.cta__title { font-size: clamp(28px, 4vw, 44px); color: #fff; }
.cta__sub { margin: 18px auto 0; max-width: 56ch; font-size: 17.5px; color: #c3cbe0; }
.cta__email { margin: 22px auto 0; font-size: 16px; color: #c3cbe0; }
.cta__email a { color: var(--gold-300); font-weight: 600; border-bottom: 1px solid rgba(231, 205, 139, 0.4); padding-bottom: 1px; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.cta__email a:hover { color: #fff; border-color: #fff; }
.cta__actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy-900); color: #aeb8d2; padding: 56px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 48px; height: 48px; object-fit: contain; }
.footer__brand strong { display: block; font-family: "Fraunces", serif; color: #fff; font-size: 16px; }
.footer__brand span { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-300); }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-size: 14px; color: #aeb8d2; transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--gold-300); }
.footer__legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__legal p { font-size: 12.5px; color: #6f7a98; max-width: 80ch; }

/* ===================== HERO ART + SHARED ICONS ===================== */
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.38)); }

.icon { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }

.principle__icon {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201, 164, 74, 0.15); color: var(--navy-700); margin-bottom: 14px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.principle__icon .icon { width: 23px; height: 23px; }
.principle:hover .principle__icon { background: var(--navy-700); color: var(--gold-300); }

.role__icon {
  width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(40, 64, 127, 0.08); color: var(--navy-700); margin-bottom: 16px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.role__icon .icon { width: 24px; height: 24px; }
.role:hover .role__icon { background: var(--gold-400); color: var(--navy-900); }

/* ===================== IMAGE BAND ===================== */
.imageband {
  position: relative; min-height: 360px; display: flex; align-items: center;
  background-size: cover; background-position: center 35%;
}
.imageband::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 20, 48, 0.94) 0%, rgba(12, 20, 48, 0.78) 45%, rgba(12, 20, 48, 0.40) 100%);
}
.imageband__inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 70px 28px; }
.imageband__quote {
  font-family: "Fraunces", serif; color: #fff; font-weight: 600;
  font-size: clamp(24px, 3.3vw, 40px); line-height: 1.16; max-width: 20ch; letter-spacing: -0.01em;
}
.imageband__quote .grad { background: linear-gradient(100deg, var(--gold-300), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.imageband__sub { margin-top: 18px; color: #c3cbe0; font-size: 16px; max-width: 52ch; }

/* ===================== MISSION IMAGE ===================== */
.mission__img {
  width: 100%; margin-top: 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; object-fit: cover; display: block;
}

/* ===================== SHOWCASE ===================== */
.showcase__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; margin-top: 44px; }
.showcase__badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--gold-500); background: rgba(201, 164, 74, 0.14); border: 1px solid rgba(201, 164, 74, 0.35);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.showcase h3 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; }
.showcase__text p { color: var(--slate); font-size: 16.5px; margin-bottom: 16px; max-width: 52ch; }
.showcase__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.showcase__meta li {
  font-size: 13px; font-weight: 600; color: var(--navy-700);
  background: #fff; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px;
}
.showcase__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.showcase__frame {
  display: block; background: #fff; padding: 14px; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); transform: rotate(-0.6deg); transition: transform 0.35s var(--ease);
}
.showcase__frame:hover { transform: rotate(0deg) translateY(-4px); }
.showcase__frame img { width: 100%; display: block; border-radius: 7px; border: 1px solid var(--line); }
.btn--navy { background: var(--navy-700); color: #fff; box-shadow: 0 10px 24px rgba(22, 35, 77, 0.22); }
.btn--navy:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(22, 35, 77, 0.30); }
.btn--outline { background: #fff; color: var(--navy-700); border-color: var(--line); }
.btn--outline:hover { transform: translateY(-2px); border-color: var(--gold-400); }

/* ===================== TEAM ===================== */
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; max-width: 1040px; }
.member {
  display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member__avatar {
  flex: none; width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 23px; color: var(--gold-300);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border: 2px solid var(--gold-400);
}
.member__name { font-family: "Fraunces", serif; font-size: 19px; color: var(--navy-800); }
.member__role {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold-500); margin: 3px 0 8px;
}
.member__focus { font-size: 13.5px; color: var(--slate); margin-bottom: 9px; line-height: 1.45; }
.member__edu { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--navy-700); margin-bottom: 11px; }
.member__edu svg { width: 15px; height: 15px; fill: var(--gold-500); flex: none; }
.member__link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--navy-700); transition: color 0.2s var(--ease); }
.member__link svg { width: 17px; height: 17px; fill: #0a66c2; flex: none; }
.member__link:hover { color: var(--gold-500); }

/* ===================== AFFILIATIONS ===================== */
.affil { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.affil__label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--slate-light); margin-bottom: 18px; }
.affil__logos { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }
.affil__chip {
  flex: 1 1 180px; min-width: 170px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px 16px; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; gap: 12px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.affil__chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.affil__logo { height: 52px; display: flex; align-items: center; justify-content: center; }
.affil__logo img { max-height: 52px; max-width: 150px; width: auto; object-fit: contain; }
.affil__cap { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2px; color: var(--slate); text-align: center; line-height: 1.3; }

/* ===================== JOIN IMAGE ===================== */
.join__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.join__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== OVERFLOW & WRAP SAFETY ===================== */
html, body { overflow-x: hidden; }
body { overflow-wrap: break-word; }
/* allow flex/grid children to shrink instead of forcing the page wider than the screen */
.hero__copy, .mission__lead, .showcase__text, .build__col, .card, .role,
.principle, .member, .member > div, .join__intro > div { min-width: 0; }
.cta__email a { word-break: break-word; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1040px) {
  .container { padding: 0 24px; }
}
@media (max-width: 940px) {
  .mission, .build { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .roles { grid-template-columns: minmax(0, 1fr); }
  .showcase__grid, .join__intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .showcase__frame { transform: none; }
  .join__img { order: -1; }
  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { display: none; }
}
/* collapse nav into a menu button before the links can crowd (covers iPad portrait) */
@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
  }
  .nav__links.open { max-height: 580px; }
  .nav__links a { padding: 15px 28px; width: 100%; border-top: 1px solid var(--line); }
  .nav__cta { border-radius: 0; margin: 0; }
  .nav__toggle { display: flex; }
  .nav__brandtext small { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero__inner { padding: 58px 24px 70px; }
  .hero__stats { gap: 26px 30px; }
  .pipeline { margin-top: 52px; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .pipeline__steps { grid-template-columns: minmax(0, 1fr); }
  .flow { gap: 6px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .affil__chip { flex: 1 1 calc(50% - 9px); min-width: 0; padding: 16px 12px 14px; }
  .affil__logo img { max-width: 116px; }
}
@media (max-width: 430px) {
  .container { padding: 0 18px; }
  .hero__title { font-size: 30px; }
  .hero__lede { font-size: 16px; }
  .section__title { font-size: 23px; }
  .build__col { padding: 24px 20px; }
  .card, .role, .member { padding: 22px 20px; }
  .member { gap: 16px; }
  .member__avatar { width: 64px; height: 64px; font-size: 20px; }
  .showcase__meta { gap: 8px; }
  .imageband__inner { padding: 52px 18px; }
  .cta__title { font-size: 26px; }
}
