/* Cinematic background refinement. Loaded after the original review stylesheet. */
.preview-ribbon {
  background: #080a0c;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header .nav-capsule {
  border-color: rgba(255, 255, 255, .17);
  background: rgba(14, 16, 17, .62);
  box-shadow: 0 16px 46px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #f7f4ef;
}

.site-header .brand-mark,
.site-header .brand small {
  color: #d3d0ca;
}

.site-header .nav-cta {
  background: #b85b33;
  color: #fff;
}

.hero {
  min-height: 790px;
  padding: 145px 0 72px;
  background: #080a0c;
  color: #f7f5f0;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("assets/compass-horizon-v2.webp") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  height: auto;
  background:
    linear-gradient(180deg, rgba(7, 9, 10, .14) 52%, rgba(10, 11, 11, .64) 85%, #0c0c0b 100%),
    linear-gradient(90deg, rgba(5, 7, 9, .96) 0%, rgba(5, 7, 9, .86) 33%, rgba(5, 7, 9, .4) 57%, rgba(5, 7, 9, .03) 82%);
  filter: none;
  transform: none;
  pointer-events: none;
}

.hero .hero-layout {
  grid-template-columns: minmax(0, 650px) 1fr;
  min-height: 560px;
}

.hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-top: 28px;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 3px 26px rgba(0, 0, 0, .32);
}

.hero h1 em {
  color: #e28b61;
}

.hero .eyebrow,
.hero .text-link {
  color: #f4f1eb;
}

.hero .hero-mechanism {
  max-width: 600px;
  color: #d1d0cc;
}

.hero .hero-note {
  color: #aaa9a4;
}

.hero .fit-line {
  border-color: rgba(255, 255, 255, .23);
}

.hero .fit-line p {
  color: #e3e0da;
}

.hero .hero-index {
  color: #bdbab3;
}

.hero .hero-index i {
  background: rgba(255, 255, 255, .35);
}

.mechanism {
  position: relative;
  margin-top: -1px;
  padding-top: 108px;
  background: linear-gradient(180deg, #0c0c0b 0%, #0c0c0b 72%, #0f0f0e 100%);
}

.mechanism-grid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.mechanism-card {
  min-height: 350px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .13);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mechanism-card:last-child {
  border-right: 0;
}

.mechanism-card:hover {
  border-color: rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(226, 139, 97, .055), transparent 75%);
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
    padding-top: 142px;
  }

  .hero::before {
    background-position: 67% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 9, 10, .15) 50%, #0c0c0b 100%),
      linear-gradient(90deg, rgba(5, 7, 9, .96), rgba(5, 7, 9, .72) 64%, rgba(5, 7, 9, .28));
  }

  .hero .hero-layout {
    display: block;
    min-height: 545px;
  }

  .hero .hero-copy {
    display: block;
    max-width: 610px;
  }

  .mechanism-grid {
    border-bottom: 0;
  }

  .mechanism-card,
  .mechanism-card:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }
}

@media (max-width: 680px) {
  .site-header .nav-capsule {
    background: rgba(12, 14, 15, .76);
  }

  .site-header .menu-toggle {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
  }

  .site-header .nav-links {
    border-color: rgba(255, 255, 255, .15);
    background: rgba(14, 16, 17, .96);
    color: #f7f4ef;
  }

  .site-header .nav-links a:hover {
    background: rgba(255, 255, 255, .08);
  }

  .hero {
    min-height: 890px;
    padding: 112px 0 245px;
  }

  .hero::before {
    top: auto;
    height: 570px;
    background-position: 96% bottom;
    background-size: auto 570px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 100%);
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 9, .97) 0%, rgba(5, 7, 9, .94) 40%, rgba(5, 7, 9, .78) 56%, rgba(5, 7, 9, .12) 76%, #0c0c0b 100%),
      linear-gradient(90deg, rgba(5, 7, 9, .45), rgba(5, 7, 9, .05));
  }

  .hero .hero-layout {
    min-height: 0;
  }

  .hero .hero-copy {
    display: block;
    width: 100%;
    max-width: none;
    padding-top: 0;
  }

  .hero .hero-mechanism {
    color: #d8d6d1;
  }

  .hero .hero-actions {
    align-items: stretch;
  }

  .hero .text-link {
    color: #f4f1eb;
  }

  .hero .fit-line {
    background: rgba(7, 9, 10, .38);
    backdrop-filter: blur(7px);
  }

  .mechanism {
    padding-top: 76px;
  }

  .mechanism-grid {
    border-top-color: rgba(255, 255, 255, .18);
  }

  .mechanism-card {
    min-height: 250px;
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mechanism-card:hover {
    transform: none;
  }
}

.hero :focus-visible, .site-header :focus-visible { outline-color: #f3c1a4; }
