@charset "UTF-8";

/* ==========================================================================
   Hero background & fact mark
   ========================================================================== */

body.fac-page {
    background-color: #8A8C8F;
}

body.fac-page footer.about-footer {
    position: relative;
    z-index: 2;
    color: #fff;
    background-color: #8A8C8F;
}

.fact-back-img {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.fact-back-img.is-hidden {
    display: none;
}

.fact-back-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.fact-back-img img:first-of-type {
    opacity: 1;
}

:root {
    --fact-mark-scale: 3.5;
}

.fact-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 24px));
    width: calc(240px * var(--fact-mark-scale));
    aspect-ratio: 1 / 1;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(.2, .6, .3, 1), transform 0.8s cubic-bezier(.2, .6, .3, 1);
}

.fact-mark.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.fact-mark svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: #fff;
}

.fact-mark__wordmark {
    fill: #fff;
}

.fact-mark__piece {
    transform-box: view-box;
    transform-origin: 0 0;
    animation-duration: 30.4s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.fact-mark__t-path {
    fill: #bee600;
}

.fact-mark__a {
    animation-name: fact-spin-a;
}

.fact-mark__c {
    animation-name: fact-spin-c;
}

.fact-mark__f {
    animation-name: fact-spin-f;
}

.fact-mark__t {
    animation-name: fact-spin-t;
}

/* ==========================================================================
   Fact mark spin keyframes
   cycle: 30.40s total = 8 x (3s hold + 0.8s move, ease-in-out on move)
   ========================================================================== */

@keyframes fact-spin-a {
    0.0000% {
        transform: translate(104.3031px, 81.0580px) rotate(0.0000deg) translate(-104.3031px, -81.0580px);
    }

    9.8684% {
        transform: translate(104.3031px, 81.0580px) rotate(0.0000deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    12.5000% {
        transform: translate(96.1601px, 117.6844px) rotate(47.3069deg) translate(-104.3031px, -81.0580px);
    }

    22.3684% {
        transform: translate(96.1601px, 117.6844px) rotate(47.3069deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    25.0000% {
        transform: translate(121.1781px, 83.0139px) rotate(163.0689deg) translate(-104.3031px, -81.0580px);
    }

    34.8684% {
        transform: translate(121.1781px, 83.0139px) rotate(163.0689deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    37.5000% {
        transform: translate(108.0068px, 117.2136px) rotate(78.3036deg) translate(-104.3031px, -81.0580px);
    }

    47.3684% {
        transform: translate(108.0068px, 117.2136px) rotate(78.3036deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    50.0000% {
        transform: translate(97.6475px, 121.8676px) rotate(177.4534deg) translate(-104.3031px, -81.0580px);
    }

    59.8684% {
        transform: translate(97.6475px, 121.8676px) rotate(177.4534deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    62.5000% {
        transform: translate(82.4582px, 117.0004px) rotate(49.9203deg) translate(-104.3031px, -81.0580px);
    }

    72.3684% {
        transform: translate(82.4582px, 117.0004px) rotate(49.9203deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    75.0000% {
        transform: translate(80.0358px, 102.7885px) rotate(170.8215deg) translate(-104.3031px, -81.0580px);
    }

    84.8684% {
        transform: translate(80.0358px, 102.7885px) rotate(170.8215deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    87.5000% {
        transform: translate(113.4193px, 79.1858px) rotate(229.9203deg) translate(-104.3031px, -81.0580px);
    }

    97.3684% {
        transform: translate(113.4193px, 79.1858px) rotate(229.9203deg) translate(-104.3031px, -81.0580px);
        animation-timing-function: ease-in-out;
    }

    100.0000% {
        transform: translate(104.3031px, 81.0580px) rotate(360.0000deg) translate(-104.3031px, -81.0580px);
    }
}

@keyframes fact-spin-c {
    0.0000% {
        transform: translate(75.1150px, 111.2998px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
    }

    9.8684% {
        transform: translate(75.1150px, 111.2998px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    12.5000% {
        transform: translate(123.5641px, 72.7889px) rotate(35.1349deg) translate(-75.1150px, -111.2998px);
    }

    22.3684% {
        transform: translate(123.5641px, 72.7889px) rotate(35.1349deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    25.0000% {
        transform: translate(119.4986px, 123.9351px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
    }

    34.8684% {
        transform: translate(119.4986px, 123.9351px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    37.5000% {
        transform: translate(70.8022px, 85.6799px) rotate(63.7430deg) translate(-75.1150px, -111.2998px);
    }

    47.3684% {
        transform: translate(70.8022px, 85.6799px) rotate(63.7430deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    50.0000% {
        transform: translate(121.7195px, 78.4831px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
    }

    59.8684% {
        transform: translate(121.7195px, 78.4831px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    62.5000% {
        transform: translate(110.2195px, 72.9150px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
    }

    72.3684% {
        transform: translate(110.2195px, 72.9150px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    75.0000% {
        transform: translate(106.2657px, 123.9352px) rotate(-0.0000deg) translate(-75.1150px, -111.2998px);
    }

    84.8684% {
        transform: translate(106.2657px, 123.9352px) rotate(-0.0000deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    87.5000% {
        transform: translate(85.6579px, 123.9352px) rotate(-180.0000deg) translate(-75.1150px, -111.2998px);
    }

    97.3684% {
        transform: translate(85.6579px, 123.9352px) rotate(-180.0000deg) translate(-75.1150px, -111.2998px);
        animation-timing-function: ease-in-out;
    }

    100.0000% {
        transform: translate(75.1150px, 111.2998px) rotate(0.0000deg) translate(-75.1150px, -111.2998px);
    }
}

@keyframes fact-spin-f {
    0.0000% {
        transform: translate(89.1013px, 58.7863px) rotate(0.0000deg) translate(-89.1013px, -58.7863px);
    }

    9.8684% {
        transform: translate(89.1013px, 58.7863px) rotate(0.0000deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    12.5000% {
        transform: translate(78.9586px, 73.7787px) rotate(-67.8527deg) translate(-89.1013px, -58.7863px);
    }

    22.3684% {
        transform: translate(78.9586px, 73.7787px) rotate(-67.8527deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    25.0000% {
        transform: translate(86.0319px, 69.7244px) rotate(-13.0670deg) translate(-89.1013px, -58.7863px);
    }

    34.8684% {
        transform: translate(86.0319px, 69.7244px) rotate(-13.0670deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    37.5000% {
        transform: translate(69.0056px, 63.3610px) rotate(-41.7564deg) translate(-89.1013px, -58.7863px);
    }

    47.3684% {
        transform: translate(69.0056px, 63.3610px) rotate(-41.7564deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    50.0000% {
        transform: translate(72.2675px, 67.7180px) rotate(-41.7564deg) translate(-89.1013px, -58.7863px);
    }

    59.8684% {
        transform: translate(72.2675px, 67.7180px) rotate(-41.7564deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    62.5000% {
        transform: translate(76.8218px, 72.0427px) rotate(138.2436deg) translate(-89.1013px, -58.7863px);
    }

    72.3684% {
        transform: translate(76.8218px, 72.0427px) rotate(138.2436deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    75.0000% {
        transform: translate(99.6294px, 67.7180px) rotate(-41.7564deg) translate(-89.1013px, -58.7863px);
    }

    84.8684% {
        transform: translate(99.6294px, 67.7180px) rotate(-41.7564deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    87.5000% {
        transform: translate(118.3331px, 124.4803px) rotate(48.2436deg) translate(-89.1013px, -58.7863px);
    }

    97.3684% {
        transform: translate(118.3331px, 124.4803px) rotate(48.2436deg) translate(-89.1013px, -58.7863px);
        animation-timing-function: ease-in-out;
    }

    100.0000% {
        transform: translate(89.1013px, 58.7863px) rotate(0.0000deg) translate(-89.1013px, -58.7863px);
    }
}

@keyframes fact-spin-t {
    0.0000% {
        transform: translate(113.6089px, 113.7164px) rotate(0.0000deg) translate(-113.6089px, -113.7164px);
    }

    9.8684% {
        transform: translate(113.6089px, 113.7164px) rotate(0.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    12.5000% {
        transform: translate(92.9743px, 86.9002px) rotate(180.0000deg) translate(-113.6089px, -113.7164px);
    }

    22.3684% {
        transform: translate(92.9743px, 86.9002px) rotate(180.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    25.0000% {
        transform: translate(88.6430px, 113.7164px) rotate(360.0000deg) translate(-113.6089px, -113.7164px);
    }

    34.8684% {
        transform: translate(88.6430px, 113.7164px) rotate(360.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    37.5000% {
        transform: translate(113.3054px, 80.4966px) rotate(540.0000deg) translate(-113.6089px, -113.7164px);
    }

    47.3684% {
        transform: translate(113.3054px, 80.4966px) rotate(540.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    50.0000% {
        transform: translate(89.4142px, 80.3346px) rotate(360.0000deg) translate(-113.6089px, -113.7164px);
    }

    59.8684% {
        transform: translate(89.4142px, 80.3346px) rotate(360.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    62.5000% {
        transform: translate(117.5442px, 102.4810px) rotate(540.0000deg) translate(-113.6089px, -113.7164px);
    }

    72.3684% {
        transform: translate(117.5442px, 102.4810px) rotate(540.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    75.0000% {
        transform: translate(116.6005px, 88.2994px) rotate(720.0000deg) translate(-113.6089px, -113.7164px);
    }

    84.8684% {
        transform: translate(116.6005px, 88.2994px) rotate(720.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    87.5000% {
        transform: translate(81.6529px, 93.7053px) rotate(540.0000deg) translate(-113.6089px, -113.7164px);
    }

    97.3684% {
        transform: translate(81.6529px, 93.7053px) rotate(540.0000deg) translate(-113.6089px, -113.7164px);
        animation-timing-function: ease-in-out;
    }

    100.0000% {
        transform: translate(113.6089px, 113.7164px) rotate(720.0000deg) translate(-113.6089px, -113.7164px);
    }
}

/* ==========================================================================
   Grid guide override
   ========================================================================== */

.fac-page .grid-guide {
    grid-template-rows: 1fr;
    z-index: 2;
}

.fac-page .grid-guide span {
    height: auto;
}

/* ==========================================================================
   Fact content grid
   ========================================================================== */

.fact-content {
    grid-column: 1 / -1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    z-index: 1;
    margin-top: 100vh;
    background-color: #8A8C8F;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    padding: 0 30px 180px;
    margin-bottom: -180px;
}

.fact-rule {
    display: contents;
}

.fact-rule hr {
    grid-column: 2 / 6;
    border-top: 1px solid #BEE600;
    margin-top: 100px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.fact-rule hr.is-visible {
    transform: scaleX(1);
}

.fact-rule .number {
    grid-column: 2 / 3;
    background-color: transparent;
}

.fact-rule .fact-text {
    grid-column: 3 / 6;
}

/* ==========================================================================
   Fact text typography
   ========================================================================== */

.fact-text {
    color: #fff;
}

.fact-text img {
    width: 100%;
    display: block;
}

.fact-text iframe {
    width: 100%;
    aspect-ratio: 3 / 2;
    display: block;
    margin-bottom: 40px;
}

.fact-text p {
    line-height: 1.8rem;
    margin-bottom: 20px;
}

.fact-text>p:last-child {
    margin-bottom: -40px;
}

.fact-text>img:last-child {
    margin-bottom: -40px;
}

.fact-text>:is(p, .fact-list):first-child {
    margin-top: calc((1em - 1.8rem) / 2);
}

.fact-text p:has(+ .fact-list) {
    margin-bottom: 20px;
}

/* ==========================================================================
   Lists
   ========================================================================== */

.fact-list {
    padding-left: 1em;
    margin-bottom: 20px;
}

.fact-list li {
    list-style: disc;
    line-height: 1.8rem;
}

.fact-list--ordered {
    padding-left: 0;
    list-style: none;
    counter-reset: fact-list-counter;
}

.fact-list--ordered li {
    counter-increment: fact-list-counter;
    display: flex;
}

.fact-list--ordered li::before {
    content: counter(fact-list-counter) ".";
    flex: 0 0 1.4em;
}

/* ==========================================================================
   Keyword highlight
   ========================================================================== */

.keyword {
    color: #000000;
    font-weight: bold;
    margin-bottom: 40px;
    width: fit-content;
    background-image: linear-gradient(#BEE600, #BEE600);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0% 100%;
    transition: background-size 0.7s cubic-bezier(.4, 0, .2, 1);
}

.keyword.is-visible {
    background-size: 100% 100%;
}

/* ==========================================================================
   Headings
   ========================================================================== */

.fact-rule h3 {
    grid-column: 2 / 3;
    justify-self: start;
    writing-mode: vertical-rl;
    align-self: start;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
}

.fact-rule h4 {
    font-size: 1.0rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.fact-text p+h4,
.fact-text table+h4 {
    margin-top: 40px;
}

/* ==========================================================================
   Table
   ========================================================================== */

.fact-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.fact-text>.fact-table:first-child {
    margin-top: -16px;
}

.fact-table:has(+ h4) {
    margin-bottom: 0;
}

.fact-table th {
    font-size: 0.9rem;
    font-weight: 500;
}

.fact-table th,
.fact-table td {
    text-align: left;
    padding: 16px 0;
    border-bottom: 1px solid #fff;
}

.fact-table th:first-child,
.fact-table td:first-child {
    width: 40%;
}

/* ==========================================================================
   Responsive (<= 800px)
   ========================================================================== */

@media (max-width: 800px) {
    :root {
        --fact-mark-scale: 2.0;
    }

    .fact-mark {
        top: 45%;
    }

    .fact-content {
        padding-left: 20px;
        padding-right: 20px;
        grid-template-columns: 1fr;
    }

    .fact-rule hr,
    .fact-rule .number,
    .fact-rule .fact-text,
    .fact-rule h3 {
        grid-column: 1 / -1;
    }

    .fact-rule hr {
        margin-top: 80px;
        margin-bottom: 20px;
    }

    .fact-rule .number {
        zoom: 0.6;
    }

    .fact-text>.fact-table:last-child {
        margin-bottom: 0;
    }

    .fact-rule h3 {
        writing-mode: horizontal-tb;
        margin-bottom: 20px;
        font-size: 1.2rem;
    }
}