:root {
  --bg: #FFF7ED;
  --text: #1C1917;
  --accent: #B91C1C;
  --secondary: #111827;
  --line: rgba(28, 25, 23, 0.14);
  --muted: rgba(28, 25, 23, 0.75);
  --radius: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, white 14%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(185, 28, 28, 0.08);
  color: var(--accent);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.burger span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(6px); }
.burger {
  position: relative;
}

.burger.is-open span:nth-child(1) { transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.hero-large {
  min-height: 86svh;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
}

.hero-overlay {
  background: linear-gradient(to top, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.38) 42%, rgba(17, 24, 39, 0.15));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 7rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  opacity: 0.9;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  max-width: 11ch;
}

.lead {
  max-width: 62ch;
  font-size: 1.05rem;
  margin: 1rem 0 0;
  color: rgba(255,255,255,0.9);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: #991b1b;
}

.btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(255,255,255,0.04);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

.btn.large {
  padding: 0.9rem 1.25rem;
}

.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.intro-text h2,
.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.intro-text p {
  font-size: 1.05rem;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head.light {
  color: #fff;
}

.section-sub {
  margin: 0;
  color: rgba(255,255,255,0.75);
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.class-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.card-body p {
  margin: 0.2rem 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  background: rgba(255,255,255,0.26);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.schedule-day {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255,255,255,0.5);
}

.schedule-day h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.schedule-day ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.schedule-day li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.schedule-day li:first-child {
  border-top: 0;
  padding-top: 0;
}

.schedule-day li span {
  min-width: 3.25rem;
  font-weight: 600;
}

.editorial-grid {
  display: grid;
  gap: 1rem;
}

.profile-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.profile-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.profile-block.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.profile-block.reverse img {
  order: 2;
}

.profile-block img {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
}

.profile-block h3 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.band-dark {
  background: var(--secondary);
  color: #fff;
}

.post-stream {
  display: grid;
  gap: 1rem;
}

.post-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1rem;
}

.post-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.post-card img {
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.post-meta {
  margin: 0;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.post-content h3 {
  font-size: 2.2rem;
  margin: 0.35rem 0 0.5rem;
}

.post-content p:last-child {
  margin: 0;
  color: rgba(255,255,255,0.9);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

blockquote {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.45);
}

blockquote p {
  margin: 0 0 1rem;
}

blockquote footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-block {
  background: rgba(185, 28, 28, 0.04);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-inner h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.two-col-contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
}

.two-col-contact h2 {
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}

.contact-form,
.contact-form.compact {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.65);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(185, 28, 28, 0.2);
  border-color: rgba(185, 28, 28, 0.45);
}

.page-hero.simple {
  padding: 4rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero.simple p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.simple-list {
  display: grid;
  gap: 1rem;
}

.simple-list > div {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.simple-list > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.simple-list h2 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.simple-schedule p {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  margin: 0.9rem 0 0;
}

.simple-schedule p:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.legal-text h2 {
  font-size: 2rem;
  margin: 1.3rem 0 0.5rem;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-wrap div {
  display: flex;
  gap: 1rem;
}

@media (max-width: 960px) {
  .cards-grid,
  .schedule-grid,
  .quote-grid,
  .two-col-contact,
  .post-card,
  .profile-block,
  .profile-block.reverse {
    grid-template-columns: 1fr;
  }

  .profile-block.reverse img {
    order: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .burger {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  }

  .site-nav a {
    border-radius: 10px;
  }

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

  .hero-content {
    padding: 6rem 0 2.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.form-alert {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.form-alert.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.form-alert__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .55);
  backdrop-filter: blur(2px);
}

.form-alert__card {
  position: relative;
  width: min(92vw, 520px);
  background: #FFF7ED;
  color: #1C1917;
  border: 1px solid rgba(28, 25, 23, .14);
  box-shadow: 0 24px 80px rgba(17, 24, 39, .22);
  padding: 24px 20px 20px;
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}

.form-alert.is-visible .form-alert__card {
  transform: translateY(0) scale(1);
}

.form-alert__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.form-alert__eyebrow {
  margin: 0 0 8px;
  color: #B91C1C;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.form-alert__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.05;
}

.form-alert__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 38ch;
}

.form-alert__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #111827;
  background: #111827;
  color: #FFF7ED;
  cursor: pointer;
  font-weight: 600;
}

.form-alert__btn:hover {
  background: #B91C1C;
  border-color: #B91C1C;
}
