/* The SD Project — preview site */
:root {
  --navy: #0B1F2A;
  --navy-mid: #123544;
  --navy-soft: #1A4554;
  --teal: #2A9D8F;
  --teal-dark: #217F74;
  --teal-logo: #368079;
  --cream: #F6F3EE;
  --sand: #E8E2D6;
  --white: #FFFFFF;
  --ink: #1A2A32;
  --muted: #5A6B73;
  --line: rgba(11, 31, 42, 0.12);
  --shadow: 0 16px 40px rgba(11, 31, 42, 0.12);
  --radius: 14px;
  --max: 1120px;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--teal); color: #fff; padding: 0.6rem 1rem; z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 42, 0.96);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.15;
}
.nav {
  display: flex; align-items: center; gap: 0.15rem 1.05rem; margin-left: auto; flex-wrap: wrap; justify-content: flex-end;
}
.nav a {
  color: rgba(255,255,255,0.86); text-decoration: none; font-weight: 600;
  font-size: 0.92rem; padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--teal); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: 0; cursor: pointer;
  background: var(--teal); color: #fff; font-weight: 700;
  font-family: inherit; font-size: 0.95rem;
  padding: 0.75rem 1.25rem; border-radius: 999px;
  text-decoration: none; transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-donate { background: var(--teal); margin-left: 0.4rem; padding: 0.55rem 1rem; }
.menu-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 0; color: #fff; width: 44px; height: 44px;
  cursor: pointer; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: #fff; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1288 / 440;
  min-height: 20rem;
  max-height: 75vh;
  height: auto;
  display: flex; align-items: flex-end;
  background-color: var(--navy);
  background-image: url('/media/hero-crowd.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}
@media (max-width: 700px) {
  .hero {
    aspect-ratio: 4 / 5;
    min-height: 0;
    max-height: none;
    background-image: url('/media/hero-crowd-mobile.jpg');
    background-position: center center;
  }
  .hero-inner { padding: 2.2rem 0 1.8rem; }
  .hero p { font-size: 1.05rem; }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,42,0.25) 0%, rgba(11,31,42,0.78) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 5rem 0 3.5rem; width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.kicker {
  display: inline-block; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--teal);
  margin-bottom: 0.8rem;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }


.hero.hero-team {
  background-image: url('/media/team-bello-hero.jpg');
  background-position: center top;
}
/* Keep the headline over the left (BELLO jersey) so it doesn't cover Sam and Richie's faces. */
.hero.hero-team h1 { max-width: 8ch; }
.hero.hero-team p { max-width: 14.5rem; }
@media (max-width: 700px) {
  .hero.hero-team {
    background-image: url('/media/team-bello-hero-mobile.jpg');
    background-position: center top;
  }
  .hero.hero-team h1 { max-width: 12ch; }
  .hero.hero-team p { max-width: 36rem; }
}


.hero.hero-stories {
  background-image: url('/media/stories-boxing-hero.jpg');
  background-position: center top;
  aspect-ratio: 1290 / 560;
  min-height: 28rem;
  align-items: flex-end;
}
/* Cap sits at the top of the baked crop so more of the ring and ropes
   show below. Type is anchored to the lower left, under both faces,
   over the ropes, with a bottom-weighted overlay for contrast. */
.hero.hero-stories::after {
  background: linear-gradient(180deg, rgba(11,31,42,0.12) 0%, rgba(11,31,42,0.20) 42%, rgba(11,31,42,0.52) 68%, rgba(11,31,42,0.86) 100%);
}
.hero.hero-stories .hero-inner { padding: 1rem 0 1.5rem; }
.hero.hero-stories .kicker { margin-bottom: 0.4rem; }
.hero.hero-stories h1 {
  max-width: min(50rem, 100%);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 0.3em;
}
.hero.hero-stories p { max-width: 28rem; font-size: 1.05rem; margin-bottom: 0; }
@media (max-width: 700px) {
  .hero.hero-stories {
    background-image: url('/media/stories-boxing-hero-mobile.jpg');
    background-position: center top;
    aspect-ratio: 1 / 1;
    min-height: 0;
    align-items: flex-end;
  }
  .hero.hero-stories::after {
    background: linear-gradient(180deg, rgba(11,31,42,0.12) 0%, rgba(11,31,42,0.22) 45%, rgba(11,31,42,0.55) 70%, rgba(11,31,42,0.86) 100%);
  }
  .hero.hero-stories .hero-inner { padding: 0.45rem 0 0.8rem; }
  .hero.hero-stories .kicker { margin-bottom: 0.2rem; }
  .hero.hero-stories h1 {
    max-width: 14em;
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    margin-bottom: 0.22em;
  }
  .hero.hero-stories p { font-size: 0.95rem; }
}

.hero.hero-programs {
  display: grid;
  grid-template: 1fr / 1fr;
  background: var(--navy);
  background-image: none;
  aspect-ratio: 1290 / 560;
  min-height: 28rem;
  align-items: stretch;
}
.hero.hero-programs .hero-media,
.hero.hero-programs .hero-inner { grid-area: 1 / 1; }
.hero.hero-programs .hero-media {
  position: relative;
  z-index: 0;
  line-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero.hero-programs .hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
/* Crop from the bottom only (top-anchored), matching the Stories
   cover size so the heading can sit on the arm below the faces. */
.hero.hero-programs::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,31,42,0.12) 0%, rgba(11,31,42,0.20) 42%, rgba(11,31,42,0.52) 68%, rgba(11,31,42,0.86) 100%);
}
.hero.hero-programs .hero-inner {
  z-index: 2;
  align-self: end;
  padding: 1rem 0 1.5rem;
}
.hero.hero-programs .kicker { margin-bottom: 0.4rem; }
.hero.hero-programs h1 {
  max-width: min(50rem, 100%);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 0.22em;
}
.hero.hero-programs p { max-width: 28rem; font-size: 1.05rem; margin-bottom: 0; }
@media (max-width: 700px) {
  .hero.hero-programs {
    display: grid;
    grid-template: 1fr / 1fr;
    background-image: none;
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: none;
    align-items: stretch;
  }
  .hero.hero-programs .hero-media,
  .hero.hero-programs .hero-inner { grid-area: 1 / 1; }
  .hero.hero-programs::after {
    display: block;
    background: linear-gradient(180deg, rgba(11,31,42,0.12) 0%, rgba(11,31,42,0.22) 45%, rgba(11,31,42,0.55) 70%, rgba(11,31,42,0.86) 100%);
  }
  .hero.hero-programs .hero-inner {
    position: relative;
    align-self: end;
    padding: 0.45rem 0 0.8rem;
  }
  .hero.hero-programs .kicker { margin-bottom: 0.2rem; }
  .hero.hero-programs h1 {
    max-width: 16ch;
    font-size: clamp(1.5rem, 6.2vw, 1.85rem);
  }
  .hero.hero-programs p { font-size: 0.95rem; }
}

.page-hero {
  background: var(--navy); color: #fff;
  padding: 4.2rem 0 3.2rem;
  min-height: 22rem;
  display: flex; align-items: flex-end;
  background-image: linear-gradient(180deg, rgba(11,31,42,0.42) 0%, rgba(11,31,42,0.78) 100%), var(--hero-img, none);
  background-size: cover;
  background-position: var(--hero-pos, center 22%);
  background-repeat: no-repeat;
}
@media (max-width: 700px) {
  .page-hero { min-height: 16rem; padding: 3.2rem 0 2.4rem; }
}
.page-hero h1, .page-hero p { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 40rem; }

/* Sections */
.section { padding: 4.2rem 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.impact {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
}
.impact-stat {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem); color: var(--navy);
  line-height: 1.15; margin: 0 0 0.5rem;
}
.impact-copy {
  display: block;
  max-width: 44rem;
  margin: 0 0 2.6rem;
}
.video-kicker { margin-bottom: 1rem; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.video-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.video-card:hover {
  box-shadow: 0 18px 44px rgba(11,31,42,0.16);
}
.video-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.video-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-mid);
  display: block;
}
.video-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(11,31,42,0.04) 35%, rgba(11,31,42,0.38) 100%);
  pointer-events: none;
}
.video-play::before {
  content: "";
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 50%;
  background-color: rgba(11,31,42,0.82);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 54% 50%;
  background-size: 1.45rem 1.45rem;
  box-shadow: 0 8px 24px rgba(11,31,42,0.3);
}
.video-card:hover .video-play::before,
.video-card:focus-visible .video-play::before {
  background-color: var(--teal);
}
.video-card-body {
  display: block;
  padding: 1rem 1.1rem 1.15rem;
}
.video-card-body h3 {
  margin: 0 0 0.15rem;
  font-size: 1.28rem;
}
.video-card-body .meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-card-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
  pointer-events: none;
  background: transparent;
  z-index: 1;
}
.video-card-poster { position: relative; z-index: 0; }
.video-play { z-index: 2; }
.video-card.is-playing .video-card-poster {
  opacity: 0;
}
.video-card.is-playing .video-card-preview {
  opacity: 1;
  visibility: visible;
}
.video-card.is-playing .video-play {
  background: linear-gradient(180deg, rgba(11,31,42,0.0) 45%, rgba(11,31,42,0.3) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .video-card-preview { display: none !important; }
}
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; }
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11,31,42,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.2rem 1.2rem 1.2rem;
}
.video-lightbox[hidden] { display: none; }
.video-lightbox-frame {
  position: relative;
  width: min(1100px, 100%);
}
.video-lightbox-dialog {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.video-lightbox-dialog video,
.video-lightbox-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.video-lightbox-close {
  position: absolute;
  top: -2.4rem;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.25rem 0.1rem;
}
.video-lightbox-close:hover,
.video-lightbox-close:focus-visible {
  color: var(--teal);
  outline: none;
}
.grid-3, .grid-2, .trip-grid, .story-grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.trip-grid { grid-template-columns: repeat(3, 1fr); }
.story-grid { grid-template-columns: repeat(4, 1fr); }
.card, .trip-card, .story-card, .team-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card { padding: 1.5rem 1.4rem 1.6rem; }
.card h3 { margin-top: 0.2rem; }
.media { aspect-ratio: 4/3; overflow: hidden; background: var(--navy-mid); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
/* Story cards: show the full photo (no cropped heads). A blurred, slightly
   darkened, scaled-up copy of the same image fills the 4:3 frame so there
   are no letterbox bars. Near-4:3 photos keep plain cover via .media-cover. */
.story-card .media, .media-fit { position: relative; isolation: isolate; }
.story-card .media::before, .media-fit::before {
  content: "";
  position: absolute;
  top: -20%; left: -20%;
  width: 140%; height: 140%;
  background-image: var(--media-src);
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.72);
  pointer-events: none;
  z-index: 0;
}
.story-card .media > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.story-card .media img, .media-fit img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center center;
}
.story-card .media.media-cover::before, .media-fit.media-cover::before { content: none; }
.story-card .media.media-cover img, .media-fit.media-cover img { object-fit: cover; }
.trip-card .body, .team-card .body { padding: 1.2rem 1.25rem 1.4rem; }
.story-card .body { padding: 0.9rem 0.95rem 1.05rem; }
.trip-card .meta, .story-card .meta {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 0.35rem;
}
.placeholder {
  border: 1.5px dashed rgba(11,31,42,0.28);
  background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #f3efe8 10px, #f3efe8 20px);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  color: var(--muted);
}
.placeholder strong { color: var(--navy); display: block; margin-bottom: 0.35rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; max-height: 520px; }
.split img.img-full {
  object-fit: contain;
  object-position: center;
  max-height: none;
  height: auto;
  background: var(--navy-mid);
}
.prose { max-width: 42rem; }
.prose p:last-child { margin-bottom: 0; }
.team-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #fff;
}
.team-card .media { aspect-ratio: 4 / 5; }


.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  align-items: start;
}
.ein-box {
  background: var(--cream); border-left: 4px solid var(--teal);
  padding: 1.2rem 1.3rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0;
}

/* Form */
.form-shell { max-width: 34rem; }
.wix-form { display: grid; gap: 1rem; }
.wix-form label, .field-label {
  display: block; font-weight: 650; font-size: 0.92rem; margin-bottom: 0.35rem; color: var(--navy);
}
.wix-form input, .wix-form select, .wix-form textarea,
.wix-form button[type="submit"] { font: inherit; }
.wix-form input, .wix-form select, .wix-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.85rem; background: #fff; color: var(--ink);
}
.wix-form textarea { min-height: 140px; resize: vertical; }
.wix-form button[type="submit"] {
  justify-self: start; background: var(--teal); color: #fff; border: 0;
  border-radius: 999px; padding: 0.75rem 1.3rem; font-weight: 700; cursor: pointer;
}
.wix-form button[type="submit"]:hover { background: var(--teal-dark); }
.form-status { margin-top: 0.8rem; }
.form-status.ok { color: var(--teal-dark); font-weight: 650; }
.form-status.err { color: #9B1C1C; }
.req { color: var(--teal-dark); }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.82);
  padding: 3rem 0 1.8rem; font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.foot-brand { display: inline-flex; align-items: center; margin-bottom: 0.8rem; color: #fff; text-decoration: none; }
.foot-brand .brand-name { font-size: 1.05rem; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.foot-links { display: grid; gap: 0.35rem; }
.foot-links a { text-decoration: none; color: rgba(255,255,255,0.85); }
.foot-links a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .grid-3, .trip-grid, .impact, .split, .foot-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); flex-direction: column; align-items: flex-start;
    padding: 0.8rem 1.2rem 1.2rem; gap: 0.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 0.55rem 0; }
  .btn-donate { margin: 0.5rem 0 0; }
  /* hero height is set on .hero / the 700px query */
}

.two-col { display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:start; }
@media (max-width: 900px) { .two-col { grid-template-columns:1fr; } }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Stories archive */
.year-nav {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.55rem;
  margin: 0 0 2.4rem; padding: 0; list-style: none;
}
.year-nav a {
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none; color: var(--navy);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.32rem 0.8rem; background: #fff;
}
.year-nav a:hover, .year-nav a:focus {
  background: var(--cream); color: var(--teal-dark); border-color: var(--teal);
}
.year-block { margin-bottom: 3rem; scroll-margin-top: 6rem; }
.year-block > h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--teal);
  margin: 0 0 1.3rem;
}
.story-grid-archive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
a.story-card {
  color: inherit; text-decoration: none;
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
a.story-card h3 { color: var(--navy); margin: 0 0 0.4rem; font-size: 1.08rem; }
a.story-card p { color: var(--ink); margin: 0; }
a.story-card:hover { box-shadow: 0 18px 44px rgba(11,31,42,0.16); }
a.story-card:hover h3 { color: var(--teal-dark); }
.story-detail-wrap { max-width: 44rem; }
.story-detail .hero-img {
  width: 100%; height: auto; max-height: min(92vh, 1100px);
  object-fit: contain; object-position: center top;
  background: var(--navy-mid);
  border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 1.4rem;
}
.story-back { margin-bottom: 1rem; }
.story-back-bottom { margin-top: 2rem; }
@media (max-width: 1100px) {
  .story-grid-archive { grid-template-columns: repeat(2, 1fr); }
}
