/* Caroline Miller — carolinemiller.net */

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

:root {
  --blue:   #2f6fb2;
  --dark:   #111111;
  --mid:    #222222;
  --light:  #f5f5f5;
  --text:   #333333;
  --muted:  #666666;
  --white:  #ffffff;
  --max:    1100px;
}

body {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
}

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

/* ── HEADER ─────────────────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  padding: 18px 24px 12px;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-title {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.03em;
  color: var(--dark);
}
.site-title a { color: inherit; }
.site-title a:hover { text-decoration: none; color: var(--blue); }

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
nav a { color: var(--dark); }
nav a:hover, nav a.active { color: var(--blue); text-decoration: none; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  background: url('images/microphone-background.jpg') center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 120px 24px 110px;
  isolation: isolate;
}
/* Dark overlay with opacity */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-size: 2.8rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-rule {
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin: 0 auto 20px;
}
.hero p {
  font-size: 1.1rem;
  color: #dddddd;
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: #24598f; text-decoration: none; color: var(--white); }

/* ── PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  position: relative;
  background: url('images/microphone-background.jpg') center 40% / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 64px 24px 56px;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.page-hero .hero-rule { margin-top: 14px; }

/* ── MAIN CONTENT ────────────────────────────────────── */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px;
}

/* Two-column intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.intro-grid img {
  width: 100%;
  display: block;
  filter: grayscale(20%);
}
.intro-text h2 {
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--dark);
  margin-bottom: 20px;
}
.intro-text p { margin-bottom: 14px; line-height: 1.75; }
.intro-text strong { color: var(--dark); }
.intro-text ul {
  margin: 8px 0 16px 20px;
  line-height: 1.8;
}

/* Section headings */
.section-heading {
  font-size: 1.1rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 6px;
  margin: 40px 0 20px;
}

/* Client columns */
.client-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.client-cols h3 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
}
.client-cols ul { list-style: none; line-height: 2; color: var(--muted); font-size: 0.95rem; }

/* Contact blurb */
.contact-blurb {
  background: var(--light);
  border-left: 4px solid var(--blue);
  padding: 20px 24px;
  margin-top: 40px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.contact-blurb a { font-weight: bold; }

/* ── POLITICAL PAGE ───────────────────────────────────── */
.service-list {
  list-style: none;
  margin: 0 0 32px 0;
}
.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ebebeb;
  font-size: 1rem;
  color: var(--text);
}
.service-list li::before {
  content: '▸ ';
  color: var(--blue);
}
.audio-note {
  background: #f2f7ff;
  border: 1px solid #b8cceb;
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ── DEMOS PAGE ──────────────────────────────────────── */
.demo-group { margin-bottom: 40px; }
.demo-note {
  line-height: 1.75;
  color: var(--text);
}
.demo-group h2 {
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
}
audio { width: 100%; margin-bottom: 10px; display: block; }
.video-embed {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── BOOK TABLE ──────────────────────────────────────── */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.book-card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px;
  background: var(--white);
}
.book-card h3 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.book-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
  margin-bottom: 10px;
}
.book-card p { font-size: 0.88rem; line-height: 1.65; color: #555; }

/* ── CONTACT FORM ────────────────────────────────────── */
.contact-form {
  max-width: 560px;
}
.contact-form label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
  margin-top: 18px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form .btn { margin-top: 20px; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: #888;
  text-align: center;
  padding: 28px 24px;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-top: 60px;
}
footer a { color: var(--blue); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 720px) {
  .hero h1 { font-size: 1.9rem; }
  .intro-grid { grid-template-columns: 1fr; }
  .client-cols { grid-template-columns: 1fr 1fr; }
  nav ul { gap: 4px 12px; }
}
@media (max-width: 480px) {
  .client-cols { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
