/* ============================================================
   Michael Carty Bookings & Artist Management
   Design system: near-black ground, warm ivory text, gold accent
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #121212;
  --bg-3:      #1a1a1a;
  --ivory:     #f4efe6;
  --ivory-dim: #b8b2a6;
  --gold:      #c9a24b;
  --gold-soft: #d9b96a;
  --line:      rgba(244,239,230,0.12);
  --maxw:      1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ----------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  padding: 14px 28px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-solid {
  background: var(--gold);
  color: #14110a;
}
.btn-solid:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
}
.btn-ghost:hover {
  background: rgba(201,162,75,0.12);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

/* ----------------------------- Navbar ----------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 40px; height: 40px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.brand-text span {
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--ivory-dim);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ivory); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ----------------------------- Hero ------------------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 70% 10%, rgba(201,162,75,0.10), transparent 60%),
    linear-gradient(180deg, #0d0d0d, #0a0a0a);
  overflow: hidden;
}
.hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05) brightness(0.55);
  z-index: 0;
}
/* Slideshow stack: 3 layers crossfade beneath the gold overlay */
.hero .slides, .page-hero .slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .slides img, .page-hero .slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.05) brightness(0.6);
  opacity: 0;
  animation: slidefade 18s infinite;
}
.hero .slides img:nth-child(1), .page-hero .slides img:nth-child(1) { animation-delay: 0s; }
.hero .slides img:nth-child(2), .page-hero .slides img:nth-child(2) { animation-delay: 6s; }
.hero .slides img:nth-child(3), .page-hero .slides img:nth-child(3) { animation-delay: 12s; }
@keyframes slidefade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .slides img, .page-hero .slides img { animation: none; opacity: 0; }
  .hero .slides img:nth-child(1), .page-hero .slides img:nth-child(1) { opacity: 1; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 70% 15%, rgba(201,162,75,0.16), transparent 55%),
    linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.70) 45%, rgba(10,10,10,0.35) 100%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(244,239,230,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }

/* Shared brand image treatment: dark music photo + gold-tint overlay,
   so every image reads as one cohesive editorial identity. */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #0a0a0a;
}
.page-hero .ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.05) brightness(0.62);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 75% 20%, rgba(201,162,75,0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.30) 40%, rgba(10,10,10,0.92) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 48px; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-bottom: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
/* Inline framed photo (About, etc.) */
.framed {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.framed img {
  width: 100%;
  display: block;
  filter: grayscale(12%) contrast(1.04) brightness(0.85);
}
.framed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(201,162,75,0.06), rgba(10,10,10,0.20));
  pointer-events: none;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 26px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  font-size: 1.15rem;
  color: var(--ivory-dim);
  max-width: 620px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ----------------------------- Sections --------------------------- */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.about-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-left .about-text { min-width: 0; }
.about-left .about-left-photo { margin-top: 0; }
.about-left .about-left-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(0%) contrast(1.04) brightness(1);
}

.genre-line {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}

.alt { background: var(--bg-2); }

/* Services grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: linear-gradient(160deg, #1f1f1f 0%, var(--bg-3) 60%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--gold), transparent);
  opacity: 0.6;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,75,0.5);
  box-shadow: 0 14px 40px rgba(201,162,75,0.12);
}
.card .num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--ivory-dim); font-size: 0.96rem; }

/* News page: invite image + caption */
.news-img-wrap { margin-top: 22px; }
.news-img-wrap img { max-width: 520px; width: 100%; border-radius: 8px; border: 1px solid var(--line); display: block; }
.news-caption { margin-top: 10px; color: var(--gold); font-family: var(--serif); font-size: 0.9rem; }

/* Featured A1 block (links to Clarence's card) */
.featured-a1 { padding: 36px 0 8px; }
.a1-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(120deg, #141414, #0c0c0c);
  border: 1px solid var(--line, rgba(201,162,75,0.18));
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: var(--ivory);
  transition: border-color .25s ease, transform .25s ease;
}
.a1-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.a1-photo {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
}
.a1-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(8%) contrast(1.04) brightness(0.95); }
.a1-meta .eyebrow { color: var(--gold); }
.a1-meta h2 { font-family: var(--serif); font-size: 2rem; margin: 6px 0 8px; }
.a1-meta p { color: var(--ivory-dim); margin-bottom: 14px; }
@media (max-width: 620px) {
  .a1-card { grid-template-columns: 1fr; }
  .a1-photo { max-width: 240px; }
}

/* Clarence music / Koala City section */
.artist-music { padding: 44px 0 8px; border-top: 1px solid var(--line); }
.music-head { text-align: center; margin-bottom: 28px; }
.music-head .release-date { color: var(--gold); font-family: var(--serif); letter-spacing: .05em; margin-top: 6px; }
.music-body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: start;
}
.album-cover img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.tracklist-label { color: var(--ivory-dim); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 12px; }
.tracks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.track {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.track .t-no { color: var(--gold); font-family: var(--serif); font-size: 1.05rem; }
.track .t-title { color: var(--ivory); font-weight: 600; }
.track audio { width: 230px; max-width: 46vw; height: 34px; }
.music-note { margin-top: 16px; color: var(--ivory-dim); font-size: .85rem; }
.music-note code { color: var(--gold); background: rgba(201,162,75,.12); padding: 1px 6px; border-radius: 4px; }

@media (max-width: 820px) {
  .music-body { grid-template-columns: 1fr; }
  .album-cover { max-width: 320px; margin: 0 auto; }
}

/* Artist roster grid */
.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.artist {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-3);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.artist:hover { transform: translateY(-4px); border-color: rgba(201,162,75,0.5); }
.artist .photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1d1d1d, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
}
.artist .meta { padding: 20px 22px 24px; }
.artist h3 { font-size: 1.25rem; margin-bottom: 4px; }
.artist .genre {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.artist p { color: var(--ivory-dim); font-size: 0.92rem; }
.artist .bio-teaser { margin-top: 8px; line-height: 1.5; font-size: 0.86rem; color: var(--ivory-dim); }
.artist .bio-full { display: none; margin-top: 8px; line-height: 1.5; font-size: 0.86rem; color: var(--ivory-dim); }
.artist .bio-full.open { display: block; }
.read-more {
  display: inline-block;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}
.read-more:hover { color: #e7c97e; }
.artist .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.04) brightness(0.95);
}

/* Forms */
.form-wrap { max-width: 720px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 13px 15px;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* Contact info block */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-item { margin-bottom: 26px; }
.info-item .label {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.info-item .value { font-size: 1.1rem; }

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(201,162,75,0.12), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  text-align: center;
  padding: 72px 30px;
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-banner p { color: var(--ivory-dim); max-width: 560px; margin: 0 auto 32px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 36px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}
.footer .brand-text strong { font-size: 1rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--ivory-dim); font-size: 0.92rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ivory-dim);
  font-size: 0.82rem;
}

/* News list */
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.news-date {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.05rem;
}
.news-item h3 { font-size: 1.35rem; margin-bottom: 8px; }
.news-item p { color: var(--ivory-dim); }
.tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,162,75,0.4);
  border-radius: 2px;
  padding: 3px 9px;
  margin-bottom: 12px;
}

/* Note callout for placeholders */
.note {
  border-left: 3px solid var(--gold);
  background: var(--bg-2);
  padding: 16px 20px;
  color: var(--ivory-dim);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* ----------------------------- Responsive ------------------------- */
@media (max-width: 880px) {
  .grid-3, .roster { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--bg-2);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 28px; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .roster { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  section { padding: 64px 0; }
}
