/* Ultramarine King — Stand Strong
   Palette taken from the album cover */
@font-face { font-family: "Pinyon Script"; src: url("assets/fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --forest: #1c2a16;
  --olive: #4a5a26;
  --leaf: #5f8a3a;
  --gold: #d9a63a;
  --gold-light: #f2d27a;
  --rust: #c8642a;
  --ink: #1d1d1b;
  --paper: #ffffff;
  --grey: #8a8a86;
  --script: "Pinyon Script", cursive;
  --type: "Courier Prime", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--type);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: .7rem 1.5rem;
  background: rgba(20, 30, 15, .88);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 30px; filter: invert(78%) sepia(40%) saturate(700%) hue-rotate(358deg); }
.nav nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.nav nav a { text-decoration: none; font-size: .95rem; opacity: .85; }
.nav nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- section types ---------- */
section, footer { position: relative; overflow: hidden; padding: 5rem 1.5rem; }
.paint {
  background: var(--forest) url("assets/paint.jpg") center / cover;
  color: #f4ead2;
}
.paint::before { /* calm the texture so text stays readable */
  content: ""; position: absolute; inset: 0;
  background: rgba(15, 24, 10, .45);
}
.paint > * { position: relative; z-index: 2; }
.light { background: var(--paper); text-align: center; }

.ghost::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background-repeat: no-repeat; background-size: contain; opacity: .35;
}
.ghost > * { position: relative; z-index: 2; }
.ghost-lantern::after { background-image: url("assets/lineart_lantern.png"); right: -2%; top: 6%; width: 46%; height: 88%; background-position: right center; }
.ghost-ram::after { background-image: url("assets/lineart_ram.png"); left: -4%; top: 6%; width: 46%; height: 88%; background-position: left center; opacity: .28; }

/* ---------- type ---------- */
.gold-script {
  font-family: var(--script);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1rem;
  font-size: clamp(3rem, 7vw, 4.8rem);
  /* gold glitter, cut from your own stars */
  background: url("assets/gold.jpg") center / 140px;
  -webkit-background-clip: text; background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.45));
  padding: 0 .15em;
}
.light .gold-script { filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; margin: 0; opacity: .8; }
.lead { margin-top: 0; }

/* ---------- hero ---------- */
.hero { min-height: calc(100vh - 56px); display: flex; align-items: center; padding-top: 3rem; padding-bottom: 3rem; }
.hero-inner {
  max-width: 1150px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem; align-items: center;
}
.cover { width: 100%; border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.hero h1 { font-size: clamp(4rem, 10vw, 7.5rem); margin: .2rem 0 .4rem; line-height: 1; }
.byline { font-family: var(--script); color: #e8843f; font-size: clamp(2.3rem, 4.5vw, 3.2rem); margin: 0 0 2rem; text-shadow: 0 2px 3px rgba(0,0,0,.6); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .75rem 1.6rem; border-radius: 999px;
  background: linear-gradient(180deg, #f6dc8c 0%, #e0ae45 55%, #c48f2c 100%); color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--ink); box-shadow: none; }
.btn-outline:hover { background: var(--gold-light); }
.links { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- tracklist ---------- */
.tracklist { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.tracklist ol { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.tracklist li {
  padding: .35rem 0 .35rem 2rem; font-size: 1.1rem;
  background: url("assets/stars/star-03.png") left center / 18px no-repeat;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

/* ---------- poem & credits ---------- */
.poem, .credits { max-width: 720px; margin: 0 auto; text-align: left; }
.credits { margin-left: max(40%, calc(100% - 760px)); margin-right: 0; }
#poem { padding-bottom: 2rem; }
.poem p { margin: 0 0 1.6rem; }
.poem .l { display: block; padding-left: 1.5em; text-indent: -1.5em; }
.signature { width: 70px; margin: 1rem 0 0 auto; }
.players { list-style: none; padding: 0; margin: 0 0 2rem; }
.players li { padding: .2rem 0; }
.players b { display: inline-block; min-width: 11.5rem; }
.credits h2 { text-align: left; }

/* ---------- footer ---------- */
footer { text-align: center; border-top: 2px solid rgba(217,166,58,.5); }
.contact { color: var(--gold-light); font-size: 1.15rem; }
.signature-light { margin: 2rem auto 1rem; filter: invert(1); opacity: .85; }
.legal { font-size: .85rem; opacity: .8; margin: 0; }

/* ---------- scattered stars ---------- */
.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.star { position: absolute; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); animation: twinkle 5s ease-in-out infinite; }
.stars-light .star { filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
@keyframes twinkle {
  0%, 100% { transform: rotate(var(--r)) scale(1); opacity: 1; }
  50% { transform: rotate(calc(var(--r) + 8deg)) scale(.88); opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
  .star { animation: none; transform: rotate(var(--r)); }
  html { scroll-behavior: auto; }
}

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .hero-inner, .tracklist { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .ghost::after { opacity: .15; width: 90%; }
  .credits { margin-left: auto; margin-right: auto; }
  .players b { display: block; min-width: 0; }
  section, footer { padding: 3.5rem 1.2rem; }
  body { font-size: 16px; }
  .poem { font-size: 14.5px; }
}

/* ---------- section headings on paint ---------- */
.section-head { text-align: center; max-width: 900px; margin: 0 auto 2.5rem; }
.section-head p { margin: 0; }
.tracklist .gold-script { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.btn-ghost { background: transparent; color: var(--gold-light); border: 2px solid var(--gold); box-shadow: none; margin-left: .5rem; }
.btn-ghost:hover { background: rgba(217,166,58,.15); }
.muted { color: var(--grey); }

/* ---------- music ---------- */
#albums { max-width: 1000px; margin: 0 auto; display: grid; gap: 4rem; }
.album-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; text-align: left; }
.album-cover { width: 100%; border-radius: 4px; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.album-info h3 { font-size: clamp(2.6rem, 5vw, 3.6rem); margin-bottom: .6rem; }
.links-left { justify-content: flex-start; margin: 1rem 0 1.5rem; }
.star-list { list-style: none; padding: 0; margin: 0; }
.star-list li { padding: .3rem 0 .3rem 2rem; background: url("assets/stars/star-03.png") left center / 16px no-repeat; }

/* ---------- art ---------- */
.art-grid { max-width: 1150px; margin: 2rem auto 0; columns: 3 300px; column-gap: 2rem; position: relative; z-index: 2; }
.art-card { margin: 0 0 2.2rem; text-align: left; break-inside: avoid; }
.art-img { all: unset; cursor: zoom-in; display: block; width: 100%; overflow: hidden; border-radius: 3px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.art-img img { width: 100%; height: auto; transition: transform .4s ease; }
.art-img:hover img, .art-img:focus-visible img { transform: scale(1.04); }
.art-card figcaption { padding: .8rem .1rem 0; display: flex; flex-direction: column; gap: .2rem; font-size: .95rem; }
.art-card figcaption span { color: #555; }
.badge { align-self: flex-start; margin-top: .4rem; padding: .15rem .7rem; border-radius: 999px; font-size: .8rem; border: 1px solid #bbb; color: #555; }
.badge-avail { border-color: var(--gold); background: var(--gold-light); color: var(--ink); font-weight: 700; }
.badge-sold { border-color: var(--rust); color: var(--rust); }
.badge-sold::before { content: "● "; }
.enquire { align-self: flex-start; font-weight: 700; margin-top: .3rem; text-underline-offset: 3px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,15,8,.92); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.lightbox p { color: #f4ead2; margin-top: 1rem; text-align: center; }
.lb-close { position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0; color: var(--gold-light); font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ---------- live & video ---------- */
.media-grid { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 480px)); justify-content: center; gap: 2rem; }
.media-card { background: rgba(10,16,8,.55); border: 1px solid rgba(217,166,58,.35); border-radius: 4px; overflow: hidden; }
.media-frame { aspect-ratio: 16 / 9; background: #0e140b; }
.media-frame img, .media-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.play { all: unset; cursor: pointer; position: relative; display: block; width: 100%; height: 100%; }
.play-icon { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--ink); background: linear-gradient(180deg, #f6dc8c 0%, #e0ae45 55%, #c48f2c 100%); box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.media-info { padding: 1rem 1.2rem 1.3rem; }
.media-info h3 { margin: 0 0 .2rem; font-size: 1.1rem; color: var(--gold-light); }
.media-info p { margin: .3rem 0 0; }

@media (max-width: 820px) {
  .album-card { grid-template-columns: 1fr; }
  .btn-ghost { margin: .8rem 0 0; }
  .media-grid { grid-template-columns: 1fr; }
}

/* ---------- audio player ---------- */
.player { list-style: none; padding: 0; margin: 1.2rem 0 1rem; border-top: 1px solid #e6dfcc; }
.track { display: flex; align-items: center; gap: .8rem; padding: .45rem .2rem; border-bottom: 1px solid #e6dfcc; }
.track.playing { background: linear-gradient(90deg, rgba(242,210,122,.35), transparent); }
.track.playing .ttitle { font-weight: 700; }
.pbtn { all: unset; cursor: pointer; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f6dc8c 0%, #e0ae45 55%, #c48f2c 100%); box-shadow: 0 2px 6px rgba(0,0,0,.25); font-size: .75rem; color: var(--ink); }
.pbtn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.pbtn-off { background: #eee; box-shadow: none; cursor: default; }
.tnum { width: 1.4rem; color: var(--grey); font-size: .9rem; }
.ttitle { flex: 1; }
.now { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; font-size: .9rem; }
.now-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.bar { flex: 1; height: 6px; background: #e6dfcc; border-radius: 3px; cursor: pointer; overflow: hidden; }
.fill { height: 100%; width: 0; background: var(--gold); }
.now-time { color: var(--grey); white-space: nowrap; }

/* ---------- commissions ---------- */
.commission { max-width: 640px; margin: 3rem auto 0; padding: 2.2rem 2rem; border: 2px solid var(--gold); border-radius: 6px; background: rgba(255,255,255,.85); position: relative; z-index: 2; }
.commission .gold-script { font-size: clamp(2.4rem, 5vw, 3.2rem); }

/* ---------- portrait videos ---------- */
.media-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); }
.media-card.is-video .media-frame { aspect-ratio: 9 / 16; }
.media-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

.now[hidden] { display: none; }
