/* Britannia Cars homepage hero — desktop redesign only */
@media (min-width: 1025px) {
  #hero {
    --hero-stage-height: clamp(500px, 60vh, 560px);
    display: grid;
    grid-template-rows: var(--hero-stage-height) auto;
    align-items: stretch;
    min-height: 0 !important;
    overflow: hidden;
    background: #0a0a0a;
    isolation: isolate;
  }

  #hero .hero-bg-image {
    background-image: url("images/hero-home-clean-v1.jpg") !important;
    background-position: center 64%;
    background-size: cover;
    transform: none;
    animation: none;
  }

  #hero .hero-bg {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.96) 0%, rgba(8, 8, 8, 0.86) 32%, rgba(8, 8, 8, 0.48) 57%, rgba(8, 8, 8, 0.12) 82%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.12) 48%, rgba(8, 8, 8, 0.76) 100%);
  }

  #hero .hero-gold-line {
    top: 12%;
    bottom: 12%;
    left: clamp(18px, 2.2vw, 32px);
    width: 1px;
    height: auto;
    opacity: 0.44;
  }

  #hero .hero-content {
    grid-row: 1;
    align-self: start;
    width: min(740px, 58vw);
    max-width: 740px;
    padding: clamp(40px, 6vh, 64px) clamp(28px, 4.2vw, 60px) 40px !important;
  }

  #hero .hero-eyebrow {
    gap: 14px;
    margin-bottom: 22px;
  }

  #hero .hero-eyebrow-line {
    width: 34px;
  }

  #hero .hero-eyebrow span {
    color: #e8c97a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
  }

  #hero .hero-title {
    max-width: 650px;
    margin-bottom: 24px;
    font-size: clamp(54px, 5vw, 76px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.018em;
    text-wrap: balance;
  }

  #hero .hero-title em {
    color: #e8c97a;
    font-weight: 300;
  }

  #hero .hero-subtitle {
    max-width: 555px;
    margin-bottom: 34px;
    color: #d8d3ca;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
  }

  #hero .hero-actions {
    gap: 14px;
  }

  #hero .hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
  }

  #hero .hero-actions a:focus-visible {
    outline: 2px solid #faf8f3;
    outline-offset: 4px;
  }

  #hero .hero-stats {
    position: static;
    display: grid;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: stretch;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 19px clamp(28px, 4.2vw, 60px) 21px;
    background: rgba(8, 8, 8, 0.72);
    border-top: 1px solid rgba(201, 168, 76, 0.22);
    backdrop-filter: blur(10px);
  }

  #hero .hero-stat {
    min-width: 0;
    padding: 0 clamp(22px, 4vw, 72px);
    margin: 0;
    border-right: 1px solid rgba(250, 248, 243, 0.15);
    text-align: center;
  }

  #hero .hero-stat:last-child {
    border-right: 0;
  }

  #hero .hero-stat-number {
    color: #faf8f3;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.035em;
  }

  #hero .hero-stat-label {
    margin-top: 6px;
    color: #b8b1a6;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  #hero .hero-scroll {
    display: none;
  }
}

/* Preserve the existing tablet/mobile presentation until its dedicated pass. */
@media (max-width: 1024px) {
  #hero .hero-subtitle {
    max-width: none;
    margin-bottom: 0;
    color: #fcfcf7;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  #hero .hero-actions a {
    transition: none;
  }
}
