:root {
  --navy: #192844;
  --navy-deep: #111c32;
  --navy-light: #344967;
  --red: #d51317;
  --red-dark: #ad1014;
  --gold: #faba5a;
  --cream: #f5f6f8;
  --paper: #fff;
  --ink: #192844;
  --muted: #657187;
  --sans: 'Poppins', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

.topline {
  min-height: 36px;
  padding: 7px 16px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
}

.topline-star {
  color: var(--gold);
  font-size: 13px;
}

.hero {
  min-height: 620px;
  padding: 36px 20px 70px;
  background:
    radial-gradient(ellipse at 50% 115%, rgba(86, 158, 198, .75), transparent 55%),
    linear-gradient(180deg, #162440 0%, #1b4267 25%, #287fa8 54%, #1d4167 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-moon {
  position: absolute;
  top: 34px;
  right: clamp(24px, 8vw, 120px);
  width: clamp(78px, 11vw, 142px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .8) 0 2%, transparent 3%),
    radial-gradient(circle at 66% 64%, rgba(202, 221, 239, .55) 0 5%, transparent 6%),
    radial-gradient(circle at 38% 72%, rgba(202, 221, 239, .45) 0 4%, transparent 5%),
    linear-gradient(145deg, #fff 8%, #e8f2fa 72%, #cbdced);
  box-shadow: 0 0 20px 7px rgba(225, 243, 255, .48), 0 0 75px 28px rgba(172, 221, 249, .3);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
}

.brand-logo {
  display: block;
  width: min(100%, 590px);
  height: auto;
  margin: 0 auto 13px;
  filter: drop-shadow(0 0 5px rgba(225, 241, 252, .85)) drop-shadow(0 0 17px rgba(119, 193, 232, .5));
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
}

.hero .eyebrow {
  color: #fff;
}

.eyebrow span {
  width: 23px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -1.2px;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-intro {
  max-width: 485px;
  margin: 0 auto;
  color: #e5eef7;
  font-size: 14px;
  line-height: 1.8;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 20px;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  transition: background-color .2s, border-color .2s, transform .2s;
}

.jump-link:hover {
  transform: translateY(-2px);
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.jump-link span {
  font-size: 15px;
}

.featured-video {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 28px 0;
}

.featured-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(25, 40, 68, .12);
  border-radius: 6px;
  background: var(--navy);
  box-shadow: 0 14px 35px rgba(25, 40, 68, .12);
}

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

.snow {
  position: absolute;
  color: var(--gold);
  z-index: 2;
  pointer-events: none;
}

.snow-one {
  top: 36%;
  left: 12%;
  font-size: 19px;
  text-shadow: 0 0 10px rgba(255, 255, 255, .75);
}

.snow-two {
  top: 25%;
  right: 12%;
  font-size: 23px;
  text-shadow: 0 0 10px rgba(255, 255, 255, .75);
}

.snow-three {
  top: 13%;
  right: 25%;
  font-size: 12px;
  text-shadow: 0 0 10px rgba(255, 255, 255, .75);
}

.calendar-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 28px 85px;
}

.section-heading {
  text-align: center;
}

.eyebrow.dark {
  color: var(--red);
}

.eyebrow.dark span {
  background: var(--gold);
}

.section-heading h2 {
  margin: 17px 0 10px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.8px;
}

.section-heading h2 em {
  color: var(--red);
  font-style: normal;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.calendar-label {
  margin-top: 43px;
}

.calendar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 19px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dce1e9;
}

.calendar-year {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.year-icon {
  color: var(--red);
  font-size: 17px;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}

.progress-track {
  width: 100px;
  height: 5px;
  overflow: hidden;
  border-radius: 8px;
  background: #dce1e9;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width .35s ease;
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.door-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  aspect-ratio: .83;
  overflow: hidden;
  padding: 12px 11px 10px;
  border: 1px solid #dce1e9;
  border-radius: 5px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}

.door-card.is-open {
  box-shadow: 0 3px 9px rgba(25, 40, 68, .06);
}

.door-card.is-open:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 22px rgba(25, 40, 68, .14);
}

.door-card.is-locked {
  border-color: #e0e3e9;
  background: #eceef2;
  color: #9aa2b1;
  cursor: default;
}

.door-topline,
.door-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.door-star {
  color: var(--gold);
  font-size: 12px;
}

.door-number {
  color: var(--red);
  font-size: 21px;
  font-weight: 700;
}

.is-locked .door-number {
  color: #9aa2b1;
}

.door-art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  height: 65%;
  max-height: 130px;
  transform: translate(-50%, -48%);
  border: 5px solid var(--gold);
  border-bottom: 0;
  border-radius: 48% 48% 0 0 / 23% 23% 0 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 25%, rgba(255, 255, 255, .08) 65%, rgba(0, 0, 0, .08)),
    var(--door-color, var(--red));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14), 2px 3px 5px rgba(0, 0, 0, .14);
}

.door-art::before {
  position: absolute;
  inset: 10px 8px 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-bottom: 0;
  border-radius: 42% 42% 0 0 / 20% 20% 0 0;
  content: "";
}

.door-tone-0 {
  --door-color: var(--red);
}

.door-tone-1 {
  --door-color: var(--navy);
}

.door-tone-2 {
  --door-color: #d99432;
}

.door-tone-3 {
  --door-color: #526a8e;
}

.is-locked .door-art {
  --door-color: #c5c9d1;
  border-color: #d5d8de;
  filter: saturate(.2);
  box-shadow: none;
}

.wreath {
  position: absolute;
  top: 25%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  border: 3px solid #2f6848;
  border-radius: 50%;
  background: #34794f;
  color: var(--gold);
  font-size: 12px;
  place-items: center;
}

.is-locked .wreath {
  border-color: #a7acb6;
  background: #a7acb6;
  color: #d9dce1;
}

.door-knob {
  position: absolute;
  top: 60%;
  right: 13%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 4px rgba(250, 186, 90, .4);
}

.is-locked .door-knob {
  background: #a7acb6;
}

.door-step {
  position: absolute;
  bottom: -5px;
  left: -12%;
  width: 124%;
  height: 6px;
  background: var(--gold);
}

.door-bottom {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .8px;
}

.door-date {
  color: var(--muted);
}

.door-status {
  color: var(--red);
}

.is-locked .door-status {
  color: #969dab;
  font-size: 7px;
}

.street-sign {
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: 5;
  max-width: 90%;
  transform: translate(-50%, -50%) rotate(-5deg);
  padding: 4px 10px;
  border: 2px solid #fff;
  border-radius: 3px;
  background: var(--navy);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .4px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.calendar-note {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.calendar-note span {
  margin-right: 5px;
  color: var(--red);
}

.closing-note {
  position: relative;
  overflow: hidden;
  padding: 62px 24px 55px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.closing-spark {
  color: var(--gold);
  font-size: 24px;
}

.closing-note .eyebrow {
  margin-top: 12px;
  color: var(--gold);
}

.closing-note h2 {
  margin: 17px 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

.closing-note h2 em {
  color: var(--gold);
  font-style: normal;
}

.closing-note > p:not(.eyebrow) {
  max-width: 480px;
  margin: 0 auto;
  color: #d9deea;
  font-size: 12px;
  line-height: 1.8;
}

.closing-rule {
  position: relative;
  width: 110px;
  height: 1px;
  margin: 26px auto 0;
  background: #58647b;
}

.closing-rule span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 10px;
  background: var(--navy);
  color: var(--gold);
}

footer {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  background: var(--navy-deep);
  color: #fff;
}

footer .footer-copy {
  display: flex;
  align-items: center;
  gap: 13px;
}

footer p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 1px;
}

footer .footer-mark {
  color: var(--gold);
  font-size: 13px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: #fff;
  transition: color .2s, border-color .2s, background-color .2s;
  place-items: center;
}

.social-links a:hover {
  border-color: var(--gold);
  background: rgba(250, 186, 90, .12);
  color: var(--gold);
}

.social-links a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-links a[href*="facebook"] svg {
  fill: currentColor;
  stroke: none;
}

.social-links a[href*="tiktok"] svg {
  fill: currentColor;
  stroke: none;
}

.social-links .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.video-modal {
  width: min(760px, calc(100% - 30px));
  max-width: none;
  overflow: visible;
  padding: 0;
  border: 1px solid #dce1e9;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .35);
  color: var(--navy);
}

.video-modal::backdrop {
  background: rgba(17, 28, 50, .78);
  backdrop-filter: blur(5px);
}

.modal-content {
  padding: 36px 40px 25px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.modal-kicker {
  color: #a36c19;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.modal-content h2 {
  margin: 12px 0 9px;
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.modal-description {
  max-width: 500px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
}

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

.video-placeholder {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.play-symbol {
  display: grid;
  width: 52px;
  height: 52px;
  padding-left: 4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 17px;
  place-items: center;
}

.video-placeholder p {
  margin: 13px 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.video-placeholder small {
  color: #d9deea;
  font-size: 10px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 19px;
  color: #a36c19;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.modal-footer span {
  font-size: 13px;
}

.modal-open {
  overflow: hidden;
}

.jump-link:focus-visible,
.door-card:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding: 24px 18px 56px;
  }

  .brand-logo {
    width: min(100%, 490px);
  }

  .featured-video {
    padding: 32px 22px 0;
  }

  .calendar-section {
    padding: 32px 22px 68px;
  }

  .doors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
  }

  .door-card {
    padding: 9px 8px 8px;
  }

  .door-number {
    font-size: 20px;
  }

  .door-bottom {
    font-size: 7px;
  }

  .door-art {
    width: 61%;
    height: 64%;
  }

  .street-sign {
    width: calc(100% - 12px);
    max-width: none;
    transform: translate(-50%, -50%);
    padding: 4px 5px;
    font-size: clamp(7px, 1.8vw, 9px);
    line-height: 1.25;
    letter-spacing: .2px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .calendar-meta {
    margin-top: 16px;
  }

  .modal-content {
    padding: 34px 20px 22px;
  }
}

@media (max-width: 420px) {
  .topline {
    gap: 8px;
    font-size: 8px;
    letter-spacing: 1.3px;
  }

  .hero {
    padding: 14px 15px 48px;
  }

  .brand-logo {
    width: min(100%, 380px);
    margin-bottom: 7px;
  }

  .hero-intro {
    font-size: 12px;
  }

  .doors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .door-card {
    aspect-ratio: .78;
    padding: 8px 6px 7px;
  }

  .door-number {
    font-size: 18px;
  }

  .door-art {
    width: 51%;
    height: 60%;
    border-width: 4px;
  }

  .wreath {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .door-status {
    font-size: 7px;
  }

  .calendar-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .calendar-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .progress-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .progress-track {
    max-width: 110px;
    flex: 1;
  }

  .section-copy {
    font-size: 12px;
  }

  .modal-content {
    padding: 32px 14px 18px;
  }

  .modal-description {
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .door-bottom {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: .3px;
  }

  .door-date,
  .door-status {
    white-space: nowrap;
  }

  .is-locked .door-status {
    font-size: inherit;
  }

  .door-art {
    top: 48%;
    height: 58%;
  }

  footer {
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
