@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f6f2e9;
  --light: #fcf9f2;
  --ink: #1b2b20;
  --muted: #49564a;
  --green: #203d2c;
  --forest: #172a20;
  --gold: #efbd82;
  --line: #d7d4c6;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button, select, input { font: inherit; }
a { color: inherit; text-underline-offset: .22em; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p, h1, h2, h3, figure { margin: 0; }

.wrap { width: min(81.25rem, calc(100% - 8.5rem)); margin-inline: auto; }
.section-pad { padding-block: clamp(4.5rem, 8vw, 8rem); }
.skip-link { position: absolute; top: .65rem; left: .65rem; z-index: 20; padding: .65rem 1rem; background: var(--light); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--paper); }
.header-inner { min-height: 5.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { flex: 0 0 auto; display: inline-block; }
.brand img { width: 12.15rem; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3.2vw, 3.1rem); color: var(--green); }
.site-nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 3.1rem; justify-content: center; align-items: center; gap: .45rem; padding: .64rem 1.3rem; border: 1px solid transparent; border-radius: .24rem; font-size: .91rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-outline { border-color: #9eac9f; color: var(--green); }
.button-outline:hover { background: #e6e9df; border-color: var(--green); }
.button-gold { color: #242214; background: var(--gold); }
.button-gold:hover { background: #f7d0a2; }
.button-green { background: var(--green); color: white; }
.button-green:hover { background: #10251a; }
.button-gold:focus-visible { outline-color: #fce1be; }
.button-green:focus-visible { outline-color: var(--green); }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--light); background: #192b20; }
.hero-picture, .hero-picture img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { z-index: -2; }
.hero-picture img { object-fit: cover; object-position: center 57%; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, #102018 0%, #102018ee 16%, #102018c9 33%, #10201850 59%, #10201806 80%), linear-gradient(0deg,#101f1660,transparent 58%); }
.hero-inner { display: grid; align-items: center; min-height: clamp(41rem, 51vw, 50rem); padding-block: 4.7rem 5.1rem; }
.hero-copy { max-width: 42rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: #496052; font-size: .79rem; font-weight: 700; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; }
.rule { display: inline-block; height: 1px; width: 1.45rem; flex: 0 0 1.45rem; background: currentColor; }
.hero-label { color: #efc89f; margin-bottom: 1.38rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(5rem, 8.75vw, 9.2rem); line-height: .83; letter-spacing: -.025em; }
h1 em { color: var(--gold); white-space: nowrap; }
.hero-lead { max-width: 27rem; margin-top: 1.85rem; color: #f0ede4; font-size: clamp(1rem, 1.28vw, 1.15rem); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 1.45rem; margin-top: 1.65rem; }
.hero-link { color: var(--light); font-size: .92rem; font-weight: 650; text-decoration-color: #d2b292; }
.hero-link:hover { color: var(--gold); }

.section-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 2rem 5rem; margin-bottom: 2.75rem; }
.section-intro .eyebrow, .application-copy .eyebrow, .evidence .eyebrow, .pilot .eyebrow { margin-bottom: .95rem; }
h2 { font-size: clamp(3.2rem, 6.05vw, 6.1rem); line-height: .92; letter-spacing: -.021em; }
.section-intro > p { max-width: 27rem; margin-bottom: .23rem; justify-self: end; color: var(--muted); font-size: 1.08rem; }
.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.material-card { overflow: hidden; border: 1px solid var(--line); background: var(--light); }
.material-photo { width: 100%; height: auto; aspect-ratio: 1.78; object-fit: cover; object-position: 50% 49%; }
.material-copy { padding: clamp(1.25rem, 2.8vw, 2.25rem); }
.material-copy h3, .workflow h3 { font-size: clamp(2.05rem, 3.15vw, 3.3rem); line-height: 1; margin-block: .48rem .7rem; }
.material-copy > p:last-child, .workflow li > p { color: var(--muted); max-width: 31rem; }

.workflow { background: #eaece2; }
.workflow-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #bec7b7; }
.workflow li { padding: clamp(1.35rem, 3vw, 2.55rem); }
.workflow li:first-child { padding-left: 0; }
.workflow li + li { border-left: 1px solid #bec7b7; }
.step-icon { display: block; width: 2.65rem; height: 2.65rem; color: #42634d; border: 1px solid #99ae9b; border-radius: 100%; position: relative; margin-bottom: .9rem; }
.capture-icon::before { content: ''; position: absolute; inset: .82rem .65rem .77rem; border: 1.5px solid; border-radius: .15rem; }
.capture-icon::after { content: ''; position: absolute; border: 1.5px solid; width: .44rem; height: .44rem; border-radius: 50%; left: calc(50% - .22rem); top: calc(50% - .18rem); }
.match-icon::before { content: ''; position: absolute; inset: .72rem .76rem; border: 1.5px solid; border-left: 0; border-right: 0; transform: rotate(-35deg); }
.match-icon::after { content: ''; position: absolute; inset: 1.22rem .59rem auto; border-top: 1.5px solid; transform: rotate(-35deg); }
.verify-icon::before { content: ''; position: absolute; width: .96rem; height: .52rem; border: 1.5px solid; border-top: 0; border-right: 0; left: .8rem; top: .84rem; transform: rotate(-45deg); }

.demo { background: #f0e9dc; }
.demo-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 1.5rem; align-items: stretch; }
.match-form, .match-result { border: 1px solid #d5ccbd; background: var(--light); }
.match-form { padding: clamp(1.15rem, 3vw, 2.55rem); }
.match-form h3, .match-result h3 { font-size: clamp(2.1rem, 3.6vw, 3.55rem); line-height: 1; }
.form-intro { margin-top: .55rem; color: var(--muted); }
.examples { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1.14rem 1.3rem; }
.examples button { border: 1px solid #bec8ba; border-radius: 1.5rem; background: transparent; color: var(--green); padding: .3rem .66rem; min-height: 2.2rem; font-size: .88rem; font-weight: 600; }
.examples button:hover, .examples button[aria-pressed='true'] { background: #e4eadf; border-color: #829580; }
.match-form label { display: block; margin-bottom: .35rem; font-size: .91rem; font-weight: 650; }
.match-form select, .match-form input { width: 100%; min-width: 0; min-height: 2.9rem; border: 1px solid #bcbfb1; color: var(--ink); background: #fffdf8; padding: .4rem .66rem; border-radius: .22rem; }
.match-form select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #496052 50%), linear-gradient(135deg, #496052 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.paired-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-block: .9rem 1.2rem; }
.result-picture { position: relative; }
.result-picture img { width: 100%; height: clamp(8.5rem, 16vw, 13rem); object-fit: cover; object-position: center 51%; }
.result-picture figcaption { position: absolute; bottom: .7rem; left: .78rem; padding: .19rem .48rem; background: #233227; color: #f8f6ee; font-size: .79rem; }
.result-copy { padding: clamp(1.15rem, 2.65vw, 2.2rem); }
.result-status { display: flex; align-items: center; gap: .4rem; margin-bottom: .47rem; width: fit-content; color: #28523a; font-size: .9rem; font-weight: 700; }
.result-status::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.result-status[data-state='review'], .result-status[data-state='unavailable'] { color: #8a4826; }
.result-data { margin-block: .48rem .36rem; font-size: .89rem; font-weight: 700; }
.result-copy > p:not(.result-status, .result-data) { color: var(--muted); }
.result-cost, .result-alternate { margin-top: .58rem; font-size: .89rem; }
.result-alternate { padding-top: .53rem; border-top: 1px solid var(--line); }

.applications { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); color: var(--light); background: var(--forest); }
.application-media { position: relative; min-height: 28rem; }
.application-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 39% center; }
.application-copy { max-width: 40rem; padding: clamp(3.5rem, 7vw, 7rem) clamp(2rem, 6vw, 7rem); }
.application-copy .eyebrow, .pilot .eyebrow { color: #e4b889; }
.application-copy h2 { font-size: clamp(3.2rem, 5.35vw, 5.8rem); }
.application-copy > p:not(.eyebrow), .pilot-copy > p { margin-top: 1.2rem; color: #dce2d7; }
.application-copy > .application-note { font-size: .86rem; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 2rem 6rem; align-items: start; }
.evidence-copy p { margin-top: .55rem; color: var(--muted); }
.evidence-copy p + p { margin-top: .85rem; }
.source-list { list-style: none; margin: 1.14rem 0 0; padding: 0; }
.source-list li { padding-block: .5rem; border-bottom: 1px solid var(--line); }
.source-list a { font-weight: 650; text-decoration-color: #a4af9d; }
.source-list a:hover { text-decoration-color: currentColor; }

.pilot { padding-block: clamp(3.4rem, 6.8vw, 6rem); color: var(--light); background: #244231; }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 5rem; align-items: end; }
.pilot-copy { max-width: 27rem; justify-self: end; }
.pilot-copy > p { margin-top: 0; }
.pilot-copy .button { margin-top: 1rem; }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2rem; padding-block: 2.15rem; align-items: center; }
.footer-brand img { width: 10.4rem; }
.site-footer p { max-width: 35rem; color: var(--muted); font-size: .89rem; }
.footer-contact { font-size: .91rem; font-weight: 650; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 5rem); }
  .section-intro, .evidence-grid, .pilot-grid { column-gap: 2.8rem; }
  h1 { font-size: clamp(5.2rem, 10.2vw, 7rem); }
  .hero-inner { min-height: 39rem; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 3rem); }
  .header-inner { gap: .8rem; min-height: 4.45rem; }
  .brand img { width: 9.4rem; }
  .site-nav { gap: 1.1rem; }
  .site-nav a { font-size: .85rem; }
  .header-action { font-size: .84rem; min-height: 2.5rem; padding: .45rem .7rem; }
  .hero-inner { min-height: 36.5rem; }
  .section-intro { gap: 1rem; margin-bottom: 1.85rem; }
  .section-intro > p { font-size: 1rem; }
  .demo-grid { grid-template-columns: 1fr; gap: .9rem; }
  .result-picture img { height: 11.5rem; }
  .footer-inner { grid-template-columns: auto 1fr; gap: .95rem 1.5rem; }
  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-contact { justify-self: end; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 2.4rem); }
  .site-nav { display: none; }
  .hero::after { background: linear-gradient(90deg, #101e17ed 0%, #101e17bb 44%, #101e1744 100%), linear-gradient(0deg,#101e1766,transparent 75%); }
  .hero-picture img { object-position: 55% center; }
  .hero-inner { min-height: 36.3rem; padding-block: 3.5rem; }
  h1 { font-size: clamp(4.65rem, 13.2vw, 6.4rem); }
  .hero-label { margin-bottom: 1.2rem; }
  .hero-lead { margin-top: 1.42rem; }
  .hero-actions { gap: .8rem 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
  .hero-actions .button { padding-inline: .86rem; }
  .hero-link { font-size: .86rem; }
  .section-intro, .material-grid, .workflow-grid, .applications, .evidence-grid, .pilot-grid { grid-template-columns: 1fr; }
  .section-intro > p, .pilot-copy { justify-self: start; }
  .material-grid { gap: 1rem; }
  .workflow li, .workflow li:first-child { padding: 1.2rem 0; }
  .workflow li + li { border-left: 0; border-top: 1px solid #bec7b7; }
  .workflow li h3 { margin-top: 0; }
  .step-icon { margin-bottom: .7rem; }
  .application-media { min-height: 16.5rem; }
  .application-copy { padding-inline: 1.2rem; }
  .evidence-grid { gap: 1.2rem; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 1.8rem); }
  h1 { font-size: 4.25rem; }
  .hero-actions { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
