:root {
  color-scheme: light;
  --ink: #19252f;
  --muted: #66717d;
  --line: #dbe1e6;
  --paper: #fbf9f4;
  --panel: #ffffff;
  --mint: #d9efe8;
  --teal: #126b65;
  --teal-dark: #0f4f4b;
  --coral: #f47b60;
  --yellow: #ffd36b;
  --blue: #8fc5dd;
  --shadow: 0 20px 60px rgba(23, 37, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(217, 239, 232, 0.72), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  position: relative;
  display: block;
  min-height: auto;
  padding: 44px 48px;
  overflow: hidden;
  border: 1px solid rgba(25, 37, 47, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.brand-link {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
}

.brand-link:hover,
.brand-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.lead {
  max-width: 580px;
  margin-bottom: 26px;
  color: #3d4d5a;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-facts span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(18, 107, 101, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  font-weight: 700;
}

.panel {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(25, 37, 47, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(25, 37, 47, 0.08);
}

.section-heading {
  margin-bottom: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.studio-item,
.fee-item,
.deadline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.fee-list {
  display: grid;
  gap: 12px;
}

.fee-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.date-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 900;
  line-height: 1;
}

.date-badge span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.studio-item h3,
.fee-item h3,
.deadline-item h3 {
  margin-bottom: 3px;
  font-size: 1.04rem;
}

.studio-item p,
.fee-item p,
.deadline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.fee-item strong {
  color: var(--teal-dark);
  font-size: 1.05rem;
  text-align: right;
  white-space: nowrap;
}

.deadline-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.registration-note {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  padding: 14px 16px;
  border: 1px solid rgba(18, 107, 101, 0.18);
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 700;
}

.registration-note h3 {
  margin-bottom: 0;
  color: var(--teal-dark);
  font-size: 1rem;
}

.registration-note p {
  margin-bottom: 0;
}

.registration-note a {
  color: inherit;
  font-weight: 900;
}

.visit-note {
  color: rgba(15, 79, 75, 0.82);
  font-size: 0.94rem;
}

.website-return {
  color: rgba(15, 79, 75, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.deadline-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.deadline-date {
  color: var(--teal-dark);
  font-weight: 900;
  text-align: right;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 680px);
    padding-top: 12px;
  }

  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 32px 24px 24px;
  }

}

@media (max-width: 520px) {
  .panel {
    padding: 20px;
  }

  .hero {
    padding: 28px 20px 20px;
  }

  .quick-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .quick-facts span {
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.92rem;
  }

  .quick-facts span:last-child {
    grid-column: 1 / -1;
  }

  .fee-item,
  .deadline-item {
    grid-template-columns: 1fr;
  }

  .fee-item strong,
  .deadline-date {
    text-align: left;
  }
}

@media print {
  body {
    background: white;
  }

  .hero,
  .panel {
    box-shadow: none;
  }
}
