:root {
  --ink: #102033;
  --muted: #5e6a78;
  --navy: #0a2342;
  --red: #c8313a;
  --teal: #1f8a8a;
  --gold: #d9a441;
  --green: #2f7d5b;
  --paper: #f8fafc;
  --line: #dde4ec;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px clamp(18px, 4vw, 60px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 228, 236, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  width: 92px;
  height: 50px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #364556;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 32px;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) clamp(18px, 5vw, 76px) 42px;
  color: var(--white);
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.26;
  filter: saturate(0.85);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 35, 66, 0.96), rgba(10, 35, 66, 0.68) 54%, rgba(10, 35, 66, 0.2));
}

.hero-content,
.hero-stats {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffbd63;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7.5vw, 94px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.button.wide {
  width: 100%;
}

.hero-stats {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.hero-stats div {
  padding: 26px;
  background: rgba(10, 35, 66, 0.72);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 38px;
  line-height: 1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.announcement-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.announcement-strip a {
  min-height: 78px;
  padding: 22px clamp(16px, 3vw, 28px);
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.announcement-strip a:hover {
  color: var(--red);
  background: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  align-items: start;
}

.prose p,
.activity-panel p,
.membership-copy p,
.program-grid p,
.news-feature span,
.contact-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.activity-panel {
  display: grid;
  grid-template-columns: minmax(170px, 0.95fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.activity-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 6px;
}

.activity-panel h3,
.program-grid h3,
.news-feature h3,
.winner-card h3,
.officer-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.18;
}

.officers-section,
.programs-section,
.gallery-section,
.updates-section,
.scholarships-section,
.meeting-section {
  background: var(--paper);
}

.nowrap {
  white-space: nowrap;
}

.now-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr);
  gap: 22px;
  align-items: start;
}

/* Category tag — the structural signal */
.now-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.now-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--muted));
}

.cat-event { --cat: var(--red); }
.cat-edu { --cat: var(--teal); }
.cat-social { --cat: var(--gold); }
.cat-volunteer { --cat: var(--green); }
.cat-member { --cat: var(--navy); }
.cat-connect { --cat: var(--muted); }

/* Featured lead */
.now-feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.now-feature-media {
  overflow: hidden;
}

.now-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--paper);
  transition: transform 0.4s ease;
}

.now-feature-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px 24px;
}

.now-feature-body h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
}

.now-feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.now-cta {
  margin-top: auto;
  padding-top: 4px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.now-cta::after {
  content: " \2192";
  transition: margin-left 0.18s ease;
}

.now-feature:hover .now-cta::after {
  margin-left: 5px;
}

.now-feature:hover .now-feature-media img {
  transform: scale(1.04);
}

/* The quieter list */
.now-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.now-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Compact buttons — items that just open one file or page */
.now-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.now-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.now-link::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--muted));
}

.now-link span {
  flex: 1;
}

.now-link::after {
  content: "\2192";
  color: var(--muted);
  font-weight: 800;
  transition: transform 0.18s ease, color 0.18s ease;
}

.now-link:hover {
  transform: translateY(-2px);
  border-color: var(--cat, var(--line));
  box-shadow: 0 10px 22px rgba(16, 32, 51, 0.07);
}

.now-link:hover::after {
  transform: translateX(3px);
  color: var(--cat, var(--muted));
}

.now-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 12px 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.now-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.now-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.now-item .now-tag {
  margin-top: 2px;
}

.now-item strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.now-feature:hover,
.now-item:hover,
.archive-card:hover,
.meeting-grid a:hover,
.resource-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.now-item:hover {
  border-color: var(--cat, var(--line));
}

.officer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.officer-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.4s ease, opacity 0.6s ease;
}

.officer-card:not(.featured):hover {
  border-color: rgba(31, 138, 138, 0.4);
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.08);
  transform: translateY(-3px);
}

.officer-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 32px;
  padding: 36px;
  background: linear-gradient(155deg, var(--navy), #123a63);
  border: none;
}

.officer-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
}

.officer-card.featured img {
  width: 176px;
  height: 176px;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.14);
}

.officer-card p {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 4px 12px;
  border: 1px solid rgba(31, 138, 138, 0.35);
  border-radius: 999px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.officer-card.featured p {
  border-color: rgba(217, 164, 65, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.officer-card h3 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.officer-card.featured h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  color: var(--white);
}

.officer-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.officer-card.featured span {
  color: rgba(255, 255, 255, 0.78);
}

.officer-bio span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
}

.officer-card.expanded .officer-bio span {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  min-height: 0;
}

.see-more-toggle {
  margin-top: 12px;
  padding: 0;
  border: none;
  background: none;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.see-more-toggle:hover {
  color: var(--red);
  text-decoration: underline;
}

.see-more-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.officer-card.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.officer-card.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .officer-card.reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.membership-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 410px);
  gap: 34px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #334155;
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.fee-board {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fee-board div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.fee-board span {
  color: rgba(255, 255, 255, 0.72);
}

.fee-board strong {
  font-size: 22px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-grid article {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.program-grid article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.program-grid article:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.program-grid article:nth-child(4) {
  border-top: 4px solid var(--green);
}

.program-grid a,
.news-feature a,
.news-list span {
  margin-top: auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.resources-section {
  background: var(--white);
}

.resource-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.resource-groups details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-groups summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.resource-groups summary::-webkit-details-marker {
  display: none;
}

.resource-groups summary::after {
  content: "+";
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.resource-groups details[open] summary::after {
  content: "-";
}

.resource-links {
  display: grid;
  gap: 8px;
  padding: 0 14px 16px;
}

.resource-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #26364a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.scholarship-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.winner-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.winner-card div {
  display: grid;
  gap: 4px;
}

.winner-card strong {
  color: var(--teal);
  font-size: 12px;
  text-transform: uppercase;
}

.winner-card span {
  color: var(--muted);
  line-height: 1.55;
}

.scholarship-layout > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.news-feature {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.news-feature div {
  padding: 26px;
}

.news-feature p {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-list a {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.news-list a:hover {
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
}

.news-list strong {
  font-size: 18px;
  line-height: 1.35;
}

.archive-section {
  background: var(--white);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}

/* Newest event leads the grid at double width to break the flat 4-up rhythm. */
.archive-card.lead {
  grid-column: span 2;
  grid-row: span 2;
}

.archive-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.18);
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.32s ease;
}

.archive-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}

/* Navy wash keeps the title legible over any photo and ties cards to the brand. */
.archive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(187deg, rgba(10, 35, 66, 0) 32%, rgba(7, 21, 41, 0.42) 64%, rgba(7, 21, 41, 0.92) 100%);
  transition: background 0.4s ease;
}

.archive-card div {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  width: 100%;
  padding: 20px 20px 22px;
  color: var(--white);
}

/* Year is the structural marker: a quiet datestamp pinned to the top corner. */
.archive-card span,
.meeting-grid a::before {
  position: absolute;
  top: 16px;
  left: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
}

.archive-card span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--gold);
}

.archive-card strong {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.archive-card.lead strong {
  font-size: clamp(24px, 2.6vw, 34px);
}

/* Gold underline + arrow slide in on hover as the single interactive flourish. */
.archive-card strong::after {
  content: "View gallery →";
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.archive-card:hover,
.archive-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(7, 21, 41, 0.34);
}

.archive-card:hover img,
.archive-card:focus-visible img {
  transform: scale(1.06);
}

.archive-card:hover::before,
.archive-card:focus-visible::before {
  background:
    linear-gradient(187deg, rgba(10, 35, 66, 0.12) 24%, rgba(7, 21, 41, 0.6) 60%, rgba(7, 21, 41, 0.95) 100%);
}

.archive-card:hover strong::after,
.archive-card:focus-visible strong::after {
  opacity: 1;
  transform: translateY(0);
}

/* Text-only card (video, no photo): same language, a deep navy field + cue. */
.archive-card.text-only {
  background: linear-gradient(155deg, #103257 0%, #07192f 100%);
}

.archive-card.text-only::before {
  background: none;
}

.archive-card.text-only strong::after {
  content: "▶  Watch video";
}

.meeting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.meeting-grid a {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.meeting-grid a::before {
  content: "Meeting";
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3) {
  object-position: center 22%;
}

.gallery-grid img:nth-child(4) {
  object-position: center 35%;
}

.community-gallery {
  grid-template-columns: 1.4fr 0.95fr 0.55fr;
}

.community-gallery img:first-child {
  object-position: center 42%;
}

.community-gallery img:nth-child(2),
.community-gallery img:nth-child(3) {
  object-position: center 45%;
}

.community-gallery img:nth-child(4) {
  grid-row: span 2;
  object-position: center center;
}

.contact-section {
  background: linear-gradient(135deg, var(--navy), #123a5c);
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.contact-card .eyebrow {
  color: #ffbd63;
}

.contact-card h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 56px);
}

.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 76px) clamp(36px, 5vw, 56px);
  color: var(--white);
  background: var(--navy);
}

.page-hero .eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}

.page-hero p {
  margin: 0;
  max-width: 70ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero .back-link:hover {
  color: var(--white);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.64);
  background: #07192f;
}

.footer img {
  width: 128px;
}

.footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero,
  .two-column,
  .membership-layout,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .announcement-strip,
  .program-grid,
  .archive-grid,
  .meeting-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-card.lead {
    grid-row: span 1;
  }

  .now-board {
    grid-template-columns: 1fr;
  }

  .now-feature-media img {
    aspect-ratio: 21 / 9;
  }

  .officer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-groups,
  .scholarship-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 64px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .archive-card.lead {
    grid-column: span 1;
  }

  .hero-stats,
  .activity-panel,
  .section-heading,
  .announcement-strip,
  .officer-grid,
  .program-grid,
  .now-list,
  .resource-groups,
  .archive-grid,
  .meeting-grid {
    grid-template-columns: 1fr;
  }

  .now-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .now-links {
    grid-template-columns: 1fr;
  }

  .officer-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .officer-card.featured img {
    margin: 0 auto;
  }

  .officer-card.featured .officer-quote {
    border-left: none;
    padding-left: 0;
  }

  .officer-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-grid img:first-child {
    grid-row: auto;
  }

  .community-gallery {
    grid-auto-rows: auto;
  }

  .community-gallery img {
    aspect-ratio: 16 / 10;
  }

  .community-gallery img:nth-child(4) {
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .contact-card,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.archive-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .archive-card,
  .archive-card img,
  .archive-card strong::after {
    transition: none;
  }

  .archive-card:hover,
  .archive-card:focus-visible {
    transform: none;
  }

  .archive-card:hover img,
  .archive-card:focus-visible img {
    transform: none;
  }
}
