/*
Theme Name: MediaLeake
Theme URI: https://medialeake.com
Author: Daniel Leake
Description: Custom theme for MediaLeake Productions - post-production audio for Bible-based content.
Version: 1.0
Requires PHP: 7.4
Text Domain: medialeake
*/

:root {
  --blue: #2b3990;
  --blue-deep: #1c2660;
  --red: #9b1b1f;
  --ink: #21242c;
  --paper: #f6f6f8;
  --white: #ffffff;
  --gray: #5c6270;
  --line: #dcdee6;
  --black: #0d0e12;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, .serif { font-family: Georgia, "Times New Roman", serif; }
h2 { font-size: 1.9rem; color: var(--blue-deep); margin-bottom: 0.4rem; text-wrap: balance; }
img { max-width: 100%; height: auto; }
.section { max-width: 1060px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.kicker {
  font-family: "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  color: var(--red); font-weight: 600; display: block; margin-bottom: 0.6rem;
}

/* Top tagline bar */
.tagbar { background: var(--black); text-align: center; padding: 0.9rem 1rem 0.7rem; }
.tagbar .serif { color: var(--white); font-style: italic; font-size: 1.35rem; letter-spacing: 0.02em; }

/* Logo band */
.logoband {
  background: var(--blue);
  background-image: url("images/waveform.jpg");
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-blend-mode: multiply;
  text-align: center; padding: 0.55rem 1rem;
  border-top: 2px solid var(--blue-deep); border-bottom: 2px solid var(--blue-deep);
}
.logoband a { text-decoration: none; }
.logoband .serif {
  color: var(--white); font-weight: bold; font-style: italic;
  font-size: clamp(1.6rem, 4.5vw, 2.5rem); letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(13,14,18,0.55);
}

/* Nav */
.mlnav {
  position: sticky; top: 0; z-index: 50;
  background: var(--black); border-bottom: 1px solid #2a2d38;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.25rem;
  padding: 0.35rem 0.5rem;
}
.mlnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: center; }
.mlnav a {
  display: block; color: #d8dae2; text-decoration: none; font-size: 0.92rem;
  padding: 0.45rem 0.95rem; border-radius: 3px; letter-spacing: 0.03em;
}
.mlnav a:hover, .mlnav a:focus-visible { background: var(--blue); color: var(--white); outline: none; }
.mlnav .current-menu-item a, .mlnav .current_page_item a { color: var(--white); background: var(--blue-deep); }

/* Hero */
.hero { position: relative; background: var(--black); overflow: hidden; }
.hero > img { width: 100%; height: 520px; object-fit: cover; display: block; opacity: 0.85; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,14,18,0.82) 0%, rgba(13,14,18,0.55) 45%, rgba(13,14,18,0.15) 100%);
  display: flex; align-items: center;
}
.hero-copy { max-width: 1060px; width: 100%; margin: 0 auto; padding: 2rem 1.5rem; }
.hero-copy h1 {
  color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  max-width: 21ch; line-height: 1.2; text-wrap: balance; margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(13,14,18,0.7);
}
.hero-copy p {
  color: #e6e7ec; max-width: 52ch; margin-bottom: 1.6rem; font-size: 1.06rem;
  text-shadow: 0 1px 8px rgba(13,14,18,0.8);
}
.btn {
  display: inline-block; background: var(--red); color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.5rem; border-radius: 3px;
}
.btn:hover, .btn:focus-visible { background: #7d1215; outline: 2px solid var(--white); outline-offset: 2px; }

/* Trust strip */
.trust { background: var(--blue-deep); padding: 1.4rem 1.5rem; text-align: center; }
.trust p { color: #c7cbe4; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.trust .names { color: var(--white); font-family: Georgia, serif; font-style: italic; font-size: 1.02rem; line-height: 1.9; max-width: 900px; margin: 0 auto; }

/* About */
.about-flow { max-width: 100%; }
.about-flow::after { content: ""; display: block; clear: both; }
.about-flow p { margin-bottom: 1rem; }
.about-media { float: right; width: min(46%, 480px); margin: 0.3rem 0 1.2rem 2.5rem; }
.about-media img { width: 100%; display: block; border: 1px solid var(--line); }
.about-media figcaption { font-size: 0.85rem; color: var(--gray); margin-top: 0.5rem; font-style: italic; }
@media (max-width: 700px) { .about-media { float: none; width: 100%; margin: 0 0 1.2rem; } }

/* Services */
.services { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: 1.6rem 1.4rem; background: var(--paper); }
.card h3 { color: var(--blue-deep); font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.97rem; color: var(--ink); }

/* Pull quote */
.pull { background: var(--black); }
.pull .inner { max-width: 860px; margin: 0 auto; padding: 3.5rem 1.5rem; text-align: center; }
.pull blockquote { color: var(--white); font-family: Georgia, serif; font-style: italic; font-size: 1.45rem; line-height: 1.5; text-wrap: balance; border: 0; }
.pull cite { display: block; margin-top: 1.2rem; color: #9ba0b3; font-style: normal; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; }
.wavestrip { height: 34px; background: var(--blue); background-image: url("images/waveform.jpg"); background-size: auto 100%; background-repeat: repeat-x; background-blend-mode: multiply; }

/* Credits */
.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
@media (max-width: 760px) { .credit-grid { grid-template-columns: 1fr; } }
.credit-grid h3 { color: var(--blue-deep); font-size: 1.2rem; border-bottom: 2px solid var(--red); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.credit-grid ul { list-style: none; columns: 2; column-gap: 1.5rem; }
.credit-grid li { font-size: 0.95rem; padding: 0.22rem 0; break-inside: avoid; color: var(--ink); }
.credit-grid .more { color: var(--gray); font-style: italic; }
@media (max-width: 500px) { .credit-grid ul { columns: 1; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.quote-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 1.5rem 1.4rem; }
.quote-card p { font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.9rem; }
.quote-card cite { font-style: normal; font-size: 0.88rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }

/* Rates */
.rates { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rates p { max-width: 68ch; margin-bottom: 1rem; }

/* Contact */
.contact { text-align: center; }
.contact h2 { margin-bottom: 1rem; }
.contact p { max-width: 58ch; margin: 0 auto 1rem; }
.contact .email { font-family: Georgia, serif; font-size: 1.5rem; }
.contact .email a { color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--red); }
.contact .email a:hover { color: var(--blue-deep); }
.contact .phone { color: var(--gray); font-size: 1rem; }

/* Footer */
.mlfooter { background: var(--black); text-align: center; padding: 1.6rem 1rem; }
.mlfooter p { color: #9ba0b3; font-size: 0.85rem; }
.mlfooter .serif { color: #d8dae2; font-style: italic; }

/* WP editor content niceties */
.entry-content > p { max-width: 68ch; }
