/*
Theme Name: Wajiha Ajmal Studio
Theme URI: https://wajihaajmal.com
Author: Grovers AI
Author URI: https://grovers.io
Description: Custom theme for Wajiha Ajmal — brand & product design studio with a design-education library. Built from the approved design canvas (gushwork.ai-matched visual system).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wajiha-ajmal
*/

/* ==========================================================================
   0. RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --ink stays the darkest warm-black in the system — used for the
     deliberately-darker bands (footer, newsletter, dark pills) and for text
     sitting on white/light chips (buttons, eyebrows) — never changes value. */
  --ink: #15110E;
  --ink-soft: #2b2420;     /* dark body text — used inside light cards */
  /* --heading / --muted / --line are page-level tokens: light by default
     (the page itself is dark), but every light "card" surface below
     (.card-flat, .blog-card, image placeholders...)
     re-declares them back to their original dark-on-light values so
     nothing inside a light card goes invisible. */
  --heading: #F3ECE0;      /* primary heading/emphasis text on the dark page */
  --muted: #B7AC9C;        /* secondary text on the dark page */
  --line: #3A322B;         /* hairline borders on the dark page */
  --surface: #F3ECE0;      /* flat card / placeholder background — always light */
  --white: #ffffff;
  --accent: #E4552F;       /* primary — warm coral-red, brightened for the dark canvas */
  --accent-dark: #C2441F;
  --accent-tint: #FBE3DC;  /* light accent wash — eyebrow dots, icon chips */
  --paper: #221D18;        /* the page background itself — a little dark, not stark black */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--heading);
}

/* Light "card" surfaces keep looking like the original light theme
   regardless of the dark page around them — re-anchor the page-level
   tokens back to their light-on-dark-card values for anything nested
   inside one of these. */
.card-flat, .blog-card, .story__browser,
.blog-card__img, .distinction__quote, .workflow-sources > details {
  --heading: #191410;
  --muted: #7c7267;
  --line: #e9e1d4;
}
.card-flat, .blog-card { color: var(--ink-soft); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 44px;
}

.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.dots-bg {
  background-image: radial-gradient(rgba(243,236,224,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ==========================================================================
   2. BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; border: 1.5px solid #dcdce0; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-dark { background: transparent; border: 1.5px solid #3a3a3f; color: #fff; }

/* Generic small accent link — was previously only ever defined scoped
   under a specific parent (.level-hero__ctas a.text-link etc.); this is
   the reusable base every one of those already matched visually. */
.text-link { font-size: 13.5px; font-weight: 700; color: var(--accent); }
.text-link:hover { color: var(--accent-dark); }

.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;
}

.btn-dark-pill {
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(243,236,224,0.14);
  border-radius: 999px;
  padding: 10px 20px 10px 17px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.avatars { display: flex; }
.avatars > span {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--ink); margin-left: -8px; display: block;
  background-size: cover; background-position: center;
}
.avatars > span:first-child { margin-left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px 7px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #333338;
}
.eyebrow .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-tint); display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
}
.eyebrow--dark { background: #1a1a1e; border-color: #2c2c31; color: #fff; }
.eyebrow--dark .dot { background: #2c2c31; }

.tag-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.tag-pill--dark { background: var(--ink); }

.check {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent); display: inline-flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}

.card-flat {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

/* ==========================================================================
   3. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  /* Higher than .floating-cta (60) — the header creates its own stacking
     context (position + z-index), which traps the mobile nav dropdown
     inside it. If this were lower than .floating-cta, the floating "Book
     a call" pill would render on top of the open mobile menu no matter
     what z-index the dropdown itself was given. */
  z-index: 70;
  border-bottom: 1px solid var(--line);
}
/* The frosted-glass background lives on a pseudo-element rather than on
   .site-header directly. A `backdrop-filter` on an element makes it the
   containing block for any `position: fixed` descendant — which would trap
   .primary-nav's mobile dropdown inside the header's own ~76px box instead
   of the viewport, collapsing it to a sliver instead of filling the screen. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 29, 24, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: -1;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-logo { display: flex; align-items: center; }
.site-logo__img { height: 48px; width: auto; display: block; margin-left:-10px !important; }
/* Sized per use (26px default in the function call, 20px for the floating
   pill) via the width/height attributes was_logo_mark() outputs — no fixed
   size here so it doesn't fight those. */
.site-logo__mark { flex-shrink: 0; display: block; }

.primary-nav ul { display: flex; align-items: center; gap: 28px; }
.primary-nav a { font-size: 14.5px; font-weight: 600; color: var(--heading); }
.primary-nav a:hover, .primary-nav a.current { color: var(--accent); }

/* Hamburger that morphs into an X on open — pure CSS, driven by the
   existing body.nav-open class the JS toggle already sets, so the icon
   itself doubles as the "tap to close" hint once the menu is open. */
.nav-toggle {
  display: none;
  position: relative;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--heading);
  transition: color 0.25s ease;
}
.nav-toggle__bar {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle__bar:nth-child(1) { top: 11px; }
.nav-toggle__bar:nth-child(2) { top: 16px; }
.nav-toggle__bar:nth-child(3) { top: 21px; }

body.nav-open .nav-toggle { color: var(--accent); }
body.nav-open .nav-toggle__bar:nth-child(1) { top: 16px; transform: rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-toggle__bar:nth-child(3) { top: 16px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .primary-nav {
    position: fixed;
    inset: 76px 0 0 0;
    z-index: 40;
    background: #1a1a1e;
    border-top: 1px solid var(--line);
    padding: 10px 20px 24px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child { border-bottom: none; }
  .primary-nav a { display: block; padding: 16px 4px; font-size: 17px; }
  body.nav-open .primary-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-toggle { display: block; }
  .site-header__cta { display: none; }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero { padding: 76px 0 90px; }
.hero__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero__content { min-width: 0; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: 52px; line-height: 1.1; margin: 0 0 20px; overflow-wrap: break-word; }
.hero__sub { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 480px; margin: 0 0 32px; }
.hero__ctas { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero__proof-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--heading); }

/* Hero illustration — a small custom "idea board" collage (sketch card,
   colour-swatch card, type card) with signal arcs reaching a cluster of
   audience dots. Built from plain shapes, not a stock/gradient-blob graphic. */
.hero__art { position: relative; height: 440px; }
.hero__art-card { position: absolute; border-radius: var(--radius-md); box-shadow: 0 20px 45px rgba(25,20,16,0.14); }
.hero__art-card--sketch {
  width: 168px; height: 196px; top: 6px; left: 26px; background: var(--accent);
  transform: rotate(-7deg); display: flex; align-items: center; justify-content: center;
}
.hero__art-card--type {
  width: 152px; height: 152px; top: 246px; left: 18px; background: var(--line);
  transform: rotate(-4deg); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--accent);
}
.hero__art-card--palette {
  width: 192px; height: 128px; top: 172px; left: 198px; background: #fff;
  transform: rotate(5deg); padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero__art-swatches { display: flex; gap: 8px; }
.hero__art-swatches span { width: 22px; height: 22px; border-radius: 50%; display: block; }
.hero__art-swatches span:nth-child(1) { background: var(--accent); }
.hero__art-swatches span:nth-child(2) { background: var(--ink); }
.hero__art-swatches span:nth-child(3) { background: #E3B24C; }
.hero__art-swatch-line { height: 6px; border-radius: 3px; background: var(--surface); }
.hero__art-waves { position: absolute; right: -6px; bottom: 22px; width: 150px; height: 150px; pointer-events: none; }
.hero__art-audience { position: absolute; top: 26px; right: 8px; display: flex; align-items: center; gap: 6px; }
.hero__art-audience span { display: block; border-radius: 50%; background: var(--ink); }
.hero__art-audience span:nth-child(1) { width: 10px; height: 10px; background: var(--accent-tint); border: 1.5px solid var(--accent); }
.hero__art-audience span:nth-child(2) { width: 14px; height: 14px; background: var(--accent); }
.hero__art-audience span:nth-child(3) { width: 18px; height: 18px; background: var(--surface); }

@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero h1, .hero__sub { max-width: none; }
  .hero__art { height: 320px; max-width: 420px; margin: 0 auto; }
  .hero__art-card--sketch { width: 130px; height: 150px; }
  .hero__art-card--type { width: 118px; height: 118px; top: 176px; font-size: 42px; }
  .hero__art-card--palette { width: 150px; height: 104px; top: 128px; left: 170px; padding: 16px; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 32px; line-height: 1.18; }
  .hero__sub { font-size: 14.5px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__art { display: none; }
  .hero__proof { flex-direction: column; align-items: flex-start; max-width: 240px; margin: 0 auto; gap: 10px; }
}

/* Hero portrait — replaces .hero__art above (hidden, not deleted). A soft
   accent glow and a slow-rotating dashed ring (the same signal-arc motif as
   .hero__art-waves, just larger and animated) sit behind a gently floating
   framed photo, with a small stat chip anchored to its corner. */
.hero__photo { position: relative; height: 440px; display: flex; align-items: center; justify-content: center; }
.hero__photo-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(228, 85, 47, 0.38), transparent 70%);
  filter: blur(36px);
  z-index: 0;
}
.hero__photo-arc {
  position: absolute;
  width: 400px; height: 400px;
  z-index: 1;
  animation: hero-spin 28s linear infinite;
}
.hero__photo-float {
  position: relative;
  z-index: 2;
  animation: hero-float 5.5s ease-in-out infinite;
}
.hero__photo-frame {
  width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(21, 17, 14, 0.35);
  border: 1px solid rgba(243, 236, 224, 0.14);
}
.hero__photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo-chip {
  position: absolute;
  bottom: -16px;
  left: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(21, 17, 14, 0.28);
  white-space: nowrap;
}
.hero__photo-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes hero-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo-float, .hero__photo-arc,
  .story__photo-float, .story__photo-arc { animation: none; }
}

@media (max-width: 900px) {
  .hero__photo { height: 340px; }
  .hero__photo-glow { width: 240px; height: 240px; }
  .hero__photo-arc { width: 320px; height: 320px; }
  .hero__photo-frame { width: 240px; }
}
@media (max-width: 640px) {
  .hero__photo { height: 300px; margin: 0 auto; }
  .hero__photo-glow { width: 200px; height: 200px; }
  .hero__photo-arc { width: 260px; height: 260px; }
  .hero__photo-frame { width: 200px; }
  .hero__photo-chip { font-size: 11px; padding: 8px 12px 8px 10px; bottom: -12px; left: -10px; }
}

/* ==========================================================================
   5. SOCIAL PROOF
   ========================================================================== */
.proof-strip { padding-top: 44px; padding-bottom: 60px; text-align: center; }
.proof-strip__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.proof-strip__logos { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; opacity: 0.75; }
.proof-strip__logos span { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--heading); }

/* ==========================================================================
   6. STORY SECTION
   ========================================================================== */
.story { padding: 90px 0; }
.story h2 { font-size: 42px; line-height: 1.25; max-width: 780px; margin-bottom: 28px; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story__copy { font-size: 16px; line-height: 1.85; color: var(--muted); }
.story__copy p { margin: 0 0 20px; }
.story__copy p:last-of-type { margin-bottom: 0; }
.story__cta { display: inline-flex; margin-top: 28px; }
.story__copy--full {
  margin-top: 40px;
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line); */
}
.story__copy--full .experties h3{
  margin-top: 25px;
}
.story__copy--full .experties ul {
  list-style-type: circle;
  margin-left: 10px;
  display: grid;
  grid-template-columns: auto auto auto;
}
@media (max-width: 900px) {
  .story__copy--full .experties ul {
    grid-template-columns: auto;
  }
} 
.story__card { padding: 10px; }
.story__browser { background: #fff; border-radius: 16px; padding: 10px 10px 0; box-shadow: 0 20px 50px rgba(13,13,16,0.08); }
.story__browser-dots { display: flex; gap: 6px; padding: 10px 6px; }
.story__browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.story__browser-body { height: 200px; background: var(--surface); border-radius: 10px 10px 0 0; position: relative; overflow: hidden; }
.story__browser-tag { position: absolute; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; color: #fff; }

/* Real photo standing in for the .story__browser mockup — same treatment
   as .hero__photo on the homepage (soft accent glow + a slow-rotating
   dashed ring, the signal-arc motif, behind a gently floating framed
   photo), reusing the hero-float / hero-spin keyframes so both sections
   move in exactly the same rhythm. Same floating stat tags as before
   (.story__browser-tag, reused as-is). */
.story__photo-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.story__photo-glow {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(228, 85, 47, 0.35), transparent 70%);
  filter: blur(34px);
  z-index: 0;
}
.story__photo-arc {
  position: absolute;
  width: 380px; height: 380px;
  z-index: 1;
  animation: hero-spin 26s linear infinite;
}
.story__photo-float {
  position: relative;
  z-index: 2;
  animation: hero-float 5s ease-in-out infinite;
}
.story__photo {
  position: relative;
  width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(21, 17, 14, 0.35);
  border: 1px solid rgba(243, 236, 224, 0.14);
}
.story__photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__copy--full { grid-template-columns: 1fr; gap: 20px; }
  .story__photo-wrap { min-height: 340px; }
  .story__photo-glow { width: 240px; height: 240px; }
  .story__photo-arc { width: 320px; height: 320px; }
  .story__photo { width: 240px; }
}
@media (max-width: 640px) {
  .story { padding: 46px 0; }
  .story h2 { font-size: 24px; }
  .story__copy--full { margin-top: 28px; padding-top: 28px; }
  .story__copy { font-size: 14px; }
  .story__photo-wrap { min-height: 300px; }
  .story__photo-glow { width: 200px; height: 200px; }
  .story__photo-arc { width: 260px; height: 260px; }
  .story__photo { width: 200px; }
}

/* ==========================================================================
   6b. THE DISTINCTION
   Standalone editorial block — a centered kicker + headline, then a body
   paragraph running beside a pulled-quote card. No image; the quote card
   carries the visual weight instead.
   ========================================================================== */
.distinction { padding: 100px 0; }
.distinction__head { max-width: 100%; margin: 0 auto 20px; text-align: left; }
.distinction__head .eyebrow { margin: 0 auto 22px; }
.distinction__head h2 { font-size: 38px; line-height: 1.25; }

.distinction__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.distinction__copy { font-size: 16px; line-height: 1.85; color: var(--muted); padding-top: 6px; }
.distinction__copy p { margin: 0 0 20px; }
.distinction__copy p:last-child { margin-bottom: 0; }

.distinction__quote {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 30px 30px;
  margin: 0;
  margin-top: 20px;
}
.distinction__quote::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: 26px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.32;
}
.distinction__quote p {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--heading);
}
.distinction__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .distinction__body { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .distinction { padding: 50px 0; }
  .distinction__head { margin-bottom: 32px; }
  .distinction__head h2 { font-size: 24px; }
  .distinction__copy { font-size: 14px; }
  .distinction__quote { padding: 38px 22px 24px; }
  .distinction__quote p { font-size: 17px; }
}

/* ==========================================================================
   6c. EXPERTISE
   Four discipline cards. Icon chip inverts to solid accent on hover, card
   lifts with a soft shadow and its border picks up the accent colour.
   ========================================================================== */
.expertise { padding-top: 100px; padding-bottom: 100px; }
.expertise__head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.expertise__head .eyebrow { margin: 0 auto 22px; }
.expertise__head h2 { font-size: 38px; line-height: 1.25; margin-bottom: 18px; }
.expertise__head p { font-size: 16px; line-height: 1.75; color: var(--muted); }

.expertise__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.expertise__card {
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.expertise__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(13, 13, 16, 0.28);
  border-color: var(--accent);
}
.expertise__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.expertise__icon svg { width: 24px; height: 24px; display: block; }
.expertise__card:hover .expertise__icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.expertise__card h3 { font-size: 18px; margin-bottom: 12px; transition: color 0.2s ease; }
.expertise__card:hover h3 { color: var(--accent); }
.expertise__card p { font-size: 14.5px; line-height: 1.7; margin: 0; }

@media (max-width: 1100px) {
  .expertise__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .expertise { padding-top: 50px; padding-bottom: 50px; }
  .expertise__head { margin-bottom: 32px; }
  .expertise__head h2 { font-size: 24px; }
  .expertise__grid { grid-template-columns: 1fr; gap: 16px; }
  .expertise__card { padding: 24px 20px; }
  .expertise__card:hover { transform: none; }
}

/* ==========================================================================
   7. SECTION HEAD (shared — homepage "From the Blog" header)
   ========================================================================== */
.work__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 12px; }
.work__head h2 { font-size: 32px; }

/* ==========================================================================
   8. TESTIMONIAL
   ========================================================================== */
.testimonial { padding: 100px 0; margin-top: 90px; text-align: center; }
.testimonial blockquote {
  margin: 0 auto 28px; font-family: var(--font-display); font-weight: 800;
  font-size: 32px; line-height: 1.5; max-width: 780px; color: var(--heading);
}
.testimonial blockquote .dim { color: var(--muted); }
.testimonial__author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial__avatar { width: 38px; height: 38px; border-radius: 50%; background: #ddd; background-size: cover; background-position: center; }
.testimonial__who { text-align: center; font-size: 13.5px; }
.testimonial__who strong { display: block; font-weight: 700; color: var(--heading); }
.testimonial__who span { color: var(--muted); }

@media (max-width: 640px) {
  .testimonial { padding: 46px 0; margin-top: 44px; }
  .testimonial blockquote { font-size: 20px; }
}

/* ==========================================================================
   9. INTERIOR PAGE HERO (library-header — Blog archive, About, Contact)
   ========================================================================== */
.library-header { padding-top: 56px; padding-bottom: 10px; text-align: center; }
.library-header h1 { font-size: 40px; max-width: 640px; margin: 0 auto 16px; }
.library-header p { font-size: 15.5px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

@media (max-width: 640px) {
  .library-header h1 { font-size: 28px; }
}

/* ==========================================================================
   10. FREE RESOURCE / NEWSLETTER
   ========================================================================== */
.resource-block { padding-top: 90px; }
.resource-block__inner { padding: 44px 50px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.resource-block h3 { font-size: 22px; margin-bottom: 8px; }
.resource-block p { font-size: 14px; color: var(--muted); margin: 0; max-width: 460px; line-height: 1.6; }
.resource-form { display: flex; gap: 10px; }
.resource-form input[type=email] { border: 1.5px solid #dcdce0; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; width: 220px; }

.newsletter-band { margin-top: 90px; background: var(--ink); padding: 80px 0; text-align: center; }
.newsletter-band h2 { color: #fff; font-size: 36px; max-width: 560px; margin: 0 auto 16px; }
.newsletter-band p { font-size: 15px; color: #a6a6ab; max-width: 420px; margin: 0 auto 28px; }
.newsletter-band .resource-form { max-width: 420px; margin: 0 auto; }
.newsletter-band .resource-form input { flex: 1; border-color: #3a3a3f; background: #1a1a1e; color: #fff; width: auto; }

@media (max-width: 700px) {
  .resource-block__inner { grid-template-columns: 1fr; text-align: center; }
  .resource-form, .newsletter-band .resource-form { flex-direction: column; }
  .resource-form input, .newsletter-band .resource-form input { width: 100%; }
}
@media (max-width: 640px) {
  .newsletter-band { margin-top: 44px; padding: 44px 0; }
  .newsletter-band h2 { font-size: 24px; }
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: #a6a6ab; padding-top: 60px; }
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; padding-bottom: 44px; }
.site-footer__brand { max-width: 260px; }
.site-footer__brand p { font-size: 13px; line-height: 1.7; margin-top: 14px; }
.site-footer__cols { display: flex; gap: 56px; font-size: 13.5px; flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col strong { color: #fff; font-weight: 700; margin-bottom: 2px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid #2c2c31; padding-top: 20px; padding-bottom: 20px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 640px) {
  .site-footer__top { flex-direction: column; }
}

/* ==========================================================================
   12. FLOATING CTA
   ========================================================================== */
.floating-cta { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 60; }
/* Belt-and-suspenders: hide it while the mobile menu is open so it can
   never visually clash with the open dropdown, regardless of z-index. */
body.nav-open .floating-cta { display: none; }

/* ==========================================================================
   16. SCREEN-READER / ACCESSIBILITY
   ========================================================================== */
.screen-reader-text { position: absolute; left: -9999px; }

/* ==========================================================================
   17. BLOG (ARCHIVE GRID + SINGLE POST)
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card { display: block; overflow: hidden; background: #fff; }
.blog-card__img { height: 190px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; font-weight: 600; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 18px 20px 22px; }
.blog-card__title { font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.4; margin: 10px 0 8px; }
.blog-card__meta { font-size: 12.5px; color: var(--muted); }
.blog-empty { text-align: center; padding: 60px 0; color: var(--muted); grid-column: 1 / -1; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Two-up variant (blog archive) — 50% cards, wider 16:9 image. */
.blog-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
/* 16:9 — the blog cover images' own shape, so they show uncropped. */
.blog-grid--two .blog-card__img { height: auto; aspect-ratio: 16 / 9; }
.blog-grid--two .blog-card__body { padding: 22px 26px 26px; }
.blog-grid--two .blog-card__title { font-size: 20px; }
.blog-card__excerpt { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
@media (max-width: 640px) { .blog-grid--two { grid-template-columns: 1fr; } }

.blog-preview { padding-top: 90px; }
@media (max-width: 640px) { .blog-preview { padding-top: 40px; } }

.pagination-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 34px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.pagination-row a:hover { color: var(--accent); }

/* Blog index / category pagination (archive.php, 4 per page):
   Newer (left) · page numbers (centre) · Older (right). */
.blog-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-top: 34px; margin-top: 10px; border-top: 1px solid var(--line); }
.blog-pagination__nums { display: flex; justify-content: center; gap: 8px; }
.blog-pagination__side--next { display: flex; justify-content: flex-end; }
.blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--heading); text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.blog-pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.blog-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.blog-pagination .page-numbers.dots { border-color: transparent; min-width: 24px; padding: 0; color: var(--muted); }
.blog-pagination .prev, .blog-pagination .next { padding: 0 20px; }
@media (max-width: 640px) {
  .blog-pagination { grid-template-columns: 1fr 1fr; }
  .blog-pagination__nums { grid-column: 1 / -1; grid-row: 1; }
}

.blog-single { max-width: 720px; margin: 0 auto; padding: 56px 44px 60px; }
.blog-single__meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.blog-single__meta a:hover { color: var(--accent); }
.blog-single h1 { font-size: 36px; line-height: 1.25; margin-bottom: 20px; }
.blog-single__cover { border-radius: 18px; overflow: hidden; margin-bottom: 30px; }
.blog-single__content { font-size: 16.5px; line-height: 1.85; color: var(--muted); }
.blog-single__content p { margin: 0 0 22px; }
.blog-single__content h2, .blog-single__content h3 { margin: 36px 0 16px; }
.blog-single__content blockquote { margin: 0 0 22px; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.blog-single__content img { border-radius: 14px; margin: 8px 0 22px; }
.blog-single__content ul, .blog-single__content ol { margin: 0 0 22px; padding-left: 22px; }

.author-box { display: flex; align-items: center; gap: 16px; margin: 10px 0 50px; padding: 22px 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.author-box img { border-radius: 50%; }
.author-box strong { display: block; font-size: 14.5px; }
.author-box span { font-size: 13px; color: var(--muted); }

.related-posts { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 60px; padding-bottom: 60px; }
.related-posts__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 22px; text-align: center; }

@media (max-width: 640px) { .blog-single { padding: 30px 20px 30px; } .blog-single h1 { font-size: 24px; } }

/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; padding-top: 20px; padding-bottom: 90px; align-items: start; }
.contact-info { padding: 8px 34px; }
.contact-info__item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__item strong { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 6px; }
.contact-info__item span, .contact-info__item a { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-info__item a:hover { color: var(--accent); }
.contact-form { padding: 34px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 7px; color: #333338; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1.5px solid #dcdce0; border-radius: var(--radius-sm);
  padding: 13px 14px; font-size: 14px; font-family: var(--font-body); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form .btn { width: 100%; margin-top: 4px; padding: 15px 24px; }

/* ---- Form submission notice (contact / newsletter / resource forms) ---- */
.was-form-notice {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.was-form-notice--success { background: rgba(228, 85, 47, 0.12); border: 1px solid var(--accent); color: var(--heading); }
.was-form-notice--error { background: rgba(220, 53, 69, 0.12); border: 1px solid #dc3545; color: var(--heading); }

/* ---- Honeypot spam trap — off-screen, not display:none (some bots skip
   that), invisible and unreachable to real visitors and screen readers. ---- */
.was-hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---- Reassurance (contact page, above the FAQ) ---- */
.reassurance { padding: 30px 0 80px; }
.reassurance__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.reassurance__inner h2 { font-size: 32px; line-height: 1.3; margin-bottom: 18px; }
.reassurance__inner p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0; }

@media (max-width: 640px) {
  .reassurance { padding: 10px 0 46px; }
  .reassurance__inner h2 { font-size: 22px; }
  .reassurance__inner p { font-size: 14.5px; }
}

.faq { max-width: 760px; margin: 0 auto; padding: 0 44px 90px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--muted); font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq p { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 14px 0 0; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 60px; } }
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } .faq { padding: 0 20px 60px; } }

/* ==========================================================================
   19. ABOUT PAGE
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.value-card {
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(13, 13, 16, 0.28);
  border-color: var(--accent);
}
.value-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 16px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.value-card:hover .value-card__icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.value-card h3 { font-size: 16.5px; margin-bottom: 8px; transition: color 0.2s ease; }
.value-card:hover h3 { color: var(--accent); }
.value-card p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 0; }

.stats-row { display: flex; justify-content: space-between; gap: 20px; padding: 50px 0 6px; margin-top: 60px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stat-item { text-align: center; flex: 1; min-width: 120px; }
.stat-item__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--accent); }
.stat-item__label { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-card:hover { transform: none; }
  .stats-row { padding: 30px 0 0; margin-top: 34px; }
  .stat-item__num { font-size: 28px; }
}

/* ==========================================================================
   20. FOOTER POLISH — social icon links + back-to-top
   ========================================================================== */
.site-footer__col--social { display: flex; flex-direction: column; gap: 12px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 2px; }
.site-footer__social a {
  width: 36px; height: 36px; border-radius: 50%; background: #1a1a1e;
  border: 1px solid #2c2c31; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.site-footer__social a svg { width: 16px; height: 16px; }
.site-footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.back-to-top {
  display: inline-flex; align-items: center; gap: 6px;
  color: #a6a6ab; font-size: 12.5px; font-weight: 600; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); padding: 0;
}
.back-to-top:hover { color: #fff; }

/* ==========================================================================
   21. REUSABLE CONTENT MODULES
   Shared blocks dropped into several page templates (see template-parts/) —
   kept generic/reusable rather than page-specific.
   ========================================================================== */

/* ---- Module: centered statement (eyebrow + h2 + copy) ---- */
.module-statement { padding: 90px 0; }
.module-statement__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.module-statement__inner .eyebrow { margin: 0 auto 20px; }
.module-statement__inner h2 { font-size: 36px; line-height: 1.25; margin-bottom: 20px; }
.module-statement__inner p { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 0; }

/* ---- Module 2 add-on: the touchpoint chip row ---- */
.module-touchpoints { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.module-touchpoints span {
  display: inline-block;
  background: var(--surface);
  color: #191410;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(21, 17, 14, 0.1);
}

/* ---- Module 3: the 4-step process grid ---- */
.module-process { padding-top: 90px; padding-bottom: 90px; }
.module-process__head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.module-process__head .eyebrow { margin: 0 auto 22px; }
.module-process__head h2 { font-size: 36px; line-height: 1.25; }

.module-process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.module-process__card {
  padding: 30px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.module-process__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(13, 13, 16, 0.28);
  border-color: var(--accent);
}
.module-process__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 20px;
  transition: background 0.25s ease, color 0.25s ease;
}
.module-process__card:hover .module-process__num { background: var(--accent); color: #fff; }
.module-process__card h3 { font-size: 17px; margin-bottom: 10px; transition: color 0.2s ease; }
.module-process__card:hover h3 { color: var(--accent); }
.module-process__card p { font-size: 14px; line-height: 1.65; margin: 0; }

@media (max-width: 1100px) {
  .module-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .module-statement { padding: 46px 0; }
  .module-statement__inner h2 { font-size: 22px; }
  .module-statement__inner p { font-size: 14.5px; }
  .module-touchpoints { margin-top: 20px; }

  .module-process { padding-top: 50px; padding-bottom: 50px; }
  .module-process__head { margin-bottom: 32px; }
  .module-process__head h2 { font-size: 24px; }
  .module-process__grid { grid-template-columns: 1fr; gap: 16px; }
  .module-process__card { padding: 24px 20px; }
  .module-process__card:hover { transform: none; }
}

/* ==========================================================================
   22. TOOLS PAGE
   Deliberately not another card grid (Expertise, the process module and the
   About values already use that shape) — a numbered editorial list instead,
   with large solid-accent icon tiles and a row-hover nudge.
   ========================================================================== */
.tools-list { display: flex; flex-direction: column; margin-top: 20px; }
.tools-list__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease;
}
.tools-list__item:first-child { padding-top: 4px; }
.tools-list__item:last-child { border-bottom: none; padding-bottom: 4px; }
.tools-list__item:hover { padding-left: 16px; }

.tools-list__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--muted);
  min-width: 30px;
  flex-shrink: 0;
}
.tools-list__icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 16px 32px rgba(228, 85, 47, 0.25);
  transition: transform 0.3s ease, border-radius 0.3s ease;
}
.tools-list__icon svg { width: 30px; height: 30px; display: block; }
.tools-list__item:hover .tools-list__icon { transform: rotate(-6deg) scale(1.06); border-radius: 26px; }

.tools-list__body h3 { font-size: 22px; margin-bottom: 6px; transition: color 0.2s ease; }
.tools-list__item:hover .tools-list__body h3 { color: var(--accent); }
.tools-list__body p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 580px; }

/* ---- Zig-zag tool-vs-AI timeline — one compact card per skill area,
   alternating left/right of a dashed centre spine (a "process roadmap"
   pattern, not a card grid), each card just naming the primary tool
   against its real AI alternative rather than a full description, so the
   comparison stays the whole point. .tool-timeline__node--manual /
   .tool-timeline__ai--manual is the deliberate exception (Procreate): not
   every skill needs an AI pairing, and a visibly muted treatment says so
   at a glance instead of forcing a matching AI name in. Each
   .tool-timeline__card carries .card-flat for its light-card
   background/border/radius and token reset. ---- */
.tool-timeline { position: relative; margin-top: 40px; padding: 6px 0; }
.tool-timeline__spine {
  position: absolute;
  top: 4px; bottom: 4px; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background-image: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 16px);
}

.tool-timeline__step { position: relative; display: flex; margin-bottom: 40px; }
.tool-timeline__step:last-child { margin-bottom: 0; }
.tool-timeline__step--left { justify-content: flex-start; }
.tool-timeline__step--right { justify-content: flex-end; }

.tool-timeline__node {
  position: absolute; top: 26px; left: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--line);
  transition: transform 0.25s ease;
  z-index: 2;
}
.tool-timeline__node--manual { background: var(--muted); }
.tool-timeline__step:hover .tool-timeline__node { transform: translate(-50%, -50%) scale(1.25); }

.tool-timeline__card {
  width: 44%;
  padding: 26px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tool-timeline__step:hover .tool-timeline__card { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(13, 13, 16, 0.22); border-color: var(--accent); }

.tool-timeline__category { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 10px; }
.tool-timeline__pair { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin-bottom: 10px; }
.tool-timeline__tool { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--heading); }
.tool-timeline__sep { font-size: 12px; font-style: italic; color: var(--muted); }
.tool-timeline__ai { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent); }
.tool-timeline__ai--manual { font-style: italic; font-weight: 600; color: var(--muted); }
.tool-timeline__note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- Tools page: Certifications — hidden until real credentials are
   filled in via the Customizer (see inc/customizer.php), same rationale as
   every other "don't show fabricated content" gated section on the site. ---- */
.tools-cred { padding-top: 90px; padding-bottom: 20px; text-align: center; }
.tools-cred .eyebrow { margin: 0 auto 18px; }
.tools-cred h2 { font-size: 34px; max-width: 560px; margin: 0 auto 44px; }
.tools-cred__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.tools-cred__item { padding: 0 20px; }
.tools-cred__item + .tools-cred__item { border-left: 1px solid var(--line); }
.tools-cred__name { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--heading); margin-bottom: 6px; }
.tools-cred__note { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---- Tools page: FAQ heading (the accordion itself reuses .faq) ---- */
.tools-faq-head { text-align: center; margin: 90px 0 40px; }
.tools-faq-head .eyebrow { margin: 0 auto 18px; }
.tools-faq-head h2 { font-size: 32px; }

.tools-note { max-width: 720px; margin: 90px auto 60px; text-align: center; }
.tools-note h2 { font-size: 30px; line-height: 1.3; margin-bottom: 16px; }
.tools-note p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }

@media (max-width: 900px) {
  /* Nothing left to alternate against on a narrow screen — the spine moves
     to the left edge and every card lines up in one column beside it. */
  .tool-timeline__spine { left: 6px; }
  .tool-timeline__step--left, .tool-timeline__step--right { justify-content: flex-start; padding-left: 32px; }
  .tool-timeline__node { left: 6px; }
  .tool-timeline__card { width: 100%; }
}
@media (max-width: 640px) {
  .tool-timeline__card { padding: 20px 20px 22px; }
  .tool-timeline__step { margin-bottom: 26px; }
  .tool-timeline__step--left, .tool-timeline__step--right { padding-left: 26px; }
  .tool-timeline__tool { font-size: 15.5px; }
  .tool-timeline__ai { font-size: 14px; }
  .tools-list__item { gap: 16px; padding: 22px 2px; }
  .tools-list__item:hover { padding-left: 2px; }
  .tools-list__num { display: none; }
  .tools-list__icon { width: 52px; height: 52px; border-radius: 16px; }
  .tools-list__icon svg { width: 24px; height: 24px; }
  .tools-list__item:hover .tools-list__icon { transform: none; border-radius: 16px; }
  .tools-list__body h3 { font-size: 18px; }
  .tools-list__body p { font-size: 13.5px; }
  .tools-cred { padding-top: 50px; padding-bottom: 10px; }
  .tools-cred h2 { font-size: 22px; }
  .tools-cred__grid { grid-template-columns: 1fr; gap: 24px; }
  .tools-cred__item + .tools-cred__item { border-left: none; border-top: 1px solid var(--line); padding-top: 24px; }
  .tools-faq-head { margin: 50px 0 28px; }
  .tools-faq-head h2 { font-size: 22px; }
  .tools-note { margin: 56px auto 40px; }
  .tools-note h2 { font-size: 22px; }
  .tools-note p { font-size: 14px; }
}
/* ==========================================================================
   23. LEARN COURSES
   Content sourced from the designexpert-learn/ reference material — every
   style/colour/component below is this theme's own design system, not the
   reference's CSS. Three page types: the course hub (page-learn.php), the
   three level pages sharing page-learn-tier.php, and single-learn_chapter.php.
   ========================================================================== */

/* ---- Course hub hero ----
   Every rule below that shares an element with .wrap uses padding-top/
   padding-bottom (never the padding/margin shorthand) so it can't zero out
   .wrap's own horizontal inset or its auto-centering — same convention as
   .expertise/.work/.blog-preview etc. elsewhere in this file. ---- */
.course-hero { padding-top: 40px; padding-bottom: 60px; }
.course-hero h1 { font-size: 46px; line-height: 1.12; margin: 0 0 24px; }
.course-hero h1 em { color: var(--accent); font-style: normal; }
.course-hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.course-hero__bottom p { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 0; }
.course-hero__annotation { font-size: 13px; font-weight: 700; color: var(--heading); text-align: right; line-height: 1.6; white-space: nowrap; }
.course-hero__annotation span { display: block; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* ---- 3 course-level cards ---- */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 50px 0; }
.course-card {
  display: block;
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(13, 13, 16, 0.28); border-color: var(--accent); }
.course-card__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 22px; }
.course-card__top span:last-child { color: var(--accent); font-size: 16px; transition: transform 0.25s ease; }
.course-card:hover .course-card__top span:last-child { transform: translate(3px, -3px); }
.course-card__mark {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  transition: background 0.25s ease, color 0.25s ease;
}
.course-card:hover .course-card__mark { background: var(--accent); color: #fff; }
.course-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; transition: color 0.2s ease; }
.course-card:hover h3 { color: var(--accent); }
.course-card p { font-size: 14px; line-height: 1.65; margin: 0 0 20px; }
.course-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; color: var(--heading); border-top: 1px solid var(--line); padding-top: 16px; }
.course-card__bottom span:last-child { font-weight: 500; color: var(--muted); }

/* ---- Split note (2-col heading/copy) ---- */
.course-split { display: grid; grid-template-columns: 0.8fr 1fr; gap: 60px; align-items: start; padding-top: 20px; padding-bottom: 70px; }
.course-split h2 { font-size: 32px; line-height: 1.3; }
.course-split__copy { font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.course-split__copy p { margin: 0 0 18px; }
.course-split__copy p:last-child { margin-bottom: 0; }

/* ---- Hub answer (single Q&A) + resource list — reused on hub, tier and
   single-chapter pages ---- */
.course-answer { max-width: 720px; margin: 0 auto; padding-top: 60px; padding-bottom: 60px; text-align: center; }
.course-answer h2 { font-size: 26px; margin-bottom: 14px; }
.course-answer p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }

.resource-list { padding-top: 40px; padding-bottom: 70px; }
.resource-list h2 { font-size: 22px; margin-bottom: 18px; }
.resource-list ul { display: flex; flex-direction: column; gap: 14px; }
.resource-list li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.resource-list a { font-weight: 700; color: var(--heading); }
.resource-list a:hover { color: var(--accent); }
.resource-list span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---- Level (tier) hero ---- */
.level-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: start; padding-top: 20px; padding-bottom: 50px; }
.level-hero h1 { font-size: 38px; line-height: 1.2; margin: 16px 0 18px; }
.level-hero__intro { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 30px; max-width: 520px; }
.level-hero__ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.level-hero__ctas a.text-link { font-size: 13.5px; font-weight: 700; color: var(--accent); }

.level-card { padding: 28px; }
.level-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 6px; }
.level-card__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.level-card h2 { font-size: 20px; margin-bottom: 18px; }
.level-card dl { margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.level-card dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.level-card dt { color: var(--muted); font-weight: 600; }
.level-card dd { margin: 0; font-weight: 700; color: var(--heading); text-align: right; }
.level-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---- Curriculum heading + chapter list (reuses .tools-list styling for
   the numbered rows — see section 22 — swapping the icon tile for a plain
   chapter-number tile). ---- */
.curriculum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.curriculum-head h2 { font-size: 28px; }
.curriculum-head span { font-size: 13px; font-weight: 700; color: var(--muted); }

.tools-list__icon--num { font-family: var(--font-display); font-weight: 800; font-size: 20px; }

/* ---- Practice project callout ----
   Nested inside its own <section class="wrap"> (not combined with .wrap
   directly) so its visible card border sits at the same inset as every
   other section's text, instead of stretching out to the wrap's outer
   edge. ---- */
.course-project { padding: 46px 40px; margin: 60px 0; text-align: center; }
.course-project h2 { font-size: 28px; line-height: 1.3; margin: 14px 0 16px; }
.course-project p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 620px; margin: 0 auto 10px; }
.course-project .btn { margin-top: 20px; }

/* ---- Single chapter: reader layout ---- */
.reader-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; padding: 20px 0 80px; }
.chapter-sidebar { position: sticky; top: 96px; }
.chapter-sidebar summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--heading); margin-bottom: 14px; }
.chapter-sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.chapter-sidebar nav a { display: flex; align-items: baseline; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); font-size: 13px; color: var(--muted); line-height: 1.4; }
.chapter-sidebar nav a span { font-family: var(--font-display); font-weight: 800; font-size: 11px; color: var(--muted); flex-shrink: 0; }
.chapter-sidebar nav a:hover { color: var(--heading); background: rgba(243, 236, 224, 0.05); }
.chapter-sidebar nav a[aria-current="page"] { color: var(--accent); background: var(--accent-tint); }
.chapter-sidebar nav a[aria-current="page"] span { color: var(--accent); }

.reader__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 14px; }
.reader h1 { font-size: 34px; line-height: 1.2; margin-bottom: 14px; }
.reader__byline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.reader__byline span:first-child { font-weight: 700; color: var(--heading); }
.reader__byline span + span::before { content: '·'; margin-right: 10px; }

.quick-answer { padding: 26px 28px; margin-bottom: 34px; background: var(--accent-tint); border-radius: var(--radius-md); border: 1px solid rgba(228, 85, 47, 0.18); }
.quick-answer h2 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.quick-answer p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 10px; }
.quick-answer p:last-child { margin-bottom: 0; }

.lesson-toc { padding: 18px 22px; margin-bottom: 34px; }
.lesson-toc__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 10px; display: block; }
.lesson-toc ul { display: flex; flex-direction: column; gap: 8px; }
.lesson-toc a { font-size: 13.5px; color: var(--heading); font-weight: 600; }
.lesson-toc a:hover { color: var(--accent); }

.teaching-figure { margin: 0 0 34px; }
.teaching-figure__frame { display: block; border-radius: var(--radius-md); overflow: hidden; background: #faf9f5; border: 1px solid var(--line); }
.teaching-figure__frame img { width: 100%; height: auto; display: block; }
.teaching-figure figcaption { padding: 16px 4px 0; }
.teaching-figure__num { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 6px; }
.teaching-figure figcaption strong { display: block; font-family: var(--font-display); font-size: 15.5px; color: var(--heading); margin-bottom: 6px; }
.teaching-figure figcaption p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.teaching-figure figcaption a { font-size: 12.5px; font-weight: 700; color: var(--accent); }
.visual-notes { margin-top: 10px; }
.visual-notes summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.visual-notes ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.visual-notes li { font-size: 13px; line-height: 1.6; color: var(--muted); }
.visual-notes li strong { color: var(--heading); }

.wajiha-note { position: relative; padding: 22px 26px; margin: 0 0 34px; border-left: 3px solid var(--accent); background: rgba(228, 85, 47, 0.06); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.wajiha-note__eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 10px; }
.wajiha-note p { font-size: 14.5px; line-height: 1.7; color: var(--heading); margin: 0 0 10px; font-style: italic; }
.wajiha-note > span { font-size: 12.5px; font-weight: 700; color: var(--muted); font-style: normal; }

/* ---- Chapter body typography (the_content()) ---- */
.reader__body { font-size: 16px; line-height: 1.85; color: var(--muted); }
.reader__body h2 { font-size: 22px; color: var(--heading); margin: 42px 0 16px; }
.reader__body h2:first-child { margin-top: 0; }
.reader__body p { margin: 0 0 18px; }
.reader__body strong { color: var(--heading); }
.reader__body ol, .reader__body ul { margin: 0 0 18px; padding-left: 22px; }
.reader__body li { margin-bottom: 8px; }
.reader__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.reader__body .inline-source { font-size: 12px; font-weight: 700; margin-left: 6px; text-decoration: none; }
.reader__body p.prompt {
  padding: 18px 22px; margin: 22px 0; background: var(--surface); color: var(--ink-soft);
  border-radius: var(--radius-md); font-size: 14px; line-height: 1.7; font-style: normal;
}
.reader__body p.prompt strong { color: var(--ink); }
.reader__body .related-reading,
.reader__body .lesson-references { margin-top: 42px; padding-top: 32px; border-top: 1px solid var(--line); }
.reader__body .related-reading h2,
.reader__body .lesson-references h2 { font-size: 20px; margin-bottom: 14px; }
.reader__body .related-reading ul,
.reader__body .lesson-references ul { list-style: none; padding-left: 0; }
.reader__body .related-reading li,
.reader__body .lesson-references li { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.reader__body .related-reading a,
.reader__body .lesson-references a { font-weight: 700; text-decoration: none; }
.reader__body .related-reading span,
.reader__body .lesson-references span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

.chapter-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.chapter-pagination .text-link { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.chapter-pagination .text-link:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .level-hero { grid-template-columns: 1fr; }
  .reader-layout { grid-template-columns: 1fr; }
  .chapter-sidebar { position: static; }
}
@media (max-width: 900px) {
  .course-grid { grid-template-columns: 1fr; }
  .course-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .course-hero { padding-top: 40px; padding-bottom: 40px; }
  .course-hero h1 { font-size: 30px; }
  .course-hero__bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .course-hero__annotation { text-align: left; }
  .level-hero h1 { font-size: 26px; }
  .course-split h2 { font-size: 24px; }
  .curriculum-head h2 { font-size: 22px; }
  .course-project { padding: 32px 22px; }
  .course-project h2 { font-size: 22px; }
  .reader h1 { font-size: 24px; }
  .reader__body h2 { font-size: 19px; }
}

@media (max-width: 640px) {
  .wrap.site-header__inner {
    padding: 0px 15px;
  }
}

/* ==========================================================================
   24. TOOL WORKFLOWS
   Content sourced from new-tool-design.html — every style/colour/component
   below is this theme's own design system, not the reference's own
   light-green palette. Elements combined with .wrap use padding-top/
   padding-bottom only (never the shorthand), same convention as every
   other section in this file.
   ========================================================================== */

/* ---- Hero + "where are you" quick-start sidebar ---- */
.workflow-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 60px; align-items: start; padding-top: 56px; padding-bottom: 50px; }
.workflow-hero h1 { font-size: 40px; line-height: 1.15; margin-bottom: 18px; }
.workflow-hero h1 em { color: var(--accent); font-style: normal; }
.workflow-hero__intro { font-size: 18px; line-height: 1.5; color: var(--heading); margin: 0 0 16px; }
.workflow-hero__body { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; }
.workflow-hero__body + .workflow-hero__body { margin-top: 14px; }

.workflow-quickstart { padding: 26px; }
.workflow-quickstart__eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 10px; }
.workflow-quickstart h2 { font-size: 21px; margin-bottom: 18px; }
.workflow-quickstart nav { display: flex; flex-direction: column; }
.workflow-quickstart nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.workflow-quickstart nav a:last-child { border-bottom: none; }
.workflow-quickstart nav a span:last-child { color: var(--accent); transition: transform 0.2s ease; }
.workflow-quickstart nav a:hover span:last-child { transform: translate(2px, -2px); }
.workflow-quickstart > p { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---- "How I connect" answer box — reuses .quick-answer's accent-tint
   treatment, just widened to sit as its own centred section. ---- */
.workflow-answer { max-width: none; margin: 0; }
.workflow-answer h2 { font-size: 19px; }

/* ---- Byline / checked date / "how I choose" meta row ---- */
.workflow-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: var(--muted); padding-top: 18px; padding-bottom: 34px; }
.workflow-meta a { font-weight: 700; color: var(--heading); }
.workflow-meta a:hover { color: var(--accent); }
.workflow-meta a:last-child { margin-left: auto; }

/* ---- Shortlist comparison table ---- */
.workflow-shortlist { padding-top: 30px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.workflow-shortlist h2 { font-size: 28px; margin: 10px 0 14px; }
.workflow-shortlist > p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 820px; margin: 0 0 26px; }
.workflow-shortlist__scroll { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); }
.workflow-shortlist table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); color: var(--ink-soft); }
.workflow-shortlist thead { background: var(--ink); color: #fff; }
.workflow-shortlist th, .workflow-shortlist td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.workflow-shortlist tbody tr:last-child th, .workflow-shortlist tbody tr:last-child td { border-bottom: none; }
.workflow-shortlist tbody th { font-weight: 700; min-width: 160px; }
.workflow-shortlist tbody th a { color: var(--ink); text-decoration: none; text-underline-offset: 3px; }
.workflow-shortlist tbody th a:hover { color: var(--accent); text-decoration: underline; }
.workflow-shortlist td a { font-weight: 600; color: var(--accent); }
.workflow-shortlist .sep { color: var(--muted); margin: 0 3px; }
.workflow-shortlist caption { caption-side: top; text-align: left; font-weight: 700; padding: 12px 18px; font-size: 13px; color: black; background: var(--surface); border-bottom: 1px solid var(--line); }

/* ---- Finder: category jump-links + level legend ---- */
.workflow-finder { padding-top: 44px; padding-bottom: 10px; }
.workflow-finder__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.workflow-finder__links a { text-decoration: none; border: 1px solid var(--line); padding: 7px 14px; border-radius: 30px; font-size: 13.5px; font-weight: 600; color: var(--heading); }
.workflow-finder__links a:hover { border-color: var(--accent); color: var(--accent); }
.workflow-legend { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.workflow-legend b { color: var(--heading); }
.workflow-finder__note { font-size: 13.5px; color: var(--muted); max-width: 900px; margin: 0; }
.workflow-finder__count { font-size: 13px; font-weight: 700; color: var(--heading); margin: 14px 0 0; }

/* Search/filter panel — revealed by the inline script in page-tools.php. */
.workflow-filters { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 14px; align-items: end; padding: 20px; margin: 6px 0 20px; }
.workflow-filters[hidden] { display: none; }
.workflow-filters label { display: block; font-size: 12.5px; font-weight: 700; color: var(--heading); }
.workflow-filters input, .workflow-filters select { display: block; width: 100%; margin-top: 7px; min-height: 48px; padding: 12px 14px; border: 1.5px solid #dcdce0; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: 14px; font-family: var(--font-body); }
.workflow-filters input:focus, .workflow-filters select:focus { outline: none; border-color: var(--accent); }
.workflow-filters .btn { min-height: 48px; }
.workflow-empty { font-size: 15px; font-weight: 600; color: var(--heading); padding-top: 24px; padding-bottom: 24px; margin: 0; }
.workflow-task[hidden], .workflow-section[hidden], .workflow-empty[hidden] { display: none; }

/* ---- Task-section wrapper (one per phase: brand / website / marketing) ---- */
.workflow-section { padding-top: 20px; padding-bottom: 24px; }
.section-heading { display: flex; align-items: flex-start; gap: 20px; padding: 34px 0 26px; border-top: 1px solid var(--line); }
.section-num { flex-shrink: 0; min-width: 44px; font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; color: var(--accent); }
.section-heading > div { flex: 1; min-width: 0; }
.section-heading h2 { font-size: 30px; margin-bottom: 8px; }
.section-heading p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 640px; }
.section-heading .back { flex-shrink: 0; margin-left: auto; padding-top: 10px; white-space: nowrap; }
.workflow-tasks { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }

/* ---- Individual task comparison card ---- */
.workflow-task { padding: 28px 30px; }
.workflow-task__name { margin-bottom: 20px; }
.workflow-task__num { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.workflow-task__name h3 { font-size: 21px; margin-bottom: 8px; max-width: 640px; }
.workflow-task__name p { font-size: 14px; color: var(--muted); margin: 0; }

.workflow-task__routes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.workflow-task__route { padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(36, 30, 24, 0.03); border: 1px solid var(--line); }
.workflow-task__route--ai { background: var(--accent-tint); border-color: rgba(228, 85, 47, 0.25); }
.workflow-task__route-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.workflow-task__route--ai .workflow-task__route-label { color: var(--accent); }
.workflow-task__level { display: inline-block; font-size: 11.5px; font-weight: 700; border: 1px solid var(--line); border-radius: 3px; padding: 2px 9px; margin-bottom: 10px; background: #fff; color: var(--ink-soft); }
.workflow-task__level--ai { border-color: rgba(228, 85, 47, 0.35); background: #fff; color: var(--accent); }
.workflow-task__tools { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.5; }
.workflow-task__tools a { color: var(--ink); text-decoration: none; }
.workflow-task__tools a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.workflow-task__tools .sep { color: var(--muted); margin: 0 3px; font-weight: 400; }
.workflow-task__route p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.workflow-task__scope { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent); margin-top: 10px; }

.workflow-task__detail { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.workflow-task__detail summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--heading); }
.workflow-task__detail summary span { font-weight: 400; font-size: 12.5px; color: var(--muted); margin-left: 10px; }
.workflow-task__detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 14px; }
.workflow-task__detail-body p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.workflow-task__detail-body strong { color: var(--heading); }

/* ---- Phase hand-off callout (between task sections) ---- */
.workflow-handoff { padding: 24px 28px; margin-top: 28px; }
.workflow-handoff h3 { font-size: 17px; margin-bottom: 8px; }
.workflow-handoff p { font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 780px; margin: 0 0 12px; }

/* ---- Starter stacks (3 recommended toolkits) ---- */
.workflow-stacks { padding-top: 70px; padding-bottom: 50px; border-top: 1px solid var(--line); }
.workflow-stacks h2 { font-size: 30px; margin: 10px 0 28px; }
.workflow-stacks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.workflow-stacks__grid article { padding: 28px; }
.workflow-stacks__level { font-size: 11.5px; letter-spacing: 0.05em; font-weight: 700; color: var(--accent); }
.workflow-stacks__grid h3 { font-size: 21px; margin: 16px 0 12px; }
.workflow-stacks__grid > article > p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.workflow-stacks__tools { font-size: 13.5px; line-height: 2; color: var(--ink-soft); }
.workflow-stacks__tools a { color: var(--ink); font-weight: 600; }
.workflow-stacks__tools a:hover { color: var(--accent); }
.workflow-stacks__tools .sep { color: var(--muted); margin: 0 2px; }

/* ---- AI prompt template ---- */
.workflow-prompt { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 50px; padding-bottom: 50px; border-top: 1px solid var(--line); }
.workflow-prompt h2 { font-size: 28px; max-width: 420px; }
.workflow-prompt > div > p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 480px; }
.workflow-prompt__box { padding: 24px; }
.workflow-prompt__box label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.workflow-prompt__box textarea { width: 100%; min-height: 240px; resize: vertical; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; background: #fff; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; font-family: var(--font-body); }
.workflow-prompt__box .btn { margin-top: 14px; }
.workflow-prompt__box .btn[hidden] { display: none; }
.workflow-prompt__status { display: inline-block; font-size: 13px; color: var(--muted); margin: 14px 0 0 12px; }

/* ---- Selection criteria ---- */
.workflow-selection { padding-top: 50px; padding-bottom: 20px; border-top: 1px solid var(--line); }
.workflow-selection h2 { font-size: 28px; margin: 10px 0 30px; }
.workflow-selection__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.workflow-selection__grid h3 { font-size: 16.5px; margin-bottom: 10px; }
.workflow-selection__grid p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }
.workflow-selection__note { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 980px; padding-top: 26px; margin: 26px 0 0; border-top: 1px solid var(--line); }

/* ---- Sources (collapsible reference list) ---- */
.workflow-sources { padding-top: 26px; padding-bottom: 50px; }
.workflow-sources > details { padding: 22px 26px; background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--line); }
.workflow-sources summary { cursor: pointer; font-weight: 700; font-size: 15px; color: var(--ink); }
.workflow-sources summary span { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 14px; }
.workflow-sources > details > p { font-size: 13.5px; color: var(--muted); margin: 16px 0 20px; }
.workflow-sources ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; list-style: none; padding: 0; margin: 0; }
.workflow-sources li { font-size: 13.5px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.workflow-sources a { font-weight: 700; color: var(--ink); }
.workflow-sources a:hover { color: var(--accent); }
.workflow-sources span { display: block; color: var(--muted); margin-top: 4px; font-size: 12.5px; }

/* ---- Final CTA banner ---- */
.workflow-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--ink); border-radius: var(--radius-lg); padding: 40px 44px; margin: 20px 0 60px; }
.workflow-cta h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.workflow-cta p { color: #b7aea3; font-size: 14.5px; line-height: 1.6; max-width: 600px; margin: 0; }
.workflow-cta .btn { flex-shrink: 0; }

@media (max-width: 1024px) {
  .workflow-hero { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .workflow-task__routes { grid-template-columns: 1fr; }
  .workflow-filters { grid-template-columns: 1fr 1fr; }
  .workflow-filters__search { grid-column: 1 / -1; }
  .workflow-task__detail-body { grid-template-columns: 1fr; }
  .workflow-stacks__grid { grid-template-columns: 1fr; }
  .workflow-prompt { grid-template-columns: 1fr; gap: 30px; }
  .workflow-selection__grid { grid-template-columns: 1fr; gap: 22px; }
  .workflow-sources ul { grid-template-columns: 1fr; }
  .workflow-cta { flex-direction: column; align-items: flex-start; }
  .section-heading { flex-wrap: wrap; padding: 26px 0 20px; }
  .section-heading .back { display: none; }
}
@media (max-width: 640px) {
  .workflow-hero h1 { font-size: 30px; }
  .workflow-task { padding: 22px 20px; }
  .workflow-filters { grid-template-columns: 1fr; }
  .workflow-shortlist th, .workflow-shortlist td { padding: 12px 14px; }
  .workflow-stacks__grid article { padding: 22px; }
  .workflow-cta { padding: 28px 24px; }
  .workflow-cta h2 { font-size: 22px; }
  .section-num { font-size: 28px; min-width: 34px; }
  .section-heading h2 { font-size: 24px; }
}

/* ==========================================================================
   EDITORIAL BLOG (template-parts/blog-editorial.php + blogs/<slug>/)
   Layout ported from desing-expert-blog.html; every colour, font and
   radius comes from this theme's tokens. All classes are eb-* so they
   never collide with the theme's own .eyebrow / .prompt / .hero etc.
   ========================================================================== */
.eb-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 80; }

.eb-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); line-height: 1.6; margin: 0 0 14px; }

/* ---- Hero ---- */
.eb-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 42px; align-items: center; margin: 32px 0 60px; padding: 60px 52px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(243, 236, 224, 0.03); }
.eb-hero h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 24px; }
.eb-hero h1 span { display: block; }
.eb-hero h1 .eb-hero__accent { color: var(--accent); }
.eb-deck { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 630px; margin: 0; }
/* Hero meta line (Updated date · extra) + author card (render_author_card()) */
.eb-hero-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 22px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.eb-hero-meta > span + span::before { content: "·"; margin: 0 9px; color: var(--accent); }
.eb-author-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; max-width: 100%; margin: 22px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(243, 236, 224, 0.04); }
.eb-author-card__avatar { display: block; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #d9d6cc; box-shadow: 0 0 0 2px var(--accent), 0 0 0 5px rgba(228, 85, 47, 0.16); }
.eb-author-card__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eb-author-card__initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #3a3f4b; }
.eb-author-card__label { margin: 2px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eb-author-card__name { margin: 0 0 8px; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.25; }
.eb-author-card__name a { color: var(--heading); text-decoration: none; }
.eb-author-card__name a:hover { color: var(--accent); }
.eb-author-card__bio { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.eb-author-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.eb-author-card__more { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.eb-author-card__more:hover { color: var(--accent-dark); }
.eb-author-card__in { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--heading); text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.eb-author-card__in svg { width: 12px; height: 12px; padding: 3px; box-sizing: content-box; border-radius: 4px; color: #fff; background: #0a66c2; }
.eb-author-card__in:hover { border-color: #0a66c2; background: rgba(10, 102, 194, 0.14); color: #fff; }
@media (max-width: 640px) {
  /* Photo beside the label + name; bio and links use the full width. */
  .eb-author-card { grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center; padding: 18px; }
  .eb-author-card__body { display: contents; }
  .eb-author-card__avatar { grid-row: 1 / span 2; width: 56px; height: 56px; }
  .eb-author-card__label { grid-column: 2; align-self: end; margin: 0 0 2px; }
  .eb-author-card__name { grid-column: 2; align-self: start; margin: 0; font-size: 19px; }
  .eb-author-card__bio, .eb-author-card__links { grid-column: 1 / -1; }
  .eb-author-card__bio { margin-top: 14px; }
}
.eb-hero-board .eb-image-slot { margin: 0; }
.eb-hero-image { margin: 0; border-radius:0; overflow: hidden; }
.eb-hero-image img { width: 100%; height: auto;}
.eb-hero-image figcaption { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 12px; }

/* In-article figures (was_blog_figure()) */
.eb-article .eb-figure, .eb-hero .eb-hero-image { margin: 30px 0; }
.eb-hero .eb-hero-image { margin: 0; }
.eb-figure img { width: 100%; height: auto; border-radius: var(--radius-md); }
.eb-figure figcaption { font-size: 13px; line-height: 1.65; color: var(--muted); margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--accent); }

/* Elementor wrapper around the widget: no extra width/padding/gaps, so
   the widget's own .wrap sets the layout exactly like the rest of the theme. */
.was-blog-detail .e-con, .was-blog-detail .e-con-inner { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; --gap: 0; --row-gap: 0; --column-gap: 0; padding: 0; max-width: none; }
.was-blog-detail .elementor-widget-was_editorial_blog,
.was-blog-detail .elementor-widget-was_comparison_blog { width: 100%; }
.was-blog-detail .elementor-widget-was_editorial_blog .elementor-inline-editing,
.was-blog-detail .elementor-widget-was_comparison_blog .elementor-inline-editing { outline-offset: 3px; }

/* ---- Contents + article columns ---- */
.eb-layout { display: grid; grid-template-columns: 220px minmax(0, 840px); gap: 60px; justify-content: center; padding-bottom: 80px; }
.eb-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); overflow: auto; font-size: 13px; }
.eb-toc a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.eb-toc a:hover { color: var(--accent); }
.eb-toc a.eb-toc__sub { padding-left: 14px; font-size: 12.5px; }

/* ---- Article typography ---- */
.eb-article { font-size: 17px; line-height: 1.85; color: var(--muted); }
html:has(.eb-article) { scroll-padding-top: 96px; }
.eb-article p { margin: 0 0 22px; }
.eb-article strong { color: var(--heading); }
.eb-article a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.eb-article a:hover { color: var(--accent-dark); }
.eb-article h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 24px; }
.eb-article h3 { font-size: 20px; line-height: 1.4; margin: 30px 0 12px; }
.eb-article h4 { font-size: 15px; line-height: 1.4; margin: 0 0 12px; }
.eb-article section { margin: 65px 0; }
.eb-article li { padding: 3px 0; }
.eb-rich > :last-child { margin-bottom: 22px; }
.eb-reading-route { font-size: 15px; border-bottom: 1px solid var(--line); padding: 8px 0 26px; margin-bottom: 48px; }
.eb-reading-route p { margin: 0 !important; }
.eb-source-links p { margin: 0 0 22px; }

/* Tables */
.eb-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.eb-article table { border-collapse: collapse; min-width: 640px; width: 100%; font-size: 13.5px; line-height: 1.7; text-align: left; }
.eb-article th, .eb-article td { padding: 16px 17px; vertical-align: top; border-bottom: 1px solid var(--line); }
.eb-article tbody tr:last-child > * { border-bottom: 0; }
.eb-article thead { background: rgba(243, 236, 224, 0.06); color: var(--heading); }
.eb-article tbody th { color: var(--heading); font-weight: 700; }
.eb-article caption { padding: 13px 17px; text-align: left; background: rgba(243, 236, 224, 0.04); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--heading); }

/* Image slots (placeholders until the real images are added) */
.eb-image-slot { margin: 28px 0; background: rgba(243, 236, 224, 0.03); border: 1px dashed rgba(243, 236, 224, 0.28); border-radius: var(--radius-md); overflow: hidden; }
.eb-image-slot > div { padding: 25px; }
.eb-image-slot h4 { margin: 10px 0; font-size: 18px; }
.eb-image-slot p { font-size: 14px; line-height: 1.7; margin: 0 !important; }
.eb-image-slot figcaption { padding: 14px 25px; border-top: 1px solid var(--line); background: rgba(243, 236, 224, 0.04); font-size: 12px; line-height: 1.7; }
.eb-asset-number { font-size: 10px; letter-spacing: 0.13em; font-weight: 700; color: var(--accent); }

/* Three-up route notes, 2x2 decision grid */
.eb-route-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eb-route-notes h3 { font-size: 16px; margin: 8px 0 12px; }
.eb-route-notes p { font-size: 14px; }
.eb-decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 30px 0; }
.eb-decision-grid > div { background: rgba(243, 236, 224, 0.04); border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 23px; }
.eb-decision-grid span { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--accent); }
.eb-decision-grid h3 { font-size: 17px; margin: 10px 0; }
.eb-decision-grid p { font-size: 14px; margin: 0; }

/* Note, prompt, practice */
.eb-note { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; margin: 25px 0; background: rgba(243, 236, 224, 0.03); font-size: 13.5px; }
.eb-note p { margin: 10px 0 0 !important; }
.eb-prompt { margin: 25px 0; padding: 22px 24px; border-left: 3px solid var(--accent); background: rgba(228, 85, 47, 0.07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.eb-prompt h4 { color: var(--heading); }
.eb-prompt p { font-size: 14.5px; line-height: 1.85; margin: 0 !important; color: var(--heading); }

/* Tool reviews */
.eb-review { padding: 44px 0 12px; border-top: 2px solid var(--heading); }
.eb-review-heading { display: flex; gap: 23px; padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.eb-rank { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.2; color: var(--accent); }
.eb-review-heading h2 { margin: 0 0 10px; }
.eb-review-heading .eb-eyebrow { margin-bottom: 8px; }
.eb-review-fit { font-size: 13.5px; margin: 0 !important; }
.eb-review-story { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 26px; }
.eb-review-margin { padding-top: 30px; font-size: 11px; line-height: 2; }
.eb-review-margin span { font-weight: 700; letter-spacing: 0.08em; color: var(--heading); }
.eb-review-copy h3 { font-size: 22px; }
.eb-personal-note { padding: 22px 0; margin-top: 30px; border-top: 1px solid var(--line); }
.eb-personal-note h4 { font-size: 20px; color: var(--accent); }
.eb-source-links { font-size: 12px; }
.eb-article a.eb-tool-link { display: inline-block; margin-top: 8px; padding: 10px 18px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; text-decoration: none; }
.eb-article a.eb-tool-link:hover { background: var(--accent-dark); color: #fff; }

/* Checklist, FAQ, verdict, author */
.eb-checklist { padding-left: 23px; list-style: disc; }
.eb-checklist li { margin-bottom: 13px; }
.eb-checklist li::marker { color: var(--accent); }
.eb-article details { border-top: 1px solid var(--line); padding: 20px 0; }
.eb-article summary { cursor: pointer; font-weight: 700; color: var(--heading); font-size: 16px; }
.eb-article summary:hover { color: var(--accent); }
.eb-article details p { font-size: 15px; margin: 15px 0 0; }
.eb-article #verdict { border-top: 3px solid var(--accent); padding-top: 35px; }
.eb-author { margin: 50px 0 0; padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; }
.eb-author p { margin: 9px 0 0; }

/* Guide blog parts (inc/elementor/class-guide-blog-widget.php) — also
   available to any Editorial Blog section that lists these parts. */
.eb-hero--text { grid-template-columns: 1fr; }
.eb-hero--text > div { max-width: 860px; }
.eb-route { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: -32px 0 56px; }
.eb-route > a, .eb-route > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(243, 236, 224, 0.04); color: var(--heading); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.eb-route > a:hover { border-color: var(--accent); background: rgba(228, 85, 47, 0.07); }
.eb-route strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.35; }
.eb-route small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.eb-route__arrow { color: var(--accent); font-size: 20px; }

.eb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 4px 0 30px; }
.eb-pair > div { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(243, 236, 224, 0.05); }
.eb-article .eb-pair h3 { margin: 0 0 8px; font-size: 17px; }
.eb-article .eb-pair p { margin: 0; font-size: 15px; line-height: 1.7; }

.eb-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; margin: 26px 0 8px; }
.eb-examples > div { padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.eb-examples span { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--accent); }
.eb-article .eb-examples h3 { margin: 6px 0 8px; font-size: 18px; }
.eb-article .eb-examples p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.75; }

.eb-brief { --heading: #191410; --muted: #5f564d; --line: #ddd2c2; margin: 28px 0; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink-soft); }
.eb-brief .eb-eyebrow { color: var(--accent-dark); margin: 0 0 6px; }
.eb-article .eb-brief h3 { margin: 0 0 8px; font-size: 30px; }
.eb-article .eb-brief > p { margin: 0 0 18px; font-size: 15.5px; }
.eb-brief dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px 18px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.eb-brief dt { font-weight: 700; color: var(--heading); }
.eb-brief dd { margin: 0; }

.eb-prompt p.eb-eyebrow { margin: 0 0 8px !important; font-size: 11px; line-height: 1.6; color: var(--accent); }
.eb-small { font-size: 12.5px; line-height: 1.7; }
.eb-small p { margin: 0 0 22px; }

.eb-visual-labels { display: grid; grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr)); gap: 8px; margin-top: 10px; text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--heading); }

.eb-review-card { margin: 24px 0; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(243, 236, 224, 0.03); scroll-margin-top: 100px; }
.eb-review-card__head { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.eb-review-card__head .eb-eyebrow { margin: 0 0 6px; }
.eb-article .eb-review-card__head h3 { margin: 0; font-size: 26px; }
.eb-article .eb-review-card__head h3 a { color: var(--heading); text-decoration: none; }
.eb-article .eb-review-card__head h3 a:hover { color: var(--accent); }
.eb-article .eb-review-card h4 { margin: 20px 0 8px; font-size: 15px; color: var(--heading); }
.eb-review-card .eb-rich p, .eb-review-card .eb-rich li { font-size: 15px; line-height: 1.75; }
.eb-review-card .eb-rich > :last-child { margin-bottom: 4px; }
.eb-review-card ul { margin: 0; padding-left: 19px; }
.eb-review-card li::marker { color: var(--accent); }
.eb-review-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.eb-review-price { margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); background: rgba(228, 85, 47, 0.07); }
.eb-article .eb-review-price h4 { margin: 0 0 6px; }
.eb-review-price .eb-rich p { margin: 0; }

.eb-cta { padding: 30px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius-md); background: rgba(243, 236, 224, 0.04); }
.eb-article .eb-cta h3 { margin: 0 0 8px; }
.eb-article .eb-cta p { margin: 0 0 14px; }
.eb-article .eb-cta .eb-cta__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
.eb-article .eb-cta__links a { font-size: 14px; font-weight: 700; }
.eb-article section[id] { scroll-margin-top: 100px; }

/* Lists typed into rich-text fields (the theme resets every ul globally). */
.eb-article .eb-rich ul, .eb-article .eb-rich ol { margin: 0 0 22px; padding-left: 24px; }
.eb-article .eb-rich ul { list-style: disc; }
.eb-article .eb-rich ol { list-style: decimal; }
.eb-article .eb-rich li::marker { color: var(--accent); }
.eb-review-card .eb-rich ul { margin: 0 0 4px; padding-left: 19px; }
/* Elementor zeroes figure margins inside widgets (.elementor .elementor-widget:not(…):not(…) figure,
   loaded after this file) — restore the article figure spacing above. */
.was-blog-detail .elementor .elementor-widget .eb-article figure.eb-figure { margin: 30px 0; }

/* Comparison blog parts (inc/elementor/class-comparison-blog-widget.php) —
   the summary box and panels are also available to any blog section. */
.eb-article > section:first-child { margin-top: 0; }
.eb-summary { margin: 0 0 36px; padding: 28px 30px; border: 1px solid rgba(228, 85, 47, 0.45); border-radius: var(--radius-lg); background: rgba(228, 85, 47, 0.07); }
.eb-summary .eb-eyebrow { margin: 0 0 10px; }
.eb-summary .eb-rich p { font-size: 16.5px; line-height: 1.75; }
.eb-summary .eb-rich p:first-child { font-size: 18px; }
.eb-summary .eb-rich > :last-child { margin-bottom: 0; }

.eb-panels { display: grid; grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr)); gap: 18px; margin: 26px 0 30px; }
.eb-panel { display: block; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(243, 236, 224, 0.04); color: var(--muted); }
.eb-panel--accent { border-top: 3px solid var(--accent); }
.eb-article a.eb-panel { text-decoration: none; color: var(--muted); transition: border-color .2s ease, background .2s ease; }
.eb-article a.eb-panel:hover { border-color: var(--accent); background: rgba(228, 85, 47, 0.07); }
.eb-panel .eb-eyebrow { margin: 0 0 6px; }
.eb-article .eb-panel h3 { margin: 0 0 6px; font-size: 19px; }
.eb-article a.eb-panel h3 { font-size: 16px; line-height: 1.45; }
.eb-article .eb-panel--stat h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.15; margin-bottom: 10px; }
.eb-article .eb-panel__meta { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; }
.eb-panel .eb-rich p, .eb-panel .eb-rich li { font-size: 15px; line-height: 1.7; }
.eb-panel .eb-rich > :last-child { margin-bottom: 0; }
.eb-article .eb-panel .eb-rich ul { margin: 0; padding-left: 20px; }
.eb-panel__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

.eb-tool-card--pick { border: 2px solid var(--accent); }
.eb-tag { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; letter-spacing: 0.1em; vertical-align: 1px; }
.eb-tool-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; margin: 18px 0; }
.eb-tool-facts > div { padding-left: 12px; border-left: 2px solid var(--line); }
.eb-tool-facts > .eb-tool-facts__free { border-left-color: var(--accent); }
.eb-tool-facts dt { margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--heading); }
.eb-tool-facts dd { margin: 0; font-size: 14.5px; line-height: 1.65; }
.eb-article .eb-tool-card__take { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; }
.eb-article .eb-tool-card__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; font-size: 14.5px; line-height: 1.7; }
.eb-article a.eb-tool-card__link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; }

/* Tool logo tiles (inc/tool-logos.php) — square icons as rounded tiles:
   sm in tables, md on tool cards, lg in review/test headers. */
.eb-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(243, 236, 224, 0.16), 0 8px 20px -6px rgba(0, 0, 0, 0.55); }
.eb-logo img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.eb-logo--sm { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(243, 236, 224, 0.16); }
.eb-logo--md { width: 52px; height: 52px; border-radius: 14px; }
.eb-logo--lg { width: 64px; height: 64px; border-radius: 17px; }
.eb-logo--letter { background: linear-gradient(145deg, #3a2f28, #1c1714); color: var(--accent); font-family: var(--font-display); font-weight: 800; line-height: 1; }
.eb-logo--sm.eb-logo--letter { font-size: 13px; }
.eb-logo--md.eb-logo--letter { font-size: 22px; }
.eb-logo--lg.eb-logo--letter { font-size: 27px; }
.eb-cell-tool { display: inline-flex; align-items: center; gap: 11px; vertical-align: middle; }
.eb-review-card__head.eb-has-logo { display: flex; align-items: center; gap: 16px; }
.eb-review-card__head.eb-has-logo > div { min-width: 0; }
.eb-review-heading { align-items: flex-start; }
.eb-review-heading .eb-logo { margin-top: 6px; }
.eb-test__id { display: flex; align-items: center; gap: 18px; min-width: 0; }

/* Hands-on test blog parts (inc/elementor/class-tested-blog-widget.php) */
.was-blog-detail .elementor-widget-was_tested_blog,
.was-blog-detail .elementor-widget-was_howto_blog,
.was-blog-detail .elementor-widget-was_design_guide_blog { width: 100%; }
.eb-article .eb-results table { min-width: 1080px; font-size: 12.5px; line-height: 1.6; }
.eb-article .eb-results th, .eb-article .eb-results td { padding: 13px 14px; }
.eb-article .eb-results tbody th { position: sticky; left: 0; z-index: 1; background: #1f1915; }
.eb-badge { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 3px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; line-height: 1.7; text-transform: uppercase; vertical-align: 1px; }
.eb-badge--pass { background: rgba(110, 196, 140, 0.18); color: #8fd6a5; }
.eb-badge--part { background: rgba(231, 184, 84, 0.18); color: #ecc46f; }
.eb-badge--fail { background: rgba(228, 85, 47, 0.2); color: #f08463; }
.eb-badge--na { background: rgba(243, 236, 224, 0.1); color: var(--muted); }

.eb-article section.eb-test { margin: 0; padding: 44px 0 20px; border-top: 2px solid var(--heading); }
.eb-test__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.eb-test__head .eb-eyebrow { margin-bottom: 8px; }
.eb-article .eb-test__head h2 { margin: 0 0 6px; }
.eb-article .eb-test__deck { margin: 0; font-size: 14.5px; line-height: 1.6; }
.eb-article a.eb-test__visit { flex: none; margin-top: 18px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--heading); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.eb-article a.eb-test__visit:hover { border-color: var(--accent); color: var(--accent); }

.eb-shots { margin: 26px 0 10px; border-top: 1px solid var(--line); }
.eb-article .eb-shot { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 26px; align-items: center; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.eb-article .eb-shot:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.eb-shot:nth-child(even) .eb-shot__img { order: 2; }
.eb-shot__img { padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(243, 236, 224, 0.05); }
.eb-shot__img a { display: block; cursor: zoom-in; }
.eb-shot__img img { display: block; width: 100%; height: auto; max-height: 330px; object-fit: contain; border-radius: 4px; }
.eb-shot__num { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--accent); }
.eb-shot__label { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.eb-article .eb-shot figcaption p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--heading); }

.eb-observed, .eb-stated { margin: 26px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(243, 236, 224, 0.04); }
.eb-stated { border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.eb-article .eb-observed h3, .eb-article .eb-stated h3, .eb-article .eb-test__tail h3 { margin: 0 0 10px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eb-observed .eb-rich li { font-size: 15px; line-height: 1.7; }
.eb-article .eb-observed .eb-rich ul { margin: 0; }
.eb-stated blockquote { margin: 0; font-size: 16.5px; line-height: 1.7; font-style: italic; color: var(--heading); }
.eb-article .eb-test__read { margin: 30px 0 10px; }
.eb-test__tail { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; }
.eb-test__tail > div { padding: 14px 18px 16px; border-top: 2px solid var(--accent); background: rgba(243, 236, 224, 0.04); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.eb-article .eb-test__tail p { margin: 0; font-size: 14px; line-height: 1.7; }

/* Step-by-step guide blog parts (inc/elementor/class-howto-blog-widget.php) */
.was-blog-detail .elementor .elementor-widget .eb-article figure.eb-brandlogo,
.eb-article .eb-brandlogo { margin: 18px 0 26px; }
.eb-brandlogo__row { display: flex; justify-content: center; align-items: center; gap: 42px; padding: 44px 40px; border-radius: var(--radius-lg); background: #fbf8f2; box-shadow: inset 0 0 0 1px rgba(25, 20, 16, 0.06); }
.eb-brandlogo__row img { display: block; width: auto; max-width: min(100%, 380px); max-height: 120px; height: auto; object-fit: contain; }
.eb-brandlogo__sm img { max-height: 92px; }
.eb-brandlogo figcaption { margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--accent); font-size: 13px; line-height: 1.65; color: var(--muted); }
.eb-article .eb-shot__title { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }

/* Examples side by side ("profiles" part): logo panel left, text right. */
.eb-profile { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.eb-profile:last-of-type { border-bottom: 1px solid var(--line); }
.eb-profile--text { grid-template-columns: 1fr; }
.was-blog-detail .elementor .elementor-widget .eb-article figure.eb-profile__logo,
.eb-article .eb-profile__logo { margin: 0; }
.eb-profile__panel { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 36px; border-radius: var(--radius-lg); background: #fbf8f2; box-shadow: inset 0 0 0 1px rgba(25, 20, 16, 0.06), 0 14px 30px -18px rgba(0, 0, 0, 0.6); }
.eb-profile__panel img { display: block; width: 100%; height: 100%; object-fit: contain; }
.eb-profile__logo figcaption { margin-top: 10px; font-size: 12px; line-height: 1.55; color: var(--muted); text-align: center; }
.eb-article .eb-profile h3 { margin: 4px 0 12px; font-size: 21px; }
.eb-profile .eb-rich p { font-size: 16px; line-height: 1.8; }
.eb-profile .eb-rich > :last-child { margin-bottom: 0; }

.eb-toollist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px; }
.eb-toollist__item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(243, 236, 224, 0.04); scroll-margin-top: 100px; transition: border-color .2s ease; }
.eb-toollist__item:hover { border-color: rgba(228, 85, 47, 0.55); }
.eb-article .eb-toollist h3 { margin: 2px 0 6px; font-size: 17px; line-height: 1.35; }
.eb-article .eb-toollist h3 a { color: var(--heading); text-decoration: none; }
.eb-article .eb-toollist h3 a:hover { color: var(--accent); }
.eb-article .eb-toollist p { margin: 0; font-size: 14px; line-height: 1.7; }

.eb-article .eb-process { margin: 22px 0 28px; padding: 0; list-style: none; counter-reset: none; }
.eb-process > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.eb-process > li:last-child { border-bottom: 1px solid var(--line); }
.eb-process__num { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--accent); }
.eb-article .eb-process h3 { margin: 2px 0 8px; font-size: 18px; }
.eb-process .eb-rich p { font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; }
.eb-process .eb-rich > :last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .eb-route { grid-template-columns: 1fr; gap: 10px; margin: -12px 0 35px; }
  .eb-route > a, .eb-route > div { padding: 18px 20px; }
  .eb-pair, .eb-examples, .eb-review-columns, .eb-panels, .eb-tool-facts { grid-template-columns: 1fr; }
  .eb-summary { padding: 22px 20px; }
  .eb-test__head { display: block; }
  .eb-toollist { grid-template-columns: 1fr; }
  .eb-profile { grid-template-columns: 1fr; gap: 16px; }
  .eb-profile__logo { max-width: 160px; }
  .eb-brandlogo__row { gap: 20px; padding: 28px 20px; }
  .eb-process > li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .eb-process__num { font-size: 24px; }
  .eb-logo--lg { width: 52px; height: 52px; border-radius: 14px; }
  .eb-logo--md { width: 46px; height: 46px; border-radius: 12px; }
  .eb-test__id, .eb-review-card__head.eb-has-logo { gap: 14px; }
  .eb-article a.eb-test__visit { display: inline-block; margin-top: 14px; }
  .eb-article .eb-shot, .eb-article .eb-shot:nth-child(even), .eb-test__tail { grid-template-columns: 1fr; gap: 14px; }
  .eb-shot:nth-child(even) .eb-shot__img { order: 0; }
  .eb-observed, .eb-stated { padding: 18px 18px; }
  .eb-brief { padding: 24px 22px; }
  .eb-brief dl { grid-template-columns: 1fr; gap: 2px; }
  .eb-brief dd { margin-bottom: 10px; }
  .eb-review-card { padding: 22px 20px; }
  .eb-article .eb-review-card__head h3 { font-size: 23px; }
  .eb-visual-labels { font-size: 11px; gap: 4px; }
  .eb-cta { padding: 24px 22px; }
}

@media (max-width: 1000px) {
  .eb-hero { grid-template-columns: 1fr; padding: 45px 30px; }
  .eb-hero-board { max-width: 630px; }
  .eb-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 30px; }
  .eb-route-notes { grid-template-columns: 1fr; }
  .eb-review-story { grid-template-columns: 1fr; }
  .eb-review-margin { display: none; }
}
@media (max-width: 760px) {
  .eb-layout { display: block; }
  .eb-toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 35px; }
  .eb-toc .eb-eyebrow { width: 100%; margin-bottom: 0; }
  .eb-toc a, .eb-toc a.eb-toc__sub { padding: 0; border: 0; font-size: 12px; }
  .eb-hero { margin: 20px 0 35px; padding: 34px 22px; }
  .eb-decision-grid { grid-template-columns: 1fr; }
  .eb-review { padding: 28px 0; }
  .eb-review-heading { gap: 16px; }
  .eb-rank { font-size: 32px; }
  .eb-article { font-size: 16px; }
  .eb-article section { margin: 50px 0; }
  .eb-deck { font-size: 17px; }
}
@media print {
  .site-header, .site-footer, .eb-toc, .eb-progress { display: none; }
  .eb-layout { display: block; }
  .eb-hero-board { display: none; }
}
