/* ==========================================================================
   J&W Asphalt Paving — client brand system
   Sourced from real research (Google Maps listing + reviews, verified
   2026-09-05): 5.0 stars from 3 reviews, no public address (service-area
   business), no website. Review themes: relief from feeling taken advantage
   of by other paving companies on price/scope, and a crew that "made sure
   I was happy before leaving." Palette is honestly DERIVED from the trade
   itself (fresh asphalt, traffic-paint striping, concrete) rather than
   extracted from photos/social presence, since none exist to draw real
   colors from — see README for full sourcing and disclosure. Deliberately
   distinct from every roofing/fencing/concrete demo already in the gallery:
   near-black asphalt + a single hi-vis chartreuse stripe accent, no browns,
   no oranges, no blues.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Staatliches&family=Libre+Franklin:wght@400;500;600;700;800&family=Inconsolata:wght@400;600&display=swap');

:root {
  --asphalt: #17161a;
  --asphalt-soft: #221f26;
  --asphalt-line: #322e37;
  --concrete: #8a8680;
  --concrete-soft: #c9c4b8;
  --paper: #f4f2ea;
  --paper-deep: #e8e3d3;
  --safety: #d7e83c;
  --safety-deep: #a8b82a;
  --ink: #201e1a;
  --ink-soft: #5c584e;
  --white: #fffef9;

  --font-display: "Staatliches", "Segoe UI", system-ui, sans-serif;
  --font-body: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Inconsolata", "Consolas", monospace;

  --container: 1160px;
  --radius: 10px;
  --shadow: 0 24px 48px -30px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--asphalt); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--safety); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; color: var(--asphalt); margin: 0; line-height: 1.1; text-transform: uppercase; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--safety-deep);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.eyebrow--light { color: var(--safety); }

.section { padding: 4.6rem 0; }
.section__title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section__lede { color: var(--ink-soft); font-size: 1.03rem; max-width: 44em; margin-top: 0.7rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; letter-spacing: 0.03em;
  padding: 0.85rem 1.7rem; border-radius: 4px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn--safety { background: var(--safety); color: var(--asphalt); }
.btn--safety:hover { background: var(--white); transform: translateY(-1px); }
.btn--big { font-size: 1.1rem; padding: 1.05rem 2.2rem; }
.btn--line { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--line:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn--line-dark { border-color: var(--asphalt); color: var(--asphalt); }
.btn--line-dark:hover { background: var(--asphalt); color: var(--white); }

/* ---------- caution stripe divider (signature motif) ---------- */
.stripe-bar {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--asphalt) 0 22px, var(--safety) 22px 44px);
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--asphalt); border-bottom: 1px solid var(--asphalt-line); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 24px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 4px; background: var(--safety); color: var(--asphalt);
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--white); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; }
.brand__tag { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--concrete-soft); }
.site-nav__links { display: flex; align-items: center; gap: 1.4rem; }
.site-nav__links a:not(.site-nav__cta) { color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 600; font-size: 0.92rem; display: none; }
.site-nav__cta { background: var(--safety); color: var(--asphalt) !important; padding: 0.55rem 1.2rem; border-radius: 4px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; text-decoration: none; font-size: 0.95rem; }
.site-nav__cta:hover { background: var(--white); }

/* ---------- hero: full-bleed photo, dark scrim, stat rail ---------- */
.hero { position: relative; background: var(--asphalt); color: var(--white); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.5; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,22,26,0.55) 0%, rgba(23,22,26,0.88) 65%, var(--asphalt) 100%); }
.hero__inner { position: relative; padding: 5.4rem 0 3rem; }
.hero__copy { max-width: 40em; }
.hero__title { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 1.2rem; }
.hero__title em { font-style: normal; color: var(--safety); }
.hero__tagline { max-width: 34em; margin: 0 0 1.8rem; font-size: 1.08rem; color: rgba(255,255,255,0.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.hero__rating { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 0.5rem 1rem; border-radius: 4px; width: fit-content; font-family: var(--font-mono); font-size: 0.92rem; }
.hero__stars { color: var(--safety); letter-spacing: 0.12em; }
.hero__photo-credit { position: relative; font-size: 0.68rem; color: rgba(255,255,255,0.45); padding: 0.4rem 0 0; }

/* ---------- stats strip ---------- */
.stats { background: var(--paper-deep); border-top: 4px solid var(--asphalt); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding: 2.2rem 0; }
.stat-card { text-align: center; border-left: 1px dashed var(--concrete); }
.stat-card:first-child { border-left: none; }
.stat-card__value { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--asphalt); text-transform: uppercase; }
.stat-card__label { display: block; font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 0.3rem; }

/* ---------- services ---------- */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.4rem; }
.service-card {
  background: var(--white); border: 1px solid var(--paper-deep); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; border-top: 4px solid var(--safety);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--asphalt); }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.services__note {
  margin-top: 1.8rem; font-size: 0.9rem; color: var(--ink-soft); font-family: var(--font-mono);
  background: var(--paper-deep); border-radius: var(--radius); padding: 0.9rem 1.2rem; display: inline-block;
}

/* ---------- crew / about ---------- */
.about { background: var(--asphalt); color: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.about__copy h2 { color: var(--white); }
.about__copy p { color: rgba(255,255,255,0.82); font-size: 1.02rem; }
.about__source { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 1rem; font-family: var(--font-mono); }
.about__photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; max-height: 360px; }
.about__photo figcaption { font-size: 0.72rem; color: rgba(255,255,255,0.5); background: var(--asphalt-soft); padding: 0.5rem 0.9rem; }

/* ---------- reviews ---------- */
.reviews { background: var(--paper-deep); }
.reviews__grid { display: grid; grid-template-columns: 240px 1fr; gap: 2.8rem; align-items: center; margin-top: 2rem; }
.rating-card {
  background: var(--asphalt); color: var(--white); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow);
}
.rating-card__num { font-family: var(--font-display); font-size: 3.4rem; font-weight: 400; color: var(--safety); line-height: 1; }
.rating-card__stars { color: var(--safety); font-size: 1.15rem; letter-spacing: 0.12em; margin-top: 0.5rem; }
.rating-card__count { font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0.4rem; }
.reviews__copy p { color: var(--ink-soft); font-size: 1rem; }
.reviews__cta { margin: 1.2rem 0; }
.reviews__source { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.6rem; font-family: var(--font-mono); }

/* ---------- service area ---------- */
.area { background: var(--paper); }
.area__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.area__card { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.5rem; border: 1px solid var(--paper-deep); border-left: 4px solid var(--asphalt); }
.area__card h3 { color: var(--asphalt); font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.6rem; }
.area__card p { color: var(--ink-soft); font-size: 0.94rem; }
.area__card--call { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.area__phone { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--asphalt); text-decoration: none; margin-bottom: 0.5rem; }
.area__phone:hover { color: var(--safety-deep); }

/* ---------- contact ---------- */
.contact { background: var(--asphalt); color: var(--white); text-align: center; padding: 4.6rem 0; }
.contact h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 0.8rem; }
.contact__lede { color: rgba(255,255,255,0.85); max-width: 34em; margin: 0 auto 1.8rem; }
.contact__meta { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 1.2rem; font-family: var(--font-mono); }

/* ---------- footer ---------- */
.footer { background: var(--asphalt-soft); color: rgba(255,255,255,0.55); text-align: center; padding: 1.6rem 0; font-size: 0.86rem; }
.footer a { color: var(--safety); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- responsive ---------- */
@media (min-width: 760px) {
  .site-nav__links a:not(.site-nav__cta) { display: inline; }
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { order: -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .area__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .stat-card { border-left: none; border-top: 1px dashed var(--concrete); padding-top: 0.8rem; }
  .stat-card:first-child { border-top: none; padding-top: 0; }
}
