/* Adam El Mouna — palette drawn from the press photos:
   warm sienna backdrop, ink black, warm cream. */
:root {
  --sienna: #9a5a2b;
  --sienna-deep: #7f4820;
  --cream: #f6efe3;
  --ink: #13110f;
  --max-width: 1080px;
  --font-display: "Syne", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(19, 17, 15, 0.08);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  min-height: min(88vh, 820px);
  padding: 3rem 1.5rem;
  background: var(--sienna);
  color: var(--cream);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Warm tint keeps the name and buttons legible over the footage */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(110, 58, 21, 0.78) 0%, rgba(19, 17, 15, 0.45) 55%, rgba(19, 17, 15, 0.65) 100%);
}

/* With the video running, the still photo and line art step aside;
   both come back for reduced-motion visitors. */
.hero.has-video .hero-photo,
.hero.has-video .hero-art {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero.has-video .hero-photo { display: block; }
  .hero.has-video .hero-art { display: block; }
}

.hero-art {
  position: absolute;
  inset: 0;
  color: rgba(246, 239, 227, 0.16);
  pointer-events: none;
}

.hero-art svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  justify-self: end;
  padding-left: clamp(1rem, 6vw, 6rem);
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-tagline {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--ink);
  color: var(--cream);
}

.btn-outline {
  border: 1px solid var(--cream);
  color: var(--cream);
}

.btn-outline:hover { background: var(--cream); color: var(--ink); }

.hero-photo {
  position: relative;
  justify-self: center;
  align-self: end;
  max-width: 420px;
  width: 100%;
}

.hero-photo img {
  border-radius: 16px 16px 0 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Photo slots hide themselves until real photos are added (see assets/README). */
figure.missing { display: none; }

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head { margin-bottom: 2.5rem; }

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
}

.section-sub { margin-top: 0.75rem; opacity: 0.75; max-width: 46ch; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-text .lede {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.about-text p + p { margin-top: 1rem; }

.about-photo img {
  border-radius: 16px;
  box-shadow: 12px 12px 0 var(--sienna);
}

/* Vidéo */
.video {
  border-top: 1px solid rgba(19, 17, 15, 0.1);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--sienna);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tour */
.tour {
  border-top: 1px solid rgba(19, 17, 15, 0.1);
}

.bit-wrap { min-height: 200px; }

.tour-fallback {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Music */
.music { border-top: 1px solid rgba(19, 17, 15, 0.1); }

.music-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.music-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.music-card:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.photo-strip img { border-radius: 16px; }

/* Réseaux */
.social {
  border-top: 1px solid rgba(19, 17, 15, 0.1);
}

.tiktok-wrap {
  display: flex;
  justify-content: center;
}

.tiktok-wrap .tiktok-embed {
  margin: 0 auto;
}

.social-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-dark-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Contact */
.contact {
  border-top: 1px solid rgba(19, 17, 15, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.contact-grid h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.contact-grid a { text-underline-offset: 4px; }

.social-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(19, 17, 15, 0.1);
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 1rem 1.5rem; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 0;
  }

  /* With the video running, the mobile hero goes full-screen and keeps
     breathing room below the buttons. */
  .hero.has-video {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 4rem;
    align-items: center;
  }

  .hero-inner { justify-self: start; padding-left: 0; }

  .about-grid { grid-template-columns: 1fr; }

  .photo-strip { grid-template-columns: 1fr; }
}
