/* =========================================================
   LANDING — emerald & gold hero + nav
   (loaded after style.css; the rest of the site is untouched)
   ========================================================= */
:root {
  --em-dd: #051510;
  --em-d: #0a2419;
  --em: #0f3a28;
  --em-l: #1d5a3f;
  --gold-a: #f0d69c;
  --gold-b: #d4a85a;
  --gold-c: #b0823a;
  --gold-text: linear-gradient(180deg, #f6e2ae 0%, #e0b567 55%, #c28f41 100%);
}

/* ---------- nav ---------- */
.nav { color: #f5efe2; padding-block: 22px; }
.nav.scrolled { background: rgba(7, 26, 18, .84); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 rgba(212, 168, 90, .18); padding-block: 12px; }
.logo-stack { gap: 12px; color: #f5efe2; }
.logo-stack .logo-mark { width: 30px; height: 38px; fill: none; }
.logo-words { display: grid; justify-items: center; line-height: 1; }
.logo-words b {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-words small { font-family: var(--sans); font-weight: 600; font-size: .6rem; letter-spacing: .62em; text-transform: uppercase; color: #f1e3c2; margin-top: 5px; padding-left: .62em; }

.nav .nav-links { background: none; border: 0; backdrop-filter: none; gap: clamp(8px, 2vw, 30px); padding: 0; }
.nav .nav-links a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: .5em 0; border-radius: 0; font-size: .88rem; font-weight: 500; color: rgba(255, 255, 255, .9); background: none; }
.nav .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-b); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav .nav-links a:hover { background: none; color: var(--gold-a); }
.nav .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.circle-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(212, 168, 90, .65); color: var(--gold-a); background: rgba(5, 21, 16, .25);
  transition: background .35s, color .35s, transform .4s var(--ease), border-color .35s;
}
.circle-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.circle-btn:hover { background: var(--gold-b); color: var(--em-dd); border-color: var(--gold-b); transform: scale(1.05); }
.nav .cart-btn { width: 46px; height: 46px; background: rgba(5, 21, 16, .25); color: var(--gold-a); }
.nav .cart-btn:hover { background: var(--gold-b); color: var(--em-dd); }
.nav .cart-count { background: linear-gradient(180deg, #f3dca2, #cf9f51); color: var(--em-dd); border-color: var(--em-d); font-weight: 800; }
.nav .menu-btn { border-color: rgba(212, 168, 90, .65); background: rgba(5, 21, 16, .25); }
.nav .menu-btn span { background: var(--gold-a); }
.mobile-menu { background: radial-gradient(circle at 70% 20%, #16452f, var(--em-dd) 70%); }
.mobile-menu a:hover { color: var(--gold-a); }

/* ---------- hero ---------- */
.hero { overflow: hidden; background: var(--em-dd); color: #f7f2e7; padding: 130px var(--pad) 70px; }
.hero .webgl { position: absolute; inset: 0; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { z-index: 2; max-width: 610px; }
.hero .eyebrow { display: block; color: var(--gold-a); font-size: .74rem; letter-spacing: .26em; font-weight: 700; margin-bottom: 1.1rem; gap: .9em; }
.dot-sep { color: var(--gold-b); margin: 0 .5em; }
.hero-title { color: #fbf7ee; font-size: clamp(2.8rem, 5.5vw, 5.3rem); line-height: 1.04; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.3rem; text-shadow: 0 8px 40px rgba(0, 0, 0, .35); }
.hero-title em { font-style: italic; font-weight: 700; color: var(--gold-b); }
.hero-title em .w-i { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: rgba(247, 242, 231, .86); font-size: clamp(1rem, 1.25vw, 1.14rem); max-width: 470px; margin-bottom: 2.1rem; }
.hero-ctas { gap: 16px; margin-bottom: 2.8rem; }
.btn-goldfill { background: linear-gradient(180deg, #f2d9a0 0%, #d8ab5f 55%, #bb8b42 100%); color: #1b1307; box-shadow: 0 14px 34px -14px rgba(224, 181, 103, .75), inset 0 1px 0 rgba(255, 255, 255, .5); padding: 1.1em 1.9em; }
.btn-goldfill::before { background: #fff3d6; }
.btn-line-gold { color: #fff; border: 1.5px solid rgba(240, 214, 156, .85); background: rgba(5, 21, 16, .2); padding: 1.1em 1.9em; }
.btn-line-gold::before { background: linear-gradient(180deg, #f2d9a0, #cf9f51); }
.btn-line-gold:hover { color: #1b1307; }
.hero-features { list-style: none; display: flex; flex-wrap: wrap; gap: 18px clamp(20px, 3vw, 40px); }
.hero-features li { display: flex; align-items: center; gap: 12px; font-size: .8rem; line-height: 1.3; color: rgba(255, 255, 255, .88); font-weight: 500; }
.hero-features svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--gold-b); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.hero .hero-fallback { display: none; }
.no-webgl .hero .hero-fallback { display: block; position: absolute; z-index: 1; right: 3vw; top: 52%; width: min(48vw, 640px); transform: translateY(-50%) rotate(-8deg); animation: none; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .35)); }

/* ---------- search ---------- */
.search { position: fixed; inset: 0; z-index: 120; display: grid; align-items: start; justify-items: center; padding: 110px 16px 40px; background: rgba(5, 21, 16, .6); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.search.open { opacity: 1; pointer-events: auto; }
.search-panel { width: min(640px, 100%); background: var(--paper); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; transform: translateY(-16px); transition: transform .5s var(--ease); }
.search.open .search-panel { transform: none; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.search-box > svg { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; font-size: 1.05rem; font-weight: 500; padding: 8px 0; }
.search-box input:focus { outline: none; }
.search-results { max-height: min(60vh, 460px); overflow-y: auto; padding: 8px; }
.s-item { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 16px; text-align: left; transition: background .25s; }
.s-item:hover, .s-item:focus-visible { background: var(--cream); }
.s-thumb { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff, var(--tint)); }
.s-thumb img { width: 80%; }
.s-item strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 1rem; }
.s-item small { color: var(--muted); font-size: .8rem; }
.s-item em { font-style: normal; font-weight: 700; color: var(--teal-d); font-size: .9rem; }
.s-empty { padding: 26px; text-align: center; color: var(--muted); }
.p-card.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px var(--gold-b), var(--shadow); } }

@media (max-width: 1180px) {
  .nav .nav-links { gap: 16px; }
  .nav .nav-links a { font-size: .82rem; }
}
@media (max-width: 1020px) {
  .nav .nav-links { display: none; }
  .nav .menu-btn { display: block; }
}
@media (max-width: 899px) {
  .hero { align-items: flex-end; padding-top: 50vh; padding-bottom: 60px; }
  .hero-features { gap: 16px 22px; }
  .hero-features li { flex: 1 1 40%; }
  .no-webgl .hero .hero-fallback { width: 76vw; right: 12vw; top: 26vh; }
}
@media (max-width: 560px) {
  .logo-words b { font-size: 1.2rem; }
  .logo-stack .logo-mark { width: 24px; height: 30px; }
  .circle-btn, .nav .cart-btn, .nav .menu-btn { width: 42px; height: 42px; }
  .nav-actions { gap: 8px; }
  .hero-title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
}
