/* Minimal Tailwind-led visual layer */
:root {
  --ink: #18181b;
  --muted: #71717a;
  --paper: #fafafa;
  --surface: #ffffff;
  --line: #e4e4e7;
  --clay: #9f3f32;
  --clay-dark: #7f3027;
  --moss: #52525b;
  --teal: #3f3f46;
  --gold: #9f3f32;
  --shadow: 0 20px 60px rgba(24, 24, 27, 0.08);
  --radius: 6px;
}

body {
  background: #fafafa;
  color: #18181b;
}

.site-header {
  min-height: 76px;
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(228, 228, 231, 0.9);
  backdrop-filter: blur(22px) saturate(130%);
}

.brand {
  gap: 9px;
  font-size: 0.94rem;
}

.brand__logo,
.brand__home {
  display: inline-flex;
  align-items: center;
  color: #18181b;
  text-decoration: none;
}

.brand__home {
  white-space: nowrap;
}

.brand__mark {
  width: 62px;
  height: 50px;
}

.main-nav a {
  color: #71717a;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: #f4f4f5;
  color: #18181b;
}

.submenu {
  border-color: #e4e4e7;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(24, 24, 27, 0.12);
}

@media (min-width: 1251px) {
  .submenu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 10px;
  }
}

.hero {
  min-height: calc(94vh - var(--header-height));
  background-image:
    linear-gradient(90deg, rgba(9, 9, 11, 0.78), rgba(9, 9, 11, 0.28) 54%, rgba(9, 9, 11, 0.04)),
    var(--hero-image);
}

.hero__content {
  min-height: calc(94vh - var(--header-height) - clamp(8px, 1.4vw, 18px) - clamp(28px, 6vw, 72px));
}

.eyebrow,
.hero .eyebrow,
.section-hero .eyebrow {
  color: #c56a5d;
  letter-spacing: 0;
  text-shadow: none;
}

.hero .eyebrow,
.section-hero .eyebrow {
  color: #fff;
  opacity: 0.82;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3.4rem, 6.5vw, 6.8rem);
  line-height: 0.88;
  text-wrap: balance;
}

.hero__lead {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.hero__actions {
  gap: 10px;
  width: min(880px, calc(100% - 40px));
}

.button,
.hero__actions .button {
  min-height: 48px;
  border-radius: 5px;
  background: #18181b;
  border: 1px solid #18181b;
  color: #fff;
  font-size: 0.92rem;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.hero__actions .button {
  min-width: 210px;
  min-height: 56px;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  background: #9f3f32;
  border-color: #9f3f32;
  box-shadow: 0 14px 34px rgba(24, 24, 27, 0.18);
}

.hero__actions .button--liquid {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(145%);
}

.hero__actions .button--liquid:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.2));
  color: #fff;
}

.hero__actions .button--outline {
  border-color: #fff;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.hero__actions .button--outline:hover {
  background: #fff;
  border-color: #fff;
  color: #18181b;
}

.hero__actions .button--accent {
  border-color: #9f3f32;
  background: #9f3f32;
  color: #fff;
}

.hero__actions .button--accent:hover {
  border-color: #fff;
  background: #fff;
  color: #9f3f32;
}

.intro-band,
.page-intro {
  background: #f4f4f5;
  border-color: #e4e4e7;
}

.metric,
.activity-step,
.story-block,
.program__item {
  border-color: #e4e4e7;
  border-radius: 5px;
  box-shadow: none;
}

.metric {
  background: #fff;
}

.metric strong {
  color: #9f3f32;
}

.section-hero {
  min-height: clamp(390px, 58vh, 620px);
  background-image:
    linear-gradient(90deg, rgba(9, 9, 11, 0.78), rgba(9, 9, 11, 0.28) 68%, rgba(9, 9, 11, 0.06)),
    var(--section-hero-image);
}

.section-hero h1 {
  max-width: 980px;
  font-size: clamp(3.4rem, 7vw, 7rem);
  text-wrap: balance;
}

.section-nav {
  gap: 8px;
}

.section-nav a {
  border-color: #e4e4e7;
  border-radius: 5px;
  background: #fff;
  color: #71717a;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.section-nav a:hover {
  transform: translateY(-2px);
  border-color: #a1a1aa;
  color: #18181b;
}

.section-nav--featured a {
  min-height: 76px;
  border-left: 1px solid #e4e4e7;
  background: #fff;
}

.subsection {
  padding-top: 18px;
  border-top: 1px solid #e4e4e7;
}

.subsection:first-of-type {
  border-top: 0;
}

.subsection h2 {
  text-wrap: balance;
}

.pill {
  min-height: 27px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #52525b;
  font-size: 0.74rem;
}

.activity-step {
  min-height: 105px;
  border-left: 2px solid #d4d4d8;
  background: #fff;
}

.activity-story,
.program {
  border: 1px solid #e4e4e7;
  border-left: 2px solid #9f3f32;
  border-radius: 5px;
  background: #fff;
}

.story-block {
  border-top: 2px solid #9f3f32;
}

.process-note {
  border-color: #e4e4e7;
  border-left: 2px solid #71717a;
  border-radius: 5px;
}

.cards-grid {
  gap: 12px;
}

.link-card {
  min-height: 280px;
  border-radius: 6px;
  background-image: linear-gradient(180deg, rgba(9, 9, 11, 0.04), rgba(9, 9, 11, 0.82)), var(--card-image);
  box-shadow: none;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, filter 260ms ease;
}

.link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(24, 24, 27, 0.16);
  filter: saturate(0.82);
}

.link-card strong {
  font-size: 1.05rem;
}

.media-grid {
  gap: 14px;
}

.media-card {
  border-color: #e4e4e7;
  border-radius: 6px;
  box-shadow: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.media-card--photo,
.media-card--video {
  grid-column: span 4;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(24, 24, 27, 0.12);
}

.media-card__frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e4e4e7;
}

.media-card--video .media-card__frame {
  aspect-ratio: 4 / 3;
  background: #111;
}

.media-card--video video {
  object-fit: contain;
}

.media-card__expand {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(24, 24, 27, 0.76);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.lightbox__nav {
  position: fixed;
  z-index: 2;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #18181b;
  cursor: pointer;
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.lightbox__nav--previous {
  left: 18px;
}

.lightbox__nav--next {
  right: 18px;
}

.lightbox__nav:disabled {
  opacity: 0.2;
  cursor: default;
}

.lightbox.is-static .lightbox__nav {
  display: none;
}

.lightbox__close {
  z-index: 3;
}

.media-card--audio {
  background: #18181b;
}

.audio-card__visual {
  border-left: 2px solid #c56a5d;
  background: #27272a;
}

.audio-card__visual span {
  color: #d4d4d8;
}

.resource-links .button {
  background: #fff;
  border-color: #d4d4d8;
  color: #18181b;
}

.resource-links .button:hover {
  background: #18181b;
  border-color: #18181b;
  color: #fff;
}

.site-footer {
  background: #fff;
  border-color: #e4e4e7;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(.2,.8,.2,1),
    transform 700ms cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .button,
  .link-card,
  .media-card,
  .section-nav a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1250px) {
  .media-card--photo,
  .media-card--video {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .hero h1,
  .section-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .hero__actions {
    top: 55%;
  }

  .hero__actions .button {
    min-height: 50px;
  }

  .link-card {
    min-height: 230px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .media-card--photo,
  .media-card--video {
    grid-column: span 12;
  }
}
