/* ================================================================
   Shirley McQueen VoiceTalent Services
   Palette: Espresso #1E1612 · Bordeaux #7B2335 · Cream #F8F3EC
   Fonts: Fraunces (display) · Open Sans (body/ui)
   ================================================================ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --espresso:  #1E1612;
  --bordeaux:  #7B2335;
  --accent:    #F8F3EC;
  --cream:     #F8F3EC;
  --text:      #1E1612;
  --nav-h:     64px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Open Sans', Arial, sans-serif; color: var(--text); background: var(--cream); line-height: 1.6; }
.fraunces { font-optical-sizing: auto; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Shared helpers ──────────────────────────────────────────── */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity  0.85s var(--ease) var(--delay, 0s),
    transform 0.85s var(--ease) var(--delay, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ── Navigation ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.4s ease;
}
.site-header.scrolled { background: var(--espresso); }

.site-header nav {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { flex-shrink: 0; transition: opacity 0.4s; display: flex; align-items: center; gap: 0.6rem; }
.nav-logo img { height: 34px; width: auto; }
.nav-crown { height: 22px !important; width: auto; opacity: 0.7; filter: brightness(0) invert(1); }
.home .nav-logo { opacity: 0; pointer-events: none; }
.home .site-header.scrolled .nav-logo { opacity: 1; pointer-events: auto; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
}
.nav-links li { height: 100%; display: flex; align-items: stretch; }
.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F8F3EC;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 14px; left: 0.85rem; right: 0.85rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #F8F3EC;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero (homepage) ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 54% 46%;
  background: var(--espresso);
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--nav-h) + 5rem) 5% 6rem 8%;
  position: relative;
  z-index: 2;
}
.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-bottom: 2.5rem;
}
.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1.8rem;
}
.hero-portrait { display: none; }
.hero-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 3rem;
  line-height: 1.4;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F8F3EC;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.35rem;
  width: fit-content;
  transition: color 0.3s, gap 0.3s;
}
.hero-cta:hover { color: var(--accent); text-decoration: none; gap: 0.9rem; }

.hero-image { position: relative; overflow: hidden; }
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--espresso) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  will-change: transform;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollCue 2.4s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  60%  { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ── Credentials strip (homepage) ───────────────────────────── */
.credentials-strip {
  background: var(--bordeaux);
  padding: 1.15rem 2rem;
  text-align: center;
}
.credentials-strip p {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #F8F3EC;
}

/* ── Crown divider ───────────────────────────────────────────── */
.crown-divider {
  background: var(--cream);
  text-align: center;
  padding: 3.5rem 0 1rem;
}
.crown-icon {
  display: inline-block;
  width: 56px;
  height: auto;
  opacity: 0.18;
}

/* ── Work section (homepage) ─────────────────────────────────── */
.work { background: var(--cream); padding: 0 2rem; }
.work-inner { max-width: 1160px; margin: 0 auto; }

.work-row {
  display: grid;
  grid-template-columns: 2.8rem 1fr auto 1.8rem;
  align-items: center;
  gap: 0 2.5rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid rgba(30,22,18,0.11);
  text-decoration: none;
  transition: background 0.25s;
}
.work-row:first-child { border-top: 1px solid rgba(30,22,18,0.11); }

.work-num {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bordeaux);
  align-self: start;
  padding-top: 0.5rem;
}
.work-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--espresso);
  line-height: 1.05;
  transition: color 0.3s var(--ease);
}
.work-desc {
  font-size: 0.85rem;
  color: #5a5248;
  line-height: 1.72;
  max-width: 300px;
}
.work-arrow {
  font-size: 1.3rem;
  color: var(--bordeaux);
  transition: transform 0.35s var(--ease), color 0.25s;
}
.work-row:hover .work-title { color: var(--bordeaux); }
.work-row:hover .work-arrow { transform: translateX(7px); }

/* ── Contact section (homepage) ──────────────────────────────── */
.contact-section {
  position: relative;
  background: var(--espresso);
  background-image: url('../assets/microphone-bg.png');
  background-size: cover;
  background-position: center 30%;
  padding: 9rem 2rem;
  text-align: center;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,22,18,0.82);
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.contact-section .section-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: #F8F3EC;
  margin-bottom: 2.5rem;
  line-height: 1.1;
}
.contact-section .mailto-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #F8F3EC;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.3rem;
  transition: color 0.3s;
}
.contact-section .mailto-link:hover { color: var(--accent); }
.contact-brand {
  margin-top: 2.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,243,236,0.45);
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--espresso);
  border-top: 1px solid rgba(248,243,236,0.15);
  padding: 2rem 2rem 2.5rem;
  text-align: center;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.footer-inner a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,243,236,0.6);
  transition: color 0.2s;
}
.footer-inner a:hover { color: var(--accent); }
.footer-sep { color: rgba(248,243,236,0.3); }
.footer-copy { font-size: 0.65rem; color: rgba(248,243,236,0.28); letter-spacing: 0.06em; }

/* ── Inner pages: page hero ──────────────────────────────────── */
.page-hero {
  background: var(--espresso);
  padding: calc(var(--nav-h) + 5rem) 2rem 4.5rem;
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 1px;
  background: var(--accent);
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  font-style: italic;
  color: #F8F3EC;
  line-height: 1.05;
}

/* ── Inner pages: content ────────────────────────────────────── */
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

/* ── Resume ──────────────────────────────────────────────────── */
.resume-intro {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 3.5rem;
}
.resume-section { margin-bottom: 3.5rem; }
.resume-section h3 {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(123,35,53,0.2);
}
.credit-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.credit-table td {
  padding: 0.45rem 0.6rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(30,22,18,0.06);
}
.credit-table td:first-child { font-weight: 600; width: 38%; }
.credit-table td:nth-child(2) { width: 24%; color: #5a5248; }
.credit-table td:nth-child(3) { color: #5a5248; }
.credit-list { list-style: none; }
.credit-list li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(30,22,18,0.06);
  line-height: 1.65;
}

/* ── Voice demos ─────────────────────────────────────────────── */
.demos-section { margin-bottom: 4rem; }
.demos-section .section-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 0.3rem;
}
.demos-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 400;
  font-style: italic;
  color: var(--espresso);
  margin-bottom: 0.4rem;
}
.demos-section .subtitle { font-size: 0.85rem; color: #5a5248; margin-bottom: 1.5rem; }
.youtube-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.youtube-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ── Celebrity interviews ────────────────────────────────────── */
.mixcloud-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 2rem;
  background: var(--bordeaux);
  color: #F8F3EC;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s;
}
.mixcloud-link:hover { background: var(--espresso); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .work-row { grid-template-columns: 2.2rem 1fr 1.4rem; gap: 0 1.5rem; }
  .work-desc { display: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; z-index: 210; }
  .home .site-header { background: rgba(30,22,18,0.4); backdrop-filter: blur(4px); }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--espresso);
    padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(248,243,236,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    height: auto;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { height: auto; }
  .nav-links a { padding: 0.85rem 2rem; font-size: 0.78rem; }
  .nav-links a::after { display: none; }
  .nav-logo img { height: 28px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }
  .hero-content {
    padding: calc(var(--nav-h) + 3rem) 2rem 4.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .hero-logo { max-width: 72vw; margin-left: auto; margin-right: auto; display: block; }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-image {
    display: none;
  }
  /* circle portrait injected before logo on mobile */
  .hero-portrait {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 2px solid rgba(248,243,236,0.25);
    margin: 0 auto 2rem;
    align-self: center;
  }
  .home .site-header { background: rgba(30,22,18,0.4); backdrop-filter: blur(4px); }
  .scroll-cue { display: none; }

  .work { padding: 0 1.5rem; }
  .work-row { grid-template-columns: 2rem 1fr 1.2rem; gap: 0 1rem; padding: 2rem 0; }
  .work-title { font-size: 1.7rem; }
  .contact-section { padding: 6rem 1.5rem; }
  .page-hero { padding: calc(var(--nav-h) + 3.5rem) 1.5rem 3.5rem; }
  .page-content { padding: 3rem 1.5rem 4rem; }

  .credit-table td { display: block; padding: 0.2rem 0; border: none; width: 100% !important; }
  .credit-table tr { display: block; border-bottom: 1px solid rgba(30,22,18,0.08); padding: 0.7rem 0; }
  .credit-table td:first-child { font-weight: 700; font-size: 0.9rem; }
}
