.app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.app-button:hover {
  transform: translateY(-1px);
}

.app-button--primary {
  background: linear-gradient(180deg, #66d86f, var(--brand-green));
  color: #fff;
  box-shadow: var(--shadow-panel);
}

.app-button--secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--brand-line);
  color: var(--brand-green-deep);
}

.app-button--text {
  padding-inline: 0.2rem;
  min-height: 0;
  background: transparent;
  color: var(--brand-green-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px) saturate(170%);
}

.site-header__nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 250, 245, 0.68)),
    rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 38px rgba(76, 137, 93, 0.08);
}

.site-header__nav-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 68px;
  padding-block: 8px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__brand-mark {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 12px;
}

.site-header__brand-name {
  color: var(--brand-green-deep);
  font-family: var(--font-brand);
  font-size: 1.5rem;
  line-height: 1;
}

.site-header__menu {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  color: var(--brand-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header__nav-link--current,
.site-header__nav-link[aria-current='page'] {
  border-color: rgba(84, 196, 94, 0.2);
  background: rgba(223, 245, 228, 0.9);
  color: var(--brand-green-deep);
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.section-heading__eyebrow {
  margin: 0;
  color: var(--brand-green-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
}

.section-heading__body {
  margin: 0;
  max-width: 64ch;
  color: var(--brand-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.story-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(220, 239, 225, 0.9);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(76, 137, 93, 0.12);
}

.story-card__surface {
  display: grid;
  height: 100%;
  color: inherit;
}

.story-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(223, 245, 228, 0.68), rgba(255, 255, 255, 0.88));
}

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

.story-card__content {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem;
}

.story-card__eyebrow {
  margin: 0;
  color: var(--brand-green-deep);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-card__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.55rem;
  line-height: 1.1;
}

.story-card__body {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.7;
}

.story-card__link {
  justify-self: start;
  margin-top: 0.35rem;
  border-color: var(--brand-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.story-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.page-hero {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
}

.page-hero__eyebrow {
  margin: 0;
  color: var(--brand-green-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.page-hero__body {
  margin: 0;
  max-width: 62ch;
  color: var(--brand-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-green-deep);
  font-weight: 800;
}

.audio-controls {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(220, 239, 225, 0.9);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.88);
}

.audio-controls__button {
  justify-self: start;
}

.audio-controls__status {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 2.5rem;
}

.site-footer__inner {
  display: flex;
  justify-content: center;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--brand-line);
}

.site-footer__note {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 959px) {
  .site-header__nav-inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: start;
  }

  .site-header__brand {
    min-width: 0;
  }

  .site-header__menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-header__nav-link {
    flex: 1 1 auto;
  }
}
