@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=Noto+Serif+Thai:wght@400;500;600;700&display=swap');

:root {
  --ink: #1f1a17;
  --paper: #f5f0e8;
  --bone: #fffdf8;
  --verm: #9e251f;
  --verm-dark: #741714;
  --line: rgba(31, 26, 23, .13);
  --muted: #756b61;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
h1, h2, h3, h4, .serif { font-family: 'Noto Serif Thai', serif; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topline {
  background: var(--ink);
  color: #f4e7d1;
  font-size: 12px;
  letter-spacing: .08em;
}
.nav-link {
  color: #5c5149;
  position: relative;
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--verm); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--verm);
}
.logo-mark { color: var(--verm); }
.eyebrow {
  color: var(--verm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.display {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  line-height: 1.04;
}
.paper-grid {
  background-image: linear-gradient(rgba(31,26,23,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(31,26,23,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-home {
  min-height: 700px;
  background: linear-gradient(90deg, rgba(23,18,15,.86) 0%, rgba(23,18,15,.62) 38%, rgba(23,18,15,.1) 72%), url('assets/brand/hero.webp') center/cover;
}
.hero-sub {
  background: linear-gradient(90deg, rgba(23,18,15,.82), rgba(23,18,15,.25)), url('assets/brand/hero.webp') center 54%/cover;
}
.red-rule { width: 68px; height: 3px; background: var(--verm); }
.btn-primary {
  background: var(--verm);
  color: #fff9f0;
  transition: background .2s ease, transform .2s ease;
}
.btn-primary:hover { background: var(--verm-dark); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.45);
  color: white;
  transition: border-color .2s ease, background .2s ease;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,.1); }
.btn-light {
  border: 1px solid var(--line);
  background: rgba(255,253,248,.56);
  transition: all .2s ease;
}
.btn-light:hover { border-color: var(--verm); color: var(--verm); background: var(--bone); }
.card {
  background: var(--bone);
  border: 1px solid rgba(31,26,23,.08);
  box-shadow: 0 18px 42px rgba(56, 39, 24, .06);
}
.product-card { transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(56,39,24,.13); }
.product-card img { transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-image { aspect-ratio: 1 / 1; object-fit: cover; background: #e6ddd1; }
.detail-image { aspect-ratio: 4 / 3; object-fit: cover; background: #e6ddd1; }
.gallery-main { aspect-ratio: 1 / 1; object-fit: cover; }
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border: 1px solid var(--verm);
  color: var(--verm); border-radius: 50%;
  font-family: 'Noto Serif Thai', serif; font-size: 11px; line-height: 1.1; text-align: center;
}
.kanji {
  color: rgba(158,37,31,.18);
  font-family: 'Noto Serif Thai', serif;
  font-size: 94px; line-height: 1;
}
.section-pad { padding-top: 6rem; padding-bottom: 6rem; }
.quote-mark { color: var(--verm); font-family: Georgia, serif; font-size: 72px; line-height: .5; }
.article-copy p { color: #655a51; margin-top: 1rem; }
.article-copy h3 { color: var(--ink); margin-top: 2.25rem; font-size: 1.45rem; }
.article-copy ul { color: #655a51; padding-left: 1.2rem; margin-top: 1rem; }
.article-copy li { margin-top: .5rem; }
.map-frame { filter: sepia(.18) saturate(.82) contrast(.96); }
.focus-ring:focus { outline: 3px solid rgba(158,37,31,.28); outline-offset: 3px; }
@media (max-width: 768px) {
  .hero-home { min-height: 640px; }
  .section-pad { padding-top: 4rem; padding-bottom: 4rem; }
}
