/* =============================================================================
   PURE PAVEMENT — Brand Foundation
   styles.css
   Brand palette, typography, and the reusable logo lockup.
   This is the shared foundation loaded on every page.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Fonts — Inter (400/600/700) + Stardos Stencil (wordmark)
   Loaded from Google Fonts. @import must stay at the very top of the file.
   --------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Stardos+Stencil:wght@400;700&display=swap');

/* ---------------------------------------------------------------------------
   Brand tokens — single source of truth for color
   --------------------------------------------------------------------------- */
:root {
  /* Palette */
  --maroon:   #5E1A2B; /* primary brand color */
  --asphalt:  #211A1C; /* text / dark surfaces */
  --chalk:    #F3EEE7; /* light surface */
  --concrete: #B9B2AA; /* dividers / secondary */
  --white:    #FFFFFF;

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-wordmark: 'Stardos Stencil', 'Inter', system-ui, sans-serif;

  /* Motion */
  --spray-duration: 0.75s;
  --spray-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------------------
   Base typography & reset essentials
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--asphalt);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

strong, b { font-weight: 600; }


/* =============================================================================
   LOGO LOCKUP — reusable block  (no image file)
   -----------------------------------------------------------------------------
   Drop this markup anywhere; style is fully self-contained:

     <a class="lockup" href="/" aria-label="Pure Pavement — Painting & Maintenance">
       <span class="lockup__wordmark">Pure Pavement</span>
       <span class="lockup__descriptor">Painting &amp; Maintenance</span>
     </a>

   Variants (add a modifier class):
     .lockup--reversed    light wordmark for dark/asphalt backgrounds
     .lockup--one-color   solid asphalt (single-color usage)
     .lockup--animate     plays the spray-on intro on load
     .lockup--center      center-aligns wordmark + descriptor

   Sizing:
     The whole lockup scales from one variable: --lockup-size (the wordmark
     cap size). Set it on the .lockup element to resize everything together,
     e.g. style="--lockup-size: 1.75rem".

   Swapping for a PNG later:
     Replace the two <span>s with a single <img> inside .lockup and the
     clear-space padding will still apply.
   ============================================================================= */

.lockup {
  /* --- knobs --------------------------------------------------------------- */
  --lockup-size: 2.75rem;            /* drives wordmark size + everything else */
  --logo-color: var(--maroon);       /* wordmark color (default: primary)      */
  /* Descriptor inherits the wordmark color in every variant by default. */
  --logo-descriptor-color: var(--logo-color);
  /* Descriptor size + tracking — nudge these to retune the lockup balance.
     Sized in em (relative to --lockup-size). Tracking is wide enough that the
     descriptor reaches ~the full width of the wordmark while staying clearly
     subordinate to it. */
  --lockup-descriptor-size: 0.30em;
  --lockup-descriptor-tracking: 0.52em;
  /* Width of the lockup's content box, ~the width of the wordmark. This MUST
     be a definite width: `container-type: inline-size` applies inline-axis
     size containment, which makes an auto/shrink-to-fit box collapse to ~0px
     (and then the <120px rule below would fire at every size, hiding the
     descriptor). A definite width keeps the container measurable. Nudge to
     match the wordmark's rendered width. */
  --lockup-width: 7.4em;

  /* --- layout -------------------------------------------------------------- */
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22em;
  text-decoration: none;
  line-height: 1;

  /* font-size anchors all the em-based measurements inside the lockup */
  font-size: var(--lockup-size);

  /* Definite width so the query container doesn't collapse (see --lockup-width).
     content-box keeps the clear-space padding OUTSIDE this width, so clear
     space is preserved regardless of the exact width value. */
  box-sizing: content-box;
  width: var(--lockup-width);

  /* Clear space: ~one cap height of breathing room on all sides.
     Cap height of Stardos Stencil ≈ 0.72 of the font size, and 1em here
     equals --lockup-size, so 0.72em ≈ one cap height. */
  padding: 0.72em;

  /* Container queries: lets the descriptor react to the lockup's own width.
     Works because --lockup-width gives the container a definite size. */
  container-type: inline-size;
  container-name: lockup;
}

/* Wordmark — "PURE PAVEMENT" */
.lockup__wordmark {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 1em;                    /* == --lockup-size */
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--logo-color);
  white-space: nowrap;
  line-height: 0.95;
}

/* Descriptor — "PAINTING & MAINTENANCE"
   Always upper-cased with wide tracking; this label is intentionally
   exempt from any sentence-case rule. */
.lockup__descriptor {
  font-family: var(--font-body);     /* Inter — never the stencil face */
  font-weight: 600;
  font-size: var(--lockup-descriptor-size);
  letter-spacing: var(--lockup-descriptor-tracking);
  text-transform: uppercase;
  color: var(--logo-descriptor-color);
  white-space: nowrap;
  /* Optical alignment: tracking adds trailing space on the right; nudge by
     half the tracking so the descriptor sits flush under the wordmark's left edge. */
  padding-left: calc(var(--lockup-descriptor-tracking) / 2);
}

/* --- Alignment modifier ---------------------------------------------------- */
.lockup--center {
  align-items: center;
  text-align: center;
}
.lockup--center .lockup__descriptor {
  padding-left: 0;
  /* compensate trailing tracking for true optical center */
  margin-left: var(--lockup-descriptor-tracking);
}

/* --- Color variants -------------------------------------------------------- */

/* Reversed — light wordmark on dark / asphalt surfaces.
   Descriptor follows --logo-color (chalk) automatically. */
.lockup--reversed {
  --logo-color: var(--chalk);
}

/* One-color — solid asphalt (single-ink usage on light surfaces).
   Descriptor follows --logo-color (asphalt) automatically. */
.lockup--one-color {
  --logo-color: var(--asphalt);
}

/* --- Minimum size: hide the descriptor below ~120px wide ------------------- */
@container lockup (max-width: 120px) {
  .lockup__descriptor {
    display: none;
  }
}


/* =============================================================================
   SPRAY-ON INTRO ANIMATION
   -----------------------------------------------------------------------------
   On load the wordmark "paints in": a soft directional reveal that resolves
   from faint to solid. Fast and subtle. Only runs on .lockup--animate.
   ============================================================================= */

.lockup--animate .lockup__wordmark {
  /* Soft-edged wipe used as a mask so the fill sprays on left-to-right. */
  -webkit-mask-image: linear-gradient(
    100deg,
    #000 0%, #000 32%,
    rgba(0, 0, 0, 0.45) 58%,
    transparent 80%
  );
  mask-image: linear-gradient(
    100deg,
    #000 0%, #000 32%,
    rgba(0, 0, 0, 0.45) 58%,
    transparent 80%
  );
  -webkit-mask-size: 230% 100%;
  mask-size: 230% 100%;
  -webkit-mask-position: 125% 0;
  mask-position: 125% 0;

  animation:
    pp-spray-fill  var(--spray-duration) var(--spray-ease) both,
    pp-spray-wipe  var(--spray-duration) var(--spray-ease) both;
}

/* faint -> solid: low opacity + blur reads as freshly sprayed paint settling */
@keyframes pp-spray-fill {
  0%   { opacity: 0;   filter: blur(7px) saturate(0.45); transform: translateY(2px); }
  55%  { opacity: 1; }
  100% { opacity: 1;   filter: blur(0)   saturate(1);    transform: none; }
}

/* directional reveal: sweep the soft mask across the wordmark */
@keyframes pp-spray-wipe {
  to {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
  }
}

/* Descriptor reveals right after the wordmark and ENDS fully visible (opacity 1). */
.lockup--animate .lockup__descriptor {
  animation: pp-descriptor-in var(--spray-duration) var(--spray-ease) both;
  animation-delay: calc(var(--spray-duration) * 0.45);
}
@keyframes pp-descriptor-in {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: none; }
}

/* Reduced motion: no animation — show the static, solid logo instantly,
   wordmark AND descriptor both fully visible. */
@media (prefers-reduced-motion: reduce) {
  .lockup--animate .lockup__wordmark,
  .lockup--animate .lockup__descriptor {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}


/* =============================================================================
   SITE LAYOUT & COMPONENTS
   -----------------------------------------------------------------------------
   Everything below builds the marketing site on top of the brand foundation
   above. All colors/fonts come from the existing brand variables.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Extra design tokens (extend :root; merges with the palette block above)
   --------------------------------------------------------------------------- */
:root {
  /* Tints/shades derived from the palette for hovers & secondary text */
  --maroon-700: #4A1421; /* darker maroon for button hover/active */
  --ink:        var(--asphalt);
  --muted:      #6B625D; /* secondary body text on light surfaces */
  --line:       var(--concrete);

  /* Layout */
  --container: 1180px;
  --header-h: 4.75rem;

  /* Spacing scale */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Radius & shadow */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(33, 26, 28, 0.06), 0 2px 8px rgba(33, 26, 28, 0.06);
  --shadow-md: 0 6px 24px rgba(33, 26, 28, 0.12);
}

/* ---------------------------------------------------------------------------
   Base elements
   --------------------------------------------------------------------------- */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--maroon); }
a:hover { color: var(--maroon-700); }

p { margin: 0 0 1em; }
ul { margin: 0; }

/* Visible, accessible focus ring everywhere */
:focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Fluid heading sizes */
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* ---------------------------------------------------------------------------
   Helpers
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Screen-reader-only (used for honeypot label, skip-link target text, etc.) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 100;
  background: var(--maroon);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--chalk { background: var(--chalk); }
.section--asphalt { background: var(--asphalt); color: var(--chalk); }

/* Standard section intro */
.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}
.section--asphalt .section__kicker { color: var(--concrete); }
.section__lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.section--asphalt .section__lead { color: var(--concrete); }

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

/* Primary — maroon fill (default on light surfaces) */
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: var(--maroon-700); color: #fff; }

/* Contrast — light fill for use on dark/maroon surfaces (hero, CTA band) */
.btn--contrast { background: var(--chalk); color: var(--maroon); }
.btn--contrast:hover { background: #fff; color: var(--maroon-700); }

/* Ghost — outlined; inherits currentColor */
.btn--ghost { background: transparent; color: var(--maroon); border-color: currentColor; }
.btn--ghost:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ---------------------------------------------------------------------------
   Site header + navigation
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-header .lockup { padding-block: 0.4em; } /* trim vertical clear space in the bar */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-weight: 600;
  color: var(--asphalt);
  cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  padding: 0; margin: 0;
}
.site-nav__list a {
  text-decoration: none;
  color: var(--asphalt);
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--maroon); }
.site-nav__list a[aria-current="page"] { color: var(--maroon); border-bottom-color: var(--maroon); }

/* Mobile-first: nav collapses behind the toggle */
@media (max-width: 819px) {
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem clamp(1rem, 4vw, 2rem) 1.25rem;
    /* hidden until opened */
    display: none;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__list a[aria-current="page"] { border-bottom-color: var(--line); }
  .site-nav .btn { margin-top: 0.9rem; }
}

/* Desktop: show nav inline, hide toggle */
@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; }
}

/* ---------------------------------------------------------------------------
   Hero (homepage)
   --------------------------------------------------------------------------- */
.hero {
  /* Scrim strength knob — 0 (off) to ~1.1 (heavy). Default strong on the
     text side, lighter on the open side (handled by the gradient stops). */
  --hero-scrim: 1;

  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 78vh, 760px);
  color: #fff;
  overflow: hidden;
}
/* The photo */
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}
.hero__media img { object-fit: cover; object-position: center; }

/* Maroon -> asphalt scrim laid OVER the photo. Stronger at left (text),
   lighter at right (open asphalt) so the white headline stays legible while
   the photo's yellow/blue read as quiet background. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(94, 26, 43, 0.92) 0%,    /* maroon, text side */
    rgba(33, 26, 28, 0.82) 34%,   /* asphalt */
    rgba(33, 26, 28, 0.48) 68%,
    rgba(33, 26, 28, 0.20) 100%   /* open side */
  );
  opacity: var(--hero-scrim);
}

.hero__inner { padding-block: clamp(3rem, 8vh, 6rem); }
.hero__content { max-width: 46rem; }

.hero .lockup { margin-bottom: clamp(1.25rem, 3vw, 2rem); }

.hero-kicker {
  display: block;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk);
  margin-bottom: 0.6rem;
}
.hero h1 { color: #fff; margin-bottom: 0.6rem; text-wrap: balance; }
.hero__subhead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--chalk);
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------------------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line); /* shows as hairline dividers between cells */
  border-block: 1px solid var(--line);
}
.trust__item {
  background: var(--chalk);
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.trust__item::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem; height: 0.55rem;
  margin-top: 0.45rem;
  background: var(--maroon);
  border-radius: 2px;
  transform: rotate(45deg);
}
.trust__item span { font-weight: 600; }
@media (min-width: 720px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------------------
   Generic card grid (services overview, etc.)
   --------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--maroon); }
.card__index {
  font-family: var(--font-wordmark);
  font-size: 0.95rem;
  color: var(--maroon);
  letter-spacing: 0.04em;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card--feature { border-top: 4px solid var(--maroon); }
.card__more {
  margin-top: auto;
  font-weight: 600;
  color: var(--maroon);
  padding-top: 0.4rem;
}

/* ---------------------------------------------------------------------------
   Detailed service blocks (services.html)
   --------------------------------------------------------------------------- */
.service-detail {
  display: grid;
  gap: 0.4rem;
  padding-block: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem); /* anchor offset under sticky header */
}
.service-detail:first-of-type { border-top: 0; }
.service-detail__num {
  font-family: var(--font-wordmark);
  color: var(--maroon);
  font-size: 1.1rem;
}
.service-detail h2 { margin: 0.1rem 0 0.3rem; }
.service-detail p { max-width: 65ch; color: var(--muted); margin: 0; }
.service-detail--soft { opacity: 0.96; } /* maintenance kept visually lighter */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ---------------------------------------------------------------------------
   Service area — repeatable city pattern
   (Add /conroe.html etc. later by reusing .city-card markup verbatim.)
   --------------------------------------------------------------------------- */
.city-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 600px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }

.city-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}
.city-card h3 { margin: 0 0 0.35rem; }
.city-card p { margin: 0 0 0.75rem; color: var(--muted); }
.city-card__meta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
}

/* ---------------------------------------------------------------------------
   Placeholder photo blocks (before/after gallery — real photos to come).
   No real/fabricated images used; swap each block for an <img> later.
   role="img" + aria-label provides the descriptive alt text.
   --------------------------------------------------------------------------- */
.gallery { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }

.placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--concrete);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(185,178,170,0.18) 0 12px, transparent 12px 24px),
    var(--chalk);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--muted);
}
.placeholder__tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.placeholder__label { font-weight: 600; max-width: 28ch; }

/* ---------------------------------------------------------------------------
   Split content (About / media + text)
   --------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 0.9fr; } }
.prose p { color: var(--muted); max-width: 62ch; }
.prose p:first-of-type { font-size: 1.05rem; color: var(--ink); }

/* ---------------------------------------------------------------------------
   Closing CTA band
   --------------------------------------------------------------------------- */
.cta-band {
  background: var(--maroon);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--chalk); max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 0.75rem; }

/* ---------------------------------------------------------------------------
   Contact form
   --------------------------------------------------------------------------- */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field > label { font-weight: 600; }
.field .req { color: var(--maroon); }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(94, 26, 43, 0.15);
}
.form-aside {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.contact-line { font-size: 1.1rem; font-weight: 600; }
.contact-line a { text-decoration: none; }

/* ---------------------------------------------------------------------------
   Simple centered content (privacy, thank-you, 404)
   --------------------------------------------------------------------------- */
.page-head { background: var(--chalk); border-bottom: 1px solid var(--line); }
.page-head .container { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal { max-width: 70ch; }
.legal h2 { margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }

.center-stage {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.center-stage .container { max-width: 44rem; }
.center-stage p { color: var(--muted); font-size: 1.1rem; }
.center-stage .btn { margin-top: 0.5rem; }

/* ---------------------------------------------------------------------------
   Site footer
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--asphalt);
  color: var(--chalk);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.site-footer a { color: var(--chalk); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer__area { color: var(--concrete); max-width: 38ch; margin-top: 0.5rem; }
.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 0.75rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-list a { text-decoration: none; }
.site-footer__legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 238, 231, 0.15);
  color: var(--concrete);
  font-size: 0.9rem;
}

/* Utility */
.mt-0 { margin-top: 0; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.stack > * + * { margin-top: 1rem; }


/* =============================================================================
   SITE LOGO — baked-in SVG lockup (header)
   -----------------------------------------------------------------------------
   The header uses the pre-outlined vector logo (assets/logo/logo-maroon.svg)
   so the wordmark/descriptor alignment is fixed in the asset and cannot drift.
   Sized responsively by height; the SVG's viewBox preserves the aspect ratio.
   ============================================================================= */
.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.site-logo__img {
  display: block;
  height: clamp(1.5rem, 4.2vw, 2.05rem);
  width: auto;
}

/* Spray-on intro for the header logo (homepage only): a soft mask wipe reveals
   the fill left-to-right, faint -> solid. Reuses the brand spray keyframes. */
.site-logo--animate .site-logo__img {
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 32%, rgba(0,0,0,0.45) 58%, transparent 80%);
  mask-image: linear-gradient(100deg, #000 0%, #000 32%, rgba(0,0,0,0.45) 58%, transparent 80%);
  -webkit-mask-size: 230% 100%;
  mask-size: 230% 100%;
  -webkit-mask-position: 125% 0;
  mask-position: 125% 0;
  animation:
    pp-spray-fill var(--spray-duration) var(--spray-ease) both,
    pp-spray-wipe var(--spray-duration) var(--spray-ease) both;
}

/* Reduced motion: show the static logo instantly. */
@media (prefers-reduced-motion: reduce) {
  .site-logo--animate .site-logo__img {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------------------------------------------------------------------------
   Service icons (services.html) — small inline-SVG motifs in brand maroon.
   Consistent line weight/style; sit beside each service heading.
   --------------------------------------------------------------------------- */
.service-detail__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-detail__title h2 { margin: 0; }
.service-detail__icon {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--maroon);
}
.service-detail__icon svg { display: block; width: 100%; height: 100%; }
