
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
  ::selection { background: var(--gwb-blue); color: var(--gwb-white); }

  .no-scroll { overflow: hidden; }

  .glass-nav {
    background: color-mix(in srgb, var(--gwb-white) 72%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    backdrop-filter: blur(14px) saturate(1.6);
  }

  .btn-press {
    transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
  }
  .btn-press:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 0 color-mix(in srgb, var(--gwb-ink) 15%, transparent) inset !important;
  }

  .tap-target { min-height: 48px; }

  #mobileMenu { transition: opacity .28s ease, visibility .28s ease; }
  #mobilePanel { transition: transform .34s cubic-bezier(.22,.61,.36,1); }
  #mobileMenu.is-open { opacity: 1; visibility: visible; }
  #mobileMenu.is-open #mobilePanel { transform: translateX(0); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    #mobileMenu, #mobilePanel, .btn-press { transition: none; }
    .btn-press:active { transform: none; }
  }

  .blueprint-grid {
    background-image:
      linear-gradient(to right, color-mix(in srgb, var(--gwb-ink) 4.5%, transparent) 1px, transparent 1px),
      linear-gradient(to bottom, color-mix(in srgb, var(--gwb-ink) 4.5%, transparent) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  .hatch {
    background-image: repeating-linear-gradient(45deg, var(--gwb-soft) 0 10px, var(--gwb-soft) 10px 20px);
  }

  .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  @keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gwb-blue) 55%, transparent), 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent); }
    70%  { box-shadow: 0 0 0 16px color-mix(in srgb, var(--gwb-blue) 0%, transparent), 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gwb-blue) 0%, transparent), 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent); }
  }

  .wa-fab {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    background: linear-gradient(145deg, var(--gwb-blue) 0%, var(--gwb-blue) 45%, var(--gwb-blue) 100%);
    box-shadow: 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent),
                0 4px 10px -4px color-mix(in srgb, var(--gwb-ink) 15%, transparent),
                inset 0 1px 0 color-mix(in srgb, var(--gwb-white) 35%, transparent);
    animation: wa-pulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    transition: transform .22s cubic-bezier(.22,.61,.36,1),
                box-shadow .22s ease;
  }
  .wa-fab:hover,
  .wa-fab:focus-visible {
    animation-play-state: paused;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--gwb-blue) 70%, transparent),
                0 8px 16px -6px color-mix(in srgb, var(--gwb-ink) 18%, transparent),
                inset 0 1px 0 color-mix(in srgb, var(--gwb-white) 45%, transparent);
  }
  .wa-fab:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--gwb-blue) 50%, transparent),
                inset 0 2px 4px color-mix(in srgb, var(--gwb-ink) 12%, transparent);
  }
  .wa-fab svg { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .wa-fab:hover svg { transform: rotate(-8deg) scale(1.08); }

  @media (min-width: 640px) {
    .wa-fab { right: 1.5rem; bottom: 1.5rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .wa-fab { animation: none; }
    .wa-fab:hover svg { transform: none; }
  }

  /* ============================================================
     QUALITY FLOOR
     ============================================================ */
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--gwb-blue);
    outline-offset: 2px;
    border-radius: var(--gwb-radius-button);
  }

  h1, h2, h3 { text-wrap: balance; }
  p, li { text-wrap: pretty; }

  .break-safe {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .nowrap-safe { white-space: nowrap; }

  @media (max-width: 374px) {
    img, video, svg { max-width: 100%; height: auto; }
  }

  /* ============================================================
     V2 — VISUAL UPGRADES
     ============================================================ */
  .card-lift {
    transition: transform .22s cubic-bezier(.22,.61,.36,1),
                box-shadow .22s ease,
                border-color .22s ease;
  }
  .card-lift:hover {
    transform: translateY(-6px);
  }

  .icon-hover { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
  .group:hover .icon-hover { transform: scale(1.08); }

  .ba-zoom {
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
  }
  .group:hover .ba-zoom { transform: scale(1.04); }
