:root {
  --paper: #f7f4ea;
  --pine: #234d35;
  --sage: #dce8d8;
  --ink: #18291f;
  --copper: #8b4f28;
  --line: #cbd2c5;
  --white: #fff;
  --font: "Manrope", system-ui, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --sc-canvas: var(--paper);
  --sc-surface: var(--sage);
  --sc-ink: var(--ink);
  --sc-ink-soft: #526454;
  --sc-accent: var(--pine);
  --sc-accent-ink: var(--white);
  --sc-font-display: var(--font);
  --sc-font-text: var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.6 var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; color: var(--pine); }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 10px 16px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }
.demo-ribbon { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 33px; padding: 5px 18px; background: var(--pine); color: var(--white); text-align: center; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .025em; }
.demo-dot { width: 6px; height: 6px; flex: 0 0 auto; background: #e9c888; border-radius: 50%; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247,244,234,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.header-inner { display: flex; align-items: center; min-height: 82px; gap: 34px; }
.wordmark { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.055em; }
.wordmark img { width: 38px; height: 38px; }
.wordmark small { display: block; margin-top: 5px; color: #536456; font-size: 9px; line-height: 1.1; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.primary-nav a { position: relative; padding: 10px 0; font-size: 13px; font-weight: 700; }
.primary-nav a::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 49px; padding: 10px 19px; border: 1px solid var(--pine); background: transparent; color: var(--pine); font-size: 14px; font-weight: 700; line-height: 1.3; transition: transform 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease); }
.button span { font-size: 18px; font-weight: 400; line-height: 1; }
.button:hover { background: var(--sage); }
.button:active { transform: scale(.98); }
.button-primary { background: var(--pine); color: var(--white); }
.button-primary:hover { background: var(--ink); color: var(--white); }
.button-small { min-height: 40px; padding: 8px 13px; font-size: 12px; }
.header-cta { margin-left: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; width: fit-content; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--pine); font-size: 14px; font-weight: 700; line-height: 1.5; transition: gap 180ms var(--ease), color 180ms var(--ease); }
.text-link:hover { gap: 19px; color: var(--copper); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--copper); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 1px; background: currentColor; }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 7%; min-height: 690px; padding-block: 56px 74px; }
.hero-copy { position: relative; z-index: 1; padding-block: 32px; animation: rise-in 650ms var(--ease) both; }
.hero h1 { max-width: 640px; margin-top: 22px; font-size: clamp(46px, 5.5vw, 76px); font-weight: 700; }
.hero-summary { max-width: 500px; margin-top: 26px; color: #47584b; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.hero-location { display: flex; align-items: center; gap: 9px; margin-top: 60px; color: #57675b; font-size: 12px; font-weight: 700; }
.hero-location span { color: var(--copper); font-size: 17px; }
.hero-photo { position: relative; height: min(620px, 48vw); min-height: 475px; animation: soft-in 850ms var(--ease) 100ms both; }
.hero-media { height: 100%; overflow: hidden; }
.hero-photo img { position: relative; width: 100%; height: calc(100% + 48px); margin-top: -24px; object-fit: cover; object-position: 55% center; }
figcaption { padding-top: 9px; color: #57675b; font-size: 11px; line-height: 1.4; }
.intro-band { background: var(--sage); }
.intro-grid { display: grid; grid-template-columns: .4fr 1fr; gap: 6%; padding-block: 88px 94px; }
.intro-grid .eyebrow { padding-top: 12px; }
.intro-grid h2 { max-width: 850px; font-size: clamp(32px, 3.8vw, 50px); font-weight: 600; }
.intro-grid p:last-child { max-width: 670px; margin-top: 23px; font-size: 16px; color: #425747; }
.section-space { padding-block: 110px; }
.section-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.section-heading { max-width: 700px; margin-top: 16px; font-size: clamp(36px, 4vw, 54px); font-weight: 600; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { position: relative; min-height: 266px; padding: 28px 26px 35px; border-right: 1px solid var(--line); transition: background-color 200ms var(--ease); }
.service-card:first-child { border-left: 1px solid var(--line); }
.service-card:hover { background: var(--sage); }
.service-number, .step-number { color: var(--copper); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.service-card h3 { margin-top: 42px; font-size: 24px; font-weight: 700; }
.service-card p { margin-top: 14px; color: #526454; font-size: 14px; line-height: 1.55; }
.card-arrow { position: absolute; right: 25px; top: 24px; color: var(--pine); font-size: 20px; }
.feature-split { background: #e9e4d7; }
.feature-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 9%; padding-block: 85px; }
.feature-photo img { width: 100%; height: 490px; object-fit: cover; }
.feature-copy h2 { max-width: 480px; margin-top: 18px; font-size: clamp(34px, 3.8vw, 51px); font-weight: 600; }
.feature-copy p:not(.eyebrow) { max-width: 475px; margin-top: 24px; color: #526454; }
.feature-copy .text-link { margin-top: 27px; }
.process-grid { display: grid; grid-template-columns: .92fr 1fr; gap: 10%; }
.process-grid .section-heading { max-width: 500px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps-wrap { position: relative; }
.care-path { position: absolute; z-index: 1; top: 50px; bottom: 48px; left: 41px; width: 1px; background: var(--line); pointer-events: none; }
.care-path::after { content: ""; position: absolute; inset: 0; background: var(--pine); transform: scaleY(clamp(0, calc((var(--sc-p, 0) - .18) * 1.65), 1)); transform-origin: top; }
.steps li { display: grid; grid-template-columns: 55px 1fr; gap: 10px; padding: 27px 0 30px; border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 21px; font-weight: 700; }
.steps p { max-width: 500px; margin-top: 9px; color: #526454; font-size: 14px; }
.closing { background: var(--pine); color: var(--white); }
.closing-inner { max-width: 900px; padding-block: 102px 110px; text-align: center; }
.closing .eyebrow { justify-content: center; color: #d8c596; }
.closing h2 { max-width: 850px; margin: 19px auto 0; font-size: clamp(38px, 4.5vw, 62px); font-weight: 600; }
.closing p:not(.eyebrow) { margin-top: 22px; color: #dbe6dc; }
.closing .button { margin-top: 32px; border-color: var(--white); background: var(--paper); color: var(--pine); }
.closing .button:hover { background: var(--sage); }
.site-footer { background: var(--ink); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.5fr .55fr .9fr; gap: 8%; padding-block: 75px 82px; }
.footer-brand { display: flex; align-items: center; gap: 11px; width: fit-content; font-size: 25px; font-weight: 800; letter-spacing: -.05em; }
.footer-brand span { color: #aabf9f; font-size: 20px; }
.footer-main p { max-width: 350px; margin-top: 14px; color: #c7d2c8; font-size: 13px; }
.footer-main .footer-note { color: #a5b8a9; }
.footer-main h2 { margin-bottom: 20px; color: #b8cdb9; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-main a:not(.footer-brand) { display: block; width: fit-content; margin: 10px 0; color: #edf3eb; font-size: 14px; }
.footer-main a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px 24px; border-top: 1px solid #405046; color: #a5b8a9; font-size: 11px; }
.page-lead { padding-block: 88px 75px; }
.page-lead h1 { max-width: 950px; margin-top: 22px; font-size: clamp(44px, 6vw, 77px); font-weight: 600; }
.page-lead > p:last-child { max-width: 690px; margin-top: 25px; color: #526454; font-size: 17px; }
.service-details { border-top: 1px solid var(--line); }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9%; padding-block: 70px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-detail-reverse .service-detail-copy { order: 2; }
.service-detail-reverse figure { order: 1; }
.service-detail h2 { margin-top: 17px; font-size: clamp(38px, 4vw, 55px); font-weight: 600; }
.service-detail .detail-lead { margin-top: 22px; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.45; }
.service-detail-copy > p:not(.eyebrow):not(.detail-lead) { max-width: 500px; margin-top: 19px; color: #526454; }
.service-detail .text-link { margin-top: 29px; }
.service-detail figure img { width: 100%; height: 410px; object-fit: cover; }
.about-story { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 9%; padding-bottom: 72px; }
.about-story figure img { width: 100%; height: 530px; object-fit: cover; }
.about-story h2 { max-width: 480px; margin-top: 18px; font-size: clamp(34px, 3.8vw, 51px); font-weight: 600; }
.about-story p:not(.eyebrow) { max-width: 500px; margin-top: 22px; color: #526454; }
.about-story .text-link { margin-top: 26px; }
.values-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 8%; }
.values-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.values-list li { display: flex; gap: 28px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600; }
.values-list span { color: var(--copper); font-size: 11px; font-weight: 800; }
.area-band { background: var(--sage); }
.area-inner { padding-block: 82px 90px; }
.area-inner h2 { margin-top: 17px; font-size: clamp(32px, 3.7vw, 48px); font-weight: 600; }
.area-inner p:last-child { margin-top: 17px; color: #526454; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10%; padding-bottom: 115px; }
.contact-aside h2 { max-width: 435px; margin-top: 19px; font-size: clamp(30px, 3vw, 42px); font-weight: 600; }
.contact-aside > p:not(.eyebrow) { max-width: 400px; margin-top: 21px; color: #526454; }
.contact-sample { display: grid; gap: 6px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.contact-sample span { margin-top: 12px; color: var(--copper); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.contact-sample strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.contact-sample small { margin-top: 12px; color: #647669; font-size: 11px; }
.quote-form { display: grid; gap: 22px; padding: 38px; background: #ebe9dc; }
.quote-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #aeb8aa; border-radius: 0; background: var(--white); color: var(--ink); font-size: 14px; }
.quote-form textarea { min-height: 135px; resize: vertical; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #6b786d; }
.quote-form .button { width: fit-content; }
.form-disclaimer { color: #485a4d; font-size: 12px; font-weight: 600; }
.form-status { padding: 14px 17px; border-left: 3px solid var(--pine); background: var(--sage); color: var(--ink); font-size: 14px; font-weight: 700; }
.form-status[hidden] { display: none; }
.notfound { min-height: 64vh; padding-block: 100px; }
.notfound h1 { max-width: 700px; margin-top: 20px; font-size: clamp(48px, 5.5vw, 75px); }
.notfound p:not(.eyebrow) { margin-top: 22px; color: #526454; }
.notfound .button { margin-top: 32px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes soft-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1080px) {
  .header-inner { gap: 20px; }
  .primary-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero { gap: 4%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-card:nth-child(3) { border-left: 1px solid var(--line); }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .demo-ribbon { font-size: 10px; }
  .header-inner { min-height: 68px; }
  .wordmark { font-size: 18px; }
  .wordmark img { width: 32px; height: 32px; }
  .wordmark small { font-size: 8px; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { width: 18px; height: 2px; background: var(--pine); transition: transform 200ms var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { display: none; position: absolute; top: 68px; left: 0; width: 100%; padding: 13px 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 24px rgba(24,41,31,.08); }
  .primary-nav.is-open { display: grid; gap: 3px; }
  .primary-nav a { padding: 12px 4px; font-size: 15px; }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current="page"] { color: var(--copper); }
  .hero { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding-block: 56px 66px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 600px; font-size: clamp(43px, 11vw, 64px); }
  .hero-summary { margin-top: 20px; font-size: 16px; }
  .hero-actions { gap: 20px; margin-top: 27px; }
  .hero-location { margin-top: 30px; }
  .hero-photo { height: 430px; min-height: 0; }
  .intro-grid, .feature-grid, .process-grid, .about-story, .values-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-grid { padding-block: 65px 72px; }
  .intro-grid .eyebrow { padding: 0; }
  .section-space { padding-block: 75px; }
  .section-heading { font-size: clamp(34px, 8.5vw, 48px); }
  .service-grid { margin-top: 35px; }
  .service-card { min-height: 255px; padding-inline: 19px; }
  .service-card h3 { font-size: 21px; }
  .feature-grid { padding-block: 68px; }
  .feature-photo img { height: 420px; }
  .feature-copy h2 { font-size: 39px; }
  .process-grid { gap: 35px; }
  .closing-inner { padding-block: 75px 82px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-block: 60px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .page-lead { padding-block: 68px 55px; }
  .page-lead h1 { font-size: clamp(43px, 10vw, 65px); }
  .service-detail { grid-template-columns: 1fr; gap: 28px; padding-block: 53px; }
  .service-detail-reverse .service-detail-copy, .service-detail-reverse figure { order: initial; }
  .service-detail figure img { height: 350px; }
  .about-story { padding-bottom: 0; }
  .about-story figure img { height: 430px; }
  .values-grid { gap: 30px; }
  .contact-grid { padding-bottom: 82px; }
  .contact-sample { margin-top: 25px; }
  .quote-form { padding: 26px; }
}
@media (max-width: 460px) {
  .hero-photo { height: 330px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 212px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3 { margin-top: 29px; }
  .feature-photo img { height: 310px; }
  .service-detail figure img { height: 285px; }
  .about-story figure img { height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 21px; }
  .quote-form .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .care-path::after { transform: none; }
}
