/* ============================================================
   MEGHAN CHERRY: STYLES
   Colors live in the :root block. Change them there and the
   whole site updates.
   ============================================================ */

:root {
  --ink: #0f1114;          /* page background */
  --ink-soft: #181b20;     /* alternate section background */
  --line: #2a2f37;         /* borders */
  --text: #f3f1ec;         /* main text */
  --muted: #a4a9b3;        /* secondary text */
  --accent: #c41e3a;       /* black cherry: buttons and fills */
  --accent-text: #ff6f85;  /* lighter cherry: text, links, outlines */
  --accent-ink: #ffffff;   /* text on top of accent */
  --accent-deep: #5e0c1d;  /* darker end of gradients */

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-name: "Geo", "Bricolage Grotesque", system-ui, sans-serif;  /* used for your name only */

  --gutter: clamp(20px, 5vw, 72px);
  --radius: 14px;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}

:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(15, 17, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  font-family: var(--font-name);
  font-weight: 400;
  font-size: 1.3rem;
  text-decoration: none;
}
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.nav__links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text); }
.nav__links .nav__cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.nav__links .nav__cta:hover { color: var(--accent-ink); filter: brightness(1.08); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: 110px var(--gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.hero h1 {
  font-family: var(--font-name);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  font-size: clamp(3.4rem, 9.5vw, 8rem);
}
.hero__blurb {
  max-width: 34ch;
  margin: 28px 0 32px;
  font-size: 1.2rem;
  color: var(--muted);
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { color: var(--accent-text); border-color: var(--accent-text); background: transparent; }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--small { padding: 9px 20px; font-size: 0.95rem; }

/* ---------- Slideshow ---------- */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.slideshow__slides {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-soft);
  box-shadow: 0 0 0 1px var(--line), 18px 18px 0 -2px var(--accent);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slideshow__empty {
  display: none;
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.slideshow.is-empty .slideshow__empty { display: block; }
.slideshow.is-empty .slideshow__slides,
.slideshow.is-empty .slideshow__controls { display: none; }

.slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.slideshow__controls > button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.slideshow__controls > button:hover { border-color: var(--accent-text); color: var(--accent-text); }
.slideshow__dots { display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
}
.dot.is-active { background: var(--accent-text); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.section--alt { background: var(--ink-soft); }
.section__head { margin-bottom: 44px; }
.section h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }

/* ---------- Clips ---------- */
.clips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.clip__title { margin: 12px 0 0; font-weight: 500; }
.clip__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.clip__frame iframe,
.clip__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip__placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.03) 14px 28px),
    var(--ink-soft);
}
.clip__placeholder span { display: block; font-size: 2rem; color: var(--accent-text); }

/* ---------- Tour ---------- */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.show {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.show__date { text-align: center; line-height: 1; }
.show__month {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.show__day { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; }
.show__venue { margin: 0; font-weight: 700; font-size: 1.2rem; }
.show__city { margin: 0; color: var(--muted); }
.note { margin: 24px 0 0; color: var(--muted); font-size: 0.95rem; }
.note a { color: var(--accent-text); }

/* ---------- Podcast ---------- */
.podcast {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1000px;
}
.podcast__art {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.podcast__art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.podcast__body p { color: var(--muted); max-width: 52ch; margin: 18px 0 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill-row--center { justify-content: center; margin-top: 40px; }
.pill {
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.pill:hover { border-color: var(--accent-text); color: var(--accent-text); transform: translateY(-2px); }

/* ---------- Appearances ---------- */
.appearances { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.appearances li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
}
.appearances__when { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .section__head { margin-bottom: 28px; }
.contact__lead { margin: 0 0 8px; color: var(--muted); }
.contact__email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 5.4vw, 3rem);
  text-decoration: none;
  color: var(--accent-text);
  border-bottom: 3px solid var(--accent-text);
  overflow-wrap: anywhere;
}
.contact .note { margin-top: 20px; }

/* ---------- Footer ---------- */
.footer {
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.footer p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 96px; }
  .slideshow { max-width: 440px; }
  .slideshow__slides { box-shadow: 0 0 0 1px var(--line), 10px 10px 0 -2px var(--accent); }
  .podcast { grid-template-columns: 1fr; }
  .podcast__art { max-width: 260px; }
}
@media (max-width: 560px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .show { grid-template-columns: 64px 1fr; row-gap: 14px; }
  .show .btn { grid-column: 2; justify-self: start; }
  .show__day { font-size: 2.1rem; }
}

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