/* ==========================================================
   JON DAHL — blåtimme
   ========================================================== */

/* Typsnitt (egna filer, latinsk delmängd) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b0d13;
  --ink-2: #0f121a;
  --glass: #161c29;
  --frost: #c9d4e6;
  --frost-dim: #8a96ad;
  --mist: #eef2f8;
  --haze: #5f6b83;
  --aurora: #7c93c4;
  --rule: #2a3346;
  --line: rgba(255, 255, 255, 0.08);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--frost);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ol, ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.05;
  color: var(--mist);
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--frost-dim);
  margin: 0;
}

.kicker-aurora { color: var(--aurora); }
.num { color: var(--aurora); }

.glass {
  background: rgba(22, 28, 41, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.skip {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--mist);
  color: var(--ink);
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--aurora); outline-offset: 3px; }

/* Grain ---------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.5px, transparent 0.6px);
  background-size: 3px 3px;
}

/* Navigation ----------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s, padding 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(11, 13, 19, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu { display: flex; gap: 2.5rem; }

.nav-menu a {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--frost-dim);
  transition: color 0.3s;
}
.nav-menu a:hover,
.nav-menu a:focus-visible { color: var(--mist); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--mist);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Buttons & links ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }

.btn-solid { background: var(--mist); color: var(--ink); }
.btn-solid:hover { background: #fff; transform: translateY(-1px); }

.btn-line { border: 1px solid rgba(255, 255, 255, 0.16); color: var(--frost); }
.btn-line:hover { border-color: var(--aurora); color: var(--mist); }

.link-arrow {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.2rem;
  transition: border-color 0.3s;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover { border-color: var(--aurora); }
.link-arrow:hover span { transform: translateX(4px); }

/* Hero ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media picture { display: block; height: 100%; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 2.4s var(--ease) both, pan 30s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 19, 0.55) 0%, rgba(11, 13, 19, 0.15) 35%, rgba(11, 13, 19, 0.55) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11, 13, 19, 0.55) 0%, transparent 60%);
}

.hero-inner { padding-top: 8rem; padding-bottom: clamp(3rem, 8vh, 6rem); }

.hero-title {
  font-size: clamp(3.75rem, 13vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 1.25rem 0 2rem -0.04em;
  text-shadow: 0 10px 60px rgba(11, 13, 19, 0.5);
}

.hero-card {
  max-width: 620px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 20px;
}

.hero-card h2 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: 0.75rem 0 1rem;
}

.hero-card p:not(.kicker) {
  color: var(--frost-dim);
  margin: 0 0 1.75rem;
  max-width: 48ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@keyframes drift { from { opacity: 0; } to { opacity: 1; } }
@keyframes pan {
  from { transform: translateY(0) scale(1.06); }
  to { transform: translateY(-2.5%) scale(1.06); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.rise { animation: rise 1.1s var(--ease) both; animation-delay: var(--d, 0s); }

/* Sections ------------------------------------------------- */
.section { padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.section-title { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.section-title-sm { font-size: clamp(2rem, 4vw, 3rem); }

/* Releases ------------------------------------------------- */
.releases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
}

.release-cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 1.25rem;
  border: 0;
  border-radius: 16px;
  background: var(--glass);
  overflow: hidden;
  cursor: pointer;
}

.release-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.05);
  outline-offset: -1px;
  transition: transform 0.8s var(--ease), filter 0.5s;
}

.release-cover:hover img,
.release-cover:focus-visible img { transform: scale(1.03); filter: brightness(0.7); }

.play-badge {
  position: absolute;
  left: 50%; top: 50%;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.play-badge svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }

.release-cover:hover .play-badge,
.release-cover:focus-visible .play-badge,
.release.is-playing .play-badge { opacity: 1; transform: scale(1); }

.release.is-playing .release-cover { box-shadow: 0 0 0 1px var(--aurora), 0 20px 60px -20px rgba(124, 147, 196, 0.5); }

.release h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 0.6rem 0 0.5rem; }
.release-line { color: var(--frost-dim); margin: 0 0 1rem; font-size: 0.95rem; }
.release-meta { padding: 0.9rem 0; border-top: 1px solid var(--rule); margin-bottom: 0.25rem; }

.release-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.release-links a {
  font-size: 0.875rem;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.3s;
}
.release-links a:hover { color: var(--aurora); }

/* Senaste blogginläggen (startsidan) ---------------------- */
.latest-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
.latest-post { display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; }
.latest-post-image {
  display: block;
  margin-bottom: 0.65rem;
  border-radius: 16px;
  background: var(--glass);
  overflow: hidden;
}
.latest-post-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.05);
  outline-offset: -1px;
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.latest-post:hover .latest-post-image img { transform: scale(1.03); filter: brightness(1.1); }
.latest-post-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.1;
  color: var(--mist);
  transition: color 0.3s;
}
.latest-post:hover .latest-post-title { color: #fff; }
.latest-post-excerpt {
  color: var(--frost-dim);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Listen --------------------------------------------------- */
.listen {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(5rem, 10vw, 8rem);
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}

.listen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.player-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 28, 41, 0.6);
}

.player-tabs button {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frost-dim);
  background: none;
  border: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.player-tabs button[aria-selected="true"] { background: var(--mist); color: var(--ink); }

.player { padding: 0.75rem; border-radius: 20px; }

picture { display: block; }

/* Spelaren laddas först vid klick – inga tredjepartscookies innan dess */
.player:not(.is-active) [role="tabpanel"] { display: none; }
.player.is-active .player-facade { display: none; }

.player-facade {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  min-height: 152px;
  padding: 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--frost);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
}
.player-facade:hover { background: #10131c; }

.player-facade picture { flex: 0 0 auto; width: clamp(88px, 22vw, 120px); }
.player-facade img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

.facade-text { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; min-width: 0; }
.facade-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--mist); line-height: 1.1; }
.facade-note { font-size: 0.8rem; color: var(--haze); }

.facade-play {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}
.facade-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.player-facade:hover .facade-play { transform: scale(1.06); }

@media (max-width: 420px) {
  .facade-play { display: none; }
}

.player iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
}

.quotes { display: flex; flex-direction: column; }

.quote {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.quote:first-child { padding-top: 0.5rem; }

.quote blockquote {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  color: var(--mist);
}

/* About ---------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  outline: 1px solid rgba(255, 255, 255, 0.05);
  outline-offset: -1px;
}

.about-text .section-title { margin: 1rem 0 2rem; }
.about-text p:not(.kicker) { color: var(--frost-dim); max-width: 58ch; margin: 0 0 1.25rem; }
.about-text .lead { font-size: 1.15rem; color: var(--frost) !important; }
.about-links { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.25rem; }

/* Contact -------------------------------------------------- */
.contact {
  background: radial-gradient(70% 60% at 50% 110%, rgba(124, 147, 196, 0.16), transparent 70%);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact .section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 16ch;
  margin: 1.25rem 0 2.5rem;
}

.contact-mail {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 7vw, 4rem);
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.15rem;
  transition: border-color 0.3s, color 0.3s;
  overflow-wrap: anywhere;
}
.contact-mail:hover { border-color: var(--aurora); color: #fff; }

.socials { display: flex; gap: 0.85rem; margin-top: 3rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}
.socials a:hover { border-color: var(--aurora); background: rgba(124, 147, 196, 0.1); }
.socials svg { width: 20px; height: 20px; fill: var(--frost); }

/* Footer --------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 2rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer .logo { font-size: 1.05rem; }

/* Blogg ---------------------------------------------------- */
.page-blogg .nav {
  background: rgba(11, 13, 19, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav-menu a[aria-current="page"] { color: var(--mist); }

.container-narrow {
  width: 100%;
  max-width: calc(720px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 8rem var(--gutter) clamp(4rem, 9vw, 6rem);
}

.blog-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.blog-head .section-title { margin-top: 0.75rem; }
.blog-empty { color: var(--frost-dim); }

.post-list { display: flex; flex-direction: column; }
.post-item { border-top: 1px solid var(--rule); }
.post-item:last-child { border-bottom: 1px solid var(--rule); }

.post-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  text-decoration: none;
}
.post-card-image { flex: 0 0 auto; width: 160px; }
.post-card-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  transition: filter 0.4s var(--ease);
}
.post-card:hover .post-card-image img { filter: brightness(1.1); }
.post-card-text { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.post-card-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.1;
  color: var(--mist);
  transition: color 0.3s;
}
.post-card:hover .post-card-title { color: #fff; }
.post-card-excerpt {
  color: var(--frost-dim);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }
.pager-next { margin-left: auto; }

.post-head { margin-bottom: 2rem; }
.post-head .kicker a { color: var(--aurora); text-decoration: none; }
.post-head .kicker a:hover { color: var(--mist); }
.post-title { font-size: clamp(2.5rem, 6.5vw, 4rem); margin-top: 0.9rem; }

.post-image { margin: 0 0 2rem; }
.post-image img { width: 100%; border-radius: 14px; }

.post-audio { margin: 0 0 2rem; padding: 1rem 1.1rem 1.1rem; border-radius: 16px; }
.post-audio figcaption { margin-bottom: 0.75rem; }
.post-audio audio { display: block; width: 100%; color-scheme: dark; }

.post-body { font-size: 1.08rem; }
.post-body > * { margin: 0 0 1.25rem; }
.post-body h2, .post-body h3 { margin: 2.25rem 0 1rem; }
.post-body h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); }
.post-body h3 { font-size: 1.5rem; }
.post-body a { color: var(--mist); text-decoration-color: var(--aurora); text-underline-offset: 3px; }
.post-body a:hover { color: #fff; }
.post-body img { border-radius: 12px; }
.post-body ul { list-style: disc; padding-left: 1.25rem; }
.post-body ol { list-style: decimal; padding-left: 1.25rem; }
.post-body blockquote {
  margin-left: 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--aurora);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--mist);
}
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.post-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }

/* Reveal --------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: none; }

/* Responsive ----------------------------------------------- */
@media (max-width: 960px) {
  .releases { grid-template-columns: repeat(2, 1fr); }
  .latest-posts { grid-template-columns: repeat(2, 1fr); }
  .latest-posts li:nth-child(3) { display: none; }
  .listen { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 440px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    background: rgba(11, 13, 19, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; }
  .nav-menu a {
    font-family: var(--serif);
    font-style: italic;
    font-size: 2.25rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mist);
  }

  .hero-inner { padding-top: 7rem; }
  .btn { padding: 0.75rem 1.15rem; }
}

@media (max-width: 560px) {
  .releases { grid-template-columns: 1fr; }
  .latest-posts { grid-template-columns: 1fr; }
  .latest-posts li:nth-child(3) { display: block; }
  .player { padding: 0.5rem; border-radius: 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .post-card { gap: 1rem; }
  .post-card-image { width: 96px; }
  .container-narrow { padding-top: 6.5rem; }
}

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