:root {
  --ink: #10233f;
  --navy: #071a33;
  --teal: #006d77;
  --teal-soft: #d9f0ee;
  --aqua: #4fb8b3;
  --saffron: #f3a63b;
  --coral: #c6503d;
  --paper: #fbfcf8;
  --mist: #eef5f2;
  --white: #ffffff;
  --line: rgba(16, 35, 63, 0.14);
  --shadow: 0 18px 50px rgba(7, 26, 51, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy) 68%, var(--saffron));
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 1rem;
  color: var(--navy);
}

.brand small {
  margin-top: 0.1rem;
  color: rgba(16, 35, 63, 0.64);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-menu a {
  min-height: 42px;
  padding: 0.58rem 0.8rem;
  display: inline-flex;
  align-items: center;
  color: rgba(16, 35, 63, 0.78);
  border-radius: 6px;
  font-weight: 650;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  color: var(--navy);
  background: rgba(0, 109, 119, 0.1);
}

.nav-menu .nav-cta {
  margin-left: 0.5rem;
  color: var(--white);
  background: var(--teal);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: var(--white);
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  place-items: center;
  padding: 0.65rem;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--navy);
  border-radius: 2px;
}

.hero {
  min-height: 78svh;
  max-height: 760px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(7, 26, 51, 0.92), rgba(7, 26, 51, 0.62) 45%, rgba(7, 26, 51, 0.1) 72%), url("hero-learning-studio.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 5rem 1.5rem 5.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow,
.cta-band .eyebrow,
.process-band .eyebrow {
  color: var(--saffron);
}

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

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 4rem;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions,
.cta-band,
.footer-links,
.tab-list {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.tab-button:hover,
.tab-button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--coral);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #a83f30;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.fact-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.fact-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.fact-grid div {
  min-width: 0;
}

.fact-grid span,
.profile-list dt,
.mini-card span {
  display: block;
  color: rgba(16, 35, 63, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fact-grid strong,
.mini-card strong {
  display: block;
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
  color: var(--navy);
  line-height: 1.24;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.intro-grid,
.timeline-section,
.program-detail,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.section h2,
.page-hero h1 {
  margin-bottom: 1rem;
  font-size: 2.55rem;
}

.lead,
.page-hero p,
.content-panel p,
.contact-intro p {
  color: rgba(16, 35, 63, 0.72);
  font-size: 1.12rem;
}

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

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.info-panel,
.mini-card,
.contact-form,
.format-grid article,
.mandate-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(7, 26, 51, 0.06);
}

.card {
  min-height: 230px;
  padding: 1.25rem;
}

.card-label {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card h3,
.format-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p,
.format-grid p,
.steps p,
.timeline p,
.site-footer p {
  margin-bottom: 0;
  color: rgba(16, 35, 63, 0.68);
}

.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.content-panel {
  max-width: 560px;
}

.check-list {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: rgba(16, 35, 63, 0.78);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 3px;
  background: var(--saffron);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.text-link {
  display: inline-flex;
  color: var(--teal);
  font-weight: 850;
  border-bottom: 2px solid currentColor;
}

.process-band {
  max-width: none;
  padding: 5rem max(1.5rem, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--navy);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.2rem;
}

.process-band h2,
.process-band h3,
.cta-band h2 {
  color: var(--white);
}

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

.steps article {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.steps span {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--saffron);
  font-weight: 900;
}

.steps p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-band {
  max-width: var(--max);
  margin: 0 auto 5rem;
  padding: 2rem 1.5rem;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(120deg, var(--teal), var(--navy) 70%);
  border-radius: 8px;
}

.cta-band h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.page-hero {
  min-height: 390px;
  display: flex;
  align-items: end;
  padding: 7rem max(1.5rem, calc((100vw - var(--max)) / 2)) 4rem;
  background: linear-gradient(135deg, var(--mist), #ffffff 58%, #fff3dc);
  border-bottom: 1px solid var(--line);
}

.page-hero > div {
  max-width: 820px;
}

.page-hero h1 {
  color: var(--navy);
  font-size: 3.2rem;
}

.about-hero,
.contact-hero {
  background-image: linear-gradient(90deg, rgba(251, 252, 248, 0.96), rgba(251, 252, 248, 0.76), rgba(251, 252, 248, 0.42)), url("hero-learning-studio.png");
  background-size: cover;
  background-position: center;
}

.info-panel {
  padding: 1.6rem;
}

.profile-list {
  margin: 1.2rem 0 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.profile-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 750;
}

.value-section {
  padding-top: 1.5rem;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid var(--teal-soft);
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 0.1rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px var(--teal-soft);
}

.timeline time {
  display: block;
  color: var(--navy);
  font-weight: 850;
}

.tabs-section {
  padding-bottom: 3rem;
}

.admissions-note {
  padding-top: 0;
}

.tab-list {
  margin-bottom: 1.2rem;
  padding: 0.35rem;
  width: max-content;
  max-width: 100%;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab-button {
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  color: rgba(16, 35, 63, 0.7);
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--white);
  background: var(--teal);
}

.tab-panel {
  padding-top: 0.8rem;
}

.program-card {
  min-height: 240px;
}

.program-detail {
  padding-top: 2rem;
}

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

.format-grid article,
.mandate-grid article {
  padding: 1.2rem;
  min-height: 160px;
}

.mandate-section {
  padding-top: 2rem;
}

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

.compact-list {
  margin-bottom: 0;
}

.contact-layout {
  grid-template-columns: 0.86fr 1.14fr;
}

.contact-cards {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.mini-card {
  padding: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.3rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.full,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 63, 0.22);
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(79, 184, 179, 0.28);
  border-color: var(--teal);
}

.form-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.map-band {
  max-width: none;
  margin: 0;
  padding: 4rem max(1.5rem, calc((100vw - var(--max)) / 2));
  background: linear-gradient(135deg, var(--teal-soft), #ffffff 58%, #ffe9c1);
}

.map-band div {
  max-width: 840px;
}

.site-footer {
  padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.2fr 0.8fr auto;
  gap: 2rem;
  align-items: start;
  color: rgba(16, 35, 63, 0.72);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-links {
  justify-content: flex-start;
}

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

.fine-print {
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 3rem;
  }

  .section h2,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .fact-grid,
  .four-col,
  .three-col,
  .steps,
  .format-grid,
  .mandate-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .split-section,
  .split-section.reverse,
  .timeline-section,
  .program-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    height: 420px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 66px;
    padding: 0 1rem;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 252, 248, 0.98);
    box-shadow: 0 18px 30px rgba(7, 26, 51, 0.08);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    width: 100%;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    min-height: 72svh;
    background-position: 61% center;
  }

  .hero-content {
    padding: 4rem 1rem 4.5rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section,
  .page-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .page-hero {
    min-height: 340px;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .section h2,
  .page-hero h1 {
    font-size: 2rem;
  }

  .fact-grid,
  .three-col,
  .four-col,
  .steps,
  .format-grid,
  .mandate-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .image-panel img {
    height: 310px;
  }

  .cta-band {
    margin: 0 1rem 3.5rem;
    align-items: flex-start;
  }

  .cta-band h2 {
    font-size: 1.7rem;
  }

  .tab-list {
    width: 100%;
  }

  .tab-button {
    flex: 1 1 0;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
