:root {
  --ink: #06405c;
  --ink-2: #052f45;
  --orange: #ff8a16;
  --green: #35b65d;
  --sky: #e2f3f8;
  --cream: #fff8ee;
  --mist: #f7f9f9;
  --white: #fff;
  --muted: #5b7280;
  --line: rgba(6, 64, 92, 0.16);
  --shadow: 0 24px 70px rgba(5, 47, 69, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-2);
  background: var(--mist);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 47, 69, 0.78);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 47, 69, 0.96);
  box-shadow: 0 12px 34px rgba(5, 47, 69, 0.14);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  background: var(--orange);
  color: #171717;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 138, 22, 0.25);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-full {
  width: 100%;
}

.hero {
  min-height: 96svh;
  padding: 128px 0 0;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 30%, rgba(53, 182, 93, 0.28), transparent 28rem),
    linear-gradient(135deg, #052f45 0%, #06405c 60%, #0c5c74 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: 44px;
  align-items: end;
}

.hero-copy {
  padding-bottom: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

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

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(520px, 90vw);
  aspect-ratio: 1;
  right: 0;
  bottom: 54px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  max-height: 660px;
  object-fit: contain;
}

.date-card {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 74px;
  width: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.date-card span,
.date-card small {
  display: block;
  font-weight: 850;
  text-transform: uppercase;
}

.date-card strong {
  display: block;
  margin: 6px 0;
  color: var(--orange);
  font-size: 2.25rem;
  line-height: 1;
}

.section {
  padding: 88px 0;
}

.intro,
.register {
  background: var(--white);
}

.split,
.register-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p,
.split > div > p,
.partner-box p,
.form-card p,
.faq-grid p,
.day-grid p,
.skill-grid p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list p,
.register-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  color: var(--ink-2);
  font-weight: 700;
}

.check-list i,
.register-list i {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--green);
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.image-frame.tall img {
  height: 560px;
}

.stats {
  padding: 28px 0;
  background: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.stats-grid div {
  padding: 24px;
  background: var(--ink);
}

.stats-grid strong {
  display: block;
  color: var(--orange);
  font-size: 2.3rem;
  line-height: 1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

.curriculum {
  background: var(--sky);
}

.day-grid,
.skill-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.day-grid article,
.skill-grid article,
.faq-grid article,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(5, 47, 69, 0.08);
}

.day-grid article,
.skill-grid article,
.faq-grid article {
  padding: 24px;
}

.day-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--orange);
  color: #171717;
  font-weight: 900;
}

.skill-grid i {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--green);
}

.partner {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 47, 69, 0.9), rgba(5, 47, 69, 0.72)),
    url("../assets/images/partner-community.jpg") center / cover;
}

.partner h2,
.partner .eyebrow,
.partner-box p {
  color: var(--white);
}

.partner-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.partner-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.text-link {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.register-grid {
  align-items: start;
}

.register-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.form-card {
  padding: 30px;
}

.form-card h3 {
  font-size: 1.5rem;
}

.form-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

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

.site-footer {
  padding: 30px 0;
  background: #042233;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-grid a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: var(--radius);
    padding: 10px;
    background: var(--ink-2);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-grid,
  .split,
  .split-reverse,
  .register-grid,
  .partner-box {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-visual {
    min-height: 500px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 146px;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.7rem);
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual::before {
    bottom: 30px;
  }

  .date-card {
    width: 164px;
    padding: 16px;
    bottom: 42px;
  }

  .date-card strong {
    font-size: 1.65rem;
  }

  .day-grid,
  .stats-grid,
  .skill-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .image-frame img,
  .image-frame.tall img {
    height: 310px;
  }
}
