/* VOICE: ceremonial, warm, exact — receiving a name is a rite, sold at a premium.
   IDEA: a Seoul name atelier: hanji paper, ink, a cinnabar seal, a dancheong-painted beam.
   PICTURE: the hero still life with your name written onto the blank hanji sheet.
   COLOUR+TYPE: ink black and hanji ivory; cinnabar seal red. Instrument Serif/Sans for English, East Sea Dokdo brush lines in Hangul as the house voice, Song Myung for names, the 名善堂 signature as the mark.
   LAYOUT: dark hero band, then hanji sections; cards in a calm grid; stacks under 760px. */
:root{color-scheme:light;--ink:#17140f;--ink2:#3b352c;--sub:#6b6357;--hanji:#f5efe3;--paper:#fffdf7;--line:#e2d8c6;--seal:#b8321f;--jade:#2e6b5a;--cobalt:#24447a;--gold:#a8853f;--night:#14120f}
*{box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{margin:0;background:var(--hanji);color:var(--ink);font:16.5px/1.65 "Instrument Sans",system-ui,sans-serif;overflow-x:clip;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:"Instrument Serif",Georgia,serif;font-weight:400;letter-spacing:-.015em;line-height:1.04;text-wrap:balance;margin:0}
.ko{font-family:"Song Myung","Gowun Batang","Noto Serif KR",serif;font-weight:400}
.hj{font-family:"Noto Serif KR",serif;font-weight:600}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--jade);outline-offset:2px}
.wrap{max-width:1180px;margin:0 auto;padding:0 max(4vw,16px)}
.band{padding:clamp(48px,7vw,96px) 0}
.danc{height:26px;background:url(img/danc.png) repeat-x center/auto 26px;border-bottom:2px solid #6b2a1e}
.munsal{background-image:url(img/munsal.svg);background-size:96px}
.top{position:sticky;top:0;z-index:20;background:rgba(20,18,15,.92);backdrop-filter:blur(8px);color:#f3ead8}
.top .wrap{display:flex;align-items:center;gap:20px;height:58px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:"Instrument Serif",serif;font-size:25px;font-weight:400;letter-spacing:0}
.brand svg{width:30px;height:30px}
.brand small{font-family:"Song Myung",serif;font-size:15px;opacity:.75;margin-left:2px}
.nav{margin-left:auto;display:flex;gap:22px;font-size:14px}
.nav a{text-decoration:none;opacity:.85}.nav a:hover{opacity:1}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;border:0;border-radius:999px;background:var(--seal);color:#fff;font-weight:600;font-size:16px;cursor:pointer;text-decoration:none;box-shadow:0 10px 24px -12px rgba(184,50,31,.7)}
.btn:hover{background:#a12a19}
.btn.ghost{background:transparent;color:inherit;border:1px solid currentColor;box-shadow:none}
.btn[disabled]{opacity:.55;cursor:wait}
.eyebrow{font-size:13px;color:var(--gold);font-weight:600;margin:0 0 10px}
.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 48px -36px rgba(40,25,10,.45)}
input[type=text],input[type=email],textarea,select{width:100%;min-height:50px;padding:0 15px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:16px}
textarea{padding:12px 15px;min-height:96px}
label.f{display:grid;gap:6px;font-size:14px;font-weight:500}
.hint{color:var(--sub);font-weight:400;font-size:13px}
.seg{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.seg button{flex:1;min-height:46px;border:0;background:none;cursor:pointer;font-size:15px}
.seg button[aria-pressed=true]{background:var(--ink);color:#fff}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;cursor:pointer;font-size:14px}
.chips button[aria-pressed=true]{border-color:var(--jade);background:var(--jade);color:#fff}
.foot{background:var(--night);color:#cfc5b2;font-size:14px}
.foot a{color:#efe6d2}
.foot .wrap{padding-top:44px;padding-bottom:44px;display:grid;gap:12px}
.note{color:var(--sub);font-size:14px}
.msg{color:var(--seal);font-size:14px;min-height:1.2em;margin:0}
@media(max-width:760px){.nav{display:none}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.top,.danc,.foot,.noprint{display:none!important}body{background:#fff}}

/* house voice: brush-written Korean lines */
.brush{font-family:"East Sea Dokdo","Nanum Brush Script",serif;font-weight:400;line-height:.95;letter-spacing:.01em;display:block;color:var(--seal);font-size:clamp(34px,4.2vw,52px);margin:0 0 6px}
.brush + .gl{display:block;font:italic 400 15px/1.3 "Instrument Serif",serif;color:var(--sub);margin:-2px 0 14px}
h1 em,h2 em{font-style:italic;color:inherit}
.sig{height:22px;width:auto;display:block}
.brand{font-family:"Instrument Serif",serif;font-weight:400;font-size:24px}
