@font-face {
  font-family: "Charcuterie Block";
  src: url("charcuterie-block-bold[41].otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --cs-hero-black: #050505;
  --cs-hero-ink: #241604;
  --cs-hero-cream: #fff8e8;
  --cs-hero-white: #ffffff;
  --cs-hero-yellow: #fbea00;
  --cs-hero-blue: #006e98;
  --cs-hero-blue-deep: #004e6d;
  --cs-hero-green: #073c24;
  --cs-hero-font-display: "Charcuterie Block", Rockwell, "Arial Black", serif;
  --cs-hero-font-body: "Coustard", Georgia, serif;
  --cs-hero-font-sans: "DM Sans", Arial, sans-serif;
  --cs-hero-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

:is(.recap-hero, .lightbox, .updates-dialog),
:is(.recap-hero, .lightbox, .updates-dialog) *,
:is(.recap-hero, .lightbox, .updates-dialog) *::before,
:is(.recap-hero, .lightbox, .updates-dialog) *::after {
  box-sizing: border-box;
}

body:has(.lightbox[open], .updates-dialog[open]) {
  overflow: hidden;
}

.recap-hero button,
.updates-dialog button,
.updates-dialog input {
  font: inherit;
}

.recap-hero button,
.updates-dialog button,
.lightbox button {
  -webkit-tap-highlight-color: transparent;
}

.recap-hero button,
.updates-dialog button,
.lightbox button {
  cursor: pointer;
}

.recap-hero img,
.recap-hero video,
.lightbox video {
  display: block;
  max-width: 100%;
}

.recap-hero :is(h1, p),
.updates-dialog :is(h2, p) {
  margin-top: 0;
}

.recap-hero .button,
.updates-dialog .button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 0.72rem 1.2rem 0.64rem;
  font-family: var(--cs-hero-font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.recap-hero .button:hover,
.updates-dialog .button:hover {
  transform: translateY(-2px);
}

.recap-hero .button:active,
.updates-dialog .button:active {
  transform: translateY(0);
}

.recap-hero .button:focus-visible,
.updates-dialog .button:focus-visible,
.updates-link:focus-visible,
.updates-dialog .dialog-close:focus-visible,
.lightbox__close:focus-visible {
  outline: 3px solid var(--cs-hero-white);
  outline-offset: 4px;
}

.recap-hero .button--recap,
.updates-dialog .button--recap {
  background: var(--cs-hero-yellow);
  color: var(--cs-hero-blue-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.recap-hero .button--recap:hover,
.updates-dialog .button--recap:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36);
}

/* Recap hero */
.recap-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--cs-hero-black);
  color: var(--cs-hero-white);
  font-family: var(--cs-hero-font-body);
  line-height: 1.55;
}

.recap-hero__media,
.recap-hero__shade,
.recap-hero__fade {
  position: absolute;
  inset: 0;
}

.recap-hero__media {
  z-index: -3;
  background: var(--cs-hero-black);
}

.recap-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88) contrast(1.06);
}

.recap-hero__shade {
  z-index: 1;
  background: rgba(0, 0, 0, 0.38);
}

.recap-hero__fade {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.18) 36%, rgba(0, 0, 0, 0.48) 68%, #000000 100%),
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.28) 68%, rgba(0, 0, 0, 0.62) 100%);
}

.has-hero-light-trail .recap-hero__shade {
  background: rgba(0, 0, 0, 0.08);
}

.has-hero-light-trail .recap-hero__fade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0.1) 68%, #000000 100%),
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 68%, rgba(0, 0, 0, 0.14) 100%);
}

.recap-hero__trail-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.recap-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 2rem), 56.25rem);
  height: 100%;
  align-content: center;
  justify-items: center;
  gap: 0;
  margin-inline: auto;
  padding: clamp(0.8rem, 2vh, 1.5rem) 0 clamp(5.6rem, 9vh, 7.5rem);
  text-align: center;
}

.hero-logo-frame {
  position: absolute;
  top: clamp(3.4rem, 7.4vh, 5.75rem);
  right: 0;
  left: 0;
  width: clamp(11.5rem, 19.5vw, 16.75rem);
  height: clamp(5.75rem, 9.75vw, 8.4rem);
  margin-inline: auto;
  overflow: hidden;
}

.hero-logo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.hero-heading {
  display: grid;
  gap: 0.24rem;
  margin-bottom: clamp(0.9rem, 2vh, 1.45rem);
}

.hero-eyebrow {
  margin: 0;
  font-family: var(--cs-hero-font-display);
  font-size: clamp(1rem, 2.1vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.hero-heading h1 {
  margin: 0;
  font-family: var(--cs-hero-font-display);
  font-size: clamp(2.45rem, 6vw, 5.3rem);
  letter-spacing: 0.025em;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.74);
}

.hero-recap {
  display: grid;
  max-width: 54rem;
  justify-items: center;
  gap: clamp(1rem, 2.2vh, 1.5rem);
}

.hero-recap .button--recap {
  font-size: clamp(1.2rem, calc(1.4vw + 0.25rem), 1.43rem);
}

.hero-recap p,
.hero-updates p {
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.88);
}

.hero-recap p {
  font-size: clamp(0.85rem, 1.4vw, 1.08rem);
}

.hero-recap strong {
  color: var(--cs-hero-yellow);
  font-weight: 900;
}

.hero-updates {
  position: absolute;
  right: 0;
  bottom: clamp(7.8rem, 14vh, 9.9rem);
  left: 0;
  display: grid;
  width: min(calc(100% - 2rem), 40rem);
  max-width: none;
  justify-items: center;
  gap: clamp(0.65rem, 1.4vh, 0.95rem);
  margin-inline: auto;
}

.hero-updates p {
  width: 100%;
  font-size: clamp(0.78rem, 1.25vw, 0.98rem);
}

/* Updates trim-path button */
.updates-link {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  isolation: isolate;
  min-height: 2.8rem;
  overflow: hidden;
  border: 0;
  padding: 0.65rem 1rem 0.58rem;
  background: transparent;
  color: var(--cs-hero-yellow);
  font-family: var(--cs-hero-font-display);
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 260ms ease;
}

.updates-link:hover,
.updates-link:focus-visible {
  background: rgba(251, 234, 0, 0.1);
  color: var(--cs-hero-white);
}

.updates-link__label {
  position: relative;
  z-index: 3;
}

.updates-link__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle 4.5rem at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.38), rgba(251, 234, 0, 0.12) 34%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.updates-link:hover .updates-link__shine,
.updates-link:focus-visible .updates-link__shine {
  opacity: 1;
}

.trim-edge {
  position: absolute;
  z-index: 4;
  display: block;
  background: var(--cs-hero-yellow);
  pointer-events: none;
  transition-duration: 170ms;
  transition-timing-function: ease-out;
}

.trim-edge--top,
.trim-edge--bottom {
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
}

.trim-edge--right,
.trim-edge--left {
  top: 0;
  width: 2px;
  height: 100%;
  transform: scaleY(0);
}

.trim-edge--top {
  top: 0;
  transform-origin: left;
}

.trim-edge--right {
  right: 0;
  transform-origin: top;
  transition-delay: 70ms;
}

.trim-edge--bottom {
  right: 0;
  bottom: 0;
  left: auto;
  transform-origin: right;
  transition-delay: 140ms;
}

.trim-edge--left {
  top: auto;
  bottom: 0;
  left: 0;
  transform-origin: bottom;
  transition-delay: 210ms;
}

.updates-link:hover .trim-edge--top,
.updates-link:focus-visible .trim-edge--top,
.updates-link:hover .trim-edge--bottom,
.updates-link:focus-visible .trim-edge--bottom {
  transform: scaleX(1);
}

.updates-link:hover .trim-edge--right,
.updates-link:focus-visible .trim-edge--right,
.updates-link:hover .trim-edge--left,
.updates-link:focus-visible .trim-edge--left {
  transform: scaleY(1);
}

/* Bottom reveal bar */
.reveal-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: clamp(3.7rem, 7vh, 4.7rem);
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(90deg, #ffd100 0%, var(--cs-hero-yellow) 45%, #f4ae00 100%);
  color: var(--cs-hero-ink);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.22);
}

.reveal-bar p {
  margin: 0;
  font-family: var(--cs-hero-font-body);
  font-size: clamp(0.68rem, 0.95vw, 0.84rem);
  font-weight: 400;
  text-transform: uppercase;
  text-wrap: balance;
}

.recap-hero .button--reveal {
  min-height: 2.5rem;
  padding: 0.58rem 0.9rem 0.5rem;
  background: var(--cs-hero-blue-deep);
  color: var(--cs-hero-yellow);
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
}

.has-js .hero-reveal {
  opacity: 0;
  transform: translateY(1.15rem);
}

.has-js.is-ready .hero-reveal {
  animation: hero-enter 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(120ms + (var(--reveal-order) * 145ms));
}

.has-js.is-ready .reveal-bar {
  animation-name: bar-enter;
  transform: translateY(100%);
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bar-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Recap lightbox */
.lightbox,
.updates-dialog {
  border: 0;
  padding: 0;
  color: inherit;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: none;
}

.lightbox {
  width: min(calc(100vw - 2rem), calc(177.78svh - 3.56rem), 72rem);
  max-width: 72rem;
  height: auto;
  max-height: calc(100svh - 2rem);
  margin: auto;
  overflow: visible;
  background: transparent;
  color: var(--cs-hero-white);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox__content {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: 1.35rem;
  background: #000;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.72);
}

.lightbox__content::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  box-sizing: border-box;
  border: 2px solid #000;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.lightbox__video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: inherit;
  background: #000;
}

.lightbox__close,
.updates-dialog .dialog-close {
  position: absolute;
  z-index: 10;
  top: 1rem;
  right: 1rem;
  min-height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: rgba(0, 0, 0, 0.65);
  color: var(--cs-hero-white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CS27 updates dialog */
.updates-dialog::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(8px);
}

.updates-dialog {
  width: min(calc(100% - 2rem), 42rem);
  max-height: min(80svh, 42rem);
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--cs-hero-cream);
  color: var(--cs-hero-ink);
  box-shadow: var(--cs-hero-shadow);
  font-family: var(--cs-hero-font-body);
  line-height: 1.55;
}

.updates-dialog__content {
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: auto;
}

.updates-dialog .section-kicker {
  margin-bottom: 0.7rem;
  color: var(--cs-hero-blue-deep);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.updates-dialog h2 {
  margin-bottom: 1rem;
  color: var(--cs-hero-blue-deep);
  font-family: var(--cs-hero-font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: 0.015em;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.updates-dialog .dialog-close {
  border-color: rgba(36, 22, 4, 0.22);
  background: var(--cs-hero-blue-deep);
}

.updates-dialog__content > p:not(.section-kicker) {
  margin-bottom: 1.5rem;
}

.updates-form {
  display: grid;
  gap: 0.5rem;
}

.updates-form label {
  margin-top: 0.35rem;
  color: var(--cs-hero-blue-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.updates-form input {
  min-height: 3.25rem;
  border: 2px solid rgba(36, 22, 4, 0.24);
  border-radius: 0;
  padding: 0.65rem 0.8rem;
  background: var(--cs-hero-white);
  color: var(--cs-hero-ink);
}

.updates-form input:focus {
  border-color: var(--cs-hero-blue);
  outline: 3px solid rgba(0, 110, 152, 0.18);
}

.updates-form .button {
  margin-top: 0.85rem;
}

.updates-form__status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--cs-hero-green);
  font-size: 0.84rem;
  font-weight: 900;
}

@media (max-width: 47.99rem) {
  .recap-hero__content {
    gap: 0;
    padding-bottom: clamp(6.1rem, 12vh, 7.5rem);
  }

  .hero-logo-frame {
    top: clamp(2.75rem, 5.8vh, 3.45rem);
    width: clamp(11.5rem, 49vw, 15rem);
    height: clamp(5.75rem, 24.5vw, 7.5rem);
  }

  .hero-heading {
    margin-bottom: clamp(0.7rem, 1.5vh, 1.05rem);
  }

  .hero-heading h1 {
    font-size: clamp(2.15rem, 11vw, 3.55rem);
  }

  .hero-recap {
    max-width: 35rem;
  }

  .hero-updates {
    bottom: 8.85rem;
    width: min(calc(100% - 1.5rem), 36rem);
  }

  .hero-recap p,
  .hero-updates p {
    max-width: 32rem;
  }

  .reveal-bar {
    min-height: 5.25rem;
    flex-direction: column;
    gap: 0.35rem;
    padding-block: 0.55rem;
    text-align: center;
  }
}

@media (max-height: 43rem) and (min-width: 48rem) {
  .recap-hero__content {
    gap: 0;
    padding-bottom: 4.7rem;
  }

  .hero-logo-frame {
    top: 2.35rem;
    width: 12rem;
    height: 6rem;
  }

  .hero-heading {
    margin-bottom: 0.35rem;
  }

  .hero-heading h1 {
    font-size: clamp(2rem, 6.5vh, 3.15rem);
  }

  .hero-eyebrow {
    font-size: 0.92rem;
  }

  .hero-recap p,
  .hero-updates p {
    font-size: 0.78rem;
  }

  .hero-recap {
    gap: 0.45rem;
  }

  .hero-updates {
    bottom: 6.35rem;
    gap: 0.25rem;
  }

  .recap-hero .button--recap {
    min-height: 2.5rem;
  }

  .reveal-bar {
    min-height: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.recap-hero, .lightbox, .updates-dialog),
  :is(.recap-hero, .lightbox, .updates-dialog) *,
  :is(.recap-hero, .lightbox, .updates-dialog) *::before,
  :is(.recap-hero, .lightbox, .updates-dialog) *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .has-js .hero-reveal {
    opacity: 1;
    transform: none;
  }

  .recap-hero {
    position: relative;
    top: auto;
  }
}
