/*
 * Webfu Theme — custom styles
 * Design tokens, global chrome, page templates
 * Hand-authored CSS (not Parcel-built) so the design can ship without touching the build pipeline.
 */

:root {
  --wf-ink: #0E0E12;
  --wf-ink-2: #1A1A22;
  --wf-ink-3: #2A2A33;
  --wf-bone: #F7F5F0;
  --wf-bone-2: #EFECE3;
  --wf-coral: #FF4F5E;
  --wf-coral-hover: #E0414F;
  --wf-coral-soft: rgba(255, 79, 94, 0.12);
  --wf-muted: #6B7280;
  --wf-muted-dark: #9CA3AF;
  --wf-line: #E5E2DA;
  --wf-line-dark: #2A2A33;
  --wf-text: #15151B;
  --wf-text-dark: #F1EFE9;

  --wf-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wf-font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --wf-font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --wf-radius: 12px;
  --wf-radius-sm: 6px;
  --wf-radius-pill: 999px;

  --wf-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --wf-shadow-md: 0 8px 24px rgba(14, 14, 18, 0.08);
  --wf-shadow-lg: 0 20px 60px rgba(14, 14, 18, 0.16);

  --wf-section-pad-y: clamp(3rem, 6vw, 6rem);
  --wf-container: 1200px;
  --wf-container-wide: 1320px;
}

/* =========
 * Base overrides
 * ========= */
html { scroll-behavior: smooth; }

body {
  font-family: var(--wf-font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--wf-text);
  background: var(--wf-bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--wf-font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--wf-text);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1em; }

a { color: var(--wf-coral); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--wf-coral-hover); }

img { max-width: 100%; height: auto; display: block; }

/* Utility container */
.wf-container {
  width: min(100% - 2rem, var(--wf-container));
  margin-inline: auto;
}
.wf-container-wide {
  width: min(100% - 2rem, var(--wf-container-wide));
  margin-inline: auto;
}

/* =========
 * Eyebrow / badge label
 * ========= */
.wf-eyebrow {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wf-coral);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.wf-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--wf-coral);
}

/* =========
 * Buttons
 * ========= */
.wf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--wf-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--wf-radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  line-height: 1;
}
.wf-btn-primary {
  background: var(--wf-coral);
  color: #fff;
  border-color: var(--wf-coral);
}
.wf-btn-primary:hover {
  background: var(--wf-coral-hover);
  border-color: var(--wf-coral-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 79, 94, 0.28);
}
.wf-btn-ghost {
  background: transparent;
  color: var(--wf-text);
  border-color: var(--wf-text);
}
.wf-btn-ghost:hover {
  background: var(--wf-text);
  color: var(--wf-bone);
}
.wf-btn-ghost-light {
  background: transparent;
  color: var(--wf-bone);
  border-color: rgba(255, 255, 255, 0.3);
}
.wf-btn-ghost-light:hover {
  background: var(--wf-bone);
  color: var(--wf-ink);
  border-color: var(--wf-bone);
}
.wf-btn-arrow::after {
  content: "→";
  transition: transform 150ms ease;
}
.wf-btn-arrow:hover::after {
  transform: translateX(4px);
}

/* =========
 * HEADER
 * ========= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f5f5f5;
  border-bottom: 1px solid var(--wf-line);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 2rem, var(--wf-container-wide));
  margin-inline: auto;
  padding: 1rem 0;
}
.site-branding a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--wf-text);
  font-family: var(--wf-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.site-branding a:hover { opacity: 0.85; }
.site-branding .site-logo {
  display: block;
  /* Air-light's front-end.css carries img[width][height] { height: auto }, which
   * outranks a class rule, so max-width is what actually sizes the wordmark.
   * 200px on a 348x67 file lands at 38.5px tall. */
  max-width: 200px;
  height: auto;
  width: auto;
  transition: opacity 150ms ease;
}
.site-branding a:hover .site-logo { opacity: 0.85; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.site-nav li { position: relative; }
.site-nav a {
  color: var(--wf-text);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  transition: color 150ms ease;
}
.site-nav a:hover { color: var(--wf-coral); }
/* Active state — use only the hyphen-form nav_menu classes. Air-light's
   base nav CSS targets these with a dark color suited for light headers,
   so we override to coral to stay visible on our dark header. Do NOT
   include `current_page_parent` (underscore): WP applies that to the
   posts-page menu item on every singular, which would wrongly light up
   "Blog" on CPT singles like /services-view/<slug>/. */
.site-nav li.current-menu-item > a,
.site-nav li.current-menu-parent > a,
.site-nav li.current-menu-ancestor > a { color: var(--wf-coral); }

/* Submenu */
/* Top-level links are block so the li box wraps their padding; otherwise the
   dropdown anchors above the visual bottom of the link and the pointer has a
   dead strip to cross on the way down. */
.site-nav > ul > li > a { display: block; }
.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -1rem;
  z-index: 120;
  /* Air-light's base ul rule adds a 1.6em top margin, which opened a ~26px
     dead zone under the parent link and closed the menu on the way down. */
  margin: 0;
  background: #ffffff;
  padding: 0.5rem 0;
  min-width: 240px;
  border-radius: var(--wf-radius);
  border: 1px solid var(--wf-line);
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 150ms ease;
  box-shadow: var(--wf-shadow-lg);
}
/* Invisible bridge across the 10px gap so the menu survives the trip down. */
.site-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Hold briefly on pointer-out so a clipped corner does not close it. */
.site-nav .sub-menu { transition-delay: 180ms; }
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { transition-delay: 0ms; }
.site-nav .sub-menu a { padding: 0.5rem 1rem; display: block; color: var(--wf-text); }
.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus { color: var(--wf-coral); background: var(--wf-bone); }
.site-nav .sub-menu li { width: 100%; }

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* The phone number sits in the mobile menu panel only. It is rendered inside
 * .site-nav, which is a flex row on desktop, so it has to be hidden outright
 * here or it lands beside the nav links. */
.site-nav-phone {
  display: none;
  color: var(--wf-bone);
  font-family: var(--wf-font-mono);
  font-size: 1.125rem;
  font-weight: 500;
}

.site-nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--wf-line);
  color: var(--wf-text);
  padding: 0.5rem;
  border-radius: var(--wf-radius-sm);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-nav-toggle { display: flex; }
  .site-header-inner { padding: 0.75rem 0; gap: 0.75rem; }
  .site-header-actions { gap: 0.5rem; }
  .site-header-actions .wf-btn { padding: 0.625rem 1rem; font-size: 0.8125rem; }

@media (max-width: 960px) {
  .site-nav.is-open {
    display: block;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--wf-ink);
    padding: 2rem;
    overflow-y: auto;
    z-index: 99;
  }
  .site-nav.is-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }
  .site-nav.is-open a {
    font-size: 1.25rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--wf-line-dark);
    /* The panel is ink; the desktop link color is near-black and vanishes. */
    color: var(--wf-bone);
  }
  .site-nav.is-open .sub-menu a {
    color: var(--wf-muted-dark);
    font-size: 1.0625rem;
  }
  .site-nav.is-open a:hover,
  .site-nav.is-open li.current-menu-item > a,
  .site-nav.is-open li.current-menu-parent > a,
  .site-nav.is-open li.current-menu-ancestor > a { color: var(--wf-coral); }
  .site-nav.is-open .site-nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 0;
  }
  .site-nav.is-open .site-nav-phone:hover { color: var(--wf-coral); }
  .site-nav.is-open .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    padding-left: 1rem;
    box-shadow: none;
    display: flex !important;
  }
}
}
@media (max-width: 480px) {
  .site-header-actions .wf-btn { display: none; }
  .site-branding a { font-size: 1.0625rem; gap: 0.5rem; }
  .site-branding .site-logo { max-width: 150px; }
}

/* =========
 * Legacy header preview (/?v=2) — dark header + old 2020 logo
 * ========= */
.legacy-header .site-header {
  background: var(--wf-ink);
  border-bottom-color: var(--wf-line-dark);
}
.legacy-header .site-branding a { color: var(--wf-bone); }
.legacy-header .site-nav a { color: var(--wf-text-dark); }
.legacy-header .site-nav-toggle {
  border-color: var(--wf-line-dark);
  color: var(--wf-bone);
}
.legacy-header .site-nav .sub-menu {
  background: var(--wf-ink-2);
  border-color: var(--wf-line-dark);
}

/* =========
 * SECTIONS — generic
 * ========= */
.wf-section {
  padding-block: var(--wf-section-pad-y);
}
.wf-section-dark {
  background: var(--wf-ink);
  color: var(--wf-text-dark);
}
.wf-section-dark h1, .wf-section-dark h2, .wf-section-dark h3 {
  color: var(--wf-bone);
}
.wf-section-bone {
  background: var(--wf-bone);
}
/* Receipts section while "Hide this section from visitors" is on: rendered
   only for logged-in editors, with a tag so nobody mistakes it for public. */
.wf-section-staff-only {
  outline: 2px dashed var(--wf-coral);
  outline-offset: -2px;
}
.wf-staff-only-tag {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--wf-coral);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
/* Applied to the first .wf-section after a .wf-hero-banner (see
   single-services.php). The hero already supplies visual separation, so the
   full --wf-section-pad-y reads as a gap rather than as breathing room. */
.wf-section-flush-top {
  padding-top: clamp(2.5rem, 4vw, 4rem);
}
.wf-section-bone-2 {
  background: var(--wf-bone-2);
}
.wf-section-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.wf-section-head h2 { margin-bottom: 0.75rem; }
.wf-section-head p { color: var(--wf-muted); font-size: 1.0625rem; }
.wf-section-dark .wf-section-head p { color: var(--wf-muted-dark); }

.wf-coral-word { color: var(--wf-coral); }

/* =========
 * HERO (homepage)
 * ========= */
.wf-hero {
  position: relative;
  min-height: 680px;
  background: var(--wf-ink);
  color: var(--wf-bone);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.wf-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.72;
  z-index: 0;
}
.wf-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(14, 14, 18, 0.95) 0%,
    rgba(14, 14, 18, 0.65) 40%,
    rgba(14, 14, 18, 0.3) 70%,
    rgba(14, 14, 18, 0.1) 100%);
}
.wf-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--wf-container-wide));
  margin-inline: auto;
  padding-block: 6rem;
}
.wf-hero-content { max-width: 680px; }
.wf-hero h1 {
  color: var(--wf-bone);
  font-weight: 800;
  margin-block: 1rem 1.5rem;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
}
.wf-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  color: var(--wf-muted-dark);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.wf-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 640px) {
  .wf-hero { min-height: 560px; }
  .wf-hero-bg { opacity: 0.45; background-position: center; }
  .wf-hero-inner { padding-block: 4rem; }
}

/* =========
 * INTRO TEASER
 * ========= */
.wf-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.wf-intro .wf-eyebrow { margin-bottom: 1rem; }
.wf-intro h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.wf-intro-body p { color: var(--wf-muted); font-size: 1.0625rem; }
.wf-intro-body .wf-btn { margin-top: 1.5rem; }
.wf-intro-visual {
  background: var(--wf-ink);
  color: var(--wf-bone);
  border-radius: var(--wf-radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--wf-shadow-lg);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 2rem;
  aspect-ratio: auto;
}

@media (max-width: 900px) {
  .wf-intro { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========
 * PILLARS (4-card row)
 * ========= */
.wf-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.wf-pillar {
  background: var(--wf-bone);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 2rem 1.75rem;
  transition: all 200ms ease;
}
.wf-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--wf-shadow-md);
  border-color: var(--wf-coral);
}
.wf-pillar-number {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  color: var(--wf-coral);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}
.wf-pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.wf-pillar p {
  font-size: 0.9375rem;
  color: var(--wf-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .wf-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .wf-pillars { grid-template-columns: 1fr; }
}

/* =========
 * SERVICES GRID
 * ========= */
.wf-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.wf-service {
  background: var(--wf-bone);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}
.wf-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wf-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}
.wf-service:hover {
  transform: translateY(-4px);
  box-shadow: var(--wf-shadow-md);
}
.wf-service:hover::before { transform: scaleX(1); }
.wf-service-icon {
  width: 48px;
  height: 48px;
  background: var(--wf-coral-soft);
  border-radius: var(--wf-radius-sm);
  display: grid;
  place-items: center;
  color: var(--wf-coral);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.wf-service-icon svg { width: 24px; height: 24px; }
.wf-service h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.wf-service p { color: var(--wf-muted); font-size: 0.9375rem; flex-grow: 1; margin-bottom: 1rem; }
.wf-service-link {
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--wf-coral);
}
.wf-service-link::after { content: "→"; transition: transform 150ms ease; }
.wf-service-link:hover::after { transform: translateX(4px); }

@media (max-width: 900px) { .wf-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wf-services { grid-template-columns: 1fr; } }

/* Featured service (AIO) treatment */
.wf-service-featured {
  background: linear-gradient(180deg, var(--wf-ink) 0%, var(--wf-ink-2) 100%);
  color: var(--wf-bone);
  border-color: var(--wf-ink-3);
}
.wf-service-featured h3 { color: var(--wf-bone); }
.wf-service-featured p { color: var(--wf-muted-dark); }
.wf-service-featured .wf-service-icon {
  background: var(--wf-coral);
  color: #fff;
}
.wf-service-featured-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--wf-coral);
  color: #fff;
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--wf-radius-sm);
}

/* =========
 * STATS
 * ========= */
.wf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.wf-stat-number {
  font-family: var(--wf-font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--wf-coral);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.wf-stat-label {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted-dark);
}
@media (max-width: 700px) {
  .wf-stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
}

/* =========
 * BRANDS (logo grid)
 * ========= */
.wf-brands {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  justify-items: center;
}
.wf-brand {
  opacity: 0.6;
  filter: grayscale(100%);
  /* Most client logos are JPEGs with a hard white background. Multiply blends
     that white into the bone section instead of leaving a white box. The blend
     has to sit on .wf-brand rather than the img: the opacity above creates an
     isolated stacking group, so a blend on the child has nothing to mix with. */
  mix-blend-mode: multiply;
  transition: all 200ms ease;
  /* Every client logo is uploaded at 145x111, so this cap is not what was
     shrinking them -- max-height on the img was. Kept, raised to 160px, only
     as a guard for any future logo wider than its tile. */
  max-width: 160px;
}
.wf-brand:hover {
  opacity: 1;
  filter: grayscale(0);
}
/* 90px of a 111px-tall source: bigger, still no upscaling. 111px is the
   ceiling before the logos start to soften. */
.wf-brand img { max-height: 90px; width: auto; }
@media (max-width: 900px) { .wf-brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .wf-brands { grid-template-columns: repeat(2, 1fr); } }

/* =========
 * CTA SECTION
 * ========= */
.wf-cta {
  text-align: center;
  padding: clamp(3rem, 5vw, 5rem) 2rem;
  background: var(--wf-ink);
  color: var(--wf-bone);
  border-radius: var(--wf-radius);
  position: relative;
  overflow: hidden;
}
.wf-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 79, 94, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.wf-cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.wf-cta h2 {
  color: var(--wf-bone);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}
.wf-cta p { color: var(--wf-muted-dark); margin-bottom: 2rem; }
.wf-cta-ctas { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Homepage CTA carries the contact form: pitch left, form right (Greg, 2026-09-06).
 * The form is the shared bone card from template-parts/contact-form.php, so
 * everything inside it resets off the ink block's light-on-dark colours. */
.wf-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  /* Top-aligned, not centred (Greg, 2026-09-06): the left column is shorter than
   * the form, and centring it left a block of dead space above the headline. */
  align-items: start;
  text-align: left;
}
.wf-cta-split .wf-cta-inner { max-width: none; margin: 0; }
/* Nothing follows the paragraph when the CTA buttons are off, so drop its gap. */
.wf-cta-split .wf-cta-inner > :last-child { margin-bottom: 0; }
.wf-cta-split .wf-cta-ctas { display: flex; justify-content: flex-start; }
.wf-cta-split .wf-contact-form {
  color: var(--wf-text);
  text-align: left;
  padding: 2rem;
}
.wf-cta-split .wf-contact-form .wf-form-heading {
  color: var(--wf-text);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.wf-cta-split .wf-contact-form p { color: var(--wf-muted); }
.wf-cta-split .wf-contact-form .wf-form-disclaimer { margin-bottom: 0; }
/* The form posts back to /#contact, so the anchor has to clear the sticky header. */
#contact { scroll-margin-top: 6rem; }
@media (max-width: 900px) {
  .wf-cta-split { grid-template-columns: 1fr; }
}

/* Full-bleed CTA (no bone background around) */
.wf-section-dark .wf-cta {
  background: transparent;
  padding-block: 0;
}

/* =========
 * PAGE HERO (not homepage — subpage banners)
 * ========= */
.wf-page-hero {
  background: var(--wf-ink);
  color: var(--wf-bone);
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
.wf-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255, 79, 94, 0.14) 0%, transparent 60%);
}
.wf-page-hero-inner { position: relative; max-width: 800px; }
.wf-page-hero h1 {
  color: var(--wf-bone);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-block: 1rem 1rem;
}
.wf-page-hero p {
  color: var(--wf-muted-dark);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  max-width: 640px;
}

/* Strategy call page */
.wf-strategy-hero { padding-block: clamp(4rem, 8vw, 6rem); }
.wf-strategy-hero-inner { max-width: 900px; }
.wf-strategy-hero-text h1 {
  color: var(--wf-bone);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.025em;
}
.wf-strategy-hero-text p {
  color: var(--wf-muted-dark);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 2rem;
}
.wf-strategy-hero .wf-hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.wf-strategy-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.875rem;
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted-dark);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247,245,240,0.1);
}
.wf-strategy-trust span:nth-child(even) { color: var(--wf-coral); opacity: 0.7; }

.wf-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.wf-check-card {
  background: var(--wf-bone);
  border: 1px solid rgba(14,14,18,0.08);
  border-radius: var(--wf-radius);
  padding: 1.5rem 1.5rem 1.625rem;
  position: relative;
  transition: transform 150ms, box-shadow 150ms;
}
.wf-check-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14,14,18,0.06);
}
.wf-check-card::before {
  content: "";
  width: 28px;
  height: 28px;
  background: var(--wf-coral);
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 0.875rem;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/60% no-repeat, var(--wf-coral);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/60% no-repeat;
}
.wf-check-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--wf-ink);
  letter-spacing: -0.01em;
}
.wf-check-card p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.wf-fit-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.wf-fit-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--wf-bone);
  border: 1px solid rgba(14,14,18,0.08);
  border-radius: var(--wf-radius-sm);
  padding: 1.125rem 1.25rem;
}
.wf-fit-list svg {
  width: 22px;
  height: 22px;
  color: var(--wf-coral);
  margin-top: 2px;
}
.wf-fit-list strong { color: var(--wf-ink); }
.wf-fit-list li > div {
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.wf-fit-list li > div strong { display: block; margin-bottom: 0.25rem; font-weight: 700; color: var(--wf-ink); }

.wf-strategy-form label {
  display: block;
  font-family: var(--wf-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wf-muted-dark);
  margin-bottom: 0.375rem;
}
.wf-strategy-form input,
.wf-strategy-form textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: rgba(247,245,240,0.05);
  border: 1px solid rgba(247,245,240,0.15);
  color: var(--wf-bone);
  border-radius: var(--wf-radius-sm);
  font-family: var(--wf-font-body);
  font-size: 0.9375rem;
  transition: border-color 150ms, background 150ms;
}
.wf-strategy-form textarea { min-height: 120px; resize: vertical; }
.wf-strategy-form input:focus,
.wf-strategy-form textarea:focus {
  outline: none;
  border-color: var(--wf-coral);
  background: rgba(247,245,240,0.08);
}
.wf-strategy-form input::placeholder,
.wf-strategy-form textarea::placeholder { color: rgba(247,245,240,0.4); }

@media (max-width: 640px) {
  .wf-strategy-trust { font-size: 0.6875rem; }
  .wf-strategy-trust span:nth-child(2),
  .wf-strategy-trust span:nth-child(4),
  .wf-strategy-trust span:nth-child(6) { display: none; }
}

/* =========
 * CONTENT / PROSE
 * ========= */
.wf-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--wf-text);
}
.wf-prose h2 { font-size: 1.875rem; margin-top: 2.5rem; }
/* A leading heading must not stack its own margin on top of the section
   padding. Without this the first h2 on a service page sat ~40px lower than
   intended and each page needed an inline negative margin to compensate. */
.wf-prose > :first-child { margin-top: 0; }
.wf-prose h3 { font-size: 1.375rem; margin-top: 2rem; }
.wf-prose ul, .wf-prose ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.wf-prose li { margin-bottom: 0.5rem; }
.wf-prose a { border-bottom: 1px solid currentColor; }
.wf-prose a:hover { border-color: transparent; }

/* Content ported from the old site writes its inline CTA as `<a class="btn">`.
   The theme has no `.btn` rule, so those rendered as bare underlined links on
   every service page. Map the class onto the primary button instead. */
.wf-prose a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--wf-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--wf-radius-pill);
  border: 1.5px solid var(--wf-coral);
  background: var(--wf-coral);
  color: #fff;
  text-decoration: none;
  line-height: 1;
  transition: all 150ms ease;
}
.wf-prose a.btn:hover {
  background: var(--wf-coral-hover);
  border-color: var(--wf-coral-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 79, 94, 0.28);
}

/* =========
 * SERVICE PAGE
 * ========= */
.wf-service-hero {
  background: var(--wf-ink);
  color: var(--wf-bone);
  padding-block: clamp(4rem, 7vw, 6rem);
}
.wf-service-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.wf-service-deliverables {
  background: var(--wf-bone);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.wf-service-deliverables h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.wf-service-deliverables ul { list-style: none; padding: 0; margin: 0; }
.wf-service-deliverables li {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--wf-line);
  font-size: 0.9375rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.wf-service-deliverables li::before {
  content: "✓";
  color: var(--wf-coral);
  font-weight: 700;
  flex-shrink: 0;
}
.wf-service-deliverables li:last-child { border-bottom: 0; }

@media (max-width: 960px) {
  .wf-service-body { grid-template-columns: 1fr; }
  .wf-service-deliverables { position: static; }
}

/* FAQ */
.wf-faq { max-width: 800px; margin: 0 auto; }
.wf-faq-item {
  border-bottom: 1px solid var(--wf-line);
  padding: 1.25rem 0;
}
.wf-faq-item summary {
  cursor: pointer;
  font-family: var(--wf-font-display);
  font-weight: 700;
  font-size: 1.125rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.wf-faq-item summary::-webkit-details-marker { display: none; }
.wf-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--wf-coral);
  font-size: 1.5rem;
  transition: transform 200ms ease;
}
.wf-faq-item[open] summary::after { content: "−"; }
.wf-faq-item-body {
  padding-top: 0.75rem;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* =========
 * CASE STUDIES
 * ========= */
.wf-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.wf-case {
  background: var(--wf-bone);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  overflow: hidden;
  transition: all 200ms ease;
  display: block;
  color: inherit;
}
.wf-case:hover {
  transform: translateY(-4px);
  box-shadow: var(--wf-shadow-md);
  color: inherit;
}
.wf-case-image {
  aspect-ratio: 16 / 10;
  background: var(--wf-ink-2);
  position: relative;
  overflow: hidden;
}
.wf-case-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 300ms ease;
}
.wf-case:hover .wf-case-image img { transform: scale(1.04); }
.wf-case-body { padding: 1.5rem; }
.wf-case-category {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-coral);
  margin-bottom: 0.5rem;
}
.wf-case h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.wf-case-excerpt { color: var(--wf-muted); font-size: 0.9375rem; }
.wf-case-stat {
  font-family: var(--wf-font-display);
  font-weight: 800;
  color: var(--wf-text);
  font-size: 1.125rem;
  margin-top: 0.75rem;
}
.wf-case-stat-label {
  font-size: 0.8125rem;
  color: var(--wf-muted);
  font-weight: 400;
  margin-left: 0.375rem;
}

@media (max-width: 900px) { .wf-case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wf-case-grid { grid-template-columns: 1fr; } }

/* =========
 * HERO BANNER (full-bleed image hero, used on About)
 * ========= */
.wf-hero-banner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: var(--wf-bone);
  overflow: hidden;
  isolation: isolate;
}
.wf-hero-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.wf-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,18,0.45) 0%, rgba(14,14,18,0.75) 55%, rgba(14,14,18,0.92) 100%);
  z-index: -1;
}
.wf-hero-banner-inner {
  width: 100%;
  padding: 7rem 0 4rem;
}
.wf-hero-banner h1 {
  color: var(--wf-bone);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1.25rem;
  max-width: 22ch;
}
.wf-hero-banner .wf-eyebrow {
  color: var(--wf-coral);
}
.wf-hero-banner-sub {
  color: var(--wf-muted-dark);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

/* =========
 * EDITORIAL SPLIT (image + panel side-by-side)
 * ========= */
.wf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.wf-split-reverse { direction: rtl; }
.wf-split-reverse > * { direction: ltr; }
.wf-split-media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-md);
}
.wf-split-body { display: flex; flex-direction: column; }
.wf-split-body h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1.5rem;
}
.wf-split-body .wf-prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--wf-text);
}
.wf-split-body .wf-prose p { margin: 0 0 1rem; }
.wf-split-body .wf-prose p:last-child { margin: 0; }

@media (max-width: 900px) {
  .wf-split { grid-template-columns: 1fr; gap: 2rem; }
  .wf-split-reverse { direction: ltr; }
  .wf-split-media { aspect-ratio: 16 / 10; }
}

/* =========
 * HOMEPAGE RECEIPTS (case study cards on dark bg)
 * ========= */
.wf-receipts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.wf-receipt {
  background: #16161c;
  border: 1px solid rgba(247, 245, 240, 0.08);
  border-radius: var(--wf-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--wf-bone);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.wf-receipt:hover {
  transform: translateY(-4px);
  border-color: var(--wf-coral);
  color: var(--wf-bone);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.wf-receipt-image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1f1f29 0%, #2a2a36 100%);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: var(--wf-bone);
  font-family: var(--wf-font-display);
  font-weight: 800;
  font-size: 1.125rem;
  text-align: center;
  padding: 1rem;
}
.wf-receipt-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wf-receipt-noimage {
  border-top: 3px solid var(--wf-coral);
}
.wf-receipt-noimage .wf-receipt-body { padding-top: 2rem; }
.wf-receipt-category {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-coral);
  margin-bottom: 0.5rem;
}
.wf-receipt h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--wf-bone);
  line-height: 1.25;
}
.wf-receipt-stat {
  color: var(--wf-muted-dark);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  flex: 1;
}
.wf-receipt-link {
  font-family: var(--wf-font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wf-coral);
  margin-top: auto;
}
.wf-receipts-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (max-width: 900px) { .wf-receipts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wf-receipts { grid-template-columns: 1fr; } }

/* =========
 * BLOG
 * ========= */
.wf-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-auto-rows: 1fr;
}
.wf-post {
  background: var(--wf-bone);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  overflow: hidden;
  transition: all 200ms ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Air-light's base CSS adds margin-top:5rem to article:first-of-type
     (meant for a single-post flow). Null it out inside the blog grid. */
  margin: 0 !important;
}
.wf-post:hover { transform: translateY(-4px); box-shadow: var(--wf-shadow-md); }
.wf-post a {
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wf-post-image {
  aspect-ratio: 16 / 9;
  background: var(--wf-ink-2);
  overflow: hidden;
  flex: none;
  position: relative;
}
/* Match Air-light's `img[width][height]{height:auto}` specificity so our
   crop-to-16:9 rule actually applies to WordPress images, which always
   ship with width+height attributes. */
.wf-post-image img,
.wf-post-image img[width][height] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wf-post-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wf-post-body .wf-post-excerpt { margin-top: auto; }
.wf-post-meta {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wf-coral);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.wf-post-meta time { color: var(--wf-muted); }
.wf-post h3 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.3; }
.wf-post-excerpt { color: var(--wf-muted); font-size: 0.9375rem; }

@media (max-width: 900px) { .wf-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wf-posts { grid-template-columns: 1fr; } }

/* Single post */
.wf-single-post {
  max-width: 780px;
  margin: 0 auto;
  padding-block: clamp(3rem, 5vw, 5rem);
}
.wf-single-post h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.wf-single-post .wf-post-meta { margin-bottom: 2rem; }
.wf-single-post-content { font-size: 1.125rem; line-height: 1.7; }
.wf-single-post-content h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.wf-single-post-content h3 { font-size: 1.375rem; margin-top: 2rem; }
.wf-single-post-content p { margin-bottom: 1.25rem; }
.wf-single-post-content img { border-radius: var(--wf-radius); margin: 1.5rem 0; }
.wf-post-readtime { color: var(--wf-muted); }
.wf-post-figure { margin: 2rem 0; border-radius: var(--wf-radius); overflow: hidden; }
.wf-post-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wf-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wf-post-nav-link { font-weight: 600; }
.wf-post-nav-next { margin-left: auto; }

/* =========
 * CONTACT
 * ========= */
.wf-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}
.wf-contact-form {
  background: var(--wf-bone);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 2.5rem;
}
.wf-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}
.wf-contact-form input,
.wf-contact-form textarea,
.wf-contact-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--wf-line);
  border-radius: var(--wf-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--wf-bone);
  transition: border-color 150ms ease;
}
.wf-contact-form input:focus,
.wf-contact-form textarea:focus,
.wf-contact-form select:focus {
  border-color: var(--wf-coral);
  outline: 2px solid var(--wf-coral-soft);
  outline-offset: 0;
}
.wf-contact-form textarea { min-height: 140px; resize: vertical; }
.wf-form-row { margin-bottom: 1.25rem; }
.wf-form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 520px) { .wf-form-row-split { grid-template-columns: 1fr; } }

.wf-contact-sidebar h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.wf-contact-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--wf-line);
}
.wf-contact-item:last-child { border-bottom: 0; }
.wf-contact-item-label {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-coral);
  margin-bottom: 0.25rem;
}
.wf-contact-item-value {
  font-family: var(--wf-font-display);
  font-weight: 700;
  font-size: 1.125rem;
}
.wf-contact-item a { color: var(--wf-text); }
.wf-contact-item a:hover { color: var(--wf-coral); }

@media (max-width: 900px) { .wf-contact-grid { grid-template-columns: 1fr; } }

/* Contact form success/error */
.wf-form-notice {
  padding: 1rem 1.25rem;
  border-radius: var(--wf-radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.wf-form-notice-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
}
.wf-form-notice-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

/* =========
 * FOOTER
 * ========= */
.site-footer {
  background: var(--wf-ink);
  color: var(--wf-text-dark);
  padding-block: 4rem 2rem;
  margin-top: 0;
}
.site-footer .container {
  width: min(100% - 2rem, var(--wf-container-wide));
  margin-inline: auto;
  padding: 0;
}
.wf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--wf-line-dark);
}
.wf-footer-col h4 {
  color: var(--wf-bone);
  font-size: 0.875rem;
  font-family: var(--wf-font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.wf-footer-col ul { list-style: none; padding: 0; margin: 0; }
.wf-footer-col li { margin-bottom: 0.75rem; }
.wf-footer-col a {
  color: var(--wf-muted-dark);
  font-size: 0.9375rem;
  transition: color 150ms ease;
}
.wf-footer-col a:hover { color: var(--wf-coral); }
.wf-footer-about p {
  color: var(--wf-muted-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.wf-footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.25rem;
  transition: opacity 150ms ease;
}
.wf-footer-brand:hover { opacity: 0.85; }
.wf-footer-logo {
  display: block;
  /* Sized by max-width, not height — see .site-branding .site-logo. */
  max-width: 200px;
  height: auto;
  width: auto;
  /* Wordmark is dark-on-transparent; invert flips it light to match the ink footer. */
  filter: invert(1);
}
.wf-footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.wf-footer-social {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--wf-line-dark);
  display: grid;
  place-items: center;
  color: var(--wf-muted-dark);
  transition: all 150ms ease;
}
.wf-footer-social:hover {
  background: var(--wf-coral);
  border-color: var(--wf-coral);
  color: #fff;
}
.wf-footer-social svg { width: 18px; height: 18px; }
.wf-footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--wf-muted-dark);
}
.wf-footer-bottom a { color: var(--wf-muted-dark); }
.wf-footer-bottom a:hover { color: var(--wf-coral); }

@media (max-width: 900px) {
  .wf-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 520px) {
  .wf-footer-grid { grid-template-columns: 1fr; }
}

/* Hide default Air-light footer helper */
.site-info, .theme-info { display: none !important; }
.top { display: none !important; }

/* =========
 * UTILITY
 * ========= */
.wf-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;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========
 * SERVICES HUB — editorial content sections (rendered from post_content)
 * Markup lives in the page's Classic Editor content; these classes style it.
 * ========= */
.wf-hero-banner { background-color: var(--wf-ink); }

.wf-services-content > h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wf-line);
}
.wf-services-content > h2:not(:first-child) { margin-top: clamp(3.5rem, 6vw, 5.5rem); }

/* Numbered service list */
.wf-svc-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--wf-line);
  border: 1px solid var(--wf-line);
}
.wf-svc-num {
  background: var(--wf-bone);
  padding: 2.25rem 1.75rem;
  transition: background 0.2s ease;
}
.wf-svc-num:hover { background: #fff; }
.wf-svc-num h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
/* Headings here are plain text; the cross-link is a .wf-mod-more under the
   copy (Dan's no-heading-links rule). Hover still colours the heading so the
   card keeps its affordance. */
.wf-svc-num:hover h3 { color: var(--wf-coral); }
.wf-svc-num p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Specialized service feature cards */
.wf-svc-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.wf-svc-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wf-svc-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--wf-shadow-md);
  border-color: #D8D4C9;
}
.wf-svc-feature-media {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--wf-ink-2);
}
.wf-svc-feature-body { padding: 1.75rem 1.75rem 2rem; }
.wf-svc-feature-body h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.875rem;
}
.wf-svc-feature-body p {
  margin: 0 0 1.25rem;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.wf-svc-feature-link {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-coral);
}
.wf-svc-feature:hover .wf-svc-feature-link { text-decoration: underline; }

/* Services extended panel */
.wf-svc-extended {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  background: var(--wf-ink);
  color: var(--wf-text-dark);
  border-radius: var(--wf-radius);
  padding: clamp(2rem, 4vw, 3rem);
}
.wf-svc-extended-lede {
  font-family: var(--wf-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  color: var(--wf-bone);
}
.wf-svc-extended p { color: var(--wf-muted-dark); margin: 0; }
.wf-svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--wf-line-dark);
}
.wf-svc-list li { border-bottom: 1px solid var(--wf-line-dark); }
.wf-svc-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  color: var(--wf-bone);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.wf-svc-list a::after { content: "\2192"; color: var(--wf-coral); opacity: 0; transition: opacity 0.18s ease; }
.wf-svc-list a:hover { color: var(--wf-coral); padding-left: 0.5rem; }
.wf-svc-list a:hover::after { opacity: 1; }

@media (max-width: 1000px) {
  .wf-svc-numbers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .wf-svc-extended { grid-template-columns: 1fr; }
  .wf-svc-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wf-svc-numbers { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service page content modules (.wf-mod-*)
   --------------------------------------------------------------------------
   These render from post_content on single-services.php. Prose stays at a
   readable 780px measure; modules break out to the full 1100px column so a
   service page reads as sections rather than one long text wall.
   Icons come from inc/hooks/icons.php (Lucide) via a data-icon placeholder.
   ========================================================================== */

.wf-svc-article.wf-prose { max-width: 100%; }

.wf-svc-article > * {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.wf-svc-article > .wf-mod,
.wf-svc-article > .wf-mod-cards,
.wf-svc-article > .wf-mod-steps,
.wf-svc-article > .wf-mod-flow,
.wf-svc-article > .wf-mod-badges,
.wf-svc-article > .wf-mod-band,
.wf-svc-article > .wf-mod-figure,
.wf-svc-article > .wf-mod-checks {
  max-width: 100%;
}

/* Shared icon chip ------------------------------------------------------- */
.wf-mod-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: var(--wf-radius-sm);
  background: var(--wf-coral-soft);
  color: var(--wf-coral);
  margin-bottom: 1rem;
}

.wf-mod-icon .wf-lucide { width: 22px; height: 22px; }

/* Read-more link — the one link affordance used inside module copy.
   Headings stay plain text; cross-links live here so a list of sections
   does not render as a mix of coloured and black headings. */
.wf-mod-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  font-family: var(--wf-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--wf-coral);
  text-decoration: none;
  border-bottom: 0 !important;
}

.wf-mod-more::after {
  content: "\2192";
  transition: transform 150ms ease;
}

.wf-mod-more:hover { color: var(--wf-coral-hover); }
.wf-mod-more:hover::after { transform: translateX(4px); }

/* 1. Card grid ----------------------------------------------------------- */
.wf-mod-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.wf-mod-card {
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.wf-mod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wf-shadow-md);
  border-color: rgba(255, 79, 94, 0.35);
}

.wf-mod-card h3 {
  font-family: var(--wf-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--wf-ink);
}

.wf-mod-card p {
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.wf-mod-card .wf-mod-more { margin-top: auto; padding-top: 0.875rem; }

.wf-mod-cards-3 { grid-template-columns: repeat(3, 1fr); }

/* 2. Numbered process steps ---------------------------------------------- */
.wf-mod-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: wf-mod-step;
}

.wf-mod-step {
  position: relative;
  padding-top: 2.25rem;
  border-top: 2px solid var(--wf-line);
}

.wf-mod-step::before {
  counter-increment: wf-mod-step;
  content: counter(wf-mod-step, decimal-leading-zero);
  position: absolute;
  top: -0.85rem;
  left: 0;
  background: var(--wf-bone);
  padding-right: 0.75rem;
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--wf-coral);
}

.wf-mod-step h3 {
  font-family: var(--wf-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--wf-ink);
}

.wf-mod-step p {
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.wf-section-bone-2 .wf-mod-step::before { background: var(--wf-bone-2); }

/* 3. Horizontal icon flow ------------------------------------------------ */
.wf-mod-flow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: start;
  gap: 0.5rem;
  margin: 2rem 0 2.5rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
}

.wf-mod-flow-node {
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
}

.wf-mod-flow-node .wf-mod-icon { margin: 0 auto 0.75rem; }

.wf-mod-flow-node strong {
  display: block;
  font-family: var(--wf-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wf-ink);
  margin-bottom: 0.25rem;
}

.wf-mod-flow-node > span:not(.wf-mod-icon) {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--wf-muted);
}

.wf-mod-flow-node + .wf-mod-flow-node::before {
  content: "\2192";
  position: absolute;
  left: -0.75rem;
  top: 0.75rem;
  color: var(--wf-coral);
  opacity: 0.7;
  font-size: 1.375rem;
  line-height: 1;
}

/* 4. Platform / capability badges ---------------------------------------- */
.wf-mod-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1.75rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.wf-mod-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius-pill);
  font-family: var(--wf-font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wf-text);
}

.wf-mod-badge .wf-mod-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  background: none;
}

.wf-mod-badge .wf-lucide { width: 16px; height: 16px; }

/* 5. Ink callout band ---------------------------------------------------- */
.wf-mod-band {
  position: relative;
  overflow: hidden;
  margin: 2.5rem 0;
  padding: 2.25rem 2.25rem 2rem;
  background: var(--wf-ink);
  border-radius: var(--wf-radius);
  color: var(--wf-text-dark);
}

.wf-mod-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(255, 79, 94, 0.22), transparent 55%);
  pointer-events: none;
}

.wf-mod-band > * { position: relative; }

.wf-mod-band .wf-eyebrow { margin-bottom: 0.75rem; }

.wf-mod-band h3 {
  font-family: var(--wf-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--wf-bone);
  margin: 0 0 0.75rem;
}

.wf-mod-band p {
  color: var(--wf-muted-dark);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.wf-mod-band p:last-child { margin-bottom: 0; }
.wf-mod-band a { color: var(--wf-coral); border-bottom: 1px solid currentColor; }
.wf-mod-band a:hover { border-color: transparent; }

/* 6. Diagram / chart figure ---------------------------------------------- */
.wf-mod-figure {
  margin: 2.5rem 0;
  padding: 1.75rem 1.75rem 1.25rem;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
}

.wf-mod-figure svg { display: block; width: 100%; height: auto; }

.wf-mod-figure figcaption {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--wf-line);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--wf-muted);
}

/* 7. Two-column check list ----------------------------------------------- */
.wf-mod-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  margin: 1.75rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.wf-mod-checks li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--wf-text);
  margin: 0;
}

.wf-mod-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--wf-coral);
  border-bottom: 2px solid var(--wf-coral);
  transform: rotate(-45deg);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .wf-mod-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
  .wf-mod-cards-3 { grid-template-columns: repeat(2, 1fr); }
  .wf-mod-flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 1.5rem; }
  .wf-mod-flow-node { text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 0 1rem; }
  .wf-mod-flow-node .wf-mod-icon { margin: 0; grid-row: span 2; }
  .wf-mod-flow-node + .wf-mod-flow-node::before {
    content: "";
    left: 21px;
    top: -1.25rem;
    height: 1.25rem;
    border-left: 2px dotted var(--wf-coral);
    opacity: 0.45;
  }
}

@media (max-width: 640px) {
  .wf-mod-cards,
  .wf-mod-cards-3,
  .wf-mod-steps,
  .wf-mod-checks { grid-template-columns: 1fr; }
  .wf-mod-band { padding: 1.75rem 1.25rem 1.5rem; }
  .wf-mod-figure { padding: 1.25rem 1rem 1rem; }
}

/* Sticky header fix (2026-09-04). Air-light's front-end.css sets `.site { overflow: hidden }`,
   which makes the wrapper the sticky header's scroll container, so the header scrolled away
   on every page that had no full-height first section. `clip` clips without creating a
   scroll container, so position: sticky on .site-header works everywhere. */
.site { overflow: clip; }

/* Reviewer headshots on /reviews/ (2026-09-04) */
.wf-review-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 0 1rem;
  border: 2px solid var(--wf-line);
}


/* Utility classes replacing inline style= attributes (2026-09-04, QA sweep).
   Same declarations as the inline versions they replaced, no visual change. */
.wf-honeypot { position: absolute; left: -9999px; }
.wf-required { color: var(--wf-coral); }
.wf-eyebrow-coral {
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wf-coral);
  margin-bottom: 1rem;
}
.wf-eyebrow-coral-tight { letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.wf-metric-huge {
  font-family: var(--wf-font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--wf-coral);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.wf-service-featured .wf-service-link { color: var(--wf-coral); }

/* Front page: same declarations the inline style= attributes carried, moved
   into classes (2026-09-04). No visual change; verified against computed
   styles before and after. */
.wf-metric-huge-bone {
  font-family: var(--wf-font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--wf-bone);
  letter-spacing: -0.04em;
}
.wf-intro-metric-caption {
  color: var(--wf-muted-dark);
  font-size: 0.9375rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.wf-brand-fallback {
  font-family: var(--wf-font-display);
  font-weight: 700;
  font-size: 1.125rem;
}
.wf-eyebrow-gap { margin-bottom: 1rem; }

/* =========
   Inline-style replacements (2026-09-05)

   The QA sweep flagged inline style= attributes on 64 URLs. All of them came
   from the templates rather than from post_content, and every declaration below
   is a verbatim copy of the attribute it replaces -- computed styles were
   captured on nine URLs at 1440 and 375 before and after, and the diff is empty.
   Do not "tidy" the values: they are a record of what shipped, not a design
   decision. The one inline style deliberately left in place is
   .wf-hero-banner-bg's background-image, which is per-page data.
   ========= */

/* Container measures. Numeric names on purpose: these are the exact widths the
   templates carried, and a semantic name would imply a system that is not there. */
.wf-container-640 { max-width: 640px; }
.wf-container-720 { max-width: 720px; }
.wf-container-760 { max-width: 760px; }
.wf-container-820 { max-width: 820px; }
.wf-container-960 { max-width: 960px; }
.wf-container-1100 { max-width: 1100px; }

/* Full-width buttons inside forms and narrow cards. */
.wf-btn-block {
  width: 100%;
  justify-content: center;
}
.wf-btn-block-lg {
  padding: 1.125rem 1.5rem;
  font-size: 1rem;
}
.wf-btn-stacked { margin-bottom: 0.5rem; }

/* Form chrome shared by template-parts/contact-form.php and the strategy-call page. */
.wf-form-heading { margin-bottom: 1.5rem; }
.wf-form-subhead {
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  color: var(--wf-muted);
}
.wf-form-disclaimer {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--wf-muted);
  text-align: center;
}
/* Same block on an ink background, where --wf-muted has too little contrast. */
.wf-form-disclaimer-light { color: var(--wf-muted-dark); }

/* Contact page sidebar. */
.wf-contact-sidebar-heading { margin-bottom: 1.25rem; }
.wf-contact-detail {
  margin-top: 0.375rem;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.wf-contact-hours {
  color: var(--wf-text);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.wf-contact-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--wf-ink);
  color: var(--wf-bone);
  border-radius: var(--wf-radius);
}
.wf-contact-card-heading {
  font-family: var(--wf-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.wf-contact-card-body {
  color: var(--wf-muted-dark);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* Footer contact column. Scoped under .wf-footer-col because the generic
   `.wf-footer-col a` rule above is 0,2,0 and would otherwise win: the inline
   style this replaces beat it on specificity, a bare class does not. */
.wf-footer-col a.wf-footer-phone {
  color: var(--wf-bone);
  font-weight: 600;
  font-size: 1.0625rem;
}
.wf-footer-office {
  color: var(--wf-muted-dark);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.wf-footer-office-spaced { margin-top: 1rem; }
/* A class on the element rather than a `.wf-footer-office strong` descendant
   rule: the inline style it replaces always won, and a descendant selector
   would not. */
.wf-footer-office-label {
  color: var(--wf-bone);
  display: block;
  margin-bottom: 0.25rem;
}

/* Blog index. */
.wf-post-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--wf-muted-dark);
  font-family: var(--wf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wf-pagination-wrap {
  margin-top: 3rem;
  text-align: center;
}
.wf-text-center { text-align: center; }

/* Service page CTA eyebrow. */
.wf-eyebrow-spaced { margin-bottom: 1rem; }

/* Case-study archive tile. The cover/center pair moved off the inline style so
   only the per-post image URL stays inline; the no-thumbnail branch is a class. */
.wf-case-image {
  background-size: cover;
  background-position: center;
}
.wf-case-image-placeholder {
  background: linear-gradient(135deg, var(--wf-ink) 0%, #1a1a22 100%);
  display: grid;
  place-items: center;
  color: var(--wf-bone);
  font-family: var(--wf-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-align: center;
  padding: 1rem;
}

/* =========
 * LOCATION PAGES (page-location.php)
 *
 * Composed from the existing section, container and button primitives, so a
 * city page reads as part of the site rather than as a landing page bolted on.
 * Only the pieces with no existing equivalent are defined here: the office
 * card, the stat band, the differentiator pair, the fact rail, the data table
 * and the service-area chips.
 * ========= */

/* Pin glyph sitting inside the hero eyebrow. */
.wf-loc-pin {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.45em;
  vertical-align: -0.05em;
}
.wf-loc-pin svg { width: 100%; height: 100%; }

/* --- Office card --------------------------------------------------------- */
.wf-loc-office {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-md);
  overflow: hidden;
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}
.wf-loc-office-body { padding: clamp(1.75rem, 3vw, 2.75rem); }
.wf-loc-address {
  font-family: var(--wf-font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  color: var(--wf-ink);
  margin: 0.35rem 0 0.75rem;
}
.wf-loc-orientation {
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 42ch;
}
.wf-loc-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wf-line);
}
.wf-loc-contact dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted);
  margin-bottom: 0.35rem;
}
.wf-loc-contact dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--wf-text);
}
.wf-loc-contact dd a { color: var(--wf-ink); text-decoration: none; border-bottom: 1px solid var(--wf-coral); }
.wf-loc-contact dd a:hover { color: var(--wf-coral); }

.wf-loc-map { min-height: 320px; background: var(--wf-bone-2); }
.wf-loc-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* --- Stat band ----------------------------------------------------------- */
.wf-loc-stats-section { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.wf-loc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.wf-loc-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
  border-left: 1px solid var(--wf-line-dark);
}
.wf-loc-stat:first-child { border-left: 0; }
.wf-loc-stat-number {
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--wf-coral);
  letter-spacing: -0.02em;
}
.wf-loc-stat-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--wf-text-dark);
  max-width: 26ch;
  margin: 0 auto;
}
.wf-loc-stats-caption {
  margin: 2rem auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--wf-muted-dark);
}

/* --- Differentiator pair -------------------------------------------------- */
.wf-loc-diffs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.wf-loc-diff {
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.wf-loc-diff-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--wf-radius-sm);
  background: var(--wf-coral-soft);
  color: var(--wf-coral);
  margin-bottom: 1.25rem;
}
.wf-loc-diff-icon svg { width: 22px; height: 22px; }
.wf-loc-diff h3 {
  font-size: 1.1875rem;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.wf-loc-diff p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Spotlight ------------------------------------------------------------ */
.wf-loc-spotlight h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0.5rem 0 1.5rem;
  line-height: 1.2;
}
.wf-loc-spotlight-more { margin-top: 2rem; }

/* --- Local context and fact rail ------------------------------------------ */
.wf-loc-local {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.wf-loc-local h2 { margin-top: 0; }
.wf-loc-facts {
  background: var(--wf-ink);
  border-radius: var(--wf-radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  position: sticky;
  top: 6rem;
}
.wf-loc-fact { padding: 1rem 0; border-bottom: 1px solid var(--wf-line-dark); }
.wf-loc-fact:first-child { padding-top: 0; }
.wf-loc-fact:last-child { padding-bottom: 0; border-bottom: 0; }
.wf-loc-fact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-muted-dark);
  margin-bottom: 0.35rem;
}
.wf-loc-fact-value {
  display: block;
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--wf-bone);
}

/* --- Data table ----------------------------------------------------------- */
.wf-loc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  background: #fff;
}
.wf-loc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 640px;
}
.wf-loc-table-4 { min-width: 820px; }
.wf-loc-table thead th {
  background: var(--wf-ink);
  color: var(--wf-bone);
  text-align: left;
  font-family: var(--wf-font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  white-space: nowrap;
}
.wf-loc-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--wf-ink);
  width: 28%;
}
.wf-loc-table tbody th,
.wf-loc-table tbody td {
  padding: 1.125rem 1.25rem;
  border-top: 1px solid var(--wf-line);
  vertical-align: top;
  line-height: 1.6;
  color: var(--wf-text);
}
.wf-loc-table tbody td { color: var(--wf-muted); }
.wf-loc-table tbody tr:nth-child(even) { background: var(--wf-bone); }
.wf-loc-table-note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--wf-muted);
  max-width: 70ch;
}

/* --- Service area chips --------------------------------------------------- */
.wf-loc-area-intro {
  color: var(--wf-muted);
  max-width: 60ch;
  margin: 0.75rem auto 2rem;
}
.wf-loc-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}
.wf-loc-chips li {
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius-pill);
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wf-ink);
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .wf-loc-office { grid-template-columns: 1fr; margin-top: -2rem; }
  .wf-loc-map { order: -1; min-height: 240px; }
  .wf-loc-map iframe { min-height: 240px; }
  .wf-loc-diffs { grid-template-columns: 1fr; }
  .wf-loc-local { grid-template-columns: 1fr; }
  .wf-loc-facts { position: static; }
}

@media (max-width: 640px) {
  .wf-loc-stat { border-left: 0; padding: 0; }
  .wf-loc-stats { gap: 2rem; }
}

/* Coverage card: the office card's counterpart for a city Webfu serves but has
   no address in. Deliberately lighter than .wf-loc-office, because it is not
   claiming a place. */
.wf-loc-coverage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  box-shadow: var(--wf-shadow-md);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}
.wf-loc-coverage h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.875rem);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.25;
}
.wf-loc-coverage-body p {
  color: var(--wf-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 58ch;
}
.wf-loc-coverage-contact {
  border-left: 1px solid var(--wf-line);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.wf-loc-contact-row a,
.wf-loc-contact-row span:not(.wf-loc-fact-label) {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--wf-text);
}
.wf-loc-contact-row a { color: var(--wf-ink); text-decoration: none; border-bottom: 1px solid var(--wf-coral); }
.wf-loc-contact-row a:hover { color: var(--wf-coral); }

/* Numbered process: the format element's second shape, so a city page can
   rotate away from a table without inventing new markup. */
.wf-loc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.wf-loc-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--wf-line);
}
.wf-loc-step:first-child { border-top: 0; padding-top: 0; }
.wf-loc-step-num {
  font-family: var(--wf-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wf-coral);
  padding-top: 0.2rem;
  letter-spacing: 0.04em;
}
.wf-loc-step-body h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.wf-loc-step-body p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .wf-loc-coverage { grid-template-columns: 1fr; margin-top: -2rem; }
  .wf-loc-coverage-contact {
    border-left: 0;
    border-top: 1px solid var(--wf-line);
    padding-left: 0;
    padding-top: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* Checklist: the format element's third shape. Two columns on desktop so it
   reads as a scannable list rather than a long single file. */
.wf-loc-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.wf-loc-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  padding: 1.4rem;
}
.wf-loc-check-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wf-coral-soft);
  color: var(--wf-coral);
  flex-shrink: 0;
}
.wf-loc-check-mark svg { width: 16px; height: 16px; }
.wf-loc-check h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.wf-loc-check p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .wf-loc-checks { grid-template-columns: 1fr; }
}
