/* ==========================================================================
   Ur-Music — site styles
   Rebuilt from the Squarespace 7.1 site (black/white, Aktiv Grotesk look).
   Inter is used as the free stand-in for Aktiv Grotesk.
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --ink: #111;
  --grey: #6b6b6b;
  --line: rgba(0, 0, 0, 0.15);
  --accent: #ff8a3d;            /* pulled from the "Life" artwork */
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  padding: 0 var(--pad);
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav { display: flex; gap: 22px; font-size: 0.92rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--black); }
.site-title { font-weight: 800; font-size: 1.55rem; letter-spacing: -0.03em; text-decoration: none; justify-self: center; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; justify-self: end; align-items: center; }
.social a { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social a:hover { opacity: 0.6; }
.menu-toggle {
  display: none; justify-self: end; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; padding: 8px 0;
}
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--line); padding: 20px var(--pad) 28px; }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu .nav { flex-direction: column; gap: 6px; font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.mobile-menu .nav a { border: 0; }
.mobile-menu .social { justify-self: start; }
@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-inner > .nav, .header-inner > .social { display: none; }
  .site-title { justify-self: start; }
  .menu-toggle { display: block; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--black { background: var(--black); color: var(--white); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }

/* Hero with background photo */
.hero {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: calc(100vh - var(--header-h)); overflow: hidden; color: var(--white);
  background: var(--black);
}
.hero--short { min-height: 62vh; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg--top { object-position: center 20%; }
.hero__bg--dim { opacity: 0.35; }
.hero__inner { position: relative; z-index: 2; padding: 40px var(--pad); max-width: 900px; }
.hero__inner h1 { text-shadow: 0 2px 30px rgba(0,0,0,0.45); }
.hero__inner p { font-size: 1.15rem; }
.hero--overlay::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.4)); }
.hero--left { text-align: left; place-items: end start; }
.hero--left .hero__inner { padding-bottom: clamp(32px, 5vw, 64px); max-width: none; width: 100%; }
.hero--left .hero__inner h1 { max-width: 16ch; }
.hero__arrow {
  position: absolute; left: 50%; top: 24px; transform: translateX(-50%); z-index: 2;
  color: var(--ink); width: 40px; height: 56px; display: grid; place-items: center;
  animation: bob 1.8s ease-in-out infinite;
}
.hero__arrow svg { width: 22px; height: 40px; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .hero__arrow { animation: none; } html { scroll-behavior: auto; } }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border: 1.5px solid var(--black); color: var(--black);
  text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; background: transparent;
  transition: background .15s, color .15s; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--black); color: var(--white); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--black); }
.btn--solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--solid:hover { background: transparent; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Feature: album cover + text side by side (home page) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media a { display: block; }
.feature__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature__text h2 { margin-bottom: 0.6em; }
.feature__text p { max-width: 48ch; }
.feature + .feature { margin-top: clamp(64px, 9vw, 130px); }
.feature__embed { margin-top: 28px; max-width: 480px; }
.feature__embed iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
}

/* Album grid (music page) */
.intro { max-width: 760px; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(28px, 4vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.album img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 18px; transition: transform .2s; }
.album a:hover img { transform: scale(1.02); }
.album a { text-decoration: none; }
.album h3 { margin-bottom: 0.25em; }
.album__meta { font-size: 0.85rem; color: var(--grey); margin-bottom: 0.7em; }
.album p { font-size: 0.97rem; }
.album__links { display: flex; gap: 14px; font-size: 0.85rem; font-weight: 600; }
.album__links a { text-decoration: underline; text-underline-offset: 3px; }

/* Prose */
.prose { max-width: 800px; margin: 0 auto; }
.prose--center { text-align: center; }
.prose h2, .prose h4 { margin-top: 1.4em; }
.prose h2:first-child, .prose h4:first-child { margin-top: 0; }

/* Embeds */
.embed { max-width: 900px; margin: 0 auto; }
.embed iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
.embed--video iframe { aspect-ratio: 16 / 9; height: auto; }
.embed + .embed { margin-top: 40px; }
.embed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
.embed-grid iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
@media (max-width: 760px) { .embed-grid { grid-template-columns: 1fr; } }

/* Gallery / slideshow */
.gallery { max-width: 1000px; margin: 0 auto; outline: none; }
.gallery__stage { position: relative; background: var(--black); }
.gallery__slide { display: none; }
.gallery__slide[data-active="true"] { display: block; }
.gallery__slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #000; }
.gallery__btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  background: rgba(255,255,255,0.85); border: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%;
}
.gallery__btn:hover { background: var(--white); }
.gallery__btn svg { width: 20px; height: 20px; }
.gallery__btn--prev { left: 12px; }
.gallery__btn--next { right: 12px; }
.gallery__thumbs { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; width: 84px; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--black); }
.gallery__thumbs img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-grid .social { justify-self: start; margin-top: 8px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.form legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form .field { margin-bottom: 20px; }
.form label { display: block; font-size: 0.9rem; margin-bottom: 6px; }
.form .req { color: var(--grey); font-size: 0.8rem; }
.form input, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); background: #fafafa; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--black); outline-offset: -1px; background: var(--white); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-size: 0.95rem; min-height: 1.5em; }
.form-status[data-state="error"] { color: #b3261e; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); text-align: center; padding: clamp(40px, 6vw, 72px) var(--pad); font-size: 0.9rem; }
.site-footer .footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 22px; font-size: 0.95rem; }
.site-footer .footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .social { justify-content: center; margin-bottom: 22px; }
.site-footer p { margin: 0; color: rgba(255,255,255,0.8); }
.site-footer p a { color: var(--white); }

/* Album groups (music page) */
.group + .group { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); }
.group__head h2 { margin-bottom: 0; }
.group__link { font-size: 0.9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.group .albums { margin-top: clamp(24px, 3vw, 36px); }
.intro { margin-bottom: 0; }
