/* ============================================================
   GAIWI — Shared Styles
   Design tokens live at the top. Edit only tokens for rebranding.
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --gold:       #F5C200;
  --gold-dim:   #C9970A;
  --gold-pale:  #FFF8DC;
  --black:      #0D0D0D;
  --dark:       #161616;
  --dark-card:  #222222;
  --mid:        #3A3A3A;
  --light-bg:   #F9F7F2;
  --white:      #FFFFFF;
  --text:       #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #909090;
  --border:     #E5E1D8;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-w: 1160px;
  --section-gap: 96px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
.full_page{
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/design_up/Background.jpg');
    background-size: cover;
    background-position: center top;
    /*opacity: 0.12;*/
    z-index: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
p { line-height: 1.75; }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--text);
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 92%;
  max-width: var(--max-w);
  margin-inline: auto;
}
section { padding: var(--section-gap) 0; }
.section-header { margin-bottom: 3rem; }

/* ── NAV ─────────────────────────────────────────────────── */
#site-nav {
    /*background-color: #FFEDc3;*/
    /*background: linear-gradient(*/
    /*        to right,*/
    /*        rgba(251,247,232,0.88) 0%,*/
    /*        #FFEDc3 45%,*/
    /*        rgba(252,243,222, 0.99) 100%*/
    /*);*/
    background: linear-gradient(
            to top,
            #FDF9ED 100%,
            #FFF3CA 100%
    );
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}

#site-nav.scrolled {
    background-color: #FFEDc3;
  /*background: rgba(252,243,223,1);*/
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(245,194,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 65px;
  width: auto;
  /* logo PNG has black bg — mix-blend-mode makes black transparent */
  /*mix-blend-mode: screen;*/
  filter: brightness(1.15);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: black;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 720px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.3s;
    backdrop-filter: blur(12px);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 0.9rem 1.5rem; font-size: 1rem; }
  .nav-links a::after { display: none; }
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;   /* top padding clears the fixed nav */
    margin-top: 68px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/design_up/banner-hover.png');   /* path is relative to the CSS/HTML file */
    background-size: cover;
    background-position: center right;
    z-index: 0;
}

/* Dark gradient overlay so hero text stays readable over the photo */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background: linear-gradient(*/
    /*        to right,*/
    /*        rgba(13,13,13,0.88) 0%,*/
    /*        rgba(13,13,13,0.70) 45%,*/
    /*        rgba(13,13,13,0.15) 100%*/
    /*);*/
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* The gaiwi_title.png wordmark image */
.hero-title-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin-bottom: 2rem;
  /*!* PNG has black bg — screen blend reveals just the gold lettering *!*/
  mix-blend-mode: screen;
  filter: brightness(1.9);
}

.hero-affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  margin-top: 0.5rem;
}
.hero-affil {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /*color: rgba(255,255,255,0.5);*/
    color: var(--gold);
  padding-right: 1.4rem;
  position: relative;
}
.hero-affil:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 0.55rem;
  color: var(--gold);
  opacity: 0.7;
}

/* ── ABOUT ───────────────────────────────────────────────── */
#about {
  /*background: var(--white);*/
  /* Subtle grain texture from Background.jpg strip at the edge */
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
    text-align: justify;
}
.about-text p:last-child { margin-bottom: 2rem; }

.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
    padding: 10px;
}
@media (max-width: 520px) {
  .focus-grid { grid-template-columns: 1fr; }
}

.focus-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.focus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.focus-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(245,194,0,0.1); }
.focus-card:hover::before { transform: scaleX(1); }
.focus-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.focus-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.focus-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ── EVENTS ──────────────────────────────────────────────── */
#events {
  /*background: var(--dark);*/
  position: relative;
  overflow: hidden;
}



/* Background.jpg as dark texture */
#events::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background-image: url('../Background.jpg');*/
  /*background-size: cover;*/
  /*background-position: center top;*/
  opacity: 0.25;
  z-index: 0;
}
#events .container { position: relative; z-index: 1; }
#events .section-eyebrow { color: var(--gold); }
#events .section-title { color: var(--black); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.event-card {
  background: rgba(255,255,255,0.05);
  /*border: 1px solid rgba(255,255,255,0.1);*/
  /*border-radius: var(--radius-md);*/
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  backdrop-filter: blur(4px);
    border-bottom: 6px solid var(--gold);
}
.event-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(245,194,0,0.12);
  transform: translateY(-4px);
}
.event-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
    box-shadow: 0px 3px 15px 0px rgba(0,0,0,0.35);
}
.event-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Use banner as fallback event image */
  /*background-image: url('../banner.png');*/
  background-size: cover;
  background-position: center;

}
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;

}
.event-body { padding: 1.2rem 1.25rem 1.4rem; }
.event-date { font-size: 0.72rem; font-weight: 700; color: var(--gold); font-family: var(--font-display); margin-bottom: 0.4rem; letter-spacing: 0.05em; }
.event-title { font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 0.3rem; line-height: 1.35; }
.event-desc { font-size: 0.8rem; color: var(--black); }

/* ── PEOPLE PREVIEW ──────────────────────────────────────── */
#people-preview {
    /*background: var(--white); */
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.person-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
    background: var(--white);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.person-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.person-photo {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #242424 0%, #3a3a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.12);
  overflow: hidden;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .placeholder-initials {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(245,194,0,0.35);
}
.person-info-name { padding: 0.25rem 0.25rem 0.25rem; }
.person-info { padding: 0.15rem 0.9rem 1.2rem; }
.person-name { font-size: 0.93rem; font-weight: 700; margin-bottom: 0.3rem; line-height: 1.25; }
.person-title { font-size: 0.74rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.3rem; }
.person-institution { font-size: 0.68rem; color: var(--gold-dim); font-weight: 700; font-family: var(--font-display); letter-spacing: 0.04em; margin-bottom: 0.8rem; }
.person-links { display: flex; justify-content: center; gap: 0.45rem; flex-wrap: wrap; }
.person-links a {
  font-size: 0.66rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--gold);
  border: 1.5px solid var(--border);
  padding: 2px 9px;
  border-radius: 20px;
  transition: border-color 0.2s, color 0.2s;
}
.person-links a:hover { color: var(--gold-dim); border-color: var(--gold); }

/* People page section labels */
.people-section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1.75rem;
  margin-top: 3rem;
}
.people-section-label:first-of-type { margin-top: 0; }

/* ── RESEARCH ────────────────────────────────────────────── */
#research {
    /*background: var(--light-bg); */
    /*border-top: 1px solid var(--border);*/
    /*border-bottom: 1px solid var(--border);*/
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.research-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.research-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); transform: translateY(-4px); }
.research-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.research-img img { width: 100%; height: 100%; object-fit: cover; }
.research-body { padding: 1.5rem; }
.research-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.research-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.85rem; }
.research-investigators { font-size: 0.75rem; color: var(--gold-dim); font-weight: 700; font-family: var(--font-display); }

/* ── PUBLICATIONS ────────────────────────────────────────── */
#publications-preview {
    /*background: var(--white);*/
}

.pub-list { display: flex; flex-direction: column; gap: 1rem; }
.pub-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 1.1rem;
  align-items: start;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pub-item:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(245,194,0,0.1); }
.pub-year {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 5px 4px;
  line-height: 1.2;
  align-self: start;
}
.pub-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; line-height: 1.4; }
.pub-award {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-dim);
  font-family: var(--font-display);
  background: var(--gold-pale);
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 0.5rem;
  vertical-align: middle;
  white-space: nowrap;
}
.pub-authors { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.pub-venue { font-size: 0.75rem; color: var(--text-light); font-style: italic; }
.pub-pdf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dim);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  padding: 5px 13px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.pub-pdf:hover { background: var(--gold); color: var(--black); }

@media (max-width: 600px) {
  .pub-item { grid-template-columns: 52px 1fr; }
  .pub-pdf { grid-column: 2; margin-top: 0.5rem; width: fit-content; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 2px solid var(--gold);
  color: var(--text);
  padding: 0.6rem 1.6rem;
  border-radius: 40px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-outline-inv {
  border-color: var(--gold);
  color: var(--white);
}
.btn-outline-inv:hover { background: var(--gold); color: var(--black); }

.view-all-wrap { margin-top: 2.5rem; text-align: center; }

/* ── FOOTER ──────────────────────────────────────────────── */
/*#site-footer {*/
/*  background: #4D4D4D;*/
/*  color: rgba(255,255,255,0.85);*/
/*  padding: 64px 0 36px;*/
/*  position: relative;*/
/*  overflow: hidden;*/
/*}*/

#site-footer {
    padding: 64px 0 36px 0;
    /*background: #4D4D4D;*/
    background-image: url("../images/design_up/banner-bg.png");
    position: relative;
    /*inset: 0;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /*z-index: 0;*/
}

#site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
    margin-right: 15%;
    margin-bottom: 4%;
  background-image: url('../images/design_up/Footer.png');
  background-size: auto;
    background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.9;
}
#site-footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 36px;
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}

.footer-brand h4{
    margin-top: 2rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
}

.footer-brand ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-brand ul a { font-size: 0.84rem; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-brand ul a:hover { color: var(--gold); }

.footer-brand p { font-size: 0.82rem; line-height: 1.75; max-width: 300px; color:white;}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a { font-size: 0.84rem; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: rgba(255,255,255,1);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,194,0,0.06); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.76rem;
    color: white;
}
.footer-affils {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    font-size: 0.62rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

/*.footer-brand h4{*/
/*    margin-top: 3rem;*/
/*    font-family: var(--font-display);*/
/*    font-size: 0.7rem;*/
/*    font-weight: 800;*/
/*    letter-spacing: 0.25em;*/
/*    text-transform: uppercase;*/
/*    color: rgba(255,255,255,0.75);*/
/*    margin-bottom: 1rem;*/
/*}*/

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── INNER PAGE HERO ─────────────────────────────────────── */

#page-hero{
    align-content: center;
    /*min-height: 80vh;*/
    position: relative;
    display: flex;
    background-image: url('../images/design_up/banner-bg.png');
    overflow: hidden;
    /*background-repeat: no-repeat;*/
    /*opacity: 1;*/
    /*padding: 100px 0 80px;   !* top padding clears the fixed nav *!*/
    margin-top: 68px;
    color: white;

}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/design_up/banner.png');   /* path is relative to the CSS/HTML file */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
    z-index: 0;
    /*opacity: 0.99;*/
}
#page-hero .container h1 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

#page-hero .container h1 span{
    color: var(--gold);
}


#page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.5) 100%);
}
#page-hero .container { position: relative; z-index: 2; }
#page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--white); line-height: 1.1; }
#page-hero h1 span { color: var(--gold); }
#page-hero .container p { color: var(--white); max-width: 560px; margin-top: 1rem; font-size: 1rem; }

/* Inner pages fix banner path */
/*.page-hero-bg.inner { background-image: url('../banner.png'); }*/

/* ── PUBLICATIONS PAGE EXTRAS ────────────────────────────── */
.pub-filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 40px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.filter-btn:hover { border-color: var(--gold-dim); color: var(--text); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--black); }
.pub-year-group { margin-bottom: 2.5rem; }
.pub-year-group[data-hidden="true"] { display: none; }
.pub-year-group-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--gold-pale);
  padding-bottom: 0.5rem;
}

/* ── UTILITY ─────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}




#news {
    /*background: var(--white, #fff);*/
    border-bottom: 1px solid var(--border, #E5E1D8);
    padding: 64px 0;
}
.news-scroll-wrap {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.news-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
}
.news-card {
    flex: 0 0 var(--news-card-w, 300px);
    /*background: var(--light-bg, #F9F7F2);*/
    border: 1px solid var(--border, #E5E1D8);
    border-radius: var(--radius-md, 14px);
    padding: 1.5rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.news-card:hover {
    border-color: var(--gold, #F5C200);
    box-shadow: 0 6px 24px rgba(245,194,0,0.12);
}
.news-tag {
    display: inline-block;
    font-family: var(--font-display, sans-serif);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gold, #F5C200);
    color: var(--black, #0D0D0D);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.news-date {
    font-family: var(--font-display, sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-dim, #C9970A);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
}
.news-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.news-desc {
    font-size: 0.82rem;
    color: var(--text-muted, #5A5A5A);
    line-height: 1.6;
}
