* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 var(--font-ui);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.container { width: min(calc(100% - 2 * var(--page-pad)), var(--content-max)); margin-inline: auto; }
.reading { max-width: var(--reading-max); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.08; max-width: 18ch; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.16; max-width: 22ch; }
h3 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.23; max-width: 26ch; }
h4 { font-size: clamp(18px, 2vw, 20px); line-height: 1.33; max-width: 28ch; }
p { margin: 0; max-width: 72ch; }
.eyebrow { font-size: 12px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.caption { font-size: 14px; line-height: 1.5; color: var(--muted); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid var(--forest); border-radius: var(--radius-small); background: var(--forest); color: white; font-size: 16px; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--forest-deep); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
.media-frame { display: grid; place-items: center; overflow: hidden; background: var(--surface); }
.media-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; }
.media-p1 { aspect-ratio: 1; padding: 8%; }
.media-p2, .media-application { aspect-ratio: 4 / 3; }
.media-p3 { aspect-ratio: 1; }
.media-p4, .media-p5 { aspect-ratio: 4 / 3; }
.media-p6 { aspect-ratio: 16 / 9; }
.media-p7 { min-height: 240px; }
.media-p2 > img, .media-application > img { object-fit: contain; }
@media (max-width: 1023px) { .grid-12 { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.6; }
  .grid-12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .media-p2 { aspect-ratio: 4 / 5; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
