/* =============================================================
   CHIVOR AUCTIONS — Premium Colombian Emerald Marketplace
   Archetype: Editorial Dark Warm · Emerald + Gold
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --angle      { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  /* Surfaces — warm green-black, never pure #000 */
  --bg:        #0B0F0C;
  --bg-2:      #0F140F;
  --bg-3:      #161D16;   /* card */
  --bg-4:      #1E271F;   /* raised card / hover */

  /* Text — cream, never pure #fff */
  --cream:     #F3EFE4;
  --cream-2:   #D6D2C3;
  --cream-3:   #8C9389;   /* metadata, green-grey */

  /* Accents */
  --emerald:      #19B587;
  --emerald-deep: #0C6E51;
  --emerald-lite: #5FE6B7;
  --gold:         #C9A24B;
  --gold-lite:    #E6CD8A;

  --line:      rgba(243,239,228,.12);
  --line-2:    rgba(243,239,228,.07);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --maxw: 1280px;
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.02em; font-weight: 400; }
::selection { background: var(--emerald); color: #04140E; }

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.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;
}
.skip-link {
  position: fixed; top: -120px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--emerald); color: #04140E;
  border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--emerald-lite); font-weight: 500;
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6;
}
.kicker.is-center::after {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6;
}

.section { padding-block: clamp(4.5rem, 11vw, 9rem); position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  line-height: 1.02;
  margin-top: 1.1rem;
  font-optical-sizing: auto;
}
.section-title em { font-style: italic; color: var(--gold-lite); }
.section-intro {
  margin-top: 1.4rem; color: var(--cream-2);
  font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 52ch;
}
.section-head.is-center .section-intro { margin-inline: auto; }
.eyebrow-num {
  font-family: var(--mono); font-size: .72rem; color: var(--cream-3);
  letter-spacing: .2em;
}

/* =============================================================
   4. Typography helpers
   ============================================================= */
.display {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 380;
}

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  --btn-bg: var(--emerald);
  --btn-fg: #04140E;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 4px 20px -6px rgba(25,181,135,.5);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -12px rgba(25,181,135,.6), 0 6px 16px rgba(0,0,0,.4);
}
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-gold { --btn-bg: var(--gold); --btn-fg: #1A1407; box-shadow: 0 4px 20px -6px rgba(201,162,75,.5); }
.btn-gold:hover { box-shadow: 0 20px 44px -12px rgba(201,162,75,.6), 0 6px 16px rgba(0,0,0,.4); }
.btn-ghost {
  background: transparent; color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--emerald);
  background: rgba(25,181,135,.08);
}
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Tag / badge */
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 6px;
  background: rgba(243,239,228,.06); color: var(--cream-2);
  border: 1px solid var(--line-2);
}
.tag-live { color: #FF6B5E; border-color: rgba(255,107,94,.3); background: rgba(255,107,94,.08); }
.tag-live .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #FF6B5E;
  box-shadow: 0 0 0 0 rgba(255,107,94,.6); animation: pulse 1.8s infinite;
}
.tag-buynow { color: var(--gold-lite); border-color: rgba(201,162,75,.3); background: rgba(201,162,75,.08); }
.tag-cert { color: var(--emerald-lite); border-color: rgba(25,181,135,.3); background: rgba(25,181,135,.07); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,94,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(255,107,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,94,0); }
}

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(11,15,12,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-2);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--serif); font-size: 1.4rem; letter-spacing: .02em;
}
.brand b { font-weight: 600; }
.brand .brand-gem {
  width: 12px; height: 12px; display: inline-block;
  background: conic-gradient(from 45deg, var(--emerald-lite), var(--emerald-deep), var(--emerald));
  clip-path: polygon(50% 0, 100% 35%, 80% 100%, 20% 100%, 0 35%);
  transform: translateY(1px);
}
.brand small {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cream-3); align-self: center;
}
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link { position: relative; font-size: .92rem; color: var(--cream-2); padding: .25rem 0; transition: color .3s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--emerald); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .9rem; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang-toggle button {
  padding: .4rem .7rem; color: var(--cream-3); transition: color .3s, background-color .3s;
}
.lang-toggle button.is-active { color: #04140E; background: var(--emerald); }

.nav-cta { display: none; }
.nav-burger {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line);
}
.nav-burger span { position: relative; width: 18px; height: 1.5px; background: var(--cream); transition: background .2s; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--cream);
  transition: transform .35s var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-open .nav-burger span { background: transparent; }
.nav-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile a {
  font-family: var(--serif); font-size: clamp(1.8rem, 8vw, 2.6rem);
  padding: .5rem 0; border-bottom: 1px solid var(--line-2); color: var(--cream);
  display: flex; align-items: baseline; gap: 1rem;
}
.nav-mobile a span { font-family: var(--mono); font-size: .8rem; color: var(--emerald); }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: rgba(243,239,228,.05); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; transform-origin: 0 0; transform: scaleX(0);
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: transform .08s linear;
}

/* =============================================================
   7. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease-out), clip-path 1.1s var(--ease-soft);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.splash-gem {
  width: 46px; height: 46px;
  background: conic-gradient(from 45deg, var(--emerald-lite), var(--emerald-deep), var(--emerald), var(--emerald-lite));
  clip-path: polygon(50% 0, 100% 35%, 80% 100%, 20% 100%, 0 35%);
  animation: gemSpin 2.4s var(--ease-soft) infinite;
  filter: drop-shadow(0 0 24px rgba(25,181,135,.5));
}
@keyframes gemSpin { 0%,100% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(1.12); } }
.splash-word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .3em; color: var(--cream); text-transform: uppercase; }
.splash-line { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.splash-line::after {
  content: ""; position: absolute; inset: 0; background: var(--emerald);
  transform: translateX(-100%); animation: splashLoad 2s var(--ease-out) infinite;
}
@keyframes splashLoad { to { transform: translateX(100%); } }

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,12,.72) 0%, rgba(11,15,12,.55) 38%, rgba(11,15,12,.92) 100%),
    radial-gradient(80% 60% at 70% 30%, rgba(11,15,12,.1), rgba(11,15,12,.8) 100%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 45% at var(--mesh-x) var(--mesh-y), rgba(25,181,135,.4), transparent 60%),
    conic-gradient(from var(--mesh-angle), rgba(201,162,75,.18), rgba(12,110,81,.12), rgba(25,181,135,.22), rgba(201,162,75,.18));
  filter: blur(90px) saturate(125%);
  opacity: .75; mix-blend-mode: screen;
  animation: meshShift 24s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 32%; --mesh-y: 38%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 32%; --mesh-y: 38%; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.hero-content { max-width: 22ch; }
.hero-meta {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.6rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; color: var(--cream-2);
  padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(11,15,12,.4); backdrop-filter: blur(6px);
}
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(25,181,135,.6); animation: pulse 2s infinite; }
.hero-title {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 360;
  font-size: clamp(2.7rem, 8.4vw, 6.6rem); line-height: .98; letter-spacing: -0.025em;
  max-width: 16ch;
}
.hero-title em { font-style: italic; color: var(--emerald-lite); }
.hero-title .gold { color: var(--gold-lite); font-style: italic; }
.hero-sub {
  margin-top: 1.7rem; max-width: 46ch; color: var(--cream-2);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem); line-height: 1.55;
}
.hero-actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-stats {
  margin-top: 3rem; display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.2rem);
  padding-top: 2rem; border-top: 1px solid var(--line-2); max-width: 40rem;
}
.hero-stat .num { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--cream); display: flex; align-items: baseline; gap: .15rem; }
.hero-stat .num .sym { color: var(--emerald); font-size: .7em; }
.hero-stat .lbl { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); margin-top: .3rem; }
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll .line { width: 1px; height: 36px; background: linear-gradient(var(--emerald), transparent); animation: scrollLine 2.2s var(--ease-soft) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 40% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =============================================================
   9. Marquee trust strip
   ============================================================= */
.marquee {
  overflow: hidden; position: relative; padding-block: 1.6rem;
  border-block: 1px solid var(--line-2); background: var(--bg-2);
}
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track { display: inline-flex; gap: 2.8rem; white-space: nowrap; will-change: transform; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-style: italic; color: var(--cream-2);
  display: inline-flex; align-items: center; gap: 2.8rem;
}
.marquee-track span::after { content: "◆"; color: var(--emerald); font-size: .5em; font-style: normal; }

/* =============================================================
   10. Value pillars
   ============================================================= */
.pillars { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.pillar {
  position: relative; padding: 1.9rem 1.7rem; border-radius: 18px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-soft), border-color .4s, background-color .4s;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120% 100% at 0 0, rgba(25,181,135,.12), transparent 60%);
}
.pillar:hover { transform: translateY(-5px); border-color: rgba(25,181,135,.35); background: var(--bg-4); }
.pillar:hover::before { opacity: 1; }
.pillar-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: rgba(25,181,135,.12); color: var(--emerald-lite);
}
.pillar-ico svg { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: .55rem; }
.pillar p { color: var(--cream-2); font-size: .96rem; }
.pillar .pillar-num { position: absolute; top: 1.3rem; right: 1.5rem; font-family: var(--mono); font-size: .72rem; color: var(--cream-3); }

/* =============================================================
   11. Showcase — featured lots (pinned horizontal)
   ============================================================= */
.showcase { overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem); }
.showcase-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.6rem; }
.showcase-track {
  display: flex; gap: 1.3rem; padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.4rem;
  scrollbar-width: thin; scrollbar-color: var(--emerald-deep) transparent;
}
.showcase.is-pinned .showcase-track { overflow: visible; }
.showcase-track::-webkit-scrollbar { height: 6px; }
.showcase-track::-webkit-scrollbar-thumb { background: var(--emerald-deep); border-radius: 99px; }

/* Lot card */
.lot {
  position: relative; flex: 0 0 auto; width: min(82vw, 340px);
  scroll-snap-align: start;
  border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--bg-3); border: 1px solid var(--line-2);
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .4s;
}
.lot:hover {
  transition-duration: .18s; border-color: rgba(25,181,135,.4);
  box-shadow: 0 40px 80px -30px rgba(25,181,135,.4), 0 20px 40px -20px rgba(0,0,0,.6);
}
.lot-media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; }
.lot-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(180px circle at var(--mx,50%) var(--my,50%), rgba(25,181,135,.22), transparent 60%);
  opacity: 0; transition: opacity .4s; mix-blend-mode: screen;
}
.lot:hover .lot-media::after { opacity: 1; }
.lot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .5s; }
.lot:hover .lot-media img { transform: scale(1.08); filter: saturate(1.15) brightness(1.05); }
.lot-tags { position: absolute; top: .8rem; left: .8rem; z-index: 2; display: flex; gap: .4rem; }
.lot-fav {
  position: absolute; top: .8rem; right: .8rem; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11,15,12,.5); backdrop-filter: blur(6px); color: var(--cream-2);
  transition: color .3s, transform .3s;
}
.lot-fav:hover { color: #FF6B5E; transform: scale(1.1); }
.lot-body { padding: 1.1rem 1.15rem 1.25rem; transform: translateZ(30px); }
.lot-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .68rem; color: var(--cream-3); letter-spacing: .08em; }
.lot-meta .origin { color: var(--emerald-lite); }
.lot h3 { font-family: var(--serif); font-size: 1.16rem; margin: .5rem 0 .9rem; line-height: 1.15; }
.lot-specs { display: flex; gap: 1rem; font-family: var(--mono); font-size: .7rem; color: var(--cream-2); margin-bottom: 1rem; flex-wrap: wrap; }
.lot-specs span { display: inline-flex; align-items: center; gap: .3rem; }
.lot-specs .k { color: var(--cream-3); }
.lot-price { display: flex; align-items: flex-end; justify-content: space-between; padding-top: .9rem; border-top: 1px solid var(--line-2); }
.lot-price .label { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.lot-price .val { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.lot-price .val .cur { font-size: .65em; color: var(--emerald); }
.lot-price .buynow .val { color: var(--gold-lite); }
.lot-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .95rem; }
.lot-timer { font-family: var(--mono); font-size: .72rem; color: var(--cream-2); display: inline-flex; align-items: center; gap: .4rem; }
.lot-timer.ending { color: #FF6B5E; }
.lot-bid-btn {
  font-size: .82rem; font-weight: 600; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(25,181,135,.14); color: var(--emerald-lite);
  transition: background-color .3s, color .3s;
}
.lot:hover .lot-bid-btn, .lot-bid-btn:hover { background: var(--emerald); color: #04140E; }
.showcase-foot { text-align: center; margin-top: 2.6rem; }

/* =============================================================
   12. How it works
   ============================================================= */
.hiw-tabs { display: inline-flex; gap: .4rem; padding: .35rem; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); margin-bottom: 3rem; }
.hiw-tab { padding: .6rem 1.3rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--cream-3); transition: color .3s, background-color .3s; }
.hiw-tab.is-active { background: var(--emerald); color: #04140E; }
.steps { display: grid; gap: 1.2rem; grid-template-columns: 1fr; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.6rem 1.8rem 4.4rem; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line-2); }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  position: absolute; left: 1.5rem; top: 1.7rem;
  font-family: var(--mono); font-size: .9rem; color: var(--emerald-lite);
  width: 2rem; text-align: center;
}
.step::after { content: ""; position: absolute; left: 2.5rem; top: 4rem; bottom: -1.2rem; width: 1px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: .45rem; }
.step p { color: var(--cream-2); font-size: .95rem; }
.hiw-panel { display: none; }
.hiw-panel.is-active { display: block; animation: fadeIn .5s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =============================================================
   13. Sell / comparison + calculator
   ============================================================= */
.sell { position: relative; background: var(--bg-2); overflow: hidden; isolation: isolate; }
.sell::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 80%; z-index: -1;
  background: radial-gradient(50% 60% at 50% 0, rgba(25,181,135,.14), transparent 70%);
  filter: blur(40px);
}
.sell-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }

/* Comparison table */
.compare { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; }
.compare-row + .compare-row { border-top: 1px solid var(--line-2); }
.compare-cell { padding: 1rem 1.1rem; font-size: .92rem; }
.compare-cell.feature { color: var(--cream-2); font-weight: 500; }
.compare-head .compare-cell { padding-block: 1.3rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.compare-col-us { background: rgba(25,181,135,.09); text-align: center; position: relative; }
.compare-col-them { color: var(--cream-3); text-align: center; }
.compare-head .compare-col-us { color: var(--emerald-lite); }
.compare-us-brand { display: inline-flex; align-items: center; gap: .4rem; justify-content: center; }
.compare-us-brand .brand-gem { width: 11px; height: 11px; }
.compare-cell .yes { color: var(--emerald-lite); font-weight: 600; }
.compare-cell .no { color: var(--cream-3); }
.compare-cell .big { font-family: var(--serif); font-size: 1.5rem; }
.compare-foot { padding: 1.3rem; background: rgba(25,181,135,.06); text-align: center; }

/* Calculator */
.calc { border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line-2); padding: 1.8rem 1.6rem; }
.calc h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: .4rem; }
.calc-sub { color: var(--cream-3); font-size: .9rem; margin-bottom: 1.6rem; }
.calc-field label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .6rem; }
.calc-input-wrap { position: relative; display: flex; align-items: center; }
.calc-input-wrap .cur { position: absolute; left: 1rem; font-family: var(--serif); font-size: 1.4rem; color: var(--emerald); }
.calc-input-wrap input {
  width: 100%; padding: 1rem 1rem 1rem 2.3rem; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); color: var(--cream);
  font-family: var(--serif); font-size: 1.5rem; transition: border-color .3s;
}
.calc-input-wrap input:focus { outline: none; border-color: var(--emerald); }
.calc-slider { width: 100%; margin-top: 1.1rem; accent-color: var(--emerald); }
.calc-out { margin-top: 1.7rem; display: grid; gap: .9rem; }
.calc-bar { display: grid; gap: .45rem; }
.calc-bar-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; }
.calc-bar-head .who { color: var(--cream-2); display: inline-flex; align-items: center; gap: .4rem; }
.calc-bar-head .amount { font-family: var(--serif); font-size: 1.15rem; }
.calc-track { height: 12px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.calc-fill { height: 100%; border-radius: 99px; transition: width .6s var(--ease-out); }
.calc-fill.us { background: linear-gradient(90deg, var(--emerald-deep), var(--emerald-lite)); }
.calc-fill.them { background: linear-gradient(90deg, #3a3f3a, #6b6b6b); }
.calc-save {
  margin-top: 1.5rem; padding: 1.1rem 1.2rem; border-radius: 14px; text-align: center;
  background: rgba(201,162,75,.1); border: 1px solid rgba(201,162,75,.25);
}
.calc-save .big { font-family: var(--serif); font-size: 2rem; color: var(--gold-lite); display: block; }
.calc-save .lbl { font-size: .82rem; color: var(--cream-2); }

/* =============================================================
   14. Provenance
   ============================================================= */
.prov-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.prov-figure { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.prov-figure img { width: 100%; height: 100%; object-fit: cover; }
.prov-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,15,12,.7)); }
.prov-figure figcaption { position: absolute; bottom: 1rem; left: 1.1rem; z-index: 2; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--cream-2); }
.prov-points { margin-top: 2rem; display: grid; gap: 1.3rem; }
.prov-point { display: flex; gap: 1rem; }
.prov-point .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(201,162,75,.12); color: var(--gold-lite); }
.prov-point h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: .25rem; }
.prov-point p { color: var(--cream-2); font-size: .92rem; }

/* =============================================================
   15. Guarantees
   ============================================================= */
.guarantees { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.guarantee { padding: 1.6rem; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-3); transition: border-color .4s, transform .5s var(--ease-soft); }
.guarantee:hover { border-color: rgba(201,162,75,.3); transform: translateY(-4px); }
.guarantee .ico { color: var(--emerald-lite); margin-bottom: .9rem; }
.guarantee h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .4rem; }
.guarantee p { color: var(--cream-2); font-size: .92rem; }

/* =============================================================
   16. FAQ
   ============================================================= */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--cream);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: 0 0 auto; position: relative; width: 22px; height: 22px; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--emerald); }
.faq-item summary .plus::before { width: 16px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 16px; transition: transform .35s var(--ease-out); }
.faq-item[open] summary .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-item .faq-body { overflow: hidden; color: var(--cream-2); padding-bottom: 1.4rem; max-width: 64ch; font-size: .98rem; }

/* =============================================================
   17. Final CTA + form
   ============================================================= */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta-mesh {
  position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 45% at 30% 40%, rgba(25,181,135,.3), transparent 60%),
    radial-gradient(40% 40% at 75% 65%, rgba(201,162,75,.2), transparent 60%);
  filter: blur(80px); opacity: .8; animation: meshShift 26s linear infinite;
}
.cta-card {
  max-width: 880px; margin-inline: auto; text-align: center;
  border-radius: 26px; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  background: rgba(15,20,15,.7); backdrop-filter: blur(14px); border: 1px solid var(--line);
  position: relative;
}
.cta-card h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; }
.cta-card h2 em { font-style: italic; color: var(--emerald-lite); }
.cta-card p { margin: 1.3rem auto 0; max-width: 48ch; color: var(--cream-2); font-size: 1.05rem; }
.cta-form { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; position: relative; }
.cta-form .field { flex: 1 1 220px; max-width: 320px; }
.cta-form input {
  width: 100%; padding: 1rem 1.2rem; border-radius: 999px;
  background: rgba(11,15,12,.6); border: 1px solid var(--line); color: var(--cream);
  transition: border-color .3s;
}
.cta-form input::placeholder { color: var(--cream-3); }
.cta-form input:focus { outline: none; border-color: var(--emerald); }
.cta-submit { position: relative; overflow: hidden; flex: 0 0 auto; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after { content: ""; width: 18px; height: 18px; border: 1.5px solid rgba(4,20,14,.3); border-top-color: #04140E; border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .55s, transform .55s var(--ease-soft); }
.cta-success { position: absolute; left: 0; right: 0; top: 60%; opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out) .2s, transform .8s var(--ease-soft) .2s; transform: translateY(10px); }
.cta-success.is-visible { opacity: 1; transform: translateY(0); }
.cta-success .check-circle { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(25,181,135,.15); }
.cta-success svg path { stroke: var(--emerald-lite); stroke-width: 2.5; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cta-success.is-visible svg path { animation: drawCheck .6s var(--ease-out) .3s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.cta-success h3 { font-family: var(--serif); font-size: 1.6rem; }
.cta-success p { color: var(--cream-2); margin-top: .4rem; }
.cta-note { margin-top: 1.3rem; font-size: .82rem; color: var(--cream-3); }

/* =============================================================
   18. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line-2); padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; background: var(--bg-2); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-brand .brand { font-size: 1.7rem; }
.footer-brand p { margin-top: 1rem; color: var(--cream-3); max-width: 38ch; font-size: .92rem; }
.footer-col h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--cream-2); padding: .35rem 0; font-size: .94rem; transition: color .3s; }
.footer-col a:hover { color: var(--emerald-lite); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--cream-3); }
.footer-bottom .made { display: inline-flex; align-items: center; gap: .5rem; }
.footer-bottom .made b { color: var(--cream-2); font-weight: 500; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--cream-2); transition: border-color .3s, color .3s, transform .3s; }
.footer-social a:hover { border-color: var(--emerald); color: var(--emerald-lite); transform: translateY(-3px); }

/* =============================================================
   19. Custom cursor
   ============================================================= */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9000; display: none; mix-blend-mode: difference; opacity: 0; transition: opacity .25s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--cream); border-radius: 50%; }
.cursor-ring { width: 34px; height: 34px; margin: -17px; border: 1px solid var(--cream); border-radius: 50%; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out); }
.cursor.is-interactive .cursor-ring { width: 52px; height: 52px; margin: -26px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   20. Reveal
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
/* Defensive: never let a split+reveal element vanish */
[data-reveal][data-split] { opacity: 1; transform: none; }

/* =============================================================
   21. Responsive
   ============================================================= */
@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .guarantees { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .cta-form .field { flex: 0 1 240px; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .guarantees { grid-template-columns: repeat(4, 1fr); }
  .sell-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .prov-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (min-width: 1024px) {
  .showcase.is-pinned .showcase-track { padding-inline: 0; }
  .lot { width: 340px; }
}

/* =============================================================
   22. Reduced motion — only gate intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh, .cta-mesh { animation: none; }
  .splash-gem { animation: none; }
  .hero-meta .dot, .tag-live .dot { animation: none; }
  .hero-scroll .line { animation: none; }
  .splash-line::after { animation: none; }
}

/* =============================================================
   23. App layer — auth, currency, grid, modals, drawer, toasts
   ============================================================= */
.cur-select { font-family: var(--mono); font-size: .74rem; color: var(--cream-2); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .55rem; cursor: pointer; }
.cur-select:focus { outline: none; border-color: var(--emerald); }
.cur-select option { background: var(--bg-3); color: var(--cream); }

.auth-slot { display: none; align-items: center; gap: .6rem; }
@media (min-width: 960px) { .auth-slot { display: flex; } }
.user-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .8rem .25rem .25rem; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s; }
.user-chip:hover { border-color: var(--emerald); }
.user-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #04140E; font-weight: 600; font-size: .85rem; }
.user-nm { font-size: .9rem; color: var(--cream-2); }

/* Toolbar / filters */
.listings-toolbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-bottom: 2rem; }
.listings-toolbar .spacer { flex: 1 1 auto; }
.filter { font-family: var(--sans); font-size: .85rem; color: var(--cream-2); background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 10px; padding: .6rem .8rem; cursor: pointer; transition: border-color .3s; }
.filter:focus { outline: none; border-color: var(--emerald); }
.filter option { background: var(--bg-3); }
.search { flex: 1 1 160px; max-width: 280px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 10px; padding: .6rem .9rem; color: var(--cream); }
.search:focus { outline: none; border-color: var(--emerald); }
.listings-count { font-family: var(--mono); font-size: .72rem; color: var(--cream-3); letter-spacing: .08em; }

/* Grid */
.listings-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
.listings-grid .lot { width: auto; }
.listings-empty { grid-column: 1/-1; text-align: center; color: var(--cream-3); padding: 3rem 1rem; font-family: var(--serif); font-size: 1.2rem; }
.lot-anchor { font-family: var(--mono); font-size: .64rem; color: var(--cream-3); margin-top: .15rem; }
.lot-bid-btn.is-disabled { background: transparent; color: var(--cream-3); cursor: default; border: 1px solid var(--line-2); }

/* Overlays */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 1.2rem; background: rgba(4,8,5,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal.is-open { display: grid; animation: fadeIn .3s var(--ease-out); }
.modal-card { width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 1.7rem; position: relative; }
.modal-card.wide { max-width: 560px; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--cream-2); border: 1px solid var(--line); }
.modal-close:hover { color: var(--cream); border-color: var(--emerald); }
.modal-title { font-family: var(--serif); font-size: 1.6rem; margin-bottom: .3rem; padding-right: 2rem; }
.modal-sub { color: var(--cream-3); font-size: .9rem; margin-bottom: 1.3rem; }

/* Auth tabs */
.auth-tabs { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); margin-bottom: 1.4rem; }
.auth-tab { padding: .5rem 1.1rem; border-radius: 999px; font-size: .88rem; color: var(--cream-3); }
.auth-tab.is-active { background: var(--emerald); color: #04140E; }
.modal[data-mode="login"] [data-auth-signup] { display: none; }

/* Forms */
.field-row { margin-bottom: 1rem; }
.field-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.flabel { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .45rem; }
.finput, .fselect, .ftext { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem; color: var(--cream); font-size: .95rem; font-family: inherit; }
.finput:focus, .fselect:focus, .ftext:focus { outline: none; border-color: var(--emerald); }
.fselect option { background: var(--bg-3); }
.ftext { resize: vertical; min-height: 70px; }
.fhint { font-family: var(--mono); font-size: .66rem; color: var(--cream-3); margin-top: .4rem; }
.form-error { color: #FF6B5E; font-size: .85rem; min-height: 1.1em; margin-bottom: .6rem; }
.modal .btn { width: 100%; }
.modal-note { font-size: .72rem; color: var(--cream-3); margin-top: 1rem; text-align: center; }

/* Image picker */
.img-picker { display: flex; gap: .5rem; flex-wrap: wrap; }
[data-img-pick] { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .65; transition: opacity .3s, border-color .3s; padding: 0; }
[data-img-pick] img { width: 100%; height: 100%; object-fit: cover; }
[data-img-pick].is-active { opacity: 1; border-color: var(--emerald); }

/* Bid */
.bid-lot { display: flex; gap: 1rem; margin-bottom: 1.3rem; }
.bid-lot img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.bid-lot h4 { font-family: var(--serif); font-size: 1.15rem; margin: .2rem 0 .4rem; }
.bid-current { font-size: .9rem; color: var(--cream-2); }
.bid-local { font-family: var(--mono); font-size: .74rem; color: var(--gold-lite); margin-top: .4rem; min-height: 1em; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 1000; display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4,8,5,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.drawer-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--bg-2); border-left: 1px solid var(--line); padding: 1.7rem; overflow: auto; transform: translateX(100%); animation: drawerIn .4s var(--ease-out) forwards; }
@keyframes drawerIn { to { transform: translateX(0); } }
.acct-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.acct-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #04140E; font-weight: 600; font-size: 1.2rem; flex: 0 0 auto; }
.acct-name { font-family: var(--serif); font-size: 1.3rem; }
.acct-role { font-size: .8rem; color: var(--cream-3); }
.acct-tabs { display: flex; gap: .3rem; padding: .3rem; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); margin-bottom: 1.2rem; }
.acct-tab { flex: 1; padding: .55rem; border-radius: 9px; font-size: .8rem; color: var(--cream-3); }
.acct-tab.is-active { background: var(--emerald); color: #04140E; }
.acct-panel { display: none; }
.acct-panel.is-active { display: block; }
.acct-row { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line-2); }
.acct-row img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; }
.acct-row-t { font-size: .92rem; color: var(--cream); }
.acct-row-s { font-family: var(--mono); font-size: .74rem; color: var(--cream-2); margin-top: .2rem; }
.acct-empty { color: var(--cream-3); padding: 1.5rem 0; text-align: center; }
.acct-foot { margin-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acct-reset { font-size: .72rem; color: var(--cream-3); text-decoration: underline; cursor: pointer; }

/* Toasts */
.toast-wrap { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; width: max-content; max-width: 90vw; }
.toast { background: var(--bg-4); color: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.3rem; font-size: .88rem; box-shadow: 0 12px 30px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .35s; text-align: center; }
.toast.is-in { opacity: 1; transform: none; }
.toast-ok { border-color: rgba(25,181,135,.5); }
.toast-err { border-color: rgba(255,107,94,.5); }

@media (max-width: 640px) { .field-row.two { grid-template-columns: 1fr; } }

/* WhatsApp */
.wa-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1500; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #04140E; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .35s var(--ease-soft), box-shadow .35s; }
.wa-fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 40px rgba(37,211,102,.6); }
.wa-cta { margin-top: 1rem; gap: .5rem; }
.wa-cta svg { width: 18px; height: 18px; }
@media (min-width: 960px) { .wa-fab { right: 1.6rem; bottom: 1.6rem; } }

/* Verification + format badges */
.tag-verified { color: var(--emerald-lite); border-color: rgba(25,181,135,.4); background: rgba(25,181,135,.1); }
.tag-pending { color: var(--gold-lite); border-color: rgba(201,162,75,.3); background: rgba(201,162,75,.08); }
.lot-specs .fmt { color: var(--cream-2); }
