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

:root {
  --asphalt: #1D2D45;
  --asphalt-2: #16233A;
  --paper: #F6F7FA;
  --paper-2: #EBEEF3;
  --ink: #1D2D45;
  --slate: #5B6270;
  --signal: #A8916B;
  --signal-deep: #8A7454;
  --route: #435773;
  --route-deep: #2E3F58;
  --safety: #1F7A4D;
  --safety-tint: #E5F3EA;
  --line: #DCE1EA;
  --line-dark: rgba(29,45,69,0.12);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.mono { font-family: 'IBM Plex Mono', monospace; }
p { line-height: 1.65; color: var(--slate); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- lane line signature divider ---------- */
.lane-line {
  height: 0;
  border-top: 3px dashed var(--signal);
  opacity: 0.85;
  margin: 0;
}
.lane-line.on-dark { border-top-color: rgba(184,145,46,0.6); }

/* ---------- header ---------- */
header.site {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0;
}
.brand-link { display: flex; align-items: center; gap: 12px; }
.header-logo-icon { height: 44px; width: auto; display: block; flex-shrink: 0; }
.logo-wordmark { display: flex; flex-direction: column; }
.logo-wordmark .lw-line1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: 0.01em; color: var(--ink); line-height: 1.15; text-transform: uppercase; }
.logo-wordmark .lw-line2 { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.logo-wordmark .lw-line2 .lw-dash { width: 13px; height: 1.5px; background: var(--signal); flex-shrink: 0; }
.logo-wordmark .lw-line2 .lw-sub { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; color: var(--slate); text-transform: uppercase; white-space: nowrap; }
.footer-logo-icon { height: 40px; width: auto; display: block; flex-shrink: 0; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-tagline { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--signal-deep); margin: 0 0 10px; }

@media (max-width: 680px) {
  .header-logo-icon { height: 34px; }
  .logo-wordmark .lw-line1 { font-size: 15px; }
  .logo-wordmark .lw-line2 .lw-sub { font-size: 9px; }
}
nav.primary { display: flex; align-items: center; gap: 28px; }
nav.primary a.navlink { color: var(--slate); font-size: 14px; font-weight: 600; }
nav.primary a.navlink:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-outline-nav { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline-nav:hover { background: var(--paper-2); }
.hamburger { display: none; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 9px; cursor: pointer; border: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-signal { background: var(--signal); color: var(--asphalt); box-shadow: 0 6px 16px rgba(184,145,46,0.3); }
.btn-signal:hover { background: #CBA24C; box-shadow: 0 10px 22px rgba(184,145,46,0.4); }
.btn-ghost-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-route { background: var(--route); color: #fff; box-shadow: 0 6px 16px rgba(67,87,115,0.32); }
.btn-route:hover { background: var(--route-deep); box-shadow: 0 10px 22px rgba(67,87,115,0.42); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- scroll reveal ---------- */
.card, .testimonial, .article-card, .stat, .faq-item {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
section.in-view .card, section.in-view .testimonial, section.in-view .article-card,
section.in-view .stat, section.in-view .faq-item, .in-view .card, .in-view .testimonial {
  opacity: 1; transform: translateY(0);
}
.grid > *:nth-child(1) { transition-delay: 0s; }
.grid > *:nth-child(2) { transition-delay: .08s; }
.grid > *:nth-child(3) { transition-delay: .16s; }
.grid > *:nth-child(4) { transition-delay: .24s; }
.stat-row .stat:nth-child(1) { transition-delay: 0s; }
.stat-row .stat:nth-child(2) { transition-delay: .08s; }
.stat-row .stat:nth-child(3) { transition-delay: .16s; }
.stat-row .stat:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .card, .testimonial, .article-card, .stat, .faq-item { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .testimonial:hover { transform: none; }
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(184,145,46,0.16), transparent 60%),
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.5px) 0 0/24px 24px,
    var(--asphalt);
  color: #fff;
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after, .page-hero::before {
  content: ""; position: absolute; pointer-events: none;
  border: 2px solid rgba(184,145,46,0.18);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}
.hero::after {
  width: 380px; height: 380px; top: -110px; right: -90px; transform: rotate(9deg);
}
.hero::before {
  width: 190px; height: 190px; bottom: -110px; left: 6%; transform: rotate(-16deg);
  border-color: rgba(184,145,46,0.12);
}
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: flex; align-items: center; gap: 36px; }
.hero-content { flex: 1 1 52%; min-width: 0; }
.hero-illustration { flex: 1 1 44%; }
.hero-illustration svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.35)); }
@media (max-width: 900px) {
  .hero-grid { flex-direction: column; align-items: stretch; }
  .hero-illustration { order: -1; max-width: 340px; margin: 0 auto 8px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  color: var(--signal); letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--signal); display: inline-block; }
.hero h1 { font-size: 46px; line-height: 1.08; color: #fff; max-width: 720px; }
.hero .lede { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 560px; margin-top: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- placard badges ---------- */
.placard-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.placard {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 10px 14px 10px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.placard.light {
  background: #fff; border: 1px solid var(--line); color: var(--slate);
}
.placard b { color: inherit; font-weight: 700; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: 32px; line-height: 1.15; }
.section-head p { margin-top: 12px; font-size: 15.5px; }
.on-asphalt { background: var(--asphalt); color: #fff; }
.on-asphalt h2, .on-asphalt h3, .on-asphalt h4 { color: #fff; }
.on-asphalt p { color: rgba(255,255,255,0.68); }
.on-paper-2 { background: var(--paper-2); }

/* ---------- grid / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 2px rgba(16,24,40,0.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,24,40,0.1); border-color: #CBD3E0; }
.service-card .icon-tile {
  width: 42px; height: 42px; background: var(--route);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
  box-shadow: 0 8px 18px rgba(67,87,115,0.32);
}
.service-card.amber .icon-tile { background: var(--signal); box-shadow: 0 8px 18px rgba(184,145,46,0.32); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.service-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--slate); padding: 5px 0; }
.service-card li::before { content: "—"; color: var(--signal-deep); font-weight: 700; flex-shrink: 0; }

.stat-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { position: relative; padding-left: 16px; }
.stat::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 6px; width: 3px; background: var(--signal); border-radius: 2px; }
.stat b { font-family: 'IBM Plex Mono', monospace; font-size: 32px; display: block; color: #fff; letter-spacing: -0.02em; }
.stat span { font-size: 12.5px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.03em; }

.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04);
  transition: transform .22s ease, box-shadow .22s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,24,40,0.1); }
.testimonial::before {
  content: "\201C"; position: absolute; top: -6px; right: 14px; font-family: 'Space Grotesk', sans-serif;
  font-size: 90px; color: var(--paper-2); font-weight: 700; line-height: 1; z-index: 0;
}
.testimonial .stars { color: var(--signal); font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; position: relative; z-index: 1; }
.testimonial p.quote { color: var(--ink); font-size: 15px; font-style: normal; position: relative; z-index: 1; }
.testimonial .who { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--slate); margin-top: 14px; position: relative; z-index: 1; }

.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--route-deep); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.article-card h3 { font-size: 17px; margin-bottom: 8px; }
.article-card p { font-size: 13.5px; margin-bottom: 14px; }
.article-card .read-more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--route-deep); transition: gap .15s ease; }
.article-card:hover .read-more { text-decoration: underline; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--asphalt);
  border-radius: 18px;
  padding: 48px 40px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner h3 { font-size: 24px; color: #fff; max-width: 460px; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-top: 8px; max-width: 460px; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line);
  font-family: 'Inter', sans-serif; font-size: 14px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--route); outline-offset: 1px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.tabs-toggle { display: flex; gap: 8px; margin-bottom: 22px; background: var(--paper-2); border-radius: 10px; padding: 5px; }
.tabs-toggle button {
  flex: 1; padding: 10px; border-radius: 7px; border: none; background: transparent; cursor: pointer;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--slate);
}
.tabs-toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .2s ease; font-size: 14px; color: var(--slate); }
.faq-item.open .faq-a { max-height: 240px; margin-top: 10px; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-q .chev { transition: transform .15s ease; font-size: 18px; color: var(--signal-deep); }

/* ---------- footer ---------- */
footer.site { background: var(--paper-2); color: var(--slate); padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 13.5px; color: var(--slate); padding: 5px 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-legal { font-size: 12px; color: #8590A3; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); line-height: 1.7; }

/* ---------- breadcrumb / page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 700px 400px at 85% -20%, rgba(184,145,46,0.15), transparent 60%),
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1.5px) 0 0/24px 24px,
    var(--asphalt);
  color: #fff; padding: 52px 0 44px; position: relative; overflow: hidden;
}
.page-hero::before { width: 220px; height: 220px; top: -90px; right: 4%; transform: rotate(11deg); }
.page-hero h1 { font-size: 34px; color: #fff; }
.page-hero p { color: rgba(255,255,255,0.68); margin-top: 10px; max-width: 560px; }

/* ---------- utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--safety); background: var(--safety-tint); padding: 4px 10px; border-radius: 999px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 680px) {
  nav.primary, .nav-cta .btn-outline-hide { display: none; }
  .hamburger { display: block; background: none; border: none; color: var(--ink); cursor: pointer; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 28px; }
  section { padding: 52px 0; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .stat-row { gap: 24px; }
}
