:root {
  --ink: #173c34;
  --ink-deep: #102c27;
  --moss: #607866;
  --sage: #ccd8ca;
  --sage-light: #e9eee6;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --ochre: #d49b4e;
  --line: rgba(23, 60, 52, .18);
  --shell: min(1180px, calc(100% - 48px));
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, Avenir, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--paper);
  transform: translateY(-180%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 88px;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, height .25s;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(247, 244, 237, .92);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand-mark { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: var(--ochre); stroke: none; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.main-nav a { text-decoration: none; transition: opacity .2s; }
.main-nav a:hover { opacity: .62; }
.main-nav .nav-cta {
  padding: 10px 19px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 99px;
}
.main-nav .nav-cta:hover { opacity: 1; background: var(--ink-deep); }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  padding: 156px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 38%, rgba(204, 216, 202, .46), transparent 32%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 610px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 46px; }
.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 27px; height: 1px; margin: 0 12px 3px 0; background: currentColor; }
.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.045em;
}
.hero h1 { max-width: 690px; font-size: clamp(61px, 6.5vw, 98px); }
.hero h1 em,
.principles h2 em { color: var(--moss); font-weight: 400; }
.hero-lead { max-width: 600px; margin: 32px 0 35px; font-size: 19px; line-height: 1.65; color: #39574f; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 25px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { background: var(--ink-deep); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, 2px); }
.hero-visual { position: relative; min-height: 610px; margin-right: -55px; }
.terrain { width: 100%; height: 100%; max-height: 650px; }
.contours { stroke: rgba(23, 60, 52, .3); stroke-width: 1.2; }
.route-shadow { fill: none; stroke: rgba(247, 244, 237, .94); stroke-width: 10; stroke-linecap: round; }
.route { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 10; }
.route-point { fill: var(--cream); stroke: var(--ink); stroke-width: 4; }
.route-point.end { fill: var(--ochre); }
.compass { fill: rgba(247, 244, 237, .7); stroke: var(--ink); stroke-width: 1.5; }
.compass-north { fill: var(--ochre); stroke: none; }
.visual-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(23, 60, 52, .12);
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 12px 28px rgba(16, 44, 39, .1);
  backdrop-filter: blur(8px);
  font-size: 12px;
}
.visual-note span { color: var(--ochre); font-weight: 800; }
.visual-note strong { text-transform: uppercase; letter-spacing: .08em; }
.note-one { top: 16%; left: 1%; }
.note-two { right: 4%; bottom: 15%; }
.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-foot p { margin: 0; font-family: var(--serif); font-size: 18px; }
.hero-foot p + p { padding-left: 36px; border-left: 1px solid var(--line); }

.section { padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: .65fr 1.15fr .85fr; gap: 56px; align-items: end; margin-bottom: 72px; }
.section h2 { font-size: clamp(47px, 5.2vw, 72px); }
.section-heading > p:last-child { margin: 0 0 4px; color: #49635b; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  position: relative;
  min-height: 365px;
  padding: 45px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color .3s, background .3s;
}
.service-card:hover { color: var(--paper); background: var(--ink); }
.card-number { position: absolute; top: 25px; right: 28px; font-size: 12px; font-weight: 800; opacity: .6; }
.service-card svg { width: 63px; height: 63px; margin-bottom: 49px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 15px; font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.service-card p { max-width: 470px; margin: 0; color: #536a63; }
.service-card:hover p { color: rgba(255, 253, 248, .75); }

.method { background: var(--paper); }
.method-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 120px; }
.method-intro { position: sticky; top: 125px; align-self: start; }
.method-intro h2 { margin-bottom: 27px; }
.method-intro > p:not(.eyebrow) { max-width: 470px; margin: 0 0 30px; color: #536a63; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 35px 0 38px; border-bottom: 1px solid var(--line); }
.steps li > span { padding-top: 8px; color: var(--ochre); font-size: 12px; font-weight: 800; }
.steps h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 28px; letter-spacing: -.02em; }
.steps p { max-width: 570px; margin: 0; color: #536a63; }

.principles { background: var(--paper); padding-top: 0; }
.principles-panel {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 100px;
  padding: 88px;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.principles-panel::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -180px;
  bottom: -260px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.025);
}
.eyebrow.light { color: var(--sage); }
.principles h2 { position: relative; z-index: 1; font-size: clamp(46px, 4.5vw, 67px); }
.principles h2 em { color: var(--sage); }
.principles-copy > p:last-child { max-width: 610px; margin: 28px 0 0; color: rgba(255, 253, 248, .7); }
.principle-list { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.2); }
.principle-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.principle-list span { color: var(--ochre); font-size: 11px; font-weight: 800; }
.principle-list p { margin: 0; color: rgba(255,253,248,.66); font-size: 14px; }
.principle-list strong { display: block; margin-bottom: 3px; color: var(--paper); font-family: var(--serif); font-size: 21px; }

.final-cta { color: var(--paper); background: var(--moss); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { max-width: 900px; font-size: clamp(53px, 7vw, 94px); }
.final-cta p:not(.eyebrow) { max-width: 650px; margin: 25px auto 32px; color: rgba(255,253,248,.8); font-size: 18px; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { background: var(--sage-light); }
.contact-mail { margin-top: 27px; font-size: 13px; text-underline-offset: 5px; }

.site-footer { padding: 50px 0; color: var(--paper); background: var(--ink-deep); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 28px; }
.brand-footer { color: var(--paper); }
.footer-inner > p { margin: 0; text-align: right; color: rgba(255,253,248,.64); font-size: 14px; }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,253,248,.5); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.service-card:nth-child(2), .steps li:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3), .steps li:nth-child(3) { transition-delay: .14s; }
.service-card:nth-child(4), .steps li:nth-child(4) { transition-delay: .2s; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 36px, 760px); }
  .site-header { height: 74px; }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    place-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    background: var(--cream);
    font-family: var(--serif);
    font-size: 31px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s, transform .25s;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav .nav-cta { margin-top: 12px; font-family: var(--sans); font-size: 15px; }
  .hero { padding-top: 124px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { min-height: 500px; max-width: 650px; margin: -20px auto 0; }
  .hero-foot { margin-top: -30px; }
  .section { padding: 100px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .method-grid { grid-template-columns: 1fr; gap: 64px; }
  .method-intro { position: static; }
  .principles-panel { grid-template-columns: 1fr; gap: 64px; padding: 68px 52px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 32px); }
  .brand { font-size: 20px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { padding-top: 116px; }
  .hero-copy { min-width: 0; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(50px, 13.5vw, 60px); }
  .hero-lead { margin-top: 25px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; text-align: center; }
  .hero-visual { min-height: 390px; margin: 3px -30px 0; }
  .visual-note { padding: 7px 10px; transform: scale(.88); }
  .note-one { left: 7%; }
  .note-two { right: 8%; }
  .hero-foot { grid-template-columns: 1fr; gap: 0; margin-top: -10px; padding-top: 0; }
  .hero-foot p { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hero-foot p + p { padding-left: 0; border-left: 0; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 50px; }
  .section h2 { font-size: 46px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; padding: 35px 28px; }
  .service-card svg { margin-bottom: 40px; }
  .steps li { grid-template-columns: 38px 1fr; gap: 12px; }
  .steps h3 { font-size: 25px; }
  .principles-panel { width: 100%; padding: 65px 25px; }
  .principles h2 { font-size: 43px; }
  .principle-list > div { grid-template-columns: 30px 1fr; }
  .final-cta h2 { font-size: 52px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > p { text-align: left; }
  .footer-meta { flex-direction: column; gap: 8px; }
}

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