@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap");

:root {
  --bg: #f3ecdc;
  --surface: #faf6ec;
  --beige-dark: #e6dcc4;
  --forest: #2f4a3c;
  --forest-light: #3f6151;
  --forest-dark: #243a2f;
  --text: #2b2b26;
  --muted: #5c5c52;
  --border: #e6dcc4;
  --accent: #a3b18a;
  --accent-hover: #8f9e74;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
}

a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--forest-dark);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  background-color: var(--forest);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--surface);
  text-decoration: none;
  line-height: 1.25;
}

.brand:hover {
  color: var(--surface);
  text-decoration: none;
}

.brand .name {
  font-size: 1.2rem;
  font-weight: 600;
}

.brand .firm {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--accent);
  color: var(--surface);
  font-size: 1.25rem;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu > li > a,
.menu > li > .dropdown-trigger {
  display: block;
  color: var(--surface);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.menu > li > a:hover,
.menu > li > .dropdown-trigger:hover,
.menu > li.active > a,
.menu > li.active > .dropdown-trigger {
  color: var(--accent);
  text-decoration: none;
}

.dropdown-trigger::after {
  content: " \25BE";
  font-size: 0.65rem;
  color: var(--accent);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  list-style: none;
  padding: 0.45rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  box-shadow: 0 6px 18px rgba(36, 58, 47, 0.1);
}

.menu li:hover > .dropdown,
.menu li:focus-within > .dropdown,
.dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  color: var(--forest-dark);
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  text-decoration: none;
}

.dropdown li a:hover {
  background-color: var(--beige-dark);
  color: var(--forest);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--forest-dark);
  color: var(--surface);
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--surface);
}

.hero .tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  max-width: 28em;
  margin: 0 auto;
}

.hero .hero-actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--forest-dark);
  padding: 0.75rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background-color: var(--surface);
  border-color: var(--surface);
  color: var(--forest-dark);
  text-decoration: none;
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--forest);
  color: var(--forest);
}

.btn.outline:hover {
  background-color: var(--forest);
  border-color: var(--forest);
  color: var(--surface);
}

.hero .btn.outline {
  border-color: var(--accent);
  color: var(--surface);
}

.hero .btn.outline:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--forest-dark);
}

.hero-btn {
  min-width: 12.5rem;
  text-align: center;
}

/* ---------- Layout ---------- */
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

main.wide {
  max-width: 1120px;
}

.page-title {
  font-size: clamp(2.15rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--forest);
}

.page-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--accent);
  margin-top: 0.85rem;
}

.page-intro {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 2.75rem;
  max-width: 46em;
}

.page-title.centered,
.page-intro.centered {
  text-align: left;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .nowrap {
    white-space: normal;
  }
}

section.area {
  padding: 1.75rem 1.85rem;
  margin-bottom: 0;
  scroll-margin-top: 88px;
  background: var(--surface);
  border-left: 3px solid var(--forest);
}

section.area h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--forest);
  letter-spacing: -0.015em;
}

section.area p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.75;
}

section.area ul {
  margin: 0.75rem 0 1.5rem 1.25rem;
}

section.area li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* ---------- Service links (interactive lists) ---------- */
.service-list {
  list-style: none;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.service-list li {
  border-bottom: 1px solid var(--border);
}

.service-list a {
  display: block;
  padding: 1.45rem 0.85rem;
  margin: 0 -0.85rem;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.15s ease;
}

.service-list a:hover {
  color: var(--forest);
  background-color: rgba(250, 246, 236, 0.8);
  text-decoration: none;
}

.service-list h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--forest);
}

.service-list p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.service-list .more {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest-light);
}

/* ---------- Home content ---------- */
.content-block {
  margin-bottom: 3.5rem;
}

.content-block h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--forest);
}

.content-block p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.08rem;
  max-width: 48em;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.credentials {
  display: grid;
  gap: 2rem;
  margin: 0 0 3.75rem;
  padding: 0.5rem 0 0.75rem;
}

.credential h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.3;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}

.credential p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (min-width: 800px) {
  .credentials {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.memberships {
  padding-top: 0.25rem;
}

.memberships-spaced {
  margin-top: 2.5rem;
}

.memberships h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--forest);
}

.memberships p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Blog ---------- */
.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.post-list-date {
  color: var(--muted) !important;
  font-size: 0.92rem !important;
  margin: 0.15rem 0 0.45rem !important;
}

.post-body {
  margin-top: 0.5rem;
}

.post-body p {
  margin-bottom: 1rem;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1rem 1.25rem;
}

.post-body li {
  margin-bottom: 0.4rem;
}

.post-body a {
  color: var(--forest);
}

.back-link-wrap {
  margin-top: 2rem;
}

.back-link {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest-light);
}

.back-link:hover {
  text-decoration: underline;
}

/* ---------- Contact ---------- */
.contact-details {
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.contact-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--forest);
}

.contact-item p {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-item .label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-item .btn {
  margin-top: 0.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--forest-dark);
  color: var(--surface);
  padding: 3rem 1.5rem 2rem;
  margin-top: 0;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-inner h4 {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-inner p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--beige-dark);
}

.footer-inner a {
  color: var(--surface);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1080px;
  margin: 2.25rem auto 0;
  text-align: left;
  color: var(--accent);
  font-size: 0.85rem;
  border-top: 1px solid var(--forest-light);
  padding-top: 1.25rem;
}

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

  .nav {
    position: relative;
    flex-wrap: wrap;
  }

  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--forest-light);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
  }

  .menu.open {
    display: flex;
  }

  .menu > li > a,
  .menu > li > .dropdown-trigger {
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.25rem;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-left: 2px solid var(--forest-light);
    margin: 0 0 0.35rem 0.5rem;
    display: none;
    background: transparent;
  }

  .dropdown.open {
    display: block;
  }

  .dropdown li a {
    padding: 0.45rem 0.75rem;
    color: var(--surface);
  }

  .dropdown li a:hover {
    background-color: var(--forest-light);
    color: var(--accent);
  }

  .hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (min-width: 640px) {
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }
}

/* ---------- Home only: polished vibe look ---------- */
body.home {
  --home-shadow: none;
}

body.home .hero {
  position: relative;
  overflow: hidden;
  background-color: var(--forest-dark);
  padding: 3.5rem 1.5rem;
}

body.home .hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: center;
  animation: home-fade-up 0.7s ease both;
}

body.home .hero-copy {
  padding: 0;
}

body.home .hero-firm {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

body.home .hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  margin-bottom: 0.55rem;
  letter-spacing: -0.03em;
}

body.home .hero .tagline {
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  margin-bottom: 0.85rem;
}

body.home .hero-support {
  margin: 0 auto;
  max-width: 28em;
  color: var(--beige-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.home .hero-actions {
  margin-top: 2.2rem;
  justify-content: center;
}

body.home .hero-btn {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--surface);
  padding: 0.9rem 1.7rem;
  min-width: 13rem;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.home .hero-btn-primary {
  background-color: var(--accent);
  color: var(--forest-dark);
}

body.home .hero-btn:hover {
  background-color: var(--surface);
  border-color: var(--surface);
  color: var(--forest-dark);
  transform: translateY(-2px);
}

body.home .hero-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

body.home .hero-portrait img {
  width: min(72vw, 300px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 4px rgba(163, 177, 138, 0.55),
    0 0 0 12px rgba(250, 246, 236, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

@media (min-width: 860px) {
  body.home .hero {
    padding: 4.25rem 1.5rem;
  }

  body.home .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
    align-items: center;
  }

  body.home .hero-support {
    margin-left: 0;
  }

  body.home .hero-actions {
    justify-content: flex-start;
  }

  body.home .hero-portrait {
    justify-content: center;
  }

  body.home .hero-portrait img {
    width: 400px;
  }
}

body.home main {
  max-width: 1080px;
  padding: 3.5rem 1.5rem 4.5rem;
}

body.home .intro-card {
  background-color: var(--surface);
  border-radius: 12px;
  padding: 2.4rem 2.6rem;
  box-shadow: var(--home-shadow);
  margin-bottom: 1.75rem;
  border: 1px solid rgba(47, 74, 60, 0.06);
  animation: home-fade-up 0.75s ease both;
  animation-delay: 0.08s;
}

body.home .intro-card h2 {
  color: var(--forest);
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.home .intro-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

body.home .intro-card p:last-child {
  margin-bottom: 0;
}

body.home .welcome {
  text-align: center;
  padding: 3.2rem 3.4rem;
  border-top: 4px solid var(--accent);
}

body.home .welcome h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background-color: var(--accent);
  margin: 0.95rem auto 0;
}

body.home .welcome p {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.15rem;
  font-size: 1.12rem;
}

body.home .highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 2.25rem;
  animation: home-fade-up 0.75s ease both;
  animation-delay: 0.16s;
}

body.home .highlight {
  background: var(--forest);
  color: var(--surface);
  padding: 1.85rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--home-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.home .highlight:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

body.home .highlight-stat {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

body.home .highlight h3 {
  color: var(--surface);
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
  font-weight: 600;
}

body.home .highlight p:not(.highlight-stat) {
  color: rgba(250, 246, 236, 0.82);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

body.home .home-cta {
  text-align: center;
  background-color: var(--surface);
  border-radius: 12px;
  padding: 2.4rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--home-shadow);
  border: 1px solid rgba(47, 74, 60, 0.06);
}

body.home .home-cta h2 {
  color: var(--forest);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

body.home .home-cta p {
  color: var(--muted);
  margin: 0 auto 1.4rem;
  max-width: 28em;
}

body.home .home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
}

body.home .home-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3.1rem;
  min-width: 16.5rem;
  padding: 0.75rem 1.25rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

body.home .home-cta .btn.outline {
  border-color: var(--forest);
  color: var(--forest);
  background-color: transparent;
}

body.home .home-cta .btn.outline:hover {
  background-color: var(--forest);
  color: var(--surface);
}

body.home .memberships {
  background-color: var(--beige-dark);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  margin-top: 0.5rem;
  text-align: center;
}

body.home .memberships h3 {
  color: var(--forest);
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  font-weight: 700;
}

body.home .memberships p {
  color: var(--text);
  margin: 0;
}

@keyframes home-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero-inner,
  body.home .intro-card,
  body.home .highlights {
    animation: none;
  }

  body.home .hero-btn,
  body.home .highlight {
    transition: none;
  }
}

@media (max-width: 600px) {
  body.home .welcome {
    padding: 2.1rem 1.35rem;
  }

  body.home .intro-card {
    padding: 1.75rem 1.35rem;
  }

  body.home .hero {
    padding: 3rem 1.25rem 3.25rem;
  }

  body.home .hero-portrait img {
    width: min(70vw, 240px);
  }
}
