/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg:          #f7f6f3;
  --surface:     #ffffff;
  --text:        #1a1a1a;
  --text-muted:  #6b6b6b;
  --accent:      #2c5f6e;       /* dark teal */
  --accent-light:#e8f0f2;
  --border:      #e2e0db;
  --max-w:       1100px;
  --gutter:      clamp(1.25rem, 5vw, 3rem);

  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --font-mono:   'DM Mono', 'Courier New', monospace;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 3px;
  transition: opacity 0.2s;
}
.nav__cta:hover { opacity: 0.88; }

/* hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 64px; /* nav height */
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding-block: clamp(4rem, 10vh, 7rem);
}
.hero__content { max-width: 640px; }
.hero__eyebrow { margin-bottom: 1.25rem; }
.hero__name {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero__name em {
  font-style: normal;
  color: var(--accent);
}
.hero__tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { opacity: 0.88; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero__photo-wrap {
  flex-shrink: 0;
}
.hero__photo {
  width: clamp(180px, 20vw, 280px);
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  filter: grayscale(12%);
}
.hero__photo-placeholder {
  width: clamp(180px, 20vw, 280px);
  aspect-ratio: 3/4;
  background: var(--accent-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--accent);
}
.hero__photo-placeholder span {
  font-size: 0.75rem;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Section base ───────────────────────────────────────── */
section { padding-block: clamp(4rem, 8vh, 6rem); }
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 120px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ─── About ──────────────────────────────────────────────── */
.about { background: var(--surface); border-bottom: 1px solid var(--border); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__bio {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}
.about__bio p + p { margin-top: 1rem; }
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.stat__number {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Services ───────────────────────────────────────────── */
.services { border-bottom: 1px solid var(--border); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(44, 95, 110, 0.08);
}
.service-card__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Book ───────────────────────────────────────────────── */
.book { background: var(--surface); border-bottom: 1px solid var(--border); }
.book__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.book__intro { position: sticky; top: 80px; }
.book__cal {
  min-height: 500px;
  border-radius: 4px;
  overflow: hidden;
}

/* ─── Contact ────────────────────────────────────────────── */
.contact { border-bottom: 1px solid var(--border); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__intro { position: sticky; top: 80px; }
.contact__form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  min-height: 360px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  padding-block: 2.5rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__name {
  font-family: var(--font-head);
  font-weight: 700;
}
.footer__tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--accent);
  transition: opacity 0.2s;
}
.footer__linkedin:hover { opacity: 0.75; }
.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .nav__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--gutter);
    gap: 1.25rem;
  }
  .nav__links.mobile-open + .nav__cta {
    display: flex;
    margin: 0 var(--gutter) 1.5rem;
    position: fixed;
    top: calc(64px + 1.5rem + 4 * 2.25rem);
    left: 0; right: 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero__photo-wrap {
    display: flex;
    justify-content: center;
    order: -1;
  }
  .hero__photo, .hero__photo-placeholder {
    width: 140px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
  }

  .about__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }

  .book__inner,
  .contact__inner { grid-template-columns: 1fr; }
  .book__intro,
  .contact__intro { position: static; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__right { align-items: flex-start; }
}

@media (max-width: 480px) {
  .about__stats { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
}
