:root {
  --black: #000000;
  --ink: #181a23;
  --paper: #ffffff;
  --warm: #eae7e0;
  --grey: #f1f1f1;
  --faq-open: #f2f2f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Special Gothic", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Special Gothic Condensed One", Impact, sans-serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(42px, 5vw, 77px);
  max-width: 520px;
}

h2 {
  font-size: clamp(38px, 3.5vw, 55px);
}

h3 {
  font-size: clamp(28px, 3vw, 28px);
  font-family: "Special Gothic", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 34px;
}

p {
  margin: 0;
  font-size: 24px;
  overflow-wrap: break-word;
}

p + p,
p + ul {
  margin-top: 20px;
}

.wrap {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--black);
  color: var(--paper);
}

.header-inner {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  width: min(23vw, 214px);
  min-width: 147px;
  overflow: hidden;
  order: 1;
}

.brand img {
  width: 100%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  order: 3;
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav a,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 20px 25px;
  border: 2px solid currentColor;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Special Gothic", Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.8px;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.cta:hover,
.cta:focus-visible {
  background: var(--paper);
  color: var(--black);
  outline: none;
}

.menu-toggle {
  display: none;
  order: 3;
  margin-left: auto;
  width: 48px;
  height: 48px;
  /*border: 1px solid var(--paper); */
  /*border-radius: 20px; */
  color: var(--paper);
  background: transparent;
  font-size: 22px;
}

.menu-toggle i::before {
  content: "\2630";
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.menu-toggle,
.menu-toggle:focus,
.menu-toggle:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}

body.menu-open .menu-toggle i::before {
  content: "\00d7";
}

.mobile-nav {
  display: none;
}

.hero {
  background: var(--paper);
  color: var(--ink);
}

.hero-inner {
  min-height: 590px;
  padding: 70px 0 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  margin-top: 0px;
}

.hero-text h1 {
  max-width: 520px;
}

.hero-text p {
  max-width: 560px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0;
}

.hero-image {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  align-self: center;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.happening {
  padding: 0 0 88px;
}

.content-box {
  width: 100%;
  padding: clamp(32px, 6vw, 76px);
  background: var(--warm);
  border-radius: 20px;
}

.content-box h2,
.students-box h2,
.faq-section h2 {
  margin-bottom: 34px;
}

.quote-section {
  max-width: 980px;
  margin: 52px auto 0;
  padding: 0;
  text-align: center;
}

.quote-section p {
  font-family: "Special Gothic Condensed One", Impact, sans-serif;
  font-size: clamp(38px, 3.5vw, 55px);
  line-height: 1.08;
}

.quote-section cite {
  display: block;
  margin-top: 30px;
  font-family: font-family: "Special Gothic", Arial, sans-serif;
  font-size: clamp(24px, 3.5vw, 24px);
  line-height: 1.08;
  font-style: normal;
}

.students {
  padding: 0 0 82px;
  background: var(--paper);
}

.students-box {
  padding: clamp(32px, 6vw, 76px);
  background: var(--grey);
  border-radius: 20px;
}

.student-grid {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.student-grid article {
  min-width: 0;
}

.student-grid ul {
  padding-left: 1.1em;
}

.student-grid li + li {
  margin-top: 8px;
}

.faq-section {
  padding: 86px 0 96px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--warm);
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 78px;
  padding: 30px 28px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  background: var(--warm);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-family: "Special Gothic Condensed One", Impact, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.faq-question i {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  text-align: center;
  font-size: 18px;
}

.faq-question i::before {
  content: "+";
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.faq-item.is-open .faq-question i::before {
  content: "\2212";
}

.faq-answer {
  display: none;
  padding: 30px 28px 34px;
  background: var(--faq-open);
}

.faq-item.is-open .faq-question {
  background: var(--faq-open);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.future {
  padding: 0;
  background: var(--paper);
  color: var(--paper);
}

.future-inner {
  max-width: 1180px;
  padding: clamp(48px, 7vw, 92px) clamp(32px, 6vw, 76px);
  background: var(--black);
  border-radius: 20px;
}

.future h2 {
  color: var(--paper);
  margin-bottom: 28px;
  font-size: clamp(48px, 5vw, 48px);
}

.future p {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Special Gothic Condensed One", Impact, sans-serif;
  line-height: 1.5;
}

.cta-section {
  padding: 42px 0 86px;
  background: var(--paper);
}

.cta-section .cta-row {
  margin-top: 0;
  justify-content: center;
}

.cta-section .cta {
  flex: 1 1 0;
  min-width: 0;
}

.cta-row {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.cta:hover,
.cta:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.future-media {
  overflow: hidden;
}

.future-media img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.site-footer {
  padding: 48px 0;
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  flex: 0 0 auto;
  width: min(150px, 25vw);
  overflow: hidden;
}

.footer-logo img {
  width: 100%;
}

.footer-inner p {
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 820px) {
  body {
    font-size: 24px;
  }

  p {
    font-size: 20px;
  }

  .wrap,
  .header-inner {
    width: calc(100% - 34px);
    max-width: 680px;
  }

  main,
  section,
  .wrap,
  .content-box,
  .student-grid,
  .future-grid {
    max-width: 100%;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 0;
    padding: 30px 0;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand {
    width: 111px;
    min-width: 0;
  }

  .mobile-nav {
    position: fixed;
    inset: 120px 0 auto;
    padding: 20px 17px 24px;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .mobile-nav a {
    width: 100%;
  }

  .hero-inner {
    min-height: auto;
    padding: 48px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-text {
    display: contents;
  }

  .hero-text h1 {
    order: 1;
  }

  .hero-image {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    order: 2;
  }

  .hero-text p {
    order: 3;
  }

  .intro {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  h3 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .intro {
    padding: 48px 0;
  }

  .happening {
    padding-bottom: 58px;
  }

  .content-box {
    padding: 38px 17px;
  }

  .students,
  .faq-section {
    padding: 56px 0;
  }

  .future {
    padding: 0;
  }

  .cta-section {
    padding: 30px 0 56px;
  }

  .student-grid {
    gap: 32px;
  }

  .future-inner {
    text-align: left;
    max-width: 100%;
  }

  .future p {
    margin: 20px 0 0;
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
    /*align-items: flex-start; */
    gap: 16px;
    text-align: left;
  }

  .footer-logo {
    width: 120px;
  }

  .faq-question {
    min-height: 68px;
    padding: 30px 17px;
  }

  .faq-question span {
    font-size: 30px;
  }

  .faq-answer {
    padding: 24px 17px 28px;
  }

  .future-media {
    order: -1;
  }

  .future-media img {
    aspect-ratio: 1 / 0.82;
  }

  .cta-row {
    display: grid;
  }

  .cta-section .cta {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 140px;
  }

  .hero-inner {
    min-height: 450px;
  }
}

/* Interaction animations */
.menu-toggle,
.menu-toggle i,
.desktop-nav a,
.mobile-nav a,
.cta,
.faq-question,
.faq-question i {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--paper);
  color: var(--black);
  outline: none;
}

body.menu-open .menu-toggle i {
  transform: rotate(90deg);
}

.mobile-nav {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
  will-change: opacity, transform;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  opacity: 0;
  transform: translateY(-6px);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.mobile-nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open a:nth-child(2) {
  transition-delay: 45ms;
}

.faq-item {
  transition:
    background-color 240ms ease,
    box-shadow 240ms ease;
}

.faq-item.is-open {
  box-shadow: 0 12px 24px rgba(24, 26, 35, 0.08);
}

.faq-question:hover i,
.faq-question:focus-visible i {
  transform: scale(1.08);
}

.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition:
    max-height 340ms ease,
    opacity 240ms ease,
    padding-top 340ms ease,
    padding-bottom 340ms ease,
    background-color 240ms ease;
  will-change: max-height, opacity;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
  padding-top: 30px;
  padding-bottom: 34px;
}

@media (max-width: 820px) {
  .faq-item.is-open .faq-answer {
    padding-top: 24px;
    padding-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep anchored section headings visible below the sticky desktop header. */
section[id] {
  scroll-margin-top: 200px;
}

/* Use the mobile header height, plus a small gap, on smaller screens. */
@media (max-width: 820px) {
  section[id] {
    scroll-margin-top: 130px;
  }
}