/* ============================================================
   Hanori — shared stylesheet
   ============================================================ */

:root {
  --bg: #F7F1E6;
  --bg-translucent: rgba(247,241,230,0.92);
  --panel: #FBF6EE;
  --card: #FFFFFF;
  --ink: #4A3F33;
  --ink-soft: #7A6D5C;
  --brown: #8A6642;
  --brown-dark: #5E4530;
  --accent: #C1694A;
  --accent-light: #E9A184;
  --accent-soft: #F5E2D9;
  --accent-hairline: rgba(193,105,74,0.28);
  --hairline: rgba(90,64,38,0.12);
  --chip: #F0E4D2;
  --gold: #D9A857;
  --radius-pill: 999px;
  --radius-card: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Lora', serif; color: var(--brown-dark); margin: 0; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 56px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 38px; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(193,105,74,0.35); }
.btn-outline { background: transparent; color: var(--brown-dark); border: 1.5px solid var(--hairline); }
.btn-outline:hover { border-color: var(--brown-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ===== Top promo strip ===== */
.promo-strip {
  background: var(--brown-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
}
.promo-strip .container { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; padding: 0 16px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-translucent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 56px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--brown-dark); border-bottom-color: var(--accent); }

/* ===== Nav dropdown (Chính sách) ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-dropdown-toggle.active { color: var(--brown-dark); border-bottom-color: var(--accent); }
.nav-dropdown.open .nav-dropdown-toggle svg,
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--card); border-radius: 14px; padding: 8px;
  min-width: 210px; box-shadow: 0 16px 34px rgba(90,64,38,0.16);
  opacity: 0; pointer-events: none; z-index: 60;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
}
.nav-dropdown-menu a:hover { background: var(--panel); color: var(--brown-dark); }
.nav-dropdown-menu a.active { color: var(--accent); }

/* ===== Mobile nav submenu (accordion) ===== */
.mobile-nav-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: 'Lora', serif; font-size: 22px; font-weight: 600; color: var(--brown-dark);
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
}
.mobile-nav-toggle svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.mobile-nav-toggle.open svg { transform: rotate(180deg); }
.mobile-nav-submenu {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.mobile-nav-submenu.open { max-height: 220px; }
.mobile-nav-submenu a {
  display: block; font-size: 16px; font-weight: 500; color: var(--ink-soft);
  padding: 12px 0 12px 14px;
}

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin: -8px;
}
.hamburger span { width: 22px; height: 2px; background: var(--brown-dark); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px 32px 32px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brown-dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav .btn { margin-top: 24px; }

/* ===== Hero ===== */
.hero { padding: 64px 0 0; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: 52px; margin: 16px 0 20px; }
.hero-copy p.lead { font-size: 17px; color: var(--ink-soft); max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { border-radius: 24px; overflow: hidden; max-width: 480px; margin-left: auto; }
.hero-image img { width: 100%; object-fit: cover; aspect-ratio: 4/5; }

.hero-chips { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--hairline);
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}

/* ===== Stat strip ===== */
.stat-strip { padding: 56px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-card);
  padding: 28px; text-align: center;
}
.stat-card .num { font-family: 'Lora', serif; font-size: 34px; font-weight: 700; color: var(--accent); }
.stat-card .label { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

/* ===== Mission / values ===== */
.mission { background: var(--panel); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-card { background: var(--card); border-radius: var(--radius-card); padding: 32px 26px; border: 1px solid var(--hairline); }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; }

.mission-quote {
  margin-top: 56px;
  background: var(--card);
  border-radius: 24px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--accent-hairline);
}
.mission-quote img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.mission-quote p { font-family: 'Lora', serif; font-style: italic; font-weight: 500; font-size: 22px; color: var(--brown-dark); line-height: 1.5; }

/* ===== Milestones ===== */
.milestones { display: flex; gap: 12px; justify-content: center; margin: 36px 0 44px; flex-wrap: wrap; }
.milestone-tab {
  padding: 10px 22px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700;
  background: var(--card); color: var(--ink-soft); border: 1px solid var(--hairline);
}
.milestone-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.milestone-panel {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--card); border-radius: var(--radius-card); padding: 40px; border: 1px solid var(--hairline);
}
.milestone-panel h3 { font-size: 22px; margin-bottom: 12px; }
.milestone-panel p { color: var(--ink-soft); }

/* ===== Products ===== */
.category-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.chip {
  padding: 10px 20px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700;
  background: var(--card); color: var(--ink-soft); border: 1px solid var(--hairline);
  transition: background 0.15s ease, color 0.15s ease;
}
.chip.active { background: var(--brown-dark); color: #fff; border-color: var(--brown-dark); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid.compact { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: var(--card); border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--hairline); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card.featured { background: var(--accent-soft); border-color: var(--accent-hairline); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(90,64,38,0.1); }

.product-thumb { position: relative; aspect-ratio: 1/1; background: var(--chip); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--brown); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: 0.03em;
}

.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-tag { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.product-name { font-family: 'Lora', serif; font-size: 17.5px; font-weight: 600; color: var(--brown-dark); }
.product-desc { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.product-cta { margin-top: 10px; }

/* ===== Category tiles (trang chủ) ===== */
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.category-card {
  position: relative; display: block; aspect-ratio: 4/3; border-radius: var(--radius-card);
  overflow: hidden; isolation: isolate;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.category-card:hover img { transform: scale(1.06); }
.category-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 22px; color: #fff;
  background: linear-gradient(0deg, rgba(35,24,14,0.78) 0%, rgba(35,24,14,0.15) 55%, rgba(35,24,14,0) 100%);
}
.category-overlay h3 { font-family: 'Lora', serif; font-size: 20px; font-weight: 600; }
.category-overlay p { font-size: 13px; opacity: 0.88; }
.category-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; margin-top: 6px; }
.category-link svg { width: 12px; height: 12px; }

/* ===== Product quick-view (hover, desktop only) ===== */
.product-quickview {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(58,42,26,0.92); color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 14px; border-radius: var(--radius-pill);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-quickview svg { width: 13px; height: 13px; }
@media (pointer: fine) {
  .product-card:hover .product-quickview { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* ===== Testimonials ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--card); border-radius: var(--radius-card); padding: 24px; border: 1px solid var(--hairline);
}
.review-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review-stars svg { width: 14px; height: 14px; }
.review-text { font-size: 14px; color: var(--ink); margin-bottom: 16px; }
.review-name { font-size: 13.5px; font-weight: 700; color: var(--brown-dark); }
.review-city { font-size: 12.5px; color: var(--ink-soft); }

/* ===== Trust badges ===== */
.trust-strip { background: var(--brown-dark); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-item .label { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.trust-item .sub { font-size: 12.5px; opacity: 0.75; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: var(--card); border-radius: var(--radius-card); padding: 32px; border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-row .icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-row .icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-row .title { font-size: 12.5px; color: var(--ink-soft); }
.contact-row .value { font-size: 15.5px; font-weight: 700; color: var(--brown-dark); }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--panel); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
}
.social-btn svg { width: 19px; height: 19px; color: var(--brown-dark); }

/* ===== Footer ===== */
.site-footer { background: var(--brown-dark); color: rgba(255,255,255,0.82); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 1fr 1fr 0.8fr; gap: 32px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 44px; width: auto; border-radius: 10px; }
.footer-col h4 { color: #fff; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-col p { font-size: 13.5px; margin-bottom: 10px; color: rgba(255,255,255,0.72); }
.footer-col-toggle {
  display: flex; align-items: center; gap: 6px;
  color: #fff; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 16px; cursor: default; pointer-events: none;
}
.footer-col-toggle svg { display: none; width: 12px; height: 12px; transition: transform 0.2s ease; }
.footer-col-links { display: flex; flex-direction: column; }
.footer-col-links a { display: block; font-size: 13.5px; margin-bottom: 10px; color: rgba(255,255,255,0.72); }
.footer-col-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,0.55);
}

/* ===== Loading overlay ===== */
#__hnr_loading { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; background: var(--bg); transition: opacity 0.45s ease; }
#__hnr_loading img { width: 140px; animation: __hnr_pulse 1.6s ease-in-out infinite; }
@keyframes __hnr_pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(.96); } }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 56px 0 40px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: 40px; margin-bottom: 14px; }
.page-hero p { color: var(--ink-soft); font-size: 15.5px; max-width: 560px; margin: 0 auto; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .site-header .container { padding: 14px 32px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-copy { text-align: center; }
  .hero-copy p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-chips { justify-content: center; }
  .values-grid, .product-grid, .product-grid.compact, .reviews-grid, .stat-grid, .trust-grid, .contact-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mission-quote { grid-template-columns: 1fr; text-align: center; padding: 32px; }
  .mission-quote img { margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .site-header .container { padding: 12px 18px; }
  .section { padding: 48px 0; }
  .section-tight { padding: 36px 0; }
  .section-head h2 { font-size: 26px; }
  .promo-strip .container { gap: 10px; row-gap: 4px; padding: 0 12px; }
  .promo-strip { font-size: 11.5px; }

  .main-nav { display: none; }
  .header-actions .btn span.btn-label { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 28px 0 0; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy p.lead { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: 14px; padding: 13px 18px; white-space: normal; text-align: center; }
  .hero-chips { justify-content: flex-start; }
  .hero-chip { font-size: 12px; }

  .commit-row {
    grid-template-columns: 36px 1fr;
    grid-template-areas: "num icon" "text text";
    gap: 6px 14px;
    padding: 24px 2px;
  }
  .commit-num { grid-area: num; font-size: 13px; }
  .commit-row-icon { grid-area: icon; justify-self: end; width: 34px; height: 34px; }
  .commit-row-icon svg { width: 16px; height: 16px; }
  .commit-text { grid-area: text; margin-top: 4px; }
  .commit-text h3 { font-size: 16.5px; }
  .commit-text p { font-size: 13px; max-width: none; }

  .values-grid, .product-grid, .product-grid.compact, .reviews-grid, .stat-grid, .trust-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-grid { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .footer-col-toggle {
    width: 100%; justify-content: space-between; cursor: pointer; pointer-events: auto;
    padding: 16px 0; margin-bottom: 0; border-bottom: 1px solid rgba(255,255,255,0.12);
    background: none; border-left: none; border-right: none; border-top: none;
    font-family: inherit;
  }
  .footer-col-toggle svg { display: block; }
  .footer-col-toggle.open svg { transform: rotate(180deg); }
  .footer-col-links { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .footer-col-links.open { max-height: 260px; padding-top: 14px; }
  .footer-col:first-child { margin-bottom: 8px; }

  .milestones { gap: 8px; }
  .milestone-tab { padding: 8px 16px; font-size: 13px; }
  .milestone-panel { padding: 28px 22px; }

  .page-hero h1 { font-size: 28px; }

  .site-footer { padding: 44px 0 24px; }
}

/* ===== Floating contact widget ===== */
.contact-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-fab-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-fab-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.contact-fab-item {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 16px rgba(74,63,51,0.28);
}
.contact-fab-item svg { width: 22px; height: 22px; }
.contact-fab-item.zalo { background: #0068FF; }
.contact-fab-item.messenger { background: #0084FF; }
.contact-fab-item.facebook { background: #1877F2; }
.contact-fab-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(193,105,74,0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.contact-fab-toggle svg { width: 24px; height: 24px; transition: transform 0.2s ease; }
.contact-fab-toggle.open { background: var(--brown-dark); }
.contact-fab-toggle.open svg { transform: rotate(45deg); }

@media (max-width: 640px) {
  .contact-fab { right: 14px; bottom: 14px; }
  .contact-fab-toggle { width: 50px; height: 50px; }
  .contact-fab-item { width: 44px; height: 44px; }
}

/* ===== Legal / policy pages ===== */
.legal-wrap { max-width: 780px; margin: 0 auto; }
.legal-updated { font-size: 13px; color: var(--ink-soft); margin-bottom: 40px; text-align: center; }
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-size: 20px; margin-bottom: 12px; }
.legal-section p { color: var(--ink); font-size: 14.5px; margin-bottom: 12px; }
.legal-section ul { margin: 12px 0; padding-left: 0; }
.legal-section li {
  list-style: none; position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: 14.5px; color: var(--ink); line-height: 1.55;
}
.legal-section li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}

/* ===== Commitments — editorial numbered list (replaces fabricated testimonials) ===== */
.commit-list { border-top: 1px solid var(--hairline); max-width: 880px; margin: 0 auto; }
.commit-row {
  display: grid; grid-template-columns: 64px 1fr 48px; align-items: center; gap: 28px;
  padding: 30px 4px; border-bottom: 1px solid var(--hairline);
  position: relative; overflow: hidden;
}
.commit-row::before {
  content: ""; position: absolute; inset: 0; left: -100%;
  background: var(--panel); transition: left 0.4s cubic-bezier(0.16,1,0.3,1); z-index: 0;
}
.commit-row:hover::before { left: 0; }
.commit-num {
  font-family: 'Lora', serif; font-size: 15px; font-weight: 600; color: var(--accent);
  position: relative; z-index: 1;
}
.commit-text { position: relative; z-index: 1; }
.commit-text h3 { font-size: 19px; margin-bottom: 6px; transition: transform 0.3s ease; }
.commit-text p { font-size: 14px; color: var(--ink-soft); max-width: 520px; }
.commit-row:hover .commit-text h3 { transform: translateX(6px); }
.commit-row-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: relative; z-index: 1; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.3s ease;
}
.commit-row-icon svg { width: 18px; height: 18px; }
.commit-row:hover .commit-row-icon { transform: rotate(-12deg) scale(1.1); background: var(--accent); color: #fff; }

/* ============================================================
   Motion & interaction layer
   ============================================================ */

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.values-grid .value-card,
.commit-list .commit-row,
.product-grid .product-card,
.stat-grid .stat-card,
.trust-grid .trust-item,
.hero-chips .hero-chip {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.values-grid.in-view .value-card,
.commit-list.in-view .commit-row,
.product-grid.in-view .product-card,
.stat-grid.in-view .stat-card,
.trust-grid.in-view .trust-item,
.hero-chips.in-view .hero-chip {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Sticky header scroll state ===== */
.site-header { transition: box-shadow 0.3s ease, padding 0.3s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(90,64,38,0.08); }
.site-header.scrolled .container { padding-top: 10px; padding-bottom: 10px; }

/* ===== Hero decorative blobs ===== */
.hero { position: relative; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: __hnr_drift 14s ease-in-out infinite;
}
.hero-blob.b1 { width: 280px; height: 280px; background: var(--accent-light); top: -40px; right: 8%; }
.hero-blob.b2 { width: 220px; height: 220px; background: var(--gold); bottom: 0; right: 28%; animation-delay: -6s; animation-duration: 18s; }
.hero .container { position: relative; z-index: 1; }
@keyframes __hnr_drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 22px) scale(1.08); }
}

/* ===== Hero image parallax tilt ===== */
.hero-image {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ===== Product card image zoom on hover ===== */
.product-thumb { overflow: hidden; }
.product-thumb img { transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.product-card:hover .product-thumb img { transform: scale(1.08); }

/* ===== Button shimmer sweep ===== */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* ===== Animated stat numbers ===== */
.stat-card .num { transition: color 0.3s ease; }

/* ===== Chip / nav underline motion ===== */
.main-nav a { position: relative; }
.chip, .milestone-tab { transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease; }
.chip:hover, .milestone-tab:hover { transform: translateY(-2px); }

/* ===== Fab entrance ===== */
.contact-fab-toggle { animation: __hnr_fab_pop 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.2s both; }
@keyframes __hnr_fab_pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== Reduced motion & touch: strip non-essential motion ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .values-grid .value-card, .commit-list .commit-row, .product-grid .product-card,
  .stat-grid .stat-card, .trust-grid .trust-item, .hero-chips .hero-chip, .word-reveal .word {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hero-blob { animation: none; }
  .contact-fab-toggle { animation: none; }
  .scroll-cue .dot { animation: none; }
}

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 999997; transition: width 0.1s linear;
}

/* ===== Hero scroll cue ===== */
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 44px; opacity: 0.7; font-size: 11.5px; color: var(--ink-soft);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.scroll-cue .dot-track {
  width: 20px; height: 32px; border: 1.5px solid var(--hairline); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: __hnr_scrolldot 1.6s ease-in-out infinite; }
@keyframes __hnr_scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ===== Word-reveal headings ===== */
.word-reveal { overflow: hidden; display: inline-block; }
.word-reveal .word { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.7s ease; }
.word-reveal.in-view .word { transform: translateY(0); opacity: 1; }

/* ===== Product image shine sweep ===== */
.product-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.product-card:hover .product-thumb::after { transform: translateX(120%); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; right: 20px; bottom: 88px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); box-shadow: 0 8px 20px rgba(90,64,38,0.18);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; color: var(--brown-dark); }
.back-to-top .ring { position: absolute; inset: 0; }
.back-to-top .ring circle {
  fill: none; stroke: var(--accent); stroke-width: 2.4;
  stroke-dasharray: 116; stroke-dashoffset: 116;
  transform: rotate(-90deg); transform-origin: center;
  transition: stroke-dashoffset 0.1s linear;
}
@media (max-width: 640px) { .back-to-top { right: 14px; bottom: 78px; width: 40px; height: 40px; } }
@media (max-width: 640px) { .category-grid { grid-template-columns: 1fr; } .category-card { aspect-ratio: 16/10; } }

/* ===== Magnetic button (replaces removed custom cursor) ===== */
@media (pointer: fine) {
  .btn-magnetic { transition: transform 0.15s ease-out; }
}

/* ===== Filter transition on product grid ===== */
.product-card { transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.35s ease, filter 0.35s ease; }
.product-card.filtered-out { opacity: 0; filter: blur(4px); transform: scale(0.94); pointer-events: none; }

/* ===== Legal page TOC (scrollspy) ===== */
.legal-layout { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.legal-toc a {
  font-size: 13px; color: var(--ink-soft); padding: 8px 12px; border-radius: 8px;
  border-left: 2px solid var(--hairline); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.legal-toc a.active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.legal-section-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: 'Lora', serif; font-weight: 700; font-size: 14px;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
