/* ============================================================
   The Voice Over Engineer — site styles
   Edit colours, fonts and spacing here in one place.
   ============================================================ */

:root {
  --bg:        #0f1115;   /* page background */
  --bg-soft:   #171a21;   /* cards / sections */
  --bg-soft-2: #1f232c;
  --text:      #e7e9ee;   /* main text */
  --text-dim:  #aab0bd;   /* secondary text */
  --accent:    #e0b14a;   /* gold — buttons, highlights */
  --accent-2:  #f0c97a;   /* lighter gold */
  --line:      #2a2f3a;   /* borders */
  --max:       1080px;    /* content width */
  --radius:    14px;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,17,21,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.nav .logo img { height: 38px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 28px; }
.nav ul a {
  color: var(--text-dim); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.nav ul a:hover, .nav ul a.active { color: var(--text); text-decoration: none; }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 66px; right: 0; left: 0;
    flex-direction: column; gap: 0; background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
  }
  .nav ul.open { display: flex; }
  .nav ul li { border-top: 1px solid var(--line); }
  .nav ul a { display: block; padding: 16px 24px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #1a1400;
  font-weight: 700; padding: 13px 26px; border-radius: 999px;
  letter-spacing: 0.02em; transition: transform .12s ease, filter .12s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 92px 24px 72px;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(224,177,74,0.10), transparent 60%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800;
  letter-spacing: -0.02em; max-width: 16ch; margin: 0 auto 18px;
}
.hero p.kicker {
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 22px;
}
.hero p.sub { color: var(--text-dim); max-width: 60ch; margin: 0 auto 30px; font-size: 1.1rem; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
section.block h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
section.block h2.center, .center { text-align: center; }
.lead { color: var(--text-dim); font-size: 1.08rem; max-width: 65ch; }
.muted { color: var(--text-dim); }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* services grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; font-weight: 600;
}
.card span { display: block; color: var(--accent); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 6px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Audio reels ---------- */
.reel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.reel .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.reel h3 { font-size: 1.1rem; font-weight: 700; }
.reel .tag { color: var(--accent); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.reel audio { width: 100%; }
.reel-group { margin-top: 8px; }
.reel-group + .reel-group { margin-top: 40px; }

/* ---------- Video grid ---------- */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }
.video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Credits ---------- */
.roles { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 34px; }
.roles span { background: var(--bg-soft-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.9rem; }
.credits { columns: 2; column-gap: 40px; }
@media (max-width: 640px) { .credits { columns: 1; } }
.credits li { break-inside: avoid; list-style: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.credits li .work { font-weight: 600; }
.credits li .kind { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- Contact form ---------- */
.form { max-width: 560px; margin: 0 auto; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 6px; letter-spacing: 0.02em; }
.form input, .form textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: 13px 14px; font: inherit;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { width: 100%; border: 0; cursor: pointer; font-size: 1rem; }

/* ---------- CTA strip ---------- */
.cta { text-align: center; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 24px; }

/* ---------- Footer ---------- */
footer.site { padding: 40px 24px; text-align: center; color: var(--text-dim); font-size: 0.9rem; }
footer.site .up { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; margin-bottom: 8px; }

/* ---------- Color-coded voice styles (portfolio) ---------- */
:root {
  --style-warm:      #ff8c42;  /* Warm */
  --style-punchy:    #ef5350;  /* Punchy */
  --style-deep:      #4ea3ff;  /* Deep */
  --style-talkative: #2bd4a0;  /* Talkative */
  --style-poetry:    #b07cff;  /* Audiobook / Poetry */
}
/* colored left edge on each demo card */
.reel.warm      { border-left: 4px solid var(--style-warm); }
.reel.punchy    { border-left: 4px solid var(--style-punchy); }
.reel.deep      { border-left: 4px solid var(--style-deep); }
.reel.talkative { border-left: 4px solid var(--style-talkative); }
.reel.poetry    { border-left: 4px solid var(--style-poetry); }
/* matching pill for the style label */
.tag.warm, .tag.punchy, .tag.deep, .tag.talkative, .tag.poetry {
  border-radius: 999px; padding: 3px 11px; color: #1a1a1a; font-weight: 800;
}
.tag.warm      { background: var(--style-warm); }
.tag.punchy    { background: var(--style-punchy); }
.tag.deep      { background: var(--style-deep); }
.tag.talkative { background: var(--style-talkative); }
.tag.poetry    { background: var(--style-poetry); }

/* small legend above the demo grid */
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 20px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-dim); }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ---------- Tabs (credits page) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 26px; border-bottom: 1px solid var(--line); }
.tab-btn {
  background: transparent; border: 0; color: var(--text-dim); font: inherit; font-weight: 600;
  padding: 12px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
  letter-spacing: 0.01em;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .credits { margin-top: 4px; }

/* ---------- Audiobooks credits (grouped by author) ---------- */
.audio-intro { color: var(--text-dim); font-size: 0.95rem; margin: 2px 0 22px; max-width: 70ch; }
.audio-credits { columns: 2; column-gap: 44px; margin-top: 4px; }
@media (max-width: 640px) { .audio-credits { columns: 1; } }
.author-block { break-inside: avoid; margin-bottom: 22px; }
.author-block .author { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.author-block .series { color: var(--text-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.author-block ul { list-style: none; }
.author-block li { padding: 4px 0; color: var(--text-dim); line-height: 1.4; }
.author-block li a { color: var(--accent); }
.author-block li.nolink { color: var(--text); }

/* ---------- Testimonials / social proof ---------- */
.trust { text-align: center; color: var(--text-dim); font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 30px; }
.trust strong { color: var(--accent); font-weight: 700; }
.trust .dot { opacity: 0.5; margin: 0 10px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }
.quote {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column;
}
.quote p { font-size: 1rem; line-height: 1.55; color: var(--text); }
.quote .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.9rem; }
.quote .who { margin-top: 16px; color: var(--text-dim); font-size: 0.85rem; font-weight: 600; }

/* ---------- Studio / spec sheet ---------- */
.specs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.specs > div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.specs > div:last-child { border-bottom: 0; }
.specs .k { color: var(--text-dim); font-weight: 600; }
.specs .v { color: var(--text); font-weight: 600; text-align: right; }
.acx { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 24px; margin-top: 26px; }
.acx h3 { margin-bottom: 10px; }
.acx ul { list-style: none; margin-top: 10px; }
.acx li { padding: 5px 0; color: var(--text-dim); }
.acx code { background: var(--bg-soft-2); padding: 2px 8px; border-radius: 6px; color: var(--accent); font-weight: 700; }
