:root {
  --ink-900: #051a3a;
  --ink-800: #0a2550;
  --ink-700: #113268;
  --ink-600: #1f457f;
  --sky-500: #2fb9e6;
  --sky-400: #58cbef;
  --mint-100: #eaf8fb;
  --sand-100: #f7f3ed;
  --surface-100: #ffffff;
  --surface-200: #f2f7ff;
  --surface-300: #e8f3ff;
  --line-200: #c8d8eb;
  --white: #ffffff;
  --text: #17263f;
  --muted: #4d617f;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 16px 40px rgba(8, 30, 67, 0.15);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 90% -10%, rgba(47, 185, 230, 0.2), transparent 38%),
              radial-gradient(circle at -10% 20%, rgba(10, 37, 80, 0.1), transparent 42%),
              #edf3fb;
  line-height: 1.55;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  color: var(--ink-900);
  line-height: 1.15;
  margin-top: 0;
}

p,
li,
label,
input,
textarea,
select,
a {
  font-size: 1.03rem;
}

a {
  color: var(--ink-700);
}

p,
li,
label {
  color: var(--text);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  background: var(--ink-900);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus {
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 37, 80, 0.16);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0;
}

.brand img {
  width: 176px;
  height: auto;
  display: block;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(10, 37, 80, 0.35);
  border-radius: 9px;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  color: var(--ink-900);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 600;
  padding: 0.35rem 0.25rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--ink-600);
}

.site-nav a.active {
  border-bottom-color: var(--sky-500);
}

.btn {
  display: inline-block;
  background: linear-gradient(130deg, var(--ink-800), var(--ink-700));
  color: var(--white);
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(10, 37, 80, 0.22);
}

a.btn,
a.btn:visited {
  color: var(--white);
}

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

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 2px solid rgba(10, 37, 80, 0.3);
  box-shadow: none;
}

a.btn-ghost,
a.btn-ghost:visited {
  color: var(--ink-900);
}

.site-nav a.btn,
.site-nav a.btn:visited {
  color: var(--white);
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.hero {
  padding: 4.4rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(145deg, #ffffff, #f3f9ff);
  border: 1px solid rgba(10, 37, 80, 0.14);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 18px 38px rgba(8, 30, 67, 0.1);
}

.hero-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero-copy p {
  font-size: 1.15rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.hero-card {
  background: linear-gradient(145deg, var(--white), #e8f7fc);
  border: 1px solid rgba(10, 37, 80, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 140px;
  height: auto;
}

.hero-card h2 {
  margin: 0.8rem 0 0.5rem;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  margin-bottom: 0;
}

.values-section,
.programs,
.subjects,
.cta-band,
.inner-section {
  padding: 3.3rem 0;
}

.values-section {
  background: var(--surface-100);
  border-top: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
}

.programs {
  background: var(--surface-200);
}

.value-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.downloads-section {
  padding: 1rem 0 3.4rem;
}

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

.download-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.2rem;
  text-decoration: none;
  background: linear-gradient(160deg, #ffffff, #f7fbff);
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 37, 80, 0.18);
  box-shadow: 0 12px 26px rgba(10, 37, 80, 0.11);
}

.download-card strong {
  font-family: "Sora", sans-serif;
  color: var(--ink-900);
}

.download-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.value-card,
.program-card,
.info-card {
  background: linear-gradient(160deg, #ffffff, #f7fbff);
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 37, 80, 0.18);
  padding: 1.2rem;
  box-shadow: 0 12px 26px rgba(10, 37, 80, 0.11);
}

.program-card a {
  font-weight: 700;
}

.subjects {
  background: linear-gradient(160deg, rgba(88, 203, 239, 0.27), rgba(232, 243, 255, 0.92));
  border-top: 1px solid rgba(10, 37, 80, 0.12);
  border-bottom: 1px solid rgba(10, 37, 80, 0.12);
}

.subject-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.subject-columns ul,
.footer-grid ul,
.contact-list,
.split-grid ul,
.split-grid ol {
  margin: 0;
  padding-left: 1.1rem;
}

.cta-band {
  padding-top: 2rem;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(130deg, var(--ink-900), var(--ink-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.cta-wrap h2,
.cta-wrap p {
  color: var(--white);
  margin: 0;
}

.cta-wrap p {
  margin-top: 0.45rem;
  opacity: 0.95;
}

.cta-wrap .btn {
  background: var(--sky-500);
  color: #03122b;
  box-shadow: none;
}

.inner-main {
  padding-bottom: 1.2rem;
}

.inner-hero {
  padding: 3.4rem 0 2rem;
}

.inner-hero .container {
  background: linear-gradient(145deg, #ffffff, #f3f8ff);
  border: 1px solid rgba(10, 37, 80, 0.14);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 12px 26px rgba(10, 37, 80, 0.1);
}

.inner-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  max-width: 22ch;
}

.inner-hero p {
  max-width: 58ch;
}

.alt-bg {
  background: rgba(88, 203, 239, 0.2);
  border-top: 1px solid rgba(10, 37, 80, 0.12);
  border-bottom: 1px solid rgba(10, 37, 80, 0.12);
}

.inner-section {
  background: rgba(255, 255, 255, 0.8);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: start;
}

.inquiry-form {
  display: grid;
  gap: 0.55rem;
  background: linear-gradient(170deg, #ffffff, #f5faff);
  border: 1px solid rgba(10, 37, 80, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  border: 1px solid rgba(10, 37, 80, 0.25);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  outline: 2px solid rgba(47, 185, 230, 0.48);
  outline-offset: 1px;
}

.form-note {
  color: var(--muted);
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  background: var(--ink-900);
  color: #d7e5ff;
  padding: 2.1rem 0 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer h3 {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid img {
  width: 84px;
  height: auto;
}

.footer-grid a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.copyright {
  width: min(100% - 2rem, var(--max-width));
  margin: 1.5rem auto 0;
  border-top: 1px solid rgba(215, 229, 255, 0.2);
  padding-top: 0.7rem;
  font-size: 0.93rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 950px) {
  .hero-grid,
  .split-grid,
  .subject-columns,
  .footer-grid,
  .value-grid,
  .program-grid,
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: #f4f9ff;
    border-bottom: 1px solid rgba(10, 37, 80, 0.2);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}