/* ---------- Theme: edit these to match AFCEA exactly ---------- */
:root {
  --navy-900: #071a33;
  --navy-800: #0a2a52;
  --blue-600: #1560b7;
  --gold: #f2b01e;
  --gold-dark: #d99a0b;
  --ink: #14202e;
  --muted: #53606f;
  --line: #d9e0e8;
  --tint: #eef3f9;
  --white: #ffffff;
  --radius: 4px;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .75rem; color: var(--navy-800); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--white); letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1rem; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy-900); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Utility bar + header ---------- */
.campus-brand { min-height: 4.6875rem; display: flex; align-items: center; justify-content: center; padding: .35rem 1rem; background: #2e2e2e; }
.campus-brand a { display: flex; align-items: center; justify-content: center; max-width: 100%; }
.campus-brand img { display: block; width: auto; max-width: 100%; max-height: 4rem; object-fit: contain; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 3px solid var(--navy-800); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-logo { width: 3rem; height: 3rem; max-width: 3rem; max-height: 3rem; object-fit: contain; border-radius: var(--radius); flex-shrink: 0; display: block; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy-800); line-height: 1; display: flex; flex-direction: column; align-items: flex-start; }
.brand-line { display: block; color: var(--blue-600); font-size: clamp(1.8rem, 2vw, 2.6rem); letter-spacing: .02em; }
.brand-line-sub { font-size: .95rem; font-weight: 600; color: var(--muted); margin-top: .15rem; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: var(--navy-800); text-decoration: none; font-weight: 600; padding-block: .25rem; border-bottom: 3px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a.active { border-bottom-color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy-800); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .65rem 1.4rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-800); }

/* ---------- Hero ---------- */
.hero { color: var(--white); padding-block: clamp(4rem, 12vw, 8rem); background:
  linear-gradient(115deg, rgba(7,26,51,.96) 35%, rgba(10,42,82,.82)),
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.05) 39px 40px),
  var(--navy-800); }
.hero-inner { max-width: 820px; margin-inline: 0; }
.hero-inner p { font-size: 1.25rem; color: #d7e2f0; max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-socials { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.25rem; margin-top: 1.25rem; }
.hero-socials-label { color: #c6d3e4; font-weight: 600; }
.hero-socials-links { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-social-link { display: inline-flex; align-items: center; gap: .5rem; color: #d7e2f0; font-weight: 600; text-decoration: none; transition: color .15s; }
.hero-social-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.hero-social-icon { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; color: #aabbd0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: color .15s; }
.hero-social-link:hover .hero-social-icon { color: var(--white); }
.hero-social-link[href*="linkedin"] .hero-social-icon { fill: currentColor; stroke: none; }
.hero .container { margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy-800); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-navy .section-intro { color: #c6d3e4; }
.lead { font-size: 1.3rem; }
.section-intro { color: var(--muted); margin-bottom: 2rem; }
#vision .narrow, #mission .narrow { border-left: 6px solid var(--gold); padding-left: 1.5rem; margin-left: max(1.25rem, calc((100% - 1120px) / 2)); }

/* ---------- Exec board ---------- */
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.75rem; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-top: 4px solid var(--navy-800); }
.member-photo { aspect-ratio: 1 / 1; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-initials { font-family: var(--font-head); font-size: 3.5rem; font-weight: 700; color: var(--navy-800); }
.member-info { padding: 1rem 1.1rem 1.25rem; }
.member-info h3 { margin: 0 0 .15rem; font-size: 1.4rem; }
.member-info p { margin: 0; color: var(--muted); font-weight: 600; }

/* ---------- Events ---------- */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 5.5rem 1fr; background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.event-date { background: var(--gold); color: var(--navy-900); text-align: center; padding: .9rem .5rem; font-family: var(--font-head); line-height: 1; display: flex; flex-direction: column; justify-content: center; }
.event-date .month { font-size: 1.15rem; font-weight: 600; }
.event-date .day { font-size: 2.6rem; font-weight: 700; }
.event-body { padding: 1rem 1.25rem; }
.event-body h3 { margin: 0 0 .25rem; font-size: 1.5rem; }
.event-meta { margin: 0 0 .5rem; color: var(--muted); font-size: .98rem; }
.event-body p:last-child { margin: 0; }
.tag { display: inline-block; background: var(--tint); color: var(--navy-800); font-weight: 600; font-size: .85rem; padding: .1rem .6rem; border-radius: 99px; margin-right: .4rem; }
.empty { background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.35); border-radius: var(--radius); padding: 1.5rem; color: #d7e2f0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c6d3e4; padding-block: 1.75rem; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.site-footer p { margin: 0; }
.site-footer a { color: #c6d3e4; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 3px solid var(--navy-800); padding: .5rem 1.25rem 1rem; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: .75rem; text-align: center; }
  .event { grid-template-columns: 4.5rem 1fr; }
  #vision .narrow, #mission .narrow { margin-left: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}