/* cyrillic-ext */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/noto-serif-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/noto-serif-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/noto-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --navy: #10263e;
  --navy-deep: #0b1e32;
  --ink: #152638;
  --muted: #4a5663;
  --cream: #f8f5ef;
  --paper: #fffefa;
  --line: #ddd6c9;
  --gold: #d7b570;
  --gold-text: #825c20;
  --serif: "Noto Serif", Georgia, serif;
  font-family: "Segoe UI", "Noto Sans", sans-serif;
  line-height: 1.55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #8c5816; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.24rem, 2vw, 1.5rem); letter-spacing: -.025em; }
em { font-style: normal; }
.wrap { width: min(72rem, 100% - 3.5rem); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .65rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.service-bar, .site-footer { background: var(--navy-deep); color: #f8f6f0; }
.service-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: .4rem 1rem; min-height: 2.25rem; padding-block: .35rem; font-size: .78rem; letter-spacing: .015em; }
.service-bar p:last-child { color: #ecd09a; }
.site-header { background: var(--paper); border-bottom: 1px solid #e7e1d6; }
.topbar, .bottom-bar { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.topbar { min-height: 4.9rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex: 0 0 auto; text-decoration: none; font: 600 .95rem/1.23 var(--serif); }
.brand-mark { position: relative; display: block; width: 2.45rem; height: 2.45rem; border: 1px solid #335373; border-radius: 3px; background: var(--navy); }
.brand-mark::before, .brand-mark::after { position: absolute; top: .63rem; width: .59rem; height: .8rem; content: ""; border: 1px solid #f0d596; border-radius: 1px 4px 2px 1px; }
.brand-mark::before { left: .56rem; transform: skewY(12deg); }
.brand-mark::after { right: .56rem; transform: scaleX(-1) skewY(12deg); }
.topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(1rem, 3vw, 2.25rem); }
.topbar nav a, .header-cta, .bottom-bar > a:last-child { font-size: .92rem; font-weight: 600; text-decoration: none; }
.topbar nav a { padding-block: .55rem; }
.topbar nav a:hover, .bottom-bar > a:last-child:hover { text-decoration: underline; text-underline-offset: .26em; }
.header-cta, .button {
  display: inline-flex; justify-content: center; align-items: center; gap: .85rem;
  min-height: 2.7rem; width: fit-content; padding: .57rem .95rem;
  border: 1px solid transparent; border-radius: 3px; font-weight: 650; text-decoration: none;
}
.header-cta, .button.filled { color: #231b0f; background: var(--gold); }
.header-cta:hover, .button.filled:hover { background: #e7c990; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-deep); color: #fffefa;
}
.hero-visual { position: absolute; z-index: -2; inset: 0 0 0 28%; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 67% 45%; }
.hero::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg, var(--navy-deep) 0%, #0b1e32 24%, #0b1e32f5 31%, #0b1e32b6 42%, #0b1e3240 57%, #0b1e3206 73%);
}
.hero-grid { display: grid; align-items: center; min-height: clamp(32rem, 42vw, 39rem); padding-block: 4.4rem 6.1rem; }
.hero-copy { width: min(100%, 36rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .81rem; font-weight: 650; letter-spacing: .05em; color: #f0d396; margin-bottom: 1.2rem; }
.eyebrow span { height: 1px; width: 1.6rem; background: #e8c782; flex: 0 0 auto; }
.hero h1 { font-size: clamp(2.75rem, 5.2vw, 4.45rem); letter-spacing: -.06em; line-height: 1.07; }
.hero h1 em { display: block; }
.intro { max-width: 26rem; margin-block: 1.3rem 1.6rem; color: #f1f0ec; font-size: clamp(1rem, 1.5vw, 1.13rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.2rem; }
.plain-action { display: inline-flex; gap: .4rem; align-items: center; padding-block: .5rem; font-size: .95rem; font-weight: 650; text-underline-offset: .24em; text-decoration-color: #f3deb288; }
.plain-action:hover { color: #f4dda8; }
.hero a:focus-visible, .how a:focus-visible, .site-footer a:focus-visible { outline-color: #f2d391; }
.facts { position: relative; margin-block: -2.55rem 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); border: 1px solid #e6ded0; box-shadow: 0 12px 28px #16273912; }
.fact { position: relative; display: grid; justify-items: center; align-content: center; gap: .45rem; min-height: 6.8rem; padding: .9rem; text-align: center; }
.fact + .fact { border-left: 1px solid #e9e3d8; }
.fact span { display: block; width: 1.35rem; height: 1.35rem; border: 1px solid #a77936; transform: rotate(45deg) scale(.66); outline: 1px solid #d3b479; outline-offset: 3px; }
.fact strong { font: 600 clamp(.90rem, 1.7vw, 1.22rem)/1.23 var(--serif); }
.section { padding-block: clamp(3.4rem, 7vw, 6.3rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: .8rem 2rem; margin-bottom: 1.8rem; }
.section-head h2::before, .mission h2::before {
  display: block; width: 2.15rem; height: 2px; margin-bottom: .9rem; content: ""; background: #b68b46;
}
.section-head p { max-width: 26rem; color: var(--muted); }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.course { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: white; }
.course > img { display: block; width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; }
.course:nth-child(1) > img { object-position: 50% 55%; }
.course:nth-child(2) > img { object-position: 50% 50%; }
.course:nth-child(3) > img { object-position: 50% 52%; }
.course-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1.3rem 1.35rem 1.4rem; }
.course p { margin: .68rem 0 1rem; color: var(--muted); }
.course-link { margin-top: auto; padding-block: .3rem; color: var(--gold-text); font-weight: 700; text-underline-offset: .23em; }
.course-link:hover { color: #52380f; }
.mission { background: var(--cream); border-block: 1px solid #e9e1d4; }
.mission-grid { display: grid; grid-template-columns: .96fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.mission-visual { position: relative; isolation: isolate; margin: 0 .55rem .55rem 0; }
.mission-visual::after { position: absolute; z-index: -1; inset: .55rem -.55rem -.55rem .55rem; content: ""; border: 1px solid #b48a4b; }
.mission-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; object-position: 56% center; }
.mission h2 em { color: var(--gold-text); }
.mission-copy > div { margin-top: 1.15rem; }
.mission p { color: #394956; font-size: clamp(1rem, 1.4vw, 1.09rem); }
.mission p + p { margin-top: .78rem; }
.how { background: var(--navy); color: #fffefa; }
.how .section-head h2::before { background: #e3c483; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; padding: 0; margin: 0; list-style-position: inside; }
.steps li { padding: 1rem .3rem 0 0; border-top: 1px solid #b99a655e; }
.steps li::marker { color: #f0cd87; font: 600 1.06rem var(--serif); }
.steps h3 { margin-top: .65rem; }
.steps p { max-width: 24rem; margin-top: .55rem; color: #e0e6ec; }
.contact { background: var(--cream); padding-block: clamp(2.8rem, 6.5vw, 5rem); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.25rem 2.5rem; padding: clamp(1.45rem, 5vw, 3.25rem); border: 1px solid #b7904b; background: #eee0c2; }
.contact p { max-width: 35rem; margin-top: .8rem; color: #473d30; }
.contact-actions { display: grid; gap: .7rem; justify-items: end; }
.contact .button { color: white; background: var(--navy); }
.contact .button:hover { background: #234465; }
.address { color: #332915; text-underline-offset: .21em; overflow-wrap: anywhere; }
.address:hover { color: #76521c; }
.bottom-bar { min-height: 5.4rem; }
.site-footer .brand-mark { border-color: #8e744d; }
.bottom-bar > a:last-child { color: #efd39a; text-align: right; }
@media (max-width: 60rem) {
  .wrap { width: min(72rem, 100% - 2.5rem); }
  .hero-visual { left: 21%; }
  .hero-copy { max-width: 32rem; }
  .hero::after { background: linear-gradient(90deg, #0b1e32 2%, #0b1e32f5 25%, #0b1e32c4 39%, #0b1e3229 76%); }
  .course-grid { gap: .8rem; }
  .course-body { padding: 1.1rem; }
}
@media (max-width: 47rem) {
  .wrap { width: min(72rem, 100% - 2rem); }
  .topbar { flex-wrap: wrap; gap: .4rem .65rem; padding-block: .7rem .35rem; }
  .topbar nav { order: 3; width: 100%; justify-content: space-between; gap: 0 .5rem; }
  .topbar nav a, .header-cta { font-size: .83rem; }
  .header-cta { padding-inline: .65rem; min-height: 2.4rem; }
  .hero-visual { inset: 0 0 auto; height: clamp(16.25rem, 62vw, 25rem); }
  .hero-visual img { object-position: 58% 43%; }
  .hero::after { inset: 0 0 auto; height: clamp(16.25rem, 62vw, 25rem); background: linear-gradient(180deg, #0b1e3200 42%, #0b1e3266 68%, #0b1e32 100%); }
  .hero-grid { min-height: 0; padding-block: clamp(12.25rem, 53vw, 21rem) 4.4rem; }
  .hero h1 { font-size: clamp(2.32rem, 7.4vw, 3.75rem); }
  .eyebrow { margin-bottom: .8rem; }
  .intro { margin-block: 1rem 1.25rem; }
  .facts { margin-top: -1.9rem; }
  .fact { min-height: 5rem; padding: .65rem .35rem; }
  .fact span { width: 1rem; height: 1rem; }
  .section-head { display: block; }
  .section-head p { margin-top: .7rem; }
  .course-grid, .steps, .mission-grid, .contact-grid { grid-template-columns: 1fr; }
  .course-grid { gap: 1rem; }
  .course > img { aspect-ratio: 2.1; }
  .mission-grid { gap: 1.6rem; }
  .mission-visual img { aspect-ratio: 1.5; }
  .steps { gap: 1.25rem; }
  .contact-actions { justify-items: start; }
}
@media (max-width: 24rem) {
  .brand { gap: .52rem; font-size: .81rem; }
  .brand-mark { width: 2.23rem; height: 2.23rem; }
  .brand-mark::before { left: .46rem; }
  .brand-mark::after { right: .46rem; }
  .service-bar .wrap { font-size: .71rem; }
  .fact strong { font-size: .83rem; }
  .bottom-bar > a:last-child { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
