/* Lake Stories — editorial stylesheet */
:root {
  --navy: #0b1c2c;
  --navy-soft: #132a3f;
  --fog: #e8eef2;
  --sand: #d4c4a8;
  --teal: #2a9d8f;
  --teal-dark: #1f7a6f;
  --ink: #1a2a38;
  --muted: #5a6b78;
  --white: #f7fafb;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(11, 28, 44, 0.12);
  --shadow-soft: 0 6px 24px rgba(11, 28, 44, 0.08);
  --radius: 12px;
  --prose: 42rem;
  --wide: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
}

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(--teal); }

h1, h2, h3, .headline {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 28, 44, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 196, 168, 0.15);
}

.nav-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo span { color: var(--sand); font-weight: 400; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(232, 238, 242, 0.25);
  color: var(--white);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: rgba(247, 250, 251, 0.78);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--sand);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
    border-bottom: 1px solid rgba(212, 196, 168, 0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(232, 238, 242, 0.08);
    font-size: 1rem;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero--compact { min-height: min(62vh, 520px); }

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 28, 44, 0.92) 0%,
    rgba(11, 28, 44, 0.45) 45%,
    rgba(11, 28, 44, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.25rem;
  width: 100%;
}

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 0.85rem;
}

.hero h1,
.hero .headline {
  color: var(--white);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  max-width: 18ch;
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: rgba(247, 250, 251, 0.88);
  max-width: 36rem;
  margin: 0;
  font-weight: 400;
}

/* ——— Layout ——— */
.section {
  padding: 4rem 1.25rem;
}
.section--tight { padding: 3rem 1.25rem; }

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

.prose {
  max-width: var(--prose);
  margin: 0 auto;
}
.prose p { margin: 0 0 1.35rem; }
.prose p:last-child { margin-bottom: 0; }

.manifesto {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}
.manifesto h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
}
.manifesto p {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.75rem;
}

/* ——— Chapter cards ——— */
.chapters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.chapter-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.chapter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}
.chapter-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-soft);
}
.chapter-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.chapter-card:hover .chapter-card__img img { transform: scale(1.04); }
.chapter-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.chapter-card__num {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.4rem;
}
.chapter-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.chapter-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ——— Story figures ——— */
.figure {
  margin: 2.75rem 0;
}
.figure--full {
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}
.figure--bleed {
  max-width: none;
  padding: 0;
  margin: 3rem 0;
}
.figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.figure--bleed img { border-radius: 0; box-shadow: none; }
.figure figcaption {
  max-width: var(--prose);
  margin: 0.75rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.figure--bleed figcaption { padding: 0.85rem 1.25rem 0; }

/* ——— Video witness ——— */
.witness {
  max-width: 52rem;
  margin: 3rem auto;
  padding: 0 1.25rem;
}
.witness__intro {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin: 0 0 1rem;
  max-width: 36rem;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ——— Pull quote & timeline ——— */
.pullquote {
  max-width: var(--prose);
  margin: 3rem auto;
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  border-left: 3px solid var(--teal);
  background: rgba(42, 157, 143, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.4;
  color: var(--navy);
  margin: 0;
  font-style: italic;
}
.pullquote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.timeline {
  max-width: var(--prose);
  margin: 2.5rem auto;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.timeline h3 {
  color: var(--sand);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 650;
}
.timeline ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(232, 238, 242, 0.1);
  font-size: 0.95rem;
  line-height: 1.45;
}
.timeline li:last-child { border-bottom: 0; }
.timeline time {
  color: var(--teal);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ——— More chapters ——— */
.more-chapters {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 1.25rem;
}
.more-chapters h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  text-align: center;
}
.more-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
}
.more-link {
  display: block;
  padding: 1.1rem 1.15rem;
  background: rgba(232, 238, 242, 0.06);
  border: 1px solid rgba(232, 238, 242, 0.12);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.more-link:hover {
  background: rgba(42, 157, 143, 0.18);
  border-color: rgba(42, 157, 143, 0.4);
  color: var(--white);
}
.more-link strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.more-link span {
  font-size: 0.85rem;
  color: rgba(247, 250, 251, 0.65);
}

/* ——— About bits ——— */
.credit-band {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--sand);
  color: var(--navy);
}
.credit-band p {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 0.95rem;
}
.credit-band a { color: var(--navy); font-weight: 600; }

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--teal {
  background: var(--teal);
  color: var(--white);
}
.btn--teal:hover { background: var(--teal-dark); color: var(--white); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(11, 28, 44, 0.25);
  color: var(--navy);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ——— Footer ——— */
.site-footer {
  background: var(--navy);
  color: rgba(247, 250, 251, 0.7);
  padding: 2.5rem 1.25rem 2rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a { color: var(--sand); }
.site-footer strong { color: var(--white); }
.footer-brand {
  font-family: Fraunces, Georgia, serif;
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

/* ——— Fade-in (light) ——— */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .chapter-card, .chapter-card__img img { transition: none; }
}

/* ——— Prose H2 sections ——— */
.prose h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 2.75rem 0 1rem;
  padding-top: 0.25rem;
}
.prose h2:first-child { margin-top: 0; }

.section-label {
  max-width: var(--wide);
  margin: 0 auto 1rem;
  padding: 0 1.25rem;
}
.section-label .eyebrow { margin-bottom: 0.35rem; }
.section-label h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0;
  color: var(--navy);
}

/* ——— Slideshow ——— */
.slideshow {
  max-width: var(--wide);
  margin: 2.75rem auto;
  padding: 0 1.25rem;
}
.slideshow--bleed {
  max-width: none;
  padding: 0;
  margin: 3rem 0;
}
.slideshow__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-soft);
  box-shadow: var(--shadow-soft);
}
.slideshow--bleed .slideshow__viewport {
  border-radius: 0;
  box-shadow: none;
}
.slideshow__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
  pointer-events: none;
}
.slideshow__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slideshow__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1.1rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(247, 250, 251, 0.92);
  background: linear-gradient(to top, rgba(11, 28, 44, 0.85), transparent);
}
.slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.slideshow__prev,
.slideshow__next {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(42, 157, 143, 0.45);
  background: var(--card);
  color: var(--teal-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s;
}
.slideshow__prev:hover,
.slideshow__next:hover,
.slideshow__prev:focus-visible,
.slideshow__next:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  outline: none;
}
.slideshow__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  max-width: 18rem;
}
.slideshow__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--sand);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}
.slideshow__dot[aria-selected="true"] {
  opacity: 1;
  background: var(--teal);
  transform: scale(1.25);
}
.slideshow__dot:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.slideshow__counter {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
  font-variant-numeric: tabular-nums;
}
.slideshow:focus {
  outline: none;
}
.slideshow:focus-visible .slideshow__viewport {
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.45), var(--shadow-soft);
}

/* ——— Image mosaic ——— */
.image-mosaic {
  max-width: var(--wide);
  margin: 2.5rem auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.image-mosaic--2 { grid-template-columns: repeat(2, 1fr); }
.image-mosaic figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-soft);
  box-shadow: var(--shadow-soft);
}
.image-mosaic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.image-mosaic figure:hover img { transform: scale(1.03); }
.image-mosaic figcaption {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.45rem 0.55rem 0.55rem;
  line-height: 1.35;
  background: var(--card);
}
@media (max-width: 720px) {
  .image-mosaic { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
  .image-mosaic--2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .image-mosaic,
  .image-mosaic--2 { grid-template-columns: 1fr; }
}

/* ——— Visual diary band ——— */
.diary-band {
  padding: 3.5rem 1.25rem 4rem;
  background: var(--navy);
  color: var(--white);
}
.diary-band .eyebrow { color: var(--sand); }
.diary-band h2 {
  color: var(--white);
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}
.diary-band .diary-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: rgba(247, 250, 251, 0.7);
  font-size: 1.05rem;
}
.diary-band .image-mosaic {
  padding: 0;
}
.diary-band .image-mosaic figcaption {
  background: var(--navy-soft);
  color: rgba(247, 250, 251, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .slideshow__slide { transition: none; }
  .image-mosaic img { transition: none; }
}

/* ——— Topics dropdown nav ——— */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__btn {
  background: transparent;
  border: 0;
  color: rgba(247, 250, 251, 0.78);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown__btn::after {
  content: "▾";
  font-size: 0.7rem;
  opacity: 0.8;
}
.nav-dropdown__btn:hover,
.nav-dropdown.is-open .nav-dropdown__btn,
.nav-dropdown__btn[aria-expanded="true"] {
  color: var(--sand);
}
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 13.5rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: var(--navy);
  border: 1px solid rgba(212, 196, 168, 0.2);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 120;
}
.nav-dropdown.is-open .nav-dropdown__menu {
  display: block;
}
.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: rgba(247, 250, 251, 0.82);
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a[aria-current="page"] {
  color: var(--sand);
  background: rgba(232, 238, 242, 0.06);
}
.nav-dropdown__label {
  display: block;
  padding: 0.45rem 1rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.75;
}

@media (max-width: 820px) {
  .nav-dropdown__btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(232, 238, 242, 0.08);
    font-size: 1rem;
  }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    min-width: 0;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.35rem 0.75rem;
  }
  .nav-dropdown.is-open .nav-dropdown__menu { display: block; }
  .nav-dropdown__menu a {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(232, 238, 242, 0.06);
    font-size: 0.95rem;
  }
}

/* ——— Homepage topic groups ——— */
.topic-groups {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}
.topic-group__head {
  margin-bottom: 1rem;
}
.topic-group__head .eyebrow {
  margin-bottom: 0.25rem;
}
.topic-group__head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 0;
}
.topic-group .chapters {
  margin-top: 0;
}

