:root {
    --dark-box: #0C1835;
    --orange-surface: #FA2301;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: #FEF8F2;
    overflow: hidden;
    overscroll-behavior: none;
}

body {
    position: fixed;
    inset: 0;
    container-type: size;
    touch-action: none;
    opacity: 0;
    transition: opacity 180ms ease;
}

body.is-page-ready {
    opacity: 1;
}

body.is-page-leaving {
    opacity: 0;
    pointer-events: none;
}

.desktop-content {
    display: contents;
}

.desktop-experience-note {
    display: none;
}

body[data-page="overview"] .middle-slide,
body[data-page="report"] .middle-slide,
body[data-page="tests"] .middle-slide {
    padding-top: 1cqh;
}

.landing-hero {
    position: relative;
    isolation: isolate;
    width: 90%;
    max-width: 430px;
    height: 68%;
    margin: 1cqh auto 2cqh;
    overflow: hidden;
    border-radius: 24px;
    background-color: var(--orange-surface);
}

.landing-hero-link {
    position: absolute;
    z-index: 10;
    inset: 0;
    border-radius: inherit;
}

.landing-hero .top {
    position: relative;
    z-index: 1;
    height: 13%;
}

.landing-hero .middle-shell {
    z-index: 1;
    height: 87%;
}

.landing-hero > .landing-ad-image {
    position: absolute;
    z-index: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: auto;
    pointer-events: none;
}

.landing-ad-image--top {
    top: 0;
}

.landing-ad-image--bottom {
    bottom: 0;
    -webkit-clip-path: inset(50% 0 0 0);
    clip-path: inset(50% 0 0 0);
}

.landing-ad-message {
    position: absolute;
    z-index: 3;
    bottom: 80px;
    left: 50%;
    width: 86%;
    max-width: 360px;
    height: auto;
    transform: translateX(-50%);
    pointer-events: none;
}

.top {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px 20px 0 0;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 1;
    transition: none;
}

.top img {
    max-width: 35%;
    max-height: 35%;
    object-fit: contain;
}

.top-logo-link {
    display: contents;
}

.middle-shell {
    position: relative;
    width: 100%;
    height: 67%;
    transition: none;
}

body.is-page-ready .top {
    transition: height 650ms ease, opacity 400ms ease;
}

body.is-page-ready .middle-shell {
    transition: height 650ms ease;
}

body.is-scrolled .top {
    height: 0;
    opacity: 0;
}

body.is-scrolled .middle-shell {
    height: 100%;
}

body.is-scrolled .bottom {
    height: 0;
    opacity: 0;
}

.middle {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: contain;
}

.middle-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    padding: 25px 36px 0 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 650ms ease, visibility 650ms ease;
}

.middle-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#slide-1 {
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 0 22px;
}

.landing-message {
    position: relative;
    z-index: 1;
    width: 100%;
    color: #fff;
    text-align: left;
    transform: translateY(-50px);
}

.landing-message-logo {
    display: block;
    width: 18%;
    max-width: 64px;
    margin: 0 0 12px;
    transform: translateY(-14px);
}

.landing-message-logo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.landing-message h1 {
    margin: 0;
    color: inherit;
    font-family: "Avenir Next", Avenir, sans-serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1;
}

.landing-message h1 span {
    display: block;
}

.landing-title-small {
    font-size: 24px;
}

.landing-title-large {
    font-size: 34px;
}

#slide-1 .landing-message-subtitle {
    width: 100%;
    margin: 8px 0 0;
    color: inherit;
    text-align: left;
    font-family: Optima, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.landing-copy-link {
    display: block;
    width: 100%;
    margin-top: 12px;
    color: #fff;
    text-align: left;
    font-family: Optima, sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
}

.landing-copy-link:active {
    opacity: 0.72;
}

.middle-slide img {
    max-width: 90%;
    max-height: 75%;
    object-fit: contain;
    min-height: 0;
}

.middle-slide p {
    width: 100%;
    margin: 0;
    color: #FA2301;
    text-align: center;
    font-family: Optima, sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.info-hub-slide {
    align-items: stretch;
    gap: clamp(14px, 2.6cqh, 26px);
    padding: clamp(20px, 4cqh, 34px) 18px clamp(16px, 2.5cqh, 24px);
    font-family: Optima, sans-serif;
}

.info-feature-card {
    flex: 0 0 clamp(215px, 29cqh, 310px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(28px, 4.5cqh, 52px) clamp(34px, 8cqw, 70px);
    border-radius: clamp(34px, 8cqw, 56px);
    background-color: var(--orange-surface);
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
}

.info-feature-card p,
.info-card p,
.contact-card p {
    width: 100%;
    margin: 0;
    color: inherit;
    text-align: left;
    font-family: Optima, sans-serif;
}

.info-feature-card .info-feature-eyebrow {
    font-size: clamp(14px, 3.3cqw, 20px);
    font-weight: 200;
    line-height: 1.2;
}

.info-feature-card .info-feature-title {
    max-width: 470px;
    margin-top: clamp(12px, 1.8cqh, 20px);
    font-size: clamp(18px, 4.2cqw, 27px);
    font-weight: 700;
    line-height: 1.2;
}

.info-arrow {
    height: clamp(30px, 4.2cqh, 40px);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-top: auto;
    border: 0;
    border-radius: 999px;
    background-color: #000;
    color: #fff;
    font: 400 clamp(22px, 5cqw, 30px)/1 Optima, sans-serif;
    cursor: pointer;
}

.info-feature-card .info-arrow {
    width: clamp(145px, 30%, 175px);
    background-color: #000;
    color: #fff;
}

.info-cards-grid {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: clamp(14px, 4.5cqw, 32px);
}

.info-cards-left {
    min-height: 0;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.6cqh, 26px);
}

.info-card,
.contact-card {
    min-height: 0;
    box-sizing: border-box;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(28px, 5cqh, 55px) clamp(22px, 6cqw, 45px) clamp(20px, 3cqh, 32px);
    border-radius: clamp(32px, 8cqw, 58px);
    background-color: #fff;
    color: #000;
}

.info-card h2,
.contact-card h2 {
    margin: 0;
    font-family: Optima, sans-serif;
}

.info-card h2 {
    font-size: clamp(14px, 3.2cqw, 19px);
    line-height: 1.2;
}

.info-card p {
    margin-top: clamp(6px, 1cqh, 10px);
    font-size: clamp(17px, 4cqw, 27px);
    font-weight: 400;
    line-height: 1.18;
}

.info-card .info-arrow {
    width: min(100%, 145px);
    height: 30px;
    align-self: center;
    background-color: var(--orange-surface);
    font-size: 23px;
}

.info-cards-right {
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1.55fr) minmax(90px, 0.58fr) minmax(115px, 0.78fr);
    gap: clamp(14px, 2.6cqh, 26px);
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px;
    border-radius: clamp(24px, 5cqw, 34px);
    background-color: #fff;
    color: #000;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.info-card--measurements {
    padding-top: clamp(20px, 3cqh, 32px);
    padding-bottom: clamp(16px, 2.4cqh, 24px);
}

.contact-card h2 {
    font-size: clamp(14px, 3.2cqw, 19px);
    line-height: 1.15;
}

.contact-card p {
    margin-top: 4px;
    text-align: center;
    font-size: clamp(13px, 3cqw, 18px);
    font-weight: 400;
    line-height: 1.15;
}

.contact-card .info-arrow {
    width: min(75%, 145px);
    height: 30px;
    align-self: center;
    margin-top: clamp(10px, 1.5cqh, 16px);
    background-color: var(--orange-surface);
    color: #fff;
    font-size: 22px;
}

.event-card p {
    margin-top: 4px;
}

.event-card {
    background-color: var(--dark-box);
    color: #fff;
}

.event-card .info-arrow {
    background-color: #fff;
    color: #000;
}

.contact-sheet-layer {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 20ms ease-out, visibility 20ms ease-out;
}

.contact-sheet-layer[hidden] {
    display: none;
}

.contact-sheet-layer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-sheet-layer.is-closing {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transition: opacity 520ms ease, visibility 520ms ease;
}

.contact-sheet-backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    background:
        linear-gradient(
            to bottom,
            rgba(254, 248, 242, 0.96) 0%,
            rgba(254, 248, 242, 0.42) 11%,
            rgba(38, 13, 4, 0.08) 25%,
            rgba(38, 13, 4, 0.08) 68%,
            rgba(254, 248, 242, 0.64) 86%,
            #FEF8F2 96%,
            #FEF8F2 100%
        );
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.contact-sheet {
    position: relative;
    width: min(100%, 520px);
    height: min(280px, calc(100cqh - 24px));
    display: flex;
    flex-direction: column;
    padding: 24px 24px max(28px, env(safe-area-inset-bottom));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
    box-shadow: none;
    box-sizing: border-box;
    color: #1d0b05;
    font-family: Optima, sans-serif;
    transform: translateY(calc(100% + 40px));
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.contact-sheet-layer.is-open .contact-sheet {
    transform: translateY(0);
    transition-delay: 130ms;
}

.contact-sheet-layer.is-closing .contact-sheet {
    transform: translateY(calc(100% + 40px));
    transition-delay: 0ms;
}

.contact-sheet-handle,
.contact-sheet-header,
.contact-sheet h2,
.contact-sheet p {
    position: relative;
    z-index: 1;
}

.contact-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.contact-sheet-handle {
    width: 42px;
    height: 5px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(46, 19, 9, 0.28);
}

.contact-sheet-close {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    color: #1d0b05;
    font: 400 24px/1 Optima, sans-serif;
}

.contact-sheet h2 {
    margin: 0;
    padding: 0;
    font-family: Optima, sans-serif;
    font-size: 24px;
    line-height: 1.05;
}

.contact-sheet p {
    width: 100%;
    margin: 20px 0 0;
    color: #1d0b05;
    text-align: left;
    font-family: Optima, sans-serif;
    font-size: clamp(16px, 4.2cqw, 20px);
    font-weight: 400;
    line-height: 1.3;
}

.contact-sheet p a {
    color: inherit;
    font-weight: 700;
}

.contact-sheet .contact-sheet-copy a {
    font-weight: 400;
    text-decoration: underline;
}

.contact-sheet .contact-sheet-email {
    min-height: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    color: #1d0b05;
    text-align: center;
    font-family: Optima, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.about-us-copy {
    position: relative;
    z-index: 1;
    min-height: 0;
    flex: 1;
    margin-top: 20px;
    padding-right: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.contact-sheet.about-us-sheet {
    height: min(70cqh, 620px);
}

.about-us-sheet .contact-sheet-handle {
    margin-top: 18px;
}

.about-us-copy::-webkit-scrollbar {
    display: none;
}

.contact-sheet .about-us-copy p {
    margin: 0;
}

.contact-sheet .about-us-copy p + p {
    margin-top: 20px;
}

.about-us-company {
    margin-top: 0px;
    text-align: center;
}

.contact-sheet .about-us-copy .about-us-company p {
    text-align: center;
}

.contact-sheet .about-us-copy .about-us-company p.about-us-company-info {
    text-align: left;
}

.contact-sheet .about-us-copy .about-us-company p + p {
    margin-top: 14px;
}

.about-us-company strong {
    font-weight: 700;
}

.about-us-company a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.contact-sheet .about-us-copy .about-us-terms-link {
    width: 100%;
    text-align: center;
}

.test-detail-sheet .contact-sheet-handle {
    margin-top: 16px;
}

.contact-sheet.test-detail-sheet {
    background: rgba(255, 255, 255, 0.6);
}

.test-detail-sheet .about-us-copy {
    padding-right: 0;
}

.test-detail-video-frame {
    width: 100%;
    margin: 0 0 22px;
    overflow: hidden;
    border-radius: 24px;
    background-color: #1d0b05;
    box-shadow: 0 8px 22px rgba(29, 11, 5, 0.14);
}

.test-detail-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background-color: #1d0b05;
    object-fit: cover;
}

.test-detail-audio-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}

.test-detail-audio-card {
    min-width: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px 13px;
    border-radius: 22px;
    background-color: #fff;
    box-sizing: border-box;
}

.test-detail-audio-title {
    margin: 0;
    color: #0C1835;
    font: 600 20px/1 Optima, sans-serif;
}

.test-detail-audio {
    display: none;
}

.test-detail-audio-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0 0 0 2px;
    border: 0;
    border-radius: 50%;
    background-color: #0C1835;
    color: #fff;
    font-size: 0;
    cursor: pointer;
}

.test-detail-audio-toggle::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #fff;
}

.test-detail-audio-toggle.is-playing {
    padding-left: 0;
}

.test-detail-audio-toggle.is-playing::before {
    width: 12px;
    height: 14px;
    margin-left: 0;
    border: 0;
    background: linear-gradient(
        to right,
        #fff 0 4px,
        transparent 4px 8px,
        #fff 8px 12px
    );
}

.test-detail-audio-progress {
    width: 100%;
    height: 18px;
    margin: 0;
    accent-color: #FA2301;
    cursor: pointer;
}

.test-detail-audio-time {
    color: #0C1835;
    font: 400 11px/1 Optima, sans-serif;
}

.test-detail-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 30px auto 18px;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    .contact-sheet-layer,
    .contact-sheet {
        transition-duration: 1ms;
    }
}

@media (max-height: 700px) {
    .info-hub-slide {
        padding-bottom: 10px;
    }

    .info-feature-card {
        flex-basis: 185px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .info-card {
        padding-top: 22px;
        padding-bottom: 16px;
    }

    .info-cards-right {
        grid-template-rows: minmax(0, 1.45fr) minmax(82px, 0.55fr) minmax(105px, 0.72fr);
    }
}

.measurement-slide {
    align-items: stretch;
    gap: clamp(20px, 4cqh, 38px);
    padding: clamp(20px, 4cqh, 34px) 42px 24px 18px;
    font-family: Optima, sans-serif;
}

.player-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 115px;
    padding: 10px;
    border-radius: 22px;
    background-color: var(--orange-surface);
    box-sizing: border-box;
}

.player-summary > div:first-child {
    padding-left: 18px;
}

.player-name {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(20px, 5.5cqw, 28px);
    line-height: 1.1;
    color: #fff;
}

.player-summary .player-team {
    width: auto;
    margin: 3px 0 0;
    color: #fff;
    text-align: left;
    font-family: Optima, sans-serif;
    font-size: clamp(14px, 4cqw, 20px);
    font-weight: 400;
}

.player-year {
    flex: 0 0 92px;
    width: 92px;
    height: 95px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 6px;
    border: 0;
    border-radius: 14px;
    background-color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.player-year-label {
    display: block;
    color: #FA2301;
    font-size: clamp(11px, 3cqw, 15px);
}

.player-year strong {
    display: block;
    margin-top: 5px;
    color: #000;
    font-family: Georgia, serif;
    font-size: clamp(22px, 6cqw, 30px);
    line-height: 1;
}

.player-card {
    padding: clamp(14px, 2.5cqh, 22px) clamp(18px, 5cqw, 30px);
    border-radius: 24px;
    background-color: #fff;
}

.player-data {
    width: 100%;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(11px, 3.2cqw, 15px);
}

.player-data-row {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    opacity: 0;
    transition: opacity 360ms ease;
}

.player-data-row::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background-color: #222;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 360ms ease;
}

.measurement-slide.are-table-lines-visible .player-data-row::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.measurement-slide.are-table-lines-visible .player-data-row {
    opacity: 1;
}

.measurement-slide.are-table-lines-exiting .player-data-row::after {
    transform: scaleX(0);
    transform-origin: left center;
    transition-duration: 300ms;
}

.measurement-slide.are-table-lines-exiting .player-data-row {
    opacity: 0;
    transition-duration: 300ms;
}

.player-data dt,
.player-data dd {
    min-width: 0;
    margin: 0;
    padding: clamp(5px, 1cqh, 9px) 0;
    box-sizing: border-box;
    text-align: left;
}

.player-data dt {
    font-weight: 700;
}

.measurement-slide .measurement-explanation {
    width: 100%;
    min-height: 0;
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    color: #000;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(15px, 3.5cqw, 17px);
    font-weight: 400;
    line-height: 1.25;
}

.results-slide {
    align-items: stretch;
    gap: clamp(10px, 1.8cqh, 16px);
    padding: clamp(20px, 4cqh, 34px) 42px 16px 18px;
    font-family: Optima, sans-serif;
}

.results-title {
    margin: 0;
    color: #FA2301;
    font-size: clamp(21px, 5.5cqw, 30px);
    line-height: 1;
}

.results-slide .results-intro {
    width: 100%;
    margin: 0;
    color: #000;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(12px, 3.4cqw, 17px);
    font-weight: 400;
    line-height: 1.25;
}

.score-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    align-items: center;
    gap: 10px;
    min-height: 115px;
    padding: 10px;
    border-radius: 22px;
    background-color: var(--orange-surface);
    box-sizing: border-box;
}

.score-main {
    padding: 4px 10px;
    color: #fff;
}

.score-label {
    font-family: Optima, sans-serif;
    font-size: clamp(15px, 4cqw, 20px);
}

.score-number {
    margin: 3px 0 8px;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 700;
}

.score-number > span:last-child {
    font-size: 15px;
    font-weight: 400;
}

.score-progress {
    height: 12px;
    overflow: visible;
    border-radius: 999px;
    background-color: #F27A6C;
}

.score-progress span {
    position: relative;
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background-color: #fff;
    transform-origin: left center;
}

.score-progress span.is-settled {
    animation: progressBarGlow 1.6s ease-in-out infinite;
}

@keyframes progressBarGlow {
    0%, 100% {
        transform: scaleY(1);
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    50% {
        transform: scaleY(1.18);
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95));
    }
}

@media (prefers-reduced-motion: reduce) {
    .score-progress span.is-settled {
        animation: none;
    }
}

.score-category {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 92px;
    height: 95px;
    padding: 8px 6px;
    border: 0;
    border-radius: 14px;
    background-color: #fff;
    font-family: Georgia, serif;
    text-align: center;
    box-sizing: border-box;
}

.score-category-label {
    color: #FA2301;
    font-size: 15px;
}

.score-category strong {
    margin: 5px 0 3px;
    font-size: 25px;
    line-height: 1;
}

.score-category-name {
    font-size: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 1.5cqh, 14px) 10px;
}

.result-card {
    position: relative;
    min-height: clamp(84px, 12cqh, 112px);
    padding: 10px 5px 8px;
    border-radius: 18px;
    background-color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.result-card h3 {
    margin: 0 0 7px;
    color: #FA2301;
    font-size: clamp(14px, 4cqw, 19px);
    font-weight: 400;
}

.result-value {
    position: relative;
    display: inline-block;
    margin: 0;
    color: #000;
    font-family: Georgia, serif;
    font-size: clamp(22px, 6.5cqw, 31px);
    font-weight: 700;
    line-height: 1;
}

.result-value::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--category-color);
    transform: translateY(-50%);
}

.result-unit {
    margin-top: 5px;
    color: #000;
    font-family: Georgia, serif;
    font-size: clamp(13px, 3.8cqw, 18px);
}

.results-slide .benchmark-explanation {
    width: 100%;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    color: #000;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(15px, 3.4cqw, 16px);
    font-weight: 400;
    line-height: 1.3;
}

.results-slide .benchmark-explanation {
    min-height: 0;
    flex: 1;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.results-legend {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 4px 8px;
    border-radius: 6px;
    background-color: var(--dark-box);
    color: #fff;
    font-size: 9px;
    box-sizing: border-box;
}

.results-legend img {
    width: 48px;
    height: auto;
    object-fit: contain;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--category-color);
}

.performance-slide {
    align-items: stretch;
    gap: clamp(9px, 1.5cqh, 15px);
    padding: clamp(20px, 4cqh, 34px) 42px 14px 18px;
    font-family: Optima, sans-serif;
}

.growth-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(2, 92px);
    gap: 7px;
    min-height: 115px;
    padding: 10px;
    border-radius: 22px;
    background-color: var(--orange-surface);
    box-sizing: border-box;
}

.growth-summary-title {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 6px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(13px, 3.8cqw, 18px);
    font-weight: 400;
    line-height: 1.2;
}

.growth-metric {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    width: 92px;
    height: 95px;
    padding: 7px 3px;
    border-radius: 12px;
    background-color: #fff;
    color: #000;
    text-align: center;
    box-sizing: border-box;
}

.growth-metric-label {
    color: #FA2301;
    font-size: clamp(9px, 2.7cqw, 12px);
}

.growth-metric strong {
    margin: 4px 0 2px;
    font-family: Georgia, serif;
    font-size: clamp(16px, 4.6cqw, 22px);
    line-height: 1;
}

.growth-metric-unit {
    font-family: Georgia, serif;
    font-size: clamp(10px, 3cqw, 14px);
}

.player-year,
.score-category,
.growth-metric {
    border-radius: 14px;
    font-family: Georgia, serif;
}

.player-year-label,
.score-category-label,
.growth-metric-label {
    color: #FA2301;
    font-size: 15px;
    line-height: 1;
}

.player-year strong,
.score-category strong,
.growth-metric strong {
    margin: 5px 0 3px;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1;
}

.player-year-name,
.score-category-name,
.growth-metric-unit {
    color: #000;
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1;
}

.performance-slide .growth-copy {
    width: 100%;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    color: #000;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(15px, 2.9cqw, 14px);
    font-weight: 400;
    line-height: 1.3;
}

.performance-slide .performance-explanation {
    width: 100%;
    margin: 0;
    color: #000;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(10px, 2.9cqw, 14px);
    font-weight: 400;
    line-height: 1.3;
}

.performance-chart {
    width: 100%;
    height: auto;
    flex: none;
    display: block;
    overflow: visible;
}

.performance-chart-card {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    padding: 10px 8px 14px;
    border-radius: 24px;
    background-color: #fff;
    box-sizing: border-box;
}

.performance-chart.is-animating .chart-series-line {
    stroke-dasharray: var(--path-length) var(--path-length);
    stroke-dashoffset: var(--path-length);
    stroke-linecap: butt;
    animation: drawChartLine 720ms linear var(--line-delay) forwards;
}

.performance-chart.is-animating .chart-player-point {
    opacity: 0;
    visibility: visible;
    transform-box: fill-box;
    transform-origin: center;
    animation:
        revealPlayerPoint 700ms cubic-bezier(0.2, 1.4, 0.4, 1) var(--player-reveal-delay, 2.05s) forwards,
        pulsePlayerPoint 1.4s ease-in-out var(--player-pulse-delay, 2.75s) infinite;
}

@keyframes drawChartLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes revealPlayerPoint {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    65% {
        opacity: 1;
        transform: scale(1.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulsePlayerPoint {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(215, 96, 207, 0));
    }
    50% {
        transform: scale(1.35);
        filter: drop-shadow(0 0 4px rgba(215, 96, 207, 0.85));
    }
}

@media (prefers-reduced-motion: reduce) {
    .performance-chart.is-animating .chart-series-line,
    .performance-chart.is-animating .chart-player-point {
        animation: none;
        opacity: 1;
        visibility: visible;
        stroke-dashoffset: 0;
        transform: none;
    }
}

.performance-slide .performance-explanation {
    margin-top: auto;
    padding: 0 8px;
    box-sizing: border-box;
    text-align: center;
    font-size: clamp(9px, 2.7cqw, 13px);
    font-style: italic;
}

.profile-slide,
.focus-slide {
    align-items: stretch;
    gap: clamp(12px, 2.2cqh, 22px);
    padding: clamp(22px, 4cqh, 38px) 42px 18px 24px;
    font-family: Georgia, serif;
}

.profile-slide {
    padding: clamp(20px, 4cqh, 34px) 42px 18px 18px;
}

.profile-summary {
    flex: 0 0 auto;
    width: 100%;
    align-self: stretch;
    grid-template-columns: minmax(0, 1fr) clamp(112px, 32cqw, 132px);
}

.profile-summary .profile-metric {
    width: clamp(112px, 32cqw, 132px);
}

.profile-summary .profile-metric strong {
    font-size: clamp(14px, 4cqw, 19px);
}

.profile-title,
.focus-title {
    margin: 0;
    color: #FA2301;
    font-family: Optima, sans-serif;
    font-size: clamp(23px, 6cqw, 32px);
    line-height: 1;
}

.profile-slide .profile-intro,
.focus-slide .focus-intro {
    width: 100%;
    margin: 0;
    color: #000;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(13px, 3.7cqw, 18px);
    font-weight: 400;
    line-height: 1.25;
}

.profile-copy,
.focus-copy {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.8cqh, 17px);
}

.profile-copy h3,
.focus-copy h3 {
    margin: 0;
    font-size: clamp(13px, 3.6cqw, 17px);
    line-height: 1.15;
}

.profile-copy p,
.focus-copy p {
    width: 100%;
    margin: 0;
    color: #000;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(11px, 3.2cqw, 15px);
    font-weight: 400;
    line-height: 1.28;
}

.profile-slide .profile-copy p {
    font-size: clamp(15px, 2.9cqw, 14px);
    line-height: 1.3;
}

.profile-slide .profile-copy {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.profile-radar-card {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding: 10px 8px 14px;
    border-radius: 24px;
    background-color: #fff;
    box-sizing: border-box;
}

.profile-radar {
    width: 100%;
    height: auto;
    flex: none;
    display: block;
    overflow: visible;
}

.profile-radar.is-animating .profile-radar-shape {
    fill: rgba(250, 35, 1, 0);
    stroke-dasharray: var(--radar-path-length) var(--radar-path-length);
    stroke-dashoffset: var(--radar-path-length);
    animation:
        drawProfileRadar 2600ms linear 350ms forwards,
        fillProfileRadar 620ms ease-out 2850ms forwards;
}

.profile-radar.is-animating .profile-radar-point {
    opacity: 0;
    transform: scale(0);
    transform-box: fill-box;
    transform-origin: center;
    animation: revealProfileRadarPoint 430ms cubic-bezier(0.2, 1.45, 0.4, 1) var(--point-delay) forwards;
}

@keyframes drawProfileRadar {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillProfileRadar {
    to {
        fill: rgba(250, 35, 1, 0.28);
    }
}

@keyframes revealProfileRadarPoint {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    70% {
        opacity: 1;
        transform: scale(1.55);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-radar.is-animating .profile-radar-shape,
    .profile-radar.is-animating .profile-radar-point {
        animation: none;
        fill: rgba(250, 35, 1, 0.28);
        opacity: 1;
        stroke-dashoffset: 0;
        transform: none;
    }
}

.profile-slide .profile-radar-explanation {
    width: 100%;
    margin: 4px 0 2px;
    padding: 0 8px;
    box-sizing: border-box;
    color: #000;
    text-align: center;
    font-family: Georgia, serif;
    font-size: clamp(7px, 2cqw, 9px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.25;
}

.focus-slide {
    gap: clamp(10px, 1.7cqh, 16px);
    padding: clamp(20px, 4cqh, 34px) 42px 16px 18px;
}

.tests-intro.focus-hero {
    flex: 0 0 115px;
    min-height: 115px;
    padding: 14px 24px;
    border-radius: 22px;
}

.tests-intro.focus-hero .tests-intro-title {
    margin-top: 8px !important;
    font-size: clamp(16px, 3.8cqw, 20px);
}

.focus-copy {
    min-height: 0;
    flex: 0 0 auto;
    gap: clamp(9px, 1.4cqh, 13px);
}

.focus-area-card {
    min-height: 0;
    padding: clamp(13px, 2.1cqh, 18px) clamp(14px, 4cqw, 20px);
    border-radius: 20px;
    background-color: #fff;
    box-sizing: border-box;
}

.focus-area-header {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(7px, 1.1cqh, 10px);
}

.focus-area-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: #FA2301;
    color: #fff;
    font-family: Optima, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.focus-copy .focus-area-header h3 {
    color: #FA2301;
    font-family: Optima, sans-serif;
    font-size: clamp(13px, 3.5cqw, 16px);
    line-height: 1.15;
}

.focus-copy .focus-area-card p {
    font-size: clamp(15px, 3.4cqw, 16px);
    line-height: 1.3;
}

.focus-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
    transform: translateY(-4px);
}

.focus-action {
    min-width: 0;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 9px 10px;
    border-radius: 12px;
    box-sizing: border-box;
    color: #000;
    font-family: Optima, sans-serif;
    font-size: clamp(12px, 3.2cqw, 15px);
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
}

.focus-action .info-arrow {
    width: min(82%, 145px);
    height: 28px;
    min-height: 28px;
    align-self: center;
    margin-top: 7px;
    font-size: 21px;
}

.focus-action--back {
    background-color: transparent;
}

.focus-action--back .info-arrow {
    background-color: var(--orange-surface);
    color: #fff;
}

.focus-action--event {
    background-color: transparent;
    color: #000;
}

.focus-action--event .info-arrow {
    background-color: var(--dark-box);
    color: #fff;
}

.report-footer {
    width: 100%;
    min-height: 54px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: var(--dark-box);
    color: #fff;
    box-sizing: border-box;
}

.report-footer-logo,
.report-footer-copy {
    display: flex;
    justify-content: center;
    align-items: center;
}

.report-footer-logo {
    padding: 0 10px 0 4px;
}

.report-footer-logo img {
    width: 48px;
    height: auto;
    flex: none;
    object-fit: contain;
}

.report-footer-copy {
    min-width: 0;
    text-align: center;
}

.results-legend-copy {
    flex-wrap: wrap;
    gap: 5px 9px;
    font-size: 11px;
}

.tests-slide {
    align-items: stretch;
    gap: clamp(20px, 4cqh, 38px);
    padding: clamp(22px, 4cqh, 38px) 18px 24px;
    font-family: Optima, sans-serif;
}

.tests-intro {
    flex: 0 0 clamp(215px, 29cqh, 310px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 5cqh, 52px) clamp(24px, 8cqw, 68px);
    border-radius: clamp(34px, 8cqw, 56px);
    background-color: var(--orange-surface);
    box-sizing: border-box;
    color: #fff;
}

.tests-intro p {
    width: 100%;
    margin: 0;
    color: inherit;
    text-align: left;
    font-family: Optima, sans-serif;
}

.tests-intro .tests-intro-eyebrow {
    font-size: clamp(14px, 3.3cqw, 20px);
    font-weight: 200;
    line-height: 1.2;
}

.tests-intro .tests-intro-title {
    max-width: 520px;
    margin-top: clamp(12px, 1.8cqh, 20px) !important;
    font-size: clamp(18px, 4.2cqw, 27px);
    font-weight: 700;
    line-height: 1.2;
}

.tests-grid {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 4cqw, 32px);
}

.test-card,
.tests-return-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 6px;
    border: 0;
    border-radius: clamp(22px, 5cqw, 30px);
    box-sizing: border-box;
    text-align: center;
    font-family: Optima, sans-serif;
}

.test-card {
    background-color: #fff;
    color: #000;
    cursor: pointer;
}

.test-card-number {
    color: #FA2301;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
}

.test-card-name {
    margin-top: clamp(7px, 1.2cqh, 12px);
    font-family: Georgia, serif;
    font-size: clamp(20px, 5.2cqw, 34px);
    font-weight: 700;
    line-height: 1;
}

.test-card-unit {
    margin-top: clamp(6px, 1cqh, 10px);
    font-family: Georgia, serif;
    font-size: clamp(13px, 3.5cqw, 21px);
    font-weight: 400;
    line-height: 1;
}

.tests-return-card {
    width: 80%;
    height: 70%;
    place-self: center;
    background-color: var(--dark-box);
    color: #fff;
    cursor: pointer;
}

.tests-return-card strong {
    font-family: Georgia, serif;
    font-size: clamp(16px, 4cqw, 24px);
    font-weight: 500;
    line-height: 1;
}

.tests-return-card span {
    margin-top: 5px;
    font-family: Georgia, serif;
    font-size: clamp(12px, 3cqw, 18px);
    line-height: 1;
}

.tests-return-card .info-arrow {
    width: 72%;
    height: clamp(26px, 3.7cqh, 32px);
    align-self: center;
    margin-top: clamp(12px, 2cqh, 20px);
    background-color: #fff;
    color: #000;
    font-size: clamp(19px, 4cqw, 25px);
    pointer-events: none;
}

@media (max-height: 700px) {
    .tests-intro {
        flex-basis: 185px;
        padding-top: 22px;
        padding-bottom: 22px;
    }
}

.scroll-indicator {
    position: absolute;
    z-index: 2;
    top: clamp(20px, 4cqh, 34px);
    right: 14px;
    bottom: 25px;
    width: 18px;
    cursor: grab;
    touch-action: none;
}

body[data-page="report"] .scroll-indicator {
    top: 1cqh;
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    border-radius: 999px;
    background-color: #FA2301;
    transform: translateX(-50%);
}

.scroll-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: clamp(70px, 18%, 104px);
    border-radius: 999px;
    background-color: #FA2301;
    transform: translateY(0);
}

.scroll-indicator:active {
    cursor: grabbing;
}

.bottom {
    width: 100%;
    height: 28%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2cqh;
    overflow: hidden;
    opacity: 1;
    transition: none;
}

body.is-page-ready .bottom {
    transition: height 650ms ease, opacity 400ms ease;
}

.bottom-content {
    width: 90%;
    max-width: 430px;
    min-height: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background-color: var(--dark-box);
    box-sizing: border-box;
    color: #fff;
    font-family: Optima, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.audience-actions {
    width: 90%;
    max-width: 430px;
    flex: 0 0 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.audience-button {
    min-width: 0;
    width: 100%;
    height: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    gap: 4px;
    padding: 4px 5px 4px 10px;
    border: 0;
    border-radius: 999px;
    background-color: #E8E8E8;
    color: #000;
    font-family: Optima, sans-serif;
    font-size: clamp(10px, 2.8cqw, 13px);
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.audience-button-arrow {
    width: 30px;
    height: 20px;
    display: grid;
    place-items: center;
    justify-self: end;
    border-radius: 13px;
    background-color: #fff;
    font-size: 0;
    line-height: 1;
}

.audience-button-arrow::before {
    content: "→";
    font: 400 20px/1 Optima, sans-serif;
    transform: translateY(1px);
}

.audience-button:active {
    transform: scale(0.98);
}

.audience-button:focus-visible {
    outline: 2px solid #FA2301;
    outline-offset: 2px;
}

.contact-sheet.audience-code-sheet {
    height: min(300px, calc(100cqh - 24px));
    outline: 0;
}

.code-sheet-view {
    position: relative;
    z-index: 1;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.code-sheet-view[hidden] {
    display: none;
}

.audience-code-sheet h2 {
    text-align: center;
}

.audience-code-form {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0;
}

.audience-code-fields {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 48px);
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.audience-code-input {
    width: 48px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(12, 24, 53, 0.2);
    border-radius: 14px;
    outline: 0;
    background-color: rgba(255, 255, 255, 0.82);
    color: #0C1835;
    font: 600 24px/1 Optima, sans-serif;
    text-align: center;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.audience-code-input:focus {
    border-color: #FA2301;
    box-shadow: 0 0 0 2px rgba(250, 35, 1, 0.15);
}

.audience-code-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.audience-code-action {
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 14px;
    font: 500 16px/1 Optima, sans-serif;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.audience-code-cancel {
    background-color: #E8E8E8;
    color: #000;
}

.audience-code-continue {
    background-color: #FA2301;
    color: #fff;
}

.audience-code-action:active {
    transform: scale(0.98);
}

.audience-code-error {
    align-items: center;
    justify-content: center;
}

.audience-code-error h2 {
    width: 100%;
    text-align: center;
}

.contact-sheet .audience-code-error p {
    margin: 16px 0 0;
    color: #1d0b05;
    text-align: center;
    font-size: 18px;
}

.audience-code-error-close {
    width: 100%;
    margin-top: 24px;
    background-color: #0C1835;
    color: #fff;
}

.audience-code-error a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.event-info {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.event-kicker,
.event-details {
    margin: 0;
    font-size: clamp(12px, 3.5cqw, 15px);
    line-height: 1.15;
}

.event-kicker {
    font-size: 14px;
}

.event-title {
    margin: 6px 0 1px;
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1.05;
    white-space: nowrap;
}

.event-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
}

.event-actions .info-arrow {
    width: min(75%, 145px);
    height: 30px;
    align-self: auto;
    margin: 0;
    background-color: #fff;
    color: #FA2301;
    font-size: 22px;
}

.event-button {
    position: relative;
    overflow: hidden;
    min-height: 30px;
    padding: 5px 8px;
    border: 0;
    border-radius: 8px;
    background-color: #FF3B12;
    color: #fff;
    font: inherit;
    font-size: clamp(11px, 3.3cqw, 14px);
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease;
}

.event-button:hover {
    filter: brightness(1.18);
    transform: translateY(-2px) scale(1.02);
}

.event-button:active {
    filter: brightness(0.95);
    transform: translateY(1px) scale(0.98);
}

.event-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.event-button:not(.event-button--secondary) {
    animation: signupPulse 2.8s ease-in-out infinite;
}

.event-button:not(.event-button--secondary)::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -45%;
    width: 28%;
    height: 220%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.75),
        transparent
    );
    transform: rotate(18deg);
    animation: signupShimmer 2.8s ease-in-out infinite;
}

@keyframes signupShimmer {
    0%, 62% {
        left: -45%;
    }
    88%, 100% {
        left: 125%;
    }
}

@keyframes signupPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(255, 59, 18, 0);
    }
    50% {
        box-shadow: 0 0 13px rgba(255, 91, 47, 0.75);
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-button:not(.event-button--secondary),
    .event-button:not(.event-button--secondary)::after {
        animation: none;
    }
}

.event-button--secondary {
    background-color: var(--dark-box);
    color: #FA2301;
}

.event-date {
    width: 92px;
    height: auto;
    display: flex;
    align-self: stretch;
    justify-self: end;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background-color: #fff;
    color: #000;
    font-family: Georgia, serif;
    line-height: 1;
}

.event-weekday {
    color: #FA2301;
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1;
}

.event-day {
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1;
}

/* Bevar mobiloplevelsen på touchskærme og app-visningen i desktopbrowsere. */
@media (hover: hover) and (pointer: fine) {
    html {
        position: relative;
        isolation: isolate;
        width: 100%;
        height: auto;
        min-height: 100%;
        background-color: #e8cbbb;
        background-image:
            radial-gradient(circle at center, rgba(228, 145, 112, 0.2) 0%, rgba(225, 183, 151, 0.16) 28%, transparent 58%),
            linear-gradient(135deg, #e8c3b3 0%, #e6c69d 35%, #e7d1b9 68%, #cad9cf 100%);
        background-size: 88% 88%, 100% 100%;
        background-position: center, center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        animation: desktop-lava-flow 12s ease-in-out var(--lava-flow-delay, 0ms) infinite alternate;
        overflow-x: auto;
        overflow-y: auto;
        overscroll-behavior-y: auto;
    }

    html::before,
    html::after {
        content: "";
        position: fixed;
        z-index: -1;
        top: 50%;
        left: 50%;
        pointer-events: none;
        will-change: transform, filter, opacity;
    }

    html::before {
        width: 155vmax;
        height: 155vmax;
        border-radius: 50%;
        background: conic-gradient(
            from 8deg,
            transparent 0deg 14deg,
            rgba(242, 101, 67, 0.5) 23deg,
            rgba(243, 145, 99, 0.4) 38deg,
            transparent 57deg 83deg,
            rgba(239, 183, 116, 0.44) 98deg,
            rgba(241, 105, 70, 0.5) 116deg,
            transparent 137deg 169deg,
            rgba(235, 112, 76, 0.48) 187deg,
            rgba(239, 193, 139, 0.4) 207deg,
            transparent 229deg 263deg,
            rgba(239, 139, 105, 0.34) 281deg,
            rgba(237, 187, 154, 0.28) 303deg,
            transparent 326deg 360deg
        );
        -webkit-mask-image: radial-gradient(circle, transparent 0% 8%, #000 17% 54%, transparent 72%);
        mask-image: radial-gradient(circle, transparent 0% 8%, #000 17% 54%, transparent 72%);
        animation: desktop-solar-arms 22s ease-in-out var(--solar-arms-delay, 0ms) infinite alternate;
    }

    html::after {
        width: 32vmax;
        height: 32vmax;
        border-radius: 46% 54% 58% 42% / 55% 43% 57% 45%;
        background: radial-gradient(circle at 50% 50%, rgba(230, 100, 69, 0.72) 0%, rgba(238, 116, 79, 0.68) 17%, rgba(241, 126, 87, 0.6) 31%, rgba(240, 153, 110, 0.46) 49%, rgba(237, 190, 156, 0.18) 65%, transparent 76%);
        animation: desktop-solar-core 9s ease-in-out var(--solar-core-delay, 0ms) infinite alternate;
    }

    body {
        position: absolute;
        z-index: 1;
        inset: auto;
        top: 50%;
        left: 50%;
        width: 450px;
        min-width: 450px;
        max-width: 450px;
        height: 750px;
        min-height: 750px;
        max-height: 750px;
        margin: 0;
        border: 10px solid #000;
        border-radius: 46px;
        background-color: #FEF8F2;
        box-sizing: border-box;
        overflow: hidden;
        transform: translate(-50%, -50%);
        transform-origin: center;
    }

    .desktop-content {
        position: absolute;
        inset: 0;
        display: block;
        transform: scale(0.95);
        transform-origin: center;
    }

    .contact-sheet-layer {
        position: absolute;
        border-radius: 38px;
        overflow: hidden;
    }

    .desktop-experience-note {
        position: fixed;
        z-index: 2;
        top: 50%;
        left: calc(50% + 285px);
        display: block;
        width: min(310px, calc(50vw - 315px));
        min-width: 230px;
        color: rgba(255, 255, 255, 0.94);
        text-align: left;
        transform: translateY(-50%);
    }

    .desktop-experience-note h2 {
        margin: 0 0 14px;
        color: #fff;
        font-family: "Avenir Next", Avenir, Arial, sans-serif;
        font-size: 30px;
        font-style: italic;
        font-weight: 700;
        line-height: 1.05;
    }

    .desktop-experience-note p {
        max-width: 200px;
        margin: 0;
        font-family: Optima, "Palatino Linotype", Palatino, serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }
}

@keyframes desktop-lava-flow {
    0% {
        background-position: 44% 48%, center;
        background-size: 82% 88%, 100% 100%;
    }

    50% {
        background-position: 56% 52%, center;
        background-size: 94% 80%, 100% 100%;
    }

    100% {
        background-position: 48% 56%, center;
        background-size: 84% 94%, 100% 100%;
    }
}

@keyframes desktop-solar-arms {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(0.9, 1.08);
        filter: blur(42px) hue-rotate(0deg) saturate(0.86) brightness(1.04);
        opacity: 0.9;
    }

    50% {
        transform: translate(-50%, -50%) rotate(19deg) scale(1.08, 0.92);
        filter: blur(55px) hue-rotate(18deg) saturate(0.92) brightness(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) rotate(38deg) scale(0.94, 1.12);
        filter: blur(46px) hue-rotate(-14deg) saturate(0.88) brightness(1.04);
        opacity: 0.92;
    }
}

@keyframes desktop-solar-core {
    0% {
        transform: translate(-50%, -50%) rotate(-8deg) scale(0.9, 1.04);
        filter: blur(48px) hue-rotate(0deg) saturate(0.86) brightness(1.06);
    }

    50% {
        transform: translate(-50%, -50%) rotate(7deg) scale(1.08, 0.93);
        filter: blur(58px) hue-rotate(-12deg) saturate(0.92) brightness(1.05);
    }

    100% {
        transform: translate(-50%, -50%) rotate(15deg) scale(0.96, 1.1);
        filter: blur(52px) hue-rotate(16deg) saturate(0.88) brightness(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    html,
    html::before,
    html::after {
        animation: none !important;
    }
}

@media (hover: hover) and (pointer: fine) and (max-height: 789px) {
    body {
        position: relative;
        top: auto;
        left: auto;
        margin: 20px auto;
        transform: none;
        transform-origin: top center;
    }
}

@media (hover: hover) and (pointer: fine) and (max-width: 489px) {
    body {
        position: relative;
        top: auto;
        left: auto;
        margin: 20px;
        transform: none;
        transform-origin: top left;
    }
}
