/* Miller Associates — site stylesheet */

:root {
  --navy: #1c2b42;
  --navy-dark: #121c2b;
  --charcoal: #2a2e35;
  --gold: #a9843f;
  --gold-light: #c9a869;
  --cream: #f7f5f0;
  --off-white: #fbfaf7;
  --line: #e2ddd1;
  --text: #2a2a2a;
  --text-muted: #5a5f6a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4, .brand {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

p { margin: 0 0 1.1em; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
header.site-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand-block { display: flex; flex-direction: column; }
.brand { font-size: 1.5rem; letter-spacing: 0.02em; }
.brand-tagline {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-top: 2px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Hero */
.hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #f2efe6;
  padding: 90px 0 80px;
}

.hero h1 {
  color: #ffffff;
  font-size: 2.6rem;
  max-width: 780px;
  margin-bottom: 22px;
}

.hero p.lede {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.15rem;
  color: #d6dae3;
  max-width: 640px;
  margin-bottom: 34px;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 54px;
}

.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #d6dae3;
  max-width: 640px;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid var(--gold);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: #1c1c1c;
}
.btn-primary:hover { background: var(--gold-light); color: #1c1c1c; }

.btn-outline {
  background: transparent;
  color: #f2efe6;
  border-color: #f2efe6;
}
.btn-outline:hover { background: #f2efe6; color: var(--navy); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--cream); }

.section-label {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.section-header { max-width: 700px; margin-bottom: 36px; }
.section-header h2 { font-size: 2rem; margin-bottom: 14px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}

.card h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.98rem; }

/* About / bio */
.bio-photo {
  border: 1px solid var(--line);
  max-width: 320px;
}

.credentials-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.credentials-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.credentials-list li:last-child { border-bottom: none; }

/* Process steps (services) */
.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: none; }
.process-step .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
}
.process-step h3 { margin: 0 0 8px; font-size: 1.25rem; }
.process-step p { color: var(--text-muted); margin: 0; }

/* Publications */
.pub-group { margin-bottom: 40px; }
.pub-group h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pub-list li:last-child { border-bottom: none; }
.pub-list a { font-size: 1.02rem; font-weight: 600; }
.pub-list .pub-meta {
  display: block;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.pub-note {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Contact */
.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.contact-row .value a, .contact-row .value { font-size: 1.05rem; color: var(--navy); }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c0cc;
  padding: 44px 0 30px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 0.9rem;
}
footer.site-footer a { color: #d6dae3; }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  nav.main-nav ul { flex-wrap: wrap; gap: 16px; }
  .hero h1 { font-size: 2rem; }
  .contact-row { flex-direction: column; gap: 4px; }
}
