:root {
    --bg: #050304;
    --blood: #6b1226;
    --blood-bright: #a3213c;
    --bone: #e4dad0;
    --ash: #8a7c80;
    --line: #3a1a22;
    --display: "UnifrakturMaguntia", "Old English Text MT", Georgia, serif;
    --body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 35%, #26111a 0%, #120a0e 40%, #050304 80%);
    color: var(--ash);
    font-family: var(--body);
    overflow-x: hidden;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

:focus-visible {
    outline: 1px solid var(--blood-bright);
    outline-offset: 6px;
}

.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 3;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    opacity: 0.09;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.fog {
    position: fixed;
    width: 140%;
    height: 60%;
    left: -20%;
    pointer-events: none;
    z-index: 1;
    filter: blur(60px);
    opacity: 0.35;
}

.fog-a {
    bottom: -15%;
    background: radial-gradient(ellipse at center, rgba(107, 18, 38, 0.55), transparent 65%);
    animation: drift 22s ease-in-out infinite alternate;
}

.fog-b {
    top: -20%;
    background: radial-gradient(ellipse at center, rgba(60, 20, 40, 0.5), transparent 65%);
    animation: drift 28s ease-in-out infinite alternate-reverse;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.arch {
    position: relative;
    width: min(520px, 100%);
    padding: 64px 40px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(25, 10, 15, 0.75), rgba(8, 4, 6, 0.9));
    border: 1px solid var(--line);
    border-radius: 260px 260px 4px 4px;
    box-shadow:
        0 0 60px rgba(107, 18, 38, 0.25),
        inset 0 0 40px rgba(0, 0, 0, 0.8),
        inset 0 0 0 6px rgba(5, 3, 4, 0.9),
        inset 0 0 0 7px var(--line);
    animation: rise 1.6s ease-out both;
}

.subtitle {
    font-size: 15px;
    font-style: italic;
    letter-spacing: 6px;
    color: var(--ash);
    margin-bottom: 10px;
}

h1 {
    font-family: var(--display);
    font-size: clamp(56px, 11vw, 96px);
    font-weight: normal;
    line-height: 1.05;
    color: var(--bone);
    text-shadow:
        0 2px 2px #000,
        0 0 14px rgba(228, 218, 208, 0.12),
        0 0 40px rgba(163, 33, 60, 0.6);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.title-link:hover h1 {
    color: #fff;
    text-shadow:
        0 2px 3px #000,
        0 0 18px rgba(255, 255, 255, 0.25),
        0 0 50px rgba(163, 33, 60, 0.95);
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 70%;
    margin: 18px 0 14px;
    color: var(--blood-bright);
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blood), transparent);
}

.quote {
    font-size: 19px;
    font-style: italic;
    letter-spacing: 2px;
    color: #9a8a8e;
    text-shadow: 0 2px 4px #000;
}

.frame {
    margin-top: 34px;
    padding: 10px;
    border: 1px solid var(--line);
    background: transparent;
    box-shadow: 0 0 30px rgba(107, 18, 38, 0.3);
}

.logo {
    display: block;
    width: 240px;
    max-width: 60vw;
    transition: transform 0.6s ease;
}

.frame:hover .logo {
    transform: scale(1.03);
}

.stuff {
    margin-top: 40px;
    padding: 12px 38px;
    font-family: var(--display);
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--bone);
    border: 1px solid var(--blood);
    background: rgba(40, 8, 16, 0.5);
    box-shadow: inset 0 0 14px rgba(107, 18, 38, 0.3);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, letter-spacing 0.4s ease;
}

.stuff:hover {
    border-color: var(--blood-bright);
    background: rgba(107, 18, 38, 0.45);
    letter-spacing: 6px;
    box-shadow: 0 0 24px rgba(163, 33, 60, 0.55), inset 0 0 16px rgba(163, 33, 60, 0.25);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
}

@keyframes drift {
    from { transform: translateX(-6%); }
    to   { transform: translateX(6%); }
}

@media (max-width: 600px) {
    .arch {
        padding: 56px 24px 44px;
        border-radius: 200px 200px 4px 4px;
    }

    .subtitle { font-size: 13px; letter-spacing: 4px; }
    .quote { font-size: 16px; }
    .logo { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}