/* ============================================================
   BRSF Website Stylesheet — v3
   Design language:
   - ink/petrol/ice palette derived from the BRSF logo blue
   - Schibsted Grotesk display, Source Sans 3 body,
     IBM Plex Mono for dates, times and years (instrument register)
   - signature: a thin EEG trace under the main titles
   ============================================================ */

:root {
  --ink: #0C2433;          /* deep petrol-navy: hero, footer, headings */
  --ink-soft: #163A4E;
  --petrol: #0E6178;       /* primary brand color */
  --petrol-bright: #1E8CA8;/* hover / links on dark ground */
  --ice: #F4F8FA;          /* page background */
  --paper: #FFFFFF;
  --mist: #D6E3E9;         /* borders, rules */
  --slate: #47616F;        /* secondary text */
  --text: #1C2E38;
  --amber: #B7791F;        /* award accent — used sparingly */
  --amber-soft: #F6EBD8;
  --tint: #E4EFF3;         /* petrol tint for chips */

  --font-display: 'Schibsted Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 3px rgba(12, 36, 51, 0.07);
  --shadow-hover: 0 4px 14px rgba(12, 36, 51, 0.12);

  /* Legacy aliases — inline styles in the page files use these names */
  --primary: var(--petrol);
  --primary-dark: var(--ink);
  --primary-light: var(--petrol-bright);
  --text-light: var(--slate);
  --border: var(--mist);
  --bg: var(--ice);
  --bg-white: var(--paper);
  --card-shadow: var(--shadow);
  --font: var(--font-body);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ice);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
}

a {
  color: var(--petrol);
  text-decoration: none;
}

a:hover {
  color: var(--petrol-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER / NAV — crisp white bar, blue logo ===== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--mist);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.site-logo img {
  height: 46px;
  width: auto;
}

.site-name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-name .full {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--ink);
}

.site-name .sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--slate);
  margin-top: 1px;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  color: var(--slate);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.15s;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--petrol);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--ink);
  font-weight: 700;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ===== HERO (homepage) — quiet ink field, EEG trace signature ===== */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 76px 24px 68px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('neuronal_network_2.png');
  background-repeat: repeat;
  background-size: 560px auto;
  opacity: 0.10;
  z-index: -1;
}

.hero::after {
  /* deepen the lower edge so the trace reads clearly */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,36,51,0) 30%, rgba(9,27,38,0.55) 100%);
  z-index: -1;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero-inner.has-photo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

/* Rotating photo panel (images auto-loaded from assets/hero/) */
.hero-photo {
  position: relative;
  height: 330px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 12px 36px rgba(4, 16, 24, 0.45);
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero-photo img:first-child {
  opacity: 1;
}

.hero-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 10px;
  background: linear-gradient(180deg, rgba(9,27,38,0) 0%, rgba(9,27,38,0.75) 100%);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--petrol-bright);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.08;
  color: #fff;
  max-width: 640px;
  margin-bottom: 10px;
}

.hero-trace {
  display: block;
  width: min(520px, 100%);
  height: auto;
  margin: 6px 0 18px -4px;
  color: var(--petrol-bright);
}

.hero-trace path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: traceDraw 2.4s ease-out 0.25s forwards;
}

@keyframes traceDraw {
  to { stroke-dashoffset: 0; }
}

.hero .subtitle {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.hero .btn {
  background: #fff;
  color: var(--ink);
}

.hero .btn:hover {
  background: var(--tint);
  color: var(--ink);
}

.hero-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.hero-link:hover {
  color: #fff;
}

/* ===== PAGE HEADER (subpages) — light, with static trace ===== */
.page-header {
  background: var(--paper);
  border-bottom: 1px solid var(--mist);
  padding: 44px 24px 34px;
}

.page-header .container h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.4px;
}

.page-header .container h1::after {
  content: '';
  display: block;
  width: 108px;
  height: 14px;
  margin-top: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='108' height='14' viewBox='0 0 108 14'%3E%3Cpath d='M0 9 H16 L20 4 L25 11 L29 6 H50 L54 2 L59 12 L63 7 H81 L84 5 L88 10 L91 7 H108' fill='none' stroke='%230E6178' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left center;
}

.page-header .container p {
  color: var(--slate);
  margin-top: 10px;
  font-size: 1.02rem;
}

/* ===== MAIN CONTENT ===== */
main {
  padding: 52px 0;
}

.section {
  margin-bottom: 52px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  padding-bottom: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--mist);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--petrol);
}

/* ===== CARDS ===== */
.card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

/* Event cards — mono date as an instrument readout */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.event-card:hover {
  border-color: var(--petrol);
  box-shadow: var(--shadow-hover);
}

.event-card .event-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 5px;
}

.event-card .event-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.event-card .event-title a {
  color: inherit;
}

.event-card .event-location {
  font-size: 14px;
  color: var(--slate);
}

/* News — dated wire items */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.news-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--mist);
  font-size: 15.5px;
}

.news-list li:first-child {
  border-top: 1px solid var(--mist);
}

.news-list li a {
  font-weight: 600;
}

.news-date {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
}

/* ===== BOARD MEMBERS ===== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 18px;
}

.board-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.board-photo {
  width: 104px;
  height: 118px;
  border-radius: 10px;
  background: var(--tint);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8FB0BE;
  font-size: 30px;
  overflow: hidden;
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-card .board-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--petrol);
  margin-bottom: 5px;
}

.board-card .board-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.board-card .board-affil {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 2px;
}

.board-card .board-field {
  font-size: 13px;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 7px;
}

.board-card a.board-email {
  font-size: 12.5px;
}

.board-card .board-name a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--mist);
  text-underline-offset: 3px;
}

.board-card .board-name a:hover {
  color: var(--primary);
  text-decoration-color: currentColor;
}

.board-card a.board-website {
  display: block;
  font-size: 12.5px;
  margin-top: 4px;
}

/* ===== MEMBERSHIP / FEES ===== */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.fees-table th,
.fees-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--mist);
  font-size: 15.5px;
}

.fees-table th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.fees-table td strong {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

.fees-table tr:last-child td {
  border-bottom: none;
}

/* Bank details box */
.bank-box {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-left: 3px solid var(--petrol);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 15.5px;
  line-height: 1.85;
}

.bank-box strong {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Bylaws / collapsible */
.bylaws-section {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bylaws-toggle {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-left: 3px solid var(--petrol);
  padding: 15px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

.bylaws-toggle:hover {
  background: var(--tint);
}

.bylaws-toggle .toggle-icon {
  font-size: 18px;
  color: var(--petrol);
  transition: transform 0.2s;
}

.bylaws-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}

.bylaws-content {
  display: none;
  padding: 24px;
  border-top: 1px solid var(--mist);
}

.bylaws-content.open {
  display: block;
}

.bylaws-content h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--petrol);
  margin: 20px 0 6px;
}

.bylaws-content h3:first-child {
  margin-top: 0;
}

.bylaws-content p {
  font-size: 14.5px;
  color: var(--slate);
  margin-bottom: 8px;
}

/* ===== CONTACT PERSONS ===== */
.contact-person {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.contact-person strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.contact-person .role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--petrol);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 9px;
}

.contact-person address {
  font-style: normal;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.75;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--petrol);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

/* ===== SCHEDULE TABLE ===== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  font-size: 14.5px;
}

.schedule-table th {
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.3px;
}

.schedule-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--mist);
  vertical-align: top;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table .time-col {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--petrol);
  width: 110px;
}

/* ===== EVENTS ARCHIVE ===== */
.events-archive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.events-archive-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.events-archive-list li a:hover {
  border-color: var(--petrol);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.events-archive-list li a .ev-year {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--petrol);
  background: var(--tint);
  padding: 2px 9px;
  border-radius: 12px;
}

/* ===== LINKS / PARTNER SECTION ===== */
.logo-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 18px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.logo-links a {
  display: flex;
  align-items: center;
}

.logo-links img {
  max-height: 40px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.15s;
}

.logo-links a:hover img {
  transform: scale(1.05);
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-pill {
  display: inline-block;
  padding: 7px 16px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 24px;
  color: var(--petrol);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.link-pill:hover {
  background: var(--tint);
  border-color: var(--petrol);
  text-decoration: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 40px 24px;
  margin-top: 40px;
  font-size: 14px;
  position: relative;
  isolation: isolate;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('neuronal_network_2.png');
  background-repeat: repeat;
  background-size: 650px auto;
  opacity: 0.08;
  z-index: -1;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.footer-brand .footer-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.footer-brand .footer-membership {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  max-width: 380px;
}

.footer-brand .footer-copyright {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
}

.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.72);
  font-size: 13.5px;
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== PROSE (generic content) ===== */
.prose p {
  margin-bottom: 14px;
  font-size: 15.5px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.prose ul li {
  font-size: 15.5px;
  margin-bottom: 4px;
}

/* ===== PHOTO GALLERY (event pages) ===== */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.photo-gallery a {
  display: block;
}

.photo-gallery img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.photo-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* ===== EVENT BANNER (optional top image on event pages) ===== */
.event-banner {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== SPONSOR LOGOS (event pages) ===== */
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow);
}

.sponsor-logos img {
  max-height: 56px;
  max-width: 180px;
  object-fit: contain;
}

/* ===== AWARD RECIPIENT LISTS — amber year marks ===== */
.award-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.award-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 13px 18px;
  box-shadow: var(--shadow);
  font-size: 15.5px;
}

.award-year {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 2px 9px;
  border-radius: 12px;
  white-space: nowrap;
}

.award-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.award-list .award-topic {
  display: block;
  font-size: 13.5px;
  color: var(--slate);
  font-style: italic;
}

/* ===== ACCESSIBILITY / MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-trace path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .hero-photo img {
    animation: none !important;
  }
  .hero-photo img:first-child {
    opacity: 1;
  }
  .site-nav a::after,
  .photo-gallery img,
  .logo-links img {
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 10px;
    gap: 0;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 8px;
    font-size: 15.5px;
    border-bottom: 1px solid var(--mist);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 52px 24px 48px;
  }

  .hero-inner.has-photo {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-photo {
    height: 210px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .board-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .news-list li {
    flex-direction: column;
    gap: 2px;
  }
}
