* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #172033; background: #fff; font-synthesis: none; text-rendering: optimizeLegibility; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; }
.container { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #e8ebf0; background: rgb(255 255 255 / 95%); backdrop-filter: blur(12px); }
.header-inner { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { text-decoration: none; font-size: 1.5rem; font-weight: 750; letter-spacing: -.04em; white-space: nowrap; }
.brand span { color: #657747; }
.navigation { display: flex; align-items: center; gap: .35rem; }
.navigation > a:not(.button) { padding: .6rem .75rem; border-radius: .35rem; font-size: .9rem; text-decoration: none; }
.navigation > a:not(.button):hover { background: #f2f5fa; }
.language-switch { display: flex; gap: .4rem; align-items: center; margin-left: .5rem; color: #657187; font-size: .75rem; }
.language-switch a { text-decoration: none; }
.language-switch a[aria-current="page"] { color: #657747; font-weight: 700; }
.menu-toggle { display: none; border: 0; background: transparent; padding: .6rem; font-size: 1.3rem; cursor: pointer; }
.section { padding: 5rem 0; }
.hero { padding: 6rem 0 6.5rem; }
.hero { display: flex; min-height: calc(100svh - 4rem); align-items: center; padding-block: 4rem; text-align: center; }
.hero-content { max-width: 72rem; }
.hero h1 { margin-inline: auto; }
.hero-actions { justify-content: center; }
.eyebrow { margin: 0 0 1.25rem; color: #657747; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 58rem; margin-bottom: 1rem; font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: 1.08; letter-spacing: -.045em; }
h2 { margin-bottom: 1.8rem; font-size: clamp(1.75rem, 3.5vw, 2.25rem); line-height: 1.2; letter-spacing: -.025em; }
h3 { margin-bottom: .65rem; font-size: 1.12rem; }
.tagline { margin-bottom: 1rem; font-size: clamp(1.15rem, 2.7vw, 1.5rem); font-weight: 650; }
.lead { max-width: 52rem; margin: 0 auto 1rem; color: #596579; font-size: 1.1rem; line-height: 1.8; }
.muted { max-width: 48rem; color: #657187; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.trust-strip { border-block: 1px solid #e8ebf0; background: #f7f8fa; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.5rem; margin-block: 0; padding-block: 1rem; padding-inline: 0; list-style: none; }
.trust-list li { display: inline-flex; align-items: center; gap: .45rem; color: #46513a; font-size: .9rem; font-weight: 650; }
.trust-list li span { color: #657747; font-size: 1rem; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; border: 1px solid #657747; border-radius: .35rem; background: #657747; padding: .7rem 1.25rem; color: #fff; font-weight: 650; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { transform: translateY(-1px); border-color: #4f6038; background: #4f6038; }
.button-small { min-height: 2.4rem; margin-left: .35rem; padding: .5rem .9rem; font-size: .875rem; }
.button-outline { background: transparent; color: #172033; border-color: #d3d9e3; }
.button-outline:hover { color: #4f6038; background: #f1f3eb; border-color: #87966b; }
.section-muted { background: #f7f8fa; }
.section-bordered { border-block: 1px solid #e8ebf0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.service-card { border-top: 2px solid #87966b; padding-top: 1.2rem; }
.service-card p, .approach-grid p, .body-copy { color: #596579; line-height: 1.8; }
.text-link { display: inline-block; margin-top: 1.6rem; color: #53633a; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.narrow { max-width: 50rem; }
.body-copy { font-size: 1.05rem; }
.approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.approach-grid li { border-left: 2px solid #87966b; padding-left: 1.2rem; }
.contact-section { text-align: center; }
.contact-section .narrow { margin-inline: auto; }
.contact-section p { color: #596579; line-height: 1.7; }
.email-link { display: inline-block; margin-top: .4rem; font-size: 1.15rem; font-weight: 700; text-decoration-color: #657747; text-underline-offset: .3rem; }
.contact-note { margin: 1rem 0 0; font-size: .875rem; }
.site-footer { background: #111827; padding: 2.5rem 0; color: #fff; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.brand-footer { font-size: 1.25rem; }
.brand-footer span { color: #b6c49a; }
.site-footer p { margin: .6rem 0 0; color: #cbd5e1; font-size: .875rem; }
.site-footer a:not(.brand) { color: #e2e8f0; font-size: .875rem; text-underline-offset: .2rem; }
.site-footer .copyright { margin: 0; color: #9ca3af; font-size: .75rem; }
:focus-visible { outline: 3px solid #87966b; outline-offset: 3px; }
@media (max-width: 760px) {
  .container { width: min(100% - 2rem, 72rem); }
  .section { padding: 4rem 0; }
  .hero { padding: 4.5rem 0; }
  .menu-toggle { display: block; }
  .navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; align-items: stretch; flex-direction: column; border-bottom: 1px solid #e8ebf0; background: #fff; padding: .75rem 1rem 1rem; box-shadow: 0 8px 18px rgb(23 32 51 / 8%); }
  .navigation.is-open { display: flex; }
  .navigation > a:not(.button) { padding: .75rem; }
  .navigation .button-small { margin: .25rem 0; }
  .language-switch { margin: .5rem .75rem 0; }
  .service-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .approach-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Theme toggle */
.theme-toggle { display: inline-flex; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; align-items: center; justify-content: center; margin-left: .35rem; border: 1px solid #d3d9e3; border-radius: 999px; background: transparent; color: #172033; cursor: pointer; font-size: 1.15rem; }
.theme-toggle:hover { background: #f2f5fa; }
:root[data-theme="dark"] { color-scheme: dark; color: #edf2f7; background: #111827; }
:root[data-theme="dark"] body { background: #111827; color: #edf2f7; }
:root[data-theme="dark"] .site-header { border-color: #303b4e; background: rgb(17 24 39 / 95%); }
:root[data-theme="dark"] .navigation > a:not(.button):hover,
:root[data-theme="dark"] .theme-toggle:hover { background: #273449; }
:root[data-theme="dark"] .language-switch { color: #a7b2c4; }
:root[data-theme="dark"] .menu-toggle,
:root[data-theme="dark"] .theme-toggle { color: #edf2f7; }
:root[data-theme="dark"] .theme-toggle { border-color: #536176; }
:root[data-theme="dark"] .section-muted { background: #192334; }
:root[data-theme="dark"] .trust-strip { border-color: #303b4e; background: #192334; }
:root[data-theme="dark"] .trust-list li { color: #d3ddc2; }
:root[data-theme="dark"] .trust-list li span { color: #b6c49a; }
:root[data-theme="dark"] .section-bordered { border-color: #303b4e; }
:root[data-theme="dark"] .lead,
:root[data-theme="dark"] .service-card p,
:root[data-theme="dark"] .approach-grid p,
:root[data-theme="dark"] .body-copy,
:root[data-theme="dark"] .contact-section p { color: #b7c2d2; }
:root[data-theme="dark"] .muted { color: #a7b2c4; }
:root[data-theme="dark"] .button-outline { border-color: #536176; color: #edf2f7; }
:root[data-theme="dark"] .button-outline:hover { border-color: #87966b; background: #2a3022; color: #c1ccaa; }
:root[data-theme="dark"] .brand span,
:root[data-theme="dark"] .language-switch a[aria-current="page"],
:root[data-theme="dark"] .eyebrow { color: #b6c49a; }
:root[data-theme="dark"] .text-link { color: #c1ccaa; }
:root[data-theme="dark"] .brand-footer span { color: #b6c49a; }
:root[data-theme="dark"] .site-footer { background: #090e18; }
:root[data-theme="dark"] .site-footer p { color: #cbd5e1; }
:root[data-theme="dark"] .site-footer .copyright { color: #9ca3af; }
@media (max-width: 760px) {
  .theme-toggle { margin-left: auto; }
  .menu-toggle { margin-left: .5rem; }
  :root[data-theme="dark"] .navigation { border-color: #303b4e; background: #111827; }
}

/* Smoothly interpolate the site-wide theme colors. */
body, body *, .site-header, .site-footer {
  transition: color 320ms ease, background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle svg { position: absolute; width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: opacity 240ms ease, transform 320ms cubic-bezier(.2,.8,.2,1); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-45deg) scale(.55); }
:root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(45deg) scale(.55); }
:root[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
.page-main { min-height: calc(100vh - 9rem); }
.page-title { margin-bottom: 1rem; }
.legal-content { color: #596579; line-height: 1.75; }
.legal-content h2 { margin: 2rem 0 .75rem; color: #172033; font-size: 1.35rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content a { color: #53633a; text-underline-offset: .2rem; }
.legal-content .page-subtitle { margin-bottom: 2rem; }
.legal-note { margin-top: 2rem; border-top: 1px solid #e8ebf0; padding-top: 1rem; font-size: .9rem; }
.legal-footer { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.page-subtitle { margin-bottom: 1.5rem; color: #596579; font-size: 1.2rem; line-height: 1.7; }
.not-found-section { display: grid; min-height: min(72vh, 48rem); place-items: center; overflow: hidden; padding-block: 5rem; text-align: center; }
.not-found-content { position: relative; max-width: 46rem; }
.not-found-code { position: absolute; z-index: -1; top: 50%; left: 50%; margin: 0; color: #f2f5fa; font-size: clamp(12rem, 38vw, 25rem); font-weight: 800; letter-spacing: -.1em; line-height: .8; transform: translate(-54%, -60%); user-select: none; }
.not-found-content .eyebrow { margin-bottom: .8rem; }
.not-found-content .page-title { margin-inline: auto; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.not-found-content .page-subtitle { max-width: 38rem; margin-inline: auto; }
.not-found-actions { justify-content: center; }
:root[data-theme="dark"] .not-found-code { color: #192334; }
.contact-email-line { margin: 0 0 2rem; color: #657187; }
.contact-email-line a { color: #53633a; font-weight: 650; text-underline-offset: .2rem; }
.contact-form { display: grid; gap: 1.35rem; margin-top: 2rem; }
.form-field { display: grid; gap: .45rem; }
.form-field > label { font-weight: 650; }
.form-field input:not([type="checkbox"]), .form-field select, .form-field textarea { width: 100%; border: 1px solid #cfd6e1; border-radius: .35rem; background: #fff; padding: .8rem .9rem; color: #172033; font: inherit; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #657747; outline: 3px solid rgb(101 119 71 / 20%); }
.form-field small, .optional { color: #657187; font-size: .85rem; font-weight: 400; }
.form-consent { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; }
.form-consent input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: #657747; }
.form-consent label { color: #596579; font-size: .9rem; line-height: 1.5; }
.contact-form .button { justify-self: start; cursor: pointer; }
.form-status { margin: 0; border-radius: .35rem; background: #e8f7ed; padding: .9rem 1rem; color: #176534; line-height: 1.5; }
.form-status.is-error { background: #fff0ef; color: #9c2820; }
.form-status.is-toast { position: fixed; z-index: 20; top: 1.25rem; right: 1.25rem; width: min(28rem, calc(100vw - 2.5rem)); border: 1px solid #b8e4c4; border-radius: .75rem; background: #effaf2; padding: 1rem 1.25rem; box-shadow: 0 12px 32px rgb(23 101 52 / 14%); opacity: 0; transform: translateY(-.6rem); transition: opacity 350ms ease, transform 350ms ease; }
.form-status.is-toast.is-visible { opacity: 1; transform: translateY(0); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.about-grid article { border-left: 2px solid #87966b; padding-left: 1.2rem; }
.profile-intro { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: start; gap: 1.25rem; margin-top: 1.5rem; }
.profile-photo { display: block; width: 6rem; height: 6rem; aspect-ratio: 1 / 1; border: 3px solid #e8ebf0; border-radius: 50%; object-fit: cover; object-position: center 35%; }
.profile-name { margin-bottom: .6rem; font-size: 1.45rem; }
.profile-intro .page-subtitle { margin-bottom: 1rem; }
.profile-intro .body-copy:last-child { margin-bottom: 0; }
.contact-cta { margin-top: 1rem; }
:root[data-theme="dark"] .page-subtitle,
:root[data-theme="dark"] .contact-email-line,
:root[data-theme="dark"] .form-field small,
:root[data-theme="dark"] .optional,
:root[data-theme="dark"] .form-consent label { color: #b7c2d2; }
:root[data-theme="dark"] .contact-email-line a { color: #c1ccaa; }
:root[data-theme="dark"] .legal-content { color: #b7c2d2; }
:root[data-theme="dark"] .profile-photo { border-color: #303b4e; }
:root[data-theme="dark"] .legal-content h2 { color: #edf2f7; }
:root[data-theme="dark"] .legal-content a { color: #c1ccaa; }
:root[data-theme="dark"] .legal-note { border-color: #303b4e; }
:root[data-theme="dark"] .form-field input:not([type="checkbox"]),
:root[data-theme="dark"] .form-field select,
:root[data-theme="dark"] .form-field textarea { border-color: #536176; background: #111827; color: #edf2f7; }
:root[data-theme="dark"] .form-status { background: #153322; color: #b9f6ca; }
:root[data-theme="dark"] .form-status.is-error { background: #3c2022; color: #ffc9c5; }
:root[data-theme="dark"] .form-status.is-toast { border-color: #315a3d; background: #183824; box-shadow: 0 12px 32px rgb(0 0 0 / 28%); }
@media (prefers-reduced-motion: reduce) {
  body, body *, .site-header, .site-footer, .theme-toggle svg { transition-duration: .01ms !important; }
}
@media (max-width: 600px) {
  .profile-intro { grid-template-columns: 1fr; gap: 1.25rem; }
  .profile-photo { width: 5rem; height: 5rem; }
}

/* Reveal content as it enters the viewport; content stays visible without JS. */
.has-scroll-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .75, .25, 1);
}
.has-scroll-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.has-scroll-reveal .service-card:nth-child(2),
.has-scroll-reveal .approach-grid li:nth-child(2) { transition-delay: 100ms; }
.has-scroll-reveal .service-card:nth-child(3),
.has-scroll-reveal .approach-grid li:nth-child(3) { transition-delay: 180ms; }
.has-scroll-reveal .approach-grid li:nth-child(4) { transition-delay: 260ms; }
@media (prefers-reduced-motion: reduce) {
  .has-scroll-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}
