@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap");

:root {
  --ink: #08090b;
  --graphite: #121316;
  --slate: #1a1c21;
  --panel: #202228;
  --line: #30333a;
  --line-strong: #444852;
  --bone: #f5f3ef;
  --ash: #a6a9b0;
  --muted: #737780;
  --signal: #e5381a;
  --signal-hover: #ff6a3d;
  --white: #ffffff;
  --focus: rgba(229, 56, 26, 0.36);
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1180px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--bone);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.concept-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 38px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--line);
  background: #0f1013;
  color: var(--ash);
  font: 600 12px/1.35 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.concept-bar a {
  color: var(--bone);
  border-bottom: 1px solid var(--signal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(8, 9, 11, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  min-width: 154px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: 4px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ash);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.site-nav a:hover {
  color: var(--bone);
  border-color: var(--line);
}

.site-nav .phone-link {
  color: var(--bone);
  border-color: var(--line);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--bone);
  font: 700 13px/1 var(--font-body);
}

.menu-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.section {
  padding: 88px 0;
}

.section-dark {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100svh - 120px);
  display: grid;
  align-items: center;
  padding: 78px 0 64px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.82) 42%, rgba(8, 9, 11, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.3), rgba(8, 9, 11, 0.96)),
    url("assets/newway-hero.jpg") center / cover no-repeat;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 44px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal-hover);
  font: 600 12px/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.hero-lede,
.section-heading p,
.action-panel p,
.proof-grid article p {
  color: var(--ash);
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--white);
}

.button-primary:hover {
  background: var(--signal-hover);
  border-color: var(--signal-hover);
  color: var(--ink);
}

.button-secondary {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.button-ghost {
  color: var(--bone);
  background: rgba(255, 255, 255, 0.06);
}

.dispatch-panel,
.action-panel,
.route-board,
.proof-cards a,
.service-card {
  background: rgba(18, 19, 22, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dispatch-panel {
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  font: 600 12px/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(229, 56, 26, 0.12);
}

.dispatch-panel a {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.dispatch-panel a:last-child {
  border-bottom: 0;
}

.dispatch-panel strong,
.proof-cards strong,
.path-grid strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.dispatch-panel span:not(.status-dot),
.proof-cards span,
.path-grid small {
  color: var(--ash);
}

.stats {
  border-bottom: 1px solid var(--line);
  background: var(--graphite);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 1px solid var(--line);
}

.stats-grid span {
  color: var(--ash);
  font: 600 12px/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stats-grid strong {
  align-self: end;
  font: 700 clamp(2rem, 5vw, 3.5rem)/0.95 var(--font-display);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.service-card div {
  padding: 22px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ash);
}

.service-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
}

.service-card-wide img {
  height: 100%;
  aspect-ratio: auto;
}

.route-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    var(--slate);
  border-block: 1px solid var(--line);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 116px;
  margin-bottom: 0;
}

.route-board {
  overflow: hidden;
}

.route-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 78px;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.route-row:last-child {
  border-bottom: 0;
}

.route-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.route-row span,
.route-row em {
  color: var(--ash);
  font: 600 12px/1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-style: normal;
}

.route-row-head {
  background: #0f1013;
  color: var(--muted);
  min-height: 46px;
}

.route-row-head:hover {
  background: #0f1013;
}

.action-section {
  background: var(--ink);
}

.action-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  padding: 34px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.path-grid a {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--slate);
}

.path-grid a:hover {
  border-color: var(--signal);
}

.path-grid span {
  color: var(--signal-hover);
  font: 600 12px/1 var(--font-mono);
}

.path-grid small {
  align-self: end;
}

.proof-section {
  padding-top: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
}

.proof-cards {
  display: grid;
  gap: 12px;
}

.proof-cards a {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.proof-cards a:hover {
  border-color: var(--signal);
}

.site-footer {
  padding: 64px 0 52px;
  background: #050506;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 142px;
  margin-bottom: 20px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: 4px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a:not(.button) {
  color: var(--ash);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer nav a:hover {
  color: var(--bone);
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 121px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--graphite);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-grid,
  .coverage-grid,
  .action-panel,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dispatch-panel {
    max-width: 560px;
  }

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

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

  .service-card-wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .concept-bar {
    flex-direction: column;
    gap: 4px;
    padding-block: 10px;
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    width: 132px;
    min-width: 132px;
  }

  .site-nav {
    inset: 126px 14px auto;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 50px 0 44px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.78) 55%, rgba(8, 9, 11, 0.98) 100%),
      url("assets/newway-hero.jpg") center / cover no-repeat;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .stats-grid,
  .service-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div,
  .stats-grid div:last-child {
    border-right: 1px solid var(--line);
    min-height: 112px;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .route-row,
  .route-row-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .action-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover {
    transform: none;
  }
}
