/* ============================================================
   MOMENTUM CASE COMPETITION
   Brand: Prussian navy #003153 · blue #074E80 · greys · Poppins
   Design intent: editorial, restrained, hand-crafted.
   No glassmorphism, no gradient blobs, no page-transition curtain.
   ============================================================ */

:root {
  --navy:        #003153;   /* primary — deep prussian */
  --navy-deep:   #00243f;   /* darker for hero grounds */
  --navy-ink:    #001a2e;   /* deepest */
  --blue:        #074e80;   /* the single accent */
  --blue-soft:   #3f7cab;   /* accent tint for dark grounds */
  --blue-pale:   #a8c3da;   /* soft blue on dark */

  --paper:       #ffffff;   /* base background */
  --paper-2:     #f4f6f8;   /* alternating light panel */
  --paper-3:     #eaeef2;   /* deeper light panel */

  --text:        #1e2a35;   /* body text — near-black slate */
  --text-soft:   #545454;   /* brand grey */
  --text-faint:  #737373;   /* brand grey */
  --text-on-dark:      rgba(255, 255, 255, 0.92);
  --text-on-dark-soft: rgba(255, 255, 255, 0.64);

  --line:        rgba(0, 49, 83, 0.14);
  --line-strong: rgba(0, 49, 83, 0.26);
  --line-dark:   rgba(255, 255, 255, 0.16);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 4px;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- type primitives ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--navy);
}
h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.7vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 400; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: normal; font-weight: 500; color: var(--blue); }

p { text-wrap: pretty; }

/* editorial section kicker: index number + hairline + label  ("01 — About Momentum") */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.eyebrow .n {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.on-navy .eyebrow .n { color: #fff; }
.eyebrow .n::after {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  margin: 0 0.1rem 0.28em 0.7rem;
  background: currentColor;
  color: var(--blue);
  opacity: 0.9;
  vertical-align: middle;
}
/* eyebrows without an index keep a leading hairline */
.eyebrow:not(:has(.n))::before {
  content: "";
  align-self: center;
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 60ch;
  font-weight: 300;
}

/* dark grounds recolour accents */
.on-navy, .site-foot, .page-hero, .hero, .menu-overlay {
  --blue: var(--blue-soft);
}
.on-navy { background: var(--navy); color: var(--text-on-dark); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.on-navy h2 em, .on-navy h1 em { color: var(--blue-pale); font-weight: 400; }
.on-navy .lede { color: var(--text-on-dark-soft); }
.on-navy .eyebrow { color: var(--blue-pale); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.paper-2 { background: var(--paper-2); }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter);
  transition: padding 0.45s var(--ease), background 0.45s ease, box-shadow 0.45s ease;
}
.site-head.scrolled {
  padding: 0.85rem var(--gutter);
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
}
.brand .brand-logo {
  height: 42px;
  width: auto;
  display: block;
  transition: height 0.45s var(--ease);
}
.site-head.scrolled .brand .brand-logo { height: 34px; }

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.3rem); }
.nav-links a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--blue-pale);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: scaleX(1); background: var(--blue-soft); }
.nav-links .nav-cta {
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--blue); border-color: var(--blue); }

.nav-toggle { display: none; width: 42px; height: 42px; position: relative; z-index: 1001; }
.nav-toggle span {
  position: absolute; left: 9px;
  width: 24px; height: 1.5px; background: #fff;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.menu-overlay.open { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }
.menu-overlay nav { display: flex; flex-direction: column; gap: 0.2rem; }
.menu-overlay nav a {
  font-weight: 300;
  font-size: clamp(1.9rem, 7vw, 3rem);
  color: #fff;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.menu-overlay.open nav a { opacity: 1; transform: none; }
.menu-overlay nav a:hover { color: var(--blue-pale); }
.menu-foot { margin-top: 2.6rem; color: var(--text-on-dark-soft); font-size: 0.85rem; letter-spacing: 0.04em; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-outline { border-color: var(--line-strong); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap 0.3s var(--ease);
}
.text-link .arr { transition: transform 0.3s var(--ease); }
.text-link:hover { gap: 0.8rem; }
.on-navy .text-link { color: var(--blue-pale); }

/* ---------- reveals: one slow, subtle fade-in — NO movement, NO stagger ---------- */
/* Elements simply become visible as you reach them; nothing slides or jumps. */
html.js [data-reveal] {
  opacity: 0;
  transition: opacity 1.1s ease;
}
html.js [data-reveal].in { opacity: 1; }

/* headlines: keep the two lines stacked */
html.js [data-reveal="lines"] .line { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* ---------- photo treatment (navy duotone) ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: var(--radius);
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo.duotone::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 26, 46, 0.15), rgba(0, 26, 46, 0.5));
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* placeholder look when no photo set yet */
.ph-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    var(--navy);
}
.ph-slot .ph-label {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- brand emblem motif (recurring, faint, asymmetric) ---------- */
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: min(58vw, 720px);
  aspect-ratio: 862 / 530;
  background: url("../img/logo-emblem.png") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.page-hero::after { right: -4%; bottom: auto; top: 8%; width: min(46vw, 560px); }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 8.5rem 0 4.5rem;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  width: 100%;
}
.hero-eyebrow { color: var(--blue-pale); }
.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 7.4vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.8rem;
}
.hero h1 em { color: var(--blue-pale); font-weight: 400; }
.hero .lede { color: var(--text-on-dark-soft); max-width: 46ch; margin-bottom: 2.2rem; }

/* editorial meta line (hairline dividers, no pills) */
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.55rem 1.3rem;
  margin-bottom: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.chip {
  position: relative;
  display: inline-flex; align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.chip .dot { display: none; }
.chip + .chip::before {
  content: "";
  position: absolute; left: -0.68rem; top: 50%;
  width: 1px; height: 13px;
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%);
}

.hero-media { position: relative; }
.hero-media .photo { aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -50px rgba(0,0,0,0.8); }
.hero-media .frame {
  position: absolute;
  inset: -14px -14px auto auto;
  width: 55%; height: 52%;
  border: 1px solid rgba(168, 195, 218, 0.4);
  border-radius: var(--radius);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: -18px; bottom: 24px;
  background: #fff;
  color: var(--navy);
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.55);
}
.hero-badge .n { font-size: 1.6rem; font-weight: 600; line-height: 1; }
.hero-badge .l { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.35rem; color: var(--text-faint); }

.hero-scroll {
  position: absolute;
  left: var(--gutter); bottom: 2rem;
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.hero-scroll::after {
  content: ""; width: 40px; height: 1px; background: rgba(255,255,255,0.35);
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-media .photo { aspect-ratio: 16 / 11; }
  .hero-media .frame, .hero-badge { display: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 620px) {
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .chip + .chip::before { display: none; }
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--text-on-dark);
  padding: clamp(9rem, 17vh, 12rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1.3rem; }
.page-hero .lede { max-width: 64ch; color: var(--text-on-dark-soft); }
.page-hero .hero-meta { margin-top: 2rem; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
/* the brand emblem is the hero motif now — retire the generic giant word */
.watermark { display: none; }

/* ---------- split (editorial two-column) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.split .side { position: sticky; top: 7.5rem; }
.split .side .eyebrow { margin-bottom: 1.1rem; }
.split p + p { margin-top: 1.2rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split .side { position: static; }
}

/* ---------- numbered list ---------- */
.num-list { border-top: 1px solid var(--line); margin-top: 2rem; }
.num-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: baseline;
  gap: 1.4rem;
  padding: 1.6rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.num-item:hover { padding-left: 1rem; }
.num-item .idx {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--blue);
}
.num-item .txt { font-size: clamp(1.05rem, 1.9vw, 1.3rem); font-weight: 400; color: var(--navy); }
.num-item .sub { display: block; font-size: 0.92rem; color: var(--text-soft); font-weight: 300; margin-top: 0.35rem; letter-spacing: 0; text-transform: none; }
.num-item .go { color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.num-item:hover .go { opacity: 1; transform: none; }

/* ---------- stat band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stat {
  padding: 2.8rem clamp(1.1rem, 2.6vw, 2.2rem);
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; }
.stat .num { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 200; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.stat .num b { color: var(--blue-pale); font-weight: 400; }
.stat .lbl { margin-top: 1rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-on-dark-soft); }
@media (max-width: 760px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

/* ---------- detail grid (definition-style, no colored cards) ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail {
  background: var(--paper);
  padding: 2rem 1.8rem;
}
.paper-2 .detail { background: var(--paper-2); }
.detail .k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.8rem; }
.detail h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.55rem; }
.detail p { font-size: 0.96rem; color: var(--text-soft); font-weight: 300; }

/* ---------- prize feature ---------- */
.prize {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  margin-top: 2.5rem;
}
.prize-card {
  border: 1px solid var(--line-dark);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.prize-card .rank { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-pale); margin-bottom: auto; }
.prize-card .amount { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 300; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.prize-card .desc { margin-top: 1rem; color: var(--text-on-dark-soft); font-weight: 300; max-width: 32ch; }
@media (max-width: 760px) { .prize { grid-template-columns: 1fr; } }

/* ---------- timeline (schedule) ---------- */
.timeline { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.tl-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.7rem 0.3rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.tl-row .time { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--blue); white-space: nowrap; }
.tl-row h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.3rem; }
.tl-row p { font-size: 0.95rem; color: var(--text-soft); font-weight: 300; }
@media (max-width: 620px) { .tl-row { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.person {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-deep);
}
.person.has-bio { cursor: pointer; }
.person .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.person .ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92);
  transform: scale(1.02);
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}
.person:hover .ph img { transform: scale(1.06); filter: saturate(1); }
.person .ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 26, 46, 0.9) 0%, rgba(0, 26, 46, 0.1) 48%, transparent 68%);
}
.person .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; z-index: 2; color: #fff; }
.person .meta .nm { font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.person .meta .rl { margin-top: 0.25rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-pale); }
.person .plus {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 300;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.4s var(--ease);
}
.person.has-bio:hover .plus { opacity: 1; transform: none; }
.person .bio-src { display: none; }

/* ---------- bio modal ---------- */
.bio-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.bio-modal.open { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.bio-modal .backdrop { position: absolute; inset: 0; background: rgba(0, 16, 28, 0.7); }
.bio-modal .panel {
  position: relative; z-index: 2;
  width: min(860px, 100%);
  max-height: min(84vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.6);
  transform: translateY(24px);
  transition: transform 0.45s var(--ease);
}
.bio-modal.open .panel { transform: none; }
.bio-modal .panel-media { background: var(--navy-deep); min-height: 280px; }
.bio-modal .panel-media img { width: 100%; height: 100%; object-fit: cover; }
.bio-modal .panel-copy { padding: clamp(1.8rem, 4vw, 2.8rem); overflow-y: auto; }
.bio-modal .panel-copy .rl { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.6rem; }
.bio-modal .panel-copy h3 { font-size: 1.8rem; margin-bottom: 1.1rem; }
.bio-modal .panel-copy p { color: var(--text-soft); font-size: 0.98rem; font-weight: 300; }
.bio-modal .close {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 26, 46, 0.55); color: #fff; font-size: 1.1rem;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.bio-modal .close:hover { transform: rotate(90deg); background: var(--blue); }
@media (max-width: 700px) {
  .bio-modal .panel { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .bio-modal .panel-media { min-height: 0; }
  .bio-modal .panel-media img { aspect-ratio: 4 / 3; }
  .bio-modal .panel-copy { overflow: visible; }
}
body.modal-open { overflow: hidden; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 12vw;
  gap: 12px;
  margin-top: 2.5rem;
}
.gallery-grid .photo { grid-column: span 4; grid-row: span 1; }
.gallery-grid .photo.tall { grid-row: span 2; }
.gallery-grid .photo.wide { grid-column: span 8; }
.gallery-grid .photo.half { grid-column: span 6; }
.gallery-grid .photo img { transition: transform 1s var(--ease); }
.gallery-grid .photo:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .gallery-grid { grid-auto-rows: 26vw; }
  .gallery-grid .photo { grid-column: span 6; }
  .gallery-grid .photo.wide { grid-column: span 12; }
  .gallery-grid .photo.tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-auto-rows: 44vw; }
  .gallery-grid .photo, .gallery-grid .photo.wide, .gallery-grid .photo.half { grid-column: span 12; }
}

/* highlight strip (home) */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2.5rem;
}
.strip .photo { aspect-ratio: 3 / 4; }
.strip .photo:first-child { aspect-ratio: auto; grid-row: span 1; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0.3rem;
  text-align: left;
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 400;
  color: var(--navy);
}
.faq-q .ico { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: var(--blue);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.faq-q .ico::before { top: 10.5px; left: 0; width: 22px; height: 1.5px; }
.faq-q .ico::after { left: 10.5px; top: 0; width: 1.5px; height: 22px; }
.faq-item.open .faq-q .ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}
.faq-a p { padding: 0 0.3rem 1.6rem; color: var(--text-soft); font-weight: 300; max-width: 72ch; }

/* ---------- contact cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-card { background: var(--paper); padding: 2rem 1.9rem; transition: background 0.3s ease; }
.contact-card:hover { background: var(--paper-2); }
.contact-card .k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.7rem; }
.contact-card .v { font-size: 1.1rem; font-weight: 400; color: var(--navy); }
.contact-card .v a { border-bottom: 1px solid var(--line-strong); transition: color 0.3s, border-color 0.3s; }
.contact-card .v a:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 1.2rem; }
.cta .lede { margin: 0 auto 2.2rem; }
.cta .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy-ink); color: var(--text-on-dark); padding: clamp(4rem, 8vw, 6rem) 0 2rem; position: relative; overflow: hidden; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .foot-logo { height: 56px; width: auto; display: block; }
.foot-brand p { color: var(--text-on-dark-soft); font-size: 0.95rem; max-width: 42ch; margin-top: 1.4rem; font-weight: 300; }
.foot-col .hd { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-pale); margin-bottom: 1.2rem; }
.foot-col ul { list-style: none; display: grid; gap: 0.65rem; }
.foot-col a { color: rgba(255,255,255,0.76); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s, gap 0.3s var(--ease); }
.foot-col a:hover { color: #fff; gap: 0.8rem; }
.foot-col a .arr { color: var(--blue-soft); font-size: 0.8rem; }
.social-row { display: flex; gap: 0.7rem; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.24); display: flex; align-items: center; justify-content: center; transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease); }
.social-row a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; fill: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: 1.8rem; font-size: 0.8rem; color: rgba(255,255,255,0.44); }
.foot-bottom a:hover { color: #fff; }

/* ---------- misc utilities ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.measure { max-width: 60ch; }
