:root {
  --canvas: #b7a98f;
  --canvas-light: #c8bba0;
  --canvas-deep: #8f8068;
  --ink: #211d18;
  --ink-soft: #5d5143;
  --cream: #eee6d6;
  --ochre: #986a3d;
  --moss: #6e745c;
  --blue: #677784;
  --line: rgba(33, 29, 24, 0.14);
  --header-height: 66px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  background:
    radial-gradient(1200px 820px at 8% 8%, rgba(238, 220, 185, .72), transparent 64%),
    radial-gradient(760px 520px at 92% 18%, rgba(103, 119, 132, .22), transparent 62%),
    radial-gradient(880px 700px at 78% 74%, rgba(110, 116, 92, .22), transparent 68%),
    linear-gradient(135deg, #c6b99e 0%, #ac9b7f 51%, #c2b294 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .22;
  background:
    repeating-linear-gradient(7deg, rgba(62,49,35,.035) 0, rgba(62,49,35,.035) 1px, transparent 1px, transparent 5px),
    repeating-linear-gradient(97deg, rgba(255,255,255,.028) 0, rgba(255,255,255,.028) 1px, transparent 1px, transparent 7px);
  mix-blend-mode: multiply;
}

body.admin-bar .site-header { top: 32px; }
body.lightbox-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
main, .site-footer { position: relative; z-index: 1; }

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.site-header.scrolled,
body:not(.stumari-front-page) .site-header {
  color: var(--ink);
  background: rgba(190, 177, 151, .84);
  backdrop-filter: blur(18px) saturate(.9);
  border-color: var(--line);
}

.wordmark {
  font: 600 20px/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: .24em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 38px);
  font-size: 12px;
  letter-spacing: .09em;
}

.site-nav a,
.hero-links a,
.platform-links a,
.text-link {
  position: relative;
}

.site-nav a::after,
.hero-links a::after,
.platform-links a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav .current-menu-item a::after,
.hero-links a:hover::after,
.platform-links a:hover::after,
.text-link:hover::after {
  right: 0;
}

.menu-button {
  display: none;
  width: 32px; height: 32px;
  border: 0; background: transparent;
  color: inherit;
}

.menu-button span:not(.screen-reader-text) {
  display: block;
  width: 22px; height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,16,12,.16), rgba(39,29,20,.26)),
    radial-gradient(circle at 50% 38%, #8e765b 0, #514434 45%, #28231d 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(29,22,16,.18), rgba(35,25,17,.40)),
    radial-gradient(circle at 50% 44%, transparent 0, rgba(27,20,15,.12) 56%, rgba(27,20,15,.30) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  text-align: center;
  color: var(--cream);
  padding-top: var(--header-height);
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

h1 {
  margin: 0;
  font-size: clamp(66px, 11vw, 150px);
  line-height: .88;
  letter-spacing: .12em;
  transform: translateX(.06em);
}

.intro,
.page-intro {
  width: min(710px, 100%);
  margin: 38px auto 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.55;
}

.intro { color: rgba(238,230,214,.92); }

.hero-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px 34px;
  margin-top: 42px;
  font-size: 12px;
  letter-spacing: .10em;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  color: var(--cream);
  opacity: .75;
  font-size: 22px;
  animation: drift 1.8s ease-in-out infinite;
}

@keyframes drift { 50% { transform: translateY(7px); } }

.painted-field {
  position: absolute;
  right: -8vw;
  top: 108vh;
  width: min(62vw, 860px);
  height: min(70vw, 920px);
  border-radius: 47% 53% 41% 59% / 57% 42% 58% 43%;
  filter: blur(48px);
  opacity: .34;
  pointer-events: none;
  background:
    radial-gradient(circle at 33% 33%, rgba(152,106,61,.70), transparent 31%),
    radial-gradient(circle at 63% 48%, rgba(103,119,132,.48), transparent 38%),
    radial-gradient(circle at 50% 72%, rgba(110,116,92,.55), transparent 40%);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(110px, 14vw, 200px) 0;
}

.section:nth-of-type(3) { padding-top: clamp(140px, 17vw, 235px); }
.section:nth-of-type(4) { padding-top: clamp(95px, 11vw, 150px); }
.section:nth-of-type(5) { padding-top: clamp(155px, 18vw, 245px); }

.section-label {
  margin: 0 0 46px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.text-section {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
  gap: 40px;
}

.text-section .section-label { margin: 10px 0 0; }
.section-body { max-width: 760px; }

.section h2,
.album-entry h2,
.prose-content h2 {
  margin: 0 0 26px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
}

.section-body p,
.album-summary,
.page-intro {
  color: var(--ink-soft);
}

.section-body p {
  max-width: 670px;
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 22px);
}

.text-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .08em;
}

.album-placeholder,
.album-artwork {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(238,230,214,.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 58px);
  background:
    radial-gradient(circle at 24% 26%, rgba(205,168,112,.55), transparent 23%),
    radial-gradient(circle at 77% 37%, rgba(75,91,98,.68), transparent 28%),
    radial-gradient(circle at 58% 71%, rgba(89,102,70,.74), transparent 31%),
    linear-gradient(135deg, #815e3e 0%, #4f4032 42%, #293034 72%, #4b4c35 100%);
  box-shadow: 0 28px 70px rgba(67,50,34,.18);
}

.album-artwork img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(79,64,50,.18);
}

.album-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.album-meta h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
}

.album-meta p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin-top: 34px;
  font-size: 14px;
  letter-spacing: .06em;
}

.vertical-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.contact-section { padding-bottom: 135px; }

.page-hero {
  padding: clamp(170px, 20vw, 270px) 20px clamp(90px, 12vw, 160px);
}

.compact-hero { padding-bottom: 70px; }

.page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-title {
  max-width: 1000px;
  font-size: clamp(64px, 10vw, 138px);
  letter-spacing: .015em;
  line-height: .88;
  transform: none;
}

.page-intro {
  width: min(720px, 100%);
  margin: 34px 0 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(18px, 2vw, 25px);
}

.content-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(120px, 16vw, 220px);
}

.content-shell-wide {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: clamp(120px, 16vw, 220px);
}

.prose-content {
  font-size: clamp(18px, 2vw, 23px);
  color: var(--ink-soft);
}

.prose-content > * + * { margin-top: 1.5em; }
.prose-content h2, .prose-content h3 { color: var(--ink); }
.prose-content h3 { font-size: clamp(30px, 4vw, 48px); }
.prose-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.prose-content ul, .prose-content ol { padding-left: 1.2em; }

.album-list { display: grid; gap: clamp(140px, 18vw, 250px); }

.album-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.album-entry:nth-child(even) .album-artwork { order: 2; }
.album-entry:nth-child(even) .album-entry-copy { order: 1; }

.album-entry h2 { font-size: clamp(48px, 7vw, 92px); }
.album-summary { font-size: clamp(17px, 1.7vw, 21px); }

.album-page { padding-top: calc(var(--header-height) + 70px); }

.album-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: center;
  gap: clamp(55px, 8vw, 130px);
  padding-top: clamp(60px, 8vw, 120px);
}

.album-hero-art img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.art-credit {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .05em;
}

.gallery-content .wp-block-gallery {
  gap: clamp(18px, 2.5vw, 34px) !important;
}

.gallery-content .wp-block-image img,
.gallery-content .blocks-gallery-item img {
  cursor: zoom-in;
  transition: opacity 180ms ease;
}

.gallery-content img:hover { opacity: .88; }

.empty-note,
.empty-state {
  color: var(--ink-soft);
  font-size: 20px;
}

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 45px;
  background: rgba(22,18,14,.94);
}

.lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 48px; height: 48px;
  border: 0;
  color: var(--cream);
  background: transparent;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 30px clamp(20px, 4vw, 64px);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: .08em;
  border-top: 1px solid var(--line);
  background: rgba(174,159,131,.28);
}

.navigation.pagination { margin-top: 60px; }
.nav-links { display: flex; gap: 20px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  :root { --header-height: 60px; }

  .site-header { padding-inline: 20px; }
  .menu-button { display: block; }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    color: var(--ink);
    background: rgba(194,180,151,.97);
    border-bottom: 1px solid var(--line);
  }

  body.admin-bar .site-nav { top: calc(var(--header-height) + 46px); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; }

  .hero-content { width: min(100% - 32px, 620px); }
  .intro { font-size: 18px; }

  .text-section,
  .album-entry,
  .album-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .text-section .section-label { margin: 0; }
  .album-meta { align-items: flex-start; flex-direction: column; }
  .album-entry:nth-child(even) .album-artwork,
  .album-entry:nth-child(even) .album-entry-copy { order: initial; }

  .album-page { padding-top: var(--header-height); }
  .site-footer { flex-direction: column; }
  .lightbox { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
