* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #F7F5F0;
  --ink: #1C2430;
  --navy: #23406E;
  --gold: #A8893B;
  --muted: #67707E;
  --line: #D9D6CC;
  --warn: #A5432E;
  --gap: 22px;
  --sect: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Golos Text', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}

::selection { background: var(--navy); color: var(--bg); }

a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap { max-width: 780px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

h1, h2, h3, .brand { font-family: 'Cormorant', serif; font-weight: 600; }

h2 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 40px;
}
h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}

.top { border-bottom: 1px solid var(--line); padding-top: 26px; padding-bottom: 0; background: var(--bg); position: sticky; top: 0; z-index: 10; }

.masthead-over {
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.brand {
  display: inline-block;
  font-size: 34px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 8px;
  margin-right: -8px;
  line-height: 1;
}

.top-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 16px 0 14px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.top-nav a:hover { color: var(--navy); }

.hero { padding-top: 88px; padding-bottom: 56px; }

.hero h1 {
  font-size: 96px;
  letter-spacing: 14px;
  margin-right: -14px;
  color: var(--ink);
  line-height: 1;
}

.motto {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 23px;
  color: var(--navy);
  margin-top: 22px;
}

.hero-note {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 26px;
  font-weight: 600;
}

.hero-act { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--bg);
  padding: 13px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: #1A3155; }
.btn:active { transform: translateY(1px); background: #142743; }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--navy);
  padding: 12px 29px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.6px;
}
.btn-ghost:hover { background: var(--navy); color: var(--bg); }
.btn-ghost:active { transform: translateY(1px); }

.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  padding-top: 26px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
}
.stat { padding: 0 34px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  display: block;
  font-family: 'Cormorant', serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--muted); display: block; max-width: 170px; margin: 6px auto 0; }

.steps { padding-top: var(--sect); padding-bottom: 24px; border-top: 1px solid var(--line); }

.step { max-width: 520px; margin: 0 auto 46px; }
.step:last-child { margin-bottom: 0; }
.step-over {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.step h3 { font-size: 27px; color: var(--ink); margin-bottom: 10px; }
.step p { color: var(--muted); }

.voices { padding-top: var(--sect); padding-bottom: 30px; border-top: 1px solid var(--line); }

.voice { max-width: 540px; margin: 0 auto 44px; }
.voice:last-child { margin-bottom: 0; }
.voice p {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink);
}
.voice cite {
  display: block;
  font-family: 'Golos Text', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
  font-weight: 600;
}

.news { padding-top: var(--sect); padding-bottom: 30px; border-top: 1px solid var(--line); }

.news-list { list-style: none; max-width: 540px; margin: 0 auto; }
.news-list li { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.news-list li:first-child { padding-top: 0; }
.news-list li:last-child { border-bottom: none; }
.news-date {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.news-list p { color: var(--muted); }

.admission { padding-top: var(--sect); padding-bottom: 64px; border-top: 1px solid var(--line); }

.adm-steps { list-style: none; max-width: 460px; margin: 0 auto 48px; }
.adm-steps li { padding: 16px 0; }
.adm-steps b {
  font-family: 'Cormorant', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}
.adm-steps p { color: var(--muted); font-size: 15px; }

.adm-form {
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #FDFCFA;
  padding: 34px 30px 30px;
  text-align: center;
}
.adm-form h3 { font-size: 24px; color: var(--ink); margin-bottom: 22px; }
.adm-form label { display: block; margin-bottom: 15px; }
.adm-form label span {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.adm-form input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}
.adm-form input:focus { outline: none; border-color: var(--navy); }
.adm-form input.error { border-color: var(--warn); }
.adm-form .form-note { font-size: 12px; color: var(--muted); margin: 4px 0 16px; }

.contacts { padding-top: var(--sect); padding-bottom: 72px; border-top: 1px solid var(--line); }

.cont-line { margin-bottom: 12px; }
.cont-line a { text-decoration: none; font-weight: 600; }
.cont-line.muted { color: var(--muted); font-size: 14px; }

.foot { border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; color: var(--muted); }
.foot .demo-tag { color: #A8A79E; font-size: 12px; margin-top: 4px; }
.foot .year { color: inherit; }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }

  .top { position: static; padding-top: 20px; }
  .top-nav { gap: 10px 20px; padding-bottom: 12px; }

  .hero { padding-top: 56px; }
  .hero h1 { font-size: 58px; letter-spacing: 9px; margin-right: -9px; }
  .motto { font-size: 19px; }
  .hero-act .btn, .hero-act .btn-ghost { width: 100%; text-align: center; }

  .stats { flex-direction: column; gap: 20px; padding-bottom: 26px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); padding-top: 20px; }
  .stat span { max-width: none; }

  h2 { font-size: 30px; }
  .voice p { font-size: 20px; }
  .adm-form { padding: 26px 20px 24px; }
}
