:root {
  --navy: #0e2a3a;
  --navy-dark: #061721;
  --gold: #c9a961;
  --gold-light: #e3c989;
  --cream: #f7f3ec;
  --text: #1a2933;
  --muted: #6b7a85;
  --border: #e3dccf;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 720px; }

.container--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 720px) {
  .container--grid { grid-template-columns: 1fr; gap: 32px; }
  .container--grid-reverse > :first-child { order: 2; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,23,33,0.45) 0%, rgba(6,23,33,0.25) 40%, rgba(6,23,33,0.75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 32px 24px;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 13px;
  color: var(--gold-light);
  margin: 0 0 24px;
  font-weight: 500;
}

.hero__title {
  font-family: 'Georgia', serif;
  font-weight: 400;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 1.0;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  font-style: italic;
  color: var(--gold-light);
  font-size: clamp(32px, 5.2vw, 64px);
  margin-top: 12px;
  line-height: 1.1;
}

.hero__sub {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  margin: 0 0 16px;
  color: rgba(255,255,255,0.92);
}

.hero__meta {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 40px;
  color: rgba(255,255,255,0.85);
}

.hero__cta {
  display: inline-block;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Sound buttons */
.hero__sounds {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__sounds-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-right: 4px;
}

.hero__sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero__sound-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.hero__sound-btn svg { flex-shrink: 0; }

.hero__sound-btn.is-playing {
  background: rgba(201,169,97,0.25);
  border-color: var(--gold);
  color: var(--gold-light);
  animation: soundPulse 0.9s ease-in-out infinite;
}

@keyframes soundPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,97,0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(201,169,97,0); }
}

@media (max-width: 520px) {
  .hero__sounds-label { width: 100%; text-align: center; margin: 0 0 4px; }
}

/* Animations */
[data-anim] {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s ease forwards;
}
[data-anim="1"] { animation-delay: 0.4s; }
[data-anim="2"] { animation-delay: 0.7s; }
[data-anim="3"] { animation-delay: 1.0s; }
[data-anim="4"] { animation-delay: 1.5s; }
[data-anim="5"] { animation-delay: 1.9s; }
[data-anim="6"] { animation-delay: 2.3s; }
[data-anim="7"] { animation-delay: 2.7s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 80px 0;
}

.section--intro {
  background: #fff;
}

.section--program {
  background: var(--cream);
}

.section--story {
  background: #fff;
}

.section--form {
  background: var(--navy);
  color: #fff;
}

.section--form a { color: var(--gold-light); }

.section h2 {
  font-family: 'Georgia', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 24px;
  color: inherit;
  letter-spacing: -0.01em;
}

.section--form h2 { color: #fff; }

.lede {
  font-size: 20px;
  font-style: italic;
  color: var(--navy);
  margin: 0 0 20px;
}

p { margin: 0 0 16px; }

.muted { color: var(--muted); }
.section--form .muted { color: rgba(255,255,255,0.7); }

/* Program list */
.program__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--border);
}

.program__list li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.program__time {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  min-width: 80px;
  letter-spacing: 0.05em;
}

.program__what {
  font-size: 17px;
}

.program__image img,
.story__image img {
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(6,23,33,0.18);
}

/* ---------- FORM ---------- */
.form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 32px;
  margin-top: 32px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form__row .form__field { margin-bottom: 0; }

.form__field label,
.form__group legend {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  padding: 0;
}

.form__field input,
.form__field textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.form__group {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-size: 16px;
}

.radio:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

.radio input { accent-color: var(--gold); }

.radio:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201,169,97,0.12);
}

.form__submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.form__submit:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form__error {
  margin: 16px 0 0;
  padding: 12px 16px;
  background: rgba(220, 80, 80, 0.15);
  border: 1px solid rgba(220, 80, 80, 0.4);
  border-radius: 3px;
  color: #ffd6d6;
  font-size: 14px;
}

.form__success {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 40px 32px;
  margin-top: 32px;
  text-align: center;
}

.form__success h3 {
  font-family: 'Georgia', serif;
  font-weight: 400;
  color: var(--gold-light);
  font-size: 28px;
  margin: 0 0 16px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.05em;
}

.footer a { color: var(--gold-light); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
