@layer home {
.about-page { background: var(--ink); overflow-x: clip; }
.hero {
--print: #f8f4eb;
position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
min-height: 100svh; padding: clamp(5.5rem, 10vw, 7rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
background: var(--ink); color: var(--print);
}
.hero--wheat { --poster: url("/media/about/wheat.webp"); }
.hero__bg { position: absolute; inset: 0; z-index: -3; background: var(--poster) center / cover no-repeat; }
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 17 15 / 0.5); }
@media (prefers-reduced-motion: no-preference) {
.hero__text { animation: hero-in 1.6s ease 0.2s both; }
}
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__text { width: min(100%, 66rem); }
.hero__p {
margin: 0; text-align: center; text-wrap: balance;
font-family: var(--font-display); font-weight: 500; letter-spacing: 0.035em; line-height: 1.55;
font-size: clamp(1.2rem, 0.8rem + 1.25vw, 2.1rem);
text-shadow: 0 2px 18px rgb(0 0 0 / 0.55);
filter: url(#lofi);
}
.hero__p + .hero__p { margin-top: clamp(1.6rem, 4vw, 2.8rem); }
@media (max-width: 40rem) { .hero__p { filter: url(#lofi-s); } }
}
