/*
 * 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: var(--wf-ink);
  border-bottom: 1px solid var(--wf-line-dark);
}
.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-bone);
  font-family: var(--wf-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.site-branding a:hover { color: var(--wf-bone); }
.site-branding .wf-mark {
  width: 32px;
  height: 32px;
  background: var(--wf-coral);
  border-radius: var(--wf-radius-sm);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--wf-font-mono);
  font-weight: 600;
  font-size: 0.875rem;
}

.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-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  transition: color 150ms ease;
}
.site-nav a:hover { color: var(--wf-coral); }
.site-nav li.current-menu-item > a,
.site-nav li.current-page-ancestor > a { color: var(--wf-coral); }

/* Submenu */
.site-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--wf-ink-2);
  padding: 0.5rem 0;
  min-width: 240px;
  border-radius: var(--wf-radius);
  border: 1px solid var(--wf-line-dark);
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 150ms ease;
  box-shadow: var(--wf-shadow-lg);
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav .sub-menu a { padding: 0.5rem 1rem; display: block; }
.site-nav .sub-menu li { width: 100%; }

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header-phone {
  color: var(--wf-text-dark);
  font-family: var(--wf-font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}
.site-header-phone:hover { color: var(--wf-coral); }

@media (min-width: 1280px) {
  .site-header-phone { display: inline-flex; align-items: center; gap: 0.375rem; }
}

.site-nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--wf-line-dark);
  color: var(--wf-bone);
  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: 480px) {
  .site-header-actions .wf-btn { display: none; }
  .site-branding a { font-size: 1.0625rem; gap: 0.5rem; }
  .site-branding .wf-mark { width: 28px; height: 28px; font-size: 0.8125rem; }
  .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);
  }
  .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;
  }
}

/* =========
 * 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);
}
.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 {
  aspect-ratio: 4 / 3;
  background: var(--wf-ink);
  border-radius: var(--wf-radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--wf-shadow-lg);
}
.wf-intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@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.625rem;
  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%);
  transition: all 200ms ease;
  max-width: 140px;
}
.wf-brand:hover {
  opacity: 1;
  filter: grayscale(0);
}
.wf-brand img { max-height: 56px; 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; }

/* 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;
}

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

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

/* =========
 * BLOG
 * ========= */
.wf-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.wf-post {
  background: var(--wf-bone);
  border: 1px solid var(--wf-line);
  border-radius: var(--wf-radius);
  overflow: hidden;
  transition: all 200ms ease;
}
.wf-post:hover { transform: translateY(-4px); box-shadow: var(--wf-shadow-md); }
.wf-post a { color: inherit; display: block; }
.wf-post-image {
  aspect-ratio: 16 / 9;
  background: var(--wf-ink-2);
  overflow: hidden;
}
.wf-post-image img { width: 100%; height: 100%; object-fit: cover; }
.wf-post-body { padding: 1.5rem; }
.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; }

/* =========
 * 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 {
  color: var(--wf-bone);
  font-family: var(--wf-font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.wf-footer-brand:hover { color: var(--wf-bone); }
.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; }
}
