:root {
  --bg: #0a0b14;
  --bg-2: #111325;
  --ink: #f4efe6;
  --muted: #a9a6ba;
  --dim: #6d6a80;
  --banana: #f5cf3a;
  --banana-2: #d9a40f;
  --moon: #ffb547;
  --wine: #a51f33;
  --plaque: #efe8da;
  --plaque-ink: #1d1a17;
  --plaque-dim: #6f675c;
  --up: #3fd98b;
  --down: #ff5f7a;
  --line: rgba(244, 239, 230, 0.10);
  --line-2: rgba(244, 239, 230, 0.20);
  --serif: "Playfair Display", Georgia, serif;
  --script: "Caveat", cursive;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background:
    radial-gradient(900px 600px at 82% 8%, rgba(255, 181, 71, .16), transparent 60%),
    radial-gradient(1000px 700px at 10% 30%, rgba(60, 70, 140, .22), transparent 65%),
    linear-gradient(180deg, #0b0d1c 0%, var(--bg) 55%);
  color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }

#golconde { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.moon { position: fixed; top: 90px; right: 7vw; width: 120px; height: 120px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 40% 40%, #ffe3a3, var(--moon) 55%, #c9781b); box-shadow: 0 0 80px 30px rgba(255, 181, 71, .25); opacity: .55; }
main, .footer, .nav { position: relative; z-index: 1; }

/* ── nav ───────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 52px);
  background: rgba(10, 11, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 900; font-size: 20px; letter-spacing: .01em; }
.logo img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--banana); }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--banana); }
.chain-pill { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; background: rgba(131, 110, 249, .10); }
.chain-label { color: #b3a6ff; font-weight: 600; }
.dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; }
.chain-pill.on .dot, .live-dot { background: var(--up); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 217, 139, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(63, 217, 139, 0); } }

/* ── hero ──────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: clamp(40px, 8vh, 90px) clamp(16px, 4vw, 48px) 80px; }
.hero > * { min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--banana); }
.title { font-family: var(--serif); font-weight: 900; line-height: .9; letter-spacing: -.01em; font-size: clamp(42px, 5.8vw, 88px); margin-top: 18px; }
.title span { font-size: 1.32em; }
.title span { display: block; color: var(--banana); }
.script { font-family: var(--script); font-weight: 700; color: var(--banana); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin-top: 10px; transform: rotate(-2deg); transform-origin: left; }
.lead { margin-top: 22px; font-family: var(--serif); font-size: clamp(20px, 2.1vw, 25px); line-height: 1.35; max-width: 32ch; }
.lead strong { font-style: italic; color: var(--banana); }
.sub { margin-top: 10px; color: var(--muted); max-width: 46ch; }

.labels { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.label-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; min-width: 128px; background: var(--plaque); color: var(--plaque-ink);
  border-radius: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.label-card .label { color: var(--plaque-dim); }
.label-card b { font-size: 21px; font-weight: 600; }
.label-card b sub { font-size: .6em; color: var(--plaque-dim); }
.label-card .up { color: #12884d; }
.label-card .down { color: #c22340; }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-banana { color: #1d1500; background: linear-gradient(180deg, #ffe066, var(--banana) 55%, var(--banana-2)); box-shadow: 0 10px 34px -10px rgba(245, 207, 58, .75); }
.btn-ghost { border: 1px solid var(--line-2); font-family: var(--script); font-size: 21px; padding: 10px 24px; }
.btn-ghost:hover { border-color: var(--banana); color: var(--banana); }
.btn.soon { cursor: default; pointer-events: none; opacity: .92; }

.ca { display: flex; align-items: center; gap: 12px; margin-top: 16px; width: 100%; max-width: 540px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 11, 20, .6); text-align: left; }
.ca:hover { border-color: var(--line-2); }
.ca-text { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy { font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(245, 207, 58, .18); color: var(--banana); }
.copy[hidden] { display: none; }
.ca.copied .copy { background: rgba(63, 217, 139, .18); color: var(--up); }

.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; }
.spotlight { position: absolute; top: -70px; left: 50%; transform: translateX(-50%); width: 120%; height: 420px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 233, 180, .22), transparent 65%); }
.frame { position: relative; width: min(100%, 500px); padding: 16px; border-radius: 2px;
  background: linear-gradient(135deg, #3a2a14, #8a6a2c 30%, #3a2a14 60%, #6e5222);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35), inset 0 0 0 7px rgba(255, 215, 120, .18), 0 30px 70px rgba(0, 0, 0, .65); }
.frame picture { display: block; }
.frame img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.plaque { margin-top: 22px; padding: 12px 22px; background: var(--plaque); color: var(--plaque-ink); text-align: center; display: flex; flex-direction: column; gap: 1px;
  border-radius: 2px; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); font-size: 13px; }
.plaque b { font-family: var(--serif); font-style: italic; font-size: 18px; }
.plaque span { color: var(--plaque-dim); }
.sticker { position: absolute; top: -14px; right: 4%; width: 112px; height: 112px; border-radius: 50%; background: var(--wine); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 12px; line-height: 1.15;
  transform: rotate(10deg); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); border: 2px dashed rgba(244, 239, 230, .45); }
.sticker[hidden] { display: none; }
.sticker .mono { font-size: 26px; font-weight: 600; color: var(--banana); }

.chg { font-weight: 600; }
.flash-up { animation: fu 1s; }
.flash-down { animation: fd 1s; }
@keyframes fu { 0% { text-shadow: 0 0 14px var(--up); } }
@keyframes fd { 0% { text-shadow: 0 0 14px var(--down); } }

/* ── banner ────────────────────────────────────────────── */
.ticker { overflow: hidden; background: var(--banana); color: #1d1500; transform: rotate(-1.2deg); margin: 10px -20px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.ticker[hidden] { display: none; }
.ticker-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.ticker-track span { padding: 13px 28px; font-family: var(--mono); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ticker-track b { margin-left: 6px; }
.ticker-track i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── sections ──────────────────────────────────────────── */
.section { max-width: 1240px; margin: 0 auto; padding: 110px clamp(16px, 4vw, 48px) 0; }
.section-head { margin-bottom: 34px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.1; margin-top: 10px; }
.script-inline { font-family: var(--script); font-weight: 700; color: var(--banana); font-size: 1.12em; }
h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.25; }

/* exhibits: museum labels on a dark wall */
.exhibits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 18px; background: var(--plaque); color: var(--plaque-ink);
  border-radius: 2px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transition: transform .25s; }
.stat:hover { transform: translateY(-3px) rotate(-.3deg); }
.stat .label { color: var(--plaque-dim); }
.stat b { font-family: var(--mono); font-size: clamp(22px, 2.4vw, 29px); font-weight: 600; }
.stat b sub { font-size: .55em; color: var(--plaque-dim); }
.stat small { color: var(--plaque-dim); font-size: 13px; }
.stat .up { color: #12884d; }
.stat .down { color: #c22340; }
.exhibit { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--wine); }
.stat.wide { grid-column: span 2; }
.stat.full { grid-column: 1 / -1; }
.changes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; }
.changes div { display: flex; flex-direction: column; padding: 10px; border: 1px solid rgba(29, 26, 23, .15); border-radius: 2px; }
.changes b { font-size: 17px; }
.row { display: flex; justify-content: space-between; align-items: center; }
.pressure { height: 12px; border-radius: 999px; background: rgba(194, 35, 64, .55); overflow: hidden; margin: 12px 0 8px; }
.pressure-buy { height: 100%; width: 50%; background: linear-gradient(90deg, var(--banana-2), var(--banana)); transition: width .8s ease; }
.source { margin-top: 16px; font-size: 12px; color: var(--dim); }

/* chart */
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(17, 19, 37, .8); }
.tabs button { padding: 8px 16px; border-radius: 999px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--banana); color: #1d1500; font-weight: 600; }
.chart-card { position: relative; height: clamp(320px, 52vh, 520px); padding: 14px; border-radius: 2px;
  background: linear-gradient(135deg, #3a2a14, #8a6a2c 30%, #3a2a14 60%, #6e5222); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
#chart-el { position: absolute; inset: 14px; background: var(--bg-2); }
.chart-empty { position: absolute; inset: 14px; display: grid; place-items: center; color: var(--muted); font-family: var(--script); font-size: 26px; pointer-events: none; background: transparent; }

/* acquisitions */
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.trades { border: 1px solid var(--line); border-radius: 4px; background: rgba(17, 19, 37, .85); overflow: hidden; }
.trade { display: grid; grid-template-columns: 90px 1.3fr 1fr 1fr 80px; gap: 12px; align-items: center; padding: 13px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; }
.trade:last-child { border-bottom: 0; }
.trade-head { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--banana); background: rgba(245, 207, 58, .06); }
.trade a:hover { color: var(--banana); text-decoration: underline; }
.trade .t-time, .trade-head span:last-child { text-align: right; color: var(--muted); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pill.buy { background: rgba(63, 217, 139, .15); color: var(--up); }
.pill.sell { background: rgba(255, 95, 122, .15); color: var(--down); }
.trade.new { animation: slide .8s ease-out; }
@keyframes slide { from { background: rgba(245, 207, 58, .18); transform: translateX(-8px); opacity: 0; } }
.trade-empty { padding: 36px; text-align: center; color: var(--muted); font-family: var(--script); font-size: 24px; }

/* lore wall: small frames */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mini { padding: 10px; background: linear-gradient(135deg, #2a2a2e, #4a4a52 40%, #2a2a2e); border-radius: 2px; box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.mini > * { background: var(--plaque); color: var(--plaque-ink); display: block; }
.mini .year { font-family: var(--serif); font-weight: 900; font-size: 34px; color: var(--wine); padding: 16px 18px 0; }
.mini h3 { padding: 4px 18px 6px; }
.mini p { padding: 0 18px 18px; font-size: 14.5px; color: #4a443d; }
.mini.now { background: linear-gradient(135deg, var(--banana-2), var(--banana) 40%, var(--banana-2)); }
.mini.now .year { color: #8a5d00; }

/* acquire */
.acquire { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.guide { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.guide li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(17, 19, 37, .8); }
.guide .n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--banana); color: #1d1500; font-family: var(--serif); font-weight: 900; font-size: 20px; }
.guide p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.georgette { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 26px; border-radius: 4px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 181, 71, .18), transparent 70%), rgba(17, 19, 37, .8); border: 1px solid var(--line); }
.georgette img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; border: 3px solid var(--banana); box-shadow: 0 0 40px rgba(245, 207, 58, .3); }
.georgette .script { transform: rotate(-2deg); font-size: 32px; margin-top: 6px; }
.who { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.final-cta { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 24px 28px; border-radius: 4px; background: linear-gradient(110deg, rgba(165, 31, 51, .35), rgba(245, 207, 58, .12)); border: 1px solid var(--line-2); }
.final-cta > div { flex: 1; min-width: 0; }
.final-icon { width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--banana); }
.final-ca { color: var(--muted); font-size: 13px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; }

/* footer */
.footer { max-width: 1240px; margin: 120px auto 0; padding: 40px clamp(16px, 4vw, 48px) 52px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer p { max-width: 84ch; }
.footer-motto { font-family: var(--script); font-size: 34px; color: var(--banana); margin-bottom: 10px; transform: rotate(-1.5deg); transform-origin: left; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.footer-links a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13.5px; }
.footer-links a:hover { color: var(--banana); border-color: var(--banana); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; padding: 12px 20px; border-radius: 999px; background: var(--plaque); color: var(--plaque-ink); font-size: 14px; transition: .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .chain-pill { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .frame { width: min(100%, 420px); }
  .exhibits { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .acquire { grid-template-columns: 1fr; }
  .moon { width: 80px; height: 80px; top: 80px; }
}
@media (max-width: 640px) {
  .labels .label-card { min-width: 0; flex: 1 1 28%; padding: 10px 12px; }
  .label-card b { font-size: 16px; }
  .chain-label { display: none; }
  .exhibits { grid-template-columns: 1fr; }
  .stat.wide { grid-column: auto; }
  .changes { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: 1fr; }
  .trade { grid-template-columns: 62px 1fr 76px 52px; padding: 12px 14px; font-size: 12.5px; }
  .trade > :nth-child(4) { display: none; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .sticker { width: 92px; height: 92px; font-size: 10.5px; right: 2%; }
  .sticker .mono { font-size: 20px; }
  .logo span { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #golconde { display: none; }
}

/* ── modern cards: dark glass that melts into the night sky ───────────────── */
:root { --glass: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02) 60%); --glass-line: rgba(244, 239, 230, .11); }
.label-card, .stat, .mini, .guide li, .georgette, .trades, .final-cta {
  background: var(--glass), rgba(14, 16, 32, .55);
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.label-card { border-radius: 14px; padding: 12px 16px; }
.label-card .label, .stat .label, .stat small, .label-card b sub, .stat b sub { color: var(--muted); }
.label-card .up, .stat .up { color: var(--up); }
.label-card .down, .stat .down { color: var(--down); }

.stat { overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.stat::before {                       /* thin banana light along the top edge */
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 207, 58, .7), transparent);
}
.stat::after {                        /* soft glow that follows the hover */
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 120%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 207, 58, .10), transparent 60%); opacity: 0; transition: opacity .3s;
}
.stat:hover { transform: translateY(-3px); border-color: rgba(245, 207, 58, .35); box-shadow: 0 24px 50px -20px rgba(245, 207, 58, .25), inset 0 1px 0 rgba(255, 255, 255, .08); }
.stat:hover::after { opacity: 1; }
.exhibit { color: var(--banana); opacity: .85; }
.changes div { border: 1px solid var(--glass-line); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.pressure { background: rgba(255, 95, 122, .35); }

.mini { padding: 0; overflow: hidden; }
.mini > * { background: none; color: inherit; }
.mini .year { color: var(--banana); padding: 20px 20px 0; }
.mini p { color: var(--muted); padding: 0 20px 20px; }
.mini h3 { padding: 6px 20px 8px; }
.mini.now { background: linear-gradient(160deg, rgba(245, 207, 58, .22), rgba(245, 207, 58, .05) 60%), rgba(14, 16, 32, .55); border-color: rgba(245, 207, 58, .4); }
.mini.now .year { color: var(--banana); }
.trades { border-radius: 18px; }
.trade-head { background: rgba(255, 255, 255, .03); }
.guide li { border-radius: 16px; }
.final-cta { background: linear-gradient(110deg, rgba(165, 31, 51, .30), rgba(245, 207, 58, .10)), rgba(14, 16, 32, .55); }

/* ══ v2 · modern polish + gentle motion ═══════════════════════════════════ */
body::after {                                   /* soft vignette around the whole page */
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(4, 4, 10, .55) 100%);
}

/* floating pill nav */
.nav { top: 14px; margin: 14px auto 0; width: min(1180px, calc(100% - 28px)); border: 1px solid var(--glass-line); border-radius: 999px;
  padding: 10px 14px 10px 12px; background: rgba(12, 13, 26, .62); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); }
.nav-links a { position: relative; padding: 6px 2px; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--banana); transition: right .3s; }
.nav-links a:hover::after { right: 0; }
.logo img { transition: transform .4s; }
.logo:hover img { transform: rotate(-8deg) scale(1.06); }

/* hero: cursor-following museum light */
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: -80px 0 0; pointer-events: none; z-index: -1; transition: opacity .6s;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 35%), rgba(255, 226, 160, .08), transparent 70%); }

/* entrance: copy rises line by line, the motto writes itself */
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; } .hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }  .hero-copy > :nth-child(4) { animation-delay: .45s; }
.hero-copy > :nth-child(5) { animation-delay: .55s; } .hero-copy > :nth-child(6) { animation-delay: .65s; }
.hero-copy > :nth-child(7) { animation-delay: .75s; } .hero-copy > :nth-child(8) { animation-delay: .85s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
.hero .script { animation: write 1.6s .55s cubic-bezier(.6, .1, .3, 1) both; }
@keyframes write { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 -5% 0 0); opacity: 1; } }

/* the painting gets hung on the wall, then sways a tiny bit with the cursor */
.artwork { position: relative; width: min(100%, 500px); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  animation: hang 1.3s .15s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes hang { 0% { opacity: 0; transform: translateY(-36px) rotate(-3deg); } 60% { opacity: 1; transform: translateY(4px) rotate(.8deg); }
  80% { transform: translateY(-1px) rotate(-.3deg); } 100% { transform: none; } }
.artwork .frame { width: 100%; }
.spotlight { animation: sway 9s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes sway { from { transform: translateX(-50%) rotate(-2.5deg); opacity: .85; } to { transform: translateX(-50%) rotate(2.5deg); opacity: 1; } }
.moon { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 110px 44px rgba(255, 181, 71, .32); opacity: .65; } }
.sticker { animation: stamp .7s 1.1s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(10deg) scale(1.6); } to { opacity: 1; transform: rotate(10deg) scale(1); } }

/* the original centred label, just fading in after the painting is hung */
.plaque { width: fit-content; margin-left: auto; margin-right: auto; animation: rise .9s 1s cubic-bezier(.2, .7, .2, 1) both; }

/* primary button: a light sweep every few seconds */
.btn-banana { position: relative; overflow: hidden; }
.btn-banana::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); animation: sheen 5s 2s ease-in-out infinite; }
@keyframes sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* section heads: a thin banana line draws itself when the head comes into view */
.section-head .kicker::before { content: ""; display: inline-block; width: 0; height: 1.5px; background: var(--banana); vertical-align: middle; transition: width .9s .2s cubic-bezier(.2, .7, .2, 1); }
.section-head.in .kicker::before { width: 34px; }
.section { padding-top: 130px; }

/* lore frames and cards: lift with a little tilt on hover */
.mini { transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s; }
.mini:hover { transform: translateY(-4px) rotate(-.6deg); border-color: rgba(245, 207, 58, .35); }
.guide li { transition: transform .3s, border-color .3s; }
.guide li:hover { transform: translateX(4px); border-color: rgba(245, 207, 58, .3); }
.georgette img { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }

@media (max-width: 1000px) {
  .nav { top: 8px; margin-top: 8px; }
}
