:root{color-scheme:light;--ink:#30231f;--muted:#67534d;--wine:#792d41;--line:#e4d6ce;--paper:#fff;--warm:#f9f3ef}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 system-ui,sans-serif}body[data-tone=navy]{--wine:#2f405b}body[data-tone=brown]{--wine:#523223}header,main,footer{max-width:1120px;margin:auto;padding:1rem clamp(1rem,4vw,2.6rem)}header{display:flex;align-items:center;justify-content:space-between;gap:.6rem;border-bottom:1px solid var(--line)}a{color:var(--wine);text-underline-offset:.25em}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--wine);outline-offset:3px}.brand{font-weight:750;text-decoration:none}.brand small{font-size:.7em;font-weight:500;display:block;letter-spacing:.14em}.minor{font-size:.9rem}.note{display:flex;gap:.45rem 1rem;flex-wrap:wrap;border-radius:9px;background:var(--warm);border:1px solid var(--line);padding:.65rem .85rem}.note strong{color:var(--wine)}.hero{padding:clamp(1.2rem,5vw,3.8rem) 0;text-align:center}.hero p:first-child{letter-spacing:.16em;font-size:.77rem;color:var(--wine)}h1,h2,h3{font-family:Georgia,'Noto Serif KR',serif;font-weight:550;color:var(--ink);line-height:1.22}h1{font-size:clamp(2.4rem,7vw,4.65rem);margin:.2em 0}.hero p:last-child{margin:.65em 0 0;color:var(--muted)}details{border:1px solid var(--line);padding:.65rem .9rem;border-radius:8px;margin-bottom:1.3rem}summary{cursor:pointer;color:var(--wine)}.design-body{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;padding:.7rem 0}label{display:grid;gap:.2rem;color:var(--muted);font-weight:600;font-size:.9rem}input,select,button,.button{font:inherit;border:1px solid #c4aea4;border-radius:8px;background:var(--paper);color:var(--ink);min-height:44px;padding:.48rem .72rem}button,.button{font-weight:650;cursor:pointer}.button{display:inline-flex;text-decoration:none;align-items:center}.primary{background:var(--wine);border-color:var(--wine);color:#fff}button:disabled{opacity:.48;cursor:default}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}.product{background:var(--warm);border:1px solid var(--line);border-radius:10px;padding:.8rem;display:flex;flex-direction:column;gap:.5rem}.product h3{margin:0;line-height:1.3}.product p{margin:0;color:var(--muted);font-size:.85rem}.product button{margin-top:auto}.tag{color:var(--wine);font-size:.76rem;letter-spacing:.06em}#checkout{margin:2rem 0}#steps{padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;list-style:none}#steps li{border:1px solid var(--line);border-radius:8px;font-size:.9rem;padding:.5rem;text-align:center}#steps [aria-current=step]{border-color:var(--wine);color:var(--wine);background:var(--warm);font-weight:700}.order-shell{border:1px solid var(--line);border-radius:12px;padding:clamp(.9rem,3vw,1.55rem)}.row,.split{display:flex;align-items:center;gap:.5rem .8rem;justify-content:space-between;flex-wrap:wrap;padding:.45rem 0;border-bottom:1px solid var(--line)}.subtle{color:var(--muted)}.order-items{padding:0;list-style:none}.qty{display:flex;gap:.36rem;align-items:center}.qty button{min-width:44px}.buttonbar{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.fields input{width:100%;min-width:0}.fields input[readonly]{background:var(--warm)}.clock{font-size:2.6rem;font-variant-numeric:tabular-nums;margin:.25em 0;color:var(--wine)}#notice{color:var(--wine);margin:.5rem 0 0}.pill{background:var(--warm);color:var(--wine);padding:.15rem .5rem;border-radius:99px;font-size:.8rem}footer{color:var(--muted);font-size:.8rem;border-top:1px solid var(--line)}
@media(max-width:720px){.product-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:420px){.fields,.design-body{grid-template-columns:1fr}.product-grid{gap:.4rem}.product{padding:.6rem}#steps li{font-size:.75rem;padding:.4rem .2rem}}
@font-face{font-family:'Croissant Serif';src:url('/assets/croissant-serif.woff') format('woff');font-display:swap}
h1,h2,h3,h4,.brand{font-family:'Croissant Serif',Georgia,serif}.brand{display:inline-flex;align-items:center;gap:.55rem;font-size:1.23rem;color:var(--ink)}.brand small{font-family:Georgia,serif}.cart-link{gap:.5rem}.cart-link span{min-width:1.5rem;text-align:center;color:var(--wine);background:var(--warm);border-radius:2rem}.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:15px;margin:1rem 0;padding:clamp(2.4rem,8vw,6.5rem) 1rem;color:white;background:#203044 url('/assets/night-sky.webp') center 42%/cover no-repeat}.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#10172365,#101723bd);z-index:-1}.hero h1,.hero p:first-child,.hero p:last-child{color:#fff}.hero p:first-child{letter-spacing:.08em;font-size:.95rem}.catalog-section{margin:1.9rem 0 2.65rem;scroll-margin-top:1.1rem}.catalog-section>h3{font-size:1.65rem;margin:0 0 .75rem}.catalog-section .product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem}.product{padding:0;overflow:hidden;background:white;gap:0;max-width:34rem}.product-copy{display:flex;flex-direction:column;align-items:start;gap:.48rem;padding:.9rem;flex:1}.product-copy h4{margin:0;font-size:1.22rem;color:var(--ink);line-height:1.3}.product-copy p{font-size:.9rem}.product-copy button{margin-top:auto}.product-copy>strong{margin-bottom:.35rem}.product-copy .photo-status{color:var(--wine);font-size:.88rem}.product .card-visual{display:grid;place-items:center;width:100%;border:0;border-radius:0;padding:0;position:relative;background:#f7f0eb;overflow:hidden}.card-visual img{display:block;width:100%;height:clamp(12rem,30vw,21rem);object-fit:contain}.visual-label{position:absolute;bottom:.45rem;right:.45rem;max-width:calc(100% - .9rem);background:#fff;color:var(--ink);border-radius:5px;padding:.25rem .5rem;font-size:.83rem}.card-visual:focus-visible{outline-offset:-3px}#category-links{display:flex;gap:.45rem;flex-wrap:wrap}#category-links a{border-color:var(--line)}#product-gallery{color:var(--ink);background:white;border:1px solid var(--line);border-radius:12px;padding:1rem;width:min(46rem,calc(100% - 1.5rem));max-height:92dvh;overflow:auto}#product-gallery::backdrop{background:#171015b3}.gallery-head{display:flex;justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.7rem}.gallery-head h2{font-size:1.35rem;margin:0}#gallery-photo{display:block;width:100%;height:min(65dvh,34rem);object-fit:contain;background:var(--warm);border-radius:7px}#gallery-views button[aria-pressed=true]{background:var(--wine);color:white;border-color:var(--wine)}#gallery-views:empty{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:420px){.catalog-section .product-grid{grid-template-columns:1fr}.card-visual img{height:16rem}.product-copy button{width:100%}}
.customer-nav{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.lookup-code{overflow-wrap:anywhere;color:var(--wine);font-weight:700}.portal{max-width:800px}.portal form{display:grid;gap:.75rem}.portal textarea{font:inherit;padding:.6rem;border:1px solid var(--line);border-radius:8px;resize:vertical}.portal .note{margin-block:1rem}.portal section{margin-block:1rem}.portal #buyer-thread article{border:1px solid var(--line);background:var(--warm);border-radius:.6rem;padding:.7rem;margin:.5rem 0}.portal #buyer-thread p{white-space:pre-wrap;overflow-wrap:anywhere}.portal h1{font-size:clamp(2rem,6vw,3.4rem)}
/* Navy action theme; preserve the original warm paper and text palette. */
:root,body[data-tone=navy]{--action:#263854;--action-hover:#172740;--action-edge:#627086;--action-light:#edf1f6}
body[data-tone=wine]{--action:#792d41;--action-hover:#622236;--action-edge:#91616a;--action-light:#f9eff2}
body[data-tone=brown]{--action:#523223;--action-hover:#3b2217;--action-edge:#806556;--action-light:#f7efeb}
button,.button,#category-links a{color:var(--action);border-color:var(--action-edge)}
button:hover:not(:disabled),.button:hover{background:var(--action-light)}
button.primary,.button.primary,#gallery-views button[aria-pressed=true]{color:#fff;background:var(--action);border-color:var(--action)}
button.primary:hover:not(:disabled),.button.primary:hover{background:var(--action-hover);border-color:var(--action-hover)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--action)}
.cart-link span{color:var(--action);background:var(--action-light)}
.portal input{font-size:1rem}.portal form .primary{margin-top:.3rem}
@media(max-width:520px){.brand small{white-space:nowrap;font-size:.55em;letter-spacing:.08em}.customer-nav{gap:.3rem}.customer-nav .button{padding:.4rem .5rem;font-size:.88rem;white-space:nowrap}.brand img{width:32px;height:32px}.brand{gap:.35rem}}
@media(max-width:370px){.brand small{display:none}.customer-nav .button{font-size:.82rem}}
.lookup-hint{margin:0;font-size:.9rem}

#transfer-dialog{box-sizing:border-box;width:min(32rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;color:var(--ink);background:white;border:1px solid var(--line);border-radius:14px;padding:clamp(1rem,4vw,1.5rem)}
#transfer-dialog::backdrop{background:#111927a8}
#transfer-dialog .transfer-account{margin:.85rem 0;padding:.75rem;border:1px solid var(--line);background:var(--warm);border-radius:.5rem;font-weight:700}
#transfer-dialog .receipt-number{overflow-wrap:anywhere;font-size:.88rem}
#transfer-dialog .note{margin-top:.8rem}
#transfer-dialog form{margin-top:1rem;justify-content:flex-end}
