/* Reference-driven media pass */
.button,
.header-actions .button,
.hero-actions .button {
  white-space: nowrap;
}

.header-actions {
  flex-wrap: nowrap;
}

.hero-actions {
  align-items: center;
}

@media (max-width: 1360px) {
  .header-actions .button-secondary {
    display: none;
  }
}

.ee-home {
  background:
    linear-gradient(180deg, #06080b 0%, #0b0f13 17%, #ffffff 41%, #f5f5f5 57%, #0c1014 78%, #07090b 100%);
}

.ee-hero {
  min-height: 110svh;
  padding-top: calc(var(--chrome-offset) + 1.8rem);
  padding-bottom: 4rem;
  background: #06080b;
}

.ee-hero-video {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.9) contrast(1.06) brightness(0.54);
  transform: scale(1.02) translateY(calc(var(--hero-shift) * -0.3));
  transform-origin: center;
  animation: ee-hero-video-drift 26s ease-in-out infinite alternate;
  z-index: 0;
}

.ee-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.9) 0%, rgba(5, 8, 12, 0.74) 28%, rgba(5, 8, 12, 0.36) 58%, rgba(5, 8, 12, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.32) 0%, rgba(5, 8, 12, 0.08) 34%, rgba(5, 8, 12, 0.94) 100%),
    var(--hero-poster) center center / cover no-repeat;
  opacity: 0.92;
}

.ee-hero::before {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.72), rgba(5, 8, 12, 0.12) 24%, rgba(5, 8, 12, 0.06) 42%, rgba(5, 8, 12, 0.9) 100%),
    radial-gradient(circle at 76% 22%, rgba(247, 127, 60, 0.26), transparent 24%),
    radial-gradient(circle at 22% 72%, rgba(255, 255, 255, 0.08), transparent 22%);
}

.ee-hero::after {
  inset: auto 0 0;
  height: 16rem;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0), #0b0f13 92%);
  mix-blend-mode: normal;
  opacity: 1;
}

.ee-hero-shell {
  grid-template-columns: minmax(0, 1.04fr) minmax(19rem, 0.46fr);
  align-items: center;
  min-height: calc(100svh - 8.5rem);
  gap: 2rem;
  padding: 5.6rem 0 2.6rem;
}

.ee-hero-copy {
  max-width: 47rem;
}

.ee-hero-copy h1 {
  max-width: 15ch;
  margin-bottom: 1.1rem;
  font-size: clamp(4.3rem, 8.2vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.ee-hero-intro {
  max-width: 36rem;
  font-size: clamp(1.12rem, 1.85vw, 1.42rem);
  line-height: 1.55;
  color: rgba(255, 245, 233, 0.88);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.ee-hero-note {
  max-width: 31rem;
  margin-bottom: 1.45rem;
  color: rgba(255, 245, 233, 0.72);
}

.ee-hero-aside {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(15, 20, 25, 0.48), rgba(5, 7, 10, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.ee-hero-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(247, 127, 60, 0.12));
  pointer-events: none;
}

.ee-route-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 0.15rem;
}

.ee-experience {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  background: #fff;
}

.ee-experience .ee-kicker {
  color: #5a5a5a;
}

.ee-experience .ee-section-head h2 {
  color: #1e1e1e;
}

.ee-experience .ee-section-head p {
  color: #5a5a5a;
}

.ee-story-panel {
  background: #fff;
  border: 1px solid #eaeaea;
  box-shadow: none;
}

.ee-proof-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #151a1f 0%, #0a0d11 100%);
}

.ee-values {
  background: #fff;
  color: #1e1e1e;
}

.ee-values .ee-section-head h2,
.ee-values .ee-section-head p {
  color: #5a5a5a;
}

.ee-values .ee-section-head h2 {
  color: #1e1e1e;
}

.ee-values .ee-kicker {
  color: #5a5a5a;
  position: relative;
  padding-bottom: 0.8rem;
}

.ee-values .ee-kicker::before {
  display: none;
}

.ee-values .ee-kicker::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: #f77f3c;
}

.ee-value-card {
  background: #fff;
  border: none;
  border-left: 1px solid #d0d0d0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.35rem 1.35rem 1.35rem 1.6rem;
}

.ee-value-card:first-child {
  border-left: none;
  padding-left: 0;
}

.ee-value-card h3 {
  color: #f77f3c;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: "Consolas", "Courier New", monospace;
}

.ee-value-card p {
  color: #5a5a5a;
  font-size: 0.94rem;
  line-height: 1.6;
}

.ee-value-number {
  color: #f77f3c;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

:is(
  .ee-route-card,
  .ee-category-card,
  .ee-editorial-lead,
  .ee-brief-card,
  .ee-product-card,
  .ee-director-card,
  .ee-promo-card,
  .ee-foundation-card,
  .ee-book-call-band,
  .ee-newsletter-panel
) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0b1014;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

:is(
  .ee-route-card,
  .ee-category-card,
  .ee-editorial-lead,
  .ee-brief-card,
  .ee-product-card,
  .ee-director-card,
  .ee-promo-card,
  .ee-foundation-card,
  .ee-book-call-band,
  .ee-newsletter-panel
)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-size: cover;
  background-position: var(--card-position, center center);
  transform: scale(1.02);
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
  filter: saturate(0.94) contrast(1.02);
  z-index: 0;
  pointer-events: none;
}

:is(
  .ee-route-card,
  .ee-category-card,
  .ee-editorial-lead,
  .ee-brief-card,
  .ee-product-card,
  .ee-director-card,
  .ee-promo-card,
  .ee-foundation-card,
  .ee-book-call-band,
  .ee-newsletter-panel
)::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 6, 9, 0.04) 0%, rgba(3, 6, 9, 0.26) 24%, rgba(3, 6, 9, 0.74) 58%, rgba(3, 6, 9, 0.96) 100%);
  z-index: 0;
  pointer-events: none;
}

:is(
  .ee-route-card,
  .ee-category-card,
  .ee-editorial-lead,
  .ee-brief-card,
  .ee-product-card,
  .ee-director-card,
  .ee-promo-card,
  .ee-foundation-card,
  .ee-book-call-band,
  .ee-newsletter-panel
) > * {
  position: relative;
  z-index: 1;
}

:is(
  .ee-route-card,
  .ee-category-card,
  .ee-editorial-lead,
  .ee-brief-card,
  .ee-product-card,
  .ee-director-card,
  .ee-promo-card,
  .ee-foundation-card,
  .ee-book-call-band,
  .ee-newsletter-panel
):hover::before {
  transform: scale(1.08);
}

.ee-route-card {
  min-height: 16rem;
  padding: 1.35rem;
  gap: 0.75rem;
}

.ee-category-card {
  min-height: 22rem;
  padding: 1.55rem;
}

.ee-editorial-lead {
  min-height: 30rem;
  display: grid;
  align-content: end;
  gap: 0.8rem;
  padding: 2rem;
}

.ee-brief-card {
  min-height: 14rem;
  display: grid;
  align-content: end;
  gap: 0.6rem;
  padding: 1.45rem;
  color: #fff6eb;
}

.ee-popular {
  background: linear-gradient(180deg, #0d1116 0%, #080b0f 100%);
  color: #fff6eb;
}

.ee-popular .ee-section-head h2,
.ee-popular .ee-section-head p {
  color: #fff6eb;
}

.ee-product-card {
  min-height: 30rem;
  display: grid;
  align-content: end;
  gap: 0.85rem;
  padding: 1.5rem;
}

.ee-product-card .meta-list,
.ee-product-card .card-actions a,
.ee-editorial-lead p,
.ee-brief-card p,
.ee-product-card p,
.ee-director-card p,
.ee-promo-card p,
.ee-foundation-card p,
.ee-book-call-band p,
.ee-newsletter-panel > p {
  color: rgba(255, 247, 238, 0.8);
}

.ee-team {
  background: linear-gradient(180deg, #06080b 0%, #0a0d11 100%);
}

.ee-director-card {
  min-height: 28rem;
  display: grid;
  align-content: end;
  gap: 0.65rem;
  padding: 1.6rem;
}

.ee-promo-card {
  min-height: 22rem;
  gap: 0.8rem;
  padding: 1.6rem;
}

.ee-foundation-grid {
  align-items: stretch;
}

.ee-foundation-card {
  min-height: 26rem;
  display: grid;
  align-content: end;
  gap: 0.75rem;
  padding: 1.85rem;
}

.ee-book-call {
  padding-top: 1.2rem;
}

.ee-book-call-band {
  min-height: 32rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.6rem;
}

.ee-newsletter {
  padding-top: 1.6rem;
  padding-bottom: 6rem;
}

.ee-newsletter-panel {
  min-height: 30rem;
  display: grid;
  align-content: end;
  gap: 0.95rem;
  padding: 2.35rem;
  text-align: left;
  color: #fff6eb;
}

.ee-newsletter-form {
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 12px;
  background: rgba(5, 8, 12, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.ee-newsletter-fields label span,
.ee-newsletter-consent span {
  color: rgba(255, 247, 238, 0.86);
}

.ee-newsletter-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ee-newsletter-form input::placeholder {
  color: rgba(255, 247, 238, 0.52);
}

.ee-newsletter-form input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(247, 127, 60, 0.16);
}

@keyframes ee-hero-video-drift {
  from {
    transform: scale(1.02) translateY(calc(var(--hero-shift) * -0.3));
  }

  to {
    transform: scale(1.08) translateY(calc(var(--hero-shift) * -0.16));
  }
}

@media (max-width: 1180px) {
  .ee-hero-shell {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: auto;
  }

  .ee-hero-aside {
    max-width: 28rem;
  }
}

@media (max-width: 900px) {
  .ee-hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .ee-hero-video {
    display: none;
  }

  .ee-hero-shell {
    padding-top: 4.5rem;
    gap: 1.5rem;
  }

  .ee-hero-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .ee-product-card,
  .ee-director-card,
  .ee-book-call-band,
  .ee-newsletter-panel {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .ee-experience {
    margin-top: 0;
  }

  .ee-route-card,
  .ee-category-card,
  .ee-editorial-lead,
  .ee-brief-card,
  .ee-product-card,
  .ee-director-card,
  .ee-promo-card,
  .ee-foundation-card,
  .ee-book-call-band,
  .ee-newsletter-panel {
    min-height: auto;
  }

  .ee-book-call-band,
  .ee-newsletter-panel {
    padding: 1.6rem;
  }

  .ee-newsletter-form {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ee-hero-video,
  :is(
    .ee-route-card,
    .ee-category-card,
    .ee-editorial-lead,
    .ee-brief-card,
    .ee-product-card,
    .ee-director-card,
    .ee-promo-card,
    .ee-foundation-card,
    .ee-book-call-band,
    .ee-newsletter-panel
  )::before {
    animation: none;
    transition: none;
    transform: none;
  }
}
