/*
Theme Name: Scalp Micropigmentation UK
Theme URI: https://scalpmicropigmentation.uk/
Description: Custom theme for scalpmicropigmentation.uk: the free AI scalp assessment (email-gated report, leads stored in WordPress) plus the SMP guides. Self-contained: no page builder, no external fonts.
Version: 2.0.0
Requires PHP: 8.1
Text Domain: smp
*/

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/serif.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/serif-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/inter.woff2) format("woff2"); }


/* "Ask Dot" in the main nav: a small AI chip. */
.nav-ai { display: inline-flex; align-items: center; gap: 6px; }
.ai-chip { display: inline-block; padding: 2px 6px; border-radius: 99px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.3; color: #0b0c0f; background: linear-gradient(135deg, #e3c79f, #c9a57b); }
/* ==========================================================================
   Design system
   ========================================================================== */
:root {
  --bone: #f7f4ef;
  --bone-2: #efeae2;
  --sand: #e7dfd3;
  --paper: #ffffff;
  --ink: #0f1217;
  --ink-2: #191d25;
  --ink-3: #2a303b;
  --text: #1b1f26;
  --text-2: #50565f;
  --muted: #8a8e96;
  --line: #e3dcd1;
  --line-2: #d6cdbf;
  --bronze: #a8744a;
  --bronze-2: #8a5a33;
  --bronze-soft: #f4ebe1;
  --green: #2e7a5c;
  --green-soft: #e5f1ea;
  --amber: #a86c0d;
  --amber-soft: #f8eedb;
  --red: #b0443b;
  --red-soft: #f7e4e1;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 18, 23, 0.04), 0 2px 8px rgba(15, 18, 23, 0.04);
  --shadow: 0 1px 2px rgba(15, 18, 23, 0.04), 0 12px 32px -8px rgba(15, 18, 23, 0.12);
  --shadow-lg: 0 2px 4px rgba(15, 18, 23, 0.04), 0 40px 80px -24px rgba(15, 18, 23, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bone); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
h3 { font-size: 1.12rem; }
h4 { font-size: 1rem; }
h1 em, h2 em { font-style: italic; color: var(--bronze); }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
::selection { background: var(--bronze-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.small { font-size: 0.875rem; }
.muted { color: var(--muted); }
.centre { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 300; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-2); margin: 0 0 1.4em; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow.plain::before { display: none; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--text-2); max-width: 54ch; }
.sec { padding: clamp(80px, 11vw, 148px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { margin: 0; max-width: 15ch; }
.sec-head p { margin: 0; color: var(--text-2); max-width: 46ch; justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; } .js .reveal.d2 { transition-delay: 0.16s; } .js .reveal.d3 { transition-delay: 0.24s; }

/* Buttons */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(15, 18, 23, 0.45); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arr, .btn-arrow::after { transition: transform 0.25s var(--ease); }
.btn-arrow::after { content: "\2192"; font-weight: 500; }
.btn:hover .arr, .btn-arrow:hover::after { transform: translateX(3px); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { --bg: #000; }
.btn-gold { --bg: var(--bronze); --fg: #fff; }
.btn-gold:hover { --bg: var(--bronze-2); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { --bg: var(--paper); box-shadow: none; border-color: var(--text-2); }
.btn-lg { padding: 18px 30px; font-size: 1rem; }
.btn-sm { padding: 11px 18px; font-size: 0.875rem; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color 0.2s, gap 0.25s var(--ease); }
.link-arrow::after { content: "\2192"; }
.link-arrow:hover { border-color: var(--ink); gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(247, 244, 239, 0.72); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(247, 244, 239, 0.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--serif); font-weight: 400; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand-word small { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(15, 18, 23, 0.05); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 18px; height: 18px; }
.nav-menu[open] summary { background: var(--paper); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; min-width: 240px; box-shadow: var(--shadow-lg); display: grid; }
.menu-panel a { color: var(--ink); text-decoration: none; padding: 13px 14px; border-radius: 12px; font-weight: 500; }
.menu-panel a:hover { background: var(--bone); }
@media (max-width: 960px) { .nav-links { display: none; } .nav-menu { display: block; } }
@media (max-width: 480px) { .nav-right .btn { display: none; } .nav-inner { height: 66px; } .brand-word b { font-size: 1.15rem; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; background: radial-gradient(closest-side, rgba(168, 116, 74, 0.13), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 500; color: var(--text-2); box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.pill b { background: var(--ink); color: #fff; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.hero h1 { margin-bottom: 0.38em; }
.hero-cta { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin: 34px 0 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0; justify-content: start; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); padding-top: 24px; max-width: 560px; }
.hero-stats li { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line); }
.hero-stats li:last-child { border: 0; margin: 0; padding: 0; }
.hero-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--ink); }
.hero-stats span { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 560px) { .hero-stats { grid-template-columns: repeat(2, auto); gap: 18px 0; } .hero-stats li:nth-child(2) { border: 0; } }

/* Scalp before/after visual */
.scalp { position: relative; max-width: 540px; justify-self: center; width: 100%; }
.scalp-stage { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--bone-2) 62%, transparent 63%); }
.scalp canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scalp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.scalp input[type=range]:focus-visible + .scalp-focus { opacity: 1; }
.scalp-focus { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--bronze); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.scalp-tag { position: absolute; top: 9%; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); pointer-events: none; }
.scalp-tag.l { left: 4%; } .scalp-tag.r { right: 4%; color: var(--bronze-2); }
.scalp-hint { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.float-card { position: absolute; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); pointer-events: none; }
.float-card .k { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.float-card .v { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; color: var(--ink); }
.float-card .v small { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }
.float-card .s { font-size: 0.78rem; color: var(--green); font-weight: 600; margin-top: 2px; }
.float-card.a { left: -6%; top: 58%; }
.float-card.b { right: -5%; top: 74%; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .scalp { max-width: 460px; } .float-card.a { left: 0; } .float-card.b { right: 0; } }
@media (prefers-reduced-motion: no-preference) { .float-card { animation: bob 7s ease-in-out infinite; } .float-card.b { animation-delay: -3.5s; } }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* Concerns strip */
.concerns { border-block: 1px solid var(--line); background: var(--paper); }
.concerns-inner { display: flex; align-items: center; gap: 12px 40px; padding: 22px 0; flex-wrap: wrap; justify-content: space-between; }
.concerns p { margin: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.concerns ul { display: flex; flex-wrap: wrap; gap: 6px 34px; list-style: none; margin: 0; padding: 0; }
.concerns li { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); position: relative; }
.concerns li + li::before { content: ""; position: absolute; left: -19px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--bronze); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 26px; }
.steps .num { display: block; font-family: var(--serif); font-size: 4.2rem; line-height: 0.9; color: var(--bronze); margin-bottom: 26px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 10px; }
.steps p { color: var(--text-2); margin: 0; max-width: 34ch; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Assessment section
   ========================================================================== */
.tool { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; }
.tool::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%); pointer-events: none; }
.tool::after { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(168, 116, 74, 0.22), transparent); pointer-events: none; }
.tool-wrap { position: relative; z-index: 1; max-width: 880px; }
.tool-head { text-align: center; margin-bottom: 44px; }
.tool-head .eyebrow { color: #d7b08b; }
.tool-head h2 { color: #fff; margin: 0 auto 14px; max-width: 16ch; }
.tool-head p { color: rgba(255, 255, 255, 0.66); max-width: 52ch; margin: 0 auto; }
.tool .small a { color: rgba(255, 255, 255, 0.8); }
.tool .muted, .tool-foot { color: rgba(255, 255, 255, 0.5); }
.tool-foot { text-align: center; font-size: 0.85rem; margin-top: 22px; }
.tool-foot a { color: rgba(255, 255, 255, 0.75); }
.card { background: var(--paper); color: var(--text); border-radius: var(--r-lg); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); overflow: hidden; }
.wizard { min-height: 460px; position: relative; }
.progress { height: 3px; background: var(--bone-2); }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze-2), var(--bronze)); transition: width 0.5s var(--ease); }
#wizard-body { padding: clamp(26px, 5vw, 52px); }
.step-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 14px; }
.q { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--ink); }
.q-help { color: var(--text-2); margin-bottom: 28px; max-width: 58ch; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-bottom: 30px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; position: relative; padding: 17px 18px 17px 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-weight: 500; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.choice span::before { content: ""; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; transition: border 0.2s, background 0.2s; }
.choice input[type=checkbox] + span::before { border-radius: 5px; }
.choice small { display: block; font-weight: 400; color: var(--muted); margin-top: 3px; font-size: 0.85rem; }
.choice:hover span { border-color: var(--line-2); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.choice input:checked + span { border-color: var(--ink); background: var(--bone); box-shadow: 0 0 0 1px var(--ink); }
.choice input:checked + span::before { border: 5px solid var(--ink); }
.choice input[type=checkbox]:checked + span::before { border: 0; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-2); width: 78px; text-align: center; line-height: 1.25; }
.swatch i { width: 52px; height: 52px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 3px #fff, 0 0 0 4px var(--line); transition: box-shadow 0.2s, transform 0.2s var(--ease); }
.swatch:hover i { transform: scale(1.05); }
.swatch input:checked + span i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.swatch input:checked + span { color: var(--ink); font-weight: 600; }
.swatch input:focus-visible + span i { outline: 2px solid var(--bronze); outline-offset: 6px; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--ink); }
.field select, .field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 1rem; background: var(--paper); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
.field select { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%2350565f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field textarea { min-height: 96px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 18, 23, 0.08); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--text-2); margin-bottom: 14px; cursor: pointer; line-height: 1.5; }
.check input { margin-top: 2px; width: 19px; height: 19px; accent-color: var(--ink); flex: none; }
.check strong { color: var(--ink); }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--bone-2); flex-wrap: wrap; }
.wiz-nav .right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.error { color: var(--red); font-size: 0.9rem; margin: -10px 0 14px; min-height: 1.3em; }
.intro { text-align: center; padding: 18px 0 8px; }
.intro h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.08; letter-spacing: -0.01em; max-width: 18ch; margin: 0 auto 16px; }
.intro p { max-width: 50ch; margin-inline: auto; color: var(--text-2); }
.intro-points { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 26px 0 34px; }
.intro-points li { font-size: 0.85rem; font-weight: 500; color: var(--text-2); background: var(--bone); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.intro-points li::before { content: "\2713\00a0\00a0"; color: var(--green); font-weight: 700; }

/* Photo step */
.drop { display: block; border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 38px 24px; text-align: center; background: var(--bone); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--paper); }
.drop input { display: none; }
.drop::before { content: ""; display: block; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.6l1.2-1.8h5.4L15.9 6h1.6A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5z' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12.3' r='3.3' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.drop strong { display: block; margin-bottom: 4px; font-size: 1.02rem; color: var(--ink); }
.drop .small { margin: 0; }
.preview { display: flex; gap: 20px; align-items: center; background: var(--bone); border-radius: var(--r); padding: 14px; border: 1px solid var(--line); }
.preview img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; }
.photo-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 20px; padding: 0; list-style: none; font-size: 0.86rem; color: var(--text-2); }
.photo-tips li { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.photo-tips strong { color: var(--ink); }
@media (max-width: 600px) { .photo-tips { grid-template-columns: 1fr; } }

/* Analysing */
.analysing { text-align: center; padding: 56px 0; }
.spinner { width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 25%, var(--bronze) 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.analysing p { color: var(--text-2); }
.analysing .status { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); min-height: 1.4em; margin-bottom: 8px; }

/* Results */
.result-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-bottom: 22px; }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.8rem; padding: 7px 13px; border-radius: 999px; background: var(--bronze-soft); color: var(--bronze-2); margin-bottom: 14px; }
.verdict::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.verdict.excellent, .verdict.good { background: var(--green-soft); color: var(--green); }
.verdict.possible_with_caveats { background: var(--amber-soft); color: var(--amber); }
.verdict.unlikely { background: var(--red-soft); color: var(--red); }
.result-head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.ring { --p: 0; width: 108px; height: 108px; border-radius: 50%; background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--bone-2) 0); display: grid; place-items: center; flex: none; }
.ring b { width: 92px; height: 92px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; align-content: center; font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.ring b small { font-family: var(--sans); font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin: 22px 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kv div { background: var(--paper); padding: 14px 16px; }
.kv dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 5px 0 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); line-height: 1.35; }
.rsec { border-top: 1px solid var(--line); padding: 24px 0; }
.rsec h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.005em; margin-bottom: 10px; }
.rsec p { color: var(--text-2); margin-bottom: 8px; }
.rsec ul { margin: 6px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.rsec li { margin-bottom: 9px; padding-left: 22px; position: relative; }
.rsec li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
.rsec strong { color: var(--ink); }
.price-big { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.1rem); line-height: 1; color: var(--ink); margin: 4px 0 12px !important; }
.locked { position: relative; }
.locked-preview { max-height: 320px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 100%); mask-image: linear-gradient(180deg, #000 10%, transparent 100%); }
.locked-preview .rsec { filter: blur(5px); user-select: none; pointer-events: none; }
.gate { position: relative; display: flex; justify-content: center; margin-top: -150px; }
.gate-card { width: min(560px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); }
.gate-card h4 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; margin-bottom: 8px; }
.gate-card > p { color: var(--text-2); margin-bottom: 18px; }
.gate-list { list-style: none; padding: 16px 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 0.88rem; color: var(--text-2); border-block: 1px solid var(--bone-2); }
.gate-list li { display: flex; gap: 8px; align-items: center; }
.gate-list li::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='4' y='9' width='12' height='8' rx='2' fill='%23a8744a'/%3E%3Cpath d='M7 9V7a3 3 0 0 1 6 0v2' fill='none' stroke='%23a8744a' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 520px) { .gate-list { grid-template-columns: 1fr; } .result-head { grid-template-columns: 1fr; } .ring { order: -1; width: 92px; height: 92px; } .ring b { width: 78px; height: 78px; font-size: 2rem; } }
.hp { position: absolute; left: -9999px; opacity: 0; }
.notice { background: var(--green-soft); color: #1d5a42; border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; margin: 0 0 6px; }
.notice.warn { background: var(--amber-soft); color: #7a4f0a; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.callout { background: var(--ink); color: #fff; border-radius: var(--r); padding: 24px 26px; margin-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.callout h4 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 4px; }
.callout p { margin: 0; color: rgba(255, 255, 255, 0.72); }

/* ==========================================================================
   Report anatomy (bento)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); position: relative; overflow: hidden; }
.tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tile p { color: var(--text-2); font-size: 0.94rem; margin: 0; }
.tile .k { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: block; }
.t-score { grid-column: span 5; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); display: flex; flex-direction: column; }
.t-score h3 { color: #fff; }
.t-score p { color: rgba(255, 255, 255, 0.66); }
.t-score .k { color: rgba(255, 255, 255, 0.5); }
.t-score .big-ring { --p: 90; width: 170px; height: 170px; border-radius: 50%; background: conic-gradient(var(--bronze) calc(var(--p) * 1%), rgba(255, 255, 255, 0.1) 0); display: grid; place-items: center; margin: 6px 0 28px; }
.t-score .big-ring b { width: 150px; height: 150px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; align-content: center; font-family: var(--serif); font-weight: 400; font-size: 4rem; line-height: 1; }
.t-score .big-ring small { font-family: var(--sans); font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.t-score .vq { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; color: #fff; margin: auto 0 12px; }
.t-stage { grid-column: span 7; }
.norwood { display: flex; gap: 10px; margin: 4px 0 18px; }
.norwood figure { margin: 0; flex: 1; text-align: center; }
.norwood svg { width: 100%; max-width: 64px; height: auto; display: block; margin: 0 auto 6px; }
.norwood figcaption { font-size: 0.7rem; color: var(--muted); font-weight: 600; }
.norwood .on figcaption { color: var(--ink); }
.norwood .on svg { filter: drop-shadow(0 0 0 var(--ink)); }
.t-price { grid-column: span 4; }
.t-plan { grid-column: span 3; }
.range { position: relative; height: 8px; border-radius: 99px; background: var(--bone-2); margin: 16px 0 10px; }
.range span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--bronze-2), var(--bronze)); }
.range-fig { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--ink); }
.sessions-dots { display: flex; align-items: center; gap: 0; margin: 14px 0 12px; }
.sessions-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); flex: none; }
.sessions-dots i.opt { background: transparent; border: 1.5px dashed var(--ink); }
.sessions-dots b { flex: 1; height: 1px; background: var(--line-2); }
.t-check { grid-column: span 6; }
.t-alt { grid-column: span 6; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--text-2); }
.ticks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--bronze-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%238a5a33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 2px; }
@media (max-width: 960px) { .t-score { grid-column: span 12; grid-row: auto; } .t-stage { grid-column: span 12; } .t-price, .t-plan { grid-column: span 6; } .t-check, .t-alt { grid-column: span 12; } }
@media (max-width: 600px) { .t-price, .t-plan { grid-column: span 12; } .norwood figcaption { font-size: 0.62rem; } .norwood { gap: 4px; } }

/* ==========================================================================
   Cost
   ========================================================================== */
.cost { background: var(--paper); border-block: 1px solid var(--line); }
.cost-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.cost-intro { position: sticky; top: 110px; }
.cost-intro h2 { max-width: 12ch; }
.cost-intro p { color: var(--text-2); max-width: 44ch; }
.cost-intro .btn { margin-top: 12px; }
.ranges { list-style: none; margin: 0; padding: 0; }
.ranges li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ranges li:last-child { border-bottom: 1px solid var(--line); }
.ranges h3 { margin: 0; font-size: 1.02rem; }
.ranges .fig { font-family: var(--serif); font-size: 1.55rem; line-height: 1; color: var(--ink); text-align: right; white-space: nowrap; }
.ranges .meta { font-size: 0.82rem; color: var(--muted); }
.ranges .bar { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 99px; background: var(--bone-2); margin-top: 8px; }
.ranges .bar span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--ink); transform-origin: left; }
.js .ranges .bar span { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js .ranges.in .bar span { transform: scaleX(1); }
.ranges-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-top: 12px; }
.price-note { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) { .cost-grid { grid-template-columns: 1fr; } .cost-intro { position: static; } }

/* ==========================================================================
   Guides teaser, FAQ, artists band
   ========================================================================== */
.ed { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.ed-feature a { text-decoration: none; color: inherit; display: block; }
.ed-feature .img { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--bone-2); margin-bottom: 22px; }
.ed-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ed-feature a:hover img { transform: scale(1.035); }
.ed-feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.01em; margin: 8px 0 10px; }
.ed-feature p { color: var(--text-2); max-width: 56ch; margin: 0; }
.ed-list { list-style: none; margin: 0; padding: 0; }
.ed-list li { border-top: 1px solid var(--line); }
.ed-list li:last-child { border-bottom: 1px solid var(--line); }
.ed-list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; text-decoration: none; color: inherit; }
.ed-list .img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bone-2); }
.ed-list img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ed-list a:hover img { transform: scale(1.06); }
.ed-list h3 { font-size: 1.02rem; margin: 4px 0 0; line-height: 1.35; transition: color 0.2s; }
.ed-list a:hover h3 { color: var(--bronze-2); }
.cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-2); }
@media (max-width: 900px) { .ed { grid-template-columns: 1fr; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { max-width: 11ch; }
.faq-side p { color: var(--text-2); max-width: 36ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 24px 44px 24px 0; font-size: 1.08rem; font-weight: 600; color: var(--ink); list-style: none; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230f1217' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper); }
.faq summary:hover { color: var(--bronze-2); }
.faq details p { color: var(--text-2); margin: -6px 0 24px; max-width: 62ch; }
.faq details a { color: var(--bronze-2); }

.artists { padding: 0 0 clamp(80px, 10vw, 140px); }
.artists-card { background: var(--sand); border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 64px; align-items: end; position: relative; overflow: hidden; }
.artists-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background-image: radial-gradient(rgba(15, 18, 23, 0.22) 1.2px, transparent 1.4px); background-size: 12px 12px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.artists-card h2 { max-width: 14ch; }
.artists-card p { color: var(--text-2); max-width: 54ch; margin: 0; }
.artists-card .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .artists-card { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.62); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-claim { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.02; color: #fff; margin: 0 0 24px; letter-spacing: -0.01em; }
.footer-claim em { color: #d7b08b; }
.footer h4 { color: #fff; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.footer nav { display: grid; gap: 10px; }
.footer nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.93rem; transition: color 0.2s; }
.footer nav a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand-mark { color: #d7b08b; }
.footer .brand-word small { color: rgba(255, 255, 255, 0.45); }
.disclaimer { padding-top: 28px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.42); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.disclaimer p { margin: 0; max-width: 80ch; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

@media print {
  .nav, .hero, .concerns, .sec:not(.tool), .cost, .artists, .footer, .wiz-nav, .result-actions, .callout, .tool-foot, .tool-head { display: none !important; }
  .tool { background: #fff; color: #000; padding: 0; } .tool::before, .tool::after { display: none; }
  .card { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; } .js .ranges .bar span { transform: none; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background-image: radial-gradient(rgba(15, 18, 23, 0.16) 1.1px, transparent 1.3px); background-size: 13px 13px; -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent); mask-image: radial-gradient(closest-side, #000 20%, transparent); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); max-width: 20ch; margin-bottom: 0.3em; }
.page-head p { color: var(--text-2); max-width: 60ch; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: 0.82rem; color: var(--muted); margin: 0 0 26px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: 0.6; }

/* Guides listing */
.guides { padding: clamp(36px, 5vw, 56px) 0 clamp(72px, 9vw, 120px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 40px; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 0.86rem; font-weight: 500; color: var(--text-2); transition: all 0.2s; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.post-card > a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.post-card .thumb { aspect-ratio: 4 / 3; background: var(--bone-2); overflow: hidden; border-radius: var(--r); margin-bottom: 18px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card a:hover .thumb img { transform: scale(1.04); }
.post-card .pc-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .pc-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-2); }
.post-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.12; letter-spacing: -0.01em; margin: 0; transition: color 0.2s; }
.post-card a:hover h3 { color: var(--bronze-2); }
.post-card p { margin: 0; color: var(--text-2); font-size: 0.94rem; }
.post-card .pc-meta { margin-top: auto; padding-top: 6px; font-size: 0.8rem; color: var(--muted); }
.cards.feature-first .post-card:first-child { grid-column: 1 / -1; }
.cards.feature-first .post-card:first-child > a { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cards.feature-first .post-card:first-child .thumb { margin: 0; aspect-ratio: 16 / 10; }
.cards.feature-first .post-card:first-child h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.cards.feature-first .post-card:first-child p { font-size: 1.05rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .cards.feature-first .post-card:first-child > a { grid-template-columns: 1fr; gap: 18px; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Article */
.article-head { text-align: left; }
.article-head h1 { max-width: 22ch; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.article-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-top: 20px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 88px); padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); align-items: start; }
.article-wrap > * { min-width: 0; }
@media (max-width: 1000px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } }
.article-hero { margin: 0 0 clamp(32px, 5vw, 52px); border-radius: var(--r-lg); overflow: hidden; background: var(--bone-2); aspect-ratio: 16 / 9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.aside-card { position: sticky; top: 104px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 30px; overflow: hidden; }
.aside-card::before { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.1px, transparent 1.3px); background-size: 11px 11px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.aside-card .eyebrow { color: #d7b08b; margin-bottom: 16px; }
.aside-card h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; margin-bottom: 12px; }
.aside-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }
.aside-card .btn { width: 100%; position: relative; }
.aside-card ul { margin: 0 0 24px; padding: 0; list-style: none; font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); display: grid; gap: 9px; }
.aside-card li::before { content: "\2713\00a0\00a0"; color: #d7b08b; font-weight: 700; }
@media (max-width: 1000px) { .aside-card { position: static; } }
.related { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0; background: var(--paper); }
.related h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 40px; }

/* Prose */
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--text); max-width: 72ch; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose li { color: #353a43; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.08; letter-spacing: -0.01em; margin: 2em 0 0.55em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 0.5em; }
.prose h4 { font-size: 1.05rem; margin: 1.5em 0 0.5em; }
.prose a { color: var(--bronze-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--bronze); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { border-radius: var(--r); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.prose blockquote { margin: 2em 0; padding: 0 0 0 26px; border-left: 2px solid var(--bronze); font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--ink); }
.prose blockquote p { color: inherit; }
.prose .wp-block-table { margin: 2em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin: 0; }
.prose th, .prose td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th, .prose thead td { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); background: var(--bone); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose details { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: 0 22px; margin: 0 0 2em; }
.prose details summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary::after { content: "+"; color: var(--bronze); font-size: 1.3rem; line-height: 1; }
.prose details[open] summary::after { content: "\2212"; }
.prose .wp-block-rank-math-toc-block ul { list-style: none; padding-left: 0; font-size: 0.95rem; }
.prose .wp-block-rank-math-toc-block ul ul { padding-left: 1.1em; }
.prose .wp-block-rank-math-toc-block li { margin-bottom: 0.3em; }
.prose .wp-block-rank-math-toc-block a { text-decoration: none; color: var(--text-2); }
.prose .wp-block-rank-math-toc-block a:hover { color: var(--bronze-2); }
.prose .wp-block-image { margin: 2em 0; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-button__link { display: inline-block; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.prose .rank-math-faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.prose .rank-math-question { font-size: 1.1rem; margin: 0 0 6px; display: block; }
.prose iframe { max-width: 100%; }
.inline-cta { margin: 2.6em 0; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.inline-cta p { margin: 0; color: rgba(255, 255, 255, 0.72) !important; font-size: 0.98rem; max-width: 42ch; }
.inline-cta strong { color: #fff !important; font-family: var(--serif); font-weight: 400; display: block; font-size: 1.7rem; line-height: 1.1; margin-bottom: 6px; }
.inline-cta .btn { text-decoration: none; }
.inline-cta .btn-light { --bg: var(--gold); --fg: var(--night); color: var(--night) !important; }
.page-body { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px); }

/* Contact Form 7 */
.prose .wpcf7 label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 16px; }
.prose .wpcf7 input[type=text], .prose .wpcf7 input[type=email], .prose .wpcf7 textarea { width: 100%; margin-top: 8px; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-weight: 400; background: var(--paper); }
.prose .wpcf7 input:focus, .prose .wpcf7 textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 18, 23, 0.08); }
.prose .wpcf7 input[type=submit] { background: var(--ink); color: #fff; border: 0; padding: 16px 28px; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* Generic band CTA */
.band-cta { padding: clamp(72px, 9vw, 120px) 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.2px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 85% 50%, #000, transparent 70%); }
.band-cta .wrap { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.band-cta .eyebrow { color: #d7b08b; }
.band-cta h2 { color: #fff; max-width: 14ch; margin: 0 0 14px; }
.band-cta p { color: rgba(255, 255, 255, 0.66); max-width: 50ch; margin: 0; }

/* 404 / search */
.empty { text-align: center; padding: 80px 0; }
.empty h2 { margin-bottom: 12px; }
.empty .btn { margin: 6px; }
.searchform { display: flex; gap: 10px; max-width: 540px; margin: 28px auto 0; }
.searchform input { flex: 1; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--line-2); font: inherit; background: var(--paper); }
.searchform input:focus { outline: none; border-color: var(--ink); }

/* Cookie banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 600px; margin-inline: auto; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 280px; font-size: 0.88rem; color: var(--text-2); }
.consent a { color: var(--bronze-2); }
.consent-btns { display: flex; gap: 8px; }

@media print {
  .page-head::after, .aside-card, .related, .inline-cta, .band-cta { display: none !important; }
}

/* Visually hidden, still read by screen readers. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Luxury layer (v3): cinematic dark hero, photography, gold detailing
   ========================================================================== */
:root { --gold: #c9a57b; --gold-2: #a9825a; --night: #0b0c0f; --night-2: #14161b; }

/* Header floats over the dark hero on the home page */
.nav-over .nav { position: fixed; left: 0; right: 0; top: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-over .nav:not(.scrolled) .brand, .nav-over .nav:not(.scrolled) .brand-mark { color: #fff; }
.nav-over .nav:not(.scrolled) .brand-word small { color: rgba(255, 255, 255, 0.55); }
.nav-over .nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.78); }
.nav-over .nav:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-over .nav:not(.scrolled) .nav-right .btn { --bg: #fff; --fg: var(--ink); }
.nav-over .nav:not(.scrolled) .nav-menu summary { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.nav-over .nav.scrolled { background: rgba(247, 244, 239, 0.9); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }

/* Hero */
.hero-lux { position: relative; min-height: min(100svh, 980px); background: var(--night); color: #fff; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 62%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(11, 12, 15, 0.82) 18%, rgba(11, 12, 15, 0.25) 50%, rgba(11, 12, 15, 0) 70%), linear-gradient(0deg, var(--night) 0%, rgba(11, 12, 15, 0) 35%); }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--night) 0%, rgba(11, 12, 15, 0.7) 12%, rgba(11, 12, 15, 0) 30%); pointer-events: none; }
.hero-media::after { z-index: 1; }
.js .hero-media img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.js .hero-lux.in .hero-media img { transform: none; }
.hero-lux::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 600px at 10% 20%, rgba(201, 165, 123, 0.14), transparent 70%); }
.hero-lux-inner { width: min(1200px, 100% - 40px); margin-inline: auto; padding: 150px 0 clamp(56px, 8vh, 96px); }
.hero-lux .pill { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.82); box-shadow: none; backdrop-filter: blur(8px); }
.hero-lux .pill b { background: var(--gold); color: var(--night); }
.hero-lux h1 { color: #fff; font-size: clamp(3rem, 7vw, 6.4rem); max-width: 11ch; margin-bottom: 0.32em; }
.hero-lux h1 em { color: var(--gold); }
.hero-lux .lead { color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.hero-lux .hero-cta { margin: 36px 0 0; }
.btn-champagne { --bg: var(--gold); --fg: var(--night); }
.btn-champagne:hover { --bg: #d8b78f; box-shadow: 0 14px 34px -12px rgba(201, 165, 123, 0.6); }
.link-light { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.link-light:hover { border-color: #fff; }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px, 9vh, 96px); padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-foot .hero-stats { border: 0; padding: 0; max-width: none; }
.hero-foot .hero-stats li { border-color: rgba(255, 255, 255, 0.14); }
.hero-foot .hero-stats b { color: #fff; }
.hero-foot .hero-stats span { color: rgba(255, 255, 255, 0.5); }
.hero-caption { font-size: 0.74rem; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.04em; }
@media (max-width: 900px) {
  .hero-lux { min-height: 0; align-items: stretch; flex-direction: column; }
  .hero-media { position: relative; width: 100%; height: 62vh; min-height: 380px; inset: auto; }
  .hero-media::after { background: linear-gradient(0deg, var(--night) 2%, rgba(11, 12, 15, 0.1) 55%, rgba(11, 12, 15, 0.45) 100%); }
  .hero-lux-inner { padding: 0 0 56px; margin-top: -120px; position: relative; }
}

/* Gold marquee */
.marquee { background: var(--night); border-top: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--gold); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* See the difference */
.diff { padding: clamp(88px, 11vw, 150px) 0; }
.diff-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.diff h2 { max-width: 12ch; }
.diff-copy > p { color: var(--text-2); max-width: 44ch; }
.facts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 20px 16px 0 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.facts span { font-size: 0.82rem; color: var(--muted); }
.diff .scalp { max-width: 580px; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr; } }

/* Who it's for: photo cards */
.who { padding: 0 0 clamp(88px, 11vw, 150px); }
.who-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr; gap: 16px; }
.who-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; background: var(--night-2); }
.who-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.who-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 12, 15, 0.88) 0%, rgba(11, 12, 15, 0.25) 45%, rgba(11, 12, 15, 0) 70%); }
.who-card:hover img { transform: scale(1.05); }
.who-body { padding: 30px; width: 100%; }
.who-body .cat { color: var(--gold); }
.who-body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.05; color: #fff; margin: 8px 0 10px; }
.who-body p { color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; margin: 0 0 16px; max-width: 34ch; }
.who-body .more { display: inline-flex; gap: 8px; font-size: 0.86rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 3px; transition: gap 0.25s var(--ease), border-color 0.2s; }
.who-card:hover .more { gap: 12px; border-color: #fff; }
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr 1fr; } .who-card:first-child { grid-column: 1 / -1; } .who-card { min-height: 440px; } }
@media (max-width: 600px) { .who-grid { grid-template-columns: 1fr; } .who-card { min-height: 400px; } }

/* Statement over texture */
.statement { position: relative; background: var(--night); color: #fff; padding: clamp(110px, 15vw, 210px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.statement img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.38; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(11, 12, 15, 0.35), rgba(11, 12, 15, 0.92) 75%); }
.statement blockquote { margin: 0 auto; max-width: 20ch; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.06; letter-spacing: -0.015em; }
.statement blockquote em { color: var(--gold); }
.statement p { margin: 28px auto 0; color: rgba(255, 255, 255, 0.6); max-width: 52ch; }

/* Artists band with photo */
.artists-lux { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.artists-lux img { position: absolute; inset: 0 0 0 auto; width: 55%; height: 100%; object-fit: cover; z-index: -2; }
.artists-lux::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 45%, rgba(11, 12, 15, 0.35) 75%, rgba(11, 12, 15, 0.1)); }
.artists-lux .wrap { padding: clamp(88px, 11vw, 150px) 0; }
.artists-lux .eyebrow { color: var(--gold); }
.artists-lux h2 { color: #fff; max-width: 13ch; }
.artists-lux p { color: rgba(255, 255, 255, 0.7); max-width: 48ch; margin-bottom: 30px; }
@media (max-width: 760px) { .artists-lux img { width: 100%; opacity: 0.35; } .artists-lux::after { background: linear-gradient(0deg, var(--night) 30%, rgba(11, 12, 15, 0.6)); } }

/* Gold detailing on existing pieces */
.tool .eyebrow, .tool-head h2 em { color: var(--gold); }
.t-score .big-ring { background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, 0.1) 0); }
.footer-claim em { color: var(--gold); }
.footer { background: var(--night); }
.sec-gold-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.5; }

/* One warm grade so mixed stock photos sit in the same palette as the hero */
.who-card img { filter: saturate(0.8) sepia(0.1) contrast(1.04) brightness(0.92); object-position: 50% 25%; }
.who-card:hover img { filter: saturate(0.7) sepia(0.15) contrast(1.06) brightness(0.92); }
.statement img { filter: sepia(0.2) saturate(0.8); }

/* Inner pages: dark cinematic page heads under the floating header */
.page-head { background: var(--night); color: #fff; border: 0; padding: calc(76px + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(800px 500px at 0% 0%, rgba(201, 165, 123, 0.14), transparent 70%); }
.page-head::after { background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.1px, transparent 1.3px); z-index: -1; }
.page-head h1 { color: #fff; }
.page-head h1 em { color: var(--gold); }
.page-head p { color: rgba(255, 255, 255, 0.7); }
.page-head .eyebrow { color: var(--gold); }
.crumbs { color: rgba(255, 255, 255, 0.45); }
.crumbs a { color: rgba(255, 255, 255, 0.72); }
.crumbs a:hover { color: #fff; }
.article-meta { color: rgba(255, 255, 255, 0.55); }
.head-media { position: absolute; inset: 0 0 0 auto; width: 52%; z-index: -1; }
.head-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) sepia(0.2) contrast(1.05) brightness(0.8); }
.head-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(11, 12, 15, 0.75) 30%, rgba(11, 12, 15, 0.2) 75%), linear-gradient(180deg, var(--night) 0%, rgba(11, 12, 15, 0) 30%, rgba(11, 12, 15, 0) 70%, var(--night) 100%); }
.page-head.has-media { min-height: min(78svh, 720px); display: flex; align-items: flex-end; }
.page-head.has-media h1 { max-width: 16ch; }
.page-head.has-media .wrap { width: min(1200px, 100% - 40px); }
@media (max-width: 900px) { .head-media { width: 100%; } .head-media::after { background: linear-gradient(0deg, var(--night) 15%, rgba(11, 12, 15, 0.55) 60%, rgba(11, 12, 15, 0.75) 100%); } .page-head.has-media { min-height: 0; padding-top: calc(76px + 40vw); } }
.article-wrap { padding-top: clamp(48px, 6vw, 80px); }

/* Clinic interior behind the assessment and the CTA band */
.tool, .band-cta { isolation: isolate; background: var(--night); }
.tool-bg, .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.22; }
.band-bg { opacity: 0.35; object-position: 50% 60%; }
.tool::before, .tool::after, .band-cta::before { z-index: -1; }
.band-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 25%, rgba(11, 12, 15, 0.4)); }
.band-cta .eyebrow, .band-cta h2 em { color: var(--gold); }
.band-cta .btn-light { --bg: var(--gold); --fg: var(--night); }
.artists-lux img { filter: none; }
.page-head.has-media.short { min-height: min(60svh, 560px); }

/* Wide tables scroll inside themselves, never the page */
.prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table tbody, .prose table thead { display: table; width: 100%; min-width: 520px; }
html, body { overflow-x: clip; }
.page-head::after { right: 0; top: -40px; width: min(520px, 60vw); height: min(520px, 60vw); }
.aside-card::before { right: 0; top: 0; width: 160px; height: 160px; }

/* FAQ page */
.faq-page { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); align-items: start; }
.faq-toc { position: sticky; top: 104px; display: grid; gap: 2px; }
.faq-toc a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--text-2); font-weight: 500; transition: background 0.2s, color 0.2s; }
.faq-toc a span { font-size: 0.75rem; color: var(--muted); background: var(--bone-2); border-radius: 99px; padding: 2px 8px; }
.faq-toc a:hover { background: var(--paper); color: var(--ink); }
.faq-toc-cta { margin-top: 22px; padding: 20px; border-radius: var(--r); background: var(--ink); color: #fff; }
.faq-toc-cta p { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; margin: 0 0 12px; }
.faq-toc-cta .btn { --bg: var(--gold); --fg: var(--night); }
.faq-group { margin-bottom: clamp(48px, 6vw, 72px); scroll-margin-top: 100px; }
.faq-group h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 18px; }
@media (max-width: 900px) { .faq-page { grid-template-columns: 1fr; } .faq-toc { position: static; grid-template-columns: 1fr 1fr; } .faq-toc .eyebrow, .faq-toc-cta { grid-column: 1 / -1; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); align-items: start; }
.contact-route { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-route:last-child { border-bottom: 1px solid var(--line); }
.contact-route .k { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-2); }
.contact-route h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin: 8px 0 8px; }
.contact-route p { color: var(--text-2); margin: 0 0 12px; }
.contact-mail { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.contact-mail:hover { border-color: var(--ink); }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); max-width: none; }
.contact-card h2 { margin-top: 0; }
.prose .wpcf7 input[type=submit] { background: var(--ink); padding: 17px 30px; font-size: 1rem; }
.prose .wpcf7-response-output { border-radius: 12px; margin: 16px 0 0 !important; padding: 12px 16px !important; font-size: 0.9rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { order: -1; } }

/* Wizard polish */
.tool .card .muted, .card .small.muted { color: var(--muted); }
.card a { color: var(--bronze-2); }
.choices { align-items: stretch; }
.choice { display: flex; }
.choice span { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 64px; }
.choice.has-icon span { padding-right: 78px; min-height: 84px; }
.choice .ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 50px; height: 58px; pointer-events: none; opacity: 0.9; transition: transform 0.25s var(--ease); }
.choice:hover .ico { transform: translateY(-50%) scale(1.06); }
.choice input:checked ~ .ico { opacity: 1; }
.tool .card a, .tool .card .small a { color: var(--bronze-2); }
@media (max-width: 600px) {
  .wiz-nav { flex-direction: column-reverse; align-items: stretch; }
  .wiz-nav > .btn, .wiz-nav .right { width: 100%; }
  .wiz-nav .right { flex-direction: column; margin-left: 0; }
  .wiz-nav .right .btn, .wiz-nav > .btn { width: 100%; }
  .wiz-nav > span:empty { display: none; }
}
.choice span::before { top: 50%; margin-top: -9px; }

/* ==========================================================================
   Hero v4: assessment starts in the banner
   ========================================================================== */
.hero-lux { min-height: max(720px, min(100svh, 940px)); align-items: stretch; }
.hero-lux-inner { display: flex; flex-direction: column; justify-content: center; padding: 112px 0 28px; min-height: inherit; }
.hero-copy { max-width: 640px; }
.hero-lux .pill { margin-bottom: 22px; }
.hero-lux h1 { font-size: clamp(2.8rem, 5.4vw, 4.9rem); max-width: 13ch; margin-bottom: 0.28em; }
.hero-lux .lead { font-size: 1.08rem; max-width: 48ch; margin-bottom: 28px; }
.hero-foot { margin-top: auto; padding-top: 22px; align-items: center; }
.hero-scroll { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.85rem; font-weight: 500; display: inline-flex; gap: 8px; }
.hero-scroll:hover { color: #fff; }
.hero-scroll span { display: inline-block; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* Quick-start card */
.qs-card { position: relative; max-width: 600px; padding: 22px 22px 18px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.qs-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(201, 165, 123, 0.7), rgba(201, 165, 123, 0) 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.qs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.qs-step { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.qs-time { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.qs-time i { width: 7px; height: 7px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 0 4px rgba(95, 211, 154, 0.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(95, 211, 154, 0); } }
.qs-q { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.15; color: #fff; margin: 0 0 16px; }
.qs-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qs-opts button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 14px 40px 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.85); background: #fff; color: var(--ink); cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s; }
.qs-opts button span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.qs-opts button b { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.qs-opts button svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--bronze-2); transition: transform 0.25s var(--ease); }
.qs-opts button:hover { transform: translateY(-2px); background: var(--gold); border-color: var(--gold); box-shadow: 0 16px 34px -14px rgba(201, 165, 123, 0.8); }
.qs-opts button:hover span { color: rgba(11, 12, 15, 0.6); }
.qs-opts button:hover svg { transform: translateX(3px); color: var(--night); }
.qs-opts button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Clinic finder (shown in the hero while the assessment is off). */
.qs-find { display: flex; gap: 8px; margin-bottom: 10px; }
.qs-find input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.85); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.qs-find input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.qs-find .btn { height: 52px; border-radius: 16px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; }
.qs-find .btn svg { width: 18px; height: 18px; }
.qs-cities { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qs-cities a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 11px 12px 11px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; font-size: 0.92rem; transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
.qs-cities a b { font-weight: 600; }
.qs-cities a svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.qs-cities a:hover { background: rgba(201, 165, 123, 0.22); border-color: var(--gold); transform: translateY(-2px); }
.qs-cities a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 560px) { .qs-cities { grid-template-columns: 1fr 1fr; } .qs-find .btn { padding: 0 16px; } }
.qs-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }
.qs-trust li { display: flex; align-items: center; gap: 7px; }
.qs-trust li::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23c9a57b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 900px) {
  .hero-lux { min-height: 0; }
  .hero-media { height: 44svh; min-height: 300px; }
  .hero-lux-inner { padding: 0 0 36px; margin-top: -110px; min-height: 0; }
  .hero-foot { margin-top: 28px; }
}
@media (max-width: 600px) {
  .hero-media { height: 38svh; min-height: 260px; }
  .hero-media img { object-position: 60% 25%; }
  .hero-lux-inner { margin-top: -96px; }
  .hero-lux .pill { margin-bottom: 14px; font-size: 0.75rem; }
  .hero-lux h1 { font-size: 2.55rem; margin-bottom: 0.3em; }
  .hero-lux .lead { font-size: 0.98rem; margin-bottom: 18px; }
  .qs-card { padding: 16px 14px 14px; border-radius: 20px; }
  .qs-q { font-size: 1.35rem; margin-bottom: 12px; }
  .qs-opts { gap: 7px; }
  .qs-opts button { padding: 11px 10px 30px; border-radius: 13px; }
  .qs-opts button b { font-size: 0.86rem; line-height: 1.2; }
  .qs-opts button span { font-size: 0.6rem; }
  .qs-opts button svg { top: auto; bottom: 9px; right: 10px; margin: 0; width: 15px; height: 15px; }
  .qs-trust { font-size: 0.74rem; gap: 4px 12px; }
  .hero-foot .hero-stats { display: none; }
  .hero-foot { justify-content: center; }
}
.hero-lux h1 { max-width: none; font-size: clamp(3rem, 6.2vw, 5.8rem); }
.hero-lux .lead strong { color: #fff; font-weight: 600; }
@media (max-height: 820px) and (min-width: 901px) {
  .hero-lux-inner { padding-top: 96px; }
  .hero-lux h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
  .hero-lux .lead { margin-bottom: 20px; }
  .qs-card { padding: 18px 20px 14px; }
}
@media (max-width: 600px) { .hero-lux h1 { font-size: 2.9rem; } }
@media (max-width: 380px) { .hero-media { height: 34svh; min-height: 220px; } .hero-lux .lead { font-size: 0.93rem; } .hero-lux .pill { display: none; } }
@media (max-width: 900px) { .hero-lux::before { display: none; } }

/* ==========================================================================
   Engagement layer
   ========================================================================== */
/* Instant estimator */
.est { margin-top: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.est-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.est .k { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-2); }
.est-note { font-size: 0.75rem; color: var(--muted); }
.est-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.est-chips button, .est-region button { border: 1px solid var(--line-2); background: var(--paper); color: var(--text-2); padding: 8px 13px; border-radius: 999px; font-size: 0.84rem; font-weight: 500; cursor: pointer; transition: all 0.2s var(--ease); }
.est-chips button:hover, .est-region button:hover { border-color: var(--ink); color: var(--ink); }
.est-chips button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.est-region { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bone-2); gap: 2px; margin-bottom: 18px; }
.est-region button { border: 0; background: transparent; padding: 7px 14px; }
.est-region button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.est-out { border-top: 1px solid var(--bone-2); padding-top: 16px; margin-bottom: 18px; }
.est-fig { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.est-meta { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }
.est-bar { position: relative; height: 8px; border-radius: 99px; background: var(--bone-2); margin-top: 14px; overflow: hidden; }
.est-bar span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.ranges li { cursor: pointer; }
.ranges li:hover h3 { color: var(--bronze-2); }
.ranges li.on h3 { color: var(--bronze-2); }
.ranges li.on .bar span { background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.ranges li .bar span { transition: background 0.3s, transform 1.1s var(--ease); }

/* Journey timeline */
.journey { padding: clamp(88px, 11vw, 150px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.jr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.jr::before { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 2px; background: var(--bone-2); }
.jr::after { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease); }
.jr.in::after { transform: scaleX(1); }
.jr li { position: relative; padding-top: 34px; }
.jr-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); transition: border-color 0.4s, background 0.4s, box-shadow 0.4s; transition-delay: calc(var(--i) * 0.38s); z-index: 1; }
.jr.in .jr-dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 165, 123, 0.2); }
.jr-when { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 8px; }
.jr h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin-bottom: 8px; }
.jr p { font-size: 0.9rem; color: var(--text-2); margin: 0; }
.js .jr li { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 0.38s); }
.js .jr.in li { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .jr { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .jr::before, .jr::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .jr::after { transform: scaleY(0); transform-origin: top; }
  .jr.in::after { transform: scaleY(1); }
  .jr li { padding: 0 0 30px; }
  .jr-dot { left: -34px; top: 4px; }
}

/* Floating assessment button */
.sticky-cta { position: fixed; left: 50%; bottom: 20px; z-index: 150; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 18px; border-radius: 999px; background: var(--night); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 165, 123, 0.35); transform: translate(-50%, 140%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s; pointer-events: none; white-space: nowrap; }
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-cta b { font-weight: 500; font-size: 0.78rem; color: var(--night); background: var(--gold); padding: 3px 8px; border-radius: 99px; }
.sticky-cta .sc-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 0 4px rgba(95, 211, 154, 0.2); animation: pulse 2s ease-in-out infinite; }
.sticky-cta:hover .arr { transform: translateX(3px); }
.sticky-cta .arr { transition: transform 0.25s var(--ease); }

/* Score ring fills when it comes into view */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.big-ring, .ring { transition: --p 1.6s var(--ease); }
.js .t-score:not(.in) .big-ring { --p: 0 !important; }
.hero-lux.in .hero-media img { transition: transform 1.4s var(--ease); }

/* ==========================================================================
   App layer: assessment frame, transitions, full-screen mode, tab bar
   ========================================================================== */
/* Segmented progress */
.progress { height: auto; background: transparent; display: flex; gap: 5px; padding: 22px clamp(26px, 5vw, 52px) 0; }
.progress[hidden] { display: none; }
.progress i { flex: 1; height: 4px; border-radius: 99px; background: var(--bone-2); position: relative; overflow: hidden; }
.progress i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.progress i.done::after { transform: scaleX(1); }
.progress i.now::after { transform: scaleX(0.5); }
#wizard-body { min-height: 470px; }
.wizard { overflow: hidden; }

/* Step transitions */
.wz-ghost { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 2; }
.wz-in.wz-fwd { animation: wzInF 0.42s cubic-bezier(.2,.7,.2,1) both; }
.wz-in.wz-back { animation: wzInB 0.42s cubic-bezier(.2,.7,.2,1) both; }
.wz-out.wz-fwd { animation: wzOutF 0.3s ease-in both; }
.wz-out.wz-back { animation: wzOutB 0.3s ease-in both; }
@keyframes wzInF { from { opacity: 0; transform: translateX(36px); } }
@keyframes wzInB { from { opacity: 0; transform: translateX(-36px); } }
@keyframes wzOutF { to { opacity: 0; transform: translateX(-36px); } }
@keyframes wzOutB { to { opacity: 0; transform: translateX(36px); } }

/* Uniform action bar */
.wiz-nav .wz-back { padding: 13px 18px 13px 14px; gap: 6px; }
.wiz-nav .wz-back svg { width: 18px; height: 18px; }
.wiz-nav .wz-next { min-width: 150px; }
.wiz-nav .btn:disabled { opacity: 0.35; }
.choice span { transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s var(--ease); }
.choice input:checked + span { animation: pop 0.28s var(--ease); }
@keyframes pop { 40% { transform: scale(0.97); } }

/* App bar (full-screen only) */
.wz-bar { display: none; }

/* Touch feedback, no hover jumps on touch screens */
html { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:hover, .choice:hover span, .who-card:hover img, .qs-opts button:hover { transform: none; box-shadow: none; }
  .btn:active, .qs-opts button:active, .tab:active, .est-chips button:active { transform: scale(0.96); transition: transform 0.08s; }
  .choice:active span { transform: scale(0.98); }
}

/* Tab bar: phones only */
.tabbar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .sticky-cta { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; padding: 6px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 248, 244, 0.9); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-top: 1px solid rgba(15, 18, 23, 0.08); }
  .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 2px; text-decoration: none; color: var(--muted); position: relative; }
  .tab svg { width: 24px; height: 24px; }
  .tab b { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.01em; }
  .tab.on { color: var(--ink); }
  .tab.on::before { content: ""; position: absolute; top: -6px; width: 22px; height: 3px; border-radius: 0 0 4px 4px; background: var(--gold); }
  .tab-main { color: var(--ink); }
  .tab-fab { width: 56px; height: 56px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #e2c39e, var(--gold) 45%, var(--gold-2)); box-shadow: 0 10px 24px -8px rgba(169, 130, 90, 0.75), 0 0 0 5px rgba(250, 248, 244, 0.95); }
  .tab-fab .brand-mark { width: 30px; height: 30px; color: var(--night); }
  .footer { padding-bottom: 40px; }
  /* Compact app header */
  .nav-inner { height: 60px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word small { display: none; }
  .nav-menu summary { width: 40px; height: 40px; }
  #wizard-body { min-height: 0; }
}

/* Full-screen assessment on phones */
html.wz-open, html.wz-open body { overflow: hidden; }
html.wz-open .tabbar, html.wz-open .nav, html.wz-open .sticky-cta { visibility: hidden; }
.wizard.wz-fs { position: fixed; inset: 0; z-index: 400; border-radius: 0; box-shadow: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; animation: sheetUp 0.38s cubic-bezier(.2,.7,.2,1); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.wz-fs .wz-bar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 6; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: calc(env(safe-area-inset-top) + 8px) 14px 8px; }
.wz-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.wz-close svg { width: 18px; height: 18px; }
.wz-title { flex: 1; text-align: center; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.wz-count { min-width: 40px; text-align: right; font-size: 0.8rem; font-weight: 600; color: var(--bronze-2); }
.wz-fs .progress { position: sticky; top: calc(env(safe-area-inset-top) + 56px); z-index: 6; background: rgba(255, 255, 255, 0.94); padding: 4px 16px 10px; }
.wz-fs #wizard-body { flex: 1; padding: 18px 18px 0; display: flex; flex-direction: column; }
.wz-fs .q { font-size: 1.85rem; }
.wz-fs .wiz-nav { position: sticky; bottom: 0; z-index: 5; margin: auto -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--bone-2); flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 10px; }
.wz-fs .wiz-nav > .btn, .wz-fs .wiz-nav .right { width: auto; }
.wz-fs .wiz-nav .right { flex: 1; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.wz-fs .wiz-nav .right .btn { width: auto; flex: 1; padding: 15px 16px; }
.wz-fs .wiz-nav .wz-back span { display: none; }
.wz-fs .wiz-nav .wz-back { padding: 13px; }
.wz-fs .wiz-nav > span:empty { display: none; }
.wz-fs .error { margin-top: 4px; }
.wz-fs .analysing, .wz-fs .intro { margin: auto 0; }
.wz-fs .gate { margin-top: -110px; }
.wz-fs .result-actions { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

/* ==========================================================================
   Analysing screen
   ========================================================================== */
.an { text-align: center; padding: 18px 0 8px; }
.an-visual { position: relative; width: 188px; height: 188px; margin: 6px auto 26px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 40% 35%, #f1d3b8, #d9a983 70%, #c08a64); box-shadow: 0 0 0 8px var(--bone), 0 0 0 9px var(--line), 0 24px 50px -20px rgba(60, 40, 25, 0.5); }
.an-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.an-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(46, 32, 24, 0.7) 1.3px, transparent 1.6px); background-size: 9px 9px; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); opacity: 0.55; }
.an-visual.has-photo .an-grid { background-image: radial-gradient(rgba(201, 165, 123, 0.9) 1px, transparent 1.4px); background-size: 14px 14px; opacity: 0.6; }
.an-scan { position: absolute; left: 0; right: 0; height: 46%; top: -46%; background: linear-gradient(180deg, transparent, rgba(201, 165, 123, 0.35) 70%, rgba(255, 236, 205, 0.95) 98%, transparent); animation: scan 2.4s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes scan { to { top: 100%; } }
.an .q { margin-bottom: 18px; }
.an-steps { list-style: none; margin: 0 auto 18px; padding: 0; max-width: 330px; text-align: left; display: grid; gap: 4px; }
.an-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: 0.93rem; color: var(--muted); transition: color 0.3s, background 0.3s; }
.an-steps li i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: all 0.3s; }
.an-steps li.now { color: var(--ink); background: var(--bone); font-weight: 600; }
.an-steps li.now i { border-color: var(--gold); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.an-steps li.done { color: var(--text-2); }
.an-steps li.done i { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ==========================================================================
   Report
   ========================================================================== */
.rep-cover { background: var(--night); color: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 34px); position: relative; overflow: hidden; isolation: isolate; margin-bottom: 8px; }
.rep-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 100% 0%, rgba(201, 165, 123, 0.28), transparent 70%); }
.rep-cover::after { content: ""; position: absolute; right: 0; top: 0; width: 220px; height: 220px; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.1px, transparent 1.3px); background-size: 11px 11px; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); }
.rep-top { display: flex; justify-content: space-between; gap: 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.rep-top span + span { color: rgba(255, 255, 255, 0.5); letter-spacing: 0.06em; }
.rep-cover .result-head h3 { color: #fff; }
.rep-cover .ring { background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, 0.12) 0); }
.rep-cover .ring b { background: var(--night); color: #fff; }
.rep-cover .ring b small { color: rgba(255, 255, 255, 0.5); }
.rep-cover .kv { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.1); margin-bottom: 0; }
.rep-cover .kv div { background: rgba(255, 255, 255, 0.04); }
.rep-cover .kv dt { color: rgba(255, 255, 255, 0.5); }
.rep-cover .kv dd { color: #fff; }
.rep-cover .verdict.excellent, .rep-cover .verdict.good { background: rgba(95, 211, 154, 0.15); color: #7fe0b0; }
.rep-cover .verdict.possible_with_caveats { background: rgba(240, 180, 80, 0.15); color: #f2c27a; }
.rep-cover .verdict.unlikely { background: rgba(240, 110, 100, 0.15); color: #f4978e; }
.rsec h4 { display: flex; align-items: baseline; gap: 12px; }
.rn { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--bronze); }
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-grid div, .two-col.cards div { background: var(--bone); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.ap-grid span, .two-col.cards span, .sub { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 6px; }
.ap-grid p, .two-col.cards p { margin: 0; font-size: 0.93rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
.flags li::before { background: var(--red) !important; }
.rep-bar { position: relative; height: 10px; border-radius: 99px; background: var(--bone-2); margin: 6px 0; }
.rep-bar span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.rep-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-bottom: 14px; }
.plan { list-style: none; margin: 16px 0 0; padding: 0 !important; display: flex; }
.plan li { flex: 1; position: relative; padding: 24px 0 0 !important; margin: 0; font-size: 0.78rem; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; width: auto; border-radius: 0; background: var(--line-2) !important; }
.plan li:last-child::before { display: none; }
.plan li i { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); z-index: 1; }
.plan li.opt i { background: #fff; border: 2px dashed var(--ink); }
.plan li.end i { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 165, 123, 0.25); }
.plan li span { display: block; padding-right: 8px; }
.caution { background: var(--amber-soft); border-radius: 14px; padding: 14px 18px; border-left: 3px solid var(--amber); }
.caution ul { margin: 0; }
.caution li::before { background: var(--amber) !important; }
.q-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px !important; }
.qlist { list-style: none; padding: 0 !important; margin: 0; }
.qlist li { padding: 0 !important; margin: 0 0 6px; }
.qlist li::before { display: none; }
.qlist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.qlist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.qlist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.25); }
.qlist label:has(input:checked) { background: var(--green-soft); border-color: transparent; }
.steps-list { counter-reset: n; list-style: none; padding: 0 !important; margin: 0; }
.steps-list li { counter-increment: n; position: relative; padding: 2px 0 12px 44px; margin: 0; color: var(--text-2); }
.steps-list li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600; }
@media (max-width: 600px) {
  .ap-grid, .two-col { grid-template-columns: 1fr; }
  .plan { flex-direction: column; gap: 14px; }
  .plan li { padding: 0 0 0 30px !important; }
  .plan li::before { top: 16px; left: 7px; right: auto; bottom: -14px; width: 2px; height: auto; }
}
@media print { .rep-cover { background: #fff; color: #000; border: 1px solid #ddd; } .rep-cover * { color: #000 !important; } }

/* Certificate and matching clinics (after the report is unlocked). */
.rsec.cert { background: linear-gradient(160deg, #fbf7f0, #f3ebdd); border-radius: 20px; padding: 22px; border: 1px solid #eadcc4; }
.cert-fig { margin: 6px 0 14px; }
.cert-fig img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 50px -28px rgba(15, 18, 23, 0.45); background: #f7f4ef; }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.rec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 14px 0 16px; }
.rec { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.2s; }
.rec:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15, 18, 23, 0.35); border-color: var(--gold); }
.rec-img { position: relative; display: block; height: 130px; overflow: hidden; background: linear-gradient(135deg, #1b1f26, #3a3128); }
.rec-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-top { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 99px; background: var(--gold); color: var(--night, #0b0c0f); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.rec-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.rec-body strong { font-size: 1.02rem; }
.rec-ok { font-style: normal; color: var(--green); font-size: 0.85rem; }
.rec-meta { font-size: 0.85rem; color: var(--muted); }
.rec-rate { color: var(--bronze); font-weight: 600; margin-left: 4px; }
.rec-body ul { margin: 6px 0 8px; padding-left: 18px !important; font-size: 0.86rem; color: var(--text-2, #3d4148); }
.rec-body li { margin: 0 0 2px; }
.rec-go { margin-top: auto; font-weight: 600; font-size: 0.88rem; color: var(--bronze); }
.rec-more { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .rec-grid { grid-template-columns: 1fr; } .rsec.cert { padding: 16px; } }
@media print { .cert-actions, .rec-more { display: none; } }

/* ==========================================================================
   Assessment motion
   ========================================================================== */
#wizard-body .choice, #wizard-body .swatch, #wizard-body .field, #wizard-body .photo-tips li, #wizard-body .intro-points li { animation: rise 0.5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 45ms + 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
#wizard-body .q, #wizard-body .q-help, #wizard-body .step-label { animation: rise 0.45s cubic-bezier(.2,.7,.2,1) both; }
#wizard-body .q-help { animation-delay: 40ms; }

/* Selection: a gold glow pulses out from the chosen answer */
.choice span::after { content: ""; position: absolute; inset: -1px; border-radius: 14px; border: 2px solid var(--gold); opacity: 0; pointer-events: none; }
.choice input:checked + span::after { animation: glowOut 0.7s ease-out; }
@keyframes glowOut { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
.choice input:checked + span::before { animation: dotIn 0.3s cubic-bezier(.3,1.6,.5,1); }
@keyframes dotIn { from { transform: scale(0.4); } }
.swatch input:checked + span i { animation: swatchPop 0.4s cubic-bezier(.3,1.6,.5,1); }
@keyframes swatchPop { 40% { transform: scale(1.14); } }
.choice.has-icon input:checked ~ .ico { animation: icoSpin 0.5s cubic-bezier(.3,1.4,.5,1); }
@keyframes icoSpin { 40% { transform: translateY(-50%) scale(1.15) rotate(-6deg); } }

/* Progress: the current segment shimmers */
.progress i.now::after { transform: scaleX(0.55); background: linear-gradient(90deg, var(--gold-2), var(--gold), #f3dcbc, var(--gold)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Encouraging toast */
.wz-toast { position: absolute; left: 50%; top: 14px; z-index: 20; transform: translate(-50%, -10px); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--night); color: #fff; font-size: 0.88rem; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); white-space: nowrap; animation: toastIn 0.45s cubic-bezier(.3,1.4,.5,1) forwards; }
.wz-toast i { width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b0c0f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.wz-toast.out { animation: toastOut 0.4s ease-in forwards; }
@keyframes toastIn { to { transform: translate(-50%, 0); opacity: 1; } from { opacity: 0; } }
@keyframes toastOut { from { transform: translate(-50%, 0); opacity: 1; } to { transform: translate(-50%, -10px); opacity: 0; } }
.wz-fs .wz-toast { position: fixed; top: calc(env(safe-area-inset-top) + 74px); }

/* Photo step: the camera gently breathes, the preview gets a scan pass */
.drop::before { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(15, 18, 23, 0.06); } }
.preview { position: relative; overflow: hidden; }
.preview::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgba(201, 165, 123, 0.35), transparent); animation: sweep 1.4s ease-out 1; }
@keyframes sweep { to { left: 110%; } }

/* ==========================================================================
   Report infographics
   ========================================================================== */
.glance-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 0.9fr; gap: 12px; }
.glance-grid.two { grid-template-columns: 1fr 1fr; }
.g-card { background: var(--bone); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; }
.g-card .k { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 8px; }
.gauge { width: 100%; max-width: 220px; margin: 0 auto; display: block; }
.gauge .gl { font: 600 9px var(--sans); fill: var(--muted); letter-spacing: 0.04em; }
.gauge .needle { transform-origin: 100px 100px; transform: rotate(-90deg); transition: transform 1.6s cubic-bezier(.3,1.3,.5,1) 0.2s; }
.in .gauge .needle, .glance:not(.rv) .gauge .needle { transform: rotate(var(--a)); }
.g-big { margin: 6px 0 0 !important; text-align: center; font-size: 0.85rem; color: var(--text-2) !important; }
.g-big b { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--ink); line-height: 1; }
.g-big small { color: var(--muted); margin-right: 6px; }
.scale { display: flex; gap: 4px; align-items: flex-end; margin: 4px 0 8px; }
.scale figure { flex: 1; margin: 0; text-align: center; opacity: 0.35; transition: opacity 0.4s, transform 0.5s cubic-bezier(.3,1.4,.5,1); transition-delay: calc(var(--d) * 70ms); }
.scale svg { width: 100%; max-width: 44px; display: block; margin: 0 auto 4px; }
.scale figcaption { font-size: 0.7rem; font-weight: 600; color: var(--muted); }
.in .scale figure.on, .glance:not(.rv) .scale figure.on { opacity: 1; transform: translateY(-6px) scale(1.18); }
.scale figure.on figcaption { color: var(--ink); }
.scale figure.on svg { filter: drop-shadow(0 6px 8px rgba(169, 130, 90, 0.45)); }
.g-note { font-size: 0.8rem !important; color: var(--muted) !important; margin: auto 0 0 !important; }
.g-num { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--ink) !important; margin: 4px 0 12px !important; }
.g-num b { font-weight: 400; }
.g-num small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
.g-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.g-dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 0.45s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--d) * 120ms + 0.3s); }
.g-dots i.opt { background: transparent; border: 2px dashed var(--ink); }
.in .g-dots i, .glance:not(.rv) .g-dots i { transform: scale(1); }
@media (max-width: 760px) { .glance-grid, .glance-grid.two { grid-template-columns: 1fr; } }

/* Cost stats and comparison chart */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.stat { background: var(--night); color: #fff; border-radius: 14px; padding: 14px 16px; }
.stat span { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.stat b i { font-style: normal; }
.stat small { font-family: var(--sans); font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.cmp { border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 6px 0 14px; }
.cmp-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 120px; gap: 12px; align-items: center; padding: 8px 0; }
.cmp-l { font-size: 0.86rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.cmp-l small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); }
.cmp-track { position: relative; height: 12px; border-radius: 99px; background: var(--bone-2); }
.cmp-track span { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: #9aa0a8; transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d) * 150ms + 0.2s); }
.cmp-row.you .cmp-track span { background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.cmp-row.you .cmp-l { color: var(--bronze-2); }
.in .cmp-track span { transform: scaleX(1); }
.cmp-v { font-size: 0.82rem; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.cmp-note { font-size: 0.76rem !important; color: var(--muted) !important; margin: 8px 0 0 !important; }
@media (max-width: 600px) {
  .stat-row { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .cmp-track { grid-column: 1 / -1; grid-row: 2; }
}
.rep-bar span { transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1) 0.2s; }
.in .rep-bar span { transform: scaleX(1); }
.plan li i { transform: scale(0); transition: transform 0.45s cubic-bezier(.3,1.6,.5,1); }
.plan li:nth-child(1) i { transition-delay: 0.2s; } .plan li:nth-child(2) i { transition-delay: 0.35s; } .plan li:nth-child(3) i { transition-delay: 0.5s; } .plan li:nth-child(4) i { transition-delay: 0.65s; } .plan li:nth-child(5) i { transition-delay: 0.8s; } .plan li:nth-child(6) i { transition-delay: 0.95s; } .plan li:nth-child(7) i { transition-delay: 1.1s; }
.in .plan li i { transform: scale(1); }

/* Report sections reveal on scroll */
.rsec.rv, .rep-cover.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.rsec.rv.in, .rep-cover.rv.in { opacity: 1; transform: none; }
.rep-cover .ring { transition: --p 1.6s cubic-bezier(.2,.7,.2,1); }
.rep-cover.rv:not(.in) .ring { --p: 0 !important; }
.locked-preview .rsec.rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .gauge .needle { transform: rotate(var(--a)); }
  .g-dots i, .plan li i, .cmp-track span, .rep-bar span { transform: none; }
}
@media print { .rsec.rv, .rep-cover.rv { opacity: 1 !important; transform: none !important; } .cmp-track span, .rep-bar span, .g-dots i, .plan li i { transform: none !important; } .gauge .needle { transform: rotate(var(--a)) !important; } }

/* ==========================================================================
   Articles: reading progress, "On this page", copy link
   ========================================================================== */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 190; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: left; transform: scaleX(0); }
.article-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.article-aside .aside-card { position: static; }
.otp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px 14px; }
.otp .eyebrow { margin-bottom: 12px; }
.otp ol { list-style: none; margin: 0 0 10px; padding: 0; counter-reset: o; max-height: 46vh; overflow: auto; }
.otp li { counter-increment: o; }
.otp a { display: grid; grid-template-columns: 24px 1fr; gap: 6px; padding: 7px 8px; border-radius: 10px; text-decoration: none; font-size: 0.86rem; line-height: 1.35; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.otp a::before { content: counter(o, decimal-leading-zero); font-size: 0.7rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.otp a:hover { background: var(--bone); color: var(--ink); }
.otp a.on { background: var(--bone); color: var(--ink); font-weight: 600; }
.otp a.on::before { color: var(--bronze); }
.otp.only-copy ol, .otp.only-copy .eyebrow { display: none; }
.otp-copy { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-top: 1px solid var(--bone-2); background: none; padding: 12px 8px 4px; font-size: 0.84rem; font-weight: 600; color: var(--text-2); cursor: pointer; }
.otp-copy svg { width: 18px; height: 18px; }
.otp-copy:hover, .otp-copy.done { color: var(--green); }
@media (max-width: 1000px) { .article-aside { position: static; } .otp:not(.only-copy) ol, .otp .eyebrow { display: none; } .otp { padding: 6px 14px; } .otp-copy { border: 0; padding: 10px 4px; } }

/* ==========================================================================
   How it works: product mockups
   ========================================================================== */
.steps li { display: flex; flex-direction: column; }
.mock { height: 190px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); margin-bottom: 26px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.steps .num { margin-bottom: 14px; font-size: 3rem; }

/* 1: question with an answer being picked */
.mock-q { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 7px; }
.mq-l { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-2); }
.mock-q b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.mock-q i { font-style: normal; font-size: 0.78rem; padding: 8px 12px 8px 30px; border: 1px solid var(--line); border-radius: 10px; position: relative; color: var(--text-2); }
.mock-q i::before { content: ""; position: absolute; left: 10px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.in .mock-q i.pick, .steps li.in .mock-q i.pick { animation: pickIt 3.6s ease-in-out infinite 0.6s; }
@keyframes pickIt { 0%, 18% { border-color: var(--line); background: #fff; box-shadow: none; } 28%, 85% { border-color: var(--ink); background: var(--bone); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); } 100% { border-color: var(--line); background: #fff; } }
.steps li.in .mock-q i.pick::before { animation: pickDot 3.6s ease-in-out infinite 0.6s; }
@keyframes pickDot { 0%, 18% { border: 1.5px solid var(--line-2); } 28%, 85% { border: 4px solid var(--ink); } 100% { border: 1.5px solid var(--line-2); } }

/* 2: phone scanning a scalp */
.mock-p { display: grid; place-items: end center; background: linear-gradient(180deg, var(--bone), var(--paper)); }
.mp-phone { width: 128px; height: 172px; border-radius: 22px 22px 0 0; background: var(--night); padding: 10px 10px 0; display: flex; flex-direction: column; gap: 10px; align-items: center; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.5); }
.mp-scalp { position: relative; width: 100%; height: 100px; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 70%, #e7c2a2 0 40%, #2b221d 41%); }
.mp-scalp::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(201, 165, 123, 0.8) 1px, transparent 1.3px); background-size: 9px 9px; opacity: 0.7; }
.mp-scan { position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(180deg, transparent, rgba(201, 165, 123, 0.5) 85%, #fff3dd); }
.steps li.in .mp-scan { animation: scan 2.2s cubic-bezier(.45,.05,.55,.95) infinite 0.4s; }
.mp-btn { font-size: 0.62rem; font-weight: 600; color: var(--night); background: var(--gold); padding: 6px 10px; border-radius: 99px; }

/* 3: mini report */
.mock-r { padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--night); border-color: var(--night); color: #fff; }
.mr-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.mr-ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, 0.14) 0); display: grid; place-items: center; transition: --p 1.6s cubic-bezier(.2,.7,.2,1) 0.4s; }
.mr-ring b { width: 36px; height: 36px; border-radius: 50%; background: var(--night); display: grid; place-items: center; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: #fff; letter-spacing: 0; }
.steps li.in .mr-ring { --p: 90; }
.mr-h { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: #7fe0b0; margin-bottom: 4px; }
.mr-l { font-size: 0.64rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.04em; }
.mr-bar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); position: relative; margin-bottom: 6px; }
.mr-bar i { position: absolute; left: 36%; width: 24%; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1) 0.7s; }
.steps li.in .mr-bar i { transform: scaleX(1); }
.mr-dots { display: flex; gap: 5px; }
.mr-dots i { width: 13px; height: 13px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform 0.4s cubic-bezier(.3,1.6,.5,1); }
.mr-dots i.o { background: transparent; border: 1.5px dashed #fff; }
.steps li.in .mr-dots i { transform: scale(1); }
.steps li.in .mr-dots i:nth-child(2) { transition-delay: 1s; } .steps li.in .mr-dots i:nth-child(3) { transition-delay: 1.15s; } .steps li.in .mr-dots i:nth-child(4) { transition-delay: 1.3s; } .steps li.in .mr-dots i:nth-child(1) { transition-delay: 0.85s; }
@media (prefers-reduced-motion: reduce) { .mr-ring { --p: 90; } .mr-bar i, .mr-dots i { transform: none; } }

/* How it works: clean fade instead of a hard cut, compact layout on phones */
.mock-q { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }
@media (max-width: 700px) {
  .steps { gap: 36px; }
  .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; padding-top: 22px; }
  .steps li .mock { grid-column: 1 / -1; height: 156px; margin-bottom: 18px; }
  .steps li .num { grid-column: 1; grid-row: 2 / span 2; font-size: 2.6rem; margin: 0; line-height: 0.85; }
  .steps li h3 { grid-column: 2; margin: 0 0 6px; font-size: 1.15rem; }
  .steps li p { grid-column: 2; font-size: 0.98rem; }
  .mock-q { padding: 14px 14px 0; gap: 6px; }
  .mock-q b { font-size: 1.05rem; margin-bottom: 2px; }
  .mock-q i { padding: 7px 10px 7px 28px; }
  .mp-phone { width: 112px; height: 140px; }
  .mp-scalp { height: 78px; }
}
@media (max-width: 700px) { .smp-pv-badge { bottom: calc(86px + env(safe-area-inset-bottom)) !important; left: 8px !important; font-size: 10px !important; } }

/* See the difference: on phones the stat cards sit under the scalp, not over the caption */
@media (max-width: 700px) {
  .diff .scalp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .diff .scalp-stage { grid-column: 1 / -1; }
  .diff .float-card { position: static; animation: none; padding: 12px 14px; }
  .diff .float-card .v { font-size: 1.45rem; }
  .diff .scalp-hint { grid-column: 1 / -1; grid-row: 2; margin: 2px 0 6px; }
}
/* Report preview: keep the Norwood labels on one line */
.norwood figcaption { white-space: nowrap; }
@media (max-width: 600px) { .norwood .on figcaption { font-size: 0; } .norwood .on figcaption::after { content: "You"; font-size: 0.62rem; color: var(--bronze-2); } }
.jr::before, .jr::after { bottom: 40px; }
.mp-btn { white-space: nowrap; }
@media (max-width: 700px) { .steps li .mock-r { height: auto; min-height: 156px; } }

/* ==========================================================================
   Editorial content blocks (used inside guides; see content/BRIEF.md)
   ========================================================================== */
.prose .lede { font-size: 1.22rem; line-height: 1.6; color: var(--text); margin-bottom: 1.6em; }

/* Key takeaways */
.prose .kt { background: var(--night); color: #fff; border-radius: var(--r-lg); padding: 26px 28px; margin: 0 0 2.2em; position: relative; overflow: hidden; }
.prose .kt::after { content: ""; position: absolute; right: 0; top: 0; width: 180px; height: 180px; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.1px, transparent 1.3px); background-size: 11px 11px; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%); }
.prose .kt-h { font-size: 0.7rem !important; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold) !important; margin: 0 0 12px !important; }
.prose .kt ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prose .kt li { color: rgba(255, 255, 255, 0.86); padding-left: 28px; position: relative; margin: 0; line-height: 1.55; }
.prose .kt li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b0c0f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose .kt li::marker { content: none; }
.prose .kt strong { color: #fff; }

/* Stat cards */
.prose .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 1.8em 0; }
.prose .stat-c { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.prose .stat-c b { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.prose .stat-c span { font-size: 0.9rem; color: var(--text-2); line-height: 1.45; }
.prose .stat-c cite { font-style: normal; font-size: 0.74rem; color: var(--muted); margin-top: auto; padding-top: 6px; }
.prose .stat-c cite a { color: var(--muted); }
.prose .stat-grid.dark .stat-c { background: var(--night); border-color: var(--night); }
.prose .stat-grid.dark .stat-c b { color: var(--gold); }
.prose .stat-grid.dark .stat-c span { color: rgba(255, 255, 255, 0.78); }

/* Bar and range charts */
.prose .chart-bars { margin: 2em 0; padding: 22px 22px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose .chart-bars figcaption { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--ink); text-align: left; margin: 0 0 16px; }
.prose .cb-row { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; font-size: 0.9rem; }
.prose .cb-l { color: var(--text); line-height: 1.3; }
.prose .cb-bar { position: relative; height: 12px; border-radius: 99px; background: var(--bone-2); overflow: hidden; }
.prose .cb-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--v, 0) * 1%); border-radius: 99px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.prose .chart-bars.range .cb-bar i { left: calc(var(--a, 0) * 1%); width: calc((var(--b, 0) - var(--a, 0)) * 1%); }
.prose .cb-row.hl .cb-l { font-weight: 600; color: var(--bronze-2); }
.prose .cb-row.muted .cb-bar i { background: #9aa0a8; }
.prose .cb-v { font-size: 0.85rem; color: var(--text-2); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose .chart-src { font-size: 0.76rem !important; color: var(--muted) !important; margin: 10px 0 0 !important; }
.js .prose .chart-bars:not(.in) .cb-bar i { transform: scaleX(0); }
@media (max-width: 600px) { .prose .cb-row { grid-template-columns: 1fr auto; gap: 4px 10px; } .prose .cb-bar { grid-column: 1 / -1; grid-row: 2; } }

/* Timeline */
.prose .tl { list-style: none; padding: 0 0 0 30px !important; margin: 1.8em 0; position: relative; }
.prose .tl::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--line-2)); }
.prose .tl li { position: relative; margin: 0 0 18px; padding: 0; }
.prose .tl li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.prose .tl li::marker { content: none; }
.prose .tl b { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 2px; }
.prose .tl span { display: block; color: var(--text-2); }

/* Comparison table */
.prose .cmp-table { margin: 2em 0; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.prose .cmp-table table { display: table; min-width: 560px; }
.prose .cmp-table table tbody, .prose .cmp-table table thead { display: table-row-group; min-width: 0; }
.prose .cmp-table thead { display: table-header-group; }
.prose .cmp-table th { background: var(--night) !important; color: #fff !important; letter-spacing: 0.04em; }
.prose .cmp-table th:first-child { background: var(--night) !important; }
.prose .cmp-table td:first-child { font-weight: 600; color: var(--ink); background: var(--bone); }
.prose .cmp-table .yes { color: var(--green); font-weight: 600; }
.prose .cmp-table .no { color: var(--red); font-weight: 600; }

/* Callouts */
.prose .note { margin: 1.8em 0; padding: 18px 20px 4px; border-radius: var(--r); background: var(--bone); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.prose .note-h { font-weight: 600 !important; color: var(--ink) !important; margin: 0 0 6px !important; font-size: 0.95rem; }
.prose .note.warn { background: var(--amber-soft); border-color: #efd9ab; border-left-color: var(--amber); }
.prose .note.tip { background: var(--green-soft); border-color: #cfe6d9; border-left-color: var(--green); }
.prose .note.myth { background: #f3eff9; border-color: #e1d8ef; border-left-color: #7a5aa6; }

/* Checklist */
.prose .checklist { list-style: none; padding: 0 !important; margin: 1.4em 0; display: grid; gap: 8px; }
.prose .checklist li { position: relative; padding: 12px 14px 12px 46px; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.prose .checklist li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 6px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Pros and cons */
.prose .proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.8em 0; }
.prose .proscons > div { border-radius: var(--r); padding: 18px 20px 8px; border: 1px solid var(--line); background: var(--paper); }
.prose .pc-h { font-weight: 600 !important; margin: 0 0 8px !important; color: var(--ink) !important; }
.prose .pros { border-top: 4px solid var(--green) !important; }
.prose .cons { border-top: 4px solid var(--red) !important; }
.prose .proscons ul { padding-left: 1.1em; }
@media (max-width: 640px) { .prose .proscons { grid-template-columns: 1fr; } }

/* Diagrams */
.prose .dgm-scale { margin: 2em 0; padding: 20px 16px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose .dgm-heads { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.prose .dgm-scale.ludwig .dgm-heads { grid-template-columns: repeat(3, 1fr); max-width: 420px; margin: 0 auto; }
.prose .dgm-head { text-align: center; opacity: 0.55; transition: opacity 0.3s; }
.prose .dgm-head svg { width: 100%; max-width: 58px; height: auto; display: block; margin: 0 auto 6px; }
.prose .dgm-head b { display: block; font-size: 0.9rem; color: var(--ink); }
.prose .dgm-head span { display: block; font-size: 0.68rem; line-height: 1.25; color: var(--muted); }
.prose .dgm-head.on { opacity: 1; }
.prose .dgm-head.on svg { filter: drop-shadow(0 6px 8px rgba(169, 130, 90, 0.5)); transform: scale(1.08); }
.prose .dgm-head.on b { color: var(--bronze-2); }
.prose .dgm-scale:not(:has(.on)) .dgm-head { opacity: 1; }
.prose .dgm-layers { margin: 2em 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose .dgm-layers svg { width: 100%; height: auto; display: block; border-radius: 10px; }
.prose .dgm-scale figcaption, .prose .dgm-layers figcaption { font-size: 0.8rem; color: var(--muted); text-align: left; margin-top: 12px; }
@media (max-width: 560px) { .prose .dgm-head span { display: none; } }

/* FAQ inside a guide */
.prose .faq-block details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 0; margin: 0; }
.prose .faq-block details:last-child { border-bottom: 1px solid var(--line); }
.prose .faq-block summary { padding: 16px 0; font-size: 1.02rem; }
.prose .faq-block details p { margin: -4px 0 16px; }

/* Sources */
.prose .sources { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose .sources h2 { font-size: 1.3rem; margin: 0 0 10px; }
.prose .sources ol { font-size: 0.84rem; padding-left: 1.3em; }
.prose .sources li { color: var(--muted); margin-bottom: 6px; line-height: 1.5; }
.prose .sources a { color: var(--text-2); word-break: break-word; }
.prose .byline { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--muted); margin: -0.6em 0 1.6em; }

/* Glossary */
.gl-tools { position: sticky; top: 76px; z-index: 5; background: var(--bone); padding: 14px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.gl-search input { width: 100%; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--line-2); font: inherit; background: var(--paper); }
.gl-search input:focus { outline: none; border-color: var(--ink); }
.gl-az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.gl-az a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.85rem; color: var(--text-2); border: 1px solid var(--line); background: var(--paper); }
.gl-az a:hover { border-color: var(--ink); color: var(--ink); }
.gl-list { margin: 0; }
.gl-item { padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 190px; }
.gl-item dt { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--ink); margin-bottom: 8px; }
.gl-item dd { margin: 0; color: var(--text-2); line-height: 1.65; }
.gl-item dd a { color: var(--bronze-2); font-weight: 600; white-space: nowrap; }
.gl-empty { padding: 30px 0; color: var(--muted); }
@media (max-width: 700px) { .gl-tools { top: 60px; } }

/* Guides hub */
.hub-search { display: block; max-width: 560px; margin-top: 26px; }
.hub-search input { width: 100%; padding: 16px 22px 16px 50px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='9' cy='9' r='6' fill='none' stroke='%23c9a57b' stroke-width='1.8'/%3E%3Cpath d='M13.5 13.5L17 17' stroke='%23c9a57b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") 18px center / 20px no-repeat; color: #fff; font: inherit; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hub-search input::placeholder { color: rgba(255,255,255,.55); }
.hub-search input:focus { outline: none; border-color: var(--gold); background-color: rgba(255,255,255,.16); }
.hub-nav { position: sticky; top: 76px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; margin-bottom: 26px; background: var(--bone); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.hub-nav::-webkit-scrollbar { display: none; }
.hub-nav a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 0.86rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.hub-nav a:hover { border-color: var(--ink); color: var(--ink); }
.hub-sec { padding: 20px 0 52px; scroll-margin-top: 150px; }
.hub-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hub-head h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.hub-head p { margin: 0; max-width: 46ch; color: var(--text-2); }
.hub-empty { padding: 40px 0; color: var(--muted); }
@media (max-width: 700px) { .hub-nav { top: 60px; } .hub-sec { padding-bottom: 32px; } }
.hub-nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 60px; }
/* Guide range charts share the class "range" with the home bento bar: undo that bar's styling here */
.prose .chart-bars.range { height: auto; background: var(--paper); margin: 2em 0; border-radius: var(--r); position: static; }
.prose .chart-bars.range span { position: static; background: none; border-radius: 0; top: auto; bottom: auto; }
.prose .chart-bars.range .cb-bar { position: relative; display: block; background: var(--bone-2); border-radius: 99px; }
.prose .cmp-table .yes, .prose .cmp-table .no { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Editorial system: byline, sharing, trust, evidence and interactive components
   ========================================================================== */
.article-dek { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.78); max-width: 60ch; margin: 0 0 22px; line-height: 1.5; }
.byline { display: flex; align-items: center; gap: 12px; }
.by-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: var(--gold); flex: none; }
.by-mark svg { width: 30px; height: 30px; }
.by-text { display: grid; gap: 2px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); }
.by-text b { font-weight: 600; color: #fff; }
.by-text a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }

.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.share-end { margin: 40px 0 24px; padding: 18px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.share-l { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-end .share-l { text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--ink); margin-right: auto; }
.share-b { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s; padding: 0; }
.share-b svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-b:hover { transform: translateY(-2px); }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-x:hover { background: #111; border-color: #111; color: #fff; }
.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.share-pinterest:hover { background: #e60023; border-color: #e60023; color: #fff; }
.share-email:hover, .share-copy:hover, .share-native:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share-copy.done { background: var(--green); border-color: var(--green); color: #fff; }

.med-note { margin: 0 0 32px; padding: 16px 18px 16px 52px; border-radius: var(--r); background: #eef5f9; border: 1px solid #cfe2ec; position: relative; font-size: 0.92rem; color: #24475a; }
.med-note::before { content: "+"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 6px; background: #2f7ea6; color: #fff; display: grid; place-items: center; font-weight: 800; }
.med-note p { margin: 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 32px 0 0; }
.article-tags span { font-size: 0.8rem; color: var(--text-2); background: var(--bone-2); padding: 4px 10px; border-radius: 999px; }
.article-trust { padding: 18px 20px; border-left: 3px solid var(--bronze); background: var(--bronze-soft); border-radius: 0 var(--r) var(--r) 0; font-size: 0.9rem; color: var(--text); }
.article-trust p { margin: 0; }
.article-trust a { color: var(--bronze-2); font-weight: 600; }

/* Evidence strength box */
.prose .evidence { margin: 28px 0; padding: 18px 20px 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); position: relative; }
.prose .evidence .ev-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.prose .evidence .ev-h::after { content: ""; margin-left: auto; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.prose .evidence[data-level="established"] { border-left: 4px solid var(--green); }
.prose .evidence[data-level="established"] .ev-h::after { content: "Strong evidence"; background: var(--green-soft); color: var(--green); }
.prose .evidence[data-level="emerging"] { border-left: 4px solid #5b7fc4; }
.prose .evidence[data-level="emerging"] .ev-h::after { content: "Early evidence"; background: #e6edf9; color: #3f5f9e; }
.prose .evidence[data-level="mixed"] { border-left: 4px solid var(--amber); }
.prose .evidence[data-level="mixed"] .ev-h::after { content: "Mixed evidence"; background: var(--amber-soft); color: var(--amber); }
.prose .evidence[data-level="practice"] { border-left: 4px solid var(--bronze); }
.prose .evidence[data-level="practice"] .ev-h::after { content: "Industry practice"; background: var(--bronze-soft); color: var(--bronze-2); }
.prose .evidence p:last-child { margin-bottom: 0; }

/* Key fact pull-out */
.prose .keyfact { margin: 36px 0; padding: 26px 28px; border-radius: var(--r-lg); background: var(--night); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; border: 0; position: relative; overflow: hidden; isolation: isolate; }
.prose .keyfact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(201, 165, 123, 0.25) 1px, transparent 1.3px) 0 0 / 11px 11px; -webkit-mask: linear-gradient(100deg, transparent 45%, #000); mask: linear-gradient(100deg, transparent 45%, #000); }
.prose .keyfact b { grid-row: span 2; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; color: var(--gold); }
.prose .keyfact span { font-size: 1.1rem; line-height: 1.4; color: #fff; }
.prose .keyfact cite { font-style: normal; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.prose .keyfact cite a { color: rgba(255, 255, 255, 0.75); }

/* Expandable deep dive */
.prose details.more { margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.prose details.more summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; color: var(--ink); position: relative; }
.prose details.more summary::-webkit-details-marker { display: none; }
.prose details.more summary::before { content: "Deep dive"; display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 2px; }
.prose details.more summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bone-2); display: grid; place-items: center; font-size: 1.1rem; transition: transform 0.25s var(--ease); }
.prose details.more[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.prose details.more > :not(summary) { padding: 0 20px; }
.prose details.more > :last-child { padding-bottom: 18px; }

/* Step-by-step */
.prose ol.steps { list-style: none; counter-reset: stp; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.prose ol.steps li { counter-increment: stp; position: relative; padding: 16px 18px 16px 64px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.prose ol.steps li::before { content: counter(stp); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; }
.prose ol.steps li b { display: block; color: var(--ink); margin-bottom: 2px; }
.prose ol.steps li span { color: var(--text-2); font-size: 0.95rem; }

/* Shared figure chrome for components */
.prose .hc, .prose .hlt, .prose .eq, .prose .hl-tl, .prose .ct, .prose .dg { margin: 34px 0; padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.prose .hc figcaption, .prose .hlt figcaption, .prose .eq figcaption, .prose .hl-tl figcaption, .prose .ct figcaption, .prose .dg figcaption { font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 16px; }

/* Hair cycle */
.prose .hc { display: grid; grid-template-columns: 190px 1fr; gap: 10px 26px; align-items: center; }
.prose .hc figcaption, .prose .hc .chart-src { grid-column: 1 / -1; }
.hc-ring svg { width: 100%; max-width: 190px; }
.hc-a { stroke: var(--bronze); }
.hc-c { stroke: var(--gold); }
.hc-t { stroke: #5b7fc4; }
.hc-big { font-family: var(--serif); font-size: 24px; fill: var(--ink); }
.hc-small { font-size: 8px; fill: var(--text-2); }
.prose .hc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prose .hc-list li { padding: 10px 14px; border-radius: 12px; background: var(--bone); border-left: 4px solid var(--muted); display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.prose .hc-list li.hc-a { border-color: var(--bronze); }
.prose .hc-list li.hc-c { border-color: var(--gold); }
.prose .hc-list li.hc-t { border-color: #5b7fc4; }
.prose .hc-list b { color: var(--ink); }
.prose .hc-list small { font-weight: 400; color: var(--text-2); }
.prose .hc-list em { font-style: normal; font-weight: 700; color: var(--bronze-2); font-size: 0.88rem; }
.prose .hc-list span { grid-column: 1 / -1; font-size: 0.88rem; color: var(--text-2); }

/* Hair loss patterns */
.prose .hlt ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prose .hlt li { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 12px; border-radius: 14px; background: var(--bone); }
.prose .hlt svg { width: 112px; height: 123px; }
.prose .hlt b { color: var(--ink); font-size: 0.95rem; }
.prose .hlt span { font-size: 0.82rem; color: var(--text-2); line-height: 1.4; }

/* Equipment */
.prose .eq svg { width: 100%; height: auto; background: linear-gradient(180deg, var(--bone), var(--paper)); border-radius: 14px; }
.prose .eq-list { counter-reset: eq; list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.prose .eq-list li { counter-increment: eq; position: relative; padding-left: 34px; font-size: 0.9rem; color: var(--text-2); }
.prose .eq-list li::before { content: counter(eq); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--bronze); color: #fff; font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.prose .eq-list b { display: block; color: var(--ink); }

/* Healing timeline */
.prose .hl-tl ol { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 12px; }
.prose .hl-tl ol::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--bronze), var(--gold)); }
.prose .hl-tl li { position: relative; padding: 2px 0 2px 46px; }
.prose .hl-tl li::before { content: ""; position: absolute; left: 7px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--bronze); box-sizing: border-box; }
.prose .hl-tl li b { display: block; color: var(--ink); }
.prose .hl-tl li span { color: var(--text-2); font-size: 0.93rem; }

/* SMP vs transplant tabs */
.prose .ct-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.prose .ct-tabs button { flex: none; border: 1px solid var(--line-2); background: var(--bone); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--text-2); cursor: pointer; }
.prose .ct-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.prose .ct-pane { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; animation: ctin 0.3s var(--ease); }
.prose .ct-pane[hidden] { display: none; }
@keyframes ctin { from { opacity: 0; transform: translateY(6px); } }
.prose .ct-pane > div { padding: 16px; border-radius: 14px; background: var(--bone); }
.prose .ct-pane > div:first-child { background: var(--night); color: #fff; }
.prose .ct-pane > div:first-child b { color: var(--gold); }
.prose .ct-pane > div:first-child p { color: rgba(255, 255, 255, 0.82); }
.prose .ct-pane b { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; color: var(--bronze-2); }
.prose .ct-pane p { margin: 0; font-size: 0.95rem; }

/* Decision guide */
.prose .dg { background: linear-gradient(135deg, var(--paper), var(--bronze-soft)); }
.dg-q { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.dg-step { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze-2); margin: 0 0 6px; }
.dg-opts { display: grid; gap: 8px; }
.dg-opts button { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color 0.2s, transform 0.15s var(--ease); }
.dg-opts button:hover { border-color: var(--bronze); transform: translateX(3px); }
.dg-res { padding: 18px; border-radius: 16px; background: var(--night); color: #fff; animation: ctin 0.35s var(--ease); }
.dg-res b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--gold); margin-bottom: 6px; }
.dg-res p { color: rgba(255, 255, 255, 0.82); margin: 0 0 12px; }
.dg-res a { color: #fff; font-weight: 600; }
.dg-back { margin-top: 12px; background: none; border: 0; padding: 0; font: inherit; font-size: 0.86rem; color: var(--bronze-2); font-weight: 600; cursor: pointer; text-decoration: underline; }
.dg-res .dg-back { color: rgba(255, 255, 255, 0.7); }

@media (max-width: 700px) {
	.prose .hc { grid-template-columns: 1fr; justify-items: center; }
	.prose .hc-list { width: 100%; }
	.prose .hlt ul { grid-template-columns: 1fr 1fr; }
	.prose .eq-list { grid-template-columns: 1fr; }
	.prose .ct-pane { grid-template-columns: 1fr; }
	.prose .keyfact { grid-template-columns: 1fr; padding: 22px; }
	.prose .keyfact b { grid-row: auto; }
	.prose .hc, .prose .hlt, .prose .eq, .prose .hl-tl, .prose .ct, .prose .dg { padding: 16px; margin: 26px -4px; }
	.share-end { flex-wrap: wrap; }
	.share-end .share-l { width: 100%; margin-bottom: 4px; }
	.byline { align-items: flex-start; }
}

/* Article heads for guides with generated covers: section-tinted dot field */
.page-head.gen-head { background: radial-gradient(900px 500px at 85% 10%, hsla(var(--sh), 45%, 45%, 0.28), transparent 70%), var(--night); }
.page-head.gen-head::after { right: 0; top: 0; width: min(640px, 55vw); height: 100%; background-image: radial-gradient(hsla(var(--sh), 50%, 75%, 0.32) 1.2px, transparent 1.4px); background-size: 14px 14px; -webkit-mask: radial-gradient(ellipse at 80% 40%, #000, transparent 70%); mask: radial-gradient(ellipse at 80% 40%, #000, transparent 70%); }

.cluster { margin: 44px 0 8px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.cluster h2 { margin-top: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cluster-g h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze-2); margin: 18px 0 8px; }
.cluster-g ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.cluster-g a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-bottom: 1px solid var(--line); display: block; padding: 6px 0; }
.cluster-g a:hover { color: var(--bronze-2); }
@media (max-width: 700px) { .cluster { padding: 18px; } .cluster-g ul { grid-template-columns: 1fr; } }
