:root {
  --color-primary: #173B57;
  --color-bg: #FAF7F0;
  --color-text: #27343A;
  --color-accent: #D75B4A;
  --color-surface: #ffffff;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-width: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(23, 59, 87, 0.3); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { box-shadow: 0 8px 20px rgba(215, 91, 74, 0.35); }
.btn-lg { font-size: 1.05rem; padding: 1rem 2.25rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(23, 59, 87, 0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 42px; width: auto; }

.primary-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-family: var(--font-heading);
  font-weight: 500;
}
.primary-nav a { color: var(--color-text); }
.primary-nav a:hover { color: var(--color-accent); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 700; }

.header-cta { margin-left: 1rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 4.5rem 1.5rem 3.5rem;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 34ch;
  margin-bottom: 1rem;
}
.hero-reassurance {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-primary);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}
.hero-placeholder {
  background: var(--color-surface);
  border: 2px dashed rgba(23, 59, 87, 0.25);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(23, 59, 87, 0.55);
}
.placeholder-icon { font-size: 2rem; }
.placeholder-label { font-family: var(--font-heading); font-weight: 500; }

/* Narrow centered text sections */
.narrow { max-width: 700px; text-align: center; }
.recognition, .life-question, .how-different, .outcomes, .proof, .final-invitation {
  padding: 4rem 1.5rem;
}
.recognition { background: var(--color-surface); }
.life-question-sub {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1.2rem;
}
.how-different { background: var(--color-surface); }
.how-different .tagline, .outcomes .tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-style: italic;
}
.supports-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.supports-list li {
  padding-left: 1.5rem;
  position: relative;
}
.supports-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Services */
.services { padding: 5rem 0; }
.services h2 { text-align: center; margin-bottom: 0.75rem; }
.services-intro { text-align: center; max-width: 600px; margin: 0 auto 2.5rem; }
.services-grid-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(23, 59, 87, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(23, 59, 87, 0.12);
}
.service-card h3::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.service-card.featured {
  grid-column: 1 / -1;
  background: var(--color-primary);
  color: #fff;
}
.service-card.featured h3 { color: #fff; }
.service-card.featured h3::before { background: var(--color-accent); }
.availability-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  margin-bottom: 1rem;
}
.availability-tag.limited { background: rgba(215, 91, 74, 0.15); color: var(--color-accent); }

/* Outcomes */
.outcomes-tags {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.outcomes-tags li {
  background: var(--color-surface);
  border: 1px solid rgba(23, 59, 87, 0.12);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

/* Proof */
.proof blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
  text-align: left;
  margin-top: 1.5rem;
}
.proof p {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-primary);
}
.proof cite { font-style: normal; opacity: 0.7; }
.proof-note { font-size: 0.85rem; opacity: 0.65; margin-top: 0.5rem; }

/* Final invitation */
.final-invitation {
  background: var(--color-primary);
  color: #fff;
}
.final-invitation h2 { color: #fff; }

/* Story */
.story { padding: 5rem 0; }
.story-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.story-placeholder { aspect-ratio: 1 / 1; }

/* Page hero (About / Services intro) */
.page-hero {
  padding: 4rem 1.5rem 1rem;
  text-align: center;
}
.page-hero .lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* About bio */
.bio { padding: 1rem 0 3rem; }
.bio-inner { max-width: 720px; margin: 0 auto; }

/* Accent-bordered photo placeholder */
.photo-placeholder-accent {
  border-color: var(--color-accent);
  max-width: 420px;
  margin: 0 auto 3rem;
}

/* Values grid */
.values { padding: 0 0 4rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.value-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 18px rgba(23, 59, 87, 0.06);
}
.value-card h3::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

/* CTA row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem 5rem;
  text-align: center;
}
.cta-row .cta-secondary {
  color: var(--color-text);
  text-decoration: underline;
  font-family: var(--font-body);
}

/* Service blocks (Services page detail) */
.service-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}
.service-block {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 4px 18px rgba(23, 59, 87, 0.06);
}
.service-block h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.service-block .who-for {
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.service-block ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}
.service-block li { margin-bottom: 0.4rem; }
.service-block .outcome { color: var(--color-primary); font-weight: 500; }
.price-line {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  margin: 1rem 0 0;
}

/* Footer */
.site-footer {
  background: #10293e;
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 1.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo { height: 34px; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.footer-brand a { color: rgba(255,255,255,0.85); }
.footer-brand .btn { margin-top: 0.75rem; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-heading);
}
.footer-links a { color: rgba(255,255,255,0.85); }
.footer-links a:hover { color: #fff; }
.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .story-inner { grid-template-columns: 1fr; }
  .story-visual { order: -1; max-width: 280px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    display: none;
    border-bottom: 1px solid rgba(23, 59, 87, 0.08);
  }
  .primary-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .header-inner { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
