/* =====================================================================
   BEW SALON FURNITURE — Cinematic Design System
   ===================================================================== */

:root {
  /* LIGHT THEME — creamy page + white surfaces, dark ink text. Variable
     names are kept but remapped dark→light: var(--black) is now the creamy
     background and var(--cream) is the ink text. */
  --black:      #f4ead2;   /* page background (royal cream) */
  --near-black: #ffffff;   /* white surfaces / raised sections */
  --charcoal:   #ede0c2;   /* subtle warm surface */
  --panel:      #ffffff;   /* cards, forms, drawers */
  --cream:      #1d1915;   /* primary text (ink) */
  --cream-dim:  #4d463e;   /* secondary text */
  --muted:      #837c71;   /* tertiary text */
  --red:        #e01d23;
  --red-bright: #ff2b31;
  --red-dark:   #a30f14;
  --gold:       #a97b1e;   /* darkened for contrast on light */
  --gold-soft:  #c1912b;
  --wa:         #25b34a;
  --wa-dark:    #17853a;
  --on-media:   #f4efe7;   /* light text placed over the hero video */

  --accent:     #a97b1e; /* driven per-product by JS */

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --container: 1280px;
  --ease: cubic-bezier(.19,1,.22,1);
  --ease-io: cubic-bezier(.65,.05,.36,1);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* When Lenis smooth scroll is active it drives scrolling itself */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img { max-width: 100%; display: block; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.eyebrow {
  display: inline-block; font-size: .74rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 1em;
}
em { font-style: italic; color: var(--gold); }

/* -------- selection / scrollbar -------- */
::selection { background: var(--red); color: #fff; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .55em;
  padding: 1em 1.9em; border-radius: 999px; font-weight: 600; font-size: .92rem;
  letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .5s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
  will-change: transform; white-space: nowrap;
}
.btn-lg { padding: 1.15em 2.4em; font-size: 1rem; }
.btn-sm { padding: .6em 1.25em; font-size: .82rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 34px -10px rgba(224,29,35,.65); }
.btn-primary:hover { background: var(--red-bright); box-shadow: 0 16px 44px -12px rgba(255,43,49,.75); }
.btn-outline { background: transparent; border-color: rgba(0,0,0,.28); color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: #f4ead2; border-color: var(--cream); }
.btn-outline-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: #fff; color: #1d1915; }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 30px -12px rgba(37,179,74,.6); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; color: var(--muted); text-decoration: underline; }

/* =====================================================================
   FX LAYERS — grain, vignette, cursor glow
   ===================================================================== */
.fx-grain {
  position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.4s steps(4) infinite; mix-blend-mode: overlay;
}
@keyframes grainShift {
  0%{transform:translate(0,0)}25%{transform:translate(-4%,2%)}50%{transform:translate(3%,-3%)}75%{transform:translate(-2%,4%)}100%{transform:translate(2%,-1%)}
}
.fx-vignette {
  position: fixed; inset: 0; z-index: 997; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 45%, transparent 60%, rgba(90,70,40,.10) 100%);
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px; z-index: 996; pointer-events: none;
  border-radius: 50%; transform: translate(-50%,-50%); opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle, rgba(224,29,35,.14), transparent 62%);
  mix-blend-mode: screen;
}
body.cursor-active .cursor-glow { opacity: 1; }

/* =====================================================================
   LOADER
   ===================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; width: min(340px, 78vw); }
.loader-mark { font-family: var(--font-display); font-size: 3rem; letter-spacing: .18em; color: var(--cream); margin-bottom: 1.4rem; }
.loader-mark span { color: var(--red); }
.loader-bar { height: 2px; background: rgba(0,0,0,.1); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg,var(--red),var(--gold)); }
.loader-pct { margin-top: .9rem; font-size: .8rem; letter-spacing: .12em; color: var(--muted); }
.loader-cap { margin-top: .3rem; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: #5a534b; }

/* =====================================================================
   SCROLL PROGRESS + NAV
   ===================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 600;
  background: linear-gradient(90deg,var(--red),var(--gold)); }

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem clamp(1.1rem,4vw,3rem);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.site-nav.scrolled { background: rgba(244,234,210,.88); backdrop-filter: blur(16px);
  padding-top: .7rem; padding-bottom: .7rem; box-shadow: 0 10px 40px -26px rgba(0,0,0,.35); }
.nav-logo img { height: 34px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.nav-links { display: flex; gap: 2.2rem; }
/* over the hero video the nav is transparent → light text; once scrolled onto
   the creamy page it switches to dark ink. */
.nav-links a { color: var(--on-media); text-decoration: none; font-size: .86rem; font-weight: 500; letter-spacing: .03em; opacity: .9; position: relative; }
.nav-links a::after { content:''; position: absolute; left:0; bottom:-6px; height:1px; width:0; background: var(--red); transition: width .4s var(--ease); }
.nav-links a:hover { opacity: 1; } .nav-links a:hover::after { width: 100%; }
.site-nav.scrolled .nav-links a { color: var(--cream); opacity: .82; }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-wa, .cart-toggle {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32); color: var(--on-media);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .3s, transform .3s, color .3s, border-color .3s;
}
.site-nav.scrolled .nav-wa, .site-nav.scrolled .cart-toggle {
  background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.12); color: var(--cream); }
.nav-wa:hover, .cart-toggle:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--red); color: #fff; font-size: .64rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--black); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--on-media); border-radius: 2px; transition: .3s; }
.site-nav.scrolled .nav-burger span { background: var(--cream); }
.nav-links.mobile-open { display: flex; flex-direction: column; position: fixed; top: 66px; left: 0; right: 0;
  background: rgba(244,234,210,.98); padding: 1.6rem 2rem; gap: 1.3rem; backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -30px rgba(0,0,0,.4); }
.nav-links.mobile-open a { color: var(--cream); opacity: .9; }

/* =====================================================================
   MASCOT STAGE — the character that walks the whole journey
   ===================================================================== */
.mascot-stage { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
.mascot-rig {
  position: absolute; left: 0; top: 0;
  width: clamp(120px, 15vw, 210px);
  /* JS positions via x/y; start off-screen left */
  transform: translate(-40vw, 62vh);
  will-change: transform;
}
.mascot-body { position: relative; transform-origin: 50% 92%; }

/* Layered character art: front image sizes the box; eyes overlay it */
.mascot-art { position: relative; width: 100%; }
.mascot-art .m-front { position: relative; display: block; width: 100%; height: auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.22)); backface-visibility: hidden; }

/* Blink eyelids — near-black to blend with the glossy face screen. JS drives scaleY. */
.m-eye { position: absolute; width: 10.5%; height: 9%; border-radius: 50%;
  background: linear-gradient(180deg, #0e0e12, #050506);
  transform: translate(-50%, -50%) scaleY(0); transform-origin: center;
  pointer-events: none; }
.m-eye-l { left: 36.3%; top: 30.4%; }
.m-eye-r { left: 64.4%; top: 30.3%; }

/* Soft floor contact shadow (grounds the character; not a dark halo behind it) */
.mascot-shadow {
  position: absolute; left: 50%; bottom: -4px; width: 76%; height: 26px;
  transform: translateX(-50%);
  background: url("assets/brand/mascot-shadow.png") center/contain no-repeat;
  opacity: .3;
}

/* Pointing arrow that swings toward a CTA */
.mascot-point {
  position: absolute; left: 88%; top: 46%; color: var(--red);
  opacity: 0; transform: scale(.6); transform-origin: left center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.mascot-point.show { opacity: 1; }

.mascot-speech {
  position: absolute; left: 90%; bottom: 62%;
  background: var(--cream); color: var(--near-black);
  padding: .7em 1.05em; border-radius: 14px 14px 14px 3px; font-size: .82rem; font-weight: 600;
  white-space: nowrap; box-shadow: 0 16px 30px -12px rgba(0,0,0,.6);
  opacity: 0; transform: scale(.7) translateY(8px); transform-origin: left bottom;
  font-family: var(--font-body);
}
.mascot-speech.show { opacity: 1; transform: scale(1) translateY(0); }
.mascot-speech::after { content:''; position: absolute; left: -6px; bottom: 0; border: 7px solid transparent; border-right-color: var(--cream); border-bottom: 0; }

/* =====================================================================
   GENERIC ACT / SECTION LAYOUT
   ===================================================================== */
.act { position: relative; padding: clamp(5rem,12vh,10rem) clamp(1.25rem,5vw,4rem); }
.act-inner, .ci-inner, .contact-inner { max-width: var(--container); margin: 0 auto; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: .82; transform: scale(1.05); }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,6,5,.55) 0%, rgba(7,6,5,.25) 38%, rgba(7,6,5,.92) 100%); }
.hero-content { position: relative; z-index: 3; text-align: center; max-width: 860px; padding: 0 1.5rem; color: var(--on-media); }
.hero-title { font-size: clamp(2.7rem,8vw,6rem); margin: .1em 0 .35em; text-shadow: 0 14px 50px rgba(0,0,0,.5); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; }
.hero-title em { color: var(--gold-soft); }
.hero-sub { letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; color: rgba(244,239,231,.82); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.scroll-cue { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(244,239,231,.82); }
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(180deg,var(--on-media),transparent); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top}45%{transform:scaleY(1);transform-origin:top}55%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom} }

/* =====================================================================
   STORY  (staggered blocks with big depth)
   ===================================================================== */
.story { background: linear-gradient(180deg,var(--black),var(--near-black)); }
.story .act-inner { display: grid; gap: clamp(3rem,8vh,7rem); }
.story-block { max-width: 60ch; }
.story-a h2 { font-size: clamp(2rem,5vw,3.8rem); max-width: 16ch; }
.story-b { justify-self: end; text-align: right; }
.story-b p { font-size: clamp(1.05rem,2vw,1.5rem); color: var(--cream-dim); max-width: 40ch; }
.story-c p { font-size: clamp(1.05rem,2vw,1.5rem); color: var(--cream-dim); max-width: 42ch; }
.story-c .btn { margin-top: .6rem; }

/* =====================================================================
   COLLECTION INTRO
   ===================================================================== */
.collection-intro { min-height: 82vh; display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(90% 80% at 50% 30%, #ffffff, var(--black)); }
.ci-title { font-size: clamp(2.6rem,8vw,6rem); }
.ci-note { color: var(--muted); letter-spacing: .04em; }

/* =====================================================================
   PRODUCT ACTS
   ===================================================================== */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,5rem); align-items: center; min-height: 92vh;
  max-width: var(--container); margin: 0 auto; }
.product.reverse .product-visual { order: 2; }
.product.reverse .product-copy { order: 1; }
.product-visual { position: relative; perspective: 1400px; }
.product-visual img { width: 100%; border-radius: var(--radius); transform-style: preserve-3d;
  box-shadow: 0 40px 80px -44px rgba(0,0,0,.4); will-change: transform; }
.pv-glow { position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%);
  filter: blur(50px); opacity: .55; }
.index-num { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,4rem); line-height: 1; display: block;
  color: transparent; -webkit-text-stroke: 1.3px var(--accent); margin-bottom: -.2em; opacity: .9; }
.product-copy h2 { font-size: clamp(1.9rem,3.6vw,3rem); }
.product-copy > p { color: var(--cream-dim); max-width: 46ch; font-size: 1.05rem; }
.tag-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--cream);
  background: rgba(0,0,0,.03); border: 1px solid rgba(0,0,0,.11); padding: .5em 1em; border-radius: 999px; }
.specs { font-size: .82rem; color: var(--muted); letter-spacing: .02em; margin-bottom: 1.2rem; }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =====================================================================
   BESPOKE
   ===================================================================== */
.bespoke { background: linear-gradient(180deg,var(--near-black),var(--black)); }
.bespoke-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.bespoke-copy h2 { font-size: clamp(2rem,4.5vw,3.4rem); }
.bespoke-copy p { color: var(--cream-dim); max-width: 42ch; }
.bespoke-form { background: var(--panel); border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius);
  padding: clamp(1.5rem,3vw,2.4rem); display: grid; gap: 1.05rem; box-shadow: 0 40px 90px -50px #000; }
.bespoke-form label { display: flex; flex-direction: column; gap: .5rem; font-size: .8rem; color: var(--cream-dim); font-weight: 500; }
.bespoke-form input, .bespoke-form select, .bespoke-form textarea {
  background: rgba(0,0,0,.02); border: 1px solid rgba(0,0,0,.16); border-radius: 9px;
  padding: .82em 1em; color: var(--cream); font-family: var(--font-body); font-size: .95rem; resize: vertical; transition: border-color .3s; }
.bespoke-form input:focus, .bespoke-form select:focus, .bespoke-form textarea:focus { outline: none; border-color: var(--red); }
.bespoke-form option { background: var(--panel); }
.bespoke-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }

/* =====================================================================
   CONTACT FINALE
   ===================================================================== */
.contact { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(90% 90% at 50% 40%, #ffffff, var(--black)); }
.contact-title { font-size: clamp(2.8rem,8vw,6.5rem); }
.contact-sub { color: var(--cream-dim); max-width: 40ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.contact-logo { height: 40px; margin: 3.5rem auto 1rem; opacity: .95; border-radius: 8px;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.4); }
.contact-tag { letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; color: var(--muted); }
.contact-copy { margin-top: 2.5rem; font-size: .76rem; color: #5a534b; }

/* =====================================================================
   CART DRAWER
   ===================================================================== */
.cart-overlay { position: fixed; inset: 0; z-index: 800; background: rgba(7,6,5,.6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .45s; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(410px,92vw); z-index: 900;
  background: var(--near-black); border-left: 1px solid rgba(0,0,0,.08);
  transform: translateX(100%); transition: transform .55s var(--ease); display: flex; flex-direction: column;
  padding: 2rem 1.6rem; box-shadow: -30px 0 80px rgba(0,0,0,.22); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; }
.cart-drawer-head h3 { margin: 0; font-size: 1.3rem; }
.cart-drawer-head button { background: none; border: none; font-size: 1.7rem; color: var(--cream); cursor: pointer; line-height: 1; }
.cart-sub { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.cart-items { flex: 1; overflow-y: auto; margin: 1.2rem 0; display: flex; flex-direction: column; gap: .9rem; }
.cart-empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
.cart-empty img { width: 92px; margin: 0 auto 1rem; }
.cart-item { background: var(--panel); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: .9rem 1rem;
  display: flex; gap: .8rem; align-items: flex-start; box-shadow: 0 6px 18px -12px rgba(0,0,0,.25); }
.cart-item-info { flex: 1; }
.cart-item-info strong { display: block; font-size: .92rem; margin-bottom: .2rem; }
.cart-item-info .meta { font-size: .75rem; color: var(--muted); display: block; }
.cart-item-qty { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.cart-item-qty button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.16);
  background: rgba(0,0,0,.03); color: var(--cream); cursor: pointer; font-size: .9rem; line-height: 1; }
.cart-item-remove { background: none; border: none; color: var(--red-bright); font-size: .74rem; text-decoration: underline; cursor: pointer; }
.cart-drawer-foot { display: flex; flex-direction: column; gap: .8rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.08); }
.cart-drawer-foot .btn { width: 100%; justify-content: center; }

/* =====================================================================
   TOAST
   ===================================================================== */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%,30px); z-index: 1000;
  background: #221e1a; border: 1px solid rgba(255,255,255,.12); color: #f4efe7;
  padding: .8rem 1.4rem; border-radius: 999px; display: flex; align-items: center; gap: .7rem;
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); box-shadow: 0 24px 50px -18px rgba(0,0,0,.5); }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.toast img { width: 30px; height: 30px; object-fit: contain; }
.toast span { font-size: .88rem; font-weight: 500; }

/* =====================================================================
   FLOATING MASCOT WIDGET
   ===================================================================== */
.mascot-widget { position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 700; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.mascot-fab { width: 74px; height: 74px; border-radius: 50%; background: #fff; border: 3px solid var(--red);
  box-shadow: 0 16px 34px -8px rgba(0,0,0,.5); cursor: pointer; overflow: hidden; padding: 0; }
.mascot-fab img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.mascot-fab:hover { transform: scale(1.07) rotate(-4deg); transition: transform .4s var(--ease); }
.mascot-bubble { background: #fff; color: var(--cream); border-radius: 16px; padding: 1.1rem 1.2rem; width: 232px;
  box-shadow: 0 24px 56px -16px rgba(0,0,0,.5); position: relative; transform: scale(.9) translateY(10px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
.mascot-bubble.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.mascot-bubble p { font-size: .86rem; margin-bottom: .8rem; }
.mascot-bubble-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #999; }

/* =====================================================================
   PROGRESSIVE ENHANCEMENT — states set at runtime by GSAP.
   Without JS, everything stays visible. With JS (.js-ready) we hide
   reveal elements until GSAP animates them in.
   ===================================================================== */
.js-ready [data-reveal],
.js-ready [data-reveal-lines] .rl-line > span,
.js-ready [data-hero] { will-change: transform, opacity; }

/* no-JS fallback: mascot stage hidden (JS drives it), content visible */
.no-js .mascot-stage { display: none; }
.no-js .loader { display: none; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .fx-grain, .scroll-cue span { animation: none; }
  .mascot-stage { display: none; }
  * { scroll-behavior: auto !important; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .product, .product.reverse, .bespoke-grid { grid-template-columns: 1fr; }
  .product.reverse .product-visual, .product.reverse .product-copy { order: initial; }
  .product { min-height: auto; gap: 2rem; }
  .story-b { justify-self: start; text-align: left; }
  /* On small screens the walking mascot is shrunk and kept low so it stays a
     companion rather than fighting the layout (JS also compresses its path). */
  .mascot-rig { width: 96px; }
}
@media (max-width: 620px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Keep the mascot visible on phones: compact, lower-left, taps pass through
     (stage has pointer-events:none), clear of the bottom-right chat button. */
  .mascot-rig { width: 76px; }
  .mascot-speech { font-size: .72rem; padding: .55em .8em; }
  .mascot-point svg { width: 30px; height: 30px; }
  .mascot-fab { width: 60px; height: 60px; }
}
