:root {
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --color-ink: #0A0A0B;
  --color-charcoal: #1F1F22;
  --color-bone: #FAFAF7;
  --color-warm: #EFEEEA;
  --color-gold: #C9A24A;
  --color-red: #C8102E;
  --color-deep-red: #8B0A1F;
}

body { font-family: 'Inter', system-ui, sans-serif; }
.font-display { font-family: 'Fraunces', Georgia, serif; font-variation-settings: "opsz" 144; letter-spacing: -0.02em; }
.text-balance { text-wrap: balance; }

/* -------- Reveal animations (#19) -------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 720ms var(--ease-premium), transform 720ms var(--ease-premium); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 80ms; }
.fade-up.delay-2 { transition-delay: 160ms; }
.fade-up.delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* -------- Card hover (#19) -------- */
.card-hover { transition: transform 420ms var(--ease-premium), box-shadow 420ms var(--ease-premium), border-color 420ms var(--ease-premium); }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(10,10,11,0.18); }

/* -------- CTA press feedback (#19) -------- */
.cta-press { transition: transform 260ms var(--ease-premium), background-color 260ms var(--ease-premium), border-color 260ms var(--ease-premium), box-shadow 260ms var(--ease-premium), color 260ms var(--ease-premium); will-change: transform; }
.cta-press:hover { box-shadow: 0 10px 30px -10px rgba(200,16,46,0.45); }
.cta-press:active { transform: translateY(1px) scale(0.985); transition-duration: 120ms; }
.cta-press:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* -------- Texture -------- */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.placeholder-img { background: linear-gradient(135deg, #1F1F22 0%, #0A0A0B 100%); position: relative; overflow: hidden; }
.placeholder-img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(201,162,74,0.16), transparent 60%); }

/* -------- Hero viewport sizing --------
   Mobile: cap height to 58–72svh so the eagle isn't cropped awkwardly and
   the CTA stays above the fold. Use svh/dvh so Safari's collapsing address
   bar doesn't cause layout jumps. Desktop reclaims full viewport height. */
.hero-viewport {
  min-height: 58svh;
  max-height: 72svh;
}
@supports not (height: 100svh) {
  .hero-viewport { min-height: 58vh; max-height: 72vh; }
}
@media (min-width: 768px) {
  .hero-viewport {
    min-height: 100svh;
    max-height: none;
  }
  @supports not (height: 100svh) {
    .hero-viewport { min-height: 100vh; }
  }
}

/* -------- Hero media -------- */
.hero-media { background-color: #0A0A0B; }
/* Keep the eagle's face/composition anchored at the top on mobile so it
   isn't cropped through the middle when the viewport is short. */
@media (max-width: 767px) {
  .hero-fallback-image,
  .hero-video { object-position: center top; }
}
.hero-fallback-image,
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback-image { z-index: 0; opacity: 1; transition: opacity 800ms var(--ease-premium); }
/* Hero video starts hidden and fades in once playback begins (#19) */
.hero-video { z-index: 1; opacity: 0; transition: opacity 900ms var(--ease-premium); }
.hero-media.is-ready .hero-video { opacity: 1; }
.hero-media.is-ready .hero-fallback-image { opacity: 0; }
.hero-media.video-failed .hero-video { opacity: 0; }
.hero-media.video-failed .hero-fallback-image { opacity: 1; }

/* Sound toggle — smaller and less intrusive on mobile. The icon stays
   legible without the label crowding the eagle composition. */
.hero-sound-toggle {
  position: absolute;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(10,10,11,0.45);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 220ms var(--ease-premium), border-color 220ms var(--ease-premium), transform 220ms var(--ease-premium);
}
.hero-sound-toggle .hero-sound-label { display: none; }
@media (min-width: 768px) {
  .hero-sound-toggle .hero-sound-label { display: inline; }
}
.hero-sound-toggle:hover { background: rgba(10,10,11,0.8); border-color: rgba(201,162,74,0.6); }
.hero-sound-toggle:active { transform: scale(0.96); }
.hero-sound-toggle:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.hero-sound-icon { display: inline-flex; align-items: center; justify-content: center; }
.hero-sound-toggle .icon-unmuted { display: none; }
.hero-sound-toggle[data-muted="false"] .icon-muted { display: none; }
.hero-sound-toggle[data-muted="false"] .icon-unmuted { display: inline-block; }
.hero-sound-toggle[data-muted="false"] { border-color: rgba(201,162,74,0.5); }

@media (min-width: 768px) {
  .hero-sound-toggle { right: 1.5rem; bottom: 1.5rem; padding: 0.625rem 1rem; font-size: 12px; }
}

/* -------- Athletics spotlight overlay --------
   Keep the team photo vibrant while giving the copy a stronger local
   readability field on the left. The right side stays open for the players. */
.athletics-spotlight-img { object-position: center center; }
.athletics-spotlight-scrim {
  background:
    radial-gradient(ellipse 120% 78% at 12% 34%, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.58) 42%, rgba(0,0,0,0.18) 74%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.44) 0%, rgba(0,0,0,0.16) 100%);
}
@media (min-width: 1024px) {
  .athletics-spotlight-scrim {
    background:
      radial-gradient(ellipse 68% 82% at 12% 50%, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.56) 42%, rgba(0,0,0,0.16) 68%, rgba(0,0,0,0) 100%),
      linear-gradient(90deg, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.18) 36%, rgba(0,0,0,0) 70%);
  }
}
.athletics-copy {
  position: relative;
  isolation: isolate;
}
.athletics-copy::before {
  content: "";
  position: absolute;
  inset: -1.5rem -1.25rem -1.75rem -1.25rem;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,10,11,0.66) 0%, rgba(10,10,11,0.38) 58%, rgba(10,10,11,0) 100%),
    radial-gradient(ellipse 70% 90% at 12% 50%, rgba(10,10,11,0.62) 0%, rgba(10,10,11,0.18) 62%, rgba(10,10,11,0) 100%);
  border-radius: 1.25rem;
  pointer-events: none;
}
.athletics-summary {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  text-shadow: 0 1px 18px rgba(0,0,0,0.55);
}
.athletics-proof-list {
  color: rgba(255,255,255,0.94);
  font-size: 0.98rem;
  line-height: 1.45;
  text-shadow: 0 1px 14px rgba(0,0,0,0.5);
}
.athletics-muted {
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}
@media (min-width: 1024px) {
  .athletics-copy::before {
    inset: -2rem -2.5rem -2rem -2rem;
    background:
      linear-gradient(100deg, rgba(10,10,11,0.68) 0%, rgba(10,10,11,0.42) 48%, rgba(10,10,11,0) 100%),
      radial-gradient(ellipse 78% 96% at 8% 50%, rgba(10,10,11,0.62) 0%, rgba(10,10,11,0.16) 66%, rgba(10,10,11,0) 100%);
  }
}

/* -------- Eyebrow variants (#18 red restraint) -------- */
/* Default eyebrow is now neutral; reserve red for the brand-anchor moments. */
.eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.6875rem; }
.eyebrow-red { color: var(--color-red); }
.eyebrow-gold { color: var(--color-gold); }
.eyebrow-ink { color: var(--color-charcoal); }
.eyebrow-muted { color: rgba(255,255,255,0.5); }

/* Hairline rule used alongside eyebrows */
.rule-line { display: inline-block; height: 1px; width: 2rem; background: currentColor; opacity: 0.6; }

/* -------- Section bridges (#22 visual endings) -------- */
/* Soften dark→light, light→dark, and red→dark seams with thin gradient strips
   that bleed into the adjacent section's background color. Each strip is ~96px
   and sits at the seam without adding a new section in HTML. */
.bridge { position: relative; }
.bridge::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 96px; pointer-events: none; z-index: 1; }
.bridge-top { position: relative; }
.bridge-top::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 96px; pointer-events: none; z-index: 1; }

/* Variants — each fades the section's own color into the next section's color */
.bridge-to-bone::after { background: linear-gradient(to bottom, transparent, var(--color-bone)); }
.bridge-to-white::after { background: linear-gradient(to bottom, transparent, #ffffff); }
.bridge-to-ink::after { background: linear-gradient(to bottom, transparent, var(--color-ink)); }
.bridge-from-ink::before { background: linear-gradient(to top, transparent, var(--color-ink)); }
.bridge-from-bone::before { background: linear-gradient(to top, transparent, var(--color-bone)); }
.bridge-from-white::before { background: linear-gradient(to top, transparent, #ffffff); }

/* Decorative gold hairline used to "resolve" a couple of seams */
.hairline-gold { position: relative; }
.hairline-gold::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 1px; background: linear-gradient(to right, transparent, rgba(201,162,74,0.5), transparent); transform: translateX(-32px); }

/* -------- Mobile menu motion (#19) -------- */
#mobileMenu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 360ms var(--ease-premium), opacity 240ms var(--ease-premium);
}
#mobileMenu[data-open="true"] {
  max-height: 560px;
  opacity: 1;
}

/* -------- Italic accent variant (#18) -------- */
.accent-italic { font-style: italic; }
.accent-red { color: var(--color-red); }
.accent-gold { color: var(--color-gold); }

/* -------- Living school indicators (#24) -------- */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(201,162,74,0.12);
  border: 1px solid rgba(201,162,74,0.35);
  color: var(--color-gold);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--color-gold);
  box-shadow: 0 0 0 0 rgba(201,162,74,0.7);
  animation: live-pulse 2.4s var(--ease-premium) infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,162,74,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(201,162,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,162,74,0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

.recency-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.recency-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--color-gold);
  display: inline-block;
}

/* -------- Footer trust architecture (#25) -------- */
.footer-stamps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-stamps li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.footer-stamps li svg { color: var(--color-gold); flex-shrink: 0; }

.footer-emergency {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,162,74,0.85);
}
.footer-emergency a { font-weight: 700; }

/* -------- Leadership portrait normalization -------- */
/* The four portraits were shot in different contexts (studio, candid, event,
   phone). Lock the visual system without re-shooting: bias focal point upward
   toward faces, gently normalize saturation/contrast, and add a soft bottom
   vignette so names sit on a consistent foundation. */
.leadership-portrait {
  position: relative;
  isolation: isolate;
}
.leadership-portrait img {
  object-position: 50% 22%;
  filter: saturate(0.92) contrast(1.02);
  transition: filter 600ms var(--ease-premium), transform 700ms var(--ease-premium);
}
.leadership-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0) 55%, rgba(10,10,11,0.22));
  pointer-events: none;
  z-index: 1;
  transition: opacity 600ms var(--ease-premium);
}
.leadership-card:hover .leadership-portrait img {
  filter: saturate(1) contrast(1.04);
}
.leadership-card:hover .leadership-portrait::after { opacity: 0.7; }

/* -------- Institutional timeline strip -------- */
.timeline-strip {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-step {
  position: relative;
  padding-top: 1.25rem;
}
.timeline-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: 2px;
  background: var(--color-gold);
  opacity: 0.85;
}

/* -------- Smooth anchor scroll (gallery filter nav, etc.) -------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* -------- Athletics team card -- image zoom + gallery-link overlay -------- */
.athletics-card { text-decoration: none; color: inherit; }
.athletics-card-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1F1F22 0%, #0A0A0B 100%);
}
.athletics-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-premium);
}
.athletics-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0) 55%, rgba(10,10,11,0.55));
  opacity: 0;
  transition: opacity 320ms var(--ease-premium);
  pointer-events: none;
}
.athletics-card-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 320ms var(--ease-premium), transform 320ms var(--ease-premium);
}
.athletics-card:hover .athletics-card-media img,
.athletics-card:focus-visible .athletics-card-media img { transform: scale(1.03); }
.athletics-card:hover .athletics-card-media::after,
.athletics-card:focus-visible .athletics-card-media::after { opacity: 1; }
.athletics-card:hover .athletics-card-label,
.athletics-card:focus-visible .athletics-card-label { opacity: 1; transform: translateY(0); }
.athletics-card:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; border-radius: 1rem; }

/* -------- Gallery category filter nav -------- */
.gallery-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--color-warm);
  background: #fff;
  color: #2A2A2D;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 220ms var(--ease-premium), background 220ms var(--ease-premium), color 220ms var(--ease-premium), transform 220ms var(--ease-premium);
}
.gallery-filter:hover { border-color: var(--color-red); }
.gallery-filter:active { transform: scale(0.98); }
.gallery-filter:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.gallery-filter.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

/* -------- Contact page polish -------- */
/* Phone / email links pick up a subtle red-underline-on-hover instead of a heavy color flip. */
.contact-link {
  position: relative;
  display: inline-block;
  color: var(--color-ink);
  text-decoration: none;
  transition: color 220ms var(--ease-premium);
}
.contact-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-premium);
}
.contact-link:hover { color: var(--color-red); }
.contact-link:hover::after { transform: scaleX(1); }
.contact-link:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: 4px; }

/* WhatsApp CTA card */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--color-warm);
  background: #fff;
  color: var(--color-ink);
  text-decoration: none;
  transition: border-color 240ms var(--ease-premium), box-shadow 240ms var(--ease-premium), transform 240ms var(--ease-premium);
}
.whatsapp-cta:hover {
  border-color: var(--color-red);
  box-shadow: 0 12px 32px -16px rgba(200,16,46,0.35);
  transform: translateY(-1px);
}
.whatsapp-cta:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.whatsapp-cta-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(200,16,46,0.08);
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatsapp-cta-arrow {
  color: var(--color-red);
  flex-shrink: 0;
  transition: transform 320ms var(--ease-premium);
}
.whatsapp-cta:hover .whatsapp-cta-arrow { transform: translateX(3px); }

/* Contact form inputs */
.form-input {
  width: 100%;
  background: var(--color-bone);
  border: 1px solid var(--color-warm);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-ink);
  transition: border-color 220ms var(--ease-premium), box-shadow 220ms var(--ease-premium), background 220ms var(--ease-premium);
}
.form-input::placeholder { color: rgba(107,107,112,0.7); }
.form-input:hover { border-color: rgba(200,16,46,0.4); }
.form-input:focus {
  outline: none;
  border-color: var(--color-red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.08);
}
.form-textarea { resize: vertical; min-height: 7.5rem; }

.contact-form.is-submitting { opacity: 0.55; pointer-events: none; transition: opacity 240ms var(--ease-premium); }
.contact-form-status { animation: contactStatusIn 360ms var(--ease-premium) both; }
@keyframes contactStatusIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact map */
.contact-map-wrap {
  position: relative;
  height: 24rem;
  overflow: hidden;
}
.contact-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) saturate(0.95) brightness(0.95);
}
.contact-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.15) 45%, rgba(10,10,11,0) 70%);
  pointer-events: none;
}
.contact-map-card {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  max-width: 22rem;
  background: rgba(250,250,247,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--color-warm);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 24px 48px -24px rgba(10,10,11,0.4);
}
@media (min-width: 768px) {
  .contact-map-wrap { height: 28rem; }
  .contact-map-card { left: 3rem; padding: 1.75rem; }
}
@media (max-width: 640px) {
  .contact-map-card {
    left: 1rem;
    right: 1rem;
    max-width: none;
    transform: none;
    top: auto;
    bottom: 1rem;
  }
}

/* -------- News card (clickable, hover overlay) -------- */
.news-card { text-decoration: none; color: inherit; display: block; }
.news-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, #1F1F22 0%, #0A0A0B 100%);
}
.news-card-media img,
.news-card-media .news-card-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-premium);
}
.news-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0) 50%, rgba(10,10,11,0.55));
  opacity: 0;
  transition: opacity 320ms var(--ease-premium);
  pointer-events: none;
}
.news-card-label {
  position: absolute;
  right: 0.875rem;
  bottom: 0.875rem;
  z-index: 1;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 320ms var(--ease-premium), transform 320ms var(--ease-premium);
}
.news-card:hover .news-card-media img,
.news-card:hover .news-card-media .news-card-placeholder,
.news-card:focus-visible .news-card-media img,
.news-card:focus-visible .news-card-media .news-card-placeholder { transform: scale(1.04); }
.news-card:hover .news-card-media::after,
.news-card:focus-visible .news-card-media::after { opacity: 1; }
.news-card:hover .news-card-label,
.news-card:focus-visible .news-card-label { opacity: 1; transform: translateY(0); }
.news-card:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; border-radius: 1rem; }
.news-featured .news-card-media { border-radius: 0; }

/* News category filter pills */
.news-filter {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-warm);
  background: #fff;
  color: #2A2A2D;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 220ms var(--ease-premium), background 220ms var(--ease-premium), color 220ms var(--ease-premium);
}
.news-filter:hover { border-color: var(--color-red); }
.news-filter:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.news-filter.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

/* News article detail body — readable serif copy */
.article-body {
  font-family: var(--font-display, "Fraunces"), Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.75;
}
.article-body > * + * { margin-top: 1.25rem; }
.article-body a { color: var(--color-red); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--color-deep-red); }
.article-body p:first-of-type::first-letter {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 3rem;
  float: left;
  line-height: 0.9;
  padding: 0.25rem 0.5rem 0 0;
  color: var(--color-ink);
}
