.hero {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}
.hero__background { inset: 0; position: absolute; z-index: 0 }
.hero__background img { height: 100%; object-fit: cover; object-position: 55% 58%; width: 100% }
/* Slides stack; only the first shows without motion. */
.hero__slide { inset: 0; opacity: 0; position: absolute }
.hero__slide:first-child { opacity: 1 }

@media (prefers-reduced-motion: no-preference) {
  /* Autoplaying crossfade, compositor-only (opacity), no JS. Four slides at 7s each.
     Base opacity is 0 and there is no fill mode, so a slide stays hidden until its
     delay elapses — otherwise all four would paint at once on load. */
  .hero__slide { animation: hero-slide 28s linear infinite }
  .hero__slide:nth-child(2) { animation-delay: 7s }
  .hero__slide:nth-child(3) { animation-delay: 14s }
  .hero__slide:nth-child(4) { animation-delay: 21s }
}
@keyframes hero-slide {
  0% { opacity: 0 }
  4% { opacity: 1 }
  25% { opacity: 1 }
  29% { opacity: 0 }
  100% { opacity: 0 }
}
.hero__overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .46), rgba(0, 0, 0, .16) 42%, rgba(0, 0, 0, .68));
  inset: 0;
  position: absolute;
  z-index: 1;
}
.hero__inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding-bottom: clamp(28px, 4vh, 44px);
  padding-top: clamp(128px, 16vh, 172px);
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(76px, 11.5vw, 170px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
  position: relative;
  z-index: 2;
}
.hero__title span { display: block; width: fit-content }
.hero__title[data-reveal] { transition-delay: .08s }
.hero-search {
  align-items: stretch;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  background: rgba(8, 8, 8, .96);
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  flex-shrink: 0;
  position: relative;
  width: 100%;
  z-index: 4;
}
.hero-search__fields { display: grid; flex: 1; grid-template-columns: repeat(3, 1fr) }
.hero-search__field {
  border-right: 1px solid rgba(255, 255, 255, .07);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  padding: 20px clamp(16px, 3vw, 36px);
}
.hero-search__label { color: rgba(255, 255, 255, .36); font-size: 10px; font-weight: 600; letter-spacing: .14em; pointer-events: none; text-transform: uppercase }
.hero-search__select-wrap { align-items: center; display: flex; position: relative }
.hero-search__field select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  outline: 0;
  padding-right: 22px;
  width: 100%;
}
.hero-search__field select option { background: var(--void); color: var(--cream) }
.hero-search__chevron { color: rgba(255, 255, 255, .35); flex-shrink: 0; pointer-events: none; position: absolute; right: 0 }
.hero-search__submit {
  align-items: center;
  background: var(--cream);
  color: var(--void);
  display: flex;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  gap: 10px;
  justify-content: center;
  letter-spacing: .13em;
  min-width: 210px;
  padding: 0 clamp(20px, 3vw, 52px);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-search__submit:hover { opacity: .8 }

.credibility { background: #111312; border-bottom: 1px solid var(--stone); border-top: 1px solid var(--stone); padding-block: clamp(28px, 4vw, 48px) }
.credibility__grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)) }
.credibility-card {
  background: #161917;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: clamp(22px, 2.5vw, 30px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.credibility-card:hover { border-color: var(--scot); box-shadow: 0 18px 46px rgba(0, 0, 0, .18) }
.credibility-card__icon,
.trust-bar__item svg {
  color: var(--scot-lift);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}
.credibility-card__icon { height: 34px; width: 34px }
.credibility-card h2 { font-size: clamp(24px, 2.2vw, 31px); font-weight: 400; letter-spacing: -.03em; line-height: 1.02; margin-top: auto }
.credibility-card p { color: var(--ash); font-size: 14px; line-height: 1.35; margin-top: 14px }

.intro { padding-top: clamp(110px, 13vw, 160px) }
.intro__grid {
  align-items: start;
  display: grid;
  gap: 24px 80px;
  grid-template-columns: 1.4fr 1fr;
}
.intro__statement {
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.intro__side { align-items: flex-start; color: var(--ash); display: flex; flex-direction: column; gap: 32px; padding-top: 5px }
.intro__side .pill { color: var(--cream) }

.trust-bar { padding-top: clamp(90px, 10vw, 130px) }
.trust-bar__inner {
  background: #141716;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
}
.trust-bar__item {
  align-items: flex-start;
  border-left: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  min-height: 126px;
  padding: 22px 18px;
  transition: background .25s var(--ease);
}
.trust-bar__item:first-child { border-left: 0 }
.trust-bar__item:hover { background: rgba(0, 101, 189, .1) }
.trust-bar__item svg { height: 24px; width: 24px }
.trust-bar__item span { font-size: 13px; line-height: 1.25 }

.featured-inventory { padding-bottom: clamp(96px, 10vw, 150px); padding-top: clamp(130px, 14vw, 180px) }
.featured-inventory__head { align-items: flex-end; display: flex; gap: 32px; justify-content: space-between }
.featured-inventory__head h2 { font-size: clamp(52px, 7vw, 89px); font-weight: 400; letter-spacing: -.04em; line-height: .98 }
.featured-inventory__aside { align-items: flex-start; display: flex; flex-direction: column; gap: 20px; max-width: 36ch }
.featured-inventory__aside p { color: var(--ash); font-size: 15px; line-height: 1.5 }
.featured-inventory__grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 72px) }
.featured-inventory__aside[data-reveal] { transition-delay: .08s }
.featured-inventory__grid[data-reveal] { transition-delay: .12s }
.featured-card { background: #161917; border: 1px solid var(--stone); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease) }
.featured-card:hover { border-color: var(--scot-lift); transform: translateY(-4px) }
.featured-card__media { aspect-ratio: 3 / 2; background: #222621; overflow: hidden; position: relative }
.featured-card__media img { height: 100%; object-fit: cover; transition: transform .45s var(--ease); width: 100% }
.featured-card:hover img { transform: scale(1.035) }
.featured-card__badge { background: var(--cream); border-radius: var(--pill); color: var(--void); font-size: 11px; left: 14px; padding: 6px 10px; position: absolute; top: 14px }
.featured-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px }
.featured-card__meta { color: var(--scot-lift); font-size: 12px; letter-spacing: .08em; text-transform: uppercase }
.featured-card h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.035em; line-height: 1; margin-top: 10px }
.featured-card__trim { color: var(--ash); font-size: 14px; margin-top: 10px }
.featured-card__foot { align-items: center; border-top: 1px solid var(--stone); display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px }
.featured-card__price { font-size: 22px }
.featured-card__view { color: var(--scot-lift); font-size: 13px }

.process { background: #0a0d0c; position: relative }
.process__head h2 {
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
  margin-top: 16px;
}
.process__head h2[data-reveal] { transition-delay: .08s }
.timeline { position: relative }
.timeline__sticky { overflow: hidden; position: relative }
.timeline__backdrop,
.timeline__depth,
.timeline__vignette { inset: 0; position: absolute }
.timeline__backdrop { overflow: hidden }
.timeline__atmos,
.timeline__grid { display: block; position: absolute }
.timeline__atmos {
  background: radial-gradient(110% 76% at 24% 12%, #10253a 0%, #0b1218 48%, #0a0d0c 100%);
  inset: -12%;
}
.timeline__grid {
  background-image: linear-gradient(rgba(108, 196, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 196, 255, .055) 1px, transparent 1px);
  background-size: 68px 68px;
  inset: -16%;
  -webkit-mask-image: radial-gradient(75% 62% at 40% 50%, #000 12%, transparent 100%);
  mask-image: radial-gradient(75% 62% at 40% 50%, #000 12%, transparent 100%);
}
.timeline__stage { min-height: 100vh; min-height: 100svh; position: relative; z-index: 2 }
.timeline__flow {
  margin-inline: auto;
  max-width: 760px;
  padding-block: clamp(100px, 12vw, 150px);
  width: calc(100% - var(--gutter) - var(--gutter));
}
.timeline__list { margin-top: clamp(54px, 7vw, 76px); position: relative }
.timeline__nodes { padding-left: 64px }
.timeline-node { padding-bottom: 46px; position: relative }
.timeline-node:last-child { padding-bottom: 0 }
/* Each node draws the rail segment down to the next marker (height 100% = padding box),
   so the rail needs no measuring. ::before is the track, ::after the lit fill. */
.timeline-node::before,
.timeline-node::after { border-radius: 2px; content: ""; height: 100%; left: -52px; position: absolute; top: 7px; width: 2px }
.timeline-node:last-child::before,
.timeline-node:last-child::after { content: none }
.timeline-node::before { background: rgba(255, 252, 225, .18) }
.timeline-node::after { background: var(--scot-lift); box-shadow: 0 0 16px rgba(0, 101, 189, .7); transform-origin: top }
.timeline-node__marker {
  background: #0a0d0c;
  border: 2px solid var(--scot-lift);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(108, 196, 255, .1);
  height: 12px;
  left: -57px;
  position: absolute;
  top: 1px;
  width: 12px;
  z-index: 2;
}
.timeline-node__number { color: var(--cream); font-size: 12px; left: -37px; line-height: 1; position: absolute; top: 2px }
.timeline-node__eyebrow { color: var(--scot-lift); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase }
.timeline-node h3 {
  color: var(--cream);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-top: 9px;
}
.timeline-node__copy > p:last-child { color: var(--ash); font-size: 15px; line-height: 1.55; margin-top: 11px; max-width: 52ch }
.timeline__cta-row { padding: 38px 0 0 64px }
.timeline__cta { background: var(--scot-lift); border-color: var(--scot-lift); color: var(--void) }
.timeline__cta:hover { background: var(--cream); color: var(--void) }
.timeline__vignette {
  background: radial-gradient(105% 82% at 50% 50%, transparent 44%, #0a0d0c 100%);
  pointer-events: none;
  z-index: 4;
}

/* The pinned set-piece is a progressive enhancement: scroll-driven CSS animations run on
   the compositor, so there is no scroll handler and no per-frame work on the main thread.
   Without support (or under reduced motion) the section stays a plain, fully-lit list. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* 300svh pins for ~2 viewports of scroll, which moves the flow at roughly half
       scroll speed. Scale this with the step count — 60svh per step — or the flow
       travels faster and the section reads as rushed. */
    .timeline { height: 300svh; view-timeline: --process block }
    .timeline__sticky { height: 100svh; position: sticky; top: 0 }
    .timeline__stage { height: 100%; min-height: 0 }
    .timeline__flow { left: 0; padding-block: 30svh 26svh; position: absolute; right: 0; top: 0 }

    .timeline__flow,
    .timeline__depth,
    .timeline-node,
    .timeline-node::after,
    .timeline-node__marker {
      animation-fill-mode: both;
      animation-timeline: --process;
      animation-timing-function: linear;
    }
    .timeline__flow,
    .timeline__depth { will-change: transform }
    .timeline__flow { animation-name: timeline-travel; animation-range: contain }
    .timeline__depth { animation-range: contain }
    .timeline__depth--far { animation-name: timeline-drift-far }
    .timeline__depth--near { animation-name: timeline-drift-near }

    /* Step n lights at contain 6/22/38/54/70%; its fill reaches the next marker 16% later. */
    .timeline-node { --start: calc(var(--step) * 16% + 6%) }
    .timeline-node:nth-child(1) { --step: 0 }
    .timeline-node:nth-child(2) { --step: 1 }
    .timeline-node:nth-child(3) { --step: 2 }
    .timeline-node:nth-child(4) { --step: 3 }
    .timeline-node:nth-child(5) { --step: 4 }
    .timeline-node {
      animation-name: timeline-node-in;
      animation-range: contain var(--start) contain calc(var(--start) + 10%);
    }
    .timeline-node::after {
      animation-name: timeline-node-fill;
      animation-range: contain var(--start) contain calc(var(--start) + 16%);
    }
    .timeline-node__marker {
      animation-name: timeline-marker-on;
      animation-range: contain var(--start) contain calc(var(--start) + 12%);
    }
  }
}

@keyframes timeline-travel { to { transform: translate3d(0, calc(100svh - 100%), 0) } }
@keyframes timeline-drift-far {
  from { transform: translate3d(0, 22px, 0) }
  to { transform: translate3d(0, -22px, 0) }
}
@keyframes timeline-drift-near {
  from { transform: translate3d(0, 50px, 0) }
  to { transform: translate3d(0, -50px, 0) }
}
@keyframes timeline-node-in { from { opacity: .38 } to { opacity: 1 } }
@keyframes timeline-node-fill { from { transform: scaleY(0) } to { transform: scaleY(1) } }
@keyframes timeline-marker-on {
  from { border-color: rgba(255, 252, 225, .22); box-shadow: 0 0 0 0 rgba(108, 196, 255, 0); transform: scale(1) }
  55% { border-color: var(--scot-lift); box-shadow: 0 0 0 5px rgba(108, 196, 255, .14), 0 0 22px rgba(0, 101, 189, .8); transform: scale(1.16) }
  to { border-color: var(--scot-lift); box-shadow: 0 0 0 4px rgba(108, 196, 255, .1), 0 0 0 rgba(0, 101, 189, 0); transform: scale(1) }
}

.source-anything { padding-top: clamp(130px, 14vw, 180px) }
.source-anything__grid { align-items: center; display: grid; gap: clamp(48px, 7vw, 96px); grid-template-columns: .9fr 1.1fr }
.source-anything__copy { align-items: flex-start; display: flex; flex-direction: column }
.source-anything h2 {
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
  margin-top: 18px;
}
.source-anything__lead { color: var(--ash); margin-top: 30px; max-width: 54ch }
.source-anything__steps { border-top: 1px solid var(--stone); margin: 40px 0; width: 100% }
.source-anything__steps li { align-items: baseline; border-bottom: 1px solid var(--stone); display: grid; gap: 16px; grid-template-columns: 30px 90px 1fr; padding: 14px 0 }
.source-anything__steps span { color: var(--scot-lift); font-size: 12px }
.source-anything__steps strong { font-size: 16px; font-weight: 500 }
.source-anything__steps small { color: var(--ash); font-size: 14px }
.source-anything__media { overflow: hidden; position: relative }
.source-anything__media img { aspect-ratio: 3 / 2; border-radius: var(--radius); height: auto; object-fit: cover; width: 100% }
.source-anything__media figcaption { background: var(--cream); border-radius: var(--pill); bottom: 20px; color: var(--void); font-size: 13px; left: 20px; padding: 7px 14px; position: absolute }

.home-close { border-top: 1px solid var(--stone); padding: clamp(110px, 14vw, 180px) 0 }
.home-close__grid { align-items: stretch; display: grid; gap: clamp(36px, 6vw, 84px); grid-template-columns: minmax(230px, .56fr) 1.44fr }
.home-close__mark {
  background: var(--scot);
  border-radius: var(--radius);
  min-height: 100%;
  overflow: hidden;
  position: relative;
}
.home-close__mark img { height: 100%; left: 0; object-fit: cover; object-position: center; position: absolute; top: 0; width: 100% }
.home-close__inner { align-items: flex-start; display: flex; flex-direction: column }
.home-close h2 {
  font-size: clamp(58px, 8vw, 108px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .94;
  margin-top: 24px;
}
.home-close__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px }
.home-close__copy { color: var(--ash); font-size: clamp(16px, 1.5vw, 20px); margin-top: 30px; max-width: 65ch }

@media (max-width: 1000px) {
  .credibility__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .intro__grid { gap: 32px; grid-template-columns: 1fr }
  .trust-bar__inner { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .trust-bar__item { border-top: 1px solid var(--stone) }
  .trust-bar__item:nth-child(-n+3) { border-top: 0 }
  .trust-bar__item:nth-child(3n+1) { border-left: 0 }
  .featured-inventory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .featured-card:last-child:nth-child(odd) { grid-column: 1 / -1 }
  .source-anything__grid { grid-template-columns: 1fr }
  .home-close__grid { grid-template-columns: 1fr }
  .home-close__mark { min-height: 220px }
}

@media (max-width: 720px) {
  .hero { height: 100svh; min-height: 620px }
  .hero__inner { justify-content: flex-start; padding-bottom: 20px; padding-top: calc(var(--nav-h) + 24px) }
  .hero__title { font-size: clamp(52px, 16vw, 78px); line-height: .92; margin-top: 52px }
  .hero__background img { object-position: 57% center }
  .hero-search { flex-direction: column }
  .hero-search__fields { grid-template-columns: 1fr }
  .hero-search__field { border-bottom: 1px solid rgba(255, 255, 255, .06); border-right: 0; padding: 14px 24px }
  .hero-search__submit { justify-content: space-between; min-height: 58px; padding: 20px 24px; width: 100% }
  .credibility { padding-block: 20px }
  .credibility__grid { gap: 10px }
  .credibility-card { min-height: 220px; padding: 20px 18px }
  .credibility-card h2 { font-size: clamp(22px, 6vw, 28px) }
  .intro { padding-top: 96px }
  .intro__statement { font-size: 34px }
  .intro__side { gap: 24px }
  .trust-bar { padding-top: 86px }
  .trust-bar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .trust-bar__item { min-height: 116px; padding: 18px 16px }
  .trust-bar__item:nth-child(-n+3) { border-top: 1px solid var(--stone) }
  .trust-bar__item:nth-child(-n+2) { border-top: 0 }
  .trust-bar__item:nth-child(3n+1) { border-left: 1px solid var(--stone) }
  .trust-bar__item:nth-child(odd) { border-left: 0 }
  .featured-inventory { padding-top: 110px }
  .featured-inventory__head { align-items: flex-start; flex-direction: column }
  .featured-inventory__head h2 { font-size: 48px }
  .featured-inventory__grid { grid-template-columns: 1fr; margin-top: 42px }
  .featured-card:last-child:nth-child(odd) { grid-column: auto }
  .process__head h2 { font-size: clamp(42px, 12vw, 54px) }
  .timeline__list { margin-top: 48px }
  .timeline__nodes { padding-left: 50px }
  .timeline-node::before,
  .timeline-node::after { left: -44px }
  .timeline-node { padding-bottom: 34px }
  .timeline-node__marker { left: -49px }
  .timeline-node__number { left: -29px }
  .timeline-node h3 { font-size: clamp(27px, 8vw, 36px) }
  .timeline-node__copy > p:last-child { font-size: 14px; line-height: 1.45 }
  .timeline-node__eyebrow { font-size: 9px }
  .timeline__cta-row { padding-left: 50px }
  .source-anything { padding-top: 120px }
  .source-anything h2 { font-size: clamp(44px, 13vw, 64px) }
  .source-anything__steps li { gap: 10px; grid-template-columns: 24px 72px 1fr }
  .source-anything__media { order: -1 }
  .source-anything__media figcaption { bottom: 14px; left: 14px }
  .home-close { padding-block: 120px }
  .home-close__mark { display: none }
  .home-close h2 { font-size: clamp(50px, 14vw, 72px) }
  .home-close__actions { align-items: stretch; flex-direction: column; width: 100% }
  .home-close__actions .pill { width: 100% }
}

@media (min-width: 721px) {
  .hero__title span { white-space: nowrap }
}

@media (max-width: 380px) {
  .hero__title { font-size: 56px }
}
