/* ==========================================================
   NishGemHunter — header + hero ("The Dig")
   Palette: ribbon gold + sapphire from the logo, on the deep
   jungle green / parchment of the client's reference.
   ========================================================== */
:root {
  --earth-0: #06100b;
  --earth-1: #0b1711;
  --earth-2: #132519;
  --rock: #3a2f27;
  --gold: #e8b43a;
  --gold-2: #f6d27a;
  --gold-deep: #c47f16;
  --sapphire: #2f5bea;
  --sapphire-2: #6d8dff;
  --teal: #6fd6cf;
  --cream: #fff4d6;
  --ink: #f3ece0;
  --muted: rgba(243, 236, 224, .62);
  --line: rgba(255, 244, 214, .14);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(18px, 4vw, 56px);
  --hdr-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--earth-0);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn-gold {
  color: #1d1305;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(255, 230, 160, .45) inset, 0 10px 30px -10px rgba(232, 180, 58, .6);
}
/* glint sweeping across like light catching a facet */
.btn-gold::after {
  content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg); z-index: -1;
  animation: glint 4.5s var(--ease) infinite;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 230, 160, .6) inset, 0 16px 40px -10px rgba(232, 180, 58, .8); }
@keyframes glint { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
.btn-ghost {
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line) inset;
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { box-shadow: 0 0 0 1px rgba(232, 180, 58, .6) inset; color: var(--gold-2); }
.btn-ghost i { font-style: normal; font-size: .7em; }

/* ==========================================================
   INTRO LOADER
   ========================================================== */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(60% 60% at 50% 45%, #12261a, var(--earth-0) 70%);
  transition: opacity .9s var(--ease), visibility .9s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro-logo {
  width: min(300px, 60vw);
  filter: drop-shadow(0 20px 50px rgba(47, 91, 234, .35));
  animation: introIn 1.2s var(--ease) both;
}
@keyframes introIn { from { opacity: 0; transform: scale(.85) translateY(20px); filter: blur(10px); } }
.intro-meter { width: 180px; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.intro-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: width .3s; }
.intro-text { margin: 0; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.intro-text i { font-style: normal; display: inline-block; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 12, 8, .78), rgba(5, 12, 8, 0));
  transition: opacity .4s;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .bar {
  background: rgba(9, 20, 14, .62);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0, 0, 0, .7);
}
.site-header.is-hidden { transform: translateY(-36px); }  /* hide rail only */
.site-header.is-hidden.is-tucked { transform: translateY(-110%); }

.rail {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px; padding: 0 var(--pad);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.rail-ticker { position: relative; height: 1.4em; flex: 1; overflow: hidden; }
.rail-ticker span {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; transform: translateY(100%);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.rail-ticker span::before { content: "◆"; color: var(--gold); margin-right: .8em; font-size: .8em; }
.rail-ticker span.is-on { opacity: 1; transform: none; }
.rail-ticker span.is-off { opacity: 0; transform: translateY(-100%); }
.rail-end { display: flex; gap: 24px; }
.rail-end a:hover { color: var(--gold-2); }

.bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin: 10px var(--pad) 0;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  transition: background .4s, box-shadow .4s;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-badge {
  width: 52px; height: 52px;
  filter: drop-shadow(0 4px 14px rgba(111, 214, 207, .35));
  transition: transform .8s var(--ease);
}
.brand:hover .brand-badge { transform: rotate(-12deg) scale(1.06); }
.brand-word {
  font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .02em; line-height: 1;
  color: var(--cream);
}
.brand-word b {
  font-weight: 700;
  background: linear-gradient(120deg, var(--teal), var(--sapphire-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-link {
  position: relative; display: inline-flex; align-items: flex-start; gap: 4px;
  padding: 8px 0;
  font-size: .86rem; font-weight: 500; letter-spacing: .04em;
  color: var(--ink);
  transition: color .3s;
}
.nav-link sup { font-family: var(--f-mono); font-size: .58rem; color: var(--gold); opacity: .8; margin-top: -2px; }
/* hover: a small faceted gem slides in under the link */
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 7px; height: 7px;
  background: linear-gradient(135deg, var(--teal), var(--sapphire));
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .4s var(--ease);
  box-shadow: 0 0 10px var(--teal);
}
.nav-link:hover, .has-drop:hover > .nav-link { color: var(--gold-2); }
.nav-link:hover::after, .has-drop:hover > .nav-link::after { transform: translateX(-50%) rotate(45deg) scale(1); }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 14px); left: -24px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.drop::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; } /* hover bridge */
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop-inner {
  display: grid; grid-template-columns: auto auto 220px; gap: 34px;
  padding: 26px 28px;
  background: rgba(10, 22, 15, .92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.drop-col h4 { margin: 0 0 10px; font-family: var(--f-mono); font-weight: 400; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.drop-col a { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .9rem; white-space: nowrap; transition: color .25s, transform .25s; }
.drop-col a:hover { color: var(--gold-2); transform: translateX(3px); }
.dot { width: 9px; height: 9px; background: var(--c); transform: rotate(45deg); box-shadow: 0 0 8px var(--c); }
.drop-feature {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 18px; min-height: 170px; border-radius: 14px;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(47, 91, 234, .55), transparent 60%),
    radial-gradient(80% 80% at 10% 100%, rgba(232, 180, 58, .35), transparent 60%),
    #0d1a13;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.drop-feature:hover { transform: translateY(-3px); }
.drop-feature-tag { align-self: flex-start; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.drop-feature strong { font-family: var(--f-display); font-size: 1.1rem; }
.drop-feature small { color: var(--muted); }

.tools { display: flex; align-items: center; gap: 6px; }
.icon {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  transition: background .3s, color .3s;
}
.icon:hover { background: rgba(255, 255, 255, .06); color: var(--gold-2); }
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.count {
  position: absolute; top: 5px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center;
  font-size: .6rem; font-weight: 700; color: #1d1305;
  background: var(--gold); border-radius: 8px;
}
.tools .btn { margin-left: 8px; }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.drawer {
  display: none;
  flex-direction: column; gap: 6px;
  margin: 10px var(--pad) 0; padding: 18px 22px 22px;
  background: rgba(9, 20, 14, .95); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 22px;
  clip-path: inset(0 0 100% 0 round 22px);
  transition: clip-path .5s var(--ease);
}
.drawer a { font-family: var(--f-display); font-size: 1.35rem; padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; }
.drawer a sup { font-family: var(--f-mono); font-size: .6rem; color: var(--gold); margin-top: 6px; }
.drawer .btn { font-family: var(--f-body); font-size: .82rem; margin-top: 12px; justify-content: center; }
.drawer.is-open { clip-path: inset(0 0 0 0 round 22px); }

@media (max-width: 1180px) {
  .hide-md { display: none; }
  .brand-word { font-size: 1.12rem; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .drawer { display: flex; }
  .rail-end { display: none; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .brand-badge { width: 42px; height: 42px; }
  .brand-word { font-size: 1rem; }
  .bar { margin-top: 6px; }
}

/* ==========================================================
   HERO — THE DIG
   ========================================================== */
.dig { position: relative; height: 520vh; }
.dig-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: radial-gradient(90% 70% at 50% 55%, #132a1c 0%, var(--earth-0) 75%);
}
.dig-canvas { position: absolute; inset: 0; }
.dig-canvas canvas { display: block; width: 100% !important; height: 100% !important; }

/* headlamp: darkness everywhere except where your lamp points */
.headlamp {
  --x: 50%; --y: 45%; --r: 38vmax; --dark: .72;
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle var(--r) at var(--x) var(--y),
    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, calc(var(--dark) * .35)) 45%, rgba(0, 0, 0, var(--dark)) 100%);
  mix-blend-mode: multiply;
}
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* chapters */
.chapter {
  position: absolute; left: var(--pad); top: 50%;
  width: min(560px, calc(100% - 2 * var(--pad)));
  transform: translateY(-42%);
  pointer-events: none;
}
.chapter.is-active { pointer-events: auto; }
.chapter > * { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.chapter.is-active > * { opacity: 1; transform: none; filter: none; }
.chapter.is-active > *:nth-child(2) { transition-delay: .08s; }
.chapter.is-active > *:nth-child(3) { transition-delay: .16s; }
.chapter.is-active > *:nth-child(4) { transition-delay: .24s; }
.chapter.is-active > *:nth-child(5) { transition-delay: .32s; }
.ch-3 { left: auto; right: calc(var(--pad) + 80px); text-align: right; }
.ch-3 .lede { margin-left: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.ch-3 .eyebrow { flex-direction: row-reverse; }

.chapter h1, .chapter h2 {
  margin: 0;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  line-height: 1; letter-spacing: -.025em;
  font-variation-settings: "opsz" 144;
  color: var(--cream);
  text-shadow: 0 6px 40px rgba(0, 0, 0, .6);
}
.chapter h1 em, .chapter h2 em {
  font-style: italic; font-weight: 500;
  padding-right: .08em;
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 30%, #fff8e1 48%, var(--teal) 62%, var(--sapphire-2) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.lede { margin: 22px 0 0; max-width: 440px; font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 300; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hint {
  margin: 34px 0 0; display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(243, 236, 224, .4);
}
.hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

/* depth gauge (right edge) */
.gauge {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.gauge-track {
  position: relative; width: 1px; height: 34vh; background: var(--line);
}
.gauge-track::before { /* tick marks */
  content: ""; position: absolute; left: -4px; width: 9px; top: 0; bottom: 0;
  background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 10%);
}
.gauge-track i {
  position: absolute; left: 0; top: 0; width: 1px; height: 0;
  background: linear-gradient(180deg, var(--gold), var(--teal));
}
.gauge-track i::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--teal); box-shadow: 0 0 14px var(--teal);
}
.gauge-val b { font-weight: 500; color: var(--cream); font-size: .9rem; letter-spacing: .05em; }

.coords {
  position: absolute; left: var(--pad); bottom: 28px;
  display: flex; gap: 28px;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 236, 224, .45);
}
.coords b { color: var(--gold-2); font-weight: 500; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  transition: opacity .5s;
}
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }

/* ---------- first-screen richness ---------- */
.ch-1 { transform: translateY(-58%); }

/* topographic survey lines over the scene */
.topo {
  position: absolute; inset: -6%; width: 112%; height: 112%;
  pointer-events: none; opacity: .5;
  mix-blend-mode: screen;
  will-change: transform;
}
.topo path { fill: none; stroke: rgba(232, 180, 58, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.topo path.major { stroke: rgba(232, 180, 58, .4); }
.topo path.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: topoDraw 3.2s var(--ease) forwards; }
@keyframes topoDraw { to { stroke-dashoffset: 0; } }

/* compass rose */
.compass { width: 74px; height: 74px; margin: 0 0 22px -4px; }
.compass svg { width: 100%; height: 100%; overflow: visible; }
.c-ring { fill: none; stroke: rgba(232, 180, 58, .55); stroke-width: 1; }
.c-ring-dash { stroke-dasharray: 2 4; stroke: rgba(232, 180, 58, .35); }
.c-star { fill: rgba(246, 210, 122, .9); }
.c-star-2 { fill: rgba(246, 210, 122, .45); }
.c-north { fill: var(--teal); }
.c-t { font-family: var(--f-mono); font-size: 7px; fill: rgba(255, 244, 214, .6); text-anchor: middle; }
#compass-needle { transform-origin: 40px 40px; transform-box: view-box; }

/* specimen tag attached to the 3D stone */
.specimen { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.specimen.is-on { opacity: 1; }
.specimen-dot {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 180, 58, .2), 0 0 16px var(--gold);
  will-change: transform;
}
.specimen-dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(232, 180, 58, .6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.specimen-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.specimen-line line { stroke: rgba(232, 180, 58, .6); stroke-width: 1; stroke-dasharray: 3 4; }
.specimen-card {
  position: absolute; left: 0; top: 0;
  display: grid; gap: 2px; min-width: 190px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(8, 20, 13, .72); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(232, 180, 58, .35) inset, 0 20px 40px -20px rgba(0, 0, 0, .8);
  will-change: transform;
}
.specimen-id { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.specimen-card strong { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--cream); }
.specimen-card span:last-child { font-size: .74rem; color: var(--muted); }
.specimen.is-found .specimen-card { box-shadow: 0 0 0 1px rgba(111, 214, 207, .6) inset, 0 0 40px -10px rgba(47, 91, 234, .8); }
.specimen.is-found .specimen-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(111, 214, 207, .2), 0 0 16px var(--teal); }

/* fresh finds strip on the first screen */
.hero-finds {
  position: absolute; right: calc(var(--pad) + 70px); bottom: 26px;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-finds.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.hero-finds-title {
  display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero-finds-title a { color: var(--gold-2); }
.hero-finds-row { display: flex; gap: 10px; }
.mini {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(243, 226, 187, .07); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 244, 214, .12) inset;
  transition: transform .4s var(--ease), box-shadow .4s, background .4s;
}
.mini:hover { transform: translateY(-4px); background: rgba(243, 226, 187, .12); box-shadow: 0 0 0 1px rgba(232, 180, 58, .5) inset; }
.mini .gem-svg {
  width: 44px; height: 44px; padding: 6px; border-radius: 12px; background: rgba(0, 0, 0, .35);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--g1) 60%, transparent));
  animation: none;
}
.mini b { display: block; font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--cream); white-space: nowrap; }
.mini small { font-size: .72rem; color: var(--gold-2); }
@media (max-width: 1180px) { .mini:nth-child(3) { display: none; } }
@media (max-width: 760px) {
  .ch-1 { transform: none; }
  .compass { display: none; }
  .hero-finds, .specimen { display: none; }
}


@media (max-width: 760px) {
  .chapter, .ch-3 {
    left: var(--pad); right: auto; text-align: left;
    top: auto; bottom: 92px; transform: none;
  }
  .ch-3 .lede { margin-left: 0; }
  .ch-3 .eyebrow { flex-direction: row; }
  .chapter h1, .chapter h2 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .lede { margin-top: 14px; font-size: .92rem; }
  .cta-row { margin-top: 20px; }
  .hint { display: none; }
  .gauge { top: 160px; transform: none; }
  .gauge-track { height: 18vh; }
  .coords { display: none; }
  .scroll-cue { bottom: 16px; }
  .scroll-cue i { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
