:root {
  --red: #840f18;
  --red-bright: #b01824;
  --ink: #171515;
  --muted: #686160;
  --paper: #f5f1ea;
  --white: #fffdf8;
  --line: rgba(23, 21, 21, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 92px;
  padding: 20px clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
  font-size: 0.82rem;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 42px); }
.site-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}
.site-nav a:not(.nav-cta) { opacity: 0.84; }
.site-nav a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(255, 255, 255, 0.56); padding: 11px 18px; }
.menu-toggle { display: none; }

.hero {
  min-height: min(880px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  color: var(--white);
  background: var(--red);
}
.hero-copy {
  padding: clamp(150px, 17vh, 190px) clamp(28px, 5vw, 92px) 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
.hero-copy > * { position: relative; z-index: 1; }
.eyebrow,
.section-kicker,
.section-label {
  margin: 0 0 22px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.65rem, 5.1vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero-lead { max-width: 650px; margin: 32px 0 0; font-size: clamp(1rem, 1.25vw, 1.25rem); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.button {
  min-height: 54px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--red); }
.text-link { color: inherit; text-underline-offset: 7px; font-weight: 650; }
.text-link span { margin-left: 7px; }
.hero-facts { margin-top: auto; padding-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-facts div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.3); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.8rem); font-weight: 400; line-height: 1; }
.hero-facts span { display: block; margin-top: 7px; color: rgba(255,255,255,.68); font-size: 0.78rem; }
.hero-image {
  position: relative;
  min-height: 620px;
  background: linear-gradient(90deg, rgba(23,21,21,.18), rgba(23,21,21,.04)), url("assets/academy-hall.webp") center/cover no-repeat;
}
.hero-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

.section { padding: clamp(80px, 10vw, 148px) clamp(24px, 6vw, 104px); }
.intro { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 2.3fr); gap: clamp(30px, 7vw, 120px); }
.section-label { padding-top: 10px; color: var(--red); }
.intro-body { max-width: 1050px; }
.large-copy { margin: 0 0 36px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.intro-body > p:last-child { max-width: 680px; margin-left: auto; color: var(--muted); font-size: 1.08rem; }

.directions { background: var(--ink); color: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 58px; }
.section-heading h2,
.path h2,
.admission h2,
.support h2,
.consultation h2 {
  margin: 0;
  max-width: 830px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.8vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}
.section-heading > p { max-width: 420px; margin: 0; color: rgba(255,255,255,.62); }
.direction-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; border-top: 1px solid rgba(255,255,255,.18); }
.direction-card { min-height: 440px; padding: 32px clamp(22px, 3vw, 44px); border-right: 1px solid rgba(255,255,255,.18); }
.direction-card:last-child { border-right: 0; }
.direction-card-featured { background: var(--red); margin-top: -1px; }
.card-number { display: block; margin-bottom: 90px; font-family: var(--serif); color: rgba(255,255,255,.45); }
.direction-card h3 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1; font-weight: 400; }
.direction-card p { color: rgba(255,255,255,.68); }
.direction-card ul { margin: 26px 0 0; padding: 0; list-style: none; }
.direction-card li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: .88rem; }

.path { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.path-panel .section-kicker,
.advantage-card .section-kicker,
.formats .section-kicker,
.admission .section-kicker,
.support .section-kicker,
.consultation .section-kicker { color: var(--red); }
.path-list { list-style: none; margin: 58px 0 0; padding: 0; border-top: 1px solid var(--line); }
.path-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.path-list > li > span { color: var(--red); font-family: var(--serif); }
.path-list h3 { margin: 0 0 6px; font-size: 1.1rem; }
.path-list p { margin: 0; color: var(--muted); }
.advantage-card { position: sticky; top: 30px; padding: 38px; background: var(--white); box-shadow: 0 22px 70px rgba(38,23,17,.1); }
.advantage-card h2 { font-size: clamp(2rem, 3.2vw, 3.5rem); }
.check-list { list-style: none; padding: 0; margin: 34px 0 0; }
.check-list li { position: relative; padding: 16px 0 16px 30px; border-top: 1px solid var(--line); }
.check-list li::before { content: "+"; position: absolute; left: 0; top: 15px; color: var(--red); font-weight: 700; }

.formats { background: var(--white); }
.formats .section-heading > p { color: var(--muted); }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.format-card { min-height: 390px; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; background: var(--white); }
.format-card-primary { background: var(--red); color: var(--white); }
.format-term { width: fit-content; padding: 7px 10px; border: 1px solid currentColor; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.format-card h3 { margin: 80px 0 16px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.7rem); font-weight: 400; line-height: 1; }
.format-card p { margin: 0 0 30px; color: var(--muted); }
.format-card-primary p { color: rgba(255,255,255,.72); }
.format-card a { margin-top: auto; text-underline-offset: 6px; font-weight: 700; }
.load-note { margin: 26px 0 0; color: var(--muted); font-size: .88rem; }

.admission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 140px); }
.admission-copy > p:last-child { max-width: 600px; color: var(--muted); margin-top: 30px; }
.institution-list { border-top: 1px solid var(--line); }
.institution-list span { display: block; padding: 19px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.35rem); }

.support { min-height: 560px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; background: var(--red); color: var(--white); overflow: hidden; }
.support-number { font-family: var(--serif); font-size: clamp(14rem, 30vw, 32rem); line-height: .7; color: rgba(255,255,255,.12); }
.support-copy { max-width: 790px; position: relative; }
.support .section-kicker { color: rgba(255,255,255,.65); }
.support-copy p:not(.section-kicker) { max-width: 700px; color: rgba(255,255,255,.76); font-size: 1.08rem; margin: 30px 0; }
.text-link-dark { color: var(--white); }

.consultation { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.consultation-copy > p:last-child { max-width: 640px; margin-top: 28px; color: var(--muted); font-size: 1.08rem; }
.consultation-card { padding: clamp(28px, 4vw, 54px); background: var(--ink); color: var(--white); }
.consultation-card > p { margin: 0; font-family: var(--serif); font-size: 1.6rem; }
.consultation-card .check-list { margin: 22px 0 34px; }
.consultation-card .check-list li { border-color: rgba(255,255,255,.18); }
.consultation-card .check-list li::before { color: #e95762; }
.button-red { width: 100%; background: var(--red-bright); color: var(--white); }
.consultation-card small { display: block; margin-top: 16px; color: rgba(255,255,255,.52); }

.site-footer { min-height: 180px; padding: 44px clamp(24px, 6vw, 104px); display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: end; background: #0f0e0e; color: var(--white); }
.brand-footer { align-self: center; }
.site-footer p { margin: 0; max-width: 380px; color: rgba(255,255,255,.48); font-size: .86rem; }
.site-footer > a:last-child { text-underline-offset: 6px; font-size: .86rem; }

@media (max-width: 980px) {
  .site-header { position: fixed; min-height: 76px; background: rgba(91,9,15,.95); backdrop-filter: blur(14px); }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; display: none; top: 76px; left: 0; right: 0; padding: 22px 24px 30px; flex-direction: column; align-items: stretch; background: #5b090f; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 1rem; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 690px; padding-top: 130px; }
  .hero-image { min-height: 520px; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .card-number { margin-bottom: 48px; }
  .path { grid-template-columns: 1fr; }
  .advantage-card { position: static; }
  .format-grid { grid-template-columns: 1fr; }
  .format-card { min-height: 330px; }
  .admission, .consultation { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { padding-inline: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 0; }
  .hero-copy { min-height: 660px; padding: 122px 22px 44px; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.6rem); }
  .hero-lead { margin-top: 24px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .text-link { width: fit-content; }
  .hero-facts { padding-top: 40px; gap: 10px; }
  .hero-facts strong { font-size: 1.65rem; }
  .hero-facts span { font-size: .68rem; }
  .hero-image { min-height: 390px; background-position: 61% center; }
  .section { padding: 76px 22px; }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .intro-body > p:last-child { margin-left: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 38px; }
  .direction-card { padding: 28px 24px 36px; }
  .path-list li { grid-template-columns: 42px 1fr; }
  .advantage-card { padding: 30px 24px; }
  .format-card { min-height: 310px; padding: 30px 24px; }
  .format-card h3 { margin-top: 58px; }
  .support { grid-template-columns: 1fr; min-height: 570px; position: relative; }
  .support-number { position: absolute; left: -30px; bottom: 0; font-size: 19rem; }
  .support-copy { z-index: 1; }
  .consultation-card { margin-inline: -2px; }
  .button-red { font-size: .82rem; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
