/*
 * Home — hero section + proof bar.
 * Full-bleed background image with grid overlay, eyebrow, headline,
 * lede, dual CTA, and 4-stat tabular proof bar.
 */

.home-hero {
  position: relative;
  padding: 160px 48px 80px;
  overflow: hidden;
  min-height: 760px;
}
.home-hero-bg-img {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(0.6) contrast(1.05);
}
.home-hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Triple-layer darkening film. Stacked front-to-back:
   *   Layer 3 (front): left-bias gradient — heavier darkening on the
   *     left (where the eyebrow + headline + lede + CTAs sit), fades
   *     to zero by ~55% across so the right side keeps the photo.
   *   Layer 2 (middle): vertical edge-darken — soft band at the top
   *     (transition from nav) and a stronger band at the bottom
   *     (transition into the next section), transparent through the
   *     middle so the hero's focal mass stays photographic.
   *   Layer 1 (base): uniform 55% darkening across the whole frame.
   *
   * Composite alpha at the headline area (top-left): ~71% darkening,
   * legible against the photo. Right edge stays at the 55% base so
   * the scene reads as a real photograph, not wallpaper. */
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.40) 0%, rgba(10, 12, 16, 0) 55%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.10) 0%, rgba(10, 12, 16, 0) 30%, rgba(10, 12, 16, 0) 70%, rgba(10, 12, 16, 0.35) 100%),
    rgba(10, 12, 16, 0.55);
  pointer-events: none;
}
.home-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}
.home-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 36px;
}
.home-hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 96px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin-bottom: 36px;
  max-width: 1100px;
  text-wrap: balance;
}
.home-hero-amber {
  color: var(--amber);
  font-style: italic;
  font-weight: 500;
}
.home-hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--gray-3);
  max-width: 720px;
  margin-bottom: 44px;
  text-wrap: pretty;
}
.home-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.home-btn-glass {
  background: rgba(10, 12, 16, 0.5);
  color: var(--paper);
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--paper);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.home-btn-glass:hover { background: var(--paper); color: var(--ink-0); }

.home-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink-3);
  border-left: 4px solid var(--amber-2);
  background: rgba(10, 12, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home-proof-item { padding: 28px 32px; border-right: 1px solid var(--ink-3); }
.home-proof-item:last-child { border-right: none; }
.home-proof-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.home-proof-label {
  font-size: 12px;
  color: var(--gray-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .home-hero { padding: 120px 32px 64px; min-height: 0; }
  .home-hero-title { font-size: 72px; }
}
@media (max-width: 768px) {
  .home-hero { padding: 96px 20px 56px; }
  .home-hero-title { font-size: 48px; line-height: 1.0; }
  .home-hero-lede { font-size: 16px; margin-bottom: 32px; }
  .home-hero-actions { margin-bottom: 56px; }
  .home-proof-bar { grid-template-columns: repeat(2, 1fr); }
  .home-proof-item { padding: 20px 16px; border-right: 1px solid var(--ink-3); }
  .home-proof-item:nth-child(2n) { border-right: none; }
  .home-proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--ink-3); }
  .home-proof-num { font-size: 28px; }
  .home-proof-label { font-size: 11px; }
}
@media (max-width: 480px) {
  .home-hero-title { font-size: 38px; }
}
