/* Header & Mobile Navigation */
.wb-header {
  background: var(--wb-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.wb-header-inner {
  max-width: var(--wb-inner-max, 1100px);
  margin: 0 auto;
  padding: 0.8em 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* CSS Logo */
.wb-header-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.wb-logo-strap {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-left: 0.6em;
  padding-left: 0.9em;
  border-left: 1px solid rgba(0,0,0,0.12);
  font-family: var(--wb-font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wb-dark);
  line-height: 1;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.wb-strap-dot {
  color: #ea7a1e;
  font-size: 0.7em;
  line-height: 1;
}
.wb-header-transparent .wb-logo-strap {
  color: rgba(255,255,255,0.85);
  border-left-color: rgba(255,255,255,0.2);
}
.wb-header-scrolled .wb-logo-strap {
  color: var(--wb-dark) !important;
  border-left-color: rgba(0,0,0,0.12) !important;
}
@media (max-width: 900px) {
  .wb-logo-strap { display: none; }
}
.wb-logo-text {
  font-family: var(--wb-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.wb-logo-sortit {
  color: #86ad12;
}
.wb-logo-web {
  color: var(--wb-dark);
  font-weight: 400;
  transition: color 0.4s ease;
}
.wb-logo-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 1;
  position: relative;
  background: transparent;
  padding-top: 0;
}
.wb-logo-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    #ea7a1e 0deg, #ea7a1e 80deg,
    transparent 80deg, transparent 90deg,
    #13a4c3 90deg, #13a4c3 170deg,
    transparent 170deg, transparent 180deg,
    #86ad12 180deg, #86ad12 260deg,
    transparent 260deg, transparent 270deg,
    #13a4c3 270deg, #13a4c3 350deg,
    transparent 350deg, transparent 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  transition: opacity 0.4s ease;
}
.wb-logo-badge-est {
  font-family: var(--wb-font-heading);
  font-size: 0.35rem;
  font-weight: 400;
  color: var(--wb-dark);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 8px;
  margin-bottom: 1px;
  transition: color 0.4s ease;
}
.wb-logo-badge-year {
  font-family: var(--wb-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wb-dark);
  letter-spacing: -0.01em;
  transition: color 0.4s ease;
}

/* Transparent header — homepage hero overlay */
.wb-header-transparent {
  background: transparent;
  box-shadow: none;
}
.wb-header-transparent .wb-logo-web {
  color: #ffffff;
}
.wb-header-transparent .wb-logo-badge::before {
  opacity: 0.85;
}
.wb-header-transparent .wb-logo-badge-est,
.wb-header-transparent .wb-logo-badge-year {
  color: rgba(255,255,255,0.8);
}
.wb-header-transparent .wb-header-nav a {
  color: rgba(255,255,255,0.85);
}
.wb-header-transparent .wb-header-nav a:hover,
.wb-header-transparent .wb-header-nav a.active {
  color: #ffffff;
}
.wb-header-transparent .wb-menu-toggle {
  color: rgba(255,255,255,0.85);
}

/* Scrolled state — solid background */
.wb-header-scrolled {
  background: var(--wb-white) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}
.wb-header-scrolled .wb-logo-web {
  color: var(--wb-dark) !important;
}
.wb-header-scrolled .wb-logo-badge::before {
  opacity: 1 !important;
}
.wb-header-scrolled .wb-logo-badge-est,
.wb-header-scrolled .wb-logo-badge-year {
  color: var(--wb-dark) !important;
}
.wb-header-scrolled .wb-header-nav a {
  color: var(--wb-text) !important;
}
.wb-header-scrolled .wb-header-nav a:hover,
.wb-header-scrolled .wb-header-nav a.active {
  color: var(--wb-primary) !important;
}
.wb-header-scrolled .wb-menu-toggle {
  color: var(--wb-text) !important;
}

.wb-header-nav ul {
  display: flex;
  gap: 2em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wb-header-nav a {
  color: var(--wb-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.wb-header-nav a:hover,
.wb-header-nav a.active { color: var(--wb-primary); }

/* Body offset for fixed header on inner pages */
body:not(:has(.discovery-impact)) main {
  padding-top: 60px;
}

/* Dropdown menu */
.wb-header-nav li { position: relative; }
.wb-header-nav li.has-dropdown > a .fa-chevron-down {
  margin-left: 0.3em;
  transition: transform 0.3s ease;
}
.wb-header-nav li.has-dropdown:hover > a .fa-chevron-down {
  transform: rotate(180deg);
}
.wb-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1em;
  background: var(--wb-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: var(--wb-radius-sm, 6px);
  padding: 0.5em 0;
  min-width: 220px;
  z-index: 200;
  flex-direction: column;
  gap: 0;
}
/* Dropdown always has solid background and dark text regardless of header state */
.wb-dropdown li a {
  color: var(--wb-text) !important;
}
.wb-header-nav li.has-dropdown:hover .wb-dropdown { display: flex; }
.wb-dropdown li { padding: 0; }
.wb-dropdown li a {
  display: block;
  padding: 0.6em 1.5em;
  white-space: nowrap;
  font-size: 0.9rem;
}
.wb-dropdown li a:hover {
  background: var(--wb-light, #f8fafc);
  color: var(--wb-primary);
}

.wb-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--wb-text);
  cursor: pointer;
}

/* Blog card extras */
.blog-card { overflow: hidden; padding: 0; }
.blog-card-image { display: block; height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.5em; }
.blog-card-meta { font-size: 0.85rem; color: var(--wb-text-muted); margin-bottom: 0.5em; }
.blog-card-cat { color: var(--wb-primary); margin-left: 0.3em; }
.blog-card h3 { margin: 0.3em 0; }
.blog-card h3 a { color: var(--wb-text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--wb-primary); }
.blog-card p { color: var(--wb-text-light); font-size: 0.95rem; line-height: 1.6; margin: 0.5em 0; }
.blog-card-link { font-weight: 600; font-size: 0.9rem; color: var(--wb-primary); text-decoration: none; }

/* Blog post styles */
.blog-post-meta { color: var(--wb-text-muted); font-size: 0.9rem; }
.blog-post-meta a { color: var(--wb-primary); text-decoration: none; }
.blog-post-content { line-height: 1.8; font-size: 1.05rem; }
.blog-post-content h2 { margin-top: 2em; }
.blog-post-content img { border-radius: var(--wb-radius-md); margin: 1.5em 0; }
.blog-post-tags a { margin-right: 0.3em; }
.blog-post-nav a { color: var(--wb-primary); text-decoration: none; font-size: 0.9rem; }

/* ── Discovery Hero — Impact Section (Vanta Dark, Fixed) ── */
.discovery-impact {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0c1420;
  z-index: 0;
}
.discovery-spacer {
  height: 100vh;
  position: relative;
}

/* Ensure all page content stacks above fixed hero */
.discovery-spacer ~ * {
  position: relative;
  z-index: 1;
}
.discovery-spacer ~ .wb-section,
.discovery-spacer ~ .counters-section,
.discovery-spacer ~ .collage-section,
.discovery-spacer ~ .cta-block {
  position: relative;
  z-index: 1;
}

/* Also handle content from _index.md that comes via .Content */
main > .wb-section,
main > .counters-section,
main > .collage-section,
main > .cta-block {
  position: relative;
  z-index: 1;
  background-color: inherit;
}
main > .wb-section.wb-white,
.wb-section.wb-white { background-color: #fff; }
main > .wb-section.wb-light,
.wb-section.wb-light { background-color: var(--wb-light, #f8fafc); }
main > .wb-section,
.discovery-spacer ~ .wb-section {
  position: relative;
  z-index: 1;
}
.discovery-vanta {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Impact message — centered in viewport */
.discovery-impact-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5em;
}
.discovery-headline {
  text-align: center;
  max-width: 950px;
}
.discovery-lead {
  font-family: var(--wb-font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin: 0 0 0.1em;
  letter-spacing: 0.03em;
}
.discovery-rotate-word {
  font-family: var(--wb-font-heading);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 700;
  color: #13a4c3;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 0.3em;
  min-height: 1.15em;
  text-shadow: 0 0 60px rgba(19,164,195,0.25), 0 0 120px rgba(19,164,195,0.1);
}
.discovery-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.4);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}
.discovery-phrase { white-space: nowrap; }

/* Scroll anchor — sits at bottom of viewport */
.discovery-scroll-anchor {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5em 3em;
}
.discovery-scroll-anchor h2 {
  font-family: var(--wb-font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 0 0 0.4em;
  display: inline-block;
  position: relative;
}
.discovery-scroll-anchor h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--wb-accent);
  border-radius: 2px;
}
.discovery-question-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
  margin: 1.2em 0 1em;
}
.discovery-scroll-hint {
  color: var(--wb-accent);
  font-size: 1.3rem;
  animation: discoveryBounce 2s ease-in-out infinite;
}
@keyframes discoveryBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Discovery Paths Section */
.discovery-paths-section {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4em 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.3);
}
.discovery-paths-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5em;
}

/* Discovery Cards */
.discovery-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  max-width: 1100px;
  margin: 0 auto;
}
.discovery-paths--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}
@media (max-width: 600px) {
  .discovery-paths,
  .discovery-paths--2col { grid-template-columns: 1fr; }
}
.discovery-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2.5em 2em;
  text-decoration: none;
  color: inherit;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.discovery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--card-accent, var(--wb-primary));
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease;
  border-radius: 16px 0 0 16px;
}
.discovery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  background: rgba(255,255,255,1);
  border-color: transparent;
}
.discovery-card:hover::before {
  opacity: 1;
  width: 5px;
}
.discovery-card[data-accent="#86ad12"] { --card-accent: #86ad12; }
.discovery-card[data-accent="#ea7a1e"] { --card-accent: #ea7a1e; }
.discovery-card[data-accent="#1da4a4"] { --card-accent: #1da4a4; }
.discovery-card[data-accent="#13a4c3"] { --card-accent: #13a4c3; }

/* Non-clickable variant — same look, no pointer/hover-lift */
.discovery-card--static { cursor: default; }
.discovery-card--static:hover { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.discovery-card--static .discovery-card-icon { opacity: 1; }

/* Discovery-paths breakpoints: 3 cols desktop, 2 cols tablet, 1 col mobile */
@media (max-width: 1024px) {
  .discovery-paths { grid-template-columns: repeat(2, 1fr); }
}

/* ── Image-backed CTA section (full-bleed) ── */
.cta-image {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 7em 1.5em;
  background-image: var(--cta-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  border-bottom: 10px solid #fff;
}
.cta-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,20,32,0.68) 0%, rgba(26,44,74,0.62) 50%, rgba(12,20,32,0.70) 100%);
  z-index: 0;
  pointer-events: none;
}
.cta-image-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cta-image-shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; }
.cta-image-shape.s1 { width: 380px; height: 380px; top: -120px; left: -100px;
  background: radial-gradient(circle, #86ad12 0%, transparent 70%); }
.cta-image-shape.s2 { width: 320px; height: 320px; bottom: -100px; right: -80px;
  background: radial-gradient(circle, #13a4c3 0%, transparent 70%); }
.cta-image-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.cta-image-eyebrow {
  display: inline-block;
  padding: 0.4em 1em;
  border-radius: 999px;
  background: rgba(134,173,18,0.18);
  border: 1px solid rgba(134,173,18,0.4);
  color: #b6d44a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.cta-image-title {
  font-family: var(--wb-font-heading);
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: #fff;
}
.cta-image-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 2em;
  max-width: 620px;
}
.cta-image-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7em 1.4em;
}
.cta-image-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1em 2em;
  background: #86ad12;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: var(--wb-radius-md, 8px);
  box-shadow: 0 8px 24px rgba(134,173,18,0.35);
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.cta-image-btn:hover {
  background: #95c014;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(134,173,18,0.5);
  color: #fff;
}
.cta-image-btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.4);
}
.cta-image-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: none;
  border-color: rgba(255,255,255,0.7);
}
.cta-image-btn-bounce {
  display: inline-block;
  animation: cta-bounce 2s ease-in-out infinite;
}
@keyframes cta-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media (max-width: 600px) {
  .cta-image { padding: 4em 1.2em; background-attachment: scroll; }
}

.discovery-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--card-accent, var(--wb-primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2em;
  opacity: 0.5;
  transition: all 0.4s ease;
}
.discovery-card:hover .discovery-card-icon {
  opacity: 1;
  transform: scale(1.1);
}
.discovery-card h3 {
  font-family: var(--wb-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wb-primary);
  margin: 0 0 0.5em;
}
.discovery-card p {
  font-size: 0.95rem;
  color: #5a6577;
  line-height: 1.6;
  margin: 0 0 1.2em;
}
.discovery-card-go {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wb-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.discovery-card:hover .discovery-card-go {
  opacity: 1;
  transform: translateX(0);
  color: var(--card-accent);
}

/* Discovery card entrance — handled by GSAP ScrollTrigger now */
.discovery-card {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

/* Headline entrance — CSS fallback */
.discovery-lead, .discovery-rotate-word, .discovery-sub,
.discovery-scroll-anchor, .discovery-scroll-anchor h2,
.discovery-question-sub, .discovery-scroll-hint {
  opacity: 0;
  animation: discoveryFadeUp 0.7s ease forwards;
}
.discovery-lead { animation-delay: 0.1s; }
.discovery-rotate-word { animation-delay: 0.25s; }
.discovery-sub { animation-delay: 0.4s; }
.discovery-scroll-anchor { animation-delay: 0.5s; }
@keyframes discoveryFadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .discovery-paths { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .discovery-impact { height: auto; min-height: 100vh; }
  .discovery-impact-inner { padding: 2em 1em; }
  .discovery-paths { grid-template-columns: 1fr; gap: 1em; }
  .discovery-card { padding: 1.5em; }
  .discovery-card-go { opacity: 1; transform: none; }
  .discovery-scroll-anchor { padding-bottom: 1.5em; }
}

/* ── Hero Slideshow ── */
.hero-slideshow {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0s;
}
.hero-slide.active { opacity: 1; }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.6) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  padding: 2em 1.5em;
  text-align: center;
}
.hero-slide-content .wb-h1 {
  color: var(--wb-white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.4em;
}
.hero-slide-content .wb-subtitle {
  color: var(--wb-accent);
  max-width: 700px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}
.slide-cta { margin-top: 2em; }
.hero-dots {
  position: absolute;
  bottom: 2em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75em;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-dot.active, .hero-dot:hover {
  background: var(--wb-white);
  border-color: var(--wb-white);
}

/* ── Overlapping Collage ── */
.collage-section { padding: 6em 1.5em; overflow: visible; position: relative; z-index: 1; background: #ffffff !important; }
.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.collage-images {
  position: relative;
  height: 450px;
}
.collage-img {
  position: absolute;
  overflow: hidden;
  border-radius: var(--wb-radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.collage-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-img:nth-child(1) {
  width: 65%;
  height: 320px;
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-2deg);
}
.collage-img:nth-child(2) {
  width: 55%;
  height: 260px;
  top: 40px;
  right: 0;
  z-index: 2;
  transform: rotate(1.5deg);
}
.collage-img:nth-child(3) {
  width: 45%;
  height: 200px;
  bottom: 0;
  left: 15%;
  z-index: 3;
  transform: rotate(-1deg);
}
.collage-text {
  padding: 2em 0;
}
.collage-text h2 { margin-bottom: 0.5em; }
.collage-text p { color: var(--wb-text-light); line-height: 1.7; }

/* ── Showcase Carousel ── */
.carousel-section { padding: 5em 0; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 2em;
  padding: 1em 1.5em;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--wb-white);
  border-radius: var(--wb-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carousel-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.carousel-card-img { height: 200px; overflow: hidden; }
.carousel-card-img img { width: 100%; height: 100%; object-fit: cover; }
.carousel-card-body { padding: 1.5em; }
.carousel-card-body h3 { font-family: var(--wb-font-heading); margin-bottom: 0.5em; }
.carousel-card-body p { color: var(--wb-text-light); font-size: 0.95rem; line-height: 1.6; }
.carousel-nav {
  text-align: center;
  margin-top: 1.5em;
}
.carousel-nav button {
  background: none;
  border: 2px solid var(--wb-primary);
  color: var(--wb-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 0.5em;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.carousel-nav button:hover { background: var(--wb-primary); color: var(--wb-white); }

/* ── Counters ── */
.counters-section {
  background: #1a1a2e !important;
  padding: 4em 1.5em;
  position: relative;
  z-index: 1;
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.counter-item .counter {
  font-family: var(--wb-font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--wb-secondary);
  line-height: 1;
}
.counter-item .counter-suffix {
  font-family: var(--wb-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--wb-secondary);
}
.counter-item .counter-static {
  font-family: var(--wb-font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--wb-secondary);
  line-height: 1;
}
.counter-item .counter-label {
  color: #8892a6;
  font-size: 0.95rem;
  margin-top: 0.5em;
}

/* ── Full-screen Statement ── */
.statement-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
/* iOS doesn't support background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
  .statement-section { background-attachment: scroll; }
}
.statement-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.75) 100%);
}
.statement-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2em 1.5em;
}
.statement-text {
  font-family: var(--wb-font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--wb-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.5em;
}
.statement-text em {
  font-style: normal;
  color: var(--wb-secondary);
}
.statement-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #8892a6;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ── CTA Block ── */
.cta-block {
  padding: 6em 1.5em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #1a1a2e !important;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(78,205,196,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,122,204,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--wb-font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--wb-white);
  margin-bottom: 0.5em;
}
.cta-text {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #b8c0d0;
  line-height: 1.6;
  margin-bottom: 0;
}
.cta-action { margin-top: 2em; }
.cta-action .wb-btn {
  padding: 1em 2.5em;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(78,205,196,0.3);
  transition: all 0.3s ease;
}
.cta-action .wb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78,205,196,0.4);
}

/* ── Form Styles ── */
.wb-form input,
.wb-form textarea,
.wb-form select {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid #e2e8f0;
  border-radius: var(--wb-radius-sm);
  font-family: var(--wb-font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--wb-white);
}
.wb-form input:focus,
.wb-form textarea:focus {
  outline: none;
  border-color: var(--wb-primary);
  box-shadow: 0 0 0 3px rgba(0,122,204,0.1);
}
.wb-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3em;
  color: var(--wb-text);
}
.wb-form .form-group { margin-bottom: 1.5em; }
.wb-form-honeypot { position: absolute; left: -9999px; }
.wb-form .form-status {
  padding: 1em;
  border-radius: var(--wb-radius-sm);
  margin-top: 1em;
  display: none;
}
.wb-form .form-status.success { display: block; background: #ecfdf5; color: #065f46; }
.wb-form .form-status.error { display: block; background: #fef2f2; color: #991b1b; }

/* ── Text Reveal ── */
.reveal-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.reveal-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wb-primary);
  transform-origin: left;
}

/* ── Parallax container ── */
.parallax-wrap { overflow: hidden; }
.parallax-img { will-change: transform; }

/* ── Service Accent Colours ── */
/* Hero CTA button uses service accent */
.wb-hero .wb-btn-primary {
  background: var(--service-accent, var(--wb-primary));
  border-color: var(--service-accent, var(--wb-primary));
}
.wb-hero .wb-btn-primary:hover {
  filter: brightness(0.9);
}

/* Card icons use service accent as colour (no background) */
.wb-card-icon {
  color: var(--service-accent, var(--wb-primary)) !important;
  background: none !important;
}

/* Feature row left border accent */
.wb-feature-text {
  border-left: 3px solid var(--service-accent, transparent);
  padding-left: 1.5em;
}

/* Section dividers pick up service accent */
.wb-divider {
  background: var(--service-accent, var(--wb-primary)) !important;
}

/* CTA block button uses service accent */
.cta-action .wb-btn {
  background: var(--service-accent, var(--wb-secondary));
  border-color: var(--service-accent, var(--wb-secondary));
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.cta-action .wb-btn:hover {
  filter: brightness(0.9);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* FAQ question chevron uses service accent */
.wb-faq-question::after {
  color: var(--service-accent, var(--wb-primary));
}

/* ── Points of Difference — Terrain shows through ── */
.pod-parallax {
  position: relative;
  z-index: 1;
  background: transparent;
}
.pod-parallax::before {
  display: none;
}
.pod-parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5em;
}
.pod-statement {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.pod-statement.pod-visible {
  opacity: 1;
  transform: translateY(0);
}
.pod-statement h2 {
  font-family: var(--wb-font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4em;
  line-height: 1.1;
}
.pod-statement p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 600px;
  margin: 0;
}
@media (max-width: 900px) {
  .pod-statement { min-height: 65vh; padding: 1.5em 0; }
}
@media (max-width: 600px) {
  .pod-statement { min-height: 50vh; padding: 1.2em 0; }
  .pod-statement h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .pod-statement p { font-size: 1rem; }
}

/* ── Client Showcase — Masonry ── */
.client-showcase {
  background: #f8f9fc;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 5em 0 5em;
}
.showcase-masonry {
  column-count: 4;
  column-gap: 1em;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5em;
}
.showcase-tile {
  break-inside: avoid;
  margin: 0 0 1em;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-tile img {
  width: 100%;
  height: auto;
  display: block;
}
.showcase-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}
@media (max-width: 1024px) {
  .showcase-masonry { column-count: 3; }
}
@media (max-width: 700px) {
  .showcase-masonry { column-count: 2; column-gap: 0.7em; padding: 0 1em; }
  .showcase-tile { margin-bottom: 0.7em; }
  /* Cap masonry density on mobile — show first 12 of 18 */
  .showcase-tile:nth-child(n+13) { display: none; }
}

/* ── Contact CTA Cards ── */
.contact-ctas {
  background: #ffffff;
  padding: 6em 1.5em;
  position: relative;
}
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}
.cta-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3em 2em;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  border: 2px solid #e8ecf0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
/* Shimmer sweep on hover */
.cta-card-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(134,173,18,0.08), transparent);
  transition: none;
}
.cta-card-item:hover::after {
  animation: ctaShimmer 0.6s ease forwards;
}
@keyframes ctaShimmer {
  to { left: 150%; }
}
.cta-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(134,173,18,0.15);
  border-color: #86ad12;
}
.cta-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #86ad12, #9bc225);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5em;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cta-card-item:hover .cta-card-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(134,173,18,0.3);
}
.cta-card-item h3 {
  font-family: var(--wb-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wb-primary);
  margin: 0 0 0.4em;
}
.cta-card-item p {
  font-size: 1rem;
  color: #5a6577;
  margin: 0 0 1.5em;
  line-height: 1.5;
}
.cta-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #86ad12;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.cta-card-item:hover .cta-card-label {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .cta-cards {
    grid-template-columns: 1fr;
    gap: 1.5em;
    max-width: 400px;
  }
  .cta-card-item { padding: 2em 1.5em; }
  .cta-card-label { opacity: 1; transform: none; }
}

/* ── Inner Page Hero (animated) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8em 1.5em 4.5em;
  background: linear-gradient(135deg, #0c1420 0%, #1a2c4a 50%, #0c1420 100%);
  isolation: isolate;
}
.page-hero-sm { min-height: 44vh; padding: 7em 1.5em 4em; }
.page-hero-lg { min-height: 70vh; padding: 9em 1.5em 5.5em; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: saturate(0.6);
  mix-blend-mode: luminosity;
}
.page-hero:not([style*="--hero-image"]) .page-hero-bg { display: none; }

.page-hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.page-hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: phFloat 18s ease-in-out infinite;
}
.page-hero-shape.ph-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--service-accent, #13a4c3) 0%, transparent 70%);
  top: -120px; left: -100px;
}
.page-hero-shape.ph-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #ea7a1e 0%, transparent 70%);
  bottom: -160px; right: -80px;
  animation-delay: -6s;
  opacity: 0.25;
}
.page-hero-shape.ph-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #86ad12 0%, transparent 70%);
  top: 30%; right: 25%;
  animation-delay: -12s;
  opacity: 0.18;
}
@keyframes phFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(0.95); }
}

.page-hero-inner { position: relative; z-index: 2; }

.page-hero-title {
  font-family: var(--wb-font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0;
}
.page-hero-title .ph-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: phWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.page-hero-title .ph-word + .ph-word { margin-left: 0.25em; }
.page-hero-title .ph-word-brand {
  color: #86ad12;
}
@keyframes phWordIn {
  to { opacity: 1; transform: translateY(0); }
}

.page-hero-strap {
  background: var(--service-accent, #2c3e50);
  padding: 1.4em 1.5em;
  position: relative;
  z-index: 2;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.page-hero-strap p {
  margin: 0;
  max-width: none;
  font-family: var(--wb-font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.page-hero-strap .wb-inner {
  max-width: none;
  width: 100%;
}

/* Bump body text in the first content section after the hero strap */
.page-hero-first-section p {
  font-size: 1.3em;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .page-hero { min-height: 36vh; padding: 6em 1em 3em; }
  .page-hero-sm { min-height: 32vh; padding: 5em 1em 2.5em; }
  .page-hero-strap { padding: 1.2em 1em; }
}

/* ── FAQ Accordion ── */
.wb-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--wb-radius-sm, 6px);
  margin-bottom: 0.75em;
  overflow: hidden;
}
.wb-faq-question {
  padding: 1.2em 1.5em;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}
.wb-faq-question::-webkit-details-marker { display: none; }
.wb-faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--wb-primary);
  transition: transform 0.3s ease;
}
.wb-faq-item[open] .wb-faq-question::after { transform: rotate(180deg); }
.wb-faq-item[open] .wb-faq-question { background: var(--wb-light, #f8fafc); }
.wb-faq-answer {
  padding: 0 1.5em 1.5em;
  line-height: 1.7;
  color: var(--wb-text-light);
}

/* ── Testimonials ── */
.wb-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
}
.wb-testimonial-card {
  background: var(--wb-white);
  border-radius: var(--wb-radius-sm, 6px);
  padding: 2em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid var(--wb-primary);
}
.wb-testimonial-card blockquote { margin: 0; }
.wb-testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--wb-text);
  margin: 0 0 0.75em;
}
.wb-testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wb-primary);
}

/* ── Portfolio ── */
.portfolio-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.portfolio-card-img { height: 200px; overflow: hidden; }
.portfolio-card-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card-body { padding: 1.5em; }
.portfolio-logo { max-height: 40px; width: auto; margin-bottom: 0.75em; }
.portfolio-card h3 { margin: 0.3em 0; font-size: 1.1rem; }
.portfolio-card p { color: var(--wb-text-light); font-size: 0.9rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.4em; margin-top: 0.75em; }
.portfolio-screenshot { margin-bottom: 2em; }
.portfolio-screenshot img { width: 100%; border-radius: var(--wb-radius-lg); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.portfolio-testimonial {
  background: var(--wb-light, #f8fafc);
  border-left: 4px solid var(--wb-primary);
  padding: 1.5em 2em;
  margin: 2em 0;
  border-radius: 0 var(--wb-radius-sm) var(--wb-radius-sm) 0;
}
.portfolio-testimonial p { font-style: italic; font-size: 1.05rem; line-height: 1.7; margin: 0; }
.portfolio-testimonial cite { display: block; margin-top: 0.75em; font-style: normal; font-weight: 600; color: var(--wb-text); }
.portfolio-link { margin-top: 2em; }
.portfolio-services { margin: 2em 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .collage-img:nth-child(1) { transform: rotate(-1deg); margin-right: -1em; }
  .collage-img:nth-child(2) { transform: rotate(1deg) translateY(2em); margin-left: -1.5em; }
  .collage-img:nth-child(3) { transform: rotate(0deg) translateY(-1em); margin-left: -1em; }
}

@media (max-width: 767px) {
  .wb-menu-toggle { display: block; }
  .wb-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wb-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1em;
  }
  .wb-header-nav.open { display: block; }
  .wb-header-nav ul { flex-direction: column; gap: 0; text-align: center; }
  .wb-header-nav ul li { padding: 0.75em 0; }
  /* Force dark text on the open mobile drawer regardless of header state.
     Otherwise the homepage transparent-header rule paints links white-on-white. */
  .wb-header-transparent .wb-header-nav.open a,
  .wb-header-nav.open a { color: var(--wb-dark) !important; }
  .wb-header-transparent .wb-header-nav.open a:hover,
  .wb-header-transparent .wb-header-nav.open a.active,
  .wb-header-nav.open a:hover,
  .wb-header-nav.open a.active { color: var(--wb-primary) !important; }
  .wb-dropdown {
    position: static;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    background: var(--wb-light, #f8fafc);
    border-radius: 0;
  }
  .wb-header-nav li.has-dropdown:hover .wb-dropdown,
  .wb-header-nav li.has-dropdown .wb-dropdown { display: flex; }
  .wb-dropdown li a { padding: 0.5em 1em; font-size: 0.85rem; }

  .hero-slideshow { min-height: 70vh; }
  .hero-slide-content { min-height: 70vh; }

  .collage-grid { grid-template-columns: 1fr; }
  .collage-images { height: 300px; }
  .collage-img:nth-child(1) { width: 60%; height: 220px; transform: rotate(-1deg); }
  .collage-img:nth-child(2) { width: 50%; height: 180px; top: 30px; transform: rotate(1deg); }
  .collage-img:nth-child(3) { width: 40%; height: 150px; transform: rotate(0deg); }
  .collage-text { padding: 1em 0; text-align: center; }

  .counters-grid { grid-template-columns: 1fr; gap: 1.5em; }
  .carousel-card { flex: 0 0 280px; }
}
