/* Error pages (404, 419, 500, 503), dark redesign: the code as a big living-light number. Owner: Site role. */
.error-page { position: relative; overflow: hidden; padding: calc(var(--header-h) + 36px + clamp(60px, 10vw, 120px)) 0 clamp(80px, 11vw, 140px); text-align: center; color: var(--ink); background: radial-gradient(60% 60% at 50% 100%, rgba(0, 167, 149, .32), rgba(0, 167, 149, 0) 70%), var(--night); }
.error-page__inner { display: grid; justify-items: center; gap: 14px; }
.error-page__code { font: 700 clamp(6rem, 22vw, 15rem)/.86 var(--font-display); letter-spacing: -.05em; color: transparent; background: linear-gradient(90deg, #00d8c1, #1f6bff, #ff3b4e, #feba19, #00d8c1); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: kit-fflow 9s linear infinite; }
.error-page__title { margin: 10px 0 0; font: 700 var(--text-h2)/1.15 var(--font-display); letter-spacing: -.02em; }
.error-page__text { margin: 0 0 16px; max-width: 52ch; color: var(--soft); font-size: var(--text-lead); }
.is-error--minimal { background: var(--night); }
.is-error--minimal .site-header { position: relative; }
.is-error--minimal .error-page { min-height: calc(100vh - 80px); padding-top: clamp(60px, 10vw, 120px); }
@media (prefers-reduced-motion: reduce) { .error-page__code { animation: none; } }
