:root {
    --bg: #f5efe7;
    --bg-strong: #efe4d8;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: #fffaf6;
    --text: #1b1818;
    --muted: #6c6159;
    --accent: #a80d17;
    --accent-dark: #7f0910;
    --line: rgba(117, 72, 72, 0.15);
    --shadow: 0 22px 70px rgba(43, 24, 24, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1160px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(174, 18, 31, 0.08), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(174, 18, 31, 0.09), transparent 24%),
        linear-gradient(180deg, #faf4ed 0%, var(--bg) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 20% 20%, #000 0 0.8px, transparent 1px),
        radial-gradient(circle at 80% 30%, #000 0 0.7px, transparent 1px),
        radial-gradient(circle at 30% 80%, #000 0 0.7px, transparent 1px);
    background-size: 16px 16px;
}

img {
    display: block;
    max-width: 100%;
}

button,
a,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.page-shell {
    min-height: 100vh;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 0;
}

.site-kicker {
    margin: 0;
}

.brand {
    text-decoration: none;
}

.brand-text {
    font-size: 12px;
    line-height: 1;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--accent);
}

.top-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-links a,
.footer-link {
    color: var(--muted);
    text-decoration: none;
    transition: color .25s ease;
}

.top-links a:hover,
.footer-link:hover {
    color: var(--accent);
}

.hero {
    padding: 14px 0 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 440px);
    gap: 34px;
    align-items: start;
}

.hero-copy-body {
    margin-top: 54px;
    max-width: 620px;
}

.hero-copy {
    align-self: start;
    padding-top: 0;
    margin-top: 0;
}

.hero-logo {
    width: min(250px, 46%);
    margin: 0 0 12px;
}

.hero-visual {
    width: min(100%, 440px);
    margin-left: auto;
    align-self: start;
    padding-top: 74px;
}

.eyebrow,
.step-index {
    font-size: 12px;
    line-height: 1;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title h2,
.accent-inner h2,
.modal-dialog h2,
.player-card h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(48px, 5.2vw, 74px);
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.hero-title > span {
    display: block !important;
    width: max-content;
    max-width: none;
    white-space: nowrap !important;
}

.hero-text,
.player-subtitle,
.info-card p,
.links-note,
.cover-caption,
.form-meta,
.form-status,
.checkbox-row,
.site-footer,
.accent-inner p,
.link-card {
    color: var(--muted);
}

.hero-text {
    max-width: 540px;
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.btn {
    min-height: 56px;
    border-radius: 999px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: #fff8f3;
    box-shadow: 0 16px 28px rgba(168, 13, 23, 0.22);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-secondary {
    color: var(--accent);
    border: 1px solid rgba(168, 13, 23, 0.22);
    background: rgba(255, 255, 255, 0.55);
}

.btn-cream {
    background: #fff5ec;
    color: var(--accent);
}

.cover-card,
.player-card,
.info-card,
.link-card,
.modal-dialog {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.cover-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cover-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cover-caption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-size: 14px;
}

.player-section {
    padding: 18px 0 24px;
}

.about-section {
    padding: 30px 0 10px;
}

.about-section .section-title {
    margin-bottom: 5px;
}

.player-section,
.about-section,
.links-section {
    padding: 18px 0 10px;
}

.player-card {
    border-radius: var(--radius-xl);
    padding: 28px;
}

.player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.player-card h2 {
    font-size: clamp(36px, 5vw, 60px);
    margin-top: 10px;
}

.play-toggle {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff5ef;
    font-size: 30px;
    flex-shrink: 0;
    box-shadow: 0 18px 30px rgba(168, 13, 23, 0.25);
}

.progress-row {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    gap: 14px;
    align-items: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
}

.progress-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(127, 9, 16, 0.1);
    overflow: hidden;
}

.progress-track span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #7f0910 0%, #b81721 100%);
    border-radius: inherit;
}

.section-title {
    margin-bottom: 24px;
}

.section-title h2,
.accent-inner h2,
.modal-dialog h2 {
    font-size: clamp(34px, 5.2vw, 62px);
    margin-top: 10px;
}

.mechanics-grid,
.links-grid {
    display: grid;
    gap: 18px;
}

.mechanics-grid {
    grid-template-columns: repeat(3, 1fr);
}

.info-card,
.link-card {
    border-radius: var(--radius-lg);
    padding: 24px;
}

.info-card h3 {
    margin: 22px 0 12px;
    font-size: 22px;
}

.info-card p,
.link-card,
.checkbox-row,
.form-status,
.links-note {
    font-size: 15px;
    line-height: 1.7;
}

.accent-section {
    margin-top: 46px;
    background: linear-gradient(135deg, #8e0910 0%, #b30f16 100%);
    color: #fff8f1;
}

.accent-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding: 54px 0;
}

.eyebrown-light,
.accent-inner p,
.accent-inner h2 {
    color: #fff8f1;
}

.links-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.link-card {
    text-decoration: none;
    font-weight: 600;
    color: var(--text);
    min-height: 122px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition: transform .22s ease, border-color .22s ease;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 13, 23, 0.25);
}

.link-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 13, 23, 0.08);
    color: var(--accent);
    font-size: 22px;
}

.link-label {
    color: var(--text);
    font-size: 16px;
    line-height: 1.4;
}

.links-note {
    margin-top: 14px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 36px 0 60px;
    font-size: 14px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 20px;
}

.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 10, 0.52);
    backdrop-filter: blur(8px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 24px));
    border-radius: 32px;
    padding: 28px;
    background: rgba(255, 250, 246, 0.95);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
    color: var(--muted);
    background: rgba(168, 13, 23, 0.06);
}

#letterForm {
    margin-top: 22px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

textarea,
input[type="email"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px 20px;
    background: #fffdfb;
    color: var(--text);
    outline: none;
    transition: border-color .22s ease, box-shadow .22s ease;
}

textarea {
    min-height: 220px;
    resize: vertical;
}

textarea:focus,
input[type="email"]:focus {
    border-color: rgba(168, 13, 23, 0.35);
    box-shadow: 0 0 0 4px rgba(168, 13, 23, 0.08);
}

.form-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    margin: 10px 0 18px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 18px;
}

.checkbox-row input {
    margin-top: 4px;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.form-status {
    min-height: 28px;
    margin: 14px 0 0;
}

.form-status.success {
    color: #0b6b37;
}

.form-status.error {
    color: var(--accent);
}

.honeypot {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp .8s ease forwards;
}

.delay-1 {
    animation-delay: .12s;
}

.delay-2 {
    animation-delay: .24s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .hero,
    .accent-inner,
    .mechanics-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 26px;
    }

    .hero-copy-body {
        margin-top: 28px;
        max-width: none;
    }

    .hero-visual {
        width: min(100%, 460px);
        margin-left: 0;
        padding-top: 10px;
    }

    .accent-inner {
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    :root {
        --container: min(100vw - 24px, 1000px);
    }

    .site-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero {
        padding-top: 12px;
    }

    .hero-logo {
        width: min(240px, 72%);
    }

    .hero-title {
        font-size: clamp(38px, 12vw, 62px);
        line-height: 0.94;
    }

    .hero-title > span {
        width: auto;
        white-space: normal !important;
    }

    .player-card,
    .info-card,
    .link-card,
    .modal-dialog {
        padding: 20px;
    }

    .player-top,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-row {
        grid-template-columns: 42px 1fr 42px;
        gap: 10px;
    }

    .play-toggle {
        width: 66px;
        height: 66px;
    }

    .modal-dialog {
        border-radius: 24px;
    }
}