/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ─── Custom Properties ─────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #F9F9F8;
  --bg-alt:       #F2F5F5;
  --bg-dark:      #0A2424;

  /* Text */
  --text-primary: #0D1F1F;
  --text-body:    #3D4F4F;
  --text-muted:   #7A9090;
  --text-inverse: #F9F9F8;

  /* Brand */
  --teal:         #007B7F;
  --teal-light:   #E0F0F0;
  --teal-dark:    #005F63;

  /* Borders */
  --border:        #DCE8E8;
  --border-strong: #B8CECE;

  /* Type scale */
  --text-hero:   clamp(48px, 6.5vw, 82px);
  --text-h2:     clamp(30px, 3.5vw, 44px);
  --text-h3:     20px;
  --text-body:   17px;
  --text-small:  14px;
  --text-label:  11px;

  /* Leading */
  --leading-display: 1.05;
  --leading-body:    1.75;

  /* Tracking */
  --tracking-label: 0.12em;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  color: var(--text-primary);
}

a { color: inherit; text-decoration: none; }

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

section { padding: 100px 0; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ─── Shared Components ─────────────────────────────────────────────────────── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-label);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-display);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-body);
  margin-bottom: 56px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 3px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--teal-dark); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 3px;
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ─── Navigation ─────────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(249, 249, 248, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-body);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text-primary);
  transition: color 0.2s;
}

.nav-cta {
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: 3px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--teal-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: 0.2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  gap: 16px;
  font-size: 16px;
  color: var(--text-body);
}

.mobile-menu a { padding: 8px 0; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
#hero {
  padding-top: 160px;
  padding-bottom: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 60px;
  align-items: center;
}

.hero-headline {
  font-size: var(--text-hero);
  line-height: var(--leading-display);
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--teal);
}

.hero-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(100%);
}

.hero-photo::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--teal-light);
  z-index: -1;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-photo img { height: 380px; }
  .hero-photo::before { display: none; }
  .hero-text { text-align: center; }
  .hero-body { max-width: 100%; }
  .hero-actions { justify-content: center; }
}

/* ─── Credentials Strip ─────────────────────────────────────────────────────── */
.credentials-strip {
  background: var(--teal);
  padding: 18px 0;
}

.credentials-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  text-align: center;
}

.cred-dot {
  margin: 0 16px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .credentials-text { font-size: 12px; }
  .cred-dot { margin: 0 10px; }
}

/* ─── Services ───────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.service-card {
  background: var(--bg);
  padding: 44px 36px 48px;
  position: relative;
}

.service-card--featured {
  background: var(--bg);
}

.service-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
}

.service-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.service-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.service-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
}

.services-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

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

/* ─── About ──────────────────────────────────────────────────────────────────── */
#about { background: var(--bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: start;
}

.about-identity {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.about-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-title {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  transition: color 0.2s;
}

.about-link:hover { color: var(--teal-dark); }

.expertise-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.expertise-card {
  background: var(--bg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  align-items: start;
  transition: background 0.2s;
}

.expertise-card:hover {
  background: var(--teal-light);
}

.expertise-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 8px;
  flex-shrink: 0;
}

.expertise-title {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.expertise-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ─── Who This Is For ───────────────────────────────────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fit-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 40px 36px;
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.fit-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.fit-number {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: var(--border-strong);
  line-height: 1;
  margin-bottom: 16px;
}

.fit-bar {
  width: 32px;
  height: 3px;
  background: var(--teal);
  margin-bottom: 20px;
  border-radius: 2px;
}

.fit-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.fit-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .fit-grid { grid-template-columns: 1fr; }
  .fit-card { padding: 32px 24px; }
}

/* ─── Book a Call ───────────────────────────────────────────────────────────── */
.book-section {
  background: var(--bg-dark);
  padding: 100px 0;
}

.book-inner {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: start;
}

.book-label {
  color: rgba(255,255,255,0.5);
}

.book-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: var(--text-h2);
  color: var(--text-inverse);
  line-height: var(--leading-display);
  margin-bottom: 20px;
}

.book-body {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 40px;
}

.book-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--teal);
  transition: color 0.2s;
}

.book-link:hover {
  color: #4DBBBE;
}

.calendly-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .book-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-text {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-text a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-text a:hover { color: rgba(255,255,255,0.9); }

.footer-dot {
  margin: 0 12px;
  opacity: 0.3;
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
