@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  src: url('/assets/inter-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #f3f2eb;
  --dark: #171917;
  --ink: #242721;
  --muted: #50554a;
  --line: #cbcec1;
  --light: #f3f2eb;
  --light-muted: #bdc1b6;
  --dark-line: #41463a;
  --accent: #d3df86;
  --gutter: clamp(1.4rem, 6.2vw, 6rem);
  --sans: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure, ol { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(100% - var(--gutter) * 2, 85rem); margin-inline: auto; }

.skip { position: absolute; z-index: 4; top: .8rem; left: .8rem; padding: .5rem 1rem; color: var(--ink); background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; }
.opening, .closing { color: var(--light); background: var(--dark); }
.masthead { display: flex; min-height: 4.2rem; justify-content: space-between; align-items: center; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .42em; font-size: 1.15rem; font-weight: 600; letter-spacing: -.045em; text-decoration: none; text-transform: uppercase; }
.wordmark::before { content: ''; width: .48em; height: .48em; background: currentColor; }
.masthead nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.6rem); font-size: .72rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.masthead nav a { padding-block: .5rem; text-decoration: none; white-space: nowrap; }
.masthead nav a:hover, .masthead nav a:focus-visible { text-decoration: underline; }
.nav-social { color: #3d482b; font-weight: 600; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5.2rem); padding-block: clamp(3.85rem, 7.35vw, 7.5rem); }
.hero-copy { display: flex; flex-direction: column; align-items: start; }
.eyebrow { display: flex; align-items: center; gap: .65em; font-size: .72rem; font-weight: 600; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.hero .eyebrow { border: 1px solid var(--dark-line); padding: .3rem .48rem; color: var(--accent); }
.marker { width: .46rem; height: .46rem; background: currentColor; }
h1 { margin-block: 1.4rem 1.3rem; font-size: clamp(2.85rem, 4.45vw, 4.9rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.03; text-transform: uppercase; }
.hero-description { color: var(--light-muted); max-width: 45ch; font-size: clamp(.93rem, 1.2vw, 1.07rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-self: stretch; gap: .8rem 1.5rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--dark-line); }
.hero-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hero-link:hover { text-decoration: underline; }
.button-link { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 1.45rem; width: fit-content; min-height: 3rem; padding: .66rem .9rem; border: 1px solid var(--accent); background: var(--accent); color: var(--dark); font-size: .85rem; font-weight: 600; text-decoration: none; }
.button-link:hover { background: transparent; color: var(--accent); }
.hero-media img { aspect-ratio: 4/3; object-fit: cover; object-position: center; background: #20221f; }
.hero-media figcaption { padding-top: .7rem; color: var(--light-muted); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }

.section { padding-block: clamp(3rem, 7.7vw, 6.6rem); scroll-margin-top: 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: .75rem 2.5rem; align-items: end; margin-bottom: 1.6rem; }
.section-heading p { max-width: 43ch; color: var(--muted); }
h2 { font-size: clamp(1.32rem, 1.8vw, 1.85rem); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; text-transform: uppercase; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; list-style: none; border-block: 1px solid var(--line); }
.stages li { padding: 1.55rem clamp(1rem, 2.5vw, 2.3rem) 1.65rem 0; }
.stages li + li { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2.5vw, 2.3rem); }
.stage-label { display: block; margin-bottom: .65rem; color: #4a542c; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.stages h3 { text-transform: uppercase; }
.stages p { margin-top: .5rem; color: var(--muted); font-size: .92rem; }

.social { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.social h2 { font-size: clamp(1.55rem, 3.2vw, 2.85rem); }
.social p { margin-top: .65rem; color: var(--light-muted); }
.footer-bottom { min-height: 4.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--dark-line); }
.footer-bottom .wordmark { font-size: 1.06rem; }
.plain-button { border: 0; padding: .5rem 0; background: transparent; color: var(--light-muted); font-size: .78rem; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }

.cookie-notice { position: fixed; z-index: 3; right: clamp(.85rem, 3vw, 1.8rem); bottom: clamp(.85rem, 3vw, 1.8rem); width: min(23rem, 100% - 1.7rem); padding: .9rem 1.05rem; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 6px 25px #17191725; }
.cookie-notice p, dialog p { color: var(--muted); font-size: .86rem; }
.cookie-actions { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; margin-top: .65rem; }
.cookie-actions button { min-height: 2.4rem; border: 1px solid var(--ink); padding: .3rem .7rem; background: transparent; cursor: pointer; font-size: .81rem; }
.cookie-actions button:hover { background: #e4e7d6; }
dialog { width: min(28rem, 100% - 2rem); border: 1px solid var(--line); padding: 1.4rem; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #17191770; }
dialog h2 { font-size: 1.83rem; letter-spacing: -.045em; text-transform: none; }
dialog p { margin-top: .75rem; }

.masthead nav a[aria-current="page"] { text-decoration: underline; }
.stages h3 a { text-decoration-color: transparent; }
.stages h3 a:hover, .stages h3 a:focus-visible { text-decoration-color: currentColor; }
.team-section { border-top: 1px solid var(--line); }
.section-link { font-size: .89rem; font-weight: 600; }
.inner-hero { padding-block: clamp(2.5rem, 6vw, 5.6rem); color: var(--light); background: var(--dark); }
.inner-hero h1 { max-width: 22ch; margin: .85rem 0 0; font-size: clamp(2.35rem, 5.2vw, 4.7rem); text-transform: none; }
.inner-hero p { max-width: 58ch; margin-top: .9rem; color: var(--light-muted); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .65rem; color: var(--light-muted); font-size: .8rem; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; border-top: 1px solid var(--line); }
.service-list li { padding: 1.5rem 1.6rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.service-list li:nth-child(even) { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.service-list h2 { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.25; text-transform: none; }
.service-list h2 a { text-decoration-color: transparent; }
.service-list h2 a:hover, .service-list h2 a:focus-visible { text-decoration-color: currentColor; }
.service-list h2 span { color: #4a542c; font-size: .85em; }
.service-list p { max-width: 52ch; margin-top: .55rem; color: var(--muted); }
.service-prose { max-width: 51rem; }
.service-prose .service-lead { color: var(--ink); font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.55; }
.service-prose section { margin-top: clamp(1.8rem, 4vw, 3.15rem); }
.service-prose h2 { font-size: clamp(1.32rem, 2.8vw, 1.95rem); letter-spacing: -.038em; line-height: 1.18; text-transform: none; }
.service-prose section p { margin-top: .8rem; color: var(--muted); }
.service-prose ul { margin: .8rem 0 0; padding-left: 1.3rem; color: var(--muted); }
.service-prose li + li { margin-top: .38rem; }
.source-link { color: #46512c; font-size: .9em; }
.source-link:hover { color: var(--ink); }
.service-table { max-width: 100%; margin-top: 1.15rem; overflow-x: auto; }
.service-table table { width: 100%; min-width: 28rem; border-collapse: collapse; font-size: .88rem; }
.service-table th, .service-table td { border: 1px solid var(--line); padding: .6rem .68rem; text-align: left; vertical-align: top; }
.service-table thead th { background: #e7e9dd; }
.service-table tbody td { color: var(--muted); }

@media (max-width: 62rem) {
  .hero { gap: 1.75rem; }
  h1 { font-size: clamp(2.35rem, 4.6vw, 3.8rem); }
}

@media (max-width: 45rem) {
  .masthead { min-height: 4.2rem; gap: .7rem; }
  .masthead .wordmark { font-size: 1.02rem; }
  .masthead nav { justify-content: flex-end; flex-wrap: wrap; gap: 0 .65rem; font-size: .67rem; letter-spacing: .035em; }
  .hero, .section-heading { grid-template-columns: 1fr; }
  .hero { gap: 1.9rem; padding-block: 2.9rem 3.1rem; }
  h1 { font-size: clamp(2.52rem, 8.95vw, 4.05rem); margin-block: 1rem .95rem; }
  .hero-actions { margin-top: 1.5rem; padding-top: .85rem; }
  .hero-media img { aspect-ratio: 1.42; }
  .stages { grid-template-columns: 1fr; border-bottom: 0; }
  .stages li, .stages li + li { border: 0; border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
  .social { align-items: start; flex-direction: column; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li, .service-list li:nth-child(even) { padding-inline: 0; border-left: 0; }
}

@media (max-width: 24rem) {
  :root { --gutter: 1rem; }
  .masthead { flex-wrap: wrap; gap: .2rem; padding-block: .65rem .3rem; }
  .masthead .wordmark { font-size: .96rem; }
  .masthead nav { flex-basis: 100%; justify-content: space-between; column-gap: .55rem; font-size: .65rem; }
  h1 { font-size: clamp(2.33rem,9.8vw,3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
