:root {
  --forest: #1f332a;
  --deep-forest: #14251e;
  --green: #274c3b;
  --moss: #6d7f52;
  --sage: #a4ae78;
  --clay: #a86046;
  --sand: #d8c6a5;
  --parchment: #f3ead8;
  --cream: #fbf7ee;
  --ink: #243027;
  --muted: #647066;
  --line: rgba(39, 76, 59, .18);
  --shadow: 0 24px 70px rgba(31, 51, 42, .12);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 42px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 4%, rgba(164,174,120,.16), transparent 28rem),
    radial-gradient(circle at 91% 45%, rgba(168,96,70,.08), transparent 30rem),
    linear-gradient(180deg, #fbf7ee 0%, #f8f1e4 100%);
}
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--sand); color: var(--deep-forest); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  padding: .75rem 1rem;
  background: var(--deep-forest);
  color: white;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0 0 1rem; color: var(--forest); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(3.15rem, 7vw, 6.9rem); }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p { margin: 0 0 1.3rem; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: #4e5b52; max-width: 720px; }
.kicker { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2vw, 2rem); color: var(--green); line-height: 1.35; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,247,238,.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(31,51,42,.06); background: rgba(251,247,238,.95); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: min(320px, 100%); max-height: 68px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links-text { color: #3f4d43}
.nav-links a { text-decoration: none; font-size: .94rem; font-weight: 700; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--clay); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; align-items: center; justify-content: center; color: var(--forest); }
.menu-toggle svg { width: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--green);
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(39,76,59,.16); }
.btn-primary { color: white; background: var(--green); }
.btn-primary:hover { background: var(--deep-forest); }
.btn-secondary { color: var(--green); background: transparent; }
.btn-secondary:hover { background: rgba(39,76,59,.06); }
.btn-clay { color: white; background: var(--clay); border-color: var(--clay); }
.btn-small { min-height: 42px; padding: .7rem 1rem; font-size: .88rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--green); font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero { min-height: calc(100vh - 84px); display: grid; align-items: center; padding: clamp(3rem, 7vw, 7rem) 0 5rem; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: url('../img/fractal-roots.svg') center bottom / cover no-repeat; z-index: -1; opacity: .8; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-copy h1 span { color: var(--clay); font-style: italic; }
.hero-copy .lead { max-width: 650px; }
.hero-note { display: flex; gap: .9rem; align-items: flex-start; margin-top: 2.25rem; padding-top: 1.3rem; border-top: 1px solid var(--line); max-width: 610px; font-size: .9rem; color: var(--muted); }
.hero-note svg { width: 26px; flex: 0 0 auto; color: var(--moss); }

.hero-mark { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero-mark::before, .hero-mark::after { content: ""; position: absolute; border-radius: 50%; }
.hero-mark::before { inset: 10% 12%; border: 1px solid rgba(39,76,59,.18); background: repeating-conic-gradient(from 0deg, transparent 0 18deg, rgba(109,127,82,.08) 18deg 19deg); animation: slow-spin 26s linear infinite; }
.hero-mark::after { inset: 18% 14%; background: radial-gradient(circle, rgba(255,255,255,.92) 0 42%, rgba(243,234,216,.9) 43% 70%, transparent 71%); box-shadow: var(--shadow); z-index: -1; }
.hero-brand { min-height: auto; }
.hero-logo-shell { width: min(680px, 100%); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 34px; background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(250,245,239,.88)); box-shadow: 0 28px 60px rgba(31,51,42,.12); backdrop-filter: blur(4px); }
.hero-logo-assembly { position: relative; width: 100%; }
.hero-logo-base { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 32px rgba(31,51,42,.10)); }
.hero-logo-gear { position: absolute; left: 27.54%; top: 1.09%; width: 43.95%; height: auto; transform-origin: 50% 50%; animation: gear-rotate 16s linear infinite; filter: drop-shadow(0 6px 10px rgba(31,51,42,.10)); }
.hero-caption { margin-top: 1rem; text-align: center; color: var(--moss); font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@keyframes gear-rotate { to { transform: rotate(360deg); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }

.signal-strip { border-block: 1px solid var(--line); background: rgba(243,234,216,.55); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal { padding: 1.5rem clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line); }
.signal:last-child { border-right: 0; }
.signal strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 1.2rem; }
.signal span { display: block; color: var(--muted); font-size: .86rem; margin-top: .2rem; }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.problem-list { display: grid; gap: 1rem; }
.problem-card { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.25rem; background: rgba(255,255,255,.5); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .2s ease, background .2s ease; }
.problem-card:hover { transform: translateX(5px); background: white; }
.problem-card .num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--parchment); color: var(--clay); font-weight: 900; }
.problem-card strong { color: var(--forest); }
.problem-card p { margin: .25rem 0 0; color: var(--muted); font-size: .92rem; }

.root-system { background: var(--deep-forest); color: #f6f0e5; overflow: hidden; }
.root-system::before { content: ""; position: absolute; inset: 0; background: url('../img/fractal-roots.svg') center 116% / 1200px auto no-repeat; filter: invert(1); opacity: .12; }
.root-system h2, .root-system h3 { color: #f6f0e5; }
.root-system .eyebrow { color: #dca98f; }
.root-system .lead { color: #cbd1ca; }
.root-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 3.5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); overflow: hidden; position: relative; }
.root-card { padding: clamp(1.5rem, 3vw, 2.35rem); background: rgba(20,37,30,.92); min-height: 290px; }
.root-card .step { font-family: Georgia, serif; font-size: 3rem; color: #93a76d; opacity: .9; }
.root-card p { color: #bfc8c0; font-size: .93rem; }
.root-card a { color: #f4d3bf; }

.service-preview-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.service-card { position: relative; padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.64); overflow: hidden; min-height: 320px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::after { content: ""; position: absolute; width: 110px; height: 110px; border: 1px solid rgba(109,127,82,.25); border-radius: 48% 52% 54% 46%; right: -45px; bottom: -50px; transform: rotate(18deg); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(39,76,59,.35); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px 18px 18px 5px; background: var(--parchment); color: var(--green); margin-bottom: 1.5rem; }
.service-icon svg { width: 27px; }
.service-card p { color: var(--muted); }
.service-card ul { padding-left: 1.1rem; color: #576259; font-size: .92rem; }
.service-card li + li { margin-top: .35rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.story-panel { background: var(--parchment); padding: clamp(2rem, 5vw, 4rem); border-radius: 12rem 12rem var(--radius-lg) var(--radius-lg); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.story-panel::before { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(39,76,59,.2); border-radius: 50%; top: -95px; right: -105px; box-shadow: 0 0 0 45px rgba(109,127,82,.05), 0 0 0 90px rgba(109,127,82,.04); }
.story-panel blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.7vw, 2.4rem); line-height: 1.25; color: var(--forest); position: relative; }
.story-panel cite { margin-top: 1.5rem; color: var(--clay); font-weight: 800; font-style: normal; }

.cta-band { padding: clamp(3rem, 7vw, 6rem) 0; }
.cta-shell { position: relative; overflow: hidden; padding: clamp(2.4rem, 6vw, 5.5rem); border-radius: var(--radius-lg); background: var(--clay); color: white; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.cta-shell::before { content: ""; position: absolute; inset: 0; background: url('../img/fractal-roots.svg') center 40% / cover no-repeat; filter: invert(1); opacity: .13; }
.cta-shell > * { position: relative; }
.cta-shell h2 { color: white; max-width: 680px; }
.cta-shell p { color: #fae8df; max-width: 650px; }
.cta-shell .actions { justify-content: flex-end; }
.cta-shell .btn-primary { background: var(--deep-forest); border-color: var(--deep-forest); }
.cta-shell .btn-secondary { color: white; border-color: rgba(255,255,255,.7); }

.page-hero { padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0 0 auto 48%; height: 100%; background: url('../img/fractal-roots.svg') center / cover no-repeat; transform: rotate(-16deg); opacity: .7; z-index: -1; }
.page-hero h1 { max-width: 990px; }
.page-hero .lead { max-width: 780px; }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font-size: .86rem; }
.breadcrumbs a { text-decoration: none; color: var(--green); font-weight: 800; }

.service-detail { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; }
.service-detail .index { font-family: Georgia, serif; color: var(--clay); font-size: 2.5rem; }
.service-detail-body { display: grid; grid-template-columns: 1fr .8fr; gap: 2rem; }
.service-detail-body ul { margin: 0; padding: 1.25rem 1.25rem 1.25rem 2.2rem; background: var(--parchment); border-radius: var(--radius-sm); }
.service-detail-body li + li { margin-top: .5rem; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.fit-card { padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.fit-card.good { border-top: 5px solid var(--moss); }
.fit-card.not-yet { border-top: 5px solid var(--sand); }
.check-list, .plain-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li, .plain-list li { position: relative; padding-left: 1.7rem; margin: .7rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--moss); font-weight: 900; }
.plain-list li::before { content: "—"; position: absolute; left: 0; color: var(--clay); }

.timeline { position: relative; margin-top: 3rem; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 38px 1fr; gap: 1.5rem; padding-bottom: 2rem; }
.timeline-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--parchment); border: 1px solid var(--green); display: grid; place-items: center; color: var(--green); font-size: .78rem; font-weight: 900; z-index: 1; }
.timeline-item p { color: var(--muted); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.value-card { padding: 2rem; border-top: 1px solid var(--line); }
.value-card .glyph { font-family: Georgia, serif; font-size: 3rem; color: var(--sage); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.contact-card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-md); background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
label { color: var(--forest); font-weight: 800; font-size: .88rem; }
input, textarea, select { width: 100%; border: 1px solid rgba(39,76,59,.24); border-radius: 12px; padding: .9rem 1rem; background: #fdfbf7; color: var(--ink); outline: none; transition: border .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(109,127,82,.12); }
textarea { min-height: 150px; resize: vertical; }
.form-note { margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.form-status { margin-top: 1rem; font-weight: 800; color: var(--green); }
.contact-method { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.contact-method strong { color: var(--forest); display: block; }
.contact-method a { color: var(--clay); font-weight: 800; text-decoration: none; }

.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--forest); font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--clay); }
details[open] summary::after { content: "–"; }
details p { max-width: 760px; margin-top: 1rem; color: var(--muted); }

.site-footer { padding: 4rem 0 2rem; background: var(--deep-forest); color: #d7ded7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 3rem; }
.footer-logo { width: min(290px, 100%); filter: none; opacity: 1; background: rgba(248,241,228,.94); padding: .65rem .9rem; border-radius: 20px; }
.site-footer h3 { color: white; font-family: inherit; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer p { color: #b7c1b9; max-width: 480px; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { color: #d7ded7; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); color: #8fa096; font-size: .82rem; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid, .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-mark { max-width: 600px; width: 100%; margin: 0 auto; order: -1; }
  .hero-copy { text-align: center; }
  .hero-copy .lead, .hero-note { margin-inline: auto; }
  .hero-copy .actions { justify-content: center; }
  .root-grid { grid-template-columns: 1fr 1fr; }
  .service-preview-grid, .service-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal:nth-child(2) { border-right: 0; }
  .signal:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-shell { grid-template-columns: 1fr; }
  .cta-shell .actions { justify-content: flex-start; }
  .service-detail-body { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .brand img { width: min(250px, 100%); max-height: 58px; }
  .menu-toggle { display: inline-flex; }
  .nav-links { position: absolute; inset: 84px 1rem auto; display: none; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem .5rem; }
  .nav-links a.btn { text-align: center; }
  .service-preview-grid, .service-grid, .values-grid, .fit-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: .5rem; }
  .service-detail .index { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--max)); }
  h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .root-grid, .signal-grid { grid-template-columns: 1fr; }
  .signal { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal:last-child { border-bottom: 0; }
  .root-card { min-height: auto; }
  .story-panel { min-height: 440px; border-radius: 7rem 7rem var(--radius-md) var(--radius-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-logo-gear { animation: none !important; }
  .hero-mark::before { animation: none !important; }
}
