@font-face {
    font-family: Inter;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --ink: #09090f;
    --surface: #11111c;
    --text: #f2f0fa;
    --muted: #b5b3c6;
    --accent: #ccbaff;
    --line: #bfb2f62b;
    --gutter: clamp(1.25rem, 5vw, 3.75rem);
    --nav-height: 4rem;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-padding-top: var(--nav-height);
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, p, dl, dd, blockquote {
    margin: 0;
}

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

button {
    font: inherit;
}

:focus-visible {
    outline: 2px solid #9270f2;
    outline-offset: 5px;
}

.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    z-index: 10;
    top: .5rem;
    left: .5rem;
    padding: .75rem 1rem;
    border-radius: .5rem;
    background: white;
    color: var(--ink);
}

.shell {
    width: min(100% - 2 * var(--gutter), 66rem);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 3;
    top: 0;
    background: #0d0d13;
    border-bottom: 1px solid var(--line);
    color: #f7f6fc;
}

@supports (backdrop-filter: blur(1px)) {
    .site-header {
        background: #0d0d13e8;
        backdrop-filter: blur(20px) saturate(125%);
    }
}

.site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1rem;
    min-height: calc(var(--nav-height) - 1px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: .6rem;
    min-height: 44px;
    font-size: 1.03rem;
    font-weight: 700;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.brand-mark {
    position: relative;
    width: 20px;
    height: 17px;
    color: var(--accent);
    background:
        linear-gradient(currentColor, currentColor) 5px bottom / 2px 14px no-repeat,
        linear-gradient(currentColor, currentColor) right 5px bottom / 2px 14px no-repeat;
}

.brand-mark::before, .brand-mark::after {
    position: absolute;
    content: "";
    inset-inline: 0;
    border-bottom: 2px solid;
}

.brand-mark::before {
    top: -2px;
    height: 5px;
    border-radius: 0 0 50% 50%;
}

.brand-mark::after {
    inset-inline: 2px;
    top: 7px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(.25rem, 2vw, 1.5rem);
}

.nav-links a, .nav-contact, .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: .45rem;
    font-size: .875rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--muted);
}

.nav-links a:hover, .nav-links a[aria-current="page"] {
    color: white;
    text-decoration: underline;
    text-underline-offset: .3em;
}

.nav-contact {
    justify-self: end;
    padding-inline: .9rem;
    border: 1px solid #ffffff38;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-contact:hover {
    background: #a583ed1f;
    border-color: #b69aff88;
}

.home-page main {
    background:
        radial-gradient(ellipse 36rem 23rem at 54% clamp(27rem, 52vw, 37rem), #733eb124, transparent),
        radial-gradient(ellipse 42rem 29rem at 2% 57%, #243b751a, transparent),
        var(--ink);
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-top: clamp(2.75rem, 5vw, 4.25rem);
    text-align: center;
}

.hero::before {
    position: absolute;
    inset: 20% 0 0;
    z-index: -1;
    background-image: linear-gradient(#a79ad61c 1px, transparent 1px),
        linear-gradient(90deg, #a79ad61c 1px, transparent 1px);
    background-position: center bottom;
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 51% 58% at 50% 69%, #000, transparent),
        linear-gradient(#000 77%, transparent);
    mask-composite: intersect;
    content: "";
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--accent);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero .eyebrow span {
    padding-inline: .3em;
}

.hero h1 {
    margin-top: .65rem;
    font-size: clamp(2.95rem, 7vw, 5.4rem);
    font-weight: 720;
    line-height: 1.06;
    letter-spacing: -.06em;
}

.title-mask {
    display: inline-block;
}

.title-mask > span {
    display: inline-block;
}

@supports (background-clip: text) {
    .hero h1 .title-mask > span {
        background: linear-gradient(175deg, #fff 37%, #c4b4e8 96%);
        background-clip: text;
        color: transparent;
    }
}

.hero-subtitle {
    margin-top: .65rem;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.26rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.035em;
}

.hero .button {
    margin-top: 1.25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 44px;
    padding: .65rem 1.05rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.35;
}

.button-primary {
    border: 1px solid #ede2ff88;
    background: linear-gradient(115deg, #dccdff, #bca4fa);
    color: #160b2c;
    box-shadow: 0 0 1.3rem #9462e930, inset 0 1px 0 #fff7;
}

.button-primary:hover {
    box-shadow: 0 0 1.65rem #bb91ff65, inset 0 1px 0 #fff7;
}

.arrow {
    display: inline-block;
    flex: none;
    width: .48em;
    height: .48em;
    border-top: 1.5px solid;
    border-right: 1.5px solid;
    transform: rotate(45deg);
}

.arrow-down {
    transform: translateY(-1px) rotate(135deg);
}

.arrow-left {
    transform: rotate(-135deg);
}

.arrow-up-right {
    position: relative;
    width: .55em;
    height: .55em;
    transform: translateY(-1px);
}

.arrow-up-right::before {
    position: absolute;
    right: 0;
    top: -1px;
    width: .7em;
    height: 1.5px;
    background: currentColor;
    transform: rotate(-45deg);
    transform-origin: right center;
    content: "";
}

.hero-art {
    position: relative;
    width: min(100%, 46rem);
    height: clamp(14.5rem, 63vw, 27rem);
    margin: -.75rem auto 0;
    overflow: clip;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent),
        linear-gradient(to bottom, transparent, black 12%, black 78%, transparent);
    mask-composite: intersect;
}

.hero-visual, .hero-visual img {
    position: absolute;
    inset: 0;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
}

.section {
    padding-block: clamp(3.25rem, 6.3vw, 5.3rem);
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.052em;
    text-wrap: balance;
}

.eyebrow + .section-title {
    margin-top: .45rem;
}

.section-copy {
    max-width: 48ch;
    color: var(--muted);
    font-size: clamp(.98rem, 1.5vw, 1.08rem);
    line-height: 1.6;
}

.section-heading {
    margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.home-page .about-band {
    padding-top: clamp(1.65rem, 4vw, 2.6rem);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem clamp(1.5rem, 6vw, 5rem);
}

@media (min-width: 42.01rem) {
    .about-intro > :last-child {
        padding-top: 1.25rem;
    }
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    margin-top: .25rem;
    color: var(--accent);
    font-size: .9rem;
    font-weight: 650;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: clamp(1.65rem, 4vw, 2.8rem);
}

.stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: start;
    gap: .4rem;
    padding-top: .8rem;
    border-top: 1px solid var(--line);
}

.stat dt {
    color: var(--muted);
    font-size: .84rem;
}

.stat dd {
    color: var(--text);
    font-size: clamp(1.65rem, 3.8vw, 2.5rem);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -.061em;
}

.expertise > .shell, .reviews > .shell {
    padding-top: clamp(2.4rem, 5vw, 3.5rem);
    border-top: 1px solid var(--line);
}

.expertise, .reviews {
    padding-top: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.feature {
    --card-light: #6650ab;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.05rem;
    padding: 1.1rem;
    background: radial-gradient(ellipse at 62% 0%, var(--card-light), transparent 70%), var(--surface);
}

.feature::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 9rem 7rem at var(--spot-x, 50%) var(--spot-y, 20%), #ad80ff44, transparent);
    opacity: 0;
    content: "";
}

.feature-bots {
    --card-light: #4b276e;
}

.feature-web {
    --card-light: #293d69;
}

.feature-licenses {
    --card-light: #463063;
}

.feature h3 {
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.feature p {
    margin-top: .35rem;
    max-width: 38ch;
    color: var(--muted);
    font-size: .875rem;
    line-height: 1.52;
}

.feature-art {
    position: relative;
    align-self: center;
    width: 13em;
    height: 10.5em;
    margin-bottom: .8rem;
    font-size: .74rem;
}

.feature-art span {
    position: absolute;
}

.app-art span {
    inset: .25em auto auto 3.7em;
    width: 5.25em;
    height: 9.45em;
    border: 1px solid #b8a0ebad;
    border-radius: 1.05em;
    background: linear-gradient(145deg, #7954bb, #281c40 68%);
    box-shadow: 0 15px 37px #08071098, inset 0 0 0 4px #201631c7;
    transform: rotate(-23deg);
}

.app-art span + span {
    inset: .85em auto auto 6.8em;
    background: radial-gradient(ellipse at 85% 60%, #b980f2, #6532aa 39%, #1c132f 70%);
    transform: rotate(15deg);
}

.app-art span::before {
    position: absolute;
    top: .55em;
    left: 50%;
    width: 1.55em;
    height: .3em;
    border-radius: .5em;
    background: #1a1029;
    transform: translateX(-50%);
    content: "";
}

.bot-art span {
    inset: 1.4em auto auto .6em;
    width: 7.45em;
    height: 4.65em;
    border-radius: 1.6em 1.6em 1.6em .4em;
    background: linear-gradient(150deg, #bda0ef, #8e61d2);
    box-shadow: 0 .9em 1.3em #55408738, inset 0 1px 1px #ffffff8f;
    transform: rotate(-13deg);
}

.bot-art span + span {
    inset: 4.55em .6em auto auto;
    border-radius: 1.6em 1.6em .4em 1.6em;
    background: linear-gradient(155deg, #7956d3, #482794);
    transform: rotate(13deg);
}

.bot-art span::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 36% 50%, #fff 3px, transparent 4px),
        radial-gradient(circle at 50% 50%, #fff 3px, transparent 4px),
        radial-gradient(circle at 64% 50%, #fff 3px, transparent 4px);
    content: "";
}

.web-art span {
    inset: .9em auto auto .4em;
    width: 10.75em;
    height: 6.8em;
    border: 1px solid #fff;
    border-radius: .85em;
    background: linear-gradient(145deg, #fbfbff, #c7c2dd);
    box-shadow: 0 .9em 1.65em #36345338;
    transform: rotate(-12deg);
}

.web-art span + span {
    inset: 2.5em .35em auto auto;
    transform: rotate(10deg);
}

.web-art span::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1.4em;
    border-bottom: 1px solid #c3bfd6;
    background: radial-gradient(circle at 13px 11px, #746397 2px, transparent 2.5px),
        radial-gradient(circle at 22px 11px, #746397 2px, transparent 2.5px),
        radial-gradient(circle at 31px 11px, #746397 2px, transparent 2.5px);
    content: "";
}

.web-art span::after {
    position: absolute;
    inset: 2em .7em .7em;
    border-radius: .4em;
    background: linear-gradient(125deg, #e7d9ff, #a48bd2 62%, #7d64b3);
    content: "";
}

.license-art span {
    top: .5em;
    left: 4em;
    width: 5.3em;
    height: 8.75em;
    border: 2px solid #c5aaf469;
    border-radius: 50% 50% 42% 42% / 32% 32% 60% 60%;
    background: linear-gradient(125deg, #c3a8ff, #674f99 38%, #251b3b 65%, #ae88e6);
    box-shadow: 0 18px 35px #080711ba, inset 0 1px 1px #f5ddffa6;
    transform: rotate(25deg);
}

.license-art span + span {
    inset: 3.45em auto auto 5.15em;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background: #1d142c;
    box-shadow: inset 0 .35em 1em #100a18, 0 1px 2px #ccadff60;
}

.license-art span + span::before {
    position: absolute;
    inset: .74em auto auto 50%;
    width: .7em;
    height: 1.45em;
    background: #cfb9fd;
    clip-path: polygon(28% 0, 72% 0, 100% 18%, 100% 37%, 70% 52%, 77% 100%, 23% 100%, 30% 52%, 0 37%, 0 18%);
    transform: translateX(-50%);
    content: "";
}

.review-panel {
    max-width: 100%;
    padding: clamp(1.1rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 1.05rem;
    background: linear-gradient(130deg, #1c142d, var(--surface) 64%);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: .65rem;
}

.quote-mark {
    display: block;
    height: .78em;
    color: #b398f0;
    font-size: 3.7rem;
    font-weight: 650;
    line-height: 1;
}

.review-stage {
    display: grid;
    gap: 1.4rem;
}

.review {
    max-width: 75ch;
    font-size: clamp(1rem, 1.7vw, 1.13rem);
    line-height: 1.65;
}

.reviews-enhanced .review {
    display: none;
}

.reviews-enhanced .review.is-current {
    display: block;
}

.review-controls {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: .4rem;
}

.review-position {
    min-width: 2.9rem;
    color: var(--muted);
    font-size: .83rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.icon-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #221936;
    color: var(--accent);
    cursor: pointer;
}

.icon-button:hover {
    background: #382654;
}

.icon-button:active {
    background: #46336a;
}

.contact {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: radial-gradient(ellipse 36rem 19rem at 50% 112%, #331b535c, transparent);
    text-align: center;
}

.contact::before {
    position: absolute;
    z-index: -1;
    top: 58%;
    left: 50%;
    width: min(160%, 78rem);
    height: 20rem;
    border: 1px solid #a77cf638;
    border-radius: 50%;
    box-shadow: 0 -.6rem 2.5rem #6d48bb20;
    mask-image: linear-gradient(black, transparent 35%);
    translate: -50%;
    content: "";
}

.contact .section-copy {
    margin: .7rem auto 1.15rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--ink);
    color: var(--muted);
    font-size: .82rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .35rem 1rem;
    padding-block: .8rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.profile-page main {
    background: radial-gradient(ellipse 33rem 19rem at 72% 13rem, #302146a1, transparent), var(--ink);
}

.profile-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.profile-hero .section-title {
    font-size: clamp(2.85rem, 6vw, 4.75rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.profile-hero .section-copy {
    margin-top: .85rem;
}

.profile-art {
    display: grid;
    justify-items: center;
}

.profile-art img {
    width: min(100%, 14.5rem);
    height: auto;
    border: 1px solid #e3ceff73;
    border-radius: 1.15rem;
    box-shadow: 0 1.5rem 5rem #16092e90;
}

@media (max-width: 62rem) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 42rem) {
    :root {
        --nav-height: 6rem;
    }

    .site-nav {
        grid-template-columns: 1fr 1fr;
        padding-top: .3rem;
    }

    .nav-links {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .about-intro, .profile-layout {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.45rem;
    }

    .profile-art {
        justify-items: start;
    }

    .profile-art img {
        width: min(100%, 12rem);
    }
}

@media (max-width: 31rem) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 5.5rem;
        align-items: center;
        gap: .7rem;
        padding: .95rem;
    }

    .feature-art {
        grid-area: 1 / 2;
        justify-self: center;
        margin-bottom: 0;
        font-size: .47rem;
    }

    .feature-copy {
        grid-area: 1 / 1;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .site-header {
        background: #0d0d13;
        backdrop-filter: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .hero-copy > :not(h1), .profile-copy > :not(h1), .profile-art, .stat.is-revealed,
    .section-heading.is-revealed .eyebrow, .about-intro.is-revealed:not(:focus-within) .eyebrow,
    .about-intro.is-revealed:not(:focus-within) > :last-child,
    .contact-copy.is-revealed:not(:focus-within) > :not(.section-title) {
        animation: reveal 720ms var(--ease-out) var(--stagger, 0ms) backwards;
    }

    .feature:nth-child(2), .stat:nth-child(2) {
        --stagger: 65ms;
    }

    .feature:nth-child(3), .stat:nth-child(3), .contact-copy > .section-copy {
        --stagger: 130ms;
    }

    .profile-art, .feature:nth-child(4), .stat:nth-child(4),
    .hero-subtitle, .profile-copy .section-copy, .contact-copy > .button {
        --stagger: 195ms;
    }

    .hero-copy > .button, .about-intro > :last-child {
        --stagger: 260ms;
    }

    .title-mask {
        overflow: clip;
        overflow-clip-margin: .12em;
    }

    .title-mask > span {
        animation: title-rise 900ms var(--ease-out) 50ms backwards;
    }

    .title-mask ~ .title-mask > span {
        animation-delay: 145ms;
    }

    .reveal.is-revealed:not(:focus-within) .section-title {
        animation: heading-reveal 760ms var(--ease-out) 65ms backwards;
    }

    .feature.is-revealed, .review-panel.is-revealed:not(:focus-within) {
        animation: panel-reveal 820ms var(--ease-out) var(--stagger, 0ms) backwards;
    }

    .feature.is-revealed .feature-art {
        animation: illustration-reveal 900ms var(--ease-out) calc(var(--stagger, 0ms) + 90ms) backwards;
    }

    .hero-copy > :focus-visible {
        animation: none;
    }

    .hero-visual img {
        animation: torii-entry 1.25s var(--ease-out) both;
    }

    .reviews-enhanced .review.is-current {
        animation: review-slide 420ms var(--ease-out) both;
    }

    .nav-contact, .button, .icon-button {
        transition: background-color 200ms ease, border-color 200ms ease,
            box-shadow 260ms ease, transform 240ms var(--ease-out);
    }

    .button .arrow, .text-link .arrow, .icon-button .arrow {
        transition: translate 240ms var(--ease-out);
    }

    @media (hover: hover) {
        .button:hover {
            transform: translateY(-2px);
        }

        .button:hover .arrow-down {
            translate: 0 3px;
        }

        .button:hover .arrow-up-right {
            translate: 2px -2px;
        }

        .text-link:hover .arrow, .icon-button:hover .arrow-right {
            translate: 3px;
        }

        .icon-button:hover .arrow-left {
            translate: -3px;
        }
    }

    .button:active, .icon-button:active {
        transform: scale(.95);
    }

    @media (hover: hover) and (pointer: fine) {
        .feature {
            transition: border-color 280ms ease;
        }

        .feature::before {
            transition: opacity 420ms ease;
        }

        .feature-art {
            translate: 0 0;
            rotate: 0deg;
            transition: translate 320ms var(--ease-out), rotate 320ms var(--ease-out);
        }

        .feature.is-tracking {
            border-color: #ba9df66e;
        }

        .feature.is-tracking::before {
            opacity: 1;
        }

        .feature.is-tracking .feature-art {
            translate: var(--art-x, 0px) var(--art-y, 0px);
            rotate: var(--art-angle, 0deg);
        }
    }

    @keyframes reveal {
        from { opacity: 0; translate: 0 1.15rem; }
        to { opacity: 1; translate: 0 0; }
    }

    @keyframes title-rise {
        from { opacity: 0; transform: translateY(120%); }
        42% { opacity: 1; }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes heading-reveal {
        from { opacity: 0; clip-path: inset(-10% 0 100% 0); translate: 0 .42em; }
        to { opacity: 1; clip-path: inset(-10% 0 -16% 0); translate: 0 0; }
    }

    @keyframes panel-reveal {
        from { opacity: 0; transform: perspective(750px) translateY(1.65rem) rotateX(10deg) scale(.97); }
        to { opacity: 1; transform: perspective(750px) translateY(0) rotateX(0) scale(1); }
    }

    @keyframes illustration-reveal {
        from { opacity: 0; transform: translateY(.85rem) scale(.85); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @keyframes torii-entry {
        from { opacity: .18; transform: translateY(1rem) scale(1.055); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @keyframes review-slide {
        from { opacity: 0; translate: var(--review-offset, 0px) 0; }
        to { opacity: 1; translate: 0 0; }
    }

    @supports (mask-mode: luminance) {
        .hero-visual::after {
            position: absolute;
            inset: 0;
            background: linear-gradient(105deg, transparent 44%, #b580ff40 49%, #e6d1ff9e 50%, transparent 54%);
            background-size: 280% 100%;
            mask: url("../images/torii-hero-small.webp") center 56% / cover no-repeat;
            mask-mode: luminance;
            mix-blend-mode: screen;
            pointer-events: none;
            animation: torii-light 1.45s ease-in-out 330ms both;
            content: "";
        }

        @keyframes torii-light {
            from { background-position: 100% 0; opacity: 0; }
            25%, 72% { opacity: 1; }
            to { background-position: 0 0; opacity: 0; }
        }
    }

    @supports (animation-timeline: view()) {
        .hero-art {
            view-timeline-name: --torii;
        }

        .hero-visual {
            animation: torii-depth linear both;
            animation-timeline: --torii;
            animation-range: exit 0% exit 85%;
        }

        @keyframes torii-depth {
            from { transform: translateY(0) scale(1); }
            to { transform: translateY(1.5rem) scale(1.09); }
        }
    }
}

@media (forced-colors: active) {
    .hero h1 .title-mask > span {
        color: CanvasText;
    }
}
