:root {
  --ink: #172126;
  --muted: #5d6b72;
  --paper: #ffffff;
  --soft: #f4faf9;
  --teal: #008f9c;
  --teal-dark: #006b75;
  --red: #df3734;
  --yellow: #ffd54a;
  --line: #dfe8e7;
  --shadow: 0 18px 50px rgba(23, 33, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(23, 33, 38, 0.09);
  backdrop-filter: blur(12px);
}

.site-header.page-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(23, 33, 38, 0.09);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.03rem;
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.8;
}

.hero-logo {
  width: clamp(112px, 16vw, 164px);
  height: clamp(112px, 16vw, 164px);
  margin: 0 0 24px;
  object-fit: contain;
}

.nav-links {
  order: 2;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.9;
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--yellow);
}

.nav-links a.is-active {
  color: var(--yellow);
  opacity: 1;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-open .nav-links a:hover,
.site-header.page-header .nav-links a:hover,
.site-header.page-header .nav-links a.is-active {
  color: var(--teal);
}

.header-social {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.social-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.92;
  transition: color 160ms ease, background 160ms ease, border 160ms ease, transform 160ms ease;
}

.social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
  transition: filter 160ms ease, opacity 160ms ease;
}

.social-link:hover {
  color: var(--yellow);
  border-color: currentColor;
  opacity: 1;
  transform: translateY(-1px);
}

.site-header.is-scrolled .social-link,
.site-header.is-open .social-link,
.site-header.page-header .social-link {
  border-color: rgba(23, 33, 38, 0.16);
  background: var(--soft);
}

.site-header.is-scrolled .social-link img,
.site-header.is-open .social-link img,
.site-header.page-header .social-link img {
  filter: none;
}

.site-header.is-scrolled .social-link:hover,
.site-header.is-open .social-link:hover,
.site-header.page-header .social-link:hover {
  color: var(--teal);
}

.menu-toggle {
  order: 4;
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 25, 29, 0.88), rgba(10, 25, 29, 0.58) 48%, rgba(10, 25, 29, 0.22)),
    linear-gradient(0deg, rgba(10, 25, 29, 0.24), rgba(10, 25, 29, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 100vh;
  width: min(720px, 100%);
  padding: 130px clamp(18px, 5vw, 72px) 56px;
}

.hero-service-card {
  position: absolute;
  z-index: 2;
  top: clamp(190px, 22vh, 238px);
  right: clamp(54px, 7vw, 124px);
  display: grid;
  justify-items: center;
  gap: 12px;
  width: clamp(172px, 14vw, 216px);
  color: #fff;
  text-align: center;
  text-decoration: none;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
  transition: transform 180ms ease, filter 180ms ease;
}

.hero-service-card:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.34));
}

.hero-service-card img {
  width: clamp(118px, 12.5vw, 166px);
  height: clamp(118px, 12.5vw, 166px);
  object-fit: contain;
}

.hero-service-card span,
.hero-service-card strong {
  display: block;
}

.hero-service-card span {
  padding: 0;
  background: transparent;
}

.hero-service-card strong {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.page-main {
  padding-top: 84px;
}

.page-hero {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(0, 143, 156, 0.12), rgba(255, 213, 74, 0.18)),
    var(--soft);
}

.page-logo {
  width: clamp(120px, 15vw, 190px);
  height: clamp(120px, 15vw, 190px);
  margin: 0 0 24px;
  object-fit: contain;
}

.page-hero h1 {
  max-width: 1000px;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

.page-hero h1.nowrap-title {
  max-width: none;
  font-size: clamp(2.15rem, 5.1vw, 5rem);
  white-space: nowrap;
}

.service-title {
  display: grid;
  gap: 8px;
  max-width: none;
  font-size: clamp(2.8rem, 4.7vw, 5.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.service-title span {
  white-space: nowrap;
}

.service-title small {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(1.25rem, 2.3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.16;
  white-space: nowrap;
}

.page-motto {
  margin: -4px 0 0;
  color: var(--teal-dark);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
}

.section-lead {
  max-width: 980px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.cover-copy {
  max-width: 1120px;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.25vw, 1.06rem);
  line-height: 1.66;
}

.cover-copy + .cover-copy {
  margin-top: -4px;
}

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

.hero .eyebrow {
  color: var(--yellow);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.6rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-title {
  display: block;
  max-width: 100%;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  white-space: nowrap;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

.hero-motto {
  display: block;
  max-width: 620px;
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.16;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.11);
}

.button.webmail {
  color: #fff;
  border-color: rgba(0, 143, 153, 0.72);
  background: rgba(0, 143, 153, 0.58);
}

.button.webmail:hover {
  background: rgba(0, 143, 153, 0.78);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-facts li:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.16);
}

.hero-facts a {
  display: block;
  min-height: 100%;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 1.2rem;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.intro {
  background: var(--paper);
  padding-bottom: clamp(28px, 4vw, 48px);
}

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

.license-heading {
  margin-bottom: 26px;
}

.license-heading h2 {
  max-width: none;
  font-size: clamp(1.05rem, 1.8vw, 1.48rem);
  line-height: 1.14;
  white-space: nowrap;
}

.license-heading .section-lead {
  max-width: 760px;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 54px);
  max-width: 1100px;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-story {
  background: #fff;
  padding-bottom: clamp(36px, 5vw, 58px);
}

.about-story-text {
  width: 100%;
  max-width: none;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.74;
}

.about-story-text p {
  margin-bottom: 16px;
}

.about-story-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  background: #fff;
  padding-top: clamp(34px, 5vw, 62px);
}

.about-visual-grid {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
}

.about-visual h2 {
  max-width: none;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.18;
  white-space: nowrap;
}

.about-photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-photo-row figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.about-photo-row figcaption {
  padding: 12px 14px 14px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 42px;
}

.intro .license-grid {
  margin-bottom: 0;
}

.license-section {
  background: var(--paper);
  padding-top: clamp(48px, 7vw, 86px);
  padding-bottom: clamp(48px, 7vw, 86px);
}

.license-section .license-grid {
  margin-bottom: 0;
}

.license-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 22px;
}

.license-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.license-card h3 {
  font-size: 1.08rem;
}

.license-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.department,
.program-card,
.service-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.department {
  padding: 24px;
}

.department-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 16px;
  object-fit: contain;
}

.card-link {
  display: block;
  transition: transform 160ms ease, border 160ms ease, box-shadow 160ms ease;
}

.card-link:hover {
  border-color: rgba(0, 143, 156, 0.42);
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.1);
  transform: translateY(-3px);
}

.pill {
  display: inline-grid;
  min-width: 42px;
  height: 30px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.pill.teal {
  background: var(--teal);
}

.pill.red {
  background: var(--red);
}

.pill.yellow {
  color: var(--ink);
  background: var(--yellow);
}

.department p,
.program-card p,
.visual-copy p,
.study-band p,
.service-list p,
.contact-copy p {
  color: var(--muted);
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  background: var(--soft);
}

.visual-section.reverse {
  grid-template-columns: minmax(320px, 1.15fr) minmax(0, 0.85fr);
  background: #fff;
}

.visual-section.reverse .visual-copy {
  order: 2;
}

.visual-section img,
.study-band img,
.services-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.visual-section img {
  aspect-ratio: 4 / 3;
}

.reasons-section {
  padding-top: clamp(36px, 5vw, 60px);
  background:
    linear-gradient(180deg, rgba(244, 250, 249, 0.98), rgba(255, 255, 255, 0.76)),
    #fff;
}

.reasons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: stretch;
}

.reasons-content {
  display: grid;
  align-content: start;
}

.reasons-section h2 {
  max-width: 860px;
  color: var(--teal-dark);
  font-size: clamp(1.65rem, 3vw, 3.05rem);
  line-height: 1.08;
}

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

.reason-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.06);
}

.reason-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.reason-card h3 {
  font-size: 1rem;
}

.reason-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.reason-card p:last-child {
  margin-bottom: 0;
}

.reason-card-wide {
  grid-column: 1 / -1;
}

.reasons-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button.outline {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: #fff;
}

.reasons-photo {
  margin: 0;
  min-height: 100%;
}

.reasons-photo img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-list span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.structure-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 250, 249, 0.98), #fff),
    #fff;
  padding: 24px;
}

.structure-card span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.structure-card h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.structure-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.structure-card li + li {
  margin-top: 7px;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(244, 250, 249, 0.9), rgba(244, 250, 249, 0.48)),
    #fff;
}

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

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: var(--soft);
}

.info-panel,
.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
}

.content-image {
  width: 100%;
  max-height: 420px;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
}

.program-detail-card {
  box-shadow: var(--shadow);
}

.related-programs {
  background: #fff;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: grid;
  gap: 8px;
  min-height: 0;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 20px;
  transition: transform 160ms ease, border 160ms ease, box-shadow 160ms ease;
}

.related-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 8px;
}

.related-card:hover {
  border-color: rgba(0, 143, 156, 0.42);
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.1);
  transform: translateY(-3px);
}

.related-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.related-card strong {
  font-size: 1.15rem;
  line-height: 1.2;
}

.related-card small {
  color: var(--muted);
  font-weight: 800;
}

.related-card.is-current {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.related-card.is-current span,
.related-card.is-current small {
  color: rgba(255, 255, 255, 0.82);
}

.photo-gallery-section {
  background: #fff;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.program-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.program-kicker {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.program-card li + li {
  margin-top: 8px;
}

.activities-intro {
  background: #fff;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.activity-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 33, 38, 0.08);
}

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

.activity-card div {
  padding: 20px;
}

.activity-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.program-detail {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.study-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  color: #fff;
  background: var(--ink);
}

.study-band p {
  color: rgba(255, 255, 255, 0.78);
}

.study-band .eyebrow {
  color: var(--yellow);
}

.services {
  background: var(--paper);
}

.services-lead {
  max-width: 980px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.services-grid img {
  height: 100%;
  min-height: 420px;
  max-height: 720px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  padding: 22px;
}

.service-list article p:last-child {
  margin-bottom: 0;
}

.clients-section {
  margin-top: clamp(44px, 6vw, 76px);
  padding: clamp(26px, 4vw, 46px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 143, 156, 0.96), rgba(11, 34, 43, 0.98) 56%, #071217),
    var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.clients-heading {
  display: grid;
  max-width: none;
  gap: 8px;
  margin-bottom: 24px;
}

.clients-heading .eyebrow {
  margin-bottom: 0;
  color: #bdf3f8;
}

.clients-heading h2 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
  white-space: nowrap;
}

.clients-heading p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
}

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

.client-logo {
  position: relative;
  display: grid;
  min-height: clamp(230px, 24vw, 340px);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #071217;
  padding: clamp(28px, 4vw, 54px);
  box-shadow: 0 18px 34px rgba(4, 17, 23, 0.2);
  overflow: hidden;
}

.client-logo::after {
  display: none;
}

.client-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(82%, 460px);
  max-height: 230px;
  object-fit: contain;
}

.client-logo:first-child {
  background: #071217;
}

.client-logo:nth-child(2) {
  background: #080b16;
}

.client-logo:nth-child(3) {
  background: #005f86;
}

.client-logo:nth-child(4) {
  background: #17466e;
}

.client-logo:nth-child(5) {
  background: #c81f5d;
}

.client-logo:nth-child(6) {
  background: #3a0505;
}

.client-logo:nth-child(7) {
  background: #07121e;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--soft);
}

.contact-title {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5.4vw, 5.3rem);
  line-height: 1;
  white-space: nowrap;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: var(--ink);
  font-weight: 600;
}

.contact-details a {
  color: var(--teal-dark);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 143, 156, 0.18);
  border-color: var(--teal);
}

.contact-form textarea {
  resize: vertical;
}

.form-extra {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.form-status.is-error {
  color: #b91c1c;
}

.form-status.is-success {
  color: var(--teal-dark);
}

.map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  background: #fff;
}

.map-copy h2 {
  max-width: none;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.map-copy p {
  color: var(--muted);
}

.map-button {
  margin-top: 10px;
  color: var(--teal-dark);
  border-color: var(--line);
  background: #fff;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #10191d;
}

.site-footer strong {
  display: block;
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer > p {
  text-align: right;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .program-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .site-footer > p {
    text-align: left;
  }
}

@media (max-width: 1060px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: var(--soft);
  }
}

@media (max-width: 820px) {

  .hero-content {
    min-height: 92vh;
    padding-top: 116px;
  }

  .hero-service-card {
    position: relative;
    top: auto;
    right: auto;
    width: max-content;
    max-width: calc(100% - 36px);
    margin: -52px 18px 34px auto;
  }

  .hero-facts,
  .intro-grid,
  .about-visual-grid,
  .department-grid,
  .license-grid,
  .reasons-layout,
  .reasons-grid,
  .visual-section,
  .visual-section.reverse,
  .study-band,
  .services-grid,
  .contact,
  .map-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .about-photo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .visual-section.reverse .visual-copy {
    order: 0;
  }

  .services-grid img {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-facts,
  .program-list {
    grid-template-columns: 1fr;
  }

  .program-list.program-overview {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .structure-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .reason-card-wide {
    grid-column: auto;
  }

  .reasons-photo img {
    min-height: 360px;
  }

  .program-card {
    min-height: 0;
  }

  .license-heading h2 {
    white-space: normal;
  }

  .contact-title {
    white-space: normal;
  }

  .service-title span,
  .service-title small,
  .clients-heading h2,
  .clients-heading p {
    white-space: normal;
  }

  .map-frame iframe {
    min-height: 340px;
  }

  .about-visual h2 {
    white-space: normal;
  }

  .page-hero h1.nowrap-title {
    white-space: normal;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .client-logo {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 210px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .about-photo-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-motto {
    font-size: clamp(1rem, 5vw, 1.35rem);
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
