.hero {
  --hero-cream: #e8e5dc;
  --hero-orange: #cf6d3c;
  display: flex;
  flex-direction: column;
  min-height: max(620px, 100svh);
  padding: clamp(24px, 4vh, 38px) 4.15%;
  color: var(--hero-cream);
  background: #051d30 url(hero_poster.jpg) center / cover no-repeat;
  position: relative;
  isolation: isolate;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero video:not([src]) { visibility: hidden; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: linear-gradient(90deg, rgba(3,25,39,.82), rgba(3,25,39,.74) 32%, rgba(3,25,39,.48) 59%, rgba(3,25,39,.10));
  z-index: -2;
}

.hero::after {
  background: linear-gradient(180deg, rgba(2,21,34,.42), transparent 28%, transparent 70%, rgba(2,21,34,.25));
  z-index: -1;
}

.hero header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero .wordmark {
  font: 400 clamp(18px, 2.1vw, 29px)/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .36em;
  text-decoration: none;
  white-space: nowrap;
}

.hero nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 25px);
  align-items: center;
}

.hero nav a,
.hero nav span {
  color: rgba(232,229,220,.87);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.hero nav a:hover,
.hero .secondary:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero .top-cta {
  padding: 14px 28px;
  background: #e9e6dc;
  color: #172431;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.hero .inner {
  width: min(100%, 37rem);
  margin-block: auto;
  padding-block: clamp(36px, 8vh, 80px);
}

.hero .eyebrow {
  margin: 0 0 clamp(14px, 2vh, 22px);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: .025em;
  color: #c7c5bc;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font: 400 clamp(2rem, 4.5vw, 3.875rem)/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -.032em;
  overflow-wrap: anywhere;
}

.hero .intro {
  margin: clamp(20px, 3vh, 32px) 0 0;
  max-width: 34rem;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: #e0ded8;
  letter-spacing: .02em;
}

.hero .actions,
.hero .hero-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.hero .actions {
  margin-top: clamp(22px, 4vh, 38px);
}

.hero .primary,
.hero .secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 13px;
  text-decoration: none;
}

.hero .primary {
  justify-content: center;
  background: #b75930;
  color: #fff;
  padding: 0 24px;
  font-weight: 650;
  letter-spacing: .01em;
}

.hero .primary:hover { background: #ae552e; }
.hero .secondary { color: #eee; }
.hero .secondary span { margin-left: 5px; }

.hero .hero-bottom { justify-content: space-between; }

.hero .footer-mark {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(227,225,218,.78);
  font-size: 10px;
  text-transform: uppercase;
}

.hero .footer-mark::before {
  content: "";
  height: 2px;
  flex: 0 0 42px;
  background: var(--hero-orange);
}

.hero a:focus-visible,
.hero button:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

.hero .hero-motion {
  color: white;
  background: #051d30;
  border: 1px solid #e8e5dc;
  min-height: 36px;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 950px) {
  .hero nav { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-inline: 6%; }
  .hero header { gap: 10px; }
  .hero .wordmark { letter-spacing: .22em; }
  .hero .top-cta { padding: 10px 12px; font-size: 11px; }
  .hero::before {
    background: linear-gradient(90deg, rgba(3,25,39,.86), rgba(3,25,39,.57) 68%, rgba(3,25,39,.34));
  }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3.125rem); }
  .hero .footer-mark::before { flex-basis: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { display: none; }
}
