/* =============================================================
   TRI — THE REAL INSIDE | COMPLETE DESIGN SYSTEM
   Version: 3.0 | Pixel-perfect match to approved reference
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* Brand Colors — Official TRI Palette */
  --blush:        #F8D7D9;
  --blush-deep:   #F2C2C5;
  --rose:         #E6A2A4;
  --rose-dark:    #C8787A;
  --cream:        #FFF8F8;
  --cream-warm:   #FDF3F3;
  --cream-section:#FEF6F6;
  --dark:         #1A1A1A;
  --dark-80:      rgba(26,26,26,0.8);
  --dark-60:      rgba(26,26,26,0.6);
  --dark-30:      rgba(26,26,26,0.3);
  --muted:        #D9D9D9;
  --muted-text:   #8A7A7A;
  --gold:         #C8A96E;
  --gold-dark:    #A88848;
  --gold-light:   #DEC088;

  /* Semantic */
  --bg-primary:   var(--cream);
  --bg-section:   var(--cream-section);
  --bg-dark:      var(--dark);
  --text-primary: var(--dark);
  --text-muted:   var(--muted-text);
  --border:       rgba(230,162,164,0.25);
  --border-strong:rgba(230,162,164,0.5);
  --shadow-sm:    0 2px 12px rgba(200,120,122,0.08);
  --shadow-md:    0 8px 32px rgba(200,120,122,0.14);
  --shadow-lg:    0 20px 60px rgba(200,120,122,0.18);
  --shadow-xl:    0 32px 80px rgba(26,26,26,0.12);

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', 'Montserrat', sans-serif;
  --font-label:   'Montserrat', sans-serif;

  /* Spacing Scale */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 100px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-full:999px;

  /* Transitions */
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s var(--ease);
  --t-med:  0.35s var(--ease);
  --t-slow: 0.6s var(--ease);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 40px; }


/* ─────────────────────────────────────────────
   PAGE LOADER
───────────────────────────────────────────── */
#tri-loader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10000; gap: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#tri-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700;
  color: var(--cream); letter-spacing: 0.1em;
  opacity: 0; animation: loaderFadeIn 0.5s 0.3s forwards;
}
.loader-logo span { color: var(--gold); }
.loader-tagline {
  font-family: var(--font-label);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,248,248,0.4);
  opacity: 0; animation: loaderFadeIn 0.5s 0.5s forwards;
}
.loader-bar {
  width: 180px; height: 1px;
  background: rgba(255,248,248,0.1); overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transition: width .04s linear;
}
@keyframes loaderFadeIn { to { opacity: 1; } }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
#tri-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5000;
  height: 72px;
  display: flex; align-items: center;
  padding: 0 40px;
  background: rgba(255,248,248,0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
#tri-nav.scrolled {
  background: rgba(255,248,248,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(230,162,164,0.2), 0 4px 24px rgba(26,26,26,0.06);
}
.nav-inner {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex; flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.nav-logo-mark {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.nav-logo-mark .delta { margin-right: 2px; }
.nav-logo-sub {
  font-family: var(--font-label);
  font-size: 7px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted-text); margin-top: 1px;
}

/* ── Motion Logo (Transparent Video) ── */
/*
  FIX for "black background" issue:
  The navbar starts fully transparent (over dark hero content).
  Transparent WebM composited over dark = looks black.
  Solution: give the anchor a white pill background. The video sits
  on white, so mix-blend-mode:multiply erases the cream video background
  perfectly (cream × white = invisible). Works in all scroll states.
*/
.nav-motion-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  height: 68px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  transition: opacity 0.3s var(--ease);
}
.nav-motion-logo:hover {
  background: transparent;
  box-shadow: none;
  opacity: 0.95;
}
.nav-motion-logo svg, .nav-logo svg {
  height: 62px; width: auto;
  max-width: 185px;
  display: block;
  overflow: visible;
  transition: transform 0.35s var(--ease);
}
.nav-motion-logo:hover svg, .nav-logo:hover svg {
  transform: scale(1.04);
}

/* Nav links */
.nav-links {
  display: flex; align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-label);
  font-size: 15px; font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
  padding: 8px 12px;
  position: relative;
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--dark); font-weight: 700; }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px;
  background: var(--gold);
  border-radius: 999px;
  transition: width var(--t-med);
}
.nav-links a.active::after { width: 24px; }


/* Nav separator pipe */
.nav-pipe {
  color: var(--muted); font-size: 14px; user-select: none;
  margin: 0 2px;
}

/* Nav right */
.nav-right {
  display: flex; align-items: center; gap: 8px;
}
.nav-icon-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--dark);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-icon-btn:hover { background: var(--blush); color: var(--gold); }
.nav-icon-btn svg { width: 18px; height: 18px; }

.nav-cart-btn {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--dark);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-cart-btn:hover { background: var(--blush); color: var(--gold); }
.nav-cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--rose-dark); color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t-fast);
}
.cart-count.visible { opacity: 1; }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--gold);
  color: #fff !important;
  font-family: var(--font-label) !important;
  font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--r-full);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,169,110,0.35);
}
.nav-cta::after { display: none !important; }

/* Mobile hamburger — both class names supported */
.nav-hamburger,
.nav-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none;
}
.nav-hamburger span,
.nav-menu-btn span {
  display: block; width: 20px; height: 1.5px;
  background: var(--dark); border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
}
.nav-hamburger.open span:nth-child(1),
.nav-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2),
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3),
.nav-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — Unified Luxury Design */
@keyframes triMmOrbFloat1{0%,100%{transform:translate(0,0) scale(1);opacity:.18}50%{transform:translate(-30px,20px) scale(1.1);opacity:.28}}
@keyframes triMmOrbFloat2{0%,100%{transform:translate(0,0) scale(1.05);opacity:.12}50%{transform:translate(25px,-20px) scale(0.95);opacity:.2}}
@keyframes triMmLinkIn{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:translateX(0)}}
#mobile-nav {
  position: fixed; inset: 0;
  background: linear-gradient(135deg,#0f0a06 0%,#1a1008 40%,#12080a 70%,#0d0c12 100%);
  display: flex; flex-direction: column;
  overflow: hidden;
  z-index: 9100;
  isolation: isolate;
  background-color: #0f0a06;
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease-out), visibility .45s var(--ease-out), opacity .4s var(--ease-out);
}
#mobile-nav::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  top: -100px; right: -150px;
  background: radial-gradient(circle,rgba(188,129,51,.18) 0%,rgba(200,120,122,.08) 40%,transparent 70%);
  animation: triMmOrbFloat1 8s ease-in-out infinite;
  pointer-events: none;
}
#mobile-nav::after {
  content: ''; position: absolute;
  width: 380px; height: 380px; border-radius: 50%;
  bottom: 0; left: -80px;
  background: radial-gradient(circle,rgba(200,120,122,.12) 0%,rgba(188,129,51,.06) 50%,transparent 70%);
  animation: triMmOrbFloat2 11s ease-in-out infinite;
  pointer-events: none;
}
#mobile-nav.open {
  transform: translateX(0); visibility: visible; opacity: 1; pointer-events: all;
}
.mn-hdr {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; z-index: 3;
}
.mn-logo {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 800;
  letter-spacing: .06em; color: #bc8133; text-decoration: none;
}
.mn-logo-sub {
  font-family: var(--font-label);
  font-size: 7px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,248,240,.3);
  display: block; margin-top: 1px;
}
.mn-close-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(188,129,51,.3);
  background: rgba(188,129,51,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,248,240,.7); cursor: pointer; font-size: 14px;
  transition: background .2s, border-color .2s, color .2s;
}
.mn-close-btn:hover { background: rgba(188,129,51,.2); border-color: rgba(188,129,51,.6); color: #fff; }
.mn-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  height: 100%; padding: 0 40px; justify-content: center;
}
.mn-divider {
  width: 40px; height: 1.5px;
  background: linear-gradient(90deg,#bc8133,rgba(200,120,122,.6));
  border-radius: 2px; margin-bottom: 36px;
}
.mn-links { display: flex; flex-direction: column; gap: 6px; margin-bottom: 40px; }
#mobile-nav .mn-links a {
  font-family: var(--font-serif);
  font-size: clamp(28px,8vw,40px); font-weight: 700;
  color: rgba(255,248,240,.85); text-decoration: none; line-height: 1.2;
  padding: 8px 0; border-bottom: 1px solid rgba(255,248,240,.05);
  display: flex; align-items: center; justify-content: space-between;
  transition: color .2s, padding-left .2s; position: relative; opacity: 0;
}
#mobile-nav .mn-links a::after { content: '→'; font-family: var(--font-label); font-size: 14px; font-weight: 400; opacity: 0; transition: opacity .2s,transform .2s; transform: translateX(-8px); }
#mobile-nav .mn-links a:hover { color: #bc8133; padding-left: 8px; }
#mobile-nav .mn-links a:hover::after { opacity: .7; transform: translateX(0); }
#mobile-nav .mn-links a.active { color: #bc8133; }
#mobile-nav .mn-links a.active::before { content: ''; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); width: 3px; height: 60%; border-radius: 2px; background: #bc8133; }
#mobile-nav.open .mn-links a { animation: triMmLinkIn .4s var(--ease-out) both; }
#mobile-nav.open .mn-links a:nth-child(1){animation-delay:.05s}
#mobile-nav.open .mn-links a:nth-child(2){animation-delay:.1s}
#mobile-nav.open .mn-links a:nth-child(3){animation-delay:.15s}
#mobile-nav.open .mn-links a:nth-child(4){animation-delay:.2s}
#mobile-nav.open .mn-links a:nth-child(5){animation-delay:.25s}
#mobile-nav.open .mn-links a:nth-child(6){animation-delay:.3s}
.mobile-nav-cta {
  display: inline-flex !important; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#bc8133,#d4973f) !important;
  color: #fff !important;
  font-family: var(--font-label) !important;
  font-size: 12px !important; font-weight: 800 !important;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 36px !important; border-radius: var(--r-full) !important;
  box-shadow: 0 6px 28px rgba(188,129,51,.35) !important;
  transition: transform .2s, box-shadow .2s !important;
  width: fit-content; margin-top: 4px;
  border-bottom: none !important;
}
#mobile-nav.open .mobile-nav-cta { animation: triMmLinkIn .4s var(--ease-out) .35s both !important; }
.mobile-nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 36px rgba(188,129,51,.5) !important; }
.mn-footer { display: none !important; }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label);
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  border-radius: var(--r-full);
  transition: var(--t-med);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  padding: 14px 28px;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200,169,110,0.35);
}
.btn-primary svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--dark);
  font-size: 12px;
  padding: 13px 26px;
  border: 1.5px solid rgba(26,26,26,0.2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,110,0.06);
}

.btn-rose {
  background: var(--rose);
  color: var(--dark);
  font-size: 12px;
  padding: 14px 28px;
}
.btn-rose:hover {
  background: var(--rose-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(230,162,164,0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  font-size: 12px;
  padding: 13px 26px;
  border: 1.5px solid rgba(255,248,248,0.3);
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,110,0.1);
}

.btn-sm { font-size: 11px; padding: 10px 20px; }
.btn-lg { font-size: 13px; padding: 17px 36px; }

/* ─────────────────────────────────────────────
   TYPOGRAPHY UTILITIES
───────────────────────────────────────────── */
.serif { font-family: var(--font-serif); }
.sans  { font-family: var(--font-sans); }
.label-text {
  font-family: var(--font-label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted-text);
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1.5px;
  background: var(--rose-dark);
}

.h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700; line-height: 1.05;
  color: var(--dark);
}
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.15;
  color: var(--dark);
}
.h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600; line-height: 1.2;
  color: var(--dark);
}
.h4 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600;
  color: var(--dark);
}
.body-lg {
  font-size: 17px; line-height: 1.75;
  color: var(--text-muted);
}
.body-md {
  font-size: 15px; line-height: 1.7;
  color: var(--text-muted);
}
.body-sm {
  font-size: 13px; line-height: 1.65;
  color: var(--text-muted);
}
.gold-text { color: var(--gold); }
.rose-text { color: var(--rose-dark); }
.italic { font-style: italic; }

/* ─────────────────────────────────────────────
   SCROLL REVEAL STATES
───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.from-left { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.scale-in { transform: scale(0.95); }
.reveal.visible { opacity: 1; transform: none; }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }

/* ─────────────────────────────────────────────
   TICKER / MARQUEE
───────────────────────────────────────────── */
.ticker-wrap {
  background: var(--dark);
  overflow: hidden; padding: 12px 0;
}
.ticker-track {
  display: flex; align-items: center;
  white-space: nowrap; width: max-content;
  animation: tickerRun 35s linear infinite;
}
@keyframes tickerRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--font-label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,248,248,0.6);
  padding: 0 20px;
}
.ticker-dot {
  color: var(--gold); font-size: 12px;
  padding: 0 4px;
}

/* ─────────────────────────────────────────────
   TRUST STRIP
───────────────────────────────────────────── */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-strip-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 28px;
  font-family: var(--font-label);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dark);
}
.trust-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 16px; height: 16px; color: var(--rose-dark); }
.trust-divider {
  width: 1px; height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   PRODUCT CARDS
───────────────────────────────────────────── */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-image {
  position: relative; overflow: hidden;
  background: var(--cream-warm);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.product-card-image img {
  width: 80%; height: 80%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-body { padding: 20px 22px 22px; }
.product-card-name {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.product-card-tagline {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 14px; line-height: 1.5;
}
.product-card-price {
  font-family: var(--font-label);
  font-size: 18px; font-weight: 700;
  color: var(--dark); margin-bottom: 16px;
}
.product-card-price span {
  font-size: 12px; font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through; margin-left: 6px;
}
.product-card-cta {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--r-full);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  border: none; cursor: pointer;
}
.product-card-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,169,110,0.3);
}
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--blush);
  color: var(--rose-dark);
  font-family: var(--font-label);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-full);
  border: 1px solid var(--border);
}

/* ─────────────────────────────────────────────
   POWER OF 3 CARDS
───────────────────────────────────────────── */
.power-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform var(--t-med), box-shadow var(--t-med);
  position: relative; overflow: hidden;
}
.power-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.power-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.power-card:hover::after { transform: scaleX(1); }

.power-card.protein::after { background: linear-gradient(90deg, #6BB8D4, #4A9AB8); }
.power-card.eaas::after   { background: linear-gradient(90deg, #C49BDB, #A67BC0); }
.power-card.preworkout::after { background: linear-gradient(90deg, #E8A87C, #D4804A); }

.power-card-label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.25em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-full);
  margin-bottom: 14px;
}
.power-card.protein .power-card-label  { background: #EAF5F9; color: #4A9AB8; }
.power-card.eaas .power-card-label     { background: #F5EEF9; color: #A67BC0; }
.power-card.preworkout .power-card-label { background: #FDF0E6; color: #D4804A; }

.power-card-img {
  width: 100%; height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: var(--r-md);
  transition: transform .5s var(--ease);
}
.power-card:hover .power-card-img { transform: scale(1.03) translateY(-4px); }

.power-card-title {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.power-card-text {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 18px;
}
.power-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--t-fast);
}
.power-card-link:hover { gap: 10px; }
.power-card-link svg { width: 12px; height: 12px; }

/* ─────────────────────────────────────────────
   NEWSLETTER SECTION
───────────────────────────────────────────── */
.newsletter-section {
  background: var(--blush);
  padding: 60px 0;
}
.newsletter-inner {
  max-width: 560px; margin: 0 auto; padding: 0 40px;
  text-align: center;
}
.newsletter-eyebrow {
  font-family: var(--font-label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--rose-dark); margin-bottom: 10px;
}
.newsletter-heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700; color: var(--dark);
  margin-bottom: 8px;
}
.newsletter-sub {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 28px; line-height: 1.6;
}
.newsletter-form {
  display: flex;
  border: 1.5px solid rgba(26,26,26,0.12);
  border-radius: var(--r-full); overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.newsletter-input {
  flex: 1; border: none; background: transparent;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 14px; color: var(--dark);
  outline: none;
}
.newsletter-input::placeholder { color: var(--text-muted); opacity: 0.7; }
.newsletter-btn {
  background: var(--gold); color: #fff; border: none;
  padding: 0 24px;
  font-family: var(--font-label);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: background var(--t-fast);
}
.newsletter-btn:hover { background: var(--gold-dark); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.tri-footer {
  background: var(--dark);
  padding: 64px 0 0;
  color: rgba(255,248,248,0.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand {}
.footer-logo-mark {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700;
  color: var(--gold); letter-spacing: 0.05em;
  display: block; margin-bottom: 6px;
}
.footer-logo-sub {
  font-family: var(--font-label);
  font-size: 7px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,248,248,0.3); margin-bottom: 16px;
  display: block;
}
.footer-tagline {
  font-size: 13px; line-height: 1.8;
  color: rgba(255,248,248,0.45);
  margin-bottom: 24px; max-width: 240px;
}
.footer-socials {
  display: flex; gap: 10px;
}
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,248,248,0.12);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,248,248,0.4);
  font-size: 14px;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.footer-social:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,110,0.08);
}
.footer-col-title {
  font-family: var(--font-label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,248,248,0.4);
  margin-bottom: 18px;
}
.footer-col-links {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col-links a {
  font-size: 13px; color: rgba(255,248,248,0.55);
  transition: color var(--t-fast);
}
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,248,248,0.06);
  padding: 20px 0;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-size: 12px; color: rgba(255,248,248,0.3);
}
.footer-legal {
  display: flex; gap: 20px;
}
.footer-legal a {
  font-size: 12px; color: rgba(255,248,248,0.3);
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: rgba(255,248,248,0.6); }

/* ─────────────────────────────────────────────
   CART SIDEBAR
───────────────────────────────────────────── */
#cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,26,0.5);
  backdrop-filter: blur(4px);
  z-index: 7000; opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
#cart-overlay.open { opacity: 1; visibility: visible; }
#cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  height: 100dvh;
  background: var(--cream);
  z-index: 7100;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .4s var(--ease-out), visibility .4s var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(26,26,26,0.15);
}
#cart-panel.open { transform: translateX(0); visibility: visible; }
.cart-panel-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
}
.cart-panel-title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--dark);
}
.cart-close-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blush); color: var(--dark);
  transition: background var(--t-fast);
}
.cart-close-btn:hover { background: var(--rose); }
.cart-body {
  flex: 1; overflow-y: auto; padding: 24px 28px;
}
.cart-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; height: 100%;
  text-align: center; color: var(--text-muted);
}
.cart-empty-icon { font-size: 48px; opacity: 0.3; }
.cart-item {
  display: flex; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 72px; height: 72px; border-radius: var(--r-md);
  object-fit: contain; background: var(--cream-warm);
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 600; color: var(--dark);
  margin-bottom: 4px;
}
.cart-item-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price {
  font-family: var(--font-label);
  font-size: 15px; font-weight: 700; color: var(--dark);
}
.cart-item-remove {
  font-size: 11px; color: var(--rose-dark);
  cursor: pointer; text-decoration: underline;
}
.cart-footer {
  padding: 24px 28px calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex; justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; color: var(--dark);
}
.cart-checkout-btn {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 8px; background: var(--gold); color: #fff; border: none;
  font-family: var(--font-label);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 16px;
  border-radius: var(--r-full); cursor: pointer;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.cart-checkout-btn:hover {
  background: var(--gold-dark);
  box-shadow: 0 8px 24px rgba(200,169,110,0.3);
}

/* ─────────────────────────────────────────────
   CHATBOT
───────────────────────────────────────────── */
#chatbot-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 6000;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(200,169,110,0.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  border: none; cursor: pointer;
}
#chatbot-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(200,169,110,0.5);
}
#chatbot-btn svg { width: 24px; height: 24px; color: #fff; }
#chatbot-btn .cb-pulse {
  position: absolute; top: 0; right: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--rose-dark);
  border: 2px solid var(--cream);
  animation: cbPulse 2s infinite;
}
@keyframes cbPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
#chatbot-panel {
  position: fixed; bottom: 96px; right: 28px; z-index: 6001;
  width: 380px; max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(20px); transform-origin: bottom right;
  opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease-out), opacity .3s, visibility .3s;
  max-height: 520px;
}
#chatbot-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1; visibility: visible;
}
.cb-header {
  padding: 18px 20px;
  background: var(--dark); color: var(--cream);
  display: flex; align-items: center; gap: 12px;
}
.cb-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cb-header-text { flex: 1; }
.cb-name {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700;
  margin-bottom: 1px;
}
.cb-status {
  font-size: 11px; color: rgba(255,248,248,0.5);
  display: flex; align-items: center; gap: 5px;
}
.cb-dot { width: 6px; height: 6px; border-radius: 50%; background: #4CAF50; }
.cb-close { color: rgba(255,248,248,0.5); cursor: pointer; font-size: 18px; transition: color .2s; }
.cb-close:hover { color: var(--cream); }
.cb-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.cb-msg {
  max-width: 85%; padding: 10px 14px;
  border-radius: 14px; font-size: 13.5px; line-height: 1.55;
}
.cb-msg.bot {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  color: var(--dark); align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
}
.cb-msg.user {
  background: var(--gold); color: #fff;
  align-self: flex-end;
  border-radius: 14px 4px 14px 14px;
}
.cb-quick-replies {
  padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 6px;
}
.cb-quick {
  padding: 6px 12px; border-radius: var(--r-full);
  border: 1px solid var(--border);
  font-size: 12px; color: var(--dark); cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fff;
}
.cb-quick:hover { border-color: var(--gold); background: var(--cream-warm); }
.cb-input-row {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px;
}
.cb-input {
  flex: 1; border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 9px 14px;
  font-size: 13px; color: var(--dark);
  background: var(--cream-warm); outline: none;
  transition: border-color .2s;
  z-index: 9500; white-space: nowrap;
  pointer-events: none;
}
#tri-toast.show { transform: translateX(-50%) translateY(0); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1100px) {
  #tri-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-pipe { display: none; }
  .nav-icon-btn.search-btn { display: none; }
  .nav-cta { display: none; }
  .nav-shop-btn { display: none; }
  .nav-hamburger, .nav-menu-btn { display: flex; }
}

@media (max-width: 768px) {
  :root { --sp-2xl: 64px; }
  .container { padding: 0 20px; }
  .container-sm { padding: 0 20px; }

  .trust-strip-inner { gap: 0; justify-content: flex-start; overflow-x: auto; }
  .trust-item { flex-shrink: 0; padding: 8px 18px; }
  .trust-divider { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  #cart-panel { width: calc(100% - 60px); max-width: 360px; height: 100dvh; }
  #chatbot-panel { bottom: 88px; right: 16px; width: calc(100vw - 32px); }

  .newsletter-form { flex-direction: column; border-radius: var(--r-lg); }
  .newsletter-input { border-bottom: 1px solid var(--border); border-radius: 0; }
  .newsletter-btn { padding: 14px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  #chatbot-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ─────────────────────────────────────────────
   REBUILD v4 — NEW TOKENS & UTILITIES
───────────────────────────────────────────── */
:root {
  --obsidian:    #08080A;
  --copper:      #B85F48;
  --copper-dark: #8A4535;
  --copper-glow: rgba(184,95,72,0.22);
  --glass-dark:  rgba(255,255,255,0.04);
  --glass-border:rgba(255,255,255,0.09);
  --glass-hover: rgba(255,255,255,0.07);
  --node-active: rgba(200,169,110,0.85);
  --signal-green:#22c55e;
}

/* ── DARK GLASSMORPHISM CARD ── */
.glass-panel {
  background: var(--glass-dark);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--t-med), border-color var(--t-med);
}
.glass-panel:hover {
  background: var(--glass-hover);
  border-color: rgba(200,169,110,0.25);
}

/* ── UPGRADED CHATBOT ── */
#chatbot-btn {
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
}
.cb-header {
  background: linear-gradient(135deg, var(--obsidian) 0%, #1a0e0a 100%);
}
.cb-avatar {
  background: linear-gradient(135deg, var(--copper) 0%, var(--gold) 100%);
}

/* ─────────────────────────────────────────────
   PRINT
───────────────────────────────────────────── */
@media print {
  #tri-nav, #tri-loader,
  #cart-overlay, #cart-panel, #chatbot-btn, #chatbot-panel,
  #tri-toast, #mobile-nav { display: none !important; }
  body { padding-top: 0 !important; }
}

/* =============================================================
   MOBILE DOMINATION v2.0 — PREMIUM MOBILE-FIRST OVERRIDES
   DESKTOP IS UNTOUCHED. All rules live inside @media blocks.
   ============================================================= */

/* ─── 768px: STANDARD MOBILE ─── */
@media (max-width: 768px) {
  :root { --sp-2xl: 56px; }

  /* ── NAV ── */
  #tri-nav {
    height: 60px;
    padding: 0 20px !important;
    justify-content: space-between;
  }
  .nav-motion-logo {
    height: 44px;
    padding: 0;
    overflow: visible;
  }
  .nav-motion-logo svg, .nav-logo svg {
    height: 36px !important;
    width: auto !important;
    overflow: visible;
  }
  /* 44px minimum touch targets with premium theme */
  .nav-hamburger,
  .nav-menu-btn {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: #F5EDE8 !important;
    border: 1px solid rgba(188, 129, 51, 0.22) !important;
    border-radius: 8px;
    padding: 0 !important;
    margin: 0 !important;
  }
  .nav-hamburger span,
  .nav-menu-btn span {
    display: block;
    width: 18px;
    height: 1.8px;
    background: #5A3A18 !important;
    border-radius: 1px;
    transition: transform var(--t-med), opacity var(--t-fast);
  }
  .nav-cart-btn,
  .nav-icon-btn {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center;
    justify-content: center;
    color: #3a2a1e !important;
    position: relative !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .nav-cart-btn svg,
  .nav-icon-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
  .cart-count,
  .cart-badge,
  .cart-badge-dot {
    background: #e48245 !important;
    color: #fff !important;
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    font-size: 8px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Mobile menu link size */
  #mobile-nav .mn-links a {
    font-size: clamp(24px,7vw,36px);
  }

  /* ── CONTAINER ── */
  .container, .container-sm, .container-lg { padding: 0 20px; }

  /* ── TRUST STRIP ── */
  .trust-strip-inner {
    gap: 0;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .trust-strip-inner::-webkit-scrollbar { display: none; }
  .trust-item { flex-shrink: 0; padding: 8px 16px; font-size: 10px; }
  .trust-divider { display: none; }

  /* ── PRODUCT CARDS — no expensive hover on touch ── */
  .product-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .product-card:active { transform: scale(0.99); }
  .product-card-image img { width: 75%; height: 75%; }
  .power-card:hover { transform: none; box-shadow: none; }
  .power-card:active { transform: scale(0.99); }

  /* ── CART PANEL ── */
  #cart-panel {
    width: calc(100% - 60px);
    max-width: 360px;
    height: 100dvh;
    /* iOS safe area */
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  /* ── CHATBOT ── */
  #chatbot-panel {
    right: 12px;
    width: calc(100vw - 24px);
    bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }
  #chatbot-btn {
    right: 16px;
    bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }

  /* ── NEWSLETTER ── */
  .newsletter-section { padding: 48px 0; }
  .newsletter-inner { padding: 0 20px; max-width: 100%; }
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .newsletter-input {
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 16px 18px;
    font-size: 16px; /* Prevent iOS auto-zoom */
  }
  .newsletter-btn {
    padding: 16px;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
  }

  /* ── PAGE HERO (inner pages) ── */
  .page-hero { padding: 90px 20px 60px; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo-mark { font-size: 20px; }
  .footer-tagline { font-size: 12px; max-width: 100%; }
  .footer-bottom { padding: 18px 20px; flex-direction: column; align-items: flex-start; }

  /* ── SCROLL REVEAL — GPU-only, no rotateX (expensive on mobile) ── */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(0.16,1,.3,1),
                transform 0.55s cubic-bezier(0.16,1,.3,1);
    will-change: opacity, transform;
  }
  .reveal.from-left { transform: translateX(-20px); }
  .reveal.from-right { transform: translateX(20px); }
  .reveal.scale-in { transform: scale(0.97); }
  .reveal.visible { opacity: 1; transform: none; }

  /* Stagger items */
  .stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16,1,.3,1),
                transform 0.5s cubic-bezier(0.16,1,.3,1);
    will-change: opacity, transform;
  }
}

/* ─── 480px: SMALL PHONES ─── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  #chatbot-btn { width: 50px; height: 50px; }
  .container, .container-sm, .container-lg { padding: 0 16px; }

  /* Buttons full-width on very small screens */
  .btn-primary, .btn-ghost { font-size: 11px; padding: 14px 20px; }
}

/* ─── 375px: iPhone SE / standard ─── */
@media (max-width: 375px) {
  .container, .container-sm, .container-lg { padding: 0 14px; }
  .trust-item { padding: 8px 12px; font-size: 9px; }
  /* Prevent iOS auto-zoom on all inputs */
  input, textarea, select { font-size: 16px !important; }
  .newsletter-input { font-size: 16px; }
  .nav-motion-logo svg, .nav-logo svg { max-width: 110px; }
}

/* ─── PERFORMANCE — kill expensive paints on ALL mobile ─── */
@media (max-width: 767px) {
  /* No backdrop-filter on glass (expensive GPU paint) */
  .glass-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.07);
  }
  /* No complex box-shadows on hover (replaced with simpler) */
  .power-card:hover,
  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}

/* ─── REDUCED MOTION — respect user preference ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > *,
  .sr, .sr-left, .sr-right {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
