* { box-sizing: border-box; }
:root { color-scheme: light; }
body { margin: 0; background: #f3f0e9; color: #26241e; font: 1rem/1.6 system-ui, sans-serif; }
.wrap { width: min(calc(100% - 2.25rem), 71rem); margin-inline: auto; }
.masthead { padding-block: 1.1rem; border-block-end: 1px solid #80776b; }
.masthead p { margin: 0; font-weight: 650; letter-spacing: .03em; }
main { padding-block: clamp(2rem, 6vw, 5rem); }
h1, h2 { font: 500 2rem/1.08 Georgia, serif; margin: 0; }
h1 { font-size: clamp(2.65rem, 7vw, 5.7rem); max-width: 16ch; letter-spacing: -.045em; }
.intro { max-width: 47ch; margin-block: .9rem 2.15rem; font-size: 1.1rem; }
.demos { display: grid; gap: 1.4rem; }
article { min-width: 0; }
.demo { display: block; background: #493328; color: #fff8ed; text-decoration: none; }
.garden { background: #203c2c; }
.demo img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.card-copy { padding: clamp(1.1rem, 2.5vw, 1.8rem); }
.category { font-size: .875rem; font-weight: 650; text-transform: uppercase; letter-spacing: .095em; margin: 0 0 .4rem; }
.card-copy p:not(.category) { margin: .55rem 0 .85rem; max-width: 46ch; }
.card-copy span { display: inline-block; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
.demo:hover span { text-decoration-thickness: .15em; }
a:focus-visible { outline: .18rem solid #26241e; outline-offset: .2rem; }
.layouts { display: flex; gap: 0 1.35rem; flex-wrap: wrap; padding-inline: .25rem; margin-top: .25rem; }
.layouts a { display: inline-flex; align-items: center; min-height: 2.75rem; color: inherit; text-underline-offset: .22em; }
footer { border-block-start: 1px solid #80776b; font-size: .9rem; padding-block: 1rem; }
footer p { margin: 0; }
@media (min-width: 48rem) { .demos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

