/* Sam Borrello Music — shared styles (light studio theme) */
:root {
  --bg: #f7f8fa;
  --bg-raised: #eef1f5;
  --bg-card: #ffffff;
  --ink: #16181d;
  --body-c: #3c404a;
  --muted: #767b87;
  --accent: #1b6ca8;      /* logo blue */
  --accent-dark: #155a8c;
  --accent-2: #6d3fc4;    /* purple */
  --grad: linear-gradient(100deg, #2585c9, #6d3fc4);
  --line: #e2e5ea;
  --radius: 14px;
  --radius-btn: 10px;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body-c);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; margin-bottom: .5rem; }
h3 small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: .2rem; }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand:hover { text-decoration: none; }
/* Logo PNG has a white background — multiply blends it into light surfaces. TODO: swap for transparent logo */
.brand img, .brand-mark, footer img { mix-blend-mode: multiply; }
.brand img { height: 40px; width: auto; }
.brand span {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--ink);
}
nav { display: flex; flex-wrap: wrap; gap: .2rem; }
nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--body-c);
  padding: .45rem .85rem;
  border-radius: var(--radius-btn);
  transition: color .15s, background .15s;
}
nav a:hover { color: var(--ink); background: rgba(22, 24, 29, 0.05); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); background: rgba(22, 24, 29, 0.07); }

/* Mobile nav (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  header { position: sticky; }
  .header-inner { position: relative; }
  .nav-toggle { display: flex; }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: .25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 24, 29, 0.08);
    padding: .75rem 24px 1rem;
  }
  header nav.open { display: flex; }
  header nav a { padding: .7rem .85rem; }
}

/* Sections */
section { padding: 4.5rem 0; }
section.tint, section.tint-soft { background: var(--bg-raised); }
.center { text-align: center; }
.lede { max-width: 620px; margin: 0 auto 1.75rem; font-size: 1.02rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  height: min(50vw, 86vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  text-align: center;
  background: #3a352c url("assets/hero.jpg") center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .hero { height: auto; min-height: 72vh; padding: 3rem 0; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 10, 14, 0.25) 0%, rgba(8, 10, 14, 0.45) 55%, rgba(8, 10, 14, 0.82) 100%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.hero .brand-mark { height: 88px; margin: 0 auto 2rem; width: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); }
.hero p.tag {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  margin: 1.1rem 0 2.4rem;
  font-weight: 500;
}
.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  background: var(--accent);
  padding: .78rem 1.6rem;
  border: 0;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover {
  text-decoration: none;
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 108, 168, 0.28);
}
.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #c9cdd6;
}
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* Cards / grids */
.grid { display: grid; gap: 1.25rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(22, 24, 29, 0.04);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(22, 24, 29, 0.08); }
.card p { font-size: .93rem; margin-bottom: 1.25rem; }
/* pin buttons to the card bottom so a row of cards lines up evenly */
.card .btn { margin-top: auto; align-self: flex-start; }

/* Release / work tiles */
.tile { font-size: .88rem; }
.tile .art {
  aspect-ratio: 1;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(37, 133, 201, 0.85), transparent 70%),
    radial-gradient(120% 120% at 85% 85%, rgba(109, 63, 196, 0.75), transparent 70%),
    #23252d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  margin-bottom: .65rem;
  transition: transform .2s, box-shadow .2s;
}
.tile .art.has-img { padding: 0; }
.tile .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile:hover .art { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 24, 29, 0.15); }
.tile strong { color: var(--ink); display: block; line-height: 1.35; font-weight: 600; }
.tile time { color: var(--muted); font-size: .78rem; }
.grid.tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.tiles { grid-template-columns: repeat(2, 1fr); } }

/* Listen pills (platform links) */
.pills { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.pills a {
  background: #fff;
  border: 1px solid #c9cdd6;
  color: var(--ink);
  padding: .5rem 1.1rem;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: .88rem;
  transition: border-color .15s, box-shadow .15s;
}
.pills a:hover {
  text-decoration: none;
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(22, 24, 29, 0.08);
}

/* Photo placeholders (press, page photos) */
.photo {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(37, 133, 201, 0.5), transparent 70%),
    radial-gradient(120% 120% at 85% 85%, rgba(109, 63, 196, 0.4), transparent 70%),
    #3a3d46;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Featured release (horizontal) */
.photo.has-img { padding: 0; overflow: hidden; }
.photo.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Click-to-play video thumbnails */
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #16181d;
  cursor: pointer;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.video-thumb:hover img { transform: scale(1.03); }
.vt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent, #2585c9);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform .2s;
}
.video-thumb:hover .vt-play { transform: translate(-50%, -50%) scale(1.08); }

.feature {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 1.75rem; max-width: 440px; }
}
.feature-info .kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .4rem;
}
.feature-info h2 { margin-bottom: 1.25rem; }
.feature-info .platforms { justify-content: flex-start; }

/* Audio player (self-hosted previews) */
.player {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: .8rem 1rem;
  margin-top: 1rem;
  text-align: left;
}
.player .play {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, box-shadow .15s;
}
.player .play:hover { background: var(--accent-dark); transform: scale(1.06); box-shadow: 0 4px 14px rgba(37, 108, 168, 0.3); }
.player-body { flex: 1; min-width: 0; }
.player-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-note { font-weight: 400; color: var(--muted); font-size: .78rem; }
.seek {
  height: 6px;
  background: var(--bg-raised);
  border-radius: 3px;
  margin-top: .5rem;
  cursor: pointer;
}
.seek-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
}
.player-time {
  flex: none;
  font-size: .8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Streaming platform logo placeholders */
.platforms {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.platforms a {
  width: 64px;
  height: 64px;
  background: var(--bg-raised);
  border: 1px dashed #bfc4cd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .3rem;
  transition: border-color .15s;
}
.platforms a.has-img { border: none; background: none; border-radius: 50%; overflow: hidden; }
.platforms a:hover { border-color: var(--ink); text-decoration: none; }
.platforms a.has-img:hover { transform: translateY(-2px); }
.platforms a span { font-size: .55rem; line-height: 1.25; color: var(--muted); font-weight: 500; }
.platforms a img { width: 100%; height: 100%; object-fit: contain; }

/* Video / embed placeholders */
.embed {
  aspect-ratio: 16 / 9;
  background: var(--bg-raised);
  border: 1px dashed #bfc4cd;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: .9rem;
}

/* Titles under videos (media page) */
.embed + h3 { margin: .65rem 0 0; text-align: center; }

/* Forms */
form.contact { display: grid; gap: 1.1rem; max-width: 560px; }
form.contact label { font-weight: 500; color: var(--ink); font-size: .9rem; }
form.contact input, form.contact textarea {
  width: 100%;
  padding: .75rem .9rem;
  background: #fff;
  border: 1px solid #c9cdd6;
  border-radius: var(--radius-btn);
  color: var(--ink);
  font: inherit;
  margin-top: .35rem;
  transition: border-color .15s, box-shadow .15s;
}
form.contact input:focus, form.contact textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 133, 201, 0.15);
}
form.contact textarea { min-height: 140px; resize: vertical; }

/* Newsletter signup */
.signup { background: var(--bg-raised); }
.signup-form {
  display: flex;
  gap: .8rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input {
  flex: 1;
  min-width: 220px;
  padding: .75rem .9rem;
  background: #fff;
  border: 1px solid #c9cdd6;
  border-radius: var(--radius-btn);
  color: var(--ink);
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.signup-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 133, 201, 0.15);
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
  font-size: .9rem;
  text-align: center;
  color: var(--muted);
}
footer a { color: var(--body-c); }
footer .pills { margin: 1.4rem 0; }
footer img { height: 38px; margin: 0 auto 1.2rem; }

/* Page intro band */
.page-head {
  text-align: center;
  padding: 4.5rem 0 2.5rem;
  background:
    radial-gradient(520px 280px at 15% 0%, rgba(37, 133, 201, 0.08), transparent 70%),
    radial-gradient(520px 280px at 85% 0%, rgba(109, 63, 196, 0.06), transparent 70%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2rem, 4.2vw, 2.8rem); }
.page-head nav { margin-top: 1.25rem; justify-content: center; }
@media (max-width: 720px) {
  .page-head { padding: 2.5rem 0 1.6rem; }
  .page-head h1 { font-size: 1.9rem; }
  .page-head nav { margin-top: .6rem; gap: .1rem; }
  .page-head nav a { font-size: .85rem; padding: .3rem .6rem; }
}

/* Utility */
.note {
  background: #fff8e1;
  border: 1px dashed #d4a017;
  border-radius: var(--radius-btn);
  padding: .6rem .9rem;
  font-size: .8rem;
  color: #6b5310;
  margin: 1rem auto;
  max-width: 640px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .tile .art { transition: none; }
}
