/* ==================================================================
   MF CHOICES FZ-LLC — style.css
   ------------------------------------------------------------------
   ALL TWEAKABLE BRAND VALUES LIVE IN :root BELOW.
   Change a colour or font here and it propagates everywhere.
   ================================================================== */

:root {
  /* ----- brand colours ----- */
  --charcoal:      #2A2A2E;   /* primary text & structure */
  --charcoal-soft: #3A3A40;   /* lighter charcoal for surfaces */
  --pink:          #C8A8E9;   /* lavender accent / action colour */
  --pink-deep:     #A87FD4;   /* deep violet — hover state */
  --pink-faint:    #F2EBFB;   /* pale lavender tint for washes / page */
  --cream:         #FBF7F4;   /* page background */
  --cream-dark:    #F3ECE6;   /* slightly darker cream for alt sections */
  --white:         #FFFFFF;

  /* ----- type ----- */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* fluid type scale (mobile-first, scales with viewport) */
  --fs-hero:   clamp(2.6rem, 9vw, 6.5rem);
  --fs-title:  clamp(1.9rem, 5vw, 3.4rem);
  --fs-lede:   clamp(1rem, 2vw, 1.2rem);
  --fs-body:   1rem;
  --fs-small:  0.85rem;

  /* ----- layout ----- */
  --container:    1200px;
  --section-pad:  clamp(4rem, 10vw, 8rem);
  --radius:       18px;
  --radius-sm:    10px;

  /* ----- motion ----- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --dur:        0.7s;

  /* ----- effects ----- */
  --glow: 0 0 30px rgba(232, 160, 184, 0.55);
  --shadow-soft: 0 18px 50px -20px rgba(42, 42, 46, 0.25);
}

/* ==================================================================
   RESET / BASE
   ================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: lowercase; /* matches the "mf choices" wordmark */
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); position: relative; }

/* ----- section headings shared pattern ----- */
.section__eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.55;
  margin-bottom: 1rem;
}
.section__eyebrow--pink { color: var(--pink-deep); opacity: 1; }
.section__title { font-size: var(--fs-title); margin-bottom: 1.2rem; }
.section__title em { font-style: normal; color: var(--pink-deep); }
.section__lede { font-size: var(--fs-lede); max-width: 56ch; opacity: 0.8; }
.section__head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

/* ==================================================================
   CUSTOM CURSOR — pink dot + trailing ring.
   Hidden by default; .has-cursor is added on fine-pointer devices.
   ================================================================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--pink-deep);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--pink);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              background-color 0.25s, opacity 0.3s;
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
/* ring grows over interactive elements */
body.has-cursor.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  background: rgba(232, 160, 184, 0.15);
}
/* hide the native cursor only when custom one is active */
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* ==================================================================
   GRAIN TEXTURE — pure SVG data-URI noise, no image files
   ================================================================== */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==================================================================
   BUTTONS
   ================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background-color 0.3s;
  will-change: transform;
}
.btn--primary {
  background: var(--pink);
  color: var(--charcoal);
}
.btn--primary:hover { background: var(--pink-deep); }
.btn--glow:hover { box-shadow: var(--glow); }
.btn--whatsapp {
  background: var(--pink);
  color: var(--charcoal);
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}
.btn--whatsapp:hover { background: var(--pink-deep); box-shadow: var(--glow); }
.btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==================================================================
   1. NAV — transparent → frosted glass on scroll
   ================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.nav--scrolled {
  background: rgba(251, 247, 244, 0.72); /* cream @ 72% */
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(42, 42, 46, 0.07);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.nav__logo-accent { color: var(--pink-deep); }
.nav__links {
  display: none; /* mobile-first: hidden, drawer used instead */
  gap: 2rem;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.25rem;
}
/* pink underline draw on nav links */
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: none; }

/* hamburger */
.nav__burger {
  display: grid;
  gap: 6px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* mobile drawer
   CLOSED = display:none — NOT rendered, no layer, nothing the GPU can
   mis-composite as a translucent panel mid-scroll. (The old clip-path
   + visibility hiding kept a full-width near-opaque cream layer alive,
   which smeared over the top of the viewport on real phones.)
   OPEN = display:grid + a one-way clip reveal animation. */
.nav__drawer {
  display: none;
  visibility: hidden;
  pointer-events: none;
  gap: 1.2rem;
  padding: 1.5rem 1.25rem 2rem;
  background: rgba(251, 247, 244, 0.98);
  border-bottom: 1px solid rgba(42, 42, 46, 0.08);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.nav--open .nav__drawer {
  display: grid;
  visibility: visible;
  pointer-events: auto;
  animation: drawer-in 0.35s var(--ease-out);
}
@keyframes drawer-in {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.nav__drawer .btn { justify-self: start; }

@media (min-width: 800px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger, .nav__drawer { display: none; }
}

/* ==================================================================
   2. HERO
   ================================================================== */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.25rem 4rem;
  text-align: center;
}

/* --- animated gradient mesh: three soft blobs drifting slowly ---
   PERF: blur lives on each blob (NOT the parent) so every blob is its
   own compositor layer — the blur rasterizes once and only the layer
   moves. Blur on the parent forced a full re-blur every frame. */
.hero__mesh { position: absolute; inset: -20%; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.65;
  filter: blur(45px); /* static — never animated */
  will-change: transform;
}
.hero__blob--1 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  top: 5%; left: -10%;
  animation: drift1 22s ease-in-out infinite alternate;
}
.hero__blob--2 {
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, var(--pink-faint) 0%, transparent 70%);
  bottom: 0; right: -5%;
  animation: drift2 26s ease-in-out infinite alternate;
}
.hero__blob--3 {
  width: 30vw; height: 30vw;
  background: radial-gradient(circle, rgba(42,42,46,0.12) 0%, transparent 70%);
  top: 40%; left: 55%;
  animation: drift3 30s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, -6vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-8vw, 10vh) scale(1.2); } }

.hero__content { position: relative; max-width: 60rem; }

.hero__kicker {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  margin-bottom: 1.8rem;
}
/* word-by-word reveal: script.js wraps each word in .w > .w-inner */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .w-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s); /* per-word stagger set inline by JS */
}
@keyframes word-up { to { transform: translateY(0); } }
/* the word "here." gets the pink pop */
.hero__title .w--accent .w-inner { color: var(--pink-deep); }

.hero__sub {
  font-size: var(--fs-lede);
  max-width: 46ch;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.9s forwards;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 1.15s forwards;
}
.hero__secondary {
  font-family: var(--font-display);
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.hero__secondary:hover { opacity: 1; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* scroll hint — little animated line, sits directly below the
   "see what we supply ↓" cue, centered and height-contained */
.hero__scroll-hint {
  position: relative;
  margin: 1.6rem auto 0;
  width: 1px; height: 48px;
  background: rgba(42, 42, 46, 0.15);
  overflow: hidden;
}
.hero__scroll-hint span {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--pink-deep);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}

/* ==================================================================
   3. MARQUEE — infinite, pauses on hover
   ================================================================== */
.marquee {
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
  padding-block: 1.1rem;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.marquee__group span { padding-inline: 1.4rem; }
.marquee__group i { font-style: normal; color: var(--pink); }
.marquee__pink { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==================================================================
   IMAGE PLACEHOLDERS (.ph)
   Swap each .ph div for a real <img loading="lazy"> later.
   aspect-ratio prevents layout shift when images arrive.
   ================================================================== */
.ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: rgba(42, 42, 46, 0.55);
  padding: 1rem;
  /* solid base colour under the gradient — guarantees a defined paint
     even before/without the background-image (no smear, no flash) */
  background-color: var(--cream-dark);
}
.ph--tall { aspect-ratio: 4 / 5; }
/* background-image (not the shorthand) so the solid base above persists */
.ph--industrial { background-color: #C9C4C0; background-image: linear-gradient(135deg, #D8D4D0 0%, #B9B4B0 100%); }
.ph--soft       { background-image: linear-gradient(135deg, var(--cream-dark) 0%, #E4DAD2 100%); }
.ph--pink       { background-color: var(--pink-faint); background-image: linear-gradient(135deg, var(--pink-faint) 0%, var(--pink) 100%); }
.ph--charcoal   { background-color: var(--charcoal); background-image: linear-gradient(135deg, var(--charcoal-soft) 0%, var(--charcoal) 100%); color: rgba(251,247,244,0.6); }

/* ==================================================================
   4. SUPPLY GRID — 6 tiles
   ================================================================== */
.supply__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .supply__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .supply__grid { grid-template-columns: repeat(3, 1fr); } }

.tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d; /* for the JS tilt */
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.tile:hover { box-shadow: 0 28px 60px -22px rgba(42, 42, 46, 0.35); }

.tile__media { position: relative; overflow: hidden; }
.tile__media .ph,
.tile__media img {
  transition: transform 0.7s var(--ease-out);
}
.tile:hover .tile__media .ph,
.tile:hover .tile__media img { transform: scale(1.07); } /* image zoom */

/* charcoal overlay that lifts on hover */
.tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,42,46,0.35), transparent 55%);
  transition: opacity 0.5s var(--ease-out);
}
.tile:hover .tile__overlay { opacity: 0; }

.tile__body { padding: 1.3rem 1.4rem 1.5rem; }
.tile__name {
  font-size: 1.25rem;
  display: inline-block;
  position: relative;
  padding-bottom: 0.35rem;
  margin-bottom: 0.4rem;
}
/* pink underline draws in left → right on hover */
.tile__name::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.tile:hover .tile__name::after { transform: scaleX(1); }
.tile__desc { font-size: 0.92rem; opacity: 0.7; }

/* "ask us" tile — charcoal, no image */
.tile--ask {
  background: var(--charcoal);
  color: var(--cream);
  display: grid;
}
.tile__ask-inner {
  padding: 2.2rem 1.6rem;
  display: grid;
  align-content: center;
  gap: 0.7rem;
  min-height: 100%;
}
.tile__ask-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}
.tile--ask .tile__desc { opacity: 0.65; }
.tile__ask-cta {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--pink);
  margin-top: 0.4rem;
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}
.tile--ask:hover .tile__ask-cta { transform: translateX(6px); }

/* ==================================================================
   PARALLAX DIVIDERS
   The .parallax__bg layer is translated slower than scroll by JS.
   IMAGES: set background-image on .parallax--1/--2 .parallax__bg
   e.g.  .parallax--1 .parallax__bg { background-image: url(images/divider-warehouse.jpg); }
   ================================================================== */
.parallax {
  position: relative;
  height: 40vh;
  min-height: 260px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.parallax__bg {
  position: absolute;
  inset: -25% 0; /* extra bleed so the slower layer never shows gaps */
  background-size: cover;
  background-position: center;
  will-change: transform;
}
/* placeholder gradients until real images drop in */
.parallax--1 .parallax__bg { background-image: linear-gradient(120deg, #C9C4BF, var(--charcoal-soft)); }
.parallax--2 .parallax__bg { background-image: linear-gradient(120deg, var(--pink), var(--pink-faint)); }

.parallax__word {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 8rem);
  color: var(--cream);
  mix-blend-mode: overlay;
  letter-spacing: -0.03em;
}

/* ==================================================================
   5. CUSTOM BRANDING
   ================================================================== */
.branding {
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
}
.branding .section__lede { opacity: 0.7; }
.branding .section__eyebrow--pink { color: var(--pink); }

.branding__layout {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 980px) {
  .branding__layout { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 5rem; }
}

.branding__points { margin-block: 2.2rem 2.5rem; display: grid; gap: 1.5rem; }
.branding__points li { display: flex; gap: 1.1rem; align-items: flex-start; }
.branding__point-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  font-size: 0.9rem;
  padding-top: 0.2rem;
}
.branding__points strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.15rem;
}
.branding__points p { font-size: 0.92rem; opacity: 0.65; }

/* ----- branding showcase placeholder -----
   Stand-in until real before/after assets arrive (Layer 2). */
.ba-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ECE6F6 0%, #D7CDEC 100%);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.ba-placeholder span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  letter-spacing: 0.04em;
  color: var(--charcoal);
  text-align: center;
}

.branding__360 {
  margin-top: 1.2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

/* ==================================================================
   6. HOW IT WORKS
   ================================================================== */
.how { background: var(--cream-dark); }
.how__steps {
  position: relative;
  display: grid;
  gap: 2.8rem;
}
@media (min-width: 800px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* connecting line — its dash offset is animated when in view */
.how__line {
  display: none;
  position: absolute;
  top: 34px; left: 0;
  width: 100%; height: 60px;
  overflow: visible;
}
.how__line path {
  stroke: var(--pink);
  stroke-width: 2.5;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  transition: stroke-dashoffset 1.8s var(--ease-out) 0.3s;
}
.how__steps.in-view .how__line path { stroke-dashoffset: 0; }
@media (min-width: 800px) { .how__line { display: block; } }

.step { position: relative; text-align: center; padding-inline: 1rem; }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--pink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  position: relative; /* sits above the connecting line */
  z-index: 1;
  box-shadow: 0 0 0 8px var(--cream-dark);
}
.step__name { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step__desc { font-size: 0.95rem; opacity: 0.7; max-width: 30ch; margin-inline: auto; }

/* ==================================================================
   7. STATS BAND
   ================================================================== */
.stats {
  background: var(--charcoal);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.stats__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 1.5rem;
  text-align: center;
  align-items: center;
  justify-items: center;
}
@media (min-width: 720px) { .stats__row { grid-template-columns: repeat(3, 1fr); } }

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  color: var(--pink);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums; /* no width jitter while counting */
}
.stat__label {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ==================================================================
   8. ABOUT
   ================================================================== */
.about__layout { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .about__layout { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
}
.about__body p { margin-bottom: 1.2rem; opacity: 0.85; }
.about__promise {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--pink-deep);
  opacity: 1 !important;
  margin-top: 1.8rem;
}

/* ==================================================================
   9. QUOTE FORM
   ================================================================== */
.quote { background: var(--pink-faint); overflow: hidden; }
.quote__layout { display: grid; gap: 3rem; }
@media (min-width: 980px) {
  .quote__layout { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: start; }
}
.quote__reassure { margin-top: 1.8rem; display: grid; gap: 0.6rem; }
.quote__reassure li { font-size: 0.95rem; opacity: 0.8; }

.quote__form {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.4rem;
}

.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.field input,
.field textarea {
  border: 1.5px solid rgba(42, 42, 46, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 4px rgba(232, 160, 184, 0.25);
}
.field__error {
  font-size: 0.8rem;
  color: #C0506E;
  display: none;
}
.field--invalid input,
.field--invalid textarea { border-color: #C0506E; }
.field--invalid .field__error { display: block; }

/* custom toggle switch */
.toggle {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  user-select: none;
}
.toggle input { position: absolute; opacity: 0; }
.toggle__track {
  width: 52px; height: 28px;
  border-radius: 999px;
  background: rgba(42, 42, 46, 0.2);
  position: relative;
  transition: background-color 0.3s;
  flex-shrink: 0;
}
.toggle__thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.3s var(--ease-out);
  display: block;
}
.toggle input:checked + .toggle__track { background: var(--pink-deep); }
.toggle input:checked + .toggle__track .toggle__thumb { transform: translateX(24px); }
.toggle input:focus-visible + .toggle__track { box-shadow: 0 0 0 4px rgba(232,160,184,0.4); }
.toggle__label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }

.quote__submit { justify-self: start; margin-top: 0.4rem; }
.quote__alt { font-size: 0.85rem; opacity: 0.7; }
.quote__alt a { text-decoration: underline; text-underline-offset: 3px; }

/* success state overlays the form */
.quote__success {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.8rem;
  padding: 2rem;
  animation: fade-up 0.5s var(--ease-out);
}
.quote__success[hidden] { display: none; }
.quote__success-mark {
  width: 72px; height: 72px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--pink);
  color: var(--charcoal);
  font-size: 2rem;
  display: grid;
  place-items: center;
  box-shadow: var(--glow);
}
.quote__success h3 { font-size: 1.5rem; }
.quote__success a { color: var(--pink-deep); text-decoration: underline; }

/* ==================================================================
   10. FOOTER
   ================================================================== */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding-top: clamp(3rem, 7vw, 5rem);
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
}
.footer__logo span { color: var(--pink); }
.footer__tag { color: var(--pink); font-family: var(--font-display); margin: 0.4rem 0 1rem; }
.footer__legal { font-size: var(--fs-small); opacity: 0.55; }

.footer__col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
}
.footer__col a, .footer__col span {
  display: block;
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 0.6rem;
  transition: opacity 0.25s, color 0.25s;
}
.footer__col a:hover { opacity: 1; color: var(--pink); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(251, 247, 244, 0.12);
  font-size: var(--fs-small);
  opacity: 0.7;
}
.footer__top:hover { color: var(--pink); }

/* ==================================================================
   SCROLL REVEALS (IntersectionObserver adds .in-view)
   ================================================================== */
/* SAFETY: elements are only hidden when body.js-reveal is present —
   script.js adds it right before wiring the observers. No JS, blocked
   JS, or a script error = everything fully visible by default. */
body.js-reveal .reveal,
body.js-reveal .reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  /* PERF: no will-change here — it pinned a compositor layer for every
     reveal element permanently. Transitions self-promote while running. */
}
.reveal,
.reveal-stagger > * {
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--rd, 0s); /* stagger delay set by JS */
}
body.js-reveal .reveal.in-view,
body.js-reveal .reveal-stagger.in-view > * {
  opacity: 1;
  transform: none;
}

/* ==================================================================
   TOUCH / COARSE POINTER — phones get the clean fast version.
   Blobs freeze (still pretty, zero per-frame cost), the subtle third
   blob is dropped entirely, blur is lighter. Cursor/tilt/magnetic/
   parallax are already gated off in script.js on these devices.
   ================================================================== */
@media (hover: none), (pointer: coarse), (max-width: 1023px) {
  /* REVEAL KILL SWITCH: no reveal system on mobile/touch at all.
     Real phones were freezing transitions mid-fade, leaving ghost
     tiles. Every element is static at full opacity from first paint
     — no hidden state, no transition, nothing to get stuck.
     (script.js also never arms the observers here.) */
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Blob container COMPLETELY removed from rendering — no blurred
     element exists to paint, lag or ghost during scroll. The
     max-width arm catches touchscreen laptops / hybrids that report
     a fine pointer but scroll by touch. Desktop ≥1024px with a
     mouse keeps the animated blobs exactly as designed. */
  .hero__mesh { display: none; }
  /* hero background becomes a flat cream wash with a simple static
     gradient tint — no blur, no animation, no extra layers */
  .hero {
    background-color: var(--cream);
    background-image:
      radial-gradient(120% 70% at 15% 15%, rgba(232, 160, 184, 0.28), transparent 60%),
      radial-gradient(100% 65% at 90% 85%, rgba(246, 227, 234, 0.55), transparent 65%);
  }

  /* Frosted glass → near-solid on touch: backdrop-filter re-samples
     the page beneath on every scrolled frame and is a notorious
     smear source on Android. Desktop keeps the blur. */
  .nav--scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(251, 247, 244, 0.96);
  }

  /* No promoted layers anywhere on mobile: the custom cursor is
     inert here but its fixed will-change elements still held GPU
     layers, and buttons only transform on desktop hover. */
  .cursor-dot, .cursor-ring { display: none; }
  .btn, .marquee__track { will-change: auto; }

  /* Parallax layers: fully static — no promoted layer, no oversized
     bleed, no blend mode mid-scroll (JS is already gated off). */
  .parallax__bg {
    will-change: auto;
    inset: 0;
    transform: none !important;
  }
  .parallax__word {
    mix-blend-mode: normal;
    color: rgba(251, 247, 244, 0.9);
  }
}

/* ==================================================================
   11. CATALOG — nav dropdown, category pages, product grid (v5)
   ================================================================== */

/* ----- nav "catalog" dropdown (desktop nav only — the mobile drawer
   lists the category links directly). CLOSED = display:none, same
   rule as the drawer: nothing rendered, nothing the GPU can smear.
   Opens on :hover and :focus-within (tap focuses the button), so it
   needs zero JS and closes itself when focus moves away. ----- */
.nav__dd { position: relative; }
.nav__dd-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  padding-block: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__dd-caret { font-size: 0.7em; opacity: 0.6; }
.nav__dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 270px;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid rgba(42, 42, 46, 0.07);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.nav__dd:hover .nav__dd-menu,
.nav__dd:focus-within .nav__dd-menu { display: grid; }
.nav__dd-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
}
.nav__dd-menu a:hover { background: var(--pink-faint); }
.nav__dd-menu a::after { display: none; } /* no underline-draw inside the menu */

/* small "catalog" label inside the mobile drawer */
.nav__drawer-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 0.3rem;
}

/* ----- supply tiles now hold real product photos ----- */
.tile__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tile__cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pink-deep);
  display: inline-block;
  margin-top: 0.5rem;
  transition: transform 0.3s var(--ease-out);
}
.tile:hover .tile__cta { transform: translateX(6px); }

/* ----- catalog page head ----- */
.catalog-head {
  /* top padding clears the fixed nav */
  padding: clamp(7.5rem, 16vw, 10rem) 0 clamp(2.2rem, 5vw, 3.5rem);
  background-image:
    radial-gradient(120% 75% at 12% 0%, rgba(232, 160, 184, 0.2), transparent 60%);
}
.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.pill {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(42, 42, 46, 0.2);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.pill:hover { border-color: var(--pink-deep); color: var(--pink-deep); }
.pill--active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
  pointer-events: none;
}

/* ----- slim inline "can't find it" prompt (top, above the pills) ----- */
.catalog-prompt {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.8;
  margin: 0.4rem 0 1.4rem;
}
.catalog-prompt a {
  color: #8E6FC0; /* lavender accent */
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.catalog-prompt a:hover { color: #6F4FA3; }

/* ----- product grid ----- */
.catalog-body { padding-bottom: var(--section-pad); }
.catalog-status {
  font-family: var(--font-display);
  opacity: 0.7;
  padding-block: 1rem;
}
.catalog-status[hidden] { display: none; }
.catalog-status a { color: var(--pink-deep); text-decoration: underline; }

.catalog-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
@media (min-width: 1024px) { .catalog-grid { grid-template-columns: repeat(4, 1fr); } }

/* ----- "can't find it" CTA below the grid ----- */
.catalog-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ECE6F6 0%, #D7CDEC 100%);
  text-align: center;
  color: var(--charcoal);
}
.catalog-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.6rem;
}
.catalog-cta__text {
  max-width: 36rem;
  margin: 0 auto 1.6rem;
  opacity: 0.8;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.card__media {
  aspect-ratio: 1;          /* fixed box = zero layout shift as lazy images land */
  overflow: hidden;
  background: var(--cream-dark);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1rem 1.05rem;
}
.card__name { font-size: 0.98rem; line-height: 1.3; font-weight: 600; }
.card__cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--pink-deep);
  margin-top: auto;
  padding-top: 0.4rem;
}

/* card hover motion: DESKTOP ONLY (mobile = static, per project rules) */
@media (hover: hover) and (min-width: 1024px) {
  .card {
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  }
  .card__media img { transition: transform 0.6s var(--ease-out); }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 55px -22px rgba(42, 42, 46, 0.35);
  }
  .card:hover .card__media img { transform: scale(1.06); }
}

/* ==================================================================
   REDUCED MOTION — gate all heavy motion
   ================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* show everything immediately — no hidden content */
  .reveal, .reveal-stagger > *,
  .hero__sub, .hero__actions { opacity: 1 !important; transform: none !important; }
  .hero__title .w-inner { transform: none; animation: none; }
  .how__line path { stroke-dashoffset: 0; }
  .marquee__track { animation: none; transform: none; }
  .hero__blob { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
