:root {
  color-scheme: light;
  --navy: #0f294a;
  --navy-deep: #0b1f39;
  --red: #b91c1c;
  --red-dark: #951919;
  --blue: #1d4ed8;
  --paper: #f7f9fc;
  --ink: #25344a;
  --muted: #536279;
  --border: #dce4ef;
  --display: 'Plus Jakarta Sans', sans-serif;
  --header-height: 4.875rem;
  font-family: Inter, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid #3979e6; outline-offset: 4px; }

.container { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.container-narrow { max-width: 53rem; }
.skip-link { position: fixed; z-index: 4; inset: .5rem auto auto .5rem; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: rgb(255 255 255 / 97%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner, .brand, .site-nav { display: flex; align-items: center; }
.header-inner { min-height: var(--header-height); justify-content: space-between; gap: 1rem; }
.brand { gap: .75rem; color: var(--navy); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: .58rem;
  background: var(--navy);
  color: white;
  font: 800 1.18rem/1 var(--display);
  letter-spacing: -.07em;
}
.brand strong, .brand small { display: block; }
.brand strong { font: 800 1.05rem/1.25 var(--display); letter-spacing: -.035em; }
.brand small { margin-top: .25rem; color: var(--muted); font-size: .685rem; line-height: 1.3; }
.site-nav { gap: clamp(1rem, 2.5vw, 2rem); font-size: .875rem; font-weight: 600; }
.nav-link { color: var(--muted); }
.nav-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: .3em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.125rem;
  padding: .7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.button-primary { background: var(--red); color: white; box-shadow: 0 4px 10px rgb(90 17 22 / 13%); }
.button-primary:hover { background: var(--red-dark); }
.button-small { min-height: 2.6rem; padding-inline: 1rem; white-space: nowrap; }
.button-outline { color: white; border-color: #6e829e; background: rgb(255 255 255 / 5%); }
.button-outline:hover { border-color: #d9e4f6; background: rgb(255 255 255 / 12%); }

.hero {
  color: white;
  background: radial-gradient(ellipse at 94% 20%, #1b3c64, transparent 58%), var(--navy);
}
.hero-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5.9vw, 5.5rem);
  padding-block: clamp(3.7rem, 7vw, 6.4rem);
}
.hero-tag, .eyebrow, .pill {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .45rem .8rem;
  border: 1px solid #526b8d;
  border-radius: 2rem;
  background: rgb(255 255 255 / 5%);
  color: #d5e3fb;
}
.hero-tag span { width: .4rem; height: .4rem; flex: none; border-radius: 50%; background: #f0787b; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 { max-width: 34rem; font-size: clamp(2.25rem, 4.3vw, 3.5rem); line-height: 1.12; letter-spacing: -.05em; }
.hero-intro { max-width: 31rem; margin-top: 1.25rem; color: #d3deee; font-size: clamp(1rem, 1.45vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.hero-art {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: clamp(1rem, 2.4vw, 1.9rem);
  border: 1px solid #506c91;
  border-radius: 1.25rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 25px, rgb(159 188 226 / 7%) 25px 26px),
    repeating-linear-gradient(0deg, transparent 0 25px, rgb(159 188 226 / 7%) 25px 26px),
    #183757;
  box-shadow: 0 20px 45px rgb(5 19 39 / 28%);
}
.art-label, .art-footer { display: flex; align-items: center; gap: .55rem; color: #dae6f6; font-size: clamp(.55rem, 1.25vw, .7rem); font-weight: 700; line-height: 1.2; }
.art-label-mark { border: 1px solid #7e94ae; border-radius: .22rem; padding: .27rem; font-family: var(--display); }
.art-index, .art-footer { letter-spacing: .13em; text-transform: uppercase; }
.art-index { margin-left: auto; }
.art-footer { justify-content: space-between; }
.art-orbit { position: absolute; z-index: -1; width: 65%; right: -8%; bottom: -24%; stroke: #527097; stroke-width: 1; }
.art-speech {
  position: relative;
  align-self: center;
  transform: rotate(-8deg) translateY(-4%);
  padding: .12em .29em .19em;
  border-radius: .2em .2em .2em .075em;
  background: #f7f2e9;
  color: var(--navy-deep);
  font: 800 clamp(3.25rem, 7.4vw, 6.15rem)/1.08 var(--display);
  letter-spacing: -.085em;
  box-shadow: .085em .105em 0 #96282e;
}
.art-speech::after {
  position: absolute;
  left: .16em;
  top: calc(100% - 1px);
  width: .27em;
  height: .28em;
  background: #f7f2e9;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: '';
}
.art-speech span { color: var(--red); }
.hero-figure figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: .75rem; margin-top: .85rem; color: #d3deee; font-size: .71rem; }

.section { padding-block: clamp(3.5rem, 6.7vw, 5.6rem); }
.section-white { background: white; }
.section-heading { max-width: 40rem; margin-bottom: 2rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.eyebrow { color: var(--red); }
.section-heading h2 { margin-top: .55rem; color: var(--navy); font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
.section-heading h2 + p { margin-top: .65rem; color: var(--muted); text-wrap: pretty; }
.features, .courses, .location { display: grid; gap: 1.15rem; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.courses { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card, .course-card {
  padding: clamp(1.2rem, 2.25vw, 1.7rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.feature-card { background: var(--paper); }
.course-card { display: flex; flex-direction: column; align-items: flex-start; background: white; box-shadow: 0 3px 6px rgb(15 41 74 / 4%); }
.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 2.65rem;
  min-height: 2.65rem;
  margin-bottom: .95rem;
  padding-inline: .5rem;
  border-radius: .5rem;
  background: #e4edfc;
  color: var(--navy);
  font: 800 .86rem/1 var(--display);
}
.feature-icon svg { width: 1.35rem; }
.feature-card h3, .course-card h3 { margin-bottom: .5rem; color: var(--navy); font-size: 1.08rem; text-wrap: pretty; }
.feature-card p, .course-card p { color: var(--muted); font-size: .875rem; }
.pill { display: inline-block; margin-bottom: .95rem; padding: .38rem .57rem; border-radius: .35rem; background: #eaf1ff; color: #174698; letter-spacing: .055em; }
.pill-red { background: #fdf0ef; color: #a12323; }
.pill-bright { margin-bottom: .2rem; border-radius: 2rem; background: #a82429; color: white; }
.text-link, .contact-list a { color: var(--blue); font-size: .875rem; font-weight: 700; }
.text-link:hover, .contact-list a:hover { text-decoration: underline; text-underline-offset: .24em; }
.course-card .text-link { margin-top: auto; padding-top: 1.1rem; }
.text-link-red { color: var(--red); }

.enrollment { background: var(--navy); color: white; }
.enrollment h2 { color: white; }
.enrollment h2 + p { color: #d3deee; }
.enrollment-form {
  padding: clamp(1.15rem, 4.5vw, 2.5rem);
  border-radius: 1.1rem;
  background: white;
  color: var(--ink);
  box-shadow: 0 16px 45px rgb(2 13 28 / 20%);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-block: 1rem; }
.field { display: grid; align-content: start; gap: .35rem; }
.field label { font-size: .875rem; font-weight: 700; }
.full-width { grid-column: 1 / -1; }
.form-note { color: var(--muted); font-size: .8rem; }
.form-grid > .form-note { margin-top: -.5rem; }
.field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: .57rem .74rem;
  border: 1px solid #c1cee0;
  border-radius: .52rem;
  background: white;
  color: var(--ink);
  font-size: 1rem;
}
.field :is(input, textarea)::placeholder { color: #617185; }
.field :is(input, select, textarea):focus-visible { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 1px; }
.field textarea { resize: vertical; }
.submit-button { width: 100%; margin-top: 1.05rem; }

.location { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.location .section-heading { margin-bottom: 1.35rem; }
.map { display: block; width: 100%; height: 20rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--paper); }
address { font-style: normal; }
.contact-list { font-size: .875rem; }
.contact-list div { display: grid; grid-template-columns: 5.3rem minmax(0, 1fr); gap: .55rem; padding-block: .56rem; border-bottom: 1px solid var(--border); }
.contact-list dt { color: var(--navy); font-weight: 700; }
.contact-list dd { overflow-wrap: anywhere; }
.directions { display: inline-block; margin-top: .95rem; }

.site-footer { background: var(--navy-deep); color: #bdcce2; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1.9rem 4.8rem; font-size: .8rem; }
.footer-inner strong { font-family: var(--display); color: white; }
.whatsapp {
  position: fixed;
  z-index: 2;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .66rem .9rem;
  border: 1px solid #276743;
  border-radius: 2rem;
  background: #18633d;
  color: white;
  box-shadow: 0 6px 18px rgb(14 37 26 / 22%);
  font-size: .8rem;
  font-weight: 700;
  transition: background-color 160ms ease;
}
.whatsapp:hover { background: #10472b; }
.whatsapp svg { width: 1.4rem; }

.confirmation-page { min-height: 100vh; display: grid; place-items: center; padding: 1.25rem; background: var(--navy); }
.confirmation { width: min(100%, 33rem); padding: clamp(1.5rem, 6vw, 3.5rem); border-radius: 1.1rem; background: white; }
.confirmation .eyebrow { margin-top: 1.25rem; }
.confirmation h1 { margin-top: .55rem; color: var(--navy); font-size: clamp(1.9rem, 5vw, 2.55rem); }
.confirmation h1 + p { margin-top: .8rem; color: var(--muted); }
.confirmation .button { margin-top: 1.4rem; }

@media (max-width: 61.99rem) {
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  :root { --header-height: 4.4rem; }
  .container { width: calc(100% - 2rem); }
  .site-nav .nav-link { display: none; }
  .hero-inner, .location { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { max-width: 34rem; }
  .art-speech { font-size: clamp(3.25rem, 14vw, 6.15rem); }
  .art-label, .art-footer { font-size: clamp(.59rem, 1.7vw, .7rem); }
  .features { gap: .75rem; }
  .feature-card { padding: 1rem; }
}

@media (max-width: 34.99rem) {
  .brand { gap: .5rem; }
  .brand-mark { width: 2.35rem; font-size: 1rem; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .6rem; }
  .header-inner { gap: .5rem; }
  .button-small { padding-inline: .62rem; font-size: .74rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .features, .courses, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .enrollment { padding-bottom: 4.3rem; }
  .whatsapp { padding: .7rem; }
  .whatsapp span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .whatsapp { transition: none; }
}
