/* snazzy-wp.css — maps the snazzy.ie component layer (tokens.css + site.css,
   ported unchanged from snazzy-html.dev) onto WordPress markup: Astra's
   header/footer builder, Beaver Builder rows and the native modules.

   Bands: give a BB row the class `sz-section band-paper|white|night|sun`
   (add `sz-section--tight` for the short ones). The row content width is the
   wrap; module margins are zeroed so the components own their spacing. */

/* ------------------------------------------------------------------ base
   Astra sets its own body type and link colours; the component layer wins. */
body.sz, body.sz #page, body.sz .site-content { background: var(--ground); color: var(--ink); }
body.sz { font: 300 var(--fs-body)/var(--lh-body) var(--font-body); }
body.sz :where(h1, h2, h3, h4, h5, h6) { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
body.sz :is(.entry-content, .sz-content) > :last-child { margin-bottom: 0; }
body.sz .site-content .ast-container { display: block; }
body.sz #primary { margin: 0; padding: 0; }
body.sz :is(.entry-content, .sz-content)[data-ast-blocks-layout] > *, body.sz :is(.entry-content, .sz-content) > .fl-builder-content { max-width: none; }
body.sz.ast-page-builder-template .entry-header { display: none; }
body.sz .ast-article-single, body.sz .ast-article-post { padding: 0; margin: 0; background: none; }

/* ------------------------------------------------- Astra's element resets
   Astra zeroes or restyles plain elements (margins, list indents, table borders,
   heading sizes, blockquote frames) with element selectors. The HTML build used
   the browser's defaults under its components, so inside Beaver Builder content
   those properties go back to the browser's values. :where() keeps this at
   element specificity: it beats Astra (which loads earlier) and loses to every
   site.css component class. */
:where(.fl-builder-content) :is(address, blockquote, dd, dl, dt, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, legend, li, ol, p, pre, ul, table, thead, tbody, tr, td, th, caption) {
  margin: revert; padding: revert; border: revert; font-size: revert; font-style: revert; vertical-align: revert;
}
:where(.fl-builder-content) table { border-collapse: revert; border-spacing: revert; width: revert; }
:where(.fl-builder-content) :is(label, legend) { color: revert; font-size: revert; font-style: revert; font-weight: revert; line-height: revert; letter-spacing: revert; text-transform: revert; }
:where(.fl-builder-content) blockquote::before, :where(.fl-builder-content) blockquote::after { content: revert; }

/* ---------------------------------------------------------- Beaver Builder */
.sz .fl-builder-content .fl-row-content-wrap { padding: 0; }
.sz .fl-builder-content .fl-module-content, .sz .fl-builder-content .fl-module:where(:not(:has(> .fl-module-content))) { margin: 0; }
.sz .fl-builder-content .fl-row-fixed-width { max-width: var(--wrap); padding-inline: var(--gutter); }
.sz .fl-builder-content .fl-row-full-width > .fl-row-content-wrap > .fl-row-content:not(.fl-row-fixed-width) { max-width: none; padding: 0; }
.sz .fl-row.sz-section { padding: var(--section-y) 0; border-top: 1px solid var(--line); position: relative; }
.sz .fl-row.sz-section--tight { padding: calc(var(--section-y) * .55) 0; }
.sz .fl-row.sz-flush { padding: 0; border-top: 0; }
/* a band row recolours the BB content inside it, as .band-* does in the HTML build */
.sz .fl-row[class*="band-"] > .fl-row-content-wrap { background: var(--ground); color: var(--ink); }
.sz .fl-row:first-child.sz-section { border-top: 0; }
/* native modules dressed as components */
.sz .fl-module-heading .fl-heading { font-family: var(--font-display); font-weight: 400; color: var(--ink); margin: 0; }
.sz .fl-module-heading.sz-head-h .fl-heading, .sz .sz-head .fl-heading { font-size: var(--fs-h2); line-height: var(--lh-tight); letter-spacing: var(--track-display); }
.sz .fl-module-rich-text .fl-rich-text > :last-child { margin-bottom: 0; }
.sz .fl-module-rich-text.sz-lede .fl-rich-text p { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-soft); }
/* a section head built from native modules: Heading (class sz-head-h) then Text (class sz-lede) */
.sz .fl-module-heading.sz-head-h { max-width: 60ch; }
.sz .fl-module-rich-text.sz-lede { max-width: 60ch; margin-top: var(--s-4); font-size: var(--fs-body); }
.sz .fl-module-rich-text.sz-lede .fl-rich-text p { margin: 0; }
.sz .fl-module.sz-head-h + .fl-module:not(.sz-lede), .sz .fl-module.sz-lede + .fl-module { margin-top: var(--s-7); }
.sz .fl-module-button + .fl-module-button { margin-top: var(--s-3); }
/* BB Button module: the pill. Classes on the module: sz-btn--ghost / --lg / --sm / --wa / --block */
.sz .fl-module-button .fl-button-wrap { text-align: inherit; }
.sz a.fl-button, .sz a.fl-button:visited {
  --h: var(--control-h);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 calc(var(--h) * .55); border: var(--btn-edge) solid var(--btn); border-radius: var(--r-pill);
  background: var(--btn); color: var(--btn-ink); text-decoration: none; box-shadow: none;
  font: 400 1.08rem/1 var(--font-display); letter-spacing: 0; text-transform: uppercase; white-space: nowrap;
  transition: color var(--d-fast) var(--e-out), border-color var(--d-fast) var(--e-out);
}
.sz a.fl-button .fl-button-text { color: inherit; font: inherit; }
.sz a.fl-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill); transform: translateY(101%); transition: transform var(--d-fast) var(--e-signature); }
.sz a.fl-button:hover { background: var(--btn); color: var(--btn-ink); border-color: var(--btn-fill); }
.sz a.fl-button:hover::before { transform: none; }
.sz .sz-btn--ghost a.fl-button { background: transparent; color: var(--ink); border-color: var(--ink); }
.sz .sz-btn--ghost a.fl-button::before { background: var(--ink); }
.sz .sz-btn--ghost a.fl-button:hover { background: transparent; color: var(--ground); border-color: var(--ink); }
.sz .sz-btn--lg a.fl-button { --h: 60px; font-size: 1.22rem; padding-inline: 32px; }
.sz .sz-btn--sm a.fl-button { --h: 38px; font-size: .92rem; }
.sz .sz-btn--block a.fl-button { width: 100%; }
html:not(.vag-up) .sz a.fl-button { font-weight: 700; }

/* ---------------------------------------------------------------- header
   The snazzy.host capsule, drawn on Astra's primary header row. */
.sz #masthead { position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter) 6px; background: transparent; }
/* the header floats over the page: every page opens on a night band whose top padding already clears it (site.css) */
.sz #content { margin-top: calc(-1 * var(--nav-block, 98px)); }
.sz-hero--fan { min-height: 100svh; padding-top: calc(var(--nav-block, 98px) + var(--s-6)); }
.admin-bar.sz #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.sz #masthead { top: 0; } }
.sz #masthead .ast-primary-header-bar, .sz #masthead .main-header-bar { background: none; border: 0; min-height: 0; padding: 0; box-shadow: none; }
.sz #masthead .site-primary-header-wrap,
.sz #ast-mobile-header {
  --inset: 13px; --nav-edge: 3px;
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; position: relative;
  background: var(--nav-grad); color: #fff; border: var(--nav-edge) solid #fff; border-radius: var(--r-pill); box-shadow: 0 18px 44px -18px rgba(25, 21, 48, .55);
  transition: min-height var(--d-fast) var(--e-out), height var(--d-fast) var(--e-out);
}
.sz #masthead .site-primary-header-wrap { height: var(--nav-h); min-height: 0; padding: 0 var(--inset) 0 14px; display: flex; align-items: center; }
.sz #masthead .site-primary-header-wrap > .ast-builder-grid-row { display: flex; align-items: center; width: 100%; height: 100%; gap: 18px; }
.sz #masthead .site-header-primary-section-left { flex: 1; gap: 18px; align-items: center; min-width: 0; }
.sz #masthead .site-header-primary-section-right { gap: 18px; align-items: center; flex: none; }
.sz #masthead .site-header-section > * { margin: 0; padding: 0; }
.sz #masthead .site-branding { padding: 0; }
.sz #masthead .custom-logo-link { display: block; line-height: 0; }
.sz #masthead .custom-logo-link img { width: 196px; height: 56px; max-width: none; max-height: none; object-fit: contain; object-position: left center; transition: width var(--d-fast) var(--e-out), height var(--d-fast) var(--e-out); }
/* top level links */
.sz #ast-hf-menu-1 { gap: 0; align-items: center; }
.sz #ast-hf-menu-1 > .menu-item { line-height: 1; height: auto; }
.sz #ast-hf-menu-1 > .menu-item > .menu-link {
  font: 400 1.15rem/1 var(--font-display); letter-spacing: 0; text-transform: uppercase; color: rgba(255, 255, 255, .96); text-decoration: none;
  padding: 12px 11px; border-radius: var(--r-pill); background: none; display: inline-flex; align-items: center; gap: 6px; height: auto; line-height: 1;
}
html:not(.vag-up) .sz #ast-hf-menu-1 > .menu-item > .menu-link { font-weight: 600; }
.sz #ast-hf-menu-1 > .menu-item > .menu-link:hover, .sz #ast-hf-menu-1 > .menu-item:has(> .menu-link:focus-visible) > .menu-link { background: rgba(255, 255, 255, .12); color: #fff; }
.sz #ast-hf-menu-1 > .current-menu-item > .menu-link, .sz #ast-hf-menu-1 > .current-menu-ancestor > .menu-link, .sz #ast-hf-menu-1 > .current-page-ancestor > .menu-link, .sz.sz-is-product #ast-hf-menu-1 > .sz-nav-products > .menu-link { color: var(--c-sun); }
.sz #masthead .dropdown-menu-toggle, .sz #masthead .ast-menu-toggle, .sz #masthead .sub-menu .ast-icon.icon-arrow { display: none; }
.sz #ast-hf-menu-1 > .sz-mega > .menu-link::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
/* the services panel spans the capsule: anchored to the bar, not the item */
.sz #ast-desktop-header .site-header-primary-section-left, .sz #ast-desktop-header .ast-builder-menu-1, .sz #ast-desktop-header .main-header-bar-navigation,
.sz #ast-desktop-header .site-navigation, .sz #ast-desktop-header .main-navigation, .sz #ast-hf-menu-1, .sz #ast-hf-menu-1 > .sz-mega { position: static; }
.sz #ast-hf-menu-1 > .sz-mega > .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0 !important; right: 0; width: auto; padding: 20px 22px 12px; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 24px;
  background: #fff; color: #191530; border: 1px solid rgba(25, 21, 48, .12); border-radius: 28px; box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transform-origin: top center;
  transition: opacity var(--d-fast), transform var(--d-fast) var(--e-signature), visibility var(--d-fast);
  transition-delay: 200ms; /* close grace: a brief slip off the panel doesn't drop it */
}
/* hover intent: a pointer passing over Services doesn't open it; keyboard focus opens at once, a mouse click doesn't hold it open */
.sz #ast-hf-menu-1 > .sz-mega:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 150ms; }
.sz #ast-hf-menu-1 > .sz-mega:has(:focus-visible) > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* bridges the gap between the bar and the panel; hidden with the panel, so it never opens it */
.sz #ast-hf-menu-1 > .sz-mega > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 28px; }
.sz #masthead .sz-mega .sub-menu .menu-item { border: 0; width: auto; }
.sz #masthead .sz-mega .sz-nav__kicker { display: grid; gap: 2px; align-content: start; }
.sz #masthead .sz-mega .sz-nav__kicker > .menu-link { font: 400 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: 0; text-transform: uppercase; color: var(--accent); padding: 6px 10px 10px; pointer-events: none; background: none; }
.sz #masthead .sz-mega .sz-nav__kicker > .sub-menu { position: static; display: grid; gap: 2px; width: auto; padding: 0; margin: 0; border: 0; box-shadow: none; background: none; opacity: 1; visibility: inherit; transform: none; left: auto !important; }
.sz #masthead .sz-mega .sz-nav__kicker .sub-menu .menu-link { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--r); color: #191530; text-decoration: none; white-space: nowrap; line-height: 1.3; }
.sz #masthead .sz-mega .sz-nav__kicker .sub-menu .menu-link:hover { background: #f4f1eb; color: #191530; }
.sz #masthead .sz-mega .sz-nav__kicker .sub-menu b { display: block; font-weight: 400; font-size: .98rem; }
.sz #masthead .sz-mega .sz-nav__all { grid-column: 1 / -1; }
.sz #masthead .sz-mega .sz-nav__all > .menu-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 12px 8px; color: var(--accent); font-weight: 400; font-size: .92rem; background: none; }
.sz #masthead .sz-mega .sz-nav__all .sz-i { width: 18px; height: 18px; }
/* phone, button, flag */
.sz #masthead .ast-header-html .ast-builder-html-element { display: flex; align-items: center; }
.sz #masthead .sz-nav__phone { display: none; }
@media (min-width: 1500px) { .sz #masthead .sz-nav__phone { display: inline-flex; } .sz #masthead .ast-header-html-1 { display: flex; } }
@media (max-width: 1499px) { .sz #ast-desktop-header .ast-header-html-1 { display: none; } }
.sz #masthead .ast-header-button-1 .menu-link { display: none; }
.sz #masthead .ast-custom-button-link {
  --h: 46px; --btn: #c2105f; --btn-fill: #a90e54; --btn-ink: #fff;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--h); padding: 0 23px; border: var(--btn-edge) solid var(--btn); border-radius: var(--r-pill); background: var(--btn); color: var(--btn-ink); text-decoration: none;
  font: 400 1.0625rem/1 var(--font-display); letter-spacing: 0; text-transform: uppercase; white-space: nowrap;
  transition: min-height var(--d-fast) var(--e-out), color var(--d-fast) var(--e-out);
}
html:not(.vag-up) .sz #masthead .ast-custom-button-link { font-weight: 700; }
.sz #masthead .ast-custom-button-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill); transform: translateY(101%); transition: transform var(--d-fast) var(--e-signature); }
.sz #masthead .ast-custom-button-link:hover::before { transform: none; }
.sz #masthead .ast-custom-button { all: unset; }
.sz #masthead .sz-nav__ie { width: 46px; height: 46px; margin-left: 2px; transition: width var(--d-fast) var(--e-out), height var(--d-fast) var(--e-out); }
@media (max-width: 1100px) {
  .sz #masthead .site-primary-header-wrap > .ast-builder-grid-row, .sz #masthead .site-header-primary-section-left, .sz #masthead .site-header-primary-section-right { gap: 12px; }
  .sz #ast-hf-menu-1 > .menu-item > .menu-link { font-size: 1.02rem; padding-inline: 8px; }
  .sz #masthead .custom-logo-link img { width: 164px; height: 47px; }
  .sz #masthead .ast-custom-button-link { padding-inline: 18px; }
}
/* compact after 80px of scroll */
.sz #masthead.is-compact .site-primary-header-wrap { height: 64px; --inset: 9px; }
.sz #masthead.is-compact .custom-logo-link img { width: 160px; height: 46px; }
.sz #masthead.is-compact .ast-custom-button-link { --h: 40px; }
.sz #masthead.is-compact .sz-nav__ie, .sz #masthead.is-compact .menu-toggle { width: 40px; height: 40px; }

/* mobile: the capsule expands in place (Astra's dropdown header type) */
.sz #ast-mobile-header { padding: 0; }
.sz #ast-mobile-header .ast-primary-header-bar { height: calc(var(--nav-h) - 2 * var(--nav-edge)); min-height: 0; padding: 0 var(--inset) 0 14px; display: flex; align-items: center; }
.sz #ast-mobile-header .ast-builder-grid-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.sz #ast-mobile-header .custom-logo-link img { width: 150px; height: 46px; }
.sz #ast-mobile-header .menu-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: none; color: #fff; padding: 0; display: grid; place-items: center;
}
.sz #ast-mobile-header .menu-toggle svg { fill: #fff; width: 18px; height: 18px; }
.ast-main-header-nav-open.sz #ast-mobile-header { border-radius: 36px; }
.sz #ast-mobile-header .ast-mobile-header-content { background: none; border: 0; padding: 0 var(--inset) var(--inset) 14px; }
.sz #ast-hf-mobile-menu { background: none; border: 0; }
.sz #ast-hf-mobile-menu .menu-item { border: 0; }
.sz #ast-hf-mobile-menu .menu-link { font: 400 1.15rem/1.2 var(--font-display); letter-spacing: 0; text-transform: uppercase; color: #fff; padding: 12px 11px; border: 0; border-radius: var(--r-pill); min-height: 44px; display: flex; align-items: center; gap: 10px; background: none; }
.sz #ast-hf-mobile-menu .menu-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sz #ast-hf-mobile-menu .ast-menu-toggle { display: block; color: #fff; border: 0; background: none; top: 6px; }
/* the services panel: the desktop panel rules (#masthead .sz-mega …, dark ink on white) outrank these on id count, so every
   rule here goes through #masthead too. Astra hides nested sub-menus inline, hence !important on the kicker lists. */
.sz #masthead #ast-hf-mobile-menu .sz-mega > .sub-menu { position: static; width: auto; margin: 4px 0 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; padding: 6px 8px 8px; display: none; grid-template-columns: 1fr 1fr; gap: 2px 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.sz #masthead #ast-hf-mobile-menu .sz-mega.ast-submenu-expanded > .sub-menu { display: grid !important; }
@media (max-width: 600px) { .sz #masthead #ast-hf-mobile-menu .sz-mega > .sub-menu { grid-template-columns: 1fr; } }
.sz #ast-hf-mobile-menu .sz-mega .sub-menu .ast-menu-toggle { display: none; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__kicker { display: block; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__kicker > .menu-link { justify-content: flex-start; text-align: left; font: 400 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--c-sun); min-height: 0; padding: 14px 10px 6px; pointer-events: none; background: none; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__kicker > .sub-menu { display: grid !important; gap: 0; background: none; border: 0; padding: 0; margin: 0; position: static; box-shadow: none; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__kicker .sub-menu .menu-link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 14px; color: #fff; white-space: normal; text-transform: none; letter-spacing: 0; font: 400 1rem/1.25 var(--font-display); }
.sz #masthead #ast-hf-mobile-menu .sz-nav__kicker .sub-menu .menu-link:hover, .sz #masthead #ast-hf-mobile-menu .sz-nav__kicker .current-menu-item > .menu-link { background: rgba(255, 255, 255, .12); color: #fff; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__kicker .sub-menu b { font-weight: 400; font-size: 1rem; }
.sz #masthead #ast-hf-mobile-menu .sz-i-disc { --d: 34px !important; flex: none; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__all { grid-column: 1 / -1; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__all > .menu-link { justify-content: space-between; min-height: 48px; margin-top: 6px; padding: 12px 10px 4px; font: 400 .95rem/1 var(--font-display); text-transform: none; color: #fff; border-top: 1px solid rgba(255, 255, 255, .18); border-radius: 0; background: none; }
.sz #masthead #ast-hf-mobile-menu .sz-nav__all .sz-i { width: 18px; height: 18px; color: var(--c-sun); }
/* top level: the current page in sun, as on desktop; the services chevron turns when its panel is open */
.sz #ast-hf-mobile-menu > :is(.current-menu-item, .current-menu-ancestor, .current-page-ancestor) > .menu-link, .sz.sz-is-product #ast-hf-mobile-menu > .sz-nav-products > .menu-link { color: var(--c-sun); }
.sz #ast-hf-mobile-menu > .sz-mega > .ast-menu-toggle .ast-icon { display: inline-block; transition: transform var(--d-fast) var(--e-out); }
.sz #ast-hf-mobile-menu > .sz-mega.ast-submenu-expanded > .ast-menu-toggle .ast-icon { transform: rotate(180deg); }
.sz #ast-mobile-header .ast-header-button-1 { width: 100%; margin-top: 8px; }
.sz #ast-mobile-header .ast-header-button-1 .ast-custom-button-link { --h: 52px; width: 100%; }

/* ---------------------------------------------------------------- footer
   Astra's footer rows carry the HTML build's footer: above = the four columns,
   primary = the wordmark, below = the base row. Always on night. */
.sz .site-footer { padding: var(--s-8) 0 var(--s-5); font-size: var(--fs-sm); color: var(--ink-mute); background: var(--ground); }
.sz .site-footer .site-above-footer-wrap, .sz .site-footer .site-primary-footer-wrap, .sz .site-footer .site-below-footer-wrap { background: none; border: 0; padding: 0; min-height: 0; }
.sz .site-footer .ast-builder-grid-row-container, .sz .site-footer .ast-builder-grid-row-container-inner { max-width: none; padding: 0 var(--gutter); margin: 0; }
.sz .site-footer .ast-builder-grid-row-container-inner { padding: 0; }
.sz .site-footer .ast-builder-grid-row { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; padding-inline: 0; }
.sz .site-footer .site-above-footer-wrap .ast-builder-grid-row { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-6); padding-bottom: var(--s-7); }
/* iPad: the brand block across the top, then the three lists side by side */
@media (max-width: 1099px) {
  .sz .site-footer .site-above-footer-wrap .ast-builder-grid-row { grid-template-columns: repeat(3, 1fr); gap: var(--s-7) var(--s-6); }
  .sz .site-footer .site-above-footer-wrap .ast-builder-grid-row > :first-child { grid-column: 1 / -1; }
}
/* phones and small tablets: Services | Company, then Our products across the width with its list in two columns */
@media (max-width: 860px) {
  .sz .site-footer .site-above-footer-wrap .ast-builder-grid-row { grid-template-columns: 1fr 1fr; gap: var(--s-7) var(--s-5); }
  .sz .site-footer .site-above-footer-wrap .ast-builder-grid-row > :nth-child(4) { grid-column: 1 / -1; }
  .sz #colophon .site-above-footer-wrap .ast-builder-grid-row > :nth-child(4) ul { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); }
}
.sz .site-footer .site-footer-section { padding: 0; margin: 0; }
.sz .site-footer .ast-builder-html-element, .sz .site-footer .ast-footer-html-1 { text-align: left; }
.sz .site-footer .sz-foot__logo { display: block; width: 272px; max-width: 100%; height: 78px; background: url("../img/snazzy-digital-logo-white.svg") left center / contain no-repeat; margin-bottom: var(--s-4); }
.sz .site-footer .sz-foot__lede { max-width: 34ch; margin: 0 0 16px; }
.sz .site-footer p.widget-title { font: 400 1.5rem/1 var(--font-display); letter-spacing: 0; text-transform: uppercase; color: #fff; margin: 0 0 var(--s-5); }
html:not(.vag-up) .sz .site-footer p.widget-title { font-weight: 600; }
.sz .site-footer ul:not(.sz-social) { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
/* touch screens: 44px link targets instead of the gap, as site.css does for .sz-foot */
@media (pointer: coarse) {
  .sz .site-footer ul:not(.sz-social) { gap: 0; }
  .sz .site-footer ul:not(.sz-social) a, .sz .site-footer .site-below-footer-wrap a:not(.sz-foot__icons a) { display: inline-flex; align-items: center; min-height: 44px; }
}
.sz .site-footer .widget { margin: 0; }
.sz .site-footer a { color: var(--ink-soft); text-decoration: none; font-size: 1rem; }
.sz .site-footer a:hover { color: var(--accent); }
.sz .site-footer .sz-foot__mark { margin: 4.5rem auto 0; }
.sz .site-footer .site-primary-footer-wrap .ast-builder-grid-row, .sz .site-footer .site-primary-footer-wrap .site-footer-section { display: block; width: 100%; }
.sz .site-footer .site-below-footer-wrap .ast-builder-grid-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-4); align-items: center; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.sz .site-footer .site-below-footer-wrap a { font-size: inherit; }
.sz .site-footer .ast-footer-copyright { color: var(--ink-mute); text-align: left; }
.sz .site-footer .ast-footer-copyright p { margin: 0; }
.sz .site-footer .site-below-footer-wrap .site-footer-below-section-2 { justify-self: center; }
.sz .site-footer .site-below-footer-wrap .site-footer-below-section-3 { justify-self: end; }
.sz .site-footer .sz-badge-ie { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  .sz .site-footer .site-below-footer-wrap .ast-builder-grid-row { grid-template-columns: 1fr; text-align: center; }
  .sz .site-footer .site-below-footer-wrap .site-footer-section { justify-self: center !important; text-align: center; }
  .sz .site-footer .ast-footer-copyright { text-align: center; }
}

/* the floating WhatsApp button sits above Astra's scroll-to-top */
.sz #ast-scroll-top { display: none !important; }
.sz #ast-hf-menu-1 > .sz-mega.sz-mega.is-closed > .sub-menu { opacity: 0; visibility: hidden; transition-delay: 0s; }
.sz #masthead .sz-mega .sub-menu .menu-link { font: 400 .98rem/1.3 var(--font-display); text-transform: none; letter-spacing: 0; }
.sz #masthead .sz-mega .sub-menu, .sz #masthead .sz-mega .sub-menu .menu-item { min-width: 0; }
.sz #masthead .sz-mega .sz-nav__kicker > .menu-link { font: 400 var(--fs-eyebrow)/1 var(--font-body); letter-spacing: 0; text-transform: uppercase; }
.sz #masthead .sz-mega .sz-nav__all > .menu-link { font-size: .92rem; }
.sz #masthead .sz-mega .sz-nav__all > .menu-link { border-top-color: rgba(25, 21, 48, .12); }
/* mobile: the bar inside the capsule is plain, the dropdown opens inside the capsule */
.sz #ast-mobile-header .site-primary-header-wrap { max-width: none; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.sz #ast-mobile-header .ast-mobile-header-content { position: static; width: auto; box-shadow: none; }
.sz #ast-mobile-header .ast-builder-menu-mobile .main-navigation, .sz #ast-mobile-header .ast-builder-menu-mobile .main-header-menu { background: none; }
.sz #ast-hf-mobile-menu > .menu-item > .menu-link { padding: 12px 11px; }
.sz #ast-hf-mobile-menu > .sz-mega > .ast-menu-toggle { width: 100%; height: 44px; top: 0; right: 0; text-align: right; padding-right: 14px; }
/* contact: the HTML build's pill buttons (site.css .sz-foot pointer: coarse), on every screen */
.sz #colophon ul.sz-foot__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-5); }
.sz #colophon .sz-foot__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: var(--btn-edge) solid var(--line-strong); border-radius: var(--r-pill); background: none; color: var(--ink-soft); transition: border-color var(--d-fast), color var(--d-fast); }
.sz #colophon .sz-foot__contact a:hover { border-color: var(--accent); color: #fff; }
.sz #colophon .sz-foot__contact .sz-i { width: 18px; height: 18px; flex: none; }
.sz #ast-mobile-header .ast-header-button-1, .sz #ast-mobile-header .ast-header-button-1 .ast-builder-button-wrap { display: block; width: 100%; padding: 0; }
.sz #ast-mobile-header .ast-mobile-header-content .ast-builder-layout-element { padding: 0; }
.sz #ast-mobile-header .menu-toggle { outline: 0; box-shadow: none; }
.sz #ast-mobile-header .menu-toggle:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
/* Astra indents every list; component lists start flush, as in the HTML build */
.sz ol[class*="sz-"], .sz ul[class*="sz-"] { margin-left: 0; padding-left: 0; }
/* Beaver Builder pages render in .sz-content, not Astra's .entry-content (blast/template-parts/single/content-header.php),
   so Astra's article typography (paragraph margins, link underlines, list indents) never reaches the components */
/* Astra's blockquote frame stays out of the components */
.sz :is(.sz-review, .sz-quote) blockquote { border: 0; padding: 0; font-style: normal; }
.sz .sz-prose blockquote { border: 0; font-style: normal; }
/* Astra styles typed inputs (email, tel, url…) more specifically than .sz-input; the form keeps its own look */
.sz .sz-form :is(.sz-input, .sz-select, .sz-textarea) {
  width: 100%; min-height: var(--control-h); padding: 12px 14px; border-radius: var(--r);
  border: 1px solid var(--control-edge); background: var(--surface); color: var(--ink);
  font: 400 1rem/1.4 var(--font-body); box-shadow: none;
}
.sz .sz-form .sz-textarea { min-height: 140px; resize: vertical; }
.sz .sz-form :is(.sz-input, .sz-select, .sz-textarea):hover { border-color: var(--ink-mute); }
.sz .sz-form :is(.sz-input, .sz-select, .sz-textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
/* in the Beaver Builder editor the header stays in the flow so it never covers row toolbars */
.fl-builder-edit.sz #masthead { position: relative; top: 0; }
/* Astra spaces footer sections and sizes the copyright itself; the footer grid and --fs-sm own both */
.sz .site-footer .ast-builder-grid-row > .site-footer-section { margin: 0; }
.sz .site-footer .ast-footer-copyright, .sz .site-footer .ast-footer-copyright p { font-size: var(--fs-sm); line-height: var(--lh-body); }
/* Astra paints every button:hover/focus maroon with white text (button:hover, 0,1,1); each Snazzy button keeps its own look */
.sz :is(.sz-process__head, .sz-lb-open):is(:hover, :focus) { background: none; border-color: transparent; }
.sz .sz-process__head:is(:hover, :focus) { color: var(--ink); }
.sz .sz-lb-open:is(:hover, :focus) { color: inherit; }
.sz .sz-filter button:not([aria-pressed="true"]):is(:hover, :focus) { background: transparent; }
.sz .sz-filter button:not([aria-pressed="true"]):focus:not(:hover) { color: var(--ink-soft); border-color: var(--line-strong); }
.sz button.sz-btn:is(:hover, :focus) { background: var(--btn); }
.sz button.sz-btn--ghost:is(:hover, :focus) { background: transparent; }
/* gallery captions: the page name as a pill, the description beside it */
.sz-gallery__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sz-gallery__cap .sz-pill { padding: 7px 16px; background: var(--surface); border-color: var(--line); color: var(--ink); font: 400 var(--fs-sm)/1.2 var(--font-display); box-shadow: 0 1px 2px rgba(13, 11, 26, .06); }
.sz-gallery__desc { font-size: var(--fs-sm); color: var(--ink-mute); }
.sz-phone-row li { justify-items: center; }
.sz-phone-row .sz-gallery__cap { justify-content: center; }
/* the button fills its slot, so the phone width (a % of it) resolves the same everywhere; with width auto the % was circular and Safari sized each phone differently */
.sz-phone-row .sz-lb-open--phone { width: 100%; }
/* holo layers outside a [data-holo] card had no --holo, so the opacity calc was invalid and fell back to 1: the foil washed the capture orange */
.holo__foil { opacity: calc(var(--holo, 0) * .55); }
.holo__glare { opacity: calc(var(--holo, 0) * .5); }
.band-night .holo__foil { opacity: calc(var(--holo, 0) * .45); }
/* case studies: the challenge capture, edge to edge, scrolling with the page (snazzy-wp.js sets --run).
   The frame fills the screen below the header (98px in the WP build) and sticks while the capture travels. */
.sz-scrollshot { --shot-top: 114px; --shot-h: min(calc(100svh - var(--shot-top) - 24px), 860px); margin: var(--s-7) 0 0; height: calc(var(--shot-h) + var(--run, 0px)); }
.sz-scrollshot__stick { position: sticky; top: var(--shot-top); padding: 0 var(--gutter); }
.sz-scrollshot__frame { position: relative; height: var(--shot-h); overflow: hidden; border-radius: var(--r-card); background: var(--ground-3); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
.sz-scrollshot__frame img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; will-change: transform; }
.sz-scrollshot .sz-gallery__cap { margin-top: var(--s-4); }
@media (max-width: 760px) { .sz-scrollshot { --shot-top: 88px; --shot-h: 64svh; } .sz-scrollshot__stick { padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .sz-scrollshot { height: auto; } .sz-scrollshot__stick { position: static; } }
@media (max-width: 760px) { .sz-scrollshot__frame { max-width: 400px; margin-inline: auto; } }
.sz-scrollshot__frame img { aspect-ratio: auto; }
/* home hero: screenshot reels drifting behind the card fan, and the logo + services bars crossing its foot.
   The reels fade out with the fan as the pin plays (scene.js tweens --beat on the section). */
.sz-reel { position: absolute; top: -24%; bottom: -24%; right: -4%; width: 58%; z-index: 0; display: flex; gap: 18px; transform: rotate(-8deg); opacity: calc(1 - var(--beat, 0)); pointer-events: none; -webkit-mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(90deg, transparent, #000 30%); -webkit-mask-composite: source-in; mask: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent) intersect, linear-gradient(90deg, transparent, #000 30%); }
.sz-reel__col { flex: 1.5; min-width: 0; overflow: hidden; }
.sz-reel__col--phone { flex: 1; }
.sz-reel__track { display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; animation: sz-reel 64s linear infinite; will-change: transform; }
.sz-reel__col--2 .sz-reel__track { animation-duration: 76s; animation-direction: reverse; }
.sz-reel__col--3 .sz-reel__track { animation-duration: 58s; }
.sz-reel__col--4 .sz-reel__track { animation-duration: 70s; animation-direction: reverse; }
.sz-reel { --frame: 8px; --frame-r: 14px; }
.sz-reel .sz-shot { flex: none; }
.sz-reel .sz-phone-frame { --bez: 8px; flex: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
/* the images are opaque, so the scene's dots show only in the gaps */
.sz-reel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes sz-reel { to { transform: translateY(-50%); } }
/* with the reels behind, the fan shrinks to a cluster so the drifting work still reads around it */
@media (min-width: 961px) {
  .sz-hero--fan:has(.sz-reel) .sz-fan { width: min(100%, 620px); max-height: none; justify-self: center; align-self: center; }
  .sz-hero--fan:has(.sz-reel) .sz-fan__card { box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
  .sz-hero--fan:has(.sz-reel) .sz-fan__card--c { box-shadow: none; }
}

.sz-hero--fan { --bars-h: 132px; }
.sz-hero--fan:has(.sz-hero__bars) { padding-bottom: calc(var(--bars-h) + var(--s-3)); }
.sz-hero--fan:has(.sz-hero__bars) .sz-hero__beat2 { bottom: calc(var(--bars-h) + var(--s-5)); }
@media (min-width: 961px) { .sz-hero--fan:has(.sz-hero__bars) .sz-scroll-cue { bottom: calc(var(--bars-h) + var(--s-4)); } }
/* desktop: the bars cross the hero just under the proof row (snazzy-wp.js sets --bars-top to the row's foot);
   the row's bottom margin keeps their room in the copy, so the hero still centres. Without JS they stay at the foot. */
@media (min-width: 961px) {
  .sz-hero--fan.has-bars-top { padding-bottom: var(--s-6); }
  .sz-hero--fan.has-bars-top .sz-hero__proof { margin-bottom: calc(var(--bars-h) + var(--s-3)); }
  .sz-hero--fan.has-bars-top .sz-hero__bars { top: calc(var(--bars-top) + var(--s-3)); bottom: auto; }
  .sz-hero--fan.has-bars-top .sz-hero__beat2 { bottom: var(--s-7); }
  .sz-hero--fan.has-bars-top .sz-scroll-cue { bottom: var(--s-6); }
}
/* the bars drop away as the pin plays, gone before "Some of the projects." (snazzy-wp.js adds is-beat2 to stop clicks) */
.sz-hero__bars { position: absolute; left: -4vw; right: -4vw; bottom: 0; height: var(--bars-h); z-index: 2; pointer-events: none; opacity: clamp(0, 1 - 2.5 * var(--beat, 0), 1); transform: translateY(calc(var(--beat, 0) * 48px)); }
.is-beat2 .sz-hero__bars { visibility: hidden; }
.sz-bar { position: absolute; left: 0; right: 0; display: flex; overflow: hidden; pointer-events: auto; }
.sz-bar__track { display: flex; flex: none; align-items: center; animation: sz-logos 52s linear infinite; }
.sz-bar:hover .sz-bar__track { animation-play-state: paused; }
.sz-bar--logos { bottom: 44px; z-index: 2; height: 64px; transform: rotate(-1.6deg); background: #fff; border-block: 1px solid rgba(21, 18, 37, .08); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.sz-bar--logos .sz-bar__track { gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); }
.sz-bar--logos .sz-bar__track > * { display: grid; place-items: center; height: 64px; flex: none; }
.sz-bar--logos img { max-height: 34px; max-width: 160px; width: auto; filter: grayscale(1) contrast(.9); opacity: .8; transition: opacity var(--d-fast), filter var(--d-fast); }
.sz-bar--logos a:hover img { filter: none; opacity: 1; }
/* the logo bar crosses over the services band, so every logo stays visible and clickable on wide screens */
/* a white-ink logo with no dark version: a solid silhouette on the white bar (sz_logo_pick()) */
.sz-bar--logos img.sz-logo--flip, .sz-bar--logos a:hover img.sz-logo--flip { filter: brightness(0); }
.sz-bar--services { bottom: 6px; z-index: 1; transform: rotate(1.6deg); background: var(--grad-warm); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.sz-bar--services .sz-bar__track { animation-duration: 44s; animation-direction: reverse; }
.sz .sz-bar--services .sz-bar__track > :is(a, span) { display: inline-flex; align-items: center; gap: 28px; padding: 15px 28px 15px 0; font: 400 clamp(1rem, 1.35vw, 1.2rem)/1 var(--font-display); color: var(--c-navy); text-decoration: none; white-space: nowrap; }
.sz .sz-bar--services .sz-bar__track > :is(a, span)::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-navy); }
.sz .sz-bar--services a:hover { color: var(--c-navy); text-decoration: underline; text-underline-offset: 4px; }
.sz .sz-bar--services a:focus-visible { outline: 2px solid var(--c-navy); outline-offset: -4px; }
@media (max-width: 960px) {
  .sz-reel { display: none; }
  .sz-hero--fan { --bars-h: 112px; }
  .sz-bar--logos { bottom: 40px; height: 56px; transform: rotate(-2.4deg); }
  .sz-bar--logos .sz-bar__track > * { height: 56px; }
  .sz-bar--logos img { max-height: 30px; max-width: 110px; }
  .sz-bar--services { bottom: 4px; transform: rotate(2.4deg); }
  .sz .sz-bar--services .sz-bar__track > :is(a, span) { padding-block: 12px; gap: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sz-reel__track, .sz-bar__track { animation: none; }
  .sz-bar__track[aria-hidden] { display: none; }
}

/* logo strips: each logo is picked for its band (sz_logo_pick()), so the night band shows them as they are;
   only a logo that lacks the right version turns into a silhouette (white on night, black on light bands) */
.band-night .sz-logos img { filter: grayscale(1) contrast(.9); opacity: .8; }
.sz-logos img.sz-logo--flip, .sz-logos__track > *:hover img.sz-logo--flip { filter: brightness(0); opacity: .7; }
.band-night .sz-logos img.sz-logo--flip, .band-night .sz-logos__track > *:hover img.sz-logo--flip { filter: brightness(0) invert(1); }
/* project hero: the client's logo on a white chip, so dark artwork reads on the night band */
.sz-hero__logo { display: inline-flex; align-items: center; margin: 0 0 var(--s-4); padding: 14px 24px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
.sz-hero__logo img { display: block; height: 64px; width: auto; max-width: min(340px, 100%); object-fit: contain; }
/* the logo sits under the device duo, centred on the desktop frame; on phones (duo hidden) it follows the copy */
.sz-hero__media { min-width: 0; }
.sz-hero__media .sz-hero__logo { display: flex; width: fit-content; margin: var(--s-6) auto 0; }
.sz-hero__logo--bare { padding: 0; background: none; box-shadow: none; border-radius: 0; }
/* the footer capture at about 60% width, centred */
.sz-gallery__item--footer { width: min(60%, 760px); justify-self: center; }
@media (max-width: 760px) { .sz-gallery__item--footer { width: 100%; } }

/* hero buttons stack full width on phones */
@media (max-width: 600px) {
  .sz-hero .sz-btns { flex-direction: column; align-items: stretch; }
  .sz-hero .sz-btns .sz-btn { width: 100%; justify-content: center; }
}
/* the team card: the Snazzy mark in place of a face */
.sz-avatar--mark { background: var(--night); display: grid; place-items: center; }
.sz-avatar--mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }

/* ---------- white frames everywhere (site.css "white frames", extended) ----------
   Every desktop and phone capture sits in the white frame. The screen gets a hairline inner edge,
   so a capture whose page is pale at the bottom still ends cleanly instead of running into the frame. */
.sz-shot img, .sz-phone-frame img { outline: 1px solid rgba(21, 18, 37, .14); outline-offset: -1px; }
.sz-shot--photo img, .sz-post-card .sz-shot img, .sz-post-hero__img .sz-shot img { outline: 0; }
/* site.css takes the frame off these: the "work" visual (home, about) */
.sz-work .sz-shot { border: var(--frame) solid #fff; border-radius: var(--frame-r); }
/* the 16:10 sits on the capture, not the bordered box, so the frame never trims the capture's edges */
.sz-work .sz-shot { aspect-ratio: auto; }
.sz-work .sz-shot img { aspect-ratio: 16 / 10; height: auto; display: block; }
/* the phone in a work card: the same bezel as the desktop beside it, and a firmer screen edge so a pale page foot does not read as a thick chin */
/* every phone bezel is 8px (site.css has 9px, and 6px on the work cards); the work cards' desktop frame matches it */
.sz-phone-frame, .sz-work__visual .sz-phone-frame { --bez: 8px; }
.sz-work { --frame: 8px; --frame-r: 16px; --frame-inner-r: 10px; }
.sz-phone-frame img { outline-color: rgba(21, 18, 37, .28); }
/* the phone's bezel is padding, not border, so keep the holo layers on the screen or the glare greys the bezel */
.sz-phone-frame > :is(.holo__foil, .holo__glare, .holo__sweep) { inset: var(--bez); border-radius: 8% / 3.7%; }
/* on night bands --line is pale, so the ring drew a grey halo: shadow only */
.band-night .sz-work__visual > .sz-phone-frame { box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
@media (hover: hover) and (pointer: fine) {
  .band-night .sz-work__visual > .sz-phone-frame { box-shadow: 0 calc(18px + var(--holo) * 16px) calc(40px + var(--holo) * 24px) rgba(0, 0, 0, calc(.45 + var(--holo) * .15)); }
}
/* narrow cards clip at their edge (site.css): keep the tilted phone inside */
@media (max-width: 420px) { .sz-work__visual .sz-phone-frame { right: 8px; } }
/* phones: the outer and screen radii differ by exactly the bezel, so the corners carry no extra white;
   and they stand upright (rotateX centred on 0, not -3deg), so the bottom bezel doesn't read as a chin */
.sz-phone-frame { border-radius: calc(var(--bez) + 12px); }
.sz-phone-frame img, .sz-phone-frame > :is(.holo__foil, .holo__glare, .holo__sweep) { border-radius: 12px; }
/* the screen shows the whole 390-wide capture: sized by its own ratio, not cover-cropped (Safari trimmed the
   sides, cutting off edge-hugging text like "Basket"), and the hairline sits in the bezel, not over the pixels */
.sz-phone-frame img { height: auto; aspect-ratio: 390 / 844; outline-offset: 0; }
/* the tilted phones (work cards, device duo, hero) lean towards the viewer at the foot, so an even bezel reads as a chin there:
   trim the bottom bezel so it looks the same as the sides, and let the screen run that much further down */
:is(.sz-work__visual, .sz-device-duo, .sz-fan__card--c) > .sz-phone-frame { padding-bottom: calc(var(--bez) - 3px); }
:is(.sz-work__visual, .sz-device-duo, .sz-fan__card--c) > .sz-phone-frame > :is(.holo__foil, .holo__glare, .holo__sweep) { bottom: calc(var(--bez) - 3px); }
@media (hover: hover) and (pointer: fine) {
  .sz-work__visual > .sz-phone-frame, .sz-device-duo > .sz-phone-frame { transform: translate3d(calc((var(--my) - 50) * -.3px), calc((var(--mx) - 50) * -.2px), 56px) rotateY(calc(16deg + var(--ry) * -.9deg)) rotateX(calc(var(--rx) * .6deg)) rotate(-5deg); }
  .sz-fan__card--c > .sz-phone-frame { transform: rotateY(calc(16deg + var(--ry) * -1.2deg)) rotateX(calc(var(--rx) * .8deg)); }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .sz-work__visual > .sz-phone-frame, .sz-device-duo > .sz-phone-frame { transform: perspective(900px) rotateY(16deg) rotate(-5deg); }
}
/* work cards: no box behind the pair, the framed desktop and phone stand on the band by themselves */
.sz-work, .sz-work:hover, .band-night .sz-work { background: none; box-shadow: none; padding: 0; }
/* the pair sits inside a white card that runs from the top edge to the text (the tilted phone may lean past its right edge) */
.sz-work { position: relative; isolation: isolate; grid-template-rows: auto 1fr; }
.sz-work::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.sz-work, .sz-work:hover, .band-night .sz-work { padding: 14px 14px 0; }
.sz-work__body { margin-top: 22px; padding: 0 8px 22px; }
.sz-work__meta { padding: 0; }
.sz-work__outcome { padding: 10px 0 0; }
.band-night .sz-work::before { background: var(--c-navy); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
/* site.css clips narrow cards to keep the phone in; the phone already sits inside (right: 8px), and the clip would cut the frame shadows */
@media (max-width: 420px) { .sz-work { overflow: visible; } }
.sz-work .sz-shot { box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
/* on night bands the frames are brand navy, with a faint ring so they read against the band */
.band-night .sz-work .sz-shot { border-color: var(--c-navy); background: var(--c-navy); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 34px rgba(0, 0, 0, .35); }
.band-night .sz-work__visual .sz-phone-frame { background: var(--c-navy); }
.band-night .sz-work__visual > .sz-phone-frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 0, 0, .45); }
.band-night .sz-work :is(.sz-shot img, .sz-phone-frame img) { outline-color: rgba(255, 255, 255, .12); }
/* case studies: the sticky media stack and the full-length scrolling capture */
.sz-media-stack { border: var(--frame) solid #fff; border-radius: var(--frame-r); background: #fff; }
.sz-media-stack img { border-radius: var(--frame-inner-r); }
.sz-scrollshot__frame, .sz-scrollstack__frame { border: var(--frame) solid #fff; border-radius: var(--frame-r); background: #fff; }
.sz-media-stack::after, .sz-scrollshot__frame::after, .sz-scrollstack__frame::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--frame-inner-r); box-shadow: inset 0 0 0 1px rgba(21, 18, 37, .14); pointer-events: none; }
.band-white :is(.sz-media-stack, .sz-scrollshot__frame, .sz-scrollstack__frame), .band-paper :is(.sz-media-stack, .sz-scrollshot__frame, .sz-scrollstack__frame) { box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
/* the full-length capture sits bare: no white frame, ring, shadow or inset line */
.sz-scrollshot .sz-scrollshot__frame { border: 0; background: none; box-shadow: none; border-radius: var(--frame-inner-r); }
.sz-scrollshot .sz-scrollshot__frame::after { content: none; }
/* lists beside full-length captures (sz_scroll_stack): a frame of about 40% sticks while
   the rows scroll past; snazzy-wp.js pans the capture top to bottom and lights the rows in step.
   Each row is tall enough that the active one sits beside the frame, and together they set the length of the pan. */
.sz-list-media--scroll { --stack-top: calc(var(--nav-h) + 32px); --stack-h: min(calc(100svh - var(--nav-h) - 120px), 620px); grid-template-columns: minmax(0, 1fr) minmax(300px, 40%); gap: var(--s-7); }
/* the space under the last row lets it reach the middle of the frame too */
.sz-list-media--scroll .sz-rows { padding-bottom: calc(var(--stack-h) / 2); }
.sz-list-media--scroll .sz-row { min-height: max(44svh, calc(var(--stack-h) * .7)); align-content: start; transition: opacity var(--d-slow) var(--e-out); }
.sz-list-media--scroll .sz-row:not(.is-on) { opacity: .42; }
.sz-scrollstack { position: sticky; top: calc(var(--stack-top) + 24px); z-index: 2; margin: 0; }
.sz-scrollstack__frame { position: relative; height: var(--stack-h); overflow: hidden; }
.sz-scrollstack picture { position: absolute; inset: 0 0 auto; opacity: 0; transition: opacity var(--d-slow) var(--e-out); }
.sz-scrollstack picture.is-on { opacity: 1; z-index: 1; }
.sz-scrollstack img { display: block; width: 100%; height: auto; border-radius: 0; will-change: transform; }
@media (max-width: 960px) {
  .sz-list-media--scroll { --stack-top: calc(var(--nav-h) + 8px); --stack-h: 42svh; grid-template-columns: 1fr; gap: var(--s-4); }
  .sz-list-media--scroll .sz-scrollstack { order: -1; }
  /* the rows scroll under the frame: a strip of the band's ground hides them from the nav down to the frame's foot */
  .sz-list-media--scroll .sz-scrollstack::before { content: ""; position: absolute; z-index: -1; inset: calc(-1 * var(--stack-top) - 24px) -50vw -12px; background: var(--ground); }
  .sz-list-media--scroll .sz-scrollstack__frame { max-width: 320px; margin-inline: auto; }
  .sz-list-media--scroll .sz-rows { padding-bottom: 0; }
  .sz-list-media--scroll .sz-row { min-height: 44svh; }
}
@media (prefers-reduced-motion: reduce) {
  .sz-scrollstack { position: relative; top: auto; }
  .sz-list-media--scroll .sz-row { min-height: 0; }
  .sz-list-media--scroll .sz-rows { padding-bottom: 0; }
  .sz-scrollstack picture, .sz-list-media--scroll .sz-row { transition: none; }
}
/* on night bands site.css paints case cards navy; the frame stays white like everywhere else */
.band-night .sz-case-card { background: #fff; }

/* Google reviews band: a swipeable row of every review with prev/next (snazzy-wp.js) */
.sz-carousel__track { display: flex; gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: -24px calc(var(--gutter) * -1); padding: 24px var(--gutter); scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
.sz-carousel__track::-webkit-scrollbar { display: none; }
.sz-carousel__track > .sz-review { flex: 0 0 calc((100% - 2 * var(--s-4)) / 3); scroll-snap-align: start; }
@media (max-width: 960px) { .sz-carousel__track > .sz-review { flex-basis: calc((100% - var(--s-4)) / 2); } }
@media (max-width: 640px) { .sz-carousel__track > .sz-review { flex-basis: 85%; } }
.sz-carousel__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); }
.sz-carousel__foot p { margin: 0; }
.sz-carousel__nav { display: flex; gap: 10px; margin-left: auto; }
.sz-carousel__nav .sz-index__go { margin: 0; background: none; cursor: pointer; padding: 0; }
.sz-carousel__nav .sz-index__go:not(:disabled):hover { background: var(--btn); border-color: var(--btn); color: #fff; }
.sz-carousel__nav .sz-index__go:disabled { opacity: .35; cursor: default; }
.sz-carousel__prev .sz-i { transform: scaleX(-1); }

/* client logos: two rows; once snazzy-wp.js drives them from the page scroll, the drift animation stops */
.sz-logos--rev { margin-top: calc(var(--s-4) * -1); }
.sz-logos.is-scroll .sz-logos__track { animation: none; will-change: transform; }
/* the platform pill in the project hero links to its service page */
.sz a.sz-pill--offer, .sz a.sz-pill--offer:hover, .sz a.sz-pill--offer:focus { color: #151225; text-decoration: none; }
.sz a.sz-pill--offer:hover { background: #fff; border-color: #fff; }

/* ---------------------------------------------------------------- mobile and tablet polish (2026-11-21) */
/* Mobile menu: the capsule floats over the page. The header keeps its 98px in the flow, so opening the menu
   never pushes the page down; the open capsule scrolls inside itself, and the page behind dims and stays put. */
.ast-header-break-point.sz #masthead { height: var(--nav-block, 98px); pointer-events: none; }
.ast-header-break-point.sz #masthead > * { pointer-events: auto; }
.ast-header-break-point.sz #ast-mobile-header { max-height: calc(100svh - 28px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.ast-header-break-point.sz #ast-mobile-header::-webkit-scrollbar { display: none; }
.ast-header-break-point.ast-main-header-nav-open.sz #ast-mobile-header { border-radius: 30px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.ast-header-break-point.ast-main-header-nav-open.sz #masthead::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: auto;
  background: rgba(13, 11, 26, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: sz-menu-fade var(--d-fast) var(--e-out) both;
}
html:has(> body.ast-header-break-point.ast-main-header-nav-open) { overflow: hidden; }
.ast-main-header-nav-open .sz-wa { opacity: 0; visibility: hidden; pointer-events: none; }
/* the items rise in one after another */
.ast-main-header-nav-open.sz #ast-mobile-header .ast-mobile-header-content > * { animation: sz-menu-in .36s var(--e-out) both; }
.ast-main-header-nav-open.sz #ast-hf-mobile-menu > .menu-item { animation: sz-menu-in .36s var(--e-out) both; }
.ast-main-header-nav-open.sz #ast-hf-mobile-menu > .menu-item:nth-child(2) { animation-delay: 40ms; }
.ast-main-header-nav-open.sz #ast-hf-mobile-menu > .menu-item:nth-child(3) { animation-delay: 80ms; }
.ast-main-header-nav-open.sz #ast-hf-mobile-menu > .menu-item:nth-child(4) { animation-delay: 120ms; }
.ast-main-header-nav-open.sz #ast-hf-mobile-menu > .menu-item:nth-child(5) { animation-delay: 160ms; }
.ast-main-header-nav-open.sz #ast-hf-mobile-menu > .menu-item:nth-child(n+6) { animation-delay: 200ms; }
.ast-main-header-nav-open.sz #ast-mobile-header .ast-mobile-header-content > :nth-child(n+2) { animation-delay: 220ms; }
@keyframes sz-menu-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes sz-menu-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ast-main-header-nav-open.sz #masthead::before, .ast-main-header-nav-open.sz #ast-mobile-header .ast-mobile-header-content > *, .ast-main-header-nav-open.sz #ast-hf-mobile-menu > .menu-item { animation: none; }
}
/* ring and WhatsApp under the button ([sz_nav_contact] in the popup's HTML 3 element) */
.sz #ast-mobile-header .ast-header-html-3 { display: block; width: 100%; margin-top: 10px; }
.sz #ast-mobile-header .ast-header-html-3 .ast-builder-html-element { display: block; }
.sz-nav-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sz .sz-nav-contact a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 2px solid rgba(255, 255, 255, .55); border-radius: var(--r-pill); color: #fff; text-decoration: none; font: 400 .98rem/1 var(--font-display); white-space: nowrap; }
.sz .sz-nav-contact a:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.sz .sz-nav-contact a.is-wa { border-color: var(--c-whatsapp); background: var(--c-whatsapp); color: var(--c-whatsapp-ink); }
.sz .sz-nav-contact a.is-wa:hover { border-color: var(--c-whatsapp-hi); background: var(--c-whatsapp-hi); color: var(--c-whatsapp-ink); }
.sz .sz-nav-contact .sz-i { width: 18px; height: 18px; flex: none; }
@media (max-width: 359px) { .sz-nav-contact { grid-template-columns: 1fr; } }
/* compact on phones too: after 80px of scroll (site.js is-compact) the capsule slims to 56px and rides higher */
.ast-header-break-point.sz #masthead { transition: padding var(--d-fast) var(--e-out); }
.ast-header-break-point.sz #masthead.is-compact { padding-top: 8px; }
.ast-header-break-point.sz #ast-mobile-header .ast-primary-header-bar, .ast-header-break-point.sz #ast-mobile-header .custom-logo-link img, .ast-header-break-point.sz #ast-mobile-header .menu-toggle { transition: height var(--d-fast) var(--e-out), width var(--d-fast) var(--e-out); }
.ast-header-break-point.sz #masthead.is-compact #ast-mobile-header .ast-primary-header-bar { height: 52px; }
.ast-header-break-point.sz #masthead.is-compact #ast-mobile-header .custom-logo-link img { width: 124px; height: 38px; }
.ast-header-break-point.sz #masthead.is-compact #ast-mobile-header .menu-toggle { width: 40px; height: 40px; }

/* Footer on phones: a shorter run-in to the wordmark, and the base row stacked on an even rhythm */
@media (max-width: 860px) {
  .sz .site-footer { padding-top: var(--s-7); padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom)); }
  .sz .site-footer .sz-foot__mark { margin-top: var(--s-6); }
  .sz .site-footer .site-below-footer-wrap .ast-builder-grid-row { gap: 12px; margin-top: var(--s-5); }
  .sz .site-footer .ast-footer-copyright p { text-wrap: balance; }
}

/* The floating WhatsApp button: clear of the home indicator, out of reach once it steps aside */
.sz-wa { bottom: calc(20px + env(safe-area-inset-bottom)); }
.sz-wa.is-hidden, .js .sz-wa:not(.is-shown):not(.sz-wa--demo) { visibility: hidden; transition: opacity var(--d-fast), transform var(--d-fast), visibility 0s var(--d-fast); }
@media (max-width: 600px) { .sz-wa { --h: 52px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); } }

/* Touch screens: the arrow links, crumbs and ratings get a 44px tap area from an invisible pad, so they look the same */
@media (pointer: coarse) {
  .sz :is(.sz-more, .sz-crumbs a, a.sz-rating) { position: relative; }
  .sz :is(.sz-more, .sz-crumbs a, a.sz-rating)::before { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
}

/* iPad portrait: four stats squeeze their copy, so two to a row below 1200px */
@media (min-width: 421px) and (max-width: 1199px) {
  .sz-stats:has(> div:nth-child(4)) { grid-template-columns: 1fr 1fr; }
  .sz-stats:has(> div:nth-child(4)) > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* Tablet home hero: the fan is off below 961px, so the reels come back, faint and to the right, to fill the band */
@media (min-width: 640px) and (max-width: 960px) {
  .sz-hero--fan .sz-reel { display: flex; width: 54%; right: -14%; opacity: calc(.42 * (1 - var(--beat, 0))); }
  .sz-hero--fan .sz-reel__col--4 { display: none; }
}

/* Case studies on phones: the buttons clear the summary above them */
@media (max-width: 760px) { .project .sz-hero__copy > .sz-btns { margin-top: var(--s-5); } }
