/* djmoose.com — modernized nostalgic brown/tan palette
   Original colors: sand #CDAE8F, brown #6D5535, accent red #990000, link #155267 */

:root {
  --sand:   #CDAE8F;
  --sand-l: #E4D3BE;
  --brown:  #6D5535;
  --brown-d:#4A3824;
  --ink:    #241a10;
  --accent: #990000;
  --link:   #155267;
  --paper:  #faf6f0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Verdana, system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
}

a { color: var(--link); }
a:hover { color: var(--accent); }

.sep { color: var(--brown); margin: 0 .5rem; opacity: .6; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(160deg, var(--brown) 0%, var(--brown-d) 100%);
  color: var(--sand-l);
  text-align: center;
  padding: 4.5rem 1.25rem 3.5rem;
}
.hero-inner { max-width: 760px; margin: 0 auto; }

.logo {
  width: 300px; max-width: 78%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: var(--paper);
  padding: 7px;
}

.wordmark {
  font-size: clamp(2.6rem, 9vw, 5rem);
  letter-spacing: .04em;
  margin: 1.1rem 0 .3rem;
  color: #fff;
  text-transform: lowercase;
}

.tagline {
  margin: 0 0 1.4rem;
  font-size: clamp(.95rem, 2.6vw, 1.15rem);
  color: var(--sand);
  letter-spacing: .02em;
}

.hero-logo-link { display: inline-block; }

.wordmark a { color: inherit; text-decoration: none; }

.mainnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-top: .4rem;
}
.mainnav a {
  color: var(--sand-l);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s;
}
.mainnav a:hover,
.mainnav a.active { border-color: var(--sand-l); color: #fff; }

/* ---------- Compact hero on interior pages ---------- */
.interior .hero {
  padding: 1.75rem 1.25rem 1.5rem;
}
.interior .logo {
  width: 170px;
}
.interior .wordmark {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin: .5rem 0 .2rem;
}
.interior .tagline {
  font-size: .85rem;
  margin-bottom: .9rem;
}
@media (max-width: 540px) {
  .interior .logo { width: 130px; }
}

/* ---------- Content / bio ---------- */
.content { padding: 3rem 1.25rem; }
.content-inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(74,56,36,.14);
}
.content-inner h2 {
  color: var(--brown-d);
  border-bottom: 2px solid var(--sand);
  padding-bottom: .3rem;
  margin-top: 2rem;
}
.content-inner h2:first-child { margin-top: 0; }
.content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: .5rem 0 1rem;
}
.content-inner img.float {
  float: left;
  max-width: 246px;
  margin: .3rem 1.4rem .8rem 0;
}
@media (max-width: 540px) {
  .content-inner { padding: 1.4rem; }
  .content-inner img.float { float: none; margin: 0 0 1rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-d);
  color: var(--sand);
  text-align: center;
  padding: 2.25rem 1.25rem 2.75rem;
}
.footer-inner { max-width: 760px; margin: 0 auto; }
.site-footer a { color: var(--sand-l); }
.bbm {
  height: 54px; width: auto;
  filter: invert(1) sepia(1) saturate(.4) brightness(1.4);
  opacity: .85;
  margin-bottom: .6rem;
}
.site-footer .copy { font-size: .8rem; opacity: .6; margin: .4rem 0 0; }

/* ---------- Posts ---------- */
.post-title {
  color: var(--brown-d);
  margin: 0 0 .2rem;
  border-bottom: 2px solid var(--sand);
  padding-bottom: .3rem;
}
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { color: var(--accent); }

.post-date {
  color: var(--brown);
  font-size: .85rem;
  font-style: italic;
  margin: 0 0 1.4rem;
}
.post-body { margin-bottom: 1rem; }

.post-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--sand);
  padding-top: 1.25rem;
}
.post-list-heading {
  color: var(--brown-d);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.post-list ul { list-style: none; padding: 0; margin: 0; }
.post-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dotted var(--sand);
}
.post-list li a { font-weight: 600; text-decoration: none; }
.post-list li a:hover { color: var(--accent); }
.post-list-date { color: var(--brown); font-size: .8rem; white-space: nowrap; }

.back-link { margin-top: 2rem; }
.back-link a { font-weight: 600; text-decoration: none; }

/* ---------- Footer social ---------- */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin: .6rem 0 .2rem;
}
.social a {
  color: var(--sand-l);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.social a:hover { border-color: var(--sand-l); color: #fff; }

/* ---------- Contact form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 600;
  color: var(--brown-d);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .6rem .7rem;
  border: 1px solid var(--sand);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 2px rgba(109,85,53,.18);
}
.contact-form button {
  align-self: flex-start;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--brown);
  border: none;
  padding: .65rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
}
.contact-form button:hover { background: var(--brown-d); }
.form-result { margin: 0; font-weight: 600; }
.form-result.ok { color: #2e6b2e; }
.form-result.err { color: var(--accent); }
.form-notice {
  background: #fff6e6;
  border: 1px solid #e3c98a;
  border-radius: 6px;
  padding: .7rem .9rem;
  font-size: .9rem;
}

/* ---------- Featured mix (home) ---------- */
.featured-mix {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 2px solid var(--sand);
}
.featured-mix .mix { padding-top: .5rem; border-bottom: none; }
.featured-mix-link {
  margin: .4rem 0 0;
  font-weight: 600;
}
.featured-mix-link a { text-decoration: none; }

/* ---------- Mixes ---------- */
.mixes { margin-top: 1.5rem; }
.mix-group-heading {
  color: var(--brown-d);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 2.2rem 0 .3rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--sand);
}
.mix-desc {
  margin: .2rem 0 .9rem;
  font-size: .95rem;
}
.mix {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sand);
}
.mix:last-child { border-bottom: none; }
.mix-title {
  color: var(--brown-d);
  margin: 0 0 .15rem;
}
.mix-meta {
  color: var(--brown);
  font-size: .85rem;
  font-style: italic;
  margin: 0 0 .8rem;
}
.mix-player iframe {
  display: block;
  border-radius: 8px;
}
.mix-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mix-info img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--sand);
}
.mix-archive-note {
  color: var(--brown);
  font-size: .9rem;
  font-style: italic;
  margin: 0;
}
.mix-release-link { margin: .8rem 0 0; }

/* ---- Click-to-play Mixcloud facade ---- */
.mix-facade {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 160px;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background-color: var(--brown-d);
  background-size: cover;
  background-position: center;
  color: #fff;
  cursor: pointer;
  padding: 0 1.1rem;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: filter .15s, transform .15s;
}
/* scrim for text legibility over the cover art */
.mix-facade::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.15) 100%);
}
.mix-facade:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mix-facade-play {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--paper);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.mix-facade-play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--brown-d);
}
.mix-facade-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.mix-facade-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.mix-facade-meta {
  font-size: .82rem;
  font-style: italic;
  opacity: .9;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

/* ---------- Release pages (galleries) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, 180px);
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.gallery-item { margin: 0; }
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--sand);
  box-shadow: 0 2px 10px rgba(74,56,36,.14);
  transition: transform .15s, box-shadow .15s;
}
.gallery-item a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74,56,36,.26);
}
.gallery-item figcaption {
  font-size: .78rem;
  color: var(--brown);
  text-align: center;
  margin-top: .35rem;
}
.release-body { margin-top: 1rem; }
.release-body h2 {
  color: var(--brown-d);
  border-bottom: 2px solid var(--sand);
  padding-bottom: .3rem;
  font-size: 1.15rem;
  margin-top: 1.8rem;
}
.release-body ol { padding-left: 1.3rem; }
.release-body ol li { margin: .2rem 0; }

/* ---------- Release hero ---------- */
.release-hero {
  margin: 0 0 1.5rem;
  text-align: center;
}
.release-hero img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(74,56,36,.3);
  cursor: zoom-in;
  transition: transform .18s, box-shadow .18s;
}
.release-hero img:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(74,56,36,.4);
}
.gallery-item a { cursor: zoom-in; display: block; }

/* ---------- Lightbox overlay ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(36,26,16,.92);
  padding: 2rem;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lightbox-caption {
  color: var(--sand-l);
  margin-top: .8rem;
  font-size: .9rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--sand-l);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: .2rem .5rem;
}
.lightbox-close:hover { color: #fff; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.3);
  border: none;
  color: var(--sand-l);
  font-size: 2.6rem;
  line-height: 1;
  width: 3rem;
  height: 4rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.lightbox-nav:hover { background: rgba(0,0,0,.55); color: #fff; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 540px) {
  .lightbox-nav { font-size: 2rem; width: 2.4rem; height: 3.2rem; }
  .lightbox-prev { left: .3rem; }
  .lightbox-next { right: .3rem; }
}

/* ---------- 404 page ---------- */
.notfound {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.notfound-logo {
  width: 160px;
  max-width: 60%;
  height: auto;
  border-radius: 10px;
}
.notfound-code {
  font-size: clamp(3rem, 12vw, 5rem);
  color: var(--brown-d);
  margin: 1rem 0 .2rem;
  border: none;
  letter-spacing: .05em;
}
.notfound-msg {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 .3rem;
}
.notfound-sub { margin: 0 0 1.5rem; color: var(--ink); }
.notfound-links a { font-weight: 600; text-decoration: none; }

/* ---------- Share bar (release pages) ---------- */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .8rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sand);
}
.share-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brown-d);
  letter-spacing: .02em;
}
.share-btns {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}
.share-btn:hover {
  color: var(--accent);
  border-color: var(--brown);
  background: #fff;
  transform: translateY(-1px);
}
.share-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(109,85,53,.3);
}
.share-btn.copied {
  color: #2e6b2e;
  border-color: #2e6b2e;
}
.share-feedback {
  font-size: .82rem;
  font-weight: 600;
  color: #2e6b2e;
}
@media (max-width: 540px) {
  .share-bar { gap: .5rem .6rem; }
}

/* ---------- Mixes page header image ---------- */
.mixes-header {
  margin: 0 0 1.75rem;
  text-align: center;
}
.mixes-header img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(74,56,36,.3);
  cursor: zoom-in;
  transition: transform .18s, box-shadow .18s;
}
.mixes-header img:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(74,56,36,.4);
}

/* ---------- "View artwork & details" release button (mix cards) ---------- */
.release-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  color: #fff;
  background: var(--brown);
  border: none;
  padding: .55rem 1.1rem;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(74,56,36,.25);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.release-btn:hover {
  color: #fff;
  background: var(--brown-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(74,56,36,.35);
}
.release-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(109,85,53,.35);
}
.release-btn svg { width: 17px; height: 17px; fill: currentColor; }
.release-btn-arrow { transition: transform .18s; }
.release-btn:hover .release-btn-arrow { transform: translateX(3px); }

/* ---------- Ghost "Back to mixes" button (release pages) ---------- */
.back-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  color: var(--brown-d);
  background: transparent;
  border: 1.5px solid var(--brown);
  border-radius: 7px;
  padding: .45rem 1rem;
  transition: background .18s, color .18s, transform .18s;
}
.back-ghost:hover {
  background: var(--brown);
  color: #fff;
  transform: translateY(-1px);
}
.back-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(109,85,53,.35);
}
.back-ghost-arrow { transition: transform .18s; }
.back-ghost:hover .back-ghost-arrow { transform: translateX(-3px); }
.back-link-top { margin: 0 0 1.1rem; }
