:root {
  --ink: #101513;
  --ink-soft: #1b231f;
  --paper: #f1efe8;
  --paper-2: #e4e0d5;
  --white: #fffef9;
  --blue: #0d4b82;
  --blue-dark: #0a3156;
  --amber: #f2b233;
  --amber-dark: #bd7914;
  --muted: #6c746f;
  --line: rgba(16, 21, 19, 0.18);
  --line-dark: rgba(255, 255, 255, 0.16);
  --container: 1240px;
  --display: "Arial Narrow", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
strong {
  text-wrap: balance;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--amber-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section-ink .eyebrow,
.home-hero .eyebrow,
.route-hero .eyebrow,
.site-footer .eyebrow {
  color: var(--amber);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--amber);
  color: var(--ink);
}

.button-primary:hover {
  background: #ffc54f;
}

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

.button-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button-outline {
  border-color: currentColor;
  background: transparent;
}

.button-outline.light,
.text-link.light {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link:hover svg,
.direction-card:hover > svg,
.program-list a:hover svg {
  transform: translateX(4px);
}

.text-link svg,
.direction-card > svg,
.program-list a svg {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.utility-bar {
  min-height: 34px;
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.utility-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 28px;
}

.utility-inner a {
  margin-left: auto;
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(241, 239, 232, 0.97);
  backdrop-filter: blur(16px);
}

.header-main {
  display: grid;
  min-height: 82px;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: block;
  width: 245px;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 0 13px;
  background: transparent;
  color: #303834;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-expanded="true"] {
  border-bottom-color: var(--amber);
  color: var(--ink);
}

.nav-disclosure {
  gap: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.header-phone small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 500;
}

.header-cta {
  min-height: 44px;
  padding-inline: 15px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--ink);
}

.mega-menu {
  position: absolute;
  z-index: 102;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 28px 50px rgba(16, 21, 19, 0.18);
}

.mega-grid {
  display: grid;
  grid-template-columns: 0.8fr 2fr 0.8fr;
  gap: 34px;
  padding-block: 34px;
}

.mega-intro,
.mega-contact {
  padding: 24px;
  border: 1px solid var(--line);
}

.mega-intro h2 {
  margin-bottom: 22px;
  font-size: 2rem;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mega-links a {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 20px;
}

.mega-links a:hover {
  background: var(--white);
}

.mega-links span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mega-links strong {
  margin-top: 4px;
  font-size: 1rem;
}

.mega-contact {
  background: var(--blue-dark);
  color: var(--white);
}

.mega-contact strong {
  font-family: var(--display);
  font-size: 1.45rem;
}

.mega-contact p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.nojs-nav {
  display: block;
  padding-bottom: 12px;
}

.nojs-nav summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 750;
}

.nojs-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding-block: 12px;
}

.js .nojs-nav {
  display: none;
}

.menu-backdrop {
  position: fixed;
  z-index: 109;
  inset: 0;
  background: rgba(5, 9, 7, 0.58);
}

.mobile-menu {
  position: fixed;
  z-index: 110;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  overflow-y: auto;
  padding: 22px;
  background: var(--paper);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 240ms ease, visibility 240ms;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-head {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-menu-head button {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 2rem;
}

.mobile-menu nav > a,
.mobile-menu summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu details div {
  padding: 8px 0 16px 18px;
}

.mobile-menu details a {
  display: flex;
  min-height: 46px;
  align-items: center;
  color: #39413d;
  font-size: 0.92rem;
}

.mobile-contact {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 20px;
  background: var(--ink);
  color: var(--white);
}

.mobile-contact span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.mobile-contact a:not(.button) {
  font-weight: 750;
}

.breadcrumbs {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.home-hero {
  overflow: hidden;
  padding: 54px 0 0;
  background: var(--ink);
  color: var(--white);
}

.home-hero-grid {
  display: grid;
  min-height: 590px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
}

.home-hero-copy {
  display: flex;
  max-width: 650px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 62px 72px 0;
}

.home-hero h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3.4rem, 6.1vw, 6.3rem);
  font-weight: 860;
  letter-spacing: -0.065em;
}

.home-hero h1 em {
  display: block;
  color: var(--amber);
  font-style: normal;
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
}

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

.schedule-chip {
  display: grid;
  width: min(100%, 410px);
  grid-template-columns: 1fr auto;
  margin-top: 42px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 15px 0;
}

.schedule-chip span,
.schedule-chip strong {
  grid-column: 1;
}

.schedule-chip span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-chip strong {
  margin-top: 3px;
}

.schedule-chip svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.home-hero-media {
  position: relative;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--line-dark);
}

.home-hero-media::before {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  width: 78px;
  height: 78px;
  border-top: 5px solid var(--amber);
  border-right: 5px solid var(--amber);
  content: "";
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.home-hero-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  background: rgba(16, 21, 19, 0.9);
  font-size: 0.8rem;
}

.home-hero-media figcaption span {
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-right: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.trust-strip > div {
  display: flex;
  min-height: 114px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-dark);
  padding: 18px 24px;
}

.trust-strip > div:last-child {
  border-right: 0;
}

.trust-strip strong {
  color: var(--amber);
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 1;
}

.trust-strip span {
  max-width: 170px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.35;
}

.section {
  padding-block: 110px;
}

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

.section-ink {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: 0.65fr 1.15fr 0.8fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 54px;
}

.section-head .eyebrow {
  margin: 8px 0 0;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.6vw, 5.2rem);
}

.section-head > p:last-child:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-ink .section-head > p:last-child:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.58);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.direction-card {
  display: grid;
  min-height: 240px;
  grid-template-columns: 54px 1fr auto;
  gap: 20px;
  align-items: start;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px;
  transition: background-color 180ms ease, color 180ms ease;
}

.direction-card:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.direction-index {
  color: var(--amber-dark);
  font-family: ui-monospace, monospace;
  font-size: 0.76rem;
}

.direction-card small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.direction-card:hover small,
.direction-card:hover p {
  color: rgba(255, 255, 255, 0.65);
}

.direction-card h3 {
  margin: 11px 0 14px;
  font-size: 2rem;
}

.direction-card p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.direction-card > svg {
  margin-top: 4px;
}

.program-finder {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) 1.35fr;
  gap: 54px;
  align-items: start;
}

.finder-controls {
  position: sticky;
  top: 140px;
}

.finder-controls > label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 22px;
  height: 22px;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  padding: 12px 14px 12px 52px;
  background: #222a26;
  color: var(--white);
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.filter-pills button {
  min-height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.72rem;
}

.filter-pills button:hover,
.filter-pills button[aria-pressed="true"] {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.finder-count {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.finder-count strong {
  margin-right: 5px;
  color: var(--amber);
  font-family: var(--display);
  font-size: 2rem;
}

.program-list,
.related-programs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-list li,
.related-programs li {
  display: grid;
  min-height: 88px;
  grid-template-columns: 150px 1fr auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  padding: 16px 0;
}

.program-list li:last-child,
.related-programs li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.program-list li[hidden] {
  display: none;
}

.program-list span,
.related-programs span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.program-list strong,
.related-programs strong {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.program-list a,
.related-programs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 2;
  padding: 40px;
  border: 1px solid var(--line-dark);
  text-align: center;
}

.empty-state strong {
  font-family: var(--display);
  font-size: 2rem;
}

.empty-state p {
  max-width: 520px;
  margin: 10px auto 24px;
  color: rgba(255, 255, 255, 0.62);
}

.finder-more {
  grid-column: 2;
  justify-self: start;
  margin-top: 24px;
  color: var(--white);
}

.story-section {
  background: var(--white);
}

.story-grid,
.proof-grid,
.contact-preview-grid,
.media-feature,
.editorial-grid,
.split-content,
.contact-map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.story-grid .section-head,
.proof-grid .section-head,
.contact-preview-grid .section-head,
.media-feature .section-head,
.editorial-grid .section-head,
.contact-map-grid .section-head {
  display: block;
}

.story-grid .section-head h2,
.proof-grid .section-head h2,
.contact-preview-grid .section-head h2,
.media-feature .section-head h2,
.editorial-grid .section-head h2,
.contact-map-grid .section-head h2 {
  margin-bottom: 24px;
}

.story-grid .section-head .eyebrow,
.proof-grid .section-head .eyebrow,
.contact-preview-grid .section-head .eyebrow,
.media-feature .section-head .eyebrow,
.editorial-grid .section-head .eyebrow,
.contact-map-grid .section-head .eyebrow {
  margin-bottom: 18px;
}

.check-list {
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 48px;
  border-top: 1px solid var(--line);
  padding: 12px 0 10px 32px;
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 15px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: var(--amber);
  content: "";
}

.story-images {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
  align-items: end;
}

.story-images img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.story-images img:last-child {
  min-height: 360px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.process-steps li {
  min-height: 250px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px;
}

.process-steps li > span {
  color: var(--amber-dark);
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
}

.process-steps h3 {
  margin: 50px 0 16px;
  font-size: 1.55rem;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.process-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 34px;
}

.proof-section {
  background: var(--white);
}

.license-number {
  display: grid;
  gap: 3px;
  margin: 32px 0;
  border-left: 6px solid var(--amber);
  padding: 8px 0 8px 20px;
}

.license-number span,
.license-number small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.license-number strong {
  font-family: var(--display);
  font-size: 1.55rem;
}

.document-preview {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: flex-end;
}

.document-preview img {
  width: min(46%, 330px);
  border: 1px solid var(--line);
  box-shadow: 14px 18px 0 var(--paper-2);
}

.media-feature {
  align-items: center;
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  padding: 0;
  background: #1a201d;
  color: var(--white);
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.58;
}

.video-poster > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  background: var(--amber);
  color: var(--ink);
  font-size: 1.6rem;
  transform: translate(-50%, -50%);
}

.video-poster > strong {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-poster video {
  width: 100%;
  background: #000;
}

.contact-preview {
  background: var(--paper-2);
}

.map-shell {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7d4ca;
}

.map-grid {
  position: absolute;
  inset: 0;
}

.map-grid::before,
.map-grid::after,
.map-grid span,
.map-grid i {
  position: absolute;
  background: rgba(13, 75, 130, 0.17);
  content: "";
}

.map-grid::before {
  top: 28%;
  right: 0;
  left: 0;
  height: 28px;
}

.map-grid::after {
  top: 0;
  bottom: 0;
  left: 58%;
  width: 38px;
}

.map-grid span:nth-child(1) {
  top: 63%;
  right: 0;
  left: 0;
  height: 12px;
  transform: rotate(-8deg);
}

.map-grid span:nth-child(2) {
  top: 0;
  bottom: 0;
  left: 22%;
  width: 12px;
  transform: rotate(12deg);
}

.map-grid span:nth-child(3) {
  top: 48%;
  right: 12%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 10px rgba(242, 178, 51, 0.28);
}

.map-grid i {
  top: 0;
  right: 24%;
  bottom: 0;
  width: 7px;
}

.map-card {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 24px;
  background: var(--white);
}

.map-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
}

.map-card p:not(.eyebrow) {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.map-card .text-link {
  margin-top: 10px;
}

.map-shell iframe {
  width: 100%;
  height: 430px;
  border: 0;
}

.request-section {
  padding-block: 100px;
  background: var(--blue-dark);
  color: var(--white);
}

.request-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.request-grid .section-head {
  display: block;
  margin-bottom: 34px;
}

.request-grid .section-head h2 {
  margin-bottom: 24px;
}

.request-grid .section-head p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.request-direct {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.request-direct a {
  font-weight: 750;
}

.request-direct span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.request-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 38px;
  background: var(--paper);
  color: var(--ink);
}

.mode-switch {
  display: flex;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.mode-switch legend {
  width: 100%;
  margin-bottom: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-switch label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 9px 14px;
  cursor: pointer;
}

.mode-switch label:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.mode-switch input {
  margin-right: 8px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.76rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 105px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  min-height: 0;
  color: #a32018;
  font-size: 0.72rem;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #505853;
  cursor: pointer;
  font-size: 0.75rem;
}

.consent input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
}

.form-submit {
  justify-self: start;
}

.form-status {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
}

.route-hero {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.route-hero-grid {
  display: grid;
  min-height: 480px;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.route-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.7vw, 6rem);
  letter-spacing: -0.06em;
}

.route-lead {
  max-width: 670px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
}

.route-hero figure {
  position: relative;
  height: 100%;
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--line-dark);
}

.route-hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-hero figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 13px;
  background: rgba(16, 21, 19, 0.88);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
}

.lead-copy {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 760;
  line-height: 1.28;
}

.editorial-grid {
  align-items: start;
}

.editorial-grid > div > p:not(.eyebrow) {
  max-width: 760px;
}

.fact-panel .trust-strip {
  grid-template-columns: repeat(2, 1fr);
  border-color: var(--line);
}

.fact-panel .trust-strip > div {
  border-color: var(--line);
}

.fact-panel .trust-strip span {
  color: var(--muted);
}

.info-columns,
.download-grid,
.schedule-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.info-columns article,
.download-grid a {
  min-height: 260px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px;
}

.info-columns span,
.download-grid span {
  color: var(--amber-dark);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.info-columns h3,
.download-grid h3 {
  margin: 54px 0 16px;
  font-size: 1.75rem;
}

.info-columns p {
  color: var(--muted);
  font-size: 0.88rem;
}

.admission-card {
  padding: 36px;
  background: var(--blue-dark);
  color: var(--white);
}

.admission-card > strong {
  display: block;
  color: var(--amber);
  font-family: var(--display);
  font-size: 3.6rem;
  line-height: 1;
}

.admission-card > span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.admission-card hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--line-dark);
}

.admission-card a {
  display: block;
  margin-top: 8px;
  font-weight: 800;
}

.document-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  display: grid;
  min-height: 78px;
  grid-template-columns: 54px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
}

.document-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.document-list span {
  color: var(--amber-dark);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
}

.document-list strong {
  font-family: var(--display);
  font-size: 1.35rem;
}

.document-list small {
  grid-column: 2;
  color: var(--muted);
}

.download-grid a {
  display: flex;
  flex-direction: column;
}

.download-grid a:hover {
  background: var(--white);
}

.download-grid strong {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  color: var(--blue);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.notice {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 30px;
  margin-top: 34px;
  border-left: 6px solid var(--amber);
  padding: 22px 26px;
  background: var(--paper-2);
}

.notice p {
  margin: 0;
}

.feature-document {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.feature-document h2 {
  font-size: clamp(3rem, 5vw, 5.6rem);
}

.feature-document p {
  max-width: 720px;
}

.feature-document > img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.source-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.schedule-grid {
  grid-template-columns: repeat(2, 1fr) 0.85fr;
}

.schedule-grid article,
.schedule-grid aside {
  min-height: 390px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px;
}

.schedule-grid article h2 {
  margin: 70px 0 12px;
  font-size: 3.2rem;
}

.schedule-grid article > div {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.schedule-grid article span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.schedule-grid aside {
  background: var(--blue-dark);
  color: var(--white);
}

.schedule-grid aside h3 {
  font-size: 2rem;
}

.schedule-grid aside ul {
  margin: 24px 0 34px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.external-system {
  display: flex;
  min-height: 230px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--line);
  padding: 36px;
}

.external-system > div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.system-mark {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--amber);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
}

.external-system h2 {
  margin-bottom: 10px;
  font-size: 3rem;
}

.external-system p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.process-compact {
  margin-top: 50px;
}

.contract-contact {
  display: grid;
  gap: 10px;
  padding: 34px;
  background: var(--ink);
  color: var(--white);
}

.contract-contact span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-contact a {
  font-size: 1.2rem;
  font-weight: 760;
}

.media-grid,
.document-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.media-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--ink);
  color: var(--white);
  cursor: zoom-in;
  text-align: left;
}

.media-item img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: opacity 180ms ease, transform 280ms ease;
}

.document-grid .media-item img,
.review-grid .media-item img {
  height: 420px;
  object-fit: contain;
  background: #d8d5cd;
}

.media-item:hover img {
  opacity: 0.72;
  transform: scale(1.025);
}

.media-item span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 9px 11px;
  background: rgba(16, 21, 19, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
}

.media-item i {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  background: var(--amber);
  color: var(--ink);
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  font-style: normal;
}

.media-dialog {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  height: min(860px, calc(100% - 32px));
  max-height: none;
  border: 0;
  padding: 0;
  background: var(--ink);
  color: var(--white);
}

.media-dialog::backdrop {
  background: rgba(5, 8, 7, 0.85);
}

.dialog-bar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
  padding-left: 22px;
}

.dialog-bar span {
  max-width: calc(100% - 72px);
  font-size: 0.8rem;
}

.dialog-bar button,
.dialog-stage button {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
}

.dialog-stage {
  display: grid;
  height: calc(100% - 62px);
  grid-template-columns: 58px 1fr 58px;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.dialog-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.review-feature {
  max-width: 920px;
}

.review-feature blockquote {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.review-feature footer {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.review-feature footer span {
  color: var(--muted);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px;
}

.contact-card h2 {
  margin-bottom: 12px;
  font-size: 2.7rem;
}

.contact-card-head > p:last-child:not(.eyebrow) {
  color: var(--muted);
}

.contact-people {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.contact-people > div {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.contact-people span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-people strong {
  margin-bottom: 5px;
}

.contact-people a {
  color: var(--blue);
  font-size: 0.86rem;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 9px 13px;
  font-size: 0.78rem;
  font-weight: 750;
}

.requisites {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 50px;
  align-items: start;
}

.requisites dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.requisites dl > div {
  display: grid;
  min-height: 74px;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.requisites dt {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.requisites dd {
  margin: 0;
  font-weight: 650;
}

.requisites aside {
  position: sticky;
  top: 140px;
  display: grid;
  gap: 8px;
  padding: 30px;
  background: var(--blue-dark);
  color: var(--white);
}

.requisites aside > span {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requisites aside .button {
  margin-top: 20px;
  background: var(--amber);
  color: var(--ink);
}

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

.news-grid article {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-grid article > img,
.news-grid .social-poster {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.news-grid article > div:last-child {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.news-grid time {
  color: var(--muted);
  font-size: 0.72rem;
}

.news-grid h2 {
  margin: 64px 0 18px;
  font-size: 2rem;
}

.news-grid p {
  color: var(--muted);
}

.news-grid .text-link {
  margin-top: auto;
}

.social-poster {
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-weight: 900;
  text-align: center;
}

.social-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: stretch;
  border: 1px solid var(--line);
}

.social-card > div {
  padding: 60px;
}

.social-card h2 {
  font-size: 3rem;
}

.legacy-page,
.not-found {
  display: grid;
  min-height: 620px;
  place-items: center;
  background: var(--ink);
  color: var(--white);
}

.legacy-page .container,
.not-found .container {
  max-width: 940px;
}

.legacy-page h1,
.not-found h1 {
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 7vw, 7.5rem);
}

.legacy-page p:not(.eyebrow),
.not-found p:not(.error-code) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
}

.error-code {
  margin: 0;
  color: var(--amber);
  font-family: ui-monospace, monospace;
  font-size: 1rem;
}

.related-programs {
  margin-bottom: 30px;
}

.site-footer {
  padding-top: 78px;
  background: #090d0b;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.7fr);
  gap: 56px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 280px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 420px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a:not(.footer-phone) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-phone {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
}

.footer-contact p:not(.footer-title) {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}

.footer-base {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.amg-credit {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
}

.amg-credit img {
  width: 30px;
  height: 30px;
}

.amg-credit strong {
  color: var(--white);
}

.amg-credit svg {
  margin-left: 3px;
}

@media (max-width: 1380px) {
  .header-main {
    grid-template-columns: 225px 1fr auto;
    gap: 20px;
  }

  .brand {
    width: 225px;
  }

  .nav-link {
    padding-inline: 10px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    backdrop-filter: none;
  }

  .header-main {
    grid-template-columns: 210px 1fr auto;
    gap: 16px;
  }

  .brand {
    width: 210px;
  }

  .desktop-nav {
    display: none;
  }

  .js .menu-toggle {
    display: flex;
  }

  .header-main {
    grid-template-columns: 210px 1fr;
  }

  .header-actions {
    justify-self: end;
  }

  .mega-menu {
    display: none;
  }

  .section-head {
    grid-template-columns: 0.45fr 1fr 0.65fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .utility-location {
    display: none;
  }

  .home-hero-grid,
  .route-hero-grid,
  .story-grid,
  .proof-grid,
  .contact-preview-grid,
  .media-feature,
  .editorial-grid,
  .split-content,
  .contact-map-grid,
  .request-grid,
  .feature-document {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: none;
    padding: 40px 0 52px;
  }

  .home-hero-media {
    min-height: 500px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip > div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .finder-controls {
    position: static;
  }

  .empty-state,
  .finder-more {
    grid-column: 1;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-hero-grid {
    gap: 0;
  }

  .route-hero-grid > div {
    padding: 56px 0;
  }

  .route-hero figure {
    min-height: 420px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .schedule-grid,
  .info-columns,
  .download-grid {
    grid-template-columns: 1fr;
  }

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

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

  .requisites aside {
    position: static;
  }

  .media-grid,
  .document-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .utility-inner {
    gap: 10px;
    justify-content: space-between;
  }

  .utility-inner a {
    margin-left: 0;
  }

  .utility-inner span {
    max-width: 62%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-main {
    min-height: 70px;
    grid-template-columns: minmax(145px, 1fr) auto;
  }

  .brand {
    width: min(188px, 100%);
  }

  .header-phone {
    display: none;
  }

  .home-hero {
    padding-top: 18px;
  }

  .home-hero-grid {
    min-height: 0;
  }

  .home-hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.5rem);
  }

  .home-hero-copy > p:not(.eyebrow),
  .route-lead {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .home-hero-media {
    min-height: 420px;
  }

  .trust-strip {
    margin-inline: -14px;
  }

  .trust-strip > div {
    min-height: 104px;
    padding: 16px;
  }

  .trust-strip strong {
    font-size: 1.8rem;
  }

  .section {
    padding-block: 76px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2,
  .route-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .direction-card {
    min-height: 210px;
    grid-template-columns: 36px 1fr;
    padding: 22px;
  }

  .direction-card > svg {
    display: none;
  }

  .direction-card h3 {
    font-size: 1.65rem;
  }

  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .filter-pills button {
    flex: 0 0 auto;
  }

  .program-list li,
  .related-programs li {
    grid-template-columns: 1fr auto;
    gap: 7px 14px;
    padding-block: 18px;
  }

  .program-list span,
  .related-programs span {
    grid-column: 1 / -1;
  }

  .program-list strong,
  .related-programs strong {
    font-size: 1.08rem;
  }

  .program-list a,
  .related-programs a {
    font-size: 0;
  }

  .program-list a svg,
  .related-programs a svg {
    width: 24px;
    height: 24px;
  }

  .story-grid,
  .proof-grid,
  .contact-preview-grid,
  .media-feature,
  .editorial-grid,
  .split-content,
  .contact-map-grid,
  .request-grid,
  .feature-document {
    gap: 42px;
  }

  .story-images {
    grid-template-columns: 1fr 0.72fr;
  }

  .story-images img {
    min-height: 330px;
  }

  .story-images img:last-child {
    min-height: 260px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps li {
    min-height: 190px;
  }

  .process-steps h3 {
    margin-top: 32px;
  }

  .document-preview {
    justify-content: center;
  }

  .document-preview img {
    max-width: 47%;
  }

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

  .request-form {
    margin-inline: -14px;
    padding: 24px 14px;
  }

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

  .mode-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .mode-switch legend {
    grid-column: 1 / -1;
  }

  .route-hero figure {
    min-height: 330px;
  }

  .feature-document h2 {
    font-size: 2.8rem;
  }

  .external-system {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .external-system > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .system-mark {
    width: 70px;
    height: 70px;
  }

  .media-grid,
  .document-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .media-item img,
  .document-grid .media-item img,
  .review-grid .media-item img {
    height: 360px;
  }

  .dialog-stage {
    grid-template-columns: 42px 1fr 42px;
    gap: 5px;
    padding: 6px;
  }

  .dialog-stage button {
    width: 40px;
    height: 48px;
  }

  .contacts-grid {
    margin-inline: -14px;
  }

  .contact-card {
    padding: 26px 20px;
  }

  .requisites dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-block: 18px;
  }

  .news-grid article {
    grid-template-columns: 1fr;
  }

  .news-grid article > img,
  .news-grid .social-poster {
    min-height: 310px;
  }

  .news-grid h2 {
    margin-top: 34px;
  }

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

  .social-card > div {
    padding: 30px 22px;
  }

  .legacy-page,
  .not-found {
    min-height: 540px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-base {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }

  .amg-credit {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Competitor-led corporate service UI — 2026-08-09 */
:root {
  --ink: #182238;
  --ink-soft: #24314a;
  --paper: #f5f8fc;
  --paper-2: #e8f0fa;
  --white: #ffffff;
  --blue: #2457d6;
  --blue-dark: #163b9b;
  --amber: #ffb53e;
  --amber-dark: #a96900;
  --muted: #68758a;
  --line: rgba(30, 62, 112, 0.14);
  --line-dark: rgba(255, 255, 255, 0.2);
  --container: 1280px;
  --display: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body {
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.eyebrow,
.section-ink .eyebrow,
.home-hero .eyebrow,
.route-hero .eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  letter-spacing: 0.11em;
}

.button {
  min-height: 50px;
  border-radius: 12px;
  padding-inline: 22px;
  font-size: 0.82rem;
  letter-spacing: 0.045em;
  box-shadow: none;
}

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

.button-primary:hover,
.button-dark:hover {
  background: var(--blue-dark);
}

.button-ghost,
.button-outline,
.button-outline.light {
  border-color: rgba(36, 87, 214, 0.28);
  background: var(--white);
  color: var(--blue);
}

.text-link,
.text-link.light {
  color: var(--blue);
}

.utility-bar {
  min-height: 32px;
  border: 0;
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.8);
}

.utility-inner {
  min-height: 32px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(29, 59, 107, 0.07);
  backdrop-filter: blur(12px);
}

.header-main {
  min-height: 80px;
  grid-template-columns: 230px 1fr auto;
  gap: 24px;
}

.brand {
  width: 230px;
}

.desktop-nav {
  gap: 2px;
  align-items: center;
}

.nav-link {
  min-height: 42px;
  align-self: center;
  border: 0;
  border-radius: 10px;
  padding-inline: 11px;
  color: #344158;
  font-size: 0.76rem;
}

.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-expanded="true"] {
  border: 0;
  background: #eef4ff;
  color: var(--blue);
}

.header-cta {
  min-height: 46px;
  background: var(--blue);
  color: var(--white);
}

.header-phone span {
  color: var(--ink);
}

.menu-toggle {
  border-color: rgba(36, 87, 214, 0.28);
  border-radius: 12px;
  background: #f3f7ff;
}

.menu-toggle span {
  background: var(--blue-dark);
}

.mega-menu {
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(29, 59, 107, 0.16);
}

.mega-intro,
.mega-links a,
.mega-contact {
  border-color: var(--line);
}

.mega-contact {
  border-radius: 18px;
  background: #edf4ff;
  color: var(--ink);
}

.mega-contact p {
  color: var(--muted);
}

.mobile-menu {
  background: var(--white);
}

.mobile-contact {
  border-radius: 18px;
  background: #eef4ff;
  color: var(--ink);
}

.mobile-contact span {
  color: var(--muted);
}

.home-hero {
  overflow: hidden;
  padding: 46px 0 38px;
  background: #eaf4ff;
  color: var(--ink);
}

.home-hero-grid {
  min-height: 560px;
  grid-template-columns: 1fr 0.96fr;
  gap: 54px;
}

.home-hero-copy {
  max-width: 660px;
  padding: 40px 0 48px;
}

.home-hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 5.2vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.home-hero h1 em {
  display: block;
  color: var(--blue);
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 22px;
  color: #506078;
  font-size: 1.1rem;
}

.hero-benefits {
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  padding-left: 28px;
  color: #35445d;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-benefits li::before {
  position: absolute;
  top: 0.17em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  content: "✓";
  font-size: 0.7rem;
}

.schedule-chip {
  width: min(100%, 430px);
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(29, 59, 107, 0.07);
}

.schedule-chip span {
  color: var(--muted);
}

.schedule-chip strong,
.schedule-chip svg {
  color: var(--blue-dark);
}

.home-hero-media {
  min-height: 540px;
  align-self: center;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(33, 74, 130, 0.18);
}

.home-hero-media::before {
  display: none;
}

.home-hero-media figcaption {
  right: 18px;
  bottom: 18px;
  left: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.home-hero-media figcaption span {
  color: var(--blue);
}

.trust-strip {
  gap: 12px;
  margin-top: 28px;
  border: 0;
}

.trust-strip > div {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(29, 59, 107, 0.06);
}

.trust-strip strong {
  color: var(--blue);
  font-size: 2rem;
}

.trust-strip span {
  max-width: 210px;
  color: var(--muted);
}

.section {
  padding-block: 88px;
}

.section-paper,
.story-section,
.proof-section {
  background: var(--white);
}

.section-ink {
  background: #f1f6ff;
  color: var(--ink);
}

.section-head {
  grid-template-columns: 0.45fr 1fr 0.8fr;
  gap: 28px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.9rem);
}

.section-ink .section-head > p:last-child:not(.eyebrow),
.section-ink .section-head > p:last-child {
  color: var(--muted);
}

.direction-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border: 0;
}

.direction-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(29, 59, 107, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.direction-card:hover {
  border-color: rgba(36, 87, 214, 0.38);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(29, 59, 107, 0.14);
  transform: translateY(-4px);
}

.direction-media {
  height: 155px;
  overflow: hidden;
  background: var(--paper-2);
}

.direction-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.direction-card:hover .direction-media img {
  transform: scale(1.035);
}

.direction-card-copy {
  display: flex;
  min-height: 270px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.direction-index {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 7px 16px rgba(22, 59, 155, 0.25);
}

.direction-card small,
.direction-card:hover small {
  color: var(--blue);
}

.direction-card h3 {
  margin: 10px 0 12px;
  font-size: 1.45rem;
}

.direction-card p,
.direction-card:hover p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.direction-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
}

.program-finder {
  grid-template-columns: 1fr;
  gap: 24px;
}

.finder-controls {
  position: static;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(29, 59, 107, 0.06);
}

.finder-controls > label {
  color: var(--ink);
}

.search-field input {
  min-height: 58px;
  border-color: var(--line);
  border-radius: 13px;
  background: #f7f9fc;
  color: var(--ink);
}

.search-field input::placeholder {
  color: #8995a7;
}

.filter-pills button {
  min-height: 42px;
  border-color: rgba(36, 87, 214, 0.18);
  background: #f3f7ff;
  color: #526079;
}

.filter-pills button:hover,
.filter-pills button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.finder-count {
  color: var(--muted);
}

.finder-count strong {
  color: var(--blue);
}

.program-list,
.related-programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.program-list li,
.related-programs li {
  min-height: 112px;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 19px 20px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(29, 59, 107, 0.045);
}

.program-list li:last-child,
.related-programs li:last-child {
  border-bottom: 1px solid var(--line);
}

.program-list span,
.related-programs span {
  grid-column: 1 / -1;
  color: var(--muted);
}

.program-list strong,
.related-programs strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.program-list a,
.related-programs a {
  color: var(--blue);
}

.empty-state {
  grid-column: 1 / -1;
  border-color: var(--line);
  border-radius: 18px;
  background: var(--white);
}

.empty-state p {
  color: var(--muted);
}

.finder-more {
  grid-column: 1;
  color: var(--blue);
}

.story-grid,
.proof-grid,
.contact-preview-grid,
.media-feature,
.editorial-grid,
.split-content,
.contact-map-grid {
  gap: 56px;
}

.story-images {
  gap: 14px;
}

.story-images img,
.document-preview img,
.video-poster,
.map-shell {
  border-radius: 20px;
}

.document-preview img {
  box-shadow: 0 18px 40px rgba(29, 59, 107, 0.14);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px 10px 43px;
  background: #f8faff;
}

.check-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  top: 13px;
  left: 15px;
  border-radius: 50%;
  background: var(--blue);
}

.process-steps {
  gap: 14px;
  border: 0;
}

.process-steps li {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 7px 24px rgba(29, 59, 107, 0.05);
}

.process-steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #eaf1ff;
  color: var(--blue);
  font-weight: 800;
}

.process-steps h3 {
  margin-top: 34px;
}

.route-hero {
  padding-block: 40px;
  background: #eaf4ff;
  color: var(--ink);
}

.route-hero-grid {
  min-height: 420px;
  gap: 54px;
}

.route-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
}

.route-lead {
  color: #506078;
}

.route-hero figure {
  min-height: 420px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(33, 74, 130, 0.16);
}

.route-hero figcaption {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.route-hero .hero-actions .text-link {
  color: var(--blue);
}

.info-columns,
.download-grid,
.schedule-grid {
  gap: 16px;
}

.info-columns article,
.download-grid > a,
.schedule-grid article,
.schedule-grid aside,
.admission-card,
.contact-card,
.feature-document,
.external-system,
.social-card,
.review-feature,
.requisites aside {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(29, 59, 107, 0.06);
}

.media-grid,
.document-grid,
.review-grid {
  gap: 16px;
}

.media-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(29, 59, 107, 0.06);
}

.media-item span {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.request-section {
  padding-block: 88px;
  background: #eaf3ff;
  color: var(--ink);
}

.request-grid .section-head p:last-child,
.request-direct span {
  color: var(--muted);
}

.request-direct {
  border-color: var(--line);
}

.request-form {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(33, 74, 130, 0.12);
}

.mode-switch label,
.field input,
.field select,
.field textarea {
  border-radius: 11px;
  background: #f8faff;
}

.mode-switch label:has(input:checked) {
  border-color: var(--blue);
  background: #eaf1ff;
  color: var(--blue-dark);
}

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

.map-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(29, 59, 107, 0.15);
}

.site-footer {
  background: #102a68;
}

.footer-title {
  color: #9fc0ff;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-grid a:not(.footer-phone) {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1380px) {
  .header-main {
    grid-template-columns: 215px 1fr auto;
    gap: 16px;
  }

  .brand {
    width: 215px;
  }

  .header-cta {
    display: none;
  }

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

@media (max-width: 1120px) {
  .site-header {
    backdrop-filter: none;
  }

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

  .section-head {
    grid-template-columns: 0.4fr 1fr;
  }

  .section-head > p:last-child:not(.eyebrow) {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .home-hero-grid,
  .route-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: 760px;
    padding-bottom: 20px;
  }

  .home-hero-media,
  .route-hero figure {
    min-height: 440px;
  }

  .route-hero-grid > div {
    padding-block: 20px 0;
  }

  .program-list,
  .related-programs {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head > p:last-child:not(.eyebrow) {
    grid-column: 1;
  }

  .request-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 620px) {
  .home-hero {
    padding-top: 22px;
  }

  .home-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.45rem);
    letter-spacing: -0.05em;
  }

  .home-hero h1 em {
    display: inline;
  }

  .home-hero-media,
  .route-hero figure {
    min-height: 340px;
    border-radius: 18px;
  }

  .trust-strip {
    margin-inline: 0;
  }

  .trust-strip > div {
    min-height: 112px;
  }

  .section {
    padding-block: 68px;
  }

  .section-head h2,
  .route-hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.15rem);
  }

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

  .direction-media {
    height: 190px;
  }

  .direction-card-copy {
    min-height: 230px;
  }

  .finder-controls,
  .request-form {
    padding: 20px;
    border-radius: 18px;
  }

  .program-list li,
  .related-programs li {
    min-height: 106px;
    border-radius: 14px;
  }

  .process-steps li {
    min-height: 190px;
  }

  .request-section {
    padding-block: 68px;
  }
}
