/* Keep this stylesheet fingerprinted so browsers recover from stale MIME metadata. */
@property --halo-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 215deg;
}

.site-background {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background: radial-gradient(120% 100% at 50% 0%, #12101d 0%, #0a0912 45%, #060509 100%);
    pointer-events: none;
}

.site-background__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    mix-blend-mode: screen;
    will-change: transform;
    animation: blobDrift 30s ease-in-out infinite;
}

.site-background__blob--rose {
    top: -14%;
    left: -8%;
    width: 58vw;
    height: 58vw;
    background: radial-gradient(circle, rgba(255, 110, 162, .55) 0%, rgba(0, 0, 0, 0) 68%);
    animation-duration: 26s;
}

.site-background__blob--cyan {
    top: 18%;
    left: 52%;
    width: 52vw;
    height: 52vw;
    background: radial-gradient(circle, rgba(101, 213, 255, .48) 0%, rgba(0, 0, 0, 0) 68%);
    animation-duration: 32s;
    animation-delay: -6s;
}

.site-background__blob--violet {
    top: 48%;
    left: 4%;
    width: 62vw;
    height: 62vw;
    background: radial-gradient(circle, rgba(181, 120, 255, .50) 0%, rgba(0, 0, 0, 0) 68%);
    animation-duration: 38s;
    animation-delay: -14s;
}

.site-background__blob--amber {
    top: 68%;
    left: 62%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 183, 101, .34) 0%, rgba(0, 0, 0, 0) 68%);
    animation-duration: 30s;
    animation-delay: -20s;
}

@keyframes blobDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(6vw, -5vh, 0) scale(1.14); }
    66% { transform: translate3d(-5vw, 4vh, 0) scale(.92); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

.site-background__contours {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.site-background__spot {
    position: absolute;
    top: 0;
    left: 0;
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(150, 200, 255, .16), rgba(150, 200, 255, 0) 66%);
    opacity: 0;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.site-background__grain {
    position: absolute;
    inset: -50%;
    opacity: .16;
    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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
    .site-background__blob { animation: none; }
}

@media (max-width: 767px) {
    .site-background__blob { filter: blur(52px); }
    .site-background__blob--rose { width: 108vw; height: 108vw; }
    .site-background__blob--cyan { width: 96vw; height: 96vw; }
    .site-background__blob--violet { width: 116vw; height: 116vw; }
    .site-background__blob--amber { width: 78vw; height: 78vw; }
}

header {
    background: transparent;
    /*border-bottom: 1px solid rgba(255,255,255,0.1);*/
}

html {
	min-height: 100%;
	background: #0a0912;
}

body {
	height: 100%;
	background: transparent;
	color: rgba(255,255,255,0.85);
}

body > header,
body > .container {
    position: relative;
    z-index: 1;
}

.feature-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1400px;
    margin: 1.5rem auto 3rem;
    padding: 1rem;
}

.feature-tile {
    position: relative;
    min-height: clamp(340px, 39vw, 510px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 22px;
    background: #151515;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .42);
    color: white;
    isolation: isolate;
    text-decoration: none;
    transform: translateZ(0);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .25s ease, box-shadow .45s ease;
}

.feature-tile:hover,
.feature-tile:focus {
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, .42);
    box-shadow: 0 28px 72px rgba(0, 0, 0, .6);
    transform: translateY(-6px);
}

.feature-tile:focus-visible { outline: 2px solid white; outline-offset: 4px; }

/* Tap-to-open. Leaving this page animates as part of the navigation itself,
   so the animation plays over the incoming page rather than delaying it.
   /theater pairs its hero with the clicked tile and gets a morph; everything
   else cross-fades.

   The transition is rendered by the destination document, so the
   ::view-transition-* rules that drive the morph live in theater.css. */
@view-transition { navigation: auto; }

.feature-tile__media,
.feature-tile__shade,
.feature-tile__photo,
.feature-tile__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.feature-tile__media { z-index: -2; overflow: hidden; }
.feature-tile__photo,
.feature-tile__video { object-fit: cover; }
.feature-tile__video { transform: scale(1.025); }

.feature-tile__photo {
    opacity: 0;
    will-change: opacity, transform;
    animation: photoKenBurns 18s ease-in-out infinite;
}

.feature-tile__photo:nth-child(1) { --ken-x: -2.5%; --ken-y: -1.5%; animation-delay: 0s; }
.feature-tile__photo:nth-child(2) { --ken-x: 2%; --ken-y: 1%; animation-delay: 6s; }
.feature-tile__photo:nth-child(3) { --ken-x: -1%; --ken-y: 2%; animation-delay: 12s; }

@keyframes photoKenBurns {
    0% { opacity: 0; transform: scale(1.045) translate3d(0, 0, 0); }
    5% { opacity: 1; }
    29% { opacity: 1; }
    36% { opacity: 0; transform: scale(1.14) translate3d(var(--ken-x), var(--ken-y), 0); }
    100% { opacity: 0; transform: scale(1.14) translate3d(var(--ken-x), var(--ken-y), 0); }
}

.feature-tile__shade {
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .08), transparent 38%),
        linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .02) 62%);
    transition: background-color .3s ease;
}

.feature-tile__copy {
    position: absolute;
    right: clamp(24px, 4vw, 52px);
    bottom: clamp(24px, 4vw, 48px);
    left: clamp(24px, 4vw, 52px);
}

.feature-tile h2 {
    margin: 0;
    color: white;
    font-family: "Iowan Old Style", Baskerville, Georgia, serif;
    font-size: clamp(3.1rem, 6vw, 6.4rem);
    font-weight: 400;
    line-height: .86;
    letter-spacing: -.055em;
    text-align: left;
}

.feature-tile__arrow {
    position: absolute;
    top: 24px;
    right: 26px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: background .25s ease, color .25s ease, transform .35s ease;
}

.feature-tile:hover .feature-tile__arrow,
.feature-tile:focus .feature-tile__arrow { background: white; color: black; transform: rotate(45deg); }

.text {
    font-size: 1.5rem;
    font-weight: 300;
}

.text a {
	color: rgba(255,255,255,0.85);
	font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.25);
    transition: color 0.15s, border-bottom 0.15s;
}

.text a:hover {
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,1);
    color: rgba(255,255,255,1);
}

.text a:active {
    transition: 0s;
}

h3 {
    font-variant: small-caps;
    font-size: 1.5rem;
}

ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.5rem;
}

li > small {
    display: block;
    margin-left: 25pt;
    opacity: 0.7;
    font-size: 1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.info-card {
    --card-radius: 14px;
    --halo-angle: 215deg;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    color: rgba(255,255,255,0.85);
    transition: box-shadow 0.1s ease-out;
    opacity: 0;
    animation: cardFloat 0.5s ease-out forwards;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    transform-style: preserve-3d;
    min-width: 0;
    position: relative;
    isolation: isolate;
}

.info-card.clickable-card {
    cursor: pointer;
}

.info-card.clickable-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: white;
}

.cards-container > a.info-card.clickable-card:first-child {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 16px rgba(255, 118, 166, 0.16),
        0 0 34px rgba(108, 208, 255, 0.12),
        0 0 52px rgba(181, 120, 255, 0.10),
        0 10px 26px rgba(0, 0, 0, 0.34);
}

.cards-container > a.info-card.clickable-card:first-child::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--card-radius) + 4px);
    background:
        conic-gradient(from var(--halo-angle),
            rgba(255, 110, 162, 0.98),
            rgba(255, 183, 101, 0.95),
            rgba(255, 238, 127, 0.92),
            rgba(101, 213, 255, 0.94),
            rgba(136, 152, 255, 0.95),
            rgba(220, 121, 255, 0.97),
            rgba(255, 110, 162, 0.98));
    filter: blur(18px) saturate(128%);
    opacity: 0.36;
    z-index: -1;
    pointer-events: none;
    animation: haloSpin 18s linear infinite;
}

.cards-container > a.info-card.clickable-card:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 1px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04))
            padding-box,
        conic-gradient(from var(--halo-angle),
            rgba(255, 110, 162, 0.92),
            rgba(255, 183, 101, 0.88),
            rgba(255, 238, 127, 0.84),
            rgba(101, 213, 255, 0.88),
            rgba(136, 152, 255, 0.90),
            rgba(220, 121, 255, 0.92),
            rgba(255, 110, 162, 0.92)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 14px rgba(255, 135, 178, 0.08);
    z-index: 1;
    pointer-events: none;
}

.cards-container > a.info-card.clickable-card:first-child > * {
    position: relative;
    z-index: 2;
}

.cards-container > a.info-card.clickable-card:first-child:hover {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 20px rgba(255, 118, 166, 0.20),
        0 0 42px rgba(108, 208, 255, 0.16),
        0 0 68px rgba(181, 120, 255, 0.12),
        0 14px 34px rgba(0, 0, 0, 0.38);
}

.cards-container > a.info-card.clickable-card:first-child:hover::before {
    opacity: 0.5;
}

@keyframes haloSpin {
    from {
        --halo-angle: 215deg;
    }
    to {
        --halo-angle: 575deg;
    }
}

.card-header {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 1;
    text-transform: lowercase;
    background: transparent;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.6);
}

.card-hero {
    font-size: 3rem;
    font-weight: 200;
    line-height: 1;
    color: rgba(255,255,255,0.95);
}

.card-unit {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.6;
}

.card-description {
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.7;
    line-height: 1.4;
}

.card-content {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

@keyframes cardFloat {
    to {
        opacity: 1;
    }
}

.info-card:nth-child(1) { animation-delay: 0ms; }
.info-card:nth-child(2) { animation-delay: 150ms; }
.info-card:nth-child(3) { animation-delay: 300ms; }
.info-card:nth-child(4) { animation-delay: 450ms; }
.info-card:nth-child(5) { animation-delay: 600ms; }
.info-card:nth-child(6) { animation-delay: 750ms; }
.info-card:nth-child(7) { animation-delay: 900ms; }
.info-card:nth-child(8) { animation-delay: 1050ms; }
.info-card:nth-child(9) { animation-delay: 1200ms; }
.info-card:nth-child(10) { animation-delay: 1350ms; }
.info-card:nth-child(11) { animation-delay: 1500ms; }
.info-card:nth-child(12) { animation-delay: 1650ms; }
.info-card:nth-child(13) { animation-delay: 1800ms; }
.info-card:nth-child(14) { animation-delay: 1950ms; }
.info-card:nth-child(15) { animation-delay: 2100ms; }
.info-card:nth-child(16) { animation-delay: 2250ms; }
.info-card:nth-child(17) { animation-delay: 2400ms; }
.info-card:nth-child(18) { animation-delay: 2550ms; }

.section-header {
    font-variant: small-caps;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    text-align: center;
    color: rgba(255,255,255,0.9);
}

.card-content a {
	color: rgba(255,255,255,0.9);
	font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: color 0.15s, border-bottom 0.15s;
}

.card-content a:hover {
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.8);
    color: rgba(255,255,255,1);
}

.card-content a:active {
    transition: 0s;
}

@media (min-width: 768px) and (max-width: 991px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .text {
        font-size: 1rem;
    }

    h3 {
        font-size: 1rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .feature-bento {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: .75rem auto 2rem;
        padding: .5rem;
    }

    .feature-tile { min-height: 0; aspect-ratio: 2 / 1; border-radius: 18px; }
    .feature-tile h2 { font-size: clamp(2.9rem, 12.5vw, 4.4rem); }
    .feature-tile__copy { right: 24px; bottom: 26px; left: 24px; }

    .info-card {
        margin: 0;
        padding: 1.25rem;
    }

    .card-header {
        font-size: 0.8rem;
    }

    .card-hero {
        font-size: 2.5rem;
    }

    .card-unit {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .card-content {
        font-size: 1rem;
    }

    .section-header {
        font-size: 1rem;
    }

    .btn-social-container {
        padding: 0.75rem 0.5rem 1rem;
    }

    .btn-social-bar {
        width: 100%;
        max-width: 420px;
    }

    .btn-social {
        min-width: 0;
        justify-content: center;
        text-align: center;
        padding: 0.9rem 0.5rem;
    }

    .btn-social-text {
        display: none;
    }
    li > small {
        font-size: 0.8rem;
        margin-left: 21pt;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-tile__photo { animation: none; }
    .feature-tile__photo { opacity: 0; }
    .feature-tile__photo:first-child { opacity: 1; transform: none; }
    .feature-tile { transition: none; }
}

.btn-social {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    padding: 1rem 1.25rem;
    text-align: left;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.3);
    border-radius: 0;
    background-color: transparent;
    transition: background-color 0.15s, color 0.15s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.btn-social:active {
    transition: 0s;
}

.btn-social:not(:hover):not(:active):not(:focus):not(:focus-visible) {
    background-color: transparent !important;
}


.btn-social-container {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.btn-social-bar {
    opacity: 0.8;
    transition: opacity 0.15s;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 720px);
    max-width: 720px;
}
.btn-social-bar:hover {
    opacity: 1.0;
}

.btn-social:first-of-type {
    border-left: none;
}

.btn-social i {
    font-size: 2rem;
    flex: 0 0 auto;
}

.btn-social-text {
    min-width: 0;
    line-height: 1.05;
}

.btn-social-text small {
    display: block;
    margin-top: 0.35rem;
    opacity: 0.8;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-x:hover {
    background-color: #111111;
}
.btn-x:active {
    background-color: #000000;
}

.btn-instagram:hover {
    background-color: #E4405F;
}
.btn-instagram:active {
    background-color: #d31e40;
}

.btn-strava:hover {
    background-color: #fc4c02;
}
.btn-strava:active {
    background-color: #b93801;
}

.btn-x,
.btn-instagram,
.btn-strava {
    color: inherit !important;
}

.btn-x:hover,
.btn-x:active,
.btn-instagram:hover,
.btn-instagram:active,
.btn-strava:hover,
.btn-strava:active {
    color: white !important;
}
