@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/barlow-800.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
}

:root {
  --home-red: #c81722;
  --home-red-dark: #99121a;
  --home-ink: #171717;
  --home-charcoal: #252525;
  --home-text: #454545;
  --home-muted: #6f6f6f;
  --home-line: #dedede;
  --home-soft: #f3f4f2;
  --home-green: #23704d;
  --home-gold: #b77b0b;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: #fff;
  color: var(--home-text);
}

body *,
body *::before,
body *::after {
  letter-spacing: 0 !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffcb45;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: #fff;
  color: var(--home-ink);
  font-weight: 800;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(100% - 48px, 1280px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  display: block;
  width: 154px;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 23px 0 21px;
}

.primary-nav a:hover {
  color: var(--home-red);
  border-bottom-color: var(--home-red);
}

.stock-link,
.hero-search button,
.primary-cta,
.secondary-cta,
.clear-search {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.stock-link {
  padding: 0 18px;
  color: #fff;
  background: var(--home-red);
}

.stock-link:hover,
.hero-search button:hover,
.primary-cta:hover {
  background: var(--home-red-dark);
}

.home-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: #202020;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  display: block;
  object-fit: cover;
  object-position: center 54%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.94) 0%, rgba(12, 12, 12, 0.76) 38%, rgba(12, 12, 12, 0.18) 72%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.58) 0%, rgba(12, 12, 12, 0) 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 72px 0 70px;
}

.hero-copy {
  max-width: 700px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 38px;
  height: 4px;
  background: var(--home-red);
}

.home-hero h1 {
  max-width: 680px;
  margin: 0 0 18px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-intro {
  max-width: 630px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

.hero-search {
  width: min(100%, 660px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 7px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.hero-search input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  color: var(--home-ink);
  background: #fff;
  border: 0;
  font-family: inherit;
  font-size: 17px;
}

.hero-search input:focus {
  outline: 0;
}

.hero-search button {
  min-width: 142px;
  padding: 0 22px;
  color: #fff;
  background: var(--home-red);
}

.popular-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 17px;
  font-size: 14px;
}

.popular-links span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

.popular-links a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.popular-links a:hover {
  text-decoration-color: #fff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.proof-item strong {
  display: block;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
}

.home-main {
  overflow: hidden;
}

.section-shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 440px);
  align-items: end;
  gap: 48px;
  margin-bottom: 32px;
}

.section-label {
  margin-bottom: 8px;
  color: var(--home-red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.trust-copy h2,
.cta-copy h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.section-heading p,
.trust-copy p,
.cta-copy p {
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.65;
}

.routes-section {
  padding: 76px 0 82px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #222;
  border-radius: 6px;
  text-decoration: none;
  isolation: isolate;
}

.route-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 12, 12, 0.92) 0%, rgba(12, 12, 12, 0.08) 75%);
}

.route-card:hover img {
  transform: scale(1.025);
}

.route-card-content {
  width: 100%;
  padding: 24px;
}

.route-card small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.route-card strong {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 27px;
  line-height: 1.05;
  text-transform: uppercase;
}

.route-card strong::after {
  content: "→";
  color: #fff;
}

.featured-section {
  padding: 76px 0;
  background: var(--home-soft);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.feature-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-card:first-child img {
  aspect-ratio: 16 / 8;
}

.feature-body {
  padding: 22px;
}

.feature-type {
  display: block;
  margin-bottom: 7px;
  color: var(--home-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-body h3 {
  margin: 0 0 8px;
  color: var(--home-ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.feature-body p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.55;
}

.library {
  padding: 82px 0;
  background: #fff;
}

.library-top {
  width: min(100% - 48px, 1180px);
  margin: 0 auto 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.library-top h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.library-top p {
  max-width: 650px;
  margin: 9px 0 0;
  color: var(--home-muted);
  font-size: 16px;
}

.library-actions {
  flex: 0 0 auto;
}

.secondary-cta,
.clear-search {
  padding: 0 17px;
  color: var(--home-ink);
  background: #fff;
  border: 1px solid #bdbdbd;
}

.secondary-cta:hover,
.clear-search:hover {
  border-color: var(--home-ink);
}

.library-index {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.library-index > .dash {
  display: none;
}

.library-index > .sec {
  padding: 0;
}

.guide-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--home-line);
  border-top: 4px solid var(--home-red);
  border-radius: 6px;
}

.guide-group:nth-of-type(3n + 2) {
  border-top-color: var(--home-green);
}

.guide-group:nth-of-type(3n + 3) {
  border-top-color: var(--home-gold);
}

.guide-group.is-open {
  grid-column: 1 / -1;
}

.guide-group .con {
  width: 100%;
  max-width: none;
  padding: 0;
}

.group-toggle {
  width: 100%;
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 4px 20px;
  padding: 22px;
  color: var(--home-ink);
  background: #fff;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.group-toggle:hover {
  background: #fafafa;
}

.group-pillar {
  color: var(--home-red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.group-name {
  min-width: 0;
  color: var(--home-ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.group-count {
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 600;
}

.group-mark {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-red);
  border: 1px solid var(--home-line);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.is-open .group-mark {
  transform: rotate(45deg);
}

.js .guide-group:not(.is-open) .ll,
.js .guide-group:not(.is-open) > .con > .sl,
.js .guide-group:not(.is-open) > .con > .st {
  display: none;
}

.guide-group.is-open .con {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  padding: 0 22px 16px;
}

.guide-group.is-open .group-toggle {
  grid-column: 1 / -1;
  min-height: 104px;
  margin: 0 -22px;
  width: calc(100% + 44px);
  border-bottom: 1px solid var(--home-line);
}

.guide-group .ll {
  min-width: 0;
  margin: 0;
  padding: 13px 4px;
  gap: 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  border-radius: 0;
}

.guide-group .ll:hover {
  background: #fafafa;
  border-bottom-color: var(--home-red);
  box-shadow: none;
}

.guide-group .ll-n {
  min-width: 0;
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.guide-group .ll-c {
  color: var(--home-red);
  font-size: 16px;
}

.search-results {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.search-results[hidden] {
  display: none;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-line);
}

.results-bar strong {
  color: var(--home-ink);
  font-size: 18px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}

.search-result {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 4px;
  color: var(--home-ink);
  border-bottom: 1px solid var(--home-line);
  text-decoration: none;
}

.search-result:hover {
  color: var(--home-red);
  border-bottom-color: var(--home-red);
}

.search-result small {
  display: block;
  margin-bottom: 2px;
  color: var(--home-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-result span {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.search-result b {
  color: var(--home-red);
}

.empty-results {
  padding: 34px 0;
  color: var(--home-muted);
  font-size: 16px;
}

body.searching .library-index {
  display: none;
}

.trust-section {
  padding: 78px 0;
  color: #fff;
  background: var(--home-charcoal);
}

.trust-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.trust-copy h2 {
  color: #fff;
}

.trust-copy .section-label {
  color: #ff7a80;
}

.trust-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}

.trust-point {
  padding-top: 15px;
  border-top: 3px solid var(--home-red);
}

.trust-point:nth-child(2) {
  border-top-color: #4a9b73;
}

.trust-point:nth-child(3) {
  border-top-color: #d9a72a;
}

.trust-point:nth-child(4) {
  border-top-color: #d9d9d9;
}

.trust-point strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 16px;
}

.trust-point span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.55;
}

.home-cta {
  padding: 62px 0;
  background: #fff;
}

.cta-inner {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.cta-copy p {
  margin-top: 9px;
}

.cta-actions {
  display: flex;
  gap: 10px;
}

.primary-cta {
  padding: 0 22px;
  color: #fff;
  background: var(--home-red);
}

.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: #171717;
}

.footer-main {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 52px;
  padding: 52px 0 38px;
}

.footer-brand img {
  width: 170px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  max-width: 440px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.footer-col strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
}

.footer-col a,
.footer-col address {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .primary-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .home-hero h1 {
    font-size: 52px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 12, 12, 0.92) 0%, rgba(12, 12, 12, 0.67) 58%, rgba(12, 12, 12, 0.22) 100%),
      linear-gradient(0deg, rgba(12, 12, 12, 0.62) 0%, rgba(12, 12, 12, 0) 46%);
  }

  .section-heading,
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .route-grid,
  .library-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:first-child {
    grid-column: 1 / -1;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
  }

  .header-inner,
  .hero-inner,
  .section-shell,
  .library-top,
  .library-index,
  .search-results,
  .trust-inner,
  .cta-inner,
  .footer-main,
  .footer-bottom {
    width: min(100% - 32px, 1180px);
  }

  .brand-link img {
    width: 132px;
  }

  .stock-link {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .home-hero {
    min-height: 650px;
    align-items: flex-end;
  }

  .hero-media img {
    object-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.78) 58%, rgba(10, 10, 10, 0.22) 100%);
  }

  .hero-inner {
    padding: 82px 0 30px;
  }

  .home-hero h1 {
    font-size: 39px;
    line-height: 1;
    margin-bottom: 14px;
  }

  .hero-intro {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .hero-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-search button {
    width: auto;
    min-width: 116px;
    padding: 0 12px;
    font-size: 13px;
  }

  .popular-links {
    align-items: flex-start;
    gap: 6px 14px;
    margin-top: 13px;
  }

  .hero-proof {
    display: none;
  }

  .proof-item strong {
    font-size: 23px;
  }

  .proof-item span {
    font-size: 11px;
  }

  .routes-section,
  .featured-section,
  .library,
  .trust-section {
    padding: 58px 0;
  }

  .section-heading h2,
  .library-top h2,
  .trust-copy h2,
  .cta-copy h2 {
    font-size: 34px;
  }

  .route-grid,
  .featured-grid,
  .library-index,
  .results-grid,
  .trust-points,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .route-card {
    min-height: 230px;
  }

  .feature-card:first-child,
  .footer-brand {
    grid-column: auto;
  }

  .library-top,
  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .library-top {
    display: flex;
  }

  .library-actions,
  .secondary-cta {
    width: 100%;
  }

  .guide-group.is-open .con {
    grid-template-columns: 1fr;
  }

  .results-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .clear-search {
    width: 100%;
  }

  .trust-inner {
    gap: 36px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .primary-cta,
  .cta-actions .secondary-cta {
    width: 100%;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .home-hero h1 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
