/* Bozavox Share — site styles. Colours are sampled from the Bozavox logo. Change them here. */
:root {
  --gold: #c9a043;          /* main gold (logo) */
  --gold-light: #edc653;    /* highlights */
  --gold-dark: #866c28;     /* lines, borders */
  --gold-faint: rgba(201, 160, 67, 0.14);
  --black: #000;
  --panel: #0d0c0a;         /* cards */
  --panel-2: #16140f;       /* inputs */
  --text: #ece6d8;
  --muted: #a39c8c;
  --danger: #e0705a;
  --ok: #8fc27a;
  --font: 'Jost', Futura, 'Century Gothic', 'Avenir Next', system-ui, sans-serif;
  --radius: 2px;
  --wide: 1120px;
}

* { box-sizing: border-box; }
html { background: var(--black); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 20px 64px; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); line-height: 1.2; }
h1 { font-size: 1.7rem; margin: 40px 0 16px; }
h2 { font-size: 1.15rem; margin: 32px 0 12px; }
h3 { font-size: 1rem; margin: 20px 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.hidden { display: none !important; }

/* ---- header / footer */
.site-header { border-bottom: 1px solid var(--gold-dark); }
.site-header .inner { max-width: var(--wide); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--gold); text-decoration: none !important; }
.brand img { height: 46px; width: auto; }
.brand span { font-size: 0.8rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold-light); }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--text); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }
.nav a.active, .nav a:hover { color: var(--gold-light); }
.site-footer { border-top: 1px solid var(--gold-dark); color: var(--muted); font-size: 0.85rem; }
.site-footer .inner { max-width: var(--wide); margin: 0 auto; padding: 24px 20px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 34px; }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.site-footer a { color: var(--muted); }

/* ---- art-deco frame (double gold line, like the logo) */
.frame { position: relative; border: 1px solid var(--gold-dark); padding: 6px; }
.frame > .frame-inner { border: 1px solid var(--gold-dark); padding: 20px; }

/* ---- hero */
.hero { position: relative; margin: 0 -20px; min-height: 360px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--gold-dark); }
.hero::before { content: ''; position: absolute; inset: 0; background: url('/img/bvx-hero.jpg') center 30% / cover no-repeat; filter: grayscale(1) brightness(0.32); }
.hero .content { position: relative; text-align: center; padding: 40px 20px; }
.hero img.logo { width: min(560px, 86vw); margin: 0 auto 14px; }
.hero .tagline { letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-light); font-size: 0.85rem; }
.hero p.lead { max-width: 620px; margin: 18px auto 0; color: var(--text); }

/* ---- controls */
button, .button {
  font: inherit; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: var(--gold-light); border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important;
  outline: 1px solid var(--gold-dark); outline-offset: 3px;
}
button:hover, .button:hover { background: var(--gold-faint); }
button.primary, .button.primary { background: var(--gold); color: #120f06; border-color: var(--gold-light); }
button.primary:hover, .button.primary:hover { background: var(--gold-light); }
button.quiet { outline: none; border-color: var(--gold-dark); color: var(--text); }
button.danger { color: var(--danger); border-color: var(--danger); outline-color: rgba(224, 112, 90, 0.4); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
button.link { border: 0; outline: 0; padding: 0; color: var(--gold-light); text-transform: none; letter-spacing: 0; font-size: inherit; }

label { display: block; margin: 16px 0 6px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--panel-2); border: 1px solid var(--gold-dark);
  border-radius: var(--radius); padding: 10px 12px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--text); }
.check input { margin-top: 5px; accent-color: var(--gold); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; }

/* ---- browse */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 28px 0 18px; }
.toolbar input[type=search] { flex: 1 1 260px; }
.toolbar select { width: auto; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--gold-dark); padding: 2px 10px; color: var(--gold); border-radius: 20px; }
a.tag:hover { background: var(--gold-faint); text-decoration: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--gold-dark); outline: 1px solid rgba(134, 108, 40, 0.45); outline-offset: 4px; padding: 18px; display: flex; flex-direction: column; gap: 10px; margin: 5px; }
.card h3 { margin: 0; font-size: 1.05rem; letter-spacing: 0.05em; }
.card h3 a { color: var(--gold); }
.card .meta { color: var(--muted); font-size: 0.85rem; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.card .actions { display: flex; gap: 10px; margin-top: auto; align-items: center; flex-wrap: wrap; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---- play button / player */
.play { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; outline: none; }
.play svg { width: 16px; height: 16px; fill: currentColor; }
audio { width: 100%; filter: sepia(0.6) saturate(1.4) hue-rotate(-8deg); }

/* ---- sound page */
.sound-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-top: 36px; }
.sound-head h1 { margin: 0 0 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 22px 0; }
.fact { border-left: 2px solid var(--gold-dark); padding-left: 12px; }
.fact b { display: block; font-weight: 400; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.description { white-space: pre-wrap; }

/* ---- messages */
.notice { border: 1px solid var(--gold-dark); background: var(--gold-faint); padding: 12px 16px; margin: 16px 0; }
.notice.error { border-color: var(--danger); background: rgba(224, 112, 90, 0.12); }
.notice.good { border-color: var(--ok); background: rgba(143, 194, 122, 0.1); }
.status { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border: 1px solid; }
.status.public { color: var(--ok); }
.status.hidden, .status.removed { color: var(--danger); }
.status.pending { color: var(--muted); }
.progress { height: 6px; background: var(--panel-2); border: 1px solid var(--gold-dark); margin: 8px 0; }
.progress > div { height: 100%; width: 0; background: var(--gold); transition: width 0.2s; }

/* ---- ⓘ info popovers */
.info { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--gold-dark);
  font-size: 0.7rem; color: var(--gold); cursor: pointer; padding: 0; outline: none; text-transform: none; letter-spacing: 0; vertical-align: middle; margin-left: 6px; }
[popover] { background: var(--panel); color: var(--text); border: 1px solid var(--gold); max-width: 360px; padding: 16px; font-size: 0.92rem; text-transform: none; letter-spacing: 0; }
[popover]::backdrop { background: rgba(0, 0, 0, 0.5); }

/* ---- dialogs */
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--gold); outline: 1px solid var(--gold-dark); outline-offset: 5px; max-width: 460px; width: calc(100% - 40px); padding: 24px; }
dialog::backdrop { background: rgba(0, 0, 0, 0.75); }
dialog h2 { margin-top: 0; }
dialog .actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }

/* ---- product strip */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin: 56px 0 0; }
.about img { background: #fff; border: 1px solid var(--gold-dark); outline: 1px solid var(--gold-dark); outline-offset: 5px; }
.prose { max-width: 760px; }
.prose li { margin-bottom: 6px; }

@media (max-width: 720px) {
  .about, .sound-head { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .nav { margin-left: 0; gap: 14px; }
  h1 { font-size: 1.35rem; }
}
