@font-face {
  font-family: "Alexandria";
  src: url("/assets/fonts/Alexandria-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #061b3a;
  --navy-900: #082653;
  --blue-600: #1169b3;
  --cyan-500: #00a8cf;
  --purple-500: #9a4a98;
  --coral-500: #e2635f;
  --white: #ffffff;
  --text-soft: #d7e2f2;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--navy-950);
  color: var(--white);
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.brand-strip {
  position: fixed;
  inset: 0 0 auto 0;
  height: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 5;
}
.brand-strip span:nth-child(1) { background: var(--blue-600); }
.brand-strip span:nth-child(2) { background: var(--cyan-500); }
.brand-strip span:nth-child(3) { background: var(--purple-500); }
.brand-strip span:nth-child(4) { background: var(--coral-500); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3.5vh, 28px) clamp(16px, 5vw, 64px) clamp(14px, 3vh, 24px);
  background:
    radial-gradient(ellipse 70% 75% at 50% 52%, rgba(6, 27, 58, .86) 0%, rgba(6, 27, 58, .72) 55%, rgba(6, 27, 58, .5) 100%),
    linear-gradient(180deg, rgba(6, 27, 58, .35) 0%, rgba(6, 27, 58, 0) 30%, rgba(6, 27, 58, 0) 70%, rgba(6, 27, 58, .7) 100%),
    url("/assets/school-facade.jpg") 40% 30% / cover no-repeat,
    var(--navy-950);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.logo {
  display: inline-flex;
  margin-bottom: clamp(12px, 3vh, 28px);
  border-radius: 8px;
}
.logo img {
  display: block;
  width: clamp(120px, 20vh, 200px);
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(6, 27, 58, .55));
}

.lang-toggle {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: rgba(6, 27, 58, .55);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 20px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.lang-toggle:hover { background: rgba(255, 255, 255, .14); }

.content {
  margin: auto;
  width: 100%;
  max-width: 820px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 clamp(6px, 1.4vh, 14px);
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 600;
  color: var(--text-soft);
}

h1 {
  margin: 0;
  font-size: clamp(32px, min(5.4vw, 8vh), 66px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}
html[lang="en"] h1 { letter-spacing: -.025em; line-height: 1.1; }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: clamp(10px, 2.2vh, 22px) 0 0;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
}
.soon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral-500);
  animation: pulse 1.8s ease-in-out infinite;
}

.lead {
  margin: clamp(10px, 2.2vh, 22px) 0 0;
  max-width: 620px;
  font-size: clamp(15px, 1.9vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-soft);
}
html[lang="en"] .lead { line-height: 1.65; }

.interim {
  width: 100%;
  max-width: 560px;
  margin-top: clamp(14px, 3vh, 30px);
  padding-top: clamp(12px, 2.2vh, 20px);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.interim-title {
  margin: 0 0 clamp(8px, 1.4vh, 14px);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
}
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue-600); color: var(--white); border: 1px solid var(--blue-600); }
.btn-primary:hover { background: #0d5797; border-color: #0d5797; }
.btn-ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
}

.footer { margin-top: clamp(10px, 2.5vh, 28px); text-align: center; }
.footer p { margin: 0; font-size: 13px; color: #a9b8cf; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}

@media (prefers-reduced-motion: reduce) {
  .soon-dot { animation: none; }
}

@media (max-width: 560px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(6, 27, 58, .74) 0%, rgba(6, 27, 58, .8) 50%, rgba(6, 27, 58, .9) 100%),
      url("/assets/school-facade.jpg") 46% 50% / cover no-repeat,
      var(--navy-950);
  }
  .hero { padding-top: 22px; padding-bottom: 18px; }
  .logo img { width: 132px; }
  .lang-toggle { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .interim-title { font-size: 14px; }
  .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 15px; min-height: 46px; }
  .footer p { font-size: 12px; }
}

@media (max-height: 680px) {
  .logo img { width: clamp(96px, 16vh, 150px); }
  .lead { font-size: 15px; line-height: 1.6; }
}

@media (max-width: 560px) and (max-height: 700px) {
  .logo img { width: 88px; }
  .logo { margin-bottom: 10px; }
  h1 { font-size: 30px; }
  .lead { font-size: 14px; line-height: 1.6; }
  .interim-title { font-size: 13px; }
}
