:root {
  --navy: #14202E;
  --gold: #D9A957;
  --gold-text: #8A5A14;
  --paper: #F8F5EE;
  --line: #E4DCCB;
  --text: #4A5562;
  --serif: 'Noto Serif KR', Batang, serif;
  --photo: saturate(1.15) contrast(1.06) brightness(1.03) sepia(.06);
  --bar-height: 70px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.75 'Noto Sans KR', 'Malgun Gothic', sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, .brand { color: var(--navy); font-family: var(--serif); font-weight: 800; letter-spacing: -.035em; line-height: 1.35; }
h2 { font-size: clamp(29px, 4vw, 51px); }
h3 { font-size: 22px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #a76f1b; outline-offset: 4px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
.sr-only, .skip:not(:focus), .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; background: white; padding: 10px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: clamp(44px, 7vw, 96px); }
.eyebrow, .product-number { color: var(--gold-text); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.section-head { margin-bottom: 32px; }
.section-head > p { margin-top: 16px; max-width: 44em; }
.header { position: sticky; z-index: 5; top: 0; background: var(--navy); color: white; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: block; color: white; font-size: 27px; white-space: nowrap; }
.brand span { display: block; margin-top: 3px; color: var(--gold); font: 700 11px/1.5 'Noto Sans KR', sans-serif; letter-spacing: 0; }
.header nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 30px); font-weight: 600; font-size: 14px; }
.header nav a { white-space: nowrap; }
.header nav a[aria-current="page"]:not(.nav-cta), .header nav a:hover:not(.nav-cta) { color: var(--gold); }
.header .nav-cta { padding: 10px 16px; border-radius: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; text-align: center; }
.primary, .nav-cta { background: var(--gold); color: var(--navy); }
.primary:hover, .nav-cta:hover, .contact-kakao-chat:hover { background: #eac77f; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: white; }
.hero::before, .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: url('assets/hero.jpg') center 47% / cover; }
.hero::after { background: rgba(10,16,24,.62); }
.hero-grid { display: grid; align-items: center; min-height: clamp(480px, 72svh, 760px); padding-block: 58px; }
.hero h1 { color: white; font-size: clamp(39px, 6.5vw, 64px); }
.hero .eyebrow, .buyers .eyebrow { color: var(--gold); }
.hero-lead { margin-top: 22px; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.hero .secondary { border-color: white; color: white; }
.hero .secondary:hover { background: #ffffff22; }
.trust { background: white; border-bottom: 1px solid var(--line); }
.trust-grid, .about-cards, .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-grid p { padding: 24px 14px; text-align: center; }
.trust-grid p + p { border-left: 1px solid var(--line); }
.trust-grid strong { display: block; font: 800 clamp(21px, 3vw, 34px)/1.4 var(--serif); color: var(--gold-text); }
.trust-grid span { font-size: 13px; }
.why-grid, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.why-grid { margin-top: 30px; }
.why-grid article, .product, .about-cards article, .steps li, .gallery-panel, #inquiry { background: white; border: 1px solid var(--line); border-radius: 13px; }
.why-grid article, .product { overflow: hidden; }
.why-grid img, .product > img { width: 100%; height: clamp(195px, 25vw, 300px); object-fit: cover; }
.product > img { filter: var(--photo); }
.why-grid article > div, .product-body { padding: 22px; }
.why-grid p, .product-description, .about-cards p, .steps p { margin-top: 9px; font-size: 14px; }
.buyers { background: var(--navy); color: #e6e9ed; }
.buyers-inner { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.buyers h2 { color: white; }
.buyers h2 + p { margin-top: 16px; max-width: 42em; }
.buyers .btn { flex-shrink: 0; }
.about-grid, .delivery-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(24px, 5vw, 64px); }
.body-copy { margin-top: 18px; }
.about-photo, .delivery-photo img { border-radius: 12px; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; }
.about-cards, .steps { gap: 16px; margin-top: 30px; }
.about-cards article, .steps li { padding: 20px; }
.about-cards h3 { font-size: 18px; color: var(--gold-text); }
.product { display: flex; flex-direction: column; }
.product-body { display: flex; flex-direction: column; flex: 1; }
.product-description { flex: 1; }
.product table { border-collapse: collapse; width: 100%; margin-top: 16px; font-size: 13px; }
.product th, .product td { padding: 8px 4px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.product th { color: var(--navy); width: 35%; }
.product-link { display: flex; justify-content: space-between; gap: 8px; color: var(--gold-text); font-size: 14px; font-weight: 700; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line); }
.product-link:hover { text-decoration: underline; }
.fine { margin-top: 16px; font-size: 13px; }
.steps { list-style: none; padding: 0; margin-bottom: 24px; }
.steps li { border-top: 4px solid var(--gold); }
.steps li > span { display: block; color: var(--gold-text); font: 800 36px/1.2 var(--serif); margin-bottom: 10px; }
.process-cta, .submit { background: var(--navy); color: white; }
.delivery-info > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.delivery-info > div:first-child { padding-top: 0; }
.delivery-info dt { color: var(--gold-text); font-size: 14px; font-weight: 700; }
.delivery-info dd { margin-top: 4px; font-size: 14px; }
.gallery-panel { padding: clamp(16px, 4vw, 32px); margin-top: 32px; }
.gallery-head { margin-bottom: 18px; }
.gallery-head p { font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery button { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; text-align: left; color: var(--navy); background: white; }
.gallery img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.gallery span { display: flex; justify-content: space-between; padding: 9px 12px; font-size: 13px; }
.delivery-cta { margin-top: 20px; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.faq details { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.contact-copy > p:not(.eyebrow) { margin-top: 16px; }
.contact-kakao { margin-top: 24px; padding: clamp(16px, 3vw, 26px); border-radius: 12px; background: var(--navy); color: white; }
.contact-kakao h3 { color: white; }
.contact-kakao-chat { background: var(--gold); color: var(--navy); margin-top: 14px; }
.contact-kakao-qr { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.contact-kakao-qr img { width: 160px; height: 160px; }
.contact-kakao-qr p { flex: 1 1 110px; font-size: 13px; }
.contact-kakao-friend, footer a { text-decoration: underline; text-underline-offset: 4px; }
.contact-kakao-friend { display: inline-block; margin-top: 12px; color: var(--gold); font-size: 13px; }
#inquiry { padding: clamp(16px, 3vw, 30px); }
.form-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; color: var(--navy); font-weight: 700; margin-bottom: 16px; }
.form-top span, legend span { font-size: 12px; color: var(--text); font-weight: 400; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#inquiry label, legend { display: block; font-weight: 600; font-size: 13px; color: var(--navy); }
#inquiry > label, .row { margin-bottom: 13px; }
#inquiry input:not([type="checkbox"]), #inquiry select, #inquiry textarea { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 9px; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; font-size: 16px; }
#inquiry textarea { resize: vertical; }
fieldset { min-width: 0; margin: 0 0 13px; border: 1px solid var(--line); border-radius: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 15px; }
#inquiry .checks label, #inquiry .consent label { display: flex; align-items: baseline; gap: 6px; }
input[type="checkbox"] { accent-color: var(--navy); flex: none; }
.consent { margin-block: 15px; font-size: 13px; }
.privacy-link { border: 0; padding: 0; margin-bottom: 6px; color: var(--gold-text); background: transparent; text-decoration: underline; }
.submit { width: 100%; }
#form-status:not(:empty) { margin-top: 12px; font-size: 14px; }
footer { background: #0C141E; color: #e2e4e9; padding-block: 32px; font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
footer strong { color: white; }
footer a { color: var(--gold); }
dialog { max-width: min(92vw, 780px); max-height: 90dvh; padding: 22px; border: 0; border-radius: 12px; color: var(--text); background: white; }
dialog::backdrop { background: #0c141eda; }
.dialog-close { display: block; margin: 0 0 10px auto; border: 0; background: transparent; color: var(--navy); }
#photo-dialog img { max-height: 72dvh; width: auto; object-fit: contain; }
#photo-dialog p, #privacy-dialog p { margin-top: 12px; }
#privacy-dialog h2 { font-size: 25px; }
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .product-grid { gap: 14px; }
  .product-body { padding: 15px; }
  .contact-grid { gap: 20px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-direction: column; align-items: start; gap: 8px; min-height: 0; padding-block: 10px; }
  .brand { font-size: 23px; }
  .header nav { width: 100%; flex-wrap: wrap; gap: 5px 11px; justify-content: space-between; font-size: clamp(11px, 3.2vw, 14px); }
  .header nav a { padding-block: 5px; }
  .header .nav-cta { padding: 5px 8px; }
  .nav-cta span { display: none; }
  .hero-grid { min-height: 445px; padding-block: 43px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 50px); }
  .hero-lead { font-size: 15px; }
  .trust-grid, .about-cards, .steps, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid p { padding: 14px 8px; }
  .trust-grid p:nth-child(3) { border-left: 0; }
  .trust-grid p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why-grid, .product-grid, .about-grid, .delivery-grid, .contact-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .product > img, .why-grid img { height: clamp(190px, 52vw, 310px); }
  .buyers-inner, .footer-grid { flex-direction: column; align-items: flex-start; }
  .contact-kakao-qr { display: none; }
  body:not(.contact-visible) { padding-bottom: var(--bar-height); }
  body:not(.contact-visible) .mobile-bar { position: fixed; z-index: 4; bottom: 0; inset-inline: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-bar a { display: grid; place-items: center; min-height: 42px; color: var(--navy); border: 1px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 700; background: white; }
  .mobile-bar a:last-child { background: var(--gold); border-color: var(--gold); }
}
