:root {
  --paper: #fcf8f2;
  --wash: #f4eae0;
  --ink: #302723;
  --muted: #675851;
  --brand: #702d34;
  --brand-dark: #582127;
  --line: #dbcac0;
  --serif: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.75 var(--sans); }
button, input { font: inherit; }
a, button { color: inherit; touch-action: manipulation; }
a { text-decoration: none; }
button { border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid #a34c30; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); }
h2 { font-size: clamp(30px, 3.35vw, 48px); line-height: 1.25; font-weight: 700; }
[hidden] { display: none !important; }

.page-width { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: clamp(60px, 7vw, 108px); }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 5; padding: 8px 16px; background: var(--brand); color: white; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font: 700 23px/1.15 var(--serif); letter-spacing: 2px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--brand); border-radius: 5px 5px 15px 5px; color: var(--brand); font-size: 23px; letter-spacing: normal; }
.brand small { display: block; font: 500 9px/1.2 system-ui, sans-serif; letter-spacing: .17em; margin-top: 6px; }
.desktop-nav { display: flex; gap: clamp(14px, 2.5vw, 36px); align-items: center; font-size: 14px; }
.desktop-nav a:hover, .footer-links a:hover, .footer-links button:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }
.menu-button, .mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: 42% 58%; min-height: 548px; margin-top: 24px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 52px 30px 56px 0; }
.eyebrow { color: var(--brand); font-size: 12px; letter-spacing: .15em; font-weight: 600; }
.hero h1 { margin: 24px 0; font-size: clamp(46px, 5.6vw, 84px); line-height: 1.13; letter-spacing: -.045em; }
.hero em { color: var(--brand); font-style: normal; }
.hero-description { color: var(--muted); font-size: 15px; line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 19px; min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 600; line-height: 1.6; }
.button span { line-height: 1; font-size: 17px; }
.button-dark { color: var(--paper); background: var(--brand); }
.button-dark:hover { background: var(--brand-dark); }
.button-outline { color: var(--brand); border-color: #a97d7c; }
.button-outline:hover { background: var(--wash); }
.button-cream { background: var(--paper); color: var(--brand); }
.button-cream:hover { background: var(--wash); }
.hero-visual { position: relative; min-width: 0; min-height: 100%; overflow: hidden; border-radius: 4px; background: var(--wash); }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.image-caption { position: absolute; right: 14px; bottom: 14px; padding: 3px 8px; border-radius: 2px; color: #fff8ef; background: #30231dcc; font-size: 11px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-heading > p, .inquiry p, .faq-list p { color: var(--muted); font-size: 14px; }
.collection-controls { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; column-gap: clamp(16px, 2.25vw, 32px); }
.filters button { min-height: 44px; padding: 6px 0; color: var(--muted); border-bottom: 2px solid transparent; font-size: 14px; }
.filters button:hover, .filters button.active { color: var(--brand); }
.filters button.active { border-color: var(--brand); font-weight: 700; }
.collection-count { color: var(--muted); white-space: nowrap; font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fffaf4; }
.product-image-button { display: block; width: 100%; aspect-ratio: 1.29; overflow: hidden; padding: 0; background: var(--wash); }
.product-image-button:focus-visible { outline-offset: -5px; }
.product-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-image-button:hover img { transform: scale(1.045); }
.product-info { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 100px; padding: 12px 16px; }
.product-info h3 { font-size: 22px; line-height: 1.35; margin-bottom: 5px; }
.product-info p { color: var(--muted); font-size: 13px; }
.product-info button { flex: 0 0 auto; min-height: 44px; padding: 4px 0; color: var(--brand); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

.inquiry { background: var(--wash); }
.inquiry-inner { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.inquiry h2 { margin-bottom: 12px; }
.inquiry-option { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; border-left: 1px solid #cbb2a6; padding-left: 21px; }
.inquiry-option h3 { font-size: 26px; line-height: 1.35; }
.inquiry-option .button { margin-top: auto; }
.guide { display: grid; grid-template-columns: 1fr 2fr; gap: 26px; }
.faq-list details { padding: 16px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--brand); font-size: 21px; font-weight: 400; line-height: 1.2; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin-top: 10px; }
.about { background: var(--brand); color: var(--paper); }
.about-inner { display: grid; grid-template-columns: 1fr 1.55fr; gap: 30px; }
.about .eyebrow { color: #f6d4c6; }
.about h2 { margin-top: 9px; margin-bottom: 22px; }
.business-info { margin: 0; }
.business-info div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #f6d4c659; }
.business-info dt { color: #f6d4c6; }
.business-info dd { margin: 0; overflow-wrap: anywhere; }
.site-footer { min-height: 98px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.site-footer .brand { font-size: 17px; }
.site-footer .brand-mark { width: 34px; height: 34px; font-size: 19px; }
.footer-links { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; }
.footer-links button, .footer-links a { padding: 10px 0; }

.no-scroll { overflow: hidden; }
dialog { position: fixed; color: var(--ink); background: var(--paper); border: 0; border-radius: 6px; padding: 0; max-width: calc(100vw - 28px); max-height: 90dvh; box-shadow: 0 18px 90px #26120f55; }
dialog::backdrop { background: #281a19b0; }
.dialog-close { position: absolute; top: 9px; right: 10px; width: 40px; height: 40px; line-height: 1; font-size: 27px; color: var(--brand); background: var(--paper); border-radius: 50%; }
.detail-dialog { width: 750px; }
.detail-layout { display: grid; grid-template-columns: 44% 56%; }
.detail-image { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.detail-copy { padding: 48px 30px 26px; }
.detail-copy h2, .contact-dialog h2, .info-dialog h2 { font-size: 29px; }
.detail-copy .eyebrow { margin-bottom: 5px; }
.detail-description { margin-top: 14px; color: var(--muted); }
.detail-copy .button { margin-top: 21px; }
.detail-note { color: var(--muted); font-size: 12px; margin-top: 13px; }
.contact-dialog { width: 440px; padding: 32px 28px 20px; text-align: center; }
.inquiry-modes { display: flex; gap: 4px; padding: 4px; margin: 16px 0 8px; background: var(--wash); border-radius: 4px; }
.inquiry-modes button { flex: 1; min-height: 37px; border-radius: 3px; font-size: 13px; }
.inquiry-modes button.active { background: var(--paper); color: var(--brand); box-shadow: 0 1px 4px #43221b24; font-weight: 700; }
#inquiry-hint { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.contact-selection { font-size: 13px; margin-bottom: 7px; color: var(--brand); }
.contact-qr img { width: 177px; height: 177px; margin-inline: auto; background: #fff; }
.contact-qr figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.save-qr, .copy-contact { display: block; width: max-content; max-width: 100%; margin-inline: auto; padding: 8px 0; font-size: 13px; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.contact-link { width: 100%; margin-top: 4px; }
.copy-contact:disabled { cursor: wait; }
.copy-fallback { padding: 9px; text-align: left; background: var(--wash); font-size: 12px; }
.copy-fallback input { width: 100%; margin-top: 4px; border: 1px solid var(--line); background: var(--paper); padding: 5px; }
.toast { margin: 3px 0 0; color: var(--brand); font-size: 12px; }
.info-dialog { width: 580px; padding: 48px 30px 29px; }
.info-dialog p { margin-top: 14px; color: var(--muted); }

@media (max-width: 940px) {
  .page-width { width: calc(100% - 56px); }
  .hero { min-height: 460px; }
  .product-grid { gap: 18px; }
}

@media (max-width: 780px) {
  .page-width { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; }
  .brand { font-size: 20px; gap: 9px; }
  .brand-mark { width: 35px; height: 35px; font-size: 20px; }
  .desktop-nav, .header-contact { display: none; }
  .menu-button { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; }
  .menu-button span { width: 19px; height: 1px; background: var(--brand); }
  .mobile-nav { display: grid; position: absolute; top: 100%; inset-inline: 0; padding: 4px 18px 14px; background: var(--paper); box-shadow: 0 8px 12px #3d211918; }
  .mobile-nav a, .mobile-nav button { padding: 10px 4px; text-align: left; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; margin-top: 0; }
  .hero-copy { padding: 38px 0 26px; }
  .hero h1 { margin: 16px 0; font-size: clamp(43px, 10vw, 62px); }
  .hero-description { font-size: 14px; }
  .actions { margin-top: 20px; }
  .hero-visual { min-height: 0; aspect-ratio: 1.32; }
  .section-heading { display: block; margin-bottom: 12px; }
  .section-heading p { margin-top: 8px; }
  .collection-count { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-info { min-height: 0; flex-direction: column; align-items: flex-start; padding: 9px 10px 2px; gap: 0; }
  .product-info h3 { font-size: 19px; }
  .product-info p { font-size: 12px; }
  .product-info button { min-height: 39px; }
  .inquiry-inner, .guide, .about-inner { grid-template-columns: 1fr; }
  .inquiry-option { padding-left: 0; padding-top: 16px; border-left: 0; border-top: 1px solid #cbb2a6; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-image { height: 215px; min-height: 0; }
  .detail-copy { padding: 20px; }
  .contact-dialog { padding: 27px 19px 15px; }
  .contact-dialog h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
