:root {
    --bg: #050505;
    --text: #f4f1ea;
    --muted: rgba(244, 241, 234, 0.68);
    --line: rgba(244, 241, 234, 0.18);
    --accent: #962a72;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dot {
    color: var(--accent);
}

/* animated underline links */
.hero-copy a,
.spotlight-copy a,
.footer-bottom a,
.menu-links a {
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 4px;
}

.hero-copy a::after,
.spotlight-copy a::after,
.footer-bottom a::after,
.menu-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy a:hover::after,
.spotlight-copy a:hover::after,
.footer-bottom a:hover::after,
.menu-links a:hover::after {
    transform: scaleX(1);
}

/* header / menu */
.site-header {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    padding: 26px 34px;
    mix-blend-mode: difference;
}

body.menu-open .site-header {
    mix-blend-mode: normal;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text);
}

.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child {
    transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.site-menu {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: min(380px, 88vw);
    height: 100%;
    background: var(--bg);
    border-right: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 26px 34px;
}

.site-menu.is-open {
    transform: translateX(0);
}

.menu-inner {
    margin-top: 56px;
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.menu-links a {
    font-size: clamp(22px, 3.5vw, 32px);
    letter-spacing: -0.04em;
    font-weight: 500;
    line-height: 1;
    transition: color 0.25s ease;
}

.menu-links a:hover {
    color: var(--accent);
}

/* hero */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 34px;
}

.hero-image {
    position: absolute;
    inset: 0;
    filter: saturate(0.85) contrast(1.05);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero:hover .hero-image {
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.88)),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.8));
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding-bottom: 100px;
}

.hero-copy p {
    font-size: clamp(15px, 1.6vw, 20px);
    color: var(--muted);
    margin-bottom: 40px;
}

.hero-copy h1 {
    font-size: clamp(52px, 11vw, 128px);
    line-height: 0.86;
    letter-spacing: -0.08em;
    font-weight: 500;
    margin-bottom: 40px;
}

.hero-copy a,
.spotlight-copy a {
    font-size: 15px;
    transition: color 0.25s ease;
}

.hero-copy a:hover,
.spotlight-copy a:hover {
    color: var(--accent);
}

/* spotlight feature */
.spotlight-feature {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: -1px;
}

.spotlight-feature::before {
    content: "";
    position: absolute;
    inset: -22vh 0 auto 0;
    height: 34vh;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--bg), rgba(5, 5, 5, 0));
}

.spotlight-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.12)),
        radial-gradient(circle at 70% 30%, rgba(150, 42, 114, 0.14), transparent 42%);
}

.spotlight-feature img {
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight-feature:hover img {
    transform: scale(1.035);
}

.spotlight-copy {
    position: absolute;
    z-index: 3;
    left: 34px;
    bottom: 44px;
    max-width: 820px;
}

.section-kicker {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 10px;
}

.spotlight-copy h2 {
    font-size: clamp(44px, 8vw, 112px);
    line-height: 0.88;
    letter-spacing: -0.075em;
    font-weight: 500;
    margin-bottom: 18px;
}

.spotlight-copy p:not(.section-kicker) {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 26px;
}

/* statement */
.statement {
    min-height: 78vh;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--line);
}

.statement h2 {
    max-width: 900px;
    font-size: clamp(32px, 5.5vw, 72px);
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 500;
}

.statement p {
    max-width: 560px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.4;
}

.app-store-badge {
    margin-top: 32px;
}

.app-store-badge a {
    display: inline-block;
    width: 220px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.app-store-badge a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-store-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* spotlight list */
.spotlight-list {
    border-top: 1px solid var(--line);
}

.spotlight-list-header {
    padding: 80px 34px 36px;
    border-bottom: 1px solid var(--line);
}

.spotlight-list-header p {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 18px;
}

.spotlight-list-header h2 {
    max-width: 900px;
    font-size: clamp(32px, 5vw, 72px);
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 500;
}

.spotlight-list a {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 24px;
    padding: 30px 34px;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    transition: background-color 0.25s ease, opacity 0.25s ease;
}

.spotlight-list a:hover {
    background-color: rgba(244, 241, 234, 0.025);
}

.spotlight-list span {
    color: var(--accent);
    font-size: 14px;
}

.spotlight-list h3 {
    font-size: clamp(28px, 4vw, 56px);
    letter-spacing: -0.05em;
    font-weight: 500;
}

.spotlight-list p {
    color: var(--muted);
}

.spotlight-list .is-preview {
    opacity: 0.58;
}

.spotlight-list .is-preview:hover {
    opacity: 0.8;
}

/* footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 90px 34px 30px;
}

.footer-statement h2 {
    font-size: clamp(52px, 10vw, 140px);
    line-height: 0.86;
    letter-spacing: -0.08em;
    font-weight: 500;
}

.footer-statement p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 20px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom div {
    display: flex;
    gap: 22px;
}

.footer-bottom a:hover {
    color: var(--text);
}

/* 404 */
.not-found {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 34px;
}

.not-found > p:first-child {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 18px;
}

.not-found h1 {
    max-width: 900px;
    font-size: clamp(44px, 10vw, 120px);
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 500;
}

.not-found-copy {
    margin-top: 24px;
    max-width: 520px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.5;
}

.not-found a {
    margin-top: 36px;
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 4px;
}

.not-found a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.not-found a:hover::after {
    transform: scaleX(1);
}

/* mobile */
@media (max-width: 800px) {
    .site-header {
        padding: 20px;
    }

    .site-menu {
        padding: 20px;
    }

    .hero {
        padding: 24px 20px;
    }

    .hero-copy {
        padding-bottom: 70px;
    }

    .hero-copy h1 {
        font-size: clamp(44px, 16vw, 88px);
    }

    .spotlight-copy {
        left: 20px;
        right: 20px;
        bottom: 28px;
    }

    .statement {
        padding: 90px 20px;
    }

    .spotlight-list-header {
        padding: 70px 20px 32px;
    }

    .spotlight-list a {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 26px 20px;
    }

    .site-footer {
        padding: 70px 20px 24px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom div {
        flex-wrap: wrap;
    }

    .not-found {
        padding: 100px 20px;
    }
}