/* ==========================================================
   JENNIFER ANNE SCOTT — site styles
   ========================================================== */
:root {
  --header-bg: #a6a6a6;
  --header-text: #4a4a4a;
  --accent: #d66b32;
  --text: #1d1e20;
  --muted: #565656;
  --footer-bg: #555555;
  --btn-bg: #4a4a4a;
  --font-display: "Oswald", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600; font-size: 26px;
  color: var(--header-text);
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 44px; }
.nav a {
  font-family: var(--font-display);
  font-weight: 400; font-size: 21px;
  color: var(--header-text);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s;
}
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; border-bottom-color: #fff; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; color: var(--header-text); }

/* ---------- Layout ---------- */
main { flex: 1; width: 100%; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Home ---------- */
.home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.home-hero img { display: block; width: 100%; height: auto; }
.home-copy { padding: 60px 48px 80px; }
.home-copy h1 {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(44px, 6vw, 64px);
  line-height: 1.15;
  color: var(--accent);
}
.home-copy .tagline {
  font-family: var(--font-display);
  font-weight: 400; font-size: 20px;
  color: var(--muted);
  margin: 24px 0 8px;
  letter-spacing: .02em;
}
.home-copy p { margin-bottom: 22px; color: #3a3a3a; }

/* ---------- Section headings ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(34px, 5vw, 52px);
  margin: 50px 0 24px;
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 120px; margin: 40px 0 10px; }
.btn {
  display: inline-block;
  background: var(--btn-bg); color: #fff;
  font-family: var(--font-display); font-size: 16px;
  text-decoration: none; text-align: center;
  padding: 12px 22px; min-width: 200px;
  transition: background .2s;
}
.btn:hover { background: var(--accent); }

/* ---------- Resume ---------- */
.resume { max-width: 900px; margin: 0 auto; padding: 30px 20px 60px; font-family: Arial, sans-serif; color: #222; }
.resume h1, .resume h2 { font-family: Georgia, serif; margin-bottom: 5px; }
.resume h1 { font-size: 32px; }
.resume h2 { font-size: 24px; }
.resume .section { margin-bottom: 2em; }
.credits-table { width: 100%; border-collapse: collapse; margin-top: .5em; }
.credits-table th, .credits-table td {
  border-bottom: 1px solid #ccc;
  padding: 6px 8px; text-align: left; font-size: .95em;
}
.credits-table th { background: #f4f4f4; }
.resume ul { padding-left: 1.3em; }
.table-wrap { overflow-x: auto; }

/* ---------- Portfolio ---------- */
.headshots { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.headshots img, .headshots-more img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; aspect-ratio: 2 / 3; }
.headshots .feature { grid-row: span 2; aspect-ratio: auto; }
.headshots-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.seen-on { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-bottom: 70px; }
.seen-on figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.seen-on figcaption {
  font-family: var(--font-display); font-size: 20px;
  margin-top: 8px; text-align: center;
}
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.9);
  display: none; align-items: center; justify-content: center; padding: 20px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; width: auto; }
.zoomable { cursor: zoom-in; }

/* ---------- Video ---------- */
.video-wrap { max-width: 820px; margin: 60px auto 80px; aspect-ratio: 16 / 9; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Voice over ---------- */
.demos { max-width: 600px; margin: 50px auto 80px; display: grid; gap: 50px; text-align: center; }
.demos h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin-bottom: 14px; }
.demos audio { width: 100%; }
.demos { margin-bottom: 50px; }
.voice-desc { max-width: 700px; margin: 50px auto 0; padding: 0 20px; text-align: center; }
.voice-desc h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin-bottom: 10px; }
.voice-desc p { font-size: 18px; color: #3a3a3a; line-height: 1.6; }
.studio { width: calc(100% - 32px); max-width: 700px; margin: 10px auto 70px; padding: 28px 24px; text-align: center; background: #f4f4f4; border-radius: 6px; }
.studio h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin-bottom: 10px; }
.studio p { font-size: 18px; color: #3a3a3a; }
.clients { max-width: 1000px; margin: 0 auto 60px; padding: 0 16px; text-align: center; }
.clients h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin-bottom: 20px; }
.client-logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; }
.client-logos li { display: flex; align-items: center; justify-content: center; }
.client-logos img { display: block; width: auto; height: auto; max-width: 240px; max-height: 130px; }
.client-logos img.invert { filter: invert(1); }
.client-logos img.round { border-radius: 50%; }
@media (max-width: 900px) {
  .client-logos { gap: 20px 26px; }
  .client-logos img { max-width: 140px; max-height: 84px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 20px 0 80px; }
.contact-grid h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6vw, 58px); line-height: 1.1; margin-top: 30px; }
.contact-grid h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-top: 16px; }
.contact-grid p { font-family: var(--font-display); font-weight: 300; font-size: 16px; }
.contact-grid a { color: inherit; }
.contact-grid img { margin-top: 70px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #fff; padding: 40px 24px; }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px;
}
.footer-contact { font-family: var(--font-display); font-size: 15px; line-height: 1.5; text-align: center; max-width: 260px; }
.footer-contact a { text-decoration: none; }
.footer-right { text-align: center; }
.socials { display: flex; justify-content: center; gap: 28px; margin-bottom: 18px; }
.socials a { color: #fff; opacity: .9; transition: opacity .2s; }
.socials a:hover { opacity: 1; color: var(--accent); }
.socials svg { width: 40px; height: 40px; display: block; }
.copyright { font-size: 13px; letter-spacing: .03em; }

/* ---------- Phones / tablets ---------- */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--header-bg);
    flex-direction: column; align-items: center; gap: 14px;
    padding: 18px 0 24px;
  }
  .nav.open { display: flex; }
  .home-hero, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .home-copy { padding: 36px 16px 56px; }
  .headshots, .headshots-more { grid-template-columns: 1fr 1fr; }
  .headshots .feature { grid-column: span 2; grid-row: auto; }
  .footer-contact { margin: 0 auto; }
  .container { padding: 0 16px; }
  .contact-grid img { margin-top: 0; }
  .btn-row { gap: 16px; }
}
