:root {
  --ink: #102f35;
  --ink-soft: #47656a;
  --paper: #ffffff;
  --paper-soft: #f2f9f8;
  --line: #d6e7e5;
  --teal: #0b9f99;
  --teal-dark: #08726f;
  --teal-pale: #dff5f2;
  --navy: #123e4a;
  --accent: #0b9f99;
  --accent-2: #3fc9bf;
  --accent-pale: #dff5f2;
  --shadow: 0 22px 70px rgba(16, 47, 53, 0.1);
  --radius: 26px;
  --container: 1240px;
  --header-h: 74px;
  --font: "Segoe UI", "Inter", Arial, sans-serif;
  --display: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(214, 231, 229, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 236px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal-dark);
  background:
    linear-gradient(90deg, transparent 47%, var(--teal) 48%, var(--teal) 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, var(--teal) 48%, var(--teal) 52%, transparent 53%),
    var(--paper);
  font-size: 0;
}

.brand-mark::after {
  content: "П";
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.nav-dropdown > button,
.search-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-dropdown > button:hover,
.nav-dropdown > button:focus-visible,
.search-trigger:hover,
.search-trigger:focus-visible {
  color: var(--teal-dark);
  background: var(--teal-pale);
  outline: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(470px, 80vw);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: 0.2s ease;
}

.nav-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-panel a {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px 12px;
  padding: 12px 13px;
  border-radius: 12px;
  text-decoration: none;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: var(--paper-soft);
  outline: none;
}

.dropdown-panel b {
  grid-row: 1 / 3;
  color: var(--teal-dark);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.dropdown-panel strong {
  font-size: 14px;
  line-height: 1.25;
}

.dropdown-panel span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.3;
}

.search-trigger {
  min-width: 42px;
  padding-inline: 10px;
  border: 1px solid var(--line);
}

.search-trigger .search-label {
  display: none;
}

.search-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
}

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--teal-dark);
}

.crumbs i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

.index-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 32%, rgba(11, 159, 153, 0.16), transparent 25%),
    linear-gradient(130deg, #fff 0%, #f4fbfa 55%, #e8f7f4 100%);
}

.index-hero::before,
.index-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(11, 159, 153, 0.23);
  border-radius: 50%;
  pointer-events: none;
}

.index-hero::before {
  width: 520px;
  height: 520px;
  right: -80px;
  top: 25px;
}

.index-hero::after {
  width: 340px;
  height: 340px;
  right: 10px;
  top: 115px;
}

.index-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 70px;
  align-items: center;
  padding-block: 76px 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--teal);
}

.index-hero h1,
.specialty-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(43px, 6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.index-hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.index-hero-copy > p {
  max-width: 720px;
  margin: 26px 0 32px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid var(--teal);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: var(--teal);
  font-size: 15px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(11, 159, 153, 0.2);
  outline: none;
}

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

.button.dark {
  border-color: var(--ink);
  background: var(--ink);
}

.button .arrow {
  font-size: 20px;
  line-height: 1;
}

.index-orbit {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit-core {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  border: 16px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 22px 50px rgba(11, 159, 153, 0.25);
  text-align: center;
}

.orbit-core strong {
  font-family: var(--display);
  font-size: 48px;
  line-height: 0.9;
}

.orbit-core span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.orbit-ring {
  position: absolute;
  width: 88%;
  height: 88%;
  border: 1px dashed rgba(11, 159, 153, 0.45);
  border-radius: 50%;
  animation: orbit 40s linear infinite;
}

.orbit-ring.two {
  width: 63%;
  height: 63%;
  animation-direction: reverse;
  animation-duration: 30s;
}

.orbit-dot {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: -37px 0 0 -37px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(16, 47, 53, 0.08);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  --orbit-radius: 205px;
  animation: orbit-dot 28s linear infinite;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.orbit-dot:hover,
.orbit-dot:focus-visible {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 16px 42px rgba(11, 159, 153, 0.3);
  outline: 3px solid rgba(11, 159, 153, 0.18);
  outline-offset: 4px;
}

.index-orbit:hover .orbit-dot,
.index-orbit:focus-within .orbit-dot {
  animation-play-state: paused;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes orbit-dot {
  from {
    transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(var(--neg-angle));
  }
  to {
    transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--orbit-radius)) rotate(calc(var(--neg-angle) - 360deg));
  }
}

.index-section {
  padding-block: 100px;
}

.index-section.alt {
  background: var(--paper-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}

.section-kicker {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2,
.content-section h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
}

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

.specialty-card {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.specialty-card:hover,
.specialty-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(11, 159, 153, 0.55);
  box-shadow: var(--shadow);
  outline: none;
}

.specialty-card-copy {
  position: relative;
  z-index: 2;
  padding: 30px 10px 26px 30px;
}

.specialty-card .card-code {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.specialty-card h3 {
  max-width: 410px;
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.specialty-card h3 small {
  display: block;
  margin-top: 8px;
  color: var(--teal-dark);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}

.specialty-card p {
  max-width: 410px;
  margin: 18px 0 25px;
  color: var(--ink-soft);
  font-size: 15px;
}

.card-link {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.card-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(11, 159, 153, 0.9), rgba(18, 62, 74, 0.96)),
    var(--teal);
}

.card-visual::before,
.card-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.card-visual::before {
  width: 180px;
  height: 180px;
  left: -55px;
  top: 20px;
}

.card-visual::after {
  width: 100px;
  height: 100px;
  left: 30px;
  bottom: -22px;
}

.card-symbol {
  position: absolute;
  right: 18px;
  top: 24px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--display);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.08em;
  writing-mode: vertical-rl;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principle {
  padding-top: 24px;
  border-top: 2px solid var(--teal);
}

.principle strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 22px;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.specialty-hero-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 83% 28%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 30%),
    linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--accent-pale) 62%, #fff) 100%);
}

.specialty-hero {
  position: relative;
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 64px;
  align-items: center;
  padding-block: 70px 88px;
}

.specialty-hero-copy {
  position: relative;
  z-index: 3;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, #fff);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.specialty-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 5.4vw, 74px);
}

.specialty-hero .program {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: clamp(21px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.16;
}

.specialty-hero .tagline {
  max-width: 720px;
  margin: 25px 0 32px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-bottom: 32px;
}

.hero-stat {
  padding-left: 13px;
  border-left: 2px solid var(--accent);
}

.hero-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
}

.hero-stat span {
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 48% 48% 24px 24px;
  background: var(--accent-pale);
  box-shadow: 0 28px 80px color-mix(in srgb, var(--accent) 22%, transparent);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--ink) 35%, transparent));
  pointer-events: none;
}

.hero-motif {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-motif span {
  position: absolute;
  display: block;
}

.specialty-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 62px;
  padding-block: 88px 120px;
}

.section-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.section-nav-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-nav a {
  position: relative;
  display: block;
  padding: 8px 10px 8px 17px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
  transition: 0.2s ease;
}

.section-nav a::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

.section-nav a:hover,
.section-nav a.is-active {
  color: var(--teal-dark);
  background: var(--accent-pale);
}

.section-nav a.is-active::before {
  background: var(--accent);
}

.content-stack {
  min-width: 0;
}

.content-section {
  padding: 10px 0 84px;
  border-bottom: 1px solid var(--line);
}

.content-section + .content-section {
  padding-top: 78px;
}

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

.content-section .section-intro {
  max-width: 780px;
  margin: 22px 0 38px;
  color: var(--ink-soft);
  font-size: 19px;
}

.lead-paragraph {
  position: relative;
  max-width: 940px;
  margin: 30px 0 38px;
  padding: 8px 0 8px 28px;
  border-left: 4px solid var(--accent);
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.two-column-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.two-column-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.expanded-copy {
  display: grid;
  gap: 16px;
  max-width: 930px;
  margin-top: 34px;
  padding: 30px;
  border-left: 4px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: color-mix(in srgb, var(--accent-pale) 48%, #fff);
}

.expanded-copy p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.qualification-note {
  margin: 20px 0 0;
  padding: 18px 22px;
  border-radius: 14px;
  color: var(--teal-dark);
  background: var(--accent-pale);
  font-weight: 700;
}

.facts-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.55fr 0.9fr;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.fact {
  padding: 22px 24px;
  background: #fff;
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.35;
}

.focus-list {
  counter-reset: focus;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin-top: 38px;
}

.focus-item {
  counter-increment: focus;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  border-top: 1px solid var(--line);
}

.focus-item::before {
  content: counter(focus, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
}

.focus-item strong {
  font-size: 17px;
  line-height: 1.35;
}

.curriculum-groups {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.curriculum-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.curriculum-group[open] {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  box-shadow: 0 14px 38px rgba(16, 47, 53, 0.06);
}

.curriculum-group summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 850;
  list-style: none;
}

.curriculum-group summary::-webkit-details-marker {
  display: none;
}

.curriculum-group summary b {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--accent-pale);
  font-family: var(--font);
  font-size: 13px;
}

.curriculum-list {
  columns: 2;
  column-gap: 42px;
  margin: 0;
  padding: 4px 26px 28px 46px;
}

.curriculum-list li {
  break-inside: avoid;
  margin-bottom: 9px;
  padding-left: 4px;
  color: var(--ink-soft);
  font-size: 16px;
}

.curriculum-list li::marker {
  color: var(--accent);
}

.inline-resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 18px;
  color: var(--ink);
  background: var(--accent-pale);
  text-decoration: none;
}

.inline-resource span {
  display: grid;
  gap: 3px;
}

.inline-resource b {
  font-family: var(--display);
  font-size: 19px;
}

.inline-resource small {
  color: var(--ink-soft);
  font-size: 14px;
}

.inline-resource i {
  color: var(--teal-dark);
  font-style: normal;
  font-size: 28px;
}

.career-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.career-cloud span {
  padding: 11px 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent-pale) 45%, #fff);
  font-size: 14px;
  font-weight: 650;
}

.professional-areas {
  margin-top: 36px;
}

.professional-areas h3,
.employer-block h3,
.continuation-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.2;
}

.employer-block {
  margin-top: 48px;
}

.employer-block > p {
  max-width: 780px;
  color: var(--ink-soft);
}

.employer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.employer-logo {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.employer-logo img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.continuation-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: 40px;
  margin-top: 48px;
  padding: 36px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(125deg, var(--ink), var(--teal-dark));
}

.continuation-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.continuation-panel .section-kicker {
  color: #9ce8e1;
}

.continuation-panel ul {
  margin: 0;
  padding-left: 22px;
}

.continuation-panel li {
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.practice-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 38px;
}

.practice-timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.practice-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 64px;
}

.practice-item::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-left: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.practice-item strong {
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.presentation-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper-soft);
}

.presentation-cover {
  min-height: 320px;
  overflow: hidden;
  background: var(--ink);
}

.presentation-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presentation-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px;
}

.presentation-copy .file-type {
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.presentation-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.presentation-copy p {
  margin: 18px 0 26px;
  color: var(--ink-soft);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.video-grid.one {
  grid-template-columns: minmax(0, 860px);
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(16, 47, 53, 0.07);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background:
    linear-gradient(rgba(7, 35, 41, 0.28), rgba(7, 35, 41, 0.78)),
    var(--poster) center / cover no-repeat;
  cursor: pointer;
}

.video-poster > span:last-child {
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(8, 35, 41, 0.74);
  font-size: 14px;
  font-weight: 800;
}

.video-play {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  font-size: 24px;
  transition: transform 0.2s ease;
}

.video-poster:hover .video-play,
.video-poster:focus-visible .video-play {
  transform: scale(1.08);
}

.video-poster:focus-visible {
  outline: 4px solid var(--accent-2);
  outline-offset: -4px;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px 19px;
}

.video-caption h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.3;
}

.video-caption a {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.commission-panel {
  position: relative;
  overflow: hidden;
  margin-top: 38px;
  padding: 44px;
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 47, 53, 0.98), rgba(8, 114, 111, 0.93)),
    var(--ink);
}

.commission-panel::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  top: -130px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.commission-panel .commission-label {
  display: block;
  margin-bottom: 18px;
  color: #a7ebe5;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.commission-panel h3 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.commission-panel p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76);
}

.commission-leader {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  margin: 28px 0;
}

.leader-monogram {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-family: var(--display);
  font-weight: 900;
}

.commission-leader strong {
  display: block;
  font-size: 16px;
}

.commission-leader span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.commission-panel .button {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  background: #fff;
}

.commission-full {
  margin-top: 52px;
}

.content-loading {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--ink-soft);
  background: var(--paper-soft);
}

.content-loading a {
  color: var(--teal-dark);
  font-weight: 800;
}

.commission-faculty > h3 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

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

.faculty-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 47, 53, 0.06);
}

.faculty-card > img,
.faculty-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  object-position: center top;
  background:
    radial-gradient(circle at 50% 40%, rgba(11, 159, 153, 0.22), transparent 22%),
    linear-gradient(145deg, var(--accent-pale), #fff);
}

.faculty-photo-placeholder::after {
  content: "ФКЗЕ";
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
}

.faculty-card-copy {
  padding: 21px;
}

.faculty-card-copy h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.25;
}

.faculty-card-copy p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.commission-source-content {
  margin-top: 68px;
}

.commission-source-content .row,
.commission-source-content [class*="col-"] {
  display: block;
  width: auto;
}

.commission-source-content i:empty {
  display: none;
}

.commission-source-content h3,
.commission-source-content h4,
.commission-source-content h5 {
  margin: 52px 0 18px;
  font-family: var(--display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.commission-source-content h3 {
  font-size: clamp(27px, 3vw, 38px);
}

.commission-source-content h4,
.commission-source-content h5 {
  font-size: clamp(21px, 2vw, 28px);
}

.commission-source-content p,
.commission-source-content li {
  color: var(--ink-soft);
  font-size: 17px;
}

.commission-source-content ul,
.commission-source-content ol {
  padding-left: 26px;
}

.commission-source-content li {
  margin: 8px 0;
}

.commission-source-content blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  color: var(--ink);
  background: var(--accent-pale);
  font-family: var(--display);
  font-size: 22px;
}

.commission-source-content img {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  margin: 18px auto;
  border-radius: 18px;
  object-fit: contain;
}

.commission-source-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
}

.commission-source-content a {
  color: var(--teal-dark);
  font-weight: 700;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.document-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.document-card:hover,
.document-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 42px rgba(16, 47, 53, 0.1);
  outline: none;
}

.document-card.accent {
  background: var(--accent-pale);
}

.document-type {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-card strong {
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.2;
}

.document-card small {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.accreditation-card {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 25%),
    #fff;
}

.accreditation-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.accreditation-card h3 {
  max-width: 760px;
  margin: 20px 0 8px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.accreditation-card > p {
  margin: 0;
  color: var(--ink-soft);
}

.certificate-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.certificate-facts > div {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.certificate-facts dt {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.certificate-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-note {
  margin-top: 24px;
  padding: 19px 22px;
  border-radius: 14px;
  color: var(--ink-soft);
  background: var(--paper-soft);
  font-size: 14px;
}

.archive-note a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

.doc-placeholder {
  position: relative;
  min-height: 128px;
  padding: 23px;
  border: 1px dashed color-mix(in srgb, var(--accent) 44%, var(--line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-pale) 32%, #fff);
}

.doc-placeholder b {
  display: block;
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: 18px;
}

.doc-placeholder span {
  color: var(--ink-soft);
  font-size: 13px;
}

.source-note {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.site-footer {
  padding-block: 54px 30px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(2, minmax(180px, 0.6fr));
  gap: 50px;
  padding-bottom: 42px;
}

.footer-brand {
  max-width: 430px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
}

.footer-brand p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.footer-column b {
  display: block;
  margin-bottom: 13px;
  color: #fff;
  font-size: 13px;
}

.footer-column a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 13px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  padding: 8vh 20px 30px;
  background: rgba(8, 35, 41, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-dialog {
  width: min(760px, 100%);
  max-height: 84vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.25);
}

.search-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.search-top input {
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper-soft);
  outline: none;
}

.search-top input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 159, 153, 0.12);
}

.search-close {
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.search-results {
  max-height: 62vh;
  overflow: auto;
  padding: 12px 18px 20px;
}

.search-hint {
  padding: 25px 10px;
  color: var(--ink-soft);
  text-align: center;
}

.search-result {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 10px 15px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
}

.search-result:hover,
.search-result:focus-visible {
  background: var(--paper-soft);
  outline: none;
}

.search-result .result-code {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.search-result strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.search-result span {
  color: var(--ink-soft);
  font-size: 12px;
}

.search-result i {
  color: var(--teal);
  font-style: normal;
  font-size: 20px;
}

/* Shared palette, distinct visual grammar for every specialty. */
.theme-f7 {
  --accent: #0b9f99;
  --accent-2: #43d4c9;
  --accent-pale: #dff8f5;
}

.theme-f7 .specialty-hero-wrap {
  background-image:
    linear-gradient(rgba(11, 159, 153, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 159, 153, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 83% 28%, rgba(11, 159, 153, 0.18), transparent 30%);
  background-size: 34px 34px, 34px 34px, auto;
}

.theme-f7 .hero-motif span {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.theme-f7 .hero-motif span:nth-child(1) { left: 8%; top: 20%; }
.theme-f7 .hero-motif span:nth-child(2) { right: 3%; top: 18%; }
.theme-f7 .hero-motif span:nth-child(3) { right: 17%; bottom: 4%; }

.theme-d2 {
  --accent: #168f89;
  --accent-2: #61c6b8;
  --accent-pale: #e2f6f1;
}

.theme-d2 .specialty-hero-wrap {
  background-image:
    repeating-linear-gradient(0deg, rgba(22, 143, 137, 0.055) 0 1px, transparent 1px 42px),
    linear-gradient(135deg, #fff, #edf9f6);
}

.theme-d2 .hero-image-frame {
  border-radius: 22px 22px 120px 22px;
}

.theme-d2 .hero-motif span {
  bottom: 8%;
  width: 22px;
  border-radius: 7px 7px 0 0;
  background: var(--accent);
}

.theme-d2 .hero-motif span:nth-child(1) { right: 3%; height: 90px; }
.theme-d2 .hero-motif span:nth-child(2) { right: 10%; height: 150px; opacity: 0.7; }
.theme-d2 .hero-motif span:nth-child(3) { right: 17%; height: 65px; opacity: 0.45; }

.theme-d5 {
  --accent: #0a9e98;
  --accent-2: #54cdc1;
  --accent-pale: #ddf7f3;
}

.theme-d5 .specialty-hero-wrap {
  background-image:
    radial-gradient(circle at 88% 21%, transparent 0 110px, rgba(10, 158, 152, 0.14) 111px 112px, transparent 113px),
    radial-gradient(circle at 88% 21%, transparent 0 190px, rgba(10, 158, 152, 0.1) 191px 192px, transparent 193px),
    linear-gradient(135deg, #fff, #edf9f6);
}

.theme-d5 .hero-image-frame {
  border-radius: 50% 50% 50% 16px;
  transform: rotate(2deg);
}

.theme-d5 .hero-motif span {
  width: 64px;
  height: 64px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.theme-d5 .hero-motif span:nth-child(1) { left: 6%; bottom: 10%; }
.theme-d5 .hero-motif span:nth-child(2) { right: 2%; top: 8%; width: 24px; height: 24px; background: var(--accent); }
.theme-d5 .hero-motif span:nth-child(3) { right: 45%; top: 12%; width: 9px; height: 9px; background: var(--accent); }

.theme-f2 {
  --accent: #078e89;
  --accent-2: #44cabf;
  --accent-pale: #ddf7f4;
}

.theme-f2 .specialty-hero-wrap {
  background-image:
    linear-gradient(90deg, rgba(7, 142, 137, 0.045) 50%, transparent 50%),
    linear-gradient(rgba(7, 142, 137, 0.045) 50%, transparent 50%),
    linear-gradient(135deg, #fff, #edf9f6);
  background-size: 28px 28px, 28px 28px, auto;
}

.theme-f2 .hero-image-frame {
  border-radius: 22px;
  transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
}

.theme-f2 .hero-motif span {
  color: var(--accent);
  font-family: Consolas, monospace;
  font-size: 56px;
  font-weight: 300;
}

.theme-f2 .hero-motif span::before { content: "</>"; }
.theme-f2 .hero-motif span:nth-child(1) { left: 2%; bottom: 8%; }
.theme-f2 .hero-motif span:nth-child(2) { right: 0; top: 8%; opacity: 0.45; transform: scale(0.6); }
.theme-f2 .hero-motif span:nth-child(3) { display: none; }

.theme-g9w {
  --accent: #0b918c;
  --accent-2: #55c6bd;
  --accent-pale: #e0f5f2;
}

.theme-g9w .specialty-hero-wrap {
  background-image:
    repeating-linear-gradient(135deg, rgba(11, 145, 140, 0.06) 0 2px, transparent 2px 20px),
    linear-gradient(135deg, #fff, #edf8f6);
}

.theme-g9w .hero-image-frame {
  border-radius: 18px 120px 18px 18px;
}

.theme-g9w .hero-motif span {
  width: 80px;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
}

.theme-g9w .hero-motif span:nth-child(1) { left: 4%; bottom: 9%; transform: rotate(-35deg); }
.theme-g9w .hero-motif span:nth-child(2) { right: 1%; top: 9%; transform: rotate(25deg); }
.theme-g9w .hero-motif span:nth-child(3) { right: 44%; bottom: 3%; transform: rotate(42deg); opacity: 0.5; }

.theme-g9q {
  --accent: #128d89;
  --accent-2: #64c9c0;
  --accent-pale: #e2f6f3;
}

.theme-g9q .specialty-hero-wrap {
  background-image:
    radial-gradient(circle at 83% 40%, transparent 0 70px, rgba(18, 141, 137, 0.16) 71px 72px, transparent 73px 130px, rgba(18, 141, 137, 0.12) 131px 132px, transparent 133px),
    linear-gradient(135deg, #fff, #edf8f6);
}

.theme-g9q .hero-image-frame {
  border-radius: 50%;
  aspect-ratio: 1;
}

.theme-g9q .hero-motif span {
  width: 180px;
  height: 1px;
  background: var(--accent);
}

.theme-g9q .hero-motif span:nth-child(1) { right: -2%; top: 35%; }
.theme-g9q .hero-motif span:nth-child(2) { right: 8%; top: 20%; transform: rotate(90deg); }
.theme-g9q .hero-motif span:nth-child(3) { left: 3%; bottom: 12%; width: 70px; opacity: 0.55; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .nav-link.optional {
    display: none;
  }

  .index-hero-inner,
  .specialty-hero {
    gap: 36px;
  }

  .specialty-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand-copy span {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    display: grid;
    gap: 3px;
    padding: 16px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link,
  .nav-dropdown > button,
  .search-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 11px 13px;
  }

  .nav-link.optional {
    display: inline-flex;
  }

  .search-trigger .search-label {
    display: inline;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-panel {
    position: static;
    width: 100%;
    display: none;
    padding: 6px 0 4px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.is-open .dropdown-panel {
    display: block;
    transform: none;
  }

  .index-hero {
    min-height: auto;
  }

  .index-hero-inner,
  .specialty-hero {
    grid-template-columns: 1fr;
  }

  .index-orbit {
    width: min(500px, 100%);
    justify-self: center;
  }

  .specialty-hero {
    padding-block: 58px 70px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-image-frame {
    max-width: 380px;
    aspect-ratio: 4 / 4.3;
  }

  .specialty-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 32px 90px;
  }

  .section-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 9px;
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(16, 47, 53, 0.08);
  }

  .section-nav-label {
    display: none;
  }

  .section-nav a {
    flex: 0 0 auto;
    padding: 8px 11px;
    white-space: nowrap;
  }

  .section-nav a::before {
    display: none;
  }

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

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

  .continuation-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .brand-copy strong {
    max-width: 165px;
    font-size: 14px;
  }

  .index-hero-inner {
    padding-block: 58px 72px;
  }

  .index-hero-copy > p {
    font-size: 18px;
  }

  .index-orbit {
    min-height: 360px;
  }

  .orbit-core {
    width: 132px;
    height: 132px;
    border-width: 10px;
  }

  .orbit-core strong {
    font-size: 38px;
  }

  .orbit-dot {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    border-radius: 15px;
    font-size: 13px;
    --orbit-radius: 145px;
  }

  .index-section {
    padding-block: 72px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

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

  .specialty-card {
    min-height: 280px;
    grid-template-columns: minmax(0, 1fr) 108px;
  }

  .specialty-card-copy {
    padding: 24px 8px 22px 22px;
  }

  .specialty-card h3 {
    font-size: 24px;
  }

  .card-symbol {
    right: 9px;
    font-size: 36px;
  }

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

  .specialty-hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-image-frame {
    width: min(92%, 340px);
  }

  .content-section,
  .content-section + .content-section {
    padding-block: 56px;
  }

  .content-section:first-child {
    padding-top: 10px;
  }

  .two-column-copy,
  .focus-list,
  .docs-grid,
  .document-grid,
  .video-grid,
  .video-grid.one {
    grid-template-columns: 1fr;
  }

  .curriculum-list {
    columns: 1;
    padding-left: 40px;
  }

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

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

  .faculty-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .faculty-card > img,
  .faculty-photo-placeholder {
    height: 100%;
    min-height: 180px;
    aspect-ratio: auto;
  }

  .continuation-panel,
  .accreditation-card {
    padding: 26px 22px;
  }

  .certificate-facts {
    grid-template-columns: 1fr;
  }

  .accreditation-heading,
  .video-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .facts-strip {
    grid-template-columns: 1fr;
  }

  .fact + .fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .presentation-card {
    grid-template-columns: 1fr;
  }

  .presentation-cover {
    min-height: 220px;
  }

  .presentation-copy,
  .commission-panel {
    padding: 28px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .search-result {
    grid-template-columns: 72px 1fr;
  }

  .search-result i {
    display: none;
  }
}
