:root {
  --paper: #f4ecdf;
  --ink: #211915;
  --muted: #72675c;
  --line: #d9cabb;
  --wine: #7f2f38;
  --gold: #9a6f49;
  --green: #263a31;
  --cream: #eadfce;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
}

.hero-media img,
.program-card img,
.story-image img,
.member-toggle img,
.gallery-grid img {
  object-position: center 24%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 0 clamp(20px, 4vw, 64px);
  background: rgba(251, 250, 246, .92);
  border-bottom: 1px solid rgba(222, 216, 202, .85);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  line-height: .95;
  text-decoration: none;
  font-size: 1.32rem;
  letter-spacing: 0;
}

.brand span {
  font-weight: 500;
}

.brand strong {
  font-size: 1.85rem;
  font-weight: 850;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: .94rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.nav-cta,
.button.primary {
  background: var(--wine);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--green);
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--green);
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 58, 49, .04), rgba(38, 58, 49, .76));
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(.98) contrast(.98);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 92px);
  background:
    radial-gradient(circle at 18% 18%, rgba(127, 47, 56, .16), transparent 34%),
    var(--green);
  text-align: left;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1,
.section-title h2,
.story h2,
.gallery h2,
.contact h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.5rem, 7.2vw, 7.6rem);
  font-weight: 430;
}

.hero-content > p:not(.kicker) {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  padding: clamp(74px, 9vw, 128px) clamp(20px, 5vw, 78px);
}

.section-title {
  width: min(940px, 100%);
  margin-bottom: 34px;
}

.section-title h2,
.story h2,
.gallery h2,
.contact h2 {
  font-size: clamp(2.2rem, 4.5vw, 5rem);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.program-card img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.program-card:nth-child(1) img,
.program-card:nth-child(2) img,
.member-card:nth-child(4) img,
.member-card:nth-child(5) img {
  object-position: center 16%;
}

.program-card:nth-child(3) img {
  object-position: center 20%;
}

.program-card > div {
  padding: 24px;
}

.program-card span {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 850;
}

.program-card h3 {
  margin: 6px 0 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.program-card p,
.story p,
.member-card p,
.contact-card a {
  margin: 0;
  color: var(--muted);
}

.audio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.audio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--wine);
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
}

.audio-button::before {
  content: "▶";
  margin-right: 7px;
  font-size: .72rem;
}

.audio-button.is-playing::before {
  content: "Ⅱ";
}

.audio-button.subtle {
  background: transparent;
  color: var(--wine);
}

.audio-button.is-playing {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: clamp(74px, 9vw, 128px) clamp(20px, 5vw, 78px);
  background: var(--cream);
}

.story-text {
  max-width: 650px;
}

.story p {
  max-width: 590px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.story-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(23, 20, 17, .18);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.member-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.member-toggle {
  width: 100%;
  display: grid;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.member-toggle img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.member-toggle span {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 118px;
  padding: 18px 44px 20px 18px;
}

.member-toggle span::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 600;
}

.member-card.is-open .member-toggle span::after {
  content: "–";
}

.member-toggle strong {
  font-size: 1.1rem;
  line-height: 1.12;
}

.member-toggle em {
  color: var(--muted);
  font-size: .9rem;
  font-style: normal;
  line-height: 1.35;
}

.member-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.member-card.is-open .member-detail {
  max-height: 680px;
}

.member-detail p {
  margin: 0;
  padding: 0 18px 14px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.58;
}

.member-detail p:first-child {
  padding-top: 2px;
}

.member-detail p:last-child {
  padding-bottom: 22px;
}

.gallery {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(74px, 9vw, 128px) clamp(20px, 5vw, 78px);
  background: var(--green);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-auto-rows: 230px;
  gap: 14px;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
}

.gallery-grid img:first-child,
.story-image img,
.hero-media img {
  object-position: center 32%;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3) {
  object-position: center 16%;
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: clamp(74px, 9vw, 120px) clamp(20px, 5vw, 78px);
}

.contact-card {
  display: grid;
  gap: 12px;
  min-width: min(420px, 100%);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-card a {
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 78px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-weight: 850;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 1040px) {
  .hero,
  .story,
  .gallery,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    width: 100%;
    overflow: hidden;
  }

  .hero-media {
    width: 100%;
  }

  .program-grid,
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero-media {
    min-height: 420px;
    width: 100%;
  }

  .hero-content {
    padding: 38px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .program-grid,
  .member-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .program-card img {
    aspect-ratio: 4 / 3;
  }

  .gallery-grid {
    grid-auto-rows: auto;
  }

  .gallery-grid img,
  .gallery-grid img:first-child {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}
