:root {
  --cream: #F7F2EA;
  --cream-alt: #F0E9DD;
  --sage: #7D8F6E;
  --sage-dark: #66765A;
  --terracotta: #C16B47;
  --terracotta-dark: #A85A3A;
  --stone: #A69885;
  --charcoal: #33302B;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  margin: 0 0 0.5em;
}

a { color: inherit; }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
header.site-nav {
  position: sticky;
  top: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--stone);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-inner .logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-links a.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-outline {
  background: transparent;
  color: var(--sage);
  border: 1.5px solid var(--sage);
}
.btn-outline:hover { background: var(--sage); color: var(--cream); }

.btn-on-sage {
  background: var(--cream);
  color: var(--terracotta-dark);
}
.btn-on-sage:hover { background: var(--cream-alt); }

/* Hero */
.hero {
  padding: 5rem 0 5.5rem;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.hero-text { flex: 1.1; }
.hero-photo { flex: 0.9; display: flex; justify-content: center; }

.hero-photo img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--cream-alt);
  box-shadow: 0 12px 30px rgba(51, 48, 43, 0.12);
}

.eyebrow {
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: 2.75rem;
  color: var(--charcoal);
  line-height: 1.15;
}

.hero .lede {
  color: var(--stone);
  font-size: 1.1rem;
  max-width: 30em;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page header (non-home pages) */
.page-header {
  padding: 3.5rem 0 1rem;
  text-align: center;
}
.page-header .eyebrow { display: block; }
.page-header h1 { font-size: 2.3rem; color: var(--charcoal); }

/* Section basics */
section { padding: 5rem 0; }
.section-alt { background: var(--cream-alt); }

.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading h2 {
  color: var(--sage-dark);
  font-size: 2rem;
}
.section-heading p {
  color: var(--stone);
  max-width: 34em;
  margin: 0.5rem auto 0;
}

/* Home page preview links */
.preview-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.preview-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 14px;
  padding: 1.9rem 1.5rem;
  text-decoration: none;
  display: block;
}

.preview-card h3 {
  color: var(--charcoal);
  font-size: 1.1rem;
}

.preview-card p {
  color: var(--stone);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.preview-card .preview-link {
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.88rem;
}

.preview-card:hover .preview-link { text-decoration: underline; }

/* About */
.about-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.about-inner .about-body { flex: 1; }
.about-inner blockquote {
  flex: 0 0 280px;
  margin: 0;
  padding: 1.75rem;
  background: var(--cream);
  border-left: 4px solid var(--terracotta);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--charcoal);
  font-size: 1.05rem;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 14px;
  padding: 2rem 1.6rem;
}

.card .icon-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-bottom: 1.2rem;
}

.card h3 {
  color: var(--charcoal);
  font-size: 1.15rem;
}

.card p {
  color: var(--stone);
  font-size: 0.96rem;
  margin: 0;
}

/* Experience */
.cred-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.cred-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--stone);
}

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

.cred-list .cred-title {
  color: var(--charcoal);
  font-weight: 600;
}

.cred-list .cred-meta {
  color: var(--stone);
  font-size: 0.92rem;
  text-align: right;
  white-space: nowrap;
}

/* Contact band */
.contact-band {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
}

.contact-band h2,
.contact-band h1 {
  color: var(--cream);
}

.contact-band p {
  color: var(--cream-alt);
  max-width: 32em;
  margin: 0 auto 2rem;
}

.contact-band .email-link {
  display: block;
  margin-top: 1.5rem;
  color: var(--cream);
  text-decoration: underline;
  font-size: 0.95rem;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--stone);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--stone);
  font-size: 0.88rem;
}

.footer-inner .socials { display: flex; gap: 1.25rem; }
.footer-inner .socials a { color: var(--stone); text-decoration: none; font-weight: 500; }
.footer-inner .socials a:hover { color: var(--terracotta); }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap { flex-direction: column-reverse; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-photo img { width: 240px; height: 240px; }
  .about-inner { flex-direction: column; }
  .about-inner blockquote { flex-basis: auto; }
  .cards { grid-template-columns: 1fr; }
  .preview-links { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .cred-list li { flex-direction: column; gap: 0.25rem; }
  .cred-list .cred-meta { text-align: left; }
}

@media (max-width: 560px) {
  .nav-inner { flex-direction: column; gap: 0.75rem; }
  .hero h1 { font-size: 2.1rem; }
}
