/* ============================================================
   Pulp Friction Ltd — static site stylesheet
   No framework. Custom properties + hand-rolled component classes.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --color-charcoal: #171b19;
  --color-charcoal-2: #232925;
  --color-charcoal-3: #333b35;
  --color-green: #1f4d3a;
  --color-green-deep: #14352a;
  --color-green-light: #4c7a64;
  --color-green-pale: #dce8e0;
  --color-kraft: #c9a568;
  --color-offwhite: #f6f4ee;
  --color-paper: #eeeae0;
  --color-line: #dcd7c9;
  --color-white: #ffffff;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, monospace;

  --container-max: 1280px;
  --header-h: 80px;
}

body {
  margin: 0;
  background: var(--color-offwhite);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--color-green); color: var(--color-offwhite); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

.section { padding: 5rem 0; }
.section-tight { padding: 4rem 0; }
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
  .section-tight { padding: 5rem 0; }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--color-green-light); }

h1 { font-size: 2rem; font-weight: 800; line-height: 1.15; }
h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 700; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

.text-lead { font-size: 1.05rem; color: rgba(23,27,25,0.7); }
.text-muted { color: rgba(23,27,25,0.65); }
.max-w { max-width: 640px; }
.max-w-lg { max-width: 780px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--color-green); color: var(--color-offwhite); }
.btn-primary:hover { background: var(--color-green-light); }
.btn-dark { background: var(--color-charcoal); color: var(--color-offwhite); }
.btn-dark:hover { background: var(--color-charcoal-2); }
.btn-outline-dark {
  border-color: rgba(23,27,25,0.2);
  color: var(--color-charcoal);
  background: transparent;
}
.btn-outline-dark:hover { border-color: var(--color-green); }
.btn-outline-light {
  border-color: rgba(246,244,238,0.35);
  color: var(--color-offwhite);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--color-offwhite); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-charcoal);
  color: var(--color-offwhite);
  border-bottom: 1px solid var(--color-charcoal-3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand img {
  height: 40px;
  width: auto;
  background: var(--color-offwhite);
  border-radius: 4px;
  padding: 4px 8px;
}

.nav-primary {
  display: none;
}
.nav-cta-group { display: none; }

@media (min-width: 1024px) {
  .nav-primary {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .nav-item { position: relative; display: flex; align-items: stretch; }
  .nav-link, .nav-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1rem;
    background: none;
    border: none;
    color: inherit;
    height: var(--header-h);
    white-space: nowrap;
  }
  .nav-link:hover, .nav-trigger:hover { color: var(--color-green-light); }
  .nav-caret-icon { font-size: 0.65rem; opacity: 0.65; }

  .dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 17rem;
    background: var(--color-charcoal-2);
    border: 1px solid var(--color-charcoal-3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  }
  .nav-item.has-dropdown:hover .dropdown,
  .nav-item.has-dropdown:focus-within .dropdown,
  .nav-item.has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-weight: 500;
  }
  .dropdown a:hover { background: var(--color-charcoal-3); color: var(--color-green-light); }

  .nav-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .nav-phone { font-weight: 700; font-size: 0.9rem; }
  .nav-phone:hover { color: var(--color-green-light); }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-offwhite);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-charcoal-3);
  background: var(--color-charcoal-2);
  color: var(--color-offwhite);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav .container { padding-top: 1rem; padding-bottom: 1rem; }
.mobile-nav-item { border-bottom: 1px solid var(--color-charcoal-3); }
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-row > a, .mobile-nav-row > span {
  flex: 1;
  padding: 0.85rem 0;
  font-weight: 600;
}
.mobile-nav-caret {
  background: none;
  border: none;
  color: var(--color-offwhite);
  padding: 0.85rem 0.5rem;
  font-size: 1rem;
  opacity: 0.75;
}
.mobile-submenu { display: none; padding-bottom: 0.5rem; }
.mobile-nav-item.open .mobile-submenu { display: block; }
.mobile-submenu a { display: block; padding: 0.5rem 0 0.5rem 1rem; opacity: 0.9; }
.mobile-nav-simple > a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--color-charcoal-3);
}
.mobile-nav-row > a:hover,
.mobile-nav-row > a:focus-visible,
.mobile-nav-row > a:active,
.mobile-submenu a:hover,
.mobile-submenu a:focus-visible,
.mobile-submenu a:active,
.mobile-nav-simple > a:hover,
.mobile-nav-simple > a:focus-visible,
.mobile-nav-simple > a:active {
  color: var(--color-green-light);
}
.mobile-nav-actions { padding-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }

@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-charcoal);
  color: var(--color-offwhite);
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(23,27,25,0.62) 0%, rgba(23,27,25,0.56) 45%, rgba(23,27,25,0.22) 100%);
}
.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,27,25,0.58) 0%, transparent 38%);
}
.hero-inner {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .hero-inner { padding-top: 2rem; padding-bottom: 2rem; }
}
.hero-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 26rem; align-items: start; }
}
.hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green-pale);
  margin-bottom: 1.25rem;
}
.hero-inner h1 { max-width: 40rem; }
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .hero-inner h1 { font-size: 2.25rem; }
}
.hero-inner .text-lead { color: rgba(246,244,238,0.78); max-width: 34rem; margin-top: 1.25rem; }
.hero-ctas { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-quote-col { width: 100%; }
@media (min-width: 1024px) {
  .hero-quote-col { display: flex; justify-content: flex-end; align-items: center; padding: 0.125rem 0; }
}

.quote-card {
  background: var(--color-offwhite);
  color: var(--color-charcoal);
  box-shadow: 0 40px 80px -16px rgba(0,0,0,0.5), 0 14px 30px rgba(0,0,0,0.28);
  padding: 2.25rem 2.25rem 2.75rem;
  width: 100%;
  max-width: 26rem;
}
@media (max-width: 1023.98px) { .quote-card { max-width: none; } }
@media (min-width: 768px) { .quote-card { padding: 1rem 2.25rem 1rem; } }
.quote-card h3 { margin-bottom: 0.35rem; }
.quote-card .quote-sub { font-size: 0.85rem; color: rgba(23,27,25,0.6); margin-bottom: 1.25rem; }
.quote-card form { display: flex; flex-direction: column; gap: 0.45rem; }
.quote-card form .btn[type="submit"] { margin-top: 0.5rem; }
.quote-success { font-weight: 600; color: var(--color-green); padding: 1.5rem 0; }

/* ============================================================
   Forms
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--color-charcoal);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-green);
}
.field textarea { resize: vertical; min-height: 8rem; }
.form-error { font-size: 0.8rem; color: #b3261e; }
.form-success {
  border: 1px solid rgba(31,77,58,0.3);
  background: var(--color-green-pale);
  padding: 2rem;
  text-align: center;
}
.form-success p:first-child { font-size: 1.1rem; font-weight: 700; color: var(--color-green-deep); margin-bottom: 0.5rem; }

/* ============================================================
   Stats strip
   ============================================================ */
.stats-strip { background: var(--color-green-deep); }
.stats-grid {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-offwhite);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) { .stat-value { font-size: 3rem; } }
.stat-label { margin-top: 0.5rem; font-size: 0.95rem; color: rgba(246,244,238,0.7); }

/* ============================================================
   Cards / Grids
   ============================================================ */
.grid-2 { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--color-green); }
.card-media { position: relative; height: 11rem; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card:hover .card-body h3 { color: var(--color-green); }
.card-body p { font-size: 0.9rem; color: rgba(23,27,25,0.65); line-height: 1.55; }
.card-link { display: inline-block; margin-top: 1rem; font-size: 0.9rem; font-weight: 700; color: var(--color-green); }

.media-box { position: relative; height: 18rem; overflow: hidden; }
@media (min-width: 768px) { .media-box { height: 26rem; } }
.media-box img { width: 100%; height: 100%; object-fit: cover; }

.bullet-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.bullet-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(23,27,25,0.7); }
.bullet-list .dot { width: 6px; height: 6px; background: var(--color-green); margin-top: 0.5rem; flex-shrink: 0; }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(23,27,25,0.7);
}
.sector-grid li { display: flex; align-items: center; gap: 0.5rem; }
.sector-grid .dot { width: 6px; height: 6px; background: var(--color-green); flex-shrink: 0; }

/* ============================================================
   Sections: paper bg, dark bg
   ============================================================ */
.bg-paper { background: var(--color-paper); }
.bg-dark { background: var(--color-charcoal); color: var(--color-offwhite); }
.bg-white { background: var(--color-white); }
.border-y { border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }

/* ---------- Certification badges ---------- */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 4rem;
}
.cert-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; width: 8rem; }
.cert-badge svg { width: 5rem; height: 5rem; }
.cert-badge .label { font-size: 0.85rem; font-weight: 700; line-height: 1.2; }
.cert-badge .sub { font-size: 0.75rem; color: rgba(23,27,25,0.6); line-height: 1.2; }

/* ---------- Testimonials ---------- */
.testimonial-note { font-size: 0.75rem; color: rgba(246,244,238,0.5); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 1rem; }
.testimonial {
  background: var(--color-offwhite);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 1.5rem;
  color: var(--color-charcoal);
  height: 100%;
  box-sizing: border-box;
}
.testimonial p.quote { font-size: 0.9rem; color: var(--color-charcoal); line-height: 1.6; }
.testimonial .stars { color: #f2b705; font-size: 0.9rem; letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.testimonial .avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.testimonial-meta { min-width: 0; }
.testimonial-meta .name { font-weight: 700; font-size: 0.9rem; color: var(--color-charcoal); }
.testimonial-meta .review-source {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(23,27,25,0.6);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}
.testimonial .google-g {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

/* ---------- Testimonial carousel ---------- */
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-track {
  /* Containing block for absolutely positioned descendants (.sr-only), so the
     overflow-x below actually clips them instead of letting them extend the page. */
  position: relative;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track .testimonial {
  scroll-snap-align: start;
  flex: 0 0 100%;
}
@media (min-width: 640px) {
  .testimonial-track { gap: 1.25rem; }
  .testimonial-track .testimonial { flex-basis: calc(50% - 0.625rem); }
}
@media (min-width: 1024px) {
  .testimonial-track .testimonial { flex-basis: calc(33.333% - 0.834rem); }
}
.carousel-arrow {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-charcoal-3);
  background: var(--color-charcoal-2);
  color: var(--color-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.carousel-arrow svg { width: 1.1rem; height: 1.1rem; }
.carousel-arrow:hover { background: var(--color-green); border-color: var(--color-green); }
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.carousel-arrow:disabled:hover { background: var(--color-charcoal-2); border-color: var(--color-charcoal-3); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--color-charcoal-3);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel-dot:hover { background: var(--color-green-light); }
.carousel-dot.is-active { background: var(--color-kraft); transform: scale(1.3); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--color-green); color: var(--color-offwhite); }
.cta-banner .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 768px) { .cta-banner .container { flex-direction: row; align-items: center; } }
.cta-banner p { margin-top: 0.5rem; color: rgba(246,244,238,0.85); }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 1rem; flex-shrink: 0; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero { background: var(--color-charcoal); color: var(--color-offwhite); }
.page-hero .container { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .page-hero .container { padding-top: 6rem; padding-bottom: 6rem; } }
.page-hero h1 { max-width: 45rem; }
.page-hero .text-lead { color: rgba(246,244,238,0.7); max-width: 40rem; margin-top: 1.25rem; }

/* ============================================================
   Team / History
   ============================================================ */
.team-grid { display: grid; gap: 3rem 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* Photo-top card: compact portrait headshot, then name / role / bio below */
.team-member {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 2px solid var(--color-green);
  overflow: hidden;
}
/* Centred 4:5 portrait, capped width so the block stays a headshot proportion
   rather than a tall full-bleed banner in the wide 2-up cards. */
.team-photo {
  width: 100%;
  max-width: 16rem;
  aspect-ratio: 4 / 5;
  margin: 1.75rem auto 0;
  overflow: hidden;
  background: var(--color-paper);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.team-photo--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem;
  color: rgba(23,27,25,0.45);
  border: 2px dashed var(--color-kraft);
}
.team-photo--empty svg { width: 2rem; height: 2rem; opacity: 0.6; }
.team-photo--empty span {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.team-body { padding: 1.5rem; }
.team-member h2 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 0.1rem; }
.team-member .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(23,27,25,0.55);
  margin-bottom: 0.85rem;
}
.team-member p.bio { font-size: 0.9rem; color: rgba(23,27,25,0.7); line-height: 1.6; }

.history-body { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.history-body p { color: rgba(23,27,25,0.75); line-height: 1.7; }

/* ---------- Note / callout ---------- */
.callout {
  border-left: 4px solid var(--color-kraft);
  background: var(--color-paper);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(23,27,25,0.85);
}

/* ============================================================
   Legal list
   ============================================================ */
.legal-list { border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); max-width: 46rem; margin: 0 auto; }
.legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid var(--color-line);
  transition: background-color 0.15s ease;
}
.legal-row:last-child { border-bottom: none; }
.legal-row:hover { background: rgba(238,234,224,0.6); color: var(--color-green); }
.legal-row .ext {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(23,27,25,0.5);
  border: 1px solid var(--color-line);
  padding: 0.1rem 0.5rem;
  margin-right: 0.75rem;
}
.legal-row .dl { font-size: 0.85rem; font-weight: 700; color: var(--color-green); }
.legal-row .right { display: flex; align-items: center; flex-shrink: 0; }

/* ============================================================
   News empty state
   ============================================================ */
.empty-state { text-align: center; max-width: 34rem; margin: 0 auto; padding: 3rem 0; }
.empty-state .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--color-green-pale);
  color: var(--color-green);
  margin-bottom: 1.5rem;
}
.empty-state h2 { margin-bottom: 0.75rem; }
.empty-state p { color: rgba(23,27,25,0.65); line-height: 1.6; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; gap: 4rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-block { margin-bottom: 2.5rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block .val { font-size: 1.05rem; font-weight: 700; }
.contact-block .val:hover { color: var(--color-green); }
address.val { font-weight: 500; font-size: 1rem; color: rgba(23,27,25,0.75); line-height: 1.6; }
.map-embed { height: 16rem; border: 1px solid var(--color-line); overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.contact-form-panel { background: var(--color-paper); padding: 2rem; }
@media (min-width: 768px) { .contact-form-panel { padding: 2.5rem; } }
.contact-form-panel h2 { margin-bottom: 1.5rem; }
.contact-form .row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-form .row-2 { grid-template-columns: 1fr 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--color-charcoal); color: var(--color-offwhite); }
.footer-grid {
  padding: 4rem 0;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-brand { grid-column: span 2; }
.footer-brand img { height: 40px; width: auto; background: var(--color-offwhite); border-radius: 4px; padding: 4px 8px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(246,244,238,0.7); max-width: 22rem; margin-bottom: 1.5rem; }
.footer-col p.heading { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.9rem; color: rgba(246,244,238,0.7); }
.footer-col a:hover { color: var(--color-green-light); }
.newsletter-label { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.newsletter-sub { font-size: 0.75rem; color: rgba(246,244,238,0.6); margin-bottom: 0.75rem; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 22rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1;
  min-width: 10rem;
  background: var(--color-charcoal-2);
  border: 1px solid var(--color-charcoal-3);
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--color-offwhite);
}
.newsletter-form input::placeholder { color: rgba(246,244,238,0.4); }
.newsletter-form button {
  background: var(--color-green);
  border: none;
  color: var(--color-offwhite);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}
.newsletter-form button:hover { background: var(--color-green-light); }

.footer-bottom { border-top: 1px solid var(--color-charcoal-3); }
.footer-bottom .container {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: rgba(246,244,238,0.6);
}
@media (min-width: 768px) { .footer-bottom .container { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom a:hover { color: var(--color-green-light); }
.footer-legal-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--color-charcoal);
  color: var(--color-offwhite);
  border-top: 1px solid var(--color-charcoal-3);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner .container { padding: 0.5rem 1.25rem; }
.cookie-main { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .cookie-main { flex-direction: row; align-items: center; gap: 2rem; } }
.cookie-main p { font-size: 0.9rem; color: rgba(246,244,238,0.8); flex: 1; }
.cookie-main p a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--color-charcoal-3);
  background: none;
  color: var(--color-offwhite);
}
.cookie-btn:hover { border-color: var(--color-green-light); }
.cookie-btn.primary { background: var(--color-green); border-color: var(--color-green); font-weight: 700; }
.cookie-btn.primary:hover { background: var(--color-green-light); }

.cookie-prefs { display: none; flex-direction: column; gap: 1.25rem; }
.cookie-prefs.is-visible { display: flex; }
.cookie-pref-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cookie-pref-row .name { font-size: 0.9rem; font-weight: 700; }
.cookie-pref-row .desc { font-size: 0.8rem; color: rgba(246,244,238,0.6); margin-top: 0.15rem; }
.cookie-pref-row.locked { border-bottom: 1px solid var(--color-charcoal-3); padding-bottom: 0.75rem; }
.cookie-pref-row .always-on { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(246,244,238,0.5); flex-shrink: 0; }

.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .track {
  position: absolute; inset: 0; background: var(--color-charcoal-3);
  border-radius: 999px; transition: background-color 0.15s ease; cursor: pointer;
}
.toggle .track::before {
  content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px;
  background: var(--color-offwhite); border-radius: 50%; transition: transform 0.15s ease;
}
.toggle input:checked + .track { background: var(--color-green); }
.toggle input:checked + .track::before { transform: translateX(20px); }

.cookie-prefs-actions { display: flex; justify-content: flex-end; gap: 0.75rem; }

/* ============================================================
   Misc placeholders / legal stub pages
   ============================================================ */
.placeholder-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(23,27,25,0.4);
}
.legal-stub-body { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; color: rgba(23,27,25,0.75); line-height: 1.7; }
.legal-stub-body h2 { margin-bottom: 0.4rem; }

/* ============================================================
   404
   ============================================================ */
.notfound { text-align: center; padding: 6rem 0; }
.notfound .code { font-family: var(--font-mono); font-size: 4rem; font-weight: 700; color: var(--color-green); }

/* ============================================================
   Service detail pages — expanded body content
   ============================================================ */
.service-body { max-width: 46rem; }
.service-body > * + * { margin-top: 1.15rem; }
.service-body h2 { margin-top: 3rem; }
.service-body > h2:first-child { margin-top: 0; }
.service-body h3 { margin-top: 1.75rem; margin-bottom: 0.4rem; }
.service-body p { color: rgba(23,27,25,0.75); line-height: 1.7; }
.service-body .bullet-list { margin-top: 1rem; }
.service-body .hero-ctas { margin-top: 2rem; }

.service-figure { margin: 0; }
.service-figure img { width: 100%; height: auto; }
.service-figure figcaption {
  font-size: 0.85rem;
  color: rgba(23,27,25,0.55);
  line-height: 1.5;
  margin-top: 0.65rem;
}

/* Marked placeholder where a real client photo still needs to be dropped in */
.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  min-height: 16rem;
  padding: 2.5rem 1.5rem;
  background: var(--color-paper);
  border: 2px dashed var(--color-kraft);
  color: rgba(23,27,25,0.6);
}
@media (min-width: 768px) { .image-placeholder { min-height: 22rem; } }
.image-placeholder svg { width: 40px; height: 40px; opacity: 0.5; }
.image-placeholder .ph-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.image-placeholder .ph-note { font-size: 0.9rem; max-width: 30rem; line-height: 1.55; }

/* ============================================================
   Service detail pages — structured layout components
   (page header, feature cards, process steps, FAQ accordion)
   ============================================================ */

/* ---------- Service page header ---------- */
.service-header { background: var(--color-charcoal); color: var(--color-offwhite); }
.service-header .container {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .service-header .container {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3.5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
.service-header h1 { max-width: 20ch; }
.service-header .text-lead { color: rgba(246,244,238,0.72); margin-top: 1.25rem; max-width: 40rem; }
.service-highlights { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.75rem; }
.service-highlights li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: rgba(246,244,238,0.9); }
.service-highlights svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; margin-top: 0.2rem; color: var(--color-kraft); }

.service-header-media { position: relative; align-self: stretch; }
.service-header-media img { width: 100%; height: 100%; min-height: 15rem; max-height: 30rem; object-fit: cover; display: block; }
.media-badge {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(23,27,25,0.82);
  color: var(--color-offwhite);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(246,244,238,0.16);
}
.media-badge svg { width: 0.95rem; height: 0.95rem; color: var(--color-kraft); flex-shrink: 0; }

/* ---------- Feature card grid ---------- */
.feature-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-green);
  padding: 1.5rem;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: rgba(23,27,25,0.7); line-height: 1.6; }

/* ---------- Numbered process ---------- */
.process-steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-step { padding: 1.5rem; background: var(--color-white); border: 1px solid var(--color-line); }
.process-step .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-green);
  color: var(--color-offwhite);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.process-step p { font-size: 0.85rem; color: rgba(23,27,25,0.65); line-height: 1.55; }

/* ---------- FAQ accordion (native <details>) ---------- */
.faq { max-width: 46rem; margin-top: 2rem; border-top: 1px solid var(--color-line); }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-green); }
.faq summary .faq-icon {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s ease;
}
.faq details[open] summary .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 0.25rem 1.4rem; }
.faq-a p { color: rgba(23,27,25,0.72); line-height: 1.7; font-size: 0.95rem; }
.faq-a p + p { margin-top: 0.9rem; }

/* ---------- CTA banner: heading + supporting line block ---------- */
.cta-banner h2 { color: var(--color-offwhite); }

/* ============================================================
   News — video cards + lightbox
   ============================================================ */
.video-card {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
.video-card .card-media { background: var(--color-charcoal); }
.video-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-badge span {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-offwhite);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.video-play-badge svg { width: 1.3rem; height: 1.3rem; margin-left: 2px; }
.video-card:hover .video-play-badge span,
.video-card:focus-visible .video-play-badge span {
  background: var(--color-green);
  color: var(--color-offwhite);
  transform: scale(1.08);
}

body.no-scroll { overflow: hidden; }

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 1.25rem;
}
.video-lightbox.is-open { display: flex; }
.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 27, 25, 0.85);
}
.video-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
}
.video-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-charcoal);
}
.video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-lightbox-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-charcoal-3);
  background: var(--color-charcoal-2);
  color: var(--color-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.video-lightbox-close:hover { background: var(--color-green); border-color: var(--color-green); }
.video-lightbox-close svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 640px) {
  .video-lightbox-close { top: -2.5rem; right: 0; width: 2.25rem; height: 2.25rem; }
}
.cta-banner .cta-copy { max-width: 34rem; }
