/* K-HADA brand layer, loaded on every page after the captured template CSS.
   One palette (ink, paper, gold) and one type pair (Cormorant Garamond for
   display, Noto Sans KR for text), matching the story and chapter screens.
   The template routes (landing, 404) read these variables directly. */
:root{
 --font-display:'K Hada Story',Georgia,serif;
 --font-sans:'K Hada Sans',ui-sans-serif,system-ui,sans-serif;
 --background:#151310;--foreground:#f4eddf;
 --card:#1f1b17;--card-foreground:#f4eddf;--popover:#1f1b17;--popover-foreground:#f4eddf;
 --primary:#e7bb7c;--primary-foreground:#1a140e;
 --secondary:#2a241e;--secondary-foreground:#f4eddf;
 --muted:#2a241e;--muted-foreground:#c5b7a4;
 --accent:#2f281f;--accent-foreground:#f4eddf;
 --border:#e7bb7c2e;--input:#e7bb7c38;--ring:#e7bb7c99;
 --amber:#e7bb7c;--ink:#0e0c0a;
}
body{background-color:#0e0c0a}
h1,h2,.display{font-weight:400}

/* Landing: the phone-sized stage gets the story's warmth on wide screens
   instead of a flat void around it. */
@media(min-width:640px){
 body:has(> .min-h-screen.bg-ink){background:radial-gradient(ellipse at 50% 0,#3a2d1f 0,#0e0c0a 62%)}
 .min-h-screen.bg-ink{background:transparent}
 .min-h-screen.bg-ink>div{border-color:#e7bb7c2e;box-shadow:0 30px 120px #000a,0 0 0 1px #e7bb7c14}
}
.min-h-screen.bg-ink h1{font-size:56px;letter-spacing:-.02em;line-height:1}
.min-h-screen.bg-ink p.tracking-\[0\.35em\]{color:var(--primary)}
.min-h-screen.bg-ink button.bg-primary{min-height:52px;font-size:15px;letter-spacing:.04em;box-shadow:0 10px 30px #e7bb7c26;transition:filter .15s ease,transform .15s ease}
.min-h-screen.bg-ink button.bg-primary:hover{filter:brightness(1.06);opacity:1}
.min-h-screen.bg-ink button.bg-primary:active{transform:translateY(1px)}
.min-h-screen.bg-ink button:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
