:root {
  --ink: #101015;
  --ink-soft: #20202b;
  --paper: #fff9ef;
  --paper-2: #f0efe4;
  --cyan: #38b8d4;
  --green: #9bd84a;
  --coral: #f05f4e;
  --yellow: #ffd34d;
  --violet: #5d4bd3;
  --shadow: 0 22px 70px rgba(8, 8, 18, .22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(13, 13, 20, .82);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 0;
  text-decoration: none;
  line-height: 1.1;
}

.brand span {
  color: var(--green);
  font-weight: 900;
  font-size: clamp(.95rem, 1.4vw, 1.12rem);
  text-transform: uppercase;
}

.brand small {
  color: #f6f4e8;
  font-size: .78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  font-size: .92rem;
}

nav a {
  text-decoration: none;
  opacity: .86;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
  color: var(--yellow);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 92px;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 16, .94) 0%, rgba(8, 8, 16, .74) 38%, rgba(8, 8, 16, .16) 100%),
    linear-gradient(0deg, rgba(8, 8, 16, .9) 0%, rgba(8, 8, 16, 0) 48%);
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  margin: 0 0 clamp(48px, 8vh, 90px) clamp(18px, 7vw, 92px);
  color: #fff;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(4.2rem, 11vw, 8.6rem);
  line-height: .86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.subtitle {
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
}

.intro {
  max-width: 700px;
  font-size: clamp(1.04rem, 2vw, 1.26rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--coral);
  color: #fff;
}

.button.secondary {
  border: 1px solid currentColor;
  color: inherit;
}

.button.ghost {
  background: var(--green);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink);
}

.strip div {
  padding: clamp(18px, 3vw, 30px);
  background: #e7f3ef;
}

.strip strong,
.strip span {
  display: block;
}

.strip strong {
  color: var(--violet);
  text-transform: uppercase;
  font-size: .78rem;
}

.section,
.video-section,
.contact {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 6vw, 80px);
  scroll-margin-top: 92px;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.text-flow {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
}

.text-flow p {
  margin-bottom: 22px;
}

.video-section {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  width: min(940px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  width: min(820px, 100%);
}

.video-frame {
  width: min(980px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 4px solid var(--green);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: #f6e6d6;
}

.feature-copy {
  max-width: 840px;
  font-size: clamp(1.04rem, 1.55vw, 1.18rem);
}

.feature-band img {
  width: min(420px, 100%);
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.cite-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: #ffffff;
}

.cite-copy {
  max-width: 860px;
}

.cite-copy blockquote {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border-left: 6px solid var(--coral);
  background: #f3f4e4;
}

.cite-copy blockquote p {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  font-weight: 750;
}

.cite-section img {
  width: 100%;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
}

.mechanics {
  background: #13131b;
  color: #fff;
}

.mechanics-grid,
.programming-grid,
.review-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mechanics-grid article,
.programming-grid article,
.review-grid article,
.info-grid div,
.topics,
.featured-review {
  border-radius: 8px;
}

.mechanics-grid article {
  min-height: 250px;
  padding: 24px;
  background: #232331;
}

.mechanics-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 2.8rem;
  font-weight: 950;
  line-height: 1;
}

.school-section {
  background: #f3f4e4;
}

.school-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.topics {
  padding: 24px;
  color: #fff;
  background: var(--violet);
}

.topics ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.topics li {
  margin-bottom: 10px;
}

.callout {
  margin-top: clamp(30px, 5vw, 54px);
  padding: clamp(24px, 4vw, 46px);
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
}

.callout p {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 1.03;
}

.programming {
  background: #fff;
}

.programming-grid {
  grid-template-columns: repeat(3, 1fr);
}

.programming-grid article {
  padding: 26px;
  background: var(--paper-2);
}

.references {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  background: var(--ink);
  color: #fff;
}

.references span {
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.references strong,
.references a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: .95rem;
}

.references a {
  color: var(--yellow);
  font-weight: 850;
  text-decoration: none;
}

.moments {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #dff2f4;
}

.moment-copy {
  max-width: 720px;
}

.moment-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.moment-images img {
  width: 100%;
  height: clamp(210px, 28vw, 360px);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.moment-images img:nth-child(2) {
  margin-top: 34px;
}

.gallery-section {
  background: var(--ink);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.gallery-grid button {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #000;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.gallery-grid button:hover img,
.gallery-grid button:focus-visible img {
  transform: scale(1.06);
}

.reviews {
  background: #fff7d8;
}

.featured-review {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
  width: min(1080px, 100%);
  margin: 0 auto 24px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(8, 8, 18, .1);
}

.featured-review img {
  width: 100%;
  border-radius: 6px;
}

blockquote {
  margin: 0;
}

blockquote p {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 750;
}

cite {
  color: var(--violet);
  font-style: normal;
  font-weight: 850;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid article {
  padding: 22px;
  background: #fff;
}

.review-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
}

.infos {
  background: #eef0fb;
}

.info-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-grid div {
  min-height: 150px;
  padding: 22px;
  background: #fff;
}

.info-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--violet);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-grid strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 430px);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.contact h2 {
  color: var(--green);
}

.contact-actions {
  align-items: stretch;
}

.contact-actions .button,
.contact-actions .text-link {
  width: 100%;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--yellow);
  font-weight: 800;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  place-items: center;
  padding: 64px 18px 42px;
  background: rgba(5, 5, 10, .94);
  color: #fff;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 86vw);
  max-height: 76vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  padding: 10px 14px;
}

.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 58px;
  font-size: 2rem;
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

#lightboxCaption {
  margin: 16px 0 0;
  text-align: center;
}

footer {
  padding: 26px 18px;
  background: #08080d;
  color: #fff;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: calc(100svh - 96px);
    padding-top: 0;
  }

  .strip,
  .mechanics-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-columns,
  .feature-band,
  .cite-section,
  .school-layout,
  .moments,
  .contact,
  .featured-review {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  nav {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px 14px;
    font-size: .86rem;
  }

  .hero-content {
    margin-left: 18px;
  }

  .strip,
  .mechanics-grid,
  .programming-grid,
  .review-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .moment-images {
    grid-template-columns: 1fr;
  }

  .moment-images img,
  .moment-images img:nth-child(2) {
    height: auto;
    margin-top: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
  }
}
