/* =========================================================
   CPS Plastering — modernized styles
   Last updated: 2026-05-06 (auto-deploy smoke test)
   ========================================================= */

:root {
  /* palette */
  --ink:        #0f1115;
  --ink-2:      #2a2e36;
  --muted:      #5b6270;
  --muted-2:    #8a8f9c;
  --line:       #e7e3da;
  --line-2:     #efece4;
  --bg:         #fafaf7;
  --bg-warm:    #f3efe6;
  --surface:    #ffffff;
  --accent:     #c2410c;       /* warm terracotta */
  --accent-2:   #f59e0b;       /* warm amber for highlights */
  --accent-soft:#fef3c7;

  /* type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Newsreader", "Inter", Georgia, serif;

  /* sizing */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.05);
  --shadow:    0 12px 30px -12px rgba(15, 17, 21, 0.18), 0 2px 6px -2px rgba(15, 17, 21, 0.08);
  --shadow-lg: 0 30px 60px -20px rgba(15, 17, 21, 0.28);

  /* easing */
  --ease: cubic-bezier(.2,.7,.2,1);

  /* spacing scale — section vertical padding */
  --sp-section-xl: clamp(72px, 10vw, 128px); /* main pages: services bento, approach, work, faq, cta */
  --sp-section-lg: clamp(48px, 7vw, 80px);   /* job pages: approach, gallery, cta, next-case */
  --sp-section-md: clamp(36px, 5vw, 56px);   /* slider, video sections */
  --sp-section-sm: clamp(20px, 3vw, 28px);   /* trust strip, sticky cta */

  /* internal element rhythm */
  --sp-eyebrow: 12px; /* eyebrow → heading */
}

/* reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.18rem; line-height: 1.3; font-weight: 600; }
p  { margin: 0; }

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

/* utility */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-eyebrow);
}
.eyebrow-light { color: var(--accent-2); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.accent { color: var(--accent); font-style: italic; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-primary {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::before { transform: translateX(110%); }
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(194, 65, 12, 0.5);
}
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* =========================================================
   header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 29px;
  padding-block: 17px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  margin-right: auto;
}
.brand-logo {
  display: block;
  height: 43px;
  width: auto;
  max-width: 216px;
  object-fit: contain;
  transition: opacity .2s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.85; }

@media (max-width: 600px) {
  .brand-logo { height: 36px; }
}

.primary-nav { display: flex; gap: 34px; align-items: center; }
.primary-nav a {
  font-size: 1.14rem;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
  padding: 7px 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.primary-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav a.is-active {
  color: var(--accent);
}
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* scroll progress bar */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  pointer-events: none;
  transition: width 60ms linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  opacity: 0;
}
.site-header.is-scrolled .scroll-progress { opacity: 1; }

.header-cta { display: flex; align-items: center; gap: 19px; }
.header-cta .btn-sm { padding: 12px 19px; font-size: 1.06rem; }
.phone-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.1rem; color: var(--ink-2);
  transition: color .25s var(--ease);
}
.phone-link svg { width: 19px; height: 19px; transition: transform .35s var(--ease); }
.phone-link:hover { color: var(--accent); }
.phone-link:hover svg { transform: rotate(-12deg) scale(1.1); }

/* =========================================================
   mobile nav — hamburger toggle reveals a panel under the header
   ========================================================= */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color .18s var(--ease);
}
.nav-toggle:hover { background: var(--bg-warm); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: background-color .15s var(--ease);
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .phone-link span:not(svg) { display: none; }
  .header-inner { gap: 10px; padding-block: 12px; }
  .header-cta { gap: 8px; }

  .primary-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 24px 18px;
    background: rgba(250, 250, 247, 0.97);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 28px -16px rgba(15, 17, 21, 0.18);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s linear;
  }
  .site-header.is-nav-open .primary-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s 0s linear;
  }
  .primary-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-2);
    font-size: 1.02rem;
    font-weight: 500;
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a::after { display: none; }
  .primary-nav a:hover { transform: none; }
  .primary-nav a.is-active { color: var(--accent); }
}

@media (max-width: 480px) {
  .header-cta .btn-sm { padding: 8px 12px; font-size: 0.82rem; }
}

/* =========================================================
   hero
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100svh - 165px);
  display: flex;
  align-items: center;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 10% 20%, rgba(15,17,21,0.45), transparent 60%),
    linear-gradient(180deg, rgba(15,17,21,0.55) 0%, rgba(15,17,21,0.78) 100%);
}
.hero-inner {
  padding-block: 100px 80px;
  max-width: 980px;
}
.hero-title { letter-spacing: -0.025em; }
.hero-title .accent { color: var(--accent-2); font-family: var(--font-display); font-style: italic; }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  line-height: 1.55;
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* hero floating ratings card (top-right of hero image, desktop only)
   + hero stat bar pinned to bottom of hero image */
/* hero floating card — rating-focused, no avatars */
.hero-floating-card {
  position: absolute;
  top: 110px;
  right: 24px;
  z-index: 2;
  display: flex; flex-direction: column;
  gap: 14px;
  width: min(290px, calc(100vw - 48px));
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow:
    0 24px 60px rgba(15, 17, 21, 0.22),
    0 4px 12px rgba(15, 17, 21, 0.10);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
  animation: hfc-fade-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}
@keyframes hfc-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hfc-rating-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.hfc-stars {
  display: inline-flex; gap: 2px;
  color: #FBBC05;
  font-size: 1.25rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 1px 3px rgba(251, 188, 5, 0.45));
}
.hfc-rating {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 2px;
}
.hfc-rating-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hfc-platforms { display: flex; flex-direction: column; gap: 6px; }
.hfc-platform-chip {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--bg-warm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.hfc-platform-chip svg { width: 14px; height: 14px; flex-shrink: 0; }
.hfc-platform-chip--primary {
  background: var(--ink);
  color: #fff;
}
.hfc-arrow {
  margin-left: auto;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .hero-floating-card { animation: none; }
}

/* hero-stat-bar = centered floating pill (inset from edges, content-width)
   so the hero photo breathes — matches the floating-card aesthetic of the
   top-right rating card */
.hero-stat-bar {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: max-content;
  max-width: calc(100vw - 32px);
  background: rgba(15, 17, 21, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow:
    0 16px 48px rgba(15, 17, 21, 0.45),
    0 2px 8px rgba(15, 17, 21, 0.25);
  overflow: hidden;
}
.hero-stat {
  flex: 0 0 auto;
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 14px 22px;
  min-width: 195px;
  color: #fff;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.hero-stat-num .hero-stat-plus {
  color: var(--accent-2);
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-left: 1px;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  align-self: stretch;
  margin-block: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .hfc-platform-chip:hover { transform: translateY(-1px); }
  .hfc-platform-chip:hover .hfc-arrow { transform: translateX(2px); opacity: 1; }
  .hfc-platform-chip:not(.hfc-platform-chip--primary):hover {
    background: var(--accent-soft);
    color: var(--accent);
  }
  .hfc-platform-chip--primary:hover { background: var(--accent); }
}

@media (max-width: 880px) {
  .hero-floating-card { display: none; }
  .hero-inner { padding-bottom: 110px; }
  .hero-stat-bar { bottom: 20px; }
}
@media (max-width: 600px) {
  .hero { min-height: calc(100svh - 150px); }
  .hero-inner { padding-block: 80px 120px; }
  .hero-stat-bar {
    flex-direction: column;
    width: calc(100vw - 24px);
    max-width: 360px;
    border-radius: 14px;
    bottom: 16px;
  }
  .hero-stat { padding: 10px 18px; min-width: 0; }
  .hero-stat-num { font-size: 1rem; }
  .hero-stat-label { font-size: 0.74rem; }
  .hero-stat-divider {
    width: auto;
    height: 1px;
    margin-inline: 18px;
    margin-block: 0;
  }
}

/* =========================================================
   sections — common
   ========================================================= */
.section { padding-block: var(--sp-section-md); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head h2 { margin-bottom: 18px; }

/* =========================================================
   services
   ========================================================= */
.services { background: var(--bg); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-link { display: flex; flex-direction: column; height: 100%; }
.service-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-warm);
  position: relative;
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .9s var(--ease);
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-img img { transform: scale(1.06); }
  .service-card:hover .service-img::after { transform: translateX(110%); }
}
.service-body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex; flex-direction: column;
  position: relative;
}
.service-body h3 { margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: 0.97rem; line-height: 1.55; }
.arrow {
  margin-top: 12px;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover .arrow { background: var(--accent); color: #fff; transform: translateX(4px); }

/* bento variant — used on the homepage services teaser. One featured
   card spans two rows on desktop; flattens to a single column on mobile. */
.service-grid--bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.service-grid--bento .service-card {
  display: flex;
  flex-direction: column;
}
.service-grid--bento .service-card--featured {
  grid-row: span 2;
}
.service-grid--bento .service-card--featured .service-img {
  aspect-ratio: 6 / 5;
  flex: 1;
}
.service-grid--bento .service-card--featured .service-body {
  padding: 14px 28px 16px;
}
.service-grid--bento .service-card--featured h3 {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}
.service-grid--bento .service-card--featured p {
  font-size: 1rem;
  max-width: 32ch;
}
.service-grid--bento .service-card:not(.service-card--featured) .service-img {
  aspect-ratio: 16 / 8;
}
.service-grid--bento .service-card:not(.service-card--featured) .service-body {
  padding: 10px 22px 12px;
}
.service-grid--bento .service-card:not(.service-card--featured) h3 {
  font-size: 1.1rem;
}
.service-grid--bento .service-card:not(.service-card--featured) p {
  font-size: 0.94rem;
}

@media (max-width: 720px) {
  .service-grid--bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .service-grid--bento .service-card--featured { grid-row: span 1; }
  .service-grid--bento .service-card--featured .service-img { aspect-ratio: 16 / 11; }
  .service-grid--bento .service-card--featured .service-body { padding: 24px 22px 26px; }
  .service-grid--bento .service-card--featured h3 { font-size: 1.25rem; }
}

/* =========================================================
   approach (split)
   ========================================================= */
.approach { background: var(--bg-warm); }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.approach-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.approach-media img { width: 100%; height: 100%; object-fit: cover; }
.approach-copy h2 { margin-bottom: 18px; }
.approach-copy .lead { margin-bottom: 36px; }

.pillars { display: flex; flex-direction: column; gap: 18px; }
.pillars li {
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.pillars li:hover { border-color: var(--accent); transform: translateX(4px); }
.pillars strong { font-size: 1rem; }
.pillars span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

@media (max-width: 820px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-media { aspect-ratio: 4/3; max-height: 420px; }
}

/* =========================================================
   work grid
   ========================================================= */
.work { background: var(--bg); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  grid-auto-flow: dense;
  gap: 14px;
}
.work-tile {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-warm);
  position: relative;
}
.work-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-tile:hover img { transform: scale(1.04); }

/* tier sizing for the work grid:
   .work-tile-tall   = featured headline job (3 rows tall)
   .work-tile-full   = a full job with rich photo coverage (2 rows)
   .work-tile-stub   = a stub job with thin photo coverage (1 row)
   default work-tile = also 1 row */
.work-tile-tall { grid-row: span 3; grid-column: span 2; }
.work-tile-full { grid-row: span 2; }
.work-tile-stub { grid-row: span 1; }
.work-tile-stub .work-badge { font-size: 0.68rem; padding: 5px 10px; }
.work-tile-stub .work-cta { font-size: 0.85rem; bottom: 14px; left: 16px; }

/* homepage "Recent work" teaser only — 1 featured tile + 2 stacked,
   so the right column matches the featured tile's height with no empty row.
   Scoped under the homepage section's #work id; doesn't affect work.html. */
#work .work-grid { grid-auto-rows: 200px; }
#work .work-tile-tall { grid-row: span 2; grid-column: span 2; }
#work .work-tile-link:not(.work-tile-tall) { grid-column: span 2; grid-row: span 1; }

.work-tile-link {
  display: block;
  cursor: pointer;
  isolation: isolate;
}
.work-tile-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0) 40%, rgba(15,17,21,0.78) 100%);
  z-index: 1;
  transition: opacity .25s var(--ease);
}
.work-tile-link:hover::after { background: linear-gradient(180deg, rgba(15,17,21,0.1) 0%, rgba(15,17,21,0.85) 100%); }
.work-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.work-cta {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .25s var(--ease);
}
.work-tile-link:hover .work-cta { transform: translateX(4px); }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .work-tile-tall { grid-row: span 2; grid-column: span 2; }
  .work-tile-full { grid-row: span 2; }
  .work-tile-stub { grid-row: span 1; }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .work-tile-tall, .work-tile-full, .work-tile-stub { grid-row: span 1; grid-column: span 1; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--bg-warm); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-cta { margin-top: 24px; align-self: flex-start; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .faq-list details:hover { border-color: var(--accent); }
}
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--muted);
  font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.97rem;
}

@media (max-width: 820px) {
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   reviews section
   ========================================================= */
.reviews { background: var(--bg); }
.reviews-inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.reviews-inner h2 { margin-bottom: 18px; }
.reviews-inner .lead { margin-inline: auto; margin-bottom: 40px; }

.reviews-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.review-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.review-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.review-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.review-mark-google,
.review-mark-trustpilot {
  background: #ffffff;
  border: 1px solid var(--line);
}
.review-mark svg { display: block; }

.review-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.review-content strong {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.review-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.review-arrow {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform .25s var(--ease), color .25s var(--ease);
  flex-shrink: 0;
}
.review-card:hover .review-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

@media (max-width: 720px) {
  .reviews-actions { grid-template-columns: 1fr; }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 20px;
}

@keyframes call-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(194, 65, 12, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(194, 65, 12, 0.32); }
}
.cta .btn-outline-light[href^="tel:"] {
  animation: call-pulse 2.8s ease-in-out infinite;
  position: relative;
}
@media (prefers-reduced-motion: reduce) {
  .cta .btn-outline-light[href^="tel:"] { animation: none; }
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 80% 0%, rgba(245, 158, 11, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.cta-copy h2 { color: #fff; margin-bottom: 18px; }
.cta-copy .lead { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-meta dl { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.cta-meta dl > div {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.cta-meta dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.cta-meta dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.cta-meta dd { margin: 0; font-size: 1.05rem; color: rgba(255,255,255,0.9); }

@media (max-width: 820px) {
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   footer — minimal: brand + inline contact, nav, slim bottom bar
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand > a {
  display: inline-flex;
  transition: opacity .2s var(--ease);
}
.footer-brand > a:hover { opacity: 0.85; }
.footer-logo {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  flex-wrap: wrap;
}
.footer-contact-line a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.footer-contact-line a:hover { color: var(--accent-2); }
.footer-contact-line span[aria-hidden] { color: rgba(255,255,255,0.25); }

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  transition: color .2s var(--ease);
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  padding-block: 18px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* =========================================================
   job page
   ========================================================= */
.job-page { padding-top: 0; }

/* ----- editorial hero ----- */
.job-hero {
  padding-block: clamp(16px, 2.4vw, 28px) clamp(32px, 4.6vw, 56px);
  background: var(--bg);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
.crumbs a { color: var(--muted); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { color: var(--muted-2); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }

.job-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.job-title {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.job-hero .lead { margin-bottom: 0; }

.job-meta-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
  margin: clamp(24px, 3.4vw, 36px) 0 0;
  padding-top: clamp(18px, 2.6vw, 24px);
  border-top: 1px solid var(--line);
}
.job-meta-inline > div { min-width: 0; }
.job-meta-inline dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.job-meta-inline dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.job-hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  max-height: min(58vh, 520px);
  background: var(--bg-warm);
  box-shadow: var(--shadow-lg);
}
.job-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.job-hero-figure:hover img { transform: scale(1.05); }
.job-hero-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

@media (max-width: 880px) {
  .job-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .job-hero-figure { aspect-ratio: 16 / 10; max-height: 360px; }
  .job-title { max-width: 22ch; }
}
@media (max-width: 520px) {
  .job-meta-inline { grid-template-columns: 1fr 1fr; }
}

/* ----- before/after slider section ----- */
.job-slider-section {
  padding-block: clamp(40px, 5vw, 64px);
  background: var(--bg-warm);
}
.slider-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(20px, 3vw, 32px);
}
.slider-head h2 { margin-bottom: 10px; }
.slider-head .lead { margin-inline: auto; }

/* ----- before/after slider ----- */
.ba-slider {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(64vh, 580px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  outline: none;
}
.ba-slider:focus-visible {
  box-shadow: var(--shadow), 0 0 0 3px var(--accent-soft), 0 0 0 5px var(--accent);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  /* show only the LEFT portion up to --pos */
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08);
  will-change: left;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 8px 24px -6px rgba(15, 17, 21, 0.35), 0 2px 6px -2px rgba(15, 17, 21, 0.25);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
  pointer-events: none;
}
.ba-handle svg { display: block; }
.ba-handle svg:first-child { margin-right: -4px; }
.ba-handle svg:last-child  { margin-left:  -4px; }

.ba-slider:hover  .ba-handle { transform: translate(-50%, -50%) scale(1.06); }
.ba-slider.is-dragging .ba-handle {
  transform: translate(-50%, -50%) scale(0.96);
  background: var(--accent-soft);
}
.ba-slider.is-dragging { cursor: grabbing; }

.ba-label {
  position: absolute;
  top: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(15, 17, 21, 0.7);
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-label-before { left: 18px; }
.ba-label-after  { right: 18px; }

.ba-hint {
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .ba-slider { aspect-ratio: 4 / 5; }
  .ba-handle { width: 44px; height: 44px; }
  .ba-label { top: 12px; padding: 5px 10px; font-size: 0.72rem; }
  .ba-label-before { left: 12px; }
  .ba-label-after  { right: 12px; }
}

/* ----- approach: numbered process cards ----- */
.job-approach { background: var(--bg); }
.job-approach-inner {
  max-width: 760px;
  margin-inline: auto;
}
.job-approach h2 { margin-bottom: 18px; }
.job-approach .lead { margin-bottom: clamp(28px, 4vw, 44px); max-width: none; }

.job-bullets {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.job-bullets li {
  counter-increment: step;
  position: relative;
  padding: 20px 24px 20px 76px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.job-bullets li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.job-bullets li::after {
  content: "";
  position: absolute;
  left: 56px;
  top: 22px;
  width: 1px;
  height: 18px;
  background: var(--line);
}
.job-bullets li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.job-bullets li strong {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.job-bullets li span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.job-approach-cta {
  margin-top: clamp(28px, 4vw, 40px);
}

@media (max-width: 520px) {
  .job-bullets li { padding: 18px 18px 18px 64px; }
  .job-bullets li::before { left: 18px; top: 20px; }
  .job-bullets li::after { left: 48px; top: 20px; }
}

/* ----- back link (used in CTA) ----- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color .2s var(--ease), gap .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.back-link:hover {
  color: #fff;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   job — gallery grid
   ========================================================= */
.job-gallery-section { background: var(--bg); }
.job-gallery-title { margin: 6px 0 32px; }

.job-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.job-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-warm);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.job-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.job-gallery-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.job-gallery-item:hover img { transform: scale(1.04); }

.job-gallery-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 820px) {
  .job-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .job-gallery-item--wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 520px) {
  .job-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .job-gallery-item--wide { grid-column: span 1; }
}

/* =========================================================
   lightbox — gallery image viewer
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity .18s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-img {
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: block;
  cursor: default;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav  { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-close:hover { transform: scale(1.05); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 600px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* =========================================================
   WhatsApp floating button
   ========================================================= */
.wa-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 800;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55), 0 4px 12px -4px rgba(15, 17, 21, 0.3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px -6px rgba(37, 211, 102, 0.65), 0 6px 14px -4px rgba(15, 17, 21, 0.35);
}
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-fab svg { width: 30px; height: 30px; display: block; }

@media (max-width: 600px) {
  .wa-fab { bottom: 16px; right: 16px; width: 54px; height: 54px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* =========================================================
   "next" banner — soft CTA pointing to more work
   ========================================================= */
.next-case-section {
  background: var(--bg);
  padding-block: var(--sp-section-md);
}
.next-case-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.next-case-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.next-case-text { min-width: 0; }
.next-case-card h2 { margin: 0 0 8px; }
.next-case-card p {
  color: var(--muted);
  max-width: 50ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}
.next-case-arrow {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.next-case-card:hover .next-case-arrow { transform: translateX(8px); }

@media (max-width: 600px) {
  .next-case-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .next-case-arrow { align-self: flex-end; }
}

/* =========================================================
   sticky mobile CTA bar — visible on .has-sticky-cta pages, mobile only
   ========================================================= */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -12px rgba(15, 17, 21, 0.18);
  padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  gap: 6px;
}
.sticky-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.sticky-cta-call    { background: var(--ink);    color: #fff; }
.sticky-cta-whatsapp { background: #25D366;       color: #fff; }
.sticky-cta-quote   { background: var(--accent); color: #fff; }
.sticky-cta-btn:active { transform: scale(0.97); }
.sticky-cta-btn svg { flex-shrink: 0; }

@media (max-width: 720px) {
  body.has-sticky-cta .sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 76px; }   /* room for the bar */
  body.has-sticky-cta .wa-fab { display: none; }  /* avoid stacking */
}

/* =========================================================
   review marquee — sliding band on the homepage
   ========================================================= */
.review-marquee {
  background: var(--ink);
  color: #fff;
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  padding-block: clamp(16px, 2.4vw, 22px);
  overflow: hidden;
  white-space: nowrap;
}
.review-marquee-track {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  animation: review-marquee-slide 66s linear infinite;
  will-change: transform;
}
.review-marquee-track > * { flex-shrink: 0; }
.review-marquee-quote { color: rgba(255, 255, 255, 0.92); }
.review-marquee-dot {
  color: var(--accent);
  font-size: 1.1rem;
}
@keyframes review-marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .review-marquee-track { animation: none; }
}
@media (max-width: 600px) {
  .review-marquee-track {
    animation-duration: 48s;
    font-size: 0.95rem;
    gap: 20px;
  }
}

/* =========================================================
   work-carousel — auto-scrolling job cards (work.html)
   ========================================================= */
.work-carousel {
  background: var(--bg-warm);
  padding-block: clamp(28px, 4vw, 44px);
  overflow: hidden;
  position: relative;
}
.work-carousel::before,
.work-carousel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 6vw, 96px);
  z-index: 1;
  pointer-events: none;
}
.work-carousel::before { left: 0;  background: linear-gradient(90deg, var(--bg-warm), transparent); }
.work-carousel::after  { right: 0; background: linear-gradient(270deg, var(--bg-warm), transparent); }
.work-carousel-track {
  display: inline-flex;
  gap: 18px;
  align-items: stretch;
  animation: work-carousel-slide 110s linear infinite;
  will-change: transform;
}
.work-carousel-track > * { flex-shrink: 0; }
.work-carousel-card {
  position: relative;
  display: block;
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.work-carousel-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-carousel-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,17,21,0.78) 100%);
}
.work-carousel-label {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@keyframes work-carousel-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (hover: hover) and (pointer: fine) {
  .work-carousel:hover .work-carousel-track { animation-play-state: paused; }
  .work-carousel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  .work-carousel-card:hover img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .work-carousel-track { animation: none; }
}
@media (max-width: 600px) {
  .work-carousel-track { animation-duration: 88s; gap: 12px; }
  .work-carousel-card { width: clamp(180px, 60vw, 240px); }
  .work-carousel-label { font-size: 0.85rem; bottom: 10px; left: 12px; right: 12px; }
}

/* =========================================================
   walkthrough video section
   ========================================================= */
.job-video-section {
  background: var(--bg-warm);
}
.job-video-head {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}
.job-video-head h2 { margin-bottom: 12px; }
.job-video-head .lead { margin-inline: auto; }

.job-video {
  margin: 0 auto;
  display: block;
  width: fit-content;
  max-width: 100%;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.job-video video {
  display: block;
  max-width: 100%;
  max-height: min(56vh, 520px);
}

/* =========================================================
   testimonial section
   ========================================================= */
.job-testimonial-section { background: var(--bg); }

.job-testimonial {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
  position: relative;
}
.job-testimonial-mark {
  display: block;
  margin: 0 auto clamp(18px, 2.4vw, 28px);
  color: var(--accent);
  opacity: 0.85;
}
.job-testimonial-quote {
  margin: 0 0 clamp(20px, 3vw, 28px);
}
.job-testimonial-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
}
.job-testimonial-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.job-testimonial-attr strong {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0;
}
.job-testimonial-attr span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================================
   section foot — "see all → " link below trimmed homepage sections
   ========================================================= */
.section-foot {
  margin-top: clamp(28px, 4vw, 48px);
  text-align: center;
}
.section-foot-left { text-align: left; }

/* =========================================================
   contact form (contact.html)
   ========================================================= */
.contact-form-section { background: var(--bg); }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form[hidden] { display: none; }
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form .required { color: var(--accent); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.contact-form-note {
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-form-status {
  margin: 8px 0 0;
  padding: 12px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
}
.contact-form button[type="submit"] { cursor: pointer; }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }

.contact-form-success {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
}
.contact-form-success h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: var(--ink);
}
.contact-form-success p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.6;
}
.contact-form-success a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form-success a:hover { color: var(--ink); }

/* =========================================================
   coverage page — typographic map
   ========================================================= */
.coverage-map-section {
  background: var(--bg-warm);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.coverage-map-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.coverage-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 18px;
}
.coverage-map-head .lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 600px;
}

.coverage-map {
  position: relative;
  width: 100%;
  height: clamp(440px, 62vw, 620px);
  max-width: 880px;
  margin: 0 auto clamp(28px, 3vw, 40px);
}
.coverage-map-compass {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}
.coverage-map-compass::before {
  content: "↑";
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
  font-weight: 400;
  letter-spacing: 0;
}

.coverage-map-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.coverage-map-rings circle {
  fill: none;
  stroke: rgba(194, 65, 12, 0.18);
  stroke-width: 1;
  stroke-dasharray: 4 8;
}
.coverage-map-rings .coverage-map-pulse {
  fill: rgba(194, 65, 12, 0.06);
  stroke: rgba(194, 65, 12, 0.32);
  stroke-dasharray: 0;
  transform-origin: 400px 300px;
  animation: coverage-pulse 3s ease-in-out infinite;
}
@keyframes coverage-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.18); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .coverage-map-rings .coverage-map-pulse { animation: none; }
}

.coverage-map-towns {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1;
}
.coverage-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  white-space: nowrap;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.coverage-pin::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 8px;
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.12);
}
.coverage-pin-name { display: block; }
.coverage-pin-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  font-weight: 600;
}
.coverage-pin--hq {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-style: italic;
  color: var(--accent);
}
.coverage-pin--hq::before { display: none; }
.coverage-pin--lg { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.coverage-pin--md { font-size: clamp(1rem, 1.9vw, 1.4rem); }

@media (hover: hover) and (pointer: fine) {
  .coverage-pin:not(.coverage-pin--hq):hover {
    color: var(--ink);
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.coverage-map-foot {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}
.coverage-map-foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.coverage-map-foot a:hover { color: var(--ink); }

.coverage-edge { background: var(--bg); }
.coverage-edge-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.coverage-edge-copy h2 { margin: 8px 0 14px; }
.coverage-edge-copy p { color: var(--ink-2); margin: 0; }
.coverage-edge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .coverage-map { height: 520px; }
  .coverage-pin--hq { font-size: 2rem; }
  .coverage-pin--lg { font-size: 1.4rem; }
  .coverage-pin--md { font-size: 0.92rem; }
  .coverage-pin-sub { font-size: 0.62rem; }
  .coverage-edge-inner { grid-template-columns: 1fr; }
  .coverage-edge-actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .coverage-map { height: 480px; }
  .coverage-pin--hq { font-size: 1.7rem; }
  .coverage-pin--lg { font-size: 1.2rem; }
  .coverage-pin--md { font-size: 0.8rem; }
}

/* =========================================================
   legal pages (privacy, future terms)
   ========================================================= */
.legal-section {
  background: var(--bg);
  padding-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.legal-content {
  max-width: 720px;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 600;
  color: var(--ink);
  margin: clamp(28px, 3vw, 40px) 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content p { margin: 0 0 14px; }
.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--ink); }
.legal-content em {
  color: var(--muted);
  font-style: italic;
}
.legal-content strong { color: var(--ink); }
.legal-updated {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

/* =========================================================
   404 page
   ========================================================= */
.error-page-section {
  background: var(--bg-warm);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-page {
  max-width: 640px;
  text-align: center;
}
.error-page .eyebrow {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.error-page .lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin: 0 auto 32px;
  max-width: 520px;
}
.error-page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.error-page-foot {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.error-page-foot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.error-page-foot a:hover { color: var(--ink); }

/* footer-bottom inline link (Privacy) */
.footer-bottom-inner a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-bottom-inner a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* contact info aside */
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  position: sticky;
  top: 92px;
}
.contact-info h3 { margin: 4px 0 18px; font-size: 1.15rem; }
.contact-info-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  font-weight: 500;
  transition: color .2s var(--ease);
}
.contact-info-link:hover { color: var(--accent); }
.contact-info-link svg { color: var(--accent); flex-shrink: 0; }
.contact-info-link > span { display: flex; flex-direction: column; min-width: 0; }
.contact-info-link strong { font-weight: 600; font-size: 0.98rem; color: var(--ink); white-space: nowrap; }
.contact-info-link .contact-info-sub {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.contact-info dl {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info dl > div { padding-top: 4px; }
.contact-info dl dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info dl dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

@media (max-width: 820px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}
@media (max-width: 480px) {
  .contact-form-row { grid-template-columns: 1fr; gap: 14px; }
}

/* =========================================================
   stub job extras — "more photos to come" note +
   single-photo detail figure
   ========================================================= */
.job-stub-note {
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  margin: clamp(20px, 3vw, 28px) 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
}
.job-detail-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--shadow);
  max-width: 880px;
  margin-inline: auto;
}
.job-detail-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   feature list — clean bulleted "what's included" cards
   used on each individual service page
   ========================================================= */
.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: clamp(24px, 4vw, 36px) 0 clamp(20px, 3vw, 32px);
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 16px 22px 16px 50px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.feature-list li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

@media (hover: none), (pointer: coarse) {
  .feature-list li:hover { transform: none; }
}

/* =========================================================
   page hero — used by services / approach / work / faq pages
   ========================================================= */
.page-hero {
  background: var(--bg-warm);
  padding-block: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 22ch;
}
.page-hero .lead { max-width: 60ch; margin-bottom: 0; }

/* =========================================================
   trust strip — credibility row near the top
   ========================================================= */
.job-trust {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--sp-section-sm);
}
.job-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.job-trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  line-height: 1.3;
}
.job-trust-item strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.job-trust-sub {
  font-size: 0.82rem;
  color: var(--muted);
}
.job-trust-stars {
  display: inline-flex;
  gap: 1px;
  margin-right: 4px;
}
.job-trust-icon {
  flex-shrink: 0;
}
.job-trust-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}
.job-trust-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  transition: opacity .2s var(--ease);
}
.job-trust-link:hover { opacity: 0.75; }
.job-trust-link:hover .job-trust-sub { color: var(--accent); }

@media (max-width: 720px) {
  .job-trust-row { gap: 16px; }
  .job-trust-divider { display: none; }
  .job-trust-item { width: calc(50% - 8px); }
}

/* =========================================================
   what happens next — 3-step pre-CTA
   ========================================================= */
.job-next { background: var(--bg); padding-block: 20px clamp(18px, 2.5vw, 28px); }
.job-next-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.job-next-head h2 { margin-bottom: 0; }

.job-next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.job-next-steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.job-next-steps li:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.job-next-steps li:has(> .job-next-link) { position: relative; }
.job-next-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.job-next-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
}
.job-next-link::after {
  content: "→";
  position: absolute;
  bottom: clamp(18px, 2.4vw, 24px);
  right: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  z-index: 2;
  transition: transform .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .job-next-steps li:has(> .job-next-link):hover .job-next-link::after {
    transform: translateX(4px);
  }
}
.job-next-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.job-next-steps li strong {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.job-next-steps li > span:not(.job-next-num) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .job-next-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   classic job page — restores the original design
   used by bungalow-render.html via .job-page--classic
   ========================================================= */

/* tighter hero — text-only on cream */
.job-page--classic .job-hero {
  padding-block: clamp(18px, 2.6vw, 32px) clamp(14px, 2vw, 24px);
}
.job-page--classic .crumbs { margin-bottom: 14px; }
.job-page--classic .job-title {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  max-width: 22ch;
}
.job-page--classic .job-hero .lead { margin-bottom: 0; }

/* slider section: original off-white, no head, taller ratio */
.job-page--classic .job-slider-section {
  padding-block: 8px clamp(48px, 7vw, 88px);
  background: var(--bg);
}
.job-page--classic .ba-slider {
  aspect-ratio: 4 / 3;
  max-height: none;
}

/* split detail with sticky sidebar */
.job-page--classic .job-detail { background: var(--bg-warm); }
.job-page--classic .job-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.job-page--classic .job-detail h2 { margin-bottom: 18px; }
.job-page--classic .job-detail .lead { margin-bottom: 28px; }

/* dash-bullet list — overrides numbered card design */
.job-page--classic .job-bullets {
  counter-reset: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
.job-page--classic .job-bullets li {
  counter-increment: none;
  position: relative;
  padding: 0 0 0 28px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink-2);
  line-height: 1.55;
  display: block;
  transition: none;
  box-shadow: none;
}
.job-page--classic .job-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  font: inherit;
  color: inherit;
  letter-spacing: 0;
}
.job-page--classic .job-bullets li::after { content: none; }
.job-page--classic .job-bullets li:hover {
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

/* sticky meta sidebar */
.job-page--classic .job-meta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 92px;
}
.job-page--classic .job-meta dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.job-page--classic .job-meta .btn + dl { margin-top: 28px; }
.job-page--classic .job-meta dl > div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.job-page--classic .job-meta dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.job-page--classic .job-meta dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.job-page--classic .job-meta dd { margin: 0; font-size: 1rem; color: var(--ink); font-weight: 500; }
.job-page--classic .job-meta .btn { width: 100%; justify-content: center; }

@media (max-width: 820px) {
  .job-page--classic .job-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .job-page--classic .job-meta { position: static; }
}


/* =========================================================
   mobile optimization — touch targets, type scale, layout
   ========================================================= */

/* tighten container padding on phones */
@media (max-width: 600px) {
  .container { padding-inline: 18px; }
}

/* header touch targets */
@media (max-width: 880px) {
  .phone-link {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .btn-sm { min-height: 44px; padding: 12px 18px; }
}

/* trust strip on small screens — clean 2x2 grid */
@media (max-width: 600px) {
  .job-trust { padding-block: 18px; }
  .job-trust-row { gap: 14px 16px; }
  .job-trust-item { width: calc(50% - 8px); }
  .job-trust-item strong { font-size: 0.92rem; }
  .job-trust-sub { font-size: 0.76rem; }
}

/* hero & CTA button min-height for touch */
@media (max-width: 600px) {
  .hero-actions .btn,
  .cta-actions .btn,
  .bold-btn {
    min-height: 48px;
  }
}

/* testimonial padding on mobile (editorial / classic) */
@media (max-width: 600px) {
  .job-testimonial { padding: 24px 8px; }
  .job-testimonial-quote p { font-size: clamp(1.1rem, 4.4vw, 1.4rem); }
}

/* what-happens-next padding on mobile */
@media (max-width: 600px) {
  .job-next-steps li { padding: 22px 20px; }
}

/* prevent horizontal scroll from any rogue offset shadow */
html, body { overflow-x: clip; }

/* disable transform-on-hover on touch devices — prevents the
   "stuck pressed" look on iOS/Android after a tap */
@media (hover: none), (pointer: coarse) {
  .btn-primary:hover,
  .service-card:hover,
  .pillars li:hover,
  .review-card:hover,
  .work-tile-link:hover .work-cta,
  .job-gallery-item:hover,
  .job-bullets li:hover,
  .job-next-steps li:hover,
  .wa-fab:hover {
    transform: none;
  }
}

/* =========================================================
   compact section heights — keep each job-page section
   under ~1 viewport on standard laptop / desktop sizes
   ========================================================= */
.job-page .section { padding-block: var(--sp-section-md); }
.service-page .section { padding-block: var(--sp-section-md); }
.service-page .job-gallery-section { background: var(--bg-warm); }

.job-hero { padding-block: clamp(16px, 2vw, 24px) clamp(32px, 4vw, 48px); }
.job-hero-figure { max-height: min(54vh, 460px); }

.job-slider-section { padding-block: var(--sp-section-md); }
.slider-head { margin-bottom: clamp(18px, 2.4vw, 28px); }
.ba-slider { max-height: min(56vh, 480px); }

.job-video-head { margin-bottom: clamp(18px, 2.4vw, 28px); }
.job-video video { max-height: min(56vh, 520px); }

.job-approach { padding-block: var(--sp-section-md); }
.job-approach .lead { margin-bottom: clamp(20px, 3vw, 32px); }
.job-approach-cta { margin-top: clamp(20px, 3vw, 32px); }
.job-bullets li { padding: 16px 20px 16px 60px; }
.job-bullets li::before { top: 18px; }
.job-bullets li::after { top: 18px; }

.job-gallery { grid-auto-rows: 200px; }

.job-next-head { margin-bottom: clamp(28px, 4vw, 40px); }
.job-next-steps li { padding: clamp(18px, 2.4vw, 24px); }

.job-testimonial { padding: clamp(20px, 3vw, 32px); }


/* classic slider — was unbounded; cap to viewport */
.job-page--classic .ba-slider { max-height: min(56vh, 480px); }

/* =========================================================
   reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
