/* bluegenetyranny.com — static rebuild of the 2020 Squarespace site (palette and type taken from it). */
:root {
  --ink: #000;
  --paper: #fff;
  --accent: #1d24fc;      /* Squarespace accent: hsl(238 97% 55%) */
  --lavender: #eef0fc;    /* light accent */
  --night: #0f143e;       /* dark accent */
  --serif: "Cormorant Garamond", "Orpheus Pro", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.84 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; }

/* Header: transparent over each page's hero */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  color: #fff;
}
.site-header nav { display: flex; gap: 18px; font-size: 15px; }
.site-header nav a { text-decoration: none; }
.site-header nav a[aria-current="page"],
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wordmark { font: 500 30px/1 var(--serif); text-decoration: none; }
.contact {
  justify-self: end;
  border: 1px solid currentColor; padding: 12px 22px;
  font-size: 15px; font-weight: 500; text-decoration: none;
}
.contact:hover { background: #fff; color: var(--ink); }
.site-header.on-light { color: var(--ink); }
.site-header.on-light .contact { color: var(--accent); }
.site-header.on-light .contact:hover { background: var(--accent); color: #fff; }

/* Image heroes */
.hero {
  position: relative; display: grid; place-items: center;
  min-height: 34vh; padding: 110px var(--gutter) 40px;
  background: #000 center / cover no-repeat;
  color: #fff; text-align: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.hero h1 { position: relative; font-size: clamp(44px, 6vw, 68px); line-height: 1.2; }

/* Home */
.home {
  min-height: 100vh;
  padding: 150px var(--gutter) 80px;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .25)), url(img/home-sky.webp) center / cover no-repeat #000;
  color: #fff;
}
.home .inner { max-width: 1180px; margin: 0 auto; }
.home h1 { font-size: clamp(52px, 9vw, 112px); line-height: 1.05; }
.home .sections { display: flex; gap: clamp(28px, 8vw, 120px); margin: 48px 0 40px 36px; font-weight: 600; }
.home .sections a { text-underline-offset: 5px; }
.home hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .55); margin: 0 0 32px; }
.film {
  margin-left: auto; max-width: 640px;
  border: 1px solid rgba(255, 255, 255, .55); padding: 32px;
  background: rgba(0, 0, 0, .35);
}
.film h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 8px; }
.film p { margin: 0 0 22px; }
.button {
  display: inline-block; border: 1px solid currentColor; padding: 14px 26px;
  font-size: 15px; font-weight: 500; text-decoration: none;
}
.film .button:hover { background: #fff; color: var(--ink); }

/* Life */
.names {
  display: grid; grid-template-columns: 3fr 2fr; align-items: center;
  padding: 92px var(--gutter) 0;
  max-width: 1280px; margin: 0 auto;
}
.names img { width: 100%; aspect-ratio: 300 / 326; object-fit: cover; filter: grayscale(1); }
.names .panel {
  background: var(--lavender); padding: clamp(28px, 4vw, 56px);
  margin-left: -12%; position: relative;
}
.names h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.2; }
.names .aka { margin: 18px 0 14px; font-size: 15px; }
.bio {
  margin-top: 64px; padding: 96px var(--gutter);
  background: linear-gradient(rgba(15, 20, 62, .78), rgba(15, 20, 62, .55)), url(img/life-rainbows.webp) center bottom / cover no-repeat var(--night);
  color: #fff;
}
.bio .inner { max-width: 820px; margin: 0 auto; font: 500 clamp(19px, 1.9vw, 23px)/1.6 var(--serif); }
.bio p { margin: 0 0 1.2em; }
.bio blockquote { margin: 0 0 0 2em; font-style: italic; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  padding: 80px var(--gutter); max-width: 1280px; margin: 0 auto; align-items: center;
}
.gallery img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }

/* Music */
.release {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: 72px var(--gutter) 96px; max-width: 1180px; margin: 0 auto;
}
.kicker { font: 500 20px/1.4 var(--serif); margin: 0 0 6px; }
.release h2 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.15; margin-bottom: 24px; }
.release .button { color: var(--accent); margin-top: 12px; }
.release .button:hover { background: var(--accent); color: #fff; }

/* Light */
.videos { max-width: 1180px; margin: 0 auto; padding: 40px var(--gutter) 64px; }
.video {
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: 48px 0;
}
.video:nth-child(even) { grid-template-columns: 2fr 1fr; }
.video:nth-child(even) .caption { order: 2; }
.video h2 { color: var(--accent); font-size: clamp(36px, 4.2vw, 52px); line-height: 1.12; margin-bottom: 18px; }
.video p { margin: 0 0 6px; font-size: 15px; line-height: 1.6; }
.embed { position: relative; aspect-ratio: 16 / 9; background: #111; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer {
  background: var(--lavender); padding: 56px var(--gutter);
  text-align: center; font-size: 14px; line-height: 1.8;
}
.site-footer a { text-underline-offset: 3px; }

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; row-gap: 10px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .wordmark { grid-row: 1; justify-self: start; }
  .contact { padding: 9px 16px; }
  .hero { padding-top: 140px; }
  .home { padding-top: 170px; }
  .home .sections { margin-left: 0; }
  .film { padding: 24px; }
  .names { grid-template-columns: 1fr; padding-top: 120px; }
  .names .panel { margin: -40px 16px 0; }
  .gallery { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; }
  .release figure { order: -1; }
  .video, .video:nth-child(even) { grid-template-columns: 1fr; }
  .video:nth-child(even) .caption { order: 0; }
}
