:root {
  --header-tint: rgba(172, 163, 158, 0.82);
  --menu-bg: #d7cfc8;
  --menu-active: #c4b8af;
  --ink: #333;
  --muted: #666;
  --page: #aca39e;
  --max: 1140px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Roboto, Open Sans, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

a { color: #3d6a8a; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 12px 28px;
  color: #fff;
  background: var(--header-tint);
}

.site-title {
  margin: 0;
  font-weight: 500;
  line-height: 1.25;
}

.site-title .kicker {
  display: block;
  font-size: 1.25rem;
}

.site-title .main {
  display: block;
  font-size: 1.75rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav a {
  display: inline-block;
  padding: 10px 18px;
  text-decoration: none;
  color: #222;
  background: var(--menu-bg);
  border-radius: 2px;
}

.nav a:hover { color: #b36b4a; }
.nav a.is-active { background: var(--menu-active); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  min-height: 460px;
  background: #333 center / cover no-repeat;
  margin-top: -88px;
  padding-top: 88px;
}

.page {
  background: var(--page);
  padding: 28px 20px 64px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.day {
  margin: 0 auto 56px;
}

.day h2 {
  margin: 8px 0 18px;
  text-align: center;
  font-size: 1.875rem;
  font-weight: 400;
}

.day-text {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.day-text p { margin: 0 0 1em; }

.video {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto 28px;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery a {
  display: block;
  overflow: hidden;
  background: #ccc;
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery a:hover img { transform: scale(1.08); }

.next-link {
  text-align: center;
  font-size: 1.15rem;
  margin: 24px 0 0;
}

.site-footer {
  background: #c9bfb8;
  color: #333;
  padding: 28px 20px;
  text-align: center;
}

.site-footer a {
  color: #333;
  text-decoration: none;
  margin: 0 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  z-index: 80;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox .close { top: 16px; right: 22px; }
.lightbox .prev { left: 12px; }
.lightbox .next { right: 12px; }

.about-hero {
  background: #aca39e;
  color: #fff;
  padding: 36px 20px 24px;
}

.about-hero h1 {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 3rem;
  font-weight: 400;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}

.card {
  padding: 24px 22px 28px;
}

.card:nth-child(odd) { background: #8f8681; color: #fff; }
.card:nth-child(even) { background: #c9bfb8; color: #222; }

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h2 { font-size: 1.2rem; margin: 12px 0 8px; }
.card h2 a { color: inherit; text-decoration: none; }
.card p { margin: 0 0 12px; }
.card .more { color: inherit; }

.story-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: var(--max);
  margin: 24px auto 0;
  padding: 0 0 40px;
}

.story-links a {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.story-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .hero { min-height: 290px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cards, .story-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 88px;
    right: 12px;
    flex-direction: column;
    background: #111;
    padding: 8px;
  }
  .nav.is-open { display: flex; }
  .nav a { color: #fff; background: transparent; }
  .site-title .main { font-size: 1.35rem; }
  .site-title .kicker { font-size: 1rem; }
  .hero { min-height: 180px; margin-top: -108px; padding-top: 108px; }
  .gallery { grid-template-columns: 1fr; }
  .cards, .story-links { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 1.9rem; }
}
