.brand-home { --nav-red: var(--brand-red); background: #101113; }
.brand-home main .wrap { padding-inline: var(--nav-inner-inset); }
.brand-home .site-nav:not(.is-docked)::before { background: transparent; }
.brand-home .site-nav:not(.is-docked) .site-nav-links { text-shadow: 0 1px 4px #000; }
.home-screen { min-height: 100svh; display: grid; align-items: center; }
.home-copy h2 { font-size: clamp(2rem, 3.2vw, 3.75rem); }
.home-copy p { max-width: 37ch; font-size: clamp(1rem, 1.15vw, 1.25rem); line-height: 1.7; }
.brand-hero {
  margin-top: calc(-1 * (clamp(1.25rem, 2.55vw, 4rem) + var(--nav-height)));
  padding-block: calc(var(--nav-height) + 4rem) 4rem;
  background: linear-gradient(90deg, #101113ad, #10111355 39%, transparent 78%),
    url('/assets/home/ride-sunrise.webp') 68% center / cover no-repeat;
}
.brand-hero h1 { font-size: clamp(2.75rem, 4.6vw, 5.25rem); }
.brand-hero p { margin-top: .75rem; color: white; font-size: clamp(1.125rem, 1.55vw, 1.625rem); }
.brand-hero .actions { margin-top: 1.75rem; gap: .875rem; }
.home-light { color-scheme: light; background: #f8f8f7; color: #191919; }
.home-light p { color: #484848; }
.home-intro { align-items: stretch; grid-template-columns: calc((100% - var(--layout-width)) / 2) minmax(0, calc(46.5% - (100% - var(--layout-width)) / 2)) minmax(0, 1fr); }
.home-intro .home-copy { grid-column: 2; align-self: center; padding: 5rem clamp(1.25rem, 3vw, 4rem) 5rem var(--nav-inner-inset); }
.home-copy h1, .home-copy h2 { text-wrap: balance; }
.home-intro h2::after, .home-quality h2::after { content: ""; display: block; width: 2.75rem; height: 3px; margin-top: .55em; background: var(--brand-red); }
.home-intro p { margin-top: 1.25rem; max-width: 31em; }
.home-intro img { width: 100%; height: 100%; max-height: 100svh; object-fit: cover; }
.home-quality {
  padding-block: 5rem;
  background: linear-gradient(90deg, #101113b8, #10111369 42%, transparent 82%),
    url('/assets/home/ride-dusk.webp') 70% center / cover no-repeat;
}
.quality-points { margin-top: 2rem; max-width: min(100%, 29rem); }
.quality-points h3 { font-size: clamp(1.125rem, 1.55vw, 1.5rem); }
.quality-points h3 + h3 { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #ffffff55; }
.quality-points p { color: #eee; }
.home-cooperation { padding-block: 5rem; }
.home-cooperation .home-copy p { max-width: 26em; }
.home-cooperation-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(2rem, 5vw, 7rem); }
.home-flow { border-left: 1px solid var(--brand-red); padding-left: 1.5rem; }
.home-stage { position: relative; border-bottom: 1px solid #d9d9d9; }
.home-stage:last-child { border-bottom: 0; }
.home-stage summary {
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; list-style: none; padding-block: .8rem; font-size: clamp(1rem, 1.12vw, 1.25rem); font-weight: 700;
}
.home-stage summary::-webkit-details-marker { display: none; }
.home-stage summary::before { content: ''; position: absolute; left: calc(-1.5rem - 5px); top: 1.72rem; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-red); }
.home-stage summary span {
  position: relative; width: 2.35rem; height: 2.35rem; flex: none;
  border: 1px solid #aaa; border-radius: 50%;
}
.home-stage summary span::before, .home-stage summary span::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: .72rem; height: 2px; border-radius: 1px; background: currentColor;
  transform: translate(-50%, -50%);
}
.home-stage summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.home-stage[open] summary span::after { visibility: hidden; }
.home-stage summary:hover span, .home-stage[open] summary span { background: var(--brand-red); border-color: var(--brand-red); color: white; }
.home-stage summary:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 4px; }
.home-stage ol { color: #484848; margin: 0 0 1.25rem; padding-left: 1.25rem; }
.home-stage li + li { margin-top: .2rem; }
@keyframes home-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .brand-hero.home-visible .home-copy > *, .home-screen:not(.brand-hero).home-visible .home-copy, .home-visible .home-stage { animation: home-enter 550ms ease-out both; }
  .brand-hero.home-visible p { animation-delay: 90ms; }
  .brand-hero.home-visible .actions { animation-delay: 180ms; }
  .home-visible .home-stage:nth-child(2) { animation-delay: .5s; }
  .home-visible .home-stage:nth-child(3) { animation-delay: 1s; }
  .home-visible .home-stage:nth-child(4) { animation-delay: 1.5s; }
  .home-visible .home-stage:nth-child(5) { animation-delay: 2s; }
  .home-visible .home-flow.is-interacting .home-stage { animation: none; }
}
@media (min-width: 761px) {
  .home-intro, .home-quality { align-items: center; }
  .home-intro img { height: 100svh; }
  .home-intro .home-copy, .home-quality .home-copy { transform: translateY(-4svh); }
  .home-visible.home-intro .home-copy, .home-visible.home-quality .home-copy { animation-name: home-enter-raised; }
  @keyframes home-enter-raised { from { opacity: 0; transform: translateY(calc(-4svh + 14px)); } to { opacity: 1; transform: translateY(-4svh); } }
}
@media (max-width: 760px) {
  .brand-hero { margin-top: -5.75rem; align-items: end; background-position: 80% center; }
  .home-intro, .home-cooperation-grid { grid-template-columns: minmax(0, 1fr); }
  .home-intro { min-height: auto; }
  .home-intro .home-copy { grid-column: 1; width: var(--layout-width); margin-inline: auto; padding: 4rem var(--nav-inner-inset) 2rem; }
  .home-intro img { height: min(65svh, 32rem); }
  .home-cooperation { min-height: auto; padding-block: 4rem; }
  .home-flow { margin-left: .4rem; }
  .home-quality { background-position: 65% center; }
}


.brand-home main .site-contact::before {
  inset: 0 -1.5rem 0 0;
  mask: linear-gradient(#000 0 0) left / calc(100% - 1.5rem + 1px) 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L21 20 Q25 24 21 28 L0 48 Z'/%3E%3C/svg%3E") right / 1.5rem 100% no-repeat;
  transform: translateX(-100%);
  transition: transform 650ms ease-in-out;
}
.brand-home main .site-contact:is(:hover, :focus-visible)::before { transform: translateX(0); }
.brand-home .home-contact-outline { background: transparent; border: 1px solid white; }
.brand-home .home-contact-outline::before { background: var(--brand-red); }
@media (prefers-reduced-motion: reduce) {
  .brand-home main .site-contact::before { transition: none; }
}

.home-history {
  padding-block: 4rem;
  background-image: linear-gradient(90deg, #f8f8f7 28%, #f8f8f7e8 60%, #f8f8f7b0),
    linear-gradient(#f8f8f7 0%, transparent 75%), url('/assets/about/building.webp');
  background-position: right bottom;
  background-size: min(65vw, 72rem) 55%;
  background-repeat: no-repeat;
}
.home-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr) minmax(0, 1fr);
  --timeline-gap: clamp(1rem, 2.5vw, 3rem);
  gap: var(--timeline-gap);
  list-style: none;
  position: relative;
  margin: 2.75rem 0 0;
  padding: 1.4rem 0 0;
}
.home-timeline::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: #979797;
  transform-origin: left;
}
.home-timeline li { position: relative; }
.home-timeline li::before {
  content: "";
  position: absolute;
  inset: -1.4rem auto auto 0;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--brand-red);
  transform: translateY(-45%);
}
.home-timeline time { color: #cf111b; font-size: clamp(1.65rem, 2.8vw, 3.25rem); font-weight: 750; }
.home-timeline h3 { margin: .25rem 0 0; line-height: 1.4; }
.home-timeline p { margin-top: .4rem; }
.home-markets {
  padding-block: 4rem;
  color: white;
  background: linear-gradient(90deg, #101113f2, #101113c9 64%, #10111342),
    url('/assets/about/cycling.webp') right center / cover no-repeat;
}
.home-markets-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 7rem); }
.home-copy .home-market-total { max-width: none; color: white; font-size: clamp(1.4rem, 2.6vw, 2.8rem); line-height: 1.2; }
.home-market-total strong { color: var(--brand-red); font-size: clamp(4rem, 8vw, 8rem); }
.home-market-list dl { margin-top: 1rem; }
.home-market-list dl div { display: grid; grid-template-columns: minmax(5em, .4fr) 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid #ffffff65; }
.home-market-list dt { font-weight: 750; margin: 0; color: white; }
.home-market-list dd { margin: 0; }
.home-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@property --home-market-count {
  syntax: "<integer>";
  initial-value: 50;
  inherits: false;
}
.home-market-value { counter-reset: home-markets var(--home-market-count, 50); }
.home-market-value::before { content: counter(home-markets) "+"; }
@keyframes home-count-up { from { --home-market-count: 0; } to { --home-market-count: 50; } }
@keyframes home-timeline-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .home-history.home-visible .home-copy { animation: none; }
  .home-visible .home-timeline::before { animation: home-timeline-draw 1.5s ease-out both; }
  .home-visible :is(.home-timeline li, .home-market-list dl div) { animation: home-enter 500ms ease-out both; }
  .home-visible :is(.home-timeline li, .home-market-list dl div):nth-child(2) { animation-delay: .5s; }
  .home-visible :is(.home-timeline li, .home-market-list dl div):nth-child(3) { animation-delay: 1s; }
  .home-visible .home-timeline li:nth-child(4) { animation-delay: 1.5s; }
  .home-visible .home-market-value { animation: home-count-up 850ms ease-out both; }
}
@media (max-width: 760px) {
  .home-timeline, .home-markets-grid { grid-template-columns: minmax(0, 1fr); }
  .home-timeline { padding: 0 0 0 1.2rem; }
  .home-timeline::before { inset: 0 auto 0 0; width: 1px; height: auto; transform-origin: top; }
  .home-visible .home-timeline::before { animation-name: home-timeline-draw-mobile; }
  .home-timeline li::before { inset: .85rem auto auto -1.2rem; transform: translate(-45%, -45%); }
}
@keyframes home-timeline-draw-mobile { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.home-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: calc(-1.4rem - .25rem) auto auto calc((100% + var(--timeline-gap)) / 2);
  width: .5rem;
  height: .5rem;
  border: solid var(--brand-red);
  border-width: 2px 2px 0 0;
  transform: translateX(-50%) rotate(45deg);
}
@media (max-width: 760px) {
  .home-timeline li:not(:last-child)::after {
    inset: auto auto calc(var(--timeline-gap) / -2) -1.2rem;
    transform: translate(-50%, 50%) rotate(135deg);
  }
}

.home-markets { background: #141618; }
.home-markets-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr); }
.home-market-map { position: relative; margin-bottom: 1.5rem; }
.home-market-map img { width: 100%; height: auto; }
.home-map-pin {
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.home-map-pin::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-red);
}
.home-map-pin span {
  display: none;
  position: absolute;
  bottom: calc(100% + .25rem);
  left: 50%;
  transform: translateX(-50%);
  padding: .25rem .5rem;
  border: 1px solid #57595b;
  border-radius: .25rem;
  color: white;
  background: #191b1d;
  white-space: nowrap;
}
.home-map-pin:is(:hover, :focus) { z-index: 1; }
.home-map-pin:is(:hover, :focus) span { display: block; }
.home-map-pin:focus-visible { outline: 2px solid white; border-radius: 50%; }

@keyframes home-pin-enter { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@keyframes home-arrow-guide {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
@media (min-width: 761px) {
  .home-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-visible .home-map-pin::before { animation: home-pin-enter 450ms ease-out var(--pin-delay) both; }
  .home-visible .home-timeline li:not(:last-child)::after { animation: home-arrow-guide .8s ease-in-out 2; }
}
@media (max-width: 760px) {
  .home-markets-grid { grid-template-columns: minmax(0, 1fr); }
}
.home-timeline-visual { position: relative; display: flow-root; }
.home-growth-arrow { display: none; }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .home-history.is-scroll-driven {
    display: block;
    min-height: 185svh;
    padding-block: 0;
    overflow: clip;
  }
  .is-scroll-driven > .home-copy {
    position: sticky;
    top: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 4rem;
  }
  .is-scroll-driven .home-timeline-visual { isolation: isolate; }
  .is-scroll-driven .home-timeline::before,
  .is-scroll-driven .home-timeline li,
  .is-scroll-driven .home-timeline li:not(:last-child)::after { animation: none; }
  .is-scroll-driven:not(.is-growth-complete) .home-timeline li::after { opacity: 0; }
  .is-scroll-driven .home-growth-arrow {
    display: block;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: clamp(3.75rem, 7vw, 6rem);
    top: 2.75rem;
    left: 0;
    transform: translateY(-50%);
    overflow: visible;
    pointer-events: none;
  }
}
