:root {
  --navy: #001e62;
  --navy-deep: #00133f;
  --red: #d50032;
  --red-dark: #a8002a;
  --ink: #1a1f2e;
  --muted: #555e70;
  --bg: #ffffff;
  --bg-alt: #f3f4f7;
  --line: #dfe3ea;
  --radius: 4px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--navy); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Section labels: small red caps with a rule */
.kicker {
  display: flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700;
  color: var(--red); margin-bottom: .8em;
}
.kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.center .kicker { justify-content: center; }
.center .kicker::after { content: ""; width: 32px; height: 2px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: .85em 1.5em;
  border-radius: 2px;
  border: 2px solid var(--red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .85rem;
  font-weight: 700;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-small { padding: .55em 1.1em; font-size: .78rem; }
.btn-block { display: block; text-align: center; }

/* Utility bar */
.utility { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: .8rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.utility-tag { letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility nav { display: flex; gap: 22px; }
.utility a { color: rgba(255,255,255,.85); text-decoration: none; white-space: nowrap; }
.utility a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 640px) { .utility-tag { display: none; } .utility-inner { justify-content: center; } .utility nav { gap: 18px; } }

/* Main nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,30,98,.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: 24px; text-decoration: none; color: var(--navy); }
.brand-ico { width: 34px; height: 34px; color: var(--red); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-small { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.brand-big { font-size: 1.3rem; font-weight: 800; letter-spacing: -.005em; white-space: nowrap; }
.links { display: flex; gap: 19px; align-items: center; }
.links a:not(.btn) {
  position: relative;
  text-decoration: none; color: var(--navy);
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  font-size: .78rem; font-weight: 700;
  padding: 28px 0;
}
.links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .2s;
}
.links a:not(.btn):hover::after,
.links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.links a[aria-current="page"]:not(.btn) { color: var(--red); }
/* Faint dividers between menu tabs (desktop only) */
@media (min-width: 1221px) {
  .links a:not(.btn) + a:not(.btn)::before {
    content: ""; position: absolute; left: -10px; top: 50%; width: 1px; height: 14px;
    transform: translateY(-50%); background: #d5dbe6;
  }
}
#menu-toggle, .menu-btn { display: none; }
.menu-ico { width: 30px; height: 30px; display: block; }

@media (max-width: 1220px) {
  .menu-btn { display: block; cursor: pointer; color: var(--navy); }
  .links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 3px solid var(--red);
    box-shadow: 0 12px 24px rgba(0,30,98,.1);
  }
  .links a:not(.btn) { padding: 15px 24px; border-top: 1px solid var(--line); font-size: .85rem; }
  .links a:not(.btn)::after { display: none; }
  .links .btn { align-self: flex-start; margin: 14px 24px 18px; }
  #menu-toggle:checked ~ .links { display: flex; }
}

/* Hero */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
/* Home page only: photo shows through a transparent navy layer. Save the photo as photos/hero.jpg;
   if it's missing, the section is plain navy. The layer extends past the left edge
   to shift the photo left; make "left" more negative to shift it further. */
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: -18%; z-index: -1;
  background:
    linear-gradient(160deg, rgba(0,30,98,.74) 0%, rgba(0,19,63,.84) 100%),
    url("photos/hero.jpg") center 45% / cover no-repeat;
}
.hero { padding: clamp(72px, 10vw, 128px) 0 clamp(96px, 12vw, 152px); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .86rem; font-weight: 800; color: var(--red); margin-bottom: 1em; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.02; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { font-size: 1.15rem; max-width: 56ch; opacity: .9; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.75em; }

.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-tags { list-style: none; padding: 0; margin: 2em 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .95rem; opacity: .9; }
.hero-tags .ico { width: 16px; height: 16px; vertical-align: -2px; margin-right: .3em; color: #ff6b8b; }

.next-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  border-top: 6px solid var(--red);
}
.next-label { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 800; color: var(--red); margin-bottom: .5em; }
.next-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.next-details { list-style: none; padding: 0; margin: 0 0 1.2em; }
.next-details li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.next-details span { display: inline-block; width: 1.8em; color: var(--red); vertical-align: -3px; }
.next-details .ico { width: 18px; height: 18px; }
.next-note { font-size: .9rem; color: var(--muted); }

/* Sub-page header */
.page-hero { padding: clamp(48px, 7vw, 80px) 0; border-bottom: 6px solid var(--red); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: .35em; }
.page-hero .lead { margin: 0; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 1.2em; color: rgba(255,255,255,.65); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-dark { color: var(--muted); }
.crumbs-dark a { color: var(--navy); }

/* Stats strip */
.stats { position: relative; z-index: 1; margin-top: -64px; }
.stat-band {
  display: flex; align-items: center; gap: 40px;
  background: #fff; border-radius: var(--radius);
  border-top: 6px solid var(--red);
  box-shadow: 0 18px 44px rgba(0,30,98,.14);
  padding: 32px 40px;
}
.stat { text-align: center; }
.stat .num { display: block; font-size: clamp(2.8rem, 6vw, 3.75rem); font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.stat .label { display: block; color: var(--navy); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-top: .5em; }
.stat-text { flex: 1; margin: 0; color: var(--muted); font-size: 1.1rem; border-left: 1px solid var(--line); padding-left: 40px; }
@media (max-width: 760px) {
  .stat-band { flex-direction: column; text-align: center; gap: 18px; padding: 30px 24px; }
  .stat-text { border-left: 0; padding-left: 0; }
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin-bottom: 2.2em; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { color: var(--navy); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: var(--radius); margin-bottom: 1.1em;
  display: grid; place-items: center;
  background: #e8ecf5; color: var(--navy);
  transition: background .15s, color .15s;
}
.icon .ico { width: 24px; height: 24px; }
.link-card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.link-card:hover { border-top-color: var(--red); box-shadow: 0 14px 30px rgba(0,30,98,.1); transform: translateY(-3px); }
.link-card:hover .icon { background: var(--red); color: #fff; }
.link-card h3 { color: var(--navy); }

/* Line icons */
.ico { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; }
.ico-inline { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.15em; color: var(--red); margin-left: .15em; }

/* Quick links (home) */
.quick { padding: 72px 0 8px; }
.quick-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.quick-head h2 { margin: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .quick-grid { grid-template-columns: 1fr; } }
.quick-grid .card { padding: 24px; display: flex; flex-direction: column; }
.quick-grid h3 { margin-bottom: .35em; }
.quick-grid .more { margin-top: auto; padding-top: 1em; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* Why join */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--navy);
  padding: 30px 26px;
  transition: border-color .15s, transform .15s;
}
.why-item:hover { transform: translateY(-3px); border-top-color: var(--red); }
.why-num { display: block; font-size: 2.8rem; font-weight: 900; color: var(--red); line-height: 1; }
.why-item h3 { margin: .7em 0 .5em; color: var(--navy); font-size: 1.3rem; font-weight: 800; }
.why-item p { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* Events */
.events { display: grid; gap: 14px; }
.event {
  display: flex; gap: 24px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.event .date {
  flex: 0 0 68px; text-align: center;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 10px 0;
}
.event .month { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; opacity: .85; }
.event .day { display: block; font-size: 1.7rem; font-weight: 900; line-height: 1.1; }
.event h3 { color: var(--navy); font-weight: 800; margin-bottom: .25em; }
.event p { margin: 0; color: var(--muted); }
.event .event-actions { margin-top: .8em; }
.event .meta { color: var(--red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4em; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; align-items: start; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; background: #fff;
  transition: border-color .15s;
}
details[open] { border-color: var(--navy); }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.5rem; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: .8em 0 0; color: var(--muted); font-size: 1.02rem; }
details a { color: var(--red); font-weight: 600; }

/* Join CTA */
.cta {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
    var(--red);
  color: #fff;
}
.cta h2 { color: #fff; }
.cta .kicker { color: #fff; }
.socials { margin-top: 1.5em; display: flex; gap: 1.5em; justify-content: center; flex-wrap: wrap; }
.socials a { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

/* Footer */
.footer { background: var(--bg-alt); color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .brand { margin-bottom: 1em; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 0 0 .4em; }
.footer-brand a { color: var(--navy); font-weight: 600; }
.footer h4 { color: var(--red); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 800; margin-bottom: 1em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55em; }
.footer li a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.footer li a:hover { color: var(--red); text-decoration: underline; }
.footer-bar { background: var(--navy); color: rgba(255,255,255,.8); font-size: .8rem; }
.footer-bar .container { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.footer-bar p { margin: 0; }

/* Resources page: 3 across, 2 rows */
.grid-resources { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-resources { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-resources { grid-template-columns: 1fr; } }
.grid-resources .link-card { display: flex; flex-direction: column; }
.code {
  display: inline-block; margin-top: .6em;
  background: var(--bg-alt); border: 1px dashed var(--red); border-radius: 2px;
  padding: .2em .6em; color: var(--red); font-weight: 700; letter-spacing: .04em;
}

/* Officers page: open 3-over-2 layout */
.board { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 7vw, 80px); }
.board-head { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.board-label {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 700;
  color: var(--red); margin-bottom: .6em;
}
.board-label::before, .board-label::after { content: ""; width: 40px; height: 2px; background: var(--red); }
.board-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -.02em; color: var(--navy); margin-bottom: .35em; }
.board-sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

.members {
  --gap-x: 36px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 44px var(--gap-x);
  max-width: 1020px; margin: 0 auto;
}
.member {
  flex: 0 0 calc((100% - 2 * var(--gap-x)) / 3);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.member-photo {
  position: relative; width: 185px; height: 185px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: 2.9rem; font-weight: 800;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--red);
  margin-bottom: 22px;
  transition: transform .25s ease;
}
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member:hover .member-photo { transform: scale(1.05); }
.member h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .25em; color: var(--navy); }
.member-role {
  text-transform: uppercase; letter-spacing: .12em; font-size: .86rem;
  font-weight: 800; color: var(--red); margin: 0 0 .7em;
}
.member-bio { color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 300px; margin: 0 0 .3em; }
.member-bio strong { color: var(--ink); font-weight: 700; }

@media (max-width: 860px) {
  .members { --gap-x: 32px; max-width: 680px; }
  .member { flex-basis: calc((100% - var(--gap-x)) / 2); }
}
@media (max-width: 540px) {
  .members { row-gap: 36px; }
  .member { flex-basis: 100%; }
}

/* Points page */
.sheet-frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 6px solid var(--red);
  box-shadow: 0 12px 32px rgba(0,30,98,.08);
  overflow: hidden;
}
.sheet-frame iframe { display: block; width: 100%; height: 75vh; min-height: 480px; border: 0; }
.sheet-note { color: var(--muted); font-size: .9rem; margin-top: 1em; text-align: center; }

/* Dues page */
.dues-card { max-width: 780px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); }
.dues-card h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--navy); margin: 0 0 .5em; }
.dues-card p:not(.kicker) { font-size: 1.08rem; line-height: 1.7; }
.dues-perks { list-style: none; padding: 0; margin: 1.5em 0 2em; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 700; color: var(--navy); }
.dues-perks .ico { width: 20px; height: 20px; vertical-align: -4px; margin-right: .45em; color: var(--red); }

/* Footer social logos */
.social-ico { width: 20px; height: 20px; vertical-align: -5px; margin-right: .5em; }
.social-ico.ig { color: #e1306c; }
.social-ico.gm { color: #00aff0; }

/* Club calendar (home page, Events section) */
.cal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin: 56px 0 20px; }
.cal-head h3 { color: var(--navy); font-size: 1.5rem; font-weight: 800; margin: 0 0 .3em; }
.cal-head p { color: var(--muted); margin: 0; }
.cal-frame iframe { height: 640px; min-height: 0; }
@media (max-width: 600px) { .cal-frame iframe { height: 520px; } }

/* Point system (points page) */
.pts-earn { grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
.pts-pens { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .pts-earn { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .pts-pens { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pts-earn { grid-template-columns: 1fr; } }
.pts-value { font-size: 2.6rem; font-weight: 900; color: var(--navy) !important; line-height: 1; letter-spacing: -.01em; margin: 18px 0 10px !important; }
.pts-value small { font-size: 1.1rem; font-weight: 800; margin-left: 4px; }
.pts-max { display: inline-block; margin-top: 14px !important; padding: 5px 10px; background: #e8edf6; color: var(--navy) !important; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; }
.pts-subhead { color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; font-weight: 800; margin: 48px 0 16px; }
.pts-pen { border-top-color: var(--red); }
.pts-pen .icon { background: #fbe6eb; color: var(--red); }
.pts-pen .pts-value { color: var(--red) !important; }
.pts-sheet-title { margin-bottom: 28px; }
.pts-card .icon { margin-bottom: 0; }

/* Outline button + calendar buttons */
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.next-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.next-actions .btn { text-align: center; padding-left: .6em; padding-right: .6em; }
.next-actions .btn-rsvp { grid-column: 1 / -1; }
.cal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cal-head-page { margin-top: 0; justify-content: flex-start; align-items: center; }
