:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #152821;
  background: #fbfcfa;
  font-synthesis: none;
  --ink: #152821;
  --muted: #4f625a;
  --pine: #17493d;
  --line: #d9e3de;
  --soft: #eff4f0;
  --white: #fff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #218361; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
.wrap { width: min(100% - 5rem, 1290px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 6; background: var(--white); padding: .75rem 1rem; }

.site-header { border-bottom: 1px solid #e4ece7; }
.header-row { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-size: 1.22rem; font-weight: 790; letter-spacing: -.035em; flex-shrink: 0; }
.brand-mark { position: relative; display: inline-block; width: 34px; height: 34px; border-radius: 8px; background: var(--pine); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; }
.brand-mark::before { inset: 9px 9px; border: 1.5px solid #d3f1de; transform: rotate(-19deg); }
.brand-mark::after { left: 13px; top: 8px; width: 8px; height: 16px; border-inline: 1.5px solid #d3f1de; transform: rotate(22deg); }
.main-nav, .header-actions, .hero-actions { display: flex; align-items: center; gap: .88rem; }
.main-nav { gap: clamp(1rem, 3vw, 2.5rem); color: var(--muted); font-size: .94rem; font-weight: 600; }
.main-nav a:hover, .footer-row a:hover { color: var(--pine); text-decoration: underline; text-underline-offset: .28em; }

.button { box-sizing: border-box; display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 46px; padding: .66rem 1.04rem; font-weight: 710; font-size: .92rem; line-height: 1.25; background: none; border: 1px solid transparent; border-radius: 7px; text-align: center; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.button:disabled { opacity: .52; cursor: wait; }
.primary { color: #fff; background: var(--pine); border-color: var(--pine); }
.primary:hover { background: #0e3a30; border-color: #0e3a30; }
.outline { border-color: #aabfb4; background: #fff; }
.outline:hover, .quiet:hover { background: #e9f2ec; border-color: #a0b9ab; }
.quiet { border-color: transparent; color: var(--pine); }
.mint { background: #d6eddf; color: #193b2e; border-color: #d6eddf; }
.mint:hover { background: #eefaf2; border-color: #eefaf2; }
.dark-outline { border-color: #99b8a8; color: #fff; }
.dark-outline:hover { background: #285b4b; }

.hero { display: grid; grid-template-columns: .96fr 1.13fr; gap: clamp(2rem, 4.6vw, 5.7rem); align-items: center; padding-block: clamp(2.4rem, 5vw, 4.8rem); }
.hero-copy { padding-block: .5rem; }
.eyebrow { display: flex; align-items: center; gap: .72rem; color: #386653; font-size: .91rem; font-weight: 740; margin-bottom: 1rem; }
.short-line { width: 23px; height: 2px; background: #7fa58f; }
.hero h1 { font-size: clamp(3.2rem, 6vw, 6.15rem); font-weight: 775; line-height: .98; letter-spacing: -.073em; }
.hero-lede { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 32rem; margin-block: 1.45rem 1.85rem; }
.hero-image { min-height: 300px; aspect-ratio: 1.52; position: relative; overflow: hidden; border-radius: 12px; background: #325447; isolation: isolate; }
.hero-image img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: 48% 52%; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(25deg, #12352b28, transparent 62%); pointer-events: none; }

.section { padding-block: clamp(3rem, 6vw, 5.05rem); }
.catalog { background: #f0f4f0; border-block: 1px solid #e1e9e3; }
.section-heading { margin-bottom: 1.45rem; }
.section h2, .company-section h2 { font-size: clamp(2.04rem, 4vw, 3.55rem); font-weight: 740; letter-spacing: -.061em; }
.section-heading p { margin-top: .54rem; color: var(--muted); }
.filters { display: flex; align-items: stretch; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.35rem; }
.filters button { background: transparent; font-size: .92rem; font-weight: 650; line-height: 1.2; color: #354f42; border: 1px solid #c9d8ce; border-radius: 6px; padding: .56rem .86rem; min-height: 39px; }
.filters button:hover { border-color: #6b9580; }
.filters button[aria-pressed="true"] { color: #fff; background: var(--pine); border-color: var(--pine); }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .95rem; }
.service { display: flex; flex-direction: column; align-items: start; min-height: 161px; border: 1px solid #d6e2d9; border-radius: 9px; background: #fff; padding: 1.26rem; }
.service h3 { margin-top: .86rem; font-size: 1.14rem; font-weight: 740; letter-spacing: -.035em; }
.service p { font-size: .94rem; color: var(--muted); line-height: 1.48; margin-top: .6rem; }
.service-icon { display: inline-block; flex: none; width: 35px; height: 35px; position: relative; border-radius: 6px; background: #e6f0e9; color: #295943; }
.service-icon::before, .service-icon::after { position: absolute; content: ""; }
.layers::before { inset: 8px 8px 10px; border: 1.6px solid; transform: rotate(-28deg) skewX(24deg); border-radius: 1px; }
.layers::after { inset: 13px 8px 6px; border-bottom: 1.6px solid; border-left: 1.6px solid; transform: rotate(-28deg) skewX(24deg); }
.target::before { inset: 7px; border: 1.6px solid; border-radius: 50%; }
.target::after { inset: 4px; background: linear-gradient(currentColor, currentColor) 50% / 1.5px 100% no-repeat, linear-gradient(currentColor, currentColor) 50% / 100% 1.5px no-repeat; }
.leaf::before { inset: 7px 8px 8px 9px; border: 1.6px solid; border-radius: 65% 5% 63% 18%; transform: rotate(-7deg); }
.leaf::after { inset: 17px 6px auto 6px; border-block-start: 1.6px solid; transform: rotate(-47deg); }
.water::before { inset: 7px 10px 8px; border: 1.6px solid; transform: rotate(45deg); border-radius: 0 55% 55% 48%; }
.water::after { inset: 19px 12px 9px; border-bottom: 1.6px solid; border-radius: 50%; }
.blocks::before { inset: 8px 9px 8px 9px; border: 1.6px solid; transform: rotate(30deg) skewX(-12deg); }
.blocks::after { inset: 14px 6px 6px 17px; border-left: 1.6px solid; transform: rotate(-28deg); }
.plan::before { inset: 8px; border: 1.6px solid; border-radius: 2px; }
.plan::after { inset: 8px 13px 13px 16px; border-left: 1.6px solid; border-bottom: 1.6px solid; }
.sample::before { inset: 8px 9px; border: 1.6px solid; border-radius: 45% 45% 24% 24%; }
.sample::after { inset: 20px 11px 10px; border-top: 1.6px solid; }

.workflow-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 0; margin: 1.7rem 0 0; gap: 1.5rem; }
.workflow-list li { border-top: 2px solid #afc6b8; padding: 1.28rem .4rem .2rem 0; }
.workflow-list h3 { font-size: 1.18rem; letter-spacing: -.025em; }
.workflow-list p { color: var(--muted); margin-top: .6rem; max-width: 19em; }
.section-lede { margin-top: .88rem; max-width: 52rem; color: var(--muted); }
.company-section { background: #173f34; color: #fff; padding-block: clamp(2.4rem, 5vw, 4.5rem); }
.company-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1.5rem 3rem; }
.company-row p { color: #e0ece4; max-width: 44em; margin-top: .85rem; }
.company-actions { display: grid; gap: .75rem; justify-items: stretch; }
.site-footer { color: #4e6157; }
.footer-row { min-height: 86px; display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; font-size: .93rem; }
.footer-row .brand { color: var(--ink); margin-right: auto; }

.modal { margin: auto; padding: 0; width: min(600px, calc(100% - 1.5rem)); max-height: min(92dvh, 910px); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 28px 100px #14261e47; color: var(--ink); background: #fff; }
.modal::backdrop { background: #1328209c; }
.modal.narrow { width: min(470px, calc(100% - 1.5rem)); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: clamp(1.37rem,4vw,1.82rem); letter-spacing: -.04em; }
.close-button { display: grid; place-items: center; background: var(--soft); border: 0; border-radius: 6px; flex: 0 0 36px; height: 36px; font-size: 1.55rem; line-height: 1; }
.close-button:hover { background: #d9e8df; }
.modal-content { display: grid; gap: .76rem; padding: 1.16rem 1.38rem 1.35rem; }
.modal-intro, .preview-note { font-size: .94rem; color: var(--muted); }
.preview-note { border-radius: 6px; padding: .54rem .72rem; background: #eff4f0; }
.modal-content label { display: block; min-width: 0; font-size: .94rem; font-weight: 650; }
.modal-content input, .modal-content textarea { display: block; width: 100%; margin-top: .28rem; padding: .52rem .65rem; border: 1px solid #aebfb6; border-radius: 6px; background: #fff; color: var(--ink); font-size: 1rem; }
.modal-content textarea { resize: vertical; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: end; }
.optional { color: var(--muted); font-weight: 500; font-size: .87rem; }
.form-message { color: #1c563b; font-size: .92rem; min-width: 0; overflow-wrap: anywhere; }
.form-message:empty { display: none; }
.form-message[data-error="true"] { color: #982b2b; }
.two-fields, .three-fields { display: grid; gap: .65rem; }
.two-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.three-fields { grid-template-columns: 1fr .87fr 1.12fr; }

@media (max-width: 1060px) {
  .wrap { width: min(100% - 3rem,1290px); }
  .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .header-row { gap: .65rem; }
  .main-nav { gap: 1rem; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero h1 br { display: none; }
  .hero-image { aspect-ratio: 1.9; }
  .hero-image, .hero-image img { min-height: 215px; }
  .main-nav { display: none; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .company-row { grid-template-columns: 1fr; }
  .company-actions { justify-items: start; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 2rem); }
  .header-row { min-height: 65px; }
  .header-request { display: none; }
  .header-actions { gap: .4rem; }
  .hero h1 { font-size: clamp(2.75rem,11vw,3.8rem); }
  .hero-lede { margin-block: 1rem 1.1rem; }
  .hero-actions { gap: .5rem; flex-wrap: wrap; }
  .hero-image { aspect-ratio: 1.48; }
  .service-grid { grid-template-columns: 1fr; gap: .6rem; }
  .service { min-height: 0; padding: 1rem; }
  .workflow-list { grid-template-columns: 1fr; gap: .9rem; }
  .company-actions { justify-items: stretch; }
  .footer-row { padding-block: 1rem; gap: .6rem 1rem; }
  .footer-row .brand { width: 100%; }
  .modal-content, .modal-header { padding-inline: .95rem; }
  .two-fields { grid-template-columns: 1fr; }
  .three-fields { gap: .38rem; }
  .three-fields input { padding-inline: .35rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
