/* ===========================================
   NOVARI — Premium Plant-based Superfood
   Static Site Stylesheet (mobile-first)
   =========================================== */

:root {
  /* Brand */
  --primary: #1F3A2E;       /* deep forest */
  --primary-soft: #2C5142;
  --primary-tint: #E8EFEA;
  --accent: #C9A961;        /* warm gold */
  --accent-dark: #A88A45;
  --sage: #A8B5A0;

  /* Surfaces */
  --paper: #FAF7F2;         /* warm cream */
  --surface: #FFFFFF;
  --surface-2: #F3EFE7;
  --border: #E8E2D6;
  --border-soft: #F0EBE0;

  /* Ink */
  --ink: #1A1A1A;
  --ink-soft: #2A2A2A;
  --text: #2A2A2A;
  --text-muted: #6B6B6B;
  --text-faint: #9A9A9A;

  /* Accents */
  --price: #C53030;
  --success: #2F855A;

  /* System */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(31,58,46,0.06);
  --shadow-lg: 0 12px 40px rgba(31,58,46,0.10);

  --header-h: 76px;
  --container: 1280px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
em, i, cite, address { font-style: normal; }
ul, ol { list-style: none; }

/* Utility */
.serif { font-family: 'Fraunces', 'Pretendard', serif; font-optical-sizing: auto; letter-spacing: -0.01em; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
           clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--text-muted); }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); font-size: 16px; max-width: 620px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-soft); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); padding: 10px 0; }
.btn-ghost:hover { color: var(--accent-dark); }
.btn-ghost::after { content: '→'; transition: transform .2s var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ===== Announcement Bar ===== */
.announcement {
  background: var(--primary);
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.02em;
}
.announcement a { text-decoration: underline; color: var(--accent); margin-left: 6px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,0.96); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
}
.brand {
  display: flex; align-items: baseline; gap: 8px;
}
.brand-mark {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.nav-main { display: flex; align-items: center; gap: 36px; }
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
  transition: color .2s var(--ease);
}
.nav-main a:hover { color: var(--accent-dark); }
.nav-main a.active::after,
.nav-main a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
}
.nav-utility { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  transition: background .15s var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--accent);
  color: #fff; font-size: 10px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.hamburger { display: none; }

@media (max-width: 960px) {
  .nav-main { display: none; }
  .hamburger { display: inline-flex; }
}

/* ===== Mobile Drawer ===== */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(26,26,26,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
  z-index: 90;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--surface);
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  z-index: 100;
  display: flex; flex-direction: column;
  padding: 24px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a {
  padding: 14px 12px;
  font-size: 16px; font-weight: 500;
  border-radius: var(--radius);
  transition: background .15s var(--ease);
}
.drawer-nav a:hover { background: var(--surface-2); color: var(--accent-dark); }
.drawer-sub { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-muted); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?w=2000&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(31,58,46,0.55) 0%, rgba(31,58,46,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff;
  max-width: 680px;
  padding: 64px 0;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ===== Brand Story Strip ===== */
.story-strip {
  background: var(--surface);
  padding: 80px 0;
}
.story-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.story-strip-img {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.story-strip-img img { width: 100%; height: 100%; object-fit: cover; }
.story-strip-body { padding-right: 24px; }
.story-strip-body h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--ink);
}
.story-strip-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .story-strip { padding: 56px 0; }
  .story-strip-inner { grid-template-columns: 1fr; gap: 32px; }
  .story-strip-body { padding-right: 0; }
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (max-width: 720px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.product-card {
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); }
.product-thumb {
  aspect-ratio: 1/1;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.product-badge.gold { background: var(--accent); }
.product-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.product-tag { font-size: 12px; color: var(--text-faint); margin-bottom: 4px; letter-spacing: 0.05em; text-transform: uppercase; }
.product-price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 4px;
}
.product-price { font-size: 16px; font-weight: 600; color: var(--ink); }
.product-price-orig { font-size: 13px; color: var(--text-faint); text-decoration: line-through; }
.product-discount { color: var(--price); font-size: 13px; font-weight: 600; margin-left: 4px; }

/* ===== Features Strip ===== */
.features-strip {
  background: var(--primary);
  color: #fff;
  padding: 64px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.feature-item .feature-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
}
.feature-item .feature-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.feature-item h3 {
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.feature-item p { font-size: 13px; color: rgba(255,255,255,0.7); }
@media (max-width: 720px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* ===== Reviews ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: box-shadow .2s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow); }
.review-img { aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.review-img img { width:100%; height:100%; object-fit:cover; }
.review-body { padding: 20px; }
.review-stars { color: var(--accent); font-size: 14px; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { font-size: 14px; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.review-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-faint); }

/* ===== Promo Banner ===== */
.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex; align-items: center;
  padding: 64px;
  color: #fff;
}
.promo-banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}
.promo-banner-body { position: relative; z-index: 2; max-width: 480px; }
.promo-banner h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}
.promo-banner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
@media (max-width: 600px) { .promo-banner { padding: 40px 24px; min-height: 280px; } }

/* ===== Stories Grid ===== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .stories-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stories-grid { grid-template-columns: 1fr; } }

.story-card { display: flex; flex-direction: column; gap: 16px; }
.story-img {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.story-img img { width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.story-card:hover .story-img img { transform: scale(1.04); }
.story-tag { font-size: 11px; letter-spacing: 0.2em; color: var(--accent-dark); text-transform: uppercase; }
.story-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.story-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== Newsletter ===== */
.newsletter {
  background: var(--surface-2);
  padding: 80px 0;
  text-align: center;
}
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.newsletter p { color: var(--text-muted); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1; min-width: 240px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  font-size: 14px;
}
.newsletter-form input:focus { outline: none; border-color: var(--primary); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  font-size: 13px;
  line-height: 1.7;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand .brand-mark { color: #fff; font-size: 28px; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.4); }
.footer-brand p { margin-top: 16px; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { color: var(--accent); }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social-row svg { width: 14px; height: 14px; stroke: currentColor; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  padding: 96px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--paper) 100%);
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink);
}
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center; justify-content: center;
  font-size: 12px; color: var(--text-faint); margin-bottom: 24px;
  letter-spacing: 0.06em;
}
.breadcrumb a:hover { color: var(--accent-dark); }

/* ===== Forms ===== */
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-row input,
.form-row textarea,
.form-row select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color .15s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { outline: none; border-color: var(--primary); }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ===== Product Detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  padding: 48px 0;
}
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
}
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-main {
  aspect-ratio: 1/1;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-gallery-main img { width:100%; height:100%; object-fit:cover; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-gallery-thumbs button {
  aspect-ratio: 1/1;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s var(--ease);
}
.product-gallery-thumbs button.active,
.product-gallery-thumbs button:hover { border-color: var(--accent); }
.product-gallery-thumbs img { width:100%; height:100%; object-fit:cover; }
.product-info .product-tag { font-size: 12px; color: var(--accent-dark); margin-bottom: 8px; }
.product-info h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}
.product-info .sub { color: var(--text-muted); margin-bottom: 24px; }
.product-info .price-row { font-size: 28px; font-weight: 600; color: var(--ink); margin-bottom: 24px; }
.product-info .price-row .orig { font-size: 16px; color: var(--text-faint); text-decoration: line-through; margin-right: 8px; }
.product-info .price-row .disc { font-size: 18px; color: var(--price); margin-left: 8px; }
.product-features { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.product-features li { display: flex; gap: 12px; font-size: 14px; color: var(--text); }
.product-features li::before { content: '✦'; color: var(--accent); }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.qty-stepper { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-stepper button { padding: 8px 14px; }
.qty-stepper button:hover { background: var(--surface-2); }
.qty-stepper input { width: 48px; text-align: center; border: 0; padding: 8px 0; -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cta-row { display: flex; gap: 12px; margin-top: 24px; }
.cta-row .btn { flex: 1; justify-content: center; }

/* ===== Recipe / Story List ===== */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .list-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .list-grid { grid-template-columns: 1fr; } }

/* ===== Board (notice/Q&A) ===== */
.board-list { border-top: 2px solid var(--ink); }
.board-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 80px 120px;
  gap: 16px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  font-size: 14px;
}
.board-row.head { font-weight: 600; color: var(--ink); background: var(--surface-2); }
.board-row .num { color: var(--text-faint); text-align: center; }
.board-row .title { color: var(--ink); font-weight: 500; }
.board-row .title:hover { color: var(--accent-dark); }
.board-row .pill { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); font-weight: 600; display: inline-block; }
.board-row .author, .board-row .date, .board-row .views { color: var(--text-muted); text-align: center; }
@media (max-width: 720px) {
  .board-row { grid-template-columns: 1fr 80px; gap: 8px; }
  .board-row .num, .board-row .author, .board-row .views { display: none; }
  .board-row.head .num, .board-row.head .author, .board-row.head .views { display: none; }
}

/* ===== Pagination ===== */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  transition: background .15s var(--ease);
}
.pagination a:hover { background: var(--surface-2); }
.pagination .cur { background: var(--ink); color: #fff; font-weight: 600; }

/* ===== About sections ===== */
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .about-pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}
.pillar-num { font-family: 'Fraunces', serif; font-style: italic; color: var(--accent); font-size: 28px; margin-bottom: 16px; }
.pillar h3 { font-size: 20px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.pillar p { color: var(--text-muted); font-size: 14px; }

.timeline { max-width: 720px; margin: 0 auto; }
.timeline-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border-soft); }
.timeline-row .year { font-family: 'Fraunces', serif; font-size: 28px; color: var(--accent); }
.timeline-row .event h4 { font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.timeline-row .event p { color: var(--text-muted); font-size: 14px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Misc ===== */
.divider { height: 1px; background: var(--border); margin: 64px 0; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* ===== Mobile polish (A2, B1) ===== */
.brand { white-space: nowrap; }
.brand-sub { white-space: nowrap; }
@media (max-width: 640px) {
  .brand-sub { display: none; }
  .nav-utility .icon-btn:not(.hamburger) { display: none; }
}

/* ===== Mobile grid collapses (A3-A6) ===== */
.stat-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-info-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; }
.split-image-text { display: grid; grid-template-columns: 1fr 1fr; }

@media (max-width: 720px) {
  .stat-grid-4 { grid-template-columns: 1fr 1fr; gap: 16px !important; padding: 24px !important; }
  .stat-grid-4 .stat-num { font-size: 24px !important; }
  .quick-info-4 { grid-template-columns: 1fr 1fr; gap: 12px !important; }
  .split-2 { grid-template-columns: 1fr; gap: 32px !important; }
  .split-image-text { grid-template-columns: 1fr; gap: 24px !important; }
  .split-image-text .order-mobile-1 { order: 1; }
  .split-image-text .order-mobile-2 { order: 2; }
}

/* Guide quick-info icon (B2 — replace emoji) */
.quick-info-card {
  padding: 24px; background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  text-align: center;
}
.quick-info-card .qi-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-dark);
}
.quick-info-card .qi-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.quick-info-card .qi-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.quick-info-card .qi-sub { font-size: 12px; color: var(--text-muted); }

/* Force-show story-card images (avoid lazy capture issue) — uses normal img loading */
.story-img img { opacity: 1; }

/* ==========================================================================
   COMMERCE & SALES SCREENS  (cart · checkout · order · account · legal)
   Added for the sales demo — additive only, mobile-first, uses brand tokens.
   ========================================================================== */

/* ----- Toast ----- */
.sr-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff;
  padding: 13px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.01em;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; z-index: 200;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  max-width: calc(100vw - 32px); text-align: center;
}
.sr-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ----- Search overlay ----- */
.search-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(26,26,26,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 12vh 16px 16px;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-panel {
  width: min(640px, 100%);
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(-8px); transition: transform .2s var(--ease);
}
.search-overlay.open .search-panel { transform: translateY(0); }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.search-bar svg { width: 20px; height: 20px; stroke: var(--text-muted); flex: none; }
.search-input { flex: 1; border: 0; background: none; font-size: 16px; padding: 6px 0; }
.search-input:focus { outline: none; }
.search-close { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.search-close:hover { background: var(--surface-2); }
.search-close svg { width: 16px; height: 16px; stroke: var(--ink); }
.search-results { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; }
.search-head { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); padding: 10px 12px 6px; }
.search-empty { padding: 32px 12px; text-align: center; color: var(--text-muted); font-size: 14px; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--radius); transition: background .12s var(--ease); }
.search-item:hover { background: var(--surface-2); }
.search-item-thumb { width: 48px; height: 48px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); flex: none; }
.search-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-item-tag { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); }
.search-item-name { font-size: 14px; color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-item-price { font-size: 14px; font-weight: 600; color: var(--ink); flex: none; }

/* ----- Checkout step indicator ----- */
.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 40px; flex-wrap: wrap; }
.checkout-steps .step { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-faint); }
.checkout-steps .step .dot { width: 24px; height: 24px; border-radius: 999px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.checkout-steps .step.active { color: var(--ink); font-weight: 600; }
.checkout-steps .step.active .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.checkout-steps .step.done .dot { background: var(--primary-tint); border-color: var(--primary-tint); color: var(--primary); }
.checkout-steps .sep { width: 28px; height: 1px; background: var(--border); }
@media (max-width: 560px) { .checkout-steps .sep { width: 14px; } .checkout-steps .step span { display: none; } .checkout-steps .step.active span { display: inline; } }

/* ----- Cart / checkout two-column layout ----- */
.shop-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; gap: 32px; } }

/* Cart lines */
.cart-lines { border-top: 2px solid var(--ink); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--border-soft); align-items: center; }
.cart-line-thumb { width: 96px; height: 96px; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.cart-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-tag { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.cart-line-name { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.cart-line-unit { font-size: 13px; color: var(--text-muted); }
.cart-line-controls { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.cart-line-remove { font-size: 12px; color: var(--text-faint); text-decoration: underline; }
.cart-line-remove:hover { color: var(--price); }
.cart-line-total { text-align: right; }
.cart-line-total strong { font-size: 16px; color: var(--ink); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 72px 1fr; grid-template-areas: "thumb body" "thumb total"; gap: 8px 16px; }
  .cart-line-thumb { grid-area: thumb; width: 72px; height: 72px; }
  .cart-line-total { grid-area: total; text-align: left; }
}

/* Order summary card */
.summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 20px; letter-spacing: 0.02em; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text); padding: 8px 0; }
.summary-row .muted { color: var(--text-muted); }
.summary-divider { height: 1px; background: var(--border); margin: 12px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; }
.summary-total .label { font-size: 15px; font-weight: 600; color: var(--ink); }
.summary-total .amount { font-size: 26px; font-weight: 700; color: var(--ink); }
.summary-total .amount .won { font-size: 15px; font-weight: 500; margin-left: 2px; }
.summary-note { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-top: 16px; }
.summary-card .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state .ic { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--text-faint); }
.empty-state .ic svg { width: 100%; height: 100%; stroke: currentColor; }
.empty-state h2 { font-size: 20px; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ----- Checkout form blocks ----- */
.co-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.co-block > h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.co-block > h3 .n { width: 22px; height: 22px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }

/* Order line (compact, read-only) */
.co-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.co-item:last-child { border-bottom: 0; }
.co-item-thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); flex: none; }
.co-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-item-body { flex: 1; min-width: 0; }
.co-item-name { font-size: 14px; color: var(--ink); font-weight: 500; }
.co-item-qty { font-size: 12px; color: var(--text-muted); }
.co-item-price { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Payment methods */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .pay-methods { grid-template-columns: repeat(2, 1fr); } }
.pay-method { position: relative; }
.pay-method input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pay-method label { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13.5px; font-weight: 500; color: var(--text); text-align: center; cursor: pointer; transition: all .15s var(--ease); min-height: 54px; }
.pay-method input:checked + label { border-color: var(--primary); background: var(--primary-tint); color: var(--primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--primary); }
.pay-method label:hover { border-color: var(--primary-soft); }

/* Agreements */
.agree-box { background: var(--surface-2); border-radius: var(--radius); padding: 20px 22px; }
.agree-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text); padding: 7px 0; }
.agree-row input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--primary); }
.agree-row.all { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 6px; }
.agree-row a { text-decoration: underline; color: var(--text-muted); }
.agree-row .req { color: var(--price); font-weight: 600; }
.agree-row .opt { color: var(--text-faint); }
.withdrawal-note { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; }

/* ----- Demo notice (honest, tasteful) ----- */
.demo-note { display: flex; gap: 10px; align-items: flex-start; background: var(--primary-tint); color: var(--primary); border-radius: var(--radius); padding: 12px 16px; font-size: 12.5px; line-height: 1.6; margin-bottom: 24px; }
.demo-note svg { width: 16px; height: 16px; stroke: currentColor; flex: none; margin-top: 2px; }

/* ----- Order complete ----- */
.complete-wrap { max-width: 640px; margin: 0 auto; text-align: center; padding: 64px 0 40px; }
.complete-check { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 999px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; }
.complete-check svg { width: 34px; height: 34px; stroke: var(--primary); }
.complete-wrap h1 { font-family: 'Fraunces', serif; font-size: clamp(28px, 4vw, 40px); font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.complete-wrap .lead { color: var(--text-muted); margin-bottom: 32px; }
.order-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: left; margin-bottom: 32px; }
.order-meta { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.order-meta:last-child { border-bottom: 0; }
.order-meta .k { color: var(--text-muted); }
.order-meta .v { color: var(--ink); font-weight: 500; text-align: right; }
.complete-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ----- Account / auth ----- */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.auth-card h1 { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 400; color: var(--ink); margin-bottom: 8px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 20px; }
.auth-alt a { color: var(--primary); text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-faint); font-size: 12px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .account-grid { grid-template-columns: 1fr; gap: 24px; } }
.account-nav { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; background: var(--surface); }
.account-nav a { display: block; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; color: var(--text); }
.account-nav a:hover, .account-nav a.active { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.account-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.account-panel h2 { font-size: 18px; color: var(--ink); font-weight: 600; margin-bottom: 20px; }
.account-hello { font-size: 15px; color: var(--text); margin-bottom: 24px; }
.account-hello strong { color: var(--ink); }

/* Order history rows */
.oh-row { display: grid; grid-template-columns: 120px 1fr 120px 100px; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--border-soft); align-items: center; font-size: 14px; }
.oh-row.head { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); font-size: 13px; }
.oh-row .status { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--primary-tint); color: var(--primary); font-weight: 600; display: inline-block; }
@media (max-width: 640px) { .oh-row { grid-template-columns: 1fr auto; } .oh-row .hide-sm { display: none; } }

/* ----- Legal document pages ----- */
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; max-width: 1000px; margin: 0 auto; }
@media (max-width: 820px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .legal-toc { display: none; } }
.legal-toc { position: sticky; top: calc(var(--header-h) + 16px); font-size: 13px; }
.legal-toc p { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--text-muted); }
.legal-toc a:hover { color: var(--primary); }
.legal-doc { font-size: 14.5px; line-height: 1.85; color: var(--text); }
.legal-doc h2 { font-size: 18px; color: var(--ink); font-weight: 600; margin: 40px 0 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { font-size: 15px; color: var(--ink); font-weight: 600; margin: 24px 0 10px; }
.legal-doc p { margin-bottom: 14px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 4px; }
.legal-doc ul li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.legal-doc ul li::before { content: '·'; position: absolute; left: 4px; color: var(--accent-dark); font-weight: 700; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 13.5px; }
.legal-doc th, .legal-doc td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--surface-2); font-weight: 600; color: var(--ink); }
.legal-meta { color: var(--text-muted); font-size: 13px; border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; margin-bottom: 32px; }
