/*
Theme Name: WP Wayfinder
Theme URI: https://wayfinderboots.com
Author: Wayfinder Team
Author URI: https://wayfinderboots.com
Description: A custom WordPress theme for Wayfinder ski boots, ported from Next.js prototype
Version: 2.2.26
Text Domain: wp-wayfinder
*/

@layer properties {
  @supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))) {

    *,
    ::backdrop,
    :after,
    :before {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-ease: initial
    }
  }
}

@layer theme {

  :host,
  :root {
    --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-heading: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-yellow-400: oklch(85.2% .199 91.936);
    --color-yellow-500: oklch(79.5% .184 86.047);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-200: oklch(92.8% .006 264.531);
    --color-gray-300: oklch(87.2% .01 258.338);
    --color-gray-400: oklch(70.7% .022 261.325);
    --color-gray-500: oklch(55.1% .027 264.364);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-700: oklch(37.3% .034 259.733);
    --color-gray-800: oklch(27.8% .033 256.848);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25/.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5/1);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75/1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2/1.5);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5/2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-normal: 0em;
    --radius-md: .375rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-4xl: 2rem;
    --ease-in: cubic-bezier(.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --blur-xs: 4px;
    --blur-sm: 8px;
    --blur-md: 12px;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono)
  }
}

/* =============================================================================
   SEMANTIC TOKENS
   Maps primitives → intent. Always use these in components, never raw values.
   ============================================================================= */
:root {

  /* Brand */
  --color-brand-primary:        #ff6501;
  --color-brand-gradient:       linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
  --color-brand-gradient-text:  linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);

  /* Actions (buttons, links, interactive chrome) */
  --color-action-primary:       #ff6501;
  --color-action-primary-hover: #e55a00;
  --color-action-on-primary:    #ffffff;

  /* Surfaces */
  --color-surface-default:      #ffffff;
  --color-surface-subtle:       var(--color-gray-100);   /* bg-gray-50 equivalent */
  --color-surface-muted:        var(--color-gray-200);   /* dividers, borders */
  --color-surface-inverse:      #0a0a0f;                 /* dark CTA sections */

  /* Text */
  --color-text-primary:         var(--color-gray-800);
  --color-text-secondary:       var(--color-gray-500);
  --color-text-tertiary:        var(--color-gray-400);
  --color-text-on-dark:         #ffffff;
  --color-text-on-dark-muted:   rgba(255, 255, 255, 0.6);

  /* Feedback states — all mapped to brand palette, no arbitrary blues */
  --color-feedback-success:     #16a34a;
  --color-feedback-success-bg:  #f0fdf4;
  --color-feedback-warning:     #b45309;
  --color-feedback-warning-bg:  #fffbeb;
  --color-feedback-error:       #dc2626;
  --color-feedback-error-bg:    #fef2f2;
  --color-feedback-info:        #ff6501;  /* brand orange, not blue */
  --color-feedback-info-bg:     #fff7ed;

  /* =============================================================================
     MOTION TOKENS
     Three tiers: micro (hover/toggle), standard (most UI), expressive (entrance).
     ============================================================================= */

  /* Durations */
  --duration-micro:       100ms;   /* hover highlights, toggle indicators */
  --duration-standard:    200ms;   /* most transitions — cards, dropdowns, reveals */
  --duration-expressive:  350ms;   /* page-level entrances, large panel changes */

  /* Easings (semantic aliases over the existing primitives) */
  --ease-enter:  var(--ease-out);      /* elements entering the screen */
  --ease-exit:   var(--ease-in);       /* elements leaving the screen */
  --ease-move:   var(--ease-in-out);   /* elements repositioning */

  /* Composed shorthands — use these in transition: properties */
  --transition-micro:      var(--duration-micro) var(--ease-move);
  --transition-standard:   var(--duration-standard) var(--ease-move);
  --transition-enter:      var(--duration-expressive) var(--ease-enter);
}

body {
  width: 100%;
  margin: 0 auto;
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

h1, h2 {
  font-weight: 800 !important;
}

h3, h4 {
  font-weight: 700 !important;
}

h5, h6 {
  font-weight: 600 !important;
}

@keyframes effectGradient {
  0% {
    background-position: 0;
  }

  50% {
    background-position: 100%;
  }

  to {
    background-position: 0;
  }
}

.btn-gradient {
  padding-inline: calc(var(--spacing) * 6);
  padding-block: calc(var(--spacing) * 3);
  color: var(--color-white);
  transition-property: color, background-color, border-color, outline-color,
    text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via,
    --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate,
    filter, -webkit-backdrop-filter, backdrop-filter, display,
    content-visibility, overlay, pointer-events;
  transition-timing-function: var(--tw-ease,
      var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
  background-image: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
  background-size: 200% 200%;
  animation: effectGradient 5s ease-in-out infinite;
}

.btn-default {
  cursor: pointer;
  border-radius: var(--radius-4xl);
  --tw-font-weight: var(--font-weight-semibold);
  height: 48px;
  font-weight: var(--font-weight-semibold);
  --tw-backdrop-blur: blur(var(--blur-xs));

  background-color: rgba(255, 255, 255, 0.2);
  /* must be transparent to see blur */
  backdrop-filter: blur(4px);
}

@media (hover: hover) {
  .btn-default:hover {
    opacity: 0.9;
  }
}

/* Section heading accent — small gradient pill below h2, signals brand without overwhelming */
.heading-accent {
  display: inline-block;
}

.heading-accent::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
  border-radius: 9999px;
  margin: 10px auto 0;
}

.text-gradient {
  color: transparent;
  background-image: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: effectGradient 5s ease-in-out infinite;
}

.input-default {
  border-radius: var(--radius-4xl);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-color: #e5e5e5;
  height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--color-white);
}

.input-default:focus {
  outline: none;
  border-color: #ff6501;
  box-shadow: 0 0 0 3px rgba(255, 101, 1, 0.1);
}

.input-default:hover:not(:focus) {
  border-color: var(--color-gray-300);
}

.input-default::placeholder {
  color: var(--color-gray-400);
}

.input-default:disabled {
  background-color: var(--color-gray-100);
  cursor: not-allowed;
  opacity: 0.7;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(20px);
  }

  to {
    opacity: 1;
    transform: translate(0);
  }
}

.home-carousel {
  opacity: 0;
  animation: fadeInUp 1s ease-in-out forwards;
}

@keyframes gradientOverlay {
  0% {
    opacity: 0.4;
    transform: scale(1) rotate(0);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2) rotate(180deg);
  }

  to {
    opacity: 0.4;
    transform: scale(1) rotate(1turn);
  }
}

.gradient-overlay {
  content: '';
  z-index: 10;
  pointer-events: none;
  background-image: radial-gradient(circle,
      #f5bc1e7a,
      #ff65017a,
      #ff15927a,
      #ff159200);
  background-size: 200% 200%;
  animation: gradientOverlay 5s ease-in-out infinite;
  position: absolute;
  inset: 0;
}

.fadeInHomeLogo {
  opacity: 0;
  animation: fadeInMoveUp 2s ease-out 8s forwards;
  transform: translateY(40px);
}

@keyframes fadeInMoveUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-gradient-border {
  background-image: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
  background-size: 200% 200%;
  border-radius: 9999px;
  padding: 2px;
  animation: effectGradient 5s ease-in-out infinite;
  position: relative;
}

.user-gradient-border:before {
  content: '';
  z-index: 0;
  background: #fff;
  border-radius: 9999px;
  margin: 2px;
  position: absolute;
  inset: 0;
}

.user-gradient-border>span {
  z-index: 1;
  position: relative;
}

@keyframes fadeInChevronHome {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-chevron-fade-in {
  animation: fadeInChevronHome 1s 18s forwards;
}

@keyframes floatChevronHome {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }

  to {
    transform: translateY(0);
  }
}

.animate-chevron-float {
  animation: floatChevronHome 2s ease-in-out infinite;
}

@keyframes fadeInTitle {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeInTitle {
  opacity: 0;
  animation: fadeInTitle 2s ease-out 18s forwards;
}

@property --tw-translate-x {
  syntax: '*';
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-y {
  syntax: '*';
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-z {
  syntax: '*';
  inherits: false;
  initial-value: 0;
}

@property --tw-scale-x {
  syntax: '*';
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-y {
  syntax: '*';
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-z {
  syntax: '*';
  inherits: false;
  initial-value: 1;
}

@property --tw-rotate-x {
  syntax: '*';
  inherits: false;
}

@property --tw-rotate-y {
  syntax: '*';
  inherits: false;
}

@property --tw-rotate-z {
  syntax: '*';
  inherits: false;
}

@property --tw-skew-x {
  syntax: '*';
  inherits: false;
}

@property --tw-skew-y {
  syntax: '*';
  inherits: false;
}

@property --tw-space-y-reverse {
  syntax: '*';
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: '*';
  inherits: false;
  initial-value: solid;
}

@property --tw-gradient-position {
  syntax: '*';
  inherits: false;
}

@property --tw-gradient-from {
  syntax: '<color>';
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-via {
  syntax: '<color>';
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-to {
  syntax: '<color>';
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-stops {
  syntax: '*';
  inherits: false;
}

@property --tw-gradient-via-stops {
  syntax: '*';
  inherits: false;
}

@property --tw-gradient-from-position {
  syntax: '<length-percentage>';
  inherits: false;
  initial-value: 0;
}

@property --tw-gradient-via-position {
  syntax: '<length-percentage>';
  inherits: false;
  initial-value: 50%;
}

@property --tw-gradient-to-position {
  syntax: '<length-percentage>';
  inherits: false;
  initial-value: 100%;
}

@property --tw-leading {
  syntax: '*';
  inherits: false;
}

@property --tw-font-weight {
  syntax: '*';
  inherits: false;
}

@property --tw-tracking {
  syntax: '*';
  inherits: false;
}

@property --tw-shadow {
  syntax: '*';
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: '*';
  inherits: false;
}

@property --tw-shadow-alpha {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: '*';
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: '*';
  inherits: false;
}

@property --tw-inset-shadow-alpha {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: '*';
  inherits: false;
}

@property --tw-ring-shadow {
  syntax: '*';
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: '*';
  inherits: false;
}

@property --tw-inset-ring-shadow {
  syntax: '*';
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: '*';
  inherits: false;
}

@property --tw-ring-offset-width {
  syntax: '<length>';
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: '*';
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: '*';
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-blur {
  syntax: '*';
  inherits: false;
}

@property --tw-brightness {
  syntax: '*';
  inherits: false;
}

@property --tw-contrast {
  syntax: '*';
  inherits: false;
}

@property --tw-grayscale {
  syntax: '*';
  inherits: false;
}

@property --tw-hue-rotate {
  syntax: '*';
  inherits: false;
}

@property --tw-invert {
  syntax: '*';
  inherits: false;
}

@property --tw-opacity {
  syntax: '*';
  inherits: false;
}

@property --tw-saturate {
  syntax: '*';
  inherits: false;
}

@property --tw-sepia {
  syntax: '*';
  inherits: false;
}

@property --tw-drop-shadow {
  syntax: '*';
  inherits: false;
}

@property --tw-drop-shadow-color {
  syntax: '*';
  inherits: false;
}

@property --tw-drop-shadow-alpha {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-blur {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-brightness {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-contrast {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-grayscale {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-hue-rotate {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-invert {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-opacity {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-saturate {
  syntax: '*';
  inherits: false;
}

@property --tw-backdrop-sepia {
  syntax: '*';
  inherits: false;
}

@property --tw-duration {
  syntax: '*';
  inherits: false;
}

@property --tw-ease {
  syntax: '*';
  inherits: false;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.translate-y-full {
  transform: translateY(-100%);
}

.backdrop-blur-none {
  backdrop-filter: blur(0px);
}

.backdrop-blur-xs {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.backdrop-blur {
  backdrop-filter: blur(8px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
}

.backdrop-blur-2xl {
  backdrop-filter: blur(40px);
}

.backdrop-blur-3xl {
  backdrop-filter: blur(64px);
}

@keyframes fadeInDelayed {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInDelayed {
  opacity: 0;
  animation: fadeInDelayed 1s ease-out forwards;
  animation-delay: 3s;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-205%);
  }
}

.animate-scroll-horizontal {
  animation: scroll-horizontal 45s linear infinite;
}

@keyframes fadeInThenMoveDown {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  65% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(15vh);
  }
}

@media (min-width: 768px) {
  @keyframes fadeInThenMoveDown {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }

    10% {
      opacity: 1;
      transform: translateY(0);
    }

    65% {
      opacity: 1;
      transform: translateY(0);
    }

    100% {
      opacity: 1;
      transform: translateY(25vh);
    }
  }
}

.fadeInThenMoveDown {
  opacity: 0;
  animation: fadeInThenMoveDown 10s ease-out 3s forwards;
  animation-delay: 3s;
}

@keyframes fadeInOnly {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeInOnly {
  opacity: 0;
  animation: fadeInOnly 1s ease-out 3s forwards;
}

.text-outline-white {
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.15),
    1px -1px 0 rgba(255, 255, 255, 0.15),
    -1px 1px 0 rgba(255, 255, 255, 0.15),
    1px 1px 0 rgba(255, 255, 255, 0.15),
    0 0 8px rgba(255, 255, 255, 0.15);
}

ul.page-numbers {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.page-numbers.current span {
  background-image: linear-gradient(90deg, #f5bd1e, #ff6501, #ed1c24, #ff1592);
  background-size: 200% 200%;
  animation: effectGradient 5s ease-in-out infinite;
  color: white;
  border-color: transparent;
}

/* ============================================
   DESIGN SYSTEM ENHANCEMENTS - Phase 2 & 3
   ============================================ */

/* Standardized Transitions */
.transition-fast {
  transition-duration: var(--duration-micro);
  transition-timing-function: var(--ease-move);
}

.transition-normal {
  transition-duration: var(--duration-standard);
  transition-timing-function: var(--ease-move);
}

.transition-slow {
  transition-duration: var(--duration-expressive);
  transition-timing-function: var(--ease-enter);
}

/* Loading Spinner - Standardized */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-gray-200);
  border-top-color: #ff6501;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.spinner-lg {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

.spinner-white {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

/* Button Loading State */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-loading>* {
  opacity: 0;
}

/* Enhanced Button Focus States */
.btn-default:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 101, 1, 0.4);
}

.btn-gradient:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 101, 1, 0.4);
}

/* Secondary Button Variant */
.btn-secondary {
  cursor: pointer;
  border-radius: var(--radius-4xl);
  height: 48px;
  font-weight: var(--font-weight-semibold);
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-300);
  color: var(--color-gray-700);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--color-gray-100);
  border-color: var(--color-gray-400);
}

.btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Ghost Button Variant */
.btn-ghost {
  cursor: pointer;
  border-radius: var(--radius-4xl);
  height: 48px;
  font-weight: var(--font-weight-medium);
  background-color: transparent;
  border: none;
  color: var(--color-gray-600);
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background-color: var(--color-gray-100);
  color: var(--color-gray-800);
}

/* Card Component */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-200);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-interactive:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-interactive:active {
  transform: translateY(0);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg,
      var(--color-gray-200) 25%,
      var(--color-gray-100) 50%,
      var(--color-gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
}

.skeleton-heading {
  height: 1.5em;
  width: 60%;
  margin-bottom: 1em;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton-button {
  height: 48px;
  width: 160px;
  border-radius: var(--radius-4xl);
}

/* Link Styles */
.link {
  color: #ff6501;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: #e55a00;
  text-decoration: underline;
}

.link:focus-visible {
  outline: 2px solid rgba(255, 101, 1, 0.4);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Badge Components */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.badge-primary {
  background-color: rgba(255, 101, 1, 0.1);
  color: #ff6501;
}

.badge-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.badge-warning {
  background-color: rgba(245, 189, 30, 0.15);
  color: #b45309;
}

.badge-error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.badge-neutral {
  background-color: var(--color-gray-100);
  color: var(--color-gray-600);
}

/* Focus Ring Utility */
.focus-ring:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 101, 1, 0.4);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  .spinner,
  .skeleton,
  .btn-loading::after {
    animation: none;
  }

  .skeleton {
    background: var(--color-gray-200);
  }
}

/* ── Announcement bar: drifting gradient ──────────────────────────────── */
#wayfinder-announcement-bar {
  background: linear-gradient(
    90deg,
    #ff6501 0%,
    #ff2a6b 35%,
    #ff1592 55%,
    #ff3d55 75%,
    #ff6501 100%
  );
  background-size: 220% 100%;
  background-position: 0% 0;
}

@media (prefers-reduced-motion: no-preference) {
  #wayfinder-announcement-bar {
    animation: banner-drift 16s ease-in-out infinite;
  }
}

@keyframes banner-drift {
  0%, 100% { background-position: 0% 0; }
  50%       { background-position: -220% 0; }
}