:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #282d24;
  --muted: #505749;
  --green: #3d5138;
  --line: #d8dacf;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 400; }
h1 { max-width: 8ch; font-size: clamp(4rem, 7.7vw, 7.4rem); line-height: .95; letter-spacing: -.075em; }
h2 { font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.055em; }
h3 { font-size: 1.95rem; line-height: 1.1; letter-spacing: -.035em; }
p { color: var(--muted); }
.wrap { width: min(1200px, calc(100% - 7rem)); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; background: white; padding: .5rem; transform: translateY(-150%); }
.skip:focus { transform: none; z-index: 1; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.1rem; }
.wordmark { font-size: 1.9rem; line-height: 1.1; text-decoration: none; letter-spacing: -.055em; }
.wordmark span { color: #657a53; }
nav { display: flex; flex-wrap: wrap; gap: .35rem 1.65rem; font-size: .88rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 3rem; padding-block: 4rem 4.8rem; }
.hero-copy > p:not(.eyebrow) { margin-top: 1.5rem; max-width: 35ch; font-size: 1.1rem; }
.eyebrow { margin-bottom: 1.4rem; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-image { aspect-ratio: 1.14; background: #e6dfd0 url("assets/movement.jpg") center / cover; border-radius: 48% 48% .7rem .7rem / 16% 16% .7rem .7rem; }
.hero .action a { display: inline-block; padding: .7rem 1.25rem; background: var(--green); color: white; border-radius: 2rem; text-decoration: none; font-size: .9rem; }
.hero .action a:hover { background: #283a25; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.section:nth-child(even) { background: #edf0e6; }
.section > .wrap > p { max-width: 62ch; margin-top: 1.15rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.1rem; }
.cards article { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: clamp(1.3rem, 2.5vw, 2.1rem); background: var(--paper); border: 1px solid var(--line); border-radius: .6rem; }
.cards .action { margin-top: auto; padding-top: .55rem; }
.action a { color: var(--green); font-weight: 650; }
.action a::after { content: " ↗" / ""; }
.hero .action a::after { content: " ↓" / ""; }
footer { border-top: 1px solid var(--line); }
footer a:last-child { font-size: .9rem; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 3rem); }
  .hero { gap: 1.75rem; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding-block: 2.7rem 3rem; }
  .hero-image { aspect-ratio: 1.28; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.content-image { width: min(100%, 36rem); margin: 1.75rem 0 0; }
.content-image img { display: block; width: 100%; height: auto; border-radius: .7rem; }
.cards .content-image { margin: 0; }

.section-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "copy artwork";
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.section-feature.image-left { grid-template-areas: "artwork copy"; }
.section-copy { grid-area: copy; }
.section-copy p { max-width: 62ch; margin-top: 1.15rem; }
.section-artwork { grid-area: artwork; display: grid; justify-items: center; gap: 1rem; }
.section-artwork .content-image { margin: 0; }

@media (max-width: 640px) {
  .section-feature, .section-feature.image-left {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "artwork";
  }
}
