/* any web content found here is intellectual property of Sixty */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
img,
svg {
    display: block;
    max-width: 100%;
}

:root {
    --bg: #0a0a0b;
    --bg-deep: #050507;
    --fg: #f5f5f6;
    --fg-soft: rgba(235, 237, 245, 0.56);
    --fg-faint: rgba(235, 237, 245, 0.34);
    --hairline: rgba(255, 255, 255, 0.09);

    --max: 1280px;
    --gutter: clamp(22px, 5vw, 72px);

    --font:
        "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
        Arial, sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--bg);
}
body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
::selection {
    background: var(--fg);
    color: var(--bg);
}
:focus-visible {
    outline: 1.5px solid rgba(255, 255, 255, 0.85);
    outline-offset: 5px;
    border-radius: 2px;
}
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px var(--gutter);
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 11, 0.55),
        rgba(10, 10, 11, 0)
    );
}
.brand {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.links {
    display: flex;
    gap: 28px;
    font-size: 14px;
}
.links a {
    color: var(--fg-soft);
    transition: color 0.25s ease;
}
.links a:hover {
    color: var(--fg);
}
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    padding: 120px var(--gutter) clamp(160px, 26svh, 260px);
}

.atmosphere {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.limb {
    position: absolute;
    left: 50%;
    top: calc(100% - 17svh);
    width: 340vw;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--bg-deep);
    box-shadow:
        0 -1px 0 0 rgba(196, 209, 255, 0.5),
        0 -3px 10px rgba(165, 184, 255, 0.32),
        0 -16px 44px rgba(125, 150, 250, 0.22),
        0 -70px 160px rgba(92, 118, 235, 0.14),
        0 -180px 420px rgba(76, 100, 220, 0.09);
}
.glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            46% 30% at 50% 100%,
            rgba(132, 158, 255, 0.16),
            rgba(132, 158, 255, 0) 70%
        ),
        radial-gradient(
            90% 55% at 50% 108%,
            rgba(96, 120, 235, 0.1),
            rgba(96, 120, 235, 0) 72%
        );
    animation: breathe 11s ease-in-out infinite alternate;
}
@keyframes breathe {
    from {
        opacity: 0.7;
    }
    to {
        opacity: 1;
    }
}

.hero-inner {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    will-change: transform, opacity;
}
.display {
    margin: 0 0 26px;
    font-weight: 500;
    font-size: clamp(46px, 7.4vw, 110px);
    line-height: 1.03;
    letter-spacing: -0.045em;
    color: var(--fg);
}
.mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}
.line {
    display: block;
}
.lede {
    margin: 0;
    max-width: 34ch;
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--fg-soft);
}

.contact {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(130px, 18vw, 240px) var(--gutter);
}
.email {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(26px, 4vw, 44px) 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    font-size: clamp(32px, 6.6vw, 92px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: rgba(245, 245, 246, 0.88);
    transition:
        color 0.4s ease,
        border-color 0.4s ease;
}
.email:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}
.email .arrow {
    font-size: 0.62em;
    font-weight: 400;
    color: var(--fg-faint);
    transition:
        transform 0.45s var(--ease),
        color 0.3s ease;
}
.email:hover .arrow {
    transform: translate(6px, -6px);
    color: #fff;
}

.foot {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px var(--gutter) 48px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--fg-faint);
    border-top: 1px solid var(--hairline);
}
.foot .dim {
    color: rgba(235, 237, 245, 0.24);
}

/* =========================================================
   FILM GRAIN
   ========================================================= */
.grain {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.js .nav {
    opacity: 0;
    transition: opacity 1.2s ease 1s;
}
.js .line {
    transform: translateY(115%);
    transition: transform 1.15s var(--ease);
}
.js .l1 {
    transition-delay: 0.12s;
}
.js .l2 {
    transition-delay: 0.24s;
}
.js .lede {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.9s ease 0.72s,
        transform 1s var(--ease) 0.72s;
}
.js .atmosphere {
    opacity: 0;
    transition: opacity 2.2s ease 0.45s;
}

.loaded .nav,
.loaded .lede,
.loaded .atmosphere {
    opacity: 1;
}
.loaded .line,
.loaded .lede {
    transform: translateY(0);
}

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.95s ease,
        transform 1.05s var(--ease);
}
.js .reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .js .nav,
    .js .line,
    .js .lede,
    .js .atmosphere,
    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .glow {
        animation: none;
    }
    .email,
    .email .arrow,
    .links a {
        transition: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-bottom: clamp(140px, 24svh, 200px);
    }
    .display {
        font-size: clamp(38px, 11vw, 52px);
        letter-spacing: -0.035em;
    }
    .lede {
        font-size: 15.5px;
    }
    .email {
        font-size: clamp(23px, 7.4vw, 34px);
    }
    .foot {
        flex-direction: column;
        gap: 5px;
    }
}
