/*
Theme Name: EquityPath
Theme URI: https://equitypath.com/
Author: MANE Digital
Author URI: https://manedigital.com/
Description: FSE block theme for EquityPath (B2B SaaS). Built in partnership with New Path Digital. Designer-prepared Figma source.
Version: 0.9.38
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: equitypath
*/

/* ===========================================================================
   DESIGN-SYSTEM PRIMITIVES
   theme.json owns tokens (color, type, spacing); this file owns the variant
   + utility CSS that theme.json can't express.

   Working fonts: Manrope (sans) + Fraunces (serif) from Google Fonts, self-
   hosted under assets/fonts/. Working substitutes for the designer's Roobert +
   Season Mix-TRIAL + Matter-TRIAL pending Kelly's reply on licensing path.
   See context/draft-bc-fonts-question.md.
   =========================================================================== */

/* -----------------------------------------------------------------------------
   @font-face — self-hosted variable fonts (Latin + Latin Extended)
   theme.json registers Manrope + Fraunces via `fontFace` but WordPress only
   inlines the primary file; declare the latin-ext sibling here for the
   curly-quote / en-dash / em-dash glyphs used in English copy.
----------------------------------------------------------------------------- */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/Manrope-Variable-LatinExt.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Removed 2026-05-28: @font-face for Source Serif 4 Latin-Ext.
 * Serif slug now uses minion-pro (typekit) with Georgia/Times fallback only.
 * Loading Source Serif 4 as a local variable font caused the browser to prefer
 * it over the typekit's static Minion 400 face for non-standard weights like
 * 420 — Minion would never actually paint. See git log for the diagnostic
 * chain (commits 24ae030..HEAD on 2026-05-28). */

/* -----------------------------------------------------------------------------
   Global resets / body
----------------------------------------------------------------------------- */

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -----------------------------------------------------------------------------
   BUTTON VARIANTS — registered in functions.php, styled here
   Figma source: Request Demo (Hero) — Midnight Harbor Dark Blue #004164,
   radius 8px, padding 12px 32px, label cream #FFF9F2 Roobert→Manrope 500
----------------------------------------------------------------------------- */

.wp-block-button .wp-block-button__link {
  font-family: var(--wp--preset--font-family--sans);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 500;
  line-height: 1;
  border-radius: 8px;
  padding: 12px 32px;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  text-decoration: none;
}

/* HOVER — SITEWIDE STANDARD (Sasha 2026-07-03, supersedes the 2026-06-10
   "no hovers pending designer" note): every button hovers to Harbor Pressed
   #0F2552, matching the webinar "Submit registration" treatment. Applies to
   all variants (header Contact us is filled-primary) + form submits below.
   On-dark + outline variants also flip text to cream so the label survives
   the dark fill. */
.wp-block-button.is-style-filled-primary .wp-block-button__link:hover,
.wp-block-button.is-style-filled-accent .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--harbor-pressed);
}
.wp-block-button.is-style-filled-on-dark .wp-block-button__link:hover,
.wp-block-button.is-style-outline-primary .wp-block-button__link:hover,
.wp-block-button.is-style-outline-accent .wp-block-button__link:hover,
.wp-block-button.is-style-outline-on-dark .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--harbor-pressed);
  border-color: var(--wp--preset--color--harbor-pressed);
  color: var(--wp--preset--color--cream);
}

.wp-block-button.is-style-filled-primary .wp-block-button__link {
  background-color: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
}

.wp-block-button.is-style-filled-accent .wp-block-button__link {
  background-color: var(--wp--preset--color--harbor);
  color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-filled-on-dark .wp-block-button__link {
  background-color: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--harbor-dark);
}

.wp-block-button.is-style-outline-primary .wp-block-button__link {
  background-color: transparent;
  color: var(--wp--preset--color--harbor-dark);
  border-color: var(--wp--preset--color--harbor-dark);
}

.wp-block-button.is-style-outline-accent .wp-block-button__link {
  background-color: transparent;
  color: var(--wp--preset--color--harbor);
  border-color: var(--wp--preset--color--harbor);
}

.wp-block-button.is-style-outline-on-dark .wp-block-button__link {
  background-color: transparent;
  color: var(--wp--preset--color--cream);
  border-color: var(--wp--preset--color--cream);
}

/* -----------------------------------------------------------------------------
   SECTION VARIANTS — registered in functions.php, styled here
   Use on outer wp:group of a section pattern.
----------------------------------------------------------------------------- */

.wp-block-group.is-style-section-light {
  background-color: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--ink);
}

.wp-block-group.is-style-section-primary {
  background-color: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
}
.wp-block-group.is-style-section-primary :is(h1, h2, h3, h4, h5, h6) {
  color: var(--wp--preset--color--cream);
}

.wp-block-group.is-style-section-gradient {
  background: var(--wp--preset--gradient--hero-conic);
}

/* -----------------------------------------------------------------------------
   EYEBROW — small all-caps label
   Figma source: SF Pro Display 12.96px, weight 500, UPPER (style_QXEMWR)
   Substitute: Manrope 13px, weight 500, UPPER
----------------------------------------------------------------------------- */

.wp-block-heading.is-style-eyebrow {
  font-family: var(--wp--preset--font-family--sans);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--harbor);
  margin-bottom: 12px;
}

/* -----------------------------------------------------------------------------
   TOP-LEVEL SECTION SPACING
   WP's default --wp--style--block-gap is 24px, which is far smaller than the
   inter-section rhythm of the Figma homepage. Figma section frames sit 128px
   apart; Sasha specified 94px between visible sections on 2026-06-01. Apply
   94px to every direct child of .wp-site-blocks except the first (which sits
   flush against the page top) and except .site-footer (which must sit flush
   against the demo-CTA panel above it, so the panel "sits on the footer
   line"). The 1px footer top-stroke is the visible transition.
----------------------------------------------------------------------------- */

.wp-site-blocks > * + * { margin-block-start: 94px; }
/* The footer is rendered via a template-part, so the direct child of
   .wp-site-blocks is the OUTER <footer class="wp-block-template-part">,
   not .site-footer. Target the wrapper so demo-cta sits flush against the
   footer's curved top stroke. */
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 0 !important; }
.wp-site-blocks > header                        { margin-block-start: 0; }
/* The hero is the first content section under the header — it must NOT take the
   94px inter-section gap. Figma places the H1 at y=176 from the very top of the
   page (header included). Header renders 81px (80 + 1px bottom stroke), so the
   gap from header bottom to H1 = 95px, delivered via the hero's own padding-top.
   (request-demo keeps the 94px margin — its Figma headline sits +59 inside the
   hero group, so it doesn't want margin:0.) */
.wp-site-blocks > .hero,
.wp-site-blocks > .why-hero,
.wp-site-blocks > .product-hero,
.wp-site-blocks > .resources-hero { margin-block-start: 0; }

/* Single templates (blog + webinar, 2026-07-02): their sections carry the
   measured Figma rhythm in their own padding (post-row 64 + post-related 64
   = 128, etc.), so the 94px template-root rule is zeroed for them. Scoped by
   sibling so demo-cta on OTHER template pages keeps the 94. */
.wp-site-blocks > .post-related,
.wp-site-blocks > .post-related + .demo-cta,
.wp-site-blocks > .webinar-speaker,
.wp-site-blocks > .webinar-speaker + .demo-cta { margin-block-start: 0; }

/* Content-driven pages (Sasha 2026-06-22): page sections live in post_content,
   so they render inside a .wp-block-post-content wrapper rather than directly
   under .wp-site-blocks. Re-apply the same 94px inter-section rhythm inside the
   wrapper, keep the wrapper flush under the header, and (like the template-root
   heroes) leave the first section flush — it's the first child so it takes no
   inter-section margin automatically. */
.wp-site-blocks > .wp-block-post-content { margin-block-start: 0; }
.wp-block-post-content > * + * { margin-block-start: 94px; }
/* request-demo-hero is the exception that KEEPS a 94px top even as first section
   (its Figma headline sits inset in the hero group). */
.wp-block-post-content > .request-demo-hero:first-child { margin-block-start: 94px; }

/* -----------------------------------------------------------------------------
   PER-SECTION CSS — appended below as patterns are built
----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
   HEADER — parts/header.html
   Figma: 429:4515 "Frame 393" — 1440 × 80, padding 20/72, fill cream,
   bottom stroke rgba(0,65,100,0.24), border-radius 0 0 32 32, backdrop-blur 80px.
----------------------------------------------------------------------------- */

/* Sticky has to be applied to the OUTER template-part wrapper
   (<header class="wp-block-template-part">), not the inner .site-header,
   because the inner header is wrapped by WP's template-part container which
   has its own height matching its content — leaving no scroll room for the
   inner element to "stick" within. The outer wrapper's scrolling ancestor is
   the body, which is what we want. */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  /* Frosted-glass styling lives on the inner header (the actual visible band).
     Semi-transparent cream + backdrop-filter lets content scroll beneath with
     a frosted edge. Figma: 1440 × 80, padding 20/72, fill cream @ ~0.85 alpha,
     bottom 1px stroke rgba(0,65,100,0.24), border-radius 0/0/32/32. */
  background-color: rgba(255, 249, 242, 0.85);
  border-bottom: 1px solid rgba(0, 65, 100, 0.24);
  border-radius: 0 0 32px 32px;
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  padding: 20px 72px;
  min-height: 80px;
  box-sizing: border-box;
}

.site-header__inner {
  /* Inner row: Figma centers the 3 groups as a unit with 234px between them.
     Match by using justify-content: center + gap. Inner content stays within
     the 1296px max-width but the row itself is hug-sized via inline-flex behavior. */
  max-width: 1296px;
  margin: 0 auto;
  width: 100%;
  justify-content: center !important;
  gap: 234px;
}

/* At narrower viewports, fall back to space-between so the layout doesn't
   break. 2026-07-09: raised from 1300 to 1549 — the EU nav item (Kelly BC
   10070061285) grows the row's min-content to ~1397px, so the literal 234px
   gaps only fit at ≥1550. The Figma note already called 234 "mathematically
   equivalent to space-between at 1440" for the old 5-item nav, so
   space-between is the faithful degradation. */
@media (max-width: 1549px) {
  .site-header__inner {
    justify-content: space-between !important;
    gap: 24px;
  }
}

.site-header__logo img {
  display: block;
  width: 153px;
  height: 32px;
}

/* ---- Primary nav as core/navigation block (Kelly BC 10065374205) ----
   Same measured item spec as the old static links (Figma 429:4529:
   gap 32, 16/150% weight 500, ink). Dropdown panel is NOT IN FIGMA —
   proposed pending review (cream panel, r8, soft navy shadow). */
.site-header .wp-block-navigation .wp-block-navigation-item__content {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  transition: color 160ms ease;
  white-space: nowrap;
}
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--harbor);   /* same hover as old links (Sasha 2026-06-10) */
}
.site-header .wp-block-navigation .wp-block-navigation__submenu-icon {
  color: var(--wp--preset--color--ink);
}
/* dropdown panel — proposed */
.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
  background: var(--wp--preset--color--cream, #FFF9F2);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 65, 100, 0.12);
  padding: 8px 0;
  min-width: 220px;
}
.site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 10px 16px;
  font-weight: 500;
}

/* ---- MOBILE HEADER + HAMBURGER (Figma mobile header 429:5029) ----
   --- FIGMA MEASUREMENTS ---
   header: cream, stroke bottom 1px rgba(0,65,100,.24), blur(40),
           radius 0 0 24 24, side padding 24 (mock top pad 72 = phone
           status bar — implemented as 20px, proposed)
   inner row 345 @ 393 canvas, space-between
   logo 101×21 | right group gap 16: search 21×21, CTA h32 pad 8×16 r8
   14/400 white, hamburger 24×24 (#004164)
   NOT IN FIGMA — proposed: breakpoint 1023px, the OPEN overlay panel
   (cream full-screen, stacked 20px links — no open state in Figma),
   WP default hamburger glyph.
   --- END MEASUREMENTS --- */
/* desktop logo was rendering at SVG-intrinsic 118px (is-resized width:auto
   killer) — pin to the measured Figma 153×32 (429:4517) */
.site-header__logo.site-header__logo img {
  width: 153px;
  height: 32px;
  max-width: none;
}
@media (max-width: 1023px) {
  .site-header {
    border-radius: 0 0 24px 24px;
    backdrop-filter: blur(40px);
    /* kill the 72px global gutters (has-global-padding) — the inner row
       carries the Figma mobile 24px gutters instead */
    padding-left: 0;
    padding-right: 0;
  }
  .site-header .site-header__inner {
    padding: 20px 24px;              /* Figma mobile gutters 24 (desktop 72) */
  }
  .site-header__logo { flex: 0 0 auto; }
  /* tripled class: must beat both the is-resized killer AND the desktop
     153×32 pin above (same file order-sensitivity) */
  .site-header__logo.site-header__logo.site-header__logo img {
    width: 101px;
    height: 21px;
    max-width: none;
  }
  .site-header__search img { width: 21px !important; height: 21px !important; }
  /* expanding search: icon 21 per Figma mobile header; the open input drops
     UNDER the header full-width (no room in the actions row) */
  .site-header__search-form .wp-block-search__button::before { width: 21px; height: 21px; }
  /* the open input positions against the header BAND, not the (relative)
     form — doubled specificity: the desktop position:relative prints later */
  .site-header .site-header__search-form { position: static; }
  .site-header.site-header { position: relative; }
  .site-header__search-form:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    width: auto !important;   /* the desktop open-state 220px prints later */
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 65, 100, 0.12);
  }
  /* extra ancestor beats the later .site-header__cta rule (line ~470) at
     equal-media order */
  .site-header__actions .site-header__cta .wp-block-button__link {
    font-size: 14px;
    height: 32px;                    /* Figma CTA h32 */
    min-height: 32px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
  }
  .site-header__actions { gap: 16px !important; }
  /* hamburger sits at the far right, after search + CTA (Figma order) */
  .site-header .site-header__nav { order: 3; }
  /* extend WP's <600px responsive-nav behavior up to 1023px. !important:
     core re-enables desktop mode at min-width:600 with equal-specificity
     rules whose order vs theme CSS is not guaranteed (block styles can
     print after the theme stylesheet). */
  .site-header .wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--harbor-dark);
    /* explicit box: the 3-bar ::before is the button's only content and
       would shrink the tap target to 18×2 */
    width: 24px;
    height: 24px;
  }
  /* WP core's hamburger glyph is only TWO bars — swap in a standard 3-bar
     icon (Sasha 2026-07-07). Bars 18×2 spaced 6px, drawn with box-shadow. */
  .site-header .wp-block-navigation__responsive-container-open svg { display: none; }
  .site-header .wp-block-navigation__responsive-container-open::before {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }
  .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  /* core's ≥600 desktop-mode reset would un-fix the open overlay too */
  .site-header .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000;
  }
  /* open overlay — proposed (no Figma open state). Top padding clears the
     X (which sits in the hamburger's spot, bottom 68) without the items
     reading "too deep" (Sasha 2026-07-07). */
  .site-header .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--wp--preset--color--cream, #FFF9F2);
    padding: 96px 24px 24px;
  }
  /* the dialog is the close button's positioned ancestor — make it static
     so the X anchors to the fixed overlay and viewport coords hold */
  .site-header .wp-block-navigation__responsive-dialog { position: static; }
  /* core pads the modal content 56px on top — the overlay's own 96px
     already clears the X; without this the items sat 152px deep */
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 0;
  }
  /* backdrop-filter creates a CSS containing block for fixed descendants,
     trapping the overlay inside the header band. Lift it while the modal
     is open — the full-screen overlay hides the blur anyway. */
  html.has-modal-open .site-header { backdrop-filter: none; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    font-size: 20px;
    line-height: 2;
  }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    background: transparent;
    box-shadow: none;
    padding-left: 16px;
    min-width: 0;
  }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    font-size: 17px;
    line-height: 1.9;
    padding: 0;
  }
  /* close X: keep visible at ALL mobile widths (core hides it ≥600), pinned
     in the hamburger's EXACT spot — box (right 24, top 44, 24×24) matches
     the measured hamburger button (Sasha 2026-07-07) */
  .site-header .wp-block-navigation__responsive-container-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--harbor-dark);
    position: absolute;
    top: 44px;
    right: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
  }
  .site-header .wp-block-navigation__responsive-container-close svg {
    width: 24px;
    height: 24px;
  }
}

.site-header__nav .site-header__nav-link {
  /* Each nav item: Manrope 16 / 150% / weight 500 / Font Black */
  margin: 0;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  white-space: nowrap;
}

.site-header__nav .site-header__nav-link a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-header__nav .site-header__nav-link a:hover {
  /* Sasha 2026-06-10: harbor-dark on hover was invisible against the near-black
     (#191919) nav text, so use the brighter brand harbor (#0077B8) as a subtle
     but legible hover. Pending designer's exact hover spec. */
  color: var(--wp--preset--color--harbor);
}

/* Search icon — Figma 429:4536, 27×27 Phosphor glyph (fill #004164 Harbor Dark).
   2026-05-26: removed the white square background that was being painted under
   the glyph; the icon SVG sits directly on the cream header per Figma intent
   (the white "Frame" fill in Figma is the canvas behind the glyph in the icon
   library mockup, not part of the rendered design). */
/* Expanding search — core wp:search in button-only mode (Sasha 2026-07-07),
   replaces the static icon link to /?s=. Icon 27×27 harbor dark per Figma
   429:4536 (same Phosphor asset, core's magnifier hidden).
   NOT IN FIGMA — proposed pending review: the input itself (white, r8, h40,
   1px rgba(0,65,100,.24) border), expand/collapse behavior (core's), the
   mobile drop-under-header placement. */
.site-header__search-form {
  margin: 0;
  position: relative;
  flex-shrink: 0;
}
.site-header__search-form .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  /* core writes width:220px INLINE on the wrapper even when closed — that
     reserves 220px in the header row at every width (row overflow at
     desktop, wrap at phone). The wrapper only ever needs its content:
     icon when closed, icon + CSS-sized input when open. */
  width: auto !important;
}
/* closed: take the input out of flow and kill core's width-collapse
   transition — it briefly re-widened the wrapper on blur, shunting the nav
   sideways for ~200ms (Sasha 2026-07-07). NOT display:none — core removes
   the hidden class and then focuses the input; display:none at that moment
   makes the focus call fail. */
.site-header__search-form.wp-block-search__searchfield-hidden .wp-block-search__input {
  position: absolute;
  width: 0 !important;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;              /* NOT visibility:hidden — core focuses the input
                              in the same directive pass that unhides it, and
                              a visibility-hidden element rejects focus */
  pointer-events: none;
  transition: none !important;
}

/* open input, desktop: drops UNDER the header band with its right edge on
   the search ICON (anchored to the relative form, Sasha 2026-07-07 — the
   gutter-aligned version read as disconnected from the icon). Inline
   expansion is off the table: it pushed the row past the viewport.
   top 35 = band bottom (81) − form bottom (54) + 8 breathing room. */
@media (min-width: 1024px) {
  .site-header__search-form:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
    position: absolute;
    top: calc(100% + 35px);
    right: 0;
    width: 320px;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 65, 100, 0.12);
  }
}
.site-header__search-form .wp-block-search__button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--harbor-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header__search-form .wp-block-search__button svg { display: none; }
.site-header__search-form .wp-block-search__button::before {
  content: "";
  display: block;
  width: 27px;
  height: 27px;
  background: url('assets/icons/search.svg') center / contain no-repeat;
}
.site-header__search-form .wp-block-search__input {
  height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 65, 100, 0.24);
  border-radius: 8px;
  background: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  color: var(--wp--preset--color--ink);
}
.site-header__search-form .wp-block-search__input:focus {
  outline: 2px solid var(--wp--preset--color--harbor);
  outline-offset: 1px;
}

/* legacy static-icon rules (old wp:image markup) — kept for staging until the
   header part deploys, harmless after */
.site-header__search.site-header__search {
  width: 27px;
  height: 27px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.site-header__search.site-header__search img {
  display: block;
  width: 27px;
  height: 27px;
  max-width: none;
  margin: 0;
}

.site-header__search a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 27px;
  height: 27px;
  margin: 0;
  padding: 0;
}

/* Header CTA: tighter padding than the canonical filled-primary button — Figma
   frame is 128 × 40 with 25/8/24/8 text padding. Canonical hero button is taller
   (12/32 padding). Use a compact modifier on the header instance only. */
.site-header__cta .wp-block-button__link {
  padding: 8px 25px 8px 24px;
  min-height: 40px;
  font-weight: 400;  /* Figma style_DNY5F8 is Regular (not the Medium default) */
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* -----------------------------------------------------------------------------
   HERO — patterns/hero.php
   Figma: 429:4116 (text) + 429:4110 (gradient BG + product shot)
----------------------------------------------------------------------------- */

.hero {
  background-color: var(--wp--preset--color--cream);
  padding: 0;
}

.hero__text {
  max-width: 857px;
  margin: 0 auto;
  /* Top padding places the H1 at y=176 from page top: header (81px incl. 1px
     stroke) + 95px = 176. No bottom padding — Figma has the gradient panel
     overlapping the bottom of the text section (gradient bg at y=540, button at
     y=560). Closing the gap to bring the Request Demo button onto the gradient. */
  padding: 95px 24px 0;
  text-align: center;
}

.hero__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 56px;
  font-weight: 420;
  /* Figma: line-height 150% (84px at 56). Headline frame 857×168 → 2 lines. */
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}

.hero__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  max-width: 588px;
  margin: 0 auto 48px;
}

.hero__trust {
  justify-content: center;
  margin: 0 0 48px;
  /* WP's flex layout class provides the flex container + gap from blockGap; just
     center horizontally and add vertical rhythm to the next element. */
}

.hero__trust-item {
  /* WP's flex layout class handles the row + gap 12px between icon and label. */
  align-items: center;
}

/* Higher specificity to beat WP's `.wp-block-image.is-resized > img { width: auto }`.
   Figma: 32 × 32 trust icons (EU Standards / Global Workforce / Expert-Built). */
.hero__trust-icon.hero__trust-icon img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: none;
}

.hero__trust-label {
  margin: 0;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--harbor);
  text-align: left;
  white-space: nowrap;
}

.hero__cta .wp-block-button__link {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 400;
  min-height: auto;
}

/* Editability (Kelly BC 10061501384 / 10061731870, 2026-07-03): hero product
   shots are removable per instance. When the editor deletes the image, the
   whole gradient panel collapses on the FRONT-END only — in the editor the
   empty panel stays visible as the re-add slot (add_editor_style prefixes
   selectors with .editor-styles-wrapper, so the body:not() guard never
   matches there). NOT IN FIGMA — no "image removed" hero state in design;
   collapse-to-text-only proposed pending review. */
body:not(.editor-styles-wrapper) .hero__media:not(:has(img)),
body:not(.editor-styles-wrapper) .product-hero__media:not(:has(img)),
body:not(.editor-styles-wrapper) .why-hero__media:not(:has(img)) {
  display: none;
}

.hero__media {
  /* Full-width gradient panel containing the product shot.
     Figma: gradient 0/0/32/32 bottom-rounded only, gutter 29px sides + 34px top.
     Negative margin-top pulls the gradient up to overlap the bottom of the
     hero text — matching Figma where gradient bg (y=540) starts before the
     button (y=560), so the button visually sits on the cream-top of the
     gradient (gradient's top 16% is #FFF9F2, blending into the text section). */
  background: linear-gradient(180deg, #FFF9F2 16%, #0077B8 70%, #004164 100%);
  border-radius: 0 0 32px 32px;
  padding: 34px 29px;
  /* Cap at the 1440 design canvas and center on the viewport (Sasha
     2026-08-27: full-bleed on wider monitors is too much). At <=1440 this is
     identical to the alignfull bleed; above it the panel becomes a centered
     1440 island with cream either side. The mobile pass overrides width/
     margins below 1024 as before. NOT IN FIGMA (canvas is 1440) — proposed. */
  width: min(100vw, 1440px);
  /* 2026-08-27: the product-shot PNG carried 153px of transparent top padding
     (8% of its 1920 width) that used to hold the image clear of the Request
     Demo button. The asset is now trimmed (rotator alignment), so that gap is
     restored here as an explicit, width-relative offset: 8% of the panel
     width minus the 2x29 side padding share ≈ the old 99px at 1440 / 23px
     at 393. Applies to single-image and rotating heroes alike. */
  padding-top: calc(29px + min(8vw, 115px));
  padding-bottom: calc(29px + min(3vw, 43px));   /* = side inset (Sasha 2026-08-27: the full top-sized band below read as excess) */
  /* Sides: the Figma frame is 1382 wide at x=29 but held the UNTRIMMED PNG
     (60px transparent each side) — the visible dashboard is 1296 wide at
     x=72..1368. Asset trimmed, so the inset is explicit: 29 + 43 at 1440.
     All four use vw capped at the 1440 canvas so the fixed-width panel
     stops scaling its insets on wide monitors. */
  padding-left: calc(29px + min(3vw, 43px));
  padding-right: calc(29px + min(3vw, 43px));
  margin-top: -72px;
  position: relative;
  z-index: 0;
}

/* centering must out-rank core's `.has-global-padding > .alignfull`
   negative-margin rule (0,2,0): 50% of the section's content box minus half
   the capped width -> x = (viewport - 1440)/2 above 1440, 0 at/below it. */
.hero .hero__media.alignfull {
  margin-left: calc(50% - min(50vw, 720px)) !important;
  margin-right: 0 !important;
}

/* Noise-texture overlay — Figma uses fill_X2JFRH (transparent black noise)
   over this gradient too. Sasha 2026-05-29: noise was visible in the CREAM
   area too, making it look gray. Fix with mask-image: gradient that's
   TRANSPARENT in the top 16% (matches the gradient's cream zone) and ramps
   to opaque by the harbor zone. Result: cream stays clean, noise only
   appears in the blue + navy areas. z-index: 1 above gradient bg,
   product-shot z-index: 2 below for clarity. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.55;
  mix-blend-mode: normal;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 16%, black 40%);
          mask-image: linear-gradient(180deg, transparent 16%, black 40%);
}

.hero__product-shot {
  position: relative;
  z-index: 2;
}

.hero__text {
  position: relative;
  z-index: 1;
}

/* Tighten the gap between hero and the first section that follows it.
   Without this override, WP's block-gap (24px) + the section's padding-top (48)
   sum to a ~72px gap visible as empty cream below the hero's bottom-rounded
   gradient panel. User feedback: the gap was reading too big.
   2026-05-26: trust-cards is excluded — it needs the full 128px gap below the
   hero (per user direction; trust-cards owns its own padding-top). */
.hero + section:not(.trust-cards),
.wp-block-group:has(> .hero) + section:not(.trust-cards),
.hero + .wp-block-group:not(.trust-cards) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero__product-shot {
  margin: 0;
}

.hero__product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Hero image ROTATOR (Kelly BC 10238204486, 2026-08-25): when the media slot
   holds 2+ images, assets/js/hero-rotator.js adds .has-rotator + cycles
   .is-showing (front end only). All images share one grid cell; the tallest
   sets the panel height, shorter ones center on the gradient. In the editor
   the images simply stack, each selectable. NOT IN FIGMA — proposed: 6s
   dwell, 1s crossfade. */
/* Pre-JS state (Sasha 2026-08-27): with 2+ images the slot must ALREADY be
   the overlay at first paint — otherwise the images stack in flow until
   hero-rotator.js runs (visible on slow loads), then snap. :has() applies
   the grid + hides all but the first image; JS just moves .is-showing.
   Front-end only so the editor keeps the stacked, selectable view. */
body:not(.editor-styles-wrapper) .hero__media:has(> .wp-block-image + .wp-block-image),
body:not(.editor-styles-wrapper) .product-hero__media:has(> .wp-block-image + .wp-block-image),
body:not(.editor-styles-wrapper) .why-hero__media:has(> .wp-block-image + .wp-block-image) {
  display: grid;
  align-items: start;
}
body:not(.editor-styles-wrapper) .hero__media:has(> .wp-block-image + .wp-block-image) > .wp-block-image,
body:not(.editor-styles-wrapper) .product-hero__media:has(> .wp-block-image + .wp-block-image) > .wp-block-image,
body:not(.editor-styles-wrapper) .why-hero__media:has(> .wp-block-image + .wp-block-image) > .wp-block-image {
  grid-area: 1 / 1;
  margin: 0 !important;
  position: relative;
  z-index: 2;
  transition: opacity 1s ease;
}
body:not(.editor-styles-wrapper) .hero__media:has(> .wp-block-image + .wp-block-image) > .wp-block-image:not(:first-child):not(.is-showing),
body:not(.editor-styles-wrapper) .product-hero__media:has(> .wp-block-image + .wp-block-image) > .wp-block-image:not(:first-child):not(.is-showing),
body:not(.editor-styles-wrapper) .why-hero__media:has(> .wp-block-image + .wp-block-image) > .wp-block-image:not(:first-child):not(.is-showing) {
  opacity: 0;
  pointer-events: none;
}

.hero__media.has-rotator,
.product-hero__media.has-rotator,
.why-hero__media.has-rotator {
  display: grid;
  /* top-align + a small push-down so images of different heights share the
     same top edge (Sasha 2026-08-27). The product shot asset had 153px of
     transparent padding baked in — trimmed, so this offset is now explicit.
     NOT IN FIGMA — proposed: 40px. */
  align-items: start;
}
.hero__media.has-rotator > .wp-block-image,
.product-hero__media.has-rotator > .wp-block-image,
.why-hero__media.has-rotator > .wp-block-image {
  grid-area: 1 / 1;
  margin: 0 !important;          /* is-layout-flow sibling margin would offset slide 2+ */
  position: relative;
  z-index: 2;                    /* above the ::after noise overlay, like the single shot */
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero__media.has-rotator > .wp-block-image.is-showing,
.product-hero__media.has-rotator > .wp-block-image.is-showing,
.why-hero__media.has-rotator > .wp-block-image.is-showing {
  opacity: 1;
  pointer-events: auto;
}
.hero__media.has-rotator > .wp-block-image img,
.product-hero__media.has-rotator > .wp-block-image img,
.why-hero__media.has-rotator > .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* -----------------------------------------------------------------------------
   TRUST CARDS (One powerful platform) — patterns/trust-cards.php
   Figma: 429:4135 — 2-col section, headline + CTA left, stacked-deck card right.
----------------------------------------------------------------------------- */

/* Inner content area — Figma 429:4135 is 1292×329 but the project's canonical
   grid is 1296 (1440 − 72×2). Aligning here so trust-cards' edges sit on the
   same vertical rails as products / cta-image-1 / cta-image-2 / testimonials
   (all 1296). 4px of slack distributed into the middle gap: 491 + 133 + 672
   = 1296 exact. Left col + right col widths stay at Figma's 491 and 672. */
.trust-cards__inner {
  max-width: 1296px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 133px;
  min-height: 329px;
}

/* Left col 429:4175 / layout_LU7MKQ = 491 × 329.
   Headline at top (y=0-180), button at y=275 (top) so button bottom = y=329. */
.trust-cards__text {
  flex: 0 0 491px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Right col 429:4136 / layout_59VWGI = 672 × 329 at (620,0). */
.trust-cards__stack-wrap {
  flex: 0 0 672px;
  min-width: 0;
}

/* Trust-cards headline — Figma node 429:4176, style_9ZQUP8.
   Season Mix-TRIAL Regular 40/150% LEFT TOP, fill Font Black (#191919).
   Frame layout_93D7E7 = 491 × 180. Working sub: Source Serif 4 wght 420.
   `h2.` prefix needed to beat theme.json `:where(h2)` color default. */
h2.trust-cards__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);
  margin: 0;
  max-width: 491px;
}

/* Stack-wrap = right column 672 × 329 (layout_59VWGI). All children are
   absolutely positioned at exact Figma coords inside this 672×329 box.
   Per Figma 429:4135, the FRONT card is at (72,72) — bottom-right of the
   stack — and decoys peek UP-LEFT behind it. */
.trust-cards__stack-wrap {
  position: relative;
  width: 672px;
  height: 329px;
}

/* margin: 0 overrides WP's `.is-layout-flow > * + * { margin-block-start: 24px }`
   which otherwise shifts absolute-positioned children down by 24px from their
   `top:` value. Same fix needed on .trust-cards__accent below. */
.trust-cards__card {
  position: absolute;
  width: 600px;
  height: 200px;
  margin: 0;
  background: var(--wp--preset--color--white);
  border: 0.5px solid var(--wp--preset--color--harbor);
  border-radius: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 52px 67px;  /* Frame 403 layout_KQQWVS at (67,52) → padding equivalent */
}

/* 2026-05-26: trust-cards rebuilt as an animated DECK CYCLE (assets/js/deck-cycle.js).
   All 4 cards have content. Each carries a .pos-N modifier that JS rotates every 4s:
   front (.pos-0) fades, snaps to back (.pos-3), all others slide forward one position.
   Position values match Figma's staircase math (24px steps, flipped per Sasha so front
   is top-left and decoys peek down-right).

   Shared between trust-cards (homepage) and product-real-results (product page).
   Use `.deck-card` as the marker class JS finds; `.pos-N` controls position;
   `.is-fading` controls the fade-out state. */

/* Default transition: top/left for the slide, opacity 0.8s for the slower
   fade-IN (per Sasha — back card emerging at pos-3 should ease in more gently). */
.deck-card {
  transition: top 0.6s ease, left 0.6s ease, opacity 0.8s ease,
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.6s ease;
  opacity: 1;
  /* Click-to-promote (Kelly 2026-07-02): any card can be clicked to the front
     — see deck-cycle.js. Cursor is the only visual affordance (proposed,
     NOT IN FIGMA — no hover spec exists for the deck). */
  cursor: pointer;
}
/* Kelly BC 10261396302 (2026-09-01): "animation is really subtle" — NOT IN
   FIGMA, proposed. Two additions, same 4.5s rhythm:
   1. the FRONT card carries a soft lift shadow (deck-cycle.js toggles .is-front),
      so the incoming card visibly rises as it lands;
   2. the outgoing card is dealt off the top — slides up-left with a slight tilt
      while it fades (was: fade in place) — then eases back into the rear slot. */
.deck-card.is-front {
  box-shadow: 0 20px 48px -12px rgba(0, 65, 100, 0.28);
}
.deck-card.pos-0 { top: 0;    left: 0;    z-index: 5; }
.deck-card.pos-1 { top: 24px; left: 24px; z-index: 4; }
.deck-card.pos-2 { top: 48px; left: 48px; z-index: 3; }
.deck-card.pos-3 { top: 72px; left: 72px; z-index: 2; }

/* Fading state: opacity 0.6s to MATCH the slide duration — front fades out and
   the next card reaches pos-0 at the same moment. */
.deck-card.is-fading {
  opacity: 0;
  transform: translate(-12px, -36px) rotate(-1.5deg);
  transition: top 0.6s ease, left 0.6s ease, opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.4, 0, 0.6, 1), box-shadow 0.6s ease;
}

/* NOTE 2026-06-10: a scroll-driven "stack entrance" was trialed here and reverted
   (Sasha) — the designer's reference lacked clear specs and risked open-ended
   back-and-forth. trust-cards stays on the time-based deck rotation (deck-cycle.js)
   until the designer provides an exact animation note. Lenis smooth-scroll trial
   was kept. See .value-capture/kelly-update-2026-06-10.md. */

/* Harbor Blue back rect — Figma layout_Y6A0CB at (367,129). 305×200. z=1. */
.trust-cards__accent {
  position: absolute;
  top: 129px;
  left: 367px;
  width: 305px;
  height: 200px;
  margin: 0;
  background: var(--wp--preset--color--harbor);
  border-radius: 32px;
  z-index: 1;
  box-sizing: border-box;
}

/* "Free to try" text — Figma 429:4174 / style_7N1B9K / layout_0OGVHM.
   Figma frame is 236×17 at (402,290) — text RIGHT-aligned to that frame's
   right edge (= 638 in cards-block coords, 271 inside accent).
   Manrope (Roobert substitute) is slightly wider than Roobert; widen text
   container to 270px to keep it on one line while preserving right alignment. */
.trust-cards__accent-text {
  position: absolute;
  top: 161px;
  right: 34px;          /* anchor to text frame's right edge (272 - 16 padding) */
  width: 270px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--wp--preset--color--cream);
  margin: 0;
  text-align: right;
}

.trust-cards__icon {
  flex-shrink: 0;
  margin: 0;
}

/* Beat WP's .wp-block-image.is-resized > img { width: auto }. */
.trust-cards__icon.trust-cards__icon img {
  display: block;
  width: 96px;
  height: 96px;
  max-width: none;
  object-fit: contain;
}

.trust-cards__title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.trust-cards__body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Request Demo button — Figma 429:4177 / layout_L8V7R4: padding 16/32, hug.
   Text 429:4178 / style_4S5JTC: Roobert Regular 18 CENTER, fill cream. */
.trust-cards__text .wp-block-button__link {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 400;
}

/* Legacy .trust-cards__pill rule removed 2026-05-26 — replaced by the
   .trust-cards__accent + .trust-cards__accent-text combo above, matching the
   absolute-positioned staircase + accent treatment used on product-real-results. */

/* -----------------------------------------------------------------------------
   FEATURE SHOWCASE (horizontal carousel) — patterns/feature-showcase.php (429:4179)
   4-up by default, scrolls horizontally when N > 4 via CSS scroll-snap.
----------------------------------------------------------------------------- */

/* Feature-showcase per Figma 429:4179 — measured (1368×496 section, headline
   483×120 at (407,0), pill row 1368×328 at (0,168), content frame 1320 wide
   inside row, 4 cards × 324px + 3 gaps × 80px = 1536 → 216px overflows the
   row right edge → card 4 partially clipped as horizontal-scroll preview).
   Headline is style_7OL20D (Source Serif 4 wght 420 40/150% CENTER ink). */
h2.feature-showcase__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);
  text-align: center;
  margin: 0 auto 48px;
  max-width: 483px;
}

/* Carousel: horizontally scrollable. With section content-area 1296px and
   row-content 1536px, card 4 is clipped on the right by default — provides
   the "this is a slider" visual hint without needing arrow controls. */
.feature-showcase__carousel {
  /* Right-bleed only: carousel anchors at the section's LEFT content edge
     (x = (100vw − 1296)/2 from viewport) and extends to viewport-right.
     So card 1 still aligns with the headline column, but card 4 spills off
     the right edge of the viewport (intentional "more to scroll" cue, per
     Figma). max-width:none undoes WP's constrained-layout clamp on non-
     aligned children; explicit margin-left:0 + margin-right:auto keeps the
     box pinned to its natural left start; width = half-viewport + half-
     content = distance from content-left to viewport-right. */
  max-width: none;
  width: calc(50vw + 648px);
  /* Anchor the carousel's LEFT edge at the same content-rail x as the headline
     ((100vw − 1296)/2 from viewport-left), then let it bleed RIGHT to viewport
     edge. WP's constrained layout achieves the same x for headline via
     margin:auto on a 1296-wide child; here we set margin-left explicitly
     because our width (1368) breaks that auto-center calc. !important wins
     over WP's `is-layout-constrained > * { margin-inline: auto !important }`. */
  margin-left: calc((100vw - 1296px) / 2) !important;
  margin-right: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  /* Snap-align card 1's left at the same x where its hover-chrome ::before
     STARTS (chrome inset: -49 -44 means chrome left = card-content-left − 44).
     Setting scroll-padding-left: 44 makes the snap target sit 44px inside the
     carousel left, so when card 1 snaps, its CHROME lands flush with the grid
     edge (x=72) instead of bleeding 44px past it. */
  scroll-padding-left: 44px;
  margin: 0;
  /* Vertical padding must accommodate the .feature-showcase__card::before
     active-state chrome which extends -49px above and below the card. Without
     this, overflow-y:hidden (required by overflow-x:auto) slices off the
     rounded top/bottom corners and the harbor outline's horizontal edges,
     leaving just two vertical blue lines. 56 = 49 chrome extension + 7 slack. */
  padding: 56px 0 56px;
  /* Scrollbar hidden but scroll stays functional (Sasha 2026-06-20).
     The card right-bleed is the "more to scroll" cue, so no visible track. */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* old Edge/IE */
}

/* Chrome / Safari / Edge — hide the bar entirely (still scrollable). */
.feature-showcase__carousel::-webkit-scrollbar { width: 0; height: 0; display: none; }
.feature-showcase__carousel:focus-visible {
  outline: 2px solid var(--wp--preset--color--harbor);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Track: 4 cards each 324px wide, gap 80 per Figma layout_QRRE02.
   `padding-left: 48` insets card content so that when the hover-chrome
   pseudo-element paints with `inset: -49 -44`, the chrome's LEFT edge
   lands at the section's 1296-grid left rail (x=72) rather than extending
   44px PAST the grid (which read as misaligned). Matches Figma 429:4181
   where the featured-rect's left edge sits on the grid and card content
   is inset 48px from the chrome's left. */
.feature-showcase__track {
  display: flex;
  gap: 80px;
  padding-left: 48px;
  align-items: flex-start;
}

/* Each card — plain content by default (no chrome). Per user 2026-05-26:
   the rounded-white "featured" treatment Figma showed on Card 1 becomes the
   :hover state for ALL cards. The hover bg + border are painted by a
   pseudo-element that EXTENDS outside the 324px card footprint (to ~412×328,
   matching Figma's featured-rect padding around content) so the card layout
   doesn't shift on hover and adjacent cards don't get covered. */
.feature-showcase__card {
  position: relative;
  /* Own stacking context so the ::before (z-index:-1) paints INSIDE this card,
     below its own content but ABOVE the section's cream bg. Without isolation,
     z-index:-1 escapes to the section context and the white active-state bg
     gets painted behind the cream section background → invisible. */
  isolation: isolate;
  flex: 0 0 324px;
  scroll-snap-align: start;
}

.feature-showcase__card::before {
  content: "";
  position: absolute;
  inset: -49px -44px;     /* Figma: featured rect 412×328 around a 324-wide content; ~44 horizontal padding, ~49 vertical */
  background-color: transparent;
  border: 0.5px solid transparent;
  border-radius: 32px;
  z-index: -1;
  transition: background-color 200ms ease, border-color 200ms ease;
  pointer-events: none;
}

/* Active state is class-driven (toggled by inline JS on mouseenter/focusin).
   First card defaults to .is-active on page load; transfers to the hovered
   card and stays there. */
.feature-showcase__card.is-active::before {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--harbor);
}

/* Higher specificity than `.is-layout-flex > :is(*, div) { margin: 0 }` from
   core WP. Without the extra class, my margin loses to (0,1,1). */
.feature-showcase__card .feature-showcase__icon {
  /* Figma card content layout (VAQKHV, mode:none): icon at y=0-48, text block
     starts at y=96. That's a 48px gap from icon to text block. Card's flex
     blockGap is 16 (gap inside text block between title and body), so the icon
     needs +32px below to reach the 48 total separation. */
  margin: 0 0 32px;
}

.feature-showcase__icon.feature-showcase__icon img {
  display: block;
  width: 48px;
  height: 48px;
  max-width: none;
}

.feature-showcase__card-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 19px;          /* Figma style_7JKQ6C: Roobert SemiBold 19 (was 21, drift caused text to wrap taller) */
  font-weight: 600;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.feature-showcase__card-body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Narrower viewports: 2-up + peek, then 1-up + peek. Sized against the
   MOBILE PASS geometry (24px gutters, track gap 16) so ~32px of the next
   card always shows inside the right gutter — the swipe affordance
   (Sasha 2026-07-07). */
@media (max-width: 1023px) {
  .feature-showcase__card {
    /* container = 100vw − 48 gutters; 2 cards + 2×16 gap + 32 peek */
    flex: 0 0 calc((100vw - 112px) / 2);
  }
}
@media (max-width: 640px) {
  .feature-showcase__card {
    /* 1 card + 16 gap + 32 peek: card = 100vw − 48 − 48 */
    flex: 0 0 calc(100vw - 96px);
  }
}

/* -----------------------------------------------------------------------------
   PRODUCTS (tabs) — patterns/products.php (429:4227)
   2-col layout from Figma layout_X0P08Z: 419-wide tabs left, 800-wide panel
   right, 77px gap between. Total 1296. See pattern docblock for full node map.
----------------------------------------------------------------------------- */

.products__layout {
  /* Figma: left col 419 + 77 gap + right col 800 = 1296. */
  align-items: flex-start;
  gap: 77px;
}
/* Kelly BC 10261584298 (2026-09-01): centre the screenshot panel against the
   tab list instead of pinning it to the top (Figma had them top-aligned).
   Parent-prefixed so it beats the block's own verticalAlignment container rule. */
.products .products__layout {
  align-items: center;
}

.products__tabs {
  flex: 0 0 419px;
  min-width: 0;
}

/* Parent-prefixed so the margin-bottom beats WP's `.is-layout-flex > *
   { margin: 0 }`, which was zeroing it and jamming the heading onto the first
   card. Sasha 2026-06-18: 50px from heading to the first product card. */
.products__tabs .products__heading {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;        /* style_9ZQUP8 */
  font-weight: 420;
  line-height: 1.5;       /* Figma lh 150% — 40 × 1.5 = 60, matches 60px height */
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);   /* fill Font Black */
  margin: 0 0 50px;       /* 50px gap heading → first product card */
}

/* Each tab — INACTIVE state (default).
   All tabs stretch to the full 419 left-col width and carry a 48px HORIZONTAL
   inset as PADDING (not margin). This puts the title/body at the same x (48)
   whether the tab is active or not, so selecting a product never shifts its
   text sideways (Sasha 2026-06-18 — designer feedback). Padding is used because
   WP's `.is-layout-flex > * { margin: 0 }` zeroes child margins, which is why
   the previous margin-left indent collapsed and the inactive items sat flush
   left. Inactive tabs have NO vertical padding (Figma inactive = title+body,
   81 tall); active adds 32px top/bottom. */
.products__tab {
  cursor: pointer;
  border: 0.5px solid transparent;
  border-radius: 32px;
  background-color: transparent;
  box-sizing: border-box;
  padding: 0 48px;
  transition: background-color 160ms ease, border-color 160ms ease, padding 160ms ease;
  outline: none;
  margin: 0;
}

/* Vertical stack gap between tabs — Figma 48px. (.classname+.classname beats
   WP's `.is-layout-flex > *` margin reset.) */
.products__tab + .products__tab {
  margin-top: 48px;
}

.products__tab:focus-visible {
  outline: 2px solid var(--wp--preset--color--harbor);
  outline-offset: 2px;
}
/* Kelly BC 10261401619 (2026-09-01): hover affordance on the inactive tabs —
   NOT IN FIGMA (no hover spec). Half-strength preview of the active state:
   translucent white fill + faint harbor outline, no padding change so nothing
   shifts. Rides the existing 160ms background/border transition. */
/* Sasha 2026-09-02: the hover box was tight to the text (inactive tabs have
   0 vertical padding). Paint it on a ::before that extends 16px above/below
   the text instead of changing padding, so nothing in the column shifts. */
.products__tab {
  position: relative;
  isolation: isolate;   /* ::before at z -1 stays above the section bg, under the text */
}
.products__tab:not(.is-active)::before {
  content: "";
  position: absolute;
  inset: -16px 0;
  border-radius: 32px;
  border: 0.5px solid transparent;
  background-color: transparent;
  transition: background-color 160ms ease, border-color 160ms ease;
  z-index: -1;
  pointer-events: none;
}
@media (hover: hover) {
  .products__tab:not(.is-active):hover::before {
    background-color: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 119, 184, 0.5);
  }
}

/* ACTIVE tab — Figma 429:4231: 419 wide (full left col), 188 tall, white bg,
   Harbor 0.5 stroke, 32 radius. Content inset stays 48px horizontal (no x-shift
   vs inactive); gains 32px vertical padding.

   NOTE (Sasha 2026-06-18): the left/right padding is intentionally equal (48px,
   DOM-verified). The body's visible right whitespace looks larger only because
   the PLACEHOLDER lorem wraps ~one word short of the 321px content box in the
   Manrope substitute (the licensed Roobert is narrower and fills the line). This
   is correct as-is — do NOT hard-code a narrower card width to chase it; it
   balances with the real font + real copy. */
.products__tab.is-active {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--harbor);
  padding: 32px 48px;
}

/* Inactive tab title — Figma layout_DJP7EX etc 90-95 wide × 25 tall = 1 line of
   Roobert SemiBold 21. */
.products__tab-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;        /* style_HML9WB Roobert SemiBold 21 */
  font-weight: 600;
  line-height: 25px;      /* Figma: line-height 25px exactly */
  color: var(--wp--preset--color--ink);   /* fill Font Black #191919 */
  margin: 0;
}

/* Body — Figma layout_B3IOK5: 324 × 48 at y=33 (8px gap below 25-tall title).
   Parent-prefixed selectors (.products__tab …) raise specificity above WP's
   `.is-layout-flex > * { margin: 0 }`, which was zeroing these gaps and
   collapsing the card from 188 to ~163.

   EDITOR-PROOF (Kelly 2026-07-02, BC 10057178193): paragraphs added/split in
   the block editor come out WITHOUT .products__tab-body, so some cards had the
   8px gap and others 0 (WP's flex margin reset won on the unclassed ones).
   Match every paragraph in the card except the Learn More link so client edits
   can never diverge. Para→para gap is NOT IN FIGMA (single-para design) —
   8px proposed, mirrors the title→body rhythm. */
.products__tab p:not(.products__tab-link) {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;       /* style_F23VRM lh 150% — 24px on 16 */
  color: var(--wp--preset--color--ink);   /* fill Font Black, NO opacity per Figma */
  margin: 8px 0 0;        /* Figma: 8px gap below title */
}

/* Learn More link — Figma 429:4234: only on active tab. Roobert Reg 16,
   UNDERLINE, Midnight Harbor Dark Blue. Sits 24px below body bottom. */
.products__tab .products__tab-link {
  margin: 24px 0 0;       /* Figma: 24px gap below body */
  line-height: 19px;      /* Figma "Learn More" row is 19px tall (keeps card at 188) */
  display: none;
}

.products__tab.is-active .products__tab-link {
  display: block;
}

.products__tab .products__tab-link a {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;        /* style_FAOTW0 */
  font-weight: 400;       /* Figma is Regular */
  line-height: 19px;      /* Figma: line-height 19px */
  color: var(--wp--preset--color--harbor-dark);   /* fill Midnight Harbor Dark Blue #004164 */
  text-decoration: underline;
}

/* Right column — Figma 429:4247 / layout_B4QE22: 800 × 720, radius 32.
   Bg: cached dump (2026-05-21) reported fill_VMUIUB = conic_angular at 50%
   50%. The 2026-05-27 render Sasha shared shows a clearly RADIAL light source
   from the top-right corner (his words: "see how radial gradient comes from
   right corner") — the conic produced a visible cream-to-navy wrap-band in
   the lower-left that read as a sharp seam. Switching to a radial gradient
   that matches the visible Figma render. Same 3 stops (cream → harbor → navy)
   but with the cream as the bright center anchored at top-right corner. */
.products__panels {
  flex: 0 0 800px;
  width: 800px;
  height: 720px;
  position: relative;
  /* Two stacked radials over a navy base per Sasha 2026-05-27 (visible Figma,
     cache stale): bright cream highlight from top-right corner + soft harbor
     glow from an off-canvas point on the left, both fading into a dark navy
     base that shows through strongest at the bottom-center (where the
     pagination dots sit). Result: panel reads brighter than a single conic,
     with the darkest region anchoring the dots. */
  background:
    /* Top-right radial — midway between the dim v1 and overshoot v2.
       Cream highlight + medium sky-blue intermediate, faster falloff than v2. */
    radial-gradient(ellipse 110% 105% at 100% 0%, #FFF9F2 0%, #6AA8D0 32%, transparent 78%),
    /* Off-canvas left radial — soft cool-harbor glow (was too cyan-bright in v2). */
    radial-gradient(ellipse 70% 108% at -17% 50%, #4090C0 0%, rgba(0, 119, 184, 0.4) 38%, transparent 65%),
    /* Base — midway navy → harbor: #003B5A vs #0077B8 averaged = #005989. */
    #005989;
  border-radius: 32px;
  overflow: hidden;
}

/* Noise-texture overlay — Figma uses fill_X2JFRH on this panel too. Same
   treatment as cta-image-1/2 panels. Screenshot + dots above z-index: 2. */
.products__panels::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.55;
  mix-blend-mode: normal;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.products__slider,
.products__dots {
  z-index: 2;
}

/* One slider per product — fills the gradient panel; only the active product's
   slider shows. Selecting a product (left tabs) toggles which slider is active;
   the dots inside each slider navigate that product's slides only. */
.products__slider {
  display: none;
  position: absolute;
  inset: 0;
}

.products__slider.is-active {
  display: block;
}

/* Product screenshot — Figma layout_8DBSC1 (cached dump 2026-05-21) reports
   765 × 574 at panel-local (18, 70). The rendered Figma design Sasha sent
   2026-05-27 shows a noticeably smaller, more "floating" screenshot with
   visible gradient breathing room on all 4 sides. Treating that as the
   source of truth and adjusting until cache refresh — image is sized at
   ~640 × 480 centered, leaving ~80px of gradient on each side and ~120/120
   top/bottom (bottom space holds the pagination dots). */
/* Each slide — same float/size treatment as before. Only the active slide
   within the active slider is visible. The `> .wp-block-image` alias covers
   freshly-added image blocks before products-tabs.js normalizes their class
   (no flash of an unstyled slide). */
.products__slide,
.products__slider > .wp-block-image {
  display: none;
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 480px;
  margin: 0;
  /* Image renders naturally. Sasha 2026-05-27: Figma has no shadow on the
     screenshot — keep it bare. No bg, no outline, no shadow; just the image
     with rounded corners over the gradient panel. */
  border-radius: 12px;
}

.products__slide.is-active {
  display: block;
}

.products__slide img,
.products__slider > .wp-block-image img {
  display: block;
  /* !important beats core's .wp-block-image img { height:auto } now that slides
     are wp:image blocks (same specificity -> load-order dependent otherwise). */
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  border-radius: 12px;
}

/* Pagination dots — Figma 429:4250 / layout_RZNI85: 36 × 8 at panel-local
   (382, 664) inside the 800 × 720 panel. 4 dots, ~9px stride, centered. */
.products__dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.products__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.products__dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.products__dot.is-active {
  background-color: var(--wp--preset--color--harbor-dark);
  border-color: var(--wp--preset--color--harbor-dark);
  transform: scale(1.15);
}

/* Pagination dots at the bottom of the right panel */
.products__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.products__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.products__dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.products__dot.is-active {
  background-color: var(--wp--preset--color--white);
  transform: scale(1.25);
}

/* -----------------------------------------------------------------------------
   "WHY CHOOSE EQUITYPATH OVER OTHERS" 5-card differentiator grid —
   patterns/competitor-comparison.php (Figma 429:4335).
   Rebuilt 2026-05-28 to match Figma; previous build was a 3-col comparison
   table (invented layout — Figma never had a table here).
   Total section 1296 × 1143: heading 60 → +48 gap → cards 944 → +48 gap →
   button 43. See pattern docblock for full per-element measurements.
----------------------------------------------------------------------------- */

h2.compare__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;          /* style_7OL20D */
  font-weight: 420;
  line-height: 1.5;         /* lh 150% per Figma — gives the 60px frame height for 40 font */
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);   /* fill Font Black #191919 */
  text-align: center;
  margin: 0 auto 48px;      /* 48 = gap from heading bottom to cards top */
  max-width: 700px;
}

/* Cards container — 1296 × 944 total, 2 rows with 16px gap. */
.compare__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
}

.compare__row {
  display: flex;
  gap: 16px;
  width: 100%;
  /* stretch (WP's flex layout defaults to center): with content-driven card
     heights (2026-08-26) every card in a row matches the tallest, and the
     bottom-pinned image boxes line up across the row */
  align-items: stretch !important;
}

/* All cards share the white card chrome — radius 32, no border. */
.compare__card {
  background-color: var(--wp--preset--color--white);
  border-radius: 32px;
  box-sizing: border-box;
  padding: 48px;            /* card content inset (text starts at card-local 48,48) */
  display: flex;
  flex-direction: column;
  align-items: stretch;     /* WP flex-column defaults align-items:flex-start now
                               that this is a wp:group — restore stretch so the
                               text + image fill the full card width (raw-div default). */
  gap: 24px;                /* gap text-block → image (per Figma 171 − (48+99) = 24) */
}

/* Top row: 2 wide cards, 640 × 512 each. 2026-08-26 (Kelly BC 10238527794):
   fixed heights -> min-heights. Kelly swaps in screenshots of any aspect,
   and a fixed card height left the image strip whatever was left after the
   text (87px on one card). Cards now grow to their fixed-aspect image box
   (below); rows still equalize via flex stretch. */
.compare__card--wide {
  flex: 0 0 640px;
  min-height: 512px;
}

/* Bottom row: 3 narrower cards, ~421 × 416 each. flex:1 splits remaining
   width (1296 − 2×16 = 1264) → 421.33 each, matches Figma 421/422/421. */
.compare__card--narrow {
  flex: 1 1 0;
  min-width: 0;
  min-height: 416px;
}

/* Text block — title 24/SemiBold + body 18/Regular/1.5, with 16px gap. */
.compare__text {
  display: flex;
  flex-direction: column;
  gap: 16px;                /* gap title → body per Figma 45 − 29 = 16 */
  margin: 0;
}

h3.compare__card-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;          /* style_0QGT3B Roobert SemiBold 24 */
  font-weight: 600;
  line-height: 1.2;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.compare__card-body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;          /* style_D9G4AW Roobert Reg 18 */
  font-weight: 400;
  line-height: 1.5;         /* 27px per line */
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Image block — fills remaining card height after text. Radius 8 + soft
   shadow (approximates Figma effect_CA3TKZ). */
/* Image box — 2026-08-26 (Kelly BC 10238527794 "images need different
   sizing"): a FIXED-ASPECT box pinned to the card bottom, image fills it
   (cover, anchored top so screenshot headers survive the crop). Any image
   Kelly drops in renders at the same size as its neighbours instead of
   letterboxing into whatever height the text left over. Aspects proposed:
   wide 16:9 (544x306 ≈ the Figma 512 card), narrow 16:10, split pair 4:5
   (Figma 167x200 / 150x200). NOT IN FIGMA beyond the original sizes. */
.compare__image {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: auto 0 0 !important;   /* pin to card bottom (core's .is-layout-flex > * { margin:0 } prints later) */
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--wp--preset--color--cream);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

.compare__card--narrow .compare__image { aspect-ratio: 16 / 10; }

.compare__image img {
  display: block;
  /* !important beats WP core's `.wp-block-image img { height:auto }` now that
     these figures are wp:image blocks (were raw figures). Same specificity, so
     without !important the winner is load-order dependent (flaky). */
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

/* Drill-down card (narrow card 1) has TWO images side-by-side per Figma
   layout_BUZKS8 (329 × 200 group containing 167×200 + 150×200). */
.compare__image-pair {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  margin: auto 0 0 !important;   /* pin the pair to the card bottom too */
}

.compare__image-pair .compare__image {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  aspect-ratio: 4 / 5;
}

/* CTA "View More" — centered, 48px gap above. */
.compare__cta {
  margin-top: 48px;
  justify-content: center;
}

/* `.is-style-filled-primary` provides harbor-dark bg + cream text via the design-system
   primitives at the top of this file (matches Figma's Midnight Harbor Dark Blue #004164
   button with Soft Linen Cream text — style_74RMBM Roobert Regular 16). */

/* -----------------------------------------------------------------------------
   CTA-IMAGE-1 — conic-gradient panel, text+button left, photo right.
   Figma 429:4316 / layout_JGAH0C = 1296 × 368.
   Origin at button center (15% 79% of panel) — Sasha 2026-05-29: "the
   center of radius should be behind the button". DOM-measured the rendered
   button position to confirm the Figma JSON's original `at 14% 80%` was
   correct as the origin point; the bug was using conic-gradient (which
   wraps colors around an angle) instead of a radial (which produces the
   spotlight effect the design calls for). Two stops match Figma's angular
   spec colors: #0077B8 harbor + #FFF9F2 cream.
----------------------------------------------------------------------------- */

.cta-image-1__panel {
  position: relative;
  width: 100%;
  max-width: 1296px;
  height: 368px;
  margin: 0 auto;
  /* Sasha 2026-05-29 caught the missing piece: Figma has a SECOND layer on
     top of the gradient — a tiled noise texture at 11% opacity with
     Blend mode: Overlay (fill_X2JFRH). That texture is what makes Figma's
     render look soft and organic vs flat. Restoring Figma's literal conic
     spec for the bg layer; the texture overlay on ::after handles the
     softening that browsers don't do natively for conic. */
  background: conic-gradient(from 180deg at 14.27% 79.62%, #FFF9F2 0deg, #0077B8 180deg, #FFF9F2 360deg);
  border-radius: 32px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Noise-texture overlay. Figma's literal spec was 11% opacity + Overlay
   blend, but TWO discoveries made that combo invisible in browsers:
   1. The exported texture PNG is transparent BLACK (RGB 0,0,0 with alpha
      varying 26-188), NOT mid-gray. PIL confirmed 2026-05-29.
   2. Overlay blend on black pixels at low opacity = nearly no visible
      change against any backdrop (overlay darkens shadows + lightens
      highlights, neutral on midtones).
   Deviating from spec: opacity 0.55 normal blend — produces visible grain
   that matches Figma's rendered intent. Adjust opacity down toward Figma's
   11% if too strong; up toward 0.7 if too subtle.
   z-index: 1 sits ABOVE the panel's other absolute children (decor SVG
   with inset:0 was blocking earlier even though ::after comes later in
   DOM order). Content + photo lifted to z-index: 2 below so the noise
   sits between gradient bg and readable content. */
.cta-image-1__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.55;
  mix-blend-mode: normal;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

/* Lift content + photo above the noise overlay so the noise sits between the
   gradient bg and the readable content (best for legibility). */
.cta-image-1__content,
.cta-image-1__photo {
  z-index: 2;
}

.cta-image-1__decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
  display: block;
}

/* Content group — Figma layout_S6YC95 at (110, 69), 685×137 inside the panel.
   Button + content stack: headline (y=0, 685×49) + subhead (y=73, 588×64)
   + button at (110, 270) from panel-top → 137 below subhead-bottom (y=137 in
   group local = y=206 in panel). Using flex column with explicit gaps so the
   stack is editable as a Gutenberg group, not absolute-positioned. */
.cta-image-1__content {
  position: absolute;
  top: 69px;
  left: 110px;
  width: 685px;
  max-width: calc(100% - 220px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

h2.cta-image-1__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.225;
  letter-spacing: 0;
  color: var(--wp--preset--color--cream);
  margin: 0;
  max-width: 685px;
}

.cta-image-1__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--cream);
  margin: 0;
  max-width: 588px;
}

/* Gutenberg wraps the button in .wp-block-buttons (the actual flex child of
   .cta-image-1__content). Apply the extra spacing there, not on the inner button. */
.cta-image-1__content .wp-block-buttons {
  margin-top: 40px;       /* Figma: button at y=270 panel, subhead bottom at y=206 panel → 64 gap, minus 24 stack gap = 40 */
}

/* Product image — Figma layout_5XD4UX at (924, 16), 261×352 inside the panel. */
.cta-image-1__photo {
  position: absolute;
  top: 16px;
  /* right-anchored (Sasha 2026-07-09): the Figma left:924 slot left a 111px
     float-gap that read as the photo drifting once swappable images landed.
     Wider box + right/bottom anchoring keeps any cutout hugging the panel's
     right edge at full height. */
  left: auto;
  right: 48px;
  width: 320px;
  height: 352px;
  margin: 0;
}

.cta-image-1__photo img {
  width: 100%;
  height: 100%;
  /* contain, not cover (Kelly's swappable cutouts, 2026-07-09): the photos
     are transparent person-cutouts of varying aspect — cover center-crops
     landscape sources into a sliced strip. Contain + bottom anchor shows
     the whole person, feet on the panel bottom like the original. The
     original asset is exactly 2x the 261x352 slot, so contain == cover
     for it (no visual change). */
  object-fit: contain;
  object-position: right bottom;
  border-radius: 16px;
  display: block;
}

/* -----------------------------------------------------------------------------
   CTA-IMAGE-2 — single conic-gradient panel with centered content.
   Figma 429:4208 / layout_APM1XN = 1296 × 368. Content group (429:4221) at
   (272, 62), size 752 × 244, holds headline + subhead + button stacked center.
----------------------------------------------------------------------------- */

.cta-image-2__panel {
  position: relative;
  width: 100%;
  max-width: 1296px;
  height: 368px;
  margin: 0 auto;
  /* Same conic gradient style as cta-image-1, with origin shifted to behind
     THIS panel's button: cta-image-2's button is centered (50% horizontal,
     77% vertical) instead of cta-image-1's bottom-left (14.27%, 79.62%).
     Stops match Figma's cta-image-1 spec: cream at 0deg + 360deg, harbor at
     180deg — cream wraps around the south, harbor at the north of origin. */
  background: conic-gradient(from 180deg at 50% 77%, #FFF9F2 0deg, #0077B8 180deg, #FFF9F2 360deg);
  border-radius: 32px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Noise-texture overlay — same treatment as cta-image-1__panel::after.
   Figma uses fill_X2JFRH (transparent black noise PNG) on top of the conic
   gradient for organic grain; replicated here via the same texture file at
   opacity 0.55 normal blend (Figma's 11% overlay produces invisible output
   in browsers, see cta-image-1 docblock for full diagnosis). z-index: 1
   sits above decor SVG; content lifted to z-index: 2 below for legibility. */
.cta-image-2__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.55;
  mix-blend-mode: normal;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

/* Lift content + decor above the noise overlay (both already position:absolute
   from their own rules above; only z-index is added here). */
.cta-image-2__content,
.cta-image-2__decor {
  z-index: 2;
}

/* Decorative SVG (concentric cream circles in top-right + bottom-left).
   Positioned absolutely across the whole panel, no pointer events.
   margin:0 to defeat WP's `.is-layout-flow > * + * { margin-block-start: 24px }`
   which would otherwise shift this absolutely-positioned child down 24px. */
.cta-image-2__decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
  display: block;
}

/* Content block — Figma layout_SMJ86I at (272, 62), 752×244 inside the panel.
   272 = (1296 - 752) / 2 → horizontally centered; 62 = top inset. */
.cta-image-2__content {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  width: 752px;
  max-width: calc(100% - 64px);
  margin: 0;       /* defeat the WP is-layout-flow 24px sibling margin (see decor above) */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;       /* gap between headline and subhead per Figma (73 − 49 = 24) */
}

/* Headline 429:4225 / style_YD4EOL: Season Mix-TRIAL Regular 40 CENTER, cream.
   Working sub: Source Serif 4 wght 420. */
h2.cta-image-2__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;        /* Figma frame is 49 tall for 40px — ratio ≈ 1.225 */
  letter-spacing: 0;
  text-align: center;
  color: var(--wp--preset--color--cream);
  margin: 0;
  max-width: 752px;
}

/* Subhead 429:4226 / style_NVY3SD: Roobert Regular 21/150% CENTER, cream.
   Working sub: Manrope wght 400. */
.cta-image-2__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  color: var(--wp--preset--color--cream);
  margin: 0;
  max-width: 588px;
}

/* Request Demo button — Figma layout_GEABXC: padding 12/32, text style_74RMBM
   (Roobert/Manrope 16 CENTER cream). Sits 64px below the subhead per Figma
   (y=201 inside content group, subhead ends at y=137 → 64px gap).
   The wp:buttons wrapper is the flex child receiving the 24px gap; an
   additional 40px margin-top brings it to 64px total. */
.cta-image-2__content > .wp-block-buttons {
  margin: 40px 0 0;
}
.cta-image-2__cta .wp-block-button__link {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 400;
}

/* -----------------------------------------------------------------------------
   HOW IT WORKS — patterns/how-it-works.php (429:4255)
----------------------------------------------------------------------------- */

/* 2-col grid: 372 left + 176 gap + 528 right = 1076 (matches Figma section) */
.how-it-works__grid {
  display: flex;
  align-items: stretch;     /* stretch both cols so left col matches right col height (528) */
  gap: 176px;
  width: 100%;
  max-width: 1076px;
  margin: 0 auto;
}

.how-it-works__text {
  flex: 0 0 372px;
  display: flex;
  flex-direction: column;
}

/* Defeat WP's is-layout-constrained auto-centering on the text col's children
   (it sets margin-inline: auto on each child, which was pushing the headline
   ~33px and the button ~98px to the right of the section's left edge — Sasha
   2026-05-29: heading + button were misaligned vs cta-image-1's Request Demo
   above). Force left-anchor with !important to win specificity over WP's
   layout-constrained rule. */
.how-it-works__text > *,
.how-it-works__text .wp-block-buttons {
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: flex-start;
}

h2.how-it-works__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;          /* style_9ZQUP8 */
  font-weight: 420;
  line-height: 1.5;         /* 150% per Figma — 60px per line */
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);   /* Font Black per Figma */
  margin: 0 0 24px;         /* gap heading bottom (y=180) → subhead (y=204) = 24 */
}

.how-it-works__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;          /* style_45QCBH (was 18, drift) */
  font-weight: 400;
  line-height: 1.5;         /* 31.5px per line × 3 = ~94 */
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Request Demo button — bottom of left col, at y=485 per Figma.
   Subhead bottom = 300; button top = 485 → gap 185. Using margin-top: auto
   pushes the button to the bottom of the flex column without hard-coding 185. */
.how-it-works__cta {
  /* !important beats WP's flex-layout margin reset on wp:group children (which
     zeroes margin-top now that this column is a wp:group). Pushes the button to
     the bottom of the 528-tall left column, as the raw-flex version did. */
  margin-top: auto !important;
  padding-top: 32px;        /* min separation if column shrinks below 528 */
}

/* RIGHT col — 528 wide, holds the 4 steps + the connecting vertical line. */
.how-it-works__steps {
  flex: 0 0 528px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 48px;                /* gap between steps (Figma: 144 − 96 = 48) */
}

/* The connecting vertical line — Figma LINE 9, Harbor Blue 0.5px stroke,
   at x=48 (cell center), from y=48 to y=480 (432 tall, through cell centers).
   Pseudo-element: left=48 (cell center), top=48 (step 1 cell center),
   bottom=48 (step 4 cell center). Cells paint above it (z-index in step). */
.how-it-works__steps::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: var(--wp--preset--color--harbor);
  z-index: 0;
}

/* Each step row — 528 × 96, flex layout cell + content. */
.how-it-works__step {
  display: flex;
  align-items: flex-start;
  gap: 48px;                /* cell→text gap per Figma (text at x=144 = cell 96 + 48) */
  position: relative;
  z-index: 1;               /* above the connecting line */
  min-height: 96px;         /* match Figma step height */
}

/* The 96×96 outlined number cell — cream bg, harbor blue 0.5px stroke, 24 radius.
   Number inside is Season Mix-TRIAL 32 / lh 150%, centered. */
.how-it-works__step-num {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  background-color: var(--wp--preset--color--cream);
  border: 1px solid var(--wp--preset--color--harbor);   /* 0.5px renders as 1 in most browsers; document if needs box-shadow trick */
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--serif);   /* Season Mix-TRIAL → Minion via typekit */
  font-size: 32px;          /* style_83DR3T */
  font-weight: 420;
  line-height: 1;
  color: var(--wp--preset--color--ink);                 /* Font Black per Figma */
  box-sizing: border-box;
  margin: 0;   /* number cell is now a wp:paragraph (was a div) — kill UA <p> margin */
}

.how-it-works__step-content {
  flex: 1;
  min-width: 0;
  padding-top: 8px;         /* Figma: text group at y=8 of step (vertically nudged so title baseline aligns near cell center) */
  display: flex;
  flex-direction: column;
  gap: 8px;                 /* title→body gap per Figma (33 − 25 = 8) */
}

h3.how-it-works__step-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;          /* style_HML9WB Roobert SemiBold 21 (was 18) */
  font-weight: 600;
  line-height: 1.2;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.how-it-works__step-body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;          /* style_F23VRM */
  font-weight: 400;
  line-height: 1.5;         /* 24px per line × 2 = 48 */
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* -----------------------------------------------------------------------------
   TESTIMONIALS — patterns/testimonials.php (429:4292)
   Slider rest state: intro col + 1 full card + Card 2 peeks past right edge.
   Project rule: initials + industry only, no names, no photos, no companies.
----------------------------------------------------------------------------- */

.testimonials {
  /* full-bleed section: clip cards that would extend past the viewport edge
     (card 2's tail extends past the 1440 canvas; without overflow:hidden the
     page itself grows horizontally and a scrollbar appears). */
  overflow: hidden;
  position: relative;
}

/* Left cream cover — SOLID, covering viewport x=0 all the way to the card
   track's left edge (card 1 rest position). Sasha 2026-06-19: the leaving card
   must be COMPLETELY hidden once it slides into this left zone — no peek, no
   fade. Math: track starts at intro_left(72) + intro_w(414) + gap(25) = 511
   from viewport = 50vw − 209px. So the mask covers 0 → 511; card 1 (starts at
   511) is untouched, and any card sliding left of 511 is fully occluded. The
   intro headline/dots (z-index 3) sit on top of this cream. (The next card on
   the RIGHT is intentionally left peeking — "something coming next".) */
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(50vw - 209px);
  background: var(--wp--preset--color--cream);
  z-index: 2;
  pointer-events: none;
}

.testimonials__inner {
  max-width: 1296px;
  box-sizing: content-box;
  margin: 0 auto;
  padding-inline: 24px;
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;            /* card 1 starts at section x=439, intro col is 414 → 25 gap */
  align-items: stretch;
  position: relative;
}

/* ---- LEFT INTRO COLUMN ---------------------------------------------------- */

.testimonials__intro {
  flex: 0 0 414px;
  width: 414px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* left-align headline + dots at the column's left edge
                               (default stretch was centering the max-width-capped
                               headline box ~70px in — Sasha 2026-06-18) */
  padding-top: 12px;    /* eyebrow group y=12 inside section */
  position: relative;
  z-index: 3;           /* above section ::before mask (z-index 2) so headline shows */
  /* no background here — the section ::before mask handles cream occlusion */
}

.testimonials__eyebrow {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--harbor);
  margin: 0;
  height: 25px;
  line-height: 25px;
}

/* margin-inline: 0 !important defeats WP's constrained-layout rule
   `.is-layout-constrained > :where(...) { margin-left/right: auto !important }`,
   which was centering the max-width-capped headline 70px into the column. Same
   !important override the dots in this section already use. Sasha 2026-06-18:
   left-aligned headline, not italic. */
.testimonials__intro .testimonials__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;     /* style_9ZQUP8 = 150% */
  font-style: normal;   /* not italic */
  text-align: left;
  color: var(--wp--preset--color--ink);   /* Figma fill = Font Black #191919 (same as all other headings) */
  margin: 11px 0 0;
  margin-inline: 0 !important;   /* sit at the column's left edge */
  max-width: 274px;     /* layout_PURLBM width */
}

.testimonials__dots {
  display: flex;
  gap: 6px;
  margin-top: auto;     /* push to bottom of intro col, matching y=336 in 392-tall section */
  margin-left: 0 !important;   /* defeat WP auto-margin centering of non-block children */
  margin-right: 0 !important;
  padding-bottom: 8px;
  align-self: flex-start;
  width: auto;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0.5px solid var(--wp--preset--color--harbor);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.testimonials__dot:hover {
  border-color: var(--wp--preset--color--harbor-dark);
}

.testimonials__dot.is-active {
  background-color: var(--wp--preset--color--harbor-dark);
  border-color: var(--wp--preset--color--harbor-dark);
}

/* ---- CARDS TRACK ---------------------------------------------------------- */

.testimonials__track {
  flex: 1 1 0;
  min-width: 0;         /* allow flex child to overflow its parent */
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  /* track extends past parent: cards 857 × N + 16 gaps wider than column */
  overflow: visible;
  position: relative;
  z-index: 1;           /* below intro col so leaving card slides behind it */
  will-change: transform;
  /* JS sets `transition` + `transform: translateX(...)` at runtime; CSS
     fallback keeps card 1 visible for no-JS / pre-hydration. */
}

.testimonials__card {
  flex: 0 0 857px;
  width: 857px;
  height: 392px;
  padding: 48px;
  background-color: var(--wp--preset--color--white);
  /* Sasha 2026-06-20: harbor stroke ONLY on the fully-shown (focal) card —
     the card peeking on the right gets no border. Transparent 0.5px at rest
     keeps the 857×392 box stable; JS adds .is-current to the focal card. */
  border: 0.5px solid transparent;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;   /* keep outer 857×392 */
  transition: border-color 200ms ease;
}

.testimonials__card.is-current {
  border-color: var(--wp--preset--color--harbor);
}

.testimonials__quote {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;       /* style_WGW6KX */
  font-weight: 400;
  line-height: 2;        /* 200% per style — 42px lh */
  color: var(--wp--preset--color--ink);
  margin: 0;
  /* clamp to 4 lines max (Figma layout is 168 = 4 × 42) */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonials__attribution {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;      /* push to bottom; Figma sits attribution at y=216 from inner-group top */
}

.testimonials__avatar {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  box-sizing: border-box;   /* keep outer 80×80 with border inside */
  border-radius: 16px;
  border: 0.5px solid var(--wp--preset--color--harbor);
  background-color: var(--wp--preset--color--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  color: var(--wp--preset--color--ink);   /* dark, not blue (Sasha 2026-06-19) */
  letter-spacing: 0.02em;
}

.testimonials__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;              /* 33 − 25 = 8 between initials line bottom and industry line top */
}

.testimonials__initials {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;       /* style_HML9WB Roobert SemiBold 21 */
  font-weight: 600;
  line-height: 1.2;
  color: var(--wp--preset--color--ink);   /* Figma 429:4301 fill = Font Black */
  margin: 0;
}

.testimonials__industry {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;       /* style_F23VRM */
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* heading element-level overrides win over theme.json :where(h2) */
h2.testimonials__headline {
  font-style: normal;   /* Sasha 2026-06-18: not italic */
  font-weight: 420;
  text-align: left;
}

/* -----------------------------------------------------------------------------
   FAQ — patterns/faq.php (429:4482)
----------------------------------------------------------------------------- */

.faq__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;       /* style_9ZQUP8 = 150% */
  color: var(--wp--preset--color--ink);   /* Figma 429:4483 fill = Font Black */
  margin: 0 auto 48px;
  max-width: 800px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* WP vertical-flex group defaults flex-start — items must fill the 1076 width */
  gap: 16px;
}

/* FAQ item — Figma "Copy as CSS": 1076-wide white card, 0.5px Harbor Blue
   border, 32 radius; content inset 48 (sides) / 40 (top+bottom); the +/- icon
   absolutely placed 48px from the card's right edge so it never inflates the
   question row (keeps the open card at its 202 height). */
/* Only horizontal padding lives on the item; the vertical padding is carried by
   the <summary> (closed) and the answer (open) so the ENTIRE header bar — full
   width AND full height, not just the text/icon — is the clickable toggle
   (Sasha 2026-06-19). */
.faq__item {
  position: relative;
  background-color: var(--wp--preset--color--white);
  border: 0.5px solid transparent;   /* outline only on the OPEN item (below) */
  border-radius: 32px;
  padding: 0 48px;
}

/* Harbor Blue outline shows only when the item is open (Sasha 2026-06-19). */
.faq__item[open] {
  border-color: var(--wp--preset--color--harbor);   /* 0.5px #0077B8 */
}

.faq__q,
.faq__item > summary {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;        /* Roobert SemiBold 21 */
  font-weight: 600;
  line-height: 25px;      /* Figma: line-height 25px */
  color: var(--wp--preset--color--ink);   /* #191919 */
  cursor: pointer;
  list-style: none;
  /* Full width + 40px top/bottom padding → the whole header bar (incl. the 32×32
     icon area) toggles the item. Text wraps at the Figma 919 width via the
     reserved right padding. */
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 40px 61px 40px 0;   /* 40 top/bottom; 61 right reserves the icon (980−919) */
}

/* Open: drop the summary's bottom padding to a 16px gap before the answer. */
.faq__item[open] .faq__q,
.faq__item[open] > summary {
  padding-bottom: 16px;
}

.faq__q::-webkit-details-marker,
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary { list-style: none; }

/* +/- toggle — drawn as bars to match the Figma icon exactly. Figma vector is a
   24×2px bar (12.5% inset each side, 6.24% thickness) in a 32×32 frame placed
   48px from the card's right edge, fill Midnight Harbor Dark Blue #004164. Two
   bars make the "+"; the vertical bar hides when the item is open → "−". A drawn
   bar (not a text "+"/"−" glyph) gives the exact length, thickness and weight. */
.faq__q::before,
.faq__q::after,
.faq__item > summary::before,
.faq__item > summary::after {
  content: "";
  position: absolute;
  background-color: var(--wp--preset--color--harbor-dark);   /* #004164 */
}
.faq__q::after,
.faq__item > summary::after {            /* horizontal bar — always shown (the "−") */
  width: 24px;
  height: 2px;
  top: 51px;               /* vertically centered on the 25px question line */
  right: 52px;             /* centered in the 32px icon box (right:48 + 4) */
}
.faq__q::before,
.faq__item > summary::before {          /* vertical bar — completes the "+"; removed when open */
  width: 2px;
  height: 24px;
  top: 40px;
  right: 63px;             /* centered in the 32px icon box (right:48 + 15) */
}
.faq__item[open] .faq__q::before,
.faq__item[open] > summary::before {
  display: none;
}

.faq__a {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;        /* Roobert Regular 18 */
  line-height: 1.5;       /* 150% = 27px */
  color: var(--wp--preset--color--ink);   /* #191919 */
  max-width: 919px;
  /* gap to the question is the summary's 16px bottom padding (open state); this
     carries the card's bottom padding now that the item itself has none.
     margin:0 — .faq__a is now a wp:paragraph (<p>), strip UA/theme margins. */
  margin: 0;
  padding-bottom: 40px;
}

/* -----------------------------------------------------------------------------
   DEMO CTA BOTTOM — patterns/demo-cta-bottom.php (429:4374)
   Gradient panel + centered heading/subhead + 2-col grid (calendar | form).
----------------------------------------------------------------------------- */

.demo-cta {
  /* section is cream so panel sides match page bg */
  padding: 0;
}

/* Panel: 1076 × 688 centered, conic gradient bg, noise texture overlay,
   border-radius 32px on TOP corners only per Figma (flat bottom meets footer).
   Gradient: Figma's literal fill_L05VKT was a 2-stop blue→cream which renders
   as a mostly-solid blue panel. Per Sasha 2026-06-01, align with the cta-image-1
   / cta-image-2 treatment: 3-stop cream→blue→cream sweep, keeping this panel's
   own origin position (58% 86%) so the cream highlight sits behind the button
   column on the right. */
.demo-cta__panel {
  position: relative;
  isolation: isolate;
  width: 1076px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 688px;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  background: conic-gradient(
    from 180deg at 58% 86%,
    #FFF9F2 0deg,
    #0077B8 180deg,
    #FFF9F2 360deg
  );
  color: var(--wp--preset--color--cream);
}

/* Noise texture overlay — fill_X2JFRH opacity 0.11 tiled.
   Same asset shipped for cta-image-1 reused here for visual rhythm. */
.demo-cta__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.55;             /* PNG is transparent black; 0.11 blend invisible — pre-baked */
  mix-blend-mode: normal;
  pointer-events: none;
}

.demo-cta__panel-inner {
  position: relative;
  z-index: 2;                /* above texture */
  width: 658.3px;
  max-width: calc(100% - 80px);
  margin: 0 auto;
  padding-top: 72px;
}

/* ---- Heading + subhead --------------------------------------------------- */

.demo-cta__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.225;        /* 49 / 40 from layout_TKIMQQ */
  text-align: center;
  color: var(--wp--preset--color--cream);
  margin: 0;
  max-width: 589px;
  margin-inline: auto;
}

h2.demo-cta__headline {
  color: var(--wp--preset--color--cream);
  font-weight: 420;
}

.demo-cta__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;          /* 64 / 21 = 3.05 lh for 2 lines → 1.5 per line */
  text-align: center;
  color: var(--wp--preset--color--cream);
  margin: 24px auto 0;       /* gap heading→subhead = 24 per Figma */
  max-width: 589px;
}

/* ---- Calendar + form grid ----------------------------------------------- */

.demo-cta__grid {
  display: grid;
  grid-template-columns: 322.39px 320px;
  gap: 16px;                 /* cal-form gap per Figma 658.3 − 322.39 − 320 ≈ 16 */
  justify-content: center;
  margin-top: 64px;          /* heading-group → cal-form per Figma */
  margin-bottom: 72px;       /* panel padding mirror */
}

/* ---- Calendar (left) ---------------------------------------------------- */

.demo-cta__calendar {
  background-color: var(--wp--preset--color--white);
  border-radius: 8px;
  padding: 20px 24px;
  color: var(--wp--preset--color--harbor-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 336px;
  box-sizing: border-box;
}

.cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(126, 129, 140, 0.25);
}

.cal__month {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--wp--preset--color--harbor-dark);
  margin: 0;
}

.cal__nav { display: flex; gap: 4px; }

.cal__nav-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  color: var(--wp--preset--color--harbor-dark);
  padding: 0;
  transition: background-color 120ms ease;
}

.cal__nav-btn:hover { background-color: rgba(0, 65, 100, 0.08); }

/* Weekday + day grids: 7 fixed 34px columns, distributed via space-between
   so the row fills the 274px inner-card width without overflowing. Figma
   layout_DMXQF9 spec'd 33.5px cells with space-between justification; 34px
   is the closest 1px-aligned value. */
.cal__weekdays,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 34px);
  justify-content: space-between;
}

.cal__weekdays {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7e818c;            /* fill_4NVO2E */
  text-align: center;
  padding-bottom: 4px;
}

.cal__grid {
  grid-auto-rows: 34px;
  row-gap: 4px;
  flex: 1 1 auto;
}

.cal__day {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--wp--preset--color--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
  padding: 0;
  box-sizing: border-box;
}

.cal__day:hover:not(:disabled):not(.is-selected) {
  background-color: rgba(0, 119, 184, 0.1);
}

.cal__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px var(--wp--preset--color--harbor);
}

.cal__day.is-selected {
  background-color: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
}

.cal__day.is-past {
  color: rgba(126, 129, 140, 0.5);
  cursor: not-allowed;
}

.cal__day.cal__day--blank {
  visibility: hidden;
  pointer-events: none;
}

/* ---- Form (right) ------------------------------------------------------- */

.demo-cta__form-wrap {
  width: 320px;
}

.demo-cta__form .gform_body,
.demo-cta__form-wrap form .gform_body { margin: 0; }

.demo-cta__form .gform_fields,
.demo-cta__form-wrap form .gform_fields {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-cta__form .gfield input[type='text'],
.demo-cta__form .gfield input[type='email'],
.demo-cta__form-wrap form .gfield input[type='text'],
.demo-cta__form-wrap form .gfield input[type='email'] {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--wp--preset--color--ink);
  width: 320px;
  height: 48px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  box-sizing: border-box;
}

.demo-cta__form .gfield textarea,
.demo-cta__form-wrap form .gfield textarea {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--wp--preset--color--ink);
  width: 320px;
  height: 136px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  resize: none;
  box-sizing: border-box;
  display: block;
}

.demo-cta__form .gfield input::placeholder,
.demo-cta__form .gfield textarea::placeholder,
.demo-cta__form-wrap form .gfield input::placeholder,
.demo-cta__form-wrap form .gfield textarea::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 0.55;
}

.demo-cta__form .gform_footer,
.demo-cta__form-wrap form .gform_footer {
  margin: 16px 0 0;
  padding: 0;
}

.demo-cta__form .gform_button,
.demo-cta__form-wrap form .gform_button {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--wp--preset--color--cream);
  background-color: var(--wp--preset--color--harbor-dark);
  width: 320px;
  height: 43px;
  padding: 12px 32px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease;
  box-sizing: border-box;
}

.demo-cta__form .gform_button:hover,
.demo-cta__form-wrap form .gform_button:hover {
  background-color: var(--wp--preset--color--harbor-pressed);  /* unified sitewide hover (Sasha 2026-07-03) */
}

/* --- Real Gravity Form (form 5 "Demo CTA (bottom)", 2026-07-02) hardening.
   The twins above match real GF markup too (form sits inside .gform_wrapper
   inside .demo-cta__form-wrap), but gravity-theme ships grid layout + its own
   spacing, so pin the layout-critical bits. --- */
.demo-cta__form-wrap .gform_wrapper form { margin: 0; }
.demo-cta__form-wrap .gform_wrapper .gform_heading,
.demo-cta__form-wrap .gform_wrapper .gform_required_legend { display: none; }
.demo-cta__form-wrap .gform_wrapper .gform_fields {
  display: flex !important;
  flex-direction: column;
  gap: 16px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.demo-cta__form-wrap .gform_wrapper .gfield { margin: 0; padding: 0; }
.demo-cta__form-wrap .gform_wrapper .gfield .ginput_container { margin: 0; }
.demo-cta__form-wrap .gform_wrapper .gfield.rd-date-hidden { display: none !important; }
.demo-cta__form-wrap .gform_wrapper .gform_footer { margin: 16px 0 0; padding: 0; }
.demo-cta__form-wrap .gform_wrapper .gfield_validation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  color: var(--wp--preset--color--cream);
  background: rgba(0, 65, 100, 0.55);
  border: 0;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 6px 0 0;
}
.demo-cta__form-wrap .gform_wrapper .gform_validation_errors { display: none; }
.demo-cta__panel .gform_confirmation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--cream);
  position: relative;
  z-index: 2;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* -----------------------------------------------------------------------------
   SITE FOOTER — parts/footer.html (429:4437)
----------------------------------------------------------------------------- */

/* Footer: full-bleed cream rect with curved top corners + 1px harbor-blue
   top stroke (fill_YMWUH7 = rgba(0,65,100,0.24)) — this is the "curve at the
   edges" line indicator separating footer from the demo-CTA panel above. */
.site-footer {
  background-color: var(--wp--preset--color--cream);
  color: var(--wp--preset--color--ink);
  border-top: 1px solid rgba(0, 65, 100, 0.24);
  border-radius: 32px 32px 0 0;
  padding: 0;
}

.site-footer__inner {
  max-width: 1296px;
  margin: 0 auto;
  padding: 84px 72px;        /* layout_10NQIN @ (72, 84) */
  box-sizing: border-box;
}

/* ---- Top row: brand + 4 link cols ---------------------------------------- */

.site-footer__top {
  display: grid;
  grid-template-columns: 261px 79px 65px 85px 105px;  /* per Figma column widths */
  justify-content: space-between;                      /* 175px gaps between cols */
  align-items: start;
}

.site-footer__brand {
  position: relative;
  height: 175px;             /* layout_2F5BG9 */
  display: flex;
  flex-direction: column;
  width: 261px;
}

.site-footer__logo img {
  width: 153px;
  height: 32px;
  display: block;
}

.site-footer__tagline {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 16px 0 0;          /* gap logo→tagline = 48 − 32 = 16 */
  max-width: 261px;
}

.site-footer__social {
  position: absolute;
  top: 151px;                /* layout_VODINY y=151 in 175-tall brand */
  left: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--ink);   /* Figma fill #191919 — Font Black */
  text-decoration: none;
  transition: color 120ms ease;
}

.site-footer__social:hover {
  color: var(--wp--preset--color--harbor);
}

.site-footer__social svg {
  display: block;
  width: 24px;
  height: 24px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
}

.site-footer__col-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;           /* style_JGH48K Medium 18 / lh 150% */
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0 0 32px;          /* title→links gap = 45 − 13 = 32 */
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;           /* style_JP22FU Roobert Regular 14 / lh 320% */
  font-weight: 400;
  line-height: 3.2;          /* Figma lineHeight 320% ≈ 44.8px between lines */
  color: var(--wp--preset--color--ink);
}

.site-footer__links li {
  margin: 0;
  /* Manrope substitute is slightly wider than Figma's Roobert, so the Figma
     col widths (79/65/85/105) clip long strings ("Case Studies", "Terms of
     Service"). Force single-line; the ~175px gaps between cols absorb the
     overflow without visible collision. */
  white-space: nowrap;
}

.site-footer__links a {
  white-space: nowrap;
}

.site-footer__links a {
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  transition: color 120ms ease;
}

.site-footer__links a:hover {
  color: var(--wp--preset--color--harbor);
  text-decoration: underline;
}

/* heading style override (theme.json :where(h4) defaults beat .classname) */
h4.site-footer__col-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0 0 32px;
}

/* ---- Bottom strip: copyright LEFT + newsletter RIGHT (same row) ---------- */

.site-footer__strip {
  margin-top: 64px;          /* links row bottom y=235 → strip top y=299 */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;     /* copyright sits at bottom; newsletter spans 93h */
  height: 93px;              /* layout_DK3LL2 */
}

.site-footer__copyright {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--wp--preset--color--ink);
  margin: 0;
  text-align: left;
}

.site-footer__newsletter {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;                 /* label→input gap = 29 − 13 = 16 */
}

.site-footer__newsletter-label {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;           /* style_JGH48K Medium 18 / lh 150% */
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Input + button: button overlaid INSIDE the input rectangle, per Figma. */
.site-footer__form { margin: 0; }

.site-footer__input-wrap {
  position: relative;
  width: 400px;
  height: 64px;
}

.site-footer__input-wrap input {
  width: 100%;
  height: 100%;
  padding: 0 155px 0 24px;   /* right 155 leaves room for 131 button + 12 margin + buffer */
  border: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  box-sizing: border-box;
  display: block;
}

.site-footer__input-wrap input::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 0.55;
}

.site-footer__input-wrap button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 131px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;           /* style_74RMBM */
  font-weight: 400;
  cursor: pointer;
  transition: background-color 160ms ease;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer__input-wrap button:hover {
  background-color: var(--wp--preset--color--harbor-pressed);  /* unified sitewide hover (Sasha 2026-07-03) */
}

/* -----------------------------------------------------------------------------
   SINGLE BLOG POST — templates/single.html (Figma 429:2535, measured 2026-07-02)
   Layout: article column 857 + 20 gap + TOC card 419 (= 1296). Rewritten
   against the CURRENT eqp/post-* block markup (the previous region targeted a
   superseded .post-body__* scheme).
----------------------------------------------------------------------------- */

/* ---- Row layout: article (857) + sticky TOC (419), gap 20 ---- */
.post-row__inner { align-items: flex-start; }

/* Anchor destinations (TOC + quick-links jumps) must clear the sticky
   header, or the target heading lands hidden behind it (Sasha 2026-07-02).
   104 = header 80 + 24 breathing room — same offset the sticky TOC card
   uses. NOT IN FIGMA — interaction fix. */
.post-article :is(h2, h3, h4)[id] { scroll-margin-top: 104px; }

.post-row__inner > .post-article {
  flex: 0 0 857px;
  max-width: 857px;
  min-width: 0;
}

.post-row__inner > .post-toc,
.post-row__inner > .post-toc-empty {
  flex: 1 1 419px;
  min-width: 0;
  position: sticky;              /* NOT IN FIGMA — proposed (long articles) */
  top: 104px;                    /* header 80 + 24 breathing room */
  align-self: flex-start;
}

/* ---- eqp/post-header: title 56/1.5 + byline row (Figma 429:2604/2605) ---- */
.post-header__title {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 56px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.post-header__byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;                     /* Figma 429:2605 row gap */
  margin-top: 32px;              /* Figma: title 252 → byline y=284 */
}

.post-header__byline-item {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}

.post-header__byline-item--rt {
  display: inline-flex;
  align-items: center;
  gap: 8px;                      /* Figma 429:2608 icon gap */
}
.post-header__byline-icon { width: 21px; height: 21px; display: block; }

/* ---- Featured image: 857×571 r32, 32 below byline (Figma 429:2612) ---- */
.post-article .post-article__hero {
  margin: 32px 0 0;
}
.post-article__hero img {
  width: 100%;
  aspect-ratio: 857 / 571;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

/* ---- Article content typography (Figma body styles) ----
   p 18/1.5 · h2 Roobert SemiBold 40/1.5 · h3 Roobert Medium 24/1.5
   Gaps: base 16, h2 sections 64, h3 32, images 24, quote/code 64. ---- */
.post-article .post-article__content {
  margin-top: 64px;              /* Figma: hero ends 911 → content 975 */
}

.post-article__content > * { margin-block: 0; }
.post-article__content > * + * { margin-block-start: 16px; }
.post-article__content > h2 { margin-block-start: 64px; }
.post-article__content > h3 { margin-block-start: 32px; }
.post-article__content > figure.wp-block-image,
.post-article__content > figure.wp-block-image + * { margin-block-start: 24px; }
.post-article__content > blockquote,
.post-article__content > blockquote + *,
.post-article__content > pre,
.post-article__content > pre + *,
.post-article__content > .blog-newsletter-cta,
.post-article__content > .blog-newsletter-cta + * { margin-block-start: 64px; }

.post-article__content p {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}

.post-article__content h2 {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}

.post-article__content h3 {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}

.post-article__content figure.wp-block-image img {
  width: 100%;
  border-radius: 32px;           /* Figma 429:2702: 857×571 r32 */
  display: block;
}

/* Pull quote (core/quote) — Figma 429:2667: white r32 panel, pad 48,
   Season Mix Italic 32/1.5 Harbor Blue centered. */
.post-article__content blockquote {
  background: var(--wp--preset--color--white);
  border: 0;
  border-radius: 32px;
  padding: 48px;
  margin-inline: 0;
  text-align: center;
}
.post-article__content blockquote p {
  font-family: var(--wp--preset--font-family--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 420;
  line-height: 1.5;
  color: var(--wp--preset--color--harbor);
}

/* Code sample (core/code) — Figma 429:2714: white r32 panel, pad 48.
   Figma sets the code in Roobert 18/1.5 (body font, per design). */
.post-article__content pre {
  background: var(--wp--preset--color--white);
  border: 0;
  border-radius: 32px;
  padding: 48px;
  overflow-x: auto;
}
.post-article__content pre,
.post-article__content pre code {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}

/* In-article lists (blog import 2026-07-03).
   NOT IN FIGMA — no in-article list exists in the blog-post frame; mirrors
   body copy (18/1.5 sans ink, same as .post-article__content p) — proposed
   pending review. */
.post-article__content ul,
.post-article__content ol {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  padding-left: 24px;
  margin-block: 0;
}
.post-article__content li + li { margin-block-start: 8px; }
.post-article__content li::marker { color: var(--wp--preset--color--ink); }

/* ---- eqp/post-quick-links (Figma 429:2629) ---- */
.post-article .post-quick-links { margin-top: 64px; }
.post-quick-links__label {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.post-quick-links__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.post-quick-links__item {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  /* Bullet, not dash (Sasha 2026-07-02) — same hanging-indent scheme as the TOC. */
  position: relative;
  padding-left: 18px;
}
.post-quick-links__item + .post-quick-links__item { margin-top: 8px; }
.post-quick-links__item::before { content: "•"; position: absolute; left: 2px; color: var(--wp--preset--color--ink); }
.post-quick-links__item a {
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- eqp/post-author-bio card (Figma 429:2716: 857×328 r32) ---- */
.post-article .post-author { margin-top: 64px; }
.post-author {
  background: var(--wp--preset--color--white);
  border-radius: 32px;
  padding: 50px 48px;            /* Figma inner group at (48, 50) */
}
.post-author__head {
  display: flex;
  align-items: center;
  gap: 24px;                     /* Figma: name x=104, avatar 80 → 24 */
}
.post-author img.post-author__avatar {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.post-author__name {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 600;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.post-author__name a { color: inherit; text-decoration: none; }
.post-author__role {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 4px 0 0;
}
.post-author__bio {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 24px 0 0;              /* Figma: bio y=104, avatar ends 80 */
}
.post-author__socials {
  display: flex;
  gap: 12px;                     /* Figma 429:2726 */
  margin-top: 32px;
}
.post-author__social {
  color: var(--wp--preset--color--harbor-dark);  /* Figma icon fill #004164 (Sasha 2026-07-02, was ink) */
  display: inline-flex;
  transition: color 160ms ease;
}
.post-author__social:hover { color: var(--wp--preset--color--harbor); }

/* ---- eqp/post-tags + eqp/post-categories chips (Figma 429:2632/2647)
   Chip spec identical to .resources-filters__chip. Figma block gaps read
   60–64 (hug-height slop) — standardized to 64. ---- */
.post-article .post-chips { margin-top: 64px; }
.post-chips__label {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.post-chips__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0;
}
.post-chips__item { margin: 0; }
.post-chips__item a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--wp--preset--color--white);
  border: 0.5px solid transparent;
  border-radius: 32px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  transition: background-color 160ms ease;
}
.post-chips__item a:hover { background: var(--wp--preset--color--neutral-10); }

/* ---- eqp/post-share (Figma 429:2656: label + bare 21px icons, gap 12) ---- */
.post-article .post-share { margin-top: 64px; }
.post-share__label {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.post-share__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
/* Bare 21×21 icons, Midnight Harbor (Figma Copy-as-CSS, Sasha 2026-07-02).
   Hover lift to Harbor is NOT IN FIGMA — proposed, matches author card. */
.post-share__icon {
  display: inline-flex;
  color: var(--wp--preset--color--harbor-dark);
  transition: color 160ms ease;
}
.post-share__icon:hover { color: var(--wp--preset--color--harbor); }
.post-share__icon svg { display: block; }

/* ---- eqp/post-toc — right-column card (Figma 429:2735: 419×520 r32) ---- */
.post-toc__card {
  background: var(--wp--preset--color--white);
  border-radius: 32px;
  padding: 48px;                 /* Figma inner at (48, 48) */
}
.post-toc__title {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 32px;
  font-weight: 420;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.post-toc__list {
  list-style: none;
  margin: 24px 0 0;              /* Figma: list y=72, title 48 */
  padding: 0;
}
.post-toc__item {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;                /* Figma 16/2em = 32px rows */
  margin: 0;
  /* Bullet marker (Sasha 2026-07-02): Figma's canvas shows list bullets; the
     API serializes them as "  - " (same lossy-export gotcha as conic
     gradients). Hanging indent so wrapped titles align after the marker.
     Marker metrics not in export — 18px text inset proposed (≈ Figma's
     "  - " advance). Active row's bullet inherits harbor via .is-active. */
  position: relative;
  padding-left: 18px;
}
.post-toc__item::before {
  content: "•";
  position: absolute;
  left: 2px;
}
.post-toc__item--h3 { padding-left: 34px; }   /* NOT IN FIGMA — proposed nesting cue (16px + marker inset) */
.post-toc__item--h3::before { left: 18px; }
.post-toc__item a {
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  transition: color 160ms ease;
}
.post-toc__item a:hover { color: var(--wp--preset--color--harbor); }
.post-toc__item.is-active,
.post-toc__item.is-active a {
  color: var(--wp--preset--color--harbor);    /* Figma 429:2740 active row */
  font-weight: 500;
}

/* ---- eqp/post-related — reuses .resource-card (Figma 429:2741) ---- */
.post-related__heading {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 16.5px;              /* same grid as Resources browser */
  list-style: none;
  margin: 48px 0 0;              /* Figma: heading 60 → grid at 108 */
  padding: 0;
}
.post-related__item { margin: 0; }
.post-related__item .resource-card { min-height: 0; }   /* curated cards size to content */
/* The Resources browser card gets its 32/32/48/32 body padding + 16px stack
   gap from INLINE block styles in the pattern; the related cards are
   PHP-emitted with the same classes but no inline styles — without this
   mirror the text sat flush on the card edge and the rounded corner clipped
   "Read More" (Sasha 2026-07-03). Values = resources-browser.php card body. */
.post-related .resource-card__body { padding: 32px 32px 48px 32px; }
.post-related .resource-card__body > * + * { margin-block-start: 16px; }
/* Alias: related emits a plain <p> where the query version has
   .wp-block-post-excerpt__excerpt — same clamp treatment. */
.post-related .resource-card__excerpt p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-related .resource-card__title a { color: inherit; text-decoration: none; }

@media (max-width: 1024px) {
  .post-row__inner { flex-direction: column; }
  .post-row__inner > .post-article { flex-basis: auto; max-width: 100%; }
  .post-row__inner > .post-toc { position: static; width: 100%; }
  .post-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .post-header__title { font-size: 36px; }
  .post-related__grid { grid-template-columns: 1fr; }
}


/* -----------------------------------------------------------------------------
   BLOG — in-article newsletter CTA (patterns/blog-newsletter-cta.php,
   Figma 429:2674: 855×368 gradient panel in the 857 article column)
----------------------------------------------------------------------------- */

.blog-newsletter-cta {
  position: relative;
  min-height: 368px;
  border-radius: 32px;
  /* 3-stop conic — matches cta-image-2's pixel-approved form (the dump's
     2-stop serialization drops the cream 0deg stop). */
  background: conic-gradient(from 180deg at 50% 77%, #FFF9F2 0deg, #0077B8 180deg, #FFF9F2 360deg);
  overflow: hidden;
  padding: 70px 97px;            /* Figma content group at (97, 70) */
  box-sizing: border-box;
  isolation: isolate;
}

/* Noise texture overlay — standard pre-baked PNG recipe (site-wide). */
.blog-newsletter-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.55;
  mix-blend-mode: normal;
  pointer-events: none;
}
.blog-newsletter-cta__headline,
.blog-newsletter-cta__subhead,
.blog-newsletter-cta__form-wrap {
  z-index: 2;                /* above texture (already position:relative) */
}

.blog-newsletter-cta__decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  margin: 0 !important;          /* WP flow gap hits absolute children */
}

/* Parent-prefixed: the article-content heading/paragraph rules (element+class)
   out-ranked the bare single-class versions and rendered this ink instead of
   cream on the gradient (Sasha 2026-07-03). */
.blog-newsletter-cta .blog-newsletter-cta__headline {
  position: relative;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;
  color: var(--wp--preset--color--cream);
  margin: 0;
}

.blog-newsletter-cta .blog-newsletter-cta__subhead {
  position: relative;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--cream);
  margin: 24px 0 0 !important;   /* Figma: sub y=73 (heading 49 + 24) */
}

.blog-newsletter-cta__form-wrap {
  position: relative;
  margin-top: 48px;              /* Figma: form y=185, sub ends 137 */
  display: flex;
  justify-content: center;
}

/* GF (email-only) + fallback share the row spec: input 320×43 + button 155×43, gap 8. */
.blog-newsletter-cta__form,
.blog-newsletter-cta__form-wrap .gform_wrapper form {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}
.blog-newsletter-cta__form-wrap .gform_wrapper { margin: 0; }
.blog-newsletter-cta__form-wrap .gform_wrapper .gform_heading,
.blog-newsletter-cta__form-wrap .gform_wrapper .gform_required_legend { display: none; }
.blog-newsletter-cta__form-wrap .gform_wrapper .gform_body { flex: 0 0 auto; }
.blog-newsletter-cta__form-wrap .gform_wrapper .gform_fields {
  display: block !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-newsletter-cta__form-wrap .gform_wrapper .gfield { margin: 0; padding: 0; }
.blog-newsletter-cta__form-wrap .gform_wrapper .gfield .ginput_container { margin: 0; }

.blog-newsletter-cta__form input[type='email'],
.blog-newsletter-cta__form-wrap .gform_wrapper .gfield input[type='email'] {
  width: 320px;                  /* Figma 429:2694 */
  height: 43px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  color: var(--wp--preset--color--ink);
  box-sizing: border-box;
  transition: box-shadow 160ms ease;
}
.blog-newsletter-cta__form input::placeholder,
.blog-newsletter-cta__form-wrap .gform_wrapper .gfield input::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 1;   /* Figma labels are solid ink (panel convention, Sasha 2026-07-02) */
}
.blog-newsletter-cta__form input:focus,
.blog-newsletter-cta__form-wrap .gform_wrapper .gfield input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--wp--preset--color--harbor-dark);   /* NOT IN FIGMA — proposed */
}

.blog-newsletter-cta__form-wrap .gform_wrapper .gform_footer {
  margin: 0;
  padding: 0;
}
.blog-newsletter-cta__form button,
.blog-newsletter-cta__form-wrap .gform_wrapper .gform_footer input.gform_button {
  width: 155px;                  /* Figma 429:2692 */
  height: 43px;
  padding: 12px 24px;
  background: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease;
  box-sizing: border-box;
  margin: 0;
  white-space: nowrap;
}
.blog-newsletter-cta__form button:hover,
.blog-newsletter-cta__form-wrap .gform_wrapper .gform_footer input.gform_button:hover {
  background: var(--wp--preset--color--harbor-pressed);
}
.blog-newsletter-cta__form-wrap .gform_wrapper .gfield_validation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  color: var(--wp--preset--color--cream);
  background: rgba(0, 65, 100, 0.55);
  border: 0;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 6px 0 0;
}
.blog-newsletter-cta__form-wrap .gform_wrapper .gform_validation_errors { display: none; }
.blog-newsletter-cta .gform_confirmation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--cream);
  text-align: center;
}

@media (max-width: 640px) {
  .blog-newsletter-cta { padding: 48px 24px; }
  .blog-newsletter-cta__form,
  .blog-newsletter-cta__form-wrap .gform_wrapper form { flex-direction: column; align-items: stretch; }
  .blog-newsletter-cta__form input[type='email'],
  .blog-newsletter-cta__form-wrap .gform_wrapper .gfield input[type='email'] { width: 100%; }
}


/* -----------------------------------------------------------------------------
   SINGLE WEBINAR — templates/single-webinar.html (Figma 429:2400, 2026-07-02)
   Hero: left content 649 + right register panel 524×548. Speaker card below.
----------------------------------------------------------------------------- */

.webinar-hero__inner { align-items: flex-start; }

.webinar-hero__inner > .webinar-hero__main {
  flex: 0 0 649px;
  max-width: 649px;
  min-width: 0;
}

.webinar-hero__title {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 56px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.webinar-meta {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--harbor);   /* Figma 429:2472 Harbor Blue */
  margin: 24px 0 0;                          /* Figma: title 84 → meta y=108 */
}

.webinar-hero__main .webinar-hero__content { margin-top: 24px; }  /* meta 27 → desc y=159 */
.webinar-hero__content > * { margin-block: 0; }
.webinar-hero__content > * + * { margin-block-start: 16px; }
.webinar-hero__content > h2 { margin-block-start: 48px; }          /* desc ends 319 → takeaways 367 */

.webinar-hero__content p {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}

.webinar-hero__content h2 {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 32px;
  font-weight: 420;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}

.webinar-hero__content ul {
  list-style: none;
  margin: 8px 0 0;               /* Figma: heading 48 → list y=55 */
  padding: 0;
}
.webinar-hero__content ul li {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 2;                /* Figma 21/2em */
  color: var(--wp--preset--color--ink);
  margin: 0;
  /* Bullet, not dash (Sasha 2026-07-03) — hanging indent, same scheme as the
     blog TOC/quick-links. 22px inset for the 21px type (TOC uses 18 at 16px). */
  position: relative;
  padding-left: 22px;
}
.webinar-hero__content ul li::before {
  content: "•";
  position: absolute;
  left: 2px;
}

/* ---- Register panel (eqp/webinar-register, Figma 429:2476: 524×548) ---- */
.webinar-hero__inner > .webinar-register {
  flex: 0 0 524px;
  box-sizing: border-box;
  min-height: 548px;
  padding: 44px 48px;            /* Figma content at (48, 44) */
  border-radius: 32px;
  /* 3-stop conic — matches cta-image-2's pixel-approved form (the dump's
     2-stop serialization drops the cream 0deg stop). */
  background: conic-gradient(from 180deg at 50% 77%, #FFF9F2 0deg, #0077B8 180deg, #FFF9F2 360deg);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* Noise texture overlay — standard pre-baked PNG recipe (site-wide). */
.webinar-register::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.55;
  mix-blend-mode: normal;
  pointer-events: none;
}
.webinar-register > * {
  position: relative;
  z-index: 2;                /* content above texture */
}

.webinar-register__title {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 32px;
  font-weight: 420;
  line-height: 1.2;
  color: var(--wp--preset--color--cream);
  margin: 0;
}

.webinar-register__form-wrap { margin-top: 24px; }   /* Figma column gap 24 */

.webinar-register__form,
.webinar-register .gform_wrapper .gform_fields {
  display: flex !important;
  flex-direction: column;
  gap: 16px !important;          /* Figma field gap */
  margin: 0;
  padding: 0;
  list-style: none;
}
.webinar-register .gform_wrapper form { margin: 0; }
.webinar-register .gform_wrapper .gform_heading,
.webinar-register .gform_wrapper .gform_required_legend { display: none; }
.webinar-register .gform_wrapper .gfield { margin: 0; padding: 0; }
.webinar-register .gform_wrapper .gfield .ginput_container { margin: 0; }
.webinar-register .gform_wrapper .gfield--type-hidden { display: none; }

.webinar-register__form input,
.webinar-register .gform_wrapper .gfield input[type='text'],
.webinar-register .gform_wrapper .gfield input[type='email'] {
  width: 100%;
  height: 56px;                  /* Figma EL-56534962 */
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  color: var(--wp--preset--color--ink);
  box-sizing: border-box;
  transition: box-shadow 160ms ease;
}
.webinar-register__form input::placeholder,
.webinar-register .gform_wrapper .gfield input::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 1;   /* Figma labels are solid ink (panel convention, Sasha 2026-07-02) */
}
.webinar-register__form input:focus,
.webinar-register .gform_wrapper .gfield input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--wp--preset--color--harbor-dark);   /* NOT IN FIGMA — proposed */
}

.webinar-register .gform_wrapper .gform_footer { margin: 24px 0 0; padding: 0; }  /* fields→buttons gap 24 */
.webinar-register__form button,
.webinar-register .gform_wrapper .gform_footer input.gform_button {
  width: 100%;
  height: 43px;                  /* Figma 429:2493 */
  padding: 12px 32px;
  background: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease;
  box-sizing: border-box;
  margin: 0;
}
.webinar-register__form button { margin-top: 8px; }   /* fallback: flex gap 16 + 8 = 24 */
.webinar-register__form button:hover,
.webinar-register .gform_wrapper .gform_footer input.gform_button:hover {
  background: var(--wp--preset--color--harbor-pressed);
}
.webinar-register .gform_wrapper .gfield_validation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  color: var(--wp--preset--color--cream);
  background: rgba(0, 65, 100, 0.55);
  border: 0;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 6px 0 0;
}
.webinar-register .gform_wrapper .gform_validation_errors { display: none; }
.webinar-register .gform_confirmation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--cream);
}

.webinar-register__calendar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;                     /* Figma 429:2495 */
  width: 100%;
  height: 43px;
  margin-top: 16px;              /* Figma button-group gap */
  background: var(--wp--preset--color--cream);
  border: 0.5px solid var(--wp--preset--color--harbor-dark);
  border-radius: 8px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 160ms ease;
}
.webinar-register__calendar:hover { background: var(--wp--preset--color--white); }   /* NOT IN FIGMA — proposed */
.webinar-register__calendar svg { display: block; }

/* ---- Speaker section (eqp/webinar-speaker, Figma 429:2499) ---- */
.webinar-speaker {
  background: var(--wp--preset--color--cream);
  padding: 64px 72px 128px;      /* hero pad-bottom 64 + 64 = 128 gap; →demo-cta 128 */
}
.webinar-speaker__inner {
  max-width: 1296px;
  margin: 0 auto;
}
.webinar-speaker__heading {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.webinar-speaker__card {
  background: var(--wp--preset--color--white);
  border-radius: 32px;
  padding: 48px;                 /* Figma inner at (48, 48) */
  margin-top: 24px;              /* Figma: heading 60 → card y=84 */
}
.webinar-speaker__head {
  display: flex;
  align-items: center;
  gap: 24px;                     /* Figma: name x=136, photo 112 */
}
.webinar-speaker img.webinar-speaker__photo {
  width: 112px;
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.webinar-speaker__name {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.webinar-speaker__role {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 8px 0 0;               /* Figma: role y=37 under name 29 */
}
.webinar-speaker__bio {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 24px 0 0;              /* Figma: bio y=136, photo ends 112 */
}

@media (max-width: 1024px) {
  .webinar-hero__inner { flex-direction: column; align-items: stretch; }
  .webinar-hero__inner > .webinar-hero__main { flex-basis: auto; max-width: 100%; }
  .webinar-hero__inner > .webinar-register { flex-basis: auto; margin-top: 48px; }
  .webinar-speaker { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 640px) {
  .webinar-hero__title { font-size: 36px; }
}


/* ---------- REQUEST DEMO — patterns/request-demo-hero.php ----------
   Figma: file=Qb45cT1EYNHLWQ1vIEI5Z7 frame=429:3018 section=429:3020
   Two-column: left text 372 (429:3092) + 66 gap + right gradient panel 858×624 (429:3021).
   Inside panel: calendar (left) + form (right) + submit centered below.
   Calendar widget + form chrome inherit .demo-cta__calendar / .cal__* / .gfield styles
   from the homepage demo-cta-bottom rules so visual treatment matches per Sasha. */

.request-demo-hero__grid {
  align-items: stretch;
  gap: 66px;                        /* Figma 438−372 = 66 */
}

.request-demo-hero__text {
  flex: 0 0 372px;                  /* 429:3092 width */
  max-width: 372px;
}

/* Element-level selector beats theme.json :where(h1) which sets letter-spacing -0.01em */
h1.request-demo-hero__headline,
.request-demo-hero__headline {
  font-family: var(--wp--preset--font-family--serif);   /* Minion Pro */
  font-weight: 420;                 /* style_T716TD */
  font-size: 56px;                  /* style_T716TD */
  line-height: 1.5;                 /* style_T716TD 150% */
  letter-spacing: 0;                /* style_T716TD has none; override theme h1 -0.01em */
  color: var(--wp--preset--color--ink);   /* Font Black #191919 */
  margin: 0;
}

.request-demo-hero__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Right gradient panel — same 3-stop cream→blue→cream conic as demo-cta-bottom
   per Sasha 2026-06-01 visual-rhythm decision. Origin 50%/88% from this panel's
   own Figma fill_WB98JL (vs demo-cta's 58%/86%). */
.request-demo-hero__panel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 624px;                /* 429:3021 fixed (was shrink-wrap → 560) */
  position: relative;
  isolation: isolate;
  border-radius: 32px;              /* 429:3022 */
  overflow: hidden;
  /* Conic origin = button center.
       Button horizontal: panel center (50%, button is centered via flex).
       Button vertical: pad-top 59 + grid 416 + gap 48 + half-button 21.5 = 544.5
         → 544.5 / 624 = 87.3% (rounded to 87% — Sasha #2: "center of gradient
         needs to be behind the center of the button"). */
  background: conic-gradient(
    from 180deg at 50% 87%,
    #FFF9F2 0deg,
    #0077B8 180deg,
    #FFF9F2 360deg
  );
  color: var(--wp--preset--color--cream);
}

/* Noise texture overlay — reuse the same asset shipped for demo-cta / cta-image-1. */
.request-demo-hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.55;                    /* pre-baked PNG; matches demo-cta-bottom */
  pointer-events: none;
}

/* Panel-inner must stretch to fill the parent wp:group flex column. WP's
   layout classes don't apply align-self: stretch to non-block children, so
   we force it. width: 100% + box-sizing border-box keeps the padding inside
   the 858 panel width. Padding mirrors Figma 429:3024 position at (61, 59):
   panel-padding-left 61, right 62, top 59, bottom 58. */
.request-demo-hero__panel-inner {
  position: relative;
  z-index: 2;                       /* above texture */
  width: 100%;
  align-self: stretch;
  padding: 59px 61px 58px;          /* Figma: 59 top / 61 sides (cal-group at x=61, y=59) */
  display: flex;
  flex-direction: column;
  gap: 48px;                        /* Figma 429:3090 y=464 below grid bottom y=416 → 48 */
  box-sizing: border-box;
  min-height: 624px;                /* Figma panel total height (429:3022) */
}

/* Inside-panel grid: calendar (left) + form-wrap (right). Both 416 tall to match.
   Calendar adopts demo-cta width (322.39) for visual treatment continuity; form
   320 (Figma 429:3071). Grid 658.39 wide centered in 736 (= 858 − 61 − 61) content area
   → calendar-left-from-panel-left = form-right-from-panel-right (Sasha #3). */
.request-demo-hero__grid-inner {
  display: grid;
  grid-template-columns: 322.39px 320px;
  gap: 16px;
  justify-content: center;
  align-items: start;
}

/* Calendar height override — match form column height. Figma form 429:3071 is
   416 tall (6 fields × 56 + 5 gaps × 16). Higher specificity wins over
   .demo-cta__calendar { height: 336px } from demo-cta-bottom rules. */
.demo-cta__calendar.request-demo-hero__calendar {
  height: 416px;
}

/* Form wrap: 320 wide; height set by 6 inputs × 56 + 5 gaps × 16 = 416. */
.request-demo-hero__form-wrap {
  width: 320px;
}

/* Mirror demo-cta gfield list spacing: 16px between fields. */
.request-demo-hero__form .gform_body { margin: 0; }

.request-demo-hero__form .gform_fields {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Inputs/selects — Figma 429:3072 etc.: 320 × 56 fields, padding 16, white bg,
   radius 8, placeholder Manrope 14/400 ink. Demo-cta uses 48-tall fields; we
   override to Figma's 56 here so form total height = 6×56 + 5×16 = 416 (matches
   Figma form 429:3071 + calendar height for Sasha's "equal heights" ask). */
.request-demo-hero__form .gfield input[type='text'],
.request-demo-hero__form .gfield input[type='email'],
.request-demo-hero__form .gfield select {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;                  /* style_TPI9RU */
  font-weight: 400;                 /* style_TPI9RU */
  color: var(--wp--preset--color--ink);
  width: 320px;                     /* Figma 429:3072 width */
  height: 56px;                     /* Figma 429:3072 height (was 48 inherited from demo-cta) */
  padding: 16px;                    /* layout_PKSY92 padding 16 (was 16/24) */
  border: 0;
  border-radius: 8px;               /* 429:3072 */
  background-color: var(--wp--preset--color--white);   /* fill_QSJ334 */
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.request-demo-hero__form .gfield input::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 0.55;
}

/* Default value shown in <select> styled like a placeholder (matches inputs). */
.request-demo-hero__form .gfield select {
  color: var(--wp--preset--color--ink);
  cursor: pointer;
}
.request-demo-hero__form .gfield select:has(option[value=""]:checked) {
  color: rgba(25, 25, 25, 0.55);
}

/* Custom chevron on each select. Figma fill_DCNDV7 is empty — using ink. */
.request-demo-hero__form .gfield--select {
  position: relative;
}
.request-demo-hero__form .gfield--select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  pointer-events: none;
  background-color: var(--wp--preset--color--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='currentColor' d='M3.5 6l4.5 4.5L12.5 6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='currentColor' d='M3.5 6l4.5 4.5L12.5 6'/></svg>") no-repeat center / contain;
}

/* Submit button — 320×43 padding 12/32 per Figma 429:3090, centered below grid.
   No margin-top: panel-inner's gap: 48 handles the grid-to-button spacing per Figma
   429:3090 y=464 below form-bottom y=416 → 48px gap. */
.request-demo-hero__submit-wrap {
  display: flex;
  justify-content: center;
}

.request-demo-hero__submit {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;                  /* style_74RMBM */
  font-weight: 400;                 /* style_74RMBM Regular */
  line-height: 1;
  color: var(--wp--preset--color--cream);   /* Soft Linen Cream */
  background-color: var(--wp--preset--color--harbor-dark);   /* #004164 */
  width: 320px;                     /* Figma 320 */
  height: 43px;                     /* Figma 43 */
  padding: 12px 32px;               /* layout_2TSGIC */
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease;
  box-sizing: border-box;
}

.request-demo-hero__submit:hover,
.request-demo-hero__submit:focus {
  background-color: var(--wp--preset--color--harbor-pressed);
  outline: none;
}

/* --- Real Gravity Form (form 4, 2026-07-02) twins of the static-fallback
   rules above. GF gravity-theme markup carries no .request-demo-hero__form
   class, so everything scopes via .request-demo-hero__form-wrap .gform_wrapper.
   Same Figma spec: 320×56 fields, 16 gaps, Book My Demo 320×43 centered
   below the calendar+form pair (48 gap). --- */
.request-demo-hero__grid-inner--gf {
  position: relative;
  padding-bottom: 91px;   /* 48 gap + 43 button (Figma 429:3090 y=464) */
}

.request-demo-hero__form-wrap .gform_wrapper form { margin: 0; }
.request-demo-hero__form-wrap .gform_wrapper .gform_heading,
.request-demo-hero__form-wrap .gform_wrapper .gform_required_legend { display: none; }
.request-demo-hero__form-wrap .gform_wrapper .gform_body { margin: 0; }

.request-demo-hero__form-wrap .gform_wrapper .gform_fields {
  display: flex !important;      /* gravity-theme ships display:grid */
  flex-direction: column;
  gap: 16px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.request-demo-hero__form-wrap .gform_wrapper .gfield { margin: 0; padding: 0; }
.request-demo-hero__form-wrap .gform_wrapper .gfield .ginput_container { margin: 0; }

.request-demo-hero__form-wrap .gform_wrapper .gfield input[type='text'],
.request-demo-hero__form-wrap .gform_wrapper .gfield input[type='email'],
.request-demo-hero__form-wrap .gform_wrapper .gfield select {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--wp--preset--color--ink);
  width: 320px;
  height: 56px;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.request-demo-hero__form-wrap .gform_wrapper .gfield input::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 0.55;
}
.request-demo-hero__form-wrap .gform_wrapper .gfield select { cursor: pointer; }
.request-demo-hero__form-wrap .gform_wrapper .gfield select:has(option.gf_placeholder:checked),
.request-demo-hero__form-wrap .gform_wrapper .gfield select:has(option[value=""]:checked) {
  color: rgba(25, 25, 25, 0.55);
}

/* Chevron on GF select rows (gravity-theme adds .gfield--type-select). */
.request-demo-hero__form-wrap .gform_wrapper .gfield--type-select { position: relative; }
.request-demo-hero__form-wrap .gform_wrapper .gfield--type-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  pointer-events: none;
  background-color: var(--wp--preset--color--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='currentColor' d='M3.5 6l4.5 4.5L12.5 6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='currentColor' d='M3.5 6l4.5 4.5L12.5 6'/></svg>") no-repeat center / contain;
}

/* Calendar-fed "Preferred Demo Date" row stays in the DOM for the mirror JS
   but never displays (Figma has no visible date field — the calendar IS it). */
.request-demo-hero__form-wrap .gform_wrapper .rd-date-hidden { display: none !important; }

/* GF footer = the Book My Demo button, lifted out of the right column and
   centered under the whole calendar+form pair via the --gf relative parent. */
.request-demo-hero__form-wrap .gform_wrapper .gform_footer {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.request-demo-hero__form-wrap .gform_wrapper .gform_footer input.gform_button {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: var(--wp--preset--color--cream);
  background-color: var(--wp--preset--color--harbor-dark);
  width: 320px;
  height: 43px;
  padding: 12px 32px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease;
  box-sizing: border-box;
  margin: 0;
}
.request-demo-hero__form-wrap .gform_wrapper .gform_footer input.gform_button:hover,
.request-demo-hero__form-wrap .gform_wrapper .gform_footer input.gform_button:focus {
  background-color: var(--wp--preset--color--harbor-pressed);
  outline: none;
}

/* Validation / confirmation on the gradient panel — NOT IN FIGMA, proposed
   (matches the other GF panels' convention). */
.request-demo-hero__form-wrap .gform_wrapper .gfield_validation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  color: var(--wp--preset--color--cream);
  background: rgba(0, 65, 100, 0.55);
  border: 0;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 6px 0 0;
}
.request-demo-hero__form-wrap .gform_wrapper .gform_validation_errors { display: none; }
.request-demo-hero__panel .gform_confirmation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--cream);
}

@media (max-width: 1023px) {
  .request-demo-hero__grid {
    flex-wrap: wrap;
    gap: 32px;
  }
  .request-demo-hero__text {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .request-demo-hero__headline {
    font-size: 40px;
  }
  .request-demo-hero__panel {
    flex: 0 0 100%;
  }
  .request-demo-hero__grid-inner {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  .request-demo-hero__form-wrap,
  .request-demo-hero__form .gfield input[type='text'],
  .request-demo-hero__form .gfield input[type='email'],
  .request-demo-hero__form .gfield select,
  .request-demo-hero__submit {
    width: 100%;
  }
}

/* ---------- REQUEST DEMO — patterns/request-demo-expect.php ----------
   Figma: file=Qb45cT1EYNHLWQ1vIEI5Z7 frame=429:3018 section=429:3124 1296×584
   Two-column inside 1296: LEFT steps 528 (429:3136) + 130 gap + RIGHT quote card 638 (429:3127). */

/* Element-level selector wins over theme.json :where(h2) */
h2.request-demo-expect__headline,
.request-demo-expect__headline {
  font-family: var(--wp--preset--font-family--serif);   /* Minion Pro */
  font-weight: 420;                 /* style_9ZQUP8 */
  font-size: 40px;                  /* style_9ZQUP8 */
  line-height: 1.5;                 /* 150% */
  letter-spacing: 0;                /* style_9ZQUP8 has none; override theme h2 -0.01em */
  color: var(--wp--preset--color--ink);   /* Font Black */
  margin: 0;
}

.request-demo-expect__grid {
  align-items: stretch;
  gap: 130px;                       /* Figma: 1296 − 528 − 638 = 130 (was 20) */
}

/* RIGHT — Testimonial card (429:3128 White card with 32px radius + 48px padding inside) */
.request-demo-expect__quote {
  flex: 0 0 638px;                  /* Figma fixed width (was flex 1 1 0) */
  background-color: var(--wp--preset--color--white);   /* fill_QSJ334 = #FFFFFF */
  border-radius: 32px;              /* 429:3128 */
  padding: 48px;                    /* 429:3129 layout_IDBEB5 inset */
  gap: 48px;                        /* layout_IDBEB5 gap between body + attribution */
  box-sizing: border-box;
}

.request-demo-expect__quote-body {
  font-family: var(--wp--preset--font-family--sans);   /* Manrope */
  font-weight: 400;                 /* style_WGW6KX */
  font-size: 21px;                  /* style_WGW6KX */
  line-height: 2.0;                 /* 200% */
  color: var(--wp--preset--color--ink);
  max-width: 542px;                 /* layout_8G32OH fixed */
  margin: 0;
}

.request-demo-expect__attribution {
  margin: 0;
}

.request-demo-expect__attribution-text {
  margin: 0;
  gap: 8px;                         /* Figma name h=25 at y=0, role at y=33 → 8 */
}

/* Name (top per Figma) — style_HML9WB Roobert SemiBold 21 */
.request-demo-expect__name {
  font-family: var(--wp--preset--font-family--sans);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Role/industry (below name per Figma) — style_F23VRM Roobert Regular 16 lh 150% */
.request-demo-expect__role {
  font-family: var(--wp--preset--font-family--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* LEFT — Steps column (429:3136 528×384) */
.request-demo-expect__steps {
  flex: 0 0 528px;                  /* Figma fixed (was flex 1 1 0) */
  position: relative;
  gap: 48px;                        /* Figma badge2 at y=144, badge1 ends y=96 → 48 (was 24) */
}

.request-demo-expect__step {
  margin: 0;
  position: relative;
  z-index: 1;
  gap: 48px;                        /* Figma step text-frame at x=144, badge 96w → gap 48 */
}

/* Connector line — per-segment between adjacent badges so it terminates correctly
   regardless of text-body wrapping height. Each segment bridges current badge bottom
   to next badge top (= row remainder + 48px gap between rows). NOT rendered on the
   last step so no line shows below badge 3. Sasha 2026-06-01 image fix. */
.request-demo-expect__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 48px;                       /* badge mid (badge 96 wide → mid at 48) */
  top: 96px;                        /* immediately below the 96-tall badge */
  bottom: -48px;                    /* extend 48px below the row to span the wrapper gap */
  width: 1px;
  background-color: var(--wp--preset--color--harbor);
  pointer-events: none;
}

.request-demo-expect__step-number {
  flex: 0 0 96px;                   /* Figma layout_I15WFY 96×96 (was 80) */
  width: 96px;
  height: 96px;
  box-sizing: border-box;           /* keep outer dim 96×96 with border inside */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--serif);   /* Minion Pro */
  font-weight: 420;                 /* style_83DR3T */
  font-size: 32px;                  /* style_83DR3T */
  line-height: 1.5;                 /* 150% = 48px (was 1) */
  color: var(--wp--preset--color--ink);
  background-color: var(--wp--preset--color--cream);   /* fill Soft Linen Cream */
  border: 0.5px solid var(--wp--preset--color--harbor);
  border-radius: 24px;
  margin: 0;
}

.request-demo-expect__step-text {
  margin: 0;
  flex: 1 1 auto;
}

.request-demo-expect__step-title {
  font-family: var(--wp--preset--font-family--sans);
  font-weight: 600;                 /* style_HML9WB */
  font-size: 21px;
  line-height: 1.3;                 /* NOT IN FIGMA — proposed */
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.request-demo-expect__step-body {
  font-family: var(--wp--preset--font-family--sans);
  font-weight: 400;                 /* style_F23VRM */
  font-size: 16px;
  line-height: 1.5;                 /* 150% */
  color: var(--wp--preset--color--ink);
  margin: 0;
}

@media (max-width: 1023px) {
  .request-demo-expect__grid {
    flex-wrap: wrap;
    gap: 48px;
  }
  .request-demo-expect__quote,
  .request-demo-expect__steps {
    flex: 0 0 100%;
  }
}

/* -----------------------------------------------------------------------------
   WHY EQUITYPATH — page-specific patterns
   Figma source: file=Qb45cT1EYNHLWQ1vIEI5Z7 page=Why-EquityPath frame=429:3283
----------------------------------------------------------------------------- */

/* WHY-HERO — patterns/why-hero.php
   Figma: 429:3284 (gradient panel) + 429:3290 (hero copy on cream).
   Frame 429:3283 1440 wide; text group at x=292 y=176 (857 wide centered);
   gradient panel at y=478 (overlaps last 56px of text region by design);
   product shot inside panel at x=29 y=34 w=1382 h=1030 (0 bottom inset).
   No trust strip on this page. */

.why-hero {
  background-color: var(--wp--preset--color--cream);
  padding: 0;
}

.why-hero__text {
  max-width: 857px;
  margin: 0 auto;
  padding: 95px 24px 0; /* H1 at 176 from page top: header 81 + 95 (Figma headline y=176); side 24 NOT IN FIGMA */
  text-align: center;
  position: relative;
  z-index: 1;
}

.why-hero__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 56px;       /* style_RR1VHB size 56 */
  font-weight: 420;      /* style_RR1VHB weight 420 */
  line-height: 1.5;      /* 150% */
  letter-spacing: 0;
  color: var(--wp--preset--color--ink); /* #191919 */
  margin: 0 0 24px;      /* gap to subhead = 192 - 168 = 24 */
  text-wrap: balance;
}

.why-hero__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;       /* style_NVY3SD size 21 */
  font-weight: 400;
  line-height: 1.5;      /* 150% */
  color: var(--wp--preset--color--ink); /* #191919 */
  max-width: 588px;      /* layout_V8DORU w=588 */
  margin: 0 auto 48px;   /* gap to button = 304 - 256 = 48 */
}

.why-hero__cta .wp-block-button__link {
  padding: 16px 32px;    /* layout_WBM0U7 padding */
  font-size: 18px;       /* style_4S5JTC size 18 */
  font-weight: 400;
  border-radius: 8px;    /* 429:3291 borderRadius 8 */
  min-height: auto;
}

.why-hero__media {
  /* fill_1R743P: linear-gradient(180deg, #FFF9F2 16%, #0077B8 70%, #004164 100%) */
  background: linear-gradient(180deg, #FFF9F2 16%, #0077B8 70%, #004164 100%);
  border-radius: 0 0 32px 32px; /* 429:3286 radius 0 0 32 32 */
  padding: 34px 29px 0;  /* 429:3288 inset: top 34, sides 29, bottom 0 */
  margin-top: -56px;     /* gradient y=478 vs text-end y=534 → overlap 56px */
  position: relative;
  z-index: 0;
}

.why-hero__product-shot { margin: 0; }
.why-hero__product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;      /* product image flush — no radius in Figma */
}

/* Tighten the gap between hero and the first following section.
   NOT IN FIGMA — proposed pending review. */
.why-hero + section,
.why-hero + .wp-block-group {
  margin-top: 0 !important;
  padding-top: 48px;
}

/* WHY-STATS — patterns/why-stats.php
   Figma: 429:3296 — "Proof in action" + 4 stat tiles (224x224 each).
   Roobert SemiBold 48px numbers in Harbor Blue, Roobert Regular 18px descriptors.
   White tiles, border-radius 32, NO stroke, NO shadow (Figma is flat). */

.why-stats__row.why-stats__row {
  padding: 0;
  max-width: 1294px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

h2.why-stats__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);
  margin: 0;
  flex: 0 0 250px;
  max-width: 250px;
}

/* ANY-COUNT FILL (Kelly BC 10242036317, 2026-08-29): the Figma row is 4 tiles
   in two 2-tile clusters spaced across 945px. Kelly now runs 3 (and may run
   5+). Clusters become display:contents so every tile is a direct flex child
   of the group and they share the row evenly with 16px gaps — 4 tiles still
   land at the Figma 224px; 3 tiles = ~304px; 5 = ~176px. Proposed. */
.why-stats__tile-group {
  flex: 0 0 945px;
  width: 945px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 16px;
}

.why-stats__tile-cluster {
  display: contents;
}

/* REAL-COPY HARDENING (Kelly 2026-07-02, BC 10058040703): Figma's tiles were
   measured against a 16-char lorem label; Kelly's real labels ("Less HR Time
   Spent Resolving Pay Disputes") overflowed the fixed 224×224/nowrap build.
   NOT IN FIGMA — proposed: side padding 24px (was 40) so labels get a 176px
   column, height auto + min-height 224 with vertical centering (tiles stay
   224-square until a label needs 4+ lines), labels wrap. */
.why-stats__tile.why-stats__tile {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 224px;
  padding: 32px 24px;
  background-color: var(--wp--preset--color--white);
  border-radius: 32px;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.why-stats__number {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 48px;
  font-weight: 600;
  line-height: 58px;
  color: var(--wp--preset--color--harbor);
  margin: 0;
}

.why-stats__label {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--wp--preset--color--ink);
  margin: 0;
  /* was white-space: nowrap — sized to the lorem placeholder; real labels
     must wrap inside the tile (Kelly 2026-07-02). */
  overflow-wrap: break-word;
}

@media (max-width: 1024px) {
  .why-stats__row.why-stats__row { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .why-stats__tile-group { flex: 0 0 100%; width: auto; flex-wrap: wrap; justify-content: center; gap: 16px; }
  h2.why-stats__headline { flex: 0 0 100%; max-width: none; text-align: center; }
  .why-stats__tile.why-stats__tile { flex: 1 1 224px; }
}
@media (max-width: 640px) {
  .why-stats__tile.why-stats__tile { flex: 0 0 100%; width: 100%; height: auto; padding: 32px 24px; }
}

/* WHY-DIFFERENTIATORS — patterns/why-differentiators.php
   Sasha 2026-06-20: this section now REUSES the homepage feature-showcase
   component (same `.feature-showcase__*` classes + active-card JS) so the two
   stay identical — only the headline copy differs. All styling lives in the
   FEATURE SHOWCASE block above; no `.why-diff__*` rules remain. */

/* WHY-COMPARISON — patterns/why-comparison.php
   Figma: 429:3446 / Group 1577708600 — h2 + 3-column white table (1 header + 5 data rows).
   Outer rect 1px stroke fill_AHEZC4 (approx neutral-40), radius 32, white bg.
   Header cells: Manrope 600 / 18 (Figma style_4DMXMV Roobert SemiBold 18). Body cells: Manrope 400 / 16. */

h2.why-comparison__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);
  margin: 0 0 48px;
}

.why-comparison__table {
  /* className lands on the core/table FIGURE. White card chrome as before. */
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--neutral-40);
  border-radius: 32px;
  overflow: hidden;
  margin: 0;
}

.why-comparison__table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 0;
}

/* Column rhythm 1fr / 0.5fr / 0.7fr -> fixed-layout percentages. */
.why-comparison__table th:nth-child(1),
.why-comparison__table td:nth-child(1) { width: 45.45%; }
.why-comparison__table th:nth-child(2),
.why-comparison__table td:nth-child(2) { width: 22.73%; }
.why-comparison__table th:nth-child(3),
.why-comparison__table td:nth-child(3) { width: 31.82%; }
/* Two-column variant (Kelly BC 10242063469, 2026-08-29: "Alternative
   Solutions" column removed) — count-aware so re-adding the column later
   restores the 3-col rhythm automatically. */
.why-comparison__table th:nth-child(1):nth-last-child(2),
.why-comparison__table td:nth-child(1):nth-last-child(2) { width: 70%; }
.why-comparison__table th:nth-child(2):last-child,
.why-comparison__table td:nth-child(2):last-child { width: 30%; }

.why-comparison__table th,
.why-comparison__table td {
  box-sizing: border-box;   /* fixed-layout % widths include padding (UA default is content-box) */
  padding: 24px 32px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  text-align: left;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid var(--wp--preset--color--neutral-40);
  border-right: 1px solid var(--wp--preset--color--neutral-40);
  word-break: normal;
}
.why-comparison__table th:last-child,
.why-comparison__table td:last-child { border-right: 0; }
.why-comparison__table tbody tr:last-child td { border-bottom: 0; }

.why-comparison__table thead { border: 0; }
.why-comparison__table th {
  font-size: 18px;       /* style_4DMXMV */
  font-weight: 600;
  padding: 28px 32px;    /* slightly taller header */
}

.why-comparison__table th:nth-child(n+2),
.why-comparison__table td:nth-child(n+2) { text-align: center; }

/* Check / cross glyphs: inline-color TEXT (copy-paste keeps the color).
   22px on a 24px line box so row heights match the old 24px SVG build. */
.why-comparison__table mark.has-inline-color {
  background: none;
  font-size: 22px;
  line-height: 20px;          /* box smaller than the 24px strut so the row stays 72+1 */
  display: inline-block;
  vertical-align: middle;
}

/* -----------------------------------------------------------------------------
   PRICING — COMPARE ALL FEATURES (patterns/pricing-compare.php, Kelly BC
   10242242850, 2026-08-29). NOT IN FIGMA — proposed: a centered
   outline-button toggle (core Details block) that expands the full 5-column
   edition table; table reuses the why-comparison card chrome. Table lives in
   the DOM collapsed (crawlable for AEO), no JS.
----------------------------------------------------------------------------- */
.pricing-compare__details {
  max-width: 1296px;
  margin: 0 auto;
}
.pricing-compare__details > summary {
  /* outline-primary button look, centered */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 12px 32px;
  border: 1px solid var(--wp--preset--color--harbor-dark);
  border-radius: 8px;
  background: transparent;
  color: var(--wp--preset--color--harbor-dark);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.pricing-compare__details > summary::-webkit-details-marker { display: none; }
.pricing-compare__details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}
.pricing-compare__details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.pricing-compare__details > summary:hover {
  background: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
}
/* the summary is inline-flex; center it via the details' text-align */
.pricing-compare__details { text-align: center; }
.pricing-compare__details > .wp-block-table { text-align: left; margin-top: 32px; }
/* 5 columns: feature 36% + 4 × 16% (overrides the 3-col why-comparison widths) */
.pricing-compare__table th:nth-child(1),
.pricing-compare__table td:nth-child(1) { width: 36%; }
.pricing-compare__table th:nth-child(n+2),
.pricing-compare__table td:nth-child(n+2) { width: 16%; text-align: center; }
.pricing-compare__table tbody tr:first-child td { font-weight: 600; }

@media (max-width: 768px) {
  .why-comparison__table { overflow-x: auto; }
  .why-comparison__table table { min-width: 600px; }
}

/* WHY-EQUITYPATH PAGE — last-CTA-bleeds-into-footer override.
   On this page the final cta-image-2 sits flush against the footer's top edge
   (like the homepage's demo-cta-bottom). Keep the panel at default 1296 max-
   width centered, top corners rounded 32, bottom corners flat. */
.page-template-page-why-equitypath .cta-image-2.cta-image-2 {
  padding-bottom: 0 !important;
}
.page-template-page-why-equitypath .cta-image-2 .cta-image-2__panel {
  border-radius: 32px 32px 0 0;
}

/* WHY-MISSION — patterns/why-mission.php
   Figma: 429:3367 / Group 1577708570 (page=Why-EquityPath, frame=429:3283).
   Section sits on cream page bg; text left (421w) + Harbor-gradient image card right (748w),
   gap 127px, total content 1296px. Section padding 96/96 proposed (not in Figma). */

/* Let WP's constrained layout clamp the inner to 1296px centered — same content
   container as every other section. Content math: 421 (text) + 127 (gap) + 748
   (card) = 1296 exactly, so no padding override needed.  Sasha 2026-06-02:
   previous full-1440-with-72-padding rendering looked "misplaced to left" vs
   the standard content container used by neighboring sections. */
.why-mission__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 127px;
}

.why-mission__text {
  flex: 0 0 421px;
  max-width: 421px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-mission__headline.why-mission__headline,
h2.why-mission__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);
  margin: 0;
  max-width: 275px;
}

.why-mission__body.why-mission__body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.why-mission__card {
  position: relative;
  flex: 0 0 748px;
  width: 748px;
  height: 521px;
  border-radius: 32px;
  overflow: hidden;
  /* Figma source: node 429:3372 fill_VMUIUB. Figma's "Copy as CSS" exports the
     inner conic as `from 90deg`; the SVG export wraps it in a 90° CW transform
     (matrix(0 0.2605 -0.374 0 374 260.5), accounting for SVG's y-down coords).
     Effective rendered start: 90deg + 90deg = `from 180deg`. This puts the
     cream highlight at the top-right and harbor-dark anchored at the bottom,
     matching Sasha's 2026-06-02 "gradient should start from top-right" intent. */
  background: conic-gradient(
    from 180deg,
    #004164 0deg,
    #0077B8 90deg,
    #FFF9F2 230.4deg,
    #004164 360deg
  );
}

/* Texture overlay (Figma fill_X2JFRH, opacity 0.11).
   Substituting existing cta-image-1-texture.png — pending designer review. */
.why-mission__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(/wp-content/themes/equitypath/assets/img/cta-image-1-texture.png);
  background-repeat: repeat;
  opacity: 0.11;
  border-radius: 32px;
  pointer-events: none;
  z-index: 1;
}

.why-mission__image {
  position: absolute;
  top: 33px;
  left: 32px;
  right: 32px;
  bottom: 32px;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  z-index: 2;
}

.why-mission__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

/* Mobile stack — not in Figma, proposed */
@media (max-width: 1024px) {
  .why-mission__inner {
    flex-direction: column;
    gap: 48px;
  }
  .why-mission__text {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .why-mission__card {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 748 / 521;
  }
  .why-mission__image {
    top: 4.41%;
    left: 4.28%;
    right: 4.28%;
    bottom: 4.28%;
  }
}

/* WHY-EXPERTISE — patterns/why-expertise.php
   Figma: 429:3375 — Expertise quote cards + carousel dots + Recognitions tile row.
   All values traced to nodes 429:3375..429:3420 in offline dump. */

.why-expertise__headline,
.why-expertise__sub-headline,
h2.why-expertise__headline,
h2.why-expertise__sub-headline {
  /* style_7OL20D: Season Mix 420 / 40px / lh 150% / align CENTER (412×60 / 227×60).
     Figma fill is Font Black #191919 (ink), not harbor-dark.
     h2.classname compound selector is needed to beat theme.json :where(h2) defaults. */
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Quote-cards slider (429:3378): two 638×476 cards visible, 20px gap; dot-paged.
   Viewport clips the overflowing track; JS (why-expertise-slider.js) translates
   the track. Viewport is a flow group (NOT constrained) so the track keeps its
   max-content width and overflows to be clipped. */
.why-expertise__viewport {
  overflow: hidden;
}
.why-expertise__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.why-expertise__card,
.why-expertise__card.why-expertise__card {
  /* 429:3380: white bg, radius 32px. Stroke is the HOVER state (Sasha 2026-06-20):
     transparent 0.5px at rest (keeps box size stable), harbor 0.5px on hover.
     Inner frame 429:3381: column, gap 48px, padding 48px (set via PHP blockGap + padding).
     Doubled-class selector + !important defeat WP's auto-emitted
     .wp-container-core-group-is-layout-XXX { padding: 0 } container override. */
  flex: 0 0 638px;            /* Figma card width; 638+20+638 = 1296 = 2-up viewport */
  box-sizing: border-box;
  min-width: 0;
  background-color: var(--wp--preset--color--white);
  border: 0.5px solid transparent;
  border-radius: 32px;
  padding: 48px !important;
  transition: border-color 200ms ease;
}
.why-expertise__card:hover,
.why-expertise__card.why-expertise__card:hover {
  border-color: var(--wp--preset--color--harbor);
}

.why-expertise__quote {
  /* style_WGW6KX: Roobert 400 / 21px / lh 200% → Manrope 21px / 400 / lh 2.0 */
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 2;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.why-expertise__attribution {
  /* Attribution bubble (429:3383) — Figma uses 80×80 photo + text; we drop the photo
     per testimonial rule and render a text-only bubble inline with the card bg
     (white, no chip background — Sasha 2026-06-02). */
  background-color: transparent;
  padding: 0 !important; /* defeat WP block-style padding from the markup */
  align-self: flex-start;
}

.why-expertise__initials {
  /* style_HML9WB (maps from "Jane Smith" name slot, top of bubble): Roobert 600 / 21px
     → Manrope 21px / 600 / ink */
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.why-expertise__industry {
  /* style_F23VRM (maps from role slot, bottom of bubble): Roobert 400 / 16px / lh 150%
     → Manrope 16px / 400 / lh 1.5. Figma fill is Font Black #191919 (ink). */
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Carousel pagination dots (429:3397): 36×8 total = 8 + 6gap + 8 + 6gap + 8.
   Centered under cards container. JS not yet built — static visual scaffolding. */
.why-expertise__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 24px 0 0;
}
.why-expertise__dot {
  /* Inactive dots in Figma are outlined (stroke only, no fill).
     box-sizing: border-box keeps outer 8×8 dimension constant with border.
     Buttons (clickable) — reset native chrome. */
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border-radius: 9999px;
  background-color: transparent;
  border: 1.5px solid var(--wp--preset--color--neutral-40);
}
.why-expertise__dot.is-active {
  background-color: var(--wp--preset--color--harbor);
  border-color: var(--wp--preset--color--harbor);
}

/* Recognitions sub-section (429:3401): 992×284, centered in 1296.
   Headline-to-tiles gap 24px set via PHP margin-top. */
.why-expertise__recog-grid {
  align-items: stretch;
  max-width: 992px;
  margin-inline: auto;
  /* ANY-COUNT (Kelly BC 10242053262, 2026-08-29): the Figma row is 3 tiles;
     Kelly is adding country-readiness tiles. Wrap at the 992 rail — 3×320 +
     2×16 fits exactly, so rows stay 3-up and centered. !important beats the
     block's flexWrap:nowrap (.is-nowrap). Proposed. */
  flex-wrap: wrap !important;
  justify-content: center;
  row-gap: 16px;
}

.why-expertise__recog,
.why-expertise__recog.why-expertise__recog {
  /* Each tile 320×200, radius 32, white bg, no stroke. Content y:49 (top pad 49 / bottom 48).
     Inner blockGap 32px between icon and label (set via PHP).
     Doubled-class selector + !important defeat WP's auto-emitted
     .wp-container-core-group-is-layout-XXX { padding: 0 } container override. */
  flex: 0 0 320px;
  min-width: 0;
  background-color: var(--wp--preset--color--white);
  border-radius: 32px;
  align-items: center;
  text-align: center;
  padding: 49px 32px 48px !important;
}

.why-expertise__recog-icon { margin: 0; flex-shrink: 0; }
.why-expertise__recog-icon.why-expertise__recog-icon img {
  /* Doubled-class specificity to defeat WP .wp-block-image.is-resized > img { width:auto } */
  display: block;
  width: 48px;
  height: 48px;
  max-width: none;
}

.why-expertise__recog-label {
  /* style_N881H4: Roobert 600 / 19px / align CENTER → Manrope 19px / 600 / ink */
  font-family: var(--wp--preset--font-family--sans);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* NOT IN FIGMA — proposed mobile breakpoint */
@media (max-width: 1024px) {
  .why-expertise__recog-grid {
    flex-wrap: wrap;
  }
  .why-expertise__recog {
    flex: 0 0 100%;
  }
  /* Slider stays 1-up; JS recomputes slot + dot count from the DOM. */
  .why-expertise__card,
  .why-expertise__card.why-expertise__card {
    flex: 0 0 calc(100vw - 48px);
  }
}

/* ===========================================================================
   PRODUCT PAGE (sub-session: page-product) — page-specific styles
   Patterns:
     product-hero, product-problems, product-features-grid, product-real-results,
     product-plans-feature, product-install-trio, product-video-explainer,
     product-pricing-cards
   Figma source: file=Qb45cT1EYNHLWQ1vIEI5Z7 frame=429:3613 (EquityPath - Product)
   =========================================================================== */

/* ---- PRODUCT HERO ---- */

.product-hero {
  position: relative;
  padding: 95px 0 48px;   /* H1 at 176 from page top: header 81 + 95 (Figma text block y=176); bottom 48 per project rhythm */
  overflow: hidden;
}

.product-hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}

.product-hero__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 56px;
  font-weight: 420;
  line-height: 1.5;   /* style_RR1VHB 150% — restored from drift (1.15) to match all heroes, Sasha 2026-06-20 */
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);   /* headings are Font Black, not blue */
  max-width: 1131px;
  margin: 0;
}

.product-hero__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  max-width: 720px;
  margin: 0;
}

.product-hero__cta .wp-block-button__link {
  padding: 16px 32px;
  font-size: 18px;
}

/* Copy-driven hero extras (client copy 2026-07-02) — NOT IN FIGMA, proposed:
   pricing microcopy under the CTA + optional secondary link (EquityTest
   "View Sample Report"). */
.product-hero__text .product-hero__note {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 12px 0 0;
}
.product-hero__text .product-hero__secondary { margin: 8px 0 0; }
.product-hero__secondary a {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Per designer feedback: keep the navy band SHORT — push the dark stop later
   in the gradient and cap the panel padding so the navy is a thin strip
   below the dashboard image, then cream space below before next section. */
.product-hero__media {
  position: relative;
  margin-top: 0;
  padding: 34px 29px 24px;
  background: linear-gradient(180deg, #FFF9F2 12%, #0077B8 82%, #004164 100%);
  border-radius: 0 0 32px 32px;
}

.product-hero__product-shot {
  margin: 0 auto;
  max-width: 1373px;
}
.product-hero__product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---- PRODUCT PROBLEMS ---- */

.product-problems__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;
  color: var(--wp--preset--color--ink);
  margin: 0 0 32px;
}

/* Copy-driven section intro (client copy 2026-07-02) — NOT IN FIGMA, proposed. */
.product-problems__col-text .product-problems__intro {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: -16px 0 32px;   /* sits between headline (mb 32) and the stack */
}

.product-problems__stack { width: 100%; }

/* Per Figma 429:3627: problem cards are plain text blocks (no visible border).
   They sit on the cream section bg with generous whitespace. */
.product-problems__card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 8px;
}

.product-problems__number {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wp--preset--color--harbor);
  margin: 0;
}

.product-problems__body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-problems__image img {
  border-radius: 32px;
  display: block;
  width: 100%;
  height: auto;
}
/* Kelly BC 10261584298 (2026-09-01, "same for this block"): centre the image
   column against the text column instead of pinning it to the top. Column-level
   align-self so the row still stretches to the taller (text) column. */
.product-problems .product-problems__row > .wp-block-column.product-problems__col-media {
  align-self: center;
}

/* ---- PRODUCT FEATURES GRID ---- */

.product-features-grid__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;
  text-align: center;
  color: var(--wp--preset--color--ink);
  margin: 0 0 48px;
}

.product-features-grid__sub {
  display: block;
  font-style: italic;
  opacity: 0.85;
}

/* Per Figma 429:3696: row of 4 individual cells; only the first cell
   ("Find & resolve pay gaps") has a Harbor border. Others are flush. */
.product-features-grid__row { width: 100%; }

.product-features-grid__cell {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 32px;
  transition: background-color 200ms ease, border-color 200ms ease;
}
/* Sasha 2026-09-02: match the homepage feature-showcase — the chrome is the
   ACTIVE state (white + harbor): the featured cell starts active, hover/focus
   transfers it to another cell and it stays there (feature-showcase.js). The
   featured class alone paints the no-JS fallback; once the root is .is-js the
   .is-active class drives it. !important beats the featured cell's inline
   border-color (it carries the harbor border as a block attribute). */
.product-features-grid__cell--featured {
  background: var(--wp--preset--color--white);
  border-color: rgba(0, 119, 184, 0.5);
}
.product-features-grid.is-js .product-features-grid__cell:not(.is-active) {
  background-color: transparent;
  border-color: transparent !important;
}
.product-features-grid.is-js .product-features-grid__cell.is-active {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--harbor) !important;
}

.product-features-grid__icon { margin: 0; }
.product-features-grid__icon.product-features-grid__icon img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: none;
}

.product-features-grid__title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-features-grid__body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* ---- PRODUCT REAL RESULTS ---- */

/* Product-real-results headline — Figma 429:3693 uses style_9ZQUP8
   (same style as trust-cards headline): Season Mix-TRIAL Regular 40/150% LEFT TOP
   fill Font Black. `h2.` prefix beats theme.json :where(h2) defaults. */
h2.product-real-results__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wp--preset--color--ink);
  margin: 0;
  max-width: 491px;
}

/* Per Figma 429:3654 + designer reference: cards arranged as a staircase
   stacked deck. Only the front card has full content; 3 decoy outlines
   peek behind, offset down-right. A Harbor Blue accent rect sits BEHIND
   the stack and pokes out at the bottom-right with cream caption text. */

/* Both columns stretch to 329px (matching the stack-wrap height) so the
   Request Demo button bottom (left col) aligns with the accent rect bottom
   (right col). Override WP's .is-vertically-aligned-center on each column. */
.product-real-results__row {
  align-items: stretch !important;
  min-height: 329px;
}
.product-real-results__row > .wp-block-column.product-real-results__col-text,
.product-real-results__row > .wp-block-column.product-real-results__col-stack {
  align-self: stretch !important;
}
.product-real-results__col-text {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
}
.product-real-results__col-stack {
  position: relative;
}

/* Stack-wrap = 672 × 329 box matching the right column of Figma 429:4135.
   All children positioned absolute at exact Figma coords. Front card at
   (72,72) — bottom-right; decoys peek up-left behind it. */
.product-real-results__stack-wrap {
  position: relative;
  width: 672px;
  height: 329px;
}

/* margin: 0 overrides WP's flow-layout sibling margin that would otherwise
   shift absolute-positioned children down by 24px from their `top:` value.
   2026-05-26: rebuilt as a deck cycle — see .deck-card rules in the trust-cards
   block above. Position/z-index controlled by .pos-0..3 modifier classes
   applied to each .deck-card; JS in assets/js/deck-cycle.js rotates them. */
.product-real-results__card {
  position: absolute;
  width: 600px;
  height: 200px;
  margin: 0;
  /* Kelly BC 10261409931 (2026-09-01): cards were cream (Figma 429:3655) but
     she wants them to match the homepage trust cards — white + 0.5 harbor. */
  background: var(--wp--preset--color--white);
  border: 0.5px solid var(--wp--preset--color--harbor);
  border-radius: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 52px 67px;
}

/* Harbor Blue back rect — 305×200 at (367,129) per Figma layout_Y6A0CB. z=1. */
.product-real-results__accent {
  position: absolute;
  top: 129px;
  left: 367px;
  width: 305px;
  height: 200px;
  margin: 0;
  background: var(--wp--preset--color--harbor);
  border-radius: 32px;
  z-index: 1;
  box-sizing: border-box;
}

/* Caption — Roobert Medium 14 RIGHT, fill Soft Linen Cream.
   Right-anchored at 34px from accent right edge, width 270 (Manrope wider than
   Roobert needs more horizontal space to fit on one line). */
.product-real-results__accent-text {
  position: absolute;
  top: 161px;
  right: 34px;
  width: 270px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--wp--preset--color--cream);
  margin: 0;
  text-align: right;
}

.product-real-results__icon { margin: 0; flex-shrink: 0; }
.product-real-results__icon.product-real-results__icon img {
  display: block;
  width: 96px;
  height: 96px;
  max-width: none;
}

.product-real-results__card-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-real-results__card-body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.4;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* ---- PRODUCT PLANS (FEATURE PICKER) ---- */

.product-plans__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;
  text-align: center;
  color: var(--wp--preset--color--ink);
  margin: 0 0 48px;
}

/* Per Figma 429:3789: row of 4 plan cards. Plain cards have no visible border;
   only the LAST card (featured) has the Harbor blue border. */
.product-plans__row { width: 100%; }

.product-plans__card {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 32px;
  padding: 40px 24px;
  height: 100%;
}
.product-plans__card--featured {
  background: var(--wp--preset--color--cream);
  border: 1px solid rgba(0, 119, 184, 0.5);
  padding: 40px 32px;
}

.product-plans__icon { margin: 0 0 4px; }
.product-plans__icon.product-plans__icon img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: none;
}

.product-plans__name {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-plans__tagline {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--neutral-70);
  margin: 0;
}

.product-plans__divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--wp--preset--color--neutral-40);
  margin: 4px 0;
}

.product-plans__intro {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* Per Figma: bullets are check icons (Phosphor check, Harbor blue),
   not standard list dots. Implemented as background SVG on each <li>. */
.product-plans__bullets {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.product-plans__bullets li {
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}
.product-plans__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

.product-plans__learn {
  margin: 0;
}
.product-plans__learn a {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- PRODUCT FEATURE BREAKDOWN — patterns/product-feature-breakdown.php
   Figma 429:3725: heading 40/1.5 center → 48 → bento grid 1296×944 (row 1:
   2×640×512 gap 16; row 2: 3×421×416 gap 16) → 48 → View More button.
   Card: white r32; big padding 44/50 (bottom 43≈44), small padding 48;
   title Roobert 600 24 lh 29; desc 400 18/1.5 +16; screenshot r8
   shadow 0 0 4 rgba(0,0,0,.16) +24. ---- */

h2.product-breakdown__heading {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-breakdown__row {
  margin-top: 48px;              /* heading→grid 48 (Figma y=108 − 60) */
}
.product-breakdown__row--small { margin-top: 16px; }   /* row gap 16 */

.product-breakdown__card {
  flex: 1 1 0;
  background: var(--wp--preset--color--white);
  border-radius: 32px;
  padding: 48px;                 /* small card content at (48,48) */
  box-sizing: border-box;
  min-width: 0;
}
.product-breakdown__card--big {
  padding: 44px 50px 43px;       /* big card content at (50,44), bottom 43 */
}

.product-breakdown__title.product-breakdown__title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;             /* Figma title box 29 tall */
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-breakdown__card .product-breakdown__desc {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 16px 0 0;              /* Figma desc y=45 − title 29 */
}

.product-breakdown__card .product-breakdown__shot {
  margin: 24px 0 0;              /* Figma image 24 below text block */
}
.product-breakdown__shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
}
.product-breakdown__card--big .product-breakdown__shot img { height: 275px; object-fit: cover; }
.product-breakdown__card:not(.product-breakdown__card--big) .product-breakdown__shot img { height: 216px; object-fit: cover; }

.product-breakdown__more {
  margin-top: 48px;              /* grid→button 48 (Figma 1100 − 1052) */
}

@media (max-width: 1024px) {
  .product-breakdown__row.product-breakdown__row { flex-wrap: wrap; }
  .product-breakdown__card { flex: 1 1 100%; }
}

/* ---- PRODUCT INSTALL TRIO ---- */

.product-install-trio__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-install-trio__grid > .wp-block-group {
  flex: 1 1 0;
  min-width: 0;
}

/* Per Figma 429:3764: only the featured (first) card has a border outline;
   subsequent cards are flush against the page bg. */
.product-install-trio__card {
  background: transparent;
  border: 0;
  border-radius: 32px;
  padding: 32px 24px;
}
.product-install-trio__card--featured {
  background: var(--wp--preset--color--cream);
  border: 1px solid rgba(0, 119, 184, 0.5);
  padding: 32px;
}

.product-install-trio__icon { margin: 0 0 8px; }
.product-install-trio__icon.product-install-trio__icon img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: none;
}

.product-install-trio__card-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-install-trio__card-body {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

/* ---- PRODUCT VIDEO EXPLAINER ---- */

.product-video__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;
  text-align: center;
  color: var(--wp--preset--color--ink);
  margin: 0 0 48px;
}

.product-video__player-wrap {
  position: relative;
}

.product-video__poster {
  position: relative;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
}
.product-video__poster a {
  display: block;
  position: relative;
}
.product-video__poster a::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(0, 65, 100, 0.85) url('assets/icons/expert-built.svg') no-repeat center;
  background-size: 32px;
  transition: background-color 160ms ease;
}
.product-video__poster a:hover::after {
  background-color: rgba(15, 37, 82, 0.95);
}
.product-video__poster img {
  display: block;
  width: 100%;
  height: auto;
}

.product-video__caption {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  text-align: center;
  max-width: 638px;
  margin: 32px auto 0;
}

/* ---- PRODUCT PRICING CARDS ---- */

.product-pricing__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.2;
  text-align: center;
  color: var(--wp--preset--color--ink);
  margin: 0 0 48px;
}

/* Re-measured 2026-07-03 vs Figma 429:3913 Copy-as-CSS (Sasha paste):
   the harbor tab sits ABOVE the white card — chip rect (y0 h40, r 32 32 0 0)
   meets the white rect (y40 h412, radius 32 ALL corners) edge-to-edge; the
   white card's own rounded top shoulders show beside the 248-wide tab. The
   wrapper is a transparent column; the BODY carries the white + radius. */
.product-pricing__card {
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-pricing__card > .product-pricing__body {
  background: var(--wp--preset--color--white);
  border-radius: 32px;
}
/* Highlight (Sasha 2026-07-03 v2): same treatment as the open FAQ item —
   0.5px Harbor outline hugging the white box's full 32px rounding. All
   bodies carry a transparent 0.5px border so the highlighted card's
   geometry is identical to its siblings (FAQ trick). */
.product-pricing__card > .product-pricing__body {
  border: 0.5px solid transparent;
}
.product-pricing__card--highlight > .product-pricing__body {
  border-color: var(--wp--preset--color--harbor);
}

/* Parent-prefixed: WP's `.is-layout-flex > * { margin: 0 }` kills the auto
   centering otherwise (known killer). height 40 + flex centering = Figma's
   40-tall tab with cap-height-centered label. */
.product-pricing__card > .product-pricing__chip {
  background: var(--wp--preset--color--harbor-dark);
  width: calc(100% - 64px);
  margin: 0 auto;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px 32px 0 0;
}

.product-pricing__chip-label {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp--preset--color--cream);
  margin: 0;
}

/* Figma: 312-wide cards, 16px col gaps (312×4 + 16×3 = 1296); columns must
   stretch so cards share the tallest height and Learn more bottom-aligns
   (is-vertically-aligned-top otherwise wins with flex-start — known killer). */
.wp-block-columns.product-pricing__row { gap: 16px; }
.product-pricing__row > .product-pricing__col { align-self: stretch !important; }
.product-pricing__col > .product-pricing__card { height: 100%; }

.product-pricing__price-row {
  margin-bottom: 8px;
  flex-wrap: nowrap;
  gap: 12px;
}

/* Body fills the card so the bottom-anchored Learn more aligns across
   columns (card is now flex column: chip + body). */
.product-pricing__card > .product-pricing__body { flex: 1 1 auto; }

.product-pricing__price {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--wp--preset--color--harbor);
  margin: 0;
  text-align: right;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.product-pricing__price strong {
  font-size: 27px;
  font-weight: 700;
  color: var(--wp--preset--color--harbor);
}
.product-pricing__price--custom strong {
  font-size: 22px;
}
.product-pricing__per {
  font-size: 14px;
  color: var(--wp--preset--color--neutral-70);
  margin-left: 2px;
  white-space: nowrap;
}

.product-pricing__audience {
  /* Figma "Personal investors": Roobert 600 18/1.5 Font Black (was 14 gray) */
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.product-pricing__divider {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(25, 25, 25, 0.24);   /* Figma Line 6 */
  margin: 0;
}

/* Overview (which-product) cards: the one-liner is a DIRECT child of the
   flex-column body — the price-row-era flex:1 made it swallow the card's
   free vertical space and shove the divider down (Sasha 2026-07-03). Pin it,
   and give it a 2-line slot so dividers align across the 4 cards (3-line
   one-liners may exceed it — content-driven). NOT IN FIGMA — proposed. */
.product-pricing__body > .product-pricing__audience {
  flex: 0 0 auto;
  min-height: 54px;             /* 2 × 27px lines (18/1.5) */
}

/* Product one-liner/description slot in the no-price overview cards
   (client copy) — NOT IN FIGMA, proposed 16/1.5 ink. */
.product-pricing__body .product-pricing__desc {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.product-pricing__bullets {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 2;               /* Figma 16/2em = 32px rows */
  color: var(--wp--preset--color--ink);
  padding-left: 1.25em;
  margin: 0;
}
.product-pricing__bullets li { margin-bottom: 0; }

.product-pricing__learn {
  margin: 12px 0 0;
}
/* Learn more bottom-anchors so 4-col rows align (design: y=8059 near card
   bottom regardless of bullet count). */
.product-pricing__body > .product-pricing__learn {
  margin-block-start: auto !important;
  padding-top: 16px;
}
.product-pricing__learn a {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;             /* Figma Learn more: Roobert 400 16 underline */
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Copy-driven pricing extras (client copy 2026-07-02) — NOT IN FIGMA, proposed:
   intro note under the heading + highlighted tier card (Deluxe). */
.product-pricing .product-pricing__note {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--wp--preset--color--ink);
  margin: 8px 0 0;
}


/* ---- PRICING PAGE (client copy 2026-07-06, BC 10061713901) ----
   No Figma frame for this page — layout composed from existing measured
   components; the values below mirror sibling elements (hero note 16/1.5,
   pricing note, body copy 18/1.5). NOT IN FIGMA — proposed pending review. */
.product-hero__text .product-hero__anchors { margin: 12px 0 0; font-size: 16px; line-height: 1.5; }
/* text-only hero (no product shot): drop the media-overlap spacing that
   otherwise leaves a ~190px void before the first section (Sasha 2026-07-06) */
body:not(.editor-styles-wrapper) .product-hero:not(:has(.product-hero__media img)) { padding-bottom: 0; }
body:not(.editor-styles-wrapper) .product-hero:not(:has(.product-hero__media img)) .product-hero__text { margin-bottom: 0; }
.product-hero__anchors a {
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-pricing .product-pricing__intro {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  max-width: 856px;
  margin: 16px auto 0;
}
.product-pricing__body > .product-pricing__includes-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
}
/* tier-card price row: kicker full-width left, price on its own line
   right-aligned — no more side-by-side squeeze (Sasha 2026-07-06).
   Applies to all tier cards site-wide (product pages + pricing page).
   width:100% because the body is a vertical flex (default flex-start) —
   without it the row shrink-wraps and "right" aligns inside a narrow box.
   Kicker zone fixed at 2 lines (54px = 2 × 18px × 1.5) so the price line
   and the divider sit at the same height across all columns. */
.product-pricing__body > .product-pricing__price-row {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.product-pricing__price-row .product-pricing__audience {
  text-align: left;
  min-height: 54px;
}
.product-pricing__price-row .product-pricing__price { text-align: right; }
/* anchor targets clear the floating header (same offset as blog headings) */
.product-pricing__headline[id],
.consulting__headline[id] { scroll-margin-top: 104px; }

/* Consulting services — white r32 panel with rate rows */
.consulting .consulting__intro {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  max-width: 856px;
  margin: 16px auto 0;
}
.consulting .consulting__panel {
  max-width: 856px;
  margin: 32px auto 0;
}
.consulting__panel > .consulting__rate {
  padding: 16px 0;
  border-bottom: 0.5px solid rgba(25, 25, 25, 0.24);
}
.consulting__panel > .consulting__rate:last-child { border-bottom: 0; }
.consulting__rate .consulting__rate-label,
.consulting__rate .consulting__rate-price {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.consulting__rate .consulting__rate-price { white-space: nowrap; }
.consulting .consulting__closing {
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 24px auto 16px;
}

/* Single-card variant (patterns/product-pricing-single.php) — copy-driven,
   NOT IN FIGMA: one centered 421px card for flat-price / contact-pricing
   products (EquityTest, TalentPath, MD-715). */
.product-pricing--single .product-pricing__single-wrap { margin-top: 48px; }
.product-pricing--single .product-pricing__card {
  flex: 0 0 421px;
  width: 421px;
  max-width: 100%;
}
.product-pricing__cta { margin-top: 8px; }

/* ---- PRODUCT PAGE — RESPONSIVE BREAKS ---- */

@media (max-width: 1024px) {
  .product-hero__headline { font-size: 40px; }
  .product-features-grid__pill,
  .product-real-results__row,
  .product-problems__row,
  .product-install-trio__row,
  .product-pricing__row,
  .product-plans__row {
    flex-wrap: wrap;
  }
  .product-features-grid__cell,
  .product-install-trio__grid > .wp-block-group {
    flex: 0 0 100%;
  }
  .product-pricing__col,
  .product-plans__col,
  .product-problems__col-text,
  .product-problems__col-media,
  .product-real-results__col-text,
  .product-real-results__col-cards,
  .product-install-trio__col-text,
  .product-install-trio__col-cards {
    flex-basis: 100% !important;
  }
}

@media (max-width: 768px) {
  .product-hero__headline { font-size: 32px; }
  .product-problems__headline,
  .product-features-grid__headline,
  .product-real-results__headline,
  .product-plans__headline,
  .product-install-trio__headline,
  .product-video__headline,
  .product-pricing__headline { font-size: 28px; }
}


/* -----------------------------------------------------------------------------
   RESOURCES — patterns/resources-hero.php (Figma 429:2798, re-measured 2026-07-02)
   Ink headline + subhead on cream (left) + 524px harbor conic-gradient panel
   holding the "Stay Ahead" newsletter Gravity Form (right). Supersedes the
   earlier full-width-gradient read of this section (429:2800 is 524×368).
----------------------------------------------------------------------------- */

.resources-hero__inner {
  /* Figma top-aligns the columns (text y=14, panel y=0). */
  align-items: flex-start;
}

/* Text column sits 14px below the panel top per Figma (429:2813 y=14).
   Parent-prefixed to beat WP's `.is-layout-flex > * { margin: 0 }`. */
.resources-hero__inner .resources-hero__text {
  margin-top: 14px;
}

.resources-hero__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 56px;          /* Figma 429:2814 (was 48 — drift) */
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.resources-hero__subhead {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;          /* Figma 429:2815 (was 18 — drift) */
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 24px 0 0;         /* Figma gap headline→subhead (y=276 − 252) */
  max-width: 560px;         /* Figma subhead frame width */
}

.resources-hero__panel {
  /* Figma 429:2799: 524 × 368, radius 32.
     Fill: authoritative 3-stop conic from Figma Copy-as-CSS (Sasha 2026-07-02).
     The MCP dump's 2-stop serialization dropped the cream 0deg stop, which
     rendered solid harbor across half the cone — that was the "bg off" bug.
     Form group 429:2803 at (48, 51), 428×267 → padding 51/48/50/48
     (368 − 51 − 267 = 50 bottom). */
  flex: 0 0 524px;
  box-sizing: border-box;
  min-height: 368px;
  padding: 51px 48px 50px;
  background: conic-gradient(from 180deg at 50% 81.93%, #FFF9F2 0deg, #0077B8 180.15deg, #FFF9F2 360deg);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* Noise texture overlay — fill_X2JFRH, same pre-baked PNG recipe as every
   other gradient panel (cta-image-1/2, demo-cta, request-demo, hero). */
.resources-hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('assets/img/cta-image-1-texture.png');
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.55;             /* pre-baked PNG; matches demo-cta-bottom */
  mix-blend-mode: normal;
  pointer-events: none;
}
.resources-hero__panel .resources-hero__form-wrap {
  position: relative;
  z-index: 2;                /* above texture */
}

/* ---- Newsletter form. GF branch (.gform_wrapper) + static fallback share the
   Figma spec: inputs 428×56 white r8 padding 16, 16px stack gap, submit
   428×43 harbor-dark r8 sitting 24px below the last input. ---- */

.resources-hero__form-wrap { width: 100%; }

.resources-hero__form-wrap .gform_wrapper form { margin: 0; }
.resources-hero__form-wrap .gform_wrapper .gform_required_legend,
.resources-hero__form-wrap .gform_wrapper .gform_heading { display: none; }

.resources-hero__form,
.resources-hero__form-wrap .gform_wrapper .gform_fields {
  display: flex !important;      /* !important: GF gravity-theme ships display:grid */
  flex-direction: column;
  gap: 16px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resources-hero__form-wrap .gform_wrapper .gfield {
  margin: 0;
  padding: 0;
  list-style: none;
}
.resources-hero__form-wrap .gform_wrapper .gfield .ginput_container { margin: 0; }

.resources-hero__field input,
.resources-hero__form-wrap .gform_wrapper .gfield input[type='text'],
.resources-hero__form-wrap .gform_wrapper .gfield input[type='email'] {
  width: 100%;
  height: 56px;                 /* Figma 429:2805/2807/2809 (was 48 — drift) */
  padding: 16px;                /* Figma input frame padding 16 */
  border: 0;
  border-radius: 8px;
  background: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  color: var(--wp--preset--color--ink);
  box-sizing: border-box;
  transition: box-shadow 160ms ease;
}
.resources-hero__field input::placeholder,
.resources-hero__form-wrap .gform_wrapper .gfield input::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 1;   /* Figma labels are solid ink (Copy-as-CSS, Sasha 2026-07-02) */
}
.resources-hero__field input:focus,
.resources-hero__form-wrap .gform_wrapper .gfield input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--wp--preset--color--harbor-dark);   /* NOT IN FIGMA — proposed */
}

.resources-hero__form-wrap .gform_wrapper .gform_footer {
  margin: 24px 0 0;             /* Figma: inputs end y=200, submit y=224 */
  padding: 0;
}

.resources-hero__submit,
.resources-hero__form-wrap .gform_wrapper .gform_footer input.gform_button {
  width: 100%;
  height: 43px;                 /* Figma 429:2811 (was 48 — drift) */
  padding: 12px 32px;
  background: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;            /* Figma 16/19 → 12+19+12 = 43 exact */
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease;
  box-sizing: border-box;
  margin: 0;
}
/* Fallback form is one flex column (gap 16 covers field→submit); +8 = 24 per Figma. */
.resources-hero__submit { margin-top: 8px; }
.resources-hero__submit:hover,
.resources-hero__form-wrap .gform_wrapper .gform_footer input.gform_button:hover {
  background: var(--wp--preset--color--harbor-pressed);   /* NOT IN FIGMA — site hover convention */
}

/* GF validation / confirmation on the gradient panel — NOT IN FIGMA, proposed. */
.resources-hero__form-wrap .gform_wrapper .gfield_validation_message,
.resources-hero__form-wrap .gform_wrapper .gfield_description.validation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  color: var(--wp--preset--color--cream);
  background: rgba(0, 65, 100, 0.55);
  border: 0;
  border-radius: 6px;
  padding: 4px 10px;
  margin: 6px 0 0;
}
.resources-hero__form-wrap .gform_wrapper .gform_validation_errors {
  display: none;   /* per-field messages suffice on a 3-field form */
}
.resources-hero__form-wrap .gform_confirmation_message {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--cream);
}


/* -----------------------------------------------------------------------------
   RESOURCES — patterns/resources-featured-filters.php (Figma 429:2882,
   re-measured 2026-07-02). Search + dropdown pills + topic chips + dynamic
   featured card (wp:query sticky-only, perPage 1).
----------------------------------------------------------------------------- */

/* Kelly BC 10058521677 (2026-07-02): TEMPORARILY hide the filter bar
   (search + dropdown pills + topic chips) — not enough content to justify
   the filtering options yet. Front-end only (the editor still shows both
   rows); delete this rule to bring the bar back. The featured card lives
   in the same section and stays visible. */
body:not(.editor-styles-wrapper) .resources-filters__controls,
body:not(.editor-styles-wrapper) .resources-filters__chips {
  display: none;
}

.resources-filters__controls {
  align-items: stretch;
  flex-wrap: wrap;
}

.resources-filters__search {
  /* Figma 429:2894: 400×56, padding 16/24, white, r8 — no stroke. */
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 400px;
  box-sizing: border-box;
  background: var(--wp--preset--color--white);
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  height: 56px;
}
.resources-filters__search:focus-within {
  box-shadow: 0 0 0 2px var(--wp--preset--color--harbor-dark);   /* NOT IN FIGMA — proposed */
}

.resources-filters__search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  color: var(--wp--preset--color--ink);
  outline: none;
}
.resources-filters__search-input::placeholder {
  color: var(--wp--preset--color--ink);
  opacity: 0.55;
}

.resources-filters__search-submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.resources-filters__search-icon { display: block; }

.resources-filters__dropdown {
  /* Figma 429:2898/2902/2906: hug-width × 56, padding 16/24, inner gap 16,
     white, r8 — no stroke. Decorative v1 (open/close JS deferred). */
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  height: 56px;
  padding: 0 24px;
  background: var(--wp--preset--color--white);
  border: 0;
  border-radius: 8px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  transition: box-shadow 160ms ease;
  white-space: nowrap;
}
.resources-filters__dropdown:hover {
  box-shadow: 0 0 0 1px var(--wp--preset--color--harbor);   /* NOT IN FIGMA — proposed */
}

.resources-filters__chip {
  /* Figma chips: padding 8/16, r32, Roobert Medium 12. Stroke (0.5 harbor)
     exists ONLY on the active chip — transparent border keeps dims stable. */
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--wp--preset--color--white);
  border: 0.5px solid transparent;
  border-radius: 32px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.resources-filters__chip.is-active {
  background: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
  border-color: var(--wp--preset--color--harbor);   /* Figma 429:2911 stroke 0.5 Harbor Blue */
}
.resources-filters__chip:hover:not(.is-active) {
  background: var(--wp--preset--color--neutral-10);   /* NOT IN FIGMA — proposed */
}

/* Featured = wp:query → ul.wp-block-post-template (single li). Reset list chrome. */
.resources-featured .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
}
.resources-featured .wp-block-post-template > li { margin: 0; }

.resources-featured__card {
  /* Figma 429:2883: 1296 × 493, white, r32. */
  background: var(--wp--preset--color--white);
  border-radius: 32px;
  overflow: hidden;
  min-height: 493px;
}

.resources-featured__image {
  /* Figma 429:2885: 740 × 493 at (0,0), r 32 0 0 32 (card overflow clips). */
  flex: 0 0 740px;
  width: 740px;
  height: 493px;
  margin: 0;
  align-self: stretch;
  background: linear-gradient(135deg, var(--wp--preset--color--harbor) 0%, var(--wp--preset--color--harbor-dark) 100%);
  position: relative;
  overflow: hidden;
}
.resources-featured__image a {
  display: block;
  width: 100%;
  height: 100%;
}
.resources-featured__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
}

.resources-featured__body {
  /* Figma content 429:2886 at (792, 80) → padding 80/29/80/52 in the 504 col. */
  flex: 1 1 auto;
  position: relative;
  box-sizing: border-box;
  align-items: flex-start;
}

.resources-featured__badge {
  /* Figma 429:2891: #E9F7FF bg, Harbor text, SemiBold 12 UPPER, r31, pad 8/16. */
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #E9F7FF;
  color: var(--wp--preset--color--harbor);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 31px;
}

.resources-featured__title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.resources-featured__title a {
  color: inherit;
  text-decoration: none;
}

.resources-featured__excerpt {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
  max-width: 475px;   /* Figma content width 474.88 */
}
.resources-featured__excerpt .wp-block-post-excerpt__excerpt { margin: 0; }

/* Read More bottom-anchors in the 493-tall body (Figma y=252 in a 271 box). */
.resources-featured__body > .resources-featured__more,
.resources-featured__body > .wp-block-read-more {
  margin-top: auto !important;   /* !important: WP zeroes flex-child margins */
}
.resources-featured__more {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0;
}
.resources-featured__more a {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: inherit;
}

.resources-featured__empty {
  font-style: italic;
  color: var(--wp--preset--color--neutral-70);
  padding: 24px 0;
}


/* -----------------------------------------------------------------------------
   RESOURCES — patterns/resources-browser.php (Figma 429:2923, re-measured
   2026-07-02). "Explore our resources" + tabs + dynamic 3-col grid + Load More.
   Interactivity (tab/chip filter, Load More reveal): assets/js/resources-browser.js.
----------------------------------------------------------------------------- */

.resources-browser__head {
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.resources-browser__headline {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.5;         /* Figma 429:2983 (was 1.2 — drift) */
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--ink);
  margin: 0;
}

.resources-browser__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resources-browser__tab {
  /* Figma: h 43, r8, Roobert 400 16, no stroke. Inactive pad 12, active pad 12/32. */
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 0 12px;
  background: var(--wp--preset--color--cream);
  border: 0;
  border-radius: 8px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--wp--preset--color--harbor-dark);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.resources-browser__tab.is-active {
  padding: 0 32px;
  background: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
}
.resources-browser__tab:hover:not(.is-active) {
  background: var(--wp--preset--color--neutral-10);   /* NOT IN FIGMA — proposed */
}

.resources-browser__grid .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 16.5px;         /* Figma: rows 32 (y 108→747), cols 16.5 (x 437.99) */
  list-style: none;
  padding: 0;
  margin: 0;
}
.resources-browser__grid .wp-block-post-template > li {
  margin: 0;
}
.resources-browser__grid .wp-block-post.is-filtered-out {
  display: none;            /* resources-browser.js tab/chip filter + reveal */
}

.resource-card {
  /* Figma card: 421 × 607, white, r32. */
  background: var(--wp--preset--color--white);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 607px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.resource-card:hover {
  transform: translateY(-2px);                        /* NOT IN FIGMA — proposed */
  box-shadow: 0 12px 32px rgba(0, 65, 100, 0.08);
}

.resource-card__image {
  /* Figma 429:2928: 421 × 280, r 32 32 0 0 (card clips), shadow 0 0 4 16%. */
  margin: 0;
  width: 100%;
  height: 280px !important;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wp--preset--color--harbor) 0%, var(--wp--preset--color--harbor-dark) 100%);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
}
.resource-card__image a {
  display: block;
  width: 100%;
  height: 100%;
}
.resource-card__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
}

.resource-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.resource-card__title,
.resource-card .resource-card__title a {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
  text-decoration: none;
}
.resource-card__title {
  min-height: 72px;         /* NOT IN FIGMA — 2-line slot so excerpts align */
}

.resource-card__excerpt {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.resource-card__excerpt .wp-block-post-excerpt__excerpt {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;    /* NOT IN FIGMA — 4-line clamp (Figma shows 4 lines) */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-card__more,
.resource-card .wp-block-read-more {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}
/* Read More bottom-anchors (Figma: 32 below excerpt, cards equal height). */
.resource-card__body > .resource-card__more,
.resource-card__body > .wp-block-read-more {
  margin-block-start: auto !important;
  padding-top: 32px;
}

.resources-browser__load-more.is-hidden { display: none; }

.resources-browser__empty {
  text-align: center;
  font-style: italic;
  color: var(--wp--preset--color--neutral-70);
  padding: 48px 0;
}

@media (max-width: 1024px) {
  .resources-hero__inner { flex-direction: column; align-items: stretch; }
  .resources-hero__inner .resources-hero__text { margin-top: 0; }
  .resources-hero__panel { flex: 0 0 auto; }
  .resources-featured__card { flex-direction: column; }
  .resources-featured__image { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .resources-browser__head { flex-direction: column; align-items: flex-start; }
  .resources-browser__grid .wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .resources-browser__grid .wp-block-post-template { grid-template-columns: 1fr; }
}

/* Resources page content-driven rhythm — Figma inter-section gaps (429:2797):
   hero→filters 96, filters→browser 128, browser→demo-cta 128. The resources
   sections carry 24px internal top/bottom padding, so the default 94px
   post-content rhythm (`.wp-block-post-content > * + *`) is overridden. */
.wp-block-post-content > .resources-filters { margin-block-start: 48px; }   /* 24+48+24 = 96 */
.wp-block-post-content > .resources-browser { margin-block-start: 80px; }   /* 24+80+24 = 128 */
.wp-block-post-content > .resources-browser + .demo-cta { margin-block-start: 104px; }  /* 24+104+0 = 128 */


/* --- Block-rebuild compensation (feature-showcase.php → real blocks) --- */

/* .feature-showcase__carousel is now a wp:group (was a raw div). WP's flow
   layout adds `margin-block-start:24px` to a group's flow siblings via
   `.is-layout-flow > * + *`. The carousel is preceded by the headline, whose
   own `margin: 0 auto 48px` already controls the gap; add margin-top:0 so the
   flow rule doesn't stack an extra 24px above the carousel. (Existing
   `margin:0` on the class already zeroes it, but this makes the intent explicit
   and survives if that shorthand is ever split.) */
.feature-showcase__carousel {
  margin-top: 0;
}

/* .feature-showcase__track is now a wp:group flex container. WP flex layout
   defaults `flex-wrap:wrap`; the block sets flexWrap:"nowrap" but pin it in CSS
   too so the 4-up single-row carousel never wraps regardless of block attrs. */
.feature-showcase__track {
  flex-wrap: nowrap;
}


/* --- Block-rebuild gotcha compensations (testimonials) --- */

/* .testimonials__dots is now a wp:group flex child; WP zeroes flex-child
   margins on groups, so the margin-top:auto push-to-bottom needs !important.
   (margin-left/right already carry !important in the base rule.) */
.testimonials__dots {
  margin-top: auto !important;
}

/* .testimonials__attribution is now a wp:group flex child of the card;
   WP zeroes flex-child margins, so the margin-top:auto (push attribution to
   card bottom) needs !important to survive. */
.testimonials__attribution {
  margin-top: auto !important;
}

/* .testimonials__avatar is now a wp:paragraph (<p>): add margin:0 to strip
   the UA paragraph margins so the 80x80 box keeps its exact geometry. */
.testimonials__avatar {
  margin: 0;
}

/* Optional avatar PHOTO (Kelly BC 10061778089, Sasha 2026-07-06: photos now
   allowed, optional — initials chip is the fallback when no image is set).
   The chip sits in an image-capable slot; adding a photo hides the initials.
   Photo takes the chip's exact geometry (80×80 r16, Figma chip spec). */
.testimonials__attribution > .testimonials__avatar-slot { flex: 0 0 80px; }
.testimonials__avatar-slot:has(img) .testimonials__avatar { display: none; }
.testimonials__avatar-slot .wp-block-image { margin: 0; }
.testimonials__avatar-slot img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

/* Headings inserted inside testimonial cards (Kelly BC 10061738968).
   NOT IN FIGMA — no in-card heading in the design; mirrors the quote size
   at semibold — proposed pending review. */
.testimonials__card h3,
.testimonials__card h4 {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0 0 8px;
}

/* Block-rebuild compensation (Rule #00). The tab wp:groups are now WP flex
   containers (is-layout-flex), which zeroes child margins. The title/body/link
   gaps are already parent-prefixed (.products__tab .products__tab-body,
   .products__tab .products__tab-link) so they survive — no new rules needed
   there. Nothing else changed visually: .products__layout gap (77px) and
   .products__tab margins were already authored against WP flex output. */

/* products__panels is now a wp:group (is-layout-flow). Its children are all
   position:absolute, so flow layout adds no gaps; the existing flex:0 0 800px
   / width / height / position:relative on .products__panels still apply. No
   compensating rule required. */

/* No CSS additions required — all products spacing was already tuned against
   WP layout classes in the prior build (see comments at style.css:871 and
   :943 referencing WP's `.is-layout-flex > * { margin: 0 }`). */

/* -----------------------------------------------------------------------------
   SEARCH RESULTS — templates/search.html (Sasha 2026-07-07)
   NOT IN FIGMA — no search design; all values proposed from existing tokens
   (857 text rail, serif 40 title, white r24 cards, harbor-dark button).
----------------------------------------------------------------------------- */

/* side padding: this plain constrained group gets NO root gutters (not
   alignfull/has-global-padding) — content bled to the viewport edge at
   phone widths (Sasha 2026-07-07) */
.search-page { padding: 64px 24px 96px; }

h1.wp-block-query-title.search-page__title {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 40px;
  font-weight: 420;
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  margin: 0 0 32px;
}

/* refine field — same recipe as the header drop-down input */
.search-page__form { margin: 0 0 48px; }
.search-page__form .wp-block-search__inside-wrapper {
  display: flex;
  gap: 12px;
  border: 0;
  padding: 0;
}
.search-page__form .wp-block-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 65, 100, 0.24);
  border-radius: 8px;
  background: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 14px;
  color: var(--wp--preset--color--ink);
}
.search-page__form .wp-block-search__input:focus {
  outline: 2px solid var(--wp--preset--color--harbor);
  outline-offset: 1px;
}
.search-page__form .wp-block-search__button {
  margin: 0;
  padding: 12px 32px;
  border: 0;
  border-radius: 8px;
  background: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.search-page__form .wp-block-search__button:hover {
  background: var(--wp--preset--color--harbor-pressed);
}

/* result cards */
.search-page__card {
  background: var(--wp--preset--color--white);
  border-radius: 24px;
  padding: 32px;
  margin: 0 0 16px;
}
h2.search-page__card-title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 24px !important;   /* mobile-pass h2 32px !important would inflate it */
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px;
}
h2.search-page__card-title a {
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  transition: color 160ms ease;
}
h2.search-page__card-title a:hover { color: var(--wp--preset--color--harbor); }
.search-page__card-excerpt {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.search-page__card-excerpt .wp-block-post-excerpt__more-link {
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: underline;
}

/* pagination + empty state */
.search-page__pagination {
  margin-top: 40px;
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
}
.search-page__pagination a,
.search-page__pagination .page-numbers {
  color: var(--wp--preset--color--harbor-dark);
  text-decoration: none;
  padding: 4px 8px;
}
.search-page__pagination .page-numbers.current {
  font-weight: 600;
  color: var(--wp--preset--color--ink);
}
.search-page__pagination a:hover { text-decoration: underline; }
.search-page__empty {
  font-family: var(--wp--preset--font-family--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
.search-page__empty a { color: var(--wp--preset--color--harbor-dark); }

/* ============================================================================
   MOBILE PASS — SITE-WIDE (Sasha 2026-07-06: "all the site and components")
   --- FIGMA MEASUREMENTS (EP - Mob version canvas 429:4650, 393px frames) ---
   gutters 24 (root padding 72 -> 24) | section stack gap 40
   H1 40 Season Mix centered (mobile hero 429:4659)
   H2 32 Season Mix (429:5002) | body/labels 16/1.5 (429:4660)
   buttons h40, 14px, pad 16/32 (429:4674/5027) | cards r24, pad 32,
   width 297-345 (429:5006) | hero trust rows stacked, gap 16 (429:4661)
   NOT IN FIGMA — proposed: 767px phone breakpoint (canvas is 393; no
   tablet frames), per-component stacking order, overflow-x clip safety,
   deck-card scale, carousel touch-scroll retention.
   First pass: kills all horizontal overflow + applies the measured scale;
   per-section pixel fidelity to the 7 mobile frames is follow-up polish.
   2026-07-07 refinements (Sasha review, all proposed — no mobile design):
   section rhythm 94 -> 48, decks unfan to a vertical card list (icons 48),
   feature-showcase re-anchored (desktop rail margin was negative at phone
   widths = invisible strip), products screenshot-slider hidden, compare
   cards stack at natural height, demo-cta grid single-column with fluid
   fields (submit was clipped by panel overflow), 3-bar hamburger glyph.
   Breakpoint 1023px = same boundary as the hamburger menu (no tablet
   frames in Figma; desktop layouts need ~1296 and overflow at 768-1023).
   --- END MEASUREMENTS --- */
@media (max-width: 1023px) {
  /* global gutters + safety net */
  body {
    --wp--style--root--padding-left: 24px;
    --wp--style--root--padding-right: 24px;
    overflow-x: clip;
  }
  /* measured type scale (component classes carry px sizes -> !important) */
  .wp-site-blocks h1 { font-size: 40px !important; }
  .wp-site-blocks h2 { font-size: 32px !important; }
  /* section rhythm: the desktop 94px stack gap reads huge at 393 — halve it
     (proposed, no mobile design; Sasha 2026-07-07 "decrease the spacing").
     !important where the value is an inline block style. */
  .wp-site-blocks > * + * { margin-block-start: 48px; }
  .wp-block-post-content > * + * { margin-block-start: 48px; }
  .wp-block-post-content > .request-demo-hero:first-child { margin-block-start: 48px; }
  section.trust-cards { padding-top: 48px !important; padding-bottom: 48px !important; }
  section.testimonials { padding-top: 48px !important; padding-bottom: 48px !important; }
  .hero__text { padding-top: 48px; }
  /* product-hero text col has no side padding of its own — H1 ran edge to
     edge on the 6 product-hero pages (Sasha 2026-07-07) */
  .product-hero__text { padding-left: 24px; padding-right: 24px; }
  /* buttons: Figma mobile 14px / h40 / pad 16 32 */
  .wp-site-blocks .wp-block-button__link {
    font-size: 14px;
    min-height: 40px;
    padding: 8px 32px;
  }
  /* generic guards: rows wrap when too wide; media never overflows.
     !important: core's .is-nowrap { flex-wrap: nowrap } can print after
     the theme stylesheet */
  .wp-site-blocks .is-nowrap { flex-wrap: wrap !important; }
  .wp-site-blocks main img, .wp-site-blocks .entry-content img { max-width: 100%; height: auto; }
  /* sections with decorative accents / sliding decks: clip their own
     horizontal excess instead of widening the page */
  .trust-cards, .product-real-results, .products, .compare,
  .feature-showcase, .why-expertise, .testimonials { overflow-x: clip; }

  /* --- decks (trust-cards + real-results): keep the desktop fan + auto-cycle,
     scaled down (Sasha 2026-07-07 — "like desktop, not stretched below each
     other"). deck-cycle.js owns the geometry at <=1023: 12px staircase
     (desktop 24), inline card width + uniform height (tallest card's natural
     content) + wrap height. CSS just trims the desktop chrome: 52/67 inline
     padding -> 24, 40px inline blockGap -> 16, 96px icons -> 48; the
     decorative accent pill would poke past the fan — hidden. Proposed. */
  .trust-cards__text { flex: 1 1 100% !important; width: 100% !important; max-width: 100%; }
  .trust-cards__stack-wrap,
  .product-real-results__stack-wrap {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100%;
  }
  .trust-cards__stack-wrap .deck-card,
  .product-real-results__stack-wrap .deck-card {
    min-width: 0;
    gap: 16px !important;       /* inline blockGap 40 on the block */
    padding: 24px !important;   /* inline 52/67 on the block */
  }
  .trust-cards__icon.trust-cards__icon.trust-cards__icon img,
  .product-real-results__icon.product-real-results__icon.product-real-results__icon img {
    width: 48px !important;     /* !important: inline style="width:96px" on the img */
    height: 48px !important;    /* desktop 96 overwhelms a 345 card */
  }
  /* Harbor accent pill below the fan, right-aligned, text readable (Sasha
     2026-07-07 — desktop tucks it behind the deck's bottom-right corner).
     deck-cycle.js sets its `top` and grows the wrap; the text drops its
     desktop absolute coords and centers via the group's own flex. */
  .trust-cards__accent, .product-real-results__accent {
    left: auto;
    right: 0;
    width: auto;
    max-width: 85%;
    height: auto;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 24px;
  }
  .trust-cards__accent-text, .product-real-results__accent-text {
    position: static;
    width: auto;
    margin: 0;
    text-align: center;
  }
  .trust-cards__headline { max-width: 100%; }

  /* --- feature-showcase: desktop pins the carousel to the 1296 rail via
     margin-left calc((100vw - 1296px)/2), which is NEGATIVE below 1296 and
     pushed the whole strip off-canvas left (the "empty section"). Re-anchor
     at the gutter and swipe. --- */
  .feature-showcase__carousel {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 0;            /* desktop 56 exists only for the hover chrome */
    scroll-padding-left: 0;
  }
  /* gap 16 (desktop 80) so the NEXT card peeks ~32px inside the gutter —
     the "you can swipe" affordance (Sasha 2026-07-07) */
  .feature-showcase__track { width: max-content; padding-left: 0; gap: 16px; }
  /* the active-card chrome paints ±49/44 OUTSIDE the card — inside a touch
     scroller that's just clipped noise; plain cards on mobile */
  .feature-showcase__card::before { display: none; }

  /* --- homepage products: hide the screenshot slider — visually disconnected
     from the stacked tabs at phone width (Sasha 2026-07-07); tabs full width */
  .products__layout { flex-wrap: wrap; }
  .products__tabs, .products__tab { width: 100% !important; max-width: 100%; }
  .products__panels { display: none !important; }

  /* --- product features glance: cells stack full width --- */
  .product-features-grid__row { flex-wrap: wrap !important; }
  .product-features-grid__cell { flex: 1 1 100% !important; width: 100% !important; max-width: 100%; }

  /* --- compare cards (homepage): flex-basis 0/640px + fixed heights made the
     narrow trio crush 3-across with content spilling over the card bounds —
     stack full width at natural height --- */
  .compare__row { flex-wrap: wrap !important; }
  .compare__card--wide, .compare__card--narrow {
    flex: 1 1 100% !important;
    height: auto !important;
    min-height: 0;
  }
  .compare__card { padding: 32px; }
  .compare__text { width: 100% !important; max-width: 100%; }
  .compare__image img { width: 100%; }   /* height stays 100% of the aspect box */

  /* --- why page --- */
  .why-mission__inner { flex-wrap: wrap; gap: 32px !important; }
  .why-mission__text, .why-mission__card { width: 100%; }
  .why-stats__row, .why-stats__tile-group { flex-wrap: wrap; gap: 16px !important; }
  .why-expertise__viewport { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .why-comparison__table { display: block; overflow-x: auto; }

  /* --- CTA panels (cta-image-1/2): desktop is a fixed 368px panel whose
     content group sits at absolute desktop coords — at 393 the content
     squeezed to 125px wide over the photo and the button fell past the
     panel's overflow:hidden (invisible). Mobile: auto-height flex column,
     content first, photo below (Sasha 2026-07-07). --- */
  .cta-image-1__panel, .cta-image-2__panel {
    height: auto !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
  }
  .cta-image-1__content, .cta-image-2__content {
    position: static !important;
    left: auto;
    transform: none !important;   /* cta-image-2 centers via translateX(-50%),
                                     which shifts STATIC elements too */
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }
  .cta-image-1__photo, .cta-image-2__photo {
    position: static !important;
    order: 2;
    max-width: 240px;
    margin: 24px auto 0;
  }

  /* --- pricing tier rows: 4-across never fits under 1024 -> 2x2/stack --- */
  .product-pricing__row { flex-wrap: wrap !important; }
  .product-pricing__row > .product-pricing__col { flex: 1 1 45% !important; min-width: 280px; }

  /* --- footer: fixed 400px newsletter -> fluid, columns stack --- */
  .site-footer__newsletter, .site-footer__newsletter-label,
  .site-footer__form, .site-footer__input-wrap,
  .site-footer__input-wrap input { width: 100% !important; max-width: 100%; }
  .site-footer .is-layout-flex { flex-wrap: wrap !important; }
  .site-footer__col { width: 100% !important; max-width: 100%; }
  .site-footer__links a { white-space: normal; }
  /* footer is a fixed-column GRID on desktop */
  .site-footer__inner { padding: 48px 24px; }
  /* link columns 2-up, brand spans both (Sasha 2026-07-07) */
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    height: auto;
    gap: 32px 16px;
  }
  .site-footer__brand { grid-column: 1 / -1; }
  /* strip: newsletter gets its own full row, copyright below at the end
     (desktop squeezes them side-by-side in a fixed 93px row) */
  .site-footer__strip {
    flex-direction: column-reverse;
    align-items: stretch;
    height: auto;
    gap: 24px;
    margin-top: 40px;
  }
  .site-footer__newsletter { width: 100% !important; }
  .site-footer__copyright { margin: 0; }

  /* --- resources --- */
  /* the desktop 96/128 rhythm rules (L6397-99) out-specify the generic 48
     rule; bring them onto the mobile rhythm */
  .wp-block-post-content > .resources-browser { margin-block-start: 48px; }
  .wp-block-post-content > .resources-browser + .demo-cta { margin-block-start: 48px; }
  /* resources-hero/filters/browser bake desktop 72px gutters into INLINE
     styles — squeeze to the mobile 24 (no other section does this) */
  .wp-site-blocks section[style*="padding-left:72px"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .resources-hero__text, .resources-hero__panel {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .resources-filters__search { width: 100% !important; max-width: 100%; }
  .resources-featured__image, .resources-featured__image a { max-width: 100%; }
  .resources-featured__image img { width: 100%; height: auto; }

  /* --- long unbroken URLs (footnote links) --- */
  .post-article__content a { overflow-wrap: anywhere; }

  /* --- blog single: article + TOC stack; sticky off --- */
  .post-row__inner { flex-wrap: wrap; }
  .post-row__inner > * { width: 100%; }
  .post-toc { position: static !important; }

  /* --- alignfull hero media: double-negative margins overflow by 48px --- */
  .hero__media.alignfull, .product-hero__media.alignfull, .why-hero__media.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* --- testimonials: swipe like the showcase (Sasha 2026-07-07) — native
     horizontal scroll, 1-up + 32px peek. The desktop slider moves the track
     via JS translateX; that's pinned to none here so the dots (which only
     drive the transform) are hidden and the focal border is meaningless. --- */
  /* inner's own 24px padding-inline doubles the gutter at phone width */
  .testimonials__inner { flex-wrap: wrap; padding-inline: 0; }
  .testimonials__intro { width: 100% !important; max-width: 100%; }
  /* !important + prefix: core's wp-container flex style prints after the
     theme stylesheet and re-flexes the dots group */
  .wp-site-blocks .testimonials__dots { display: none !important; }
  /* .wp-site-blocks prefix: must out-specify the generic
     `.wp-site-blocks .is-nowrap { flex-wrap: wrap }` guard above */
  .wp-site-blocks .testimonials__track {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100%;
    flex-wrap: nowrap !important;
    align-items: stretch !important;   /* WP verticalAlignment:center staggers
                                          unequal cards mid-row */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
    scroll-snap-type: x mandatory;
    will-change: auto;
  }
  .testimonials__card {
    /* % of the TRACK (its left inset varies): card + 16 gap + 32 peek */
    flex: 0 0 calc(100% - 48px) !important;
    width: auto !important;
    height: auto !important;
    min-height: 0;
    max-width: none;
    padding: 32px;
    scroll-snap-align: start;
    border-color: transparent !important;
  }
  .testimonials__quote {
    max-width: 100%;
    font-size: 17px;        /* desktop 21 — more text per card (Sasha) */
    line-height: 1.7;       /* desktop 2.0 */
    -webkit-line-clamp: 7;  /* desktop 4 lines */
  }

  /* --- how-it-works steps (desktop: flex-basis 528px) --- */
  .how-it-works__steps, .how-it-works__step {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100%;
  }
  .how-it-works__step { flex-wrap: wrap; }
  .how-it-works__row { flex-wrap: wrap !important; }
  /* steps is a COLUMN flex — wrapping tips items into sideways columns.
     .wp-site-blocks prefix to out-order the generic .is-nowrap wrap rule
     (same specificity, later in file) */
  .how-it-works__text { width: 100% !important; max-width: 100%; }
  .wp-site-blocks .how-it-works__steps {
    flex-wrap: nowrap !important;
    height: auto !important;
    max-height: none !important;
  }

  /* --- install trio --- */
  .product-install-trio__row, .product-install-trio__grid { flex-wrap: wrap !important; }
  .product-install-trio__card { flex: 1 1 100% !important; width: 100% !important; max-width: 100%; }

  /* --- why-stats: fluid tiles --- */
  .why-stats__tile-cluster, .why-stats__tile, .why-stats__number, .why-stats__label {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
  }

  /* --- demo CTA: desktop is a 2-col GRID (322px calendar + 320px form) with
     literal 320px field/button widths — the submit button was clipped off by
     the panel's overflow:hidden at phone widths. Single column + fluid. --- */
  .demo-cta__panel { flex-wrap: wrap; }
  .demo-cta__grid { grid-template-columns: 100%; justify-content: stretch; }
  .demo-cta__grid > * { max-width: 100%; min-width: 0; }
  .demo-cta__calendar { max-width: 100%; }
  .demo-cta__form-wrap { width: 100% !important; max-width: 100%; margin: 24px 0 0 !important; }
  .demo-cta__form-wrap .gform_wrapper, .demo-cta__form-wrap form { width: 100% !important; }
  .demo-cta__form .gfield input[type='text'],
  .demo-cta__form .gfield input[type='email'],
  .demo-cta__form .gfield textarea,
  .demo-cta__form .gform_button,
  .demo-cta__form-wrap form .gfield input[type='text'],
  .demo-cta__form-wrap form .gfield input[type='email'],
  .demo-cta__form-wrap form .gfield textarea,
  .demo-cta__form-wrap form .gform_button { width: 100% !important; }
}
/* html-level clip: body clip alone still exposes document scrollWidth */
@media (max-width: 1023px) {
  html { overflow-x: clip; }
}
/* desktop 1024-1295 band: the trust/results decks carry fixed 1296-wide
   internals — cap them and clip decorative accents at every width */
.trust-cards, .product-real-results { overflow-x: clip; }
.trust-cards__stack-wrap, .product-real-results__stack-wrap,
.trust-cards__accent, .product-real-results__accent { max-width: 100%; }
/* same band: fixed-width desktop children that never learned to shrink.
   max-width caps are no-ops at 1440 (fixed sizes fit) and let the
   1024-1295 window compress instead of overflowing. */
@media (min-width: 1024px) and (max-width: 1339px) {
  .products__panels, .products__slider, .products__slide,
  .compare__card, .compare__text, .compare__image,
  .why-mission__card, .why-mission__text { max-width: 100%; min-width: 0; }
  .products__slide img, .compare__image img, .why-mission__card img { max-width: 100%; height: auto; }
  .products__layout, .compare__row, .why-mission__inner { flex-wrap: wrap; }
  .why-stats__tile-group { flex-wrap: wrap; gap: 16px; }
  .why-stats__tile { min-width: 0; width: auto; max-width: 100%; }
  .why-stats__row { flex-wrap: wrap; }
  .why-stats__number, .why-stats__label { width: auto; max-width: 100%; white-space: normal; }
  /* fixed flex-basis (0 0 638px) + shrink 0 — allow shrink; doubled class
     where the desktop rule is doubled too */
  .request-demo-expect__quote { flex: 1 1 auto !important; max-width: 100%; min-width: 0; }
  .request-demo-expect__quote-body { max-width: 100%; min-width: 0; }
  .request-demo-expect__grid { flex-wrap: wrap; }
  /* keep the 224px basis but allow shrink (grow caused 1280px overflow) */
  .why-stats__tile.why-stats__tile { flex: 0 1 224px; width: auto; max-width: 100%; }
  .webinar-hero__inner { flex-wrap: wrap; }
  .webinar-hero__inner > .webinar-register { flex: 1 1 auto; max-width: 100%; min-width: 0; }
}

/* -----------------------------------------------------------------------------
   FOOTER as real blocks (parts/footer.html rebuilt 2026-11-06 so it is editable
   in Site Editor). Block wrappers add flow-layout gaps between children; the
   footer is laid out by the rules above, so zero those and restore the
   intended margins. Newsletter = Gravity Form #2 styled like the original
   input-with-button-inside (.site-footer__input-wrap).
----------------------------------------------------------------------------- */
.site-footer .is-layout-flow > *,
.site-footer .is-layout-constrained > * { margin-block-start: 0; margin-block-end: 0; }
.site-footer .site-footer__tagline { margin-top: 16px; }
.site-footer h4.site-footer__col-title { margin: 0 0 32px; }
.site-footer .site-footer__strip { margin-top: 64px; }
.site-footer .site-footer__logo { margin: 0; }
.site-footer .site-footer__links li { padding: 0; }

.site-footer__form-wrap { width: 400px; }
.site-footer__form-wrap .gform_wrapper,
.site-footer__form-wrap .gform_wrapper form { margin: 0; position: relative; }
.site-footer__form-wrap .gform_wrapper .gform_heading,
.site-footer__form-wrap .gform_wrapper .gform_required_legend,
.site-footer__form-wrap .gform_wrapper .gform_validation_errors { display: none; }
.site-footer__form-wrap .gform_wrapper .gform_fields { display: block; margin: 0; padding: 0; }
.site-footer__form-wrap .gform_wrapper .gfield { margin: 0; padding: 0; }
.site-footer__form-wrap .gform_wrapper .gfield_label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.site-footer__form-wrap .gform_wrapper .ginput_container { margin: 0; }
.site-footer__form-wrap .gform_wrapper .gfield input[type='email'] {
  width: 100%;
  height: 64px;
  padding: 0 155px 0 24px;
  border: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  box-sizing: border-box;
  box-shadow: none;
}
.site-footer__form-wrap .gform_wrapper .gfield input::placeholder { color: var(--wp--preset--color--ink); opacity: 0.55; }
.site-footer__form-wrap .gform_wrapper .gfield input:focus { outline: 2px solid var(--wp--preset--color--harbor-dark); outline-offset: 0; }
.site-footer__form-wrap .gform_wrapper .gform_footer {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 0;
}
.site-footer__form-wrap .gform_wrapper .gform_footer .gform_button {
  width: 131px;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background-color: var(--wp--preset--color--harbor-dark);
  color: var(--wp--preset--color--cream);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 40px;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.site-footer__form-wrap .gform_wrapper .gform_footer .gform_button:hover { background-color: var(--wp--preset--color--harbor-pressed); }
.site-footer__form-wrap .gform_wrapper .gfield_validation_message {
  margin: 6px 0 0; padding: 0; border: 0; background: none; font-size: 13px; color: #b3261e;
}
.site-footer__form-wrap .gform_confirmation_message { font-size: 16px; padding: 20px 0; }

@media (max-width: 1023px) {
  .site-footer .site-footer__strip { margin-top: 40px; }
  .site-footer__form-wrap { width: 100%; }
}
