/*
Theme Name: Your HubSpot Expert
Theme URI: https://yourhubspotexpert.com
Description: Custom classic PHP theme for Your HubSpot Expert (Crossbar H rebrand). Warm editorial brand, native CPTs + code-lane content (no ACF), Rank Math SEO. Replaces the previous Astra build. Deployed to 10Web staging via GitHub Actions + SFTP.
Author: Your HubSpot Expert
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: yhe
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================================
   SELF-HOSTED FONTS (Core Web Vitals — no render-blocking Google Fonts request).
   Variable woff2, latin subset. Weights: Space Grotesk 400–700, Hanken 400–800.
   ========================================================================= */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/hanken-grotesk-latin.woff2') format('woff2');
}

/* =========================================================================
   DESIGN TOKENS — single source of truth. Values pulled EXACTLY from
   design_handoff/assets/Color Reference.html (authoritative palette) and
   README.md Design Tokens (type / spacing / radius / shadow).
   Every rule below uses var(--…). Never hard-code a hex, font, or magic
   number in a template or in page CSS — add a token here first.
   ========================================================================= */
:root {
  /* — Brand — */
  --burnt-orange: #D9501F; /* primary: buttons, links, accents, the crossbar */
  --ember:        #B8401A; /* primary hover / pressed */
  --flame:        #FF6A3D; /* accent ON dark surfaces (burnt orange muddies on carbon) */
  --apricot:      #F0A883; /* soft accent / card hover border */
  --peach-tint:   #FBE7DB; /* highlight background: icon chips, tags */

  /* — Ink & warm neutrals — */
  --ink:       #1A1A1E; /* primary text; dark tiles */
  --graphite:  #3A3A40; /* secondary text */
  --stone:     #8B8474; /* muted text, eyebrows on light */
  --sand:      #E6E0D1; /* borders / rules */
  --paper:     #FBFAF5; /* cards / raised surfaces */
  --bone:      #F4F1EA; /* page background */
  --warm-body: #5C5648; /* muted paragraph text inside Paper cards */

  /* — Dark surface — */
  --carbon:      #16171A; /* large dark sections (How-we-work, Contact) */
  --slate:       #1F2125; /* dark surface panels within Carbon */
  --slate-line:  #33363C; /* borders on dark */
  --footer-bg:   #111214; /* footer background */
  --footer-line: #2A2C31; /* footer rules */
  --cream:       #F3F0E8; /* text on dark */
  --ash:         #9A958A; /* muted text on dark */
  --muted-cream: #C9C4B8; /* body text on dark sections (lighter than ash) */
  --hairline:    #ECE5D6; /* hairline divider over Paper */

  /* — Typography — */
  --font-display: 'Space Grotesk', system-ui, sans-serif; /* headings, eyebrows, numbers */
  --font-body:    'Hanken Grotesk', system-ui, sans-serif; /* body, UI, paragraphs */

  /* — Layout — */
  --maxw:   1240px;
  --gutter: 40px;   /* horizontal page padding */
  --section-y: 80px; /* section vertical rhythm (78–84px in design) */

  /* — Radius — */
  --radius-btn:     11px;
  --radius-input:   10px;
  --radius-card:    16px;
  --radius-card-lg: 20px;
  --radius-pill:    100px;

  /* — Shadow — */
  --shadow-card:      0 20px 44px -22px rgba(26, 26, 30, .28);
  --shadow-card-soft: 0 6px 18px -12px rgba(26, 26, 30, .28);
  --shadow-hero:      0 30px 60px -24px rgba(26, 26, 30, .45);
  --shadow-btn-hover: 0 14px 30px -12px rgba(217, 80, 31, .55);
}

/* =========================================================================
   RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}

::selection { background: var(--burnt-orange); color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--burnt-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================================
   LAYOUT UTILITIES
   ========================================================================= */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burnt-orange);
}

/* Accessibility: skip link + screen-reader-only text */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 8px; top: -48px;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-input);
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--burnt-orange);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--sand); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* =========================================================================
   SITE HEADER / NAV
   Sticky translucent Bone bar + blur, Sand bottom border.
   Desktop: brand left · link group (~38px gap) · Book-a-Call CTA right.
   Mobile (≤860px): link group hides, hamburger reveals a dropdown panel.
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bone) 85%, transparent); /* translucent Bone */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sand);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 15px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav-brand .logo-mark { width: 36px; height: 36px; }
.nav-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink);
}

.nav-primary ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-primary a {
  display: inline-block;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-primary a:hover,
.nav-primary .current-menu-item > a { color: var(--burnt-orange); }

.nav-cta { flex-shrink: 0; }

/* Hamburger — hidden on desktop, shown ≤860px */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: 4px;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-input);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown panel */
.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--sand);
  box-shadow: 0 24px 44px -24px rgba(26, 26, 30, .4);
  padding: 10px 20px 22px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile ul { list-style: none; }
.nav-mobile nav a {
  display: block;
  padding: 15px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline); /* hairline over Paper */
}
.nav-mobile .btn { width: 100%; margin-top: 16px; }

/* =========================================================================
   SITE FOOTER
   ========================================================================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--ash);
}
.site-footer .container { padding-block: 60px 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--footer-line);
}
.footer-brand .logo-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.footer-brand .logo-lockup .logo-mark { width: 34px; height: 34px; }
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--cream);
}
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 300px; margin-bottom: 18px; }
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--slate);
  border: 1px solid var(--slate-line);
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 12.5px;
  color: var(--muted-cream);
}
.partner-badge .star { color: var(--flame); }

.footer-col h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--flame); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 13px;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: var(--flame); }

/* =========================================================================
   ANIMATION KEYFRAMES (used from M1 onward — hero, floats, count-up cards)
   All GPU-only (transform / opacity). Reduced-motion guard at the bottom.
   ========================================================================= */
@keyframes yhe-float    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes yhe-float-sm { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes yhe-float2   { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-16px,-14px); } }
@keyframes yhe-fade-up  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes yhe-rise     { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes yhe-glow     { 0%,100% { opacity: .45; transform: scale(1); } 50% { opacity: .8; transform: scale(1.05); } }
@keyframes yhe-aurora   { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* =========================================================================
   RESPONSIVE — breakpoints ~860px (tablet) and ~520px (phone).
   Page-section responsive rules are added per-milestone; this covers the
   shared header / footer skeleton.
   ========================================================================= */
@media (max-width: 860px) {
  :root { --gutter: 20px; }

  .nav-primary,
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 520px) {
  .btn { width: 100%; }
  .nav-mobile .btn { width: 100%; }
}

/* Respect reduced-motion everywhere. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   PAGE / SECTION STYLES — scoped, token-based. No inline styles in templates.
   Decorative translucent fills use color-mix() so no raw hex leaks into CSS.
   ========================================================================= */

/* ---- Shared primitives ---- */
.container--narrow { max-width: 900px; }
.container--article { max-width: 760px; }
.container--wide { max-width: 1140px; }
.section-pad { padding-block: 80px; }
.meetings-iframe-container { min-height: var(--embed-min-height, 540px); }

.section--dark { background: var(--carbon); color: var(--cream); }

.eyebrow--flame { color: var(--flame); }
.eyebrow--center { text-align: center; }

.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head--narrow { max-width: 640px; }
.section-head--center { text-align: center; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head__lede { font-size: 16px; color: var(--graphite); max-width: 380px; }

.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 15px; }
.pill--eyebrow { background: var(--paper); border: 1px solid var(--sand); color: var(--burnt-orange); }
.pill--peach { background: var(--peach-tint); color: var(--burnt-orange); letter-spacing: .06em; }

.tag { font-size: 12.5px; color: var(--graphite); background: var(--bone); border: 1px solid var(--sand); border-radius: 7px; padding: 5px 10px; }
.tag--peach { background: var(--peach-tint); border-color: transparent; color: var(--burnt-orange); font-family: var(--font-display); font-weight: 600; font-size: 13px; }

.arrow-link { display: inline-flex; align-items: center; gap: 6px; color: var(--burnt-orange); font-weight: 600; font-size: 14.5px; transition: gap .2s ease; }
.arrow-link:hover { gap: 11px; }
.arrow-link--flame { color: var(--flame); }

.stars { color: var(--burnt-orange); font-size: 15px; letter-spacing: 1px; }

/* ---- HOME: hero ---- */
.home-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper), var(--bone)); }
.home-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.home-hero__aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(38% 48% at 18% 28%, color-mix(in srgb, var(--burnt-orange) 22%, transparent), transparent 70%),
    radial-gradient(44% 54% at 82% 40%, color-mix(in srgb, var(--apricot) 38%, transparent), transparent 70%),
    radial-gradient(50% 60% at 50% 98%, color-mix(in srgb, var(--flame) 18%, transparent), transparent 70%);
  background-size: 200% 200%;
  animation: yhe-aurora 20s ease-in-out infinite;
}
.confetti { position: absolute; display: block; }
.confetti--1 { width: 14px; height: 14px; border-radius: 4px; left: 16%; top: 26%; background: var(--burnt-orange); opacity: .6; animation: yhe-float 7s ease-in-out infinite; }
.confetti--2 { width: 10px; height: 10px; border-radius: 50%; left: 28%; top: 64%; background: var(--apricot); animation: yhe-float2 9s ease-in-out infinite; }
.confetti--3 { width: 16px; height: 16px; border-radius: 5px; left: 41%; top: 20%; background: var(--flame); opacity: .55; animation: yhe-float 8s ease-in-out infinite -2s; }
.confetti--4 { width: 9px; height: 9px; border-radius: 50%; left: 55%; top: 72%; background: var(--burnt-orange); opacity: .5; animation: yhe-float2 7.5s ease-in-out infinite -1s; }
.confetti--5 { width: 12px; height: 12px; border-radius: 4px; left: 8%; top: 70%; background: var(--apricot); opacity: .75; animation: yhe-float 10s ease-in-out infinite -5s; }
.confetti--6 { width: 11px; height: 11px; border-radius: 50%; left: 63%; top: 30%; background: color-mix(in srgb, var(--ink) 12%, transparent); animation: yhe-float2 9.5s ease-in-out infinite -2s; }

.home-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; padding-block: 76px 66px; }
.home-hero__content { animation: yhe-fade-up .8s ease both; }
.home-hero__content h1 { font-weight: 600; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.03; letter-spacing: -.025em; margin: 22px 0 20px; text-wrap: balance; }
.home-hero__subhead { font-size: 18.5px; line-height: 1.62; color: var(--graphite); max-width: 500px; }
.home-hero__chips { display: flex; gap: 22px; margin: 26px 0 32px; flex-wrap: wrap; }
.check-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.check-chip .check { color: var(--burnt-orange); font-weight: 700; }
.home-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero__fineprint { font-size: 14px; color: var(--stone); margin-top: 18px; }

.home-hero__media { position: relative; animation: yhe-rise 1s ease both; }
.home-hero__glow { position: absolute; inset: -9% -6% -13% -6%; z-index: 0; border-radius: 44px; filter: blur(30px); background: radial-gradient(58% 55% at 62% 42%, color-mix(in srgb, var(--burnt-orange) 30%, transparent), color-mix(in srgb, var(--apricot) 12%, transparent) 55%, transparent 74%); animation: yhe-glow 7s ease-in-out infinite; }
.home-hero__img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: var(--radius-card-lg); box-shadow: var(--shadow-hero); animation: yhe-float 7s ease-in-out infinite; }
.home-hero__stat { position: absolute; z-index: 2; left: -24px; bottom: -24px; background: var(--ink); color: var(--cream); border-radius: var(--radius-card); padding: 18px 24px; box-shadow: 0 22px 44px -16px color-mix(in srgb, var(--ink) 60%, transparent); animation: yhe-float 5.5s ease-in-out infinite -1.5s; }
.home-hero__stat-value { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--flame); }
.home-hero__stat-label { font-size: 12.5px; color: var(--ash); }
.home-hero__rating { position: absolute; z-index: 2; right: -18px; top: -18px; background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; padding: 13px 18px; box-shadow: 0 18px 34px -18px color-mix(in srgb, var(--ink) 35%, transparent); animation: yhe-float-sm 6.5s ease-in-out infinite -3s; }
.home-hero__rating-stars { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--burnt-orange); }
.home-hero__rating-label { font-size: 12px; color: var(--stone); }

/* ---- HOME: trust bar ---- */
.trust-bar { border-block: 1px solid var(--sand); background: var(--bone); }
.trust-bar .container { padding-block: 30px; }
.trust-bar__label { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 26px; }
.trust-bar__logos { display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-bar__logo { flex: 1; min-width: 200px; max-width: 260px; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 20px 22px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card-soft); }
.trust-bar__logo img { width: 100%; max-width: 230px; height: auto; object-fit: contain; }

/* ---- HOME: pain ---- */
.pain { background: var(--paper); }
.pain .container { padding-block: var(--section-y); }
.pain__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain__card { background: var(--bone); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 28px; }
.pain__card h3 { font-size: 15px; color: var(--burnt-orange); margin-bottom: 10px; }
.pain__card p { font-size: 15.5px; line-height: 1.6; color: var(--graphite); }

/* ---- Services grid (Home + archive) ---- */
.services { background: var(--bone); scroll-margin-top: 80px; }
.services .container { padding-block: var(--section-y); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { border: 1px solid var(--sand); border-radius: 18px; padding: 28px; background: var(--paper); display: block; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--apricot); }
.service-card__num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--peach-tint); color: var(--burnt-orange); font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.service-card h2, .service-card h3 { font-size: 20px; margin-bottom: 9px; }
.service-card p { font-size: 14.5px; color: var(--warm-body); line-height: 1.6; margin-bottom: 16px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.service-card--cta { background: var(--ink); color: var(--cream); border-color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.service-card--cta p { color: var(--ash); }

/* ---- HOME: how we work (dark) ---- */
.how { scroll-margin-top: 80px; }
.how .container { padding-block: 84px; }
.how__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.how__left h1, .how__left h2 { font-size: clamp(30px, 4.4vw, 42px); margin: 14px 0 18px; }
.how__body { font-size: 17.5px; line-height: 1.62; color: var(--muted-cream); margin-bottom: 26px; max-width: 480px; }
.principles { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.principles li { display: flex; gap: 14px; align-items: flex-start; }
.principles__check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--flame) 16%, transparent); color: var(--flame); display: flex; align-items: center; justify-content: center; font-size: 14px; margin-top: 1px; }
.muted-dark { color: var(--ash); }
.how .btn { margin-top: 30px; }
.how__panel { background: var(--slate); border: 1px solid var(--slate-line); border-radius: var(--radius-card-lg); padding: 32px; }
.how__panel-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); margin-bottom: 22px; }
.steps { list-style: none; }
.steps__item { display: flex; gap: 18px; padding-bottom: 22px; }
.steps__item + .steps__item { border-top: 1px solid var(--footer-line); padding-top: 22px; }
.steps__item:last-child { padding-bottom: 0; }
.steps__num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: var(--carbon); border: 1px solid var(--slate-line); color: var(--flame); font-family: var(--font-display); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.steps__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.steps__item p { font-size: 14.5px; color: var(--ash); line-height: 1.55; }

/* ---- HOME: about / stats ---- */
.about { background: var(--paper); scroll-margin-top: 80px; }
.about .container { padding-block: var(--section-y); }
.about__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.about__left h2 { font-size: clamp(28px, 4vw, 38px); margin: 12px 0 18px; }
.about__body { font-size: 17px; line-height: 1.62; color: var(--graphite); margin-bottom: 24px; }
.prop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prop { background: var(--paper); border: 1px solid var(--sand); border-radius: 12px; padding: 14px 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 11px; }
.prop__check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--peach-tint); color: var(--burnt-orange); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--bone); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 26px; }
.stat-card__value { font-family: var(--font-display); font-weight: 700; font-size: 44px; color: var(--burnt-orange); }
.stat-card__label { font-size: 14px; color: var(--warm-body); margin-top: 4px; }

/* ---- HOME: client results ---- */
.work { background: var(--bone); scroll-margin-top: 80px; }
.work .container { padding-block: var(--section-y); }
.work__list { display: flex; flex-direction: column; gap: 20px; }
.case-study { border: 1px solid var(--sand); border-radius: var(--radius-card-lg); padding: 34px; background: var(--paper); display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.case-study--panel { background: linear-gradient(180deg, var(--paper), var(--bone)); padding: 38px; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.case-study__tags { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.case-study__service { font-size: 13px; color: var(--stone); }
.case-study h3 { font-size: 24px; margin-bottom: 12px; }
.case-study blockquote { font-size: 15px; line-height: 1.6; color: var(--graphite); font-style: italic; margin-bottom: 14px; }
.case-study--panel blockquote { color: var(--warm-body); }
.case-study__author { font-size: 14px; }
.case-study__author span { color: var(--stone); font-weight: 400; }
.case-study__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric { background: var(--bone); border: 1px solid var(--sand); border-radius: 13px; padding: 22px 18px; text-align: center; }
.case-study--panel .metric { background: var(--paper); border-color: transparent; }
.metric__value { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--burnt-orange); }
.metric__label { font-size: 12.5px; color: var(--warm-body); margin-top: 4px; }

/* ---- HOME: reviews strip ---- */
.reviews-strip { background: var(--paper); scroll-margin-top: 80px; }
.reviews-strip .container { padding-block: var(--section-y); }
.reviews-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: var(--bone); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 26px; }
.review-card blockquote { font-size: 15px; line-height: 1.6; color: var(--graphite); margin: 12px 0 16px; }
.review-card figcaption { font-size: 14px; font-weight: 600; }
.review-card figcaption span { color: var(--stone); font-weight: 400; }

/* ---- HOME: contact (dark) ---- */
.home-contact { scroll-margin-top: 80px; }
.home-contact .container { padding-block: 82px; }
.home-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.home-contact__left h2 { font-size: clamp(30px, 4.4vw, 42px); margin: 14px 0 18px; }
.home-contact__body { font-size: 17px; line-height: 1.62; color: var(--muted-cream); margin-bottom: 28px; max-width: 440px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.check-list__check { width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--flame) 16%, transparent); color: var(--flame); display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ---- HubSpot Meetings embed ---- */
.home-contact__embed, .contact-page__embed { background: var(--paper); border-radius: var(--radius-card-lg); padding: 16px; color: var(--ink); box-shadow: 0 28px 60px -28px color-mix(in srgb, var(--ink) 60%, transparent); }
.contact-page__embed { border: 1px solid var(--sand); }
.meetings-iframe-container { border-radius: 14px; overflow: hidden; }
.meetings-fallback { min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 44px 28px; background: var(--paper); }
.meetings-fallback .logo-mark { margin-bottom: 18px; }
.meetings-fallback__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.meetings-fallback p { font-size: 14px; color: var(--stone); line-height: 1.55; max-width: 300px; margin-bottom: 20px; }

/* ---- Page hero (archives, reviews, 404) ---- */
.page-hero { background: linear-gradient(180deg, var(--paper), var(--bone)); }
.page-hero .container { padding-block: 64px 40px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); margin: 4px 0 18px; }
.page-hero__lede { font-size: 18px; line-height: 1.6; color: var(--graphite); max-width: 560px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lede { margin-inline: auto; }

/* ---- SERVICE single ---- */
.svc-hero { background: linear-gradient(180deg, var(--paper), var(--bone)); }
.svc-hero .container { padding-block: 48px 64px; }
.breadcrumb { font-size: 13.5px; color: var(--stone); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb__current { color: var(--graphite); }
.svc-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.svc-hero__content h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.05; margin: 20px 0 18px; }
.svc-hero__subhead { font-size: 18px; line-height: 1.62; color: var(--graphite); max-width: 500px; }
.svc-hero__ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.svc-hero__outcomes { background: var(--ink); border-radius: 18px; padding: 30px; color: var(--paper); }
.svc-hero__outcomes-label { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--burnt-orange); margin-bottom: 20px; }
.svc-hero__outcome { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; }
.svc-hero__outcome + .svc-hero__outcome { border-top: 1px solid var(--footer-line); padding-top: 16px; }
.svc-hero__outcome:last-child { padding-bottom: 0; }
.svc-hero__outcome dt { color: var(--ash); font-size: 14.5px; }
.svc-hero__outcome dd { font-family: var(--font-display); font-weight: 700; font-size: 26px; }

.svc-included { background: var(--paper); }
.svc-included .container { padding-block: 78px 20px; }
.svc-included__title, .svc-process__title { font-size: clamp(28px, 3.8vw, 36px); margin-bottom: 38px; max-width: 640px; }
.svc-included .eyebrow, .svc-process .eyebrow { margin-bottom: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--apricot); }
.feature-card__icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: var(--peach-tint); font-size: 19px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--warm-body); line-height: 1.6; }

.svc-process { background: var(--paper); }
.svc-process .container { padding-block: 78px; }
.svc-process__title { margin-bottom: 40px; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 24px; }
.process-step__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--burnt-orange); margin-bottom: 14px; }
.process-step h3 { font-size: 16px; margin-bottom: 7px; }
.process-step p { font-size: 13.5px; color: var(--warm-body); line-height: 1.55; }

.svc-body { background: var(--paper); }
.svc-body .container { padding-block: 20px 40px; }
.svc-case { background: var(--paper); }
.svc-case .container { padding-block: 40px 78px; }

.svc-compare { background: var(--paper); }
.svc-compare .container { padding-block: 40px 40px; }
.svc-compare__title { font-size: clamp(26px, 3.6vw, 34px); text-align: center; margin-bottom: 28px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 15px 16px; border-bottom: 1px solid var(--sand); text-align: center; }
.compare-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--graphite); }
.compare-table thead th:first-child, .compare-table tbody th { text-align: left; }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table .is-highlight { background: var(--peach-tint); color: var(--burnt-orange); font-weight: 700; border-bottom-color: var(--apricot); }
.compare-table thead .is-highlight { border-radius: 12px 12px 0 0; }
.compare-table tbody tr:last-child .is-highlight { border-radius: 0 0 12px 12px; }

.svc-faq { background: var(--paper); }
.svc-faq .container { padding-block: 78px; }

/* ---- FAQ accordion ---- */
.faq__eyebrow { text-align: center; margin-bottom: 12px; }
.faq__heading { font-size: clamp(26px, 3.6vw, 34px); text-align: center; margin-bottom: 32px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; }
.faq__item summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 17.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--burnt-orange); font-size: 24px; line-height: 1; flex-shrink: 0; transition: transform .2s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--warm-body); }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band__inner { padding-block: 70px; text-align: center; }
.cta-band__inner h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 12px; }
.cta-band__inner p { font-size: 17px; color: var(--ash); margin-bottom: 26px; }

/* ---- REVIEWS page ---- */
.rating-summary { display: inline-flex; align-items: center; gap: 40px; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 24px 40px; box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--ink) 30%, transparent); margin-top: 8px; }
.rating-summary__num { font-family: var(--font-display); font-weight: 700; font-size: 38px; }
.rating-summary__num--accent { color: var(--burnt-orange); }
.rating-summary__stars { color: var(--burnt-orange); font-size: 15px; }
.rating-summary__cap { font-size: 13px; color: var(--warm-body); }
.rating-summary__rule { width: 1px; height: 48px; background: var(--sand); }
.reviews-masonry .container { padding-block: 50px 30px; }
.reviews-masonry__cols { column-count: 3; column-gap: 18px; }
.reviews-masonry .review-card { break-inside: avoid; margin-bottom: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.reviews-masonry .review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.review-card--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.review-card--dark blockquote { color: var(--paper); }
.review-card__author { display: flex; align-items: center; gap: 11px; margin-top: 4px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.review-card--dark .avatar { background: var(--burnt-orange); }
.review-card__name { display: block; font-size: 14px; font-weight: 600; }
.review-card__meta { display: block; font-size: 12.5px; color: var(--stone); }
.review-card--dark .review-card__meta { color: var(--ash); }

/* ---- CONTACT page ---- */
.contact-page__wrap { background: linear-gradient(180deg, var(--paper), var(--bone)); }
.contact-page__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; padding-block: 64px 80px; }
.contact-page__left h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.06; margin: 4px 0 18px; }
.contact-page__lede { font-size: 18px; line-height: 1.62; color: var(--graphite); max-width: 460px; margin-bottom: 36px; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 14px; }
.contact-details__icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: var(--peach-tint); font-size: 18px; }
.contact-details__label { display: block; font-size: 13px; color: var(--stone); }
.contact-details__value { display: block; font-size: 15px; font-weight: 600; }

/* ---- BLOG index ---- */
.blog-hero { border-bottom: 1px solid var(--sand); }
.blog-hero .container { padding-block: 64px 40px; }
.blog-hero h1 { font-size: clamp(34px, 5.2vw, 52px); line-height: 1.04; margin: 4px 0 18px; max-width: 760px; }
.blog-hero__lede { font-size: 18px; line-height: 1.6; color: var(--graphite); max-width: 560px; }
.pill-row { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.pill--filter { background: var(--paper); color: var(--graphite); border: 1px solid var(--sand); font-family: var(--font-body); font-weight: 500; font-size: 13.5px; letter-spacing: 0; text-transform: none; padding: 9px 17px; }
.pill--filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.blog-featured .container { padding-block: 50px 30px; }
.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.featured-post__media, .post-card__media { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.featured-post__img, .post-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.featured-post:hover .featured-post__img, .post-card:hover .post-card__img { transform: scale(1.04); }
.featured-post__img--placeholder, .post-card__img--placeholder { background: linear-gradient(135deg, var(--sand), var(--peach-tint)); }
.featured-post__tags { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.featured-post__meta { font-size: 13px; color: var(--stone); }
.featured-post__title { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin-bottom: 14px; transition: color .2s ease; }
.featured-post:hover .featured-post__title { color: var(--burnt-orange); }
.featured-post__excerpt { font-size: 16px; line-height: 1.6; color: var(--warm-body); margin-bottom: 22px; }
.featured-post__author, .post-article__byline { display: flex; align-items: center; gap: 12px; }
.featured-post__name { display: block; font-size: 14px; font-weight: 600; }
.featured-post__date { display: block; font-size: 13px; color: var(--stone); }

.blog-grid-section .container { padding-block: 30px 20px; }
.blog-grid-section__head { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--sand); padding-top: 36px; margin-bottom: 34px; }
.blog-grid-section__head h2 { font-size: 26px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.post-card__media { margin-bottom: 18px; border-radius: 14px; }
.post-card__cat { display: block; font-size: 12.5px; color: var(--burnt-orange); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.post-card__title { font-size: 20px; line-height: 1.25; margin-bottom: 10px; transition: color .2s ease; }
.post-card:hover .post-card__title { color: var(--burnt-orange); }
.post-card__excerpt { font-size: 14.5px; color: var(--warm-body); line-height: 1.55; margin-bottom: 16px; }
.post-card__meta { font-size: 13px; color: var(--stone); }

/* ---- Glossary ---- */
.glossary .container { padding-block: 40px 80px; }
.glossary__title { font-size: clamp(26px, 3.6vw, 34px); margin: 8px 0; }
.glossary__lede { font-size: 16px; color: var(--warm-body); line-height: 1.6; max-width: 560px; margin-bottom: 30px; }
.glossary__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.glossary__item { background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; padding: 22px 24px; }
.glossary__item dt { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 7px; }
.glossary__item dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--warm-body); }

/* ---- SINGLE post ---- */
.post-article__head { padding-block: 56px 0; }
.post-article__cat { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 12px; background: var(--peach-tint); color: var(--burnt-orange); border-radius: 6px; padding: 6px 12px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.post-article__title { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; margin-bottom: 22px; }
.post-article__byline { padding-bottom: 30px; border-bottom: 1px solid var(--sand); }
.post-article__author { display: block; font-size: 15px; font-weight: 600; }
.post-article__date { display: block; font-size: 13.5px; color: var(--stone); }
.post-article__hero { margin-top: 36px; }
.post-article__hero img { width: 100%; height: auto; border-radius: var(--radius-card); }
.post-article__body { padding-block: 44px 20px; }

/* Article prose */
.entry-content { font-size: 18px; line-height: 1.75; color: var(--graphite); }
.entry-content > * + * { margin-top: 24px; }
.entry-content h2 { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.01em; margin: 44px 0 16px; scroll-margin-top: 90px; color: var(--ink); }
.entry-content h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin: 32px 0 12px; color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 10px; }
.entry-content strong { color: var(--ink); font-weight: 700; }
.entry-content a { color: var(--burnt-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { border-radius: var(--radius-card); height: auto; }
.entry-content blockquote { border-left: 3px solid var(--burnt-orange); padding: 6px 0 6px 24px; margin: 32px 0; font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }

/* Auto TOC */
.toc { background: var(--carbon); color: var(--cream); border-radius: var(--radius-card); padding: 24px 28px; margin: 10px 0 34px; }
.toc__label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--flame); margin-bottom: 14px; }
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; }
.toc__list a { color: var(--cream); font-size: 15px; }
.toc__list a:hover { color: var(--flame); }

.author-box { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 28px; display: flex; gap: 18px; align-items: center; margin-top: 30px; }
.avatar--lg { width: 58px; height: 58px; font-size: 20px; }
.author-box__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.author-box__bio { font-size: 14.5px; color: var(--warm-body); line-height: 1.55; }

/* Key-takeaways + TOC dark box (pipeline posts) */
.post-takeaways { background: var(--carbon); color: var(--cream); border-radius: var(--radius-card); padding: 28px 30px; margin-top: 36px; }
.post-takeaways__label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--flame); margin-bottom: 14px; }
.post-takeaways ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.post-takeaways li { font-size: 16px; line-height: 1.5; color: var(--muted-cream); }
.post-takeaways li strong { color: var(--cream); font-weight: 700; }
.post-takeaways__toc { border-top: 1px solid var(--slate-line); margin-top: 20px; padding-top: 18px; }
.post-takeaways__toc-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); margin-bottom: 12px; }
.post-takeaways .toc__list { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; }
.post-takeaways .toc__list a { color: var(--cream); font-size: 15px; }
.post-takeaways .toc__list a:hover { color: var(--flame); }

/* Post FAQ — left-aligned (vs the centered service FAQ) */
.post-faq { padding-top: 20px; }
.post-faq .faq__eyebrow, .post-faq .faq__heading { text-align: left; }
.post-faq .faq__heading { font-size: clamp(24px, 3.2vw, 30px); margin-bottom: 24px; }

.keep-reading .container { padding-block: 64px 20px; }
.keep-reading__title { font-size: 26px; margin-bottom: 28px; }

.error-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; margin-bottom: 28px; }

/* Thank-you page */
.thank-you-page .check-list { display: inline-flex; flex-direction: column; text-align: left; gap: 12px; margin: 8px auto 28px; }
.check-list--light .check-list__check { background: var(--peach-tint); color: var(--burnt-orange); }
.thank-you-page__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Pagination + search form */
.pagination { margin-top: 44px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pagination a, .pagination .current { padding: 9px 15px; border-radius: var(--radius-input); border: 1px solid var(--sand); background: var(--paper); font-weight: 600; font-size: 14px; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search-form { display: flex; gap: 10px; margin-top: 22px; max-width: 440px; }
.search-form .search-field { flex: 1; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius-input); padding: 13px 15px; font-family: var(--font-body); font-size: 14px; }
.search-form .search-submit { flex-shrink: 0; }

/* ---- Photo avatars (blog author) ---- */
.avatar--photo { background: var(--peach-tint); overflow: hidden; padding: 0; }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- HOME: philosophy ---- */
.philosophy { background: var(--paper); border-top: 1px solid var(--sand); }
.philosophy__inner { padding-block: 82px; text-align: center; max-width: 960px; }
.philosophy__photo { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--peach-tint); margin: 0 auto 24px; box-shadow: 0 16px 34px -16px color-mix(in srgb, var(--ink) 35%, transparent); }
.philosophy__photo img { width: 100%; height: 100%; object-fit: cover; }
.philosophy .eyebrow { margin-bottom: 22px; }
.philosophy__quote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.32; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.philosophy__quote .em { color: var(--burnt-orange); }
.philosophy__body { font-size: 17px; line-height: 1.62; color: var(--graphite); max-width: 640px; margin: 26px auto 0; }
.philosophy__author { margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.philosophy__author span { color: var(--stone); font-weight: 400; }

/* ---- HOME: built for enterprise (cards) ---- */
.enterprise { background: var(--bone); border-top: 1px solid var(--sand); }
.enterprise .container { padding-block: 74px; }
.enterprise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.enterprise__card { background: var(--paper); border: 1px solid var(--sand); border-radius: 18px; padding: 30px; }
.enterprise__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--peach-tint); color: var(--burnt-orange); margin-bottom: 18px; }
.enterprise__card h3 { font-size: 19px; margin-bottom: 9px; }
.enterprise__card p { font-size: 15px; line-height: 1.6; color: var(--warm-body); }

/* ---- SERVICE: enterprise strip (compact) ---- */
.enterprise-strip { background: var(--bone); border-top: 1px solid var(--sand); }
.enterprise-strip .container { padding-block: 46px; }
.enterprise-strip__label { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 22px; }
.enterprise-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.enterprise-strip__item { display: flex; gap: 13px; align-items: flex-start; }
.enterprise-strip__icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--peach-tint); color: var(--burnt-orange); }
.enterprise-strip__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.enterprise-strip__body { font-size: 13.5px; line-height: 1.5; color: var(--warm-body); }

/* ---- CONTACT: "you'll be talking to" card ---- */
.contact-expert { display: flex; align-items: center; gap: 15px; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius-card); padding: 16px 18px; margin-bottom: 24px; max-width: 460px; }
.contact-expert__photo { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--peach-tint); }
.contact-expert__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-expert__pre { font-size: 13px; color: var(--stone); margin-bottom: 2px; }
.contact-expert__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.contact-expert__role { font-size: 13px; color: var(--warm-body); }

/* =========================================================================
   PAGE-LEVEL RESPONSIVE
   ========================================================================= */
@media (max-width: 860px) {
  .home-hero__inner,
  .how__inner,
  .about__inner,
  .home-contact__inner,
  .svc-hero__inner,
  .contact-page__inner,
  .featured-post { grid-template-columns: 1fr; }
  .home-hero__inner { gap: 34px; padding-block: 48px 40px; }
  .home-hero__stat { left: 12px; bottom: -18px; }
  .home-hero__rating { right: 12px; }
  .how .container, .home-contact .container { padding-block: 56px; }

  .pain__grid,
  .services__grid,
  .reviews-strip__grid,
  .feature-grid,
  .stat-grid,
  .prop-grid,
  .enterprise__grid,
  .enterprise-strip__grid,
  .post-grid,
  .glossary__list { grid-template-columns: 1fr; }

  .case-study { grid-template-columns: 1fr; gap: 28px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-masonry__cols { column-count: 2; }
  .rating-summary { gap: 24px; padding: 20px 24px; flex-wrap: wrap; justify-content: center; }
  .section-head--split { align-items: flex-start; }
}

@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
  .reviews-masonry__cols { column-count: 1; }
  .trust-bar__logos { gap: 12px; }
}
