/* ==========================================================================
   Takfast Stockholm AB — style.css
   REFINEMENT PASS 2 — mobile-first. Design tokens per Lukas's 2026-07-13 review.
   Lora SemiBold/Bold (headlines + logo + stat numerals — warm, sturdy serif
   with genuine weighted cuts, zero ink-trap/wonk artifacts, replaces
   Instrument Serif whose single thin 400 weight read as wispy/hard to see)
   + Hanken Grotesk (body and all UI chrome: buttons, nav, badges, labels).
   Deep navy + burnished copper. Alternating light/dark bands.
   Transform/opacity-only motion.
   ========================================================================== */

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-SemiBold-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/HankenGrotesk-Variable-latin.woff2") format("woff2-variations"),
       url("../fonts/HankenGrotesk-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Color system (WCAG-verified — see BUILD-NOTES.md for contrast ratios) ---- */
  --navy: #0B1826;          /* deep, near-black navy — hero overlay, dark bands, footer */
  --navy-mid: #142838;      /* secondary navy — card surfaces on dark bands, trust bar */
  --navy-soft: #1C3247;     /* tertiary navy — hover/active surfaces on dark bands */
  /* Deepened 2026-07-13 refinement pass — Lukas read the old #9C5B2B as
     cheap/orange. New tone is a more restrained burnished bronze-amber.
     Contrast re-verified (see BUILD-NOTES.md): white-on-copper 7.76:1,
     copper-on-bg 7.32:1, copper-dark-on-white 10.26:1 — all AAA for normal text. */
  --copper: #7C4420;        /* burnished bronze — primary accent, buttons */
  --copper-dark: #5C3212;   /* copper hover/press — deepened further */
  --copper-tint: #E7C79C;   /* light copper — badges/text on dark bands */
  --copper-tint-bg: rgba(124, 68, 32, 0.12);
  --bg: #FAF8F4;            /* warm off-white — default light band */
  --white: #FFFFFF;         /* secondary light band, cards */
  --text: #161B22;          /* near-black body text */
  --slate: #4F5E70;         /* secondary text, light bands */
  --line: #E7E2D8;          /* hairline borders, light bands */
  --line-dark: rgba(255, 255, 255, 0.14); /* hairline borders, dark bands */
  --on-dark: #F4F0E8;       /* body text on dark bands (warm white, not pure white) */
  --on-dark-muted: #A9B7C6; /* secondary text on dark bands */

  --font-display: "Lora", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Arial", sans-serif;

  --container: 1152px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(11, 24, 38, 0.10);
  --shadow-md: 0 10px 28px rgba(11, 24, 38, 0.14);
  --shadow-lg: 0 24px 56px rgba(11, 24, 38, 0.22);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 104px;

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 68px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  /* Lora ships real SemiBold (600) and Bold (700) cuts — no synthetic-bold,
     no ink traps, no wonk axis. Headlines get genuine weight instead of a
     thin single-weight serif faking substance with size alone. */
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-2);
  color: var(--navy);
}
/* H1 gets the heaviest cut — the single most important line on the page
   should read the thickest, per the "thicker, easier to see" brief. */
h1 { font-weight: 700; letter-spacing: -0.018em; }
p { margin: 0 0 var(--space-2); }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Focus visibility — accessibility floor */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 300;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Navigation — floating rounded pill, transparent over hero → solid on scroll
   ========================================================================== */
body { padding-top: 0; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px var(--space-2) 0;
  pointer-events: none; /* re-enabled on the pill itself */
}
.nav-pill {
  pointer-events: auto;
  max-width: calc(var(--container) + 32px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 10px 10px 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(11, 24, 38, 0.0);
  border: 1px solid rgba(255, 255, 255, 0.0);
  transition: background-color 0.4s var(--ease-premium),
              border-color 0.4s var(--ease-premium),
              box-shadow 0.4s var(--ease-premium),
              padding 0.3s var(--ease-premium);
}
/* Near-opaque solid fill instead of backdrop-filter: blur on a fixed element
   forces a full-page repaint on every scrolled frame — visible jank on mid
   and low-end devices. The 0.96 alpha keeps a hint of depth at no cost. */
.site-header.is-scrolled .nav-pill {
  background: rgba(11, 24, 38, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}
/* Pages without a photographic hero still want the pill readable immediately */
.site-header.no-hero .nav-pill {
  background: rgba(11, 24, 38, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.logo span { color: var(--copper-tint); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.phone-link:hover { color: var(--copper-tint); }
.phone-link svg { flex: none; width: 18px; height: 18px; }

/* Mobile nav pill: keep the tappable number, drop the redundant duplicate
   button so the floating pill never overflows a 360-390px viewport. The
   hero / page-header CTA still provides the big primary "Ring nu" action. */
@media (max-width: 639px) {
  .header-actions .btn.btn-primary.btn-sm { display: none; }
  .site-header .nav-pill { padding-right: 8px; }
  .phone-link span { font-size: 0.88rem; }
}
@media (max-width: 359px) {
  .phone-link span { display: none; } /* icon-only on the very smallest phones */
}

/* ==========================================================================
   Buttons — crafted hover/press/focus states
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: background-color 0.25s var(--ease-premium),
              color 0.25s var(--ease-premium),
              border-color 0.25s var(--ease-premium),
              transform 0.25s var(--ease-premium),
              box-shadow 0.25s var(--ease-premium);
  white-space: nowrap;
  isolation: isolate;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); transition-duration: 0.08s; }

.btn-primary {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(11,24,38,0.15);
}
/* Single clean motion on hover: lift (from .btn:hover above) + shadow growth
   + a deeper copper — no sheen sweep. One effect at a time reads calmer and
   more premium than several simultaneous ones. */
.btn-primary:hover {
  background: var(--copper-dark);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.nav-toggle:hover { background: rgba(255,255,255,0.16); }
.nav-toggle svg { width: 20px; height: 20px; }

.main-nav {
  display: none;
}
.main-nav.is-open {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--navy);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  pointer-events: auto;
}
.main-nav ul { display: flex; flex-direction: column; }
.main-nav a {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--on-dark);
  border-radius: var(--radius-sm);
}
.main-nav a:hover { background: rgba(255,255,255,0.06); }
.main-nav a[aria-current="page"] { color: var(--copper-tint); }

.nav-pill { position: relative; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .main-nav ul { flex-direction: row; gap: var(--space-4); }
  .main-nav a { padding: 8px 2px; color: var(--white); position: relative; }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 2px; right: 2px; bottom: 2px;
    height: 1.5px;
    background: var(--copper-tint);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-premium);
  }
  .main-nav a:hover::after,
  .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .main-nav a[aria-current="page"] { color: var(--copper-tint); }
  .nav-pill { padding: 10px 12px 10px 24px; gap: var(--space-5); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--white);
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  background-color: var(--navy);
  background-image: url('../images/hero-roof-crew-sm.jpg');
  background-size: cover;
  background-position: center 68%;
  overflow: hidden;
}
@supports (background-image: image-set(url(a.avif) 1x)) {
  .hero {
    background-image: image-set(
      url('../images/hero-roof-crew-sm.webp') type('image/webp'),
      url('../images/hero-roof-crew-sm.jpg') type('image/jpeg')
    );
  }
}
@media (min-width: 860px) {
  .hero { background-image: url('../images/hero-roof-crew-lg.jpg'); }
  @supports (background-image: image-set(url(a.avif) 1x)) {
    .hero {
      background-image: image-set(
        url('../images/hero-roof-crew-lg.webp') type('image/webp'),
        url('../images/hero-roof-crew-lg.jpg') type('image/jpeg')
      );
    }
  }
}
/* Moodier than the previous overlay — darker top scrim so the bright sky in
   the real job-site photo doesn't wash out the badges/nav, deeper base tone. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,14,21,0.52) 0%, rgba(8,14,21,0.58) 40%, rgba(6,11,17,0.97) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + var(--space-5));
  padding-bottom: var(--space-5);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-3);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-tint);
  background: rgba(124, 68, 32, 0.24);
  border: 1px solid rgba(231, 199, 156, 0.35);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.hero-eyebrow svg { width: 14px; height: 14px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.15rem, 1.15rem + 4.6vw, 3.4rem);
  max-width: 40ch;
  margin-bottom: var(--space-2);
}
@media (min-width: 1180px) {
  .hero h1 { white-space: nowrap; }
}
.hero p {
  max-width: 46ch;
  font-size: 1.08rem;
  color: #DCE3EA;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.hero-ctas .btn-primary { font-size: 1.08rem; padding: 17px 26px; }
.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.4);
  transition: text-decoration-color 0.2s ease, gap 0.2s ease;
}
.hero-secondary-link:hover { text-decoration-color: var(--white); gap: 9px; }
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; align-items: center; }
}
@media (min-width: 860px) {
  .hero { min-height: 94svh; }
  .hero-content { padding-bottom: var(--space-7); }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
/* Elevated floating chip card, pulled up to overlap the bottom edge of
   whatever precedes it (photo hero on index, dark page-header on the other
   pages) instead of the old flat full-bleed dark bar. */
.trust-bar {
  position: relative;
  z-index: 5;
  margin-top: -30px;
}
@media (min-width: 860px) { .trust-bar { margin-top: -40px; } }
.trust-bar ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-2);
  background: var(--navy-mid);
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
}
.trust-bar li { display: flex; align-items: center; gap: 8px; }
.trust-bar svg { flex: none; width: 18px; height: 18px; color: var(--copper-tint); }
@media (min-width: 640px) {
  .trust-bar ul {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) var(--space-4);
  }
  /* subtle dividers instead of relying on whitespace alone */
  .trust-bar li { position: relative; padding-left: var(--space-3); }
  .trust-bar li:first-child { padding-left: 0; }
  .trust-bar li:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--line-dark);
  }
}

/* ==========================================================================
   Section scaffolding + alternating bands
   ========================================================================== */
section { padding: var(--space-6) 0; }
.section-tight { padding: var(--space-5) 0; }
.band-light { background: var(--bg); }
.band-white { background: var(--white); }
.band-dark {
  background: var(--navy);
  color: var(--on-dark);
}
.band-dark h2, .band-dark h3, .band-dark h4 { color: var(--white); }
.band-dark p { color: var(--on-dark-muted); }
.band-dark .eyebrow { color: var(--copper-tint); }

.section-head { max-width: 640px; margin-bottom: var(--space-4); }
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.65rem, 1.15rem + 2vw, 2.35rem); }
.section-head p { color: var(--slate); font-size: 1.04rem; }
.band-dark .section-head p { color: var(--on-dark-muted); }

/* reveal-on-scroll — staggered translateY + opacity, GPU-composited only */
/* No permanent will-change: promoting every reveal element to its own
   compositor layer bloats GPU memory and stalls scrolling; the transition
   promotes layers on its own while animating. */
.reveal {
  opacity: 0;
  /* Refined 2026-07-13: shorter distance + slightly snappier duration reads
     as a considered editorial entrance rather than a mechanical slide. */
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 68, 32, 0.35);
}
/* Custom line icon — same stroke language as the hero badges / trust bar /
   area chips (2px stroke, currentColor, simple geometric), not emoji or photos. */
.service-card .service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--copper-tint-bg);
  color: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: background-color 0.4s var(--ease-premium), color 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}
.service-card .service-icon svg { width: 24px; height: 24px; }
.service-card:hover .service-icon {
  background: var(--copper);
  color: var(--white);
  transform: scale(1.08);
}
.service-card .num {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--copper);
  font-size: 0.85rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.service-card p { color: var(--slate); font-size: 0.95rem; margin-bottom: var(--space-1); }
.service-card .btn { align-self: flex-start; }
/* Denser mobile cards: 2-column grid with tightened padding/type scale.
   Tested at 375-390px against a tightened-1-column alternative — 2-column
   reads cleaner because the outline button is dropped to a plain text link
   at this width (a full pill button doesn't fit two-up), which shortens
   each card enough that the body copy no longer feels cramped. */
@media (max-width: 639px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card { padding: var(--space-2); gap: 4px; border-radius: var(--radius-sm); }
  .service-card .service-icon { width: 34px; height: 34px; margin-bottom: 2px; }
  .service-card .service-icon svg { width: 17px; height: 17px; }
  .service-card .num { font-size: 0.72rem; }
  .service-card h3 { font-size: 0.94rem; line-height: 1.2; margin-bottom: 2px; }
  .service-card p { font-size: 0.8rem; line-height: 1.4; margin-bottom: 6px; }
  .service-card .btn {
    padding: 0;
    background: none;
    border: 0;
    color: var(--copper-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .service-card .btn:hover { transform: none; background: none; color: var(--copper); }
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Full service blocks on tjanster.html */
.service-block {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius);
}
.service-block:nth-child(odd) { background: var(--bg); }
.service-block:nth-child(even) { background: var(--white); }
.service-block + .service-block { margin-top: var(--space-2); }
.service-block-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-block-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-premium); }
.service-block:hover .service-block-media img { transform: scale(1.035); }
.service-block-body .tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-dark);
  background: var(--copper-tint-bg);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.service-block-body h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }
.service-block-body p { color: var(--slate); }
.service-block-body .btn { margin-top: 8px; }
@media (min-width: 780px) {
  .service-block { grid-template-columns: 320px 1fr; align-items: center; }
  .service-block.reverse .service-block-media { order: 2; }
}

/* ==========================================================================
   About teaser / founder split
   ========================================================================== */
.split { display: grid; gap: var(--space-3); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-premium); }
.split-media:hover img { transform: scale(1.03); }
@media (min-width: 780px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .split.reverse .split-media { order: 2; }
}

.stat-row { display: flex; gap: var(--space-4); margin-top: var(--space-3); flex-wrap: wrap; }
.stat-row .stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; /* Lora's real Bold cut — large numerals carry the most weight on the page */
  font-size: 2.2rem;
  color: var(--copper);
  line-height: 1;
}
.band-dark .stat-row .stat strong { color: var(--copper-tint); }
.stat-row .stat span { font-size: 0.85rem; color: var(--slate); }
.band-dark .stat-row .stat span { color: var(--on-dark-muted); }

/* ==========================================================================
   Why-choose cards (about page)
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card .icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  background: var(--copper);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.why-card .icon svg { width: 20px; height: 20px; }
.why-card h3 { font-size: 1.08rem; }
.why-card p { color: var(--slate); font-size: 0.92rem; margin-bottom: 0; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Reviews — auto-scrolling marquee, pauses on hover/focus
   ========================================================================== */
.reviews-head { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); flex-wrap: wrap; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
}
.stars { color: var(--copper); font-size: 1rem; letter-spacing: 1px; }

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--space-2);
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; }
  .marquee-track .review-card:nth-child(n+4) { display: none; }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  width: min(360px, 82vw);
  flex: none;
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.review-card .stars { display: block; margin-bottom: 8px; }
.review-card p { font-size: 0.95rem; color: var(--text); }
.review-card .who {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-top: var(--space-1);
}
.review-note { margin-top: var(--space-3); font-size: 0.8rem; color: var(--slate); }

/* ==========================================================================
   Service area
   ========================================================================== */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.area-chip {
  background: var(--navy-mid);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
  transition: transform 0.3s var(--ease-premium), background-color 0.3s var(--ease-premium);
}
.area-chip:hover { transform: translateY(-3px); background: var(--navy-soft); }
.area-chip svg { flex: none; width: 18px; height: 18px; color: var(--copper-tint); }
.area-note { margin-top: var(--space-3); color: var(--on-dark-muted); }
.band-light .area-chip,
.band-white .area-chip {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}
.band-light .area-chip:hover,
.band-white .area-chip:hover { background: var(--bg); }
.band-light .area-chip svg,
.band-white .area-chip svg { color: var(--copper); }
.band-light .area-note,
.band-white .area-note { color: var(--slate); }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Gallery / featured job photo
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-premium); }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(11,24,38,0.88), rgba(11,24,38,0));
  color: var(--white);
  padding: var(--space-2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* Single completed-job photo — replaces the old before/after slider, which
   compared the same source image against itself and read as broken. No drag
   interaction, no JS: a clean static photo with an honest caption. */
.featured-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}
.featured-photo:hover img { transform: scale(1.035); }
.featured-photo .gallery-caption { font-size: 0.92rem; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: var(--space-3) 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--copper-dark); }
.faq-question .icon {
  flex: none;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--navy);
  transition: transform 0.3s var(--ease-premium), background-color 0.3s ease, border-color 0.3s ease;
}
.faq-question .icon svg { width: 12px; height: 12px; }
.faq-question[aria-expanded="true"] .icon {
  transform: rotate(45deg);
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.3s var(--ease-premium); }
.faq-answer p { color: var(--slate); padding: 0 4px var(--space-2); }
.faq-item.is-open .faq-answer { max-height: 400px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--navy); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-dark-muted); max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-band-actions { display: flex; flex-direction: column; gap: var(--space-2); align-items: center; margin-top: var(--space-3); }
@media (min-width: 640px) { .cta-band-actions { flex-direction: row; justify-content: center; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: var(--space-5) 0 var(--space-3); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.footer-brand .logo { color: var(--white); }
.footer-brand .logo span { color: var(--copper-tint); }
.footer-brand p { color: var(--on-dark-muted); font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--on-dark-muted); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; color: var(--white); font-size: 1.1rem; }
.footer-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
/* Recolor the plain Google Maps embed to a navy-blue monochrome tone so it
   reads as a deliberately-styled panel against the dark navy sections it
   sits in, instead of default light-grey/green Maps colors clashing with
   the palette. Recipe verified by sampling Google's default tile colors
   (water #AADAFF, land #F2F0EB, park #C8E6B0) through this exact filter
   chain on a canvas — resulting water tone is ~#243F78, a saturated navy
   blue with relative luminance ~61 vs. --navy's ~22 and --navy-soft's ~46,
   i.e. reliably lighter than every dark-band background it's placed on. */
.footer-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
  filter: invert(1) hue-rotate(198deg) brightness(1.15) contrast(0.85) saturate(1.1);
}
.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: #6E7F91;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: var(--space-3); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ==========================================================================
   Page header (services/about/contact) — dark band, nav floats over it
   ========================================================================== */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: calc(var(--nav-height) + var(--space-5)) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 15% 0%, rgba(124,68,32,0.20), transparent 60%);
  pointer-events: none;
}
.breadcrumb { position: relative; font-size: 0.82rem; color: var(--on-dark-muted); margin-bottom: var(--space-2); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--copper-tint); }
.page-header h1 { position: relative; color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem); max-width: 28ch; }
.page-header p { position: relative; color: var(--on-dark-muted); max-width: 50ch; font-size: 1.04rem; }
.page-header .btn { position: relative; margin-top: var(--space-2); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.contact-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); }
.contact-info .phone-link { color: var(--navy); font-size: 1.5rem; margin-bottom: var(--space-2); }
.contact-info .phone-link:hover { color: var(--copper); }
.contact-info-row { display: flex; align-items: flex-start; gap: 12px; padding: var(--space-2) 0; border-top: 1px solid var(--line); }
.contact-info-row:first-of-type { border-top: 0; }
.contact-info-row svg { flex: none; width: 20px; height: 20px; color: var(--copper); margin-top: 2px; }
.contact-info-row h4 { font-size: 0.92rem; margin-bottom: 2px; }
.contact-info-row p, .contact-info-row a { color: var(--slate); font-size: 0.92rem; margin-bottom: 0; }
.contact-info-row a:hover { color: var(--copper); }
.jour-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--copper-tint-bg);
  color: var(--copper-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-top: var(--space-2);
}

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); }
.form-row { margin-bottom: var(--space-2); }
.form-row label { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
.form-row .required { color: var(--copper); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--copper); outline: none; background: var(--white); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-sla { font-size: 0.85rem; color: var(--slate); margin-bottom: var(--space-2); }
.form-status { display: none; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-top: var(--space-2); }
.form-status.is-visible { display: block; }
.form-status.success { background: #E4F1E6; color: #235C2E; border: 1px solid #B9DABE; }
.form-status.error { background: #FBE8E4; color: #8A2E1E; border: 1px solid #F1C3B8; }
.form-status.error a { font-weight: 700; text-decoration: underline; }

@media (min-width: 860px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

/* ==========================================================================
   Utilities
   ========================================================================== */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.badge-20yr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--copper);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

/* Hover-only affordances gated behind hover-capable pointers */
@media (hover: none) {
  .service-card:hover,
  .why-card:hover,
  .area-chip:hover,
  .review-card:hover { transform: none; box-shadow: none; }
  .split-media:hover img,
  .gallery-item:hover img,
  .featured-photo:hover img,
  .service-block:hover .service-block-media img { transform: none; }
  .service-card:hover .service-icon { background: var(--copper-tint-bg); color: var(--copper); transform: none; }
}
