
:root {
  --bg: #0a0a0a;
  --fg: #eaeaea;
  --muted: #9a9a9a;
  --accent: #ffffff;
  --card: #141414;
  --border: #222;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; }

.container { width: min(1120px, 92vw); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10,10,10,.9); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.site-header .container { display:flex; align-items:center; justify-content:space-between; padding: 14px 0; }
.brand { font-size: 24px; letter-spacing: .12em; margin: 0; }
.nav a { color: var(--fg); text-decoration: none; margin-left: 16px; font-size: 14px; opacity: .85; }
.nav a:hover { opacity: 1; }

.hero { position: relative; height: 72vh; min-height: 420px; border-bottom: 1px solid var(--border); }
/*.hero-img { object-fit: cover; object-position: center 25%; width: 100%; height: 100%; filter: contrast(1.05) saturate(0); opacity: .85; }*/
.hero-overlay { position: absolute; inset: 0; display:grid; place-items:center; text-align:center; padding: 0 16px; }
.hero-title { font-size: clamp(28px, 5vw, 48px); letter-spacing:.08em; margin-bottom: 18px; }
.link-row { display:flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn { background: var(--accent); color: #000; border: 1px solid var(--accent); padding: 10px 16px; border-radius: 999px; text-decoration:none; font-weight:600; font-size:14px; }
.btn:hover { filter: brightness(.9); }
.btn.outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.small { font-size: 12px; padding: 8px 12px; }

.content { padding: 48px 0 72px; }
h3 { font-size: 22px; letter-spacing:.08em; margin: 0 0 16px; }
.embeds { display: grid; gap: 16px; }

.shows { display: grid; gap: 12px; }
.show-card { display:flex; align-items:center; justify-content:space-between; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.show-date { font-weight:700; }
.show-venue { color: var(--muted); font-size: 14px; margin-top: 4px; }
.show-actions { display:flex; gap: 8px; }

.merch-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--card); border:1px solid var(--border); border-radius: 14px; padding: 14px; display:flex; flex-direction:column; gap:10px; }
.card h4 { margin: 0; font-size: 16px; letter-spacing:.06em; }
.price { color: var(--muted); font-size: 14px; }
.card .actions { margin-top: auto; display:flex; gap:8px; }

.email-form { display:flex; gap:8px; max-width: 520px; }
.email-form input { flex: 1; background: #0f0f0f; border:1px solid var(--border); color: var(--fg); padding: 10px 12px; border-radius: 10px; }
.email-form button { white-space: nowrap; }

.muted { color: var(--muted); font-size: 14px; }

.site-footer { border-top:1px solid var(--border); padding: 18px 0; }
.site-footer .container { display:flex; align-items:center; justify-content:space-between; }
.to-top { color: var(--muted); text-decoration:none; }

/* Apple Music embed responsive height fix */
.apple-embed {
  height: 352px !important; /* default height for mobile/small screens */
}

/* On wider screens, make it taller so no scrollbar appears */
@media (min-width: 900px) {
  .apple-embed {
    height: 450px !important;
  }
}

/* Remove any default iframe borders */
.embeds iframe {
  border: 0;
}

/* === Music Embed Styling === */
/* Adds space between music panels + subtle fade to separate them visually */

.embeds iframe {
  border: 0;                     /* removes default iframe border */
  margin-bottom: 32px;           /* space below each embed panel */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); /* subtle shadow for depth */
  border-radius: 12px;           /* match rounded corners from hero buttons */
}

/* Remove extra space after the very last panel */
.embeds iframe:last-child {
  margin-bottom: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.3rem; /* reduce gap between title and subtitle */
}

/* Hero subtitle styling */
.hero-subtitle {
  display: block;              /* forces it to a new line */
  font-size: 1.2rem;              /* smaller than main title */
  font-style: italic;
  font-weight: 400;             /* lighter weight for subtle look */
  opacity: 0.85;                /* slightly muted */
  margin-top: 6px;              /* space above the subtitle */
}

.hero-overlay {
    position: absolute;
    top: 55%; /* lower text */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

@media (max-width: 768px) {
    .hero-overlay {
        top: 58%; /* slightly lower to account for taller images on mobile */
    }
}

/* === Center Apple Music embed on the page === */
/* Works whether the parent is grid or not */
.centered-embed {
  display: block;          /* makes margin auto work */
  margin: 0 auto;          /* centers horizontally */
}

/* Heading styling */
.embed-heading {
  text-align: center;
  font-size: 1.5rem;
  margin: 16px 0;
}

/* Button styling */
.apple-btn {
  display: block;
  text-align: center;
  margin: 12px auto 32px;
  padding: 10px 18px;
  background-color: #fa243c;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  max-width: 200px;
  transition: background-color 0.2s ease-in-out;
}

.apple-btn:hover {
  background-color: #c81d30;
}

/* If you want a touch more breathing room above/below on desktop */
@media (min-width: 900px) {
  .centered-embed { margin: 8px auto 32px; }
}


/* Center Apple embed block */
.centered-embed { display: block; margin: 0 auto; }

/* Heading above Apple embed */
.embed-heading { text-align: center; font-size: 1.5rem; margin: 16px 0; }

/* Responsive Apple height: compact on mobile, taller on desktop (no scrollbar) */
.apple-embed { height: 352px !important; }          /* mobile/small */
@media (min-width: 900px) {
  .apple-embed { height: 450px !important; }        /* desktop */
}

/* === Hero video background === */
.hero {               /* keep your existing height settings */
  position: relative; /* required so the video can sit behind the overlay */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;                /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fills like background-size: cover */
  object-position: center 56%; /* keep your face framed similar to the image */
  /* filter: contrast(1.05) saturate(0); /* keep the monochrome vibe */
  opacity: 0.85;           /* same as your hero image */
  z-index: 0;
}

/* Make sure overlay sits above the video (keep your other overlay rules) */
.hero-overlay { z-index: 1; position: absolute; }

/* MOBILE TWEAKS SECTION */
/* === Mobile tweaks (≤ 768px) — keeps desktop unchanged === */
@media (max-width: 768px) {
  /* Use the small viewport height on iOS; keep a minimum */
  .hero { height: 100svh; min-height: 560px; }

  /* Nudge the video framing for phones */
  .hero-video { object-position: center 62%; }

  /* Center block a bit lower + add side padding */
  .hero-overlay { top: 60%; padding: 0 16px; }

  /* Title & subtitle scale down on phones */
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    margin-bottom: 0.25rem; /* tighter gap to subtitle */
  }
  .hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 2px;
  }

  
  /* Buttons: wrap nicely on two lines if needed */
  .link-row {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  /* Header spacing / nav sizing on mobile */
  .site-header .container { padding: 12px 16px; }
  .brand { font-size: 1.25rem; }
  .nav a { font-size: 0.95rem; margin-left: 12px; }

  /* Music section headings + Apple height on phones */
  .embed-heading { font-size: 1.25rem; margin: 12px 0; }
  .apple-embed { height: 320px !important; }
}

/* Default (desktop): keep title parts on one line */
.title-seg { display: inline; }

/* === Mobile layout (≤ 768px) — desktop unchanged === */
@media (max-width: 768px) {
  /* 1) Shift hero block a bit UP (more centered) */
  .hero-overlay { top: 54%; }   /* try 53–55% to taste */

  /* 2) Force title to two lines on mobile only */
  .title-seg { 
    display: block;             /* NEWFACE* 2  /  OUT NOW */
    line-height: 1.05;
  }

  /* Optional: small type tuning */
  .hero-title { font-size: clamp(2.2rem, 8.5vw, 3rem); }
  .hero-subtitle { font-size: 1rem; margin-top: 4px; }

  /* 3) Buttons: Spotify + Apple on one line, Instagram below */
  .link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .link-row .btn:nth-child(1),
  .link-row .btn:nth-child(2) {
    flex: 1 1 calc(50% - 12px);   /* side-by-side */
  }
  .link-row .btn:nth-child(3) {
    flex: 1 1 100%;               /* full row under */
  }
  .btn { padding: 10px 16px; font-size: 0.95rem; }
}


/* === Mobile navbar tweaks === */
@media (max-width: 768px) {
  /* Reduce top/bottom padding so nav bar is slimmer */
  nav {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* Logo closer to menu items */
  nav .logo {
    margin-right: 12px;
  }

  /* Menu links slightly smaller & spaced tighter */
  nav ul li a {
    font-size: 0.9rem;
    margin: 0 6px;
  }

  /* Optional: keep everything vertically centered */
  nav ul {
    align-items: center;
  }
}

.btn {
  display: flex;              /* Use flexbox for alignment */
  align-items: center;        /* Center vertically */
  justify-content: center;    /* Center horizontally */
  height: 50px;               /* Keep the bubble height consistent */
  padding: 0 20px;            /* Space on sides */
  border-radius: 25px;        /* Rounded bubble look */
  font-size: 16px;            /* Adjust text size */
  text-decoration: none;      /* Remove underline */
}

/* === Mobile-only: tiny left shift to visually center the hero text === */
@media (max-width: 768px) {
  /* Make sure we explicitly center from the middle, then over-correct a bit left */
  .hero-overlay {
    left: 50%;
    transform: translate(-49%, -50%);  /* was -50% — try -53% for a ~3% left shift */
  }

  /* Optional: if side padding makes it feel right-heavy, keep it symmetric & small */
  .hero-overlay { padding: 0 14px; }
}

/* Mobile-only title adjustment */
@media (max-width: 768px) {
  .hero-title { /* Replace with your actual class for NEWFACE 2 */
    font-size: 1.4rem; /* Shrink until it fits one line */
    white-space: nowrap; /* Prevent line break */
    text-align: center; /* Keep it centered with your shift */
  }
}

/* Subtle success/error look for the form status */
#formStatus { min-height: 1.2em; }

/* BEATS */
#beats .beat-card { border:1px solid #222; border-radius:12px; padding:16px; margin-bottom:16px; }
#beats .row { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
#beats .buttons { display:flex; gap:8px; flex-wrap:wrap; }
#beats .buttons button[disabled] { opacity:0.45; cursor:not-allowed; }
#beats audio { width:100%; margin-top:10px; }
