/* ============================================================
   Dulles Dolls — static site stylesheet
   Palette: red, white & blue — taken from the Dolls logo
   (red #d54433 · royal blue #102da5 · white)
   ============================================================ */

:root {
  --blue-700: #102da5;
  --blue-800: #0d247f;
  --blue-900: #0a1c63;
  --blue-950: #071348;
  --blue-300: #8b9ce0;
  --blue-100: #e4e9fb;
  --red: #d54433;
  --red-700: #b23728;
  --red-100: #fbeae6;
  --white: #ffffff;
  --ivory: #f6f7fb;
  --paper: #ffffff;
  --ink: #1d2233;
  --muted: #5a6072;
  --line: #e3e6f0;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(10, 28, 99, 0.08), 0 4px 12px rgba(10, 28, 99, 0.06);
  --shadow-md: 0 6px 18px rgba(10, 28, 99, 0.14), 0 2px 6px rgba(10, 28, 99, 0.1);
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--blue-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; overflow-wrap: anywhere; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.wrap-narrow { width: min(820px, calc(100% - 2.5rem)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff;
  padding: 0.6em 1em; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(7, 19, 72, 0.98), rgba(10, 28, 99, 0.97));
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 2px 14px rgba(7, 19, 72, 0.4);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.8rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff;
  background: #fff;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 700; line-height: 1.05;
  letter-spacing: 0.02em;
}
.brand-name small {
  display: block; font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-300); margin-top: 2px;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; list-style: none; gap: 0.15rem; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; color: rgba(255,255,255,0.88);
  padding: 0.5em 0.8em; border-radius: 8px; font-size: 0.92rem; font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,0.09); color: #fff; text-decoration: none; }
.main-nav li.has-drop > a::after { content: " ▾"; font-size: 0.75em; color: #fff; }
.main-nav li.has-drop { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: #fff; color: var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 0.4rem; display: none;
  border-top: 3px solid var(--red);
}
.main-nav li.has-drop:hover .dropdown,
.main-nav li.has-drop:focus-within .dropdown { display: block; }
.dropdown a { color: var(--ink); font-weight: 500; padding: 0.55em 0.9em; border-radius: 7px; }
.dropdown a:hover { background: var(--ivory); color: var(--red); }

.main-nav a.active { color: #fff; font-weight: 700; }
.main-nav a.active::after { color: #fff; }
.main-nav a.active { box-shadow: inset 0 -2px 0 var(--red); }
.main-nav .dropdown a.active { color: var(--red); background: var(--ivory); box-shadow: none; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  padding: 0.5em; color: #fff;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0;
  border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--blue-900); max-height: calc(100dvh - var(--header-h));
    overflow: auto; display: none; border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem 1rem 1.25rem; gap: 2px; }
  .main-nav a { font-size: 1.05rem; padding: 0.7em 0.5em; border-bottom: 1px solid rgba(255,255,255,0.07); box-shadow: none; }
  .main-nav a.active { box-shadow: none; }
  .dropdown { position: static; display: block; background: transparent; box-shadow: none; border-top: 0; padding: 0 0 0.2rem 1rem; }
  .dropdown a { color: rgba(255,255,255,0.82); }
  .dropdown a:hover { background: transparent; color: #fff; }
  .dropdown a.active { color: #fff; background: transparent; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ivory);
}
.hero-media { border-bottom: 4px solid var(--red); }
.hero-media img {
  width: 100%;
  height: auto; /* full photo, natural aspect ratio — no cropping */
  display: block;
}
.hero-inner {
  padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(2.6rem, 5vw, 3.8rem);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6em;
  color: var(--red); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem;
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 30px; height: 2px; background: var(--red); }
.hero h1 { color: var(--blue-900); max-width: 18em; margin-bottom: 0.45em; }
.hero p { max-width: 44em; font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.6rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.72em 1.5em; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 0; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--blue-900); box-shadow: 0 6px 18px rgba(255,255,255,0.25); }
.btn-primary:hover { background: var(--blue-100); }
.btn-crimson { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(213, 68, 51, 0.35); }
.btn-crimson:hover { background: #e25443; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--blue-700); border: 1.5px solid var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.86rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.8rem, 6vw, 4.8rem) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: linear-gradient(160deg, var(--blue-950), var(--blue-700)); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { text-align: center; max-width: 46em; margin: 0 auto 2.6rem; }
.section-head .eyebrow {
  color: var(--red); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.78rem; font-weight: 700; margin-bottom: 0.6rem;
}
.section-head p { color: var(--muted); }
.section-navy .section-head p { color: rgba(255,255,255,0.75); }

/* photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.photo-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.photo-strip img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 0.4s; }
.photo-strip figure:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .photo-strip { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.4rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-media { position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.22rem; }
.card .card-sub {
  color: var(--red); font-size: 0.83rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.card .card-cta { margin-top: auto; padding-top: 0.7rem; }

/* profile / alumni cards */
.person-card .card-media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); }
.person-card .then-now { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.person-card .then-now .ph { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--blue-900); }
.person-card .then-now img { width: 100%; height: 100%; object-fit: cover; }
.person-card .then-now .tag {
  position: absolute; left: 8px; bottom: 8px; background: rgba(7, 19, 72, 0.8);
  color: #fff; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; padding: 0.25em 0.7em; border-radius: 999px;
}
.person-card .monogram {
  width: 100%; aspect-ratio: 4/3; display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
}
.person-card .monogram span {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
  width: 1.9em; height: 1.9em; display: grid; place-items: center;
  border: 2px solid #fff; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,0.08);
}
.person-card .person-name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; color: var(--blue-900); margin: 0; }
.person-card .person-title { color: var(--red); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.person-card p { color: var(--muted); font-size: 0.93rem; }

/* sponsor tiers */
.tier-card { border-top: 4px solid var(--red); }
.tier-card .tier-price { color: var(--red); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; }
.tier-card ul { margin: 0.2rem 0 0; padding-left: 1.15rem; color: var(--muted); font-size: 0.9rem; }
.tier-card li { margin-bottom: 0.35rem; }
.tier-card li::marker { color: var(--red); }

/* sponsor wall tiles */
.sponsor-group { margin-bottom: 2.6rem; }
.sponsor-group:last-child { margin-bottom: 0; }
.sponsor-tier {
  font-family: var(--font-display);
  color: var(--blue-900);
  font-size: 1.15rem;
  display: flex; align-items: baseline; gap: 0.6em;
  border-left: 4px solid var(--red);
  padding-left: 0.8rem;
  margin: 0 0 1.1rem;
}
.sponsor-tier .sponsor-price {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  color: var(--red); letter-spacing: 0.06em;
}
.sponsor-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--tile-min, 160px), 100%), 1fr)); gap: 1rem; }
.sponsor-tile {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(140deg, var(--blue-900), var(--blue-700));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.65rem; text-align: center; padding: 1rem;
  color: #fff; border: 1px dashed rgba(255,255,255,0.35);
}
.sponsor-tile .tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.sponsor-tile .tile-logo {
  position: relative; z-index: 1; max-width: 72%; max-height: 60%;
  object-fit: contain; background: #fff; border-radius: 10px; padding: 8px;
  box-shadow: var(--shadow-sm);
}
.sponsor-tile .tile-text { position: relative; z-index: 1; font-weight: 600; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.sponsor-tile.cta-tile { border-style: solid; border-color: #fff; }
.sponsor-tile.cta-tile .tile-text { color: #fff; }
.sponsor-tile a { position: absolute; inset: 0; }

/* decades */
.decades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 720px) { .decades { grid-template-columns: 1fr 1fr; } }
.decade-card {
  position: relative; display: flex; align-items: center; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s;
  color: var(--blue-900);
}
.decade-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.decade-card .num {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--red);
  min-width: 2.6em; text-align: center; border-right: 2px solid var(--blue-100); padding-right: 0.8rem;
}
.decade-card .lbl { font-weight: 600; font-size: 0.95rem; }
.decade-card .lbl small { display: block; color: var(--muted); font-weight: 500; font-size: 0.8rem; }

/* flyer pages */
.flyer-layout { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 2.4rem; align-items: start; }
@media (max-width: 860px) { .flyer-layout { grid-template-columns: 1fr; } }
.flyer-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.flyer-card img { width: 100%; height: auto; }
.flyer-note { color: var(--muted); font-size: 0.95rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.info-card h3 { margin-bottom: 0.8rem; }
.info-card .kicker { color: var(--red); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.4rem; }
.info-card p { margin-bottom: 0.4rem; color: var(--muted); }
.info-card a.mail { font-weight: 600; color: var(--red); }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }

/* page hero (interior pages) */
.page-hero {
  background: linear-gradient(150deg, var(--blue-950) 0%, var(--blue-800) 70%, var(--blue-700) 100%);
  color: #fff; padding: clamp(2.6rem, 6vw, 4.2rem) 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px;
  border: 2px solid rgba(255,255,255,0.35); border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255,255,255,0.07), 0 0 0 90px rgba(255,255,255,0.04);
}
.page-hero h1 { color: #fff; margin: 0.3em 0 0.3em; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 44em; margin: 0; }
.breadcrumbs { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; }
.breadcrumbs a { color: rgba(255,255,255,0.75); }

/* team officer list */
.officer-list { columns: 2; column-gap: 2.5rem; }
@media (max-width: 640px) { .officer-list { columns: 1; } }
.officer-list .group { break-inside: avoid; margin-bottom: 1.6rem; }
.officer-list .role { font-family: var(--font-display); color: var(--red); font-weight: 700; margin-bottom: 0.25rem; }
.officer-list .names { color: var(--ink); font-size: 1.02rem; margin: 0 0 0.15rem; }

/* media rows */
.media-row { display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.media-row.two { grid-template-columns: 1fr 1fr; }
.media-row.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .media-row.two, .media-row.three { grid-template-columns: 1fr; } }
.media-row figure { margin: 0; }
.media-row img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }
.media-row figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.55rem; text-align: center; }

/* two-column text+media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: rgba(255,255,255,0.75); padding: 3.2rem 0 1.6rem; margin-top: 0; }
.site-footer .foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.2rem; align-items: start;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 780px) { .site-footer .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 0.8rem; color: #fff; margin-bottom: 0.9rem; }
.foot-brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; }
.foot-brand .brand-name { font-size: 1.15rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
}
.socials a:hover { background: var(--red); color: #fff; text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-bottom {
  padding-top: 1.4rem; font-size: 0.83rem; color: rgba(255,255,255,0.55);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: space-between;
}
.foot-bottom a { color: rgba(255,255,255,0.65); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(5, 13, 49, 0.94); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 1.5rem; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90dvh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox .lb-close {
  position: absolute; top: 1rem; right: 1.2rem; color: #fff; background: none; border: 0;
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-2 { margin-top: 2rem; }
.mt-1 { margin-top: 1rem; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
