:root {
  color-scheme: light;
  --ink-950: #111410;
  --ink-800: #252b24;
  --ink-600: #4a514a;
  --paper-50: #fffcf7;
  --paper-100: #f6f2ea;
  --paper-200: #e8e1d5;
  --paper-300: #d4cabb;
  --gold-500: #b09566;
  --gold-700: #745a34;
  --moss-700: #224437;
  --teal-600: #0e6c64;
  --teal-800: #07524d;
  --error-600: #b42318;
  --font-display: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --radius-1: .25rem;
  --radius-2: .5rem;
  --gutter: 1.25rem;
  --container: 75rem;
  --measure: 65ch;
  --header-height: 4.5rem;
  --focus: var(--teal-600);
  --border: var(--paper-300);
  --text: var(--ink-950);
  --text-muted: var(--ink-600);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper-100); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper-100); color: var(--ink-950); font-family: var(--font-body); font-size: 1rem; line-height: 1.625; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
:focus-visible { outline: .1875rem solid var(--focus); outline-offset: .1875rem; }
::selection { background: var(--gold-500); color: var(--ink-950); }
h1, h2, h3, p, ul, ol, dl, fieldset { margin-block-start: 0; }
h1, h2, h3, .brand-name, .footer-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; text-wrap: balance; }
h1 { max-width: 13ch; margin-bottom: var(--space-6); font-size: 2.625rem; line-height: 1.095; }
h2 { margin-bottom: var(--space-6); font-size: 2rem; line-height: 1.1875; }
h3 { margin-bottom: var(--space-3); font-size: 1.375rem; line-height: 1.25; }
p, li, dd { text-wrap: pretty; }
.container { width: min(calc(100% - (2 * var(--gutter))), var(--container)); margin-inline: auto; }

.skip-link { position: fixed; inset: var(--space-3) auto auto var(--space-3); z-index: 100; padding: var(--space-3) var(--space-4); transform: translateY(-200%); border-radius: var(--radius-1); background: var(--ink-950); color: #fff; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--paper-300); background: rgba(246, 242, 234, .97); }
.header-inner { position: relative; display: flex; min-height: var(--header-height); flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-4); }
.brand { display: inline-flex; min-height: 2.75rem; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }
.brand-name { font-size: 1rem; line-height: 1; }
.brand-name small { display: block; margin-top: var(--space-1); color: var(--gold-700); font-family: var(--font-body); font-size: .6875rem; font-weight: 600; letter-spacing: 0; }
.menu-toggle { position: relative; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; border: 1px solid var(--ink-950); border-radius: var(--radius-1); background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: .6875rem; width: 1.25rem; height: 1px; background: currentColor; content: ""; }
.menu-toggle span { top: 1.3125rem; }
.menu-toggle span::before { top: -.375rem; left: 0; }
.menu-toggle span::after { top: .375rem; left: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: grid; width: 100%; gap: var(--space-1); padding-block: var(--space-3) var(--space-6); }
.js .site-nav { display: none; }
.js .site-nav[data-open="true"] { display: grid; }
.site-nav a { display: flex; min-height: 2.75rem; align-items: center; border-top: 1px solid var(--paper-300); font-size: .875rem; font-weight: 700; text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--teal-800); }
.site-nav .button { margin-top: var(--space-2); }

.button { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; padding: .6875rem 1rem; border: 1px solid transparent; border-radius: var(--radius-1); font-size: .9375rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.button-large { min-height: 3.25rem; padding-inline: 1.25rem; }
.button-primary { border-color: var(--ink-950); background: var(--ink-950); color: var(--paper-50); }
.button-primary:hover:not(:disabled) { border-color: var(--ink-800); background: var(--ink-800); transform: translateY(-1px); }
.button:disabled { border-color: var(--paper-300); background: var(--paper-200); color: var(--ink-600); cursor: not-allowed; transform: none; }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: var(--space-2); color: var(--teal-800); font-weight: 700; text-underline-offset: .3em; }
.text-link:hover { color: var(--moss-700); text-decoration-thickness: 2px; }

.hero { border-bottom: 1px solid var(--paper-300); background: linear-gradient(90deg, rgba(116, 90, 52, .1) 1px, transparent 1px) center / 25% 100%, var(--paper-100); }
.hero-inner { display: grid; gap: var(--space-10); padding-block: var(--space-12); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); color: var(--gold-700); font-size: .8125rem; font-weight: 700; letter-spacing: 0; }
.eyebrow::before { width: 1.5rem; height: 1px; background: currentColor; content: ""; }
.hero-lede { max-width: 40rem; margin-bottom: var(--space-4); color: var(--ink-800); font-size: 1.125rem; line-height: 1.62; }
.hero-support { max-width: 40rem; margin-bottom: var(--space-6); color: var(--ink-600); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }
.hero-visual { display: grid; grid-template-columns: 1fr; align-items: center; justify-items: center; gap: var(--space-6); padding-block: var(--space-6); border-block: 1px solid var(--paper-300); }
.hero-mark { width: min(100%, 9rem); justify-self: center; }
.hero-flow { margin: 0; padding: 0; list-style: none; }
.hero-flow li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-3); border-top: 1px solid var(--paper-300); font-size: .875rem; font-weight: 700; }
.hero-flow li:last-child { border-bottom: 1px solid var(--paper-300); }
.hero-flow span, .row-index, .process-list > li > span { color: var(--gold-700); font-variant-numeric: tabular-nums; font-weight: 700; }

.section { padding-block: var(--space-16); }
.section-dark, .section-moss { color: var(--paper-50); --text: var(--paper-50); --text-muted: #d3d7ce; --border: #434a42; --focus: #8ed8cf; }
.section-dark { background: var(--ink-950); }
.section-moss { background: var(--moss-700); --border: #587465; }
.section-dark .eyebrow, .section-moss .eyebrow { color: #d8bf91; }
.section-dark p, .section-moss p { color: var(--text-muted); }
.section-intro { max-width: 48rem; }
.section-intro > p:not(.eyebrow) { max-width: var(--measure); color: var(--text-muted); }
.context-grid, .trust-grid, .faq-grid, .contact-grid { display: grid; gap: var(--space-12); }
.editorial-list, .compact-list { margin: 0; padding: 0; list-style: none; }
.editorial-list li { padding-block: var(--space-4); border-top: 1px solid var(--border); }
.editorial-list li:last-child { border-bottom: 1px solid var(--border); }
.editorial-list strong, .editorial-list span { display: block; }
.editorial-list span { color: var(--text-muted); }
.split-heading { display: grid; gap: var(--space-4); margin-bottom: var(--space-10); }
.split-heading h2 { max-width: 18ch; margin-bottom: 0; }
.split-heading > p { max-width: 48rem; margin-bottom: 0; color: var(--text-muted); }

.service-row { display: grid; gap: var(--space-4); padding-block: var(--space-8); border-top: 1px solid var(--border); }
.service-row:last-child { border-bottom: 1px solid var(--border); }
.service-copy p, .service-limit { color: var(--ink-600); }
.compact-list li { position: relative; padding: var(--space-3) 0 var(--space-3) var(--space-6); border-top: 1px solid var(--border); color: var(--text-muted); }
.compact-list li::before { position: absolute; left: 0; color: var(--gold-700); content: "—"; }
.service-limit { margin: var(--space-4) 0 0; padding-left: var(--space-4); border-left: .25rem solid var(--gold-500); font-size: .875rem; }

.process-list { display: grid; margin: 0; padding: 0; list-style: none; }
.process-list li { padding-block: var(--space-6); border-top: 1px solid var(--gold-500); }
.process-list li > span { display: grid; width: 2.75rem; height: 2.75rem; margin-bottom: var(--space-4); place-items: center; border: 1px solid var(--gold-500); border-radius: var(--radius-1); color: var(--gold-500); }
.process-list h3 { font-size: 1.125rem; }
.process-list p { margin-bottom: 0; }

.scope-intro { margin-bottom: var(--space-10); }
.scope-grid { display: grid; gap: var(--space-10); }
.scope-block { padding-top: var(--space-6); border-top: 1px solid var(--paper-300); }
.definition-list { margin: 0; }
.definition-list div { padding-block: var(--space-4); border-top: 1px solid var(--paper-300); }
.definition-list dt { font-weight: 700; }
.definition-list dd { margin: var(--space-1) 0 0; color: var(--ink-600); }
.scope-limits .compact-list li::before { color: var(--error-600); content: "×"; font-weight: 700; }

.accordion details { border-top: 1px solid var(--paper-300); }
.accordion details:last-child { border-bottom: 1px solid var(--paper-300); }
.accordion summary { position: relative; display: flex; min-height: 3.75rem; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); font-weight: 700; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { display: grid; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; place-items: center; border: 1px solid var(--paper-300); border-radius: var(--radius-1); content: "+"; font-size: 1.25rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion details > div { max-width: var(--measure); padding: 0 3rem var(--space-6) 0; color: var(--ink-600); }
.accordion details > div p:last-child { margin-bottom: 0; }

.contact-section { border-bottom: 1px solid var(--border); }
.form-status { display: grid; gap: var(--space-1); margin-top: var(--space-6); padding: var(--space-4); border: 1px solid #8f805f; border-radius: var(--radius-1); background: #24271f; }
.form-status strong { color: var(--paper-50); }
.form-status span { color: var(--text-muted); }
.project-form { padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-2); background: #191c18; }
.project-form fieldset { display: grid; gap: var(--space-6); margin: 0; padding: 0; border: 0; }
.project-form legend { margin-bottom: var(--space-2); color: var(--paper-50); font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; }
.required-note { margin-bottom: 0; font-size: .8125rem; }
.field { display: grid; gap: var(--space-2); }
.field label { color: var(--paper-50); font-size: .875rem; font-weight: 700; }
.optional { color: var(--text-muted); font-size: .75rem; font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; min-height: 2.75rem; padding: .6875rem .75rem; border: 1px solid #62685f; border-radius: var(--radius-1); background: var(--paper-50); color: var(--ink-950); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:disabled, .field textarea:disabled, .field select:disabled { border-color: #4d534b; background: #2b2f2a; color: #c2c7bd; cursor: not-allowed; opacity: 1; }
.field-help { margin: 0; color: var(--text-muted); font-size: .8125rem; }

.site-footer { padding-block: var(--space-12) var(--space-8); background: var(--ink-950); color: var(--paper-50); }
.footer-grid { display: grid; gap: var(--space-8); }
.footer-brand { margin-bottom: var(--space-2); font-size: 1.125rem; }
.site-footer p { color: #c7cbbf; }
.copyright { margin-bottom: 0; font-size: .875rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: start; gap: var(--space-2) var(--space-6); }
.footer-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration-color: var(--gold-500); text-underline-offset: .3em; }

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
  h1 { font-size: 3.5rem; line-height: 1.07; }
  h2 { font-size: 2.5rem; line-height: 1.18; }
  .hero-inner { padding-block: var(--space-16); }
  .hero-mark { width: min(100%, 12rem); }
  .section { padding-block: var(--space-20); }
  .context-grid, .trust-grid, .faq-grid, .contact-grid, .split-heading { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-heading { align-items: end; }
  .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-deliverables { grid-row: span 2; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-8); }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
}

@media (min-width: 64rem) {
  :root { --gutter: 3rem; --header-height: 5rem; }
  h1 { font-size: 4.25rem; line-height: 1.06; }
  h2 { font-size: 2.75rem; }
  .header-inner { flex-wrap: nowrap; }
  .menu-toggle { display: none; }
  .site-nav, .js .site-nav, .js .site-nav[data-open="true"] { display: flex; width: auto; align-items: center; gap: var(--space-6); padding: 0; }
  .site-nav a { border: 0; }
  .site-nav .button { margin: 0 0 0 var(--space-2); }
  .hero-inner { min-height: calc(100svh - var(--header-height)); grid-template-columns: minmax(0, 7fr) minmax(22rem, 5fr); align-items: center; gap: var(--space-12); }
  .hero-visual { min-height: 31rem; grid-template-columns: 1fr; align-content: center; }
  .hero-mark { width: min(100%, 17rem); }
  .hero-flow { width: min(100%, 20rem); justify-self: end; }
  .service-row { grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.2fr); gap: var(--space-6); }
  .process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .process-list li { padding-right: var(--space-6); }
  .scope-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .faq-grid { grid-template-columns: minmax(18rem, 4fr) minmax(0, 8fr); }
  .contact-grid { grid-template-columns: minmax(18rem, 5fr) minmax(0, 7fr); }
}

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