/* ==========================================================================
   WEBSHAPE V2 — consolidated theme stylesheet
   Design system from "Webshape Home Light v2" / "Webshape Custom App Landing v2"
   Replaces: components.css, webshape.css, theme.css, additional.css, new-home hooks
   Structure:
     1. Tokens          6. Cards            11. Nav (header)
     2. Base            7. Grids            12. Footer
     3. Ambient bg      8. Components       13. Blog / single templates
     4. Sections        9. Forms            14. Utilities & reveal
     5. Type & buttons 10. Interactive JS   15. Block styles (appended)
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------*/
:root {
  /* Universal arrow (same path as components/icon.php 'arrow-right') for CSS pseudo-elements */
  --ws-svg-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ws-svg-arrow-right-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ws-bg: #f2f1f7;
  --ws-ink: #17142a;
  --ws-text: #211e30;
  --ws-text-2: #5b566f;
  --ws-muted: #7a7590;
  --ws-faint: #a5a0b8;
  --ws-accent: #e8425e;
  --ws-accent-light: #f2647c;
  --ws-accent-dark: #c82d44;
  --ws-accent-soft: rgba(232, 66, 94, 0.12);
  --ws-gold: #f5b83d;
  --ws-line: rgba(23, 20, 42, 0.1);
  --ws-line-soft: rgba(23, 20, 42, 0.08);
  --ws-glass: rgba(255, 255, 255, 0.55);
  --ws-glass-strong: rgba(255, 255, 255, 0.75);
  --ws-shadow-card: 0 20px 50px rgba(23, 20, 42, 0.08);
  --ws-shadow-panel: 0 30px 80px rgba(23, 20, 42, 0.1);
  --ws-shadow-pink: 0 14px 34px rgba(200, 45, 68, 0.3);
  --ws-radius-panel: 28px;
  --ws-radius-card: 24px;
  --ws-radius-media: 16px;
  --ws-font: 'Poppins', sans-serif;
  --ws-mono: 'IBM Plex Mono', monospace;
  --ws-container: 1360px;
  --ws-gutter: 44px;
  --ws-header-h: 126px;          /* fixed header: 60px top pad + 57px pill nav + 8px (measured) */
  --ws-header-top: 12px;
  /* Legacy variable aliases (kept so any straggler CSS keeps resolving) */
  --pink: #c82d44;
  --navy: #17142a;
}

/* 2. BASE -----------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ws-bg);
  color: var(--ws-text);
  font-family: var(--ws-font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--ws-accent-dark); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--ws-ink); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4em;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ws-text);
}
h1 { font-size: 58px; line-height: 1.12; }
h2 { font-size: 42px; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-size: 19px; line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1 em, h2 em, h3 em, h1 i, h2 i, h3 i,
.text-title em, .text-title i {
  font-style: italic;
  font-weight: 300;
  color: var(--ws-accent);
}

::selection { background: var(--ws-accent); color: #fff; }
input::placeholder, textarea::placeholder { color: var(--ws-faint); }

.lock-scroll { overflow: hidden; height: 100vh; touch-action: none; }

/* 3. AMBIENT BACKGROUND — soft radial glows + watermark logo (no pattern) -*/
.ws-ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ws-ambient::before,
.ws-ambient::after,
.ws-ambient .glow-3 {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.ws-ambient::before { left: -220px; top: -260px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(232,66,94,.22), transparent 65%); }
.ws-ambient::after { right: -260px; top: 30vh; width: 800px; height: 800px; background: radial-gradient(circle, rgba(109,90,230,.2), transparent 65%); }
.ws-ambient .glow-3 { left: -180px; bottom: -300px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(200,45,68,.09), transparent 65%); }
/* Watermark logo — fixed bottom-right, barely-there (brand signature).
   Two <img> variants are printed by header.php; CSS shows the right one. */
.ws-ambient .ws-watermark {
  position: absolute; right: -6vw; bottom: -8vh;
  width: 60vw; max-width: 900px; height: auto;
  opacity: 0.035; display: block;
}
.ws-ambient .ws-watermark.is-light { display: none; }
html.ws-dark .ws-ambient .ws-watermark.is-dark { display: none; }
html.ws-dark .ws-ambient .ws-watermark.is-light { display: block; opacity: 0.04; }

/* Everything real renders above the ambient layer */
main, .site-main, .body-section, footer, .footer { position: relative; z-index: 1; }

/* 4. LAYOUT & SECTIONS ----------------------------------------------------*/
.body-container {
  max-width: var(--ws-container);
  margin: 0 auto;
  padding-left: var(--ws-gutter);
  padding-right: var(--ws-gutter);
}

.body-section { position: relative; padding: 60px 0; }
.body-section.top { padding-top: 30px; }
.body-section.top.page-head { padding-top: 0px; margin-top:-30px; }
@media (max-width: 991px) {
.body-section.top.page-head { margin-top:0px; } }

/* Glass panel sections (legacy values: light / lighter / grey / white / blog) */
.body-section.light .body-container,
.body-section.lighter .body-container,
.body-section.grey .body-container,
.body-section.white .body-container {
  background: var(--ws-glass);
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-panel);
  padding-top: 44px;
  padding-bottom: 44px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--ws-shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Dark sections — App Landing variant */
.body-section.dark {
  --ws-text: #ffffff;
  --ws-text-2: #c9c5da;
  --ws-muted: #8b86a3;
  --ws-accent: #f2647c;
  --ws-line: rgba(255, 255, 255, 0.12);
  --ws-line-soft: rgba(255, 255, 255, 0.08);
  --ws-glass: rgba(255, 255, 255, 0.06);
  --ws-glass-strong: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.body-section.dark .body-container {
  background: linear-gradient(160deg, #1d1936, #17142a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ws-radius-panel);
  padding-top: 60px;
  padding-bottom: 60px;
  box-shadow: 0 40px 90px rgba(23, 20, 42, 0.35);
  overflow: hidden;
}
.body-section.dark h1, .body-section.dark h2, .body-section.dark h3,
.body-section.dark h4, .body-section.dark .text-title { color: #fff; }
.body-section.dark a:hover { color: #fff; }
/* legacy standalone dark bg div rendered by some old blocks */
.dark-background { display: none; }

/* ---- Page-level dark theme (App Landing variant) --------------------------
   Add class "ws-dark" to <html> to skin an entire page dark: tokens are
   remapped globally so every block adapts without content changes.
   Sections set to "body-section dark" still get their raised navy panel. */
html.ws-dark {
  --ws-text: #ffffff;
  --ws-text-2: #c9c5da;
  --ws-muted: #8b86a3;
  --ws-faint: #6f6a86;
  --ws-accent: #f2647c;
  --ws-line: rgba(255, 255, 255, 0.12);
  --ws-line-soft: rgba(255, 255, 255, 0.08);
  --ws-glass: rgba(255, 255, 255, 0.06);
  --ws-glass-strong: rgba(255, 255, 255, 0.1);
  --ws-shadow-card: 0 20px 50px rgba(0, 0, 0, 0.3);
  --ws-shadow-panel: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: #17142a;
}
html.ws-dark body { background: #17142a; color: #fff; }
html.ws-dark h1, html.ws-dark h2, html.ws-dark h3, html.ws-dark h4,
html.ws-dark .text-title { color: #fff; }
html.ws-dark a:hover { color: #fff; }
html.ws-dark .small-title { color: var(--ws-accent); }
html.ws-dark .main-button { background: rgba(255, 255, 255, 0.1); }
html.ws-dark .main-button.pink { background: linear-gradient(135deg, #e8425e, #c82d44); }
html.ws-dark .ghost-button, html.ws-dark .secondary-button {
  border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff;
}
html.ws-dark .solid-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); }
html.ws-dark .card-kicker { color: var(--ws-accent); }
html.ws-dark .card-arrow { color: #fff; }
html.ws-dark .stat-divider { background: rgba(255, 255, 255, 0.15); }
html.ws-dark .pill { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
html.ws-dark .step-card { background: var(--ws-glass-strong); border-color: var(--ws-line-soft); }
html.ws-dark .body-section.light .body-container,
html.ws-dark .body-section.lighter .body-container,
html.ws-dark .body-section.grey .body-container,
html.ws-dark .body-section.white .body-container {
  box-shadow: var(--ws-shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
html.ws-dark .tab-buttons { background: rgba(255, 255, 255, 0.06); }
html.ws-dark .tab-btn.is-active, html.ws-dark .tab-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
html.ws-dark .ws-carousel-nav button {
  border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #fff;
}
html.ws-dark .ws-carousel-nav button:hover { background: #fff; color: var(--ws-ink); border-color: #fff; }
/* Header & footer */
/* Dark pages print the bundled light logo (header.php), so no filter needed */
html.ws-dark .nav-pills { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
html.ws-dark .nav-link { color: #c9c5da; }
html.ws-dark .nav-link:hover, html.ws-dark .nav-item.is-open > .nav-link { color: #fff; background: rgba(255, 255, 255, 0.08); }
html.ws-dark .nav-drop { background: rgba(29, 25, 54, 0.97); border-color: rgba(255, 255, 255, 0.12); }
html.ws-dark .drop-item > a:hover { background: rgba(242, 100, 124, 0.14); color: #f2647c; }
html.ws-dark .drop-icon { background-color: #f2647c; }
html.ws-dark .header-cta {
  background: linear-gradient(135deg, #e8425e, #c82d44);
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.28), 0 14px 34px rgba(200, 45, 68, 0.4);
}
html.ws-dark .header-cta .cta-chip { background: rgba(255, 255, 255, 0.22); }
html.ws-dark .header-cta:hover { box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.4), 0 18px 40px rgba(200, 45, 68, 0.5); }
html.ws-dark .menu-button { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); }
html.ws-dark .menu-button span { background: #fff; }
html.ws-dark .nav-center.is-open { background: rgba(23, 20, 42, 0.97); }
html.ws-dark .nav-center.is-open .nav-drop { background: rgba(255, 255, 255, 0.05); }
html.ws-dark .footer { border-top-color: rgba(255, 255, 255, 0.1); }
html.ws-dark .contact-link { color: #c9c5da; }
html.ws-dark .social-media-link { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); }
html.ws-dark .social-media-link:hover, .body-section.dark .social-media-link:hover {
  background: linear-gradient(135deg, #e8425e, #c82d44); border-color: transparent;
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.25), 0 10px 24px rgba(200, 45, 68, 0.45);
}
html.ws-dark .social-media-link .social-icon { filter: brightness(0) invert(1); }
/* Forms */
html.ws-dark .form-panel { background: rgba(255, 255, 255, 0.06); }
html.ws-dark .form-panel label { color: #fff; }
html.ws-dark .form-panel input[type="text"], html.ws-dark .form-panel input[type="email"],
html.ws-dark .form-panel input[type="tel"], html.ws-dark .form-panel input[type="url"],
html.ws-dark .form-panel input[type="number"], html.ws-dark .form-panel select,
html.ws-dark .form-panel textarea,
html.ws-dark .wpcf7 input[type="text"], html.ws-dark .wpcf7 input[type="email"],
html.ws-dark .wpcf7 input[type="tel"], html.ws-dark .wpcf7 select, html.ws-dark .wpcf7 textarea {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff;
}
/* Pagination */
html.ws-dark .pagination a, html.ws-dark .pagination span,
html.ws-dark .numeric-nav a, html.ws-dark .numeric-nav span {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15);
}
html.ws-dark .pagination .current, html.ws-dark .numeric-nav .current { background: #fff; color: var(--ws-ink); border-color: #fff; }

/* Legacy background image support (backgrounds.php) */
.background-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; border-radius: 0;
}
.background-overlay {
  position: absolute; inset: 0; z-index: 0;
  /* Strong enough for white copy over busy photography */
  background: linear-gradient(180deg, rgba(23, 20, 42, 0.86), rgba(23, 20, 42, 0.74));
}
.body-section > .body-container { position: relative; z-index: 1; }
section:has(> .background-image) { color: #fff; }
section:has(> .background-image) h1,
section:has(> .background-image) h2,
section:has(> .background-image) h3 { color: #fff; }


/* 5. TYPE PATTERNS & BUTTONS ---------------------------------------------*/
.small-title {
  font-family: var(--ws-mono);
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ws-accent-dark);
  font-weight: 500;
}
.body-section.dark .small-title { color: var(--ws-accent); }

.mono-label {
  font-family: var(--ws-mono);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ws-muted);
}

.title-holder { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.title-holder.left { text-align: left; margin-left: 0; }
.title-holder .small-title { margin-bottom: 14px; }
.title-holder h1, .title-holder h2, .title-holder .text-title { margin-bottom: 0; }
.title-holder .text-title { font-size: 42px; font-weight: 600; line-height: 1.15; color: var(--ws-text); }
.title-holder h1 + p, .title-holder h2 + p, .title-holder .text-title + p,
.section-lede { font-size: 15px; line-height: 1.6; color: var(--ws-text-2); margin-top: 12px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 40px;
}
.section-head .title-holder { margin-bottom: 0; }
.section-head .mono-label { padding-bottom: 10px; flex: none; }

/* Buttons */
.main-button, .ghost-button, .secondary-button {
  display: inline-flex; align-items: center; gap: 14px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease, color .35s ease;
  border: 0;
}
.main-button {
  background: var(--ws-ink);
  color: #fff;
  padding: 9px 11px 9px 26px;
}
.main-button::after {
  content: "";
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background-color: var(--ws-accent);
  background-image: var(--ws-svg-arrow-right-white);
  background-repeat: no-repeat; background-position: center; background-size: 17px 17px;
  color: #fff; font-size: 17px; font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s ease;
}
.main-button:hover { color: #fff; transform: scale(1.03); }
.main-button:hover::after { transform: translateX(3px); }
.main-button.pink {
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dark));
  box-shadow: var(--ws-shadow-pink);
}
.main-button.pink::after { background-color: rgba(255, 255, 255, 0.2); }
.body-section.dark .main-button { background: #fff; color: var(--ws-ink); }
.body-section.dark .main-button.pink { background: linear-gradient(135deg, #e8425e, #c82d44); color: #fff; }

.ghost-button, .secondary-button {
  border: 1px solid rgba(23, 20, 42, 0.16);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ws-text);
  padding: 14px 28px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.ghost-button:hover, .secondary-button:hover {
  background: var(--ws-ink); color: #fff;
  border-color: var(--ws-accent);
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.18), 0 12px 30px rgba(23, 20, 42, 0.18);
  transform: translateY(-1px);
}
.body-section.dark .ghost-button, .body-section.dark .secondary-button {
  border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff;
}
.body-section.dark .ghost-button:hover, .body-section.dark .secondary-button:hover,
html.ws-dark .ghost-button:hover, html.ws-dark .secondary-button:hover {
  background: #211e30; color: #fff; border-color: var(--ws-accent-light);
  box-shadow: 0 0 0 4px rgba(242, 100, 124, 0.22), 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ACF button_style "main-button outlined" (Style: Buttons) = ghost pill */
.main-button.outlined {
  border: 1px solid rgba(23, 20, 42, 0.16);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ws-text);
  padding: 14px 28px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.main-button.outlined::after { display: none; }
.main-button.outlined:hover {
  background: var(--ws-ink); color: #fff;
  border-color: var(--ws-accent);
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.18), 0 12px 30px rgba(23, 20, 42, 0.18);
  transform: translateY(-1px);
}
.body-section.dark .main-button.outlined, html.ws-dark .main-button.outlined {
  border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff;
}

.button-holder { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.button-holder.left { justify-content: flex-start; }
.button-holder.right { justify-content: flex-end; }

/* 6. CARDS ----------------------------------------------------------------*/
.glass-card {
  background: var(--ws-glass);
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-card);
  padding: 24px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--ws-shadow-card);
  transition: border-color .4s ease, transform .4s ease;
}
.glass-card.lg { border-radius: var(--ws-radius-panel); padding: 32px; }
a.glass-card:hover, .glass-card.is-link:hover { border-color: rgba(232, 66, 94, 0.6); }

.solid-card {
  background: #fff;
  border: 1px solid rgba(23, 20, 42, 0.06);
  border-radius: var(--ws-radius-panel);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(23, 20, 42, 0.08);
}
.body-section.dark .solid-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); }

.card-media {
  position: relative;
  border-radius: var(--ws-radius-media);
  overflow: hidden;
  border: 1px solid var(--ws-line-soft);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-kicker { font-size: 13.5px; font-weight: 600; color: var(--ws-accent-dark); }
.body-section.dark .card-kicker { color: var(--ws-accent); }
.card-title { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 6px 0 0; color: var(--ws-text); }
.card-arrow { color: var(--ws-text); font-size: 18px; flex: none; display: inline-flex; align-items: center; line-height: 1; transition: transform .35s ease; }
a:hover .card-arrow, .glass-card:hover .card-arrow { transform: translate(2px, -2px); }
.card-text { font-size: 14px; line-height: 1.6; color: var(--ws-text-2); }

/* Accent CTA tile ("See all our projects" style) */
.accent-tile {
  position: relative; border-radius: var(--ws-radius-card); overflow: hidden;
  background: linear-gradient(160deg, rgba(232, 66, 94, 0.12), rgba(232, 66, 94, 0.04));
  border: 1px solid rgba(232, 66, 94, 0.45);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 240px; padding: 30px;
  box-shadow: 0 0 60px rgba(232, 66, 94, 0.12);
  text-align: center;
  transition: transform .4s ease;
}
.accent-tile:hover { transform: scale(1.02); }
.accent-tile .tile-title { font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--ws-text); }
.accent-tile .tile-chip {
  width: 52px; height: 52px; border-radius: 50%; background: var(--ws-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; box-shadow: 0 14px 34px rgba(200, 45, 68, 0.35);
}

/* Numbered step card */
.step-card {
  background: var(--ws-glass-strong);
  border: 1px solid var(--ws-line-soft);
  border-radius: var(--ws-radius-card);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(23, 20, 42, 0.05);
}
.step-card .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ws-accent-soft); color: var(--ws-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px;
}
.step-card h3, .step-card h4 { font-size: 18px; font-weight: 600; margin: 16px 0 0; }
.step-card p { font-size: 14px; line-height: 1.6; color: var(--ws-text-2); margin: 8px 0 0; }

/* Photo card (process style) */
.photo-card {
  position: relative; border-radius: var(--ws-radius-card); overflow: hidden;
  min-height: 400px; background: var(--ws-ink);
  box-shadow: 0 24px 60px rgba(23, 20, 42, 0.2);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
  display: block;
}
.photo-card.is-tilting { transition: transform .08s linear, box-shadow .5s ease; }
.photo-card:hover { box-shadow: 0 32px 70px rgba(23, 20, 42, 0.28); }
.photo-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1); transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.photo-card:hover .photo-card-img { transform: scale(1.1); }
.photo-card-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 20, 42, 0.6), rgba(23, 20, 42, 0.2) 40%, rgba(23, 20, 42, 0.94));
}
.photo-card-top {
  position: absolute; top: 22px; left: 24px; right: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.photo-card-top .mono-label { color: rgba(255, 255, 255, 0.85); font-size: 11.5px; }
.num-chip {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ws-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; box-shadow: 0 8px 20px rgba(200, 45, 68, 0.45);
}
.photo-card-bottom { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.photo-card-bottom h3, .photo-card-bottom h4 { font-size: 27px; font-weight: 600; line-height: 1.25; color: #fff; margin: 0; }
.photo-card-bottom p, .photo-card-text { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); margin: 8px 0 0; }
.photo-card-bottom h3, .photo-card-bottom h4, .photo-card-text { text-shadow: 0 2px 14px rgba(23, 20, 42, 0.5); }

/* Pointer-effect cards — [data-ws-effect="tilt glow shape"] (webshape-v2.js initEffects).
   Shared by our_services, benefits and any block that opts in. */
.fx-card {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), border-color .4s ease, box-shadow .4s ease;
}
.fx-card.is-tilting { transition: transform .08s linear, border-color .4s ease, box-shadow .4s ease; }
.fx-card:hover { border-color: rgba(232, 66, 94, 0.55); box-shadow: 0 24px 60px rgba(23, 20, 42, 0.12); }
.fx-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--x) var(--y), rgba(232, 66, 94, 0.22), rgba(109, 90, 230, 0.08) 45%, transparent 70%);
  opacity: 0; transition: opacity .4s ease;
}
.fx-card:hover::before { opacity: 1; }
.fx-card > * { position: relative; z-index: 1; }
.fx-shape {
  position: absolute !important; z-index: 0 !important; right: -50px; bottom: -60px; width: 220px; height: auto;
  color: var(--ws-ink); opacity: 0.06; pointer-events: none;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .4s ease;
}
.fx-card:hover .fx-shape { opacity: 0.1; }
.body-section.dark .fx-shape, html.ws-dark .fx-shape { color: #fff; opacity: 0.08; }

/* 7. GRIDS ----------------------------------------------------------------*/
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.wide-right { grid-template-columns: 1fr 1.4fr; align-items: start; }
.split.wide-left { grid-template-columns: 1.4fr 1fr; align-items: start; }

/* Legacy two-column helper used across old blocks */
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.column { min-width: 0; }

/* 8. COMPONENTS -----------------------------------------------------------*/
/* Stats */
.stat-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat .stat-num { font-size: 22px; font-weight: 600; line-height: 1; color: var(--ws-text); }
.stat .stat-num .star { color: var(--ws-gold); font-size: 17px; }
.stat .stat-label { font-size: 12.5px; color: var(--ws-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 38px; background: rgba(23, 20, 42, 0.12); }
.body-section.dark .stat-divider { background: rgba(255, 255, 255, 0.15); }

/* Large stat cards */
.big-stat { text-align: center; padding: 30px 20px; }
.big-stat .stat-num { font-size: 44px; font-weight: 600; color: var(--ws-accent); line-height: 1; }
.big-stat .stat-label { font-size: 14px; color: var(--ws-text-2); margin-top: 10px; }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.pill-row.left { justify-content: flex-start; }
.pill {
  border: 1px solid rgba(23, 20, 42, 0.12);
  border-radius: 999px; padding: 10px 24px;
  font-size: 14px; font-weight: 500; color: var(--ws-text-2);
  background: rgba(255, 255, 255, 0.5);
}
.body-section.dark .pill { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: var(--ws-text-2); }
.pill.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ws-mono); font-size: 12.5px; letter-spacing: 2px;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* Tag chip (blog categories) */
.tag-chip {
  display: inline-block;
  background: var(--ws-accent-soft); color: var(--ws-accent-dark);
  border-radius: 999px; padding: 4px 12px;
  font-size: 12px; font-weight: 600;
}

/* Stars */
.stars { color: var(--ws-accent); font-size: 16px; display: inline-flex; align-items: center; gap: 3px; }

/* Floating badge (5★ on Google style) */
.float-badge {
  position: absolute; top: -18px; right: -14px; z-index: 2;
  background: var(--ws-accent); color: #fff;
  border-radius: 14px; padding: 10px 18px; text-align: center;
  box-shadow: 0 12px 30px rgba(200, 45, 68, 0.35);
}
.float-badge .fb-big { font-weight: 600; font-size: 16px; line-height: 1; }
.float-badge .fb-small { font-size: 11px; margin-top: 3px; opacity: 0.85; }

/* FAQ accordion */
.faq-panel {
  background: var(--ws-glass);
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-panel);
  padding: 10px 30px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(23, 20, 42, 0.07);
}
.faq-item { border-bottom: 1px solid var(--ws-line-soft); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 20px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--ws-font); font-size: 16px; font-weight: 500;
  color: var(--ws-text); text-align: left;
}
.faq-q span:first-child { flex: 1; }
.faq-icon { color: var(--ws-muted); font-size: 18px; line-height: 1; flex: none; }
.faq-icon::before { content: "+"; }
.faq-q[aria-expanded="true"] .faq-icon { color: var(--ws-accent); }
.faq-q[aria-expanded="true"] .faq-icon::before { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.faq-a-inner { font-size: 14px; line-height: 1.65; color: var(--ws-text-2); padding: 0 0 20px; max-width: 640px; }

/* Carousel */
.ws-carousel { position: relative; }
.ws-carousel-track {
  display: flex; gap: 20px;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.ws-carousel-slide { flex: none; width: calc((100% - 40px) / 3); min-width: 0; }
.ws-carousel.cols-1 .ws-carousel-slide { width: 100%; }
.ws-carousel.cols-2 .ws-carousel-slide { width: calc((100% - 20px) / 2); }
.ws-carousel { overflow: hidden; }
.ws-carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.ws-carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1;
  border: 1px solid rgba(23, 20, 42, 0.16);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ws-text); font-size: 17px; cursor: pointer;
  transition: all .3s ease;
}
.ws-carousel-nav button:hover { background: var(--ws-ink); color: #fff; border-color: var(--ws-ink); }
.ws-carousel-nav button:disabled { opacity: 0.35; cursor: default; }

/* Logo marquee */
.logo-marquee { overflow: hidden; position: relative; }
.logo-marquee-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: ws-marquee 30s linear infinite; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-track img { height: 44px; width: auto; opacity: 0.65; filter: grayscale(1); transition: all .3s ease; }
.logo-marquee-track img:hover { opacity: 1; filter: none; }
@keyframes ws-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hover-to-play video (data-ws-hover-video) — covers the media box, fades in over the image */
.ws-hover-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; pointer-events: none; transition: opacity .45s ease; background: var(--ws-ink);
}
.is-video-playing .ws-hover-video { opacity: 1; }
.is-video-playing > img { transition: opacity .45s ease; }

/* Inline SVG icons (components/icon.php) — 1em square, currentColor */
.ws-icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
button > .ws-icon, .card-arrow > .ws-icon, .industry-chip > .ws-icon, .list-item-marker > .ws-icon { vertical-align: middle; }

/* Video play overlay */
.media-play { position: relative; cursor: pointer; border-radius: var(--ws-radius-media); overflow: hidden; }
.media-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.play-chip {
  position: absolute; left: 16px; bottom: 16px;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--ws-accent); border: 2px solid #fff;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 10px 26px rgba(200, 45, 68, 0.4);
  transition: transform .3s ease;
}
.media-play:hover .play-chip { transform: scale(1.08); }
.play-chip .ws-icon { font-size: 18px; }
.media-play iframe, .media-play video { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border: 0; }

/* Tabs */
.tab-buttons { display: flex; gap: 4px; flex-wrap: wrap; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--ws-line); border-radius: 999px; padding: 6px; width: fit-content; margin: 0 auto 32px; }
.tab-btn {
  border: 0; background: none; border-radius: 999px; padding: 10px 22px;
  font-family: var(--ws-font); font-size: 14.5px; font-weight: 500; color: var(--ws-text-2);
  cursor: pointer; transition: all .3s ease;
}
.tab-btn.is-active, .tab-btn:hover { color: var(--ws-ink); background: rgba(23, 20, 42, 0.06); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; }

/* Breadcrumbs */
.crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--ws-mono); font-size: 12.5px; letter-spacing: 1px; color: var(--ws-muted); }
.crumbs a { color: var(--ws-muted); }
.crumbs a:hover { color: var(--ws-accent-dark); }

/* Contact info rows — hover turns the chip into the coral CTA circle (with the
   brand halo) and warms the label, mirroring the pill-button hover language. */
.contact-row {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 4px 16px 4px 4px; margin-left: -4px;
  border-radius: 999px;
  transition: background .35s ease, transform .35s ease;
}
.contact-row + .contact-row { margin-top: 10px; }
.contact-chip {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--ws-accent-soft); border: 1px solid rgba(232, 66, 94, 0.35);
  color: var(--ws-accent); display: flex; align-items: center; justify-content: center;
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.contact-row .contact-val { font-size: 15px; font-weight: 500; color: var(--ws-text); transition: color .35s ease, transform .35s ease; }
a.contact-row:hover { background: rgba(255, 255, 255, 0.55); transform: translateX(2px); }
a.contact-row:hover .contact-chip {
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dark));
  border-color: transparent; color: #fff;
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.18), 0 10px 24px rgba(200, 45, 68, 0.35);
  transform: scale(1.06);
}
a.contact-row:hover .contact-val { color: var(--ws-accent-dark); }
.body-section.dark a.contact-row:hover, html.ws-dark a.contact-row:hover { background: rgba(255, 255, 255, 0.06); }
.body-section.dark a.contact-row:hover .contact-val, html.ws-dark a.contact-row:hover .contact-val { color: #fff; }

/* Trust row */
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 14px; font-size: 12px; color: var(--ws-muted); }

/* Filter dropdowns (replaces long pill rows on archives) */
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; margin-bottom: 36px; }
.filter-select { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.filter-select .mono-label { display: block; }
.filter-select-field { position: relative; }
.filter-select-field select {
  width: 100%; appearance: none; -webkit-appearance: none;
  border: 1.5px solid #dcd9e6; border-radius: 999px;
  padding: 12px 48px 12px 22px;
  font-family: var(--ws-font); font-size: 14.5px; font-weight: 500; color: var(--ws-text);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  outline: none; cursor: pointer;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.filter-select-field select:hover { border-color: rgba(232, 66, 94, 0.5); }
.filter-select-field select:focus { border-color: var(--ws-accent); box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.16); }
.filter-select-field::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--ws-accent-soft); pointer-events: none;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e8425e" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') center / 16px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e8425e" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') center / 16px no-repeat;
  background: var(--ws-accent);
}
.body-section.dark .filter-select-field select, html.ws-dark .filter-select-field select {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff;
}
.body-section.dark .filter-select-field select option, html.ws-dark .filter-select-field select option { color: var(--ws-ink); }
@media (max-width: 767px) {
  .filter-bar { gap: 14px; }
  .filter-select { min-width: 0; width: 100%; }
}

/* 9. FORMS ----------------------------------------------------------------*/
.form-panel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-panel);
  padding: 34px 36px 30px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(23, 20, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.form-panel label { font-size: 13px; font-weight: 500; color: var(--ws-text); display: block; margin-bottom: 6px; }
.form-panel .req, .form-panel label .wpcf7-required { color: var(--ws-accent); }
.form-panel input[type="text"], .form-panel input[type="email"], .form-panel input[type="tel"],
.form-panel input[type="url"], .form-panel input[type="number"],
.form-panel select, .form-panel textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 select, .wpcf7 textarea {
  width: 100%;
  border: 1.5px solid #dcd9e6;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--ws-font);
  font-size: 14px;
  color: var(--ws-text);
  background: #fff;
  outline: none;
  transition: border-color .3s ease;
}
.form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus,
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--ws-accent); }
.form-panel textarea { resize: vertical; min-height: 96px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-top: 14px; }
.form-panel input[type="submit"], .form-panel button[type="submit"],
.wpcf7 input[type="submit"] {
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dark));
  color: #fff; border: 0; border-radius: 999px;
  padding: 16px; text-align: center;
  font-family: var(--ws-font); font-weight: 600; font-size: 16px;
  cursor: pointer; box-shadow: var(--ws-shadow-pink);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
/* Hover: lift, brighten the gradient and add the brand halo; pressed/disabled states too */
.form-panel input[type="submit"]:hover, .form-panel button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, var(--ws-accent-light, #f2647c), var(--ws-accent));
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.18), 0 18px 40px rgba(200, 45, 68, 0.4);
}
.form-panel input[type="submit"]:active, .form-panel button[type="submit"]:active,
.wpcf7 input[type="submit"]:active { transform: scale(0.98); box-shadow: var(--ws-shadow-pink); }
.form-panel input[type="submit"]:focus-visible, .form-panel button[type="submit"]:focus-visible,
.wpcf7 input[type="submit"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.35), var(--ws-shadow-pink); }
.form-panel button[type="submit"]:disabled, .form-panel input[type="submit"]:disabled {
  opacity: 0.6; cursor: default; transform: none; box-shadow: none;
}
.wpcf7 .wpcf7-not-valid-tip { font-size: 12px; color: var(--ws-accent-dark); margin-top: 4px; }
.wpcf7 .wpcf7-response-output { border: 1px solid var(--ws-line); border-radius: 12px; padding: 12px 16px; margin: 16px 0 0; font-size: 14px; }

/* 10. INTERACTIVE / JS HOOK STATES ---------------------------------------*/
.ws-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s ease; }
.ws-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ws-reveal { opacity: 1; transform: none; transition: none; }
  .logo-marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* 11. NAV / HEADER --------------------------------------------------------*/
/* Fixed header: the bar (logo, pill nav, CTA) stays on screen as the page
   scrolls. .site-header spans the viewport; .site-header-holder is the
   container-width flex row inside it. The page starts below it via the
   body padding (tokens --ws-header-h / --ws-header-top). */
.site-header {
  min-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 20px 60px 8px;
  display: flex; align-items: center; gap: 24px;
  position: fixed; z-index: 50;
  top: 20px;
  left: 0;
}
@media (max-width: 991px) { .site-header { padding: 20px 20px 8px; top: 0px;}  }

.site-header-holder {
  width: 100%; max-width: var(--ws-container);
  margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
}
body { padding-top: calc(var(--ws-header-h) + var(--ws-header-top)); }
/* Logged-in: sit below the WordPress admin bar (body_class() in header.php) */
body.admin-bar .site-header { top: calc(var(--ws-header-top) + 32px); }
@media (max-width: 782px) { body.admin-bar .site-header { top: calc(var(--ws-header-top) + 46px); } }
.header-logo-link { display: block; flex: none; }
.header-logo-link .brand-logo { height: 28px; width: auto; display: block; }

.nav-center { flex: 1; display: flex; justify-content: center; }
.nav-center.left { flex: 1; display: flex; justify-content: flex-start; }
.nav-pills {
  display: flex; gap: 4px;
  background: var(--ws-glass);
  border: 1px solid var(--ws-line);
  border-radius: 999px; padding: 6px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(23, 20, 42, 0.06);
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 10px 20px;
  font-size: 14.5px; font-weight: 500; color: var(--ws-text-2);
  transition: all .3s ease; white-space: nowrap;
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--ws-ink); background: rgba(23, 20, 42, 0.06); }
.nav-caret { font-size: 9px; opacity: 0.6; transition: transform .3s ease; }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

/* Dropdown panel */
.nav-drop {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ws-line);
  border-radius: 20px; padding: 10px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 70px rgba(23, 20, 42, 0.16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  transition-delay: .15s;             /* grace period so a quick slip off the item doesn't close it */
  z-index: 60;
}
/* Invisible bridge over the 12px gap between the menu item and the panel, so the
   pointer stays "inside" .nav-item while travelling down into the dropdown */
.nav-drop::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px; height: 16px;
}
.nav-item.is-open > .nav-drop, .nav-item:hover > .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.nav-drop.columns-2 { display: grid; grid-template-columns: 1fr 1fr; min-width: 480px; gap: 2px; }
.drop-item { border-radius: 12px; }
.drop-item > a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 500; color: var(--ws-text-2);
  transition: all .25s ease;
}
.drop-item > a:hover { background: var(--ws-accent-soft); color: var(--ws-accent-dark); }
.drop-icon { width: 18px; height: 18px; flex: none; background-color: var(--ws-accent-dark); }
.drop-sub { padding-left: 26px; }
.drop-sub a { display: block; padding: 6px 14px; font-size: 13px; color: var(--ws-muted); border-radius: 10px; }
.drop-sub a:hover { color: var(--ws-accent-dark); background: var(--ws-accent-soft); }

/* Header CTA */
.header-cta {
  display: flex; align-items: center; gap: 14px; flex: none;
  background: var(--ws-ink); border-radius: 999px;
  padding: 8px 10px 8px 24px; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.18);
  transition: transform .35s ease;
}
.header-cta:hover { transform: scale(1.03); }
.header-cta .cta-label { font-weight: 600; font-size: 15px; color: #fff; }
.header-cta .cta-chip {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ws-accent);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px;
}

/* Mobile menu button */
.menu-button {
  display: none; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--ws-line);
  background: var(--ws-glass);
  cursor: pointer; position: relative; z-index: 70;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.menu-button span {
  position: absolute; left: 13px; right: 13px; height: 2px;
  background: var(--ws-ink); border-radius: 2px;
  transition: all .35s ease;
}
.menu-button span:nth-child(1) { top: 17px; }
.menu-button span:nth-child(2) { top: 22px; }
.menu-button span:nth-child(3) { top: 27px; }
.menu-button.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer — the pill nav needs ~1100px with the CTA alongside it */
@media (max-width: 1100px) {
  :root { --ws-header-h: 80px; }     /* 20px top pad + 52px CTA + 8px (measured) */
  .nav-center { display: none; }
  .menu-button { display: block; }
  .site-header { padding-top: 20px; }
  .site-header .header-cta { margin-left: auto; }

  .nav-center.is-open {
    display: block; position: fixed; inset: 0; z-index: 60;
    background: rgba(242, 241, 247, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto; padding: 100px 28px 40px;
  }
  .nav-center.is-open .nav-pills {
    flex-direction: column; background: none; border: 0; box-shadow: none;
    padding: 0; gap: 4px; width: 100%;
  }
  .nav-center.is-open .nav-link { font-size: 18px; padding: 14px 18px; justify-content: space-between; }
  .nav-center.is-open .nav-drop {
    position: static; transform: none; opacity: 1; visibility: hidden; pointer-events: auto;
    display: none; min-width: 0; box-shadow: none; background: rgba(255, 255, 255, 0.6);
    margin: 4px 0 10px;
  }
  .nav-center.is-open .nav-drop::before { display: none; }   /* hover bridge is desktop-only */
  .nav-center.is-open .nav-item.is-open > .nav-drop { display: block; visibility: visible; }
  .nav-center.is-open .nav-drop.columns-2 { grid-template-columns: 1fr; min-width: 0; }
}

/* 12. FOOTER ---------------------------------------------------------------*/
.footer {
  border-top: 1px solid var(--ws-line);
  margin-top: 40px;
  padding: 48px 0 40px;
}
.footer .body-container { display: flex; flex-direction: column; gap: 36px; }
/* Info column on the left, link columns fill the rest of the row. The link
   grid auto-fits: ~5 columns on wide screens, condensing to 4 / 3 / 2 as the
   viewport narrows; on tablets and below the info column moves above. */
.footer-grid { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.footer-column.lead { max-width: 300px; }
.footer-logo-link .brand-logo { height: 24px; width: auto; display: block; }
.footer .company-name { font-size: 15px; font-weight: 600; margin-top: 14px; }
.footer-column-title {
  font-family: var(--ws-mono); font-size: 11.5px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ws-muted); margin-bottom: 12px;
}
.footer-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 28px; }
.footer-column { display: flex; flex-direction: column; }
.footer-link { font-size: 14px; color: var(--ws-text-2); padding: 4px 0; }
.footer-link:hover { color: var(--ws-accent-dark); }
.contact-link { font-size: 14px; color: #3f3a55; padding: 4px 0; display: block; }
.contact-link:hover { color: var(--ws-accent-dark); }
.social-media-holder { display: flex; gap: 10px; margin: 16px 0; }
.social-media-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--ws-line);
  background: rgba(255, 255, 255, 0.5);
  display: flex; align-items: center; justify-content: center;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.social-media-link .social-icon { width: 16px; height: 16px; object-fit: contain; transition: filter .35s ease, transform .35s ease; }
/* Hover: coral gradient fill, white glyph, brand halo, gentle lift */
.social-media-link:hover {
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dark));
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(232, 66, 94, 0.18), 0 10px 24px rgba(200, 45, 68, 0.35);
  transform: translateY(-2px);
}
.social-media-link:hover .social-icon { filter: brightness(0) invert(1); transform: scale(1.08); }
.area-links {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  font-size: 13px; color: var(--ws-muted);
  border-top: 1px solid var(--ws-line-soft); padding-top: 24px;
}
.area-links .pink-title { color: var(--ws-accent-dark); }
.area-links .footer-link { font-size: 13px; padding: 0; }
.footer-credits {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--ws-line-soft); padding-top: 22px;
}
.legal-links { display: flex; gap: 22px; }
.footer-small-link { font-size: 12.5px; color: var(--ws-faint); }
.footer-small-link:hover { color: var(--ws-accent-dark); }
.copyright-info { font-size: 12.5px; color: var(--ws-faint); }

/* 13. BLOG & SINGLE TEMPLATES ---------------------------------------------*/
.blog-card {
  position: relative; border-radius: var(--ws-radius-card); overflow: hidden;
  min-height: 380px; display: block;
  border: 1px solid var(--ws-line);
  box-shadow: var(--ws-shadow-card);
  transition: border-color .4s ease, box-shadow .5s ease;
}
.blog-card:hover { border-color: rgba(232, 66, 94, 0.6); box-shadow: 0 30px 70px rgba(23, 20, 42, 0.16); }
.blog-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1); transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.blog-card:hover .blog-card-img { transform: scale(1.1); }
.blog-card-panel {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: #fff; border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 14px 36px rgba(23, 20, 42, 0.16);
}
/* The panel is white in both themes, so its text uses fixed ink colours
   rather than the theme tokens (which flip to white under html.ws-dark). */
.blog-card-panel { color: #211e30; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blog-card-meta .meta-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.blog-card-meta .tag-chip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.blog-card-meta .read-time { font-size: 12px; color: #7a7590; white-space: nowrap; }
.blog-card .card-arrow { color: #211e30; }
.blog-card-title { font-size: 17px; font-weight: 600; line-height: 1.4; margin-top: 12px; color: #211e30; }
.blog-card-excerpt { font-size: 13.5px; line-height: 1.55; color: #5b566f; margin: 8px 0 0; }
.blog-card-panel .tag-chip { background: rgba(232, 66, 94, 0.12); color: #c82d44; }

.article-body { max-width: 760px; margin: 0 auto; font-size: 16.5px; line-height: 1.75; color: var(--ws-text); }
.article-body h2 { font-size: 32px; margin-top: 1.4em; }
.article-body h3 { font-size: 24px; margin-top: 1.3em; }
.article-body img { border-radius: var(--ws-radius-media); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 1.5em 0; padding: 20px 26px;
  background: var(--ws-glass); border-left: 3px solid var(--ws-accent);
  border-radius: 0 var(--ws-radius-media) var(--ws-radius-media) 0;
  font-style: italic; color: var(--ws-text-2);
}
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body pre { background: var(--ws-ink); color: #e6e3f0; border-radius: var(--ws-radius-media); padding: 20px; overflow-x: auto; font-size: 14px; }

/* Pagination */
.pagination, .numeric-nav { display: flex; justify-content: center; gap: 8px; margin: 44px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span, .numeric-nav a, .numeric-nav span {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--ws-line);
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px; font-weight: 500; color: var(--ws-text-2);
  transition: all .3s ease;
}
.pagination a:hover, .numeric-nav a:hover { border-color: rgba(232, 66, 94, 0.6); color: var(--ws-accent-dark); }
.pagination .current, .numeric-nav .current { background: var(--ws-ink); color: #fff; border-color: var(--ws-ink); }

/* 14. UTILITIES ------------------------------------------------------------*/
/* reCAPTCHA v3 badge (Contact Form 7 integration): hidden, as Google's
   terms allow, because every form template prints the "This site is
   protected by reCAPTCHA…" notice with links to Google's Terms and Privacy
   Policy (see page_form.php). Keep both together: remove the notice and the
   badge has to come back. */
.grecaptcha-badge { visibility: hidden !important; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.hide { display: none !important; }
.hidden { display: none !important; } /* pillar-page.js relies on this utility */
.text-restrict { max-width: 720px; }
.text-restrict.center { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.flow > * + * { margin-top: 1em; }

/* Rich text defaults inside glass panels */
.rich-text { color: var(--ws-text-2); font-size: 15px; line-height: 1.65; }
.rich-text strong { color: var(--ws-text); font-weight: 500; }

/* ==========================================================================
   RESPONSIVE CORE
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --ws-gutter: 32px; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .title-holder .text-title { font-size: 38px; }
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .title-holder .text-title { font-size: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.wide-right, .split.wide-left, .columns { grid-template-columns: 1fr; gap: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
  .ws-carousel-slide { width: calc((100% - 20px) / 2); }
  .body-section { padding: 44px 0; }
}

@media (max-width: 767px) {
  :root { --ws-gutter: 22px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .title-holder .text-title { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ws-carousel-slide { width: 100%; }
  .photo-card { min-height: 340px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { gap: 28px 20px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .body-section.light .body-container, .body-section.lighter .body-container,
  .body-section.grey .body-container, .body-section.white .body-container,
  .body-section.dark .body-container { padding-top: 32px; padding-bottom: 32px; }
}

@media (max-width: 479px) {
  h1 { font-size: 29px; }
  .main-button, .ghost-button, .secondary-button { width: 100%; justify-content: center; }
  .main-button { justify-content: space-between; }
  .header-cta .cta-label { font-size: 13px; }
  .stat-row { gap: 18px; }
}

/* ==========================================================================
   15. BLOCK STYLES (b-*) — appended per block below
   ========================================================================== */

/* ===== about_us ===== */
.b-about-us .split { align-items: start; }
.b-about-us .title-holder { margin-bottom: 0; max-width: none; }
.b-about-us .title-holder h2 { max-width: 520px; }
.b-about-us .about-content .rich-text { font-size: 15.5px; }
.b-about-us .about-content .rich-text p:last-of-type,
.b-about-us .about-content .rich-text strong {
  color: var(--ws-text);
  font-weight: 500;
}
.b-about-us .about-content .button-holder {
  justify-content: flex-start;
  margin-top: 26px;
}

@media (max-width: 991px) {
  .b-about-us .split { gap: 24px; }
  .b-about-us .title-holder h2 { max-width: none; }
}

@media (max-width: 767px) {
  .b-about-us .about-content .rich-text { font-size: 15px; }
}

@media (max-width: 479px) {
  .b-about-us .about-content .button-holder { margin-top: 20px; }
}

/* ===== areas_archive ===== */
.b-areas-archive .aa-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.b-areas-archive .area-card {
  display: flex;
  flex-direction: column;
  color: var(--ws-text);
}
.b-areas-archive a.area-card:hover { border-color: rgba(232, 66, 94, 0.6); }

.b-areas-archive .area-card .card-media {
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}
.b-areas-archive .area-card .card-head { align-items: center; }
.b-areas-archive .area-card .card-title { margin: 0; }
.b-areas-archive .area-card .card-text { margin-top: 8px; }

/* Pill list for areas without a featured image */
.b-areas-archive .area-pills { margin-top: 26px; }
.b-areas-archive a.pill { transition: border-color .3s ease, color .3s ease; }
.b-areas-archive a.pill:hover {
  border-color: rgba(232, 66, 94, 0.6);
  color: var(--ws-accent-dark);
}

@media (max-width: 991px) {
  .b-areas-archive .aa-intro { margin-bottom: 28px; }
}

@media (max-width: 767px) {
  .b-areas-archive .area-pills { margin-top: 20px; gap: 10px; }
}

@media (max-width: 479px) {
  .b-areas-archive .area-card .card-media { aspect-ratio: 16 / 9; }
}

/* ===== benefits ===== */
/* Cards match the services cards: glass shell, coral icon chip, 22px title,
   pointer tilt/glow/shape via .fx-card. Grid adapts to the item count so a
   5-card set renders 3 + 2 (centred) instead of leaving a hole. */
.b-benefits .benefits-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; perspective: 1200px; }
.b-benefits .benefits-grid > .benefit-card { grid-column: span 2; }
.b-benefits .benefits-grid.count-2 > .benefit-card,
.b-benefits .benefits-grid.count-4 > .benefit-card { grid-column: span 3; }
.b-benefits .benefits-grid.count-5 > .benefit-card:nth-child(n+4) { grid-column: span 3; }
.b-benefits .benefits-grid.count-1 > .benefit-card { grid-column: 2 / span 4; }

.b-benefits .benefit-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  border-radius: var(--ws-radius-card);
  background: var(--ws-glass-strong);
  border: 1px solid var(--ws-line-soft);
  box-shadow: 0 12px 30px rgba(23, 20, 42, 0.05);
  text-align: left; color: var(--ws-text);
}
.b-benefits .benefit-chip {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: var(--ws-accent-soft); border: 1px solid rgba(232, 66, 94, 0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background .4s ease, border-color .4s ease, transform .4s ease, box-shadow .4s ease;
}
.b-benefits .benefit-icon {
  width: 26px; height: 26px; background-color: var(--ws-accent);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  transition: background-color .4s ease;
}
.b-benefits .benefit-card:hover .benefit-chip {
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dark)); border-color: transparent;
  box-shadow: 0 10px 24px rgba(200, 45, 68, 0.35); transform: translateY(-2px);
}
.b-benefits .benefit-card:hover .benefit-icon { background-color: #fff; }

/* Title is printed as plain text, so legacy markup saved in the field can't
   restyle it; these rules also neutralise any heading tags that slip through. */
.b-benefits .benefit-title,
.b-benefits .benefit-title * {
  font-size: 22px; font-weight: 600; line-height: 1.3; margin: 0; color: var(--ws-text); text-align: left;
}
.b-benefits .benefit-card .card-text { font-size: 14.5px; line-height: 1.6; color: var(--ws-text-2); }
.b-benefits .benefit-card .card-text p { margin: 0 0 8px; }
.b-benefits .benefit-card .card-text p:last-child { margin-bottom: 0; }
.b-benefits .benefit-card .fx-shape { right: -70px; bottom: -80px; width: 200px; }

.body-section.dark .b-benefits .benefit-card, html.ws-dark .b-benefits .benefit-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.body-section.dark .b-benefits .benefit-chip, html.ws-dark .b-benefits .benefit-chip { background: rgba(232, 66, 94, 0.18); }

@media (max-width: 991px) {
  .b-benefits .benefits-grid > .benefit-card,
  .b-benefits .benefits-grid.count-5 > .benefit-card:nth-child(n+4) { grid-column: span 3; }
  .b-benefits .benefits-grid.count-5 > .benefit-card:last-child,
  .b-benefits .benefits-grid.count-3 > .benefit-card:last-child { grid-column: 1 / -1; }
  .b-benefits .benefit-title, .b-benefits .benefit-title * { font-size: 20px; }
}
@media (max-width: 767px) {
  .b-benefits .benefits-grid > .benefit-card,
  .b-benefits .benefits-grid.count-5 > .benefit-card:nth-child(n+4),
  .b-benefits .benefits-grid.count-5 > .benefit-card:last-child,
  .b-benefits .benefits-grid.count-3 > .benefit-card:last-child,
  .b-benefits .benefits-grid.count-1 > .benefit-card { grid-column: 1 / -1; }
  .b-benefits .benefit-card { padding: 24px 22px; }
}
@media (max-width: 479px) {
  .b-benefits .benefit-chip { width: 48px; height: 48px; border-radius: 14px; }
  .b-benefits .benefit-icon { width: 22px; height: 22px; }
}

/* ===== blog-faqs ===== */
.b-blog-faqs { margin: 44px 0; }
.b-blog-faqs h2 { margin-bottom: 20px; }

/* pillar-page.js search hides items with .hidden (legacy theme.css utility) */
.b-blog-faqs .pillar-faq-item.hidden { display: none; }

/* Search (pillar-page.js: #faqSearch / #faqSearchClear) */
.b-blog-faqs .faq-search-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 0 22px;
}
.b-blog-faqs .faq-search-icon {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--ws-muted);
  pointer-events: none;
}
.b-blog-faqs input.faq-search {
  width: 100%;
  border: 1.5px solid #dcd9e6;
  border-radius: 999px;
  padding: 13px 52px 13px 48px;
  font-family: var(--ws-font);
  font-size: 14px;
  color: var(--ws-text);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color .3s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.b-blog-faqs input.faq-search:focus { border-color: var(--ws-accent); }
.b-blog-faqs .faq-search-clear {
  position: absolute; right: 9px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-dark);
  align-items: center; justify-content: center; /* JS shows it with display: flex */
}

/* Answers — inherit .faq-a/.faq-a-inner from core; rich content tweaks */
.b-blog-faqs .pillar-faq-answer-inner p { margin: 0 0 0.8em; }
.b-blog-faqs .pillar-faq-answer-inner p:last-child { margin-bottom: 0; }
.b-blog-faqs .pillar-faq-answer-inner ul,
.b-blog-faqs .pillar-faq-answer-inner ol { margin: 0 0 0.8em; padding-left: 1.2em; }

.b-blog-faqs .faq-no-results {
  text-align: center;
  padding: 26px 20px;
  color: var(--ws-muted);
  font-size: 14px;
}

@media (max-width: 767px) {
  .b-blog-faqs { margin: 34px 0; }
  .b-blog-faqs .faq-search-wrapper { max-width: none; }
}

@media (max-width: 479px) {
  .b-blog-faqs .pillar-faq-question { font-size: 15px; }
}

/* ===== blog_archive ===== */
/* Filter bar */
.b-blog-archive .archive-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 20px;
  margin-bottom: 40px;
}
.b-blog-archive .archive-filters .filter-select { flex: 1 1 240px; max-width: 360px; }
.b-blog-archive .archive-filter-group .mono-label {
  display: block;
  margin-bottom: 12px;
}
.b-blog-archive .pill-row { gap: 10px; }
.b-blog-archive a.pill {
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.b-blog-archive a.pill:hover {
  border-color: rgba(232, 66, 94, 0.6);
  color: var(--ws-accent-dark);
}
.b-blog-archive .pill.is-active {
  background: var(--ws-ink);
  border-color: var(--ws-ink);
  color: #fff;
}
.b-blog-archive .pill-guide {
  border-color: rgba(232, 66, 94, 0.35);
  background: var(--ws-accent-soft);
  color: var(--ws-accent-dark);
}
.b-blog-archive .pill-guide:hover {
  border-color: var(--ws-accent);
  color: var(--ws-accent-dark);
}

/* Live search (pillar-page.js: #articleSearch / #articleSearchClear) */
.b-blog-archive .archive-search { position: relative; flex: 1 1 260px; max-width: 440px; }
.b-blog-archive .archive-search input {
  width: 100%;
  border: 1.5px solid #dcd9e6;
  border-radius: 999px;
  padding: 12px 52px 12px 22px;
  font-family: var(--ws-font);
  font-size: 14px;
  color: var(--ws-text);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color .3s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.b-blog-archive .archive-search input:focus { border-color: var(--ws-accent); }
.b-blog-archive .archive-search button {
  position: absolute; right: 9px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-dark);
  font-size: 16px; line-height: 1;
  align-items: center; justify-content: center; /* JS shows it with display: flex */
}

/* Grid & cards */
.b-blog-archive .blog-card-ph {
  background: linear-gradient(160deg, #e7e4f2, #d5d1e4);
}
.b-blog-archive .blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ws-text-2);
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.b-blog-archive .blog-card { min-height: 400px; }

/* Empty / no-results / load more */
.b-blog-archive .archive-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--ws-text-2);
}
.b-blog-archive .archive-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--ws-muted);
}
.b-blog-archive .archive-load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .b-blog-archive .archive-filters { gap: 20px; margin-bottom: 32px; }
  .b-blog-archive .blog-card { min-height: 380px; }
}

@media (max-width: 767px) {
  .b-blog-archive .archive-search { max-width: none; }
  .b-blog-archive .pill { padding: 8px 18px; font-size: 13px; }
  .b-blog-archive .blog-card { min-height: 340px; }
}

@media (max-width: 479px) {
  .b-blog-archive .archive-filters { gap: 16px; }
  .b-blog-archive .blog-card { min-height: 310px; }
  .b-blog-archive .archive-load-more .ghost-button { width: 100%; }
}

/* ===== blog_editor ===== */
.b-blog-editor .read-more {
  max-width: 760px;
  margin: 44px auto 16px;
  font-size: 21px;
}
.b-blog-editor .read-more-links {
  max-width: 760px;
  margin: 0 auto;
  gap: 10px;
}
.b-blog-editor a.read-more-link {
  color: var(--ws-text-2);
  transition: border-color .3s ease, color .3s ease;
}
.b-blog-editor a.read-more-link:hover {
  border-color: rgba(232, 66, 94, 0.6);
  color: var(--ws-accent-dark);
}

@media (max-width: 767px) {
  .b-blog-editor .read-more { margin-top: 34px; font-size: 19px; }
}

@media (max-width: 479px) {
  .b-blog-editor a.read-more-link {
    width: 100%;
    text-align: center;
  }
}

/* ===== case_study_cards ===== */
.b-case-study-cards .csc-intro {
  margin-bottom: 36px;
}
.b-case-study-cards .csc-grid {
  margin-bottom: 20px;
}
.b-case-study-cards .csc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b-case-study-cards .csc-head {
  color: inherit;
}
.b-case-study-cards .csc-head:hover .card-arrow {
  transform: translate(2px, -2px);
}
.b-case-study-cards .csc-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
}
.b-case-study-cards .csc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.b-case-study-cards .csc-card:hover .csc-media img { transform: scale(1.04); }
.b-case-study-cards .csc-main .csc-media {
  aspect-ratio: 21 / 9;
}
.b-case-study-cards .button-holder {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .b-case-study-cards .csc-main .csc-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .b-case-study-cards .csc-intro {
    margin-bottom: 28px;
  }
  .b-case-study-cards .csc-media,
  .b-case-study-cards .csc-main .csc-media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 479px) {
  .b-case-study-cards .csc-grid {
    margin-bottom: 16px;
  }
}

/* Scroll zoom (case_study_cards): content stays in .body-container; only the background layer
   grows from the container's box to full bleed. webshape-v2.js adds .ws-scroll-zoom to the section
   and drives the layer's inset + radius with GSAP ScrollTrigger. */
.body-section.ws-scroll-zoom { overflow: hidden; }
.body-section.ws-scroll-zoom > .background-image,
.body-section.ws-scroll-zoom > .background-overlay {
  inset: auto; width: auto; height: auto;    /* size comes from the animated left/right/top/bottom */
  border-radius: var(--ws-radius-panel);
  will-change: left, right, top, bottom, border-radius;
}
.body-section.ws-scroll-zoom > .ws-zoom-bg {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: var(--ws-radius-panel);
  will-change: left, right, top, bottom, border-radius;
}
/* Panel styling moves from the container onto the growing layer */
.body-section.light.ws-scroll-zoom > .ws-zoom-bg,
.body-section.lighter.ws-scroll-zoom > .ws-zoom-bg,
.body-section.grey.ws-scroll-zoom > .ws-zoom-bg,
.body-section.white.ws-scroll-zoom > .ws-zoom-bg {
  background: var(--ws-glass);
  border: 1px solid var(--ws-line);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--ws-shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
html.ws-dark .body-section.light.ws-scroll-zoom > .ws-zoom-bg,
html.ws-dark .body-section.lighter.ws-scroll-zoom > .ws-zoom-bg,
html.ws-dark .body-section.grey.ws-scroll-zoom > .ws-zoom-bg,
html.ws-dark .body-section.white.ws-scroll-zoom > .ws-zoom-bg {
  box-shadow: var(--ws-shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.body-section.dark.ws-scroll-zoom > .ws-zoom-bg {
  background: linear-gradient(160deg, #1d1936, #17142a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px rgba(23, 20, 42, 0.35);
}
.body-section.light.ws-scroll-zoom > .body-container,
.body-section.lighter.ws-scroll-zoom > .body-container,
.body-section.grey.ws-scroll-zoom > .body-container,
.body-section.white.ws-scroll-zoom > .body-container,
.body-section.dark.ws-scroll-zoom > .body-container {
  background: none;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ===== case_study_carousel ===== */
.b-case-study-carousel .cscar-intro {
  margin-bottom: 36px;
}
.b-case-study-carousel .cscar-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.b-case-study-carousel .ws-carousel-slide {
  display: flex;
}
.b-case-study-carousel .cscar-media {
  aspect-ratio: 16 / 10;
}
.b-case-study-carousel .cscar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b-case-study-carousel .cscar-logo {
  margin-top: auto;
  align-self: flex-start;
  max-height: 34px;
  width: auto;
  opacity: 0.8;
}
.b-case-study-carousel .button-holder {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .b-case-study-carousel .cscar-intro {
    margin-bottom: 28px;
  }
}

@media (max-width: 767px) {
  .b-case-study-carousel .cscar-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 479px) {
  .b-case-study-carousel .cscar-logo {
    max-height: 28px;
  }
}

/* ===== case_study_grid ===== */
.b-case-study-grid .csg-intro {
  max-width: 720px;
  margin-bottom: 36px;
}
.b-case-study-grid .csg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Bento rhythm: lead card spans two columns */
.b-case-study-grid .csg-card:first-child {
  grid-column: span 2;
}
.b-case-study-grid .csg-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.b-case-study-grid .csg-media { aspect-ratio: 16 / 9; }
.b-case-study-grid .csg-media img { width: 100%; height: 100%; object-fit: cover; }
.b-case-study-grid .csg-card:first-child .csg-media { aspect-ratio: 21 / 9; }
.b-case-study-grid .csg-flag {
  display: inline-block;
}
.b-case-study-grid .csg-text {
  margin-top: auto;
}
.b-case-study-grid .button-holder {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .b-case-study-grid .csg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .b-case-study-grid .csg-card:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .b-case-study-grid .csg-grid {
    grid-template-columns: 1fr;
  }
  .b-case-study-grid .csg-card:first-child {
    grid-column: auto;
  }
  .b-case-study-grid .csg-card {
    min-height: 0;
  }
}

@media (max-width: 479px) {
  .b-case-study-grid .csg-intro {
    margin-bottom: 24px;
  }
}

/* ===== client_logos ===== */
.b-client-logos { padding: 34px 0; }
.b-client-logos .logo-marquee {
  /* soft fade at the strip edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.b-client-logos .logo-marquee-track img.logo { height: 40px; }
.b-client-logos .logo-marquee-track img.logo.tall { height: 62px; }

@media (max-width: 991px) {
  .b-client-logos { padding: 28px 0; }
  .b-client-logos .logo-marquee-track { gap: 48px; }
}

@media (max-width: 767px) {
  .b-client-logos .logo-marquee-track { gap: 38px; }
  .b-client-logos .logo-marquee-track img.logo { height: 32px; }
  .b-client-logos .logo-marquee-track img.logo.tall { height: 50px; }
}

@media (max-width: 479px) {
  .b-client-logos { padding: 22px 0; }
  .b-client-logos .logo-marquee-track { gap: 30px; }
  .b-client-logos .logo-marquee-track img.logo { height: 28px; }
  .b-client-logos .logo-marquee-track img.logo.tall { height: 42px; }
}

/* ===== cta ===== */
.b-cta .title-holder { margin-bottom: 18px; }
.b-cta .cta-text { margin-bottom: 8px; max-width: 480px; }
.b-cta .button-holder { margin-top: 24px; }

/* 2x2 stat grid — glass cards on dark */
.b-cta .cta-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.b-cta .cta-stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  border-radius: var(--ws-radius-card);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  transition: border-color .4s ease, transform .4s ease;
}
.b-cta .cta-stat-card:hover { transform: translateY(-3px); }
.b-cta .cta-stat-number {
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.b-cta .cta-stat-label {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ws-text-2);
}
.b-cta .cta-stat-card.highlight {
  background: linear-gradient(160deg, rgba(232, 66, 94, 0.18), rgba(232, 66, 94, 0.05));
  border-color: rgba(242, 100, 124, 0.45);
  box-shadow: 0 0 50px rgba(232, 66, 94, 0.12);
}
.b-cta .cta-stat-card.highlight .cta-stat-number { color: var(--ws-accent); }

/* Alternate rows offset for visual rhythm */
.b-cta .cta-stat-card:nth-child(even) { transform: translateY(14px); }
.b-cta .cta-stat-card:nth-child(even):hover { transform: translateY(11px); }

@media (max-width: 991px) {
  .b-cta .cta-stat-grid { gap: 16px; }
  .b-cta .cta-stat-number { font-size: 32px; }
}

@media (max-width: 767px) {
  .b-cta .cta-stat-card { padding: 22px 20px; }
  .b-cta .cta-stat-card:nth-child(even) { transform: none; }
  .b-cta .cta-stat-card:nth-child(even):hover { transform: translateY(-3px); }
}

@media (max-width: 479px) {
  .b-cta .cta-stat-grid { grid-template-columns: 1fr; }
  .b-cta .cta-stat-number { font-size: 28px; }
}

/* ===== expertise ===== */
.b-expertise .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
}
.b-expertise .pill-icon {
  height: 22px;
  width: auto;
  max-width: 96px;   /* wordmark logos stay legible, square icons stay square */
  object-fit: contain;
  flex: none;
}
.body-section.dark .b-expertise .pill-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
  .b-expertise .pill-row {
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .b-expertise .pill {
    padding: 10px 18px;
    font-size: 13.5px;
  }
  .b-expertise .pill-icon {
    height: 19px;
    max-width: 80px;
  }
}

@media (max-width: 479px) {
  .b-expertise .pill-row {
    gap: 10px;
  }
}

/* ===== faqs ===== */
/* pillar-page.js search hides items with .hidden (legacy theme.css utility) */
.b-faqs .pillar-faq-item.hidden { display: none; }

/* --- Grid layout: two .faq-panel columns --- */
.b-faqs .pillar-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.b-faqs .title-holder .faq-search-wrapper { margin: 26px auto 0; }

/* --- Sidebar layout --- */
.b-faqs .faq-split { align-items: start; }
.b-faqs .faq-side .rich-text { margin-top: 18px; }
.b-faqs .faq-main .faq-search-wrapper--sidebar { margin: 0 0 22px; }

/* --- Search (pillar-page.js: #faqSearch / #faqSearchClear) --- */
.b-faqs .faq-search-wrapper {
  position: relative;
  max-width: 480px;
}
.b-faqs .faq-search-icon {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--ws-muted);
  pointer-events: none;
}
.b-faqs input.faq-search {
  width: 100%;
  border: 1.5px solid #dcd9e6;
  border-radius: 999px;
  padding: 13px 52px 13px 48px;
  font-family: var(--ws-font);
  font-size: 14px;
  color: var(--ws-text);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color .3s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.b-faqs input.faq-search:focus { border-color: var(--ws-accent); }
.b-faqs .faq-search-clear {
  position: absolute; right: 9px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-dark);
  align-items: center; justify-content: center; /* JS shows it with display: flex */
}

/* Dark section support */
.body-section.dark .b-faqs input.faq-search {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Answers — rich content tweaks */
.b-faqs .pillar-faq-answer-inner p { margin: 0 0 0.8em; }
.b-faqs .pillar-faq-answer-inner p:last-child { margin-bottom: 0; }
.b-faqs .pillar-faq-answer-inner ul,
.b-faqs .pillar-faq-answer-inner ol { margin: 0 0 0.8em; padding-left: 1.2em; }

.b-faqs .faq-no-results {
  text-align: center;
  padding: 26px 20px;
  color: var(--ws-muted);
  font-size: 14px;
}

.b-faqs .button-holder { margin-top: 36px; }

@media (max-width: 991px) {
  .b-faqs .pillar-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .b-faqs .faq-search-wrapper { max-width: none; }
  .b-faqs .faq-panel { padding: 6px 22px; }
}

@media (max-width: 479px) {
  .b-faqs .pillar-faq-question { font-size: 15px; }
}

/* ===== film_strip_columns ===== */
.b-film-strip-columns .fsc-text {
  min-width: 0;
}
.b-film-strip-columns .fsc-text .button-holder {
  justify-content: flex-start;
}
/* 'right' layout: strips first, text second */
.b-film-strip-columns.layout-right .fsc-text {
  order: 2;
}
.b-film-strip-columns.layout-right .fsc-strips {
  order: 1;
}

.b-film-strip-columns .fsc-strips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.b-film-strip-columns .fsc-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
/* Subtle vertical offset on the right strip (film-strip stagger) */
.b-film-strip-columns .fsc-right {
  transform: translateY(44px);
}
.b-film-strip-columns .fsc-card {
  display: block;
  transition: transform .4s ease, border-color .4s ease;
}
.b-film-strip-columns .fsc-card:hover {
  transform: scale(1.02);
  border-color: rgba(232, 66, 94, 0.6);
}
.b-film-strip-columns .fsc-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  /* .split stacks — keep the strips after the text in both layouts */
  .b-film-strip-columns.layout-right .fsc-text {
    order: 0;
  }
  .b-film-strip-columns.layout-right .fsc-strips {
    order: 0;
  }
  .b-film-strip-columns .fsc-right {
    transform: translateY(28px);
  }
  .b-film-strip-columns .fsc-strips {
    padding-bottom: 28px; /* room for the offset column */
  }
}

@media (max-width: 767px) {
  .b-film-strip-columns .fsc-strips,
  .b-film-strip-columns .fsc-col {
    gap: 14px;
  }
  .b-film-strip-columns .fsc-right {
    transform: translateY(20px);
  }
  .b-film-strip-columns .fsc-strips {
    padding-bottom: 20px;
  }
}

@media (max-width: 479px) {
  .b-film-strip-columns .fsc-right {
    transform: translateY(14px);
  }
  .b-film-strip-columns .fsc-strips {
    padding-bottom: 14px;
  }
}

/* ===== home_header ===== */
.b-home-header { align-items: center; padding: 20px 0 10px; }

.b-home-header .pill.badge { margin-bottom: 24px; }
.b-home-header .pill.badge .stars { font-size: 13px; gap: 2px; }

.b-home-header h1 { margin-bottom: 0; }
.b-home-header .hh-accent { margin-top: 4px; }
.b-home-header .hh-accent,
.b-home-header .hh-accent.text-title { font-size: 44px; line-height: 1.15; }

.b-home-header .hh-lede {
  margin-top: 20px;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ws-text-2);
}

.b-home-header .button-holder { margin-top: 30px; }
.b-home-header .stat-row { margin-top: 40px; }

.b-home-header .hh-media { position: relative; }
.b-home-header .hh-media .glass-card { position: relative; }

.b-home-header .hh-media .card-media { aspect-ratio: 4 / 3; }
.b-home-header .hh-media .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.b-home-header .ws-carousel { border-radius: var(--ws-radius-media); }
.b-home-header .ws-carousel-nav { margin-top: 14px; }

@media (max-width: 991px) {
  .b-home-header { padding: 10px 0 0; }
  .b-home-header .hh-accent,
  .b-home-header .hh-accent.text-title { font-size: 34px; }
  .b-home-header .stat-row { margin-top: 32px; }
}

@media (max-width: 767px) {
  .b-home-header .hh-accent,
  .b-home-header .hh-accent.text-title { font-size: 28px; }
  .b-home-header .hh-lede { font-size: 15px; }
  .b-home-header .float-badge { top: -14px; right: 6px; }
}

@media (max-width: 479px) {
  .b-home-header .pill.badge { margin-bottom: 18px; }
  .b-home-header .hh-accent,
  .b-home-header .hh-accent.text-title { font-size: 24px; }
  .b-home-header .button-holder { margin-top: 24px; }
  .b-home-header .hh-media .card-media { aspect-ratio: 3 / 2; }
}

/* ===== html ===== */
/* Raw passthrough block — no block-specific styles required.
   Content is author-supplied HTML; core webshape-v2.css defaults apply. */

/* ===== ideas ===== */
.b-ideas .blog-card-ph {
  background: linear-gradient(160deg, #e7e4f2, #d5d1e4);
}
.b-ideas .blog-card { min-height: 400px; }
.b-ideas .blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ws-text-2);
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.b-ideas .archive-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--ws-text-2);
}
.b-ideas .button-holder { margin-top: 40px; }

@media (max-width: 991px) {
  .b-ideas .blog-card { min-height: 380px; }
}

@media (max-width: 767px) {
  .b-ideas .blog-card { min-height: 340px; }
}

@media (max-width: 479px) {
  .b-ideas .blog-card { min-height: 310px; }
}

/* ===== image_background ===== */
.b-image-background {
  position: relative;
  border-radius: var(--ws-radius-panel);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--ws-shadow-panel);
  border: 1px solid var(--ws-line);
}

.b-image-background .bib-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  border-radius: 0;
}

.b-image-background .bib-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 20, 42, 0.15), rgba(23, 20, 42, 0.05) 40%, rgba(23, 20, 42, 0.75));
}

.b-image-background .bib-title {
  position: relative;
  z-index: 2;
  color: #fff;
  margin: 0;
  padding: 40px 44px;
  font-size: 38px;
  line-height: 1.15;
  max-width: 720px;
}

@media (max-width: 991px) {
  .b-image-background { min-height: 380px; }
  .b-image-background .bib-title { padding: 32px 34px; font-size: 32px; }
}

@media (max-width: 767px) {
  .b-image-background { min-height: 320px; }
  .b-image-background .bib-title { padding: 26px 26px; font-size: 27px; }
}

@media (max-width: 479px) {
  .b-image-background { min-height: 260px; border-radius: var(--ws-radius-card); }
  .b-image-background .bib-title { padding: 20px 20px; font-size: 23px; }
}

/* ===== incidental_packages_with_pricing ===== */
.b-incidental-packages-with-pricing .ip-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.b-incidental-packages-with-pricing .text-highlight {
  color: var(--ws-accent-dark);
  font-weight: 500;
}

.b-incidental-packages-with-pricing .package-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.b-incidental-packages-with-pricing .package-icon {
  width: 52px;
  height: 52px;
  flex: none;
  background-color: var(--ws-accent);
  margin-bottom: 18px;
}

.b-incidental-packages-with-pricing .card-title { margin: 0 0 6px; }

.b-incidental-packages-with-pricing .price-holder {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
}
.b-incidental-packages-with-pricing .price {
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--ws-text);
}
.b-incidental-packages-with-pricing .price-label {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--ws-muted);
}

.b-incidental-packages-with-pricing .card-text { margin-bottom: 4px; }

/* Accent-tick points list */
.b-incidental-packages-with-pricing .tick-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.b-incidental-packages-with-pricing .tick-list li {
  position: relative;
  padding-left: 30px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ws-text-2);
}
.b-incidental-packages-with-pricing .tick-list li strong { color: var(--ws-text); font-weight: 600; }
.b-incidental-packages-with-pricing .tick-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
  font-size: 10.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b-incidental-packages-with-pricing .note {
  margin-top: 28px;
  text-align: center;
}
.b-incidental-packages-with-pricing .note p {
  font-size: 12.5px;
  color: var(--ws-muted);
}

@media (max-width: 991px) {
  .b-incidental-packages-with-pricing .price { font-size: 30px; }
}

@media (max-width: 767px) {
  .b-incidental-packages-with-pricing .ip-intro { margin-bottom: 26px; }
}

@media (max-width: 479px) {
  .b-incidental-packages-with-pricing .package-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .b-incidental-packages-with-pricing .price { font-size: 27px; }
}

/* ===== industries ===== */
/* Full-bleed photo cards (blog-card family): image fills the card, white
   panel pinned to the bottom with a mono label, title and coral arrow chip.
   Pointer tilt via data-ws-effect; image zooms on hover. */
.b-industries .grid-3 { perspective: 1200px; }
.b-industries .industry-card {
  position: relative; display: block; overflow: hidden;
  min-height: 400px;
  border-radius: var(--ws-radius-card);
  border: 1px solid var(--ws-line);
  background: var(--ws-ink);
  box-shadow: var(--ws-shadow-card);
  color: var(--ws-text);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), border-color .4s ease, box-shadow .5s ease;
}
.b-industries .industry-card.is-tilting { transition: transform .08s linear, border-color .4s ease, box-shadow .5s ease; }
.b-industries .industry-card:hover { border-color: rgba(232, 66, 94, 0.6); box-shadow: 0 30px 70px rgba(23, 20, 42, 0.18); }
.b-industries .industry-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1); transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.b-industries .industry-card:hover .industry-img { transform: scale(1.1); }
.b-industries .industry-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 20, 42, 0) 40%, rgba(23, 20, 42, 0.45) 100%);
  pointer-events: none;
}
.b-industries .industry-panel {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 14px 36px rgba(23, 20, 42, 0.16);
  transform: translateZ(20px);
}
.b-industries .industry-panel .mono-label { font-size: 11px; color: var(--ws-accent-dark); margin-bottom: 6px; }
.b-industries .industry-title { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ws-text); margin: 0; }
.b-industries .industry-excerpt { font-size: 13px; line-height: 1.5; color: var(--ws-muted); margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-industries .industry-chip {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ws-accent-soft); color: var(--ws-accent);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.b-industries .industry-card:hover .industry-chip {
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dark)); color: #fff;
  transform: translate(2px, -2px); box-shadow: 0 10px 24px rgba(200, 45, 68, 0.4);
}
.body-section.dark .b-industries .industry-panel, html.ws-dark .b-industries .industry-panel { background: rgba(29, 25, 54, 0.96); }
.body-section.dark .b-industries .industry-title, html.ws-dark .b-industries .industry-title { color: #fff; }

@media (max-width: 991px) { .b-industries .industry-card { min-height: 360px; } }
@media (max-width: 767px) { .b-industries .industry-card { min-height: 320px; } .b-industries .industry-excerpt { display: none; } }

/* ===== info_block ===== */
.b-info-block .info-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ws-text);
}
.b-info-block .card-media {
  aspect-ratio: 16 / 10;
}
.b-info-block .card-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  color: var(--ws-accent-dark);
  box-shadow: 0 8px 20px rgba(23, 20, 42, 0.18);
}
.b-info-block .card-text {
  flex: 1;
}
.b-info-block .card-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .b-info-block .card-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 479px) {
  .b-info-block .info-card {
    gap: 12px;
  }
}

/* ===== list ===== */
.b-list .list-split { align-items: center; }
.b-list .list-intro .rich-text { margin-top: 18px; }
.b-list .list-intro .button-holder { justify-content: flex-start; }

.b-list .list-panel { padding: 14px 26px; }

.b-list .list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--ws-line-soft);
  color: var(--ws-text);
  transition: color .3s ease;
}
.b-list .list-item:last-child { border-bottom: 0; }
.b-list .list-item:hover { color: var(--ws-accent-dark); }
.b-list .list-item:hover .list-item-title { color: var(--ws-accent-dark); }

.b-list .list-item-chip {
  width: 44px; height: 44px; border-radius: 50%;
  flex: none;
  background: var(--ws-accent-soft);
  border: 1px solid rgba(232, 66, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.b-list .list-item-icon {
  width: 20px; height: 20px;
  display: block;
  background-color: var(--ws-accent-dark);
}
.b-list .list-item-marker {
  display: inline-flex;
  align-items: center;
  color: var(--ws-accent);
  font-size: 17px;
  line-height: 1;
}

.b-list .list-item-title {
  flex: 1;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  color: var(--ws-text);
  transition: color .3s ease;
}

.b-list .list-item .card-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s ease, transform .3s ease;
}
.b-list .list-item:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Dark section support */
.body-section.dark .b-list .list-item-icon { background-color: var(--ws-accent); }
.body-section.dark .b-list .list-item-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 991px) {
  .b-list .list-panel { padding: 10px 22px; }
}

@media (max-width: 767px) {
  .b-list .list-item { padding: 14px 2px; gap: 14px; }
  .b-list .list-item-chip { width: 40px; height: 40px; }
  .b-list .list-item-title { font-size: 15.5px; }
}

@media (max-width: 479px) {
  .b-list .list-item .card-arrow { display: none; }
}

/* ===== our_services ===== */
/* Whole block sits in its own glass panel; resets when the section shell
   already renders a panel (light/lighter/grey/white/dark). */
.b-our-services {
  background: var(--ws-glass);
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-panel);
  padding: 44px 40px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--ws-shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.body-section.light .b-our-services,
.body-section.lighter .b-our-services,
.body-section.grey .b-our-services,
.body-section.white .b-our-services,
.body-section.dark .b-our-services {
  background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* Card grid: hero card spans the row, the rest sit 3-up */
.b-our-services .svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; perspective: 1200px; }
.b-our-services .svc-card--hero { grid-column: 1 / -1; }

/* Card shell — effects come from the shared .fx-card rules */
.b-our-services .svc-card {
  display: block;
  border-radius: var(--ws-radius-card);
  background: var(--ws-glass-strong);
  border: 1px solid var(--ws-line-soft);
  padding: 28px;
  color: var(--ws-text);
  box-shadow: 0 12px 30px rgba(23, 20, 42, 0.05);
}
.b-our-services .svc-card--hero .fx-shape { width: 320px; right: 38%; bottom: -120px; }

.b-our-services .svc-content { display: flex; flex-direction: column; gap: 14px; min-height: 100%; }
.b-our-services .svc-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.b-our-services .svc-card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 4px 0 0; color: var(--ws-text); }
.b-our-services .svc-card p { font-size: 14.5px; line-height: 1.6; color: var(--ws-text-2); margin: 0; }
.b-our-services .svc-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px;
  font-size: 14px; font-weight: 600; color: var(--ws-accent-dark);
  transition: gap .3s ease;
}
.b-our-services .svc-card:hover .svc-cta { gap: 12px; }
.b-our-services .svc-card:hover .card-arrow { transform: translate(3px, -3px); }

/* Hero card: copy left, media right */
.b-our-services .svc-card--hero { padding: 40px; }
.b-our-services .svc-card--hero .svc-content { display: grid; grid-template-columns: minmax(0, 1fr) 50%; gap: 40px; align-items: center; }
.b-our-services .svc-card--hero .svc-copy { display: flex; flex-direction: column; gap: 16px; }
.b-our-services .svc-card--hero h3 { font-size: 30px; line-height: 1.2; }
.b-our-services .svc-card--hero p { font-size: 16px; }
.b-our-services .svc-media {
  border-radius: var(--ws-radius-media); overflow: hidden; border: 1px solid var(--ws-line-soft);
  box-shadow: 0 24px 60px rgba(23, 20, 42, 0.18); transform: translateZ(30px);
}
.b-our-services .svc-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.b-our-services .svc-card--hero.svc-card--no-media .svc-content { grid-template-columns: 1fr; }

/* Dark variants */
.body-section.dark .b-our-services .svc-card, html.ws-dark .b-our-services .svc-card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.body-section.dark .b-our-services .svc-cta, html.ws-dark .b-our-services .svc-cta { color: var(--ws-accent); }

@media (max-width: 991px) {
  .b-our-services { padding: 36px 30px; }
  .b-our-services .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-our-services .svc-card--hero .svc-content { grid-template-columns: 1fr; }
  .b-our-services .svc-card--hero h3 { font-size: 26px; }
}
@media (max-width: 767px) {
  .b-our-services { padding: 28px 22px; }
  .b-our-services .svc-grid { grid-template-columns: 1fr; }
  .b-our-services .svc-card, .b-our-services .svc-card--hero { padding: 24px; }
}
@media (max-width: 479px) {
  .b-our-services { padding: 24px 18px; }
}

/* ===== our_work_archive ===== */
.b-our-work-archive .owa-intro {
  margin-bottom: 36px;
}
.b-our-work-archive .owa-filter {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 36px;
}
/* Filter pills are <button>s — normalise + active state */
.b-our-work-archive .owa-pills .pill {
  font-family: var(--ws-font);
  cursor: pointer;
  transition: all .3s ease;
}
.b-our-work-archive .owa-pills .pill:hover {
  border-color: rgba(232, 66, 94, 0.6);
  color: var(--ws-text);
}
.b-our-work-archive .owa-pills .pill.is-active {
  background: var(--ws-ink);
  border-color: var(--ws-ink);
  color: #fff;
}

.b-our-work-archive .owa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.b-our-work-archive .owa-card {
  display: block;
  color: inherit;
}
.b-our-work-archive .owa-card.is-wide {
  grid-column: 1 / -1;
}
.b-our-work-archive .owa-card-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
/* Wide card: content beside image */
.b-our-work-archive .owa-card.is-wide .owa-card-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}
/* Half card: image above content */
.b-our-work-archive .owa-card.is-half .owa-card-inner {
  flex-direction: column-reverse;
  justify-content: flex-end;
}
.b-our-work-archive .owa-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.b-our-work-archive .owa-media {
  aspect-ratio: 16 / 10;
}
.b-our-work-archive .owa-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b-our-work-archive .owa-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.b-our-work-archive .owa-card.is-wide .owa-points {
  display: flex;
}
.b-our-work-archive .owa-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ws-text-2);
}
.b-our-work-archive .owa-check {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
}
.b-our-work-archive .owa-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ws-accent-dark);
  margin-top: auto;
}
.b-our-work-archive .owa-more::after {
  content: "";
  display: inline-block; width: 1em; height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--ws-svg-arrow-right) center / contain no-repeat;
  mask: var(--ws-svg-arrow-right) center / contain no-repeat;
  transition: transform .35s ease;
}
.b-our-work-archive .owa-card:hover .owa-more::after {
  transform: translateX(3px);
}
.b-our-work-archive .owa-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--ws-text-2);
}
.b-our-work-archive .button-holder {
  margin-top: 40px;
}

@media (max-width: 991px) {
  /* Wide cards fall back to the half layout: image above content */
  .b-our-work-archive .owa-card.is-wide .owa-card-inner {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .b-our-work-archive .owa-grid {
    grid-template-columns: 1fr;
  }
  .b-our-work-archive .owa-intro,
  .b-our-work-archive .owa-filter {
    margin-bottom: 28px;
  }
  .b-our-work-archive .owa-pills {
    gap: 10px;
  }
  .b-our-work-archive .owa-pills .pill {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 479px) {
  .b-our-work-archive .owa-media {
    aspect-ratio: 16 / 9;
  }
}

/* ===== page_form ===== */
.b-page-form .split.wide-right { align-items: start; }

/* Info column */
.b-page-form .title-holder { margin-bottom: 20px; }
.b-page-form .pf-text { margin-bottom: 26px; }
.b-page-form .pf-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
.b-page-form .pf-contact .contact-row + .contact-row { margin-top: 0; }

.b-page-form .page-form-privacy {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ws-muted);
  max-width: 420px;
}
.b-page-form .page-form-privacy a {
  color: var(--ws-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Accreditation logos — glass pills, same recipe as the expertise/platform pills */
.b-page-form .accreds-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--ws-line-soft);
}
.b-page-form .accred-pill {
  display: inline-flex; align-items: center;
  padding: 10px 20px;
  transition: border-color .35s ease, background .35s ease, transform .35s ease, box-shadow .35s ease;
}
.b-page-form .accred-pill:hover {
  border-color: rgba(232, 66, 94, 0.6);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 20, 42, 0.08);
}
.b-page-form .accred-logo {
  height: 24px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: opacity .3s ease;
}
.b-page-form .accred-pill:hover .accred-logo { opacity: 1; }
html.ws-dark .b-page-form .accred-logo,
.body-section.dark .b-page-form .accred-logo { filter: brightness(0) invert(1); opacity: 0.8; }
html.ws-dark .b-page-form .accred-pill:hover,
.body-section.dark .b-page-form .accred-pill:hover { background: rgba(255, 255, 255, 0.1); }

/* Form column */
.b-page-form .pf-form-col { position: relative; }

.b-page-form .form-grid { margin-bottom: 14px; }
.b-page-form .page-form-field.full { margin-bottom: 4px; }
.b-page-form textarea { min-height: 110px; }

/* Validation states */
.b-page-form .page-form-error {
  display: none;
  font-size: 12px;
  color: var(--ws-accent-dark);
  margin-top: 5px;
}
.b-page-form input.has-error,
.b-page-form select.has-error,
.b-page-form textarea.has-error { border-color: var(--ws-accent-dark); }

/* Success / fail states (display toggled by JS) */
.b-page-form .page-form-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px 10px;
  color: var(--ws-text);
}
.b-page-form .page-form-success svg { color: var(--ws-accent); }
.b-page-form .page-form-success h3 { margin: 6px 0 0; }
.b-page-form .page-form-success p { color: var(--ws-text-2); font-size: 14.5px; }

.b-page-form .page-form-fail p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ws-accent-dark);
}

.b-page-form .trust-row { margin-top: 18px; }

@media (max-width: 991px) {
  .b-page-form .float-badge { top: -16px; right: 6px; }
}

@media (max-width: 767px) {
  .b-page-form .accred-logo { height: 20px; }
  .b-page-form .accred-pill { padding: 8px 14px; }
  .b-page-form .form-grid { margin-bottom: 0; }
  .b-page-form .form-grid .page-form-field { margin-bottom: 14px; }
}

@media (max-width: 479px) {
  .b-page-form .float-badge { padding: 8px 14px; }
  .b-page-form .trust-row { gap: 12px; }
}

/* ===== page_head ===== */
/* Centred hero (webshape-hero-light/dark.html). Dark comes from html.ws-dark
   token remaps; nothing here is theme-specific except the accent gradient. */
.b-page-head { padding: 6vh 0 3vh; text-align: center; }

.b-page-head .crumbs { justify-content: center; margin-bottom: 34px; }
.b-page-head .crumbs [aria-current] { color: var(--ws-text); }

.b-page-head .title-holder { max-width: 960px; margin-bottom: 0; }
.b-page-head h1 {
  font-size: clamp(40px, 6.6vw, 88px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 0;
}
/* <strong> = gradient accent word(s) */
.b-page-head h1 strong {
  font-weight: inherit;
  background: linear-gradient(120deg, var(--ws-accent), var(--ws-accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* <em> = light italic second line (overrides the base coral h1 em) */
.b-page-head h1 em { display: block; font-weight: 300; font-style: italic; color: inherit; }

.b-page-head .ph-lede {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 17px;
  line-height: 1.6;
}

.b-page-head .button-holder { justify-content: center; margin-top: 36px; }
.b-page-head .stat-row { justify-content: center; margin-top: 48px; }

@media (max-width: 991px) {
  .b-page-head { padding: 4vh 0 2vh; }
  .b-page-head .crumbs { margin-bottom: 24px; }
  .b-page-head h1 { letter-spacing: -1px; }
  .b-page-head .stat-row { margin-top: 40px; }
}

@media (max-width: 767px) {
  .b-page-head .stat-row { gap: 20px; }
}

@media (max-width: 479px) {
  .b-page-head .button-holder { margin-top: 24px; }
  .b-page-head .crumbs { font-size: 11.5px; gap: 8px; }
  /* Long page titles: keep the current crumb on one line and clip */
  .b-page-head .crumbs [aria-current] {
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .b-page-head .ph-lede { font-size: 15px; }
  .b-page-head .stat-row { margin-top: 32px; }
}

/* ===== process ===== */
/* Photo-card grid variant: plain-text step copy (no <p> wrapper from ACF) */
.b-process .photo-card-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}
.b-process .photo-card-text p {
  color: rgba(255, 255, 255, 0.75);
}

/* Tabbed variant: numbered chip inside the tab buttons */
.b-process .tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.b-process .tab-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
}
.b-process .tab-btn.is-active .tab-num {
  background: var(--ws-accent);
  color: #fff;
}
.b-process .tab-panes {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ws-text-2);
  text-align: center;
}

@media (max-width: 991px) {
  .b-process .photo-card {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .b-process .photo-card {
    min-height: 320px;
  }
  .b-process .tab-buttons {
    border-radius: 24px;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .b-process .tab-btn {
    padding: 9px 14px;
    font-size: 13.5px;
  }
}

/* ===== projects_archive ===== */
.b-projects-archive .pa-filter {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 36px;
}
/* Filter pills are <button>s — normalise + active state */
.b-projects-archive .pa-pills .pill {
  font-family: var(--ws-font);
  cursor: pointer;
  transition: all .3s ease;
}
.b-projects-archive .pa-pills .pill:hover {
  border-color: rgba(232, 66, 94, 0.6);
  color: var(--ws-text);
}
.b-projects-archive .pa-pills .pill.is-active {
  background: var(--ws-ink);
  border-color: var(--ws-ink);
  color: #fff;
}
.b-projects-archive .pa-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b-projects-archive .pa-media {
  aspect-ratio: 16 / 10;
}
.b-projects-archive .pa-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b-projects-archive .pa-logo {
  margin-top: auto;
  align-self: flex-start;
  max-height: 32px;
  width: auto;
  opacity: 0.8;
}
.b-projects-archive .pa-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--ws-text-2);
}
.b-projects-archive .button-holder {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .b-projects-archive .pa-filter {
    margin-bottom: 28px;
  }
}

@media (max-width: 767px) {
  .b-projects-archive .pa-pills {
    gap: 10px;
  }
  .b-projects-archive .pa-pills .pill {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 479px) {
  .b-projects-archive .pa-media {
    aspect-ratio: 16 / 9;
  }
  .b-projects-archive .pa-logo {
    max-height: 26px;
  }
}

/* ===== recent_posts ===== */
.b-recent-posts .section-head .ghost-button { flex: none; }
.b-recent-posts .title-holder .section-lede p { margin: 0; }
.b-recent-posts .title-holder .section-lede p + p { margin-top: 0.6em; }

.b-recent-posts .blog-card-ph {
  background: linear-gradient(160deg, #e7e4f2, #d5d1e4);
}

.b-recent-posts .button-holder { margin-top: 36px; }

@media (max-width: 991px) {
  .b-recent-posts .section-head { margin-bottom: 26px; }
}

@media (max-width: 767px) {
  .b-recent-posts .blog-card { min-height: 340px; }
}

@media (max-width: 479px) {
  .b-recent-posts .blog-card { min-height: 300px; }
  .b-recent-posts .section-head .ghost-button { width: 100%; }
}

/* ===== reviews ===== */
/* Cards stretch to the tallest slide in the row; the author/logo footer is
   pinned to the bottom so every card lines up whatever the quote length. */
.b-reviews .ws-carousel-track { align-items: stretch; }
.b-reviews .ws-carousel-slide { display: flex; }
.b-reviews .review-card {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 96px;
}
/* Video reviews are portrait selfie clips (~9:16) — shown in a 4:5 frame,
   cropped to fill (poster and playing video alike) so cards stay a sane height. */
.b-reviews .review-video { margin-bottom: 4px; aspect-ratio: 4 / 5; background: var(--ws-ink); flex: none; }
.b-reviews .review-video img,
.b-reviews .review-video video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.b-reviews .review-video:focus-visible { outline: 2px solid var(--ws-accent); outline-offset: 3px; }
.b-reviews .review-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ws-text-2);
}
.b-reviews .review-quote p { margin: 0 0 0.8em; }
.b-reviews .review-quote p:last-child { margin-bottom: 0; }
.b-reviews .review-foot {
  position: absolute;
  left: 30px; right: 30px; bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--ws-line-soft);
  padding-top: 16px;
  margin: 0;
}
.b-reviews .review-author {
  font-size: 13.5px;
  color: var(--ws-muted);
  line-height: 1.4;
  min-width: 0;
}
.b-reviews .review-name {
  font-weight: 600;
  color: var(--ws-text);
}
.b-reviews .review-logo {
  height: 32px;
  width: auto;
  max-width: 110px;
  flex: none;
  object-fit: contain;
  opacity: 0.85;
}

@media (max-width: 991px) {
  .b-reviews .review-card { padding: 24px 24px 92px; }
  .b-reviews .review-foot { left: 24px; right: 24px; bottom: 22px; }
}

@media (max-width: 767px) {
  .b-reviews .review-foot { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 479px) {
  .b-reviews .review-quote { font-size: 14px; }
  .b-reviews .review-logo { height: 26px; }
}

/* ===== service_benefits ===== */
.b-service-benefits .big-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.b-service-benefits .stat-icon {
  width: 44px;
  height: 44px;
  background-color: var(--ws-accent);
  margin: 0 auto 16px;
  flex: none;
}
.b-service-benefits .stat-num {
  font-size: 44px;
  font-weight: 600;
  color: var(--ws-accent);
  line-height: 1;
}
.b-service-benefits .stat-label {
  font-size: 14px;
  color: var(--ws-text-2);
  margin-top: 10px;
}

@media (max-width: 991px) {
  .b-service-benefits .stat-num {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .b-service-benefits .big-stat {
    padding: 26px 18px;
  }
  .b-service-benefits .stat-num {
    font-size: 34px;
  }
}

@media (max-width: 479px) {
  .b-service-benefits .stat-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }
  .b-service-benefits .stat-num {
    font-size: 30px;
  }
}

/* ===== software_block ===== */
.b-software-block .audit-promo {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.b-software-block .title-holder { margin-bottom: 0; }
.b-software-block .section-lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.b-software-block .button-holder { margin-top: 28px; }

@media (max-width: 767px) {
  .b-software-block .button-holder { margin-top: 22px; }
}

@media (max-width: 479px) {
  .b-software-block .audit-promo { text-align: left; }
  .b-software-block .title-holder { text-align: left; }
  .b-software-block .button-holder { justify-content: flex-start; }
}

/* ===== statistics_block ===== */
.b-statistics-block .rich-text { text-align: center; margin: 0 auto 36px; }
.b-statistics-block .stats-grid { margin-top: 8px; }
.b-statistics-block .stats-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.b-statistics-block .big-stat .stat-num { white-space: nowrap; }
.b-statistics-block .big-stat .stat-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ws-muted);
  margin-top: 10px;
}
.b-statistics-block .big-stat .stat-text p { margin: 0 0 0.6em; }
.b-statistics-block .big-stat .stat-text p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .b-statistics-block .stats-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .b-statistics-block .big-stat .stat-num { font-size: 38px; }
}

@media (max-width: 767px) {
  .b-statistics-block .stats-grid,
  .b-statistics-block .stats-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .b-statistics-block .big-stat { padding: 24px 14px; }
  .b-statistics-block .big-stat .stat-num { font-size: 34px; }
}

@media (max-width: 479px) {
  .b-statistics-block .stats-grid,
  .b-statistics-block .stats-grid.cols-5 { grid-template-columns: 1fr; }
  .b-statistics-block .big-stat .stat-num { font-size: 32px; }
}

/* ===== team ===== */
.b-team .rich-text { text-align: center; margin: 0 auto 36px; }
.b-team .team-grid { margin-top: 8px; }
.b-team .team-grid.grid-2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.b-team .team-card { display: flex; flex-direction: column; }
.b-team .team-card-media { aspect-ratio: 4 / 5; }
.b-team .team-card-media img {
  transition: transform .6s ease;
}
.b-team .team-card:hover .team-card-media img { transform: scale(1.04); }
.b-team .team-card-body { padding-top: 18px; }
.b-team .team-card-body .card-title { margin: 0; font-size: 20px; }
.b-team .team-card-body .card-kicker { margin-top: 4px; }
.b-team .team-card-body .card-text { margin: 10px 0 0; }

@media (max-width: 991px) {
  .b-team .team-grid.grid-2 { max-width: none; }
  .b-team .team-card-media { aspect-ratio: 4 / 4.6; }
}

@media (max-width: 767px) {
  .b-team .team-grid { gap: 16px; }
  .b-team .team-card-media { aspect-ratio: 4 / 4.2; }
}

@media (max-width: 479px) {
  .b-team .team-card { padding: 18px; }
  .b-team .team-card-body { padding-top: 14px; }
  .b-team .team-card-body .card-title { font-size: 18px; }
}

/* ===== text_block ===== */
/* Highlighted lead-in (post_title) */
.b-text-block .text-highlight {
  display: block;
  font-weight: 600;
  font-size: 17px;
  color: var(--ws-accent-dark);
  margin-bottom: 12px;
}

.b-text-block.in-center { min-width:100%; padding-left:10%; padding-right:10%; margin-bottom:20px; }

.body-section.dark .b-text-block .text-highlight { color: var(--ws-accent); }

/* Accent check list (bullets repeater) */
.b-text-block .tb-checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.b-text-block .tb-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ws-text-2);
  text-align: left;
}
.b-text-block .tb-check {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.b-text-block .tb-check::before { content: "\2713"; }
.b-text-block .tb-checklist strong { color: var(--ws-text); font-weight: 600; }
.body-section.dark .b-text-block .tb-check { background: rgba(242, 100, 124, 0.16); }

/* Simple layouts */
.b-text-block.layout-simple .text-restrict.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.b-text-block.layout-simple .tb-checklist {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Two-column running text */
.b-text-block .tb-cols-2 {
  column-count: 2;
  column-gap: 48px;
}
.b-text-block .tb-cols-2 .text-highlight,
.b-text-block .tb-cols-2 .tb-checklist { column-span: all; }

/* Column layouts */
.b-text-block .tb-content .button-holder { justify-content: flex-start; }
.b-text-block .tb-content .title-holder { margin-bottom: 20px; }
.b-text-block .tb-media { padding: 14px; }
.b-text-block .tb-media .card-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Background-image layouts: empty column keeps content clear of the image */
.b-text-block .tb-spacer { min-height: 320px; }
.b-text-block.layout-bk-columns .tb-content { position: relative; z-index: 1; }

@media (max-width: 991px) {
  .b-text-block .tb-cols-2 { column-count: 1; }
  .b-text-block .tb-spacer { display: none; }
}

@media (max-width: 767px) {
  .b-text-block .tb-checklist li { font-size: 14.5px; }
  .b-text-block .tb-media { padding: 10px; }
}

@media (max-width: 479px) {
  .b-text-block .tb-checklist { gap: 10px; }
  .b-text-block .tb-check { width: 22px; height: 22px; font-size: 12px; }
}

/* ===== text_page ===== */
.b-text-page .title-holder { margin-bottom: 28px; }

.b-text-page .tp-body {
  font-size: 15.5px;
  line-height: 1.7;
}
.b-text-page .tp-body h2 { font-size: 30px; margin-top: 1.4em; }
.b-text-page .tp-body h3 { font-size: 22px; margin-top: 1.3em; }
.b-text-page .tp-body img { border-radius: var(--ws-radius-media); }
.b-text-page .tp-body ul,
.b-text-page .tp-body ol { padding-left: 1.3em; }
.b-text-page .tp-body li { margin-bottom: 0.4em; }
.b-text-page .tp-body a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991px) {
  .b-text-page .title-holder { margin-bottom: 22px; }
  .b-text-page .tp-body h2 { font-size: 26px; }
}

@media (max-width: 767px) {
  .b-text-page .tp-body { font-size: 15px; }
  .b-text-page .tp-body h2 { font-size: 23px; }
  .b-text-page .tp-body h3 { font-size: 19px; }
}

@media (max-width: 479px) {
  .b-text-page .title-holder { margin-bottom: 18px; }
}

/* ===== video ===== */
.b-video { text-align: center; }
.b-video .video-intro {
  max-width: 640px;
  margin: 0 auto 32px;
}

.b-video .media-play {
  max-width: 940px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--ws-radius-card);
  box-shadow: var(--ws-shadow-panel);
  border: 1px solid var(--ws-line);
}
.b-video .media-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b-video .media-play iframe,
.b-video .media-play video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.b-video .button-holder { margin-top: 36px; }

@media (max-width: 767px) {
  .b-video .video-intro { margin-bottom: 24px; }
  .b-video .button-holder { margin-top: 28px; }
}

@media (max-width: 479px) {
  .b-video .media-play { border-radius: var(--ws-radius-media); }
}

/* ===== website_packages ===== */
.b-website-packages .wp-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.b-website-packages .package-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ws-text);
}
.b-website-packages a.package-card:hover { border-color: rgba(232, 66, 94, 0.6); }

.b-website-packages .package-icon {
  width: 52px;
  height: 52px;
  flex: none;
  background-color: var(--ws-accent);
  margin-bottom: 18px;
  transition: transform .35s ease;
}
.b-website-packages .package-card:hover .package-icon { transform: scale(1.08); }

.b-website-packages .card-title { margin: 0 0 10px; }
.b-website-packages .card-text { margin-bottom: 20px; }

.b-website-packages .package-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ws-accent-dark);
}
.b-website-packages .package-link::after {
  content: "";
  display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em;
  background-color: currentColor;
  -webkit-mask: var(--ws-svg-arrow-right) center / contain no-repeat;
  mask: var(--ws-svg-arrow-right) center / contain no-repeat;
  margin-left: 6px;
  transition: transform .35s ease;
}
.b-website-packages .package-card:hover .package-link::after { transform: translateX(4px); }

@media (max-width: 991px) {
  .b-website-packages .package-icon { width: 46px; height: 46px; }
}

@media (max-width: 767px) {
  .b-website-packages .wp-intro { margin-bottom: 28px; }
}

@media (max-width: 479px) {
  .b-website-packages .package-icon { margin-bottom: 14px; }
}

/* ===== website_packages_with_pricing ===== */
.b-website-packages-with-pricing .gp-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.b-website-packages-with-pricing .growth-package { max-width: 1080px; margin: 0 auto; }

.b-website-packages-with-pricing .growth-package-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}
.b-website-packages-with-pricing .growth-package-arrow {
  display: flex;
  color: var(--ws-accent);
}

.b-website-packages-with-pricing .growth-package-phases {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.b-website-packages-with-pricing .growth-phase {
  position: relative;
  display: flex;
  flex-direction: column;
}
.b-website-packages-with-pricing .growth-phase.phase-grow {
  border-color: rgba(232, 66, 94, 0.45);
  box-shadow: 0 0 60px rgba(232, 66, 94, 0.1), var(--ws-shadow-card);
}

.b-website-packages-with-pricing .growth-phase-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.b-website-packages-with-pricing .phase-grow .growth-phase-badge {
  background: var(--ws-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200, 45, 68, 0.35);
}

.b-website-packages-with-pricing .growth-phase-title { font-size: 21px; margin-bottom: 4px; }

.b-website-packages-with-pricing .growth-phase-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 8px;
}
.b-website-packages-with-pricing .growth-phase-price {
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: var(--ws-text);
}
.b-website-packages-with-pricing .growth-phase-price-label {
  font-size: 13px;
  color: var(--ws-muted);
}

.b-website-packages-with-pricing .growth-phase-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ws-text-2);
}

.b-website-packages-with-pricing .growth-phase-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ws-muted);
}

/* Accent-tick points list */
.b-website-packages-with-pricing .tick-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.b-website-packages-with-pricing .tick-list li {
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ws-text-2);
}
.b-website-packages-with-pricing .tick-list li strong { color: var(--ws-text); font-weight: 600; }
.b-website-packages-with-pricing .tick-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ws-accent-soft);
  color: var(--ws-accent);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .b-website-packages-with-pricing .growth-package-phases { grid-template-columns: 1fr; }
  .b-website-packages-with-pricing .growth-phase-connector svg { transform: rotate(90deg); }
}

@media (max-width: 767px) {
  .b-website-packages-with-pricing .growth-phase-price { font-size: 32px; }
  .b-website-packages-with-pricing .gp-intro { margin-bottom: 26px; }
}

@media (max-width: 479px) {
  .b-website-packages-with-pricing .growth-package-header { flex-wrap: wrap; text-align: center; }
  .b-website-packages-with-pricing .growth-phase-price { font-size: 28px; }
}

/* ===== website_quote ===== */
.b-website-quote { max-width: 880px; margin: 0 auto; }
.b-website-quote .wq-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}

/* Progress bar */
.b-website-quote .wq-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.b-website-quote .wq-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(23, 20, 42, 0.08);
  overflow: hidden;
}
.b-website-quote .wq-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent-dark));
  transition: width .45s ease;
}
.b-website-quote .wq-progress-text {
  font-family: var(--ws-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ws-muted);
  white-space: nowrap;
}

/* Steps */
.b-website-quote .wq-step-title { font-size: 22px; margin-bottom: 18px; }
.b-website-quote .wq-step-hint {
  font-size: 13.5px;
  color: var(--ws-muted);
  margin: -10px 0 16px;
}

.b-website-quote .wq-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.b-website-quote .wq-fields-stack { display: grid; gap: 12px; }
.b-website-quote .wq-conditional { margin-top: 18px; }

/* Selection cards (radio) — glass cards, pill-adjacent radius */
.b-website-quote .wq-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.b-website-quote .wq-card-group--four { grid-template-columns: repeat(4, 1fr); }
.b-website-quote .wq-card { position: relative; display: block; cursor: pointer; }
.b-website-quote .wq-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.b-website-quote .wq-card-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 20px;
  border-radius: var(--ws-radius-media);
  border: 1.5px solid var(--ws-line);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.b-website-quote .wq-card:hover .wq-card-inner { border-color: rgba(232, 66, 94, 0.5); }
.b-website-quote .wq-card input:checked + .wq-card-inner {
  border-color: var(--ws-accent);
  background: var(--ws-accent-soft);
  box-shadow: 0 10px 26px rgba(200, 45, 68, 0.12);
}
.b-website-quote .wq-card input:focus-visible + .wq-card-inner {
  outline: 2px solid var(--ws-accent);
  outline-offset: 2px;
}
.b-website-quote .wq-card-icon { color: var(--ws-accent); }
.b-website-quote .wq-card-label {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ws-text);
}
.b-website-quote .wq-card-desc { font-size: 12.5px; line-height: 1.5; color: var(--ws-text-2); }

/* Checkbox list */
.b-website-quote .wq-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.b-website-quote .wq-checkbox { position: relative; display: block; cursor: pointer; }
.b-website-quote .wq-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.b-website-quote .wq-checkbox-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--ws-line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ws-text);
  transition: border-color .3s ease, background .3s ease;
}
.b-website-quote .wq-checkbox:hover .wq-checkbox-inner { border-color: rgba(232, 66, 94, 0.5); }
.b-website-quote .wq-checkbox-box {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #dcd9e6;
  background: #fff;
  transition: background .3s ease, border-color .3s ease;
}
.b-website-quote .wq-checkbox input:checked + .wq-checkbox-inner {
  border-color: var(--ws-accent);
  background: var(--ws-accent-soft);
}
.b-website-quote .wq-checkbox input:checked + .wq-checkbox-inner .wq-checkbox-box {
  background: var(--ws-accent);
  border-color: var(--ws-accent);
}
.b-website-quote .wq-checkbox input:checked + .wq-checkbox-inner .wq-checkbox-box::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

/* Validation */
.b-website-quote .page-form-error {
  display: none;
  font-size: 12px;
  color: var(--ws-accent-dark);
  margin-top: 5px;
}
.b-website-quote .wq-group-error { margin-top: 12px; }
.b-website-quote input.has-error,
.b-website-quote textarea.has-error { border-color: var(--ws-accent-dark); }
.b-website-quote .wq-card-group.has-error .wq-card-inner,
.b-website-quote .wq-checkbox-group.has-error .wq-checkbox-inner {
  border-color: rgba(200, 45, 68, 0.5);
}

/* Summary */
.b-website-quote .wq-summary {
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-media);
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.b-website-quote .wq-summary-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--ws-line-soft);
  font-size: 14px;
}
.b-website-quote .wq-summary-row:last-child { border-bottom: 0; }
.b-website-quote .wq-summary-label {
  flex: none;
  width: 130px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ws-muted);
}
.b-website-quote .wq-summary-value { flex: 1; color: var(--ws-text-2); word-break: break-word; }
.b-website-quote .wq-summary-edit {
  flex: none;
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--ws-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--ws-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.b-website-quote .wq-summary-edit:hover { color: var(--ws-ink); }

/* Navigation */
.b-website-quote .wq-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}
.b-website-quote .wq-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(23, 20, 42, 0.16);
  border-radius: 999px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  font-family: var(--ws-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ws-text);
  cursor: pointer;
  transition: border-color .3s ease;
}
.b-website-quote .wq-nav-back:hover { border-color: rgba(232, 66, 94, 0.6); }
/* Counter the core full-width form-panel submit styling — the submit stays
   a pill (main-button pink) sitting in the nav row */
.b-website-quote .form-panel button[type="submit"] {
  width: auto;
  margin-top: 0;
  padding: 9px 11px 9px 26px;
  font-size: 15px;
  text-align: left;
}

/* Privacy / success / fail (display toggled by JS) */
.b-website-quote .page-form-privacy {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ws-muted);
  margin-top: 20px;
}
.b-website-quote .page-form-privacy a {
  color: var(--ws-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.b-website-quote .page-form-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 34px 10px;
  color: var(--ws-text);
}
.b-website-quote .page-form-success svg { color: var(--ws-accent); }
.b-website-quote .page-form-success h3 { margin: 6px 0 0; }
.b-website-quote .page-form-success p { color: var(--ws-text-2); font-size: 14.5px; }
.b-website-quote .page-form-fail p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ws-accent-dark);
}

@media (max-width: 991px) {
  .b-website-quote .wq-card-group--four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .b-website-quote .wq-fields-grid { grid-template-columns: 1fr; }
  .b-website-quote .wq-checkbox-group { grid-template-columns: 1fr; }
  .b-website-quote .wq-step-title { font-size: 19px; }
  .b-website-quote .wq-summary-label { width: 96px; }
}

@media (max-width: 479px) {
  .b-website-quote .wq-card-group,
  .b-website-quote .wq-card-group--four { grid-template-columns: 1fr; }
  .b-website-quote .wq-nav { flex-wrap: wrap; }
  .b-website-quote .wq-nav .main-button { flex: 1; width: auto; }
  .b-website-quote .wq-summary-row { flex-wrap: wrap; }
  .b-website-quote .wq-summary-label { width: 100%; }
}

/* ==========================================================================
   ZZ — ARCHIVE / UTILITY TEMPLATES (template-scoped styles, appended after blocks)
   Scopes: .t-archive (index/category/tag), .t-search, .t-404, .t-textpage,
           .t-blogarchive (Blog Archive page template)
   Relies on webshape-v2.css core (blog-card, cards, grids, type, buttons).
   ========================================================================== */

/* ===== shared: archive templates ===== */

/* Author archive (author.php): avatar above the display name */
.t-archive .author-avatar {
  display: block;
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 18px 0 16px;
  border: 1px solid var(--ws-line);
  box-shadow: var(--ws-shadow-card);
}

/* Pagination rendered by numeric_posts_nav() (functions.php) */
:is(.t-archive, .t-search, .t-blogarchive) .page-selector-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 44px 0 0;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}
:is(.t-archive, .t-search, .t-blogarchive) .page-selector-link {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--ws-line);
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  color: var(--ws-text-2);
  transition: all .3s ease;
}
:is(.t-archive, .t-search, .t-blogarchive) .page-selector-link:hover {
  border-color: rgba(232, 66, 94, 0.6);
  color: var(--ws-accent-dark);
}
:is(.t-archive, .t-search, .t-blogarchive) .page-selector-link.active {
  background: var(--ws-ink);
  color: #fff;
  border-color: var(--ws-ink);
}
:is(.t-archive, .t-search, .t-blogarchive) .page-selector-holder li,
:is(.t-archive, .t-search, .t-blogarchive) .page-selector-holder > div {
  color: var(--ws-muted);
  list-style: none;
}

/* Blog card extras (core styles image/panel/meta/title) */
:is(.t-archive, .t-search, .t-blogarchive) .blog-card { min-height: 400px; }
:is(.t-archive, .t-search, .t-blogarchive) .blog-card-ph {
  background: linear-gradient(160deg, #e7e4f2, #d5d1e4);
}
:is(.t-archive, .t-search, .t-blogarchive) .blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ws-text-2);
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Breadcrumbs + banner image */
:is(.t-archive, .t-blogarchive) .crumbs { margin-bottom: 26px; }
:is(.t-archive, .t-blogarchive) .archive-banner { margin-bottom: 36px; }
:is(.t-archive, .t-blogarchive) .archive-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Empty-state card */
:is(.t-archive, .t-search) .archive-empty {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--ws-text-2);
}

/* ===== t-search ===== */
.t-search .search-panel {
  max-width: 760px;
  margin: 0 0 44px;
}
.t-search .search-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.t-search .search-row input[type="search"] {
  flex: 1;
  width: 100%;
  border: 1.5px solid #dcd9e6;
  border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--ws-font);
  font-size: 14px;
  color: var(--ws-text);
  background: #fff;
  outline: none;
  transition: border-color .3s ease;
}
.t-search .search-row input[type="search"]:focus { border-color: var(--ws-accent); }
/* undo the generic .form-panel submit styling — the button is a main-button pill */
.t-search .search-row button[type="submit"] {
  width: auto;
  margin-top: 0;
  padding: 9px 11px 9px 26px;
  flex: none;
}
.t-search .search-card { display: block; }
.t-search .search-card .card-text { margin: 12px 0 0; }

/* ===== t-404 ===== */
.t-404 .t-404-panel {
  max-width: 640px;
  margin: 40px auto;
  text-align: center;
  padding: 56px 44px;
}
.t-404 .t-404-num {
  font-size: 128px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  margin: 18px 0 6px;
  background: linear-gradient(135deg, var(--ws-ink) 30%, var(--ws-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.t-404 .t-404-title { font-size: 28px; margin-bottom: 16px; }
.t-404 .t-404-panel p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ws-text-2);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== t-textpage ===== */
/* Align the title column with the centred long-form article column */
.t-textpage .title-holder.left {
  max-width: 760px;
  margin: 0 auto 36px;
}

/* ===== t-blogarchive ===== */
/* Live search box (pillar-page.js: #articleSearch / #articleSearchClear) */
.t-blogarchive .archive-search {
  position: relative;
  width: 100%;
  max-width: 360px;
  flex: none;
  margin-bottom: 6px;
}
.t-blogarchive .archive-search input {
  width: 100%;
  border: 1.5px solid #dcd9e6;
  border-radius: 999px;
  padding: 13px 52px 13px 22px;
  font-family: var(--ws-font);
  font-size: 14px;
  color: var(--ws-text);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color .3s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.t-blogarchive .archive-search input:focus { border-color: var(--ws-accent); }
.t-blogarchive .archive-search button {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-dark);
  font-size: 16px;
  line-height: 1;
  display: none; /* pillar-page.js shows it with display: flex */
  align-items: center;
  justify-content: center;
}
.t-blogarchive .archive-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--ws-text-2);
}
.t-blogarchive .archive-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--ws-muted);
}
.t-blogarchive .archive-load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ===== responsive ===== */
@media (max-width: 991px) {
  :is(.t-archive, .t-search, .t-blogarchive) .blog-card { min-height: 380px; }
  :is(.t-archive, .t-blogarchive) .archive-banner img { height: 240px; }
  .t-blogarchive .archive-search { max-width: none; }
}

@media (max-width: 767px) {
  :is(.t-archive, .t-search, .t-blogarchive) .blog-card { min-height: 340px; }
  :is(.t-archive, .t-blogarchive) .archive-banner img { height: 200px; }
  .t-404 .t-404-num { font-size: 96px; }
  .t-404 .t-404-panel { padding: 44px 28px; }
  .t-search .search-row { flex-direction: column; align-items: stretch; }
  .t-search .search-row button[type="submit"] { justify-content: space-between; }
}

@media (max-width: 479px) {
  :is(.t-archive, .t-search, .t-blogarchive) .blog-card { min-height: 310px; }
  .t-404 .t-404-num { font-size: 76px; letter-spacing: -2px; }
  .t-404 .t-404-title { font-size: 23px; }
  .t-blogarchive .archive-load-more .ghost-button { width: 100%; }
}

/* ==========================================================================
   ZZ — SINGLE TEMPLATES (template-scoped styles, appended after blocks)
   Scopes: .t-single-post, .t-single-ideas
   Relies on webshape-v2.css core (cards, grids, type, buttons).
   ========================================================================== */

/* ===== single-post ===== */

/* Reading progress bar (pillar-page.js → #readingProgress) */
.t-single-post .reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ws-accent), var(--ws-accent-dark));
  z-index: 90;
  pointer-events: none;
}

.t-single-post .post-head { max-width: 900px; margin: 0 auto; text-align: center; }
.t-single-post .post-head .crumbs { justify-content: center; margin-bottom: 26px; }
.t-single-post .post-head .tag-chip { margin-bottom: 16px; }
.t-single-post .post-head h1 { margin-bottom: 18px; }

.t-single-post .post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.t-single-post .post-meta .meta-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ws-faint);
}

.t-single-post .post-hero-media {
  margin-top: 36px;
  border-radius: var(--ws-radius-panel);
  box-shadow: var(--ws-shadow-panel);
  aspect-ratio: 21 / 9;
}

/* Two-column layout: sticky sidebar + article */
.t-single-post .post-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.t-single-post .post-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.t-single-post .post-layout .article-body { margin: 0 auto; }

/* TOC card (pillar-page.js scroll-spy → .toc-link / .active) */
.t-single-post .toc-card .small-title { margin-bottom: 12px; }
.t-single-post .toc-nav { display: flex; flex-direction: column; }
.t-single-post .toc-link {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--ws-line-soft);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ws-text-2);
  transition: all .25s ease;
}
.t-single-post .toc-link:hover { color: var(--ws-accent-dark); }
.t-single-post .toc-link.active {
  border-left-color: var(--ws-accent);
  color: var(--ws-accent-dark);
  background: var(--ws-accent-soft);
  font-weight: 500;
}
.t-single-post .toc-cta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ws-line-soft);
  text-align: center;
}
.t-single-post .toc-cta p { font-size: 13.5px; color: var(--ws-text-2); margin-bottom: 12px; }
.t-single-post .toc-cta .main-button { width: 100%; justify-content: space-between; }

/* Categories card */
.t-single-post .cats-card .small-title { margin-bottom: 12px; }
.t-single-post .cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ws-text-2);
  transition: all .25s ease;
}
.t-single-post .cat-link:hover { background: var(--ws-accent-soft); color: var(--ws-accent-dark); }
.t-single-post .cat-link.active { background: var(--ws-accent-soft); color: var(--ws-accent-dark); font-weight: 500; }
.t-single-post .cat-count {
  font-family: var(--ws-mono);
  font-size: 11px;
  color: var(--ws-muted);
  background: rgba(23, 20, 42, 0.05);
  border-radius: 999px;
  padding: 2px 9px;
}

/* CTA card */
.t-single-post .post-cta-card { text-align: center; padding: 48px 32px; }
.t-single-post .post-cta-card .section-lede { max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 991px) {
  .t-single-post .post-layout { grid-template-columns: 1fr; gap: 32px; }
  .t-single-post .post-sidebar { position: static; order: 2; }
  .t-single-post .post-layout .article-body { order: 1; }
}
@media (max-width: 767px) {
  .t-single-post .post-hero-media { aspect-ratio: 16 / 10; margin-top: 28px; }
}
@media (max-width: 479px) {
  .t-single-post .post-meta { gap: 8px; }
}

/* ===== shared: search input + no-results (single-ideas, pillar pages) ===== */
.ws-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 36px;
}
.ws-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ws-muted);
  pointer-events: none;
}
.ws-search-input {
  width: 100%;
  border: 1.5px solid #dcd9e6;
  border-radius: 999px;
  padding: 14px 52px 14px 50px;
  font-family: var(--ws-font);
  font-size: 14.5px;
  color: var(--ws-text);
  background: rgba(255, 255, 255, 0.75);
  outline: none;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: border-color .3s ease;
}
.ws-search-input:focus { border-color: var(--ws-accent); }
.ws-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(23, 20, 42, 0.06);
  color: var(--ws-text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
}
.ws-search-clear:hover { background: var(--ws-accent-soft); color: var(--ws-accent-dark); }
.ws-no-results {
  text-align: center;
  color: var(--ws-muted);
  font-size: 14.5px;
  margin: 24px 0 0;
}

/* ===== single-ideas ===== */

.t-single-ideas .pillar-hero-content {
  max-width: 780px;
  padding: 30px 0 10px;
}
.t-single-ideas .pillar-hero-content .crumbs { margin-bottom: 26px; }
.t-single-ideas .pillar-hero-content .pill.badge { margin-bottom: 18px; }
.t-single-ideas .pillar-hero-content h1 { margin-bottom: 16px; }
.t-single-ideas .pillar-hero-content .section-lede { max-width: 620px; }
.t-single-ideas .pillar-hero-content .stat-row { margin-top: 30px; }

/* Hero with a background image (ACF 'image' / featured image fallback):
   core handles the img + overlay + heading colour; lift the small text too */
.t-single-ideas .pillar-hero:has(> .background-image) { padding: 90px 0 70px; }
.t-single-ideas .pillar-hero:has(> .background-image) .crumbs,
.t-single-ideas .pillar-hero:has(> .background-image) .crumbs a,
.t-single-ideas .pillar-hero:has(> .background-image) .section-lede,
.t-single-ideas .pillar-hero:has(> .background-image) .stat-label {
  color: rgba(255, 255, 255, 0.82);
}
.t-single-ideas .pillar-hero:has(> .background-image) .stat-num { color: #fff; }
.t-single-ideas .pillar-hero:has(> .background-image) .stat-divider { background: rgba(255, 255, 255, 0.25); }
.t-single-ideas .pillar-hero:has(> .background-image) .pill.badge {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.t-single-ideas .pillar-intro-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.t-single-ideas .pillar-intro-sidebar .small-title { margin-bottom: 14px; }
.t-single-ideas .pillar-intro-text h2 { margin-bottom: 0.6em; }

/* Articles grid (pillar-page.js search + load more → #articlesGrid) */
.t-single-ideas .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.t-single-ideas .article-card {
  display: flex;
  flex-direction: column;
  background: var(--ws-glass);
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-card);
  overflow: hidden;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: var(--ws-shadow-card);
  transition: border-color .4s ease;
}
.t-single-ideas .article-card:hover { border-color: rgba(232, 66, 94, 0.6); }
.t-single-ideas .article-card--featured { grid-column: span 2; }
.t-single-ideas .article-card-image {
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  flex: none;
}
.t-single-ideas .article-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(232, 66, 94, 0.12), rgba(109, 90, 230, 0.1));
}
.t-single-ideas .article-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 22px 22px;
  flex: 1;
}
.t-single-ideas .article-card-body h3 { font-size: 18px; margin: 0; }
.t-single-ideas .article-card-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ws-text-2);
  margin: 0;
}
.t-single-ideas .article-read-more {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ws-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.t-single-ideas .article-card:hover .article-read-more .card-arrow { transform: translate(2px, -2px); }

/* Dark CTA band */
.t-single-ideas .pillar-cta-band .pillar-cta-inner { margin-bottom: 0; align-items: center; }
.t-single-ideas .pillar-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex: none;
}

/* FAQ — pillar-page.js drives .pillar-faq-* (accordion, search, hidden) */
.t-single-ideas .pillar-faq .ws-search { margin-top: -8px; }
.t-single-ideas .pillar-faq-item.hidden { display: none; }

@media (max-width: 991px) {
  .t-single-ideas .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .t-single-ideas .article-card--featured { grid-column: span 2; }
}
@media (max-width: 767px) {
  .t-single-ideas .articles-grid { grid-template-columns: 1fr; }
  .t-single-ideas .article-card--featured { grid-column: auto; }
  .t-single-ideas .pillar-cta-actions { width: 100%; }
}
@media (max-width: 479px) {
  .t-single-ideas .pillar-cta-actions .main-button,
  .t-single-ideas .pillar-cta-actions .ghost-button { width: 100%; justify-content: center; }
}


/* 16. PAGE TRANSITION --------------------------------------------------------
   Same mechanism as the reference: a full-screen overlay in the page colour.
   Leaving, it slides up from the bottom to cover the page (GSAP, 0.6s
   power3.in), then we navigate. Arriving, it is already covering (html.ws-arriving
   is set before first paint by an inline script in header.php) and fades out
   (0.6s power2.out) while the page sections stagger in. Driven by
   initPageTransition() in webshape-v2.js. */
.ws-page-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: calc(100vh + 7rem);        /* overshoot so mobile URL bars never expose a gap */
  background: var(--ws-bg);
  z-index: 10000;
  pointer-events: none;
  transform: translateY(100%);                     /* parked below the viewport */
  will-change: transform, opacity;
}
html.ws-dark .ws-page-overlay { background: var(--ws-ink); }
html.ws-arriving .ws-page-overlay { transform: none; }
/* Safety net: if the script never runs, CSS fades the overlay after 2.5s */
@keyframes ws-overlay-out { to { opacity: 0; visibility: hidden; } }
html.ws-arriving .ws-page-overlay { animation: ws-overlay-out .6s ease 2.5s forwards; }
@media (prefers-reduced-motion: reduce) {
  .ws-page-overlay { display: none; }
}
