/* 훼이맵FateMap — 별과 오행이 고른 오늘의 향 */

/* 바탕은 늘 라이트 베이지 (html의 data-theme="light"로 기기 다크 모드를 따르지 않음) */
:root{
  --bg:#F5EEE3;
  --bg-alt:#ECE2D2;
  --surface:#FFFCF7;
  --surface-2:#F2EADD;
  --text:#24212C;
  --muted:#6B6472;
  --border:#E3D7C3;
  --navy:#1D2147;
  --navy-2:#2B3062;
  --navy-ink:#ECE6F4;
  --gold:#A9843F;
  --gold-soft:#E7D4A4;
  --fire:#C1502B; --earth:#6E7440; --air:#4C6E80; --water:#2F5A72;
  --top:#C69E66; --middle:#8A6F4C; --base:#3E3326;
  --serif:'Noto Serif KR',serif;
  --sans:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --latin:'Cormorant Garamond',Georgia,serif;
  --radius:16px;
  --shadow:0 10px 30px rgba(29,33,71,.08);
  --shadow-lg:0 22px 50px rgba(29,33,71,.16);
  --header:68px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#11122A; --bg-alt:#171936; --surface:#1C1E3D; --surface-2:#24274A;
    --text:#EEE8DC; --muted:#A9A3B9; --border:#30335C;
    --gold:#D6B66F; --gold-soft:#5A4C2E;
    --fire:#E4703F; --earth:#A4AC62; --air:#8FB0C4; --water:#6EA2BC;
    --shadow:0 10px 30px rgba(0,0,0,.3); --shadow-lg:0 22px 50px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"]{
  --bg:#11122A; --bg-alt:#171936; --surface:#1C1E3D; --surface-2:#24274A;
  --text:#EEE8DC; --muted:#A9A3B9; --border:#30335C;
  --gold:#D6B66F; --gold-soft:#5A4C2E;
  --fire:#E4703F; --earth:#A4AC62; --air:#8FB0C4; --water:#6EA2BC;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header) + 8px); -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--bg); color:var(--text); font-family:var(--sans); font-size:16px; line-height:1.7; word-break:keep-all; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
button{ font:inherit; color:inherit; }
h1,h2,h3,h4{ font-family:var(--serif); line-height:1.35; margin:0; letter-spacing:-.01em; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }
[hidden]{ display:none !important; }

.container{ width:100%; max-width:1120px; margin:0 auto; padding:0 24px; }
.container.narrow{ max-width:820px; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--navy); color:#fff; padding:8px 14px; border-radius:8px; z-index:100; }
.skip:focus{ left:8px; }

/* ---------- 버튼 ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px; border-radius:999px; border:1px solid transparent; font-weight:700; font-size:15px; text-decoration:none; cursor:pointer; transition:transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover{ transform:translateY(-2px); }
.btn-sm{ padding:10px 18px; font-size:14px; }
.btn-block{ width:100%; }
.btn-gold{ background:linear-gradient(135deg,#D9BC7A,#B08D4C); color:#1D2147; box-shadow:0 8px 20px rgba(176,141,76,.3); }
.btn-dark{ background:var(--navy); color:#fff; }
:root[data-theme="dark"] .btn-dark{ background:var(--gold); color:#11122A; }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .btn-dark{ background:var(--gold); color:#11122A; } }
.btn-line{ border-color:var(--border); background:var(--surface); }
.btn-line:hover{ border-color:var(--muted); }
.btn-ghost-light{ border-color:rgba(255,255,255,.55); color:#fff; background:rgba(255,255,255,.06); }
.btn-ghost-light:hover{ background:rgba(255,255,255,.16); }
.btn-line-light{ border-color:rgba(231,212,164,.5); color:#F3EAD6; }
.btn-line-light:hover{ background:rgba(231,212,164,.12); }
.link{ background:none; border:none; padding:0; text-decoration:underline; cursor:pointer; color:inherit; font-size:inherit; }

/* ---------- 헤더 ---------- */
.site-header{ position:fixed; inset:0 0 auto; height:var(--header); z-index:50; transition:background .3s, box-shadow .3s, color .3s; color:#fff; }
.site-header.solid{ background:color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter:blur(12px); box-shadow:0 1px 0 var(--border); color:var(--text); }
.header-inner{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; font-family:var(--serif); font-weight:700; font-size:18px; }
.brand img{ border-radius:50%; }
.brand em{ font-family:var(--latin); font-style:italic; font-weight:600; font-size:20px; margin-left:2px; color:var(--gold-soft); }
.site-header.solid .brand em{ color:var(--gold); }
.nav{ display:flex; align-items:center; gap:26px; font-size:14.5px; }
.nav a{ text-decoration:none; opacity:.85; position:relative; }
.nav a:hover, .nav a.active{ opacity:1; }
.nav a:not(.nav-cta)::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--gold); transform:scaleX(0); transition:transform .25s; }
.nav a.active::after, .nav a:hover::after{ transform:scaleX(1); }
.nav-cta{ padding:8px 18px; border-radius:999px; background:var(--gold); color:#1D2147 !important; font-weight:700; opacity:1 !important; }
/* 언어 선택 */
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.lang{ position:relative; flex:none; }
.lang::before{ content:"🌐"; position:absolute; left:10px; top:50%; transform:translateY(-50%); font-size:13px; pointer-events:none; }
.lang select{ appearance:none; -webkit-appearance:none; font:inherit; font-size:13.5px; color:inherit; background:transparent; border:1px solid currentColor; border-radius:999px; padding:6px 14px 6px 30px; cursor:pointer; opacity:.9; }
.lang select:hover{ opacity:1; }
.lang option{ color:#1D2147; background:#fff; }
/* 구글 번역이 끼워 넣는 상단 막대와 말풍선 숨기기 */
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame{ display:none !important; }
body{ top:0 !important; }
.goog-text-highlight{ background:none !important; box-shadow:none !important; }
.menu-btn{ display:none; width:42px; height:42px; background:none; border:none; position:relative; cursor:pointer; }
.menu-btn span{ position:absolute; left:10px; width:22px; height:2px; background:currentColor; border-radius:2px; transition:transform .3s, opacity .3s; }
.menu-btn span:nth-child(1){ top:14px; } .menu-btn span:nth-child(2){ top:20px; } .menu-btn span:nth-child(3){ top:26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-btn[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ---------- 히어로 ---------- */
.hero{ position:relative; min-height:100vh; min-height:100svh; display:flex; align-items:center; color:#fff; overflow:hidden; background:var(--navy); }
.hero-bg{ position:absolute; inset:0; background:url('img/hero-photo.jpg') center/cover no-repeat; transform:scale(1.04); animation:heroZoom 18s ease-out forwards; }
.hero-bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(14,15,38,.88) 0%, rgba(14,15,38,.62) 45%, rgba(14,15,38,.15) 100%), linear-gradient(0deg, rgba(14,15,38,.55), transparent 40%); }
@keyframes heroZoom{ to{ transform:scale(1); } }
.hero-inner{ position:relative; padding-top:var(--header); padding-bottom:60px; }
.hero h1{ font-size:clamp(38px, 6vw, 68px); font-weight:600; margin:14px 0 22px; }
.hero h1 span{ background:linear-gradient(90deg,#F2DFA9,#C9A256); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-lede{ font-size:clamp(16px,1.8vw,19px); color:#DCD6E8; margin:0 0 34px; max-width:520px; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-trust{ list-style:none; padding:0; margin:56px 0 0; display:flex; gap:0; flex-wrap:wrap; max-width:720px; border-top:1px solid rgba(255,255,255,.18); }
.hero-trust li{ flex:1 1 200px; padding:18px 20px 0 0; font-size:12.5px; color:#B9B3CB; }
.hero-trust b{ display:block; font-size:14.5px; color:#fff; font-weight:500; }
.hero-inner > *{ opacity:0; transform:translateY(18px); animation:rise .9s ease forwards; }
.hero-inner > *:nth-child(2){ animation-delay:.1s; } .hero-inner > *:nth-child(3){ animation-delay:.2s; } .hero-inner > *:nth-child(4){ animation-delay:.3s; } .hero-inner > *:nth-child(5){ animation-delay:.4s; } .hero-inner > *:nth-child(6){ animation-delay:.5s; }
@keyframes rise{ to{ opacity:1; transform:none; } }
.scroll-cue{ position:absolute; left:50%; bottom:26px; width:24px; height:40px; margin-left:-12px; border:1.5px solid rgba(255,255,255,.6); border-radius:14px; }
.scroll-cue span{ position:absolute; left:50%; top:8px; width:3px; height:8px; margin-left:-1.5px; border-radius:2px; background:#fff; animation:cue 1.8s infinite; }
@keyframes cue{ 0%{ opacity:0; transform:translateY(0); } 40%{ opacity:1; } 100%{ opacity:0; transform:translateY(12px); } }

/* ---------- 섹션 공통 ---------- */
.section{ padding:120px 0; }
.section-alt{ background:var(--bg-alt); }
.section-dark{ background:radial-gradient(ellipse at 20% 0%, #2E3470 0%, var(--navy) 55%, #12142F 100%); color:var(--navy-ink); }
.section-head{ max-width:680px; margin-bottom:56px; }
.section-head h2, .contact-info h2, .maker-text h2{ font-size:clamp(28px,3.6vw,40px); font-weight:600; margin-bottom:16px; }
.eyebrow{ font-family:var(--latin); font-size:15px; letter-spacing:.22em; color:var(--gold); margin:0 0 12px; font-weight:600; }
.eyebrow.light, .eyebrow.gold{ color:var(--gold-soft); }
.lede{ color:var(--muted); font-size:16.5px; margin:0; }
.section-dark .lede{ color:#BDB7D0; }
.fine, .disclaimer{ font-size:12.5px; color:var(--muted); margin-top:22px; }
.disclaimer{ text-align:center; max-width:640px; margin:28px auto 0; }
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- 브랜드 ---------- */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pillar{ padding:34px 30px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.pillar-no{ font-family:var(--latin); font-size:30px; color:var(--gold); }
.pillar h3{ font-size:21px; margin:6px 0 10px; }
.pillar p{ margin:0; color:var(--muted); font-size:15px; }
.method{ margin-top:28px; display:grid; grid-template-columns:1fr 1.2fr; gap:40px; align-items:center; padding:44px; border-radius:24px; background:var(--navy); color:var(--navy-ink); }
.method h3{ font-size:26px; margin-bottom:12px; }
.method-title p:last-child{ color:#BDB7D0; margin:0; font-size:15px; }
.method-steps{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.method-steps li{ padding:18px 22px; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(231,212,164,.18); }
.method-steps b{ display:block; color:var(--gold-soft); font-family:var(--serif); font-size:16px; }
.method-steps span{ font-size:14.5px; color:#CFC9DF; }
.lucky-side{ display:grid; gap:16px; justify-items:center; text-align:center; }
.lucky-balls{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.lucky-balls span{ width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-family:var(--serif); font-size:18px; font-weight:700; color:#1D2147; background:radial-gradient(circle at 35% 30%,#F6E7BF,#D9BC7A 55%,#B08D4C); box-shadow:0 6px 16px rgba(176,141,76,.35); }
.lucky .btn-block{ max-width:340px; }
.lucky-note{ margin:0; font-size:13px; color:#BDB7D0; }
/* 08 제목: 로또공 글자 */
.lotto-title > span{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.lotto-title .lb{ width:64px; height:64px; border-radius:50%; display:grid; place-items:center; font-family:var(--sans,inherit); font-size:28px; font-weight:800; line-height:1; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.35); box-shadow:inset -6px -8px 14px rgba(0,0,0,.22), inset 6px 6px 12px rgba(255,255,255,.45), 0 6px 14px rgba(0,0,0,.18); }
.lotto-title .lb::before{ content:none; }
.lotto-title .lb0{ background:radial-gradient(circle at 32% 28%,#fff3b0,#f6c533 55%,#d79a0e); color:#5a3d00; text-shadow:none; }
.lotto-title .lb1{ background:radial-gradient(circle at 32% 28%,#b9dcff,#4a90e2 55%,#2563b8); }
.lotto-title .lb2{ background:radial-gradient(circle at 32% 28%,#ffb3b3,#e94b4b 55%,#b92a2a); }
.lotto-title .lb3{ background:radial-gradient(circle at 32% 28%,#e3e3e3,#9a9a9a 55%,#6b6b6b); }
.lotto-title .lb4{ background:radial-gradient(circle at 32% 28%,#c4f0b5,#5cbf4a 55%,#3a8f2c); }
.lotto-title .lb-gap{ width:14px; }
@media (max-width:860px){ .lotto-title > span{ flex-wrap:nowrap; gap:5px; } .lotto-title .lb{ width:38px; height:38px; font-size:17px; flex-shrink:0; } .lotto-title .lb-gap{ width:5px; flex-shrink:0; } .lucky-balls{ flex-wrap:nowrap; gap:6px; } .lucky-balls span{ width:38px; height:38px; font-size:15px; flex-shrink:0; } }
@media (max-width:400px){ .lotto-title > span{ gap:4px; } .lotto-title .lb{ width:32px; height:32px; font-size:14px; } .lotto-title .lb-gap{ width:4px; } .lucky-balls{ gap:5px; } .lucky-balls span{ width:32px; height:32px; font-size:13px; } }
.lucky-row{ margin-top:28px; display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:20px; align-items:stretch; }
.lucky-row .method{ margin-top:0; }
.lucky-qr{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:24px 20px; border-radius:24px; background:var(--navy); color:var(--navy-ink); text-decoration:none; text-align:center; }
.lucky-qr img{ width:100%; max-width:170px; height:auto; border-radius:12px; background:#fff; padding:8px; margin-bottom:8px; box-shadow:0 8px 20px rgba(0,0,0,.25); }
.lucky-qr b{ font-family:var(--serif); color:var(--gold-soft); font-size:16px; }
.lucky-qr span{ font-size:13px; color:#BDB7D0; }
@media (max-width:860px){ .lucky-row{ grid-template-columns:1fr; } .lucky-qr img{ max-width:150px; } }

/* ---------- 탭 ---------- */
.tabs{ display:flex; gap:6px; padding:6px; border-radius:999px; background:var(--surface); border:1px solid var(--border); width:fit-content; max-width:100%; overflow-x:auto; margin-bottom:22px; }
.tab{ border:none; background:none; padding:11px 22px; border-radius:999px; font-weight:700; font-size:14.5px; color:var(--muted); cursor:pointer; white-space:nowrap; }
.tab[aria-selected="true"]{ background:var(--navy); color:#fff; }
.panel{ padding:34px; border-radius:24px; background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow); animation:fade .4s ease; }
@keyframes fade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.panel-intro{ margin:0 0 18px; color:var(--muted); }

/* 향기카드 방법 선택 */
.methods{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:26px; }
.method-btn{ text-align:left; padding:14px 16px; border-radius:14px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; transition:border-color .2s, background .2s; }
.method-btn b{ display:block; font-family:var(--serif); font-size:15.5px; }
.method-btn span{ font-size:12.5px; color:var(--muted); }
.method-btn.active{ border-color:var(--navy); background:var(--surface); box-shadow:inset 0 0 0 1px var(--navy); }
:root[data-theme="dark"] .method-btn.active{ border-color:var(--gold); box-shadow:inset 0 0 0 1px var(--gold); }
.stage-intro{ margin:0 0 6px; color:var(--muted); }
.stage-status{ font-size:14px; font-weight:700; margin:0; }
.stage-status b{ color:var(--fire); }

/* 카드 펼침 */
.spread{ display:flex; justify-content:center; padding:40px 10px 46px; overflow:hidden; }
.spread-card{ flex:0 0 auto; width:70px; aspect-ratio:2/3; margin-left:-34px; border:none; padding:0; border-radius:8px; cursor:pointer; background:url('img/card-back.svg') center/cover, #1a1a44; box-shadow:0 4px 10px rgba(0,0,0,.35); transition:transform .18s ease, opacity .3s; position:relative; }
.spread-card:first-child{ margin-left:0; }
.spread-card:hover, .spread-card:focus-visible{ transform:translateY(-16px) scale(1.06) !important; z-index:5; }
.spread-card.picked{ transform:translateY(-26px) !important; z-index:6; outline:3px solid var(--gold); outline-offset:-1px; }
.spread-card .no{ position:absolute; inset:auto 0 6px; margin:auto; width:24px; height:24px; border-radius:50%; background:var(--gold); color:#1D2147; font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; }
.spread.done .spread-card:not(.picked){ opacity:.25; pointer-events:none; }

/* 카드 결과 (한 장) */
.card-result{ display:grid; grid-template-columns:280px 1fr; gap:36px; align-items:start; animation:fade .5s ease; }
.card-img{ width:100%; border-radius:14px; box-shadow:var(--shadow-lg); aspect-ratio:2/3; object-fit:cover; background:#1a1a44; }
.card-flip{ perspective:1000px; aspect-ratio:2/3; }
.card-flip .inner{ position:relative; width:100%; height:100%; transform-style:preserve-3d; transition:transform .9s cubic-bezier(.4,.2,.2,1); }
.card-flip.open .inner{ transform:rotateY(180deg); }
.card-flip .face{ position:absolute; inset:0; border-radius:14px; backface-visibility:hidden; -webkit-backface-visibility:hidden; background:url('img/card-back.svg') center/cover, #1a1a44; box-shadow:var(--shadow-lg); }
.card-flip .face.front{ transform:rotateY(180deg); background-size:cover; background-position:center; }
.card-head{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.card-no{ font-family:var(--latin); font-size:18px; color:var(--muted); }
.card-title{ font-size:26px; }
.card-kw{ color:var(--fire); font-size:14.5px; margin:4px 0 22px; }
.card-sec{ margin-bottom:16px; }
.card-label{ font-size:12px; letter-spacing:.08em; color:var(--muted); margin:0 0 3px; font-weight:700; }
.card-text{ margin:0; font-size:15.5px; }
.card-caution{ font-size:13px; color:var(--muted); border-left:2px solid var(--gold); padding-left:12px; margin:20px 0 0; }
.card-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.card-actions .btn{ flex:1 1 180px; }

/* 3장 리딩 */
.reading{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.reading-item{ text-align:center; }
.reading-pos{ display:inline-block; font-size:12.5px; font-weight:700; padding:4px 12px; border-radius:999px; background:var(--surface-2); color:var(--muted); margin-bottom:12px; }
.reading-item .card-flip{ max-width:200px; margin:0 auto 14px; cursor:pointer; }
.reading-text{ opacity:0; transition:opacity .6s; text-align:left; font-size:14.5px; }
.reading-item.open .reading-text{ opacity:1; }
.reading-text b{ display:block; text-align:center; font-family:var(--serif); font-size:16px; margin-bottom:4px; }
.recipe{ margin-top:30px; padding:28px; border-radius:18px; background:var(--surface-2); animation:fade .5s ease; }
.recipe h4{ font-size:20px; margin-bottom:4px; }
.recipe-sub{ color:var(--muted); font-size:14px; margin:0 0 20px; }
.recipe-cols{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.recipe-row{ display:grid; grid-template-columns:100px 1fr 54px; gap:10px; align-items:center; font-size:14px; margin:8px 0; }
.recipe-bar{ height:10px; border-radius:999px; background:var(--border); overflow:hidden; }
.recipe-bar i{ display:block; height:100%; border-radius:inherit; }
.recipe ul{ margin:18px 0 0; padding-left:18px; font-size:13px; color:var(--muted); }

/* 별자리 / 키워드 선택 */
.sign-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:8px; }
.sign-btn{ padding:14px 6px; border-radius:12px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; text-align:center; }
.sign-btn b{ display:block; font-size:20px; color:var(--fire); line-height:1.3; }
.sign-btn span{ display:block; font-size:13.5px; font-weight:700; }
.sign-btn small{ font-size:11.5px; color:var(--muted); }
.sign-btn:hover, .kw-btn:hover, .mood-btn:hover{ border-color:var(--muted); }
.kw-grid{ display:flex; flex-wrap:wrap; gap:8px; }
.kw-btn{ padding:10px 16px; border-radius:999px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; font-size:14px; }

/* 4원소 진단 */
.quiz-progress{ height:6px; border-radius:999px; background:var(--surface-2); overflow:hidden; margin-bottom:24px; }
.quiz-progress i{ display:block; height:100%; background:linear-gradient(90deg,var(--fire),var(--earth),var(--air),var(--water)); transition:width .4s; }
.quiz-q{ font-family:var(--serif); font-size:21px; margin:0 0 18px; }
.quiz-count{ font-size:13px; color:var(--muted); margin:0 0 6px; }
.quiz-opts{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.quiz-opt{ text-align:left; padding:16px 18px; border-radius:14px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; font-size:15px; transition:border-color .2s, transform .15s; }
.quiz-opt:hover{ border-color:var(--navy); transform:translateY(-2px); }
.quiz-nav{ margin-top:18px; display:flex; justify-content:space-between; font-size:14px; }
.el-result{ display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:start; animation:fade .5s ease; }
.el-badge{ display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px; color:#fff; font-weight:700; font-size:14px; }
.el-title{ font-size:26px; margin:14px 0 10px; }
.el-bars{ display:grid; gap:10px; margin:20px 0; }
.el-bar{ display:grid; grid-template-columns:76px 1fr 40px; gap:10px; align-items:center; font-size:14px; }
.el-cards{ display:flex; gap:12px; margin:12px 0 4px; }
.el-cards img{ width:31%; border-radius:10px; cursor:pointer; box-shadow:var(--shadow); transition:transform .2s; }
.el-cards img:hover{ transform:translateY(-4px); }

/* 나의 향기 찾기 */
.sq-intro{ text-align:center; padding:10px 0; }
.sq-intro h3{ font-size:24px; margin:0 0 10px; }
.sq-intro .el-cards{ justify-content:center; max-width:330px; margin:6px auto 22px; }
.sq-type{ font-family:var(--serif); font-size:15px; margin:16px 0 2px; color:var(--muted); }
.sq-partners{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:8px 0 4px; }
.sq-partner{ display:flex; gap:12px; align-items:center; padding:10px; border-radius:14px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; text-align:left; font-size:13px; color:var(--muted); }
.sq-partner img{ width:48px; border-radius:6px; flex:none; }
.sq-partner b{ display:block; font-size:14.5px; color:var(--text); }
.sq-partner:hover{ border-color:var(--muted); }
.sq-recipe{ margin-top:16px; padding:16px 18px; border-radius:14px; background:var(--surface-2); }
.sq-recipe .recipe-row{ margin:6px 0; }

/* 오늘의 향 */
.mood-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.mood-btn{ padding:18px 12px; border-radius:14px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; font-size:14.5px; font-weight:500; }
.mood-btn b{ display:block; font-size:24px; margin-bottom:4px; }
.mood-btn.on{ border-color:var(--navy); background:var(--surface); box-shadow:inset 0 0 0 1px var(--navy); }
.mood-result{ margin-top:26px; display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:center; animation:fade .5s ease; }
.mood-cards{ display:flex; }
.mood-cards img{ width:104px; border-radius:10px; box-shadow:var(--shadow-lg); cursor:pointer; margin-left:-26px; transition:transform .2s; }
.mood-cards img:first-child{ margin-left:0; transform:rotate(-6deg); }
.mood-cards img:last-child{ transform:rotate(6deg); }
.mood-cards img:hover{ transform:translateY(-8px) rotate(0); z-index:2; position:relative; }

/* ---------- 향의 지도 ---------- */
.atlas{ display:grid; grid-template-columns:1.3fr 1fr; gap:44px; align-items:center; }
.wheel{ width:100%; max-width:520px; margin:0 auto; }
.wheel text{ font-family:var(--sans); }
.wheel .node{ cursor:pointer; }
.wheel .node circle{ transition:r .2s; }
.wheel .node:hover circle, .wheel .node:focus circle{ r:14; }
.wheel .node:focus{ outline:none; }
.birth{ padding:24px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border); }
.birth label{ display:block; font-weight:700; margin-bottom:10px; }
.birth-row{ display:flex; gap:8px; }
.birth-row input{ flex:1; min-width:0; }
.birth-out{ margin:12px 0 0; min-height:22px; font-size:14.5px; }
.birth-out button{ color:var(--fire); font-weight:700; }
.notes{ margin-top:22px; }
.notes-title{ font-weight:700; margin:0 0 8px; }
.notes-bar{ display:flex; border-radius:10px; overflow:hidden; color:#fff; font-size:12.5px; text-align:center; }
.notes-bar span{ padding:8px 0; }
.notes-bar span:nth-child(1){ background:var(--top); } .notes-bar span:nth-child(2){ background:var(--middle); } .notes-bar span:nth-child(3){ background:var(--base); }
.notes-desc{ font-size:14px; color:var(--muted); margin:10px 0 0; }
.oil-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:44px; }
.oil-item{ display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:12px; border:1px solid #DCD3EA; background:#F1ECF8; cursor:pointer; text-align:left; transition:border-color .2s, transform .2s, background .2s; }
.oil-item:hover{ border-color:#B9AAD3; background:#EAE3F5; transform:translateY(-2px); }
.oil-item img{ width:34px; border-radius:4px; aspect-ratio:2/3; object-fit:cover; }
.oil-item small{ display:block; font-size:11.5px; color:var(--muted); }
.oil-item b{ font-size:14px; font-weight:500; line-height:1.35; display:block; }
.oil-item .note{ margin-left:auto; flex-shrink:0; font-size:11px; padding:2px 8px; border-radius:999px; color:#fff; }

/* ---------- 프로그램 ---------- */
.program-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.program{ display:flex; flex-direction:column; padding:30px 26px; border-radius:20px; background:rgba(255,255,255,.05); border:1px solid rgba(231,212,164,.18); }
.program.featured{ background:linear-gradient(160deg, rgba(231,212,164,.16), rgba(255,255,255,.04)); border-color:rgba(231,212,164,.5); }
.badge{ font-family:var(--latin); font-size:13px; letter-spacing:.2em; color:var(--gold-soft); }
.program h3{ font-size:21px; margin:10px 0 12px; color:#fff; }
.program p{ font-size:14.5px; color:#C4BED6; margin:0; flex:1; }
.program-meta{ list-style:none; padding:16px 0 0; margin:20px 0 20px; border-top:1px solid rgba(255,255,255,.12); font-size:14px; display:grid; gap:4px; color:#fff; }
.program-meta span{ display:inline-block; width:74px; color:#9D97B4; }
.flow{ list-style:none; padding:0; margin:48px 0 0; display:grid; grid-template-columns:repeat(4,1fr); counter-reset:f; }
.flow li{ counter-increment:f; position:relative; padding:18px 18px 0; border-top:1px solid rgba(231,212,164,.3); font-size:13.5px; color:#A9A3BF; }
.flow li::before{ content:counter(f); position:absolute; top:-14px; left:18px; width:26px; height:26px; border-radius:50%; background:var(--gold-soft); color:var(--navy); font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; }
.flow b{ display:block; color:#fff; font-size:15px; margin-top:6px; }

/* ---------- 대표 ---------- */
.maker{ display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:center; }
.maker-cert{ margin:0; border-radius:20px; overflow:hidden; box-shadow:var(--shadow-lg); }
.maker-name{ font-family:var(--serif); font-size:24px; font-weight:700; margin:0 0 18px; }
.maker-name span{ display:block; font-family:var(--sans); font-size:13.5px; font-weight:400; color:var(--muted); }
.creds{ list-style:none; padding:0; margin:0 0 24px; display:grid; gap:10px; }
.creds li{ padding:12px 16px; border-radius:12px; background:var(--surface); border:1px solid var(--border); }
.creds b{ display:block; }
.creds span{ font-size:13.5px; color:var(--muted); }
.maker blockquote{ margin:0; font-family:var(--serif); font-size:16.5px; line-height:1.9; color:var(--muted); padding-left:18px; border-left:3px solid var(--gold); }

/* ---------- 후기 ---------- */
.reviews{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.review{ margin:0; padding:24px 22px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border); display:flex; flex-direction:column; }
.review span{ font-size:12px; font-weight:700; color:var(--gold); }
.review p{ font-family:var(--serif); font-size:15.5px; line-height:1.75; margin:10px 0 16px; flex:1; }
.review cite{ font-style:normal; font-size:12.5px; color:var(--muted); }

/* ---------- 제품 ---------- */
.products{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.product{ border-radius:20px; overflow:hidden; background:var(--surface); border:1px solid var(--border); display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s; }
.product:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.product-visual{ position:relative; height:240px; background:radial-gradient(ellipse at 50% 40%, #343B7E, var(--navy) 70%); display:flex; align-items:center; justify-content:center; }
.product-visual img{ position:absolute; width:96px; border-radius:8px; box-shadow:0 10px 24px rgba(0,0,0,.45); }
.product-visual img:nth-child(1){ transform:translateX(-66px) rotate(-10deg); }
.product-visual img:nth-child(2){ transform:translateY(-8px); z-index:2; }
.product-visual img:nth-child(3){ transform:translateX(66px) rotate(10deg); }
.product-body{ padding:24px 24px 26px; display:flex; flex-direction:column; flex:1; }
.product-tag{ font-size:12px; font-weight:700; color:var(--gold); }
.product h3{ font-size:20px; margin:6px 0 10px; }
.product p{ font-size:14.5px; color:var(--muted); margin:0 0 20px; flex:1; }
.channels{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:36px; }

/* ---------- FAQ ---------- */
.faq details{ border-bottom:1px solid var(--border); }
.faq details:first-child{ border-top:1px solid var(--border); }
.faq summary{ list-style:none; cursor:pointer; padding:22px 4px; font-weight:700; font-size:16.5px; display:flex; justify-content:space-between; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-family:var(--latin); font-size:26px; line-height:1; color:var(--gold); transition:transform .25s; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ margin:0 4px 22px; color:var(--muted); }

/* ---------- 문의 ---------- */
.contact{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:start; }
.contact-info .lede{ margin-bottom:28px; }
.contact-list{ list-style:none; padding:0; margin:0 0 24px; display:grid; gap:14px; }
.contact-list span{ display:block; font-size:12.5px; color:var(--muted); }
.contact-list a, .contact-list em{ font-style:normal; font-size:17px; font-weight:500; text-decoration:none; white-space:pre-line; }
.contact-list a:hover{ color:var(--gold); }
.contact-quick{ display:flex; gap:8px; flex-wrap:wrap; }
.contact-form{ display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:34px; border-radius:24px; background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow); }
.contact-form label{ display:flex; flex-direction:column; gap:6px; font-size:13.5px; font-weight:500; color:var(--muted); }
.contact-form label b{ color:var(--fire); }
.full{ grid-column:1 / -1; }
input:not([type=checkbox]), select, textarea{ width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--border); background:var(--surface-2); color:var(--text); font:inherit; font-size:15px; transition:border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
textarea{ resize:vertical; }
.contact-form label.check{ flex-direction:row; align-items:flex-start; gap:10px; font-weight:400; }
.contact-form label.check input{ margin-top:4px; width:16px; height:16px; accent-color:var(--navy); }
.report-fields{ display:grid; grid-template-columns:1fr 1fr; gap:12px; border:1px dashed var(--border); border-radius:14px; padding:16px; margin:0; }
.report-fields legend{ padding:0 6px; font-size:13px; font-weight:700; color:var(--gold); }
.is-invalid{ border-color:var(--fire) !important; }
.form-error{ margin:0; min-height:20px; font-size:14px; color:var(--fire); }
.hp{ position:absolute; left:-9999px; }
.form-done{ padding:22px; border-radius:14px; background:var(--surface-2); text-align:center; }
.form-done h4{ font-size:19px; margin-bottom:6px; }
.form-done p{ margin:0 0 14px; color:var(--muted); font-size:14.5px; }
.form-done .btns{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }

/* 상담 시간 예약 */
.contact-side{ display:grid; gap:20px; min-width:0; }
.contact-side > *, .booking > *{ min-width:0; }
.booking-head h3{ font-size:22px; margin:0 0 4px; }
.booking-head .fine{ margin:0; }
.booking-label{ margin:0 0 8px; font-size:13.5px; font-weight:500; color:var(--muted); }
.booking-label span{ color:var(--text); font-weight:700; margin-left:4px; }
.booking-dates{ display:flex; gap:8px; overflow-x:auto; padding:2px 2px 8px; scroll-snap-type:x proximity; }
.booking-date{ flex:0 0 auto; width:64px; padding:8px 0; border-radius:12px; border:1px solid var(--border); background:var(--surface-2); color:var(--text); font:inherit; cursor:pointer; text-align:center; scroll-snap-align:start; line-height:1.3; }
.booking-date small{ display:block; font-size:12px; color:var(--muted); }
.booking-date b{ font-size:18px; font-family:var(--latin); }
.booking-slots{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; min-height:44px; }
.booking-slot{ padding:10px 0; border-radius:10px; border:1px solid var(--border); background:var(--surface-2); color:var(--text); font:inherit; font-size:15px; cursor:pointer; }
.booking-date[aria-checked="true"], .booking-slot[aria-checked="true"]{ background:var(--navy); border-color:var(--navy); color:#fff; }
.booking-date[aria-checked="true"] small{ color:var(--gold-soft); }
.booking-slot:disabled{ opacity:.4; cursor:not-allowed; text-decoration:line-through; }
.booking-msg{ grid-column:1 / -1; margin:0; font-size:14px; color:var(--muted); }
.booking-or{ margin:4px 0 -6px; font-size:14px; color:var(--muted); text-align:center; }
@media (max-width:560px){ .booking-slots{ grid-template-columns:repeat(3,1fr); } }

/* ---------- 푸터 ---------- */
.site-footer{ background:#0F1027; color:#9C97B2; padding:56px 0 64px; font-size:13px; }
.footer-grid{ display:grid; grid-template-columns:1fr 2fr; gap:30px; }
.brand-light{ color:#fff; }
.brand-light em{ color:var(--gold-soft) !important; }
.footer-tag{ margin:10px 0 0; }
.footer-info p{ margin:0 0 4px; }
.footer-info .copy{ margin-top:14px; color:#6E6987; }

/* ---------- 모달 ---------- */
.modal{ width:min(860px, calc(100% - 32px)); max-height:calc(100vh - 48px); border:none; border-radius:24px; padding:34px; background:var(--surface); color:var(--text); box-shadow:var(--shadow-lg); overflow:auto; }
.modal::backdrop{ background:rgba(10,11,30,.6); backdrop-filter:blur(4px); }
.modal[open]{ animation:fade .3s ease; }
.modal-close{ position:sticky; float:right; top:0; margin:-14px -14px 0 0; width:40px; height:40px; border-radius:50%; border:none; background:var(--surface-2); font-size:24px; cursor:pointer; z-index:2; }
.modal-text{ width:min(560px, calc(100% - 32px)); }
.modal-text h3{ font-size:21px; margin-bottom:18px; }
.modal-text dt{ font-weight:700; margin-top:14px; font-size:14.5px; }
.modal-text dd{ margin:2px 0 0; color:var(--muted); font-size:14.5px; }

.to-top{ position:fixed; right:20px; bottom:20px; width:46px; height:46px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; text-decoration:none; box-shadow:var(--shadow-lg); opacity:0; pointer-events:none; transform:translateY(10px); transition:opacity .3s, transform .3s; z-index:40; }
.to-top.show{ opacity:1; pointer-events:auto; transform:none; }
.toast{ position:fixed; left:50%; bottom:28px; transform:translate(-50%, 20px); background:var(--navy); color:#fff; padding:12px 20px; border-radius:999px; font-size:14px; opacity:0; pointer-events:none; transition:opacity .3s, transform .3s; z-index:60; max-width:calc(100% - 32px); text-align:center; }
.toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ---------- 반응형 ---------- */
@media (max-width:1024px){
  .program-grid{ grid-template-columns:repeat(2,1fr); }
  .reviews{ grid-template-columns:repeat(3,1fr); }
  .oil-list{ grid-template-columns:repeat(3,1fr); }
  .methods{ grid-template-columns:repeat(2,1fr); }
  .sign-grid{ grid-template-columns:repeat(4,1fr); }
}
@media (max-width:860px){
  :root{ --header:60px; }
  .menu-btn{ display:block; }
  .nav{ position:fixed; top:var(--header); left:0; right:0; flex-direction:column; align-items:stretch; gap:0; padding:8px 24px 24px; background:var(--bg); color:var(--text); box-shadow:0 20px 30px rgba(0,0,0,.12); transform:translateY(-10px); opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; }
  .nav.open{ opacity:1; transform:none; pointer-events:auto; }
  .nav a{ padding:14px 2px; border-bottom:1px solid var(--border); opacity:1; }
  .nav a::after{ display:none; }
  .nav-cta{ margin-top:14px; text-align:center; border-bottom:none !important; }
  .site-header.menu-open{ background:var(--bg); color:var(--text); }
  .section{ padding:84px 0; }
  .pillars, .products{ grid-template-columns:1fr; }
  .method, .atlas, .maker, .contact, .el-result, .card-result{ grid-template-columns:1fr; }
  .method{ padding:30px 24px; }
  .card-result{ gap:24px; }
  .card-result .card-img, .card-result .card-flip{ max-width:260px; margin:0 auto; }
  .reviews{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 -24px; padding:0 24px 8px; }
  .review{ flex:0 0 78%; scroll-snap-align:start; }
  .footer-grid{ grid-template-columns:1fr; }
  .flow{ grid-template-columns:repeat(2,1fr); row-gap:30px; }
}
@media (max-width:560px){
  .container{ padding:0 16px; }
  .reviews{ margin:0 -16px; padding:0 16px 8px; }
  .hero-bg{ background-image:url('img/hero-photo-mobile.jpg'); }
  .hero-bg::after{ background:linear-gradient(0deg, rgba(14,15,38,.92) 0%, rgba(14,15,38,.6) 55%, rgba(14,15,38,.35) 100%); }
  .hero-inner{ padding-top:calc(var(--header) + 120px); }
  .hero-cta .btn{ flex:1 1 100%; }
  .scroll-cue{ display:none; }
  .panel{ padding:22px 16px; border-radius:18px; }
  .methods{ grid-template-columns:1fr 1fr; gap:8px; }
  .method-btn{ padding:12px; }
  .method-btn span{ display:none; }
  .spread-card{ width:54px; margin-left:-38px; }
  .reading{ grid-template-columns:1fr; gap:34px; }
  .reading-item .card-flip{ max-width:170px; }
  .recipe{ padding:20px 16px; }
  .recipe-cols{ grid-template-columns:1fr; gap:6px; }
  .recipe-row{ grid-template-columns:86px 1fr 50px; }
  .sign-grid{ grid-template-columns:repeat(3,1fr); }
  .quiz-opts, .mood-grid{ grid-template-columns:1fr; }
  .mood-grid{ grid-template-columns:1fr 1fr; }
  .mood-result{ grid-template-columns:1fr; justify-items:center; text-align:center; }
  .program-grid, .oil-list{ grid-template-columns:1fr; }
  .oil-list{ grid-template-columns:1fr 1fr; }
  .oil-item .note{ display:none; }
  .contact-form, .report-fields{ grid-template-columns:1fr; padding:22px 16px; }
  .modal{ padding:24px 18px; }
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
  .reveal, .hero-inner > *{ opacity:1; transform:none; }
}

/* ---------- 채널 로고 버튼 ---------- */
.channel-block{ margin-top:56px; padding:30px; border-radius:20px; background:var(--surface); border:1px solid var(--border); text-align:center; }
.channel-title{ margin:0 0 18px; font-family:var(--serif); font-size:17px; font-weight:600; }
.channels{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.channel{ display:flex; align-items:center; gap:12px; padding:8px 18px 8px 8px; border-radius:999px; border:1px solid var(--border); background:var(--bg); text-decoration:none; transition:transform .2s, box-shadow .2s, border-color .2s; }
.channel:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--muted); }
.channel-logo{ width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.channel-logo svg{ width:24px; height:24px; }
.channel-text{ text-align:left; line-height:1.3; }
.channel-text b{ display:block; font-size:14px; }
.channel-text small{ font-size:12px; color:var(--muted); }
/* 아이콘만 보이는 작은 버튼 (문의 · 푸터) */
.channels-icon{ justify-content:flex-start; gap:10px; margin-top:22px; }
.channels-icon .channel{ padding:0; border:none; background:none; border-radius:12px; }
.channels-icon .channel:hover{ box-shadow:none; }
.channels-icon .channel-text{ display:none; }
.channels-footer{ margin-top:18px; }
.channels-footer .channel-logo{ width:36px; height:36px; border-radius:10px; }
.channels-footer .channel-logo svg{ width:20px; height:20px; }
@media (max-width:560px){
  .channel-block{ padding:22px 14px; }
  .channel-block .channels{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .channel-block .channel{ padding:6px 10px 6px 6px; }
  .channel-block .channel-logo{ width:36px; height:36px; }
  .channel-text b{ font-size:13px; }
  .channel-text small{ font-size:11px; }
}

/* 탈리 폼 */
.tally-box{ display:block; padding:20px 18px; }
.tally-box iframe{ display:block; width:100%; border:0; min-height:520px; }

/* 자격 목록: 종류 표시 */
.creds li{ display:grid; grid-template-columns:auto 1fr; column-gap:12px; align-items:center; }
.creds .cred-type{ grid-row:span 2; font-style:normal; font-size:11.5px; font-weight:700; color:var(--gold); border:1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius:999px; padding:3px 10px; white-space:nowrap; min-width:92px; text-align:center; }

/* 대표 소개: 제목 → 자격증(왼쪽) · 자격 설명(오른쪽) → 대표 문구 */
.maker{ grid-template-columns:1fr; gap:32px; }
.maker-text .maker-name{ margin:0; }
.maker-proof{ display:grid; grid-template-columns:1.25fr 1fr; gap:36px; align-items:center; }
.maker-proof .creds{ margin:0; gap:12px; }
.maker-proof .creds li{ padding:16px 18px; }
.maker-cert{ cursor:zoom-in; position:relative; }
.maker-cert::after{ content:"크게 보기"; position:absolute; right:12px; bottom:10px; padding:4px 12px; border-radius:999px; background:rgba(15,16,39,.7); color:#fff; font-size:12px; }
.maker blockquote{ max-width:880px; }
.modal-cert{ width:min(1200px, calc(100% - 32px)); padding:24px; }
.modal-cert img{ border-radius:10px; margin-top:8px; }
@media (max-width:860px){
  .maker-proof{ grid-template-columns:1fr; gap:20px; }
}

/* 히어로: 생일로 바로 찾기 */
.hero-quick{ margin:18px 0 0; font-size:14px; color:#BDB7D0; }
.hero-quick a{ color:var(--gold-soft); font-weight:700; text-decoration:none; border-bottom:1px solid rgba(231,212,164,.5); }
.hero-quick a:hover{ color:#fff; }

/* ---------- 신비로운 밤하늘 (이미지 영역) ---------- */
.hero-sky{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.hero-sky svg{ width:100%; height:100%; display:block; }
.hero-inner{ z-index:2; }
.hero-sky .tw{ animation:twinkle ease-in-out infinite alternate; opacity:.7; }
@keyframes twinkle{ 0%{ opacity:.15; } 100%{ opacity:.95; } }
.hero-sky .cline{ fill:none; stroke:#E7D4A4; stroke-width:1.2; stroke-opacity:.55; stroke-dasharray:900; stroke-dashoffset:900; animation:draw 3.2s ease forwards; }
.hero-sky .cstar{ fill:#F3DFA9; opacity:0; animation:appear 1s ease forwards; filter:drop-shadow(0 0 6px rgba(243,223,169,.9)); }
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes appear{ to{ opacity:1; } }
.hero-sky .shoot{ opacity:0; animation:shoot 9s linear infinite 3s; }
@keyframes shoot{
  0%{ transform:translate(1500px,40px) rotate(160deg); opacity:0; }
  2%{ opacity:1; }
  9%{ transform:translate(1050px,210px) rotate(160deg); opacity:0; }
  100%{ transform:translate(1050px,210px) rotate(160deg); opacity:0; }
}
.hero-lede b{ color:#F3EAD6; font-weight:500; }

/* 어두운 영역에 은은한 별가루 */
.starry{ position:relative; }
.starry::before{ content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; opacity:.5;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 41% 12%, #F3DFA9 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 81% 16%, #F3DFA9 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 64%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 55% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 45%, #fff 50%, transparent 51%);
  background-size:360px 360px; }
.starry > *{ position:relative; }
@media (max-width:560px){ .hero-sky .cline, .hero-sky .cstar{ display:none; } }

/* 밤하늘 보정: 사진을 조금 더 밤빛으로, 별자리 선은 은은하게 빛나게 */
.hero-bg::after{ background:
  linear-gradient(90deg, rgba(14,15,38,.9) 0%, rgba(14,15,38,.66) 45%, rgba(18,20,52,.42) 100%),
  linear-gradient(180deg, rgba(14,15,38,.55) 0%, transparent 35%, rgba(14,15,38,.6) 100%); }
.hero-sky .cline{ stroke:#F6E3AE; stroke-opacity:.85; stroke-width:1.5; filter:drop-shadow(0 0 4px rgba(246,227,174,.8)); }
.hero-sky .cstar{ r:3.6; }
.hero-sky .tw{ filter:drop-shadow(0 0 3px rgba(255,255,255,.8)); }
@media (max-width:560px){
  .hero .eyebrow{ font-size:12px; letter-spacing:.12em; }
}
/* 움직임 줄이기 설정에서도 별자리·별은 완성된 모습으로 보이게 */
@media (prefers-reduced-motion: reduce){
  .hero-sky .cline{ stroke-dashoffset:0 !important; }
  .hero-sky .cstar{ opacity:1 !important; }
  .hero-sky .tw{ opacity:.7 !important; }
  .hero-sky .shoot{ display:none; }
}

/* 공유 창 */
.modal-share h3{ margin-bottom:10px; }
.share-card{ font-family:var(--serif); font-size:18px; font-weight:700; margin:0 0 10px; }
.share-preview{ white-space:pre-wrap; font-family:var(--sans); font-size:13.5px; line-height:1.7; background:var(--surface-2); border-radius:12px; padding:14px 16px; margin:0 0 16px; color:var(--muted); }
.share-acts{ display:grid; gap:8px; }
.btn-kakao{ background:#FEE500; color:#191919; }
.btn-kakao:hover{ background:#F5DC00; }
.share-status{ min-height:0; margin:0; font-size:14px; font-weight:700; text-align:center; }
.share-status.ok, .share-status.fail{ margin:0 0 12px; padding:10px 14px; border-radius:10px; }
.share-status.ok{ background:color-mix(in srgb, #2E9E5B 16%, transparent); color:#2E9E5B; }
.share-status.fail{ background:color-mix(in srgb, var(--fire) 14%, transparent); color:var(--fire); }
.share-preview{ user-select:all; }
/* 알림 메시지가 창 뒤로 숨지 않게 */
.toast{ z-index:2147483647; }

/* 향기카드 하단: 구입 · 상담 · 공유 */
.btn-buy{ background:#03C75A; color:#fff; }
.btn-buy:hover{ background:#02B350; }
.card-actions-3 .btn{ flex:1 1 150px; padding-left:14px; padding-right:14px; }

/* 히어로 소개 영상 — 컴퓨터는 글 오른쪽, 휴대폰은 상담 버튼 아래 */
.hero-inner{ display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:56px; align-items:center; }
.hero-inner > :not(.hero-video){ grid-column:1; }
.hero-video{ grid-column:2; grid-row:1 / span 7; position:relative; margin:0; width:min(360px, calc((100svh - var(--header) - 80px) * 9 / 16)); aspect-ratio:9/16; border-radius:22px; overflow:hidden; background:#11122A; border:1px solid rgba(231,212,164,.35); box-shadow:0 30px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(231,212,164,.06); }
.hero-video video{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-video-sound{ position:absolute; right:12px; bottom:12px; padding:8px 14px; border:1px solid rgba(231,212,164,.6); border-radius:999px; background:rgba(14,15,38,.72); color:#F3EAD6; font:500 13px/1 var(--sans); cursor:pointer; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.hero-video-sound:hover{ background:rgba(14,15,38,.9); color:#fff; }
@media (max-width:860px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-video{ grid-column:1; grid-row:auto; width:min(100%, 360px); margin:28px auto 0; }
}


/* ---------- 대표 저서 ---------- */
.section-books .container{ border-top:1px solid var(--border); padding-top:96px; }
.section-books{ padding-top:24px; }
.books{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.book{ display:flex; flex-direction:column; border-radius:20px; background:var(--surface); border:1px solid var(--border); overflow:hidden; cursor:pointer; transition:transform .25s, box-shadow .25s, border-color .25s; }
.book:hover, .book:focus-visible{ transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--gold); }
.book-cover{ position:relative; margin:16px 16px 0; padding:22px 0; border-radius:14px; background:var(--bg-alt); display:flex; justify-content:center; }
.book-cover img{ width:52%; border-radius:4px; box-shadow:0 12px 26px rgba(29,33,71,.28); transition:transform .3s; }
.book:hover .book-cover img{ transform:translateY(-4px) rotate(-1deg); }
.book-badge{ position:absolute; top:12px; left:12px; font-size:11px; font-weight:700; letter-spacing:.08em; padding:3px 10px; border-radius:999px; color:#fff; background:var(--navy); }
.book-badge.new{ background:var(--fire); }
.book-badge.best{ background:var(--gold); color:#1D2147; }
.book-body{ padding:18px 20px 18px; display:flex; flex-direction:column; flex:1; }
.book-tag{ align-self:flex-start; font-size:12px; font-weight:700; color:var(--gold); background:color-mix(in srgb, var(--gold) 12%, transparent); padding:4px 10px; border-radius:999px; }
.book h3{ font-size:18px; margin:10px 0 6px; }
.book-body > p{ margin:0 0 14px; font-size:14px; color:var(--muted); flex:1; }
.book-foot{ display:flex; justify-content:space-between; align-items:center; padding-top:12px; border-top:1px dashed var(--border); }
.book-foot span{ font-size:14px; font-weight:700; color:var(--gold); }
.book-foot small{ font-size:12px; color:var(--muted); }
.books-more{ text-align:center; margin:32px 0 0; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.book-detail{ display:grid; grid-template-columns:240px 1fr; gap:32px; align-items:start; }
.book-detail-cover{ width:100%; border-radius:6px; box-shadow:var(--shadow-lg); }
.book-detail h3{ font-size:24px; margin:10px 0 4px; }
.book-sub{ margin:0 0 14px; color:var(--muted); }
.book-info{ margin:0 0 18px; padding:12px 14px; border-radius:12px; background:var(--surface-2); font-size:13.5px; }
.book-detail h4{ font-size:15px; margin:18px 0 6px; padding-bottom:4px; border-bottom:2px solid var(--gold); display:inline-block; }
.book-detail h4 + p{ margin:0; font-size:14.5px; line-height:1.8; }
.book-buy{ margin-top:22px; }
@media (max-width:860px){ .books{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){
  .books{ grid-template-columns:1fr 1fr; gap:12px; }
  .book-cover{ margin:10px 10px 0; padding:14px 0; }
  .book-cover img{ width:62%; }
  .book-body{ padding:12px 12px 14px; }
  .book h3{ font-size:15px; }
  .book-body > p{ display:none; }
  .book-foot small{ display:none; }
  .book-detail{ grid-template-columns:1fr; gap:18px; }
  .book-detail-cover{ max-width:180px; margin:0 auto; }
  .section-books .container{ padding-top:72px; }
}
.book-tag i{ font-style:normal; }
@media (max-width:560px){ .book .book-tag i{ display:none; } }
/* 리포트 정보: 성별 */
.report-fields .gender{ display:flex; gap:22px; align-items:center; border:0; padding:0; margin:0; }
.report-fields .gender legend{ float:left; margin-right:8px; font-size:13.5px; font-weight:500; color:var(--muted); padding:0; }
.report-fields .gender legend b{ color:var(--fire); }
.report-fields .gender input{ accent-color:var(--navy); width:16px; height:16px; }

/* ---------- 브랜드 세 칸: 세 갈래의 지혜 · 아로마 뉴스 · 출강 카드뉴스 ---------- */
.trio{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
.trio-card{ display:flex; flex-direction:column; min-width:0; padding:30px 28px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border); }
.trio-label{ font-family:var(--latin); font-size:13px; letter-spacing:.22em; font-weight:600; color:var(--gold); margin:0 0 18px; }
/* 1. 세 갈래의 지혜 */
.trio-wisdom .pillar{ padding:0 0 20px; margin:0 0 20px; background:none; border:0; border-bottom:1px solid var(--border); border-radius:0; }
.trio-wisdom .pillar:last-child{ border-bottom:0; margin-bottom:0; padding-bottom:0; }
.trio-wisdom .pillar-no{ font-size:26px; line-height:1; }
.trio-wisdom .pillar h3{ font-size:19px; margin:6px 0 8px; }
.trio-wisdom .pillar p{ font-size:14.5px; line-height:1.7; }
/* 2. 아로마 뉴스 */
.trio-news{ background:radial-gradient(ellipse at 20% 0%, #2E3470 0%, var(--navy) 60%, #12142F 100%); border-color:transparent; color:var(--navy-ink); }
.trio-news .trio-label{ color:var(--gold-soft); }
.trio-news h3{ font-size:22px; line-height:1.4; color:#fff; margin:0 0 20px; }
.trio-news-list{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.trio-news-list a{ display:block; padding:14px 16px; border-radius:12px; background:rgba(255,255,255,.06); border:1px solid rgba(231,212,164,.16); text-decoration:none; transition:background .2s, border-color .2s; }
.trio-news-list a:hover{ background:rgba(255,255,255,.1); border-color:rgba(231,212,164,.45); }
.trio-news-list .news-meta{ display:block; font-family:var(--latin); font-size:12px; letter-spacing:.12em; color:var(--gold-soft); margin-bottom:4px; }
.trio-news-list b{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-family:var(--serif); font-weight:600; font-size:15px; line-height:1.5; color:#fff; }
.trio-news-list .news-en{ display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; font-size:12px; color:#A9A3C4; margin-top:4px; }
.trio-foot{ margin:auto 0 0; padding-top:18px; font-size:12.5px; color:#A9A3C4; }
/* 3. 출강 카드뉴스 */
.trio-teams{ padding:16px; gap:12px; background:var(--bg-alt); }
.ts-track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; border-radius:12px; box-shadow:var(--shadow); background:var(--surface); scrollbar-width:none; }
.ts-track::-webkit-scrollbar{ display:none; }
.ts-slide{ flex:0 0 100%; margin:0; scroll-snap-align:start; aspect-ratio:4/5; }
.ts-slide img{ width:100%; height:100%; object-fit:cover; }
.ts-controls{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ts-arrow{ width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background:var(--surface); cursor:pointer; font-size:17px; color:var(--navy); transition:border-color .2s; }
.ts-arrow:hover{ border-color:var(--gold); }
.ts-arrow:disabled{ opacity:.35; cursor:default; }
.ts-dots{ display:flex; gap:7px; }
.ts-dots button{ width:8px; height:8px; padding:0; border-radius:999px; border:0; background:rgba(29,33,71,.22); cursor:pointer; transition:width .25s, background .25s; }
.ts-dots button[aria-current="true"]{ width:22px; background:var(--gold); }
.trio-teams .btn{ margin-top:auto; }
@media (max-width:1024px){ .trio-card{ padding:26px 22px; } .trio-teams{ padding:14px; } }
@media (max-width:860px){
  .trio{ grid-template-columns:1fr; gap:16px; }
  .trio-teams{ max-width:460px; width:100%; margin:0 auto; }
}

/* 05 대표 소개 제목: 휴대폰에서 줄 끝이 넘치지 않게 (2026-11-27) */
@media (max-width:860px){ .maker-text h2.founder-title{ font-size:clamp(20px,6.2vw,28px); white-space:nowrap; } }
