:root {
    --navy: #061321;
    --accent: #d9b56a;
    --ink: #1c2530;
    --paper: #faf9f6;
    --glass: rgba(6, 19, 33, .55);
    --line: rgba(255, 255, 255, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0; font-family: 'Noto Sans KR', sans-serif; color: #fff;
    background: var(--navy); line-height: 1.7; overflow-x: hidden;
    word-break: keep-all;
}
a { color: inherit; }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
body.no-fx { background: radial-gradient(ellipse at 20% 25%, rgba(40,200,170,.55), transparent 55%), radial-gradient(ellipse at 85% 75%, rgba(5,25,80,.8), transparent 60%), #061321; }
body.no-fx #fx { display: none; }
.wrap { position: relative; z-index: 2; }

/* ───── 헤더 ───── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 40px;
    background: rgba(6, 19, 33, .32);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.tabs { display: flex; gap: 10px; }
/* TURIS / TERUAH 버튼: 글자 크기·모양 동일. 현재 페이지만 채워짐 */
.tab {
    font-family: 'Noto Serif KR', serif; font-weight: 700;
    font-size: 16px; letter-spacing: .14em; line-height: 1;
    padding: 11px 22px; border-radius: 999px; text-decoration: none;
    border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.tab:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.tab.active { background: #fff; color: var(--navy); border-color: #fff; pointer-events: none; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88); transition: color .2s; }
nav a:hover { color: #ffe27a; }
nav .buy { border: 1px solid var(--accent); color: var(--accent); padding: 7px 16px; border-radius: 999px; }
nav .buy:hover { background: var(--accent); color: var(--navy); }

/* ───── 첫 화면 ───── */
.hero {
    min-height: 100vh; min-height: 100svh; padding: 120px 24px 90px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    position: relative;
}
.hero.short { min-height: 78vh; min-height: 78svh; }
.eyebrow { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.8); margin: 0 0 22px; }
h1.title {
    font-family: 'Noto Serif KR', serif; font-weight: 700; line-height: 1.28;
    font-size: clamp(32px, 5.2vw, 64px); margin: 0 0 22px; letter-spacing: .5px;
    text-shadow: 0 4px 26px rgba(0,20,40,.5);
}
.lead { font-size: clamp(15px, 1.5vw, 19px); max-width: 640px; margin: 0 auto; text-shadow: 0 2px 14px rgba(0,20,40,.6); }

/* 선택 버튼 (시작 화면) */
.choices { display: flex; gap: 22px; margin-top: 54px; flex-wrap: wrap; justify-content: center; }
.choice {
    width: 270px; padding: 30px 26px 26px; text-decoration: none; text-align: center;
    border: 1px solid rgba(255,255,255,.5); border-radius: 18px;
    background: rgba(6,19,33,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: transform .3s, background .3s, border-color .3s;
}
.choice:hover { transform: translateY(-6px); background: rgba(255,255,255,.18); border-color: #fff; }
.choice b { display: block; font-family: 'Noto Serif KR', serif; font-size: 30px; letter-spacing: .16em; margin-bottom: 8px; }
.choice span { display: block; font-size: 14px; color: rgba(255,255,255,.88); }
.choice i { display: inline-block; margin-top: 16px; font-style: normal; font-size: 13px; letter-spacing: .12em; color: #ffe27a; }

.hero > * { opacity: 0; transform: translateY(18px); animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero > :nth-child(1) { animation-delay: .1s; } .hero > :nth-child(2) { animation-delay: .25s; }
.hero > :nth-child(3) { animation-delay: .4s; } .hero > :nth-child(4) { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.65); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ───── 섹션 ───── */
section { padding: 90px 40px; max-width: 1120px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head small { display: block; font-size: 12px; letter-spacing: .34em; color: #ffe27a; margin-bottom: 12px; }
.sec-head h2 { font-family: 'Noto Serif KR', serif; font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; text-shadow: 0 2px 16px rgba(0,20,40,.5); }
.sec-head p { margin: 0 auto; max-width: 620px; color: rgba(255,255,255,.88); }
.glass { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; }
.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 32px 28px; }
.card h3 { font-family: 'Noto Serif KR', serif; font-size: 20px; margin: 0 0 12px; }
.card p { margin: 0; color: rgba(255,255,255,.86); font-size: 15px; }
.num { font-family: 'Noto Serif KR', serif; font-size: 13px; letter-spacing: .24em; color: #ffe27a; display: block; margin-bottom: 14px; }

/* 조향사 메시지 */
.message { background: rgba(255,255,255,.96); color: var(--ink); border-radius: 22px; padding: 64px 70px; box-shadow: 0 24px 70px rgba(0,10,30,.35); }
.message small { color: #9a7a3a; letter-spacing: .3em; font-size: 12px; }
.message h2 { font-family: 'Noto Serif KR', serif; font-size: 30px; margin: 10px 0 30px; color: var(--navy); }
.message p { font-size: 16.5px; line-height: 2; color: #38424e; margin: 0 0 18px; }
.message .quote { font-family: 'Noto Serif KR', serif; font-size: 22px; line-height: 1.6; color: var(--navy); border-left: 3px solid var(--accent); padding-left: 20px; margin-bottom: 28px; }
.signature { text-align: right; margin-top: 30px; font-family: 'Noto Serif KR', serif; font-weight: 700; color: var(--navy); }
.signature span { display: block; font-weight: 400; font-size: 13px; color: #6b7480; }

/* 제품 카드 */
.products { grid-template-columns: repeat(3, 1fr); }
.product { padding: 0; overflow: hidden; cursor: pointer; text-align: left; color: inherit; font: inherit; transition: transform .3s, border-color .3s; }
.product:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.55); }
.product .thumb { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.04)); }
.product .thumb svg { width: 74px; height: 110px; opacity: .92; }
.product .body { padding: 22px 24px 26px; }
.tag { font-size: 11.5px; letter-spacing: .22em; color: #ffe27a; }
.product h3 { font-family: 'Noto Serif KR', serif; font-size: 20px; margin: 6px 0 8px; }
.product p { margin: 0 0 14px; font-size: 14.5px; color: rgba(255,255,255,.84); }
.more { font-size: 13px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px; }
.btn { display: inline-block; text-decoration: none; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; background: #ffd83a; color: #1c2530; border: 0; cursor: pointer; transition: transform .25s, background .25s; }
.btn:hover { transform: translateY(-2px); background: #ffe36b; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn.ghost:hover { background: rgba(255,255,255,.16); }

/* 상세 창 */
dialog { border: 0; padding: 0; background: transparent; color: #fff; width: min(880px, calc(100% - 28px)); max-height: calc(100% - 28px); overflow: visible; }
dialog::backdrop { background: rgba(3, 10, 20, .72); backdrop-filter: blur(6px); }
.modal { display: grid; grid-template-columns: 5fr 6fr; background: rgba(8, 24, 40, .94); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; position: relative; animation: pop .35s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal .pic { min-height: 340px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, rgba(40,200,170,.35), rgba(5,25,80,.6)); }
.modal .pic svg { width: 110px; height: 165px; }
.modal .info { padding: 40px 36px; }
.modal h3 { font-family: 'Noto Serif KR', serif; font-size: 26px; margin: 8px 0 14px; }
.modal p { color: rgba(255,255,255,.86); font-size: 15px; margin: 0 0 16px; }
.modal ul { margin: 0 0 24px; padding-left: 18px; color: rgba(255,255,255,.86); font-size: 14.5px; }
.modal .row { display: flex; gap: 10px; flex-wrap: wrap; }
.close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.close:hover { background: rgba(255,255,255,.2); }

/* 테루아: 비교표 · 프로세스 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare .col { padding: 34px 32px; }
.compare .col.no { opacity: .78; }
.compare .col.yes { background: rgba(255,255,255,.95); color: var(--ink); border-color: transparent; }
.compare h3 { font-family: 'Noto Serif KR', serif; font-size: 22px; margin: 0 0 6px; }
.compare .sub { font-size: 12px; letter-spacing: .22em; margin-bottom: 20px; display: block; color: #ffe27a; }
.compare .yes .sub { color: #9a7a3a; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.compare .yes li { border-color: rgba(0,0,0,.1); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { padding: 26px 20px; text-align: center; }
.step b { display: block; font-family: 'Noto Serif KR', serif; font-size: 34px; color: #ffe27a; line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 16px; margin: 0 0 8px; }
.step p { font-size: 13.5px; margin: 0; color: rgba(255,255,255,.82); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.stat { padding: 30px 16px; }
.stat b { display: block; font-family: 'Noto Serif KR', serif; font-size: 40px; color: #ffe27a; line-height: 1.2; }
.stat span { font-size: 14px; color: rgba(255,255,255,.85); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 10px 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: 14.5px; background: rgba(6,19,33,.3); }
.cta { text-align: center; padding: 56px 30px; }
.cta h2 { font-family: 'Noto Serif KR', serif; font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.cta p { margin: 0 0 28px; color: rgba(255,255,255,.88); }

footer { position: relative; z-index: 2; text-align: center; padding: 44px 24px; background: rgba(4,9,16,.88); color: #8f9aa6; font-size: 13.5px; }
footer p { margin: 4px 0; }
footer a { color: #c8d0d8; text-decoration: none; margin: 0 8px; }

/* 스크롤 등장 */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
    header { padding: 10px 14px; }
    .tab { font-size: 13px; padding: 9px 14px; }
    nav { gap: 12px; } nav a { font-size: 13px; } nav .hide-m { display: none; }
    section { padding: 64px 18px; }
    .g3, .products, .compare, .stats, .g2 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .message { padding: 38px 24px; }
    .modal { grid-template-columns: 1fr; } .modal .pic { min-height: 200px; } .modal .info { padding: 28px 22px; }
    .choice { width: 100%; max-width: 330px; }
}
@media (prefers-reduced-motion: reduce) { .hero > *, .js .reveal { animation: none; opacity: 1; transform: none; transition: none; } }
