:root {
  --navy: #030735;
  --navy-soft: #07145f;
  --blue: #0878ff;
  --teal: #08d4f8;
  --teal-soft: #e7fbff;
  --sky: #f2f8fb;
  --white: #ffffff;
  --ink: #17243a;
  --muted: #5c6d82;
  --border: #d7e6f1;
  --shadow: 0 18px 45px rgba(3, 7, 53, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand-text {
  font-size: 0.98rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 1.8vw, 1.55rem);
  row-gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.45rem 0;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--teal);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero,
.page-hero,
.section,
.cta-section,
.site-footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.86fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-content,
.page-hero,
.section-heading,
.stacked-content,
.contact-card,
.contact-form {
  display: grid;
  gap: 1.1rem;
}

.hero-subheading,
.page-hero p,
.section-heading p,
.feature-band p,
.service-item p,
.card p,
.stacked-content p {
  color: var(--muted);
  font-size: 1.03rem;
}

.eyebrow {
  color: var(--teal);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-media {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), var(--sky));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-showcase {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--white), var(--teal-soft));
}

.hero-logo {
  width: 100%;
  min-height: 360px;
  border-radius: 6px;
  object-fit: cover;
}

.showcase-note {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
}

.showcase-note span {
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--navy-soft);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.section,
.page-hero {
  padding: clamp(2.5rem, 5.5vw, 4.75rem) 0;
}

.page-hero {
  position: relative;
  isolation: isolate;
  max-width: 870px;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  width: 100vw;
  margin-left: -50vw;
  background: linear-gradient(135deg, rgba(231, 251, 255, 0.78), rgba(255, 255, 255, 0.98) 48%, rgba(242, 248, 251, 0.9));
  z-index: -1;
}

.section-subtle {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, var(--white), #f8fcfe);
  padding-left: max(1rem, calc((100vw - var(--max-width)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max-width)) / 2));
}

.section-muted {
  width: 100%;
  max-width: none;
  background: var(--sky);
  padding-left: max(1rem, calc((100vw - var(--max-width)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max-width)) / 2));
}

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

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

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

.card,
.service-item,
.contact-card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 37, 64, 0.07);
}

.card {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem;
}

.card h2 {
  font-size: 1.2rem;
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding: clamp(2.75rem, 6vw, 5.25rem) 0 clamp(2.25rem, 5vw, 3.75rem);
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  width: 100vw;
  margin-left: -50vw;
  background: linear-gradient(135deg, rgba(231, 251, 255, 0.85), rgba(255, 255, 255, 0.96) 46%, rgba(242, 248, 251, 0.95));
  z-index: -1;
}

.home-page .card,
.professional-development-page .card,
.resource-card {
  position: relative;
  overflow: hidden;
  padding-top: 1.55rem;
}

.home-page .card::before,
.professional-development-page .card::before,
.resource-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.split-layout,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.pill-list span {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 1rem;
  border-left: 5px solid var(--teal);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), var(--sky));
}

.image-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.image-feature.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.image-feature.reverse .photo-card {
  order: 2;
}

.photo-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-caption {
  padding: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.image-feature .feature-band {
  grid-template-columns: 1fr;
}

.cta-section {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  max-width: 780px;
  color: var(--white);
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-item {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
}

.service-item h2 {
  font-size: 1.35rem;
}

.about-image {
  position: sticky;
  top: 110px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.stacked-content article {
  display: grid;
  gap: 0.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.stacked-content article:last-child {
  border-bottom: 0;
}

.resource-feature {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.resource-feature-copy,
.course-outline {
  display: grid;
  gap: 1rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.course-meta span {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.course-outline {
  padding-left: clamp(1rem, 3vw, 2rem);
  border-left: 1px solid var(--border);
}

.course-modules {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-modules li {
  padding-left: 0.9rem;
  border-left: 4px solid var(--teal);
  color: var(--muted);
}

.course-modules strong {
  color: var(--navy);
}

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

.resource-status {
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resource-status.live {
  color: var(--navy);
  border-color: rgba(0, 181, 216, 0.35);
  background: rgba(0, 181, 216, 0.1);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--navy);
  text-decoration: underline;
}

.resource-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--sky);
}

.contact-layout {
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-card,
.contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-card {
  align-content: start;
}

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

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus,
.button:focus,
.nav-toggle:focus {
  outline: 3px solid rgba(24, 166, 166, 0.28);
  outline-offset: 2px;
}

.form-status {
  color: var(--muted);
}

.form-note {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.footer-brand img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .four-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .split-layout,
  .about-layout,
  .contact-layout,
  .feature-band,
  .image-feature,
  .image-feature.reverse,
  .resource-feature,
  .service-item {
    grid-template-columns: 1fr;
  }

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

  .course-outline {
    padding-left: 0;
    padding-top: 1.25rem;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .image-feature.reverse .photo-card {
    order: 0;
  }

  .hero {
    min-height: auto;
  }

  .about-image {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    grid-template-columns: 1fr auto;
  }

  .brand-text {
    max-width: 190px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--white);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.75rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .card-grid,
  .four-column,
  .resource-hub-grid,
  .pill-list {
    grid-template-columns: 1fr;
  }

  .resource-actions {
    display: grid;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}
