:root {
  color-scheme: light dark;
  --fg: #1d1b19;
  --bg: #faf8f5;
  --muted: #6b645c;
  --accent: #d9622b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #ece8e3;
    --bg: #141210;
    --muted: #a39a90;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    17px/1.6 system-ui,
    sans-serif;
  color: var(--fg);
  background: var(--bg);
}
.hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  color: #fff;
}
.hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-text {
  position: relative;
  max-width: 40rem;
  padding: 2rem 1rem 3rem;
  margin: 0 auto 0 max(1rem, calc((100vw - 48rem) / 2));
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.6);
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 0;
  letter-spacing: -0.02em;
}
main,
footer {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem;
}
section {
  margin: 3rem 0;
}
h2 {
  color: var(--accent);
}
video,
img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}
img[width] {
  width: auto;
}
footer {
  color: var(--muted);
  font-size: 0.9rem;
}
a {
  color: var(--accent);
}
.card-bg {
  height: 220px;
  border-radius: 8px;
  margin: 1rem 0;
  background: url(img/hero.jpg) center / cover;
  background-image: image-set(url('/_mediakiln/189aed52d12e/image.avif') type('image/avif'), url('/_mediakiln/189aed52d12e/image.webp') type('image/webp'), url('img/hero.jpg') type('image/jpeg'));
}
