:root {
  --cream: #fff8ee;
  --paper: #fffdf8;
  --ink: #2d211b;
  --muted: #715f55;
  --red: #c13a32;
  --red-dark: #7d1f1f;
  --gold: #e7b85a;
  --line: #eadfce;
  --shadow: 0 18px 45px rgba(58, 37, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.96)),
    url("assets/theatre-curtain-backdrop.jpg") center 720px / min(1500px, 100vw) auto no-repeat,
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(34, 20, 14, 0.72), rgba(34, 20, 14, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.92;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(44, 25, 18, 0.83) 0%, rgba(44, 25, 18, 0.57) 44%, rgba(44, 25, 18, 0.12) 100%),
    linear-gradient(0deg, rgba(44, 25, 18, 0.33), rgba(44, 25, 18, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 96px);
  padding-top: 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 5rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 248, 238, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--red-dark);
  background: #fff;
  font-size: 0.96rem;
  font-weight: 950;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
button {
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary,
button {
  color: #fff;
  background: var(--red);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.intro p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.intro-copy {
  display: grid;
  gap: 24px;
}

.intro-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.inline-photo,
.photo-card,
.feature-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #241814;
  box-shadow: var(--shadow);
}

.inline-photo,
.feature-photo {
  aspect-ratio: 16 / 9;
}

.inline-photo img,
.photo-card img,
.feature-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transform: scale(1.01);
}

.frame-top img {
  object-position: center 22%;
}

.frame-center img {
  object-position: center center;
}

.frame-left img {
  object-position: 34% center;
}

.frame-right img {
  object-position: 66% center;
}

.inline-photo figcaption,
.photo-card figcaption,
.feature-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(45, 33, 27, 0.76);
  font-size: 0.9rem;
  font-weight: 850;
}

.welcome-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  align-items: stretch;
  padding-top: 0;
}

.welcome-copy,
.welcome-notes {
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(58, 37, 25, 0.08);
}

.welcome-copy {
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.welcome-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.welcome-visual {
  display: grid;
  gap: 16px;
}

.welcome-visual .photo-card {
  min-height: 330px;
}

.welcome-notes {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(184, 50, 50, 0.94), rgba(136, 37, 37, 0.94)),
    #b83232;
}

.welcome-notes p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 850;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.feature-grid article,
.course-card,
.highlight-box,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(58, 37, 25, 0.08);
}

.feature-grid article {
  padding: 28px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 900;
}

.feature-grid .wide-card {
  grid-column: 1 / -1;
}

.feature-photo {
  min-height: 360px;
}

.feature-photo img {
  min-height: 360px;
}

.feature-grid p,
.course-card p,
.highlight-box p,
.contact p,
.form-note {
  color: var(--muted);
}

.feature-grid p {
  margin-bottom: 0;
}

.benefit-section {
  padding-top: 0;
}

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

.benefit-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(58, 37, 25, 0.08);
}

.benefit-grid h3 {
  color: var(--red-dark);
}

.benefit-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.quote-band {
  padding: 62px max(18px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: #3a211a;
}

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

.quote-inner figure {
  margin: 0;
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.quote-inner blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.18;
}

.rhythm-section {
  padding-bottom: 0;
}

.rhythm-list {
  display: grid;
  gap: 14px;
}

.rhythm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.rhythm-photo {
  align-self: start;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.rhythm-photo img {
  min-height: 0;
}

.rhythm-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(58, 37, 25, 0.08);
}

.rhythm-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 950;
}

.rhythm-list p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.courses {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.94), rgba(255, 253, 248, 0.9)),
    url("assets/theatre-curtain-backdrop.jpg") center / cover no-repeat;
}

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

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.story-layout p {
  color: var(--muted);
  font-size: 1.08rem;
}

.course-card {
  padding: 28px;
}

.age {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red-dark);
  background: #fae5df;
  font-weight: 900;
}

.course-card strong {
  display: block;
  margin-top: 24px;
  color: var(--red-dark);
}

.story-side {
  display: grid;
  gap: 18px;
}

.story-side .photo-card {
  aspect-ratio: 16 / 9;
  min-height: 310px;
}

.teacher-box {
  width: min(760px, 100%);
  margin: 28px auto 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(125, 31, 31, 0.98), rgba(193, 58, 50, 0.96)),
    #7d1f1f;
}

.teacher-box h3 {
  color: #fff;
}

.practical-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.info-list div {
  padding: 24px 22px 24px 0;
  border-bottom: 1px solid var(--line);
}

.info-list span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-weight: 900;
}

.info-list p {
  margin: 0;
  color: var(--muted);
}

.highlight-box {
  padding: 28px;
  background: #3a211a;
  color: #fff;
}

.highlight-box p {
  color: rgba(255, 255, 255, 0.78);
}

.video-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
  background: var(--cream);
}

.video-grid {
  display: grid;
  gap: 24px;
}

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.video-embed,
.video-copy {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: #241814;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  display: grid;
  align-content: center;
  padding: 32px;
  color: #fff;
  background: #3a211a;
}

.video-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 78px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.contact-card a:not(.button) {
  color: var(--red-dark);
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-name {
  margin: 0;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffaf3;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 64px);
  color: #fff;
  background: #2d211b;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand span:last-child {
    max-width: 170px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    margin-inline: 18px;
  }

  .intro,
  .welcome-panel,
  .feature-grid,
  .benefit-grid,
  .quote-inner,
  .course-grid,
  .story-layout,
  .rhythm-layout,
  .practical-layout,
  .video-card,
  .contact {
    grid-template-columns: 1fr;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .courses {
    padding: 62px 18px;
  }

  .quote-band {
    padding-block: 52px;
  }

  .video-embed {
    min-height: 320px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.22rem;
    line-height: 1.02;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(44, 25, 18, 0.88), rgba(44, 25, 18, 0.48));
  }

  .button,
  .contact-card .button {
    width: 100%;
    text-align: center;
  }

  .video-embed {
    min-height: 220px;
  }

  .inline-photo figcaption,
  .photo-card figcaption,
  .feature-photo figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 0.88rem;
  }

  .welcome-copy,
  .welcome-notes,
  .feature-grid article,
  .benefit-grid article,
  .quote-inner figure,
  .rhythm-list article {
    padding: 22px;
  }

  .rhythm-list article {
    grid-template-columns: 1fr;
  }

  .feature-photo,
  .feature-photo img,
  .welcome-visual .photo-card,
  .story-side .photo-card {
    min-height: 260px;
  }
}
