@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/source-sans-3-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-500.woff2') format('woff2');
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bark:       #3B2F2F;
  --walnut:     #5C4033;
  --sienna:     #8B5E3C;
  --gold:       #735A2B;
  --gold-light: #9B7B3F;
  --sand:       #D2B48C;
  --cream:      #FAF6F0;
  --sage:       #6B8F71;
  --forest:     #2D5A3D;
  --moss:       #4A7C59;
  --sky:        #7BAFD4;
  --water:      #4A90B8;
  --deep-water: #2C6F9B;
  --slate:      #5C5348;
  --muted:      #A8A4A0;
  --dark:       #1A1612;
  --white:      #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Source Sans 3', 'Segoe UI', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;
  --max-width:  1200px;
  --nav-height: 72px;
}

body {
  font-family: var(--font-sans);
  color: var(--bark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Preserve each source image's natural proportions when responsive width rules
   override the intrinsic width/height attributes in the HTML. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-kicker { display: block; margin-bottom: 1rem; }
.kicker-gold { color: var(--gold); }
.kicker-gold-light { color: var(--gold-light); }
.kicker-sand { color: var(--sand); }
.light-title { color: var(--cream); }

.micro-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.image-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.image-card img { width: 100%; height: auto; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(59,47,47,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
}
nav .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--cream); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(59,47,47,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bark);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,22,18,0.7), rgba(59,47,47,0.5));
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/forest-hero.avif') center/cover no-repeat;
  opacity: 0.4;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text { color: var(--cream); }
.hero-text .micro-label { color: var(--sand); margin-bottom: 1rem; display: block; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--cream);
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--sand);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-portrait { max-width: 380px; justify-self: center; }
.hero-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s;
}
.hero-cta:hover { background: var(--sienna); }

@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 2rem;
  }
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-portrait { max-width: 240px; margin: 0 auto; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ===== ABOUT ===== */
#about { padding: 6rem 0; background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.about-image { position: sticky; top: calc(var(--nav-height) + 2rem); }
.about-text p { margin-bottom: 1.2rem; font-size: 1.05rem; color: var(--slate); }
.about-text p:first-of-type { font-size: 1.15rem; color: var(--bark); }
.credential-list { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.credential-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  background: var(--bark);
  color: var(--sand);
  border-radius: 3px;
}

@media (min-width: 769px) {
  .about-title-nowrap { white-space: nowrap; }
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { display: none; }
}

/* ===== NATURE DIVIDER ===== */
.nature-divider {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.nature-divider img { width: 100%; height: 100%; object-fit: cover; }
.nature-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,246,240,0.3), transparent 30%, transparent 70%, rgba(250,246,240,0.3));
}

/* ===== BOARD SERVICE ===== */
#board { padding: 6rem 0; background: var(--bark); color: var(--cream); }
.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
#board .section-title { color: var(--cream); }
#board .micro-label { color: var(--sand) !important; }
.board-summary p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--sand);
  margin-bottom: 1.25rem;
}
.board-sectors {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--sand) !important;
  font-style: italic;
}
.board-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.8rem;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s;
}
.board-cta:hover { background: var(--sienna); }
.board-highlights { display: flex; flex-direction: column; gap: 1.25rem; }
.board-highlight-item {
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.board-highlight-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
}
.board-highlight-item span {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--sand);
}
@media (max-width: 768px) {
  .board-grid { grid-template-columns: 1fr; }
}

/* ===== SERVICES ===== */
#services { padding: 6rem 0; background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(59,47,47,0.08);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,47,47,0.12);
}
.service-card .micro-label { display: block; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.service-card p { font-size: 0.95rem; color: var(--slate); line-height: 1.65; margin-bottom: 1.5rem; }
.service-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}
.service-link:hover { gap: 0.7rem; }
.service-card.academic .micro-label { color: var(--forest); }
.service-card.coaching .micro-label { color: var(--deep-water); }
.service-card.speaking .micro-label { color: var(--gold); }
.services-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--slate);
}
.services-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== WRITING & MEDIA ===== */
#writing { padding: 6rem 0; background: var(--dark); color: var(--cream); }
#writing .section-title { color: var(--cream); }
#writing .micro-label { color: var(--sand); }
.tab-bar { display: flex; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(168,164,160,0.3);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn:hover { color: var(--cream); border-color: var(--cream); }
.tab-btn.active { background: var(--gold); color: var(--cream); border-color: var(--gold); }
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.content-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2rem;
  transition: background 0.3s;
}
.content-card:hover { background: rgba(255,255,255,0.08); }
.content-card .micro-label { display: block; margin-bottom: 0.8rem; }
.content-card h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.8rem; line-height: 1.3; }
.content-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.content-card .card-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}
.content-card .card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.content-card.book .micro-label { color: var(--sage); }
.content-card.podcast .micro-label { color: var(--sky); }
.content-card.press .micro-label { color: var(--sand); }
.content-card.course .micro-label { color: var(--gold-light); }
.content-card.meditation .micro-label { color: var(--moss); }
.media-index-link { margin-top: 2.5rem; text-align: center; }
.media-index-link a {
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

/* ===== SPEAKING ===== */
#speaking { padding: 6rem 0; background: var(--cream); }
.speaking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.speaking-text h2 { margin-bottom: 1rem; }
.speaking-text p { font-size: 1.05rem; color: var(--slate); margin-bottom: 1.5rem; }
.topic-list { list-style: none; margin-bottom: 2rem; }
.topic-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(59,47,47,0.08);
  font-size: 0.95rem;
  color: var(--bark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.topic-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.speaking-image { border-radius: 6px; overflow: hidden; }

@media (max-width: 768px) {
  .speaking-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== CONTACT ===== */
#contact { padding: 6rem 0; background: var(--bark); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
#contact .section-title { color: var(--cream); }
#contact p { color: var(--sand); font-size: 1.05rem; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--sand);
  font-size: 0.95rem;
}
.contact-detail svg { width: 18px; height: 18px; stroke: var(--gold-light); flex-shrink: 0; }
.contact-detail a { color: var(--cream); transition: color 0.3s; }
.contact-detail a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 1rem; margin-top: 2rem; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(210,180,140,0.3);
  border-radius: 50%;
  color: var(--sand);
  transition: all 0.3s;
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--cream); }
.social-links svg { width: 18px; height: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label {
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: -0.55rem;
}
.contact-form label span { color: var(--muted); text-transform: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(210,180,140,0.2);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
  border-color: var(--gold);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  padding: 0.85rem 2rem;
  background: var(--gold);
  color: var(--cream);
  border: none;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}
.contact-form button:hover { background: var(--sienna); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
footer {
  padding: 2.5rem 0;
  background: var(--dark);
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-links { display: flex; justify-content: center; gap: 1.25rem; margin-top: 0.6rem; }
.footer-links a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }

/* ===== FAQ ===== */
#faq { padding: 5rem 0; background: var(--dark); color: var(--cream); }
.faq-list { max-width: 800px; margin-top: 2rem; }
.faq-item { border-bottom: 1px solid rgba(210,180,140,0.2); padding: 1.2rem 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary .faq-icon { color: var(--gold-light); font-size: 1.4rem; margin-left: 1rem; }
.faq-item p { margin-top: 1rem; color: var(--sand); font-size: 0.95rem; line-height: 1.7; }
.faq-item p a { color: var(--gold-light); text-decoration: underline; }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: background 0.3s, box-shadow 0.3s;
}
.floating-cta a:hover { background: var(--sienna); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.floating-cta svg { width: 16px; height: 16px; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1100;
  padding: 0.6rem 1.2rem;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ===== MOBILE HARDENING ===== */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  section { overflow-x: hidden; }
  #about { padding: 4rem 0; }
  #board { padding: 4rem 0; }
  #services { padding: 4rem 0; }
  #writing { padding: 4rem 0; }
  #speaking { padding: 4rem 0; }
  #contact { padding: 4rem 0; }
  #faq { padding: 3.5rem 0; }
  .nature-divider { height: 180px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .content-grid { grid-template-columns: 1fr; }
  .content-card { padding: 1.5rem; }
  .service-card { padding: 2rem 1.5rem; }
  .faq-item summary { font-size: 1rem; }
  .faq-item p { word-break: break-word; overflow-wrap: anywhere; }
  .contact-grid { gap: 2.5rem; }
  .floating-cta { bottom: 1rem; right: 1rem; }
  .floating-cta a { padding: 0.65rem 1.2rem; font-size: 0.65rem; }
  .credential-list { justify-content: center; }
  .tab-bar { justify-content: center; }
}

@media (max-width: 400px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-portrait { max-width: 200px; }
  .tab-btn { padding: 0.45rem 0.9rem; font-size: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
