:root {
  color-scheme: light;
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
  background: #f3f1e9;
  color: #16332a;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
img { display: block; width: 100%; height: auto; aspect-ratio: 1.78; object-fit: cover; }
.frame { width: min(calc(100% - 3rem), 70rem); margin-inline: auto; }
.brand { padding-block: 1.35rem; font-weight: 750; font-size: 1.125rem; border-bottom: 1px solid #b7c3b2; }
.brand span { margin-inline-start: .6em; font-weight: 500; color: #395a4a; }
.intro { padding-block: clamp(2rem, 7vw, 5.25rem) clamp(1.5rem, 4vw, 3rem); }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.06em; line-height: 1.02; }
h1 { font-size: clamp(3.25rem, 9vw, 6.75rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.intro p { max-width: 43ch; margin-top: .85rem; color: #345447; font-size: clamp(1rem, 2vw, 1.25rem); }
.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.demo { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: #e4eadc; border: 1px solid #b7c3b2; }
.demo.restaurant { background: #f0e4d3; border-color: #cfb59d; color: #382519; }
.description { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.25rem, 4vw, 2.75rem); }
.category { color: #345447; font-size: .875rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .65rem; }
.description h2 + p { margin-block: .9rem 1.25rem; max-width: 34ch; }
.action { display: inline-block; margin-top: auto; padding: .8rem 1.15rem; color: #fff; background: #1d4b39; border-radius: .25rem; text-decoration: none; font-weight: 650; }
.action:hover { background: #123629; }
.restaurant .category { color: #65402d; }
.restaurant .action { background: #843e2c; }
.restaurant .action:hover { background: #632b1e; }
.action:focus-visible { outline: 3px solid #a64921; outline-offset: 4px; }
footer { margin-block: 1.75rem; color: #345447; font-size: .875rem; }
@media (max-width: 42rem) {
  .frame { width: calc(100% - 2rem); }
  .demos { grid-template-columns: minmax(0, 1fr); }
}
