*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
margin: 0;
background: var(--night);
color: var(--cream);
font-family: var(--f-body);
font-size: 18px;
line-height: 1.6;
overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 4px; border-radius: 6px; }
.grain {
position: fixed;
inset: -50%;
z-index: 90;
pointer-events: none;
opacity: .11;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
animation: grain-shift .9s steps(6) infinite;
}
@keyframes grain-shift {
0% { transform: translate(0, 0); }
20% { transform: translate(-6%, 4%); }
40% { transform: translate(5%, -7%); }
60% { transform: translate(-3%, 8%); }
80% { transform: translate(7%, 2%); }
100% { transform: translate(0, 0); }
}
.btn {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 16px 28px;
border-radius: 999px;
font-family: var(--f-body);
font-weight: 800;
font-size: 18px;
text-decoration: none;
transition: transform .2s var(--ease-out), background-color .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--peach { background: var(--peach); color: var(--text-dark); }
.btn--peach:hover { background: var(--peach-hot); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid rgba(245, 238, 231, .35); color: var(--cream); padding: 10px 18px; font-size: 15px; font-weight: 700; }
.btn--ghost:hover { border-color: var(--cream); }
@media (prefers-reduced-motion: reduce) {
.grain { animation: none; }
*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}