/* BBY Aesthetics pigment quiz funnel mockup. Tokens mirror bbyspa.com (bundle.css + bby-approved.css). */
:root {
  --bby-red: #911E1F;
  --bby-red-deep: #6f1415;
  --bby-teal: #086F70;
  --bby-gold: #C8A24A;
  --bby-cream: #FBF7F0;
  --bby-border: #E9E2D8;
  --bby-ink: #2A2A2A;
  --bby-muted: #666666;
  --bby-night: #1f1b17;
  --bby-radius: 20px;
  --bby-ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --head: "Roboto", system-ui, -apple-system, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* six-shade ribbon: the "All Shades Deserve Excellence" motif */
  --shade-1: #F3D9C4; --shade-2: #E2B895; --shade-3: #C68E62;
  --shade-4: #9E6841; --shade-5: #6E4428; --shade-6: #3F2616;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--bby-ink); background: #fff; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--bby-teal); }
:focus-visible { outline: 3px solid var(--bby-gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 860px; }

/* review bar (mockup only) */
.review-bar { background: var(--bby-teal); color: #fff; font-size: 13px; }
.review-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding-block: 8px; }
.review-bar strong { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.review-bar nav { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.review-bar a { color: #fff; opacity: .85; text-decoration: none; }
.review-bar a:hover, .review-bar a[aria-current] { opacity: 1; text-decoration: underline; }

/* header, matches site */
.site-header { background: #fff; border-bottom: 1px solid var(--bby-border); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; }
.site-header .logo img { width: 180px; height: auto; }
.main-nav { display: flex; gap: 18px; font-size: 16px; }
.main-nav a { color: #222; text-decoration: none; text-transform: uppercase; letter-spacing: .01em; }
.main-nav a:hover { color: var(--bby-red); }
.phones { display: grid; grid-template-columns: auto auto; gap: 4px 12px; align-items: baseline; font-size: 14px; }
.phones span { color: var(--bby-muted); text-align: right; }
.phones a { color: #000; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .03em; }
.menu-btn { display: none; border: 1px solid #ccc; background: #fff; border-radius: 6px; width: 56px; height: 40px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 26px; height: 2px; background: #333; margin: auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -8px; } .menu-btn span::after { position: absolute; top: 8px; }
@media (max-width: 1100px) { .main-nav, .phones { display: none; } .menu-btn { display: block; } .site-header .wrap { min-height: 88px; } .site-header .logo img { width: 150px; } }

/* shared pieces */
.eyebrow { color: var(--bby-teal); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 10px; }
.h-section { font-family: var(--head); color: var(--bby-red); font-weight: 700; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.12; margin: 0; text-wrap: balance; }
.gold-bar { width: 88px; height: 3px; background: var(--bby-gold); border: 0; margin: 18px 0 22px; }
.center { text-align: center; } .center .gold-bar { margin-inline: auto; }
.lead { font-size: 1.125rem; max-width: 62ch; }
.center .lead { margin-inline: auto; }
.muted { color: var(--bby-muted); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--cream { background: var(--bby-cream); }

.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; border-radius: 999px; padding: 14px 26px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .18s var(--bby-ease), box-shadow .18s var(--bby-ease), background .18s; }
.btn::after { content: "\2192"; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--bby-red); color: #fff; box-shadow: 0 10px 24px rgba(145, 30, 31, .25); }
.btn--red:hover { background: var(--bby-red-deep); }
.btn--white { background: #fff; color: var(--bby-red); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--plain::after { content: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--bby-gold); }
.chip--glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.chip--light { background: #fff; border: 1px solid var(--bby-border); color: #222; letter-spacing: .02em; text-transform: none; }
.chip--light::before { background: var(--bby-teal); }

.shades { display: flex; gap: 0; height: 8px; border-radius: 999px; overflow: hidden; width: 180px; }
.shades i { flex: 1; }
.shades i:nth-child(1) { background: var(--shade-1); } .shades i:nth-child(2) { background: var(--shade-2); }
.shades i:nth-child(3) { background: var(--shade-3); } .shades i:nth-child(4) { background: var(--shade-4); }
.shades i:nth-child(5) { background: var(--shade-5); } .shades i:nth-child(6) { background: var(--shade-6); }

/* hero, matches homepage glass card */
.hero { position: relative; background: var(--bby-night) center 30% / cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(145, 30, 31, .62), rgba(31, 27, 23, .45) 50%, rgba(8, 111, 112, .5)); }
.hero .wrap { position: relative; padding-block: clamp(48px, 8vw, 88px); display: grid; place-items: center; }
.glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 24px; padding: clamp(28px, 5vw, 52px); max-width: 900px; width: 100%; text-align: center; display: grid; justify-items: center; gap: 18px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.08; margin: 0; letter-spacing: .01em; text-wrap: balance; }
.hero p { margin: 0; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); opacity: .95; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.hero small { opacity: .85; font-size: 14px; }

/* tagline band */
.tagline { background: var(--bby-cream); border-bottom: 1px solid var(--bby-border); }
.tagline .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding-block: 22px; }
.tagline p { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); color: var(--bby-red); }

/* trigger explainer */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--bby-radius); box-shadow: 0 24px 50px rgba(31, 27, 23, .16); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.triggers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.triggers div { border: 1px solid var(--bby-border); background: #fff; border-radius: 14px; padding: 14px 16px; }
.triggers b { display: block; color: var(--bby-red); font-family: var(--head); font-size: 16px; }
.triggers span { font-size: 14px; color: var(--bby-muted); line-height: 1.45; display: block; margin-top: 2px; }
@media (max-width: 560px) { .triggers { grid-template-columns: 1fr 1fr; } }

/* learn / for-who */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--bby-border); border-radius: var(--bby-radius); padding: 30px; box-shadow: 0 10px 26px rgba(31, 27, 23, .06); }
.panel h3 { font-family: var(--head); color: var(--bby-red); margin: 0 0 14px; font-size: 1.45rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--bby-teal); justify-self: center; }
.ticks--gold li::before { background: var(--bby-gold); }

/* provider strip */
.provider { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.provider .portrait { width: 200px; height: 200px; border-radius: 50%; background: #fff; padding: 8px; box-shadow: 0 0 0 10px #fff, 0 18px 40px rgba(31, 27, 23, .15); border: 3px solid #eadcb8; overflow: hidden; }
.provider .portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.provider h2 { font-family: var(--head); color: var(--bby-red); margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
@media (max-width: 680px) { .provider { grid-template-columns: 1fr; justify-items: center; text-align: center; } .provider .gold-bar { margin-inline: auto; } }

/* quiz */
.quiz-section { background: linear-gradient(135deg, #3a1214 0%, var(--bby-night) 48%, #0b3637 100%); color: #fff; }
.quiz-card { background: #fff; color: var(--bby-ink); border-radius: 26px; max-width: 760px; margin: 34px auto 0; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); overflow: hidden; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 28px 0; font-size: 13px; color: var(--bby-muted); }
.quiz-top b { color: var(--bby-teal); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.progress { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; padding: 12px 28px 0; }
.progress i { height: 6px; border-radius: 999px; background: var(--bby-border); transition: background .3s; }
.progress i.on:nth-child(1) { background: var(--shade-1); } .progress i.on:nth-child(2) { background: var(--shade-2); }
.progress i.on:nth-child(3) { background: var(--shade-3); } .progress i.on:nth-child(4) { background: var(--shade-3); }
.progress i.on:nth-child(5) { background: var(--shade-4); } .progress i.on:nth-child(6) { background: var(--shade-5); }
.progress i.on:nth-child(7) { background: var(--shade-5); } .progress i.on:nth-child(8) { background: var(--shade-6); }
.quiz-body { padding: 26px 28px 30px; }
.quiz-body h3 { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.2; margin: 0 0 6px; color: var(--bby-night); text-wrap: balance; }
.quiz-body .hint { margin: 0 0 20px; color: var(--bby-muted); font-size: 15px; }
.answers { display: grid; gap: 10px; }
.answer { width: 100%; min-height: 56px; text-align: left; font: inherit; font-size: 17px; color: var(--bby-ink); background: var(--bby-cream); border: 1.5px solid var(--bby-border); border-radius: 14px; padding: 14px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: border-color .15s, background .15s, transform .15s; }
.answer::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfc4b4; flex: none; }
.answer:hover { border-color: var(--bby-teal); background: #fff; }
.answer.picked { border-color: var(--bby-red); background: #fff; }
.answer.picked::after { border-color: var(--bby-red); background: radial-gradient(circle, var(--bby-red) 45%, transparent 50%); }
.quiz-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
.linkbtn { background: none; border: 0; color: var(--bby-teal); font: inherit; font-weight: 700; cursor: pointer; padding: 8px 0; }
.linkbtn[disabled] { opacity: .35; cursor: default; }
.lead-form { display: grid; gap: 12px; }
.lead-form label { font-size: 14px; font-weight: 700; display: grid; gap: 6px; }
.lead-form input { font: inherit; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--bby-border); background: var(--bby-cream); }
.lead-form input:focus { border-color: var(--bby-teal); outline: none; background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .quiz-body, .quiz-top, .progress { padding-inline: 18px; } }
.fine { font-size: 12.5px; color: var(--bby-muted); margin: 4px 0 0; }
.analyzing { text-align: center; padding-block: 30px; }
.analyzing .shades { margin: 18px auto; width: 220px; height: 10px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* result pages */
.result-hero .glass { max-width: 820px; }
.result-type { font-family: var(--display); font-style: italic; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); border-bottom: 2px solid var(--bby-gold); padding-bottom: 2px; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.result-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .result-grid { grid-template-columns: 1fr; } }
.result-grid h2 { font-family: var(--head); color: var(--bby-red); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin: 0; }
.treatments { display: grid; gap: 12px; margin-top: 8px; }
.treatment { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; border: 1px solid var(--bby-border); border-radius: 16px; padding: 16px 18px; background: #fff; }
.treatment b { font-family: var(--head); font-size: 1.1rem; color: var(--bby-night); }
.treatment span { grid-column: 1; color: var(--bby-muted); font-size: 15px; line-height: 1.5; }
.treatment a { grid-row: 1 / span 2; grid-column: 2; font-weight: 700; text-decoration: none; white-space: nowrap; }
.routine { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.routine li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: baseline; }
.routine li b { color: var(--bby-teal); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.others a { border: 1px solid var(--bby-border); background: #fff; border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--bby-ink); font-size: 14px; }
.others a:hover { border-color: var(--bby-red); color: var(--bby-red); }

.cta-band { background: linear-gradient(135deg, var(--bby-red) 0%, #5e1415 60%, #0b3637 130%); color: #fff; text-align: center; }
.cta-band h2 { font-family: var(--display); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); margin: 0; line-height: 1.1; text-wrap: balance; }
.cta-band p { margin: 14px auto 26px; max-width: 52ch; opacity: .92; font-size: 1.1rem; }
.cta-band .shades { margin: 0 auto 22px; }

/* footer, matches site */
.site-footer { color: #eee; background: radial-gradient(ellipse at 10% 0%, rgba(145, 30, 31, .45), transparent 55%), radial-gradient(ellipse at 90% 10%, rgba(8, 111, 112, .35), transparent 50%), radial-gradient(ellipse at 50% 100%, rgba(200, 162, 74, .12), transparent 50%), #1a1512; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 32px; padding-block: 48px 28px; }
.site-footer h4 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 14px; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer a { color: #eee; text-decoration: none; }
.site-footer a:hover { color: var(--bby-gold); }
.site-footer .about { font-size: 15px; line-height: 1.6; }
.site-footer .logo-f { width: 220px; margin-bottom: 18px; filter: drop-shadow(0 0 1px rgba(255,255,255,.4)); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: #cfc7bd; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.book-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; background: #fff; color: var(--bby-red); font-weight: 700; font-size: 17px; padding: 14px 22px; border-radius: 999px; box-shadow: 0 12px 34px rgba(0, 0, 0, .18); text-decoration: none; }
