:root {
  --ink: #171717;
  --ink-soft: #575252;
  --night: #111111;
  --blue: #76171a;
  --sky: #f5e7e5;
  --cream: #fcfaf6;
  --sand: #e7ded8;
  --terracotta: #e20d17;
  --yellow: #f2c6c4;
  --white: #fffefd;
  --font-body: "Aptos", "Segoe UI", Arial, sans-serif;
  --font-title: Georgia, "Times New Roman", serif;
  --text-label: .8rem;
  --text-small: 1rem;
  --text-body: 1rem;
  --text-subtitle: 1.3rem;
  --text-card-title: 1.65rem;
  --text-section-title: clamp(2.7rem, 3.6vw, 3.6rem);
  --text-hero-title: clamp(3.8rem, 6.3vw, 5.8rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
}
a { color: inherit; text-decoration: none; }
svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo-clip { display: block; width: 172px; height: 64px; overflow: hidden; position: relative; flex: 0 0 auto; }
.brand-logo-clip img { position: absolute; width: 245px; max-width: none; left: -37px; top: -50px; mix-blend-mode: multiply; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: var(--text-small); font-weight: 650; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: var(--terracotta); }
.header-cta { border: 1px solid rgba(23,23,23,.24); padding: 11px 18px; border-radius: 999px; font-size: var(--text-small); font-weight: 750; }
.header-cta:hover { border-color: var(--terracotta); color: var(--terracotta); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  align-items: center;
  gap: 60px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 92px;
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 20px; color: var(--terracotta); font-size: var(--text-label); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); }
.eyebrow span { width: 22px; height: 2px; background: var(--terracotta); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--font-title); font-size: var(--text-hero-title); font-weight: 400; line-height: .91; letter-spacing: -.065em; margin-bottom: 30px; }
h1 em { color: var(--terracotta); font-weight: 400; }
.hero-lead { max-width: 650px; color: var(--ink-soft); font-size: var(--text-body); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; padding: 13px 21px; font-size: var(--text-small); font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--night); color: white; box-shadow: 0 10px 30px rgba(23,55,70,.16); }
.button-quiet { border: 1px solid var(--sand); }
.trial-note { margin: 19px 0 0; color: #6e7e80; font-size: var(--text-label); }
.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.emblem-stage { position: relative; width: min(100%, 510px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 42% 35%, #fff 0 24%, #f7ece9 56%, #ead9d5 100%); box-shadow: 0 28px 90px rgba(35,18,18,.18); }
.emblem-stage:before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(226,13,23,.14); border-radius: 50%; }
.emblem-image { position: relative; z-index: 2; width: 87%; height: 87%; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(0,0,0,.16)); }
.emblem-ring { position: absolute; width: 118%; height: 42%; border: 1px solid rgba(226,13,23,.28); border-radius: 50%; transform: rotate(-18deg); }
.hero-stamp { position: absolute; left: -18px; bottom: 24px; width: 130px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 14px 40px rgba(24,49,60,.13); }
.hero-stamp small { margin: 0; font-size: var(--text-label); font-weight: 850; line-height: 1.2; text-transform: uppercase; letter-spacing: .08em; }
.hero-orbits { position: absolute; right: -100px; top: 32px; width: 520px; height: 520px; opacity: .45; pointer-events: none; }
.hero-orbits i { position: absolute; inset: 0; border: 1px solid var(--sand); border-radius: 50%; transform: rotate(-18deg) scaleY(.44); }
.hero-orbits i:nth-child(2) { inset: 55px; border-color: #e8b4b4; }
.hero-orbits i:nth-child(3) { inset: 110px; border-color: var(--terracotta); opacity: .45; }

.intro { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 112px 0 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--sand); }
.intro h2, .section-heading h2, .spirit h2, .contact h2 { font-family: var(--font-title); font-size: var(--text-section-title); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; margin: 0; }
.intro > p { color: var(--ink-soft); line-height: 1.8; font-size: var(--text-body); padding-top: 33px; }
.dance-grid { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 120px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dance-card { min-height: 260px; background: var(--white); padding: 34px; border: 1px solid rgba(24,49,60,.09); border-radius: 20px; position: relative; overflow: hidden; }
.dance-card-featured { background: var(--terracotta); color: white; }
.card-number { font-size: var(--text-label); font-weight: 850; letter-spacing: .16em; opacity: .65; }
.dance-card h3 { margin: 55px 0 13px; font-family: var(--font-title); font-size: var(--text-card-title); font-weight: 400; }
.dance-card p { max-width: 420px; margin: 0; line-height: 1.65; opacity: .78; }
.rhythm-line { position: absolute; right: -25px; top: 36px; display: flex; align-items: center; gap: 8px; transform: rotate(-9deg); }
.rhythm-line i { display: block; width: 12px; border-radius: 999px; background: rgba(255,255,255,.65); }
.rhythm-line i:nth-child(1) { height: 22px; }.rhythm-line i:nth-child(2) { height: 52px; }.rhythm-line i:nth-child(3) { height: 31px; }.rhythm-line i:nth-child(4) { height: 76px; }.rhythm-line i:nth-child(5) { height: 44px; }

.places { background: var(--night); color: white; padding: 110px max(20px, calc((100vw - 1100px) / 2)) 120px; }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading.light .section-kicker { color: var(--yellow); }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.schedule-card { min-width: 0; padding: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.055); display: flex; flex-direction: column; }
.miramas-card { background: var(--sky); color: var(--ink); }
.schedule-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid currentColor; border-color: rgba(72,99,107,.2); }
.schedule-head p { margin: 0 0 7px; font-size: var(--text-label); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; opacity: .7; }
.schedule-head h3 { margin: 0; font-family: var(--font-title); font-size: var(--text-card-title); font-weight: 400; }
.day-pill { white-space: nowrap; border: 1px solid currentColor; border-radius: 999px; padding: 8px 11px; font-size: var(--text-label); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.time-main { margin: 70px 0 22px; font-family: var(--font-title); font-size: clamp(2.5rem, 3.3vw, 3.2rem); letter-spacing: -.06em; white-space: nowrap; }
.time-main span { color: var(--terracotta); }
.course-list { min-height: 50px; line-height: 1.6; color: var(--ink-soft); }
.schedule-card > a { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(72,99,107,.2); display: flex; align-items: center; gap: 10px; font-size: var(--text-small); font-weight: 750; }
.schedule-card > a svg:last-child { margin-left: auto; }
.levels { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.levels > div { display: flex; flex-direction: column; gap: 5px; }
.levels strong { font-family: var(--font-title); font-size: var(--text-subtitle); font-weight: 400; }
.levels span { font-size: var(--text-label); color: #a9c1c7; text-transform: uppercase; letter-spacing: .1em; }
.levels ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: #d6e2e4; font-size: var(--text-small); }
.levels b { display: inline-block; min-width: 58px; color: var(--yellow); }
.septemes-card > a { border-color: rgba(255,255,255,.13); }

.spirit { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 130px 0; display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; align-items: center; }
.spirit-visual { min-height: 590px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 240px 240px 22px 22px; background: linear-gradient(160deg, #fff 0%, var(--sky) 100%); border: 1px solid rgba(226,13,23,.09); }
.spirit-visual > img { position: absolute; inset: 22px 10px 44px; width: calc(100% - 20px); height: calc(100% - 66px); object-fit: contain; object-position: center top; opacity: .92; }
.spirit-quote { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; background: rgba(17,17,17,.92); color: white; border-radius: 16px; text-align: center; padding: 24px 20px; box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.spirit-quote p { font-family: var(--font-title); font-size: var(--text-subtitle); line-height: 1.28; margin-bottom: 12px; }
.spirit-quote span { color: #f4b9b8; font-size: var(--text-label); text-transform: uppercase; letter-spacing: .15em; font-weight: 800; }
.spirit-copy > p:not(.section-kicker) { color: var(--ink-soft); line-height: 1.78; margin: 28px 0; }
.spirit-copy ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand); }
.spirit-copy li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--sand); font-weight: 700; }
.spirit-copy li span { color: var(--terracotta); font-size: var(--text-label); letter-spacing: .1em; padding-top: 3px; }

.contact { background: var(--terracotta); color: white; padding: 85px max(20px, calc((100vw - 1100px) / 2)); display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.contact .section-kicker { color: #ffe9e8; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.button-light { background: white; color: var(--terracotta); margin-bottom: 12px; }
.contact-actions > a:not(.button) { border-bottom: 1px solid rgba(255,255,255,.5); font-size: var(--text-body); font-weight: 700; }
footer { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 55px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; font-size: var(--text-small); line-height: 1.5; }
.footer-brand .brand-logo-clip { width: 185px; }
.footer-end { text-align: right; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 45px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { min-height: 500px; }
  .hero-orbits { display: none; }
  .intro, .spirit, .contact { grid-template-columns: 1fr; gap: 42px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .spirit-visual { width: min(100%, 520px); margin: 0 auto; }
}

@media (max-width: 620px) {
  .site-header { width: min(100% - 28px, 1180px); min-height: 72px; }
  .header-cta { padding: 9px 13px; font-size: var(--text-small); }
  .hero { width: min(100% - 28px, 1180px); padding: 38px 0 72px; min-height: auto; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .hero-lead { font-size: 1rem; }
  .button { width: 100%; }
  .hero-visual { min-height: 430px; }
  .emblem-stage { width: min(100%, 430px); }
  .hero-stamp { width: 105px; left: -6px; }
  .intro, .dance-grid, .spirit, footer { width: min(100% - 28px, 1100px); }
  .intro { grid-template-columns: 1fr; gap: 18px; padding-top: 82px; }
  .intro > p { padding-top: 0; }
  .dance-grid { grid-template-columns: 1fr; padding-bottom: 82px; }
  .dance-card { min-height: 235px; }
  .places { padding-top: 80px; padding-bottom: 82px; }
  .schedule-card { padding: 25px 20px; }
  .schedule-head { flex-direction: column; }
  .time-main { margin-top: 44px; font-size: clamp(2.1rem, 9.8vw, 2.8rem); }
  .levels { grid-template-columns: 1fr; gap: 12px; }
  .spirit { padding: 85px 0; }
  .spirit-visual { min-height: 520px; }
  .contact { padding-top: 70px; padding-bottom: 70px; }
  footer { grid-template-columns: 1fr; }
  .footer-end { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
