@font-face {
  font-family: Space Grotesk;
  src: url('./assets/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('./assets/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #131912;
  --ink-deep: #10150f;
  --paper: #f5f6ee;
  --white: #f7f8ef;
  --lime: #d2f65a;
  --muted: #4d5949;
  --line: #cfd7c5;
  --display: Space Grotesk, 'Segoe UI', sans-serif;
  --body: Manrope, 'Segoe UI', sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5.25rem);
  --header: 4.625rem;
  --ease: cubic-bezier(.22, .7, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1.25rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #5d7a13; outline-offset: 5px; }
.hero :focus-visible, .transport :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.container { width: min(100% - var(--gutter) * 2, 80rem); margin-inline: auto; }
.section-pad { padding-block: clamp(4.25rem, 9vw, 9rem); }
.skip-link { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; padding: .6rem 1rem; background: var(--lime); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  color: var(--white);
  background: #131912;
  border-bottom: 1px solid #ffffff20;
}
.nav-inner { display: flex; min-height: var(--header); position: relative; align-items: center; gap: clamp(1.2rem, 4vw, 3.2rem); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-size: 2.05rem; font-weight: 700; line-height: 1; letter-spacing: -.09em; text-decoration: none; white-space: nowrap; }
.brand-dot { color: var(--lime); letter-spacing: -.16em; }
.brand small { font-size: .57em; font-weight: 600; padding-left: .085em; letter-spacing: -.085em; }
.brand-mark { position: relative; width: 1.42rem; height: 1.35rem; flex: 0 0 auto; }
.brand-mark i { position: absolute; width: .77rem; height: 1.12rem; border: .16rem solid var(--lime); border-radius: 47%; transform: rotate(34deg); }
.brand-mark i:first-child { inset: .105rem auto auto .11rem; border-right-color: transparent; }
.brand-mark i:last-child { inset: .105rem .11rem auto auto; border-left-color: transparent; }
.site-nav { display: flex; flex: 1; justify-content: center; gap: clamp(1.3rem, 3.1vw, 3.2rem); }
.site-nav a, .site-footer nav a { color: #d5ddcf; text-decoration: none; font-size: .9rem; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current], .site-footer nav a:hover { color: var(--lime); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.35rem;
  padding: .75rem 1.45rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-header { min-height: 2.75rem; padding-inline: 1rem; color: var(--lime); border-color: #d2f65975; }
.button-header:hover { color: var(--ink); background: var(--lime); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #e2ff8c; }
.button-ghost { color: var(--white); border-color: #f7f8ef5c; }
.button-ghost:hover { background: #eff7df14; border-color: #f7f8efc2; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #293d23; }

.hero { --hero-progress: 0; --scene-reveal: 0; --scroll-travel: clamp(52rem, 135svh, 105rem); position: relative; background: var(--ink-deep); color: var(--white); }
.hero-stage { position: relative; isolation: isolate; min-height: clamp(34rem, 51vw, 46rem); overflow: hidden; }
.hero-visual { position: absolute; z-index: -1; inset: 0 0 0 30%; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at 66% 48%, #4e643538, transparent 70%); }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #10150f 0%, #10150fca 12%, #10150f32 36%, transparent 51%), linear-gradient(0deg,#10150f 0%,transparent 14%); }
.hero-image, #loop-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image {
  object-fit: cover;
  object-position: 69% 50%;
  opacity: calc(1 - var(--scene-reveal));
  transform: perspective(1300px) translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0)
      rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(calc(1.015 + .05 * var(--hero-progress)));
  transition: transform .25s var(--ease);
}
#loop-scene { opacity: var(--scene-reveal); }
.hero-inner { position: relative; display: flex; min-height: inherit; align-items: center; padding-block: 4rem 6rem; }
.hero-copy { max-width: min(100%, 45rem); position: relative; transform: translateY(calc(-.6rem * var(--hero-progress))); }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: #415338; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dash { width: 1.35rem; height: 2px; background: currentColor; flex: none; }
.hero-category { color: var(--lime); margin-bottom: 1.4rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(3.85rem, 7.15vw, 7.45rem); line-height: .94; letter-spacing: -.105em; }
h1 span { color: var(--lime); }
.hero-intro { max-width: 31rem; margin-top: 2rem; color: #d3dbcd; font-size: clamp(1.01rem, 1.42vw, 1.24rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.hero-scroll { position: absolute; left: 0; bottom: 1.55rem; display: inline-flex; align-items: center; gap: .55rem; color: #c8d1c3; text-decoration: none; font-size: .8rem; font-weight: 650; }
.scene-track { display: none; position: absolute; right: 0; bottom: 2rem; width: 5.5rem; height: 2px; background: #c2d3b25c; pointer-events: none; }
.scene-track::before { content: ''; display: block; height: 100%; background: #e3ff91; transform: scaleX(var(--hero-progress)); transform-origin: left; }
.scene-ready .scene-track { display: block; }
.scroll-cue { position: relative; display: inline-block; width: .75rem; height: 1.2rem; border: 1px solid #aebe9e; border-radius: .625rem; }
.scroll-cue::after { content: ''; position: absolute; top: .24rem; left: 50%; width: 2px; height: 4px; border-radius: 2px; transform: translateX(-50%); background: var(--lime); animation: step-down 1.7s var(--ease) infinite; }
@keyframes step-down { 0%, 30% { transform: translate(-50%, 0); opacity: 1; } 80%, 100% { transform: translate(-50%, .3rem); opacity: .25; } }
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .hero.scene-ready { min-height: calc(max(34rem, 100svh - var(--header)) + var(--scroll-travel)); }
  .hero.scene-ready .hero-stage { position: sticky; top: var(--header); min-height: max(34rem, 100svh - var(--header)); }
}

.service-index { background: #e6ecd9; border-bottom: 1px solid #d7dfce; }
.service-index-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-index a { min-height: 4.6rem; display: flex; gap: .85rem; align-items: center; justify-content: center; color: #273425; font-size: .9rem; font-weight: 800; text-decoration: none; padding: .65rem .45rem; }
.service-index a + a { border-left: 1px solid #cdd7c1; }
.service-index a:hover { color: #456216; background: #dce8c8; }
.index-icon { display: inline-block; position: relative; width: 1.46rem; height: 1.32rem; flex: none; }
.index-icon::before, .index-icon::after { content: ''; position: absolute; }
.icon-device::before { inset: .09rem .18rem .36rem; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-device::after { inset: auto .05rem .21rem; height: 1.5px; background: currentColor; }
.icon-bus::before, .icon-truck::before { inset: .23rem .05rem .35rem; border: 1.5px solid currentColor; border-radius: .16rem .35rem .09rem .09rem; }
.icon-bus::after, .icon-truck::after { inset: auto .29rem .14rem; width: .22rem; height: .22rem; border-radius: 50%; background: currentColor; box-shadow: .57rem 0 currentColor; }
.icon-truck::before { background: linear-gradient(90deg,transparent 65%,currentColor 65%,currentColor 72%,transparent 72%); }

.editorial-grid { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; gap: clamp(2rem, 6vw, 6.2rem); }
.section-copy h2, .section-head h2, .contact h2 { font-size: clamp(2.85rem, 5.5vw, 5.8rem); line-height: .96; letter-spacing: -.095em; margin-block: 1rem 1.55rem; }
.section-copy > p:not(.eyebrow), .section-head > p, .contact-copy > p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.65; }
.section-copy > p + p { margin-top: .85rem; }
.section-copy > .button { margin-top: 1.35rem; }
.photo-frame { overflow: hidden; isolation: isolate; position: relative; background: #2b3828; border-radius: .35rem; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--parallax, 0px)) scale(var(--photo-scale, 1.045)); }
.electronics-media { aspect-ratio: 1.15; }
.electronics-media img { object-position: center; }

.transport { background: #182016; color: var(--white); }
.transport .eyebrow, .transport .index-icon { color: var(--lime); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); align-items: end; gap: clamp(1.5rem, 5.5vw, 5.5rem); margin-bottom: 2.6rem; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { color: #d1dacb; padding-bottom: .35rem; max-width: 24rem; }
.transport-media { aspect-ratio: 2; }
.transport-media img { object-position: 50% 50%; }
.transport-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 1.35rem; gap: 1rem; }
.transport-options article { padding: clamp(1.3rem, 3vw, 2.1rem); border: 1px solid #afc5a74d; border-radius: .35rem; background: #202a1e; }
.transport-options h3 { margin-top: .32rem; font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.1; letter-spacing: -.06em; }
.transport-options article p { color: #d3dccd; margin-block: .65rem .85rem; }
.text-link { display: inline-block; color: var(--lime); font-weight: 800; font-size: .92rem; text-underline-offset: .24em; }
.text-link:hover { color: #eeffa7; }

.contact { background: var(--lime); padding-block: clamp(3.75rem, 7vw, 6.6rem); }
.contact-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.58fr); gap: clamp(1.25rem, 5vw, 5rem); align-items: end; }
.contact h2 { margin-bottom: 0; }
.contact-copy { padding-bottom: .3rem; }
.contact-copy > p { color: #344722; max-width: 27rem; margin-bottom: 1.3rem; }
.contact-email { font-weight: 800; text-underline-offset: .2em; }
.site-footer { color: var(--white); background: var(--ink-deep); }
.footer-inner { min-height: 6.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; }

.js-motion [data-reveal] { opacity: 0; transform: translateY(2.1rem); transition: opacity .88s var(--ease), transform 1.1s var(--ease), clip-path 1.22s var(--ease); }
.js-motion .photo-frame[data-reveal] { clip-path: inset(0 0 11% 0); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0); }
.js-motion .transport-options article:nth-child(2) { transition-delay: .09s; }

.quote-dialog { width: min(100% - 2rem, 37rem); max-height: min(90vh, 54rem); border: 1px solid #cbd5c5; border-radius: .7rem; margin: auto; padding: clamp(1.2rem, 4vw, 2rem); background: var(--paper); color: var(--ink); overscroll-behavior: contain; box-shadow: 0 2rem 5rem #0a130a60; }
.quote-dialog::backdrop { background: #0b120bd0; backdrop-filter: blur(8px); }
.quote-heading { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.quote-heading h2 { line-height: 1.08; letter-spacing: -.075em; font-size: clamp(1.65rem, 4vw, 2.35rem); }
.close-button { display: grid; place-items: center; flex: 0 0 auto; width: 2.55rem; min-height: 2.55rem; border: 1px solid #b9c7b1; background: transparent; color: var(--ink); font-size: 1.7rem; line-height: 1; border-radius: .3rem; }
.close-button:hover { background: #dde8d6; }
.quote-dialog label { display: block; font-weight: 800; font-size: .88rem; margin-bottom: .25rem; }
.quote-dialog label span { color: var(--muted); font-weight: 600; }
.quote-dialog input, .quote-dialog select, .quote-dialog textarea { width: 100%; background: #fff; color: var(--ink); border: 1px solid #aab9a6; border-radius: .3rem; padding: .6rem .7rem; margin-bottom: .7rem; }
.quote-dialog textarea { resize: vertical; min-height: 5rem; }
.quote-dialog select { appearance: none; padding-right: 2.35rem; background: linear-gradient(45deg, transparent 50%, #293f23 50%) calc(100% - 19px) 52% / 5px 5px no-repeat, linear-gradient(135deg,#293f23 50%,transparent 50%) calc(100% - 14px) 52% / 5px 5px no-repeat, #fff; }
.quote-two { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.quote-status:not(:empty) { margin-top: .75rem; color: #455638; }
.quote-status.is-error { color: #9b2919; }
.quote-fallback { margin-top: .5rem; }
.quote-submit:disabled { opacity: .65; cursor: wait; }
body:has(.quote-dialog[open]) { overflow: hidden; }

@media (max-width: 850px) {
  .hero-visual { inset-inline-start: 23%; }
  .hero-visual::after { background: linear-gradient(90deg,#10150f 0%,#10150f78 36%,transparent 65%),linear-gradient(0deg,#10150f 0%,transparent 15%); }
  .nav-inner { gap: 1rem; }
  .site-nav { gap: 1.15rem; }
}
@media (max-width: 680px) {
  :root { --header: 4rem; }
  .nav-inner { justify-content: space-between; }
  .brand { font-size: 1.8rem; }
  .button-header { display: none; }
  .js .menu-toggle { display: grid; align-content: center; gap: 5px; place-items: center; min-width: 2.75rem; min-height: 2.75rem; color: var(--white); border: 1px solid #f7f8ef55; background: transparent; border-radius: .3rem; }
  .menu-toggle span { width: 1.15rem; height: 2px; background: currentColor; }
  .site-nav { justify-content: flex-end; gap: .75rem; }
  .js .site-nav { display: none; position: absolute; inset: 100% 0 auto; border: 1px solid #6d8166; padding: .35rem .8rem; border-radius: .25rem; background: #222d20; }
  .js .site-nav.is-open { display: grid; }
  .site-nav a { padding-block: .42rem; }
  .hero-stage { min-height: 42rem; }
  .hero-visual { inset: 0; }
  .hero-image { object-position: 74% 43%; }
  .hero-image, #loop-scene { height: 26rem; }
  .hero-visual::after { background: linear-gradient(180deg,transparent 10rem,#10150f15 16rem,#10150f 25rem); }
  .hero-inner { align-items: flex-end; padding-block: 18rem 3.75rem; }
  .hero-copy { opacity: 1; transform: none; }
  .hero-category { margin-bottom: 1rem; }
  h1 { font-size: clamp(3.1rem, 12.5vw, 5.2rem); }
  .hero-intro { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.35rem; gap: .5rem; }
  .hero-actions .button { min-height: 3rem; padding-inline: .9rem; font-size: .83rem; }
  .hero-scroll { bottom: 1rem; }
  .scene-track { bottom: 1.6rem; width: 2.6rem; }
  .service-index-inner { grid-template-columns: 1fr; }
  .service-index a { min-height: 3rem; justify-content: flex-start; }
  .service-index a + a { border-left: 0; border-top: 1px solid #cdd7c1; }
  .editorial-grid, .section-head, .contact-inner { grid-template-columns: 1fr; }
  .section-head { gap: .85rem; margin-bottom: 1.45rem; }
  .electronics-media { aspect-ratio: 1.25; }
  .transport-media { aspect-ratio: 1.75; }
  .transport-options { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 1.3rem; flex-wrap: wrap; }
}
@media (max-width: 768px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .hero.scene-ready { --scroll-travel: clamp(31rem, 92svh, 58rem); min-height: calc(max(42rem, 100svh - var(--header)) + var(--scroll-travel)); }
  .hero.scene-ready .hero-stage { position: sticky; top: var(--header); min-height: max(42rem, 100svh - var(--header)); }
}
@media (max-width: 390px) {
  .quote-two { grid-template-columns: 1fr; gap: 0; }
  .hero-actions { gap: .4rem; }
  .hero-actions .button { padding-inline: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-image, .hero-copy { opacity: 1; transform: none; }
  #loop-scene, .scene-ready .scene-track { display: none; }
  .js-motion [data-reveal], .js-motion .photo-frame[data-reveal] { opacity: 1; transform: none; clip-path: none; }
}
