/* ══════════════════════════════════════════════════════════════
   PROJ-069 · MADE Scientific × Mayo Clinic — Operating Partnership
   Brand tokens per made-design-system/src/tokens.css
   ══════════════════════════════════════════════════════════════ */

:root {
  /* MADE brand */
  --teal:        #00545F;
  --teal-light:  #57BEC9;
  --aqua:        #57C2AC;
  --green:       #43B02A;
  --yellow:      #F2A900;
  --red:         #EE3C27;

  /* Mayo accent (co-brand) */
  --mayo-blue:   #0A4A8F;
  --mayo-light:  #8FB8E8;

  /* Neutrals */
  --g50:  #FBFBFD;  --g100: #F5F5F7;  --g200: #ECECEE;  --g300: #E1E1E4;
  --g400: #CFCFD3;  --g500: #ACACB1;  --g600: #87878D;  --g700: #62626A;
  --g800: #3F3F47;  --g900: #27272D;  --g950: #131318;

  --near-black:  #06181B;
  --charcoal:    #0E2A2E;

  --maxw: 1180px;
  --nav-h: 68px;

  --f-display: 'Funnel Display', Georgia, serif;
  --f-body: 'Funnel Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0; padding: 0;
  max-width: 100%;
  overflow-x: hidden;              /* page-level guard — PROJ-040 lesson */
}

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--g900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.015em; margin: 0; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(6, 24, 27, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 3px solid var(--aqua);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 2rem;
  height: var(--nav-h); display: flex; align-items: center; gap: 2rem;
}
.lockup { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; flex-shrink: 0; }
.lockup-made { height: 26px; width: auto; }
.lockup-x { color: rgba(255,255,255,0.42); font-size: 1.1rem; font-weight: 300; }
.lockup-mayo {
  font-family: var(--f-display); font-size: 1.02rem; font-weight: 700;
  color: #fff; letter-spacing: 0.01em; white-space: nowrap;
}
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em;
  transition: color .15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--aqua); }
.nav-cta {
  background: var(--aqua); color: var(--near-black);
  padding: 0.5rem 1.05rem; border-radius: 6px;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  transition: opacity .15s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(120% 110% at 80% 0%, rgba(87,194,172,0.16) 0%, transparent 55%),
    linear-gradient(165deg, var(--near-black) 0%, #002D34 55%, var(--teal) 100%);
  color: #fff;
  padding: 5.5rem 0 0;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--aqua);
  border: 1px solid rgba(87,194,172,0.42); border-radius: 999px;
  padding: 0.42rem 1rem; margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.08; margin-bottom: 1.6rem; max-width: 20ch;
}
.hero h1 .hl { color: var(--aqua); }
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: rgba(255,255,255,0.8); max-width: 62ch; margin: 0 0 2.4rem; line-height: 1.68;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 4rem; }
.btn {
  display: inline-block; padding: 0.9rem 1.7rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  transition: opacity .15s, transform .05s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--aqua); color: var(--near-black); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat { padding: 2rem 1.4rem 2.6rem; border-right: 1px solid rgba(255,255,255,0.1); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display); font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700; color: var(--aqua); line-height: 1; margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.62); line-height: 1.45; }

/* ─── SECTIONS ────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-light    { background: #fff; }
.section-tint     { background: var(--g50); border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.section-dark     { background: linear-gradient(165deg, var(--near-black) 0%, #003940 100%); color: #fff; }
.section-charcoal { background: var(--charcoal); color: #fff; }

.sec-head { max-width: 74ch; margin-bottom: 3.2rem; }
.kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.kicker-light { color: var(--aqua); }
.sec-head h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); line-height: 1.2; margin-bottom: 1.1rem; }
.sec-sub { font-size: 1.06rem; color: var(--g700); line-height: 1.68; margin: 0; }
.section-dark .sec-sub, .section-charcoal .sec-sub { color: rgba(255,255,255,0.72); }

.sub-head {
  font-size: 1.08rem; font-weight: 700; color: var(--teal);
  margin: 3rem 0 1.3rem; letter-spacing: 0.01em;
}
.sub-head-flush { margin-top: 0; }
.sec-sub-tight { margin-top: 1rem; font-size: 0.98rem; }
.sec-sub-tight strong { color: var(--teal); }

.lede { font-size: 1.1rem; line-height: 1.72; color: var(--g800); max-width: 76ch; margin: 0 0 2.6rem; }
.lede-tight { margin-top: 2.8rem; margin-bottom: 0; }

.note {
  font-size: 0.84rem; color: var(--g600); line-height: 1.6;
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--g200); max-width: 90ch;
}
.note-light { color: rgba(255,255,255,0.5); border-top-color: rgba(255,255,255,0.14); }

/* ─── PULL QUOTE ──────────────────────────────────────── */
.pull { border-left: 4px solid var(--aqua); padding: 0.4rem 0 0.4rem 2rem; margin: 0 0 2.8rem; }
.pull blockquote {
  font-family: var(--f-display); font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  line-height: 1.42; color: var(--teal); margin: 0 0 1rem; font-weight: 600;
}
.pull cite { font-style: normal; font-size: 0.88rem; color: var(--g600); }

/* ─── CARD GRIDS ──────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--g300); border-radius: 12px;
  padding: 1.9rem 1.7rem; transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.07); transform: translateY(-2px); }
.card-num {
  font-family: var(--f-mono); font-size: 0.8rem; font-weight: 500;
  color: var(--aqua); margin-bottom: 0.9rem; letter-spacing: 0.06em;
}
.card h3 { font-size: 1.06rem; margin-bottom: 0.7rem; line-height: 1.32; }
.card p { font-size: 0.94rem; color: var(--g700); line-height: 1.62; margin: 0; }
.card-plain { background: var(--g50); border-color: var(--g200); }
.card-dark {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14);
}
.card-dark:hover { box-shadow: none; background: rgba(255,255,255,0.08); }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,0.7); }
.grid-onDark { margin-top: 3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.lede-compact { font-size: 1.02rem; margin-bottom: 1.6rem; }
.card-metric .metric {
  font-family: var(--f-display); font-size: 2.1rem; font-weight: 700;
  color: var(--teal); line-height: 1; margin-bottom: 0.8rem; font-variant-numeric: tabular-nums;
}

/* ─── MODEL DIAGRAM ───────────────────────────────────── */
.model-diagram {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 1.5rem; overflow-x: auto;
}
.model-diagram svg { width: 100%; min-width: 760px; height: auto; display: block; }

/* ─── FACILITY ────────────────────────────────────────── */
.floors { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; }
.floor { border: 1px solid var(--g300); border-radius: 14px; padding: 1.8rem; background: #fff; }
.floor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.floor-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.28rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem;
}
.floor-tag-live { background: rgba(67,176,42,0.12); color: var(--green); }
.floor-tag-new  { background: rgba(242,169,0,0.14); color: #B47D00; }
.floor-head h3 { font-size: 1.4rem; }
.floor-total {
  font-family: var(--f-display); font-size: 1.9rem; font-weight: 700;
  color: var(--teal); line-height: 1; text-align: right; font-variant-numeric: tabular-nums;
}
.floor-total span { display: block; font-family: var(--f-body); font-size: 0.72rem; font-weight: 500; color: var(--g600); margin-top: 0.25rem; }
.floor-img {
  width: 100%; border: 1px solid var(--g200); border-radius: 8px;
  background: #fff; margin-bottom: 1.4rem;
}

/* ─── TABLES ──────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tbl-wide { min-width: 560px; }
.tbl th {
  text-align: left; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--g600); padding: 0.6rem 0.7rem;
  border-bottom: 2px solid var(--g300);
}
.tbl td { padding: 0.62rem 0.7rem; border-bottom: 1px solid var(--g200); color: var(--g800); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl th.num { text-align: right; }
.tbl tr.sub td { color: var(--g700); font-size: 0.86rem; }
.tbl tr.tot td { font-weight: 700; color: var(--teal); border-bottom: none; border-top: 2px solid var(--g300); }

/* ─── TICK LISTS ──────────────────────────────────────── */
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.ticks li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem;
  font-size: 0.9rem; color: var(--g700); line-height: 1.55;
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.52em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--aqua);
}
.ticks-lg li { font-size: 1rem; margin-bottom: 0.85rem; color: var(--g800); }

/* ─── SPLIT + CALLOUT ─────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.6rem; margin-top: 3rem; align-items: start; }
.callout {
  background: var(--teal); color: #fff; border-radius: 14px; padding: 2rem 1.9rem;
}
.callout-num {
  font-family: var(--f-display); font-size: 3.2rem; font-weight: 700;
  color: var(--aqua); line-height: 1; margin-bottom: 0.7rem;
}
.callout p { font-size: 0.98rem; line-height: 1.62; color: rgba(255,255,255,0.88); margin: 0 0 1rem; }
.callout cite { font-style: normal; font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ─── PROOF MAP ───────────────────────────────────────── */
.map { border-top: 1px solid var(--g200); }
.map-row {
  display: grid; grid-template-columns: 1fr 42px 1.35fr;
  gap: 1.2rem; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--g200);
}
.map-mayo { font-size: 0.96rem; color: var(--g800); line-height: 1.55; }
.pill {
  display: inline-block; background: rgba(10,74,143,0.1); color: var(--mayo-blue);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 999px; margin-right: 0.55rem; vertical-align: 1px;
}
.map-arrow { text-align: center; color: var(--g400); font-size: 1.3rem; }
.map-made {
  font-size: 0.94rem; color: var(--g700); line-height: 1.58;
  background: var(--g50); border-left: 3px solid var(--aqua);
  padding: 1rem 1.2rem; border-radius: 0 8px 8px 0;
}
.map-made strong { color: var(--teal); }

.creds {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--g200);
}
.cred-num {
  font-family: var(--f-display); font-size: 1.85rem; font-weight: 700;
  color: var(--teal); line-height: 1; margin-bottom: 0.45rem;
}
.cred-label { font-size: 0.85rem; color: var(--g600); line-height: 1.45; }

/* ─── FACILITY GALLERY ────────────────────────────────── */
.gal { position: relative; margin-top: 0.5rem; }
.gal-track {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 0.5rem 2rem 1.4rem;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.gal-track::-webkit-scrollbar { height: 6px; }
.gal-track::-webkit-scrollbar-thumb { background: var(--g400); border-radius: 3px; }
.gal-track:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.gal-item {
  flex: 0 0 clamp(280px, 42vw, 520px); margin: 0; scroll-snap-align: center;
}
.gal-item img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--g300);
  background: var(--g200); display: block;
}
.gal-item figcaption {
  font-size: 0.82rem; color: var(--g600); margin-top: 0.6rem; line-height: 1.4;
}
.gal-btn {
  position: absolute; top: calc(50% - 2rem); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; z-index: 5;
  background: rgba(255,255,255,0.96); color: var(--teal);
  border: 1px solid var(--g300); box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  font-size: 1.5rem; line-height: 1; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .05s;
}
.gal-btn:hover { background: #fff; }
.gal-btn:active { transform: translateY(-50%) scale(0.94); }
.gal-prev { left: 0.4rem; }
.gal-next { right: 0.4rem; }

/* ─── FACILITY VIDEO ──────────────────────────────────── */
.vid { max-width: 900px; margin: 0 auto 3rem; }
.vid-frame {
  position: relative; aspect-ratio: 16 / 9; background: var(--g900);
  border-radius: 14px; overflow: hidden; border: 1px solid var(--g300);
  box-shadow: 0 14px 40px rgba(0,0,0,0.13);
}
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 0.9rem; flex-wrap: wrap;
}
.vid-meta { font-family: var(--f-mono); font-size: 0.82rem; color: var(--g600); }

/* ─── INTERACTIVE 3D SUITE MODEL ──────────────────────── */
.f3d { max-width: 1000px; margin: 3.5rem auto 0; }
.f3d-head h3 { font-size: 1.3rem; color: var(--teal); margin-bottom: 0.6rem; }
.f3d-head p { font-size: 0.98rem; color: var(--g700); line-height: 1.62; margin: 0 0 1.4rem; max-width: 74ch; }
.f3d-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.f3d-tab {
  font-family: var(--f-body); font-size: 0.84rem; font-weight: 600;
  padding: 0.5rem 0.95rem; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--g700); border: 1px solid var(--g300);
  transition: background .15s, color .15s, border-color .15s;
}
.f3d-tab:hover { border-color: var(--aqua); color: var(--teal); }
.f3d-tab.is-on { background: var(--teal); color: #fff; border-color: var(--teal); }
.f3d-stage {
  position: relative; aspect-ratio: 16 / 10; background: var(--g900);
  border-radius: 14px; overflow: hidden; border: 1px solid var(--g300);
  box-shadow: 0 14px 40px rgba(0,0,0,0.13);
}
.f3d-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.f3d-note { font-size: 0.8rem; color: var(--g600); margin: 0.85rem 0 0; }

/* ─── STRUCTURE OPTIONS ───────────────────────────────── */
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.opt {
  position: relative; background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 1.9rem 1.7rem;
}
.opt-rec {
  background: rgba(87,194,172,0.1); border-color: var(--aqua); border-width: 2px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.28);
}
.opt-flag {
  position: absolute; top: -12px; left: 1.7rem;
  background: var(--aqua); color: var(--near-black);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32rem 0.85rem; border-radius: 999px;
}
.opt-head { margin-bottom: 1rem; }
.opt-n {
  display: block; font-family: var(--f-mono); font-size: 0.76rem;
  color: var(--aqua); letter-spacing: 0.08em; margin-bottom: 0.4rem;
}
.opt-head h3 { font-size: 1.2rem; color: #fff; line-height: 1.28; }
.opt-lede { font-size: 0.94rem; color: rgba(255,255,255,0.78); line-height: 1.6; margin: 0 0 1.4rem; }
.opt-dl { margin: 0; font-size: 0.88rem; }
.opt-dl dt {
  font-weight: 700; color: var(--aqua); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1.1rem;
}
.opt-dl dd { margin: 0.35rem 0 0; color: rgba(255,255,255,0.72); line-height: 1.58; }
.opt-dl dd.good { color: rgba(255,255,255,0.92); }

.path {
  margin-top: 2.8rem; background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--aqua); border-radius: 0 12px 12px 0; padding: 1.8rem 2rem;
}
.path h3 { font-size: 1.12rem; color: #fff; margin-bottom: 0.8rem; }
.path p { font-size: 0.98rem; color: rgba(255,255,255,0.76); line-height: 1.68; margin: 0; max-width: 88ch; }

/* ─── TIMELINE ────────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tl { border-top: 3px solid var(--aqua); padding-top: 1.3rem; }
.tl-when {
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500;
  color: var(--teal); letter-spacing: 0.06em; margin-bottom: 0.5rem;
}
.tl h3 { font-size: 1.14rem; margin-bottom: 0.9rem; }
.tl ul { list-style: none; padding: 0; margin: 0; }
.tl li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.65rem;
  font-size: 0.92rem; color: var(--g700); line-height: 1.55;
}
.tl li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--g400); }

.guard { margin-top: 3.4rem; }
.guard h3 { font-size: 1.2rem; margin-bottom: 1.4rem; color: var(--teal); }

/* ─── TEAM ────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.member {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px; padding: 1.7rem 1.5rem; text-align: left;
}
.member-img, .member-initials {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  margin-bottom: 1.1rem; border: 2px solid var(--aqua); background: rgba(87,194,172,0.16);
}
.member-initials {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; color: var(--aqua);
}
.member h3 { font-size: 1.06rem; color: #fff; margin-bottom: 0.3rem; }
.member-title { font-size: 0.86rem; color: var(--aqua); font-weight: 600; margin-bottom: 0.15rem; }
.member-org { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 0.9rem; }
.member p { font-size: 0.88rem; color: rgba(255,255,255,0.68); line-height: 1.55; margin: 0; }
.member-mail {
  display: block; margin-top: 0.9rem; font-size: 0.78rem; color: var(--aqua);
  text-decoration: none; white-space: nowrap;      /* long email guard — PROJ-040 lesson */
}
.member-mail:hover { text-decoration: underline; }

.next {
  margin-top: 3.2rem; background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--aqua); border-radius: 0 12px 12px 0; padding: 1.9rem 2rem;
}
.next h3 { font-size: 1.14rem; color: #fff; margin-bottom: 1rem; }
.next ol { margin: 0; padding-left: 1.3rem; }
.next li { font-size: 0.98rem; color: rgba(255,255,255,0.78); line-height: 1.62; margin-bottom: 0.6rem; }

/* ─── FOOTER ──────────────────────────────────────────── */
.footer { background: var(--g950); color: rgba(255,255,255,0.6); padding: 3.2rem 0; }
.footer-inner { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.footer-logo { height: 30px; width: auto; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.82rem; margin: 0; color: rgba(255,255,255,0.45); }
.footer-note p { font-size: 0.86rem; line-height: 1.62; margin: 0 0 0.8rem; }
.footer-note strong { color: rgba(255,255,255,0.88); }
.footer-meta { font-size: 0.76rem !important; color: rgba(255,255,255,0.35); }

/* ══ BREAKPOINT 1 · ≤900px ══════════════════════════════ */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-inner { gap: 1rem; }
  .nav-cta { margin-left: auto; }
  .hero { padding-top: 3.5rem; }
  .section { padding: 4rem 0; }
  .wrap, .hero-inner, .nav-inner { padding-left: 1.5rem; padding-right: 1.5rem; }

  .grid-3, .grid-2, .opts, .timeline, .floors { grid-template-columns: 1fr; }
  .gal-track { padding-left: 1.5rem; padding-right: 1.5rem; }
  .gal-btn { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat:nth-child(odd) { padding-right: 1.2rem; }
  .stat:nth-child(even) { padding-left: 1.2rem; border-left: 1px solid rgba(255,255,255,0.1); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .opt-rec { box-shadow: none; }

  .map-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .map-arrow { display: none; }
  .map-made { border-left-width: 3px; }
}

/* ══ BREAKPOINT 2 · ≤640px ══════════════════════════════ */
@media (max-width: 640px) {
  .wrap, .hero-inner, .nav-inner { padding-left: 1.15rem; padding-right: 1.15rem; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .team { grid-template-columns: 1fr; }
  .pull { padding-left: 1.2rem; }
  .floor { padding: 1.3rem; }
  .callout { padding: 1.6rem 1.4rem; }
  .path, .next { padding: 1.4rem 1.3rem; }
  .lockup-mayo { font-size: 0.92rem; }
  .lockup-made { height: 22px; }
}

/* ══ BREAKPOINT 3 · ≤520px ══════════════════════════════ */
@media (max-width: 520px) {
  .creds { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) {
    padding: 1.2rem 0; border-left: none; border-right: none;
  }
  .member-mail { white-space: normal; overflow-wrap: anywhere; }  /* long email guard */
  .tbl { font-size: 0.84rem; }
  .tbl th, .tbl td { padding: 0.5rem 0.45rem; }
  .nav-cta { padding: 0.45rem 0.8rem; font-size: 0.8rem; }
  .lockup-x { display: none; }
  .lockup { gap: 0.5rem; }
  .lockup-mayo { font-size: 0.82rem; }
}

/* ─── PRINT ───────────────────────────────────────────── */
@media print {
  .nav, #auth-gate { display: none !important; }
  html.md-locked, html.md-locked body { overflow: visible !important; }
  html.md-locked body > * { display: block !important; }
  .section, .hero { padding: 1.5rem 0; }
  .section-dark, .section-charcoal, .hero { background: #fff !important; color: #000 !important; }
  .section-dark h2, .section-charcoal h2, .hero h1 { color: #000 !important; }
  .card-dark, .opt, .member, .path, .next { border: 1px solid #ccc !important; background: #fff !important; }
  .card-dark h3, .opt-head h3, .member h3, .path h3, .next h3 { color: #000 !important; }
  .card-dark p, .opt-lede, .opt-dl dd, .path p, .next li, .member p { color: #333 !important; }
}
