/* ---------- CSS Variables ---------- */
:root {
  --ink: #15151A;
  --ink-soft: #54545E;
  --paper: #FDFFFF;
  --paper-deep: #F5F0EB;
  --marble: #E5E4E0;
  --bottle: #222D52;
  --bottle-soft: #33406C;
  --bottle-deep: #12172E;
  --brass: #D2B68A;
  --brass-light: #E6D7BB;
  --brass-deep: #8A6E3E;
  --wine: #000000;
  --white: #FFFFFF;
  --line: rgba(21, 21, 26, 0.10);
  --gold-line: rgba(210, 182, 138, 0.45);
  --shadow: 0 24px 60px rgba(21, 21, 26, 0.12);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { background: var(--brass); color: var(--white); }
body {
  font-family: 'Jost', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -0.01em; color: var(--bottle); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; border-radius: 16px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
section { position: relative; padding: 100px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
}

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bottle);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader .pl-mark {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.6rem; color: var(--brass-light);
  letter-spacing: 0.02em; opacity: 0;
  animation: plFade .8s var(--ease) .1s forwards;
}
#preloader .pl-bar {
  width: 140px; height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px; overflow: hidden; opacity: 0;
  animation: plFade .8s var(--ease) .25s forwards;
}
#preloader .pl-bar::after {
  content: ''; display: block; height: 100%; width: 0%;
  background: var(--brass);
  animation: plLoad 1.1s var(--ease) .3s forwards;
}
@keyframes plFade { to { opacity: 1; } }
@keyframes plLoad { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { #preloader { display: none; } }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute; top: -60px; left: 16px;
  background: var(--bottle); color: var(--white);
  padding: 12px 20px; border-radius: 10px;
  font-size: 0.85rem; z-index: 2000;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Film Grain Overlay ---------- */
#grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { #grain { display: none; } }

/* ---------- Progress Bar ---------- */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1100;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--brass-light); border-radius: 10px; border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--brass); }
html { scrollbar-color: var(--brass-light) var(--paper); scrollbar-width: thin; }

/* ---------- Back to Top ---------- */
#backToTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bottle); color: var(--brass-light);
  display: flex; align-items: center; justify-content: center;
  z-index: 900; opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  border: none; cursor: pointer;
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--brass-deep); }
#backToTop svg { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  font-size: 0.88rem; letter-spacing: 0.03em;
  font-weight: 500; cursor: pointer; border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn-brass {
  background: var(--brass); color: var(--white);
  position: relative; overflow: hidden;
}
.btn-brass:hover {
  background: var(--brass-light); color: var(--bottle-deep);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(210, 182, 138, 0.35);
}
.btn-ghost {
  border-color: rgba(255,255,255,0.35); color: var(--white);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1); transform: translateY(-3px);
  border-color: rgba(255,255,255,0.75);
}
.btn-dark {
  background: var(--bottle); color: var(--white);
}
.btn-dark:hover {
  background: var(--bottle-soft); transform: translateY(-3px);
}

/* ---------- Divider ---------- */
/*.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent);
}*/
.divider {
  position: relative;
  width: 240px;
  height: 2px;
  margin: 70px auto;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 225, 170, 0.4),
    #f3d68c,
    rgba(255, 225, 170, 0.4),
    transparent
  );

  box-shadow:
    0 0 6px rgba(243, 214, 140, 0.8),
    0 0 14px rgba(243, 214, 140, 0.5),
    0 0 24px rgba(243, 214, 140, 0.25);
}

.divider::after {
  content: "✦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #f7df9f;
  font-size: 18px;
  background: var(--paper);
  padding: 0 14px;

  text-shadow:
    0 0 6px rgba(243, 214, 140, 0.8),
    0 0 12px rgba(243, 214, 140, 0.5);
}

/* ---------- Reveal on Scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .11s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .18s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .25s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .39s; }

/* =========================================================
   NAVBAR
   ========================================================= */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px 32px;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease),
              padding .45s var(--ease), backdrop-filter .45s var(--ease);
}
#navbar.scrolled {
  background: rgba(253, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 6px 30px rgba(28, 26, 23, 0.08);
  padding: 12px 32px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; z-index: 1010; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(254, 254, 254, 0.55);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 0.92rem; color: var(--brass-light);
  flex-shrink: 0;
  transition: width .4s var(--ease), height .4s var(--ease),
              border-color .4s var(--ease), color .4s var(--ease);
}
#navbar.scrolled .brand-mark {
  border-color: var(--gold-line); color: var(--brass-deep);
  width: 32px; height: 32px; font-size: 0.8rem;
}
.brand-word {
  font-family: 'Fraunces', serif; font-style: italic;
  font-weight: 500; font-size: 1.28rem; color: var(--white);
  letter-spacing: 0.01em;
  transition: font-size .4s var(--ease), color .4s var(--ease);
  white-space: nowrap;
}
.brand-word span { color: var(--brass-light); }
#navbar.scrolled .brand-word { color: var(--ink); font-size: 1.1rem; }
#navbar.scrolled .brand-word span { color: var(--brass-deep); }

.nav-right { display: flex; align-items: center; gap: 28px; }

.main-nav { position: relative; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; font-size: 0.85rem;
  letter-spacing: 0.03em; font-weight: 500;
  padding: 9px 15px; color: rgba(255,255,255,0.9);
  transition: color .4s var(--ease); border-radius: 8px;
}
.main-nav a:hover { color: var(--brass-light); }
#navbar.scrolled .main-nav a { color: var(--ink); }
#navbar.scrolled .main-nav a:hover { color: var(--brass-deep); }
.main-nav a.active { color: var(--brass-light); font-weight: 600; }
#navbar.scrolled .main-nav a.active { color: var(--brass-deep); }

.nav-indicator {
  position: absolute; bottom: 2px; height: 2px;
  background: var(--brass); border-radius: 2px;
  transition: left .45s var(--ease), width .45s var(--ease), opacity .3s;
  pointer-events: none;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px; width: 340px; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 100;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  padding: 9px 12px !important; border-radius: 9px;
  font-size: 0.82rem !important; color: var(--ink) !important;
  font-weight: 400 !important; white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--paper-deep) !important; color: var(--bottle) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 1200; width: 26px;
  position: relative; background: none; border: none;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .4s var(--ease), opacity .35s var(--ease), background-color .3s;
}
#navbar.scrolled .hamburger span { background: var(--bottle); }
.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); }

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 0; right: -100%;
    height: 100vh; width: min(78%, 320px);
    background: var(--bottle-deep);
    flex-direction: column; align-items: flex-start;
    padding: 100px 40px 40px; gap: 4px;
    transition: right .5s var(--ease);
    z-index: 1150;
  }
  .main-nav.open { right: 0; box-shadow: -20px 0 60px rgba(0,0,0,0.3); }
  .main-nav a { color: rgba(255,255,255,0.86) !important; font-size: 1.05rem; padding: 12px 0; width: 100%; }
  .main-nav a.active { color: var(--brass-light) !important; }
  .nav-indicator { display: none; }
  .hamburger { display: flex; }
  .dropdown-panel {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; width: auto; box-shadow: none; border: none;
    background: transparent; padding: 4px 0 4px 14px;
    grid-template-columns: 1fr;
  }
  .has-dropdown.open .dropdown-panel { display: grid; }
  .dropdown-panel a { color: rgba(255,255,255,0.72) !important; padding: 8px 0 !important; }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: radial-gradient(120% 65% at 50% 0%, #1a2a4a 0%, #0f1a30 55%, var(--bottle-deep) 100%);
  color: var(--white); text-align: center;
  overflow: hidden; padding: 150px 32px 100px;
}
.hero-decor {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden; z-index: 1;
}
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(207, 174, 123, 0.16);
}
.ring-a { width: 640px; height: 640px; bottom: -320px; left: 50%; transform: translateX(-50%); }
.ring-b { width: 480px; height: 480px; bottom: -240px; left: 50%; transform: translateX(-50%); opacity: 0.6; }

.hero-body { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--brass-light); opacity: 0; animation: fadeUp 1s var(--ease) .4s forwards; }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 400;
  color: var(--white); margin: 16px 0 20px; line-height: 1.15;
}
.hero h1 em { font-style: italic; color: var(--brass-light); font-weight: 400; }
.hero .lede {
  max-width: 540px; margin: 0 auto 38px;
  color: rgba(255,255,255,0.72); font-size: 1.03rem; font-weight: 300;
  opacity: 0; animation: fadeUp 1s var(--ease) .7s forwards;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp 1s var(--ease) .85s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Search */
.hero-search {
  width: 100%; max-width: 480px; margin: 0 auto 30px;
  position: relative; opacity: 0;
  animation: fadeUp 1s var(--ease) .78s forwards;
}
.hero-search input {
  width: 100%; padding: 16px 20px 16px 48px;
  border-radius: 100px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  color: var(--white); font-family: 'Jost'; font-size: 0.94rem;
  outline: none; transition: border-color .3s, background .3s;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.5); }
.hero-search input:focus { border-color: var(--brass-light); background: rgba(255,255,255,0.14); }
.hero-search svg {
  position: absolute; left: 19px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: rgba(255,255,255,0.6);
}

/* Scroll Cue */
.scroll-cue {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.66rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 1s var(--ease) 1s forwards;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: linear-gradient(rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  background: var(--paper-deep); padding: 20px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 50px; white-space: nowrap;
  animation: tickerScroll 34s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.02rem; color: var(--brass-deep);
  display: flex; align-items: center; gap: 50px;
}
.ticker-track span::after {
  content: '✦'; color: var(--bottle); font-style: normal;
  font-size: 0.8rem;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  max-width: 640px; margin: 0 auto 56px; text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 400;
  margin: 12px 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 1.02rem; font-weight: 300; }

/* =========================================================
   CATEGORIES
   ========================================================= */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative; border-radius: 20px;
  padding: 34px 28px 28px; background: var(--white);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.cat-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow);
  border-color: var(--brass);
}
.cat-card .cat-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bottle); margin-bottom: 22px;
  color: var(--brass-light);
  transition: transform .5s var(--ease);
}
.cat-card:hover .cat-icon { transform: rotate(-6deg) scale(1.08); }
.cat-card .cat-icon svg { width: 24px; height: 24px; }
.cat-card h3 { font-size: 1.18rem; font-weight: 500; margin-bottom: 9px; }
.cat-card p { color: var(--ink-soft); font-size: 0.9rem; font-weight: 300; margin-bottom: 16px; }
.cat-card .cat-link {
  font-size: 0.75rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--brass-deep);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
}
.cat-card .cat-link svg { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(5px); }
.cat-card .cat-num {
  position: absolute; top: 22px; right: 26px;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 0.85rem; color: rgba(169, 130, 75, 0.3);
}
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }

/* =========================================================
   MASONRY / BLOG GRID
   ========================================================= */
.masonry {
  column-count: 3; column-gap: 22px;
}
.masonry .pin {
  break-inside: avoid; margin-bottom: 22px;
  display: block; border-radius: 18px; overflow: hidden;
  position: relative; background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s;
}
.masonry .pin:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.masonry .pin.hide { opacity: 0; transform: scale(0.94); pointer-events: none; position: absolute; visibility: hidden; }
.masonry .pin-img {
  width: 100%; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(150deg, var(--bottle), var(--bottle-deep));
  overflow: hidden;
}
.masonry .pin-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.masonry .pin-save {
  position: absolute; top: 14px; right: 14px;
  background: var(--brass); color: var(--white);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 8px 16px; border-radius: 100px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  cursor: pointer; border: none;
}
.masonry .pin:hover .pin-save { opacity: 1; transform: translateY(0); }
.masonry .pin-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(253,255,255,0.94); color: var(--bottle);
  font-size: 0.66rem; letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 600;
  padding: 6px 12px; border-radius: 100px;
}
.masonry .pin-body { padding: 18px 20px 20px; }
.masonry .pin-body h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 8px; line-height: 1.35; }
.masonry .pin-body p { font-size: 0.85rem; color: var(--ink-soft); font-weight: 300; margin-bottom: 12px; }
.masonry .pin-meta { font-size: 0.74rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.masonry .pin-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--brass-deep); }

@media (max-width: 960px) { .masonry { column-count: 2; } }
@media (max-width: 640px) { .masonry { column-count: 1; } }

.load-more-wrap { text-align: center; margin-top: 48px; }

/* =========================================================
   MOOD BOARDS
   ========================================================= */
.board-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 66px; gap: 18px;
}
.board-card {
  position: relative; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 20px;
  color: var(--white);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  cursor: pointer;
}
.board-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,0.15); }
.board-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.5) 100%);
}
.board-card > * { position: relative; z-index: 1; }
.board-card .b-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.02rem; }
.board-card .b-count { font-size: 0.72rem; opacity: 0.85; margin-top: 2px; }
.b1 { grid-column: span 2; grid-row: span 4; background: linear-gradient(135deg, #C4A77D, #A68B5B); }
.b2 { grid-column: span 2; grid-row: span 3; background: linear-gradient(135deg, var(--bottle), var(--bottle-deep)); }
.b3 { grid-column: span 2; grid-row: span 3; background: linear-gradient(135deg, #E8DCC8, #D4C4A8); }
.b4 { grid-column: span 2; grid-row: span 4; background: linear-gradient(135deg, #7BA3A8, #5A8A90); }
.b5 { grid-column: span 2; grid-row: span 3; background: linear-gradient(135deg, #B87D5E, #8B5E3C); }
.b6 { grid-column: span 2; grid-row: span 3; background: linear-gradient(135deg, #1a1a2e, #0f0f1a); }

@media (max-width: 960px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .board-grid { grid-template-columns: 1fr; grid-auto-rows: 120px; }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: span 1; grid-row: span 1; }
}

/* =========================================================
   SHOP
   ========================================================= */
.shop-cats {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 48px;
}
.shop-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  aspect-ratio: 1/1;
  background: linear-gradient(150deg, var(--marble), var(--paper-deep));
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-deep); position: relative; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.product-img svg { width: 32%; height: auto; }
.product-body { padding: 18px 18px 20px; }
.product-body h3 { font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.product-body p { font-size: 0.82rem; color: var(--ink-soft); font-weight: 300; margin-bottom: 14px; line-height: 1.5; }
.product-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--white); background: var(--bottle);
  padding: 10px 18px; border-radius: 100px;
  transition: background .3s, transform .3s var(--ease);
}
.product-btn:hover { background: var(--brass-deep); transform: translateY(-2px); }
.product-btn svg { width: 13px; height: 13px; }

@media (max-width: 960px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .shop-grid { grid-template-columns: 1fr; } }

.shop-disclosure {
  max-width: 640px; margin: 0 auto 50px; text-align: center;
  font-size: 0.85rem; color: var(--ink-soft);
  background: var(--paper-deep); border-radius: 14px;
  padding: 16px 24px;
}

/* =========================================================
   SOCIAL CALLOUT
   ========================================================= */
.social-section .wrap {
  background: linear-gradient(135deg, var(--bottle), var(--bottle-deep));
  border-radius: 26px; padding: 60px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.social-section h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400; margin: 10px 0 12px;
}
.social-section p {
  color: rgba(255,255,255,0.7); max-width: 460px;
  margin: 0 auto 26px; font-weight: 300;
}
/*.social-form {
  display: flex; gap: 10px; max-width: 440px;
  margin: 0 auto; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 6px;
}
.social-form input {
  flex: 1; border: none; background: transparent;
  padding: 13px 18px; font-family: 'Jost';
  font-size: 0.9rem; color: var(--white); outline: none;
}
.social-form input::placeholder { color: rgba(255,255,255,0.5); }*/
.social-form button {
  border: none; background: var(--brass); color: var(--white);
  padding: 13px 24px; border-radius: 100px;
  font-family: 'Jost'; font-size: 0.85rem;
  cursor: pointer;
  transition: background .3s, transform .3s var(--ease);
  white-space: nowrap;
}
.social-form button:hover {
  background: var(--brass-light); color: var(--bottle-deep);
  transform: translateY(-2px);
}
.social-note { font-size: 0.76rem; color: rgba(255,255,255,0.45); margin-top: 14px; }

@media (max-width: 640px) {
  /*.social-form { flex-direction: column; border-radius: 20px; }*/
  .social-form button { border-radius: 14px; }
  .social-section .wrap { padding: 44px 26px; }
}

/* =========================================================
   NANOVERSE SECTION
   ========================================================= */
.nanoverse-section {
  background: linear-gradient(135deg, var(--bottle-soft), var(--bottle-deep));
  color: var(--white);
}
.nanoverse-section .eyebrow { color: var(--brass-light); }
.nanoverse-section h2 { color: var(--white); }
.nano-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.nano-grid p { color: rgba(255,255,255,0.68); }

/* Gallery Grid for Nanoverse */
.nano-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nano-gallery-item {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.nano-gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.nano-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 0;
}
.nano-gallery-item.tall { grid-row: span 2; }
.nano-gallery-item.wide { grid-column: span 2; }

@media (max-width: 860px) {
  .nano-grid { grid-template-columns: 1fr; }
  .nano-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--bottle-deep); color: rgba(255,255,255,0.7);
  padding: 70px 0 28px; position: relative; overflow: hidden;
}
.footer-top {
  display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  gap: 50px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(207, 174, 123, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 0.85rem; color: var(--brass-light);
}
.footer-brand span {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.15rem; color: var(--white);
}
.footer-top > div:first-child > p {
  font-size: 0.9rem; font-weight: 300;
  max-width: 280px; color: rgba(255,255,255,0.56);
}
.footer-col h5 {
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brass-light);
  margin-bottom: 16px; font-weight: 600;
}
.footer-col a {
  display: block; font-size: 0.9rem;
  color: rgba(255,255,255,0.66); margin-bottom: 11px;
  transition: color .3s;
}
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding-top: 26px;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.social-row a:hover {
  border-color: var(--brass-light); color: var(--brass-light);
  transform: translateY(-3px);
}
.social-row a svg { width: 16px; height: 16px; }

.legal-row { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-row a {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  transition: color .3s;
}
.legal-row a:hover { color: var(--brass-light); }

.footer-disclosure {
  font-size: 0.78rem; color: rgba(255,255,255,0.42);
  max-width: 760px; margin: 0 auto;
  padding-top: 20px; text-align: center;
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   PAGE HERO (Inner Pages)
   ========================================================= */
.page-hero {
  position: relative; padding: 170px 32px 90px;
  text-align: center;
  background: radial-gradient(120% 65% at 50% 0%, #2a3768 0%, #161c38 60%, var(--bottle-deep) 100%);
  color: var(--white); overflow: hidden;
}
.page-hero .eyebrow { color: var(--brass-light); }
.page-hero h1 {
  color: var(--white); font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 400; margin: 14px 0 16px;
  max-width: 760px; margin-left: auto; margin-right: auto;
  line-height: 1.2;
}
.page-hero p {
  color: rgba(255,255,255,0.72); max-width: 560px;
  margin: 0 auto; font-weight: 300; font-size: 1.02rem;
}
.page-hero .hero-ring { border-color: rgba(207, 174, 123, 0.14); }

/* =========================================================
   SUBNAV / FILTER BAR
   ========================================================= */
/*.subnav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(253, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 16px 0;
}
.subnav .wrap {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: space-between;
}
.subnav-filters { display: flex; gap: 8px; flex-wrap: wrap; }*/

/* =========================================================
   SUBNAV / FILTER BAR
   ========================================================= */

.subnav{
    position: relative;
    z-index: 200;
    background: rgba(253,255,255,.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding:16px 0;

    transition:
        transform .35s ease,
        opacity .35s ease;
}

.subnav.hide{
    transform: translateY(-120%);
    opacity:0;
}

.subnav .wrap{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    justify-content:space-between;
}

.subnav-filters{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

/* ---------- Chips ---------- */
.chip {
  padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--line); font-size: 0.82rem;
  font-weight: 500; color: var(--bottle); cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .3s var(--ease);
  background: var(--white); font-family: 'Jost', sans-serif;
}
.chip:hover { border-color: var(--brass); transform: translateY(-2px); }
.chip.active { background: var(--brass); color: var(--white); border-color: var(--brass); }

/* ---------- Search Bar ---------- */
.search-bar { position: relative; flex: 1; max-width: 320px; min-width: 200px; }
.search-bar input {
  width: 100%; padding: 11px 16px 11px 40px;
  border-radius: 100px; border: 1px solid var(--line);
  background: var(--paper); font-family: 'Jost';
  font-size: 0.85rem; color: var(--ink); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.search-bar input:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(210, 182, 138, 0.15); }
.search-bar svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--ink-soft); pointer-events: none;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-masonry { column-count: 4; column-gap: 18px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 18px;
  border-radius: 16px; overflow: hidden;
  position: relative; cursor: pointer;
  background: linear-gradient(150deg, var(--bottle-soft), var(--bottle-deep));
  display: flex; align-items: center; justify-content: center;
  transition: transform .45s var(--ease);
}
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gallery-item .g-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  color: #fff; font-size: 0.78rem;
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item:hover .g-cap { opacity: 1; }

@media (max-width: 1100px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 860px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 640px) { .gallery-masonry { column-count: 1; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(12, 15, 20, 0.92); z-index: 2500;
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 900px; width: 100%; max-height: 85vh;
  background: var(--bottle-deep); border-radius: 18px;
  position: relative; color: #fff; overflow: hidden;
  display: flex; flex-direction: column;
}
.lightbox-inner img {
  width: 100%; height: auto; max-height: 70vh;
  object-fit: contain; border-radius: 0;
}
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .3s;
  z-index: 10; font-size: 1.2rem; border: none;
}
.lightbox-close:hover { background: rgba(255,255,255,0.24); }
.lightbox-cap {
  padding: 16px 20px; color: rgba(255,255,255,0.85);
  font-size: 0.9rem; text-align: center;
}

/* =========================================================
   ARTICLE / PROSE
   ========================================================= */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-header { text-align: center; margin-bottom: 36px; }
.article-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 400;
  margin: 14px 0 16px;
}
.article-meta {
  display: flex; justify-content: center; gap: 10px;
  align-items: center; font-size: 0.82rem; color: var(--ink-soft);
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--brass-deep); }
.article-cover {
  width: 100%; aspect-ratio: 16/10; border-radius: 20px;
  background: linear-gradient(150deg, var(--bottle), var(--bottle-deep));
  margin: 32px 0 40px; display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); overflow: hidden;
  position: relative;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.article-cover svg { width: 14%; height: auto; }

.prose p { color: var(--ink-soft); font-weight: 300; font-size: 1.04rem; margin-bottom: 20px; line-height: 1.85; }
.prose h2 { font-size: 1.5rem; font-weight: 500; margin: 40px 0 16px; }
.prose h3 { font-size: 1.2rem; font-weight: 500; margin: 28px 0 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 20px; color: var(--ink-soft); font-weight: 300; }
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose blockquote {
  border-left: 3px solid var(--brass); padding: 4px 0 4px 22px;
  margin: 28px 0; font-family: 'Fraunces', serif;
  font-style: italic; font-size: 1.15rem; color: var(--bottle);
}
.prose img, .prose .inline-figure {
  width: 100%; border-radius: 16px; margin: 30px 0;
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, var(--paper-deep), var(--marble));
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-deep); overflow: hidden;
}
.prose .inline-figure img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.prose .inline-figure svg { width: 10%; height: auto; }

/* ---------- TOC Box ---------- */
.toc-box {
  background: var(--paper-deep); border-radius: 16px;
  padding: 22px 24px; margin: 0 0 36px;
}
.toc-box h4 {
  font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 12px;
  color: var(--brass-deep);
}
.toc-box ol { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc-box a { font-size: 0.92rem; color: var(--ink-soft); transition: color .3s; }
.toc-box a:hover { color: var(--brass-deep); }

/* ---------- Share Row ---------- */
.share-row {
  display: flex; align-items: center; gap: 12px;
  margin: 36px 0; padding: 20px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.share-row span {
  font-size: 0.78rem; color: var(--ink-soft);
  letter-spacing: 0.04em; text-transform: uppercase; margin-right: 4px;
}
.share-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--bottle); background: transparent;
  transition: transform .3s var(--ease), border-color .3s, background .3s, color .3s;
  cursor: pointer;
}
.share-btn:hover {
  transform: translateY(-3px); border-color: var(--brass);
  background: var(--brass); color: var(--white);
}
.share-btn svg { width: 20px; height: 20px; }
.share-btn[data-share="x"] svg {
  width: 14px;
  height: 14px;
}

/* ---------- Author Box ---------- */
.author-box {
  display: flex; gap: 16px; align-items: center;
  background: var(--paper-deep); border-radius: 16px;
  padding: 22px; margin: 36px 0;
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bottle);
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-light); font-family: 'Fraunces', serif;
  font-style: italic; font-size: 1.1rem; flex-shrink: 0;
}
.author-box h4 { font-size: 1rem; margin-bottom: 4px; }
.author-box p { font-size: 0.88rem; color: var(--ink-soft); font-weight: 300; }

/* ---------- Prev/Next ---------- */
.prevnext {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 44px 0;
}
.pn-link {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; transition: border-color .3s, transform .3s var(--ease);
}
.pn-link:hover { border-color: var(--brass); transform: translateY(-3px); }
.pn-link .pn-label {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--brass-deep);
  display: block; margin-bottom: 6px;
}
.pn-link .pn-title { font-size: 0.95rem; font-weight: 500; color: var(--bottle); }
.pn-next { text-align: right; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block; font-size: 0.7rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  font-weight: 600; padding: 5px 12px; border-radius: 100px;
  background: var(--paper-deep); color: var(--brass-deep);
}

/* ---------- Category Banner ---------- */
.category-banner {
  background: linear-gradient(135deg, var(--bottle-soft), var(--bottle-deep));
  border-radius: 26px; padding: 54px 50px; color: #fff;
  margin-bottom: 56px;
}
.category-banner h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 400; margin: 10px 0 14px; }
.category-banner p { color: rgba(255,255,255,0.7); font-weight: 300; }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; font-size: 0.78rem; color: var(--ink-soft);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--brass-deep); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--ink); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.about-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-facts div {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px;
}
.about-facts .f-label {
  display: block; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-deep); font-weight: 600; margin-bottom: 8px;
}
.about-facts .f-value {
  font-family: 'Fraunces', serif; font-size: 1.15rem;
  color: var(--bottle); font-weight: 500; line-height: 1.4;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-page .wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contact-page h2 { font-size: 1.4rem; font-weight: 400; margin-bottom: 14px; }
.contact-page > .wrap > div:first-child p { color: var(--ink-soft); font-weight: 300; margin-bottom: 22px; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-links a {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem; color: var(--bottle); font-weight: 500;
}
.contact-links a svg { width: 17px; height: 17px; color: var(--brass-deep); flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--line); background: var(--white);
  border-radius: 12px; padding: 14px 16px;
  font-family: 'Jost'; font-size: 0.92rem;
  color: var(--ink); outline: none;
  transition: border-color .3s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brass); }
.contact-form button {
  border: none; background: var(--bottle); color: var(--white);
  padding: 14px 26px; border-radius: 100px;
  font-family: 'Jost'; font-size: 0.88rem;
  letter-spacing: 0.03em; cursor: pointer;
  transition: background .35s var(--ease), transform .35s var(--ease);
  align-self: flex-start;
}
.contact-form button:hover { background: var(--brass-deep); transform: translateY(-2px); }
.form-success {
  display: none; color: var(--bottle);
  font-size: 0.88rem; margin-top: 4px; font-weight: 500;
}
@media (max-width: 860px) { .contact-page .wrap { grid-template-columns: 1fr; } }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-body { max-width: 780px; margin: 0 auto; }
.legal-body h2 { font-size: 1.15rem; margin: 30px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li {
  color: var(--ink-soft); font-weight: 300;
  font-size: 0.96rem; margin-bottom: 12px; line-height: 1.75;
}
.legal-body ul { padding-left: 20px; }
.legal-updated { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 24px; }

/* =========================================================
   EXPLORE TILES (Categories Page)
   ========================================================= */
.explore-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.explore-tile {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 3/4; display: flex; align-items: flex-end;
  padding: 22px; color: var(--white);
  background: linear-gradient(150deg, var(--bottle-soft), var(--bottle-deep));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.explore-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.explore-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.explore-tile > * { position: relative; z-index: 1; }
.explore-tile h3 { color: var(--white); font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.explore-tile span { font-size: 0.75rem; color: rgba(255,255,255,0.75); }

@media (max-width: 960px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .explore-grid { grid-template-columns: 1fr; } }

/* =========================================================
   EMPTY STATE
   ========================================================= */
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state svg { width: 38px; height: 38px; color: var(--brass); margin-bottom: 14px; }

/* =========================================================
   VISUALLY HIDDEN
   ========================================================= */
.vh {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* =========================================================
   PIN SAVE FLOAT
   ========================================================= */
.pin-save-float {
  position: absolute; top: 16px; right: 16px;
  background: var(--brass); color: var(--white);
  font-size: 0.75rem; font-weight: 600;
  padding: 8px 16px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; border: none;
  transition: background .3s, transform .3s;
}
.pin-save-float:hover { background: var(--brass-deep); transform: translateY(-2px); }
.pin-save-float svg { width: 14px; height: 14px; }

/* =========================================================
   SKELETON LOADING
   ========================================================= */
.skeleton {
  position: relative; overflow: hidden;
  background: var(--paper-deep); border-radius: 16px;
}
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .ticker-track { animation: none; }
}

/* =========================================================
   AFFILIATE NOTICE
   ========================================================= */
.affiliate-notice {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; color: var(--brass-deep);
  background: rgba(210, 182, 138, 0.12);
  padding: 4px 10px; border-radius: 100px;
  margin-top: 8px;
}

/* =========================================================
   RESPONSIVE UTILITIES
   ========================================================= */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 130px 20px 80px; }
  .page-hero { padding: 140px 20px 60px; }
}

/* ---------- Shop Now Floating Button ---------- */
#shopNow {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bottle);
  color: var(--brass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition: opacity .4s, transform .4s, visibility .4s;
}

#shopNow.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#shopNow:hover {
  background: var(--brass-deep);
  transform: translateY(0);
}

#shopNow svg {
  width: 22px;
  height: 22px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: #222D52;
  color: #D2B68A;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: all .3s ease;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}