:root {
  color-scheme: dark;
  --tag-logo: url('assets/tag-primary.webp');
  --arcfox-logo: url('assets/arcfox-logo.png');
  --t1-hero: url('assets/t1-backlit.webp');
  --t1-original: url('assets/t1-hero.webp');
}
* { box-sizing: border-box; }
.landing[data-scenery='original'] { --t1-hero: var(--t1-original); }
html, body { margin: 0; background: #020609; }
body { font-family: Arial, Helvetica, sans-serif; }
.landing {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; min-height: 850px; min-height: max(850px, 100svh);
  background: #020609; color: #f2f5f7;
}
.brand-header {
  position: relative; z-index: 3; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; padding: 25px 5.2%;
}
.tag-logo {
  flex: 0 0 auto; width: 224px; aspect-ratio: 1380 / 640;
  background-image: var(--tag-logo); background-repeat: no-repeat;
  background-size: 107.681% 177.031%; background-position: 75.472% 53.753%;
}
.arcfox-brand { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.arcfox-logo { width: 224px; aspect-ratio: 1542 / 226; background: var(--arcfox-logo) center / contain no-repeat; }
.brand-location { font-size: 10px; letter-spacing: .47em; padding-left: .47em; color: #c1c8cf; }
.landing[data-brand='arcfox'] .arcfox-brand { order: -1; }
.landing[data-brand='arcfox'] .tag-logo { width: 192px; }
.landing[data-brand='arcfox'] .arcfox-logo { width: 248px; }
.hero-copy { position: relative; z-index: 2; margin: 30px auto 0; padding: 0 24px; text-align: center; }
.eyebrow { margin: 0 0 21px; color: #9ab3c0; font-size: 11px; line-height: 1.5; letter-spacing: .3em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; font-size: clamp(66px, 7.5vw, 108px); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; }
.hero-copy .intro { margin: 23px 0 0; color: #bbc5ce; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.5; font-weight: 400; letter-spacing: .025em; }
.reveal-line { width: 42px; height: 1px; background: #73c6e6; opacity: .65; margin: 27px auto 0; }
.scene {
  position: absolute; z-index: 0; width: min(100%, 1600px); left: 50%; bottom: -95px;
  aspect-ratio: 1672 / 941; transform: translateX(-50%); pointer-events: none;
}
.vehicle-image { position: absolute; inset: 0; background: var(--t1-hero) center / 100% 100% no-repeat; filter: brightness(.65); }
.scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #020609 0%, transparent 22%, transparent 82%, #020609 100%); }
.energy { position: absolute; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.contour { --travel-time: 6.8s; --travel-delay: -1s; --trace-strength: .78; }
.energy use { fill: none; stroke: #9de7ff; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trace-bed { stroke-width: .65; opacity: .12; }
.trace-glow, .trace-trail, .trace-tip {
  stroke-dashoffset: 1000;
  animation: contour-flow var(--travel-time) linear var(--travel-delay) infinite;
}
.trace-glow { stroke-width: 7; stroke-dasharray: 140 860; opacity: .23; filter: blur(3px); }
.trace-trail { stroke-width: 1.5; stroke-dasharray: 110 890; opacity: var(--trace-strength); filter: drop-shadow(0 0 3px #53bfff); }
.energy .trace-tip { --dash-start: 896; --dash-end: -104; stroke: #e7f9ff; stroke-width: 2.1; stroke-dasharray: 6 994; opacity: .95; filter: drop-shadow(0 0 4px #a2eaff); }
.hood { --travel-time: 5.4s; --travel-delay: -2.5s; --trace-strength: .64; }
.shoulder { --travel-time: 7.6s; --travel-delay: -4.6s; --trace-strength: .5; }
.sill { --travel-time: 7.2s; --travel-delay: -2.7s; --trace-strength: .55; }
.rear-arch { --travel-time: 8.4s; --travel-delay: -5.5s; --trace-strength: .34; opacity: .7; }
.front-arch { --travel-time: 8.4s; --travel-delay: -1.3s; --trace-strength: .34; opacity: .7; }
.body-reveal { opacity: .82; pointer-events: none; }
.reveal-band { animation: body-sweep 9.5s cubic-bezier(.4, 0, .3, 1) -1.5s infinite; }
.ground-glow { opacity: .12; animation: ground-breathe 9.5s ease-in-out -1.5s infinite; }
.headlight-glow { fill: none; stroke: #d3f3ff; stroke-width: 2.2; stroke-linecap: round; opacity: .16; filter: drop-shadow(0 0 7px #92deff); animation: headlight-breathe 6.8s ease-in-out -1s infinite; }
.landing.is-paused .scene *, .landing.is-inactive .scene * { animation-play-state: paused !important; }
@keyframes contour-flow { from { stroke-dashoffset: var(--dash-start, 1000); } to { stroke-dashoffset: var(--dash-end, 0); } }
@keyframes body-sweep {
  0%, 8% { transform: translateX(0); }
  72%, 100% { transform: translateX(2110px); }
}
@keyframes ground-breathe {
  0%, 15%, 85%, 100% { opacity: .12; }
  48% { opacity: .45; }
}
@keyframes headlight-breathe {
  0%, 100% { opacity: .12; }
  48% { opacity: .58; }
}
.page-footer {
  position: absolute; z-index: 3; bottom: 26px; left: 5.2%; right: 5.2%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding-top: 19px; border-top: 1px solid #ffffff18;
  font-size: 11px; line-height: 1.5; color: #99a8b4;
}
.footer-company { letter-spacing: .1em; }
.domain { color: #c8d1d9; font-size: 12px; letter-spacing: .1em; }
.motion-button {
  justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 0 12px 12px; border: 0; border-radius: 0;
  background: transparent; color: #9facb6; font: inherit; cursor: pointer;
}
.motion-button:hover { color: #fff; }
.motion-button:focus-visible { outline: 2px solid #a1dfff; outline-offset: 5px; }
.motion-icon { font-size: 13px; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1500px) { .hero-copy { margin-top: 54px; } }
@media (max-width: 1050px) {
  .landing { min-height: max(710px, 100svh); }
  .brand-header { padding: 23px 5%; }
  .tag-logo { width: 180px; }
  .arcfox-logo { width: 190px; }
  .landing[data-brand='arcfox'] .tag-logo { width: 168px; }
  .landing[data-brand='arcfox'] .arcfox-logo { width: 205px; }
  .hero-copy { margin-top: 35px; }
  .hero-copy h1 { font-size: 79px; }
  .hero-copy .intro { margin-top: 18px; }
  .scene { bottom: -50px; }
  .footer-company { font-size: 9px; letter-spacing: .07em; }
}
@media (max-width: 650px) {
  .landing { min-height: max(730px, 100svh); }
  .brand-header { padding: 26px 22px; gap: 24px; }
  .tag-logo { width: 144px; }
  .arcfox-logo { width: 144px; }
  .landing[data-brand='arcfox'] .tag-logo { width: 130px; }
  .landing[data-brand='arcfox'] .arcfox-logo { width: 156px; }
  .arcfox-brand { gap: 9px; }
  .brand-location { font-size: 8px; letter-spacing: .4em; }
  .hero-copy { margin-top: 72px; padding: 0 18px; }
  .eyebrow { font-size: 9px; letter-spacing: .22em; margin-bottom: 23px; }
  .hero-copy h1 { font-size: clamp(50px, 12.2vw, 76px); letter-spacing: -.055em; }
  .hero-copy .intro { font-size: 14px; margin-top: 20px; }
  .reveal-line { margin-top: 24px; }
  .scene { width: 138%; bottom: 125px; }
  .page-footer { left: 22px; right: 22px; bottom: 18px; grid-template-columns: 1fr auto; gap: 9px; padding-top: 19px; }
  .domain { grid-column: 1; grid-row: 1; font-size: 11px; }
  .footer-company { grid-column: 1; grid-row: 2; font-size: 8px; }
  .motion-button { grid-column: 2; grid-row: 1 / 3; font-size: 10px; padding: 14px 0 14px 6px; }
}
@media (max-width: 360px) {
  .brand-header { padding: 24px 17px; gap: 20px; }
  .tag-logo { width: 128px; }
  .arcfox-logo { width: 128px; }
  .landing[data-brand='arcfox'] .tag-logo { width: 118px; }
  .landing[data-brand='arcfox'] .arcfox-logo { width: 136px; }
  .hero-copy .intro { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene * { animation: none !important; }
  .trace-glow, .trace-trail, .trace-tip, .body-reveal, .ground-glow, .headlight-glow { display: none; }
  .trace-bed { opacity: .1; }
  .motion-button { display: none; }
}
