/* Raptor Roadside — brand palette: black, lime, electric blue */
:root {
  --bg: #0A0C11;
  --bg-2: #10131A;
  --surface: #161A24;
  --line: #252B3A;
  --text: #F2F4F8;
  --muted: #A9B1C4;
  --dim: #7C86A0;

  --blue: #1458F0;      /* electric blue (truck wrap / cards) */
  --blue-hi: #5B8CFF;   /* readable blue on dark */
  --lime: #C4F560;      /* brand lime */
  --lime-hi: #D6FA82;
  --alert: #FF5C6C;     /* form errors only */

  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-brand: 'Saira', 'Archivo', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;

  --hdr-h: 64px;
  --radius: 6px;
  --wrap: 1160px;
  --pad: clamp(18px, 5vw, 40px);
  --sec-y: clamp(64px, 10vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* room for mobile call bar */
}
@media (min-width: 760px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-hi); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: #000; padding: 10px 14px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border: 0; border-radius: var(--radius);
  font: 700 16px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--call { background: var(--lime); color: #0A0C12; box-shadow: 0 0 0 0 rgba(196,245,96,0); }
.btn--call:hover { background: var(--lime-hi); color: #0A0C12; box-shadow: 0 6px 24px -6px rgba(196,245,96,.45); }

.btn--xl { min-height: 76px; padding: 0 28px 0 24px; gap: 16px; border-radius: 8px; }
.btn--xl svg { width: 30px; height: 30px; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.btn__kicker { font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.btn__big { font: 800 clamp(30px, 8vw, 40px)/1 var(--font-display); letter-spacing: .01em; }
.btn--block { width: 100%; justify-content: flex-start; }

.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); font-size: 14px; white-space: nowrap; }
.btn--ghost:hover { border-color: var(--blue-hi); color: var(--text); }

.btn--send { background: var(--blue); color: #fff; min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn--send:hover { background: #2A6BFF; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  height: var(--hdr-h);
  background: rgba(7, 9, 15, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr::after { /* tri-color hairline */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--lime) 0 72%, var(--blue) 72% 100%);
  opacity: .9;
}
.hdr__inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--text); }
.brand__mark { width: 34px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name b { color: var(--lime); font-weight: inherit; }
.brand__name { font: 800 18px/1 var(--font-brand); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand__desc { font: 700 11px/1 var(--font-brand); letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin-top: 4px; white-space: nowrap; }

.nav { display: none; margin-left: auto; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.nav a:hover { color: var(--text); }

.btn--hdr { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn--hdr .btn__num { display: none; }
@media (min-width: 400px) { .btn--hdr .btn__num { display: inline; } .btn--hdr .btn__lbl { display: none; } }
@media (min-width: 900px) {
  .nav { display: flex; }
  .btn--hdr { margin-left: 8px; padding: 0 18px; }
  .btn--hdr .btn__lbl { display: inline; }
  .btn--hdr .btn__lbl::after { content: " ·"; }
}
@media (max-width: 399px) { .brand__name { font-size: 16px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 9vw, 120px);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(20,88,240,.22), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(196,245,96,.06), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(91,140,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,140,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__inner { position: relative; z-index: 1; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::after { /* blue slab, like the cards */
  right: 0; bottom: 0; width: min(46vw, 560px); height: clamp(70px, 12vw, 150px);
  background: var(--blue); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); opacity: .9;
}
.hero::before { /* lime rail */
  left: 0; right: 0; bottom: clamp(12px, 2vw, 22px); height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--lime) 0 55%, transparent 55%);
  box-shadow: 0 0 14px rgba(196,245,96,.5);
}
@media (max-width: 759px) { .hero::after { width: 62vw; height: 56px; opacity: .75; } }

.tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 700 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.tag__hi { color: var(--lime); font-weight: 800; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(196,245,96,.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(196,245,96,.55); } 80%,100% { box-shadow: 0 0 0 12px rgba(196,245,96,0); } }

.hero__h {
  margin: 0 0 18px;
  font: 800 clamp(58px, 15vw, 132px)/.88 var(--font-display);
  letter-spacing: -.005em; text-transform: uppercase;
}
.hero__h2 { color: var(--lime); }
.hero__tagline { margin: 0 0 14px; font: 700 clamp(18px, 2.6vw, 24px)/1.2 var(--font-brand); letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.hero__lede { max-width: 34ch; margin: 0 0 30px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }
.hero__alt { margin: 16px 0 0; color: var(--dim); font-size: 15px; }
.hero__alt a { color: var(--text); }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 38px 0 0; padding: 0; }
.hero__chips li {
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(18,24,39,.6);
}

/* ---------- Safety strip ---------- */
.safety { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.safety__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 14px; padding-bottom: 14px; }
.safety__flag {
  font: 800 14px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase;
  color: #0A0C11; background: var(--lime); padding: 6px 10px; border-radius: 3px;
}
.safety p { margin: 0; font-size: 14px; color: var(--muted); flex: 1 1 260px; }
.safety a { color: var(--text); font-weight: 700; }

/* ---------- Sections ---------- */
.sec { padding: var(--sec-y) 0; }
.sec--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 640px; }
.eyebrow {
  margin: 0 0 14px; display: flex; align-items: center; gap: 12px;
  font: 700 13px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-hi);
}
.eyebrow span { font-family: var(--font-display); font-size: 15px; color: var(--lime); border: 1px solid var(--line); padding: 4px 7px; border-radius: 3px; letter-spacing: .06em; }
.sec__h { margin: 0 0 12px; font: 800 clamp(34px, 6vw, 56px)/.98 var(--font-display); text-transform: uppercase; letter-spacing: .005em; }
.sec__sub { margin: 0; color: var(--muted); max-width: 56ch; }

/* ---------- Services ---------- */
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.svc__item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 22px; background: var(--bg); align-items: start; align-content: start; }
.svc__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 8px; color: var(--lime);
  background: linear-gradient(180deg, var(--surface), var(--bg));
}
.svc__icon svg { width: 30px; height: 30px; }
.svc__h { margin: 2px 0 6px; font: 700 22px/1.15 var(--font-body); letter-spacing: -.005em; }
.svc__item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.svc__item:nth-child(1) .svc__icon { color: var(--lime); }
.svc__item:nth-child(5) .svc__icon { color: var(--blue-hi); }

@media (min-width: 760px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc__item { padding: 32px 28px; }
}
@media (min-width: 1040px) {
  .svc { grid-template-columns: repeat(3, 1fr); }
}

.sec__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.sec__cta p { margin: 0; color: var(--muted); }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.areas__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.areas__list li {
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font: 700 19px/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.areas__list li::before { content: ""; width: 7px; height: 7px; background: var(--lime); transform: rotate(45deg); flex: none; }
.areas__list li.is-here { color: var(--lime); }
.areas__list li.is-here::before { background: var(--blue-hi); }
.areas__list .areas__more { grid-column: 1 / -1; color: var(--blue-hi); border-bottom: 0; }
.areas__list .areas__more::before { background: var(--blue-hi); }

.map { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0A0E18; }
.map svg { width: 100%; height: auto; }
.map figcaption { padding: 10px 14px; font-size: 12px; color: var(--dim); border-top: 1px solid var(--line); }
.map__sweep { transform-origin: 270px 320px; animation: sweep 7s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.pin__pulse { fill: none; stroke: var(--lime); stroke-width: 2; transform-origin: 270px 320px; animation: pinpulse 2.2s ease-out infinite; }
@keyframes pinpulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.pins g.is-here circle:not(.pin__pulse) { fill: var(--blue-hi); }
.pins g.is-here text { fill: var(--lime); }

/* ---------- About ---------- */
.about { display: grid; gap: 8px 64px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; } .about .sec__head { grid-row: span 2; } }
.about__body p { margin: 0 0 16px; color: var(--muted); font-size: 17px; max-width: 58ch; }
.about__body p:first-child { color: var(--text); }
.about__facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.about__facts li { background: var(--bg); padding: 16px 18px; display: grid; gap: 2px; }
.about__facts strong { font: 800 18px/1.1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.about__facts span { color: var(--muted); font-size: 15px; }

/* ---------- Crew ---------- */
.crew { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .crew { grid-template-columns: repeat(2, 1fr); max-width: 820px; } }
.crew__card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.crew__card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 38%; height: 6px; background: var(--blue); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.crew__badge { width: 60px; height: 70px; flex: none; }
.crew__name { margin: 0 0 4px; font: 800 24px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.crew__role { margin: 0; font: 700 12px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }

/* ---------- Dogs ---------- */
.dogs { margin-top: clamp(40px, 6vw, 64px); }
.dogs__h { margin: 0 0 6px; font: 800 clamp(26px, 4vw, 34px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--lime); }
.dogs__sub { margin: 0 0 22px; color: var(--muted); }
.dogs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .dogs__list { grid-template-columns: repeat(2, 1fr); } }
.dog {
  position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line);
  padding: 24px 22px 22px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23C4F560' fill-opacity='.07'%3E%3Cellipse cx='18' cy='24' rx='6' ry='5'/%3E%3Cellipse cx='10.5' cy='17' rx='2.4' ry='3.2'/%3E%3Cellipse cx='15' cy='12.5' rx='2.4' ry='3.2'/%3E%3Cellipse cx='21' cy='12.5' rx='2.4' ry='3.2'/%3E%3Cellipse cx='25.5' cy='17' rx='2.4' ry='3.2'/%3E%3Cg transform='translate(36 36)'%3E%3Cellipse cx='18' cy='24' rx='6' ry='5'/%3E%3Cellipse cx='10.5' cy='17' rx='2.4' ry='3.2'/%3E%3Cellipse cx='15' cy='12.5' rx='2.4' ry='3.2'/%3E%3Cellipse cx='21' cy='12.5' rx='2.4' ry='3.2'/%3E%3Cellipse cx='25.5' cy='17' rx='2.4' ry='3.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #0F1A3D 0%, var(--bg) 55%);
}
.dog::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: var(--blue); opacity: .35; transform: rotate(35deg); }
.dog::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--lime) 0 62%, var(--blue) 62% 100%); }
.dog__top { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.dog__badge { width: 64px; height: 64px; flex: none; }
.dog__name { margin: 0; font: 800 clamp(34px, 5vw, 42px)/.95 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.dog__title { margin: 6px 0 0; font: 700 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.dog__stats { position: relative; margin: 0; display: grid; gap: 0; }
.dog__stats div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.07); }
.dog__stats dt { font: 700 12px/1.6 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.dog__stats dd { margin: 0; color: var(--text); font-size: 15px; }

.pack { margin-top: 16px; display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 12px; background: var(--lime); color: #0A0C11; }
.pack__icon { width: 46px; height: 46px; flex: none; }
.pack__h { margin: 0 0 4px; font: 800 26px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.pack p { margin: 0; font-size: 15.5px; color: #1A2210; }
.pack a { color: #0A0C11; font-weight: 700; white-space: nowrap; }
@media (max-width: 479px) { .pack { flex-direction: column; gap: 10px; padding: 20px 18px; } .pack__icon { width: 38px; height: 38px; } }
.pack a:hover { color: var(--blue); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; align-items: start; align-content: start; }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact__info { margin: 28px 0 0; display: grid; gap: 0; }
.contact__info div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact__info dt { font: 700 12px/1.9 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.contact__info dd { margin: 0; overflow-wrap: anywhere; }
.contact__info a { color: var(--text); font-weight: 600; }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 4vw, 34px); }
.form__h { margin: 0 0 6px; font: 800 28px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.form__note { margin: 0 0 22px; color: var(--muted); font-size: 15px; }

.fld { display: grid; gap: 7px; margin-bottom: 16px; }
.fld > span, .fld > label { font-size: 14px; font-weight: 600; color: var(--text); }
.fld em { font-style: normal; color: var(--dim); font-weight: 500; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  font: 16px/1.4 var(--font-body); /* 16px prevents iOS zoom */
  appearance: none; -webkit-appearance: none;
}
.fld select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4F560' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px;
}
.fld textarea { resize: vertical; min-height: 90px; }
.fld input::placeholder, .fld textarea::placeholder { color: #5E6884; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(20,88,240,.35); }
.fld [aria-invalid="true"] { border-color: var(--alert); }
.fld__row { display: grid; gap: 8px; }
@media (min-width: 520px) { .fld__row { grid-template-columns: 1fr auto; } }
.fld__hint { color: var(--dim); font-size: 13px; min-height: 1em; }

.form__err { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid var(--alert); background: rgba(255,92,108,.12); color: #FFD2D8; font-size: 14px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form__actions .btn--send { flex: 1 1 240px; }
.form__email { font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.ftr { padding: 44px 0 36px; border-top: 1px solid var(--line); }
.ftr__inner { display: grid; gap: 8px; }
.ftr__brand { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.ftr__line, .ftr__copy { margin: 0; color: var(--muted); font-size: 14px; }
.ftr__line a { color: var(--text); }
.ftr__copy { color: var(--dim); font-size: 13px; margin-top: 8px; }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 16px calc(env(safe-area-inset-bottom, 0px));
  background: var(--lime); color: #0A0C12; text-decoration: none;
  font: 800 22px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 -8px 24px rgba(0,0,0,.45), inset 0 3px 0 var(--blue);
}
.callbar svg { width: 22px; height: 22px; }
.callbar:hover { color: #0A0C12; background: var(--lime-hi); }
@media (min-width: 760px) { .callbar { display: none; } }
