@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #18211d;
  --ink-2: #26342e;
  --green: #18372d;
  --green-2: #2e493b;
  --green-3: #466b58;
  --ivory: #f7f3eb;
  --pearl: #fcfaf6;
  --stone: #e8e1d6;
  --sage: #dce5dc;
  --brass: #b08e58;
  --taupe: #9c8d7d;
  --rose: #8b625e;
  --muted: #667069;
  --danger: #9f4e43;
  --white: #fff;
  --border: rgba(24, 55, 45, .12);
  --shadow: 0 26px 80px rgba(24, 40, 32, .11);
  --shadow-sm: 0 12px 36px rgba(24, 40, 32, .08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.flow-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--sage); color: var(--green); }
:focus-visible { outline: 3px solid rgba(176,142,88,.42); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-tight { padding: 72px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--green-3); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 23px; height: 1px; background: var(--brass); }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.section-title { max-width: 760px; margin: 0; font: 400 clamp(42px, 5vw, 68px)/.98 'Instrument Serif', Georgia, serif; letter-spacing: -.035em; }
.section-copy { max-width: 650px; margin: 22px 0 0; font-size: 17px; color: var(--muted); }
.centered { text-align: center; }
.centered .section-title, .centered .section-copy { margin-inline: auto; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.btn { min-height: 54px; border: 1px solid transparent; border-radius: 999px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-weight: 700; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 10px 26px rgba(24,55,45,.18); }
.btn-primary:hover { background: #20463a; box-shadow: 0 14px 34px rgba(24,55,45,.23); }
.btn-secondary { border-color: var(--border); background: rgba(255,255,255,.58); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: var(--white); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-small { min-height: 44px; padding-inline: 18px; font-size: 14px; }
.btn-wide { width: 100%; }
.icon-arrow { transition: transform .22s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }

.site-header { position: sticky; top: 0; z-index: 50; height: 82px; display: flex; align-items: center; transition: height .3s var(--ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { height: 70px; background: rgba(247,243,235,.88); backdrop-filter: blur(18px); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.logo-mark { width: 35px; height: 35px; border-radius: 50% 50% 50% 14%; background: var(--green); position: relative; transform: rotate(-8deg); }
.logo-mark::after { content: ''; position: absolute; width: 10px; height: 17px; border: 1px solid var(--brass); border-left: 0; border-bottom: 0; border-radius: 50%; top: 7px; left: 11px; transform: rotate(18deg); }
.logo-name { font-size: 19px; }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: 14px; color: #415048; }
.main-nav a { transition: color .2s; }
.main-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,.55); }

.hero { min-height: calc(100svh - 82px); display: flex; align-items: center; padding: 54px 0 76px; position: relative; overflow: clip; }
.hero::before { content: ''; position: absolute; inset: 4% auto auto 52%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(220,229,220,.95), transparent 67%); filter: blur(10px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.hero-copy { position: relative; z-index: 2; }
.hero-title { max-width: 600px; margin: 0; font: 400 clamp(58px, 6.4vw, 92px)/.88 'Instrument Serif', Georgia, serif; letter-spacing: -.048em; }
.hero-title em { font-style: italic; color: var(--green-3); }
.hero-lead { max-width: 570px; margin: 25px 0 0; font-size: clamp(17px,1.6vw,20px); color: var(--muted); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 33px; }
.hero-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 13px 22px; font-size: 13px; color: #56625c; }
.trust-item { display: inline-flex; gap: 8px; align-items: center; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.hero-visual { position: relative; z-index: 1; min-width: 0; }
.comparison-shell { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: .83; box-shadow: var(--shadow); background: var(--stone); }
.comparison-shell img { width: 100%; height: 100%; object-fit: cover; }
.comparison-after { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 50%); }
.comparison-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(24,33,29,.12); transform: translateX(-1px); pointer-events: none; }
.comparison-handle { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; border-radius: 50%; transform: translate(-50%,-50%); background: var(--pearl); color: var(--green); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.17); pointer-events: none; }
.comparison-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.comparison-labels { position: absolute; inset: auto 18px 18px; display: flex; justify-content: space-between; pointer-events: none; }
.compare-label { padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--white); background: rgba(19,37,31,.64); backdrop-filter: blur(8px); }
.comparison-tabs { display: flex; gap: 7px; margin-top: 13px; justify-content: center; }
.comparison-tabs button { min-height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-note { position: absolute; right: -22px; top: 12%; padding: 14px 16px; width: 165px; border: 1px solid rgba(255,255,255,.45); border-radius: 17px; background: rgba(252,250,246,.8); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.hero-note strong { display:block; font-family:'Instrument Serif',Georgia,serif; font-weight:400; font-size:20px; }
.hero-note span { font-size: 12px; color: var(--muted); }

.trust-strip { border-block: 1px solid var(--border); background: rgba(252,250,246,.54); }
.trust-grid { min-height: 90px; display: grid; grid-template-columns: repeat(4,1fr); }
.trust-cell { display: flex; align-items: center; justify-content: center; gap: 11px; font-size: 14px; color: #45534b; border-right: 1px solid var(--border); }
.trust-cell:last-child { border-right: 0; }
.trust-icon { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items:center; background: var(--sage); color: var(--green); font-weight:800; }

.gallery-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; padding: 5px 2px 18px; margin-top: 42px; }
.gallery-scroller::-webkit-scrollbar { display: none; }
.style-card { min-width: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: .74; background: var(--stone); scroll-snap-align: start; box-shadow: 0 1px 0 var(--border); }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.style-card:hover img { transform: scale(1.025); }
.style-card:nth-child(2) img { object-position: 56% center; }
.style-card:nth-child(3) img { object-position: 41% center; }
.style-card:nth-child(4) img { object-position: 60% center; }
.style-card:nth-child(5) img { object-position: 47% center; }
.style-meta { position: absolute; inset: auto 12px 12px; padding: 13px 14px; color: var(--white); border-radius: 14px; background: linear-gradient(135deg, rgba(19,37,31,.86), rgba(19,37,31,.62)); backdrop-filter: blur(10px); }
.style-meta strong { display: block; font-size: 14px; }
.style-meta span { display:block; margin-top:2px; font-size:11px; color:rgba(255,255,255,.76); }

.video-section { background: var(--green); color: var(--white); overflow: hidden; }
.video-grid { display:grid; grid-template-columns:.73fr 1.27fr; gap:72px; align-items:center; }
.video-section .eyebrow { color: #d6dfd8; }
.video-section .section-copy { color: rgba(255,255,255,.69); }
.video-card { position: relative; border-radius: 28px; overflow: hidden; background:#0f211b; box-shadow: 0 25px 80px rgba(0,0,0,.23); aspect-ratio: 16/9; }
.video-card video { width:100%; height:100%; object-fit:cover; }
.video-card::after { content:''; position:absolute; inset:0; pointer-events:none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius:inherit; }
.video-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:68px; height:68px; border:0; border-radius:50%; background:rgba(252,250,246,.9); color:var(--green); display:grid; place-items:center; cursor:pointer; backdrop-filter:blur(12px); }
.video-play.is-hidden { opacity:0; pointer-events:none; }

.consultation-grid { display:grid; grid-template-columns:1.02fr .98fr; gap:70px; align-items:center; }
.consultation-visual { position:relative; min-height:560px; }
.consultation-photo { width:70%; height:560px; object-fit:cover; border-radius:28px; box-shadow:var(--shadow); }
.profile-card { position:absolute; right:0; bottom:32px; width:55%; background:var(--pearl); border:1px solid var(--border); border-radius:24px; padding:25px; box-shadow:var(--shadow-sm); }
.profile-card h3 { margin:0 0 14px; font:400 29px/1 'Instrument Serif',Georgia,serif; }
.profile-row { padding:11px 0; display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--border); font-size:13px; }
.profile-row span:first-child { color:var(--muted); }
.feature-list { display:grid; gap:14px; margin-top:32px; }
.feature { display:flex; gap:13px; align-items:flex-start; }
.feature-check { flex:0 0 auto; width:28px; height:28px; border-radius:50%; background:var(--sage); display:grid; place-items:center; color:var(--green); font-weight:800; }
.feature strong { display:block; font-size:15px; }
.feature p { margin:3px 0 0; color:var(--muted); font-size:14px; }

.face-shape-card { margin-top:48px; background:var(--pearl); border:1px solid var(--border); border-radius:30px; padding:40px; display:grid; grid-template-columns:.78fr 1.22fr; gap:45px; align-items:center; }
.face-shape-visual { aspect-ratio:1; border-radius:26px; background:linear-gradient(145deg,var(--sage),#f0ece3); display:grid; place-items:center; padding:32px; }
.face-outline { width:75%; max-width:290px; }
.face-outline path { fill:none; stroke:var(--green); stroke-width:2.3; }
.face-outline .hair { stroke:var(--brass); stroke-width:3; }
.shape-pills { display:flex; flex-wrap:wrap; gap:9px; margin-top:25px; }
.shape-pill { padding:8px 13px; border:1px solid var(--border); border-radius:999px; background:var(--white); font-size:13px; }

.steps-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:45px; }
.step-card { min-height:300px; padding:25px; border:1px solid var(--border); border-radius:24px; background:rgba(252,250,246,.68); display:flex; flex-direction:column; justify-content:space-between; transition:transform .3s var(--ease), box-shadow .3s; }
.step-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.step-num { font:400 48px/1 'Instrument Serif',Georgia,serif; color:var(--brass); }
.step-visual { width:76px; height:76px; border-radius:22px; background:var(--sage); display:grid; place-items:center; color:var(--green); font-size:29px; }
.step-card h3 { margin:22px 0 7px; font-size:17px; }
.step-card p { margin:0; color:var(--muted); font-size:14px; }

.photo-tips-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:40px; }
.tip-panel { padding:28px; border-radius:25px; border:1px solid var(--border); background:var(--pearl); }
.tip-panel h3 { margin:0 0 18px; font:400 30px/1 'Instrument Serif',Georgia,serif; }
.tip-images { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tip-img { position:relative; aspect-ratio:1; border-radius:16px; overflow:hidden; }
.tip-img img { width:100%; height:100%; object-fit:cover; }
.tip-badge { position:absolute; left:9px; top:9px; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; color:white; font-weight:800; background:var(--green); }
.tip-panel.bad .tip-badge { background:var(--danger); }
.tip-lines { display:grid; gap:9px; margin-top:17px; font-size:13px; color:var(--muted); }

.faq { max-width:850px; margin:45px auto 0; border-top:1px solid var(--border); }
.faq details { border-bottom:1px solid var(--border); padding:0; }
.faq summary { min-height:74px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; gap:30px; font-weight:650; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:'+'; font-size:24px; font-weight:400; color:var(--green-3); }
.faq details[open] summary::after { content:'−'; }
.faq p { margin:-5px 50px 24px 0; color:var(--muted); font-size:15px; }

.final-cta { padding:96px 0 105px; }
.cta-panel { position:relative; overflow:hidden; border-radius:36px; background:var(--green); color:var(--white); padding:76px min(8vw,90px); display:grid; grid-template-columns:1fr auto; gap:35px; align-items:end; }
.cta-panel::after { content:''; position:absolute; width:420px; height:420px; right:-140px; top:-190px; border:1px solid rgba(176,142,88,.42); border-radius:50%; box-shadow:0 0 0 50px rgba(176,142,88,.035),0 0 0 100px rgba(176,142,88,.025); }
.cta-panel h2 { max-width:720px; margin:0; font:400 clamp(48px,5vw,72px)/.98 'Instrument Serif',Georgia,serif; }
.cta-panel p { margin:18px 0 0; color:rgba(255,255,255,.7); }
.cta-panel .btn { position:relative; z-index:2; background:var(--pearl); color:var(--green); }

.site-footer { padding:66px 0 28px; background:#13251f; color:rgba(255,255,255,.78); }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:55px; }
.site-footer .logo { color:white; }
.footer-brand p { max-width:330px; margin:19px 0 0; font-size:13px; color:rgba(255,255,255,.57); }
.footer-col strong { display:block; color:white; font-size:13px; margin-bottom:16px; }
.footer-col a { display:block; margin:10px 0; font-size:13px; color:rgba(255,255,255,.6); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding-top:28px; margin-top:48px; border-top:1px solid rgba(255,255,255,.1); font-size:12px; color:rgba(255,255,255,.47); }

/* Full-screen consultation flow */
.flow-shell { position:fixed; inset:0; z-index:100; background:var(--ivory); display:none; flex-direction:column; }
.flow-shell.is-open { display:flex; }
.flow-header { height:76px; flex:0 0 76px; display:flex; align-items:center; border-bottom:1px solid var(--border); }
.flow-header-inner { width:min(calc(100% - 40px),1100px); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.flow-progress-wrap { width:min(330px,38vw); }
.flow-progress-label { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; margin-bottom:7px; }
.flow-progress { height:3px; background:var(--stone); border-radius:3px; overflow:hidden; }
.flow-progress > div { height:100%; width:0; background:var(--green); transition:width .45s var(--ease); }
.flow-close { width:44px; height:44px; border-radius:50%; border:1px solid var(--border); background:transparent; cursor:pointer; }
.flow-body { flex:1 1 auto; min-height:0; overflow:auto; display:flex; }
.flow-content { width:min(calc(100% - 40px),1000px); margin:auto; padding:46px 0 34px; }
.quiz-stage { max-width:930px; margin:auto; animation:flowIn .45s var(--ease); }
@keyframes flowIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.quiz-kicker { text-align:center; color:var(--green-3); font-size:12px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.quiz-title { max-width:800px; margin:10px auto 0; text-align:center; font:400 clamp(38px,4vw,58px)/1 'Instrument Serif',Georgia,serif; letter-spacing:-.03em; }
.quiz-help { max-width:620px; margin:13px auto 0; text-align:center; color:var(--muted); font-size:14px; }
.choice-grid { margin:32px auto 0; display:grid; grid-template-columns:repeat(4,1fr); gap:13px; }
.choice-grid.three { grid-template-columns:repeat(3,1fr); max-width:780px; }
.choice-grid.two { grid-template-columns:repeat(2,1fr); max-width:690px; }
.choice-card { min-height:122px; border:1px solid var(--border); border-radius:20px; padding:18px; background:rgba(252,250,246,.7); cursor:pointer; text-align:left; transition:border-color .22s, box-shadow .22s, transform .22s var(--ease), background .22s; position:relative; }
.choice-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.choice-card.is-selected { border-color:rgba(176,142,88,.85); box-shadow:inset 0 0 0 1px rgba(176,142,88,.55), 0 12px 32px rgba(24,40,32,.07); background:var(--pearl); }
.choice-card.is-selected::after { content:'✓'; position:absolute; right:12px; top:12px; width:26px; height:26px; border-radius:50%; background:var(--green); color:white; display:grid; place-items:center; font-size:12px; }
.choice-card .choice-icon { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:var(--sage); margin-bottom:19px; font-weight:700; color:var(--green); }
.choice-card strong { display:block; padding-right:22px; font-size:14px; }
.choice-card small { display:block; margin-top:5px; color:var(--muted); line-height:1.5; }
.visual-choice { padding:0; overflow:hidden; min-height:310px; display:flex; flex-direction:column; }
.visual-choice .visual-img { height:224px; background:linear-gradient(145deg,var(--sage),var(--stone)); overflow:hidden; }
.visual-choice .visual-img img { width:100%; height:100%; object-fit:cover; }
.visual-choice .visual-body { padding:16px 17px 18px; }
.visual-choice .choice-icon { display:none; }
.swatch-grid { max-width:760px; margin:34px auto 0; display:grid; grid-template-columns:repeat(5,1fr); gap:11px; }
.swatch { min-height:98px; padding:11px; border:1px solid var(--border); background:var(--pearl); border-radius:18px; cursor:pointer; text-align:center; position:relative; }
.swatch-ball { width:48px; height:48px; border-radius:50%; margin:0 auto 8px; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch.is-selected { border-color:var(--brass); box-shadow:inset 0 0 0 1px var(--brass); }
.swatch label { font-size:11px; display:block; cursor:pointer; }
.flow-footer { flex:0 0 auto; min-height:82px; border-top:1px solid var(--border); display:flex; align-items:center; background:rgba(247,243,235,.93); backdrop-filter:blur(12px); }
.flow-footer-inner { width:min(calc(100% - 40px),1000px); margin:auto; display:flex; justify-content:space-between; gap:15px; }
.flow-footer .btn { min-width:130px; }

/* Upload step */
.upload-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:50px; align-items:center; max-width:930px; margin:auto; }
.upload-copy h2 { margin:0; font:400 clamp(40px,4vw,58px)/1 'Instrument Serif',Georgia,serif; }
.upload-copy p { color:var(--muted); font-size:14px; }
.micro-list { display:grid; gap:10px; margin-top:23px; font-size:13px; }
.micro-list div { display:flex; gap:10px; align-items:center; }
.micro-list b { width:22px; height:22px; border-radius:50%; background:var(--sage); display:grid; place-items:center; color:var(--green); font-size:11px; }
.dropzone { position:relative; min-height:390px; border:1px dashed rgba(24,55,45,.28); border-radius:28px; background:rgba(252,250,246,.72); display:grid; place-items:center; text-align:center; padding:30px; transition:border .2s, background .2s; overflow:hidden; }
.dropzone.is-drag { background:var(--sage); border-color:var(--green-3); }
.dropzone.has-image { padding:0; border-style:solid; }
.dropzone input { position:absolute; inset:0; opacity:0; cursor:pointer; z-index:2; }
.drop-prompt .drop-icon { width:74px; height:74px; margin:0 auto 16px; border-radius:24px; background:var(--sage); display:grid; place-items:center; font-size:27px; color:var(--green); }
.drop-prompt strong { display:block; font-size:17px; }
.drop-prompt span { display:block; margin-top:5px; color:var(--muted); font-size:13px; }
.drop-preview { position:absolute; inset:0; display:none; }
.dropzone.has-image .drop-preview { display:block; }
.dropzone.has-image .drop-prompt { display:none; }
.drop-preview img { width:100%; height:100%; object-fit:cover; }
.preview-actions { position:absolute; left:12px; right:12px; bottom:12px; z-index:4; display:flex; justify-content:flex-end; gap:8px; }
.preview-actions button { min-height:42px; border:0; border-radius:999px; padding:0 15px; background:rgba(252,250,246,.9); backdrop-filter:blur(10px); cursor:pointer; }
.photo-tips-link { margin-top:14px; border:0; background:transparent; color:var(--green-3); text-decoration:underline; text-underline-offset:3px; cursor:pointer; font-size:13px; }
.email-card { max-width:610px; margin:auto; padding:42px; border:1px solid var(--border); border-radius:28px; background:var(--pearl); box-shadow:var(--shadow-sm); }
.email-card h2 { margin:0; font:400 48px/1 'Instrument Serif',Georgia,serif; text-align:center; }
.email-card > p { text-align:center; color:var(--muted); margin:13px auto 27px; }
.field-label { display:block; font-size:12px; font-weight:700; margin-bottom:7px; }
.text-input { width:100%; height:55px; border:1px solid var(--border); background:white; border-radius:14px; padding:0 16px; outline:none; }
.text-input:focus { border-color:var(--green-3); box-shadow:0 0 0 3px rgba(70,107,88,.1); }
.consent { display:flex; gap:10px; align-items:flex-start; margin-top:17px; font-size:12px; color:var(--muted); }
.consent input { width:18px; height:18px; margin-top:1px; accent-color:var(--green); }
.form-error { min-height:22px; margin-top:12px; color:var(--danger); font-size:12px; }

.photo-tips-modal { position:fixed; inset:0; z-index:120; display:none; place-items:center; padding:24px; background:rgba(19,37,31,.45); backdrop-filter:blur(7px); }
.photo-tips-modal.is-open { display:grid; }
.tips-modal-card { width:min(760px,100%); max-height:min(760px,90vh); overflow:auto; border-radius:26px; background:var(--ivory); padding:28px; box-shadow:var(--shadow); }
.tips-modal-head { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.tips-modal-head h3 { margin:0; font:400 34px/1 'Instrument Serif',Georgia,serif; }
.tips-modal-close { width:42px; height:42px; border:1px solid var(--border); background:transparent; border-radius:50%; cursor:pointer; }

/* Personal plan / paywall */
.plan-page { min-height:100svh; display:flex; flex-direction:column; background:var(--ivory); }
.minimal-header { height:74px; display:flex; align-items:center; border-bottom:1px solid var(--border); }
.minimal-header .container { display:flex; justify-content:space-between; align-items:center; }
.security-note { font-size:12px; color:var(--muted); display:flex; gap:8px; align-items:center; }
.analysis-stage { flex:1; display:grid; place-items:center; padding:45px 20px; }
.analysis-box { width:min(650px,100%); text-align:center; }
.analysis-orb { width:98px; height:98px; border-radius:50%; margin:0 auto 26px; position:relative; background:var(--sage); }
.analysis-orb::before,.analysis-orb::after { content:''; position:absolute; inset:14px; border:1px solid rgba(24,55,45,.3); border-radius:50%; animation:ring 2.4s ease-in-out infinite; }
.analysis-orb::after { inset:27px; animation-delay:.45s; }
@keyframes ring { 50% { transform:scale(1.17); opacity:.35; } }
.analysis-box h1 { margin:0; font:400 54px/1 'Instrument Serif',Georgia,serif; }
.analysis-box > p { color:var(--muted); }
.analysis-list { max-width:430px; margin:28px auto 0; text-align:left; display:grid; gap:12px; }
.analysis-item { display:flex; align-items:center; gap:11px; padding:12px 14px; border-radius:14px; background:rgba(252,250,246,.7); border:1px solid var(--border); opacity:.45; transition:opacity .25s, transform .25s; }
.analysis-item.is-active { opacity:1; transform:translateX(3px); }
.analysis-item.is-done { opacity:1; }
.analysis-item b { width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:var(--stone); color:var(--green); font-size:11px; }
.analysis-item.is-done b { background:var(--sage); }
.paywall-wrap { display:none; width:min(1080px,100%); margin:auto; animation:flowIn .55s var(--ease); }
.paywall-wrap.is-visible { display:grid; grid-template-columns:1.1fr .9fr; gap:55px; align-items:center; }
.locked-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; position:relative; }
.locked-card { aspect-ratio:.76; border-radius:17px; overflow:hidden; position:relative; background:var(--stone); }
.locked-card img { width:100%; height:100%; object-fit:cover; filter:blur(9px) saturate(.75); transform:scale(1.08); }
.locked-card::after { content:'✦'; position:absolute; inset:0; display:grid; place-items:center; color:rgba(255,255,255,.9); font-size:20px; background:rgba(24,55,45,.08); }
.paywall-copy h1 { margin:0; font:400 clamp(48px,5vw,66px)/.95 'Instrument Serif',Georgia,serif; letter-spacing:-.03em; }
.paywall-copy p { color:var(--muted); }
.premium-badge { display:inline-flex; padding:7px 11px; border-radius:999px; background:var(--sage); color:var(--green); font-size:11px; font-weight:700; margin-bottom:17px; }
.include-list { display:grid; grid-template-columns:1fr 1fr; gap:9px 16px; margin:24px 0; font-size:13px; }
.include-list div::before { content:'✓'; margin-right:8px; color:var(--green-3); font-weight:800; }
.price-row { display:flex; align-items:end; gap:12px; margin:22px 0; }
.price { font:400 54px/1 'Instrument Serif',Georgia,serif; }
.price-note { padding-bottom:6px; font-size:12px; color:var(--muted); }
.checkout-note { text-align:center; color:var(--muted); font-size:11px; margin-top:10px; }

/* Auth / demo checkout */
.auth-page { min-height:100svh; display:grid; place-items:center; padding:30px; background:radial-gradient(circle at 70% 20%,var(--sage),transparent 32%),var(--ivory); }
.auth-card { width:min(500px,100%); padding:42px; border-radius:28px; border:1px solid var(--border); background:rgba(252,250,246,.92); box-shadow:var(--shadow); }
.auth-card .logo { justify-content:center; margin-bottom:32px; }
.auth-card h1 { text-align:center; margin:0; font:400 49px/1 'Instrument Serif',Georgia,serif; }
.auth-card > p { text-align:center; color:var(--muted); font-size:14px; margin:13px 0 25px; }
.demo-checkout-brand { display:flex; justify-content:space-between; align-items:center; margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.demo-order { display:flex; justify-content:space-between; gap:20px; padding:18px 0; border-block:1px solid var(--border); margin:20px 0; }
.demo-tag { padding:5px 9px; border-radius:999px; background:#fff4d8; color:#755b21; font-size:10px; font-weight:800; }

/* Dashboard */
.dashboard-page { min-height:100svh; background:var(--pearl); }
.dashboard-header { min-height:76px; display:flex; align-items:center; border-bottom:1px solid var(--border); background:rgba(252,250,246,.9); position:sticky; top:0; z-index:20; backdrop-filter:blur(14px); }
.dashboard-header .container { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.dash-actions { display:flex; gap:9px; }
.dash-main { padding:50px 0 90px; }
.dash-hero { display:flex; justify-content:space-between; gap:30px; align-items:end; }
.dash-hero h1 { margin:0; font:400 clamp(45px,5vw,66px)/1 'Instrument Serif',Georgia,serif; }
.dash-hero p { margin:10px 0 0; color:var(--muted); }
.progress-card { min-width:320px; max-width:430px; padding:18px; border-radius:17px; border:1px solid var(--border); background:white; }
.progress-card-top { display:flex; justify-content:space-between; gap:20px; font-size:12px; }
.result-progress { height:6px; border-radius:6px; overflow:hidden; background:var(--stone); margin-top:12px; }
.result-progress > div { height:100%; background:var(--green-3); transition:width .4s; }
.profile-strip { display:flex; gap:9px; flex-wrap:wrap; margin-top:28px; }
.profile-chip { padding:8px 12px; border:1px solid var(--border); border-radius:999px; background:white; font-size:11px; color:var(--muted); }
.result-section { margin-top:54px; }
.result-section-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.result-section h2 { margin:0; font:400 32px/1 'Instrument Serif',Georgia,serif; }
.result-count { font-size:11px; color:var(--muted); }
.result-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; }
.result-card { position:relative; border-radius:18px; overflow:hidden; aspect-ratio:.76; background:var(--stone); cursor:pointer; }
.result-card img { width:100%; height:100%; object-fit:cover; transition:transform .4s var(--ease); }
.result-card:hover img { transform:scale(1.02); }
.result-card-label { position:absolute; inset:auto 9px 9px; padding:10px; border-radius:12px; color:white; background:rgba(19,37,31,.7); backdrop-filter:blur(8px); font-size:11px; }
.result-card-label strong { display:block; font-size:12px; }
.result-skeleton { position:relative; overflow:hidden; }
.result-skeleton::after { content:''; position:absolute; inset:0; background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.6) 40%,transparent 60%); transform:translateX(-100%); animation:shimmer 1.8s infinite; }
@keyframes shimmer { to { transform:translateX(100%); } }
.result-modal { position:fixed; inset:0; z-index:80; display:none; place-items:center; padding:20px; background:rgba(19,37,31,.56); backdrop-filter:blur(8px); }
.result-modal.is-open { display:grid; }
.result-dialog { width:min(970px,100%); max-height:92vh; overflow:auto; border-radius:26px; background:var(--pearl); display:grid; grid-template-columns:1fr .85fr; box-shadow:var(--shadow); }
.result-dialog-image { min-height:620px; background:var(--stone); }
.result-dialog-image img { width:100%; height:100%; object-fit:cover; }
.result-dialog-copy { padding:34px; display:flex; flex-direction:column; }
.modal-close { align-self:flex-end; width:42px; height:42px; border-radius:50%; border:1px solid var(--border); background:transparent; cursor:pointer; }
.result-dialog h2 { margin:45px 0 5px; font:400 43px/1 'Instrument Serif',Georgia,serif; }
.result-category { color:var(--green-3); font-size:12px; font-weight:700; }
.result-why { margin-top:25px; padding-top:22px; border-top:1px solid var(--border); font-size:13px; color:var(--muted); }
.result-actions { margin-top:auto; padding-top:28px; display:flex; gap:10px; }
.danger-zone { margin-top:75px; padding-top:25px; border-top:1px solid var(--border); display:flex; justify-content:space-between; gap:25px; align-items:center; }
.danger-zone p { margin:3px 0 0; color:var(--muted); font-size:12px; }

/* Admin */
.admin-page { min-height:100svh; background:#f4f3ef; }
.admin-shell { display:grid; grid-template-columns:245px 1fr; min-height:100svh; }
.admin-sidebar { padding:25px 18px; background:#13251f; color:white; position:sticky; top:0; height:100svh; }
.admin-sidebar .logo { padding:0 9px 25px; }
.admin-nav { display:grid; gap:5px; }
.admin-nav button { width:100%; min-height:42px; border:0; border-radius:10px; background:transparent; color:rgba(255,255,255,.63); text-align:left; padding:0 12px; cursor:pointer; }
.admin-nav button:hover,.admin-nav button.is-active { color:white; background:rgba(255,255,255,.09); }
.admin-main { min-width:0; }
.admin-topbar { min-height:72px; padding:0 32px; display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid rgba(24,55,45,.1); background:rgba(244,243,239,.92); position:sticky; top:0; z-index:10; backdrop-filter:blur(12px); }
.admin-content { padding:32px; }
.admin-title { margin:0; font-size:25px; letter-spacing:-.03em; }
.stat-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.stat-card { padding:19px; border:1px solid rgba(24,55,45,.09); border-radius:16px; background:white; }
.stat-card span { color:var(--muted); font-size:11px; }
.stat-card strong { display:block; margin-top:8px; font-size:25px; letter-spacing:-.04em; }
.admin-panel { margin-top:20px; border:1px solid rgba(24,55,45,.09); border-radius:18px; background:white; overflow:hidden; }
.panel-head { min-height:62px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--border); }
.panel-head h2 { margin:0; font-size:15px; }
.admin-table-wrap { overflow:auto; }
.admin-table { width:100%; border-collapse:collapse; font-size:12px; }
.admin-table th,.admin-table td { padding:13px 16px; text-align:left; white-space:nowrap; border-bottom:1px solid rgba(24,55,45,.07); }
.admin-table th { color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.admin-table tbody tr { cursor:pointer; }
.admin-table tbody tr:hover { background:#faf9f5; }
.status { display:inline-flex; padding:5px 8px; border-radius:999px; background:var(--sage); color:var(--green); font-size:10px; font-weight:700; }
.status.warn { background:#fff4d8; color:#755b21; }
.status.bad { background:#fbe6e2; color:#863b32; }
.admin-search { height:38px; min-width:240px; border:1px solid var(--border); border-radius:10px; padding:0 11px; background:white; }
.admin-view { display:none; }
.admin-view.is-active { display:block; }
.admin-detail-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:18px; }
.detail-card { padding:22px; border:1px solid var(--border); border-radius:16px; background:white; }
.detail-card h3 { margin:0 0 17px; font-size:14px; }
.detail-list { display:grid; gap:10px; font-size:12px; }
.detail-row { display:flex; justify-content:space-between; gap:20px; padding-bottom:9px; border-bottom:1px solid rgba(24,55,45,.07); }
.detail-row span:first-child { color:var(--muted); }
.admin-photo { min-height:320px; border-radius:14px; overflow:hidden; background:var(--stone); display:grid; place-items:center; }
.admin-photo img { width:100%; height:100%; max-height:500px; object-fit:contain; }
.admin-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.settings-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.setting-field label { display:block; font-size:11px; color:var(--muted); margin-bottom:6px; }
.setting-field input { width:100%; height:44px; border:1px solid var(--border); border-radius:10px; padding:0 12px; }

/* Legal */
.legal-page { background:var(--pearl); min-height:100svh; }
.legal-hero { padding:75px 0 35px; }
.legal-hero h1 { margin:0; font:400 clamp(52px,6vw,74px)/1 'Instrument Serif',Georgia,serif; }
.legal-hero p { max-width:620px; color:var(--muted); }
.legal-body { max-width:820px; padding-bottom:100px; }
.legal-body h2 { margin:45px 0 12px; font:400 31px/1.1 'Instrument Serif',Georgia,serif; }
.legal-body p,.legal-body li { color:#56625c; font-size:15px; }
.legal-body a { color:var(--green-3); text-decoration:underline; }

.reveal { opacity:0; transform:translateY(20px); transition:opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width: 1020px) {
  .main-nav { display:none; }
  .header-actions .signin-link { display:none; }
  .mobile-menu { display:block; }
  .hero { min-height:auto; padding-top:45px; }
  .hero-grid,.consultation-grid,.video-grid { grid-template-columns:1fr; }
  .hero-copy { text-align:center; }
  .hero-title,.hero-lead { margin-inline:auto; }
  .hero-actions,.hero-trust { justify-content:center; }
  .hero-visual { width:min(660px,88%); margin:15px auto 0; }
  .comparison-shell { aspect-ratio:.92; }
  .hero-note { right:-35px; }
  .video-grid { gap:40px; }
  .consultation-grid { gap:40px; }
  .consultation-visual { width:min(700px,100%); margin:auto; }
  .steps-grid { grid-template-columns:repeat(2,1fr); }
  .face-shape-card { grid-template-columns:1fr 1fr; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-cell:nth-child(2) { border-right:0; }
  .trust-cell:nth-child(-n+2) { border-bottom:1px solid var(--border); }
  .paywall-wrap.is-visible { grid-template-columns:1fr; max-width:760px; }
  .locked-grid { max-width:600px; margin:auto; }
  .result-grid { grid-template-columns:repeat(3,1fr); }
  .stat-grid { grid-template-columns:repeat(3,1fr); }
  .admin-shell { grid-template-columns:190px 1fr; }
}

@media (max-width: 760px) {
  .container { width:min(calc(100% - 28px),var(--container)); }
  .section { padding:78px 0; }
  .site-header { height:70px; }
  .header-actions .header-cta { display:none; }
  .logo-name { font-size:17px; }
  .hero { padding:35px 0 60px; }
  .hero-title { font-size:clamp(54px,15vw,72px); }
  .hero-lead { font-size:16px; }
  .hero-actions { display:grid; }
  .hero-actions .btn { width:100%; }
  .hero-visual { width:100%; }
  .comparison-shell { border-radius:25px; aspect-ratio:.85; }
  .hero-note { display:none; }
  .trust-grid { grid-template-columns:1fr 1fr; }
  .trust-cell { min-height:72px; padding:10px; text-align:center; flex-direction:column; font-size:11px; }
  .trust-icon { width:27px; height:27px; }
  .gallery-scroller { grid-auto-columns:76%; margin-right:-14px; }
  .video-card { border-radius:20px; aspect-ratio:1; }
  .video-card video { object-fit:cover; object-position:center top; }
  .consultation-visual { min-height:470px; }
  .consultation-photo { width:83%; height:450px; }
  .profile-card { width:63%; padding:17px; right:0; bottom:0; }
  .profile-card h3 { font-size:24px; }
  .face-shape-card { grid-template-columns:1fr; padding:22px; gap:25px; }
  .face-shape-visual { max-width:420px; margin:auto; }
  .steps-grid { grid-template-columns:1fr; }
  .step-card { min-height:235px; }
  .photo-tips-grid { grid-template-columns:1fr; }
  .cta-panel { grid-template-columns:1fr; padding:48px 26px; border-radius:27px; }
  .footer-grid { grid-template-columns:1.5fr 1fr; }
  .footer-bottom { flex-direction:column; }
  .flow-header { height:66px; flex-basis:66px; }
  .flow-content { padding:28px 0 20px; width:min(calc(100% - 28px),1000px); }
  .flow-progress-wrap { width:42vw; }
  .choice-grid,.choice-grid.three,.choice-grid.two { grid-template-columns:1fr 1fr; gap:10px; }
  .choice-card { min-height:105px; padding:14px; }
  .visual-choice { min-height:260px; }
  .visual-choice .visual-img { height:174px; }
  .swatch-grid { grid-template-columns:repeat(3,1fr); gap:9px; }
  .flow-footer { min-height:72px; }
  .flow-footer-inner { width:min(calc(100% - 28px),1000px); }
  .upload-layout { grid-template-columns:1fr; gap:22px; }
  .upload-copy { text-align:center; }
  .micro-list { display:none; }
  .dropzone { min-height:360px; }
  .email-card { padding:30px 20px; }
  .email-card h2 { font-size:42px; }
  .photo-tips-modal { align-items:end; padding:0; }
  .tips-modal-card { border-radius:26px 26px 0 0; max-height:84vh; }
  .plan-page .analysis-stage { padding-top:30px; }
  .analysis-box h1 { font-size:44px; }
  .paywall-wrap.is-visible { gap:30px; }
  .locked-grid { grid-template-columns:repeat(3,1fr); }
  .include-list { grid-template-columns:1fr; }
  .dashboard-header .btn-secondary { display:none; }
  .dash-main { padding-top:35px; }
  .dash-hero { display:block; }
  .progress-card { min-width:0; max-width:none; margin-top:20px; }
  .result-grid { grid-template-columns:repeat(2,1fr); gap:9px; }
  .result-dialog { grid-template-columns:1fr; }
  .result-dialog-image { min-height:460px; max-height:58vh; }
  .result-dialog-copy { padding:24px; }
  .result-dialog h2 { margin-top:18px; }
  .danger-zone { display:block; }
  .danger-zone .btn { margin-top:14px; }
  .admin-shell { display:block; }
  .admin-sidebar { position:static; height:auto; padding:14px; }
  .admin-nav { display:flex; overflow-x:auto; }
  .admin-nav button { width:auto; flex:0 0 auto; }
  .admin-sidebar .logo { padding-bottom:14px; }
  .admin-topbar { padding:0 16px; }
  .admin-content { padding:16px; }
  .stat-grid { grid-template-columns:repeat(2,1fr); }
  .admin-detail-grid,.settings-grid { grid-template-columns:1fr; }
  .admin-search { min-width:0; width:160px; }
}

@media (max-width: 460px) {
  .choice-grid,.choice-grid.three,.choice-grid.two { grid-template-columns:1fr; }
  .visual-choice { min-height:225px; display:grid; grid-template-columns:120px 1fr; }
  .visual-choice .visual-img { height:100%; }
  .swatch-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:30px 20px; }
  .footer-brand { grid-column:1/-1; }
  .result-grid { grid-template-columns:1fr 1fr; }
  .stat-grid { grid-template-columns:1fr 1fr; }
}

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

/* Editorial hero gallery replaces competitor-branded reference visuals. */
.hero-gallery { position:relative; min-height:610px; width:min(100%,620px); margin-left:auto; }
.hero-gallery-main { position:absolute; inset:25px 76px 25px 42px; border-radius:34px; overflow:hidden; box-shadow:var(--shadow); background:var(--stone); }
.hero-gallery-main img { width:100%; height:100%; object-fit:cover; }
.gallery-badge { position:absolute; left:18px; bottom:18px; padding:9px 13px; border-radius:999px; background:rgba(252,250,246,.9); color:var(--green); font-size:11px; font-weight:700; backdrop-filter:blur(12px); }
.hero-gallery-small { position:absolute; width:155px; height:205px; border-radius:22px; overflow:hidden; background:var(--stone); box-shadow:var(--shadow-sm); border:5px solid var(--ivory); }
.hero-gallery-small img { width:100%; height:100%; object-fit:cover; }
.hero-gallery-small.top { right:0; top:0; transform:rotate(3deg); }
.hero-gallery-small.bottom { left:0; bottom:0; transform:rotate(-3deg); }
.hero-gallery-small span { position:absolute; left:9px; bottom:9px; padding:6px 9px; border-radius:999px; background:rgba(19,37,31,.72); color:white; font-size:10px; backdrop-filter:blur(8px); }
@media(max-width:1020px){.hero-gallery{margin:auto;min-height:560px}.hero-gallery-main{inset:20px 65px 20px 65px}}
@media(max-width:760px){.hero-gallery{min-height:470px}.hero-gallery-main{inset:18px 45px}.hero-gallery-small{width:120px;height:160px}.hero-gallery-small.top{right:-4px}.hero-gallery-small.bottom{left:-4px}.hero-note{display:none}}

/* Style-inspiration fallback: visual directions stay truthful until owned hairstyle imagery is supplied. */
.gallery-disclosure{max-width:780px;margin:18px auto 0;text-align:center;color:var(--muted);font-size:.88rem;line-height:1.55}
.color-direction-card{min-height:100%}
.color-direction-visual{aspect-ratio:4/5;display:grid;grid-template-columns:1fr 1fr;background:var(--warm);overflow:hidden}
.color-direction-visual span{background:radial-gradient(circle at 38% 35%,color-mix(in srgb,var(--sw),white 22%),var(--sw) 62%,color-mix(in srgb,var(--sw),black 18%));}
