:root {
  --landing-bg: linear-gradient(160deg, #f5efe1 0%, #dbead9 45%, #bdd6ee 100%);
  --landing-surface: rgba(255, 251, 244, 0.76);
  --landing-card-surface: rgba(255, 251, 244, 0.58);
  --landing-control-surface: rgba(255, 251, 244, 0.76);
  --landing-button-surface: rgba(255, 251, 244, 0.9);
  --landing-pill-surface: rgba(235, 242, 221, 0.82);
  --landing-surface-border: rgba(24, 49, 36, 0.08);
  --landing-text: #173726;
  --landing-text-soft: rgba(23, 55, 38, 0.82);
  --landing-accent: #173726;
  --landing-accent-contrast: #f8f6f0;
  --landing-highlight: #f1d36f;
  --landing-highlight-contrast: #173726;
  --landing-link: #173726;
}

:root[data-theme="dark"] {
  --landing-bg: linear-gradient(160deg, #102219 0%, #1b2d38 48%, #0b1420 100%);
  --landing-surface: rgba(13, 30, 23, 0.94);
  --landing-card-surface: rgba(31, 53, 42, 0.88);
  --landing-control-surface: rgba(37, 76, 53, 0.92);
  --landing-button-surface: rgba(43, 82, 58, 0.9);
  --landing-pill-surface: rgba(215, 230, 196, 0.16);
  --landing-surface-border: rgba(215, 230, 196, 0.18);
  --landing-text: #f1f5e9;
  --landing-text-soft: rgba(241, 245, 233, 0.8);
  --landing-accent: #2f5c3f;
  --landing-accent-contrast: #f5faee;
  --landing-highlight: #f1d36f;
  --landing-highlight-contrast: #102219;
  --landing-link: #d7e6c4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--landing-bg);
  color: var(--landing-text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.landing-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.landing-hero,
.landing-insights-section,
.landing-capture-gallery,
.landing-fact-section,
.landing-about-section {
  border: 1px solid var(--landing-surface-border);
  border-radius: 1.6rem;
  background: var(--landing-surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.landing-hero {
  padding: 1.25rem;
}

.landing-insights-section {
  margin-top: 1rem;
  padding: 1.25rem;
}

.landing-topbar,
.landing-live-grid,
.landing-insights-grid,
.landing-gallery-grid {
  display: grid;
  gap: 1rem;
}

.landing-topbar {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.landing-hero-copy {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  margin-top: 1.25rem;
}

.landing-hero-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.landing-hero-detail {
  margin: 0;
  color: var(--landing-text-soft);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.landing-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.landing-logo {
  display: block;
  width: min(13rem, 42vw);
  height: auto;
}

.landing-donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(23, 55, 38, 0.14);
  border-radius: 999px;
  background: var(--landing-highlight);
  color: var(--landing-highlight-contrast);
  box-shadow: 0 8px 18px rgba(241, 211, 111, 0.32);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.landing-topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(23, 55, 38, 0.14);
  border-radius: 999px;
  background: var(--landing-accent);
  color: var(--landing-accent-contrast);
  box-shadow: 0 8px 18px rgba(23, 55, 38, 0.16);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.landing-live-viewer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  left: 0.85rem;
  top: 0.85rem;
  max-width: calc(100% - 7.5rem);
  text-align: center;
  white-space: normal;
}

.landing-live-viewer-icon {
  flex: 0 0 auto;
}

.landing-live-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 1rem;
}

.landing-feed-column {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.landing-camera-toggle {
  align-self: flex-start;
}

.landing-stream-frame {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
}

.landing-stream-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  object-fit: cover;
  background: rgba(23, 55, 38, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.landing-stream-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  object-fit: cover;
  background: #050705;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.landing-stream-frame[data-camera-source="outside"] {
  aspect-ratio: 4 / 3;
}

.landing-stream-frame[data-camera-source="inside"] .landing-stream-video,
.landing-stream-frame[data-camera-source="outside"] .landing-stream-image {
  display: none;
}

.landing-stream-status {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(18, 43, 31, 0.9);
  color: #f8f6f0;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.landing-stream-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(18, 43, 31, 0.9);
  color: #f8f6f0;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.landing-donate-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.landing-language-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--landing-control-surface);
  border: 1px solid var(--landing-surface-border);
}

.landing-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--landing-surface-border);
  border-radius: 999px;
  background: var(--landing-control-surface);
  color: var(--landing-text);
  font: inherit;
  cursor: pointer;
}

.landing-theme-toggle[hidden] {
  display: none;
}

.landing-theme-toggle .bi {
  font-size: 1rem;
  line-height: 1;
}

.landing-theme-toggle .bi-sun-fill {
  display: none;
}

:root[data-theme="dark"] .landing-theme-toggle {
  color: var(--landing-accent-contrast);
}

:root[data-theme="dark"] .landing-theme-toggle .bi-moon-stars-fill {
  display: none;
}

:root[data-theme="dark"] .landing-theme-toggle .bi-sun-fill {
  display: inline-block;
}

.landing-language-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: transparent;
  color: var(--landing-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-language-toggle button.is-active {
  background: var(--landing-accent);
  color: var(--landing-accent-contrast);
}

.landing-stream-status::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f1d36f;
}

.landing-stream-status[data-status="live"]::before {
  background: #5ed487;
}

.landing-stream-status[data-status="unavailable"]::before {
  background: #ef6f6c;
}

.landing-status-column {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 1rem;
}

.landing-status-row {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--landing-surface-border);
  border-radius: 0.5rem;
  background: var(--landing-card-surface);
}

.landing-status-row h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--landing-text-soft);
}

.landing-bird-status-card {
  display: grid;
  grid-template-columns: 5rem auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
}

.landing-bird-status-portrait {
  position: relative;
  width: 5rem;
  height: 5rem;
}

.landing-bird-status-image {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(23, 55, 38, 0.08);
  box-shadow: 0 0.55rem 1.3rem rgba(23, 55, 38, 0.12);
}

.landing-bird-status-icon {
  position: absolute;
  right: -0.2rem;
  bottom: -0.2rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #A3A19F;
  color: #FAFCF6;
  font-size: 1.25rem;
  line-height: 1;
}

.landing-bird-status-icon[data-state="occupied"] {
  background: #B2C88E;
}

.landing-bird-status-icon[data-state="empty"] i {
  transform: rotate(45deg);
}

.landing-bird-status-icon i {
  display: block;
  line-height: 1;
}

.landing-bird-status-divider {
  align-self: stretch;
  width: 0;
  border-left: 1px dashed #B2C88E;
}

.landing-bird-status-content {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.landing-status-line,
.landing-stat-line {
  margin: 0;
  color: var(--landing-text);
  line-height: 1.2;
}

.landing-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.landing-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.8rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(99, 117, 79, 0.24);
  border-radius: 999px;
  background: var(--landing-pill-surface);
  color: var(--landing-text);
  font-size: 0.82rem;
  font-weight: 400;
}

.landing-status-badge i {
  color: #63754F;
  line-height: 1;
}

.landing-status-explainer {
  margin: 0;
  color: var(--landing-text);
  font-size: 1rem;
  line-height: 1.45;
}

.landing-stats-timeline {
  display: grid;
}

.landing-stat-line {
  position: relative;
  display: grid;
  grid-template-columns: 50px 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 4rem;
}

.landing-stat-icon-wrap {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #F2F5E6;
}

.landing-stat-icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.landing-stat-marker {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 100%;
}

.landing-stat-marker::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: #B2C88E;
}

.landing-stat-line:first-child .landing-stat-marker::before {
  top: 50%;
}

.landing-stat-line:last-child .landing-stat-marker::before {
  bottom: 50%;
}

.landing-stat-marker::after,
.landing-event-marker::after,
.landing-story-marker::after {
  content: "";
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #63754F;
}

.landing-stat-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0.55rem 0;
}

.landing-stat-line:not(:last-child) .landing-stat-content {
  border-bottom: 1px dashed #B2C88E;
}

.landing-stat-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(99, 117, 79, 0.24);
  border-radius: 999px;
  background: var(--landing-pill-surface);
  color: var(--landing-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-stat-label {
  min-width: 0;
  color: var(--landing-text);
  font-size: 1rem;
  line-height: 1.25;
}

.landing-stat-label-icon {
  color: #63754F;
  display: inline-block;
  font-size: calc(1em + 2px);
  font-weight: 700;
  margin: 0 0.15rem;
  line-height: 1;
  vertical-align: -0.08em;
  -webkit-text-stroke: 0.35px currentColor;
}

.landing-event-log {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--landing-text);
  font-size: 1rem;
  line-height: 1.35;
}

.landing-event-item {
  position: relative;
  list-style: none;
  min-height: 5.25rem;
}

.landing-event-trigger {
  display: grid;
  grid-template-columns: 4.5rem 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.landing-event-trigger[type="button"] {
  cursor: zoom-in;
}

.landing-event-thumbnail-frame,
.landing-event-thumbnail {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.9rem;
}

.landing-event-thumbnail-frame {
  margin: 0.35rem 0;
  overflow: hidden;
  background: rgba(23, 55, 38, 0.1);
  border: 1px solid rgba(23, 55, 38, 0.08);
}

.landing-event-thumbnail {
  object-fit: cover;
  background: rgba(23, 55, 38, 0.1);
}

img.landing-event-thumbnail {
  transform: scale(1.4);
}

.landing-event-marker {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 100%;
}

.landing-event-marker::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: #B2C88E;
}

.landing-event-item:first-child .landing-event-marker::before {
  top: 50%;
}

.landing-event-item:last-child .landing-event-marker::before {
  bottom: 50%;
}

.landing-event-marker.is-departure::after {
  background: var(--landing-surface);
  box-shadow: inset 0 0 0 2px #63754F;
}

.landing-event-item:first-child .landing-event-marker,
.landing-event-item:last-child .landing-event-marker {
  background-image: repeating-linear-gradient(
    to bottom,
    #B2C88E 0,
    #B2C88E 4px,
    transparent 4px,
    transparent 8px
  );
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 1px 50%;
}

.landing-event-item:last-child .landing-event-marker {
  background-position: center bottom;
}

.landing-event-thumbnail.is-placeholder {
  background:
    linear-gradient(135deg, rgba(37, 81, 56, 0.12), rgba(73, 112, 149, 0.14));
}

.landing-event-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  height: 100%;
  align-content: center;
  padding: 0.55rem 0;
}

.landing-event-item:not(:last-child) .landing-event-body {
  border-bottom: 1px dashed #B2C88E;
}

.landing-event-title {
  color: var(--landing-text);
  font-size: 0.95rem;
  line-height: 1.35;
}

.landing-event-description {
  color: var(--landing-text-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.landing-event-duration-badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(99, 117, 79, 0.24);
  border-radius: 999px;
  background: var(--landing-pill-surface);
  color: var(--landing-text);
  font-size: 0.82rem;
  line-height: 1.3;
}

.landing-event-duration-icon {
  color: var(--landing-text-soft);
  font-size: 0.9em;
}

.landing-event-duration-badge span {
  color: var(--landing-text-soft);
}

.landing-insights-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .landing-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.landing-capture-gallery {
  padding: 1.25rem;
}

.landing-gallery-header h2 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--landing-text-soft);
}

.landing-capture-message {
  margin: 0;
  color: var(--landing-text-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.landing-capture-controls {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
}

.landing-capture-explanation-toggle {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--landing-link);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  cursor: pointer;
}

.landing-capture-explanation {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 55, 38, 0.12);
  border-radius: 0.8rem;
  background: var(--landing-card-surface);
}

.landing-capture-explanation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.landing-capture-explanation-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  margin: 0;
  color: var(--landing-text);
  line-height: 1.4;
}

.landing-capture-explanation-item:not(:last-child) {
  border-bottom: 1px dashed #B2C88E;
}

.landing-capture-explanation-icon {
  font-size: 1.45rem;
  line-height: 1;
}

.landing-capture-explanation-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.65rem 0;
}

.landing-capture-explanation-label {
  font-weight: 700;
  line-height: 1.25;
}

.landing-capture-explanation-detail {
  color: var(--landing-text-soft);
  line-height: 1.35;
}

.landing-capture-button-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.landing-capture-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  flex: 0 1 calc((100% - 1.5rem) / 3);
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(23, 55, 38, 0.14);
  border-radius: 999px;
  background: var(--landing-button-surface);
  color: var(--landing-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.88rem;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.landing-capture-button-emoji {
  font-size: 1.5em;
  line-height: 1;
  flex: 0 0 auto;
}

.landing-capture-button-text {
  min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
  .landing-capture-button:hover:not(:disabled) {
    border-color: rgba(23, 55, 38, 0.18);
    background: var(--landing-accent);
    color: var(--landing-accent-contrast);
    box-shadow: 0 8px 18px rgba(23, 55, 38, 0.16);
  }
}

.landing-capture-button:disabled {
  cursor: default;
  opacity: 0.55;
}

@media (max-width: 520px) {
  .landing-capture-button {
    flex-basis: calc((100% - 0.75rem) / 2);
  }
}

.landing-capture-gallery {
  margin-top: 1rem;
}

.landing-fact-section,
.landing-about-section {
  margin-top: 1rem;
  padding: 1.25rem;
}

.landing-fact-section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1rem;
}

.landing-fact-copy {
  display: grid;
  gap: 0.75rem;
}

.landing-fact-copy,
.landing-fact-story,
.landing-about-copy {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--landing-surface-border);
  border-radius: 0.9rem;
  background: var(--landing-card-surface);
}

.landing-fact-copy h2,
.landing-fact-story h2 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--landing-text-soft);
}

.landing-fact-text {
  margin: 0;
  color: var(--landing-text);
  font-size: 1.02rem;
  line-height: 1.6;
}

.landing-story-timeline {
  display: grid;
  color: var(--landing-text);
  font-size: 1rem;
  line-height: 1.4;
}

.landing-story-milestone {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(5.8rem, max-content) 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 5.35rem;
}

.landing-story-icon {
  font-size: 1.55rem;
  line-height: 1;
}

.landing-story-date {
  color: var(--landing-text-soft);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.landing-story-marker {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 100%;
}

.landing-story-marker::before {
  content: "";
  position: absolute;
}

.landing-story-marker::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: #B2C88E;
}

.landing-story-milestone:first-child .landing-story-marker::before {
  top: 50%;
}

.landing-story-milestone.is-before-upcoming .landing-story-marker::before {
  bottom: 50%;
}

.landing-story-milestone.is-before-upcoming .landing-story-marker {
  background-image: repeating-linear-gradient(
    to bottom,
    #B2C88E 0,
    #B2C88E 4px,
    transparent 4px,
    transparent 8px
  );
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 1px 50%;
}

.landing-story-milestone.is-upcoming .landing-story-marker::before {
  background: repeating-linear-gradient(
    to bottom,
    #B2C88E 0,
    #B2C88E 4px,
    transparent 4px,
    transparent 8px
  );
}

.landing-story-milestone:last-child .landing-story-marker::before {
  bottom: -1rem;
}

.landing-story-milestone.is-upcoming .landing-story-marker::after {
  background: var(--landing-surface);
  box-shadow: inset 0 0 0 2px #63754F;
}

.landing-story-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  height: 100%;
  align-content: center;
  padding: 0.6rem 0;
}

.landing-story-milestone:not(:last-child) .landing-story-copy {
  border-bottom: 1px dashed #B2C88E;
}

.landing-story-copy strong {
  color: var(--landing-text);
  font-size: 1rem;
  line-height: 1.25;
}

.landing-story-copy span {
  color: var(--landing-text-soft);
  font-size: 0.95rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .landing-story-milestone {
    grid-template-columns: 50px minmax(5.2rem, max-content) 1.6rem minmax(0, 1fr);
    gap: 0.55rem;
  }

  .landing-story-date,
  .landing-story-copy span {
    font-size: 0.88rem;
  }

  .landing-story-copy strong {
    font-size: 0.94rem;
  }
}

.landing-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.landing-about-copy {
  white-space: pre-line;
}

.landing-about-copy h2 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--landing-text-soft);
}

.landing-about-copy p {
  margin: 0;
  color: var(--landing-text);
  font-size: 1rem;
  line-height: 1.6;
}

.landing-about-image-frame {
  width: 100%;
}

.landing-about-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.1rem;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.landing-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-gallery-copy {
  display: grid;
  gap: 0.3rem;
}

.landing-gallery-copy h2 {
  margin: 0;
}

.landing-gallery-intro {
  margin: 0;
  color: var(--landing-text-soft);
  line-height: 1.5;
}

.landing-gallery-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.landing-gallery-nav-button {
  border: 1px solid rgba(23, 55, 38, 0.14);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  background: var(--landing-button-surface);
  color: var(--landing-text);
  font: inherit;
  font-weight: 700;
}

.landing-capture-gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.landing-capture-day-card {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgba(23, 55, 38, 0.1);
  border-radius: 1rem;
  background: var(--landing-card-surface);
  color: inherit;
  text-decoration: none;
}

.landing-capture-day-card.is-empty {
  place-items: center;
  min-height: 12rem;
  color: var(--landing-text-soft);
  text-align: center;
}

.landing-capture-day-image-frame {
  position: relative;
}

.landing-capture-day-card-image {
  display: block;
  width: 100%;
  min-height: 190px;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.landing-capture-day-like-button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(23, 55, 38, 0.88);
  color: #f8f6f0;
  font: inherit;
  font-weight: 800;
  pointer-events: none;
}

.landing-capture-day-label {
  margin: 0;
  color: var(--landing-text);
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 700;
}

.landing-capture-day-link {
  color: var(--landing-accent);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

.landing-capture-toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.landing-capture-toast {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--landing-surface-border);
  border-radius: 0.5rem;
  background: var(--landing-accent);
  color: var(--landing-accent-contrast);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  pointer-events: auto;
}

.landing-capture-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.landing-capture-toast-body {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.landing-capture-toast-close {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
}

.landing-capture-toast-close::before {
  content: "x";
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 0.8;
}

.cookie-banner {
  position: sticky;
  bottom: 1rem;
  z-index: 10;
  display: grid;
  gap: 0.85rem;
  width: min(1100px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(23, 55, 38, 0.18);
  border-radius: 1.2rem;
  background: rgba(18, 43, 31, 0.94);
  color: #f7f1e4;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.18);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-copy {
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-banner-button {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: var(--landing-accent);
  color: var(--landing-accent-contrast);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner-button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #f7f1e4;
}

@media (max-width: 800px) {
  .landing-topbar {
    grid-template-columns: 1fr;
  }

  .landing-topbar-actions {
    justify-content: flex-start;
  }

  .landing-live-grid,
  .landing-insights-grid,
  .landing-capture-gallery-track,
  .landing-about-grid,
  .landing-fact-section {
    grid-template-columns: 1fr;
  }

  .landing-status-column {
    grid-column: 1;
    grid-row: 1;
  }

  .landing-feed-column {
    grid-column: 1;
    grid-row: 2;
  }

  .landing-capture-controls {
    grid-column: 1;
    grid-row: 3;
  }

  .landing-gallery-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-gallery-nav {
    width: 100%;
  }

  .landing-gallery-nav-button {
    flex: 1 1 9rem;
  }

  .landing-stream-image,
  .landing-stream-video {
    min-height: 180px;
  }

  .landing-stream-frame {
    min-height: 180px;
  }

  .landing-stat-line {
    grid-template-columns: 50px 1.6rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .landing-stat-value {
    min-width: 4.4rem;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-button {
    flex: 1 1 12rem;
  }
}
