/* ==========================================================================
   Wigs Klinic — onion & black
   Fonts: Bodoni Moda (display), Outfit (text), Pinyon Script (accent)
   African touch: Uli — Igbo women's line art (Enugu), used as fine linework
   ========================================================================== */

:root {
  --ink: #0d0a0b;
  --ink-2: #171113;
  --ink-3: #251b1f;
  --ink-line: rgba(255, 255, 255, .1);

  --onion-50: #fdf4f6;
  --onion-100: #f7e3e8;
  --onion-200: #eecad4;
  --onion-300: #dfa9b9;   /* the onion */
  --onion-400: #cd8ba0;
  --onion-500: #b56e86;
  --onion-700: #84435a;   /* text-safe on light */
  --onion-900: #4a2231;

  --skin: #a86b4e;
  --skin-2: #8f5a41;
  --hair-1: #1a1012;
  --hair-2: #5e3324;
  --hair-3: #a9643e;

  --cream: #fff9f7;
  --white: #ffffff;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 30px 60px -30px rgba(74, 34, 49, .45);
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em { font-style: italic; }
::selection { background: var(--onion-300); color: var(--ink); }
:focus-visible { outline: 2px solid var(--onion-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--onion-300); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--onion-300); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 500 15px/1 var(--text); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(223, 169, 185, .7); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ink { --bg: var(--ink); --fg: var(--onion-100); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 14px 30px -12px rgba(0,0,0,.3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 500 12.5px/1.2 var(--text); letter-spacing: .22em; text-transform: uppercase;
  color: var(--onion-700);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--onion-300); }
.script { font-family: var(--script); font-weight: 400; font-size: 1.15em; color: var(--onion-500); letter-spacing: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, backdrop-filter .4s, padding .4s;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(13, 10, 11, .78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--ink-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-logo {
  width: 50px; height: 50px; flex: none; border-radius: 10px; object-fit: cover;
  box-shadow: 0 0 0 3px rgba(223, 169, 185, .35);
}
.brand-name { font: 500 17px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.brand-name small { display: block; margin-top: 5px; font: 400 10.5px/1 var(--text); letter-spacing: .32em; color: var(--onion-300); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; color: rgba(255,255,255,.82); text-decoration: none; font-size: 15px; font-weight: 400;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--onion-300);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .8em 1.3em; font-size: 14px; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .menu-btn {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid var(--ink-line); color: var(--white); cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .35s var(--ease), background .2s;
  }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .nav-open .menu-btn span { background: transparent; }
  .nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px;
    background: radial-gradient(120% 80% at 80% 0%, var(--onion-900), var(--ink) 60%);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav-links a { font: 400 34px/1.1 var(--display); color: var(--white); }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav .nav-cta.desktop { display: none; }
  .brand-name small { display: none; }
}

/* ---------- Uli linework (Igbo line art) ---------- */
.uli-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .09; color: var(--onion-300);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none' stroke='%23dfa9b9' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M30 40c0-12 18-12 18 0s-26 12-26 0 34-20 34 0'/%3E%3Cpath d='M150 30c20 0 30 20 10 30s-30-10-10-14'/%3E%3Cpath d='M110 110m-18 0a18 18 0 1 0 36 0a18 18 0 1 0-36 0M110 110m-8 0a8 8 0 1 0 16 0a8 8 0 1 0-16 0'/%3E%3Cpath d='M20 170q20-24 40 0t40 0'/%3E%3Cpath d='M160 160c-14 10-14 30 0 40M174 160c-14 10-14 30 0 40'/%3E%3Ccircle cx='80' cy='70' r='2' fill='%23dfa9b9'/%3E%3Ccircle cx='90' cy='64' r='2' fill='%23dfa9b9'/%3E%3Ccircle cx='190' cy='100' r='2' fill='%23dfa9b9'/%3E%3Ccircle cx='60' cy='120' r='2' fill='%23dfa9b9'/%3E%3C/svg%3E");
}
.uli-rule { display: block; width: min(420px, 80%); height: 22px; margin: 0 auto; color: var(--onion-400); }
.uli-rule.left { margin: 0; }

/* ---------- Hero / slider ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--white); overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(223, 169, 185, .28), transparent 65%),
    radial-gradient(40% 50% at 8% 95%, rgba(181, 110, 134, .22), transparent 70%),
    var(--ink);
  display: flex; flex-direction: column;
}
.slides { position: relative; flex: 1; display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px);
  padding: 130px var(--gutter) 120px; max-width: var(--max); width: 100%; margin: 0 auto;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.no-js .slide:first-child { opacity: 1; visibility: visible; }

.slide-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-copy > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-copy > *:nth-child(4) { transition-delay: .24s; }
.no-js .slide-copy > * { opacity: 1; transform: none; }

.slide-step {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font: 500 12.5px/1 var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--onion-300);
}
.slide-step b { font: italic 500 15px/1 var(--display); letter-spacing: 0; padding: 7px 11px; border: 1px solid rgba(223,169,185,.45); border-radius: 999px; }
.slide-title, .hero h1 {
  font-size: clamp(42px, 6.4vw, 92px); font-weight: 400; line-height: .98; letter-spacing: -.025em; margin-bottom: 26px;
}
.hero h1 .kicker {
  display: block; margin-bottom: 18px; font: 500 13px/1.3 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--onion-300);
}
.slide-title em, .hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--onion-200), var(--onion-400) 45%, var(--onion-100) 70%, var(--onion-300));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.slide-lead { max-width: 30em; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.76); margin-bottom: 34px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.slide-art { position: relative; display: grid; place-items: center; }
.portal {
  position: relative; width: min(520px, 100%); aspect-ratio: 1;
}
.portal-ring { position: absolute; inset: -4%; animation: spin 40s linear infinite; color: var(--onion-300); }
.portal-ring text { font: 500 15px var(--text); fill: currentColor; text-transform: uppercase; }
.portal .scene {
  position: absolute; inset: 6%; width: 88%; height: 88%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--onion-100), var(--onion-300) 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 40px 80px -30px rgba(223,169,185,.55), inset 0 -20px 60px rgba(132,67,90,.35);
  overflow: hidden;
}
@keyframes spin { to { transform: rotate(360deg); } }
.portal-badge {
  position: absolute; right: 2%; bottom: 8%; z-index: 2;
  background: var(--ink); color: var(--white); border: 1px solid rgba(223,169,185,.5);
  border-radius: 999px; padding: 10px 16px 10px 12px; display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; box-shadow: var(--shadow);
}
.portal-badge i { width: 10px; height: 10px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 4px rgba(95,211,141,.2); }

/* Stories-style progress + controls */
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5;
}
.hero-controls .wrap { display: flex; align-items: center; gap: 24px; }
.stories { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.story {
  appearance: none; border: 0; background: none; padding: 10px 0; cursor: pointer; text-align: left; color: rgba(255,255,255,.6);
  font: 400 12.5px/1.2 var(--text); letter-spacing: .04em;
}
.story .bar { display: block; height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.story .bar i { display: block; height: 100%; width: 100%; background: var(--onion-300); transform: scaleX(0); transform-origin: left; }
.story.is-done .bar i { transform: scaleX(1); }
.story.is-active { color: var(--white); }
.story.is-active .bar i { animation: fill var(--dur, 7s) linear forwards; }
.hero.is-paused .story.is-active .bar i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s;
}
.arrow:hover { background: var(--onion-300); border-color: var(--onion-300); color: var(--ink); }
.arrow svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; padding-top: 104px; padding-bottom: 130px; gap: 6px; align-content: start; text-align: left; }
  .slide-art { order: -1; }
  .portal { width: min(330px, 78vw); }
  .slide-title, .hero h1 { margin-bottom: 16px; }
  .slide-lead { margin-bottom: 22px; }
  .story span.lbl { display: none; }
  .arrows { display: none; }
  .portal-badge { font-size: 12px; padding: 8px 12px 8px 10px; }
}

/* ---------- Cartoon scenes (SVG) ---------- */
.scene * { transform-box: fill-box; }
.scene [class*="a-"] { animation-play-state: paused; }
.slide.is-active .scene [class*="a-"] { animation-play-state: running; }
.no-js .scene [class*="a-"] { animation-play-state: running; }

.a-fly { animation: fly 6s linear infinite; }
@keyframes fly { from { transform: translateX(-80px); } to { transform: translateX(480px); } }
.a-drift { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(40px); } }
.a-drop { animation: drop 4.2s cubic-bezier(.5, 0, .7, 1) infinite; opacity: 0; }
.a-drop.d2 { animation-delay: .7s; } .a-drop.d3 { animation-delay: 1.4s; }
@keyframes drop {
  0% { transform: translateY(-230px) rotate(-12deg); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translateY(0) rotate(0); }
  52% { transform: translateY(-14px) rotate(3deg); }
  60%, 88% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}
.a-twinkle { animation: twinkle 2.2s ease-in-out infinite; transform-origin: center; }
.a-twinkle.t2 { animation-delay: .7s; } .a-twinkle.t3 { animation-delay: 1.4s; }
@keyframes twinkle { 0%, 100% { transform: scale(.2) rotate(0); opacity: 0; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

.a-dip { animation: dip 2.6s ease-in-out infinite; }
@keyframes dip { 0%, 100% { transform: translateY(-34px) rotate(-4deg); } 50% { transform: translateY(16px) rotate(4deg); } }
.a-bubble { animation: bubble 3s ease-in infinite; opacity: 0; transform-origin: center; }
.a-bubble.b2 { animation-delay: .5s; } .a-bubble.b3 { animation-delay: 1s; } .a-bubble.b4 { animation-delay: 1.5s; } .a-bubble.b5 { animation-delay: 2s; } .a-bubble.b6 { animation-delay: 2.5s; }
@keyframes bubble { 0% { transform: translateY(0) scale(.4); opacity: 0; } 15% { opacity: .95; } 100% { transform: translateY(-150px) scale(1.1); opacity: 0; } }
.a-knot { animation: knot 4s ease-in-out infinite; }
@keyframes knot { 0%, 15% { fill: #1a1012; } 55%, 85% { fill: #e9c9b6; } 100% { fill: #1a1012; } }
.a-wipe { animation: wipe 4s ease-in-out infinite; }
@keyframes wipe { 0%, 10% { transform: translateX(0); } 50%, 60% { transform: translateX(78px); } 100% { transform: translateX(0); } }

.a-sew { animation: sew 3.4s ease-in-out infinite alternate; transform-origin: 200px 300px; transform-box: view-box; }
@keyframes sew { from { transform: rotate(-52deg); } to { transform: rotate(52deg); } }
.a-thread { stroke-dasharray: 8 7; animation: thread 1.2s linear infinite; }
@keyframes thread { to { stroke-dashoffset: -30; } }
.a-grow { transform-origin: top center; animation: grow 5s var(--ease) infinite; }
.a-grow.g2 { animation-delay: .35s; } .a-grow.g3 { animation-delay: .7s; }
@keyframes grow { 0% { transform: scaleY(0); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

.a-wand { animation: wand 2.8s ease-in-out infinite; }
@keyframes wand { 0%, 100% { transform: translateY(-40px) rotate(-6deg); } 50% { transform: translateY(70px) rotate(4deg); } }
.a-curl { animation: curl 1.4s ease-in-out infinite; transform-origin: top center; }
.a-curl.c2 { animation-delay: .25s; } .a-curl.c3 { animation-delay: .5s; } .a-curl.c4 { animation-delay: .75s; }
@keyframes curl { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.84) translateY(-3px); } }
.a-steam { animation: steam 2.4s ease-out infinite; opacity: 0; }
.a-steam.s2 { animation-delay: .8s; } .a-steam.s3 { animation-delay: 1.6s; }
@keyframes steam { 0% { transform: translateY(10px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-50px); opacity: 0; } }
.a-heart { animation: heart 3.6s ease-out infinite; opacity: 0; transform-origin: center; }
.a-heart.h2 { animation-delay: 1.2s; } .a-heart.h3 { animation-delay: 2.4s; }
@keyframes heart { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: 1; transform: translateY(-14px) scale(1); } 100% { transform: translateY(-90px) scale(.8); opacity: 0; } }
.a-blink { animation: blink 4s infinite; transform-origin: center; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.15); } }

.a-orbit { animation: spin 7s linear infinite; transform-origin: 270px 150px; transform-box: view-box; }
.a-globe { animation: globe 5s linear infinite; }
@keyframes globe { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
.a-lid { animation: lid 4.4s var(--ease) infinite; transform-origin: 0% 100%; }
@keyframes lid { 0%, 15% { transform: rotate(-58deg); } 40%, 90% { transform: rotate(0); } 100% { transform: rotate(-58deg); } }
.a-bow { animation: bow 4.4s var(--ease) infinite; transform-origin: center; }
@keyframes bow { 0%, 40% { transform: scale(0); } 52% { transform: scale(1.25); } 60%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.a-bob { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Promise strip ---------- */
.promise { background: var(--onion-300); color: var(--ink); position: relative; z-index: 2; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.promise li { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid rgba(13,10,11,.14); font-weight: 400; line-height: 1.3; }
.promise li:first-child { border-left: 0; }
.promise svg { width: 34px; height: 34px; flex: none; }
.promise strong { display: block; font: italic 500 19px/1.15 var(--display); }
@media (max-width: 900px) {
  .promise ul { grid-template-columns: 1fr 1fr; }
  .promise li:nth-child(3) { border-left: 0; }
  .promise li { border-top: 1px solid rgba(13,10,11,.14); padding: 18px 12px; font-size: 14.5px; }
  .promise li:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 400; margin-top: 18px; }
.section-head h2 em { color: var(--onion-500); }
.section-head p { color: #4a3d42; max-width: 32em; justify-self: end; margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 18px; } .section-head p { justify-self: start; } }

.dark { background: var(--ink); color: var(--white); }
.dark .section-head p { color: rgba(255,255,255,.7); }
.dark .section-head h2 em { color: var(--onion-300); }
.blush { background: var(--onion-100); }

/* Services: "The Klinic menu" */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rx {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--onion-200); overflow: hidden; display: flex; flex-direction: column; min-height: 330px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s;
}
.rx:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rx-no { font: italic 400 15px/1 var(--display); color: var(--onion-500); display: flex; justify-content: space-between; align-items: center; }
.rx-no span { font: 500 11px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--onion-100); color: var(--onion-700); }
.rx-icon { width: 76px; height: 76px; margin: 28px 0 22px; }
.rx h3 { font-size: 30px; margin-bottom: 12px; }
.rx p { color: #54464b; font-size: 16px; margin-bottom: 22px; }
.rx a { margin-top: auto; font-weight: 500; font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--onion-700); }
.rx a::after { content: "→"; transition: transform .4s var(--ease); }
.rx:hover a::after { transform: translateX(5px); }
.rx--feature { grid-column: span 2; background: var(--ink); color: var(--white); border-color: var(--ink); }
.rx--feature p { color: rgba(255,255,255,.72); }
.rx--feature .rx-no span { background: rgba(223,169,185,.16); color: var(--onion-300); }
.rx--feature a { color: var(--onion-300); }
.rx--feature h3 { font-size: clamp(32px, 3.4vw, 46px); }
.rx--feature .uli-bg { opacity: .12; }
@media (max-width: 980px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .menu-grid { grid-template-columns: 1fr; } .rx--feature { grid-column: auto; } .rx { min-height: 0; } }

/* Shop shelf */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.unit {
  border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--onion-200);
  display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.unit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.unit-art { position: relative; aspect-ratio: 4 / 3.4; background: radial-gradient(circle at 50% 40%, var(--onion-50), var(--onion-200)); display: grid; place-items: center; overflow: hidden; }
.unit-art svg { width: 64%; height: auto; transition: transform .8s var(--ease); }
.unit:hover .unit-art svg { transform: scale(1.06) rotate(-2deg); }
.unit-tag { position: absolute; left: 16px; top: 16px; background: var(--ink); color: var(--onion-100); font: 500 11px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; }
.unit-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.unit h3 { font-size: 26px; margin-bottom: 6px; }
.unit p { color: #54464b; font-size: 15.5px; margin-bottom: 18px; }
.unit .btn { margin-top: auto; align-self: flex-start; padding: .8em 1.25em; font-size: 14px; }
.shelf-note {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
  padding: 22px 26px; border-radius: var(--radius-sm); background: var(--ink); color: var(--white);
}
.shelf-note p { margin: 0; color: rgba(255,255,255,.8); }
.shelf-note strong { color: var(--onion-300); font-weight: 500; }
@media (max-width: 980px) { .shelf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .shelf { grid-template-columns: 1fr; } }
.shelf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.section-head p a { color: var(--onion-700); font-weight: 500; }

/* ---------- Product page (shop.html): cards first, nothing above them ---------- */
.page-shop { background: var(--onion-100); }
.page-shop .site-header,
.page-shop .site-header.is-scrolled {
  position: sticky; top: 0; background: var(--ink); padding: 8px 0;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
.page-shop .brand-logo { width: 40px; height: 40px; border-radius: 8px; }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.shop { padding: clamp(16px, 3vw, 34px) 0 clamp(56px, 8vw, 110px); min-height: 70vh; }
.shop-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 12px; }
.shop-top h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 400; }
.shop-top h1 em { color: var(--onion-500); }
.shop-top p { margin: 0; font-size: 15px; color: #54464b; }
.filters {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1) 14px; padding: 4px var(--gutter);
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 500 14px/1 var(--text); color: var(--ink); background: var(--white); border: 1px solid var(--onion-300);
  transition: background .25s, color .25s, border-color .25s;
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--onion-100); border-color: var(--ink); }
.shop .shelf { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shop .unit[hidden] { display: none; }
.shop .unit h3 { font-size: 23px; }
@media (max-width: 1100px) { .shop .shelf { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .shop .shelf { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop .unit { border-radius: 18px; }
  .shop .unit:hover { transform: none; box-shadow: none; }
  .shop .unit-art { aspect-ratio: 1 / 1; }
  .shop .unit-tag { left: 10px; top: 10px; font-size: 9.5px; letter-spacing: .12em; padding: 6px 8px; }
  .shop .unit-body { padding: 12px 12px 14px; }
  .shop .unit h3 { font-size: 19px; margin-bottom: 4px; }
  .shop .unit p { font-size: 13.5px; line-height: 1.4; margin-bottom: 12px; }
  .shop .unit .btn { align-self: stretch; justify-content: center; padding: .9em .5em; font-size: 13.5px; }
  .shop .shelf-note { padding: 18px; }
  .shop .shelf-note .btn { width: 100%; justify-content: center; }
}

/* Mastery class */
.class { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.class h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 400; margin: 18px 0 20px; }
.class h2 em { color: var(--onion-500); }
.class-lead p { color: #4a3d42; max-width: 30em; }
.class-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.chip { padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--onion-200); font-size: 14px; }
.outline { list-style: none; margin: 0; padding: 0; counter-reset: o; border-top: 1px solid rgba(13,10,11,.15); }
.outline li {
  counter-increment: o; display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 15px 0;
  border-bottom: 1px solid rgba(13,10,11,.15); font-size: 17px;
  transition: padding .4s var(--ease), color .3s;
}
.outline li::before { content: counter(o, decimal-leading-zero); font: italic 400 16px/1 var(--display); color: var(--onion-500); }
.outline li:hover { padding-left: 10px; color: var(--onion-700); }
@media (max-width: 900px) { .class { grid-template-columns: 1fr; } }

/* Why / SEO copy */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); }
.why h2 { font-size: clamp(38px, 5vw, 66px); font-weight: 400; margin-top: 18px; position: sticky; top: 110px; }
.why h2 em { color: var(--onion-300); }
.why-copy h3 { font-size: 26px; margin: 34px 0 10px; color: var(--onion-200); }
.why-copy h3:first-child { margin-top: 0; }
.why-copy p { color: rgba(255,255,255,.74); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.areas li { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(223,169,185,.35); font-size: 13.5px; color: var(--onion-100); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why h2 { position: static; } }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(13,10,11,.16); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative;
  font: 400 clamp(20px, 2.2vw, 26px)/1.25 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--onion-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0a0b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--onion-300); }
.faq details p { color: #4a3d42; padding: 0 50px 24px 0; margin: 0; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.visit-card { border-radius: var(--radius); background: var(--ink); color: var(--white); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.visit-card h2 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 400; margin: 18px 0 18px; }
.visit-card h2 em { color: var(--onion-300); }
.visit-card address { font-style: normal; font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 26px; }
.visit-card address small { display: block; color: var(--onion-300); font-size: 14px; margin-top: 6px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.contact-list a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; color: rgba(255,255,255,.88); border-bottom: 1px solid var(--ink-line); transition: color .3s, padding .4s var(--ease); }
.contact-list a:hover { color: var(--onion-300); padding-left: 6px; }
.contact-list svg { width: 20px; height: 20px; color: var(--onion-300); flex: none; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 440px; background: var(--onion-200); position: relative; border: 1px solid var(--onion-200); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-pin { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: var(--white); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.35; }
.map-pin b { display: block; font-weight: 500; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 34px; position: relative; overflow: hidden; }
.footer-big {
  font: italic 400 clamp(56px, 13vw, 200px)/.9 var(--display); letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1px rgba(223,169,185,.45); margin: 0 0 clamp(40px, 6vw, 80px); padding-bottom: .12em; white-space: nowrap;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.footer-grid h3 { font: 500 12px/1 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--onion-300); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.footer-grid a { text-decoration: none; transition: color .3s; }
.footer-grid a:hover { color: var(--onion-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
