:root {
  --charcoal: #1a1a2e;
  --slate: #2d2d44;
  --warm-accent: #c4703f;
  --warm-accent-light: #d4874f;
  --cream: #f5f0ea;
  --off-white: #faf8f5;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-light: #7a7a8a;
  --divider: #d8d0c8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--warm-accent) 100%);
  z-index: 100;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* Top nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 3.5rem;
}

.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--warm-accent);
}

/* Hero */
.hero {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--divider);
}

.hero-top {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.hero-photo {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 50%;
  background-image: url('headshot.jpeg');
  background-size: 150%;
  background-position: 50% 45%;
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.08);
}

.hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.hero-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--warm-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.hero-blurb {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-actions .button {
  font-size: 0.875rem;
  padding: 0.65rem 1.1rem;
}

.button-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--divider);
}

.button-outline:hover {
  background: var(--cream);
  border-color: var(--text-light);
}

/* Page header (sub-pages) */
.page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--divider);
}

/* Section labels */
.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--warm-accent);
  margin-bottom: 0.75rem;
}

section {
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* Inline CTA under a list */
.section-cta {
  margin-top: 1.5rem;
}

/* "Show all" expander — used by any list capped at five items */
.more-list > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--warm-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 0;
}

.more-list > summary::-webkit-details-marker { display: none; }

.more-list > summary::after {
  content: '\25be'; /* ▾ */
  font-size: 0.85em;
  line-height: 1;
}

.more-list[open] > summary::after {
  content: '\25b4'; /* ▴ */
}

.more-list > summary:hover {
  text-decoration: underline;
}

.more-list ul.links {
  margin-top: 0.25rem;
}

/* Resource subsections */
.subsection {
  margin-bottom: 2rem;
}

.subsection-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  letter-spacing: -0.005em;
}

.subsection-blurb {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 0.85rem;
  font-style: italic;
}

ul.links {
  list-style: none;
}

ul.links li {
  padding: 0.6rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
  border-bottom: 1px dotted var(--divider);
}

ul.links li:last-child {
  border-bottom: none;
}

ul.links li strong {
  color: var(--charcoal);
  font-weight: 600;
}

ul.links a {
  color: var(--warm-accent);
  text-decoration: none;
  word-break: break-word;
}

ul.links a:hover {
  text-decoration: underline;
}

ul.links li .desc {
  display: block;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 0.15rem;
}

ul.links li .desc a {
  color: var(--text-secondary);
}

/* Practice callout */
.practice-callout {
  background: var(--cream);
  border-left: 3px solid var(--warm-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-top: 0.5rem;
}

.practice-callout strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1.0625rem;
  display: block;
  margin-bottom: 0.5rem;
  font-style: normal;
}

.practice-callout p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Connect / dark section */
.work-section {
  background: var(--charcoal);
  color: white;
  border-radius: 6px;
  padding: 2.5rem 2rem;
  margin-bottom: 0;
}

.work-section .section-label {
  color: var(--warm-accent-light);
}

.work-section .section-title {
  color: white;
  margin-bottom: 1rem;
}

.work-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.work-section p:last-of-type {
  margin-bottom: 1.5rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-block;
  background: var(--warm-accent);
  color: white;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease;
}

.button:hover {
  background: var(--warm-accent-light);
}

.button-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Social buttons (icon + label) — used identically in the hero and the connect section */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--warm-accent);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease;
}

.social-btn:hover {
  background: var(--warm-accent-light);
}

.social-btn svg {
  display: block;
  flex: none;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
  font-size: 0.8125rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.7;
}

footer a {
  color: var(--warm-accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    padding: 3rem 1.25rem 4rem;
  }
  .nav {
    margin-bottom: 2.5rem;
  }
  .hero {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }
  .hero-top {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-photo {
    width: 64px; height: 64px; min-width: 64px;
  }
  .hero-name { font-size: 1.4rem; }
  .hero-tagline { font-size: 0.75rem; }
  .hero-headline { font-size: 1.25rem; }
  .hero-blurb { font-size: 1rem; }
  .section-title { font-size: 1.4rem; }
  .subsection-title { font-size: 1.0625rem; }
  .work-section { padding: 2rem 1.5rem; }
  section { margin-bottom: 3rem; }
  .button { padding: 0.75rem 1.15rem; font-size: 0.9rem; }
}
