@import url("/assets/fonts.css");

:root {
  --paper: #f5f2e9;
  --surface: #eeebe1;
  --ink: #23281e;
  --muted: #555b4d;
  --line: #d7d6c9;
  --green: #2d3b2a;
  --lime: #d9e7b5;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #6d8245; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1190px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset-block-start: 10px; inset-inline-start: 10px; padding: 10px 16px; background: var(--lime); transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-family: var(--serif); font-size: 32px; text-decoration: none; white-space: nowrap; letter-spacing: -.035em; }
.wordmark span { color: #64734b; }
.site-nav { display: flex; align-items: center; gap: 29px; }
.site-nav a { font-size: 13px; font-weight: 720; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav .nav-grow { border: 1px solid #adb39c; border-radius: 100px; padding: 9px 14px; }
.site-nav .nav-grow[aria-current] { background: var(--lime); border-color: var(--lime); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); gap: clamp(44px, 8vw, 125px); align-items: center; padding-block: 61px 65px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.dot { display: inline-block; vertical-align: .13em; width: 7px; height: 7px; border-radius: 50%; background: #708653; margin-inline-end: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(72px, 9.5vw, 150px); letter-spacing: -.035em; line-height: .88; margin-block: 20px 21px; }
h1 em { font-weight: 400; color: #475b37; }
.hero-line { font-family: var(--serif); font-size: clamp(27px, 3.25vw, 43px); line-height: 1.05; margin: 0; max-width: 550px; }
.intro { color: var(--muted); line-height: 1.75; max-width: 54ch; margin-block: 19px 0; font-size: 15px; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; gap: 16px; min-height: 46px; align-items: center; justify-content: center; padding: 11px 19px; background: var(--green); color: #fff; border: 1px solid transparent; border-radius: 50px; text-decoration: none; font-size: 13px; font-weight: 800; transition: background .16s ease, color .16s ease; }
.button:hover { background: #455843; }
.button span, .text-link span { font-size: 1.15em; line-height: 1; }
.text-link { display: inline-flex; gap: 8px; align-items: center; width: fit-content; font-weight: 800; font-size: 13px; text-decoration: none; border-bottom: 1px solid #aeb39e; padding-block-end: 4px; }
.text-link:hover { border-color: var(--ink); }
.portrait { margin: 0; background: #26241f; border-radius: 5px; overflow: hidden; position: relative; }
.portrait img { width: 100%; aspect-ratio: 1.01; height: auto; object-fit: cover; object-position: 50% 30%; }
.portrait figcaption { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 58px; padding: 13px 15px; color: #fff; background: linear-gradient(transparent, #131913b0); font-size: 11px; font-weight: 720; }
.portrait figcaption span { font-weight: 500; }

.story-band { display: grid; grid-template-columns: 25% 1fr; gap: 36px; border-block: 1px solid var(--line); padding-block: 49px 54px; }
.story-band > p { padding-top: 12px; }
.story-band h2 { font-size: clamp(40px, 5vw, 65px); line-height: .99; letter-spacing: -.02em; max-width: 19ch; }
.story-band div > p, .contact-inner p, .pilot-layout > div > p:last-child { color: var(--muted); line-height: 1.75; max-width: 64ch; margin: 16px 0 19px; font-size: 15px; }
.projects, .journal, .grow-method { padding-block: 58px 63px; }
.section-title h2, .contact h2, .pilot-layout h2 { font-size: clamp(48px, 6.1vw, 81px); line-height: .98; letter-spacing: -.024em; margin-top: 8px; }
.project-grid { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 13px; margin-top: 23px; }
.project { display: flex; flex-direction: column; min-height: 231px; position: relative; padding: 22px; border-radius: 5px; border: 1px solid var(--line); text-decoration: none; background: var(--surface); transition: background .18s ease; }
.project:hover { background: #e6e9d8; }
.project.feature { color: #f9f8ef; background: var(--green); border-color: var(--green); }
.project.feature:hover { background: #40503a; }
.project.feature .dot { background: var(--lime); }
.project-type { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.project-arrow { position: absolute; inset: 18px 21px auto auto; font-size: 20px; }
.project h3, .article h3 { margin-top: auto; font-size: clamp(31px, 3vw, 48px); line-height: 1; letter-spacing: -.015em; }
.project p { font-size: 13px; line-height: 1.55; margin: 10px 0 0; max-width: 40ch; }
.journal { border-top: 1px solid var(--line); }
.article { width: fit-content; display: grid; grid-template-columns: 145px 1fr; gap: 23px; margin-top: 23px; align-items: center; text-decoration: none; }
.article img { aspect-ratio: 1.2; object-fit: cover; height: auto; border-radius: 3px; }
.article h3 { margin-block: 7px 10px; }
.contact { color: #f9f8ef; background: #263124; }
.contact-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-block: 53px; }
.contact-inner p { color: #e4e6d9; margin-bottom: 0; }
.button-light { background: var(--lime); color: #22301c; }
.button-light:hover { background: #ecf1dc; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 71px; display: flex; gap: 16px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.footer-inner a { text-decoration: none; }

.grow-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: 67px 69px; }
.grow-hero h1 { font-size: clamp(61px, 7.3vw, 110px); line-height: .86; max-width: 10ch; }
.grow-hero h1 em { display: block; }
.demo { background: #242f22; color: #f6f7ee; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px #242b1d1b; }
.demo-top { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #ffffff25; font-size: 13px; font-weight: 800; }
.demo-top > span:last-child { color: #d1dac6; font-size: 11px; font-weight: 650; }
.demo-top .dot, .pilot-layout .dot { background: var(--lime); }
.demo-body { padding: 19px 21px 23px; }
.demo-label { color: #d1dac6; font-size: 11px; font-weight: 800; margin: 0 0 7px; }
.prompt { background: #334131; border: 1px solid #4e5c4a; padding: 11px 13px; border-radius: 5px; font-size: 13px; line-height: 1.6; margin: 0 0 16px; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-controls button { border: 1px solid #727f6b; font-size: 11px; font-weight: 750; padding: 7px 9px; border-radius: 25px; background: transparent; color: #f1f5ea; }
.demo-controls button[aria-pressed="true"] { background: var(--lime); color: #283224; border-color: var(--lime); }
.workflow { display: grid; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.workflow li { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.step { text-align: center; width: 22px; height: 22px; border-radius: 50%; line-height: 22px; flex: none; }
.step.done { color: #d7e8ba; background: #455e3e; }
.step.waiting { color: #f8e4ba; background: #60523d; }
.grow-method { border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 26px; }
.method-grid article { border-top: 1px solid var(--line); padding-top: 13px; }
.method-grid h3 { font-size: 32px; }
.method-grid p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.pilot-section { background: #263124; color: #f9f8ef; padding-block: 60px; }
.pilot-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 88px); align-items: start; }
.pilot-layout > div > p:last-child { color: #e2e7d8; }
.pilot-form { color: var(--ink); background: var(--paper); border-radius: 7px; padding: 23px; display: grid; gap: 13px; }
.pilot-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 800; min-width: 0; }
.form-pair { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
input, textarea, select { width: 100%; min-width: 0; padding: 9px 10px; border-radius: 5px; border: 1px solid #b9bcae; color: var(--ink); background: #fffef9; font-size: 14px; }
textarea { resize: vertical; }
.pilot-form .button { justify-self: start; }
.form-trap { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
.form-help { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 0; }
.notice { padding: 12px; margin: 0; background: #f9e3da; color: #632319; border-radius: 5px; font-size: 13px; }
.simple { padding-block: 62px; max-width: 830px; }
.simple h1 { font-size: clamp(54px, 8vw, 95px); line-height: .95; }
.simple h2 { font-size: 35px; margin-top: 30px; }
.simple p { line-height: 1.7; }
.admin { padding-block: 36px; }
.admin h1 { font-size: clamp(48px, 6vw, 76px); }
.admin h2 { font-size: 38px; margin-top: 24px; }
.admin .metrics { display: flex; flex-wrap: wrap; gap: 10px; }
.metric { border: 1px solid var(--line); padding: 10px 14px; border-radius: 5px; }
.metric strong { display: block; font-size: 24px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
td small { display: block; }
td form { display: flex; gap: 5px; align-items: center; min-width: 175px; }
td form button { border: 1px solid var(--line); background: var(--surface); border-radius: 5px; padding: 8px 10px; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 35px; }
  .project { padding: 17px; }
  .project-arrow { inset-inline-end: 15px; }
  .site-nav { gap: 15px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: auto; flex-wrap: wrap; gap: 0; padding-block: 10px; }
  .wordmark { font-size: 29px; }
  .site-nav { width: 100%; gap: 14px; flex-wrap: wrap; margin-top: 5px; }
  .site-nav a { font-size: 11px; }
  .site-nav .nav-grow { padding: 5px 8px; }
  .hero, .grow-hero, .story-band, .pilot-layout { grid-template-columns: 1fr; gap: 25px; }
  .hero, .grow-hero { padding-block: 40px; }
  .hero h1 { font-size: clamp(64px, 13.5vw, 90px); margin-block: 13px 14px; }
  .grow-hero h1 { font-size: clamp(59px, 11vw, 85px); }
  .portrait { max-width: 510px; }
  .story-band { gap: 9px; padding-block: 33px; }
  .story-band > p { padding: 0; }
  .projects, .journal, .grow-method { padding-block: 39px; }
  .project-grid, .method-grid { grid-template-columns: 1fr; }
  .project { min-height: 153px; }
  .method-grid { gap: 9px; }
  .article { grid-template-columns: 96px 1fr; gap: 15px; }
  .article h3 { font-size: 29px; }
  .contact-inner { padding-block: 39px; flex-wrap: wrap; }
  .pilot-section { padding-block: 41px; }
  .pilot-form { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
