:root {
  --black: #111;
  --white: #faf9f7;
  --gray: #666;
  --light-gray: #e8e6e2;
  --accent: #c44;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --max-w: 640px;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--serif);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */
nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .site-name {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
}

nav .nav-links {
  display: flex;
  gap: 1.5rem;
}

nav .nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--black);
}

/* --- HEADER --- */
header {
  padding: 3rem 2rem 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

header h1 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

header .subhead {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gray);
  font-style: italic;
  line-height: 1.5;
}

header .page-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0;
}

/* --- DIVIDER --- */
.divider {
  max-width: var(--max-w);
  margin: 2.5rem auto;
  padding: 0 2rem;
}
.divider hr {
  border: none;
  border-top: 1px solid var(--light-gray);
}

.divider-sm {
  max-width: var(--max-w);
  margin: 1.5rem auto;
  padding: 0 2rem;
}
.divider-sm hr {
  border: none;
  border-top: 1px solid var(--light-gray);
}

/* --- MAIN CONTENT --- */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  margin-bottom: 3.5rem;
}

main p {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

main p:last-child {
  margin-bottom: 0;
}

.bold-line {
  font-weight: 600;
  font-style: italic;
}

/* --- CTA / SIGNUP --- */
.signup-section {
  background: var(--black);
  color: var(--white);
  padding: 3rem 2rem;
  margin: 3.5rem 0;
  text-align: center;
}

.signup-section h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.signup-section p {
  font-family: var(--serif);
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.signup-section .signup-note {
  font-size: 0.8rem !important;
  color: #555 !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* Beehiiv embed container */
.beehiiv-embed {
  max-width: 400px;
  margin: 0 auto;
}

/* --- BIO SECTION --- */
.bio-section h2 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.currently {
  margin-top: 2rem;
}

.currently h3,
.connect-links h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.currently ul {
  list-style: none;
  padding: 0;
}

.currently ul li {
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.currently ul li span.arrow {
  color: var(--gray);
  margin-right: 0.3rem;
}

.connect-links {
  margin-top: 1.5rem;
}

.connect-links a {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--light-gray);
  transition: border-color 0.2s;
  margin-right: 1.5rem;
}

.connect-links a:hover {
  border-color: var(--black);
}

/* --- ARTICLE LIST (Field Notes Archive) --- */
.article-list {
  margin-top: 1rem;
}

.article-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.article-item:first-child {
  padding-top: 0;
}

.article-item .article-date {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.article-item h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.article-item h3 a {
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}

.article-item h3 a:hover {
  opacity: 0.6;
}

.article-item .article-excerpt {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* --- RETREATS --- */
.retreat-detail {
  margin-bottom: 2.5rem;
}

.retreat-detail h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

/* --- BOOK A CALL --- */
.calendly-embed {
  margin: 2rem auto;
  max-width: 100%;
  min-height: 600px;
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- INLINE LINK --- */
a.inline-link {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--light-gray);
  transition: border-color 0.2s;
}

a.inline-link:hover {
  border-color: var(--black);
}

/* --- CTA BUTTON --- */
a.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

a.cta-btn:hover {
  opacity: 0.85;
}

a.cta-btn-outline {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  background: transparent;
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  border: 1.5px solid var(--black);
  transition: background 0.2s, color 0.2s;
}

a.cta-btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* --- FOOTER --- */
footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  text-align: center;
}

footer p {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.03em;
}

/* --- FADE IN --- */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.15s; }
.fade-in:nth-child(4) { animation-delay: 0.2s; }
.fade-in:nth-child(5) { animation-delay: 0.25s; }

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  html { font-size: 16px; }
  nav { padding: 1.5rem 1.5rem 0; }
  header { padding: 2rem 1.5rem 0; }
  main { padding: 0 1.5rem; }
  .divider, .divider-sm { padding: 0 1.5rem; }
  .signup-section { padding: 2.5rem 1.5rem; }
  nav .nav-links { gap: 1rem; }
  nav .nav-links a { font-size: 0.75rem; }
}
