:root {
  --bg: #f7f3ec;
  --bg-warm: #efe7d7;
  --ink: #2a2622;
  --ink-soft: #5b524a;
  --rule: #d9cdb8;
  --accent: #2f4a5e;
  --accent-soft: #4a6b82;
  --gold: #a07a3a;
  --shadow: 0 1px 2px rgba(42, 38, 34, 0.04), 0 12px 32px rgba(42, 38, 34, 0.06);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.6em;
}
.eyebrow-light { color: rgba(247, 243, 236, 0.85); }

/* ---------- Header ---------- */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.brand-sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
}
.site-nav a { color: var(--ink-soft); font-weight: 500; }
.site-nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 40px auto 96px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text .lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 36em;
  margin-top: 1em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  border-color: var(--rule);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin-left: auto;
}

/* ---------- Sections ---------- */
.services, .about, .publications, .contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-lede {
  font-size: 1.05rem;
  margin-top: 0.5em;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.service {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.service h3 {
  color: var(--accent);
  margin-bottom: 0.5em;
}
.service p { margin: 0; }

.service-feature {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #f7f3ec;
  border: none;
  padding: 40px 36px;
}
.service-feature h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 0.3em;
}
.service-feature p {
  color: rgba(247, 243, 236, 0.92);
  max-width: 60ch;
  margin: 0;
}

/* ---------- About ---------- */
.about { background: var(--bg-warm); max-width: none; }
.about-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p { font-size: 1.02rem; }

.about-facts {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.about-facts dl { margin: 0; display: grid; gap: 20px; }
.about-facts dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}
.about-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.5;
}

/* ---------- Publications ---------- */
.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.pub-list li {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.pub-list li:last-child { border-bottom: 1px solid var(--rule); }
.pub-list h3 { margin-bottom: 4px; }
.pub-list p { margin: 0 0 6px; }
.pub-link {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--bg); max-width: none; padding-top: 88px; padding-bottom: 88px; }
.contact-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.contact .eyebrow { color: var(--gold); }
.contact h2 { color: var(--bg); }
.contact p { color: rgba(247, 243, 236, 0.78); max-width: 50ch; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: baseline;
}
.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.contact-list a { color: var(--bg); border-bottom: 1px solid rgba(247, 243, 236, 0.3); }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }
.contact .btn-primary { background: var(--gold); color: var(--ink); }
.contact .btn-primary:hover { background: var(--bg); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 32px;
  text-align: center;
}
.site-footer p {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .hero-photo { order: -1; }
  .hero-photo img { margin: 0 auto; max-width: 280px; }
  .service-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-nav { display: none; }
  .services, .about, .publications, .contact { padding: 56px 24px; }
  .site-header { padding: 20px 24px; }
}

@media (max-width: 480px) {
  .hero { padding: 0 24px; }
  .hero-actions .btn { flex: 1; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
