@font-face { font-family: "Fraunces"; src: url("/assets/Fraunces_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/DMSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/DMSans_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --ink: #202921;
  --muted: #505b4e;
  --green: #203d2d;
  --lime: #e4edac;
  --line: #d7dacd;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  font: 16px/1.55 var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #cb711e; outline-offset: 5px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -.035em; }
.shell { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; inset: 1rem auto auto 1rem; padding: .75rem 1rem; background: white; z-index: 2; transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.head-inner, .footer-inner { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2rem); min-height: 72px; }
.head-inner { justify-content: space-between; }
.brand { display: inline-flex; align-items: center; flex: none; font: 700 1.24rem/1 var(--sans); letter-spacing: -.055em; text-decoration: none; }
.brand img { margin-right: .45rem; }
.brand span { font-weight: 500; }
nav { display: flex; gap: clamp(.8rem, 3.2vw, 2.5rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: .91rem; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  width: min(1360px, calc(100% - 3rem));
  min-height: 575px;
  margin: 1.5rem auto 0;
  background: var(--green);
  color: var(--paper);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 5.5vw, 6rem); }
.product { display: flex; gap: .55rem; align-items: center; margin-bottom: 1.35rem; color: var(--lime); font-weight: 750; font-size: 1.03rem; }
.product img { border-radius: 7px; background: #f0f2df; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.35rem); }
.hero h1 span { white-space: nowrap; }
.hero .intro { margin-block: 1.4rem 1.65rem; color: #e0e8da; max-width: 34ch; }
.intro { font-size: clamp(1.05rem, 1.85vw, 1.28rem); max-width: 58ch; line-height: 1.55; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 51px; padding: .65rem 1.05rem; background: var(--green); color: white; font-weight: 750; font-size: .91rem; text-decoration: none; border-radius: 5px; }
.button:hover { background: #315340; }
.hero .button { background: var(--lime); color: #1e3123; }
.hero .button:hover { background: #f3f7d1; }
.note { margin-top: .75rem; color: #dce7d8; font-size: .85rem; }
.hero-image { position: relative; min-width: 0; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; position: absolute; inset: 0; }
.hero-image figcaption { position: absolute; left: 1rem; bottom: 1rem; right: auto; max-width: calc(100% - 2rem); color: #fff; background: #18261d; padding: .5rem .7rem; font-size: .83rem; }
.section { padding-block: clamp(3rem, 6.4vw, 6.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1.75rem; }
.text-link { font-size: .95rem; font-weight: 750; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); list-style: none; counter-reset: steps; }
.steps li { border-top: 1px solid #8f9d8b; padding: 1rem 0; counter-increment: steps; }
.steps li::before { content: counter(steps) "."; display: block; color: #536852; margin-bottom: .8rem; font-weight: 700; }
.steps p, .card-copy p { color: var(--muted); margin-top: .65rem; }
.blog-band { background: #ebeee2; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.article-card { border: 1px solid var(--line); background: #fbfaf5; }
.article-card a { display: block; height: 100%; text-decoration: none; }
.article-card a:hover h2, .article-card a:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.article-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.card-copy { padding: clamp(1rem, 3vw, 1.7rem); }
.card-copy h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.eyebrow { display: block; color: #426048; font-weight: 750; margin-bottom: .55rem; font-size: .79rem; letter-spacing: .045em; }
.read { display: inline-block; margin-top: 1rem; font-size: .88rem; font-weight: 750; }
.page { padding-block: clamp(3rem, 8vw, 7rem); min-height: 65vh; }
.page h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page .intro { margin-block: 1.15rem 2rem; }
.story, .about { max-width: 780px; }
.byline { margin: -1rem 0 1.5rem; color: var(--muted); font-size: .9rem; }
.story-image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 2rem; }
.back { display: inline-block; margin-bottom: 2rem; }
.prose { max-width: 65ch; }
.prose h2 { font-size: clamp(1.7rem, 3.5vw, 2.35rem); margin-block: 2rem .65rem; }
.prose .button { margin-top: 1rem; }
.story-cta { margin-top: 2.5rem; padding: 1.25rem; background: #e9eee0; }
.footer { border-top: 1px solid var(--line); }
.footer-inner .brand { margin-right: auto; }
.footer-inner > a { padding-block: .5rem; }

@media (max-width: 760px) {
  .shell, .hero { width: calc(100% - 2rem); }
  .head-inner, .footer-inner { min-height: 62px; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-top: 1rem; }
  .hero-copy { padding: 2rem 1.4rem; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 5rem); }
  .hero-image { min-height: clamp(220px, 53vw, 360px); }
  .steps { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 480px) {
  .brand { font-size: 1.09rem; }
  .brand img { width: 24px; height: 24px; margin-right: .3rem; }
  nav { gap: .8rem; }
  nav a { font-size: .85rem; }
  .cards { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 1.25rem; }
}
