/* Variant 2 — palette from the 2020 site: navy #04367c, light #f4f8fa, slate #8d97ad, blue #188ef4, teal #1dc9cb */
:root {
  --navy: #04367c;
  --navy-deep: #021f4a;
  --blue: #188ef4;
  --teal: #1dc9cb;
  --ink: #16202e;
  --muted: #5f6b80;
  --line: #e1e7ef;
  --bg: #ffffff;
  --bg-alt: #f4f8fa;
  --card: #ffffff;
  --radius: 14px;
  --max: 74rem;
  --shadow: 0 1px 2px rgba(4, 54, 124, .06), 0 8px 24px rgba(4, 54, 124, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9eef6;
    --muted: #a3afc2;
    --line: #253247;
    --bg: #0c1220;
    --bg-alt: #111a2b;
    --card: #152036;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .7rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 44rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; color: #000; padding: .5rem; z-index: 100; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(4, 54, 124, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; flex-wrap: wrap; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: .15rem; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; padding: .45rem .75rem; border-radius: 999px; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.14); }
.nav a.cta { background: var(--teal); color: var(--navy-deep); font-weight: 700; }

/* hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero-media, .hero-media video, .hero-media img, .hero-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.hero-media iframe { width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(2,31,74,.92) 0%, rgba(2,31,74,.65) 45%, rgba(2,31,74,.25) 100%); }
.hero .copy { position: relative; z-index: 2; width: 100%; padding: 4rem 0; }
.hero .lead { color: #dbe6f6; }
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--teal); color: var(--navy-deep); padding: .8rem 1.25rem; border-radius: 999px; font-weight: 700; text-decoration: none; margin: .3rem .6rem .3rem 0; border: 0; font-size: 1rem; cursor: pointer; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.75); }
.btn.dark { background: var(--navy); color: #fff; }
.hero-variant { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.hero-variant a { color: #fff; }

/* stats */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--teal); line-height: 1.1; }
.stat span { font-size: .92rem; color: #cfdaf0; }

/* sections */
section { padding: 4.5rem 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--navy-deep); color: #fff; }
section.dark .lead { color: #cfdaf0; }
.section-head { max-width: 48rem; margin-bottom: 2.2rem; }
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; padding: 4rem 0 3rem; }
.page-hero .lead { color: #cfdaf0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { color: var(--ink); }
.card .icon { width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; font-weight: 800; margin-bottom: .9rem; }
.split { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
ul.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.checks li { padding: .35rem 0 .35rem 1.8rem; position: relative; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .7rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23021f4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.motto { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--teal); margin: 0 0 .4rem; }
table.equip { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.equip th, table.equip td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.equip th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-alt); }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.gallery img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.work { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.work figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #fff; }
.work img.contain { object-fit: contain; padding: .6rem; }
.work figcaption { padding: 1rem 1.2rem 1.2rem; }
.work figcaption strong { display: block; margin-bottom: .2rem; }
.work figcaption span { color: var(--muted); font-size: .93rem; }
.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; box-shadow: var(--shadow); }
.person img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--bg-alt); }
.person h3 { margin-bottom: .15rem; }
.person .role { color: var(--blue); font-weight: 600; margin-bottom: .6rem; }
.person .edu { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .95rem; }
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; border-radius: 20px; padding: 2.5rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band p { color: #e3ecfa; margin: 0; }
.contact-block address { font-style: normal; line-height: 1.9; font-size: 1.1rem; }

/* video modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.82); display: none; align-items: center; justify-content: center; z-index: 200; padding: 1rem; }
.modal.open { display: flex; }
.modal .frame { width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.modal iframe { width: 100%; height: 100%; border: 0; }
.modal .close { position: absolute; top: 1rem; right: 1rem; background: #fff; color: #000; border: 0; border-radius: 999px; padding: .5rem .9rem; font-weight: 700; cursor: pointer; }

/* footer */
.site-footer { background: var(--navy-deep); color: #bccbe3; padding: 2.8rem 0; font-size: .93rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.site-footer strong { color: #fff; }

@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } }
