/* Web Lab — Fluid Responsive + Full-Width Design System */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/_assets/fonts.gstatic.com/s/bricolagegrotesque/v9/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvRviyMgvs-wJDtw.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/_assets/fonts.gstatic.com/s/bricolagegrotesque/v9/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvSniyMgvs-wJDtw.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/_assets/fonts.gstatic.com/s/bricolagegrotesque/v9/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvcXlyMgvs-wJDtw.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/_assets/fonts.gstatic.com/s/bricolagegrotesque/v9/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvfzlyMgvs-wJDtw.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Inter";
  src: url("/_assets/framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/_assets/framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5fb;
  --bg-dark: #0b0b28;
  --bg-dark-card: #141438;
  --ink: #0b0b28;
  --ink-muted: #5a5c74;
  --ink-on-dark: #ffffff;
  --ink-on-dark-muted: #c8cae0;
  --accent: #3224df;
  --accent-hover: #2418be;
  --accent-soft: #f1f0ff;
  --accent-on-dark: #dcd8ff;
  --border: #dedfed;
  --border-dark: rgba(255, 255, 255, 0.14);
  --control-outline: #85839f;
  --control-on-dark-hover: #e6e1ff;

  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Full-Width Fluid Spacing */
  --gutter: clamp(20px, 4vw, 64px);
  --space-section: clamp(64px, 7.5vw, 128px);
  --space-gap: clamp(16px, 2vw, 32px);
  --radius-sm: 14px;
  --radius-md: clamp(18px, 2vw, 26px);
  --radius-lg: clamp(22px, 2.5vw, 32px);
  --radius-pill: 999px;

  /* Fluid Type Scale (-15% headings, lighter weight, calmer lead) */
  --text-hero: clamp(2rem, 4.25vw, 4.45rem);
  --text-h1: clamp(1.78rem, 3.65vw, 3.82rem);
  --text-h2: clamp(1.45rem, 2.64vw, 2.68rem);
  --text-h3: clamp(1.02rem, 1.32vw, 1.4rem);
  --text-lead: clamp(0.95rem, 1.1vw, 1.1rem);
  --text-body: clamp(0.95rem, 1.02vw, 1.05rem);
  --text-sm: clamp(0.8125rem, 0.88vw, 0.875rem);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
  scroll-behavior: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-body);
  line-height: 1.55;
  overflow-x: clip;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--wl-focus-ring, var(--accent));
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: inherit;
}

p {
  margin: 0;
}

.wl-prose {
  max-width: 65ch;
}

/* Full-width fluid container (no max-width ceiling) */
.wl-container {
  width: 100%;
  padding-inline: var(--gutter);
}

.wl-section {
  width: 100%;
  padding-block: var(--space-section);
}

.wl-section--subtle {
  background: var(--bg-subtle);
}

.wl-section--tight {
  padding-block: clamp(32px, 4vw, 64px);
}

/* Skip link */
.wl-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
}
.wl-skip:focus {
  left: var(--gutter);
}

/* Floating Pill Navigation (Site-wide, Light & Dark Themes) */
.wl-nav-wrap {
  --wl-nav-bg: rgba(255, 255, 255, 0.96);
  --wl-nav-border: rgba(11, 11, 40, 0.08);
  --wl-nav-shadow: 0 12px 34px rgba(11, 11, 40, 0.14);
  --wl-nav-shadow-scrolled: 0 8px 24px rgba(11, 11, 40, 0.12);
  --wl-nav-link: var(--ink);
  --wl-nav-link-hover: var(--accent);
  --wl-nav-menu-bg: var(--bg);
  --wl-nav-menu-border: var(--border);
  --wl-nav-menu-ink: var(--ink);
  --wl-nav-drawer-bg: rgba(255, 255, 255, 0.98);
  --wl-nav-drawer-border: var(--border);
  --wl-nav-drawer-shadow: 0 18px 44px rgba(11, 11, 40, 0.16);
  --wl-nav-drawer-link: var(--ink);
  --wl-nav-drawer-divider: var(--border);

  position: fixed;
  top: clamp(12px, 1.6vw, 20px);
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  padding-inline: var(--gutter);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  pointer-events: none;
  transition: top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-nav-wrap[data-wl-nav-theme="dark"] {
  --wl-nav-bg: rgba(14, 14, 44, 0.9);
  --wl-nav-border: rgba(255, 255, 255, 0.14);
  --wl-nav-shadow: 0 14px 36px rgba(11, 11, 40, 0.24);
  --wl-nav-shadow-scrolled: 0 10px 26px rgba(11, 11, 40, 0.22);
  --wl-nav-link: rgba(255, 255, 255, 0.86);
  --wl-nav-link-hover: #ffffff;
  --wl-nav-menu-bg: var(--ink-on-dark);
  --wl-nav-menu-border: var(--ink-on-dark);
  --wl-nav-menu-ink: var(--ink);
  --wl-focus-ring: var(--ink-on-dark);
  --wl-nav-drawer-bg: rgba(14, 14, 44, 0.96);
  --wl-nav-drawer-border: rgba(255, 255, 255, 0.14);
  --wl-nav-drawer-shadow: 0 20px 50px rgba(4, 4, 20, 0.45);
  --wl-nav-drawer-link: #ffffff;
  --wl-nav-drawer-divider: rgba(255, 255, 255, 0.12);
}

.wl-nav {
  pointer-events: auto;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: 6px 8px 6px clamp(18px, 2.2vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--wl-nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--wl-nav-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--wl-nav-shadow);
  transition: padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              gap 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-nav .wl-brand,
.wl-nav .wl-brand-logo,
.wl-nav .wl-nav-links,
.wl-nav .wl-nav-links a,
.wl-nav .wl-nav-cta-desktop,
.wl-nav .wl-menu-btn,
.wl-nav .wl-menu-btn svg {
  transition: font-size 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              gap 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              min-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.24s ease,
              border-color 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86),
              color 0.24s ease;
}

.wl-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.wl-brand-logo {
  display: block;
  height: clamp(22px, 1.8vw, 26px);
  width: auto;
}

.wl-brand--light .wl-brand-logo {
  height: clamp(22px, 1.8vw, 26px);
}

.wl-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.wl-nav-links a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wl-nav-link);
  white-space: nowrap;
}

.wl-nav-links a:hover,
.wl-nav-links a[aria-current="page"] {
  color: var(--wl-nav-link-hover);
}

.wl-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wl-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--wl-nav-menu-border);
  background: var(--wl-nav-menu-bg);
  color: var(--wl-nav-menu-ink);
  cursor: pointer;
  padding: 0;
}

.wl-nav-wrap[data-wl-nav-theme="dark"] .wl-menu-btn:is(:hover, :active, [aria-expanded="true"]) {
  background: var(--control-on-dark-hover);
  border-color: var(--control-on-dark-hover);
}

.wl-menu-btn svg {
  width: 20px;
  height: 20px;
  overflow: visible;
}

.wl-menu-btn svg line {
  transform-origin: 12px 12px;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.22s ease;
}

.wl-menu-btn[aria-expanded="true"] svg line:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}

.wl-menu-btn[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.wl-menu-btn[aria-expanded="true"] svg line:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

.wl-mobile-drawer {
  display: block;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px) scale(0.975);
  transform-origin: top center;
  max-width: 1060px;
  margin: 10px auto 0;
  padding: 12px var(--gutter) 24px;
  border: 1px solid var(--wl-nav-drawer-border);
  border-radius: 24px;
  background: var(--wl-nav-drawer-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--wl-nav-drawer-shadow);
  will-change: transform, opacity;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0.36s,
              background-color 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

.wl-mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0s,
              background-color 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

.wl-mobile-drawer ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.wl-mobile-drawer li,
.wl-mobile-drawer .wl-btn {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease,
              transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
              border-color var(--btn-duration, 450ms) var(--btn-ease, cubic-bezier(0.785, 0.135, 0.15, 0.86));
}

.wl-mobile-drawer.is-open li {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-mobile-drawer.is-open .wl-btn {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
              border-color var(--btn-duration, 450ms) var(--btn-ease, cubic-bezier(0.785, 0.135, 0.15, 0.86)) 0s;
}

.wl-mobile-drawer.is-open li:nth-child(1) { transition-delay: 0.04s; }
.wl-mobile-drawer.is-open li:nth-child(2) { transition-delay: 0.08s; }
.wl-mobile-drawer.is-open li:nth-child(3) { transition-delay: 0.12s; }
.wl-mobile-drawer.is-open li:nth-child(4) { transition-delay: 0.16s; }
.wl-mobile-drawer.is-open li:nth-child(5) { transition-delay: 0.20s; }

.wl-mobile-drawer li a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--wl-nav-drawer-link);
  border-bottom: 1px solid var(--wl-nav-drawer-divider);
}

.wl-nav-wrap.is-scrolled {
  top: 10px;
}

.wl-nav-wrap.is-scrolled .wl-nav {
  padding: 4px 5px 4px clamp(14px, 1.8vw, 22px);
  gap: 16px;
  box-shadow: var(--wl-nav-shadow-scrolled);
}

.wl-nav-wrap.is-scrolled .wl-brand-logo {
  height: clamp(20px, 1.7vw, 24px);
}

.wl-nav-wrap.is-scrolled .wl-nav-links {
  gap: clamp(12px, 1.6vw, 24px);
}

.wl-nav-wrap.is-scrolled .wl-nav-links a {
  font-size: 0.84rem;
}

.wl-nav-wrap.is-scrolled .wl-nav-cta-desktop {
  --btn-h: 32px;
  --btn-icon-size: 24px;
  --btn-icon-right: 4px;
  --btn-pad-left: 13px;
  --btn-text-gap: 9px;
  --btn-arrow-size: 13px;
  font-size: 0.82rem;
}

.wl-nav-wrap.is-scrolled .wl-menu-btn {
  width: 30px;
  height: 30px;
}

.wl-nav-wrap.is-scrolled .wl-menu-btn svg {
  width: 15px;
  height: 15px;
}

.wl-nav-wrap.is-scrolled .wl-mobile-drawer {
  margin-top: 8px;
}

@media (min-width: 861px) {
  .wl-mobile-drawer {
    display: none;
  }
}

@media (max-width: 860px) {
  .wl-nav .wl-nav-links,
  .wl-nav .wl-nav-cta-desktop {
    display: none;
  }
  .wl-menu-btn {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-nav-wrap,
  .wl-nav,
  .wl-nav .wl-brand,
  .wl-nav .wl-brand-logo,
  .wl-nav .wl-nav-links,
  .wl-nav .wl-nav-links a,
  .wl-nav .wl-nav-cta-desktop,
  .wl-nav .wl-nav-cta-desktop .wl-btn-icon,
  .wl-nav .wl-menu-btn,
  .wl-nav .wl-menu-btn svg,
  .wl-nav .wl-menu-btn svg line,
  .wl-mobile-drawer,
  .wl-mobile-drawer li,
  .wl-mobile-drawer .wl-btn {
    transition: none;
    transition-delay: 0s;
  }
}

/* Buttons — Arrow Fill Pill System (Web Lab Style) */
.wl-btn {
  --btn-h: 42px;
  --btn-icon-size: 30px;
  --btn-icon-right: 5px;
  --btn-pad-left: 18px;
  --btn-text-gap: 12px;
  --btn-arrow-size: 14px;
  --btn-circle-inset-y: calc((100% - var(--btn-icon-size)) / 2);
  --btn-ease: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --btn-duration: 450ms;

  --btn-bg: var(--accent);
  --btn-border: var(--accent);
  --btn-border-hover: var(--accent);
  --btn-text: #ffffff;
  --btn-fill-bg: #ffffff;
  --btn-fill-bg-hover: #ffffff;
  --btn-fill-text: var(--accent);
  --btn-fill-text-hover: var(--accent);
  --btn-arrow: var(--accent);
  --btn-arrow-hover: var(--accent);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--btn-h);
  min-height: var(--btn-h);
  width: fit-content;
  min-width: fit-content;
  padding: 0 calc(var(--btn-icon-size) + var(--btn-icon-right) + var(--btn-text-gap)) 0 var(--btn-pad-left);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-rendering: geometricPrecision;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
  transition: border-color var(--btn-duration) var(--btn-ease);
}

.wl-btn:hover,
.wl-btn[data-pressed="true"] {
  border-color: var(--btn-border-hover);
}

.wl-btn-label {
  position: relative;
  z-index: 1;
  padding-bottom: 1px;
  white-space: nowrap;
}

.wl-btn-fill {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  border-radius: var(--radius-pill);
  background: var(--btn-fill-bg);
  inset: var(--btn-circle-inset-y) var(--btn-icon-right) var(--btn-circle-inset-y) calc(100% - var(--btn-icon-right) - var(--btn-icon-size));
}

.wl-btn.is-ready .wl-btn-fill {
  transition: inset var(--btn-duration) var(--btn-ease),
              background-color var(--btn-duration) var(--btn-ease);
}

.wl-btn:hover .wl-btn-fill,
.wl-btn[data-pressed="true"] .wl-btn-fill {
  inset: 0;
  background: var(--btn-fill-bg-hover);
}

.wl-btn-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 calc(var(--btn-icon-size) + var(--btn-icon-right) + var(--btn-text-gap)) 0 var(--btn-pad-left);
  color: var(--btn-fill-text);
  clip-path: inset(var(--btn-circle-inset-y) var(--btn-icon-right) var(--btn-circle-inset-y) calc(100% - var(--btn-icon-right) - var(--btn-icon-size)) round 999px);
}

.wl-btn.is-ready .wl-btn-overlay {
  transition: clip-path var(--btn-duration) var(--btn-ease),
              color var(--btn-duration) var(--btn-ease);
}

.wl-btn:hover .wl-btn-overlay,
.wl-btn[data-pressed="true"] .wl-btn-overlay {
  color: var(--btn-fill-text-hover);
  clip-path: inset(0 0 0 0 round 999px);
}

.wl-btn-circle {
  pointer-events: none;
  position: absolute;
  right: var(--btn-icon-right);
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  border-radius: 50%;
  overflow: hidden;
  transform: translateY(-50%);
  background: var(--btn-fill-bg);
  color: var(--btn-arrow);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.wl-btn.is-ready .wl-btn-circle {
  transition: background-color var(--btn-duration) var(--btn-ease),
              color var(--btn-duration) var(--btn-ease);
}

.wl-btn:hover .wl-btn-circle,
.wl-btn[data-pressed="true"] .wl-btn-circle {
  background: var(--btn-fill-bg-hover);
  color: var(--btn-arrow-hover);
}

.wl-btn-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--btn-arrow-size);
  height: var(--btn-arrow-size);
  color: currentColor;
  transform-origin: center;
}

.wl-btn-arrow--in {
  transform: translate(-170%, -50%) scale(0);
}

.wl-btn-arrow--out {
  transform: translate(-50%, -50%) scale(1);
}

.wl-btn.is-ready .wl-btn-arrow {
  transition: transform var(--btn-duration) var(--btn-ease);
}

.wl-btn:hover .wl-btn-arrow--in,
.wl-btn[data-pressed="true"] .wl-btn-arrow--in {
  transform: translate(-50%, -50%) scale(1);
}

.wl-btn:hover .wl-btn-arrow--out,
.wl-btn[data-pressed="true"] .wl-btn-arrow--out {
  transform: translate(70%, -50%) scale(0);
}

/* Fallback before JS upgrades .wl-btn-icon */
.wl-btn-icon {
  position: absolute;
  right: var(--btn-icon-right);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  border-radius: 50%;
  background: var(--btn-fill-bg);
  color: var(--btn-arrow);
  font-size: 1rem;
  line-height: 1;
}

.wl-btn--secondary {
  --btn-bg: var(--bg);
  --btn-border: var(--control-outline);
  --btn-border-hover: var(--accent);
  --btn-text: var(--ink);
  --btn-fill-bg: var(--accent);
  --btn-fill-bg-hover: var(--accent);
  --btn-fill-text: #ffffff;
  --btn-fill-text-hover: #ffffff;
  --btn-arrow: #ffffff;
  --btn-arrow-hover: #ffffff;
}

/* Keep the same button and arrow on every dark surface. */
:is(.wl-hero-actions, .wl-cta-banner, .wl-price-card--featured) {
  --wl-focus-ring: var(--ink-on-dark);
}

.wl-btn--light,
:where(.wl-hero-actions, .wl-cta-banner, .wl-price-card--featured, .wl-nav-wrap[data-wl-nav-theme="dark"]) .wl-btn:not(.wl-btn--hero-ghost) {
  --btn-bg: var(--ink-on-dark);
  --btn-border: var(--ink-on-dark);
  --btn-border-hover: var(--control-on-dark-hover);
  --btn-text: var(--ink);
  --btn-fill-bg: var(--accent);
  --btn-fill-bg-hover: var(--control-on-dark-hover);
  --btn-fill-text: var(--ink-on-dark);
  --btn-fill-text-hover: var(--ink);
  --btn-arrow: var(--ink-on-dark);
  --btn-arrow-hover: var(--accent);
}

.wl-btn:not(.wl-btn--plain, [data-wl-arrow-btn="true"]):is(:hover, :active) {
  background: var(--btn-fill-bg-hover);
  color: var(--btn-fill-text-hover);
  border-color: var(--btn-border-hover);
}

.wl-btn:not(.wl-btn--plain, [data-wl-arrow-btn="true"]):is(:hover, :active) .wl-btn-icon {
  background: var(--btn-fill-bg-hover);
  color: var(--btn-arrow-hover);
}

.wl-btn--plain {
  padding: 12px 24px;
}

.wl-btn--hero-ghost {
  --btn-bg: rgba(255, 255, 255, 0.14);
  --btn-border: var(--accent-on-dark);
  --btn-border-hover: var(--ink-on-dark);
  --btn-text: #ffffff;
  --btn-fill-bg: #ffffff;
  --btn-fill-bg-hover: #ffffff;
  --btn-fill-text: var(--accent);
  --btn-fill-text-hover: var(--accent);
  --btn-arrow: var(--accent);
  --btn-arrow-hover: var(--accent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .wl-btn,
  .wl-btn.is-ready .wl-btn-fill,
  .wl-btn.is-ready .wl-btn-overlay,
  .wl-btn.is-ready .wl-btn-circle,
  .wl-btn.is-ready .wl-btn-arrow {
    transition: none;
  }
}

/* Eyebrow & Section Headers */
.wl-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: clamp(12px, 1.5vw, 18px);
}

.wl-page-header {
  width: 100%;
  padding-block: clamp(112px, 10vw, 150px) clamp(28px, 4vw, 56px);
}

.wl-page-header h1 {
  font-size: var(--text-h1);
  max-width: 18ch;
}

.wl-page-header .wl-lead {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: var(--text-lead);
  color: var(--ink-muted);
  max-width: 62ch;
  line-height: 1.5;
}

.wl-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: clamp(28px, 3.5vw, 52px);
}

.wl-section-head h2 {
  font-size: var(--text-h2);
}

.wl-section-head p {
  color: var(--ink-muted);
  font-size: var(--text-lead);
  max-width: 58ch;
  margin-top: 10px;
}

/* Hero (Home) */
.wl-hero {
  position: relative;
  width: 100%;
  padding-top: clamp(124px, 11vw, 168px);
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 24%, rgba(111, 100, 255, 0.36) 0%, transparent 72%),
    linear-gradient(180deg, #3c2ef0 0%, #3224df 52%, #2418be 100%);
  color: #ffffff;
  overflow: hidden;
}

.wl-hero-copy {
  display: grid;
  gap: clamp(18px, 2vw, 24px);
  justify-items: center;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.wl-hero .wl-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  letter-spacing: 0;
}

.wl-hero h1 {
  font-size: clamp(2rem, 4.25vw, 4.04rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 19ch;
  color: #ffffff;
}

.wl-hero-sub {
  font-size: clamp(0.95rem, 1.18vw, 1.125rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 40ch;
  line-height: 1.5;
}

.wl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.wl-hero-actions .wl-btn {
  min-width: 0;
}

.wl-hero-mockups {
  margin: clamp(44px, 5vw, 68px) auto 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  align-items: end;
  padding-inline: clamp(4px, 1.5vw, 18px);
}

.wl-mockup-card {
  position: relative;
  display: block;
  border-radius: 22px 22px 0 0;
  padding: 8px 8px 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: none;
  box-shadow: 0 22px 48px rgba(11, 11, 40, 0.28);
  overflow: hidden;
  text-decoration: none;
  transform-origin: bottom center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wl-mockup-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  border-radius: 15px 15px 0 0;
  object-fit: cover;
  object-position: top center;
}

.wl-mockup-card:nth-child(1) {
  transform: translateY(62px) rotate(-10deg);
  z-index: 1;
}
.wl-mockup-card:nth-child(2) {
  transform: translateY(22px) rotate(-5deg);
  z-index: 2;
}
.wl-mockup-card:nth-child(3) {
  transform: translateY(2px) rotate(0deg);
  z-index: 3;
}
.wl-mockup-card:nth-child(4) {
  transform: translateY(22px) rotate(5deg);
  z-index: 2;
}
.wl-mockup-card:nth-child(5) {
  transform: translateY(62px) rotate(10deg);
  z-index: 1;
}

.wl-mockup-card:nth-child(1):hover {
  transform: translateY(48px) rotate(-10deg);
  z-index: 5;
}
.wl-mockup-card:nth-child(2):hover {
  transform: translateY(8px) rotate(-5deg);
  z-index: 5;
}
.wl-mockup-card:nth-child(3):hover {
  transform: translateY(-10px) rotate(0deg);
  z-index: 5;
}
.wl-mockup-card:nth-child(4):hover {
  transform: translateY(8px) rotate(5deg);
  z-index: 5;
}
.wl-mockup-card:nth-child(5):hover {
  transform: translateY(48px) rotate(10deg);
  z-index: 5;
}

@media (max-width: 1020px) {
  .wl-hero-mockups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 780px;
  }
  .wl-mockup-card:nth-child(1),
  .wl-mockup-card:nth-child(5) {
    display: none;
  }
  .wl-mockup-card:nth-child(2) {
    transform: translateY(28px) rotate(-6deg);
  }
  .wl-mockup-card:nth-child(3) {
    transform: translateY(4px) rotate(0deg);
  }
  .wl-mockup-card:nth-child(4) {
    transform: translateY(28px) rotate(6deg);
  }
}

@media (max-width: 640px) {
  .wl-hero {
    padding-top: 98px;
  }
  .wl-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 280px);
    gap: 10px;
  }
  .wl-hero-actions .wl-btn {
    min-width: 0;
    width: 100%;
  }
  .wl-hero-mockups {
    margin-top: 36px;
    gap: 8px;
  }
  .wl-mockup-card {
    padding: 5px 5px 0;
    border-radius: 16px 16px 0 0;
  }
  .wl-mockup-card img {
    border-radius: 11px 11px 0 0;
    aspect-ratio: 4 / 4.2;
  }
}

/* Featured Cases (Home) & Work Grid */
.wl-featured-list {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
}

.wl-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wl-featured-card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 42px rgba(11, 11, 40, 0.06);
}

.wl-featured-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: var(--bg-subtle);
  padding: clamp(14px, 1.8vw, 24px);
}

.wl-featured-body {
  padding: clamp(22px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wl-featured-body h3 {
  font-size: clamp(1.28rem, 2.21vw, 2.12rem);
}

.wl-featured-body p {
  color: var(--ink-muted);
  font-size: var(--text-body);
  max-width: 48ch;
}

.wl-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .wl-featured-card {
    grid-template-columns: 1fr;
  }
}

.wl-center-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.5vw, 48px);
}

/* Full-width fluid Work Grid (adapts 1 -> 2 -> 3 -> 4+ cols automatically) */
.wl-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: var(--space-gap);
}

.wl-work-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wl-work-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 11, 40, 0.06);
}

.wl-work-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-dark);
}

.wl-work-media img,
.wl-work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.wl-work-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vw, 26px);
  gap: 10px;
}

.wl-work-card-body h3 {
  font-size: var(--text-h3);
  line-height: 1.15;
}

.wl-work-card-body p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-bottom: 10px;
}

.wl-work-card-body .wl-card-cta {
  margin-top: auto;
  font-size: var(--text-sm);
}

/* Home Interactive Services Panel */
.wl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.wl-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.wl-tab .wl-icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
  transition: color 0.18s;
}

.wl-tab:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.wl-tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.wl-tab[aria-selected="true"] .wl-icon {
  color: #fff;
}

.wl-tab-panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.wl-tab-panel-head h3 {
  margin-bottom: 0;
}

.wl-tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 3.5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  align-items: stretch;
}

.wl-tab-panel[hidden] {
  display: none;
}

.wl-tab-panel h3 {
  font-size: clamp(1.28rem, 2.04vw, 1.95rem);
  margin-bottom: 12px;
}

.wl-tab-panel .wl-lead {
  color: var(--ink-muted);
  font-size: var(--text-lead);
  max-width: 54ch;
  margin-bottom: 24px;
}

.wl-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.wl-check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
}

.wl-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.wl-tab-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

@media (min-width: 861px) {
  .wl-tab-panel {
    min-height: 400px;
  }

  .wl-tab-panel .wl-stat-box {
    min-height: 152px;
  }
}

.wl-tab-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wl-tab-request {
  display: grid;
  gap: 10px;
}

.wl-tab-request-trigger[hidden],
.wl-tab-request-form[hidden],
.wl-tab-request-status[hidden] {
  display: none;
}

.wl-tab-request-form {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  animation: wlTabRequestIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes wlTabRequestIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wl-tab-request-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wl-tab-request-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wl-tab-request-input::placeholder {
  color: #8b8ea3;
}

.wl-tab-request-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(50, 36, 223, 0.12);
}

.wl-tab-request-submit {
  flex-shrink: 0;
}

.wl-tab-request-status {
  margin: 10px 6px 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.4;
}

@media (max-width: 560px) {
  .wl-tab-request-row {
    flex-direction: column;
    align-items: stretch;
  }

  .wl-tab-request-submit {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-tab-request-form {
    animation: none;
  }
}

.wl-stat-box {
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.wl-stat-box span {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.wl-stat-box strong {
  display: block;
  font-size: clamp(1.15rem, 1.7vw, 1.62rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

@media (max-width: 860px) {
  .wl-tab-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .wl-tab-meta {
    grid-template-columns: 1fr;
  }
}

/* Pricing Grid */
.wl-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--space-gap);
  row-gap: 0;
  align-items: stretch;
}

.wl-price-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 7;
  row-gap: 0;
  height: 100%;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
}

.wl-price-card--featured {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.wl-price-card--featured .wl-price-tag,
.wl-price-card--featured .wl-price-note,
.wl-price-card--featured .wl-price-desc {
  color: rgba(255, 255, 255, 0.82);
}

.wl-price-card--featured .wl-check-list li {
  color: #ffffff;
}

.wl-price-card--featured .wl-check-list li::before {
  color: #dedbff;
}

.wl-price-tag {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.wl-price-card h3 {
  font-size: clamp(1.15rem, 1.53vw, 1.49rem);
  margin-bottom: 16px;
}

.wl-price-amount {
  font-size: clamp(1.78rem, 2.72vw, 2.64rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.wl-price-note {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-top: 6px;
}

.wl-price-desc {
  color: var(--ink-muted);
  margin: 20px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  align-self: stretch;
}

.wl-price-card--featured .wl-price-desc {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.wl-price-card .wl-check-list {
  margin-bottom: 32px;
  align-self: start;
}

.wl-price-card .wl-btn {
  margin-top: auto;
  align-self: end;
  width: 100%;
}

@media (max-width: 960px) {
  .wl-pricing-grid {
    grid-template-columns: 1fr;
    row-gap: var(--space-gap);
  }

  .wl-price-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    height: auto;
  }
}

/* Intro / About split */
.wl-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4.5vw, 72px);
  align-items: start;
}

.wl-intro-grid h2 {
  font-size: clamp(1.87rem, 3.57vw, 3.57rem);
}

.wl-intro-body {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.wl-intro-body p {
  font-size: var(--text-lead);
  color: var(--ink-muted);
  max-width: 60ch;
}

@media (max-width: 820px) {
  .wl-intro-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards Grid (Values, Every Plan Includes, etc.) */
.wl-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-gap);
}

.wl-card {
  padding: clamp(22px, 2.8vw, 36px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
}

.wl-card h3 {
  font-size: var(--text-h3);
  margin-bottom: 10px;
}

.wl-card p {
  color: var(--ink-muted);
  max-width: 55ch;
}

/* Services Pages */
.wl-icon {
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: var(--wl-icon);
  mask-image: var(--wl-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.wl-service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

.wl-service-head .wl-service-number {
  margin-bottom: 0;
}

.wl-service-detail .wl-service-head {
  justify-content: flex-start;
}

.wl-service-icon-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(50, 36, 223, 0.12);
  color: var(--accent);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.wl-service-icon-badge .wl-icon {
  width: 28px;
  height: 28px;
}

.wl-service-icon-badge--sm {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.wl-service-icon-badge--sm .wl-icon {
  width: 24px;
  height: 24px;
}

.wl-service-choice:hover .wl-service-icon-badge {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.04);
}

.wl-service-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: var(--space-gap);
}

.wl-service-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3.5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--bg);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.wl-service-choice:hover {
  border-color: var(--accent);
  background: #f7f6ff;
  transform: translateY(-2px);
}

.wl-service-number {
  display: inline-block;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: clamp(16px, 2.2vw, 28px);
}

.wl-service-choice h2 {
  font-size: clamp(1.36rem, 2.21vw, 2.21rem);
  margin-bottom: 16px;
}

.wl-service-choice p {
  color: var(--ink-muted);
  font-size: var(--text-lead);
  max-width: 48ch;
  margin-bottom: 28px;
}

.wl-choice-action {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
}

.wl-choice-action > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.25rem;
}

.wl-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.wl-back-link:hover {
  text-decoration: underline;
}

.wl-service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4.5vw, 76px);
  padding: clamp(24px, 3.8vw, 60px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.wl-service-detail h2 {
  font-size: clamp(1.57rem, 2.72vw, 2.64rem);
  margin-bottom: 20px;
}

.wl-service-detail .wl-service-lead {
  font-size: var(--text-lead);
  color: var(--ink);
  max-width: 50ch;
}

.wl-service-fit {
  margin-top: 28px;
  color: var(--ink-muted);
  max-width: 52ch;
}

.wl-service-fit strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.wl-service-includes {
  list-style: none;
  padding: 0;
  margin: 18px 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}

.wl-service-includes h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.wl-service-includes p {
  color: var(--ink-muted);
}

.wl-service-outcome {
  display: grid;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.wl-service-outcome h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.wl-service-outcome p {
  color: var(--ink-muted);
  max-width: 62ch;
}

.wl-service-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.wl-pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: clamp(24px, 3vw, 36px);
}

.wl-pill-nav a {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: background 0.18s, border-color 0.18s;
}

.wl-pill-nav a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.wl-cta-banner {
  margin-top: clamp(32px, 4vw, 52px);
  background: var(--accent);
  color: #fff;
  padding: clamp(28px, 4vw, 60px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wl-cta-banner h2 {
  font-size: clamp(1.49rem, 2.72vw, 2.55rem);
  margin-bottom: 14px;
}

.wl-cta-banner p {
  color: #dedbff;
  max-width: 64ch;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .wl-service-detail {
    grid-template-columns: 1fr;
  }
}

/* How We Work Page */
.wl-process-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  background: var(--accent);
  color: #fff;
  padding: clamp(28px, 4vw, 60px);
  border-radius: var(--radius-lg);
}

.wl-process-overview .wl-label {
  display: block;
  color: #dedbff;
  margin-bottom: 14px;
}

.wl-process-overview h2 {
  font-size: clamp(2.38rem, 5.52vw, 4.93rem);
}

.wl-process-overview p {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.38;
  max-width: 52ch;
}

.wl-process-overview .wl-small {
  color: #dedbff;
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-top: 16px;
}

.wl-stage-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4.5vw, 72px);
  padding: clamp(24px, 3.8vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  scroll-margin-top: 96px;
  background: var(--bg);
}

.wl-stage-card h2 {
  font-size: clamp(1.49rem, 2.55vw, 2.46rem);
}

.wl-stage-timing {
  color: var(--ink-muted);
  margin-top: 14px;
  font-size: var(--text-sm);
}

.wl-stage-intro {
  font-size: var(--text-lead);
  color: var(--ink);
  margin-bottom: 26px;
  max-width: 60ch;
}

.wl-stage-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}

.wl-stage-cols h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.wl-stage-cols p {
  color: var(--ink-muted);
}

.wl-stage-outcome {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
}

.wl-stage-outcome strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.wl-split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4.5vw, 72px);
  padding: clamp(24px, 3.8vw, 56px);
  border-radius: var(--radius-lg);
  margin-top: 32px;
}

.wl-split-panel--subtle {
  background: var(--bg-subtle);
}

.wl-split-panel--bordered {
  border: 1px solid var(--border);
}

.wl-split-panel h2 {
  font-size: clamp(1.49rem, 2.55vw, 2.46rem);
  margin-bottom: 16px;
}

.wl-split-panel p {
  color: var(--ink-muted);
  max-width: 60ch;
}

.wl-split-panel p + p {
  margin-top: 16px;
}

.wl-split-panel h3 {
  margin-top: 26px;
  margin-bottom: 10px;
}

.wl-prepare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}

.wl-prepare-list strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.wl-prepare-list span {
  display: block;
  color: var(--ink-muted);
}

@media (max-width: 860px) {
  .wl-process-overview,
  .wl-stage-card,
  .wl-split-panel {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion */
.wl-faq-list {
  display: grid;
  gap: 12px;
}

.wl-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  overflow: hidden;
}

.wl-faq-item summary {
  padding: clamp(18px, 2vw, 26px);
  font-size: var(--text-h3);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wl-faq-item summary::-webkit-details-marker {
  display: none;
}

.wl-faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-faq-item[open] summary::after,
.wl-faq-item.is-expanding summary::after {
  content: "+";
  transform: rotate(45deg);
}

.wl-faq-item.is-closing summary::after {
  transform: rotate(0deg);
}

.wl-faq-item p {
  padding: 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px);
  color: var(--ink-muted);
  max-width: 70ch;
  transition: opacity 0.26s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.wl-faq-item.is-closing p {
  opacity: 0;
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .wl-faq-item summary::after,
  .wl-faq-item p {
    transition: none;
  }
}

/* Article / Legal / Simple Case Detail Layouts */
.wl-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.wl-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.wl-hero-media {
  margin: clamp(24px, 3vw, 44px) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.wl-hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.wl-prose-section {
  display: grid;
  gap: 24px;
}

.wl-prose-section h2 {
  font-size: clamp(1.28rem, 2.04vw, 1.91rem);
  margin-top: 12px;
}

.wl-prose-section p {
  color: var(--ink-muted);
  font-size: var(--text-lead);
  max-width: 68ch;
  line-height: 1.65;
}

.wl-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: var(--space-gap);
  align-items: start;
  margin-top: clamp(24px, 3vw, 44px);
}

.wl-media-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.wl-media-grid img[alt*="mobile" i],
.wl-media-grid img[src*="mobile" i] {
  width: auto;
  max-width: 100%;
  max-height: 60svh;
  object-fit: contain;
  margin-inline: auto;
  display: block;
}

/* Full-Width Light Contact Section */
.wl-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--bg-subtle);
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: clamp(72px, 5.5vw, 88px);
  padding-bottom: clamp(44px, 4vw, 64px);
  scroll-margin-top: 0;
}

body.wl-work-page .wl-footer {
  border-top: 0;
}

.wl-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.wl-footer-bottom {
  display: none;
}

.wl-contact-copy h2 {
  font-size: clamp(2.04rem, 4.08vw, 3.74rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: var(--ink);
}

.wl-contact-copy p {
  color: var(--ink-muted);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  max-width: 38ch;
}

.wl-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  background: #ffffff;
  color: var(--ink);
  padding: clamp(18px, 1.8vw, 24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  justify-self: end;
  box-shadow: 0 18px 48px rgba(11, 11, 40, 0.08);
}

.wl-field {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #20223a;
}

.wl-field--full {
  grid-column: 1 / -1;
}

.wl-field input,
.wl-field select,
.wl-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f0f1f6;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wl-field input::placeholder,
.wl-field textarea::placeholder {
  color: #8b8ea3;
}

.wl-field input:focus,
.wl-field select:focus,
.wl-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(50, 36, 223, 0.1);
}

.wl-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 34px;
  text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, #4b4e68 50%), linear-gradient(135deg, #4b4e68 50%, transparent 50%);
  background-position: right 16px center, right 11px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

/* Custom Select Dropdown (Web Lab Style) */
.wl-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.wl-select-native {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.wl-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f0f1f6;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wl-select-trigger:hover {
  background: #eaecf4;
}

.wl-select-trigger:focus-visible,
.wl-select.is-open .wl-select-trigger {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(50, 36, 223, 0.12);
}

.wl-select.is-invalid .wl-select-trigger {
  border-color: #d93848;
  background: #fff8f9;
}

.wl-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wl-select-trigger.is-placeholder .wl-select-value {
  color: #8b8ea3;
  font-weight: 400;
}

.wl-select-chevron {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #5a5c74;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
}

.wl-select.is-open .wl-select-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.wl-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 16px;
  border: 1px solid #dedfed;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(11, 11, 40, 0.14), 0 2px 8px rgba(11, 11, 40, 0.06);
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-4px) scale(0.99);
  transform-origin: top center;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.16s ease;
}

.wl-select.is-up .wl-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
  transform: translateY(4px) scale(0.99);
  transform-origin: bottom center;
}

.wl-select.is-open .wl-select-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.wl-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #20223a;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.wl-select-option:hover,
.wl-select-option.is-active {
  background: #f5f5fb;
  color: #0b0b28;
}

.wl-select-option[aria-selected="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.wl-select-check {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  color: var(--accent);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.14s ease, transform 0.16s ease;
}

.wl-select-option[aria-selected="true"] .wl-select-check {
  opacity: 1;
  transform: scale(1);
}

.wl-field textarea {
  min-height: 68px;
  resize: vertical;
}

.wl-package-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.wl-field-legend {
  padding: 0;
  margin-bottom: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #20223a;
}

.wl-radio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.wl-radio-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #eceef5;
  border-radius: 11px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.wl-radio-option:hover {
  border-color: #cfd3eb;
}

.wl-radio-option:has(input:checked) {
  border-color: var(--accent);
  background: #f5f5ff;
}

.wl-radio-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wl-radio-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

.wl-radio-dot {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #d7daea;
  background: #ffffff;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.wl-radio-option input:checked + .wl-radio-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #ffffff;
}

.wl-radio-text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #20223a;
}

.wl-field[hidden],
.wl-form-status[hidden] {
  display: none;
}

.wl-form-status {
  grid-column: 1 / -1;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: var(--text-sm);
}

.wl-btn.wl-form-submit {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  justify-content: center;
  margin-top: 2px;
  --btn-h: 46px;
  --btn-icon-size: 34px;
  --btn-icon-right: 6px;
  --btn-pad-left: 46px;
  --btn-text-gap: 6px;
  --btn-bg: var(--accent);
  --btn-border: var(--accent);
  --btn-border-hover: var(--accent);
  --btn-fill-text: var(--accent);
  --btn-fill-text-hover: var(--accent);
  --btn-arrow: var(--accent);
  --btn-arrow-hover: var(--accent);
}

.wl-btn.wl-form-submit .wl-btn-overlay {
  justify-content: center;
}

.wl-btn.wl-form-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-height: 760px) and (min-width: 901px) {
  .wl-footer {
    padding-top: 68px;
    padding-bottom: 24px;
  }

  .wl-form {
    gap: 8px 10px;
    padding: 16px 20px;
  }

  .wl-field input,
  .wl-field select,
  .wl-select-trigger {
    min-height: 36px;
    padding-block: 6px;
  }

  .wl-field textarea {
    min-height: 54px;
  }

  .wl-radio-option {
    min-height: 34px;
    padding: 6px 10px;
  }

  .wl-btn.wl-form-submit {
    --btn-h: 42px;
    --btn-icon-size: 30px;
    --btn-pad-left: 42px;
  }
}

@media (max-width: 900px) {
  .wl-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .wl-form {
    justify-self: stretch;
    max-width: 100%;
  }

  .wl-contact-copy h2 br {
    display: none;
  }
}

@media (max-width: 560px) {
  .wl-form {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 20px;
  }

  .wl-radio-list {
    grid-template-columns: 1fr;
  }
}

.wl-footer-bottom {
  padding-top: clamp(28px, 3.5vw, 48px);
  display: grid;
  gap: 28px;
}

.wl-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 48px;
}

.wl-footer-tagline {
  color: var(--ink-muted);
  margin-top: 10px;
  max-width: 42ch;
}

.wl-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wl-footer-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.wl-footer-links a:is(:hover, :focus-visible) {
  color: var(--accent);
}

.wl-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.wl-footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.wl-footer-meta a {
  text-decoration: none;
  color: var(--ink-muted);
}

.wl-footer-meta a:is(:hover, :focus-visible) {
  color: var(--accent);
}

/* Four project photographs in a fan, without captions. */
.wl-project-fan {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  gap: 14px;
  margin-top: clamp(56px, 6.5vw, 92px);
  padding: 0 24px;
}
.wl-project-fan .wl-mockup-card {
  --fan-angle: 0deg;
  --fan-offset: 0px;
  display: block;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 18px 36px rgba(11,11,40,.2);
  transform-origin: center bottom;
}
.wl-project-fan .wl-mockup-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: inherit;
  object-fit: contain;
  object-position: center;
}
.wl-project-fan .wl-mockup-card:nth-child(1) { --fan-angle: -10deg; --fan-offset: 56px; }
.wl-project-fan .wl-mockup-card:nth-child(2) { --fan-angle: -4deg; --fan-offset: 8px; }
.wl-project-fan .wl-mockup-card:nth-child(3) { --fan-angle: 4deg; --fan-offset: 8px; }
.wl-project-fan .wl-mockup-card:nth-child(4) { --fan-angle: 10deg; --fan-offset: 56px; }
.wl-project-fan .wl-mockup-card:nth-child(n) { transform: translateY(calc(var(--fan-offset) + var(--fan-drop, 0px))) rotate(var(--fan-angle)); }
.wl-project-fan .wl-mockup-card:nth-child(n):hover,
.wl-project-fan .wl-mockup-card:nth-child(n):focus-visible { transform: translateY(calc(var(--fan-offset) - 8px)) rotate(var(--fan-angle)); z-index: 5; }
.wl-project-fan .wl-mockup-card:focus-visible { outline: 3px solid white; outline-offset: 4px; }
@media (max-width: 1020px) {
  .wl-project-fan { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; gap: 10px; }
  .wl-project-fan .wl-mockup-card { border-radius: 16px; }
}
@media (max-width: 640px) {
  .wl-project-fan { width: 100%; max-width: none; margin-left: 0; gap: 8px; margin-top: 46px; padding: 0 12px; }
  .wl-project-fan .wl-mockup-card { border-radius: 12px; }
  .wl-project-fan .wl-mockup-card:nth-child(1),
  .wl-project-fan .wl-mockup-card:nth-child(4) { --fan-offset: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wl-project-fan .wl-mockup-card { transition: none; } }

/* Keep the link's hit area steady while its photograph lifts out of the section. */
.wl-project-fan { --fan-reveal: 96px; margin-bottom: -64px; }
.wl-project-fan .wl-mockup-card { overflow: visible; box-shadow: none; }
.wl-project-fan .wl-mockup-card img {
  box-shadow: 0 18px 36px rgba(11,11,40,.2);
  transform-origin: center bottom;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), box-shadow .42s ease;
}
.wl-project-fan .wl-mockup-card:nth-child(n):hover,
.wl-project-fan .wl-mockup-card:nth-child(n):focus-visible {
  transform: translateY(calc(var(--fan-offset) + var(--fan-drop, 0px))) rotate(var(--fan-angle));
  z-index: 10;
}
.wl-project-fan .wl-mockup-card:focus-visible { outline: none; }
.wl-project-fan .wl-mockup-card:focus-visible img { outline: 3px solid white; outline-offset: 4px; }
@media (hover: hover) {
  .wl-project-fan .wl-mockup-card:hover img {
    transform: translateY(calc(-1 * (var(--fan-offset) + var(--fan-reveal) + var(--fan-drop, 0px)))) rotate(calc(-1 * var(--fan-angle)));
    box-shadow: 0 24px 48px rgba(11,11,40,.3);
  }
}
.wl-project-fan .wl-mockup-card:focus-visible img {
  transform: translateY(calc(-1 * (var(--fan-offset) + var(--fan-reveal) + var(--fan-drop, 0px)))) rotate(calc(-1 * var(--fan-angle)));
}
@media (max-width: 1020px) {
  .wl-project-fan { --fan-reveal: 56px; margin-bottom: -32px; }
  .wl-project-fan .wl-mockup-card:nth-child(1),
  .wl-project-fan .wl-mockup-card:nth-child(4) { --fan-offset: 32px; }
}
@media (max-width: 640px) {
  .wl-project-fan { --fan-reveal: 28px; margin-bottom: -12px; }
  .wl-project-fan .wl-mockup-card:nth-child(1),
  .wl-project-fan .wl-mockup-card:nth-child(4) { --fan-offset: 14px; }
  .wl-project-fan .wl-mockup-card:nth-child(2),
  .wl-project-fan .wl-mockup-card:nth-child(3) { --fan-offset: 0px; }
}
@media (prefers-reduced-motion: reduce) { .wl-project-fan .wl-mockup-card img { transition: none; } }

/* Clip the fan without creating a focus-scrollable hero container. */
.wl-home .wl-hero { overflow: clip; }

@media (min-width: 1021px) { .wl-project-fan { --fan-drop: 50px; --fan-reveal: 46px; } }

/* Home Hero Entrance Animation (matches heyweblab-preview) */
@keyframes wlHeroNavIn {
  from {
    opacity: 0.001;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wlHeroFadeUp {
  from {
    opacity: 0.001;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wlHeroHeadlineIn {
  from {
    opacity: 0.001;
    transform: translateY(48px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes wlHeroFanIn {
  from {
    opacity: 0.001;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wlHeroFadeOnly {
  from {
    opacity: 0.001;
  }
  to {
    opacity: 1;
  }
}

.wl-home .wl-nav {
  animation: wlHeroNavIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.wl-home .wl-hero .wl-eyebrow {
  animation: wlHeroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

.wl-home .wl-hero h1:not(.is-split) {
  animation: wlHeroHeadlineIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.wl-home .wl-hero h1.is-split .wl-hero-word {
  display: inline-block;
  will-change: transform, opacity, filter;
  animation: wlHeroHeadlineIn 1s cubic-bezier(0.22, 1, 0.36, 1) var(--wl-line-delay, 0.12s) both;
}

.wl-home .wl-hero .wl-hero-sub {
  animation: wlHeroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.wl-home .wl-hero .wl-hero-actions {
  animation: wlHeroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.wl-home .wl-hero .wl-hero-mockups {
  animation: wlHeroFanIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

@media (prefers-reduced-motion: reduce) {
  .wl-home .wl-nav {
    animation-name: wlHeroFadeOnly;
  }
  .wl-home .wl-hero .wl-eyebrow,
  .wl-home .wl-hero h1:not(.is-split),
  .wl-home .wl-hero h1.is-split .wl-hero-word,
  .wl-home .wl-hero .wl-hero-sub,
  .wl-home .wl-hero .wl-hero-actions,
  .wl-home .wl-hero .wl-hero-mockups {
    animation-name: wlHeroFadeOnly;
    will-change: auto;
  }
}
