/* ════════════════════════════════════════════════════════════════════
   PetsInSync — "Sunlit Meadow" Design System
   Premium pet-care SaaS aesthetic. Glassmorphism, soft 3D depth,
   aurora gradients, refined editorial typography.
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Onest:wght@300..800&family=Caveat:wght@500..700&display=swap');

:root {
  /* ── Sunlit Meadow palette ───────────────────────────────────────── */
  --honey:        #E8956E;
  --honey-deep:   #D87B52;
  --honey-glow:   #F5B796;
  --honey-soft:   #FBE2D2;
  --rose:         #C97062;
  --rose-deep:    #A85648;
  --rose-soft:    #F4D8D2;
  --sage:         #94B49F;
  --sage-deep:    #6B8F77;
  --sage-soft:    #DCE8DF;
  --lilac:        #D4C5E2;
  --lilac-deep:   #A893BF;
  --butter:       #FFE5A8;
  --butter-deep:  #F2C97C;

  /* ── Surfaces ────────────────────────────────────────────────────── */
  --cream:          #FFF8F0;
  --cream-deep:     #FBEFE0;
  --surface:        #FFFFFF;
  --surface-warm:   #FDF6EC;
  --surface-tinted: #F7EFE3;
  --surface-glass:  rgba(255, 255, 255, 0.62);
  --surface-dark:   #2E2722;
  --surface-darker: #1F1A16;

  /* ── Text ────────────────────────────────────────────────────────── */
  --espresso:        #2E2722;
  --espresso-soft:   #4A3F36;
  --muted:           #7A6B5F;
  --muted-light:     #A89A8E;
  --line:            rgba(46, 39, 34, 0.08);
  --line-strong:     rgba(46, 39, 34, 0.14);

  /* ── Aurora gradients ────────────────────────────────────────────── */
  --aurora-warm:    linear-gradient(135deg, #E8956E 0%, #F5B796 45%, #FFE5A8 100%);
  --aurora-soft:    linear-gradient(135deg, #FBE2D2 0%, #FFE5A8 50%, #DCE8DF 100%);
  --aurora-twilight:linear-gradient(135deg, #F5B796 0%, #D4C5E2 50%, #94B49F 100%);
  --aurora-rose:    linear-gradient(135deg, #F5B796 0%, #C97062 100%);
  --aurora-mesh:
    radial-gradient(at 8% 12%,  rgba(232, 149, 110, 0.45) 0px, transparent 50%),
    radial-gradient(at 92% 18%, rgba(212, 197, 226, 0.40) 0px, transparent 50%),
    radial-gradient(at 76% 88%, rgba(148, 180, 159, 0.35) 0px, transparent 55%),
    radial-gradient(at 18% 92%, rgba(255, 229, 168, 0.45) 0px, transparent 50%);

  /* ── Radii ───────────────────────────────────────────────────────── */
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  28px;
  --r-xl:  40px;
  --r-pill: 999px;
  --radius:    28px;
  --btn-radius: 999px;

  /* ── Shadows (soft, layered, premium) ────────────────────────────── */
  --shadow-xs:    0 1px 2px rgba(46, 39, 34, 0.04);
  --shadow-sm:    0 6px 18px -8px rgba(46, 39, 34, 0.10), 0 2px 6px -2px rgba(46, 39, 34, 0.05);
  --shadow-md:    0 18px 40px -16px rgba(46, 39, 34, 0.16), 0 8px 16px -8px rgba(46, 39, 34, 0.08);
  --shadow-lg:    0 32px 64px -24px rgba(46, 39, 34, 0.22), 0 12px 24px -12px rgba(46, 39, 34, 0.10);
  --shadow-xl:    0 48px 100px -32px rgba(46, 39, 34, 0.28), 0 24px 36px -16px rgba(46, 39, 34, 0.12);
  --shadow-honey: 0 22px 48px -16px rgba(216, 123, 82, 0.42), 0 8px 18px -8px rgba(216, 123, 82, 0.20);
  --shadow-rose:  0 22px 48px -16px rgba(168, 86, 72, 0.38),  0 8px 18px -8px rgba(168, 86, 72, 0.18);
  --shadow-sage:  0 22px 48px -16px rgba(107, 143, 119, 0.38), 0 8px 18px -8px rgba(107, 143, 119, 0.18);
  --shadow-glass: 0 24px 48px -20px rgba(46, 39, 34, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);

  /* ── Motion ──────────────────────────────────────────────────────── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:      180ms var(--ease-out);
  --t-base:      320ms var(--ease-out);
  --t-slow:      520ms var(--ease-out);
  --transition:  all 320ms var(--ease-out);

  /* ── Layout ──────────────────────────────────────────────────────── */
  --container-max: 1280px;
  --section-pad-y: clamp(4rem, 9vw, 8rem);

  /* ── Legacy var compatibility (used by inline styles on pages we're
        not rewriting in this pass — re-mapped to the new palette so
        they stay coherent) ─────────────────────────────────────────── */
  --primary-orange:        var(--honey);
  --primary-orange-hover:  var(--honey-deep);
  --primary-teal:          var(--sage);
  --primary-teal-hover:    var(--sage-deep);
  --text-dark:             var(--espresso);
  --text-muted:            var(--muted);
  --bg-color:              var(--cream);
  --bg-alt:                var(--surface);
  --card-bg:               var(--surface);
  --nav-bg:                rgba(255, 248, 240, 0.78);
  --shadow-hover:          var(--shadow-lg);
  --shadow-orange:         var(--shadow-honey);
  --shadow-teal:           var(--shadow-sage);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Onest', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  position: relative;
}

/* Subtle grain + ambient mesh on the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--aurora-mesh);
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.15  0 0 0 0 0.13  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

main {
  flex: 1;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.028em;
}
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p {
  color: var(--espresso-soft);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--t-base);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

::selection { background: var(--honey-glow); color: var(--espresso); }

/* ── Editorial helpers ─────────────────────────────────────────────── */
.serif-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.text-aurora {
  background: var(--aurora-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight-teal,
.highlight-honey {
  background: var(--aurora-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 300;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ════════════════════════════════════════════════════════════════════
   HEADER + NAVIGATION  (premium glass · luxury SaaS feel)
   ════════════════════════════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.45);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 320ms var(--ease-out),
              backdrop-filter 320ms var(--ease-out),
              border-color 320ms var(--ease-out),
              box-shadow 320ms var(--ease-out),
              padding 320ms var(--ease-out);
  isolation: isolate;
}
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(232, 149, 110, 0.06) 0%,
    rgba(212, 197, 226, 0.04) 60%,
    transparent 100%);
  pointer-events: none;
  z-index: -1;
}

/* Scrolled state: stronger glass + soft floating shadow */
header.header-scrolled {
  background: rgba(255, 248, 240, 0.82);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom-color: rgba(46, 39, 34, 0.06);
  box-shadow: 0 18px 40px -22px rgba(46, 39, 34, 0.18);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Logo with subtle 3D lift + drop-shadow halo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform var(--t-base);
  position: relative;
}
.logo:hover { transform: translateY(-1px); }
.logo-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(216, 123, 82, 0.18));
  transition: filter var(--t-base);
}
.logo:hover .logo-img {
  filter: drop-shadow(0 10px 20px rgba(216, 123, 82, 0.28));
}
.footer-logo-img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1) opacity(0.95);
}

/* Centre nav as a glass capsule */
.nav-links {
  display: flex;
  gap: 0.15rem;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--r-pill);
  box-shadow:
    0 1px 2px rgba(46, 39, 34, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav-links a {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  color: var(--espresso-soft);
  font-size: 0.86rem;
  white-space: nowrap;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.nav-links a:hover {
  color: var(--rose-deep);
  background: rgba(232, 149, 110, 0.10);
}

.nav-links a[style*="primary-orange"],
.nav-links a.is-active {
  color: var(--espresso);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(46, 39, 34, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* AI link — gradient pill with glow */
.nav-ai {
  background: var(--aurora-rose) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.45rem 0.95rem !important;
  letter-spacing: 0.04em;
  box-shadow:
    0 6px 18px -6px rgba(216, 123, 82, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  position: relative;
  isolation: isolate;
}
.nav-ai::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--r-pill);
  background: var(--aurora-rose);
  filter: blur(10px);
  opacity: 0.40;
  z-index: -1;
  transition: opacity var(--t-base);
}
.nav-ai:hover { transform: translateY(-1px); }
.nav-ai:hover::before { opacity: 0.70; }

/* Right action buttons */
.nav-auth {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-shrink: 0;
}

/* "Get Started" — premium glow + 3D float */
.nav-auth .btn-primary {
  position: relative;
  isolation: isolate;
}
.nav-auth .btn-primary::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--btn-radius);
  background: var(--aurora-rose);
  filter: blur(16px);
  opacity: 0.40;
  z-index: -2;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.nav-auth .btn-primary:hover::before { opacity: 0.70; }

/* Sign-In ghost button refinement on the header (transparent over glass) */
.nav-auth .btn-outline {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Mobile hamburger button (injected by JS) ─────────────────────── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 39, 34, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 1px 2px rgba(46, 39, 34, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--honey);
  transform: scale(1.04);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.nav-toggle .bars {
  position: relative;
  width: 18px;
  height: 14px;
  display: block;
}
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform 320ms var(--ease-out),
              opacity 200ms var(--ease-out),
              top 320ms var(--ease-out),
              width 320ms var(--ease-out);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; width: 75%; }
.nav-toggle .bars span:nth-child(3) { top: 12px; width: 50%; }

.nav-toggle.is-open .bars span {
  width: 100%;
}
.nav-toggle.is-open .bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-toggle.is-open .bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* ── Full-screen mobile drawer (injected by JS) ───────────────────── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 248, 240, 0.94);
  backdrop-filter: saturate(160%) blur(24px);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  display: flex;
  flex-direction: column;
  padding: 5.5rem 1.5rem 2rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), visibility 0s linear 320ms;
  overflow-y: auto;
}
.nav-drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 18% 12%, rgba(232, 149, 110, 0.30), transparent 70%),
    radial-gradient(45% 55% at 88% 95%, rgba(212, 197, 226, 0.30), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.nav-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 320ms var(--ease-out), visibility 0s;
}

.nav-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
}
.nav-drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--espresso);
  transform: translateX(-14px);
  opacity: 0;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast), opacity 320ms var(--ease-out);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}
.nav-drawer.is-open .nav-drawer-list a {
  transform: translateX(0);
  opacity: 1;
}
.nav-drawer.is-open .nav-drawer-list li:nth-child(1) a { transition-delay: 0.05s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(2) a { transition-delay: 0.10s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(3) a { transition-delay: 0.14s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(4) a { transition-delay: 0.18s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(5) a { transition-delay: 0.22s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(6) a { transition-delay: 0.26s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(7) a { transition-delay: 0.30s; }
.nav-drawer.is-open .nav-drawer-list li:nth-child(8) a { transition-delay: 0.34s; }
.nav-drawer-list a:hover {
  border-color: var(--honey);
  color: var(--rose-deep);
  background: var(--surface);
}
.nav-drawer-list a::after {
  content: "→";
  font-family: 'Onest', sans-serif;
  color: var(--muted-light);
  transition: transform var(--t-fast), color var(--t-fast);
}
.nav-drawer-list a:hover::after {
  color: var(--rose-deep);
  transform: translateX(3px);
}
.nav-drawer-list a.nav-ai {
  background: var(--aurora-rose) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px -8px rgba(216, 123, 82, 0.55) !important;
}
.nav-drawer-list a.nav-ai::after { color: rgba(255, 255, 255, 0.85); }

.nav-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.nav-drawer-actions .btn { width: 100%; padding: 1rem; font-size: 1rem; }

body.nav-drawer-open { overflow: hidden; }

/* ════════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--btn-radius);
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
}

/* shimmer sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 75%);
  transform: translateX(-110%);
  transition: transform 800ms var(--ease-out);
  z-index: -1;
}
.btn:hover::after { transform: translateX(110%); }

.btn-primary {
  background: var(--aurora-rose);
  color: #fff;
  box-shadow: var(--shadow-honey);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 56px -18px rgba(216, 123, 82, 0.55), 0 10px 22px -10px rgba(168, 86, 72, 0.30);
}

.btn-teal {
  background: var(--sage-deep);
  color: #fff;
  box-shadow: var(--shadow-sage);
}
.btn-teal:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 28px 56px -18px rgba(107, 143, 119, 0.50);
}

.btn-outline {
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--espresso);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--honey);
  color: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--surface);
  color: var(--espresso);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: var(--cream-deep);
  border-color: var(--honey);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border-color: transparent;
  padding: 0.7rem 1.1rem;
}
.btn-ghost:hover {
  background: rgba(46, 39, 34, 0.05);
}

.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }

.btn .arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad-y) 1.75rem;
  position: relative;
}

section { position: relative; }

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 4rem;
  font-size: 1.075rem;
  line-height: 1.7;
}

.section-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Grid system */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* ════════════════════════════════════════════════════════════════════
   GLOBAL CARD (legacy + new)
   ════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 149, 110, 0.35);
}

.card h3 { margin-bottom: 0.6rem; font-weight: 500; }
.card p  { color: var(--muted); margin-bottom: 1.25rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--rose-deep);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--t-fast);
}
.card-link:hover { gap: 0.7rem; color: var(--honey-deep); }

/* ════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 70%;
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(232, 149, 110, 0.32), transparent 70%),
    radial-gradient(50% 70% at 80% 20%, rgba(212, 197, 226, 0.40), transparent 70%),
    radial-gradient(50% 60% at 60% 90%, rgba(255, 229, 168, 0.35), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 36rem; min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-pill);
  font-family: 'Onest', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--espresso);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--aurora-rose);
  box-shadow: 0 0 0 4px rgba(232, 149, 110, 0.18);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-content > p {
  font-size: 1.125rem;
  color: var(--espresso-soft);
  margin-bottom: 2.25rem;
  max-width: 32rem;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero image area — large organic mask + floating glass UI cards */
.hero-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  min-width: 0;
}

.organic-mask {
  position: absolute;
  inset: 0;
  border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  background: var(--aurora-warm);
  animation: morph 14s ease-in-out infinite;
}

.organic-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%; }
  33%      { border-radius: 45% 55% 40% 60% / 50% 60% 40% 50%; }
  66%      { border-radius: 50% 50% 60% 40% / 45% 55% 45% 55%; }
}

/* Floating glass cards on top of hero image */
.floating-ui {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--espresso);
  animation: float 6s ease-in-out infinite;
}

.floating-ui.trusted-care {
  top: 8%;
  left: -6%;
  animation-delay: 0.5s;
}
.floating-ui.loved-owners {
  bottom: 6%;
  right: -8%;
  animation-delay: 1.5s;
}

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

.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-circle.teal-bg { background: var(--sage-deep); }
.icon-circle.honey-bg { background: var(--honey-deep); }
.icon-circle.rose-bg  { background: var(--rose-deep); }

.avatars {
  display: flex;
}
.avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }

/* Decorative paw silhouettes — used as hero/CTA background flourish */
.paw-bg {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
}

/* ════════════════════════════════════════════════════════════════════
   HERO drifting pet objects — bones, hearts, fish, birds, bubbles,
   stars and a tiny extra paw all drift across the background on
   independent animation timings. All composited (transform + opacity).
   ════════════════════════════════════════════════════════════════════ */
.hero-drift {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* Bone — drifts left → right across upper third */
.hero-drift--bone {
  width: 64px;
  height: auto;
  top: 22%;
  left: -8%;
  animation: heroBoneDrift 26s linear infinite;
}
@keyframes heroBoneDrift {
  0%   { transform: translateX(0)      rotate(-12deg); opacity: 0;   }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(125vw)  rotate(18deg);  opacity: 0;   }
}

/* Heart — rises from bottom */
.hero-drift--heart {
  width: 28px;
  height: auto;
  bottom: -4%;
  left: 22%;
  animation: heroHeartRise 14s ease-in-out infinite;
}
@keyframes heroHeartRise {
  0%   { transform: translateY(0)     scale(0.5) rotate(-6deg); opacity: 0;   }
  20%  { opacity: 1; }
  80%  { opacity: 0.7; }
  100% { transform: translateY(-90vh) scale(1.25) rotate(8deg); opacity: 0;   }
}

/* Fish — swims right → left through middle */
.hero-drift--fish {
  width: 56px;
  height: auto;
  top: 62%;
  right: -8%;
  animation: heroFishSwim 22s linear infinite;
  animation-delay: 4s;
}
@keyframes heroFishSwim {
  0%   { transform: translateX(0)       translateY(0); opacity: 0;   }
  10%  { opacity: 1; }
  50%  { transform: translateX(-65vw)   translateY(-20px); }
  90%  { opacity: 1; }
  100% { transform: translateX(-130vw)  translateY(0); opacity: 0;   }
}

/* Bird — glides right → left across upper area */
.hero-drift--bird {
  width: 70px;
  height: auto;
  top: 8%;
  right: -10%;
  animation: heroBirdGlide 28s linear infinite;
  animation-delay: 8s;
}
@keyframes heroBirdGlide {
  0%   { transform: translateX(0)      translateY(0);   opacity: 0;   }
  12%  { opacity: 0.85; }
  50%  { transform: translateX(-65vw)  translateY(30px); }
  88%  { opacity: 0.85; }
  100% { transform: translateX(-130vw) translateY(60px); opacity: 0;   }
}

/* Bubble — drifts up + slight wobble */
.hero-drift--bubble {
  width: 22px;
  height: auto;
  bottom: -3%;
  right: 30%;
  animation: heroBubbleRise 11s ease-in-out infinite;
  animation-delay: 2s;
}
@keyframes heroBubbleRise {
  0%   { transform: translate(0, 0)         scale(0.4); opacity: 0;   }
  15%  { opacity: 1; }
  50%  { transform: translate(-18px, -45vh) scale(1.0); }
  85%  { opacity: 0.7; }
  100% { transform: translate(8px, -90vh)   scale(1.3); opacity: 0;   }
}

/* Extra small paw — drifts diagonally */
.hero-drift--paw-small {
  width: 36px;
  height: 36px;
  top: 78%;
  left: 8%;
  animation: heroPawDriftDiagonal 18s ease-in-out infinite;
  animation-delay: 3s;
}
@keyframes heroPawDriftDiagonal {
  0%   { transform: translate(0, 0)        rotate(-15deg); opacity: 0;   }
  20%  { opacity: 0.8; }
  50%  { transform: translate(60px, -40px) rotate(12deg); }
  80%  { opacity: 0.8; }
  100% { transform: translate(120px, -80px) rotate(-8deg); opacity: 0;   }
}

/* Twinkling stars */
.hero-drift--star1 {
  width: 14px;
  height: 14px;
  top: 32%;
  right: 18%;
  animation: heroStarTwinkle 5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 229, 168, 0.5));
}
.hero-drift--star2 {
  width: 11px;
  height: 11px;
  top: 56%;
  left: 14%;
  animation: heroStarTwinkle 6.5s ease-in-out 1.5s infinite;
  filter: drop-shadow(0 0 5px rgba(212, 197, 226, 0.5));
}
@keyframes heroStarTwinkle {
  0%, 100% { transform: scale(0.7) rotate(0deg);   opacity: 0.35; }
  50%      { transform: scale(1.3) rotate(180deg); opacity: 1;    }
}

/* ════════════════════════════════════════════════════════════════════
   HERO — premium futuristic composition
   Aurora orb · holographic ring · sparkles · floating SaaS UI cards
   ════════════════════════════════════════════════════════════════════ */
.hero-stage {
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Aurora glow halo behind everything */
.hero-glow {
  position: absolute;
  inset: -8% -10%;
  z-index: -1;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(232, 149, 110, 0.55) 0%, transparent 70%),
    radial-gradient(38% 38% at 70% 30%, rgba(212, 197, 226, 0.55) 0%, transparent 70%),
    radial-gradient(35% 35% at 25% 80%, rgba(255, 229, 168, 0.50) 0%, transparent 70%),
    radial-gradient(32% 32% at 80% 80%, rgba(148, 180, 159, 0.40) 0%, transparent 70%);
  filter: blur(28px);
  animation: glowPulse 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

/* Holographic dashed ring */
.hero-ring {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  z-index: -1;
  pointer-events: none;
  animation: spin-slow 60s linear infinite;
  opacity: 0.85;
}

/* Sparkle accents */
.hero-sparkle {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(232, 149, 110, 0.5));
  animation: sparkleTwinkle 3.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85) rotate(0deg); }
  50%      { opacity: 1;    transform: scale(1.15) rotate(45deg); }
}

/* The pet image's organic mask gets a softer treatment now that the
   stage has its own atmosphere */
.hero-stage .organic-mask {
  box-shadow:
    0 40px 80px -32px rgba(46, 39, 34, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  z-index: 1;
}

/* ── Floating SaaS UI cards ───────────────────────────────────────── */
.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow:
    0 18px 38px -16px rgba(46, 39, 34, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-family: 'Onest', sans-serif;
  color: var(--espresso);
  z-index: 3;
  min-width: 0;
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}
.float-card-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}
.float-card-num {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--espresso);
  display: block;
  line-height: 1;
}
.float-card-num span {
  font-family: 'Onest', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 0.18rem;
}
.float-card-msg {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--espresso);
  margin: 0;
  max-width: 22ch;
}
.float-card-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.float-icon-pill {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* AI card — dark glass with neon accent */
.float-card--ai {
  background: linear-gradient(160deg, rgba(46, 39, 34, 0.92) 0%, rgba(74, 63, 54, 0.92) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.10);
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 230px;
  animation-delay: 0.2s;
  position: absolute;
}
.float-card--ai .float-card-label {
  color: var(--honey-glow);
  letter-spacing: 0.16em;
}
.float-card--ai .float-card-msg {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
}
.float-card--ai .float-card-msg strong {
  color: var(--honey-glow);
  font-weight: 600;
}
.float-card--ai .float-ai-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--aurora-rose);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(232, 149, 110, 0.6);
}
.float-card--ai .float-card-body { display: flex; flex-direction: column; gap: 0.3rem; }
.float-card--ai .float-pulse {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--honey-glow);
  box-shadow: 0 0 0 0 rgba(245, 183, 150, 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}

/* Vital card — heart rate */
.float-card--vital {
  min-width: 180px;
  animation-delay: 0.6s;
}
.float-spark {
  width: 100%;
  height: 28px;
  display: block;
}

/* Activity ring card */
.float-card--ring {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  animation-delay: 1s;
}
.float-card--ring .ring-chart {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

/* Booking card — dark glass */
.float-card--booking {
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(160deg, rgba(46, 39, 34, 0.92) 0%, rgba(74, 63, 54, 0.92) 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.10);
  animation-delay: 1.4s;
  max-width: 220px;
}
.float-card--booking .float-card-msg { font-weight: 600; font-size: 0.86rem; }

/* Rating card */
.float-card--rating {
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  animation-delay: 1.8s;
}
.float-avatars img {
  width: 24px;
  height: 24px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Parallax composes via the `translate` property so it doesn't fight
   the float keyframe's `transform`. JS sets --par-x / --par-y. */
.float-card,
.hero-stage .organic-mask {
  translate: var(--par-x, 0) var(--par-y, 0);
  transition: translate 600ms var(--ease-out);
}
.hero-stage:hover .float-card,
.hero-stage:hover .organic-mask {
  transition: translate 220ms linear;
}

/* Responsive: hide some cards on small screens, scale rest */
@media (max-width: 860px) {
  .hero-ring { inset: 0; width: 100%; height: 100%; }
  .float-card { padding: 0.7rem 0.85rem; }
  .float-card--ai { max-width: 200px; left: -4% !important; }
  .float-card--vital { display: none; }
  .float-card--ring { right: -4% !important; }
  .float-card--booking { display: none; }
  .float-card--rating { left: 0 !important; }
}
@media (max-width: 540px) {
  .float-card--ai { font-size: 0.72rem; }
  .float-card--ring,
  .float-card--rating { transform: scale(0.85); transform-origin: top right; }
  .float-card--rating { transform-origin: bottom left; }
  .hero-sparkle { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   TRUST MARQUEE
   ════════════════════════════════════════════════════════════════════ */
.trust-strip {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-warm);
  overflow: hidden;
}
.trust-strip-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.trust-strip-label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 14ch;
  line-height: 1.3;
}
.trust-marquee {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.trust-stat {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.trust-stat strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.85rem;
  color: var(--espresso);
  letter-spacing: -0.02em;
}
.trust-stat span {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════
   BENTO SERVICES (homepage core grid)
   ════════════════════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 1.5rem;
}

.bento {
  position: relative;
  border-radius: var(--r-lg);
  padding: 1.85rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  isolation: isolate;
}
.bento:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bento h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}
.bento p {
  color: var(--espresso-soft);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.bento .bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--espresso);
  align-self: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid currentColor;
  transition: var(--t-fast);
}
.bento .bento-link:hover { gap: 0.6rem; }

/* Bento sizes */
.bento--lg  { grid-column: span 4; grid-row: span 2; }
.bento--md  { grid-column: span 2; grid-row: span 2; }
.bento--sm  { grid-column: span 2; }
.bento--wide { grid-column: span 3; }

/* Bento color variants */
.bento--honey {
  background: linear-gradient(135deg, #FBE2D2 0%, #F5B796 100%);
  border-color: rgba(216, 123, 82, 0.18);
  color: var(--espresso);
}
.bento--rose {
  background: linear-gradient(135deg, #F4D8D2 0%, #E8B5AB 100%);
  border-color: rgba(168, 86, 72, 0.18);
}
.bento--sage {
  background: linear-gradient(160deg, #DCE8DF 0%, #94B49F 100%);
  border-color: rgba(107, 143, 119, 0.18);
}
.bento--lilac {
  background: linear-gradient(135deg, #EFE6F4 0%, #D4C5E2 100%);
  border-color: rgba(168, 147, 191, 0.20);
}
.bento--butter {
  background: linear-gradient(135deg, #FFF3CC 0%, #FFE5A8 100%);
  border-color: rgba(242, 201, 124, 0.30);
}
.bento--dark {
  background: linear-gradient(160deg, #2E2722 0%, #4A3F36 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}
.bento--dark h3 { color: #fff; }
.bento--dark p  { color: rgba(255, 255, 255, 0.78); }
.bento--dark .bento-link { color: var(--honey-glow); }

.bento-eyebrow {
  font-family: 'Onest', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose-deep);
  margin-bottom: auto;
}
.bento--dark .bento-eyebrow { color: var(--honey-glow); }

/* Text readability halo — light bento variants only.
   Why: .bento-figure sits behind text (z-index:-1) and dark image content
   can bleed into the text column, hurting contrast on black-on-light text. */
.bento:not(.bento--dark) h3,
.bento:not(.bento--dark) p,
.bento:not(.bento--dark) .bento-eyebrow,
.bento:not(.bento--dark) .bento-link {
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.72),
    0 0 4px rgba(255, 255, 255, 0.55),
    0 1px 1px rgba(255, 255, 255, 0.6);
}

.bento-figure {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.95;
}
.bento-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bento--lg .bento-figure {
  width: 50%;
  mask-image: linear-gradient(270deg, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent 100%);
}

.bento-orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}
.bento-orb--tr { top: -40px; right: -40px; background: var(--honey-glow); }
.bento-orb--bl { bottom: -60px; left: -60px; background: var(--lilac); }

/* Whole-card clickable bento — the inner .bento-link stretches to fill */
.bento--clickable .bento-link {
  position: static;
}
.bento--clickable .bento-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}
.bento--clickable {
  cursor: pointer;
}
/* Bump foreground content above the click overlay. NOTE: do not include
   .bento-figure here — it's already position:absolute and must stay so. */
.bento--clickable .bento-icon,
.bento--clickable .bento-eyebrow,
.bento--clickable h3,
.bento--clickable p,
.bento--clickable .bento-link {
  position: relative;
  z-index: 5;
}

/* Pictogram blob behind icon in bento */
.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  box-shadow: var(--shadow-xs);
}

/* ════════════════════════════════════════════════════════════════════
   ADVANTAGES (Why choose us)
   ════════════════════════════════════════════════════════════════════ */
.advantages-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.advantage-card {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--aurora-soft);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 0;
}
.advantage-card > * { position: relative; z-index: 1; }
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.advantage-card:hover::before { opacity: 0.55; }

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
}

.advantage-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.advantage-card p {
  font-size: 0.94rem;
  color: var(--espresso-soft);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════════════
   SERVICE CATEGORIES
   ════════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.service-category {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.service-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--aurora-rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}
.service-category:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-category:hover::before { transform: scaleX(1); }

.service-category--featured {
  background: linear-gradient(160deg, #2E2722 0%, #4A3F36 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}
.service-category--featured h3 { color: #fff; }
.service-category--featured .service-list li { color: rgba(255, 255, 255, 0.85); }
.service-category--featured::before { background: var(--aurora-warm); transform: scaleX(1); }

.service-category-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  background: var(--cream);
  box-shadow: var(--shadow-xs);
}
.service-category h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.service-list {
  margin-bottom: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--espresso-soft);
  line-height: 1.45;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--honey);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}
.check-icon--teal { background: var(--sage-deep); }

.service-category--featured .check-icon {
  background: var(--honey-glow);
  color: var(--espresso);
}
.service-category--featured .check-icon--teal { background: var(--sage); color: var(--espresso); }

/* ════════════════════════════════════════════════════════════════════
   STEPS / HOW IT WORKS
   ════════════════════════════════════════════════════════════════════ */
.steps-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--surface-warm) 100%);
  position: relative;
}

.steps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 15% 50%, rgba(232, 149, 110, 0.10), transparent 60%),
    radial-gradient(40% 50% at 85% 50%, rgba(212, 197, 226, 0.16), transparent 60%);
  pointer-events: none;
}

.step-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  position: relative;
}

.step-number {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 4rem;
  line-height: 1;
  display: inline-block;
  background: var(--aurora-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}

.step-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.6rem;
}

/* ════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--surface);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
  overflow: hidden;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -1rem;
  right: 1.25rem;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 9rem;
  line-height: 1;
  color: var(--honey-glow);
  opacity: 0.45;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--honey-deep);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.075rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: var(--shadow-xs);
}
.testimonial-author strong {
  display: block;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--espresso);
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════════════
   TESTIMONIALS — premium marquee carousel
   ════════════════════════════════════════════════════════════════════ */
.testimonials-section--v2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: var(--section-pad-y);
}

/* Ambient gradient blobs behind the carousel */
.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 50% at 12% 30%, rgba(232, 149, 110, 0.18), transparent 70%),
    radial-gradient(40% 50% at 88% 80%, rgba(212, 197, 226, 0.22), transparent 70%),
    radial-gradient(40% 45% at 60% 10%, rgba(255, 229, 168, 0.18), transparent 70%);
  filter: blur(8px);
  animation: meshDrift 38s ease-in-out infinite alternate;
}

/* Trust strip above the carousel */
.testimonials-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: 0 auto 3rem;
  padding: 1rem 1.5rem;
  width: fit-content;
  max-width: 100%;
  background: var(--surface-glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}
.testimonials-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.testimonials-trust-item strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: var(--aurora-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.testimonials-trust-item span {
  font-family: 'Onest', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.15rem;
}
.testimonials-trust-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

/* Marquee */
.testimonial-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
  /* Edge fade masks — cards softly disappear off the sides */
  mask-image: linear-gradient(90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%);
  --marquee-speed: 70s;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll var(--marquee-speed) linear infinite;
  will-change: transform;
  padding: 0 1rem;
}
@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}

/* ── Premium card upgrade (overrides earlier .testimonial-card rules) ── */
.testimonials-section--v2 .testimonial-card {
  flex-shrink: 0;
  width: clamp(300px, 27vw, 380px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem 1.65rem;
  box-shadow:
    0 18px 38px -18px rgba(46, 39, 34, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform var(--t-base),
    box-shadow var(--t-base),
    border-color var(--t-base);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

/* Big serif quote glyph (overrides earlier definition) */
.testimonials-section--v2 .testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -0.65rem;
  right: 1.2rem;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 7.5rem;
  line-height: 1;
  color: var(--honey-glow);
  opacity: 0.40;
  pointer-events: none;
}

/* Gradient-glow border on hover via ::after */
.testimonials-section--v2 .testimonial-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    var(--honey) 0%,
    var(--rose) 35%,
    var(--lilac-deep) 70%,
    var(--sage-deep) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.testimonials-section--v2 .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 36px 64px -22px rgba(216, 123, 82, 0.32),
    0 14px 28px -16px rgba(46, 39, 34, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.testimonials-section--v2 .testimonial-card:hover::after { opacity: 1; }

/* Featured variant — dark glass for visual rhythm */
.testimonials-section--v2 .testimonial-card--featured {
  background: linear-gradient(160deg, rgba(46, 39, 34, 0.94) 0%, rgba(74, 63, 54, 0.94) 100%);
  border-color: rgba(255, 255, 255, 0.10);
  color: #fff;
  box-shadow:
    0 28px 48px -20px rgba(46, 39, 34, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.testimonials-section--v2 .testimonial-card--featured::before {
  color: var(--honey-glow);
  opacity: 0.65;
}
.testimonials-section--v2 .testimonial-card--featured .testimonial-text {
  color: rgba(255, 255, 255, 0.95);
}
.testimonials-section--v2 .testimonial-card--featured .testimonial-author {
  border-top-color: rgba(255, 255, 255, 0.10);
}
.testimonials-section--v2 .testimonial-card--featured .testimonial-author strong {
  color: #fff;
}
.testimonials-section--v2 .testimonial-card--featured .testimonial-author span {
  color: rgba(255, 255, 255, 0.65);
}
.testimonials-section--v2 .testimonial-card--featured .testimonial-stars {
  color: var(--honey-glow);
}

/* Stars / text / author — refined */
.testimonials-section--v2 .testimonial-stars {
  color: var(--honey-deep);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}
.testimonials-section--v2 .testimonial-text {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.025rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}
.testimonials-section--v2 .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.testimonials-section--v2 .testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow:
    0 6px 14px -4px rgba(46, 39, 34, 0.22),
    0 0 0 1px rgba(232, 149, 110, 0.20);
  flex-shrink: 0;
}
.testimonials-section--v2 .testimonial-author > div {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.testimonials-section--v2 .testimonial-author strong {
  display: block;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--espresso);
  letter-spacing: -0.005em;
}
.testimonials-section--v2 .testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* Verified badge */
.testimonial-verified {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -2px rgba(107, 143, 119, 0.45);
}
.testimonials-section--v2 .testimonial-card--featured .testimonial-verified {
  background: var(--honey-glow);
  color: var(--espresso);
}

/* Responsive: tighter cards on mobile, slower marquee */
@media (max-width: 720px) {
  .testimonial-marquee { --marquee-speed: 50s; }
  .testimonials-section--v2 .testimonial-card { width: 88vw; max-width: 360px; padding: 1.75rem 1.5rem 1.4rem; }
  .testimonials-trust { padding: 0.85rem 1.25rem; }
  .testimonials-trust-item strong { font-size: 1.1rem; }
}

/* Honour reduced motion: stop the marquee */
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; }
  .testimonials-bg { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════════════ */
.cta-banner {
  margin: var(--section-pad-y) 1.75rem;
  max-width: calc(var(--container-max) - 1rem);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--r-xl);
  padding: clamp(3rem, 7vw, 6rem) 1.75rem;
  background: linear-gradient(135deg, #2E2722 0%, #4A3F36 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 80% at 12% 25%, rgba(232, 149, 110, 0.45), transparent 60%),
    radial-gradient(36% 70% at 88% 75%, rgba(212, 197, 226, 0.30), transparent 60%),
    radial-gradient(30% 60% at 50% 100%, rgba(255, 229, 168, 0.30), transparent 65%);
  pointer-events: none;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='15' cy='25' r='1' fill='white' opacity='0.25'/><circle cx='75' cy='15' r='1.2' fill='white' opacity='0.18'/><circle cx='40' cy='80' r='0.9' fill='white' opacity='0.22'/><circle cx='90' cy='65' r='1' fill='white' opacity='0.20'/></svg>");
  background-size: 200px 200px;
  opacity: 0.6;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}
.cta-banner-content h2 {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.cta-banner-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.075rem;
  line-height: 1.65;
  max-width: 36rem;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════════
   FEATURE SPLITS (split layout sections)
   ════════════════════════════════════════════════════════════════════ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.feature-split--reverse .feature-text { order: 2; }

.feature-text h2 { margin-bottom: 1.25rem; }
.feature-text > p {
  font-size: 1.075rem;
  color: var(--espresso-soft);
  margin-bottom: 1.75rem;
}
.feature-text .feature-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.feature-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.feature-point-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--honey-soft);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.feature-point strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.2rem;
}
.feature-point span {
  font-size: 0.95rem;
  color: var(--espresso-soft);
  line-height: 1.5;
}

.feature-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modifier: lets floating stat cards extend past the image boundary
   without being clipped. The image itself keeps the rounded corners. */
.feature-visual--floating {
  overflow: visible;
}
.feature-visual--floating > img {
  border-radius: inherit;
}
.feature-visual-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-glass);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.feature-visual-stat strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: -0.025em;
  background: var(--aurora-rose);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.feature-visual-stat span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════
   PRODUCT CARDS (pet store)
   ════════════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 149, 110, 0.35);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--honey-soft) 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms var(--ease-out), filter 400ms var(--ease-out);
  filter: saturate(1) brightness(1);
}
.product-card:hover .product-image img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1.02);
}

.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.75rem;
  background: var(--surface);
  color: var(--rose-deep);
  border-radius: var(--r-pill);
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-xs);
}
.product-badge--sage { color: var(--sage-deep); }
.product-badge--rose { color: var(--rose-deep); }

.product-fav {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--t-fast);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--espresso-soft);
}
.product-fav:hover { color: var(--rose); transform: scale(1.08); }

.product-content {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-family: 'Onest', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.product-rating .stars { color: var(--honey-deep); }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.product-price {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--espresso);
}
.product-price del {
  font-family: 'Onest', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted-light);
  margin-right: 0.4rem;
}

.product-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--aurora-rose);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: var(--shadow-sm);
}
.product-btn:hover {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: var(--shadow-honey);
}

/* Filters / category pills */
.category-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.category-pill {
  padding: 0.65rem 1.2rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--espresso-soft);
  cursor: pointer;
  transition: var(--t-fast);
}
.category-pill:hover {
  border-color: var(--honey);
  color: var(--rose-deep);
  transform: translateY(-1px);
}
.category-pill.is-active {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

/* ════════════════════════════════════════════════════════════════════
   SUB-SERVICE CARDS (pet-services page)
   ════════════════════════════════════════════════════════════════════ */
.subservice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.subservice-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.85rem 1.65rem;
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.subservice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: var(--aurora-soft);
  filter: blur(30px);
  opacity: 0;
  transition: opacity var(--t-base);
}
.subservice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 149, 110, 0.30);
}
.subservice-card:hover::before { opacity: 0.7; }
.subservice-card > * { position: relative; z-index: 1; }

.subservice-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.5rem;
  background: var(--cream);
  box-shadow: var(--shadow-xs);
}

.subservice-card h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.subservice-card p {
  font-size: 0.9rem;
  color: var(--espresso-soft);
  line-height: 1.55;
}

/* Service section header block */
.service-section { padding: var(--section-pad-y) 0; }
.service-section-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-section-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.service-section-header h2 {
  margin-bottom: 0.5rem;
  max-width: 24ch;
}
.service-section-header p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ════════════════════════════════════════════════════════════════════
   PAGE HERO (interior pages)
   ════════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: clamp(4rem, 9vw, 7rem) 1.75rem clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 20% 30%, rgba(232, 149, 110, 0.20), transparent 70%),
    radial-gradient(45% 55% at 80% 35%, rgba(212, 197, 226, 0.25), transparent 70%),
    radial-gradient(40% 50% at 50% 95%, rgba(255, 229, 168, 0.25), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.page-hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p {
  font-size: 1.15rem;
  color: var(--espresso-soft);
  max-width: 44rem;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}
.page-hero .hero-btns { justify-content: center; }
.page-hero .hero-badge { margin-bottom: 1.75rem; }

/* ════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.65rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.contact-detail:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--honey-soft);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-detail-icon.is-sage { background: var(--sage-soft); color: var(--sage-deep); }
.contact-detail-icon.is-lilac { background: rgba(212, 197, 226, 0.5); color: var(--lilac-deep); }
.contact-detail h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.contact-detail p {
  font-size: 0.95rem;
  color: var(--espresso-soft);
  line-height: 1.5;
  margin: 0;
}
.contact-detail a { color: var(--rose-deep); font-weight: 500; }
.contact-detail a:hover { color: var(--honey-deep); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--aurora-soft);
  opacity: 0.45;
  filter: blur(40px);
  pointer-events: none;
}
.contact-form-wrap > * { position: relative; z-index: 1; }

.contact-form {
  display: grid;
  gap: 1.1rem;
}
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--espresso-soft);
}
.field input,
.field select,
.field textarea {
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-warm);
  color: var(--espresso);
  transition: var(--t-fast);
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--honey);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(232, 149, 110, 0.15);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
  font-family: 'Onest', sans-serif;
}

.info-box {
  background: var(--surface-warm);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

/* ════════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: var(--t-fast);
}
.faq-item:hover { border-color: var(--honey); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--espresso);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--honey-deep);
  transition: transform var(--t-base);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 0.85rem;
  color: var(--espresso-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */
footer {
  position: relative;
  background: var(--surface-darker);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(4rem, 7vw, 6rem) 1.75rem 2rem;
  margin-top: 0;
  z-index: 1;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 15% 20%, rgba(232, 149, 110, 0.18), transparent 70%),
    radial-gradient(40% 60% at 85% 90%, rgba(148, 180, 159, 0.14), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 400;
  transition: var(--t-fast);
}
.footer-col a:hover {
  color: var(--honey-glow);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);
  transition: var(--t-fast);
}
.social-icon:hover {
  background: var(--aurora-rose);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-honey);
}

.footer-bottom {
  position: relative;
  max-width: var(--container-max);
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ════════════════════════════════════════════════════════════════════
   TEAM SECTION (about page) — premium SaaS team cards
   ════════════════════════════════════════════════════════════════════ */
.team-section {
  position: relative;
  padding: var(--section-pad-y) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

/* Floating ambient blobs behind cards */
.team-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
.team-shape--a {
  top: -10%;
  left: -8%;
  width: 380px;
  height: 380px;
  background: var(--honey-glow);
}
.team-shape--b {
  bottom: -15%;
  right: -10%;
  width: 460px;
  height: 460px;
  background: var(--lilac);
  animation-direction: alternate-reverse;
  animation-duration: 22s;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
}
@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; max-width: 380px; gap: 1.25rem; }
}

/* The card itself — glassmorphic with soft gradient wash */
.team-card {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 1.85rem 1.65rem 1.5rem;
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 14px 30px -16px rgba(46, 39, 34, 0.14),
              inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Inner gradient wash */
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
    rgba(251, 226, 210, 0.55) 0%,
    rgba(220, 232, 223, 0.25) 60%,
    transparent 100%);
  z-index: -1;
  transition: opacity var(--t-base);
}

/* Gradient glow border on hover */
.team-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    var(--honey) 0%,
    var(--rose) 35%,
    var(--lilac-deep) 70%,
    var(--sage-deep) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 36px 64px -22px rgba(216, 123, 82, 0.30),
    0 12px 24px -16px rgba(46, 39, 34, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.team-card:hover::after { opacity: 1; }

/* Role badge */
.team-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(232, 149, 110, 0.12);
  color: var(--rose-deep);
  border: 1px solid rgba(232, 149, 110, 0.20);
  border-radius: var(--r-pill);
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.team-role-badge svg { width: 13px; height: 13px; }

/* Avatar wrapper — circular frame with halo on hover */
.team-avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  position: relative;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow:
    0 14px 28px -8px rgba(216, 123, 82, 0.30),
    0 0 0 1px rgba(232, 149, 110, 0.18);
  flex-shrink: 0;
  isolation: isolate;
}
.team-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: var(--aurora-rose);
  filter: blur(22px);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: -1;
}
.team-card:hover .team-avatar-wrap::before { opacity: 0.55; }
.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.team-card:hover .team-avatar-wrap img { transform: scale(1.08); }

/* Name + tagline + bio */
.team-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.018em;
  color: var(--espresso);
  margin: 0 0 0.25rem;
}
.team-tagline {
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--rose-deep);
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
}
.team-bio {
  font-size: 0.92rem;
  color: var(--espresso-soft);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex: 1;
}

/* LinkedIn-style social link */
.team-social {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--rose-deep);
  border: 1px solid rgba(232, 149, 110, 0.20);
  transition: var(--t-fast);
}
.team-social:hover {
  background: var(--aurora-rose);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px) scale(1.06);
  box-shadow: var(--shadow-honey);
}
.team-social svg { width: 16px; height: 16px; }

/* Legacy value-card hook (kept for any future reuse) */
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.85rem;
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ════════════════════════════════════════════════════════════════════
   ANIMATION HOOKS (animations.js)
   ════════════════════════════════════════════════════════════════════ */
.anim-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: opacity, transform;
}
.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(8px, -12px) rotate(4deg); }
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-auth .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .bento--lg { grid-column: span 6; }
  .bento--md { grid-column: span 3; }
  .bento--sm, .bento--wide { grid-column: span 3; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  :root { --section-pad-y: clamp(3rem, 8vw, 5.5rem); }
  .hero-container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }
  .feature-split,
  .feature-split--reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-split--reverse .feature-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-col:nth-child(4) { grid-column: auto; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento--lg, .bento--md, .bento--sm, .bento--wide { grid-column: span 2; }
  .trust-strip-inner { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
  .trust-marquee { justify-content: center; }
  .nav-container { padding: 0.85rem 1.25rem; }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cta-banner { margin-left: 1rem; margin-right: 1rem; padding: 3rem 1.5rem; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento--lg, .bento--md, .bento--sm, .bento--wide { grid-column: span 1; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .floating-ui.trusted-care { left: 0; }
  .floating-ui.loved-owners { right: 0; }
  .nav-container { padding: 0.75rem 1rem; }
  .nav-auth .btn-primary { padding: 0.75rem 1.1rem; font-size: 0.85rem; }
  .logo-img { height: 36px; }
}

/* ════════════════════════════════════════════════════════════════════
   AI PAGE / CHATBOT preserved hooks
   ════════════════════════════════════════════════════════════════════ */
.chatbot-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--aurora-rose);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-honey);
  z-index: 999;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform var(--t-fast);
}
.chatbot-toggle:hover { transform: scale(1.08) rotate(-6deg); }

/* ════════════════════════════════════════════════════════════════════
   LEGACY COMPATIBILITY
   Styles for class hooks used by pages we haven't redesigned in this
   pass (about, work-with-us, skills, sign-in, join-us, AI, course
   pages). They get the new palette and typography automatically and
   stay visually coherent until they're rebuilt.
   ════════════════════════════════════════════════════════════════════ */

/* About page — story blocks */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 4rem;
}
.story-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.story-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.story-block p { font-size: 0.95rem; color: var(--espresso-soft); line-height: 1.65; }
.story-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: var(--cream-deep);
}

/* Card icon (used on join-our-team, pet-services additional, etc.) */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  background: var(--cream-deep);
}

/* Forms (sign-in, join-us, join-our-team) */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.form-container::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--aurora-soft);
  opacity: 0.35;
  filter: blur(40px);
  pointer-events: none;
}
.form-container > * { position: relative; z-index: 1; }
.form-container h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--espresso-soft);
}
.form-control {
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-warm);
  color: var(--espresso);
  transition: var(--t-fast);
  outline: none;
  width: 100%;
}
.form-control:focus {
  border-color: var(--honey);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(232, 149, 110, 0.15);
}
textarea.form-control { min-height: 130px; resize: vertical; }

/* Pet shop (legacy) */
.shop-section { padding: var(--section-pad-y) 0; }
.shop-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
  gap: 1rem;
}
.shop-section-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.shop-category-nav {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.shop-cat-pill {
  padding: 0.65rem 1.2rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--espresso-soft);
  transition: var(--t-fast);
}
.shop-cat-pill:hover {
  border-color: var(--honey);
  color: var(--rose-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.product-body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0;
}
.product-body p {
  font-size: 0.92rem;
  color: var(--espresso-soft);
  line-height: 1.55;
  flex: 1;
}

/* Contact legacy layout (in case any page uses it) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* AI page hooks (lightweight) */
.ai-live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(201, 112, 98, 0.18);
  animation: pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 112, 98, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(201, 112, 98, 0.06); }
}

/* ════════════════════════════════════════════════════════════════════
   MOTION — premium entrance, ambient drift, micro-interactions
   ════════════════════════════════════════════════════════════════════ */

/* ── 1. Hero entrance cascade (page-load, staggered) ─────────────── */
@keyframes heroFadeUp {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeScale {
  0%   { opacity: 0; transform: translateY(20px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero .hero-badge                        { animation: heroFadeUp 0.85s var(--ease-out) 0.08s forwards; }
.hero .hero-content h1                   { animation: heroFadeUp 0.95s var(--ease-out) 0.20s forwards; }
.hero .hero-content > p                  { animation: heroFadeUp 0.90s var(--ease-out) 0.34s forwards; }
.hero .hero-btns                         { animation: heroFadeUp 0.85s var(--ease-out) 0.46s forwards; }
.hero .hero-content > div:last-child     { animation: heroFadeUp 0.85s var(--ease-out) 0.58s forwards; }

.hero-stage .organic-mask {
  animation: heroFadeScale 1.1s var(--ease-spring) 0.20s both,
             morph 14s ease-in-out 1.3s infinite;
}
.hero-stage .hero-glow {
  animation: heroFadeScale 1.4s var(--ease-out) 0s both,
             glowPulse 9s ease-in-out 1.4s infinite;
}
.hero-stage .hero-ring {
  animation: heroFadeScale 1.4s var(--ease-out) 0.30s both,
             spin-slow 60s linear 1.4s infinite;
}

/* ── 2. Float cards — combined entrance + ongoing float ──────────── */
@keyframes floatCardIn {
  0%   { opacity: 0; transform: translateY(24px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.float-card {
  /* override the single animation declared earlier with a 2-animation list */
  animation: floatCardIn 0.85s var(--ease-spring) backwards,
             floatY 6s ease-in-out infinite;
  overflow: hidden;
}

/* Stagger entrance per card, then schedule float-loop to start AFTER entrance */
.float-card--ai      { animation-delay: 0.65s, 1.50s; }
.float-card--vital   { animation-delay: 0.78s, 1.40s; }
.float-card--ring    { animation-delay: 0.92s, 1.80s; }
.float-card--booking { animation-delay: 1.05s, 2.20s; }
.float-card--rating  { animation-delay: 1.18s, 2.60s; }

/* Glass shimmer — a single soft sheen sweeps across each card per cycle */
.float-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 65%);
  transform: translateX(-120%);
  animation: glassShimmer 9s ease-in-out infinite;
  animation-delay: 2.5s;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.float-card--ai::after,
.float-card--booking::after { mix-blend-mode: screen; opacity: 0.6; }

@keyframes glassShimmer {
  0%   { transform: translateX(-120%); }
  35%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* ── 3. "Get Started" — gentle outer-glow pulse ───────────────────── */
@keyframes btnGlowPulse {
  0%, 100% { opacity: 0.30; filter: blur(14px); }
  50%      { opacity: 0.58; filter: blur(20px); }
}
.nav-auth .btn-primary::before {
  animation: btnGlowPulse 3.6s ease-in-out infinite;
}
.nav-auth .btn-primary:hover::before {
  animation: none;
  opacity: 0.75;
  filter: blur(18px);
}

/* Larger hero CTA also gets the pulse (subtler) */
.hero-btns .btn-primary {
  position: relative;
  isolation: isolate;
}
.hero-btns .btn-primary::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--btn-radius);
  background: var(--aurora-rose);
  filter: blur(16px);
  opacity: 0.32;
  z-index: -2;
  animation: btnGlowPulse 4s ease-in-out 0.6s infinite;
  pointer-events: none;
}
.hero-btns .btn-primary:hover::before { animation: none; opacity: 0.65; filter: blur(20px); }

/* ── 4. Highlight text — slow animated gradient ───────────────────── */
.highlight-teal,
.highlight-honey {
  background: linear-gradient(120deg,
    var(--rose) 0%,
    var(--honey-deep) 25%,
    var(--rose-deep) 50%,
    var(--honey-deep) 75%,
    var(--rose) 100%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: highlightShift 7s ease-in-out infinite;
}
@keyframes highlightShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── 5. Ambient body mesh — slow drift ────────────────────────────── */
body::before {
  animation: meshDrift 32s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
  will-change: transform;
}
@keyframes meshDrift {
  0%   { transform: scale(1) translate(0%, 0%); }
  50%  { transform: scale(1.06) translate(-1%, 0.8%); }
  100% { transform: scale(1.10) translate(-1.6%, 1.6%); }
}

/* ── 6. Cursor-follow glow on hero (JS sets --cur-x / --cur-y) ─────── */
.hero {
  --cur-x: 50%;
  --cur-y: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--cur-x) var(--cur-y),
    rgba(232, 149, 110, 0.18),
    rgba(212, 197, 226, 0.10) 30%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 360ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hero:hover::after { opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════════
   CUSTOM DOG CURSOR
   Hides system cursor; a JS-driven SVG dog follows with eased lerp.
   Activated only on fine-pointer devices via body.pet-cursor-active class
   (set by animations.js). Text inputs keep the system text caret.
   ════════════════════════════════════════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {
  body.pet-cursor-active,
  body.pet-cursor-active * { cursor: none !important; }

  body.pet-cursor-active input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]),
  body.pet-cursor-active textarea,
  body.pet-cursor-active [contenteditable="true"] {
    cursor: text !important;
  }
}

.pet-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -17px;
  pointer-events: none;
  z-index: 100000;
  display: none;
  will-change: transform;
  contain: layout style;
  transition: opacity 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  body.pet-cursor-active .pet-cursor { display: block; }
}
.pet-cursor.is-hidden { opacity: 0; }

/* Inner element handles the gentle bounce so JS can freely set the
   outer transform for follow-the-mouse positioning. */
.pet-cursor-bounce {
  position: relative;
  width: 100%;
  height: 100%;
  animation: cursorFloat 2.6s ease-in-out infinite;
  transition: transform 220ms var(--ease-spring);
  will-change: transform;
}
@keyframes cursorFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-3px) scale(1); }
}

/* Soft halo behind the icon — visible on link / button hover */
.pet-cursor-bounce::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232, 149, 110, 0.45) 0%,
    rgba(212, 197, 226, 0.20) 40%,
    transparent 70%);
  opacity: 0;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  z-index: -1;
  pointer-events: none;
}

.pet-cursor-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* drop-shadow removed — it forces a repaint every frame the cursor moves,
     killing smoothness. Visual depth is preserved by the SVG fill colours. */
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-spring);
}
.pet-cursor-paw {
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
}
.pet-cursor-dog { opacity: 1; transform: scale(1); }

/* Hover state: BUTTON — paw replaces the dog face, with halo */
.pet-cursor.is-button .pet-cursor-dog { opacity: 0; transform: scale(0.6) rotate(8deg); }
.pet-cursor.is-button .pet-cursor-paw { opacity: 1; transform: scale(1.05) rotate(0); }
.pet-cursor.is-button .pet-cursor-bounce { transform: scale(1.30); }
.pet-cursor.is-button .pet-cursor-bounce::before { opacity: 1; }

/* Hover state: LINK — same dog, slightly enlarged with halo */
.pet-cursor.is-link .pet-cursor-bounce { transform: scale(1.20); }
.pet-cursor.is-link .pet-cursor-bounce::before { opacity: 0.85; }

/* Mouse-down clicking pulse */
.pet-cursor.is-clicking .pet-cursor-bounce {
  transform: scale(0.85);
  transition: transform 90ms var(--ease-out);
}
.pet-cursor.is-button.is-clicking .pet-cursor-bounce { transform: scale(1.10); }
.pet-cursor.is-link.is-clicking .pet-cursor-bounce { transform: scale(1.0); }

/* Hide cursor over text inputs (let the native text caret do its work) */
.pet-cursor.is-text { opacity: 0; }

/* ════════════════════════════════════════════════════════════════════
   MOTION — CTA banner + footer ambient drift, sheen, and hover halos
   ════════════════════════════════════════════════════════════════════ */

/* CTA banner — slow aurora-orb drift behind the headline */
.cta-banner::before {
  animation: ctaAuroraDrift 18s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
  will-change: transform;
}
@keyframes ctaAuroraDrift {
  0%   { transform: scale(1)    translate(0%, 0%);    opacity: 0.85; }
  50%  { transform: scale(1.08) translate(-1.5%, 1%); opacity: 1;    }
  100% { transform: scale(1.04) translate(1.5%, -1%); opacity: 0.92; }
}

/* CTA banner — starfield slowly travels diagonally for parallax depth */
.cta-banner::after {
  animation: ctaStarsDrift 60s linear infinite;
  will-change: background-position;
}
@keyframes ctaStarsDrift {
  from { background-position: 0 0; }
  to   { background-position: 200px 200px; }
}

/* CTA banner — diagonal glass-sheen sweeps across the content periodically */
.cta-banner {
  isolation: isolate;
}
.cta-banner-content {
  position: relative;
  isolation: isolate;
}
.cta-banner-content::before {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255, 229, 168, 0.10) 48%,
    rgba(255, 229, 168, 0.18) 50%,
    rgba(255, 229, 168, 0.10) 52%,
    transparent 65%);
  transform: translateX(-110%);
  animation: ctaSheen 11s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}
@keyframes ctaSheen {
  0%, 8%   { transform: translateX(-110%); }
  35%      { transform: translateX(110%); }
  100%     { transform: translateX(110%); }
}

/* CTA italic highlight — gradient shimmer like the homepage hero treatment */
.cta-banner h2 .serif-italic {
  background: linear-gradient(120deg,
    var(--honey-glow) 0%,
    var(--butter)     30%,
    #fff              50%,
    var(--butter)     70%,
    var(--honey-glow) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent !important;
  animation: ctaItalicShimmer 6.5s ease-in-out infinite;
}
@keyframes ctaItalicShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Footer — slow drift on the existing radial gradient layer */
footer::before {
  animation: footerAuroraDrift 28s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
  will-change: transform;
}
@keyframes footerAuroraDrift {
  0%   { transform: scale(1)    translate(0%, 0%);   opacity: 0.85; }
  50%  { transform: scale(1.10) translate(1%, -1%);  opacity: 1;    }
  100% { transform: scale(1.05) translate(-1%, 1%);  opacity: 0.9;  }
}

/* Footer — subtle constellation/twinkle layer (added via ::after) */
footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='12' cy='18' r='0.8' fill='white' opacity='0.30'/><circle cx='28' cy='62' r='1.0' fill='white' opacity='0.22'/><circle cx='48' cy='28' r='0.7' fill='white' opacity='0.28'/><circle cx='72' cy='78' r='1.1' fill='white' opacity='0.24'/><circle cx='86' cy='38' r='0.9' fill='white' opacity='0.20'/></svg>");
  background-size: 240px 240px;
  opacity: 0.45;
  pointer-events: none;
  animation: footerStarsDrift 80s linear infinite;
  z-index: 0;
}
@keyframes footerStarsDrift {
  from { background-position: 0 0; }
  to   { background-position: -240px 240px; }
}
footer .footer-grid,
footer .footer-bottom { position: relative; z-index: 1; }

/* Footer logo — soft hover lift + drop-shadow halo */
.footer-logo-img {
  transition: transform 320ms var(--ease-spring),
              filter 320ms var(--ease-out),
              opacity 320ms var(--ease-out);
}
.footer-col h4 a:hover .footer-logo-img,
.footer-col h4:hover .footer-logo-img,
.footer-logo-img:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(0) invert(1) opacity(1)
          drop-shadow(0 6px 16px rgba(232, 149, 110, 0.55));
}

/* Footer link — animated arrow that nudges in on hover */
.footer-col ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.footer-col ul a::before {
  content: "→";
  display: inline-block;
  margin-right: 0;
  width: 0;
  opacity: 0;
  color: var(--honey-glow);
  transition: width 280ms var(--ease-out),
              opacity 280ms var(--ease-out),
              margin-right 280ms var(--ease-out);
  overflow: hidden;
  transform: translateX(-4px);
}
.footer-col ul a:hover::before {
  width: 14px;
  opacity: 1;
  margin-right: 4px;
  transform: translateX(0);
}
/* Override the existing padding-left:4px on hover so the new arrow fills that space */
.footer-col a:hover { padding-left: 0 !important; }

/* Social icons — soft pulsing halo when hovered */
.social-icon {
  position: relative;
  isolation: isolate;
}
.social-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--aurora-rose);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  z-index: -1;
}
.social-icon:hover::before { opacity: 0.55; }

/* ════════════════════════════════════════════════════════════════════
   MOTION — Header entrance, ambient sheen, hover micro-interactions
   ════════════════════════════════════════════════════════════════════ */

/* 1. Header slides down + fades in once on page load */
@keyframes headerSlideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
header {
  animation: headerSlideIn 0.7s var(--ease-spring) both;
}

/* 2. Diagonal aurora sheen continuously sweeps across the bar */
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255, 229, 168, 0.16) 49%,
    rgba(245, 183, 150, 0.10) 51%,
    transparent 65%);
  transform: translateX(-110%);
  animation: headerSheen 12s ease-in-out infinite;
  animation-delay: 1.2s; /* lets the entrance finish first */
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
@keyframes headerSheen {
  0%, 8%   { transform: translateX(-110%); }
  35%      { transform: translateX(110%);  }
  100%     { transform: translateX(110%);  }
}

/* Keep nav content above the sheen overlay */
.nav-container { position: relative; z-index: 1; }

/* 3. AI nav badge — its halo pulses softly */
@keyframes aiHaloPulse {
  0%, 100% { opacity: 0.40; filter: blur(9px);  }
  50%      { opacity: 0.65; filter: blur(13px); }
}
.nav-ai::before {
  animation: aiHaloPulse 3.2s ease-in-out infinite;
}
.nav-ai:hover::before {
  animation: none;
  opacity: 0.80;
  filter: blur(14px);
}

/* 4. Logo — slight spring lift + soft halo on hover */
.logo {
  transition: transform 320ms var(--ease-spring);
}
.logo:hover {
  transform: translateY(-2px) scale(1.04);
}
.logo-img {
  transition: filter 320ms var(--ease-out);
}
.logo:hover .logo-img {
  filter: drop-shadow(0 10px 22px rgba(216, 123, 82, 0.35));
}

/* 5. Nav-link hover — animated underline that grows from centre */
.nav-links a {
  position: relative;
}
.nav-links a:not(.nav-ai)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--aurora-rose);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 260ms var(--ease-out), opacity 260ms var(--ease-out);
  opacity: 0;
  pointer-events: none;
}
.nav-links a:not(.nav-ai):hover::after {
  width: 22px;
  opacity: 1;
}
/* Active page already has a white pill — skip the underline so it isn't busy */
.nav-links a.is-active::after {
  display: none;
}

/* 6. Auth buttons in nav — staggered fade-in alongside header */
@keyframes navItemFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.nav-container > .logo            { animation: navItemFade 0.6s var(--ease-out) 0.2s both; }
.nav-container > .nav-links > a   { animation: navItemFade 0.5s var(--ease-out) both; }
.nav-container > .nav-links > a:nth-child(1) { animation-delay: 0.30s; }
.nav-container > .nav-links > a:nth-child(2) { animation-delay: 0.36s; }
.nav-container > .nav-links > a:nth-child(3) { animation-delay: 0.42s; }
.nav-container > .nav-links > a:nth-child(4) { animation-delay: 0.48s; }
.nav-container > .nav-links > a:nth-child(5) { animation-delay: 0.54s; }
.nav-container > .nav-links > a:nth-child(6) { animation-delay: 0.60s; }
.nav-container > .nav-links > a:nth-child(7) { animation-delay: 0.66s; }
.nav-container > .nav-links > a:nth-child(8) { animation-delay: 0.72s; }
.nav-container > .nav-auth        { animation: navItemFade 0.6s var(--ease-out) 0.78s both; }

/* ════════════════════════════════════════════════════════════════════
   MOTION — Interior page-hero (About, Services, Shop, Work With Us,
   Skills, Contact, legal pages). Adds drifting aurora, twinkling
   sparkle constellation, and a staggered entrance cascade so every
   page opens with the same premium feel as the homepage hero.
   ════════════════════════════════════════════════════════════════════ */

/* 1. Ambient drift on the existing aurora gradient backdrop */
.page-hero {
  isolation: isolate;
}
.page-hero::before {
  animation: pageHeroDrift 24s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
  will-change: transform;
}
@keyframes pageHeroDrift {
  0%   { transform: scale(1)    translate(0%, 0%);    opacity: 0.85; }
  50%  { transform: scale(1.07) translate(-1.2%, 0.8%); opacity: 1;    }
  100% { transform: scale(1.04) translate(1%, -0.8%);  opacity: 0.92; }
}

/* 2. Twinkling sparkle constellation via ::after.
      Six tiny radial-gradient dots + a slow opacity twinkle. */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 2px at 12% 18%, rgba(232, 149, 110, 0.55), transparent 100%),
    radial-gradient(circle 1.5px at 84% 22%, rgba(255, 229, 168, 0.55), transparent 100%),
    radial-gradient(circle 2px at 22% 76%, rgba(212, 197, 226, 0.55), transparent 100%),
    radial-gradient(circle 1.5px at 76% 84%, rgba(232, 149, 110, 0.45), transparent 100%),
    radial-gradient(circle 2.5px at 50% 8%, rgba(148, 180, 159, 0.50), transparent 100%),
    radial-gradient(circle 1.5px at 95% 50%, rgba(255, 229, 168, 0.40), transparent 100%),
    radial-gradient(circle 1.5px at 5% 50%, rgba(212, 197, 226, 0.40), transparent 100%),
    radial-gradient(circle 1.5px at 38% 92%, rgba(232, 149, 110, 0.40), transparent 100%);
  background-size: 100% 100%;
  animation: pageHeroSparkles 5.5s ease-in-out infinite;
}
@keyframes pageHeroSparkles {
  0%, 100% { opacity: 0.40; transform: scale(1);   }
  50%      { opacity: 0.85; transform: scale(1.02);}
}

/* Make sure inner content sits above sparkles */
.page-hero-inner { position: relative; z-index: 1; }

/* 3. Staggered entrance cascade — same keyframes the homepage uses */
.page-hero .hero-badge        { animation: heroFadeUp 0.85s var(--ease-out) 0.10s both; }
.page-hero-inner h1           { animation: heroFadeUp 0.95s var(--ease-out) 0.22s both; }
.page-hero-inner > p          { animation: heroFadeUp 0.90s var(--ease-out) 0.36s both; }
.page-hero-inner .hero-btns   { animation: heroFadeUp 0.85s var(--ease-out) 0.50s both; }

/* ── Layered decorations injected by animations.js ──────────────── */

/* Cursor-follow spotlight (JS sets --ph-cur-x / --ph-cur-y) */
.page-hero {
  --ph-cur-x: 50%;
  --ph-cur-y: 50%;
}
.page-hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--ph-cur-x) var(--ph-cur-y),
    rgba(232, 149, 110, 0.18),
    rgba(212, 197, 226, 0.10) 35%,
    transparent 65%);
  opacity: 0;
  transition: opacity 360ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .page-hero:hover .page-hero-spotlight { opacity: 1; }
}

/* Diagonal glass shimmer sweeping across the hero every 14s */
.page-hero-shimmer {
  position: absolute;
  inset: -10% -20%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255, 229, 168, 0.12) 48%,
    rgba(245, 183, 150, 0.18) 50%,
    rgba(255, 229, 168, 0.12) 52%,
    transparent 65%);
  transform: translateX(-110%);
  animation: pageHeroShimmer 14s ease-in-out infinite;
  animation-delay: 2.5s;
  mix-blend-mode: screen;
}
@keyframes pageHeroShimmer {
  0%, 8%   { transform: translateX(-110%); }
  35%      { transform: translateX(110%);  }
  100%     { transform: translateX(110%);  }
}

/* Holographic dashed ring — slowly rotating, tucked behind content */
.page-hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(600px, 90%, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  animation: pageHeroRingSpin 90s linear infinite;
}
@keyframes pageHeroRingSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating paw silhouettes — gentle drift loop */
.page-hero-paw {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(216, 123, 82, 0.10));
  animation: pageHeroPawFloat 8s ease-in-out infinite;
  will-change: transform;
}
@keyframes pageHeroPawFloat {
  0%, 100% { transform: translate(0, 0) rotate(var(--paw-rot, 0deg)); }
  50%      { transform: translate(8px, -14px) rotate(calc(var(--paw-rot, 0deg) + 6deg)); }
}

/* Inner content sits above all of the above */
.page-hero-inner { z-index: 1; }

/* 4. Decorative orbiting glow (top-right) — uses an inner SVG-less ring */
.page-hero-inner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232, 149, 110, 0.18) 0%,
    rgba(212, 197, 226, 0.10) 40%,
    transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
  animation: pageHeroOrb 14s ease-in-out infinite alternate;
}
.page-hero-inner::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(148, 180, 159, 0.20) 0%,
    rgba(255, 229, 168, 0.10) 40%,
    transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
  animation: pageHeroOrb 18s ease-in-out 2s infinite alternate-reverse;
}
@keyframes pageHeroOrb {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0.7; }
  100% { transform: translate(20px, 12px) scale(1.18); opacity: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .organic-mask { animation: none; }
  .floating-ui { animation: none; }
}
