@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --forest: #173d30;
  --ink: #172f25;
  --muted: #526055;
  --paper: #fafbf5;
  --lime: #d3ef86;
  --line: #d5dccf;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0 }
a { color: inherit }
img { display: block; max-width: 100% }
button, input, select, textarea { font: inherit }
h1, h2, h3, figure, p { margin: 0 }
em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-style: italic }
:focus-visible { outline: 3px solid #916000; outline-offset: 5px }
.hero :focus-visible { outline-color: white }
[hidden] { display: none !important }
.wrap { width: min(100% - var(--gutter) * 2, 84rem); margin-inline: auto }
.skip { position: absolute; z-index: 4; left: 1rem; top: -8rem; padding: 1rem; background: white }
.skip:focus { top: .5rem }
.masthead { background: var(--paper) }
.header-inner, .footer-inner { display: flex; align-items: center }
.header-inner { justify-content: space-between; min-height: 4.65rem; gap: 1.6rem }
.brand { display: inline-flex; align-items: center }
.brand img { width: 8.9rem; height: auto }
.masthead nav { display: flex; margin-left: auto; gap: clamp(1.3rem, 2.8vw, 3.2rem) }
.masthead nav a, .footer-inner a { text-decoration: none }
.masthead nav a { font-size: .94rem; font-weight: 550; padding-block: .7rem }
.masthead nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: .3em }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3rem; padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: 100px; background: var(--forest); color: #fff; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s }
.button:hover { background: #305741 }
.header-contact { min-height: 2.55rem; margin-left: .5rem; padding: .65rem 1.32rem; font-size: .9rem }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #19382c; color: white }
.hero-photo, .hero-photo img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100% }
.hero-photo { z-index: -2 }
.hero-photo img { object-fit: cover; object-position: 55% 47% }
.hero-shade { z-index: -1; background: linear-gradient(90deg,rgba(8,28,21,.87),rgba(8,28,21,.69) 28%,rgba(8,28,21,.2) 64%,rgba(8,28,21,.03)),linear-gradient(0deg,rgba(8,24,17,.47),transparent 40%) }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(32rem,40.5vw,39rem); padding-block: 4rem 5rem }
.hero-copy { max-width: 53rem }
.eyebrow, .category, .photo-caption span { font-size: .8rem; font-weight: 650; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: #4a6047 }
.rule { width: 1.9rem; height: 2px; background: #859c47; flex-shrink: 0 }
h1 { margin-block: 0 1.25rem; font-size: clamp(4.05rem,6.6vw,7.15rem); font-weight: 500; letter-spacing: -.038em; line-height: .96 }
h1 em { color: var(--lime); font-size: 1.25em; line-height: .86; letter-spacing: -.045em }
.hero-intro { max-width: 34rem; font-size: clamp(1.04rem,1.3vw,1.19rem); line-height: 1.55; color: #fafbf2 }
.hero-button { margin-top: 1.65rem; background: var(--lime); color: #183527 }
.hero-button:hover { background: #e6ffad }
.photo-caption { position: absolute; bottom: 1.9rem; right: 0; display: flex; align-items: center; gap: .7rem; color: white; text-shadow: 0 1px 5px #15251c }
.photo-caption svg { flex: 0 0 auto; color: #e5f6c0 }
.photo-caption span, .photo-caption strong { display: block }
.photo-caption span { font-size: .75rem; color: #e4efd7; letter-spacing: .1em }
.photo-caption strong { font-size: .9rem; font-weight: 550; margin-top: .13rem }
.section { padding-block: clamp(3.2rem, 5.6vw, 6rem) }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1.4rem; margin: .55rem 0 1.9rem }
h2 { font-size: clamp(2.6rem, 4.15vw, 4.8rem); font-weight: 540; line-height: 1; letter-spacing: -.035em }
h2 em { font-size: 1.14em; letter-spacing: -.045em }
.section-heading h2 span { color: #789343 }
.section-heading p, .project-copy > p:not(.category), .contact-copy > p:not(.eyebrow), .field-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; font-size: 1.04rem }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 2.1vw, 2.25rem) }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; overflow: hidden; border-radius: .65rem }
.project-plate { position: relative; display: grid; place-items: center; height: clamp(13.5rem,16.3vw,18rem); overflow: hidden; isolation: isolate; background: #e6f8dc }
.robocitrix .project-plate { background: #fdddbb }
.project-plate img { width: 90%; height: 100%; object-fit: contain; mask-image: linear-gradient(90deg, transparent, black 17% 83%, transparent) }
.project-plate:after { content: ""; position: absolute; right: 1.1rem; bottom: 1.1rem; width: .9rem; height: .9rem; background: linear-gradient(#36574277,#36574277) center / 100% 1px no-repeat, linear-gradient(#36574277,#36574277) center / 1px 100% no-repeat }
.status { position: absolute; left: 1.1rem; top: 1rem; display: inline-flex; align-items: center; gap: .45rem; border: 1px solid #68837751; border-radius: 2rem; background: #fbfcf1ec; padding: .32rem .67rem; font-size: .875rem; font-weight: 600 }
.status:before { content: ""; width: .44rem; height: .44rem; border-radius: 50%; background: #50843e }
.starting:before { background: #ba6325 }
.project-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.35rem, 2.2vw, 2.25rem) }
.category { color: #58674d; font-size: .75rem }
.project h3 { font-weight: 550; font-size: clamp(2rem,2.7vw,2.8rem); line-height: 1.1; letter-spacing: -.035em; margin: .35rem 0 .65rem }
.project-copy > p:not(.category) { margin-bottom: 1.35rem; max-width: 35rem }
.text-link { font-weight: 650; text-decoration-color: #74945f; text-decoration-thickness: 1px; text-underline-offset: .32em }
.text-link:hover { text-decoration-thickness: 2px; color: #3a623c }
.project .text-link { margin-top: auto }
.field { background: var(--forest); color: #fff; padding-block: clamp(3.25rem,5.8vw,6.5rem) }
.field-layout, .contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,6vw,7rem) }
.field .eyebrow { color: #d6e8ac }
.field .rule { background: #c4de86 }
.field-copy h2, .contact h2 { margin-block: 1.3rem 1.05rem }
.field-copy h2 em { display: block; color: var(--lime) }
.field-copy > p:not(.eyebrow) { color: #e4ebdf; max-width: 35rem }
.field-copy strong { color: white; font-weight: 600 }
.criteria { margin: 1.4rem 0 0 }
.criteria > div { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem; border-top: 1px solid #688171; padding-block: .8rem }
.criteria dt { color: #e4efc6; font-weight: 650 }
.criteria dd { margin: 0; color: #f0f3ec; line-height: 1.5 }
.criteria > div:last-child dt { color: var(--lime) }
.field-figure { border-radius: .5rem; overflow: hidden }
.field-figure img { width: 100%; height: auto }
.contact-copy > p:not(.eyebrow) { max-width: 26rem }
.contact h2 em { color: #507249 }
.email { display: inline-block; margin-top: 1rem }
.contact-form { display: grid; align-content: center; gap: 1.15rem }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem }
label { display: grid; gap: .45rem; font-size: .92rem; font-weight: 600 }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #aeb9a8; background: #fff; border-radius: .34rem; color: var(--ink); padding: .75rem .85rem; font-weight: 400; font-size: 1rem }
select { appearance: none; padding-right: 2.25rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23173d30' stroke-width='1.5'/%3E%3C/svg%3E") right .9rem center / .75rem auto no-repeat }
textarea { resize: vertical; min-height: 6rem }
.form-action { display: flex; align-items: center; gap: 1rem }
.form-action p { max-width: 14rem; color: var(--muted); font-size: .875rem; line-height: 1.4 }
footer { border-top: 1px solid var(--line) }
.footer-inner { min-height: 5.9rem; gap: 1.5rem; color: var(--muted); font-size: .9rem }
.footer-inner .brand img { width: 6.7rem }
.footer-inner > a:last-child { margin-left: auto }
@media (max-width: 850px) {
  .hero-inner { min-height: 33rem; padding-block: 3.3rem 5.7rem }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .65rem }
  .field-layout, .contact { gap: 2rem }
  .form-pair { grid-template-columns: 1fr }
}
@media (max-width: 650px) {
  .header-inner { flex-wrap: wrap; row-gap: 0; min-height: auto; padding-top: .55rem }
  .header-inner .brand img { width: 6.9rem }
  .header-contact { margin-left: auto; min-height: 2.45rem }
  .masthead nav { order: 3; width: 100%; margin: .42rem 0 0; justify-content: space-between; gap: .65rem; border-top: 1px solid var(--line) }
  .masthead nav a { padding-block: .7rem; font-size: .9rem }
  .hero-inner { min-height: 30rem; padding-block: 2.9rem 5.9rem }
  .hero-shade { background: linear-gradient(90deg,rgba(7,28,19,.78),rgba(7,28,19,.37) 78%),linear-gradient(0deg,rgba(10,30,22,.55),transparent 38%) }
  h1 { font-size: clamp(3rem,10.6vw,4.35rem); margin-block: 1.15rem 1.2rem }
  .hero-intro { max-width: 29rem }
  .photo-caption { left: 0; right: auto; bottom: 1.35rem }
  .photo-caption svg { width: 1rem }
  .photo-caption strong { font-size: .82rem }
  .project-grid, .field-layout, .contact { grid-template-columns: 1fr }
  .project-plate { height: clamp(12rem,49vw,17rem) }
  .section-heading { margin-bottom: 1.4rem }
  .form-pair { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .field-copy h2 em { display: inline }
  .footer-inner { flex-wrap: wrap; gap: .8rem; padding-block: 1rem; min-height: 4rem }
  .footer-inner > span { display: none }
}
@media (max-width: 380px) {
  .criteria > div { grid-template-columns: 1fr; gap: .25rem }
  .form-pair { grid-template-columns: 1fr }
  .form-action { align-items: flex-start; flex-direction: column }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition-duration: 0s !important }
}
