/* Lunar Bunny Art — Mellon Collie collage register: hand-cut aged gold on
   deep teal, newsprint ground, painted clouds, gilt frames. */

:root {
  --ink: #14232a;
  --bg: #1b2c33;
  --bg-2: #223840;
  --line: #33505a;
  --gold: #d2a848;
  --gold-hi: #ecd398;
  --gold-lo: #8f6f22;
  --cream: #f0e6cf;
  --cream-dim: #c6bda6;
  --wine: #7e3a56;
  --serif: "Didot", "Bodoni MT", "Cochin", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-image:
    radial-gradient(1300px 700px at 72% -12%, #33255c 0%, transparent 58%),
    radial-gradient(1000px 600px at 8% 104%, #2a2046 0%, transparent 55%),
    radial-gradient(760px 540px at 88% 58%, #2a1c4799 0%, transparent 62%),
    radial-gradient(900px 620px at 14% 34%, #27454f80 0%, transparent 60%),
    linear-gradient(180deg, #1d3138 0%, #182930 100%);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* newsprint collage ground: faint type + paper grain, like the poster */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .055;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='190'%3E%3Cg font-family='Georgia,serif' font-size='10' fill='%23e8d9a8'%3E%3Ctext x='6' y='18'%3ETONIGHT %E2%80%94 TWILIGHT KEEPSAKES %26 CURIOS%3C/text%3E%3Ctext x='30' y='52'%3EBY STARLIGHT · PORCELINA · No. 26%3C/text%3E%3Ctext x='12' y='86'%3EMOONLIGHT SALE — LUNAR GOODS%3C/text%3E%3Ctext x='40' y='120'%3EWE ONLY COME OUT AT NIGHT%3C/text%3E%3Ctext x='18' y='154'%3EFAREWELL AND GOODNIGHT · 1995%3C/text%3E%3Ctext x='150' y='178' transform='rotate(-90 150 178)' font-size='9'%3EGALAPOGOS%3C/text%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* deep vignette pulls the eye center, like the cover's dark edges */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 40%, transparent 55%, #0b171c99 100%);
}

/* hand-cut gold stars scattered across the sky, like the poster */
.stars {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cg fill='%23d9b04c'%3E%3Cpath d='M0 -10 L2.29 -3.16 L9.51 -3.09 L3.71 1.21 L5.88 8.09 L0 3.9 L-5.88 8.09 L-3.71 1.21 L-9.51 -3.09 L-2.29 -3.16 Z' transform='translate(50 44) scale(.62) rotate(14)'/%3E%3Cpath d='M0 -10 L2.29 -3.16 L9.51 -3.09 L3.71 1.21 L5.88 8.09 L0 3.9 L-5.88 8.09 L-3.71 1.21 L-9.51 -3.09 L-2.29 -3.16 Z' transform='translate(236 88) scale(.4) rotate(-25)' opacity='.85'/%3E%3Cpath d='M0 -10 L2.29 -3.16 L9.51 -3.09 L3.71 1.21 L5.88 8.09 L0 3.9 L-5.88 8.09 L-3.71 1.21 L-9.51 -3.09 L-2.29 -3.16 Z' transform='translate(150 210) scale(.5) rotate(38)' opacity='.75'/%3E%3Cpath d='M0 -10 L2.29 -3.16 L9.51 -3.09 L3.71 1.21 L5.88 8.09 L0 3.9 L-5.88 8.09 L-3.71 1.21 L-9.51 -3.09 L-2.29 -3.16 Z' transform='translate(300 280) scale(.34) rotate(-10)' opacity='.7'/%3E%3Cpath d='M0 -10 L2.29 -3.16 L9.51 -3.09 L3.71 1.21 L5.88 8.09 L0 3.9 L-5.88 8.09 L-3.71 1.21 L-9.51 -3.09 L-2.29 -3.16 Z' transform='translate(64 300) scale(.3) rotate(22)' opacity='.65'/%3E%3Ccircle cx='196' cy='30' r='1.1' opacity='.6'/%3E%3Ccircle cx='310' cy='160' r='1' opacity='.5'/%3E%3Ccircle cx='24' cy='170' r='1.2' opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
}

main { flex: 1; width: min(1060px, 92vw); margin: 0 auto; padding: 2.2rem 0 4rem; position: relative; z-index: 1; }

h1, h2, h3, .brand span, .card-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .035em;
  color: var(--cream);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.12; }
h2 { font-size: 1.75rem; margin: 2.6rem 0 1rem; }
h2::after {
  content: ""; display: block; width: 88px; height: 2px; margin-top: .45rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
h3 { font-size: 1.25rem; margin: 1.4rem 0 .5rem; }
p { margin: .7rem 0; color: var(--cream-dim); }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* gilt display text — gold leaf catching light */
.gilt, h1 {
  background: linear-gradient(174deg, #f0dfae 10%, #d8b254 45%, #a8842e 72%, #dfc06a 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 6px #00000073);
}

/* header */
.site-head {
  position: relative; z-index: 2;
  width: min(1060px, 92vw); margin: 0 auto; padding: 1.15rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 #f0d98c14;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand span { font-size: 1.4rem; color: var(--cream); letter-spacing: .06em; }
.brand:hover { text-decoration: none; }
.brand .mark { filter: drop-shadow(0 0 8px #d2a84859); }
.site-head nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-head nav a {
  color: var(--cream-dim); font-family: var(--serif); font-size: 1.02rem;
  letter-spacing: .18em; text-transform: uppercase;
}
.site-head nav a.on, .site-head nav a:hover {
  color: var(--gold-hi); text-decoration: none; text-shadow: 0 0 12px #d2a84866;
}

/* hero */
.hero { text-align: center; padding: 3.2rem 0 2.5rem; }
.hero .radiant, .hero .mark {
  filter: drop-shadow(0 0 34px #d2a84840);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { filter: drop-shadow(0 0 50px #d2a84859); } }
.hero h1 { margin-top: 1.2rem; }
.hero-sub {
  max-width: 34rem; margin: .9rem auto 0; font-size: 1.06rem;
  font-family: var(--serif); font-style: italic; letter-spacing: .04em; color: var(--cream-dim);
}
@media (prefers-reduced-motion: reduce) { .hero .radiant { animation: none; } }

/* ornament rule */
.orn { color: var(--gold); display: flex; gap: .8rem; justify-content: center; align-items: center; margin: 1.4rem 0; }
.orn::before, .orn::after {
  content: ""; height: 3px; width: 110px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid #d2a84866;
  mask: linear-gradient(90deg, transparent, #000);
  -webkit-mask: linear-gradient(90deg, transparent, #000);
}
.orn::after { mask: linear-gradient(270deg, transparent, #000); -webkit-mask: linear-gradient(270deg, transparent, #000); }
.orn .star { filter: drop-shadow(0 0 6px #d2a84880); }

/* gilt frames */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.9rem; margin-top: 1.4rem; }
.card { display: block; }
.card:hover { text-decoration: none; }
.frame {
  position: relative; display: block; aspect-ratio: 4/5; overflow: visible;
  background: var(--bg-2);
  border: 3px solid transparent;
  border-image: linear-gradient(160deg, #dfc06a, #8f6f22 35%, #d2a848 60%, #6e5817) 1;
  outline: 1px solid #33505a;
  outline-offset: 7px;
  box-shadow:
    0 16px 38px #00000066,
    inset 0 0 30px #0b171c80,
    0 0 0 7px #1a123000;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover .frame {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px #00000080, inset 0 0 30px #0b171c80, 0 0 26px #d2a84833;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame .noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--line); }

/* filigree corners riding the frame */
.fc { position: absolute; width: 26px; height: 26px; color: #d9b04c; pointer-events: none;
      filter: drop-shadow(0 1px 2px #00000099); }
.fc svg { width: 100%; height: 100%; display: block; }
.fc-tl { top: -9px; left: -9px; }
.fc-tr { top: -9px; right: -9px; transform: rotate(90deg); }
.fc-br { bottom: -9px; right: -9px; transform: rotate(180deg); }
.fc-bl { bottom: -9px; left: -9px; transform: rotate(270deg); }

.badge {
  position: absolute; top: .7rem; right: .7rem; z-index: 1;
  background: linear-gradient(180deg, #8e4363, #6b3049);
  border: 1px solid #a3567a; color: var(--cream);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .28rem .65rem;
  box-shadow: 0 2px 8px #00000066;
}
.card-title { display: block; margin-top: 1.15rem; font-size: 1.18rem; }
.card-sub { display: block; color: var(--gold-hi); font-size: .95rem; margin-top: .15rem; letter-spacing: .05em; }

/* detail pages */
.detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; margin-top: 1.6rem; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } }
.detail .frame { aspect-ratio: auto; }
.detail .frame img { height: auto; }
.thumbs { display: flex; gap: .8rem; margin-top: 1.1rem; flex-wrap: wrap; }
.thumbs img { width: 74px; height: 74px; object-fit: cover; border: 1px solid var(--gold-lo); cursor: pointer;
              box-shadow: 0 3px 10px #00000059; }
.thumbs img.on { border-color: var(--gold-hi); box-shadow: 0 0 10px #d2a84866; }
.meta { color: var(--cream-dim); font-size: .95rem; }
.meta b { color: var(--cream); font-weight: 500; }
.price {
  font-family: var(--serif); font-size: 2rem; margin: 1rem 0 .3rem;
  background: linear-gradient(174deg, #f0dfae 10%, #d2a848 60%, #a8842e 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* buttons — embossed gold leaf, not flat */
.btn {
  display: inline-block; cursor: pointer;
  background: linear-gradient(180deg, #dfc06a 0%, #cda140 60%, #b18a2e 100%);
  color: #1b2c33;
  border: 1px solid #8f6f22;
  font-family: var(--sans); font-size: .93rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .82rem 2rem; margin: .8rem .35rem 0 0;
  box-shadow: inset 0 1px 0 #f0dfae, 0 3px 10px #00000047;
  text-shadow: none;
  transition: filter .2s, transform .15s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none; }
.btn[disabled] { background: var(--line); color: var(--cream-dim); cursor: not-allowed; box-shadow: none; text-shadow: none; }
.btn.ghost {
  background: transparent; color: var(--gold-hi); border: 1px solid var(--gold);
  box-shadow: inset 0 0 12px #d2a8481a; text-shadow: none;
}
.btn.ghost:hover { box-shadow: inset 0 0 18px #d2a84833, 0 0 14px #d2a84833; }

label { display: block; margin: 1rem 0 .3rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); }
input, textarea, select {
  width: 100%; background: #182930; color: var(--cream);
  border: 1px solid var(--line); border-top-color: #2a444e;
  padding: .7rem .8rem; font: inherit; font-size: 1rem;
  box-shadow: inset 0 2px 8px #0b171c80;
}
input:focus, textarea:focus, select:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
form { max-width: 34rem; }
.note { font-size: .9rem; color: var(--cream-dim); }
.msg-ok { color: #a8d8a8; margin-top: 1rem; }
.msg-err { color: #e8a0a0; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-foot {
  border-top: 1px solid var(--line);
  box-shadow: 0 -1px 0 #f0d98c0f;
  text-align: center; padding: 1.8rem 0 2.2rem; position: relative; z-index: 1;
}
.site-foot p { font-size: .9rem; letter-spacing: .04em; }
.foot-orn { color: var(--gold); display: flex; gap: .7rem; justify-content: center; align-items: center; margin-bottom: .5rem; }
.foot-orn .star { filter: drop-shadow(0 0 5px #d2a84866); }

/* prose pages */
.prose { max-width: 44rem; }
.prose p { white-space: pre-line; }

table.plain { border-collapse: collapse; width: 100%; margin-top: 1rem; }
table.plain th, table.plain td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.plain th { color: var(--cream-dim); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
