:root {
  --ink: #2f2b36;
  --burgundy: #8c2d43;
  --orange: #fe7341;
  --navy: #243c78;
  --paper: #ffffff;
  --mist: #f6f6f7;
  --line: #e4e4e8;
  --muted: #5c5864;
  --header: 128px;
  --wrap: 1600px;
  --font: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 43, 54, 0.06);
}

.header-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 104px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 16px;
  color: var(--ink);
}

.site-nav a:hover {
  color: var(--burgundy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.langs {
  display: flex;
  gap: 6px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d9d9de;
  border-radius: 8px;
  padding: 4px 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fff;
}

.lang.is-active {
  background: #f3f3f5;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d9d9de;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #1c1a22;
}

.hero {
  padding: 28px 0 20px;
}

.hero h1 {
  text-align: center;
  color: var(--burgundy);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 22px;
}

.gallery {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 23px;
  width: max-content;
  will-change: transform;
}

.gallery-track img,
.gallery-track video {
  height: 380px;
  width: auto;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
  background: #16141c;
}

.gallery-track video {
  aspect-ratio: 16 / 9;
  pointer-events: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 20px rgba(20, 16, 30, 0.18);
  cursor: pointer;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.gallery-nav.prev {
  left: 14px;
}

.gallery-nav.next {
  right: 14px;
}

.lede {
  max-width: 1240px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 19px;
}

.hero-action {
  display: flex;
  justify-content: center;
  margin: 26px 0 10px;
}

.align-start {
  justify-content: flex-start;
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 18px;
}

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

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.split.media-first {
  grid-template-columns: 0.8fr 1.2fr;
}

.vision-media,
.about-media,
.school-photos {
  display: grid;
  gap: 14px;
}

.vision-media {
  grid-template-columns: 180px 1fr;
  align-items: center;
}

.vision-media img,
.about-media img,
.school-photos img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
}

.vision-media img.round {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  justify-self: center;
  object-fit: cover;
  background: #e7e4f2;
}

.about-media img,
.school-photos img {
  height: 210px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 0 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--orange);
  font-size: 15px;
  line-height: 1.35;
}

.band {
  background: var(--mist);
}

.services {
  margin-top: 28px;
}

.service {
  position: sticky;
  z-index: 1;
  top: var(--header);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
  background: var(--mist);
  padding: 16px 0 10px;
}

.service:nth-child(2) {
  top: calc(var(--header) + 64px);
  z-index: 2;
}

.service:nth-child(3) {
  top: calc(var(--header) + 120px);
  z-index: 3;
}

.service img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 28px;
}

.service-card {
  background: var(--navy);
  color: #fff;
  border-radius: 36px;
  padding: 48px 42px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h2 {
  color: var(--orange);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 18px;
  line-height: 1.65;
}

.service + .service::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: var(--orange);
  border-radius: 999px;
  z-index: 1;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.product-card {
  width: auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  min-height: 72px;
}

.product-head h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.product-head img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

.product-card video,
.product-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
  border-radius: 6px;
}

.product-card .url {
  font-size: 20px;
  text-underline-offset: 3px;
}

.product-card .url a {
  color: var(--ink);
}

.product-card .blurb {
  font-size: 15px;
  color: var(--ink);
}

.marquee {
  overflow: hidden;
  margin-top: 28px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee img {
  height: 92px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.quote {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 280px;
}

.quote p {
  font-size: 15px;
}

.person {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.person img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.person strong {
  display: block;
  font-size: 16px;
}

.person span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.contact-grid {
  max-width: 720px;
}

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

.contact-copy a {
  color: var(--ink);
}

.form-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 26px;
  box-shadow: 0 10px 30px rgba(47, 43, 54, 0.05);
}

.form-card label {
  display: block;
  margin: 14px 0 6px;
  font-size: 14px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 0;
  background: #f3f3f5;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 18px;
}

.form-thanks {
  margin-top: 14px;
  font-size: 14px;
}

.site-footer {
  padding: 28px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding-top: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.site-footer h2 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
}

.site-footer nav a,
.social a {
  display: block;
  text-decoration: none;
  padding: 4px 0;
  font-size: 15px;
}

.site-footer nav a:hover,
.social a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 36px;
  color: #8d8a93;
  font-size: 14px;
}

.legal {
  padding: 48px 0 80px;
}

.legal h1 {
  font-size: 40px;
  font-weight: 650;
  margin-bottom: 18px;
}

.legal h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.legal p + p {
  margin-top: 12px;
}

.legal a {
  color: var(--burgundy);
}

@media (max-width: 980px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .brand {
    order: 1;
    margin-right: auto;
  }

  .header-actions {
    order: 2;
  }

  .brand img {
    width: 168px;
    height: auto;
  }

  .header-actions .btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0 16px;
  }

  body.nav-open .site-nav {
    display: flex;
    flex: 1 0 100%;
  }

  .split,
  .split.media-first,
  .service,
  .contact-grid,
  .quotes,
  .stats,
  .footer-grid,
  .vision-media {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .gallery-track img,
  .gallery-track video {
    height: 240px;
  }

  .service:nth-child(2) {
    top: calc(var(--header) + 36px);
  }

  .service:nth-child(3) {
    top: calc(var(--header) + 72px);
  }

  .service img {
    min-height: 220px;
    height: 240px;
  }

  .footer-brand {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .gallery-track {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
