/* Layout: one deep-green opening band that carries the pitch and the quote starter,
   then quiet paper-white sections in a single 1120px column. The marigold is spent
   on the quote buttons and nowhere else. */
:root {
  color-scheme: light;
  --pine: #0a5a33;
  --pine-deep: #111f47;
  --leaf: #4fc08a;
  --sun: #f2b33d;
  --sun-deep: #d99a1f;
  --paper: #f5f8f3;
  --card: #ffffff;
  --ink: #10201a;
  --muted: #55665e;
  --line: #d9e3db;
  --on-pine: #eef6f0;
  --on-pine-muted: #b7c4d8;
  --logo-plate: #ffffff;
  --error: #b3261e;

  --display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);

  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 720px; }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
}
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 var(--step-0)/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-quote { background: var(--sun); color: var(--pine-deep); box-shadow: 0 10px 28px -12px var(--sun-deep); }
.btn-quote:hover { background: var(--sun-deep); }
.btn-ghost { border-color: var(--on-pine-muted); color: var(--on-pine); background: transparent; }
.btn-ghost:hover { border-color: var(--on-pine); }
.btn-pine { background: var(--pine); color: var(--on-pine); }
.btn-pine:hover { background: var(--pine-deep); }
.btn-plain { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-small { padding: 10px 18px; font-size: var(--step--1); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Opening band ---------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--pine-deep);
  color: var(--on-pine);
}
.band::before, .band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.band::before {
  width: 620px; height: 620px; left: -160px; top: -260px;
  background: var(--pine);
  animation: drift 16s ease-in-out infinite alternate;
}
.band::after {
  width: 460px; height: 460px; right: -120px; bottom: -220px;
  background: var(--leaf);
  opacity: 0.28;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(90px, 50px, 0) scale(1.18); }
}
.band > * { position: relative; z-index: 1; }

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  color: var(--on-pine);
}
.brand img { width: 84px; height: auto; flex: none; }
.site-head .brand { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; }
.site-head .brand small { margin-bottom: 4px; }
.brand-tag { display: block; margin-top: 6px; font-style: normal; font-size: 0.44em; font-weight: 600; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf); }
.eyebrow.eyebrow-lg { font-family: var(--display); font-size: var(--step-2); font-weight: 700; letter-spacing: 0.06em; line-height: 1.1; }
.site-foot .brand img { width: 52px; }
.brand small { display: block; font: 500 0.7rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-pine-muted); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a:not(.btn) { text-decoration: none; font-size: var(--step--1); font-weight: 500; color: var(--on-pine-muted); }
.nav a:not(.btn):hover { color: var(--on-pine); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding-block: 24px 84px;
}
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.band .eyebrow { color: var(--leaf); }
.band .lede { color: var(--on-pine-muted); }
.swap {
  display: block;
  color: var(--sun);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.swap.is-out { opacity: 0; transform: translateY(0.25em); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.fine { font-size: var(--step--1); color: var(--on-pine-muted); }

.starter {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(238, 246, 240, 0.18);
  border-radius: 22px;
  background: rgba(238, 246, 240, 0.07);
  backdrop-filter: blur(8px);
  min-width: 0;
}
.starter h2 { font-size: var(--step-2); }
.starter-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.starter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(238, 246, 240, 0.2);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.starter-list a:hover { background: var(--sun); border-color: var(--sun); color: var(--pine-deep); transform: translateX(4px); }

/* Compact band for the inner pages */
.band-inner { display: grid; gap: 18px; padding-block: 24px 64px; max-width: 760px; }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; }
.section-tint { background: var(--card); border-block: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--pine); counter-increment: step; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 700 var(--step--1)/1 var(--display); color: var(--pine); letter-spacing: 0.08em; }
.steps p { color: var(--muted); }

.cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.cover-item { display: grid; gap: 8px; padding-block: 24px; border-bottom: 1px solid var(--line); min-width: 0; }
.cover-item p { color: var(--muted); }
.cover-item a { justify-self: start; font-size: var(--step--1); font-weight: 600; color: var(--pine); text-underline-offset: 4px; }

.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy p { color: var(--muted); max-width: 62ch; }
.portrait {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  max-width: 100%;
  border-radius: 22px;
  background: var(--pine);
  color: var(--on-pine);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-mark { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 24px; font-family: var(--display); font-weight: 600; }
.portrait-mark img { width: 150px; height: auto; }
.portrait-mark span { font: 500 var(--step--1)/1.3 var(--body); color: var(--on-pine-muted); letter-spacing: 0.1em; text-transform: uppercase; }

.recruit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 40px;
  border-radius: 22px;
  background: var(--pine);
  color: var(--on-pine);
}
.recruit div { display: grid; gap: 10px; min-width: 0; max-width: 620px; }
.recruit p { color: var(--on-pine); opacity: 0.8; }
.recruit .eyebrow { color: var(--sun); opacity: 1; }
.site-foot .tagline { font: 700 var(--step-1)/1.2 var(--display); color: var(--on-pine); }

.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.pairs > div { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ticks { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--pine); border-bottom: 3px solid var(--pine); transform: rotate(-45deg); }
.ticks.plain li::before { width: 12px; height: 0; top: 0.78em; border-left: 0; transform: none; }

.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.values li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--sun); min-width: 0; }
.values h3 { color: var(--pine); }
.values p { color: var(--muted); font-size: var(--step--1); }

.mission { display: grid; gap: 14px; margin-top: 48px; padding-left: 24px; border-left: 4px solid var(--sun); max-width: 760px; }
.mission-text { font: 600 var(--step-2)/1.3 var(--display); letter-spacing: -0.01em; color: var(--pine); }

.backed { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: baseline; font-family: var(--display); font-weight: 600; font-size: var(--step-2); color: var(--pine); }
.backed span { font: 500 var(--step--1)/1.3 var(--body); color: var(--muted); display: block; }

/* ---------- Forms ---------- */
.form-shell { margin-top: -36px; padding-bottom: 80px; position: relative; z-index: 2; }
.form-card {
  display: grid;
  gap: 26px;
  padding: 32px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(7, 42, 32, 0.45);
}
.progress { display: grid; gap: 10px; }
.progress-label { font-size: var(--step--1); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress-track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 33%; border-radius: 999px; background: var(--pine); transition: width 0.4s ease; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
legend { padding: 0; margin-bottom: 20px; font: 700 var(--step-2)/1.15 var(--display); letter-spacing: -0.02em; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label, .label { font-size: var(--step--1); font-weight: 600; }
.hint { font-size: var(--step--1); color: var(--muted); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.3 var(--body);
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--pine); }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chips.inline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips:not(.inline) > .chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: block;
  padding: 15px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.chip small { display: block; font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.chip input:hover + span { border-color: var(--pine); }
.chip input:checked + span { border-color: var(--pine); background: var(--pine); color: var(--on-pine); }
.chip input:checked + span small { color: var(--on-pine-muted); }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--step--1); font-weight: 400; color: var(--muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pine); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-error { color: var(--error); font-size: var(--step--1); font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.result { display: grid; gap: 16px; justify-items: start; }
.result p { color: var(--muted); max-width: 56ch; }
.result .tag { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: var(--step--1); font-weight: 600; color: var(--pine); }

/* ---------- Footer ---------- */
.site-foot { background: var(--pine-deep); color: var(--on-pine-muted); font-size: var(--step--1); }
.foot-line { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-block: 22px; }
.foot-links { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-links a { color: var(--on-pine); text-underline-offset: 4px; }
.foot-social { display: flex; gap: 16px; }
.foot-social a { display: inline-flex; color: var(--on-pine); transition: color 0.15s ease; }
.foot-social a:hover { color: var(--sun); }
.foot-social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fineprint { margin-top: 18px; font-size: var(--step--1); color: var(--muted); text-align: center; }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .hero, .about, .pairs, .cover { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 32px; padding-block: 16px 60px; }
  .steps, .steps.five, .values { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 56px; }
  .recruit { padding: 28px; }
}
@media (max-width: 520px) {
  .field-row, .chips, .chips.inline { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px; }
  .nav a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
