/* ============================================
   Mazeen Muneez — Emcee & Voiceover
   Design tokens
   ============================================ */

:root {
  --bg: #faf8f3;
  --bg-sand: #f2efe6;
  --text: #2f2f2a;
  --text-soft: #6b6b63;
  --sage: #8fa47c;
  --sage-deep: #6d8259;
  --divider: #e2ddd0;
  --max-width: 1080px;

  --font-display: 'Libre Caslon Text', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

/* ---------- Nav ---------- */

.nav {
  padding: 28px 0;
  position: sticky;
  top: 0;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(6px);
  z-index: 10;
  border-bottom: 1px solid transparent;
}

.nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 10px;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--sage-deep);
}

@media (max-width: 560px) {
  .nav {
    padding: 20px 0;
  }
  .nav .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nav-links {
    gap: 20px;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 48px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 14ch;
}

.hero p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 0 32px;
}

/* Waveform signature divider — represents the voice itself */

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin: 8px 0 40px;
}

.waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--sage);
  animation: sway 2.4s ease-in-out infinite;
}

.waveform span:nth-child(odd) {
  animation-delay: -1.2s;
}

@keyframes sway {
  0%, 100% { height: 10px; opacity: 0.55; }
  50% { height: 34px; opacity: 1; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--sage-deep);
  color: var(--bg);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--text);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--divider);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}

/* ---------- Section shell ---------- */

section {
  padding: 72px 0;
}

section + section {
  border-top: 1px solid var(--divider);
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 16px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 24px;
}

/* ---------- Bio ---------- */

.bio {
  background: var(--bg-sand);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.bio-photo {
  aspect-ratio: 4 / 5;
  background: var(--divider);
  border-radius: 6px;
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-text p {
  font-size: 17px;
  color: var(--text-soft);
  margin: 0 0 18px;
}

.bio-stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}

.bio-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text);
}

.bio-stat span {
  font-size: 13px;
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Clients ---------- */

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.client-tile {
  background: var(--bg);
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.client-tile img {
  max-height: 110px;
  width: auto;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
  opacity: 0.7;
  mix-blend-mode: multiply;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.client-tile:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.client-tile img.logo-boost {
  transform: scale(1.3);
}

.client-tile img.logo-boost-lg {
  transform: scale(1.58);
}

.client-tile img.logo-shrink {
  transform: scale(0.85);
}

.client-tile span {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* ---------- Reel ---------- */

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--text);
  border-radius: 8px;
  overflow: hidden;
}

.reel-frame iframe,
.reel-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.reel-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-soft);
}

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

.tiktok-frame + .tiktok-frame {
  margin-top: 32px;
}

/* ---------- Audio samples ---------- */

.audio-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.audio-item {
  padding: 20px 24px;
  background: var(--bg-sand);
  border-radius: 8px;
}

.audio-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.audio-item audio {
  width: 100%;
  accent-color: var(--sage-deep);
}

/* ---------- Gallery ---------- */

.gallery-section {
  padding: 72px 0;
  overflow: hidden;
}

.gallery-section .wrap {
  margin-bottom: 32px;
}

.gallery-track-wrap {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: gallery-scroll 45s linear infinite;
}

.gallery-track img {
  height: 280px;
  width: auto;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
  }
  .gallery-track-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .gallery-track img {
    height: 180px;
  }
}

/* ---------- Contact / Footer ---------- */

footer {
  padding: 72px 0 56px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  margin: 0 0 28px;
  max-width: 16ch;
}

.contact-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  font-size: 18px;
}

.contact-list li {
  padding: 14px 0;
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--divider);
}

.contact-list a {
  text-decoration: none;
  color: var(--text);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--sage-deep);
}

.contact-list span:first-child {
  color: var(--text-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: center;
}

.footer-meta {
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}
