@font-face {
    font-family: 'Anybody';
    font-style: normal;
    font-weight: 800;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/anybody-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Anybody';
    font-style: normal;
    font-weight: 800;
    font-stretch: 125%;
    font-display: swap;
    src: url('assets/fonts/anybody-800-semi.woff2') format('woff2');
}

@font-face {
    font-family: 'Anybody';
    font-style: normal;
    font-weight: 800;
    font-stretch: 150%;
    font-display: swap;
    src: url('assets/fonts/anybody-800-expanded.woff2') format('woff2');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/syne-800-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/inter-300-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/inter-500-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-600-latin.woff2') format('woff2');
}

:root {
    --black: #000;
    --ink: #0c0c0c;
    --ink-soft: rgba(12, 12, 12, 0.78);
    --ink-55: rgba(12, 12, 12, 0.55);
    --ink-40: rgba(12, 12, 12, 0.4);
    --ink-80: rgba(12, 12, 12, 0.88);
    --paper: #f7f7f5;
    --rec: #e11d1d;
    --font-display: 'Anybody', 'Arial Black', sans-serif;
    --font-brand: 'Syne', 'Arial Black', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --edge: 40px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    min-height: 100dvh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #d8d6d0;
}

.bg__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 45%;
}

.bg__grain {
    position: absolute;
    inset: -20%;
    width: 140%;
    height: 140%;
    opacity: 0.14;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    animation: grain-shift 0.45s steps(2) infinite;
    will-change: transform;
}

.bg__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(247, 247, 245, 0.72) 0%, rgba(247, 247, 245, 0.38) 28%, rgba(247, 247, 245, 0.08) 52%, transparent 68%),
        linear-gradient(180deg, rgba(247, 247, 245, 0.35) 0%, transparent 26%),
        linear-gradient(0deg, rgba(247, 247, 245, 0.55) 0%, transparent 22%);
}

.bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(247, 247, 245, 0.5) 0%, rgba(247, 247, 245, 0) 20%);
}

/* —— Editorial BTS chrome —— */
.editorial {
    position: absolute;
    inset: 0;
    z-index: 2;
    color: rgba(12, 12, 12, 0.55);
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
}

.crop {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(12, 12, 12, 0.45);
}

.crop--tl { top: var(--edge); left: var(--edge); border-right: 0; border-bottom: 0; }
.crop--tr { top: var(--edge); right: var(--edge); border-left: 0; border-bottom: 0; }
.crop--bl { bottom: calc(3.25rem + var(--safe-bottom)); left: var(--edge); border-right: 0; border-top: 0; }
.crop--br { bottom: calc(3.25rem + var(--safe-bottom)); right: var(--edge); border-left: 0; border-top: 0; }

.bracket {
    position: absolute;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    color: rgba(12, 12, 12, 0.45);
    letter-spacing: 0;
}

.bracket--tl { top: calc(var(--edge) + 1.1rem); left: var(--edge); }
.bracket--tr { top: calc(var(--edge) + 1.1rem); right: var(--edge); }
.bracket--bl { bottom: calc(4.35rem + var(--safe-bottom)); left: var(--edge); }
.bracket--br { bottom: calc(4.35rem + var(--safe-bottom)); right: var(--edge); }

.rec {
    position: absolute;
    top: var(--edge);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 10px;
    color: rgba(12, 12, 12, 0.72);
    white-space: nowrap;
}

.rec__dot {
    width: 6px;
    height: 6px;
    border-radius: 0;
    background: var(--rec);
    animation: rec-pulse 1.2s steps(1) infinite;
}

.rec__label {
    font-weight: 600;
    letter-spacing: 0.18em;
}

.rec__tc {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
    color: var(--ink-55);
    font-weight: 500;
}

.slate {
    position: absolute;
    right: var(--edge);
    bottom: calc(3.6rem + var(--safe-bottom));
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--ink-40);
    max-width: 22ch;
    text-align: right;
}

/* —— Page / hero —— */
.page {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding:
        calc(4.5rem + var(--safe-top))
        clamp(1.5rem, 4vw, 3.75rem)
        2rem;
}

.hero {
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 24px;
    margin-bottom: 0;
    animation: rise 0.85s var(--ease-out) both;
}

.hero__kicker {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: clamp(1.45rem, 4.8vw, 2.35rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0;
    flex-shrink: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero__kicker .tm {
    letter-spacing: 0;
    font-size: 0.38em;
    vertical-align: super;
    font-family: var(--font-body);
    font-weight: 600;
}

.hero__status {
    margin: 0;
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: right;
    white-space: nowrap;
}

.hero__quote {
    font-family: var(--font-display);
    font-weight: 800;
    font-stretch: 125%;
    font-size: clamp(2.75rem, 12vw, 7.5rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--ink);
    -webkit-text-stroke: 0;
    paint-order: normal;
    mix-blend-mode: normal;
    filter: none;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65),
        0 12px 28px rgba(247, 247, 245, 0.35);
    max-width: 100%;
    margin: max(40px, 4vh) 0 0;
    padding: 0;
    animation: rise 1s var(--ease-out) 0.06s both;
}

.hero__line {
    display: block;
    white-space: nowrap;
    margin-left: 0;
}

.hero__line--2 {
    margin-left: 0;
}

.hero__cta {
    margin-top: 1.75rem;
    margin-left: 0;
    align-self: flex-start;
    animation: rise 1s var(--ease-out) 0.24s both;
}

/* —— Solid ink CTA —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: rgba(12, 12, 12, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(12, 12, 12, 0.95);
    border-radius: 0;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
    background-color: #ffffff;
    border-color: #0c0c0c;
    color: #0c0c0c;
    outline: none;
}

.btn:active {
    background-color: #e8e8e8;
    border-color: #0c0c0c;
    color: #0c0c0c;
}

/* —— HUD footer overlay —— */
.foot {
    position: relative;
    z-index: 4;
    margin-top: auto;
    background: transparent;
    border: 0;
    padding:
        0.75rem
        clamp(1.5rem, 4vw, 3.75rem)
        calc(0.85rem + var(--safe-bottom));
    pointer-events: none;
}

.foot__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    width: 100%;
    pointer-events: auto;
}

.foot__copy {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-55);
    white-space: nowrap;
}

.foot__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 0.45rem;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.foot__links a {
    color: var(--ink-55);
    text-decoration: none;
    transition: color 0.15s ease;
}

.foot__links a:hover,
.foot__links a:focus-visible {
    color: var(--ink);
    outline: none;
}

.foot__sep {
    color: var(--ink-40);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes rec-pulse {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.15; }
}

@keyframes grain-shift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-1.5%, 1%); }
    50% { transform: translate(1%, -1.2%); }
    75% { transform: translate(-0.8%, -0.6%); }
    100% { transform: translate(0.6%, 1.4%); }
}

@media (min-width: 900px) {
    .bg__photo { object-position: 48% 42%; }

    .bg__veil {
        background:
            linear-gradient(105deg, rgba(247, 247, 245, 0.68) 0%, rgba(247, 247, 245, 0.32) 26%, rgba(247, 247, 245, 0.06) 48%, transparent 64%),
            linear-gradient(180deg, rgba(247, 247, 245, 0.28) 0%, transparent 24%),
            linear-gradient(0deg, rgba(247, 247, 245, 0.45) 0%, transparent 20%);
    }

    .page {
        padding:
            calc(5rem + var(--safe-top))
            clamp(2.5rem, 4vw, 3.75rem)
            2.5rem;
        justify-content: center;
    }

    .hero__kicker { font-size: clamp(1.85rem, 2.6vw, 2.45rem); }
    .hero__status { font-size: 14px; }

    .hero__quote {
        font-stretch: 150%;
        font-size: clamp(5.5rem, 9vw, 9.5rem);
        margin-top: max(40px, 4vh);
    }

    .crop--bl,
    .crop--br { bottom: calc(3.4rem + var(--safe-bottom)); }

    .bracket--bl,
    .bracket--br { bottom: calc(4.5rem + var(--safe-bottom)); }

    .slate {
        bottom: calc(3.75rem + var(--safe-bottom));
        max-width: none;
    }
}

@media (max-width: 720px) {
    :root { --edge: 36px; }

    .hero__kicker {
        font-size: clamp(1.2rem, 6.5vw, 1.7rem);
    }

    .hero__quote {
        font-stretch: 100%;
        font-size: clamp(2.6rem, 12.5vw, 3.6rem);
    }

    .slate { display: none; }

    .foot__inner {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.45rem;
    }

    .foot__copy {
        width: 100%;
        text-align: center;
        font-size: 9px;
        letter-spacing: 0.12em;
        white-space: normal;
    }

    .foot__links {
        width: 100%;
        justify-content: center;
        font-size: 9px;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 420px) {
    :root { --edge: 32px; }

    .hero__quote {
        font-size: clamp(2.25rem, 11vw, 2.9rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__top,
    .hero__quote,
    .hero__cta,
    .bg__grain,
    .rec__dot {
        animation: none !important;
    }

    .bg__grain { opacity: 0.1; }
}
