/* The homepage cover follows the approved section-one composition. */
.home-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  background: rgba(249, 249, 249, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 4px 16px rgba(13, 24, 41, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .28s ease, box-shadow .28s ease;
}
.home-page.nav-visible .site-header {
  background: rgba(249, 249, 249, .42);
  border-bottom-color: rgba(255, 255, 255, .55);
  box-shadow: 0 6px 18px rgba(13, 24, 41, .13);
}
.home-page .site-header .brand { display: none; }
.home-page.nav-visible .site-header .brand { display: flex; }
.home-page .site-header .brand-name span { display: none; }
.home-page .site-header .brand-name { font-size: 23px; }
.home-page .nav nav { margin-left: auto; min-width: 0; color: var(--navy); font-weight: 600; }
.home-page .nav-cta { flex: none; white-space: nowrap; }
.home-page .nav-schedule {
  border: 0;
  padding: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}
.home-page .nav-schedule:hover,
.home-page .nav-schedule:focus-visible { color: var(--cyan); }
.home-page .menu-toggle { display: none; }

.schedule-dialog {
  width: min(840px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 0;
  border-radius: 22px;
  background: #f9f9f9;
  color: var(--navy);
  box-shadow: 0 24px 70px rgba(13, 24, 41, .28);
}
.schedule-dialog::backdrop {
  background: rgba(13, 24, 41, .55);
  backdrop-filter: blur(4px);
}
.schedule-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.schedule-dialog-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); }
.schedule-dialog .section-kicker { margin-bottom: 10px; }
.schedule-close {
  width: 38px;
  height: 38px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--ci-cream);
  color: var(--navy);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.schedule-close:hover { background: #e9dac3; }
.schedule-help { margin: 22px 0 0; font-weight: 600; }
.schedule-dialog .contact-groups { margin-top: 16px; gap: 16px; }
.schedule-dialog .contact-group { padding: 20px; background: #fff; }
.schedule-dialog .contact-group h3 { font-size: 18px; }

.home-page .hero {
  min-height: 100vh;
  min-height: 100svh;
  background: url('assets/banner.png') center center / cover no-repeat;
  color: var(--navy);
}
.home-page .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
  background: linear-gradient(90deg,
    rgba(249, 249, 249, .95) 0%,
    rgba(249, 249, 249, .88) 24%,
    rgba(249, 249, 249, .64) 43%,
    rgba(249, 249, 249, .16) 68%,
    transparent 85%);
  mask-image: none;
  pointer-events: none;
}
.home-page .hero-grid {
  width: min(1640px, calc(100% - 7vw));
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-block: clamp(116px, 15vh, 170px) clamp(34px, 6vh, 76px);
}
.hero-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.hero-logo {
  display: block;
  width: clamp(350px, 45vw, 650px);
  max-width: 62%;
  height: auto;
  object-fit: contain;
}
.hero-sponsor-wrap {
  position: relative;
  isolation: isolate;
  width: clamp(225px, 25vw, 390px);
  max-width: 34%;
  padding: 12px 14px;
}
.hero-sponsor-wrap::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -18px;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, .96) 12%,
    rgba(246, 239, 228, .79) 48%,
    rgba(242, 235, 222, 0) 78%);
  filter: blur(12px);
  pointer-events: none;
}
.hero-sponsors {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.home-page .hero-copy {
  width: min(100%, 980px);
  margin-top: auto;
  padding: 22px 0 0;
}
.home-page .hero h1 {
  max-width: 1000px;
  margin: 0;
  color: #0d1829;
  font-size: clamp(46px, 5vw, 82px);
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-page .hero h1 span { color: var(--cyan); }
.home-page .hero-lead {
  max-width: min(50vw, 720px);
  margin: clamp(18px, 2.7vh, 32px) 0 clamp(26px, 4vh, 42px);
  color: var(--navy);
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 1.6;
}
.hero-offer {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 .3em;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(18px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.35;
}
.hero-offer-number,
.hero-offer-free {
  color: var(--cyan);
  font-size: clamp(38px, 3.5vw, 59px);
  font-weight: 700;
  line-height: 1.1;
}
.hero-deadline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35em;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 600;
  line-height: 1.35;
}
.hero-deadline strong {
  color: var(--cyan);
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
}
.home-page .hero-actions { gap: 14px; }
.home-page .hero-actions .button {
  min-width: 215px;
  padding: 15px 22px;
  font-size: 17px;
}
.home-page .hero-actions .button-outline {
  background: rgba(249, 249, 249, .36);
  border: 2px solid var(--cyan);
}
.home-page .hero-actions .button-outline:hover { background: rgba(249, 249, 249, .7); }

@media (max-width: 1300px) {
  .home-page .hero-copy { margin-top: clamp(24px, 4vh, 48px); padding-top: 0; }
}

@media (max-width: 900px) {
  .home-page .hero-grid { width: calc(100% - 48px); }
  .hero-logo { width: 48vw; }
  .hero-sponsor-wrap { width: 30vw; }
  .home-page .hero h1 { font-size: clamp(43px, 6.2vw, 62px); }
  .home-page .hero::before {
    background: linear-gradient(90deg, rgba(249, 249, 249, .95), rgba(249, 249, 249, .78) 48%, rgba(249, 249, 249, .16) 88%);
  }
}

@media (max-width: 650px) {
  .home-page .hero { background-position: 64% center; }
  .home-page .hero::before {
    background: linear-gradient(90deg, rgba(249, 249, 249, .94), rgba(249, 249, 249, .72) 66%, rgba(249, 249, 249, .42));
  }
  .home-page .hero-grid {
    width: calc(100% - 32px);
    padding-block: 82px 28px;
  }
  .hero-brand-row { position: relative; display: block; min-height: 220px; }
  .hero-logo { width: min(86vw, 390px); max-width: 100%; margin-top: 91px; }
  .hero-sponsor-wrap { position: absolute; top: 0; right: 0; width: 180px; max-width: 52%; padding: 9px 10px; }
  .home-page .hero-copy { margin-top: 20px; padding-top: 0; }
  .home-page .hero h1 { font-size: clamp(38px, 10vw, 55px); line-height: 1.2; }
  .home-page .hero-lead { max-width: 100%; font-size: 16px; line-height: 1.55; margin-block: 18px 22px; }
  .hero-offer { font-size: 17px; margin-bottom: 12px; }
  .hero-offer-number, .hero-offer-free { font-size: 38px; }
  .hero-deadline { font-size: 17px; margin-bottom: 20px; }
  .hero-deadline strong { font-size: 32px; }
  .home-page .nav { min-height: 64px; gap: 8px; position: relative; }
  .home-page .nav nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(26, 61, 73, .12);
    border-radius: 15px;
    background: rgba(249, 249, 249, .97);
    box-shadow: 0 14px 35px rgba(13, 24, 41, .16);
    backdrop-filter: blur(14px);
    white-space: normal;
  }
  .home-page.menu-open .nav nav { display: flex; }
  .home-page .nav nav a:not(.nav-cta),
  .home-page .nav nav .nav-schedule {
    display: block;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #e1e7e1;
    text-align: left;
    font-size: 15px;
  }
  .home-page .nav nav a:last-child { border-bottom: 0; }
  .home-page .nav-cta { padding: 8px 9px; }
  .home-page .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(26, 61, 73, .2);
    border-radius: 9px;
    background: rgba(249, 249, 249, .78);
    color: var(--navy);
    cursor: pointer;
  }
  .home-page .menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .home-page .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .home-page .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .home-page .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .home-page .brand-logo { width: 30px; height: 30px; }
  .home-page .site-header .brand-name { font-size: 16px; }
  .home-page .hero-actions .button { min-width: 0; font-size: 15px; }
  .schedule-dialog .contact-groups { grid-template-columns: 1fr; }
  .schedule-dialog .contact-group { padding: 18px; }
}

@media (max-width: 420px) {
  .home-page .hero-actions { display: grid; grid-template-columns: 1fr; }
  .home-page .hero-actions .button { width: 100%; }
  .hero-brand-row { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .site-header { transition: none; }
}
