/* Shared styles for the public pages (home and Ground Works). The board in /groundworks/app has its own. */
:root {
  /* Navy and greens are sampled from the Tallgrass logo */
  --sky: #f5f8f3; --ink: #14203f; --muted: #4d5a72; --line: #d0dacb;
  --stem: #13285c; --stem-hover: #21407f; --leaf: #7fb45b; --leaf-hover: #95c474; --seed: #d3ae5c;
  --soil: #33271f; --soil-ink: #f3eee8; --soil-muted: #cbbfb3;
  --display: "Archivo", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sky); color: var(--ink); font: 400 18px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; text-wrap: balance; }
h1 { font-weight: 760; font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-weight: 720; font-size: clamp(1.65rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -.015em; }
h3 { font-weight: 680; font-size: 1.2rem; line-height: 1.25; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--stem); outline-offset: 3px; }
.soil :focus-visible { outline-color: var(--leaf); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; max-width: 58ch; color: var(--muted); }

.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font: 700 1.1rem/1.2 var(--display); text-decoration: none; }
.brand .logo { width: 216px; }
.brand .mark { width: 48px; height: 48px; }
.site-head nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-head nav a:not(.btn) { text-decoration: none; padding-block: 8px; }
.site-head nav a:not(.btn):hover { text-decoration: underline; }

.btn { display: inline-block; padding: 12px 20px; border-radius: 4px; background: var(--stem); color: #fff; font-weight: 600; line-height: 1.25; text-decoration: none; }
.btn:hover { background: var(--stem-hover); }
.btn.leaf { background: var(--leaf); color: var(--ink); }
.btn.leaf:hover { background: var(--leaf-hover); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.shot { margin-block: 0; }
.shot:not(.wrap) { margin-inline: 0; }
.shot img { width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.shot figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* The 1px overlap hides a hairline gap where soil meets the section above */
.soil { position: relative; margin-top: -1px; background: var(--soil); color: var(--soil-ink); }
.soil .lede, .soil figcaption { color: var(--soil-muted); }
.soil .shot img { border-color: transparent; }

.contact .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-block: clamp(56px, 8vw, 96px); }
.email { font-weight: 600; overflow-wrap: anywhere; }

.site-foot { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 24px; }
.site-foot .logo { width: 160px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
