:root {
  --cream: #faf6ef;
  --cream-alt: #f2ece0;
  --ink: #33302a;
  --sage: #5c6e51;
  --sage-dark: #435039;
  --terracotta: #bd7550;
  --border: #e4dccb;
  --hero-bg: #eef1e6;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: 'Heebo', Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.6em;
  color: var(--sage-dark);
}

h1 { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--terracotta); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 720px; }

.center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
}

.main-nav a:hover { color: var(--sage-dark); }

.main-nav a:focus-visible,
.logo:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-cta {
  background: var(--sage);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--sage-dark);
  display: block;
}

/* Hero */
.hero {
  padding: 100px 0 90px;
  text-align: center;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(51, 48, 42, 0.04);
}

.hero-inner { max-width: 720px; margin: 0 auto; }

.hero-sub {
  font-size: 1.15rem;
  color: #55503f;
  max-width: 600px;
  margin: 0 auto 2em;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--sage);
  color: #fff;
}

.btn-primary:hover { background: var(--sage-dark); }

/* About */
.about-inner {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.about-photo {
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(51, 48, 42, 0.12);
}

.about-text { flex: 1 1 auto; min-width: 0; }

/* Shared rounded photo */
.photo-rect {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(51, 48, 42, 0.12);
}

/* Services photo */
.services-photo {
  max-width: 420px;
  margin: 40px auto 0;
}

/* Contact photo */
.contact-photo {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(51, 48, 42, 0.12);
  margin: 0 auto 24px;
}

/* Sections */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section.alt { background: var(--cream-alt); }

.section.disclaimer {
  background: #f4efe4;
  border-top: 1px solid var(--border);
}

.section.disclaimer h2 {
  font-size: 1.3rem;
}

.section.disclaimer p {
  font-size: 0.96rem;
  color: #55503f;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.training-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.training-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.training-list li:last-child { border-bottom: none; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin: 32px auto 0;
  text-align: right;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}

.direct-contact {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #55503f;
}

.form-note {
  font-size: 0.92rem;
  color: #7a7566;
  margin: -0.6em 0 0;
}

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

/* Footer */
.site-footer {
  padding: 32px 0 48px;
  text-align: center;
  color: #7a7566;
  font-size: 0.88rem;
}

.footer-logo {
  height: 90px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
  opacity: 0.9;
}

.footer-note { max-width: 500px; margin: 0.5em auto 0; }

/* Responsive */
@media (max-width: 760px) {
  h1 { font-size: 1.9rem; }
  .hero { padding: 70px 0 60px; }
  .cards { grid-template-columns: 1fr; }
  .about-inner { flex-direction: column; text-align: center; }
  .about-photo { width: 160px; height: 160px; }
  .services-photo { max-width: 280px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }
}
