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

:root {
  --bg: #090705;
  --bg-soft: #120d08;
  --panel: #171008;
  --gold: #efb55b;
  --gold-dark: #9c5b1e;
  --cream: #f5dfb9;
  --text: #d2c2aa;
  --muted: #9f8e78;
  --line: rgba(239, 181, 91, 0.22);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 77, 18, 0.12), transparent 28rem),
    var(--bg);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(5, 4, 3, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 78px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-main {
  color: var(--gold);
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 1.35rem;
}

.brand-sub {
  color: #cbb796;
  letter-spacing: 4px;
  font-size: .62rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #eadbc5;
  font-size: .96rem;
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 8px;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 138px 24px 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(5, 4, 3, .38), rgba(5, 4, 3, .93)),
    radial-gradient(circle at 50% 45%, #5a310e 0%, #1b0f07 36%, #070605 76%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 940px;
}

.eyebrow {
  margin-bottom: 18px;
  color: #d79b47;
  text-transform: uppercase;
  letter-spacing: 8px;
  font-size: .76rem;
}

h1,
h2,
h3,
.hero-city {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  color: #ffe1a6;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: 5px;
  text-shadow:
    0 0 12px rgba(255, 188, 84, .58),
    0 0 45px rgba(202, 104, 16, .28);
}

.hero-city {
  margin-top: 18px;
  color: #fff2db;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 3px;
}

.magic-book {
  position: relative;
  width: 260px;
  height: 135px;
  margin: 34px auto 16px;
  perspective: 600px;
  filter: drop-shadow(0 0 34px rgba(244, 161, 56, .44));
}

.book-glow {
  position: absolute;
  inset: -70px -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 177, 60, .28), transparent 62%);
  animation: glowPulse 3.4s ease-in-out infinite alternate;
}

.book-left,
.book-right {
  position: absolute;
  top: 16px;
  width: 50%;
  height: 105px;
  border: 2px solid #e5ac5d;
  background:
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,0)),
    linear-gradient(135deg, #e7c58f, #8e5524 77%);
  box-shadow: inset 0 0 30px rgba(73, 36, 10, .38);
}

.book-left {
  left: 1px;
  border-radius: 12px 2px 6px 14px;
  transform: rotateY(15deg) rotateZ(4deg);
  transform-origin: right center;
}

.book-right {
  right: 1px;
  border-radius: 2px 12px 14px 6px;
  transform: rotateY(-15deg) rotateZ(-4deg);
  transform-origin: left center;
}

.book-spine {
  position: absolute;
  left: calc(50% - 2px);
  top: 21px;
  width: 4px;
  height: 98px;
  border-radius: 4px;
  background: #60320f;
  box-shadow: 0 0 12px #f3ba68;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
  color: #d9cab5;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 7px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  color: #130d07;
  background: linear-gradient(135deg, #c77a27, #f1bd66);
  box-shadow: 0 8px 30px rgba(207, 121, 33, .18);
}

.button-primary:hover {
  box-shadow: 0 12px 34px rgba(207, 121, 33, .32);
}

.button-secondary {
  color: #f5e3c6;
  border: 1px solid rgba(235, 176, 88, .58);
  background: rgba(255,255,255,.02);
}

.section {
  padding: 96px 24px;
}

.dark-section {
  background: #0d0a07;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading > span {
  display: inline-block;
  color: #c88e40;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: .73rem;
  margin-bottom: 8px;
}

.section-heading h2 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-heading p {
  color: #b9aa96;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.feature-visual {
  min-height: 380px;
  border: 1px solid rgba(233, 171, 81, .18);
  border-radius: 18px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(231, 147, 44, .22), transparent 26%),
    linear-gradient(145deg, #28180c, #0b0806 72%);
}

.feature-visual::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 189, 89, .2);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(255, 189, 89, .025),
    0 0 0 52px rgba(255, 189, 89, .018);
}

.mini-book {
  width: 190px;
  height: 105px;
  display: flex;
  position: relative;
  z-index: 2;
}

.mini-page {
  flex: 1;
  height: 100%;
  border: 2px solid #d69a4b;
  background: linear-gradient(135deg, #eed4a5, #8c5527);
}

.mini-page.left {
  transform: skewY(5deg);
  border-radius: 10px 0 0 10px;
}

.mini-page.right {
  transform: skewY(-5deg);
  border-radius: 0 10px 10px 0;
}

.feature-caption {
  position: absolute;
  bottom: 26px;
  left: 20px;
  right: 20px;
  text-align: center;
  color: #a99377;
  font-size: .9rem;
}

.copy h3 {
  color: #efd5a8;
  font-size: 2rem;
  margin-bottom: 18px;
}

.copy p + p {
  margin-top: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  min-height: 260px;
  padding: 32px 28px;
  border: 1px solid rgba(231, 169, 79, .17);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(44, 28, 15, .78), rgba(12, 9, 7, .95));
  transition: transform .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 169, 79, .42);
}

.number {
  color: #df9f49;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.card h3 {
  color: #f1d7ac;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.card p {
  color: #b9aa96;
}

.story-section {
  background:
    linear-gradient(rgba(14, 10, 7, .95), rgba(14, 10, 7, .95)),
    radial-gradient(circle at 50% 50%, #3d210c, #0c0907 70%);
}

.story-box {
  padding: 40px 42px;
  border-left: 3px solid #c57d2b;
  background: rgba(255,255,255,.025);
}

.story-box p {
  color: #d4c2a8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.schools-grid {
  align-items: stretch;
}

.check-list {
  margin-top: 24px;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 25px;
  color: #cbbba4;
}

.check-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-weight: 800;
}

.quote-card {
  display: grid;
  place-content: center;
  text-align: center;
  padding: 40px;
  min-height: 260px;
  border-radius: 16px;
  border: 1px solid rgba(231, 169, 79, .22);
  background: linear-gradient(145deg, #2b190c, #120d08);
}

.quote-card strong {
  display: block;
  color: #f1d4a4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.quote-card span {
  color: #bca98e;
}

.contact-section {
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(153, 82, 17, .18), transparent 42%),
    #0f0b08;
}

.footer {
  padding: 34px 22px;
  text-align: center;
  color: #7f705e;
  background: #050403;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: .9rem;
}

.footer div:first-child {
  color: #b99463;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.time-ring {
  position: absolute;
  border: 1px solid rgba(239, 181, 91, .12);
  border-radius: 50%;
  pointer-events: none;
}

.ring-one {
  width: 620px;
  height: 620px;
  animation: spin 28s linear infinite;
}

.ring-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  animation: spinReverse 20s linear infinite;
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #efb55b;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px #efb55b;
  animation: floatParticle linear infinite;
}

@keyframes glowPulse {
  from { transform: scale(.88); opacity: .55; }
  to { transform: scale(1.08); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes floatParticle {
  0% {
    transform: translateY(50px) scale(.7);
    opacity: 0;
  }
  15% { opacity: .75; }
  85% { opacity: .4; }
  100% {
    transform: translateY(-480px) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 850px) {
  .nav {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 20px 24px 26px;
    flex-direction: column;
    background: rgba(7, 5, 4, .98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 125px;
  }

  h1 {
    letter-spacing: 2px;
  }

  .magic-book {
    width: 215px;
    height: 120px;
  }

  .section {
    padding: 74px 20px;
  }

  .story-box {
    padding: 30px 24px;
  }

  .feature-visual {
    min-height: 300px;
  }
}
