:root {
  --font-geist-sans: 'Source Sans 3';
  --font-geist-mono: 'Roboto Mono';
  --font-military-display: 'Oswald';
}

body.dhc-canvas .fl-builder-content,
body.dhc-canvas .fl-row,
body.dhc-canvas .fl-row-content-wrap,
body.dhc-canvas .fl-row-content,
body.dhc-canvas .fl-col-group,
body.dhc-canvas .fl-col,
body.dhc-canvas .fl-col-content,
body.dhc-canvas .fl-module,
body.dhc-canvas .fl-module-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.dhc-canvas .legacy-builder-row { margin: 0; padding: 0; }
body.dhc-canvas .fl-builder-content { overflow: hidden; }
body.dhc-canvas.admin-bar .nav { top: 32px; }

.creator-archive-photo {
  position: relative;
  max-width: 980px;
  margin: 0 0 58px;
  border: 1px solid rgba(214, 166, 45, 0.48);
  overflow: hidden;
}

.creator-archive-photo img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 34%;
}

.creator-archive-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 18px 22px;
  color: #f7f3e9;
  background: linear-gradient(transparent, rgba(17, 18, 15, 0.94));
  font: 650 10px/1.4 var(--font-geist-mono), monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/*
 * DHC cinematic opening.
 * The hero remains a labeled Beaver Builder HTML section. Media URLs are
 * theme-local so the editor stays portable between staging and a final URL.
 */
.hero.hero-cinematic {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: end;
  min-height: calc(100svh - 82px);
  height: auto;
  padding: clamp(118px, 14vh, 174px) clamp(28px, 6.4vw, 104px) clamp(78px, 9vh, 112px);
  overflow: hidden;
  background: #080a09;
}

.hero.hero-cinematic::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, .95) 0%, rgba(5, 6, 6, .76) 42%, rgba(5, 6, 6, .2) 72%, rgba(5, 6, 6, .62) 100%),
    linear-gradient(0deg, rgba(5, 6, 6, .92) 0%, transparent 46%, rgba(5, 6, 6, .28) 100%);
  box-shadow: inset 0 0 0 1px rgba(213, 169, 53, .14);
}

.hero.hero-cinematic::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, #d5a935 0 19%, #73766f 19% 36%, #151713 36% 100%);
}

.hero-media,
.hero-wash {
  position: absolute;
  z-index: -4;
  inset: 0;
}

.hero-media {
  background: #111410 url("assets/media/west-point-hero-poster.png") center / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(.72) contrast(1.04) brightness(.85);
}

.hero-wash {
  z-index: -3;
  opacity: .18;
  background-image:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), rgba(255,255,255,.16) 12.5%),
    linear-gradient(115deg, transparent 0 59%, rgba(213,169,53,.44) 59.15%, transparent 59.3%);
  mix-blend-mode: screen;
}

.hero-cinematic .hero-copy {
  z-index: 2;
  max-width: 890px;
  padding-right: clamp(20px, 6vw, 90px);
}

.hero-cinematic .eyebrow {
  margin-bottom: clamp(24px, 4vh, 44px);
  color: #f3d77f;
  font-family: var(--font-geist-mono), monospace;
  letter-spacing: .19em;
}

.hero-cinematic h1 {
  max-width: 900px;
  color: #f8f5ec;
  font-family: var(--font-military-display), 'Arial Narrow', sans-serif;
  font-size: clamp(82px, 10.7vw, 176px);
  font-weight: 700;
  line-height: .75;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 10px 44px rgba(0,0,0,.4);
}

.hero-cinematic h1 span {
  display: block;
  margin-left: 0;
}

.hero-cinematic h1 span:nth-child(2) {
  margin-left: .18em;
  color: #c8c9c6;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
}

.hero-cinematic h1 span:nth-child(3) {
  color: #d5a935;
}

.hero-cinematic .hero-deck {
  margin: clamp(30px, 4vh, 48px) 0 14px;
  color: #f8f5ec;
  font-family: var(--font-military-display), 'Arial Narrow', sans-serif;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .015em;
}

.hero-cinematic .hero-credit {
  max-width: 720px;
  color: #d2d3ce;
  font-size: 14px;
}

.hero-cinematic .hero-credit strong {
  color: #fff;
}

.hero-cinematic .hero-actions {
  margin-top: 32px;
}

.hero-monument {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(35vw, 520px);
  height: min(67vh, 720px);
  margin-bottom: 3vh;
  border: 1px solid rgba(213,169,53,.7);
  background: #111;
  box-shadow: 0 34px 90px rgba(0,0,0,.44);
  overflow: hidden;
  clip-path: polygon(9% 0, 100% 0, 100% 91%, 91% 100%, 0 100%, 0 9%);
}

.hero-monument::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,8,7,.84), transparent 46%), linear-gradient(145deg, rgba(213,169,53,.18), transparent 55%);
  pointer-events: none;
}

.hero-monument img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: grayscale(.72) sepia(.15) contrast(1.09) brightness(.75);
}

.hero-monument span {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: #f8f5ec;
  font: 600 10px/1.45 var(--font-geist-mono), monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-motto {
  position: absolute;
  z-index: 2;
  top: clamp(34px, 5vh, 58px);
  right: auto;
  left: clamp(28px, 6.4vw, 104px);
  max-width: 355px;
  padding: 18px 0 0 30px;
  border-top: 1px solid rgba(255,255,255,.44);
  border-left: 3px solid #d5a935;
}

.hero-motto p {
  margin: 0 0 10px;
  color: #f3d77f;
  font: 600 9px/1.3 var(--font-geist-mono), monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-motto blockquote {
  margin: 0;
  color: #fff;
  font: 500 clamp(19px, 1.7vw, 27px)/1.2 var(--font-military-display), 'Arial Narrow', sans-serif;
  letter-spacing: .015em;
}

.hero-media-credit {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 6.4vw, 104px);
  bottom: 20px;
  left: clamp(28px, 6.4vw, 104px);
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .025em;
}

.hero-cinematic .button-gold {
  color: #090a09;
  background: #d5a935;
}

.hero-cinematic .button-gold:focus-visible,
.hero-cinematic .text-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero.hero-cinematic {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .58fr);
    min-height: 920px;
    padding-top: 132px;
  }

  .hero-monument {
    width: min(34vw, 360px);
    height: min(54vh, 560px);
  }

  .hero-motto {
    max-width: 310px;
  }
}

@media (max-width: 720px) {
  .hero.hero-cinematic {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    min-height: max(820px, calc(100svh - 70px));
    padding: 126px 24px 82px;
  }

  .hero.hero-cinematic::before {
    background: linear-gradient(0deg, rgba(5,6,6,.97) 0%, rgba(5,6,6,.84) 48%, rgba(5,6,6,.28) 100%);
  }

  .hero-video {
    object-position: 58% center;
  }

  .hero-monument {
    position: absolute;
    top: 30px;
    right: 20px;
    width: 41vw;
    height: 34vh;
    min-height: 250px;
    max-height: 330px;
    opacity: .62;
  }

  .hero-monument span {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 8px;
  }

  .hero-cinematic .hero-copy {
    width: 100%;
    padding-right: 0;
  }

  .hero-cinematic h1 {
    font-size: clamp(68px, 22vw, 112px);
    line-height: .78;
  }

  .hero-cinematic h1 span:nth-child(2) {
    margin-left: .08em;
  }

  .hero-motto {
    top: 38px;
    right: auto;
    left: 24px;
    width: 50vw;
    padding-left: 16px;
  }

  .hero-motto blockquote {
    font-size: 17px;
  }

  .hero-media-credit {
    right: 24px;
    bottom: 17px;
    left: 24px;
    font-size: 8px;
  }
}

@media (max-width: 430px) {
  .hero.hero-cinematic {
    min-height: 850px;
  }

  .hero-cinematic .eyebrow {
    max-width: 270px;
    font-size: 9px;
    line-height: 1.55;
  }

  .hero-cinematic .hero-deck {
    max-width: 320px;
    font-size: 24px;
  }

  .hero-cinematic .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

@media (max-width: 782px) {
  body.dhc-canvas.admin-bar .nav { top: 46px; }

  .creator-archive-photo {
    margin-bottom: 38px;
  }

  .creator-archive-photo img {
    aspect-ratio: 4 / 5;
    max-height: none;
  }
}
