@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f4eb;
  --white: #fffef8;
  --ink: #18291e;
  --forest: #203b2c;
  --muted: #4a5a4e;
  --line: #bfc7b8;
  --lime: #d9fa57;
  --soft-green: #e6eadb;
  --heading: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--body); }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--heading); word-spacing: .055em; }
h1 { max-width: 12ch; font-size: clamp(3.1rem, 5.75vw, 6.15rem); font-weight: 700; line-height: .99; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 4.25vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -.023em; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #17291e; outline-offset: 3px; box-shadow: 0 0 0 3px #fffef8; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(100% - clamp(2.25rem, 9.3vw, 9rem), 80rem); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 3; padding: .55rem .95rem; transform: translateY(-170%); background: var(--lime); }
.skip-link:focus { transform: translateY(0); }

.header, .example-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: inherit; font: 700 1.38rem/1 var(--heading); letter-spacing: -.062em; text-decoration: none; white-space: nowrap; }
.brand span span { color: #4f721a; }
.header-inner nav { display: flex; gap: clamp(.9rem, 2.5vw, 2.5rem); }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .94rem; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.2rem; padding: .66rem 1.1rem; border: 1px solid transparent; border-radius: .32rem; font-weight: 700; font-size: .97rem; line-height: 1.25; text-decoration: none; transition: background-color .16s ease, color .16s ease; }
.button-header { min-height: 2.75rem; border-color: #54695b; }
.button-header:hover { background: var(--soft-green); }
.button-lime { background: var(--lime); border-color: #8aa437; color: var(--ink); }
.button-lime:hover { background: #e8ff95; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #365343; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; font-size: .97rem; font-weight: 650; }
.text-link:hover { color: #3e6126; }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 5.5vw, 6rem); align-items: center; padding-block: clamp(3.2rem, 6.5vw, 6.3rem); }
.label { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; color: var(--muted); font-size: .91rem; font-weight: 650; line-height: 1.4; }
.label-mark { width: .72rem; height: .72rem; flex: 0 0 auto; border: 1px solid #718a2d; border-radius: 50%; background: var(--lime); }
.hero h1 span { color: #577921; }
.lead { max-width: 31rem; margin-top: 1.2rem; color: var(--muted); font-size: clamp(1.12rem, 1.5vw, 1.29rem); text-wrap: pretty; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.2rem; margin-top: 1.55rem; }
.showcase { padding: clamp(1rem, 2.8vw, 3rem); background: var(--soft-green); border: 1px solid #d3dac9; border-radius: .7rem; }
.sample { display: block; overflow: hidden; color: var(--white); background: var(--forest); border-radius: .42rem; box-shadow: 0 .85rem 2.5rem #18291e28; text-decoration: none; }
.sample-bar { display: flex; align-items: center; gap: .75rem; min-height: 2.45rem; padding-inline: .85rem; border-bottom: 1px solid #bfcbba; background: var(--white); color: var(--muted); font-size: .82rem; font-weight: 650; }
.sample-dots { display: inline-flex; gap: .26rem; }
.sample-dots i { width: .4rem; height: .4rem; border: 1px solid #69786d; border-radius: 50%; }
.sample-image { aspect-ratio: 1.6; overflow: hidden; }
.sample-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.sample:hover img { transform: scale(1.035); }
.sample-caption { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: clamp(.85rem, 1.7vw, 1.4rem); }
.sample-caption strong { display: block; font: 600 clamp(1.4rem, 2.5vw, 2.4rem)/1.1 Georgia, serif; letter-spacing: -.045em; }
.sample-caption div > span { display: block; margin-top: .3rem; color: #dfebd9; font-size: .85rem; }
.sample-arrow { display: grid; place-items: center; flex: 0 0 auto; width: 2.55rem; height: 2.55rem; border: 1px solid #b8d18f; border-radius: 50%; color: var(--lime); }

.fit { border-block: 1px solid var(--line); background: var(--white); }
.fit-inner { display: flex; align-items: center; gap: .55rem 2rem; flex-wrap: wrap; padding-block: 1rem; font-size: .94rem; }
.fit ul { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; padding: 0; list-style: none; color: var(--muted); }
.fit li { display: inline-flex; align-items: center; gap: .42rem; }
.fit li::before { content: ""; width: .3rem; height: .3rem; background: #647d37; border-radius: 50%; }

.section { padding-block: clamp(3.3rem, 7vw, 6.4rem); }
.section-heading { margin-bottom: clamp(1.6rem, 3.5vw, 2.75rem); }
.section-heading p, .included-grid p, .process-grid p, .questions p, .example-areas p { margin-top: .55rem; color: var(--muted); text-wrap: pretty; }
.section-heading p { max-width: 41rem; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); }
.included-grid article { padding: clamp(1.15rem, 2.4vw, 2rem); border: 1px solid var(--line); border-radius: .45rem; background: var(--white); }
.card-icon { display: block; position: relative; width: 2.5rem; height: 2.5rem; margin-bottom: .9rem; border-radius: .25rem; background: var(--soft-green); }
.card-icon::before, .card-icon::after { content: ""; position: absolute; }
.icon-work::before { inset: 35% 27%; border: 1.5px solid; border-radius: 2px; }
.icon-work::after { inset: 25% 41% auto; height: 16%; border: 1.5px solid; border-bottom: 0; }
.icon-area::before { inset: 28% 32% 34%; border: 1.5px solid; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.icon-area::after { inset: 40% 45% 50%; background: currentColor; border-radius: 50%; }
.icon-contact::before { inset: 29% 27% 33%; border: 1.5px solid; border-radius: .15rem; }
.icon-contact::after { inset: 64% auto auto 34%; width: 19%; height: 14%; border-left: 1.5px solid; transform: skewY(-39deg); }

.search { background: var(--forest); color: var(--white); }
.search-grid, .faq-grid, .quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.search h2 { text-wrap: initial; }
.search h2 ~ p { max-width: 35rem; margin-top: .95rem; color: #e1ebde; }
.search-example { padding: clamp(1.15rem, 3.4vw, 2.5rem); border: 1px solid #9bb296; border-radius: .45rem; background: #2b4936; }
.search-query { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; padding: .65rem .75rem; border-radius: .28rem; background: var(--paper); color: var(--ink); font-weight: 650; }
.query-icon { position: relative; flex: 0 0 auto; width: .82rem; height: .82rem; margin-inline: .06rem .24rem; border: 1.5px solid; border-radius: 50%; }
.query-icon::after { position: absolute; top: .66rem; left: .54rem; width: .45rem; height: 1.5px; content: ""; background: currentColor; transform: rotate(45deg); }
.search-example ul { margin-top: .45rem; padding-left: 1.2rem; }
.search-example li + li { margin-top: .25rem; }
.search-example li::marker { color: var(--lime); }

.process-grid { counter-reset: process; list-style: none; padding: 0; }
.process-grid li { counter-increment: process; padding-top: 1rem; border-top: 1px solid #819180; }
.process-grid li::before { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: .8rem; border: 1px solid #7f9467; border-radius: 50%; background: var(--soft-green); content: counter(process); font-weight: 700; }

.faq { background: var(--soft-green); }
.faq h2 { text-wrap: initial; }
.questions { border-top: 1px solid #a4b39f; }
.questions details { border-bottom: 1px solid #a4b39f; }
.questions summary { position: relative; display: block; min-height: 3.25rem; padding: .85rem 2rem .85rem 0; cursor: pointer; font-weight: 650; line-height: 1.4; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { position: absolute; top: .75rem; right: .2rem; content: "+" / ""; font-size: 1.3rem; }
.questions details[open] summary::after { content: "−" / ""; }
.questions p { margin-top: 0; padding: 0 .6rem .95rem 0; }

.quote { background: var(--lime); }
.quote-grid { align-items: center; }
.quote h2 { text-wrap: initial; }
.quote h2 + p { max-width: 36rem; margin-top: .8rem; }
.quote-action p { margin-top: .55rem; font-size: .92rem; }
.email { display: inline-block; margin-top: .13rem; font-size: .95rem; overflow-wrap: anywhere; }
.footer { padding-block: 1.55rem; background: var(--ink); color: var(--white); font-size: .91rem; }
.footer-inner { flex-wrap: wrap; }
.footer .brand span span { color: var(--lime); }
.footer small { color: #d1dece; }

.example-banner { padding-block: .55rem; background: var(--lime); color: var(--ink); font-size: .9rem; }
.example-banner .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.example-brand { font: 600 clamp(1.3rem, 2.6vw, 2rem)/1.1 Georgia, serif; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.example-brand em { color: #4f721a; }
.example-hero { padding-block: clamp(2.5rem, 5vw, 5rem); background: var(--forest); color: var(--white); }
.example-hero-grid { display: grid; grid-template-columns: 1fr 1.22fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.example-hero h1 { max-width: 13ch; font: 500 clamp(2.6rem, 5.5vw, 5.7rem)/1 Georgia, serif; letter-spacing: -.06em; }
.example-hero img { width: 100%; height: auto; border-radius: .35rem; }
.example-hero .label, .example-hero .lead { color: #dfebd9; }
.example-hero .button { margin-top: 1.2rem; }
.example-areas { background: var(--soft-green); }

@media (max-width: 1000px) and (min-width: 801px) {
  .hero { gap: 2rem; }
  h1 { font-size: clamp(3rem, 6.45vw, 4.3rem); }
}

@media (max-width: 800px) {
  .hero, .search-grid, .faq-grid, .quote-grid, .example-hero-grid { grid-template-columns: 1fr; }
  .hero { gap: 1.5rem; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.55rem, 8.9vw, 4.9rem); }
  .showcase { max-width: 35rem; }
  .three-col { grid-template-columns: 1fr; }
  .process-grid { gap: 1.5rem; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 4.15rem; }
  .header-inner nav { display: none; }
  .brand { font-size: 1.22rem; }
  .header-inner .button { padding-inline: .7rem; font-size: .9rem; }
  .fit-inner { display: grid; gap: .35rem; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: 2.28rem; }
  .brand img { width: 29px; height: 29px; }
  .header-inner { gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .sample-image img { transition: none; }
  .sample:hover img { transform: none; }
}
