/* Generated bundle: do not edit by hand. Source files remain the originals. */

/* ===== tokens.css ===== */
/**
 * Jesus Empire / Grove Web Digital — Brand Identity (Locked)
 * Source: DESIGN_SYSTEM.md
 *
 * Light: locked brand palette (unchanged).
 * Dark (Hybrid): slate layered surfaces + brand green CTA + lifted brand blue accents.
 */

:root {
  --color-chrome-0: #0000ae;
  --color-chrome-1: #000085;
  --color-chrome-2: #00005b;
  --color-chrome-3: #000032;
  --color-chrome-4: #000008;

  --color-brand-chrome-gradient: linear-gradient(
    90deg,
    var(--color-chrome-0) 0%,
    var(--color-chrome-1) 30%,
    var(--color-chrome-2) 55%,
    var(--color-chrome-3) 80%,
    var(--color-chrome-4) 100%
  );

  --color-button-primary-bg: #137f15;
  --color-button-primary-text: #ffffff;
  --color-button-primary-hover: color-mix(in srgb, var(--color-button-primary-bg) 84%, #ffffff);

  --color-text-heading: #13009a;
  --color-text-body: #1b1b1b;

  --color-surface-body: #f9fafb;
  --color-surface-raised: #ffffff;

  --color-text-on-chrome: #ffffff;
  --color-text-on-chrome-muted: rgba(255, 255, 255, 0.85);

  --color-chrome-soft: color-mix(in srgb, var(--color-chrome-0) 12%, transparent);
  --color-heading-soft: color-mix(in srgb, var(--color-text-heading) 10%, transparent);
  --color-success: var(--color-button-primary-bg);
  --color-focus-ring: color-mix(in srgb, var(--color-button-primary-bg) 35%, transparent);

  --font-size-hero: 3rem;
  --font-size-section: 2.25rem;
  --font-size-body: 1rem;
  --font-weight-heading: 700;
  --body-max-width: 720px;

  /* Transition shared by both themes */
  --theme-transition: color 0.28s ease, background-color 0.28s ease, border-color 0.28s ease,
    box-shadow 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

html:is(.light, .dark) .brand-chrome {
  background: var(--color-brand-chrome-gradient);
  color: var(--color-text-on-chrome);
}

/**
 * Dark Mode — Hybrid (Stripe / Linear / Vercel feel)
 * Surfaces: deep slate stack (not pure black, not inverted light).
 * Accents: locked brand green CTA + lifted brand navy/purple for guide UI.
 */
html.dark {
  /* Slate surface stack */
  --color-dm-canvas: #050816;
  --color-dm-surface: #0b1120;
  --color-dm-card: #0f172a;
  --color-dm-elevated: #111827;

  /* Borders & glow */
  --color-dm-border: rgba(255, 255, 255, 0.08);
  --color-dm-border-brand: color-mix(in srgb, var(--color-chrome-0) 22%, transparent);
  --color-dm-glow: color-mix(in srgb, var(--color-chrome-0) 22%, transparent);
  --color-dm-glow-green: color-mix(in srgb, var(--color-button-primary-bg) 18%, transparent);

  /* Text hierarchy — comfortable reading, WCAG AA */
  --color-dm-text: #f8fafc;
  --color-dm-text-muted: #cbd5e1;
  --color-dm-text-soft: #94a3b8;

  /* Guide accent = lifted brand chrome (not a new primary blue) */
  --color-dm-accent: color-mix(in srgb, var(--color-chrome-0) 48%, #ffffff);
  --color-dm-accent-hover: color-mix(in srgb, var(--color-chrome-0) 58%, #ffffff);
  /* Use locked purple hex here — avoid circular remap with --color-text-heading */
  --color-dm-heading: color-mix(in srgb, #13009a 35%, #ffffff);

  /* Legacy aliases used by page CSS (hero, services, blog, etc.) */
  --color-dm-muted: var(--color-dm-text-muted);
  --color-dm-line: var(--color-dm-border);
  --color-dm-guide: var(--color-dm-accent);
  --color-dm-border-strong: color-mix(in srgb, #ffffff 14%, transparent);
  --color-dm-soft: var(--color-dm-text-soft);

  /* Remap semantic brand tokens for dark consumers */
  --color-surface-body: var(--color-dm-canvas);
  --color-surface-raised: var(--color-dm-card);
  --color-text-heading: var(--color-dm-heading);
  --color-text-body: var(--color-dm-text-muted);
  --color-chrome-soft: color-mix(in srgb, var(--color-chrome-0) 18%, transparent);
  --color-heading-soft: color-mix(in srgb, var(--color-dm-heading) 14%, transparent);
  --color-focus-ring: color-mix(in srgb, var(--color-button-primary-bg) 45%, transparent);

  /* CTA green stays locked */
  --color-button-primary-bg: #137f15;
  --color-button-primary-text: #ffffff;
  --color-button-primary-hover: color-mix(in srgb, #137f15 82%, #ffffff);
}

/* ===== theme.css ===== */
/**
 * Grove Web Digital — Theme Token System
 * =====================================================================
 * SINGLE SOURCE OF TRUTH for every themeable colour on the website.
 *
 * Rules:
 *   1. Components must never hardcode theme colours. Use these tokens.
 *   2. Light values are byte-identical to the locked brand palette.
 *   3. Dark (Hybrid) uses slate layered surfaces + brand accents.
 * =====================================================================
 */

:root,
html.light {
  color-scheme: light;

  /* —— Surfaces —— */
  --page-bg: #f9fafb;
  --surface: #f9fafb;
  --surface-muted: var(--color-surface-body);
  --surface-elevated: #ffffff;
  --surface-hover: #ffffff;
  --surface-rgb: 255 255 255;
  --surface-body-rgb: 249 250 251;
  --card: #ffffff;
  --card-hover: #ffffff;

  /* —— Text —— */
  --text-heading: #13009a;
  --text-primary: #1b1b1b;
  --text-secondary: rgb(27 27 27 / 0.74);
  --text-muted: rgb(27 27 27 / 0.55);
  --text-on-brand: #ffffff;

  /* —— Brand —— */
  --brand-primary: #13009a;
  --brand-primary-soft: rgb(19 0 154 / 0.08);
  --accent-color: #137f15;
  --accent-soft: rgb(19 127 21 / 0.10);

  /* Solid brand background that always carries WHITE text. */
  --brand-fill: #13009a;
  --brand-fill-hover: var(--color-chrome-1);

  /* —— States —— */
  --success: #137f15;
  --success-soft: rgb(19 127 21 / 0.10);
  --warning: var(--color-chrome-1);
  --warning-soft: color-mix(in srgb, var(--color-chrome-1) 12%, transparent);
  --error: #13009a;
  --error-soft: color-mix(in srgb, var(--color-text-heading) 10%, transparent);
  --danger: var(--color-text-heading);

  /* —— Borders —— */
  --border-color: color-mix(in srgb, var(--color-text-body) 10%, #ffffff);
  --border-subtle: rgb(19 0 154 / 0.08);
  --border-strong: rgb(19 0 154 / 0.18);

  /* —— Inputs —— */
  --input-bg: #ffffff;
  --input-border: color-mix(in srgb, var(--color-text-body) 10%, #ffffff);
  --input-text: #1b1b1b;
  --input-placeholder: rgb(27 27 27 / 0.45);

  /* —— Depth —— */
  --shadow-sm: 0 4px 16px rgb(19 0 154 / 0.06);
  --shadow-md: 0 12px 32px rgb(19 0 154 / 0.07);
  --shadow-lg: 0 20px 56px rgb(19 0 154 / 0.09);
  --glow-brand: none;
  --glow-accent: none;
}

/**
 * Dark Hybrid — premium SaaS surfaces
 * Canvas #050816 · Secondary #0B1120 · Card #0F172A · Elevated #111827
 */
html.dark {
  color-scheme: dark;

  /* —— Surfaces —— */
  --page-bg: var(--color-dm-canvas);
  --surface: var(--color-dm-surface);
  --surface-muted: var(--color-dm-surface);
  --surface-elevated: var(--color-dm-elevated);
  --surface-hover: color-mix(in srgb, var(--color-dm-elevated) 88%, #ffffff);
  --surface-rgb: 15 23 42;
  --surface-body-rgb: 5 8 22;
  --card: var(--color-dm-card);
  --card-hover: var(--color-dm-elevated);

  /* —— Text —— */
  --text-heading: var(--color-dm-heading);
  --text-primary: var(--color-dm-text);
  --text-secondary: var(--color-dm-text-muted);
  --text-muted: var(--color-dm-text-soft);
  --text-on-brand: #ffffff;

  /* —— Brand —— */
  --brand-primary: var(--color-dm-accent);
  --brand-primary-soft: color-mix(in srgb, var(--color-chrome-0) 16%, transparent);
  --accent-color: var(--color-button-primary-bg);
  --accent-soft: color-mix(in srgb, var(--color-button-primary-bg) 14%, transparent);

  --brand-fill: color-mix(in srgb, var(--color-chrome-0) 55%, #ffffff);
  --brand-fill-hover: var(--color-dm-accent-hover);

  /* —— States —— */
  --success: var(--color-button-primary-bg);
  --success-soft: color-mix(in srgb, var(--color-button-primary-bg) 16%, transparent);
  --warning: color-mix(in srgb, var(--color-chrome-0) 55%, #ffffff);
  --warning-soft: color-mix(in srgb, var(--color-chrome-0) 16%, transparent);
  --error: color-mix(in srgb, #13009a 40%, #ffffff);
  --error-soft: color-mix(in srgb, #13009a 16%, transparent);
  --danger: color-mix(in srgb, #13009a 55%, #ffffff);

  /* —— Borders —— */
  --border-color: var(--color-dm-border);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: color-mix(in srgb, var(--color-chrome-0) 28%, transparent);

  /* —— Inputs —— */
  --input-bg: var(--color-dm-surface);
  --input-border: var(--color-dm-border);
  --input-text: var(--color-dm-text);
  --input-placeholder: var(--color-dm-text-soft);

  /* —— Depth —— */
  --shadow-sm: 0 4px 16px rgb(0 0 0 / 0.35);
  --shadow-md: 0 12px 40px rgb(0 0 0 / 0.45);
  --shadow-lg: 0 24px 64px rgb(0 0 0 / 0.55);
  --glow-brand: 0 0 40px var(--color-dm-glow);
  --glow-accent: 0 0 36px var(--color-dm-glow-green);
}

/* ===== grove-tw.css ===== */
/* Tailwind-compatible utilities — parity with grove-web-shine-main + tailwind.config.ts */

/* --- Semantic tokens --- */
.text-foreground {
  color: hsl(var(--foreground));
}
.text-foreground\/70 {
  color: hsl(var(--foreground) / 0.7);
}
.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}
.text-white {
  color: #ffffff;
}
.bg-secondary {
  background-color: hsl(var(--secondary));
}
.text-secondary-foreground {
  color: hsl(var(--secondary-foreground));
}
.bg-background\/40 {
  background-color: hsl(var(--background) / 0.4);
}
.border-border\/60 {
  border-color: hsl(var(--border) / 0.6);
}
.ring-primary\/30 {
  --tw-ring-color: hsl(var(--primary) / 0.3);
}
.ring-primary\/40 {
  --tw-ring-color: hsl(var(--primary) / 0.4);
}

/* --- Icons (match lucide sizing) --- */
.gw-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.gw-icon-sm {
  width: 1rem;
  height: 1rem;
}
.gw-icon-md {
  width: 1.25rem;
  height: 1.25rem;
}
.gw-icon-lg {
  width: 2.25rem;
  height: 2.25rem;
}
.stroke-2 {
  stroke-width: 2;
}

/* --- Display / flex / grid --- */
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.shrink-0 {
  flex-shrink: 0;
}

/* --- Gap --- */
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-10 {
  gap: 2.5rem;
}
.gap-12 {
  gap: 3rem;
}
.gap-14 {
  gap: 3.5rem;
}

/* --- Grid columns --- */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:w-auto {
    width: auto;
  }
}
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}

/* --- Position --- */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  inset: 0;
}
.-inset-6 {
  inset: -1.5rem;
}
.-inset-8 {
  inset: -2rem;
}
.-top-20 {
  top: -5rem;
}
.-right-20 {
  right: -5rem;
}
.-bottom-20 {
  bottom: -5rem;
}
.-left-20 {
  left: -5rem;
}
.-right-3 {
  right: -0.75rem;
}
.top-1\/2 {
  top: 50%;
}
.-translate-y-1\/2 {
  transform: translateY(-50%);
}
.top-4 {
  top: 1rem;
}
.right-4 {
  right: 1rem;
}
.bottom-4 {
  bottom: 1rem;
}
.left-4 {
  left: 1rem;
}
.-z-10 {
  z-index: -10;
}
.z-10 {
  z-index: 10;
}

/* --- Sizing --- */
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.h-8 {
  height: 2rem;
}
.w-8 {
  width: 2rem;
}
.h-5 {
  height: 1.25rem;
}
.w-5 {
  width: 1.25rem;
}
.h-7 {
  height: 1.75rem;
}
.w-7 {
  width: 1.75rem;
}
.h-9 {
  height: 2.25rem;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-14 {
  height: 3.5rem;
}
.h-44 {
  height: 11rem;
}
.h-48 {
  height: 12rem;
}
.h-56 {
  height: 14rem;
}
.h-64 {
  height: 16rem;
}
.h-72 {
  height: 18rem;
}
.w-9 {
  width: 2.25rem;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-14 {
  width: 3.5rem;
}
.w-24 {
  width: 6rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-xl {
  max-width: 36rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.h-1\.5 {
  height: 0.375rem;
}

/* --- Spacing --- */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-y-5 > * + * {
  margin-top: 1.25rem;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.m-0 {
  margin: 0;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-16 {
  margin-top: 4rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-14 {
  margin-bottom: 3.5rem;
}

.p-1 {
  padding: 0.25rem;
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-7 {
  padding: 1.75rem;
}
.p-8 {
  padding: 2rem;
}
.p-10 {
  padding: 2.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.pb-20 {
  padding-bottom: 5rem;
}

/* --- Typography --- */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.text-center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
.tracking-tight {
  letter-spacing: -0.025em;
}

/* Index.tsx h1 leading-[1.05] */
.leading-\[1\.05\] {
  line-height: 1.05;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.leading-tight {
  line-height: 1.25;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-\[1\.05\] {
  line-height: 1.05;
}
.leading-\[1\.85\] {
  line-height: 1.85;
}
.tracking-\[0\.005em\] {
  letter-spacing: 0.005em;
}

/* --- Borders / radius --- */
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-\[2rem\] {
  border-radius: 2rem;
}
.rounded-full {
  border-radius: 9999px;
}

/* --- Effects --- */
.overflow-hidden {
  overflow: hidden;
}
.object-cover {
  object-fit: cover;
}
.object-contain {
  object-fit: contain;
}
.opacity-0 {
  opacity: 0;
}
.opacity-20 {
  opacity: 0.2;
}
.opacity-80 {
  opacity: 0.8;
}
.opacity-90 {
  opacity: 0.9;
}
.opacity-100 {
  opacity: 1;
}
.blur-3xl {
  filter: blur(64px);
}
.drop-shadow-2xl {
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

html.dark .dark\:opacity-40 {
  opacity: 0.4 !important;
}

/* --- Transitions --- */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.duration-700 {
  transition-duration: 700ms;
}
.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}
.hover\:shadow-elegant:hover {
  box-shadow: var(--shadow-elegant);
}
.hover\:shadow-glow:hover {
  box-shadow: var(--shadow-glow);
}
.scale-105 {
  transform: scale(1.05);
}
.ring-2 {
  box-shadow: 0 0 0 2px var(--tw-ring-color, transparent);
}
.hover\:scale-105:hover {
  transform: scale(1.05);
}
.hover\:scale-\[1\.02\]:hover {
  transform: scale(1.02);
}
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
.hover\:scale-110:hover {
  transform: scale(1.1);
}
.hover\:text-primary:hover {
  color: hsl(var(--primary));
}
.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}
.group:hover .group-hover\:text-primary {
  color: hsl(var(--primary));
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 300ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-duration: 300ms;
}
.cursor-pointer {
  cursor: pointer;
}

/* --- Responsive padding / typography --- */
@media (min-width: 768px) {
  .md\:inline-flex {
    display: inline-flex !important;
  }
  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .md\:p-8 {
    padding: 2rem;
  }
  .md\:p-10 {
    padding: 2.5rem;
  }
  .md\:p-16 {
    padding: 4rem;
  }
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .md\:py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:text-left {
    text-align: left;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:w-auto {
    width: auto;
  }
}
@media (min-width: 1024px) {
  .lg\:mt-20 {
    margin-top: 5rem;
  }
  .lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .lg\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
  .lg\:text-left {
    text-align: left;
  }
  .lg\:justify-start {
    justify-content: flex-start;
  }
  .lg\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:gap-8 {
    gap: 2rem;
  }
  .lg\:gap-24 {
    gap: 6rem;
  }
  .lg\:hidden {
    display: none !important;
  }
}

/* --- Hero grid (match Index.tsx gap-12 lg:gap-8) --- */
.gw-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .gw-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* --- Who We Are: image column + 3D tilt (React preserve-3d) --- */
.gw-who-perspective {
  perspective: 1400px;
}
.gw-who-img-wrap {
  position: relative;
}
.gw-who-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.5rem;
  transform: rotateY(-10deg) rotateX(5deg);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.gw-who-img-wrap:hover .gw-who-img {
  transform: rotateY(-6deg) rotateX(3deg) scale(1.03);
}

/* --- Portfolio gradient thumbs (Tailwind default palette) --- */
.gw-pg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-from, transparent), var(--tw-to, transparent));
}
/* Light mode: force decorative hero/card gradients onto the locked brand palette
   (overrides any from-*/to-* utility colors). Dark mode keeps original gradients. */
html:is(.light, .dark) .bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--brand-fill), #0000ae);
}
.from-blue-500 {
  --tw-from: var(--color-chrome-0);
}
.to-cyan-400 {
  --tw-to: var(--color-chrome-0);
}
.from-cyan-500 {
  --tw-from: var(--color-chrome-0);
}
.to-blue-500 {
  --tw-to: var(--color-chrome-0);
}
.from-indigo-500 {
  --tw-from: var(--color-text-heading);
}
.from-sky-500 {
  --tw-from: var(--color-chrome-0);
}
.to-indigo-500 {
  --tw-to: var(--color-text-heading);
}
.from-blue-600 {
  --tw-from: var(--color-chrome-1);
}
.to-violet-500 {
  --tw-to: color-mix(in srgb, var(--color-chrome-0) 40%, #ffffff);
}
.from-cyan-600 {
  --tw-from: var(--color-chrome-0);
}
.to-teal-500 {
  --tw-to: var(--color-chrome-0);
}
.from-pink-500 {
  --tw-from: var(--color-chrome-0);
}
.from-rose-400 {
  --tw-from: #13009a;
}
.from-emerald-500 {
  --tw-from: var(--color-button-primary-bg);
}
.to-cyan-500 {
  --tw-to: var(--color-chrome-0);
}
.to-cyan-400 {
  --tw-to: var(--color-chrome-0);
}
.to-blue-600 {
  --tw-to: var(--color-chrome-1);
}

/* Blog card gradients */
.from-violet-500 {
  --tw-from: color-mix(in srgb, var(--color-chrome-0) 40%, #ffffff);
}

/* --- animate-fade-in (matches tailwind keyframes fade-in) --- */
.animate-fade-in {
  animation: gw-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* --- Main content (Layout.tsx pt-24 animate-fade-in) --- */
.gw-main {
  flex: 1;
  padding-top: 6rem;
  animation: gw-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ===== brand-light.css ===== */
/**
 * Jesus Empire — LIGHT MODE brand lock
 * Overrides legacy accents on public pages (light only).
 * Dark mode handled by theme-dark.css + brand-dark-unify.css.
 * Dual selectors kept only for green CTAs / chrome that apply in both themes.
 * Source tokens: tokens.css
 */

/* ── Page canvas: flat var(--color-surface-body), no blue mesh / hero wash ── */
html.light .gw-site-shell,
html.light body {
  background-color: var(--color-surface-body);
  background-image: none;
}

html.light .mesh-bg {
  background-image: none;
}

html.light .bg-gradient-hero {
  background: var(--color-surface-body) !important;
  background-image: none !important;
}

html.light .gw-hero-bg-photo {
  opacity: 0.03;
}

/* ── Header: full-width brand chrome gradient ── */
html:is(.light, .dark) .gw-nav-wrap.brand-chrome {
  background: var(--color-brand-chrome-gradient);
  color: var(--color-text-on-chrome);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-inner,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-mobile-panel,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .glass,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .glass-strong {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a {
  color: var(--color-text-on-chrome-muted) !important;
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a:hover,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a.is-active {
  color: var(--color-text-on-chrome) !important;
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a.is-active::after {
  background: var(--color-button-primary-bg) !important;
  background-image: none !important;
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-mobile-panel a {
  color: var(--color-text-on-chrome-muted);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-mobile-panel a.is-active {
  background: rgb(var(--surface-rgb) / 0.12);
  color: var(--color-text-on-chrome);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-brand__grove,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-brand__suffix,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-brand-link:hover .gw-nav-brand__grove,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-brand-link:hover .gw-nav-brand__suffix {
  color: var(--color-text-on-chrome) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  filter: none !important;
  text-shadow: none !important;
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-theme-toggle {
  border-color: rgb(var(--surface-rgb) / 0.25);
  background: rgb(var(--surface-rgb) / 0.1);
  color: var(--color-text-on-chrome);
}

/* ── Primary CTAs: solid green var(--color-button-primary-bg) ── */
html:is(.light, .dark) .bg-gradient-primary,
html:is(.light, .dark) .gw-btn-primary,
html:is(.light, .dark) .gw-nav-cta,
html:is(.light, .dark) .gw-pe-card__btn--primary,
html:is(.light, .dark) a.bg-gradient-primary,
html:is(.light, .dark) button.bg-gradient-primary {
  background: var(--color-button-primary-bg) !important;
  background-image: none !important;
  color: var(--color-button-primary-text) !important;
}

/* ── Headings & accent text: purple var(--color-text-heading) ── */
html.light .gradient-text,
html.light .font-display.gradient-text {
  color: var(--color-text-heading) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

html.light h1,
html.light h2,
html.light h3,
html.light h4,
html.light h5,
html.light h6,
html.light .gw-heading {
  color: var(--color-text-heading);
}

html.light .text-primary {
  color: var(--color-text-heading);
}

html.light .text-foreground {
  color: var(--color-text-body);
}

/* ── Decorative glow orbs (blur backgrounds) ── */
html.light .bg-gradient-primary.opacity-20,
html.light .bg-gradient-primary.opacity-25,
html.light .bg-gradient-primary.opacity-30,
html.light .absolute.bg-gradient-primary.blur-3xl,
html.light .gw-fcard-glow {
  background: var(--brand-fill) !important;
  background-image: none !important;
  opacity: 0.07 !important;
}

html.light .gw-fcard-wrap:hover .gw-fcard-glow {
  opacity: 0.12 !important;
}

/* ── Feature icon boxes: brand purple ── */
html.light .gw-fcard-icon,
html.light .h-14.w-14.rounded-2xl.bg-gradient-primary {
  background: var(--brand-fill) !important;
  background-image: none !important;
  color: var(--color-text-on-chrome) !important;
}

/* ── Project / portfolio preview bars: brand gradient family ── */
html.light .bg-gradient-primary.opacity-90,
html.light .bg-gradient-primary.opacity-80 {
  background: linear-gradient(135deg, var(--brand-fill) 0%, #000085 100%) !important;
  background-image: linear-gradient(135deg, var(--brand-fill) 0%, #000085 100%) !important;
}

/* ── Accent dividers / underlines ── */
html.light .rounded-full.bg-gradient-primary,
html.light .h-1.bg-gradient-primary,
html.light .h-1\.5.bg-gradient-primary {
  background: var(--brand-fill) !important;
  background-image: none !important;
}

/* Step number badges stay green (CTA-adjacent) */
html:is(.light, .dark) .rounded-full.bg-gradient-primary.text-sm.font-bold {
  background: var(--color-button-primary-bg) !important;
  color: var(--color-button-primary-text) !important;
}

/* ── Cards & glass surfaces: white on gray body ── */
html.light .glass,
html.light .glass-strong {
  background: var(--color-surface-raised);
  border-color: hsl(var(--border));
}

/* ── Blog category badges: brand purple tones only ── */
html.light .gw-blog-cat--engineering,
html.light .gw-blog-cat--marketing,
html.light .gw-blog-cat--seo,
html.light .gw-blog-cat--creative {
  background: rgb(19 0 154 / 0.08);
  color: var(--color-text-heading);
  border-color: rgb(19 0 154 / 0.15);
}

/* ── Image frame gradient border (who-we-are) ── */
html.light .gw-who-img-border {
  background: linear-gradient(
    to bottom right,
    rgb(19 0 154 / 0.35),
    rgb(19 0 154 / 0.08),
    transparent
  ) !important;
}

html.light .gw-who-img-wrap > div[style*="linear-gradient"] {
  background: linear-gradient(
    to bottom right,
    rgb(19 0 154 / 0.35),
    rgb(19 0 154 / 0.08),
    transparent
  ) !important;
}

/* ── Tab pills: active = green CTA ── */
html:is(.light, .dark) .gw-pill-btn.is-active {
  background: var(--color-button-primary-bg) !important;
  background-image: none !important;
  color: var(--color-button-primary-text) !important;
  border-color: transparent;
}

html.light .ring-primary\/40 {
  --tw-ring-color: rgb(19 0 154 / 0.22);
}

/* ── Link / hover accents on light pages ── */
html.light a:hover .text-primary,
html.light .gw-footer__link--cta {
  color: var(--color-text-heading);
}

html.light .gw-nav-links a.is-active {
  color: var(--color-text-heading);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a.is-active {
  color: var(--color-text-on-chrome) !important;
}

/* ── Selection highlight ── */
/* Do not force text color — dark islands (CEO card, etc.) keep light text readable. */
html.light ::selection {
  background: rgb(19 0 154 / 0.22);
}

/* ===== nav-footer-premium.css ===== */
/**
 * Grove Web Digital — Premium Navbar & Footer (theme-aware)
 */

html:is(.light, .dark) {
  --gw-nf-heading: var(--color-text-heading);
  --gw-nf-body: var(--color-text-body);
  --gw-nf-green: var(--color-button-primary-bg);
  --gw-nf-surface: var(--color-surface-raised);
  --gw-nf-muted: color-mix(in srgb, var(--gw-nf-body) 58%, transparent);
  --gw-nf-border: color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
  --gw-nf-nav-h: 5.5rem;
}

html.dark {
  --gw-nf-heading: var(--color-dm-text);
  --gw-nf-body: var(--color-dm-text-muted);
  --gw-nf-muted: var(--color-dm-text-soft);
  --gw-nf-border: var(--color-dm-border);
  --gw-nf-surface: var(--color-dm-elevated);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Navbar shell —— */
html:is(.light, .dark) .gw-nav-wrap.gw-nav-premium {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0;
  border-bottom: 1px solid transparent;
  background: rgb(var(--surface-rgb) / 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

html:is(.light, .dark) .gw-nav-wrap.gw-nav-premium.is-scrolled {
  background: rgb(var(--surface-rgb) / 0.92);
  border-bottom-color: transparent;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--gw-nf-heading) 6%, transparent);
}

/* Announcement bar owns the bottom edge under the nav */
html:is(.light, .dark) .gw-nav-wrap.gw-nav-premium:has(.gw-announce) {
  border-bottom-color: transparent;
}

html:is(.light, .dark) .gw-nav-premium__container {
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}

html:is(.light, .dark) .gw-nav-premium__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--gw-nf-nav-h);
}

/* Brand lockup — shared navbar + footer (premium wordmark) */
html:is(.light, .dark) .gw-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
  transition: opacity 0.25s ease;
}

html:is(.light, .dark) .gw-brand:hover {
  opacity: 0.94;
}

html:is(.light, .dark) .gw-brand:focus-visible {
  outline: 2px solid var(--gw-nf-green);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

html:is(.light, .dark) .gw-brand__mark-wrap {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 8%, transparent);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 70%, transparent) inset,
    0 2px 8px color-mix(in srgb, var(--gw-nf-heading) 7%, transparent);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

html:is(.light, .dark) .gw-brand:hover .gw-brand__mark-wrap {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 70%, transparent) inset,
    0 4px 14px color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
}

html:is(.light, .dark) .gw-brand__mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: scale(1.06);
}

html:is(.light, .dark) .gw-brand:hover .gw-brand__mark {
  transform: scale(1.08);
}

html:is(.light, .dark) .gw-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  gap: 0.18rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html:is(.light, .dark) .gw-brand__name {
  display: block;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--gw-nf-heading);
  white-space: nowrap;
  font-variation-settings: "wght" 700;
}

html:is(.light, .dark) .gw-brand__grove {
  color: var(--gw-nf-heading);
  font-weight: 700;
}

html:is(.light, .dark) .gw-brand__rest {
  color: color-mix(in srgb, var(--gw-nf-heading) 78%, var(--gw-nf-body));
  font-weight: 600;
  letter-spacing: -0.02em;
}

html:is(.light, .dark) .gw-brand__tagline {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.168em;
  color: color-mix(in srgb, var(--gw-nf-body) 52%, transparent);
  white-space: nowrap;
  line-height: 1;
}

/* Navbar variant — compact lockup */
html:is(.light, .dark) .gw-brand--navbar .gw-brand__mark-wrap,
html:is(.light, .dark) .gw-brand--navbar .gw-nav-premium__logo {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 0.55rem;
}

html:is(.light, .dark) .gw-brand--navbar {
  gap: 0.625rem;
}

html:is(.light, .dark) .gw-brand--navbar .gw-brand__name,
html:is(.light, .dark) .gw-nav-premium__wordmark .gw-brand__name {
  font-size: 1.015625rem;
}

html:is(.light, .dark) .gw-brand--navbar .gw-brand__tagline,
html:is(.light, .dark) .gw-nav-premium__wordmark .gw-brand__tagline {
  font-size: 0.5625rem;
  letter-spacing: 0.17em;
  padding-left: 0.04em;
}

/* Keep legacy nav brand selectors aligned */
html:is(.light, .dark) .gw-nav-premium__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
}

html:is(.light, .dark) .gw-nav-premium__wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  font-family: "Space Grotesk", Inter, sans-serif;
}

/* Footer variant — slightly more editorial / prominent */
html:is(.light, .dark) .gw-brand--footer {
  gap: 0.8rem;
  margin-bottom: 1.05rem;
  align-items: center;
}

html:is(.light, .dark) .gw-brand--footer .gw-brand__mark-wrap {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 0.65rem;
}

html:is(.light, .dark) .gw-brand--footer .gw-brand__name {
  font-size: 1.21875rem;
  letter-spacing: -0.032em;
}

html:is(.light, .dark) .gw-brand--footer .gw-brand__tagline {
  font-size: 0.625rem;
  letter-spacing: 0.19em;
  padding-left: 0.04em;
}

/* Legacy footer brand selectors (compat) */
html:is(.light, .dark) .gw-footer-premium__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.05rem;
}

html:is(.light, .dark) .gw-footer-premium__brand-link img {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 0.65rem;
  object-fit: contain;
}

html:is(.light, .dark) .gw-footer-premium__brand-link strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.21875rem;
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-footer-premium__desc {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gw-nf-muted);
  max-width: 23rem;
}

html:is(.light, .dark) .gw-footer-premium__positioning {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gw-nf-heading) 70%, var(--gw-nf-muted));
  line-height: 1.4;
  background: color-mix(in srgb, var(--gw-nf-heading) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
}

@media (max-width: 1099px) {
  html:is(.light, .dark) .gw-brand--navbar .gw-brand__mark-wrap,
  html:is(.light, .dark) .gw-brand--navbar .gw-nav-premium__logo {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.5rem;
  }

  html:is(.light, .dark) .gw-brand--navbar {
    gap: 0.55rem;
  }

  html:is(.light, .dark) .gw-brand--navbar .gw-brand__name,
  html:is(.light, .dark) .gw-nav-premium__wordmark .gw-brand__name {
    font-size: 0.9375rem;
  }

  html:is(.light, .dark) .gw-brand--navbar .gw-brand__tagline,
  html:is(.light, .dark) .gw-nav-premium__wordmark .gw-brand__tagline {
    font-size: 0.5rem;
    letter-spacing: 0.15em;
  }
}

@media (max-width: 767.98px) {
  html:is(.light, .dark) .gw-brand--navbar {
    gap: 0.45rem;
    max-width: min(13.5rem, 62vw);
  }

  html:is(.light, .dark) .gw-brand--navbar .gw-brand__name,
  html:is(.light, .dark) .gw-nav-premium__wordmark .gw-brand__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  html:is(.light, .dark) .gw-brand--navbar {
    gap: 0.45rem;
    max-width: min(12.25rem, 58vw);
  }

  html:is(.light, .dark) .gw-brand--navbar .gw-brand__mark-wrap {
    width: 2rem;
    height: 2rem;
  }

  html:is(.light, .dark) .gw-brand--navbar .gw-brand__name,
  html:is(.light, .dark) .gw-nav-premium__wordmark .gw-brand__name {
    font-size: 0.84375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  html:is(.light, .dark) .gw-brand--navbar .gw-brand__tagline {
    font-size: 0.46875rem;
    letter-spacing: 0.12em;
  }
}

/* Center nav */
html:is(.light, .dark) .gw-nav-premium__center {
  display: none;
  justify-content: center;
}

@media (min-width: 1100px) {
  html:is(.light, .dark) .gw-nav-premium__center {
    display: flex;
  }
}

html:is(.light, .dark) .gw-nav-premium__links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

html:is(.light, .dark) .gw-nav-premium__links > li {
  position: relative;
}

html:is(.light, .dark) .gw-nav-premium__link,
html:is(.light, .dark) .gw-nav-premium__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  border: none;
  background: transparent;
  font-family: "Public Sans", Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gw-nf-muted);
  text-decoration: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: color 0.25s ease, background 0.25s ease;
}

html:is(.light, .dark) .gw-nav-premium__link:hover,
html:is(.light, .dark) .gw-nav-premium__trigger:hover,
html:is(.light, .dark) .gw-nav-premium__trigger[aria-expanded="true"] {
  color: var(--gw-nf-heading);
  background: color-mix(in srgb, var(--gw-nf-heading) 5%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__link.is-active {
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-nav-premium__link.is-active::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gw-nf-green);
  transform-origin: left;
  animation: gw-nf-underline 0.35s ease forwards;
}

@keyframes gw-nf-underline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

html:is(.light, .dark) .gw-nav-premium__chev {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.55;
  transition: transform 0.25s ease;
}

html:is(.light, .dark) .gw-nav-premium__trigger[aria-expanded="true"] .gw-nav-premium__chev {
  transform: rotate(180deg);
}

/* Mega menu */
html:is(.light, .dark) .gw-nav-premium__mega,
html:is(.light, .dark) .gw-nav-premium__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 16rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgb(var(--surface-rgb) / 0.98);
  border: 1px solid var(--gw-nf-border);
  box-shadow:
    0 24px 64px color-mix(in srgb, var(--gw-nf-heading) 12%, transparent),
    0 0 0 1px rgb(var(--surface-rgb) / 0.6) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s;
  z-index: 120;
}

html:is(.light, .dark) .gw-nav-premium__mega {
  width: min(42rem, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 1rem;
}

html:is(.light, .dark) .gw-nav-premium__dropdown.is-open .gw-nav-premium__mega,
html:is(.light, .dark) .gw-nav-premium__dropdown.is-open .gw-nav-premium__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

html:is(.light, .dark) .gw-nav-premium__mega a,
html:is(.light, .dark) .gw-nav-premium__panel a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gw-nf-body);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

html:is(.light, .dark) .gw-nav-premium__mega a:hover,
html:is(.light, .dark) .gw-nav-premium__panel a:hover {
  background: color-mix(in srgb, var(--gw-nf-heading) 6%, transparent);
  color: var(--gw-nf-heading);
  transform: translateX(2px);
}

html:is(.light, .dark) .gw-nav-premium__mega-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  background: color-mix(in srgb, var(--gw-nf-heading) 7%, transparent);
  flex-shrink: 0;
}

html:is(.light, .dark) .gw-nav-premium__mega-all {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-weight: 700;
  color: var(--gw-nf-green) !important;
}

/* Services mega menu — multi-column business categories */
html:is(.light, .dark) .gw-nav-premium__mega--services {
  width: min(76rem, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.15rem 0.9rem;
  max-height: min(76vh, 34rem);
  overflow: hidden;
}

html:is(.light, .dark) .gw-nav-premium__mega-intro {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--gw-nf-border);
  flex-shrink: 0;
}

html:is(.light, .dark) .gw-nav-premium__mega-kicker {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gw-nf-green);
}

html:is(.light, .dark) .gw-nav-premium__mega-lede {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gw-nf-heading);
  line-height: 1.4;
  max-width: 42rem;
}

html:is(.light, .dark) .gw-nav-premium__mega-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  margin-right: -0.1rem;
  scrollbar-width: thin;
  min-height: 0;
  flex: 1;
}

@media (min-width: 1180px) {
  html:is(.light, .dark) .gw-nav-premium__mega-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1380px) {
  html:is(.light, .dark) .gw-nav-premium__mega-cols {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

html:is(.light, .dark) .gw-nav-premium__mega-col {
  min-width: 0;
  padding: 0.35rem 0.4rem 0.45rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
}

html:is(.light, .dark) .gw-nav-premium__mega-col--emphasis {
  background: color-mix(in srgb, var(--gw-nf-heading) 3.5%, transparent);
  border-color: color-mix(in srgb, var(--gw-nf-heading) 8%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__mega-cat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.4rem;
  margin-bottom: 0.25rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--gw-nf-heading) !important;
  text-decoration: none;
  background: color-mix(in srgb, var(--gw-nf-heading) 4%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__mega-cat-label {
  min-width: 0;
}

html:is(.light, .dark) .gw-nav-premium__mega-cat:hover {
  background: color-mix(in srgb, var(--gw-nf-green) 10%, transparent);
  transform: none;
}

html:is(.light, .dark) .gw-nav-premium__mega-cat-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  background: rgb(var(--surface-rgb) / 0.95);
  flex-shrink: 0;
}

html:is(.light, .dark) .gw-nav-premium__mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

html:is(.light, .dark) .gw-nav-premium__mega-list a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gw-nf-body);
  border-radius: 0.35rem;
  transform: none;
}

html:is(.light, .dark) .gw-nav-premium__mega-svc-icon {
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.9;
}

html:is(.light, .dark) .gw-nav-premium__mega-list a:hover {
  color: var(--gw-nf-heading);
  background: color-mix(in srgb, var(--gw-nf-heading) 5%, transparent);
  transform: translateX(1px);
}

html:is(.light, .dark) .gw-nav-premium__mega-more {
  display: inline-flex;
  margin: 0.2rem 0 0 0.35rem;
  padding: 0.15rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gw-nf-green) !important;
  text-decoration: none;
  border-radius: 0.3rem;
}

html:is(.light, .dark) .gw-nav-premium__mega-more:hover {
  background: color-mix(in srgb, var(--gw-nf-green) 10%, transparent);
  transform: none;
}

html:is(.light, .dark) .gw-nav-premium__mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--gw-nf-border);
  flex-shrink: 0;
}

html:is(.light, .dark) .gw-nav-premium__mega-products {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gw-nf-heading) !important;
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid var(--gw-nf-border);
}

html:is(.light, .dark) .gw-nav-premium__mobile-cat {
  margin: 0.75rem 0 0.25rem;
  padding: 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gw-nf-muted, var(--text-muted));
}

html:is(.light, .dark) .gw-nav-premium__mobile-more {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: var(--gw-nf-green) !important;
}

html:is(.light, .dark) .gw-nav-premium__mega-all {
  grid-column: auto;
}

/* Right actions */
html:is(.light, .dark) .gw-nav-premium__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

html:is(.light, .dark) .gw-nav-premium__theme {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

html:is(.light, .dark) .gw-nav-premium__mobile-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 0.85rem 0.25rem;
  border-top: 1px solid var(--gw-nf-border);
}

html:is(.light, .dark) .gw-nav-premium__mobile-theme-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gw-nf-muted);
  letter-spacing: 0.02em;
}

html:is(.light, .dark) .gw-nav-premium__cta-group {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 1100px) {
  html:is(.light, .dark) .gw-nav-premium__cta-group {
    display: flex;
  }
}

/* Client Portal CTA */
html:is(.light, .dark) .gw-nav-premium__portal {
  position: relative;
}

html:is(.light, .dark) .gw-nav-premium__portal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 46px;
  padding: 0 24px;
  border-radius: 9999px;
  border: 1.5px solid var(--gw-nf-heading);
  background: var(--surface-elevated);
  color: var(--gw-nf-heading);
  font-family: "Public Sans", Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 1px 0 rgb(var(--surface-rgb) / 0.8) inset,
    0 6px 20px color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

html:is(.light, .dark) .gw-nav-premium__portal-icon {
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

html:is(.light, .dark) .gw-nav-premium__portal-btn:hover,
html:is(.light, .dark) .gw-nav-premium__portal.is-open .gw-nav-premium__portal-btn,
html:is(.light, .dark) .gw-nav-premium__portal-btn[aria-expanded="true"] {
  transform: translateY(-2px);
  border-color: var(--gw-nf-heading);
  background: color-mix(in srgb, var(--gw-nf-heading) 5%, var(--surface-elevated));
  box-shadow:
    0 1px 0 rgb(var(--surface-rgb) / 0.9) inset,
    0 12px 32px color-mix(in srgb, var(--gw-nf-heading) 16%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__portal-btn:hover .gw-nav-premium__portal-icon,
html:is(.light, .dark) .gw-nav-premium__portal.is-open .gw-nav-premium__portal-icon {
  transform: scale(1.08) translateY(-1px);
}

html:is(.light, .dark) .gw-nav-premium__portal-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-fill), color-mix(in srgb, var(--gw-nf-heading) 80%, var(--gw-nf-green)));
  border: 1.5px solid var(--surface-elevated);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--gw-nf-heading) 25%, transparent);
  pointer-events: none;
}

/* Portal dropdown menu */
html:is(.light, .dark) .gw-nav-premium__portal-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  padding: 20px;
  border-radius: 20px;
  background: rgb(var(--surface-rgb) / 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
  box-shadow:
    0 1px 0 rgb(var(--surface-rgb) / 0.95) inset,
    0 24px 64px color-mix(in srgb, var(--gw-nf-heading) 14%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s;
  z-index: 130;
}

html:is(.light, .dark) .gw-nav-premium__portal.is-open .gw-nav-premium__portal-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

html:is(.light, .dark) .gw-nav-premium__portal-section + .gw-nav-premium__portal-section {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gw-nf-border);
}

html:is(.light, .dark) .gw-nav-premium__portal-label {
  margin: 0 0 0.4rem;
  padding: 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gw-nf-muted);
}

html:is(.light, .dark) .gw-nav-premium__portal-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.5rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gw-nf-body);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

html:is(.light, .dark) .gw-nav-premium__portal-item:hover {
  background: color-mix(in srgb, var(--gw-nf-heading) 6%, transparent);
  color: var(--gw-nf-heading);
  transform: translateX(2px);
}

html:is(.light, .dark) .gw-nav-premium__portal-item-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gw-nf-heading);
  background: color-mix(in srgb, var(--gw-nf-heading) 7%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__portal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gw-nf-border);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gw-nf-muted);
}

html:is(.light, .dark) .gw-nav-premium__portal-footer svg {
  color: var(--gw-nf-green);
  flex-shrink: 0;
}

html:is(.light, .dark) .gw-nav-premium__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.625rem;
  border: 1px solid var(--gw-nf-border);
  background: var(--gw-nf-surface);
  color: var(--gw-nf-heading);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html:is(.light, .dark) .gw-nav-premium__icon-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--gw-nf-heading) 8%, transparent);
  border-color: color-mix(in srgb, var(--gw-nf-heading) 18%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__icon-btn--future {
  opacity: 0.45;
  cursor: not-allowed;
}

html:is(.light, .dark) .gw-nav-premium__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: var(--gw-nf-green);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--gw-nf-green) 32%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

html:is(.light, .dark) .gw-nav-premium__cta:hover {
  transform: scale(1.02) translateY(-1px);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--gw-nf-green) 40%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__menu-btn {
  display: inline-flex;
}

@media (min-width: 1100px) {
  html:is(.light, .dark) .gw-nav-premium__menu-btn {
    display: none;
  }
}

/* Mobile drawer */
html:is(.light, .dark) .gw-nav-premium__mobile {
  display: none;
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem) 1rem;
}

html:is(.light, .dark) .gw-nav-premium__mobile.is-open {
  display: block;
  /* The navbar is fixed, so the drawer must scroll itself — otherwise anything
     taller than the viewport (lower nav links, theme row, CTAs) is unreachable. */
  max-height: calc(100vh - var(--gw-nf-chrome-h, calc(var(--gw-nf-nav-h) + 2.125rem)));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1100px) {
  html:is(.light, .dark) .gw-nav-premium__mobile {
    display: none !important;
  }
}

html:is(.light, .dark) .gw-nav-premium__mobile-inner {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--gw-nf-surface);
  border: 1px solid var(--gw-nf-border);
  box-shadow: 0 16px 48px color-mix(in srgb, var(--gw-nf-heading) 8%, transparent);
}

/* Mobile Client Portal hero */
html:is(.light, .dark) .gw-nav-premium__mobile-portal {
  margin-bottom: 0.75rem;
  border: none;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal summary {
  list-style: none;
  cursor: pointer;
  padding: 0;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal summary::-webkit-details-marker {
  display: none;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-hero {
  display: block;
  padding: 0;
  margin-bottom: 0;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--gw-nf-heading);
  background: var(--surface-elevated);
  color: var(--gw-nf-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-hero-inner .gw-nav-premium__portal-badge {
  position: static;
  margin-left: 0.25rem;
  font-size: 0.5625rem;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-body {
  margin-top: 0.65rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--gw-nf-heading) 3%, var(--surface-elevated));
  border: 1px solid var(--gw-nf-border);
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-body .gw-nav-premium__portal-label {
  margin-top: 0.35rem;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-body .gw-nav-premium__portal-label:first-child {
  margin-top: 0;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-body a {
  padding: 0.55rem 0.65rem;
  font-size: 0.8125rem;
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--gw-nf-border);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gw-nf-muted);
}

html:is(.light, .dark) .gw-nav-premium__mobile-portal-secure svg {
  color: var(--gw-nf-green);
}

html:is(.light, .dark) .gw-nav-premium__mobile a,
html:is(.light, .dark) .gw-nav-premium__mobile summary {
  display: block;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gw-nf-body);
  text-decoration: none;
}

html:is(.light, .dark) .gw-nav-premium__mobile a.is-active {
  background: color-mix(in srgb, var(--gw-nf-green) 10%, transparent);
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-nav-premium__mobile details {
  border-bottom: 1px solid var(--gw-nf-border);
}

html:is(.light, .dark) .gw-nav-premium__mobile details summary {
  cursor: pointer;
  list-style: none;
}

html:is(.light, .dark) .gw-nav-premium__mobile details summary::-webkit-details-marker {
  display: none;
}

html:is(.light, .dark) .gw-nav-premium__mobile-sub {
  padding: 0 0.5rem 0.5rem;
  display: grid;
  gap: 0.125rem;
}

html:is(.light, .dark) .gw-nav-premium__mobile-sub a {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

html:is(.light, .dark) .gw-nav-premium__mobile-cta {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gw-nf-border);
}

html:is(.light, .dark) .gw-nav-premium__mobile-cta a {
  flex: 1;
  text-align: center;
  background: var(--gw-nf-green);
  color: #ffffff;
}

html:is(.light, .dark) .gw-nav-premium__mobile-cta a.gw-nav-premium__mobile-cta--ghost {
  background: transparent;
  color: var(--gw-nf-heading);
  border: 1px solid var(--gw-nf-border);
}

/* Search overlay */
html:is(.light, .dark) .gw-nav-premium__search {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: start center;
  padding: calc(var(--gw-nf-chrome-h, calc(var(--gw-nf-nav-h) + 2.125rem)) + 1rem) 1rem 2rem;
  background: rgb(15 0 100 / 0.25);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

html:is(.light, .dark) .gw-nav-premium__search.is-open {
  opacity: 1;
  visibility: visible;
}

html:is(.light, .dark) .gw-nav-premium__search-box {
  width: min(36rem, 100%);
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: var(--surface-elevated);
  border: 1px solid var(--gw-nf-border);
  box-shadow: 0 24px 64px color-mix(in srgb, var(--gw-nf-heading) 14%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__search-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gw-nf-border);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

html:is(.light, .dark) .gw-nav-premium__search-input:focus {
  border-color: var(--gw-nf-heading);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gw-nf-heading) 12%, transparent);
}

html:is(.light, .dark) .gw-nav-premium__search-results {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.25rem;
  max-height: 16rem;
  overflow: auto;
}

html:is(.light, .dark) .gw-nav-premium__search-results a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gw-nf-body);
}

html:is(.light, .dark) .gw-nav-premium__search-results a:hover,
html:is(.light, .dark) .gw-nav-premium__search-results a.is-highlight {
  background: color-mix(in srgb, var(--gw-nf-heading) 6%, transparent);
  color: var(--gw-nf-heading);
}

/* Main offset for fixed nav + announcement bar */
html:is(.light, .dark) .gw-site-shell:has(.gw-nav-premium) .gw-main {
  padding-top: calc(var(--gw-nf-chrome-h, calc(var(--gw-nf-nav-h) + 2.125rem)) + 0.75rem);
}

/* —— Pre-footer (Final CTA + trust strip; meeting booking inserts after on home) —— */
html:is(.light, .dark) .gw-pre-footer {
  position: relative;
  background: var(--surface-elevated);
  color: var(--gw-nf-body);
  padding-bottom: 0.5rem;
  border-top: 1px solid var(--gw-nf-border);
}

/* —— Footer —— */
html.light .gw-footer.gw-footer-premium {
  position: relative;
  margin-top: 0;
  padding-top: 3.25rem;
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, color-mix(in srgb, var(--gw-nf-heading) 8%, transparent), transparent 60%),
    radial-gradient(ellipse 45% 35% at 88% 8%, color-mix(in srgb, var(--gw-nf-green) 7%, transparent), transparent 55%),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-surface-body, #ffffff) 70%, transparent) 0%,
      var(--color-surface-raised, var(--surface-elevated)) 28%
    );
  color: var(--gw-nf-body);
  border-top: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent,
      color-mix(in srgb, var(--gw-nf-heading) 16%, transparent) 20%,
      color-mix(in srgb, var(--gw-nf-green) 22%, transparent) 50%,
      color-mix(in srgb, var(--gw-nf-heading) 16%, transparent) 80%,
      transparent
    )
    1;
  overflow: hidden;
}

html.dark .gw-footer.gw-footer-premium {
  position: relative;
  margin-top: 0;
  padding-top: 3.25rem;
  background: var(--color-surface-body, var(--color-chrome-4));
  color: var(--gw-nf-body);
  border-top: 1px solid var(--border-subtle, rgb(255 255 255 / 0.06));
  border-image: none;
  overflow: hidden;
}

html:is(.light, .dark) .gw-footer-premium__glow {
  position: absolute;
  inset-inline: 8%;
  top: -10rem;
  height: 20rem;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--gw-nf-heading) 12%, transparent) 0%, transparent 68%),
    radial-gradient(circle at 72% 42%, color-mix(in srgb, var(--gw-nf-green) 10%, transparent) 0%, transparent 55%);
  filter: blur(48px);
  opacity: 0.9;
}

html:is(.light, .dark) .gw-footer-premium .gw-footer__mesh,
html:is(.light, .dark) .gw-footer-premium::before {
  display: none;
}

html:is(.light, .dark) .gw-footer-premium__inner {
  position: relative;
  z-index: 1;
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}

/* Pre-footer CTA banner (outside main footer) */
html:is(.light, .dark) .gw-footer-premium__cta {
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gw-nf-heading) 8%, var(--surface-elevated)), color-mix(in srgb, var(--gw-nf-green) 6%, var(--surface-elevated)));
  border: 1px solid var(--gw-nf-border);
  text-align: center;
  box-shadow: 0 20px 56px color-mix(in srgb, var(--gw-nf-heading) 6%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__cta h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-footer-premium__cta p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: var(--gw-nf-muted);
  line-height: 1.6;
}

html:is(.light, .dark) .gw-footer-premium__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

html:is(.light, .dark) .gw-footer-premium__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8125rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html:is(.light, .dark) .gw-footer-premium__btn--primary {
  color: #ffffff;
  background: var(--gw-nf-green);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--gw-nf-green) 28%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__btn--primary:hover {
  transform: translateY(-2px);
}

html:is(.light, .dark) .gw-footer-premium__btn--secondary {
  color: var(--gw-nf-heading);
  background: var(--surface-elevated);
  border: 1px solid var(--gw-nf-border);
}

html:is(.light, .dark) .gw-footer-premium__btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--gw-nf-heading) 8%, transparent);
}

/* Trust strip */
html:is(.light, .dark) .gw-footer-premium__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--color-surface-body, var(--color-surface-body));
  border: 1px solid var(--gw-nf-border);
}

@media (min-width: 768px) {
  html:is(.light, .dark) .gw-footer-premium__trust {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

html:is(.light, .dark) .gw-footer-premium__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-footer-premium__trust-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--gw-nf-green) 12%, transparent);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Main grid — Brand | Services | Company | Resources | Contact */
html:is(.light, .dark) .gw-footer-premium__grid {
  display: grid;
  gap: 1.75rem 1.35rem;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  html:is(.light, .dark) .gw-footer-premium__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html:is(.light, .dark) .gw-footer-premium__col--brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  html:is(.light, .dark) .gw-footer-premium__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html:is(.light, .dark) .gw-footer-premium__col--brand {
    grid-column: 1 / -1;
  }

  html:is(.light, .dark) .gw-footer-premium__col--contact {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  html:is(.light, .dark) .gw-footer-premium__grid {
    grid-template-columns: minmax(15rem, 1.4fr) repeat(3, minmax(0, 0.9fr)) minmax(16rem, 1.25fr);
    gap: 1.5rem 1.5rem;
  }

  html:is(.light, .dark) .gw-footer-premium__col--brand,
  html:is(.light, .dark) .gw-footer-premium__col--contact {
    grid-column: auto;
  }
}

html:is(.light, .dark) .gw-footer-premium__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

html:is(.light, .dark) .gw-footer-premium__social {
  display: block;
  margin-top: 0.85rem;
  width: 100%;
}

html:is(.light, .dark) .gw-footer-premium__social-label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gw-nf-heading) 55%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

html:is(.light, .dark) .gw-footer-premium__social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 12%, transparent);
  color: var(--gw-nf-heading);
  background:
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--color-surface-raised, #ffffff) 96%, transparent),
      color-mix(in srgb, var(--gw-nf-heading) 4%, transparent)
    );
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 70%, transparent) inset,
    0 8px 18px color-mix(in srgb, var(--gw-nf-heading) 6%, transparent);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

html:is(.light, .dark) .gw-footer-premium__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

html:is(.light, .dark) .gw-footer-premium__social-icon svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  flex: 0 0 1.15rem;
}

html:is(.light, .dark) a.gw-footer-premium__social-link:hover,
html:is(.light, .dark) a.gw-footer-premium__social-link:focus-visible {
  transform: translateY(-3px);
}

html:is(.light, .dark) a.gw-footer-premium__social-link:focus-visible {
  outline: 2px solid var(--gw-nf-green);
  outline-offset: 2px;
}

html:is(.light, .dark) a.gw-footer-premium__social-link--facebook:hover,
html:is(.light, .dark) a.gw-footer-premium__social-link--facebook:focus-visible {
  color: var(--color-chrome-0);
  border-color: color-mix(in srgb, var(--color-chrome-0) 40%, transparent);
  background: color-mix(in srgb, var(--color-chrome-0) 10%, transparent);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--color-chrome-0) 18%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__social-link--facebook {
  color: var(--color-chrome-0);
}

html:is(.light, .dark) .gw-footer-premium__social-link--github {
  color: var(--color-chrome-3);
}

html:is(.light, .dark) .gw-footer-premium__social-link--youtube {
  color: #13009a;
}

html:is(.light, .dark) a.gw-footer-premium__social-link--github:hover,
html:is(.light, .dark) a.gw-footer-premium__social-link--github:focus-visible {
  color: var(--color-text-body);
  border-color: color-mix(in srgb, var(--color-text-body) 28%, transparent);
  background: color-mix(in srgb, var(--color-text-body) 7%, transparent);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--color-text-body) 12%, transparent);
}

html:is(.light, .dark) a.gw-footer-premium__social-link--youtube:hover,
html:is(.light, .dark) a.gw-footer-premium__social-link--youtube:focus-visible {
  color: #13009a;
  border-color: color-mix(in srgb, #13009a 40%, transparent);
  background: color-mix(in srgb, #13009a 10%, transparent);
  box-shadow: 0 12px 24px color-mix(in srgb, #13009a 16%, transparent);
}

html.dark a.gw-footer-premium__social-link--github:hover,
html.dark a.gw-footer-premium__social-link--github:focus-visible {
  color: #ffffff;
  border-color: color-mix(in srgb, #ffffff 28%, transparent);
  background: color-mix(in srgb, #ffffff 8%, transparent);
}

html.dark .gw-footer-premium__social-link--github {
  color: #ffffff;
}

html:is(.light, .dark) .gw-footer-premium__social-link.is-pending {
  opacity: 0.55;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  html:is(.light, .dark) .gw-footer-premium__social-link {
    transition: none;
  }

  html:is(.light, .dark) a.gw-footer-premium__social-link:hover {
    transform: none;
  }
}

html:is(.light, .dark) .gw-footer-premium__heading {
  position: relative;
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-footer-premium__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1.65rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gw-nf-green),
    color-mix(in srgb, var(--gw-nf-heading) 45%, transparent)
  );
}

html:is(.light, .dark) .gw-footer-premium__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
  width: 100%;
}

html:is(.light, .dark) .gw-footer-premium__list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gw-nf-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0;
}

html:is(.light, .dark) .gw-footer-premium__list a:hover {
  color: var(--gw-nf-heading);
  transform: translateX(3px);
}

/* Contact glass panel */
html:is(.light, .dark) .gw-footer-premium__panel {
  width: 100%;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--gw-nf-heading) 4%, transparent),
      transparent 42%
    ),
    color-mix(in srgb, var(--color-surface-raised, #ffffff) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 70%, transparent) inset,
    0 16px 40px color-mix(in srgb, var(--gw-nf-heading) 7%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gw-nf-green);
  text-decoration: none;
  transition: gap 0.22s ease, color 0.22s ease;
}

html:is(.light, .dark) .gw-footer-premium__more:hover {
  gap: 0.5rem;
  color: color-mix(in srgb, var(--gw-nf-green) 80%, var(--gw-nf-heading));
}

html:is(.light, .dark) .gw-footer-premium__more-arrow {
  display: inline-block;
  transition: transform 0.22s ease;
}

html:is(.light, .dark) .gw-footer-premium__more:hover .gw-footer-premium__more-arrow {
  transform: translateX(2px);
}

html:is(.light, .dark) .gw-footer-premium__contact {
  gap: 0.55rem;
}

html:is(.light, .dark) .gw-footer-premium__contact-line {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--gw-nf-muted);
  line-height: 1.45;
}

html:is(.light, .dark) .gw-footer-premium__contact-icon {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--gw-nf-heading);
  background: color-mix(in srgb, var(--gw-nf-heading) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__contact-line a {
  color: var(--gw-nf-heading);
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-height: 0;
  padding: 0;
  transform: none;
}

html:is(.light, .dark) .gw-footer-premium__contact-line a:hover {
  color: var(--gw-nf-green);
  transform: none;
}

html:is(.light, .dark) .gw-footer-premium__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--gw-nf-green) 42%, var(--gw-nf-heading));
  background: color-mix(in srgb, var(--gw-nf-green) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--gw-nf-green) 22%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__status-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--gw-nf-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gw-nf-green) 18%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  html:is(.light, .dark) .gw-footer-premium__status-dot {
    animation: gwFooterPulse 2.4s ease-in-out infinite;
  }
}

@keyframes gwFooterPulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gw-nf-green) 18%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gw-nf-green) 8%, transparent); }
}

html:is(.light, .dark) .gw-footer-premium__contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem 1.1rem;
  border-radius: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--gw-nf-green),
    color-mix(in srgb, var(--gw-nf-green) 75%, var(--gw-nf-heading))
  );
  box-shadow: 0 10px 26px color-mix(in srgb, var(--gw-nf-green) 26%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

html:is(.light, .dark) .gw-footer-premium__contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--gw-nf-green) 32%, transparent);
}

/* Newsletter band — full-width row under the columns */
html:is(.light, .dark) .gw-footer-premium__newsband {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 10%, transparent);
  background:
    linear-gradient(
      150deg,
      color-mix(in srgb, var(--gw-nf-heading) 4%, transparent),
      transparent 45%
    ),
    color-mix(in srgb, var(--color-surface-raised, #ffffff) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 65%, transparent) inset,
    0 14px 36px color-mix(in srgb, var(--gw-nf-heading) 6%, transparent);
}

@media (min-width: 900px) {
  html:is(.light, .dark) .gw-footer-premium__newsband {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem 1.6rem;
  }
}

html:is(.light, .dark) .gw-footer-premium__newsband-copy {
  max-width: 30rem;
}

html:is(.light, .dark) .gw-footer-premium__heading--band {
  margin-bottom: 0.45rem;
  padding-bottom: 0.5rem;
  font-size: 0.8125rem;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-lead {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--gw-nf-muted);
}

html:is(.light, .dark) .gw-footer-premium__newsletter {
  width: 100%;
}

@media (min-width: 900px) {
  html:is(.light, .dark) .gw-footer-premium__newsletter {
    width: auto;
    min-width: 26rem;
    flex-shrink: 0;
  }
}

html:is(.light, .dark) .gw-footer-premium__newsletter-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 0.3rem;
  border-radius: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 12%, transparent);
  background: color-mix(in srgb, var(--color-surface-raised, #ffffff) 92%, transparent);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 60%, transparent) inset,
    0 8px 20px color-mix(in srgb, var(--gw-nf-heading) 5%, transparent);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-group:focus-within {
  border-color: color-mix(in srgb, var(--gw-nf-heading) 28%, transparent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--gw-nf-heading) 8%, transparent),
    0 1px 0 color-mix(in srgb, #ffffff 55%, transparent) inset;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-group.is-invalid {
  border-color: color-mix(in srgb, #13009a 55%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__newsletter-group.is-valid {
  border-color: color-mix(in srgb, var(--gw-nf-green) 45%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__newsletter input[type="email"] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--gw-nf-heading);
  outline: none;
}

html:is(.light, .dark) .gw-footer-premium__newsletter input[type="email"]::placeholder {
  color: color-mix(in srgb, var(--gw-nf-muted) 85%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__newsletter button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: none;
  border-radius: 0.7rem;
  padding: 0.65rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gw-nf-green);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

html:is(.light, .dark) .gw-footer-premium__newsletter button:hover:not(:disabled) {
  transform: translateY(-1px);
}

html:is(.light, .dark) .gw-footer-premium__newsletter button:disabled {
  opacity: 0.85;
  cursor: wait;
}

html:is(.light, .dark) .gw-footer-premium__newsletter button[aria-busy="true"] [data-newsletter-btn-label]::after {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-left: 0.35rem;
  border: 2px solid color-mix(in srgb, #ffffff 35%, transparent);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: gw-newsletter-spin 0.65s linear infinite;
  vertical-align: -0.1em;
}

@keyframes gw-newsletter-spin {
  to { transform: rotate(360deg); }
}

html:is(.light, .dark) .gw-footer-premium__newsletter-form-wrap[hidden],
html:is(.light, .dark) .gw-footer-premium__newsletter-success[hidden] {
  display: none !important;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-success {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--gw-nf-green) 35%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gw-nf-green) 10%, transparent),
      color-mix(in srgb, var(--gw-nf-green) 3%, transparent)
    ),
    color-mix(in srgb, var(--color-surface-raised, #ffffff) 94%, transparent);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 60%, transparent) inset,
    0 10px 28px color-mix(in srgb, var(--gw-nf-green) 8%, transparent);
  animation: gw-newsletter-success-in 0.45s ease;
}

@keyframes gw-newsletter-success-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html:is(.light, .dark) .gw-footer-premium__newsletter-success-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--gw-nf-green);
  background: color-mix(in srgb, var(--gw-nf-green) 14%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__newsletter-success-body {
  min-width: 0;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-success-body strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gw-nf-heading);
  margin-bottom: 0.25rem;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-success-body p {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--gw-nf-muted);
}

html:is(.light, .dark) .gw-footer-premium__newsletter-success-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gw-nf-green);
  text-decoration: none;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-success-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

html:is(.light, .dark) .gw-footer-premium__newsletter.is-subscribed .gw-footer-premium__newsletter-note {
  margin-top: 0.65rem;
}

html:is(.light, .dark) .gw-newsletter-toast {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--gw-nf-green) 30%, transparent);
  background: color-mix(in srgb, var(--color-surface-raised, #ffffff) 96%, transparent);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 70%, transparent) inset,
    0 16px 40px color-mix(in srgb, var(--gw-nf-heading) 14%, transparent);
  color: var(--gw-nf-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  animation: gw-newsletter-toast-in 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html:is(.light, .dark) .gw-newsletter-toast.is-leaving {
  animation: gw-newsletter-toast-out 0.35s ease forwards;
}

@keyframes gw-newsletter-toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gw-newsletter-toast-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

html:is(.light, .dark) .gw-newsletter-toast__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--gw-nf-green);
}

html:is(.light, .dark) .gw-newsletter-toast__text {
  min-width: 0;
}

@media (max-width: 480px) {
  html:is(.light, .dark) .gw-newsletter-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

html:is(.light, .dark) .gw-footer-premium__newsletter-feedback.is-success a {
  color: var(--gw-nf-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-feedback {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-feedback.is-error {
  color: #13009a;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-feedback.is-success {
  color: var(--gw-nf-green);
}

html:is(.light, .dark) .gw-footer-premium__newsletter-note {
  margin: 0.55rem 0 0;
  font-size: 0.6875rem;
  color: var(--gw-nf-muted);
  line-height: 1.5;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html:is(.light, .dark) .gw-footer-premium__newsletter-note a:hover {
  color: var(--gw-nf-heading);
}

/* Compact CTA strip */
html:is(.light, .dark) .gw-footer-premium__strip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 12%, transparent);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, color-mix(in srgb, var(--gw-nf-heading) 10%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 120% at 100% 50%, color-mix(in srgb, var(--gw-nf-green) 12%, transparent), transparent 55%),
    color-mix(in srgb, var(--color-surface-raised, #ffffff) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 color-mix(in srgb, #ffffff 65%, transparent) inset,
    0 16px 40px color-mix(in srgb, var(--gw-nf-heading) 8%, transparent);
}

@media (min-width: 768px) {
  html:is(.light, .dark) .gw-footer-premium__strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.6rem;
  }
}

html:is(.light, .dark) .gw-footer-premium__strip-title {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-footer-premium__strip-text {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--gw-nf-muted);
  max-width: 34rem;
}

html:is(.light, .dark) .gw-footer-premium__strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.75rem 1.2rem;
  border-radius: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--gw-nf-green),
    color-mix(in srgb, var(--gw-nf-green) 75%, var(--gw-nf-heading))
  );
  box-shadow: 0 10px 26px color-mix(in srgb, var(--gw-nf-green) 26%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

html:is(.light, .dark) .gw-footer-premium__strip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--gw-nf-green) 32%, transparent);
}

/* Bottom bar */
html:is(.light, .dark) .gw-footer-premium__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 1.35rem;
  padding: 1.15rem 0 1.65rem;
  border-top: 1px solid var(--gw-nf-border);
}

@media (min-width: 900px) {
  html:is(.light, .dark) .gw-footer-premium__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

html:is(.light, .dark) .gw-footer-premium__copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--gw-nf-muted);
}

html:is(.light, .dark) .gw-footer-premium__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

html:is(.light, .dark) .gw-footer-premium__bottom-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gw-nf-muted);
  text-decoration: none;
}

html:is(.light, .dark) .gw-footer-premium__bottom-links a:hover {
  color: var(--gw-nf-heading);
}

html:is(.light, .dark) .gw-footer-premium__top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gw-nf-heading) 12%, transparent);
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--color-surface-raised, #ffffff) 96%, transparent),
      color-mix(in srgb, var(--gw-nf-heading) 3%, transparent)
    );
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gw-nf-heading);
  cursor: pointer;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--gw-nf-heading) 5%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html:is(.light, .dark) .gw-footer-premium__top-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gw-nf-green) 30%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--gw-nf-heading) 9%, transparent);
}

html:is(.light, .dark) .gw-footer-premium__reveal,
html:is(.light, .dark) .gw-footer-premium__reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 639.98px) {
  html:is(.light, .dark) .gw-footer.gw-footer-premium {
    padding-top: 2.25rem;
  }

  html:is(.light, .dark) .gw-footer-premium__newsletter-group {
    flex-direction: column;
    gap: 0.35rem;
  }

  html:is(.light, .dark) .gw-footer-premium__newsletter button {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }

  html:is(.light, .dark) .gw-footer-premium__contact-btn,
  html:is(.light, .dark) .gw-footer-premium__strip-btn {
    width: 100%;
    justify-content: center;
  }

  html:is(.light, .dark) .gw-footer-premium__list a {
    min-height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:is(.light, .dark) .gw-footer-premium__reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html:is(.light, .dark) .gw-footer-premium__contact-btn:hover,
  html:is(.light, .dark) .gw-footer-premium__strip-btn:hover,
  html:is(.light, .dark) .gw-footer-premium__top-btn:hover {
    transform: none;
  }
}

/* ===== illustrations.css ===== */
/**
 * Grove Web Digital — premium SVG illustration layout helpers
 */

.gw-illustration,
img.gw-illustration {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.gw-svc-card__media {
  margin: -1.1rem -1.1rem 0.75rem;
  border-radius: 0.9rem 0.9rem 0 0;
  overflow: hidden;
  height: 7.25rem;
  flex-shrink: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gw-svc-heading, var(--color-text-heading)) 8%, transparent);
  background: color-mix(in srgb, var(--gw-svc-heading, var(--color-text-heading)) 4%, transparent);
}

.gw-svc-card__thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gw-featured-projects__img,
.gw-pp-card__img,
.gw-sp-visual__img,
.gw-sp-portfolio-card__img,
.gw-svc-work__img,
.gw-prod-soon__img,
.gw-nf-illustration__img,
.cp-auth-illus__img,
.gw-ab-hero__illus,
.gw-cp-illustration__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gw-featured-projects__thumb,
.gw-sp-visual__inner,
.gw-sp-portfolio-card__thumb,
.cp-auth-illus,
.gw-ab-hero__visual,
.gw-prod-soon__visual {
  overflow: hidden;
}

.gw-sp-visual__inner {
  border-radius: 1rem;
  box-shadow: 0 20px 50px color-mix(in srgb, var(--color-text-heading) 10%, transparent);
}

.gw-sp-portfolio-card__thumb {
  min-height: 12rem;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

/**
 * Dark mode — light mockup SVGs become dark surfaces.
 * Only targets /illustrations/ assets so real photo uploads stay natural.
 */
html.dark img[src*="/illustrations/"],
html.dark .gw-illustration[src*="/illustrations/"] {
  filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.96) saturate(1.08);
  transition: filter 0.35s ease, transform 0.45s ease;
}

html.dark .gw-featured-projects__thumb-wrap,
html.dark .gw-pp-card__media,
html.dark .gw-svc-card__media,
html.dark .gw-sp-portfolio-card__thumb,
html.dark .gw-sp-visual__inner,
html.dark .gw-be-card__ratio {
  background: linear-gradient(
    145deg,
    var(--color-dm-surface, #0b1120) 0%,
    var(--color-dm-elevated, #111827) 100%
  ) !important;
}

html.dark .gw-pcs__viewport img[src*="/illustrations/"],
html.dark .gw-pcs__stage img[src*="/illustrations/"] {
  filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.96) saturate(1.08);
}

/* ===== grove.css (imports stripped) ===== */
/* Grove Web Digital — Jesus Empire brand (light locked) + Tailwind utilities */
/* Dark hybrid: theme-dark.css + brand-dark-unify.css load last from base.html */

:root {
  /* Semantic tokens mapped from locked brand palette (tokens.css) */
  --background: 210 20% 98%; /* var(--color-surface-body) */
  --foreground: 0 0% 11%; /* var(--color-text-body) body */
  --card: 0 0% 100%; /* var(--surface-elevated) */
  --card-foreground: 0 0% 11%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 11%;
  --primary: 121 74% 29%; /* var(--color-button-primary-bg) — buttons & accents only */
  --primary-foreground: 0 0% 100%;
  --primary-glow: 121 74% 35%;
  --secondary: 210 20% 96%;
  --secondary-foreground: 0 0% 11%;
  --muted: 210 16% 95%;
  --muted-foreground: 0 0% 35%;
  --accent: 244 100% 30%; /* var(--color-text-heading) — heading purple */
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 0 0% 100%;
  --ring: 121 74% 29%;
  --radius: 1rem;
  --glass-bg: 0 0% 100%;
  --glass-bg-opacity: 0.92;
  --glass-border: 220 13% 91%;
  --glass-border-opacity: 0.65;
  --glass-shadow: 244 30% 20%;
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-button-primary-bg),
    color-mix(in srgb, var(--color-button-primary-bg) 80%, #ffffff)
  );
  --gradient-hero: linear-gradient(135deg, var(--color-surface-body) 0%, var(--surface-muted) 50%, var(--surface-muted) 100%);
  --gradient-mesh: radial-gradient(at 20% 20%, color-mix(in srgb, var(--color-text-heading) 4%, transparent) 0px, transparent 50%),
    radial-gradient(at 80% 0%, color-mix(in srgb, var(--color-chrome-0) 5%, transparent) 0px, transparent 50%),
    radial-gradient(at 60% 80%, color-mix(in srgb, var(--color-button-primary-bg) 3%, transparent) 0px, transparent 50%);
  --shadow-glass: 0 8px 32px 0 color-mix(in srgb, var(--color-text-heading) 6%, transparent);
  --shadow-glow: 0 0 24px color-mix(in srgb, var(--color-button-primary-bg) 22%, transparent);
  --shadow-elegant: 0 20px 60px -20px color-mix(in srgb, var(--color-text-heading) 12%, transparent);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Hybrid — slate surfaces + brand accents (maps to theme.css tokens) */
html.dark {
  --background: 230 55% 5%; /* #050816 */
  --foreground: 210 40% 98%; /* #F8FAFC */
  --card: 217 33% 12%; /* #0F172A */
  --card-foreground: 210 40% 98%;
  --popover: 220 26% 14%; /* #111827 */
  --popover-foreground: 210 40% 98%;
  --primary: 121 74% 29%; /* #137f15 buttons */
  --primary-foreground: 0 0% 100%;
  --primary-glow: 121 74% 38%;
  --secondary: 222 47% 8%; /* #0B1120 */
  --secondary-foreground: 210 40% 98%;
  --muted: 222 47% 8%;
  --muted-foreground: 215 16% 65%; /* #94A3B8 */
  --accent: 230 70% 55%; /* lifted chrome for UI links/icons */
  --accent-foreground: 0 0% 100%;
  --destructive: 244 70% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 0 0% 100%;
  --input: 222 47% 8%;
  --ring: 121 74% 29%;
  --glass-bg: 217 33% 12%;
  --glass-bg-opacity: 0.72;
  --glass-border: 0 0% 100%;
  --glass-border-opacity: 0.08;
  --glass-shadow: 230 55% 4%;
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-button-primary-bg),
    color-mix(in srgb, var(--color-button-primary-bg) 78%, #ffffff)
  );
  --gradient-hero: linear-gradient(
    155deg,
    var(--color-dm-canvas) 0%,
    var(--color-dm-surface) 55%,
    var(--color-dm-card) 100%
  );
  --gradient-mesh: radial-gradient(at 18% 12%, color-mix(in srgb, var(--color-chrome-0) 26%, transparent) 0px, transparent 52%),
    radial-gradient(at 88% 0%, color-mix(in srgb, var(--color-chrome-0) 14%, transparent) 0px, transparent 50%),
    radial-gradient(at 60% 88%, color-mix(in srgb, var(--color-button-primary-bg) 10%, transparent) 0px, transparent 52%);
  --shadow-glass: 0 10px 36px 0 rgb(0 0 0 / 0.45);
  --shadow-glow: 0 0 44px color-mix(in srgb, var(--color-chrome-0) 28%, transparent);
  --shadow-elegant: 0 24px 64px rgb(0 0 0 / 0.55);
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}
html.dark {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: var(--font-size-body);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "rlig" 1, "calt" 1;
  transition: background-color 0.5s ease, color 0.5s ease;
}

html:is(.light, .dark) body {
  background-color: var(--color-surface-body);
  color: var(--color-text-body);
}

/* Locked heading color — light mode only (dark mode untouched) */
html:is(.light, .dark) h1,
html:is(.light, .dark) h2,
html:is(.light, .dark) h3,
html:is(.light, .dark) h4,
html:is(.light, .dark) h5,
html:is(.light, .dark) h6,
html:is(.light, .dark) .gw-heading {
  color: var(--color-text-heading);
  font-weight: var(--font-weight-heading);
}

html:is(.light, .dark) p,
html:is(.light, .dark) li {
  color: var(--color-text-body);
}

/* Prose paragraphs — locked reading width */
.gw-prose,
.gw-legal-body p,
.gw-blog-body p {
  max-width: var(--body-max-width);
}

::selection {
  background: hsl(var(--primary) / 0.25);
}

.font-display {
  font-family: "Space Grotesk", Inter, sans-serif;
}

.mesh-bg {
  background-image: var(--gradient-mesh);
}

/* Layout.tsx: min-h-screen flex flex-col bg-background mesh-bg */
.gw-site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: hsl(var(--background));
  background-image: var(--gradient-mesh);
}

html:is(.light, .dark) .gw-site-shell {
  background-color: var(--color-surface-body);
  background-image: var(--gradient-mesh);
}

/* Tailwind bg-gradient-hero — Index.tsx hero overlay (light blue / white wash over hero-bg.jpg) */
.bg-gradient-hero {
  background-image: var(--gradient-hero);
}

/*
 * Page shell = Layout.tsx: min-h-screen flex flex-col bg-background mesh-bg
 * Hero section = Index.tsx only: relative overflow-hidden + hero-bg + gradient-hero (no extra hex layers)
 * Main offset = Layout.tsx pt-24 via .gw-main (grove-tw.css)
 */

/* hero-bg.jpg — Index opacity-20 / dark:opacity-40 */
.gw-hero-bg-photo {
  opacity: 0.2;
}
html.dark .gw-hero-bg-photo {
  opacity: 0.4;
}

/* Home hero — clear fixed navbar + service marquee (do not sit under chrome) */
html:is(.light, .dark) .gw-site-shell:has(.gw-nav-premium) .gw-main.gw-main--home {
  padding-top: calc(var(--gw-nf-chrome-h, calc(var(--gw-nf-nav-h, 5.5rem) + 2.675rem)) + 0.35rem);
}

.gw-hero-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .gw-hero-inner {
    padding-top: 0.75rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .gw-hero-inner {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }
}

/* Stats row — Index.tsx */
.gw-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .gw-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.glass {
  background: hsl(var(--glass-bg) / var(--glass-bg-opacity));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid hsl(var(--glass-border) / var(--glass-border-opacity));
  box-shadow: var(--shadow-glass);
}

.glass-strong {
  background: hsl(var(--glass-bg) / 0.75);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid hsl(var(--glass-border) / var(--glass-border-opacity));
  box-shadow: var(--shadow-glass);
}

/* Light mode: brand heading purple. Dark mode: original gradient. */
html:is(.light, .dark) .gradient-text {
  color: var(--color-text-heading);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

html.dark .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 1024px) {
  .lg\:order-1 {
    order: 1;
  }
  .lg\:order-2 {
    order: 2;
  }
}

.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-heading {
  color: var(--color-text-heading);
}

html.dark .text-heading {
  color: hsl(var(--foreground));
}

.text-body {
  color: var(--color-text-body);
}

html.dark .text-body {
  color: hsl(var(--foreground));
}

.text-destructive {
  color: hsl(var(--destructive));
}

.bg-gradient-primary {
  background-image: var(--gradient-primary);
  background-color: transparent;
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.shadow-elegant {
  box-shadow: var(--shadow-elegant);
}

a.gw-social-sq:hover {
  color: hsl(var(--primary));
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* .gw-main defined in grove-tw.css (matches Layout.tsx pt-24 + animate-fade-in) */

@keyframes gw-fade-in {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gw-fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gw-scale-in {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  animation: gw-scale-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gw-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes gw-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes gw-glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px hsl(var(--primary) / 0.4);
  }
  50% {
    box-shadow: 0 0 40px hsl(var(--primary) / 0.7);
  }
}

.animate-fade-in-up {
  animation: gw-fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-float {
  animation: gw-float 6s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: gw-glow-pulse 3s ease-in-out infinite;
}

html:is(.light, .dark) .gw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  background: var(--color-button-primary-bg);
  background-image: none;
  color: var(--color-button-primary-text);
  font-weight: var(--font-weight-heading);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.2s ease;
}

.gw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  background-image: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gw-btn-primary:hover {
  transform: scale(1.05);
}

.gw-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}
.gw-btn-glass:hover {
  box-shadow: var(--shadow-elegant);
}

/* Navbar — brand chrome gradient (light mode only) */
.gw-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: padding 0.5s ease;
}

html:is(.light, .dark) .gw-nav-wrap {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid rgb(var(--surface-rgb) / 0.08);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-inner,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-mobile-panel {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a {
  color: var(--color-text-on-chrome-muted);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a:hover,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a.is-active {
  color: var(--color-text-on-chrome);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-links a.is-active::after {
  background: var(--color-button-primary-bg);
  background-image: none;
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-mobile-panel a {
  color: var(--color-text-on-chrome-muted);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-mobile-panel a.is-active {
  background: rgb(var(--surface-rgb) / 0.12);
  color: var(--color-text-on-chrome);
}

html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-brand__grove,
html:is(.light, .dark) .gw-nav-wrap.brand-chrome .gw-nav-brand__suffix {
  color: var(--color-text-on-chrome);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: none;
}
html:is(.light, .dark) .gw-nav-wrap.is-scrolled {
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.18);
}

html.dark .gw-nav-wrap.is-scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.gw-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  transition: box-shadow 0.5s ease;
}
.gw-nav-inner.shadow-elegant {
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) {
  .gw-nav-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.gw-nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .gw-nav-links {
    display: flex;
  }
}
.gw-nav-links a {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}
.gw-nav-links a:hover {
  color: hsl(var(--foreground));
}
.gw-nav-links a.is-active {
  color: hsl(var(--primary));
}
.gw-nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2px;
  height: 2px;
  border-radius: 9999px;
  background-image: var(--gradient-primary);
}

.gw-logo-img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.5rem;
  background: var(--surface-elevated);
  object-fit: contain;
}

/* Navbar brand — premium agency wordmark (aligned icon + two-tone + hover) */
.gw-nav-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  min-width: 0;
}

.gw-nav-brand-logo {
  flex-shrink: 0;
  align-self: center;
}

.gw-nav-brand-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(0.9375rem, 2.8vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
}

.gw-nav-brand__grove {
  color: var(--color-text-body);
  text-shadow:
    0 1px 0 rgb(var(--surface-rgb) / 0.55),
    0 0.5px 0 rgb(var(--surface-rgb) / 0.35);
}

html.dark .gw-nav-brand__grove {
  color: hsl(210 40% 98%);
  text-shadow:
    0 1px 1px rgb(0 0 0 / 0.35),
    0 0 20px hsl(195 100% 60% / 0.08);
}

/* “Web Digital” — same primary spectrum as Get a Quote (gradient) */
.gw-nav-brand__suffix {
  margin-left: 0.3ch;
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition:
    filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    text-shadow 0.35s ease;
  filter: drop-shadow(0 1px 0 rgb(var(--surface-rgb) / 0.12));
}

html.dark .gw-nav-brand__suffix {
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.25));
}

.gw-nav-brand-link:hover .gw-nav-brand__suffix,
.gw-nav-brand-link:focus-visible .gw-nav-brand__suffix {
  filter: drop-shadow(0 0 14px hsl(var(--primary) / 0.55)) drop-shadow(0 0 28px hsl(var(--primary-glow) / 0.35))
    brightness(1.06);
}

.gw-nav-brand-link:hover .gw-nav-brand__grove,
.gw-nav-brand-link:focus-visible .gw-nav-brand__grove {
  color: var(--color-chrome-4);
}

html.dark .gw-nav-brand-link:hover .gw-nav-brand__grove,
html.dark .gw-nav-brand-link:focus-visible .gw-nav-brand__grove {
  color: hsl(0 0% 100%);
}

@media (max-width: 380px) {
  .gw-nav-brand-text {
    letter-spacing: -0.025em;
    font-size: 0.875rem;
  }
  .gw-nav-inner .gw-nav-brand-link {
    gap: 0.375rem;
  }
  .gw-nav-brand-logo {
    height: 2.125rem;
    width: 2.125rem;
  }
}

.gw-mobile-panel {
  display: none;
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
}
.gw-mobile-panel.is-open {
  display: block;
}
@media (min-width: 1024px) {
  .gw-mobile-panel {
    display: none !important;
  }
}

.gw-mobile-panel a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}
.gw-mobile-panel a.is-active {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

/* Theme toggle — premium animated sun/moon pill */
.gw-theme-toggle {
  position: relative;
  display: inline-flex;
  height: 2.25rem;
  width: 4rem;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--glass-bg) / var(--glass-bg-opacity));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.gw-theme-toggle:hover {
  box-shadow: var(--shadow-glow);
}
.gw-theme-toggle:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
}
.gw-theme-knob {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 9999px;
  background-image: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  will-change: transform;
}
html.dark .gw-theme-knob {
  transform: translateX(1.75rem);
}
.gw-theme-toggle .gw-theme-icon-bg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.875rem;
  height: 0.875rem;
  pointer-events: none;
  color: hsl(var(--muted-foreground));
  transition: opacity 0.35s ease;
}
.gw-theme-toggle .gw-theme-sun-bg {
  left: 0.55rem;
}
html.light .gw-theme-toggle .gw-theme-sun-bg {
  opacity: 0;
}
html.dark .gw-theme-toggle .gw-theme-sun-bg {
  opacity: 0.35;
}
.gw-theme-toggle .gw-theme-moon-bg {
  right: 0.55rem;
}
html.light .gw-theme-toggle .gw-theme-moon-bg {
  opacity: 0.35;
}
html.dark .gw-theme-toggle .gw-theme-moon-bg {
  opacity: 0;
}
html.light .gw-theme-knob .gw-knob-icon-dark {
  display: none;
}
html.dark .gw-theme-knob .gw-knob-icon-light {
  display: none;
}

html:is(.light, .dark) .gw-nav-cta {
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-heading);
  background: var(--color-button-primary-bg);
  background-image: none;
  color: var(--color-button-primary-text);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.gw-nav-cta {
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background-image: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.gw-nav-cta:hover {
  transform: scale(1.05);
}

/* Forms */
.gw-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--background) / 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border) / 0.6);
  outline: none;
  color: inherit;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.gw-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3);
}

/* Contact.tsx inputCls parity */
.gw-contact-field {
  background: hsl(var(--background) / 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.6);
}
.gw-contact-field:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
}
.gw-input-textarea {
  resize: none;
}

.gw-newsletter-input {
  flex: 1;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: none;
  outline: none;
  color: inherit;
}

/* --- Services index: alternating showcase rows --- */
.gw-services-showcase {
  overflow-x: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .gw-services-showcase {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }
}

.gw-services-showcase__intro {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .gw-services-showcase__intro {
    padding-bottom: 5rem;
  }
}

.gw-services-showcase__intro p {
  line-height: 1.8;
}

.gw-services-stack {
  display: flex;
  flex-direction: column;
}

.gw-services-split {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .gw-services-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  .gw-services-split--reverse .gw-services-split__media {
    order: 2;
  }

  .gw-services-split--reverse .gw-services-split__content {
    order: 1;
  }
}

.gw-services-split__media,
.gw-services-split__content {
  min-width: 0;
}

.gw-services-stack > .gw-services-split + .gw-services-split {
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .gw-services-stack > .gw-services-split + .gw-services-split {
    margin-top: 8rem;
  }
}

/* Service detail (subpages) */
.gw-service-sub-hero {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .gw-service-sub-hero {
    padding: 6rem 0;
  }
}

.gw-service-sub-hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .gw-service-sub-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .gw-service-sub-hero__text {
    margin-right: 4rem;
  }
}

.gw-service-sub-hero__text {
  min-width: 0;
}

.gw-service-sub-hero__visual {
  min-width: 0;
  position: relative;
}

.gw-service-detail-page main {
  line-height: 1.8;
}

body.gw-services-index {
  line-height: 1.8;
}

.gw-service-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .gw-service-cards-grid {
    gap: 2.5rem;
  }

  .gw-service-cards-grid--md-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gw-service-cards-grid--md-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gw-service-cards-grid--lg-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gw-service-cards-grid--lg-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gw-service-cards-grid--lg-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gw-service-detail-page .gw-fcard {
  padding: 2.5rem;
}

.gw-service-detail-page .gw-service-cards-grid > .glass-strong {
  padding: 2.5rem;
}

.gw-service-tech-block {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .gw-service-tech-block {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
}

.gw-service-code-panel {
  padding: 2.5rem;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 640px) {
  .gw-service-code-panel {
    padding: 2.5rem 3rem;
  }
}

.gw-service-schema-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .gw-service-schema-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.gw-service-detail-page .gw-service-schema-card .gw-service-schema-h {
  padding: 1rem 2.5rem;
}

.gw-service-detail-page .gw-service-schema-card li {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.gw-service-detail-page .gw-service-brand-panel {
  padding: 2.5rem;
}

.gw-service-detail-page .gw-n8n-workflow-shell {
  padding: 2.5rem;
}

@media (min-width: 1024px) {
  .gw-service-detail-page .gw-n8n-workflow-shell {
    padding: 3rem;
  }
}

.gw-service-detail-cta {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .gw-service-detail-cta {
    padding-top: 4rem;
    padding-bottom: 8rem;
  }
}

/* Feature card (services) */
.gw-fcard-wrap {
  position: relative;
}
.gw-fcard-wrap:hover .gw-fcard-glow {
  opacity: 1;
}
.gw-fcard-glow {
  position: absolute;
  inset: -1px;
  border-radius: 1.5rem;
  background-image: var(--gradient-primary);
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.5s;
}
.gw-fcard {
  position: relative;
  height: 100%;
  border-radius: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
}
.gw-fcard-wrap:hover .gw-fcard {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
}
.gw-fcard-icon-wrap {
  position: relative;
  margin-bottom: 1.5rem;
  display: inline-flex;
}
.gw-fcard-icon {
  position: relative;
  height: 4rem;
  width: 4rem;
  border-radius: 1rem;
  background-image: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  color: hsl(var(--primary-foreground));
}
.gw-fcard-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Charts (success metrics) */
.gw-chart {
  width: 100%;
  height: 16rem;
}

/* Messages */
.gw-messages {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 24rem;
}
.gw-msg {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-elegant);
}
.gw-msg-success {
  background: hsl(142 76% 36% / 0.15);
  border: 1px solid hsl(142 76% 36% / 0.4);
  color: hsl(var(--foreground));
}
.gw-msg-error {
  background: hsl(var(--destructive) / 0.15);
  border: 1px solid hsl(var(--destructive) / 0.4);
}

/* Portfolio / filter tabs */
.gw-filter-btn.is-active {
  background-image: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}

/* Premium portfolio page — Sora for headlines, refined cards */
.gw-portfolio-section {
  padding: 0 0 5rem 0;
}

.gw-portfolio-hero--spaced {
  padding: 6rem 0;
  margin-bottom: 3rem;
}

.gw-portfolio-filters-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  row-gap: 16px;
  position: relative;
  z-index: 2;
}

.gw-portfolio-filters-nav--spaced {
  margin-bottom: 4rem;
}

.gw-portfolio-filters-nav .gw-filter-btn {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  cursor: pointer;
}

.gw-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .gw-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gw-portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gw-portfolio-page {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
}

.gw-portfolio-page--v2 .gw-portfolio-page-title {
  font-family: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.gw-portfolio-card--solid {
  background: hsl(0 0% 100%);
  border: 1px solid var(--surface-muted);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html.dark .gw-portfolio-card--solid {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.gw-portfolio-card--solid:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
}

html.dark .gw-portfolio-card--solid:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.gw-portfolio-card-body--v2 {
  padding: 2rem;
  text-align: left;
  align-items: stretch;
}

@media (max-width: 639px) {
  .gw-portfolio-card-body--v2 {
    padding: 2rem;
  }
}

.gw-portfolio-metric-pill {
  background: hsl(222 47% 11% / 0.72);
  color: hsl(0 0% 100%);
  backdrop-filter: blur(8px);
}

html.dark .gw-portfolio-metric-pill {
  background: hsl(0 0% 100% / 0.12);
  color: hsl(0 0% 100%);
}

.gw-portfolio-icon-pill {
  background: hsl(0 0% 100% / 0.92);
  color: hsl(var(--primary));
  box-shadow: 0 2px 12px hsl(215 50% 30% / 0.12);
}

html.dark .gw-portfolio-icon-pill {
  background: hsl(222 47% 11% / 0.85);
  color: hsl(var(--primary));
}

.gw-portfolio-page .gw-portfolio-lead {
  line-height: 1.7;
}

.gw-portfolio-page .gw-portfolio-hero h1 {
  font-family: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.gw-portfolio-page [role="list"] {
  align-items: stretch;
}

.gw-portfolio-page .gw-portfolio-card-heading,
.gw-portfolio-page .gw-portfolio-card h2 {
  font-family: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.25;
}

.gw-portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 26rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow:
    0 4px 6px -1px hsl(215 50% 30% / 0.06),
    0 12px 40px -12px hsl(215 50% 30% / 0.18);
}

@media (min-width: 640px) {
  .gw-portfolio-card {
    min-height: 28rem;
  }
}

.gw-portfolio-card:hover {
  transform: translateY(-10px);
}

.gw-portfolio-card:not(.gw-portfolio-card--solid):hover {
  box-shadow:
    0 24px 56px -18px hsl(215 50% 30% / 0.3),
    0 0 0 1px hsl(var(--primary) / 0.08),
    var(--shadow-glow);
}

/* Fixed-height media band — uniform across the grid */
.gw-portfolio-card-media {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  min-height: 11.5rem;
}

.gw-portfolio-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.gw-portfolio-card:hover .gw-portfolio-card-img {
  transform: scale(1.05);
}

.gw-portfolio-card-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Body: top-aligned stack, no flex-grow tricks that push content to the bottom */
.gw-portfolio-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 auto;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 0;
}

@media (max-width: 639px) {
  .gw-portfolio-card-body:not(.gw-portfolio-card-body--v2) {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .gw-portfolio-card {
    min-height: 0;
  }
}

.gw-portfolio-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 0 1 auto;
}

.gw-portfolio-card-eyebrow {
  margin: 0;
  line-height: 1.35;
}

.gw-portfolio-card-summary {
  margin: 0;
  line-height: 1.7;
  flex: 0 1 auto;
}

.gw-portfolio-card-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.625rem;
  margin-top: 0.125rem;
}

.gw-portfolio-card-glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    165deg,
    hsl(0 0% 100% / 0.12) 0%,
    hsl(222 47% 11% / 0.35) 45%,
    hsl(222 47% 11% / 0.55) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gw-portfolio-card:hover .gw-portfolio-card-glass {
  opacity: 1;
}

html.dark .gw-portfolio-card-glass {
  background: linear-gradient(
    165deg,
    hsl(0 0% 100% / 0.06) 0%,
    hsl(222 47% 4% / 0.5) 50%,
    hsl(222 47% 4% / 0.75) 100%
  );
}

.gw-portfolio-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.15);
  line-height: 1.2;
}

.gw-portfolio-card-tags li {
  margin: 0;
}

html.dark .gw-portfolio-tag {
  background: hsl(var(--primary) / 0.15);
  border-color: hsl(var(--primary) / 0.25);
}

.gw-portfolio-card-body--stack {
  justify-content: flex-start;
}

.gw-portfolio-card-text--grow {
  flex: 1 1 auto;
}

.gw-portfolio-case-cta {
  position: relative;
  padding-bottom: 0.125rem;
  background-image: linear-gradient(transparent calc(100% - 2px), hsl(var(--primary) / 0.45) 2px);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease, color 0.25s ease;
}

.gw-portfolio-case-cta:hover,
.gw-portfolio-card:hover .gw-portfolio-case-cta {
  background-size: 100% 100%;
  color: hsl(var(--primary));
}

.gw-portfolio-card-title-link:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Case study detail */
.gw-case-study-page .gw-main {
  padding-bottom: 100px;
}

.gw-case-study {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.gw-case-study--layout {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

article.gw-case-study--layout {
  padding-top: 3.5rem;
  padding-bottom: calc(4rem + 5.5rem);
  margin-bottom: 0;
}

.gw-case-study-prose--rhythm {
  margin-bottom: 4rem;
}

.gw-case-study-prose--rhythm > .gw-case-study-section.gw-case-study-section--results {
  margin-top: 4rem;
}

.gw-case-study-page-header {
  text-align: left;
}

.gw-case-study-title,
.gw-case-study-h2 {
  font-family: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.gw-case-study-h2 {
  margin-bottom: 3rem;
}

.gw-case-study-prose--rhythm > .gw-case-study-section:not(:first-child) {
  margin-top: 5rem;
}

.gw-case-study-prose,
.gw-case-study-lead {
  line-height: 1.8;
}

.gw-case-study-prose .gw-case-study-section > div {
  line-height: 1.8;
}

.gw-case-study-section > div.text-muted-foreground p {
  line-height: 1.8;
  margin: 0 0 2rem;
}

.gw-case-study-section > div.text-muted-foreground p:last-child {
  margin-bottom: 0;
}

.gw-case-study-rich {
  line-height: 1.8;
  text-align: left;
}

.gw-case-study-rich h2,
.gw-case-study-rich h3 {
  font-family: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  color: hsl(var(--foreground));
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.gw-case-study-rich h2:first-child,
.gw-case-study-rich h3:first-child {
  margin-top: 0;
}

.gw-case-study-rich h2 {
  font-size: 1.35rem;
}

.gw-case-study-rich h3 {
  font-size: 1.15rem;
}

.gw-case-study-rich p {
  margin: 0 0 2rem;
}

.gw-case-study-rich p:last-child {
  margin-bottom: 0;
}

.gw-case-study-rich ul,
.gw-case-study-rich ol {
  margin: 0 0 2rem;
  padding-left: 1.35rem;
  line-height: 1.8;
}

.gw-case-study-rich li {
  margin-bottom: 0.5rem;
}

.gw-case-study-rich a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gw-case-study-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1rem 0;
  border: 1px solid hsl(var(--border) / 0.6);
}

.gw-case-study-rich blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid hsl(var(--primary) / 0.5);
  background: hsl(var(--muted) / 0.35);
  border-radius: 0 0.5rem 0.5rem 0;
}

.gw-case-study-metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}

html.dark .gw-case-study-metric-icon {
  background: hsl(var(--primary) / 0.18);
}

.gw-case-study-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.gw-case-study-metrics > li::marker {
  content: none;
}

.gw-case-study-metrics > li,
.gw-case-study-metric {
  list-style: none;
  list-style-type: none;
}

@media (min-width: 640px) {
  .gw-case-study-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gw-case-study-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gw-case-study-metric {
  padding: 3rem;
}

@media (max-width: 639px) {
  .gw-case-study-metric {
    padding: 2.25rem 1.75rem;
  }
}

.gw-case-study-gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gw-case-study-gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.75rem;
  flex: 1;
  scrollbar-width: thin;
}

.gw-case-study-gallery-slide {
  scroll-snap-align: start;
  width: min(100%, 52rem);
}

.gw-case-study-gallery-slide figcaption {
  text-align: left;
}

.gw-case-study-gallery-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 24rem;
  object-fit: contain;
  background: hsl(var(--muted) / 0.35);
}

.gw-gallery-nav {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.gw-gallery-nav:hover {
  background: hsl(var(--primary) / 0.12);
  box-shadow: var(--shadow-elegant);
}

.gw-gallery-nav:active {
  transform: scale(0.96);
}

@media (max-width: 639px) {
  .gw-gallery-nav {
    display: none;
  }
}

.gw-case-study-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  pointer-events: none;
  border-top: 1px solid hsl(var(--border) / 0.8);
  background: hsl(var(--background) / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px hsl(222 47% 11% / 0.08);
}

.gw-case-study-cta-inner {
  pointer-events: auto;
}

html.dark .gw-case-study-cta-bar {
  background: hsl(var(--background) / 0.94);
  box-shadow: 0 -8px 32px hsl(0 0% 0% / 0.35);
}

.gw-case-study-cta-btn {
  position: relative;
  z-index: 10;
  background-image: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.gw-case-study-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Blog — minimalist premium feed */
.gw-blog-page,
main.gw-main.gw-blog-hub-page {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.gw-blog-hub {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
}

.gw-blog-hub--spacing {
  padding: 5rem 0;
}

.gw-blog-hub-header {
  margin-bottom: 3rem;
}

.gw-blog-hub-h1,
.gw-blog-featured-title {
  font-family: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.gw-blog-hub-lead {
  letter-spacing: 0.01em;
  line-height: 1.7;
}

.gw-blog-featured--spaced {
  margin-bottom: 3rem;
}

.gw-blog-featured-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .gw-blog-featured-inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .gw-blog-featured-media-col {
    flex: 0 1 48%;
    max-width: calc(50% - 2rem);
    margin-right: 4rem;
    margin-bottom: 0;
  }

  .gw-blog-featured-copy {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.gw-blog-featured-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

.gw-blog-featured-cta-row {
  width: 100%;
}

.gw-blog-featured-meta {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.02em;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .gw-blog-featured-media-col {
    margin-right: 0;
  }
}

.gw-blog-featured-desc {
  line-height: 1.7;
}

.gw-blog-filter-nav--spaced {
  margin-bottom: 4rem;
}

.gw-blog-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .gw-blog-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .gw-blog-articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}

.gw-blog-featured-shell {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(
      145deg,
      hsl(var(--card) / 0.97) 0%,
      hsl(var(--secondary) / 0.85) 42%,
      hsl(205 70% 96% / 0.9) 100%
    );
  border: 1px solid var(--surface-muted);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    0 0 0 1px hsl(0 0% 100% / 0.5) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

html.dark .gw-blog-featured-shell {
  background:
    linear-gradient(
      145deg,
      hsl(var(--card) / 0.92) 0%,
      hsl(222 40% 12% / 0.95) 50%,
      hsl(220 45% 10% / 0.98) 100%
    );
  border-color: hsl(var(--border));
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 0 1px hsl(0 0% 100% / 0.06) inset;
}

.gw-blog-featured-img {
  max-width: 100%;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.gw-blog-featured-shell:hover .gw-blog-featured-img {
  transform: scale(1.03);
}

.gw-blog-featured-cta {
  background-image: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.gw-blog-featured-cta--muted {
  background: transparent;
  box-shadow: none;
}

.gw-blog-search-wrap {
  filter: drop-shadow(0 4px 20px hsl(215 50% 30% / 0.08));
}

.gw-blog-search-input {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html.dark .gw-blog-search-input {
  background: hsl(var(--card) / 0.45);
}

.gw-blog-filter-btn.is-active {
  background-image: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

.gw-blog-filter-btn.glass:not(.is-active) {
  border: 1px solid hsl(var(--border) / 0.65);
}

.gw-blog-card-link--static {
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.gw-blog-card--grid .gw-blog-card-img {
  transform: scale(1);
}

.gw-blog-card-link:hover .gw-blog-card--grid .gw-blog-card-img,
.gw-blog-card-link:focus-visible .gw-blog-card--grid .gw-blog-card-img {
  transform: scale(1.06);
}

.gw-blog-badge {
  letter-spacing: 0.14em;
}

.gw-blog-page-title {
  font-family: "Sora", "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.gw-blog-intro {
  line-height: 1.65;
  letter-spacing: 0.012em;
}

.gw-blog-card-link {
  text-decoration: none;
  color: inherit;
  border-radius: 1.25rem;
}

.gw-blog-card {
  background: hsl(0 0% 100%);
  color: hsl(var(--card-foreground));
  border: 1px solid var(--surface-muted);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

html.dark .gw-blog-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.gw-blog-card-link:hover .gw-blog-card,
.gw-blog-card-link:focus-visible .gw-blog-card,
.gw-blog-card--static:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
  border-color: hsl(var(--primary) / 0.22);
}

html.dark .gw-blog-card-link:hover .gw-blog-card,
html.dark .gw-blog-card-link:focus-visible .gw-blog-card,
html.dark .gw-blog-card--static:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.gw-blog-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 10.5rem;
  background: hsl(var(--muted));
}

.gw-blog-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.gw-blog-hero-img {
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.gw-blog-card-link:hover .gw-blog-card-img,
.gw-blog-card--static:hover .gw-blog-card-img {
  transform: scale(1.04);
}

.gw-blog-card-gradient {
  position: absolute;
  inset: 0;
}

.gw-blog-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  line-height: 1.2;
  border: 1px solid transparent;
}

.gw-blog-cat--engineering {
  background: hsl(212 95% 94%);
  color: hsl(212 90% 32%);
  border-color: hsl(212 80% 85%);
}

.gw-blog-cat--marketing {
  background: hsl(330 85% 96%);
  color: hsl(330 70% 38%);
  border-color: hsl(330 60% 88%);
}

.gw-blog-cat--seo {
  background: hsl(38 95% 94%);
  color: hsl(28 75% 32%);
  border-color: hsl(38 80% 85%);
}

.gw-blog-cat--creative {
  background: hsl(258 90% 96%);
  color: hsl(258 55% 38%);
  border-color: hsl(258 50% 88%);
}

.gw-blog-cat--default {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--border));
}

html.dark .gw-blog-cat--engineering {
  background: hsl(212 50% 18%);
  color: hsl(200 90% 78%);
  border-color: hsl(212 40% 28%);
}

html.dark .gw-blog-cat--marketing {
  background: hsl(330 40% 18%);
  color: hsl(330 80% 82%);
  border-color: hsl(330 35% 30%);
}

html.dark .gw-blog-cat--seo {
  background: hsl(38 45% 16%);
  color: hsl(45 90% 75%);
  border-color: hsl(38 40% 26%);
}

html.dark .gw-blog-cat--creative {
  background: hsl(258 40% 18%);
  color: hsl(258 70% 85%);
  border-color: hsl(258 35% 30%);
}

.gw-blog-cat--inline {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
}

.gw-blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.gw-blog-meta-sep {
  opacity: 0.55;
  padding: 0 0.15rem;
}

.gw-blog-card-title {
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.gw-blog-card-link:hover .gw-blog-card-title,
.gw-blog-card--static:hover .gw-blog-card-title {
  color: hsl(var(--primary));
}

.gw-blog-excerpt {
  line-height: 1.7;
  font-size: 0.9375rem;
}

.gw-blog-readmore {
  transition: color 0.25s ease, gap 0.25s ease;
}

.gw-blog-readmore-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.gw-blog-card-link:hover .gw-blog-readmore,
.gw-blog-card--static:hover .gw-blog-readmore {
  color: hsl(var(--primary));
}

.gw-blog-card-link:hover .gw-blog-readmore-icon,
.gw-blog-card--static:hover .gw-blog-readmore-icon {
  transform: translateX(5px);
}

.gw-blog-article .gw-blog-lede {
  line-height: 1.65;
}

.gw-blog-prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.gw-blog-prose p {
  margin: 0 0 1rem;
}

.gw-blog-prose p:last-child {
  margin-bottom: 0;
}

/* Column masonry home projects */
.gw-masonry {
  column-count: 1;
  column-gap: 1.25rem;
}
@media (min-width: 640px) {
  .gw-masonry {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .gw-masonry {
    column-count: 3;
  }
}
.gw-masonry > * {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

/* Admin dashboard (light slate UI — matches React Admin.tsx) */
.admin-root {
  min-height: 100vh;
  display: flex;
  background: var(--surface-muted);
  font-family: Inter, system-ui, sans-serif;
}
.admin-sidebar {
  width: 16rem;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--color-text-body) 0%, var(--color-chrome-3) 100%);
  min-height: 100vh;
  z-index: 40;
}
@media (max-width: 1023px) {
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 24px rgb(0 0 0 / 0.15);
  }
  .admin-sidebar.is-open {
    transform: translateX(0);
  }
}
@media (min-width: 1024px) {
  .admin-sidebar {
    position: static;
    transform: none !important;
  }
}
.lg-hidden {
  display: inline-flex;
}
@media (min-width: 1024px) {
  .lg-hidden {
    display: none !important;
  }
}
.admin-sidebar-brand {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  border-bottom: 1px solid rgb(var(--surface-rgb) / 0.1);
}
.admin-sidebar-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.admin-sidebar-logo-img {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.5rem;
  background: var(--surface-elevated);
  object-fit: contain;
  padding: 2px;
}
.admin-sidebar-logo-text {
  color: #ffffff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}
.admin-sidebar-logo-accent {
  background: linear-gradient(to right, color-mix(in srgb, var(--color-chrome-0) 55%, #ffffff), color-mix(in srgb, var(--color-chrome-0) 40%, #ffffff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.admin-sidebar-close {
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  padding: 0.25rem;
}
.admin-sidebar-nav {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  color: color-mix(in srgb, #ffffff 80%, transparent);
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
}
.admin-nav-btn:hover {
  background: rgb(var(--surface-rgb) / 0.05);
  color: #ffffff;
}
.admin-nav-btn.is-active {
  background: linear-gradient(to right, var(--color-chrome-0), color-mix(in srgb, var(--color-chrome-0) 40%, #ffffff));
  color: #ffffff;
  box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--color-chrome-0) 30%, transparent);
}
.admin-nav-secondary {
  margin-top: 0.5rem;
}
.admin-nav-ico {
  flex-shrink: 0;
}
.admin-nav-logout-form {
  margin: 0;
  padding: 0;
}
.admin-nav-logout {
  background: transparent;
  font: inherit;
}
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.4);
  z-index: 30;
}
.admin-sidebar-overlay.is-visible {
  display: block;
}
@media (min-width: 1024px) {
  .admin-sidebar-overlay {
    display: none !important;
  }
}
.admin-main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-header {
  height: 4rem;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-menu-open {
  background: transparent;
  border: 0;
  color: var(--color-text-body);
  cursor: pointer;
  padding: 0.25rem;
}
.admin-header-title {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-body);
}
.admin-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-bell-wrap {
  position: relative;
  display: inline-flex;
  padding: 0.25rem;
}
.admin-bell-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #13009a;
}
.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--color-chrome-0), color-mix(in srgb, var(--color-chrome-0) 40%, #ffffff));
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-user-email {
  font-size: 0.875rem;
  color: var(--color-text-body);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .admin-user-email {
    display: none;
  }
}
.admin-content {
  flex: 1;
  padding: 1rem 1.5rem;
}
.admin-card {
  background: var(--surface-elevated);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.admin-input,
.admin-content select.admin-input,
.admin-content textarea.admin-input {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}
.admin-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-chrome-0);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.admin-btn-primary:hover {
  background: var(--color-chrome-1);
}
.admin-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--surface-elevated);
  color: var(--color-chrome-1);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.admin-btn-outline:hover {
  border-color: color-mix(in srgb, #ffffff 80%, transparent);
  background: var(--surface-muted);
}
.admin-btn-danger {
  background: #13009a;
}
.admin-btn-danger:hover {
  background: #13009a;
}
.admin-btn-ghost {
  background: transparent;
  color: var(--color-chrome-1);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.admin-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--surface-muted);
  vertical-align: top;
}
.admin-badge-new {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--color-chrome-0) 8%, #ffffff);
  color: var(--color-chrome-1);
}
.admin-badge-read {
  background: var(--surface-muted);
  color: color-mix(in srgb, var(--color-text-body) 72%, #ffffff);
}
.admin-badge-published {
  background: #ffffff;
  color: var(--success);
}
.admin-badge-draft {
  background: var(--warning-soft);
  color: #13009a;
}
.admin-flash-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.admin-flash {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.admin-flash-success {
  background: #ffffff;
  color: var(--success);
}
.admin-flash-error {
  background: var(--error-soft);
  color: var(--error);
}
.admin-flash-info {
  background: var(--brand-primary-soft);
  color: var(--color-chrome-2);
}
.admin-form-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .admin-form-grid.sm-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.admin-field-error {
  color: #13009a;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Tab panels: [hidden] must win over .grid / .flex (otherwise all panels show) */
[data-services-tabs] [data-service-panel][hidden],
[data-tech-tabs] [data-tech-panel][hidden] {
  display: none !important;
}

/* Services / tech tabs pills */
.gw-pill-btn {
  border: none;
  cursor: pointer;
  background: hsl(var(--glass-bg) / var(--glass-bg-opacity));
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--glass-border) / var(--glass-border-opacity));
  color: hsl(var(--foreground) / 0.75);
}
html:is(.light, .dark) .gw-pill-btn:not(.is-active) {
  background: hsl(0 0% 100% / 0.85);
  border-color: hsl(var(--glass-border) / 0.45);
  color: hsl(var(--foreground) / 0.8);
}
html.dark .gw-pill-btn:not(.is-active) {
  background: var(--surface-elevated);
  border-color: var(--border-color);
  color: var(--text-secondary);
}
html.dark .gw-pill-btn:not(.is-active):hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.gw-pill-btn:hover {
  color: hsl(var(--foreground));
}
.gw-pill-btn.is-active {
  background-image: var(--gradient-primary);
  border-color: transparent;
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}

/* Matches Tailwind text-[10px] (badge labels) */
.gw-text-10 {
  font-size: 10px;
  line-height: 1rem;
}

/* Home projects thumb vignette (matches ProjectsFilter.tsx) */
.gw-proj-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, transparent, transparent, hsl(var(--foreground) / 0.3));
}

/* Logo marquee (matches LogoMarquee.tsx muted/70 + hover primary) */
.gw-marquee-track > span {
  color: hsl(var(--muted-foreground) / 0.7);
}
.gw-marquee-track > span:hover {
  color: hsl(var(--primary));
}

/* Logo marquee mask */
.gw-marquee-mask {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.gw-marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: gw-marquee 30s linear infinite;
}

/* 404 */
.gw-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
}

/* —— Site footer — brand chrome in light mode only —— */
.gw-footer {
  position: relative;
  border-top: 1px solid hsl(var(--border) / 0.45);
  overflow: hidden;
}

html:is(.light, .dark) .gw-footer {
  border-top: none;
  color: var(--color-text-on-chrome);
}

html:is(.light, .dark) .gw-footer.gw-footer-premium {
  color: var(--gw-nf-body, var(--color-text-body));
}

html:is(.light, .dark) .gw-footer.brand-chrome .gw-footer__mesh,
html:is(.light, .dark) .gw-footer.brand-chrome::before {
  display: none;
}

html:is(.light, .dark) .gw-footer.brand-chrome h4,
html:is(.light, .dark) .gw-footer.brand-chrome .font-display {
  color: var(--color-text-on-chrome);
}

html:is(.light, .dark) .gw-footer.brand-chrome .gradient-text {
  color: var(--color-text-on-chrome);
}

.gw-footer__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    hsl(0 0% 100% / 0.97) 0%,
    hsl(var(--secondary) / 0.45) 45%,
    hsl(205 40% 97% / 0.92) 100%
  );
}

html.dark .gw-footer__mesh {
  background: linear-gradient(
    180deg,
    hsl(var(--card) / 0.5) 0%,
    hsl(222 32% 12% / 0.92) 55%,
    hsl(222 38% 8% / 0.95) 100%
  );
}

.gw-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gradient-mesh);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

html.dark .gw-footer::before {
  opacity: 0.12;
}

.gw-footer__inner {
  position: relative;
  z-index: 1;
}

/* Kill default bullets on every footer list (avoids UA / cascade surprises) */
.gw-footer ul,
.gw-footer ol {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
}

.gw-footer li::marker {
  content: none;
}

.gw-footer__grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
}

/* Tablet: 2 columns; newsletter full width centered (5 items lay out cleanly) */
@media (min-width: 640px) and (max-width: 1023px) {
  .gw-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .gw-footer__col--newsletter {
    grid-column: 1 / -1;
    max-width: 22rem;
    justify-self: center;
    width: 100%;
  }
}

/* Desktop: brand + four link columns */
@media (min-width: 1024px) {
  .gw-footer__grid {
    grid-template-columns: minmax(11rem, 1.2fr) repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    justify-items: stretch;
    align-items: start;
  }

  .gw-footer__col--newsletter {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.gw-footer__col {
  font-family: "Public Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .gw-footer__col {
    align-items: flex-start;
    text-align: left;
  }
}

.gw-footer__list {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  align-items: inherit;
  width: 100%;
}

.gw-footer__contact-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  text-align: left;
}

@media (min-width: 1024px) {
  .gw-footer__contact-line {
    justify-content: flex-start;
  }
}

.gw-footer__link {
  color: hsl(var(--muted-foreground) / 0.93);
  text-decoration: none;
  transition: color 0.15s ease;
  font-size: 0.875rem;
}

html:is(.light, .dark) .gw-footer__link {
  color: var(--color-text-on-chrome-muted);
}

.gw-footer__link:hover {
  color: hsl(var(--primary));
}

html:is(.light, .dark) .gw-footer__link:hover {
  color: var(--color-text-on-chrome);
}

.gw-footer__link--cta {
  color: hsl(var(--primary));
  font-weight: 600;
}

html:is(.light, .dark) .gw-footer__link--cta {
  color: var(--color-text-on-chrome);
}

.gw-footer__link--cta:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gw-footer__newsletter-form {
  width: 100%;
  max-width: 20rem;
  box-sizing: border-box;
}

html:is(.light, .dark) .gw-footer.brand-chrome .gw-footer__newsletter-form {
  background: rgb(var(--surface-rgb) / 0.1);
  border: 1px solid rgb(var(--surface-rgb) / 0.2);
  backdrop-filter: blur(8px);
}

html:is(.light, .dark) .gw-footer.brand-chrome .gw-newsletter-input {
  color: var(--color-text-on-chrome);
}

html:is(.light, .dark) .gw-footer.brand-chrome .gw-newsletter-input::placeholder {
  color: rgb(255 255 255 / 0.55);
}

.gw-footer__newsletter-form .gw-newsletter-input {
  min-width: 0;
  flex: 1 1 0%;
}

@media (min-width: 1024px) {
  .gw-footer__newsletter-form {
    max-width: 100%;
  }
}

.gw-footer__muted {
  color: hsl(var(--muted-foreground) / 0.88);
}

html:is(.light, .dark) .gw-footer__muted {
  color: var(--color-text-on-chrome-muted);
}

.gw-footer__rule {
  margin-top: 3rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

html:is(.light, .dark) .gw-footer__rule {
  border-top-color: rgb(var(--surface-rgb) / 0.15);
}

.gw-footer__bottom {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .gw-footer__bottom {
    flex-direction: row;
    align-items: center;
  }
}

.gw-footer__copyright {
  margin: 0;
  text-align: center;
  color: hsl(var(--muted-foreground) / 0.9);
  font-family: "Public Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

html:is(.light, .dark) .gw-footer__copyright {
  color: var(--color-text-on-chrome-muted);
}

@media (min-width: 768px) {
  .gw-footer__copyright {
    text-align: left;
  }
}

.gw-footer-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .gw-footer-social__list {
    justify-content: flex-end;
  }
}

.gw-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: hsl(var(--foreground) / 0.62);
  background: hsl(var(--card) / 0.78);
  border: 1px solid hsl(var(--border) / 0.55);
  box-shadow: var(--shadow-glass);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

html:is(.light, .dark) .gw-footer-social__link {
  color: var(--color-text-on-chrome);
  background: rgb(var(--surface-rgb) / 0.1);
  border-color: rgb(var(--surface-rgb) / 0.2);
  box-shadow: none;
}

.gw-footer-social__link:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.42);
  transform: translateY(-2px);
}

html:is(.light, .dark) .gw-footer-social__link:hover {
  color: var(--color-text-on-chrome);
  background: rgb(var(--surface-rgb) / 0.18);
  border-color: rgb(var(--surface-rgb) / 0.35);
}

html.dark .gw-footer-social__link {
  background: hsl(var(--card) / 0.42);
}

.gw-legal-page .gw-legal-body a {
  text-underline-offset: 2px;
}

/* Always-open FAQ answers sitewide (docs, services, contact, legal, blog, portal) */
.gw-docs-faq__item summary,
.gw-cp-faq summary,
.gw-svc-faq summary,
.gw-sp-faq summary,
.gw-prod-faq summary,
.gw-lp-faq summary,
.gw-be-faq summary,
.gw-cs-list__faq-panel summary,
.gw-cs-faq__panel summary,
.st-faq summary {
  cursor: default;
  pointer-events: none;
  list-style: none;
}

.gw-docs-faq__item summary::-webkit-details-marker,
.gw-cp-faq summary::-webkit-details-marker,
.gw-svc-faq summary::-webkit-details-marker,
.gw-sp-faq summary::-webkit-details-marker,
.gw-prod-faq summary::-webkit-details-marker,
.gw-lp-faq summary::-webkit-details-marker,
.gw-be-faq summary::-webkit-details-marker,
.gw-cs-list__faq-panel summary::-webkit-details-marker,
.gw-cs-faq__panel summary::-webkit-details-marker,
.st-faq summary::-webkit-details-marker,
.gw-docs-faq__item summary::marker,
.gw-cp-faq summary::marker,
.gw-svc-faq summary::marker,
.gw-sp-faq summary::marker,
.gw-prod-faq summary::marker,
.gw-lp-faq summary::marker,
.gw-be-faq summary::marker,
.gw-cs-list__faq-panel summary::marker,
.gw-cs-faq__panel summary::marker,
.st-faq summary::marker {
  display: none;
}

.gw-cp-faq summary::after,
.gw-svc-faq summary::after,
.gw-prod-faq summary::after,
.gw-lp-faq summary::after {
  display: none !important;
  content: none !important;
}

/* Icon SVG safety: unstyled 24x24 icons otherwise paint as 300x150 black fills. */
.gw-trust-growth__card-icon svg,
.gw-why-choose__feature-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  max-width: 2.25rem;
  max-height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
