/* ===== Fonts ===== */
@font-face {
  font-family: 'Calibre';
  src: url('fonts/Calibre/Calibre-Regular.woff2') format('woff2'),
       url('fonts/Calibre/Calibre-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('fonts/Calibre/Calibre-Medium.woff2') format('woff2'),
       url('fonts/Calibre/Calibre-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('fonts/Calibre/Calibre-Semibold.woff2') format('woff2'),
       url('fonts/Calibre/Calibre-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0d4f4f;
  --teal-dark: #083838;
  --teal-light: #1a6b6b;
  --amber: #d4782f;
  --amber-light: #e8944d;
  --amber-dark: #b8621f;
  --amber-tint: rgba(212, 120, 47, 0.08);
  --white: #ffffff;
  --off-white: #faf9f7;
  --warm-gray: #f1efe9;
  --border: #e2dfd6;
  --text: #1e293b;
  --text-light: #64748b;
  --nav-height: 80px;
  --max-width: 1000px;
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Calibre', -apple-system, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--amber); }
img { max-width: 100%; display: block; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  background: linear-gradient(165deg, var(--off-white) 0%, var(--white) 50%, var(--warm-gray) 100%);
}

.hero-content {
  max-width: var(--max-width);
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 600;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: 'Calibre', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  color: var(--amber-dark);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover { background: var(--amber); color: var(--white); }

.btn-filled { background: var(--amber); color: var(--white); }
.btn-filled:hover { background: var(--amber-dark); color: var(--white); }

/* ===== Sections ===== */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.about-photo {
  width: 240px;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.about-video {
  margin-top: 3rem;
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.about-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

/* ===== Book ===== */
.bg-alt { background: var(--off-white); }

.book-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.book-cover {
  width: 200px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.book-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.book-info .book-subtitle {
  font-size: 0.95rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1rem;
}

.book-info p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 20px rgba(212, 120, 47, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-tint);
  border: 1px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  border-radius: 4px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Writing/Substack ===== */
.writing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border: 1px solid var(--border);
  margin-top: 2rem;
  background: var(--white);
}

.writing-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.writing-card p {
  color: var(--text-light);
  line-height: 1.7;
  max-width: 550px;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--teal);
  text-align: center;
}

.cta-section .section-eyebrow { color: var(--amber-light); }
.cta-section .section-title { color: var(--white); }
.cta-section .section-subtitle { color: rgba(255,255,255,0.65); margin: 0 auto 2.5rem; }

.cta-section .btn {
  border-color: var(--amber-light);
  color: var(--amber-light);
}

.cta-section .btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 2rem;
  background: var(--teal-dark);
  color: rgba(255,255,255,0.45);
  text-align: center;
  font-size: 0.88rem;
}

.footer a { color: var(--amber-light); }
.footer a:hover { color: var(--amber); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; justify-items: center; }
  .about-photo { width: 200px; }
  .book-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .book-info p { max-width: 100%; }
  .writing-card { grid-template-columns: 1fr; text-align: center; }

  section { padding: 4rem 1.5rem; }
  .hero { padding: calc(var(--nav-height) + 1rem) 1.5rem 3rem; }
}