:root {
    --font-latin: "Montserrat";
    --font-logo: "Krona One";
    --font-works-heading:
        var(--font-latin),
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    --font-works-year:
        "Dosis",
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

html {
    scrollbar-gutter: stable;
}

html:lang(ko) {
    --font-cjk-primary: "Noto Sans KR";
    --font-cjk-secondary: "Noto Sans JP";
}

html:lang(ja) {
    --font-cjk-primary: "Noto Sans JP";
    --font-cjk-secondary: "Noto Sans KR";
}

body {
    font-family:
        var(--font-latin),
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
}

.about-preview {
    padding-block: clamp(5rem, 10vw, 8.75rem);
    background-color: rgb(255, 255, 255);
}

.section-eyebrow {
    margin: 0;
    color: rgb(17, 17, 17);
    font-family:
        var(--font-latin),
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    font-size: clamp(0.875rem, 1.3vw, 1rem);
    font-weight: 500;
    letter-spacing: clamp(0.25rem, 0.8vw, 0.625rem);
    line-height: 1.5;
    text-transform: uppercase;
}

.section-heading {
    color: rgb(17, 17, 17);
    font-family:
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.section-heading--with-eyebrow {
    margin: clamp(1.5rem, 3vw, 2rem) 0 0;
}

.about-preview__media {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.about-preview__body {
    max-width: 48rem;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    text-align: left;
}

.about-preview__paragraph {
    margin: 0;
    color: rgb(102, 102, 102);
    font-family:
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    font-size: clamp(1rem, 0.85rem + 0.3vw, 1.125rem);
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

html[lang="ko"] .about-preview__paragraph {
    overflow-wrap: normal;
    word-break: keep-all;
}

html[lang="ja"] .about-preview__paragraph {
    line-break: strict;
    overflow-wrap: normal;
    word-break: auto-phrase;
}

@media (min-width: 768px) {
    .about-preview__body {
        text-align: center;
    }
}

.about-preview__paragraph + .about-preview__paragraph {
    margin-top: 1.25rem;
}

.about-preview__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    background-color: transparent;
    color: rgb(17, 17, 17);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}

.about-preview__cta:link,
.about-preview__cta:visited,
.about-preview__cta:hover,
.about-preview__cta:focus,
.about-preview__cta:active {
    background-color: transparent;
    color: rgb(17, 17, 17);
    text-decoration: none;
}

.about-preview__cta:focus-visible {
    outline: 2px solid rgb(17, 17, 17);
    outline-offset: 0.25rem;
}

.about-preview__cta-arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.about-preview__cta:hover .about-preview__cta-arrow,
.about-preview__cta:focus-visible .about-preview__cta-arrow {
    transform: translateX(0.35rem);
}

.works-preview {
    padding-block: clamp(6.25rem, 9.75vw, 8.75rem);
    overflow: clip;
    background-color: rgb(250, 249, 247);
}

.works-preview__container {
    max-width: 81.5rem;
}

.works-preview__title {
    margin: 0 0 clamp(3.5rem, 5vw, 4.375rem);
    color: rgb(17, 17, 17);
    font-family: var(--font-works-heading);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 500;
    letter-spacing: clamp(0.25rem, 0.8vw, 0.625rem);
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}

.works-preview__grid {
    --works-grid-gap: 1.875rem;
    display: grid;
    grid-template-columns: repeat(
        var(--works-columns, 1),
        minmax(0, 1fr)
    );
    align-items: start;
    gap: clamp(2.25rem, 7vw, 3.5rem) var(--works-grid-gap);
}

.works-card {
    position: relative;
    min-width: 0;
    outline: none;
    transition:
        opacity 0.72s cubic-bezier(0.3, 0.1, 0.58, 1),
        transform 0.72s cubic-bezier(0.3, 0.1, 0.58, 1);
    transition-delay: calc(var(--works-reveal-order, 0) * 65ms);
}

.works-preview.is-enhanced .works-card:not(.is-visible) {
    opacity: 0;
    transform: translateY(1.25rem);
}

.works-card__media {
    position: relative;
    overflow: hidden;
    background-color: rgb(232, 232, 232);
}

.works-card__link {
    display: block;
    height: 100%;
    color: inherit;
    outline: none;
    text-decoration: none;
}

.works-card__link:focus-visible {
    outline: 2px solid rgb(17, 17, 17);
    outline-offset: 0.25rem;
}

.works-card__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position:
        var(--works-focal-x, 50%)
        var(--works-focal-y, 50%);
    transform: scale(var(--works-zoom, 1));
    transform-origin:
        var(--works-focal-x, 50%)
        var(--works-focal-y, 50%);
}

.works-card--wide .works-card__image {
    aspect-ratio: 2 / 1;
}

.works-card--portrait .works-card__image {
    aspect-ratio: 2 / 3;
}

.works-card--wide-square .works-card__image {
    aspect-ratio: 1;
}

.works-card__caption {
    padding-top: 1.125rem;
    background-color: rgb(255, 255, 255);
}

.works-card__title {
    margin: 0;
    color: rgb(17, 17, 17);
    font-family:
        var(--font-latin),
        "Noto Sans JP",
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    overflow-wrap: anywhere;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.6;
}

.works-card__category {
    margin: 0.5rem 0 0;
    color: rgb(102, 102, 102);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    line-height: 1.6;
}

.works-card__year {
    font-family: var(--font-works-year);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.32em;
}

.works-preview__cta {
    margin-top: clamp(3.5rem, 5vw, 4.375rem);
}

.works-preview__more {
    display: flex;
    min-height: 3.125rem;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    padding: 0.75rem 3rem;
    background-color: rgb(238, 238, 238);
    color: rgb(17, 17, 17);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.3s cubic-bezier(0.3, 0.1, 0.58, 1),
        color 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.works-preview__more:hover,
.works-preview__more:focus-visible {
    background-color: rgba(238, 238, 238, 0.7);
    color: rgb(17, 17, 17);
}

.works-preview__more:focus-visible {
    outline: 2px solid rgb(17, 17, 17);
    outline-offset: 0.25rem;
}

.works-preview__more-arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.works-preview__more:hover .works-preview__more-arrow,
.works-preview__more:focus-visible .works-preview__more-arrow {
    transform: translateX(0.35rem);
}

@media (min-width: 501px) {
    .works-preview__grid {
        grid-auto-rows: var(--works-row-size, auto);
        align-items: stretch;
        gap: var(--works-grid-gap);
    }

    .works-card,
    .works-card__media {
        height: 100%;
    }

    .works-card__image {
        position: absolute;
        inset: 0;
        height: 100%;
        aspect-ratio: auto;
    }

    .works-card__caption {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 0.875rem 1rem;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .works-card__category {
        margin-top: 0.25rem;
    }
}

@media (min-width: 993px) and (hover: hover) and (pointer: fine) {
    .works-card__media::after {
        position: absolute;
        z-index: 1;
        inset: 0;
        background-color: rgba(255, 255, 255, 0.82);
        content: "";
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
    }

    .works-card__caption {
        top: 100%;
        bottom: auto;
        width: 100%;
        padding: 1.25rem;
        background-color: transparent;
        opacity: 0;
        text-align: center;
        transform: translateY(-50%);
        transition:
            top 0.3s cubic-bezier(0.3, 0.1, 0.58, 1),
            opacity 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
    }

    .works-card__category {
        margin-top: 0.5rem;
    }

    .works-card:hover .works-card__media::after,
    .works-card:focus-within .works-card__media::after {
        opacity: 1;
    }

    .works-card:hover .works-card__caption,
    .works-card:focus-within .works-card__caption {
        top: 50%;
        opacity: 1;
    }
}

.home-works-lightbox {
    background-color: rgba(0, 0, 0, 0.18);
}

.home-works-lightbox__dialog {
    width: min(94vw, 100rem);
    max-width: none;
    height: calc(100% - 2rem);
    margin: 1rem auto;
}

.home-works-lightbox__content {
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background-color: rgb(14, 14, 14);
    box-shadow: none;
    color: rgb(255, 255, 255);
}

.home-works-lightbox__close,
.home-works-lightbox__navigation {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-color: rgba(14, 14, 14, 0.62);
    color: rgb(255, 255, 255);
    line-height: 1;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.home-works-lightbox__close:hover,
.home-works-lightbox__close:focus-visible,
.home-works-lightbox__navigation:hover,
.home-works-lightbox__navigation:focus-visible {
    border-color: rgb(255, 255, 255);
    background-color: rgba(14, 14, 14, 0.9);
}

.home-works-lightbox__close:focus-visible,
.home-works-lightbox__navigation:focus-visible {
    outline: 2px solid rgb(255, 255, 255);
    outline-offset: 0.2rem;
}

.home-works-lightbox__close {
    position: absolute;
    z-index: 4;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 300;
}

.home-works-lightbox__body {
    min-height: 0;
    padding: clamp(4.5rem, 7vh, 6rem) clamp(1rem, 4vw, 4rem)
        clamp(1.25rem, 3vh, 2rem);
}

.home-works-lightbox__figure {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.home-works-lightbox__stage {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding-inline: clamp(0.25rem, 5vw, 5rem);
}

.home-works-lightbox__image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 10rem);
    object-fit: contain;
}

.home-works-lightbox__navigation {
    position: absolute;
    z-index: 2;
    top: 50%;
    font-size: 1.5rem;
    transform: translateY(-50%);
}

.home-works-lightbox__navigation--previous {
    left: 0;
}

.home-works-lightbox__navigation--next {
    right: 0;
}

.home-works-lightbox__title {
    max-width: min(50rem, 90vw);
    margin-top: 1rem;
    color: rgb(255, 255, 255);
    font-family:
        var(--font-latin),
        "Noto Sans JP",
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    overflow-wrap: anywhere;
    font-size: clamp(0.875rem, 1.4vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 500px) {
    .works-preview__more {
        padding-inline: 1.5rem;
    }

    .home-works-lightbox__dialog {
        width: calc(100vw - 1rem);
        height: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    .home-works-lightbox__close,
    .home-works-lightbox__navigation {
        width: 2.75rem;
        height: 2.75rem;
    }

    .home-works-lightbox__close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .home-works-lightbox__body {
        padding: 4rem 0.5rem 1rem;
    }

    .home-works-lightbox__stage {
        padding-inline: 0;
    }

    .home-works-lightbox__image {
        max-height: calc(100dvh - 9rem);
    }

    .home-works-lightbox__navigation {
        background-color: rgba(14, 14, 14, 0.78);
    }

    .home-works-lightbox__title {
        max-width: calc(100vw - 2.5rem);
        margin-top: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-preview__cta-arrow,
    .works-card,
    .works-card__media::after,
    .works-card__caption,
    .home-works-lightbox__close,
    .home-works-lightbox__navigation,
    .works-preview__more,
    .works-preview__more-arrow {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .works-preview.is-enhanced .works-card:not(.is-visible) {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Subpage Hero component */
.subpage-hero {
    --subpage-hero-height: 440px;
    --subpage-hero-overlay: 0.35;
    position: relative;
    width: 100%;
    height: var(--subpage-hero-height);
    min-height: 240px;
    overflow: hidden;
    background: rgb(25, 27, 30);
    color: rgb(255, 255, 255);
    isolation: isolate;
}

.subpage-hero--compact {
    --subpage-hero-height: 280px;
}

.subpage-hero--standard {
    --subpage-hero-height: 440px;
}

.subpage-hero--full,
.subpage-hero--slider,
.subpage-hero--height-full {
    --subpage-hero-height: 100vh;
}

.subpage-hero__slide,
.subpage-hero__media,
.subpage-hero__overlay,
.subpage-hero__content {
    position: absolute;
    inset: 0;
}

.subpage-hero__slide {
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms cubic-bezier(0.3, 0.1, 0.58, 1);
}

.subpage-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.subpage-hero__media {
    z-index: 0;
    background-image: var(--subpage-hero-image);
    background-position: var(--subpage-hero-position, center center);
    background-repeat: no-repeat;
    background-size: cover;
}

.subpage-hero__overlay {
    z-index: 1;
    background: rgb(16 18 21 / var(--subpage-hero-overlay));
}

.subpage-hero__content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    align-items: center;
    justify-content: center;
    max-width: 960px;
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-right: clamp(1rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
    padding-left: clamp(1rem, 4vw, 3rem);
    text-align: center;
}

.subpage-hero__title {
    max-width: 100%;
    margin: 0;
    color: inherit;
    font-family:
        var(--font-works-heading),
        sans-serif;
    font-size: clamp(1.6875rem, 3.96vw, 3.375rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.subpage-hero__subtitle {
    max-width: 760px;
    margin: 0;
    color: inherit;
    font-family:
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.75;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.subpage-hero--slider .subpage-hero__content {
    padding-right: clamp(4rem, 9vw, 7rem);
    padding-left: clamp(4rem, 9vw, 7rem);
}

.subpage-hero--slider .subpage-hero__title,
.subpage-hero--slider .subpage-hero__subtitle {
    opacity: 0;
    transform: var(--subpage-hero-text-start-transform);
    will-change: opacity, transform;
}

.subpage-hero__text--animation-fade-up {
    --subpage-hero-text-animation: subpage-hero-text-enter;
    --subpage-hero-text-start-transform: translate3d(0, 22px, 0);
}

.subpage-hero__text--animation-fade-down {
    --subpage-hero-text-animation: subpage-hero-text-enter;
    --subpage-hero-text-start-transform: translate3d(0, -22px, 0);
}

.subpage-hero__text--animation-fade-left {
    --subpage-hero-text-animation: subpage-hero-text-enter;
    --subpage-hero-text-start-transform: translate3d(22px, 0, 0);
}

.subpage-hero__text--animation-fade-right {
    --subpage-hero-text-animation: subpage-hero-text-enter;
    --subpage-hero-text-start-transform: translate3d(-22px, 0, 0);
}

.subpage-hero__text--animation-zoom {
    --subpage-hero-text-animation: subpage-hero-text-enter;
    --subpage-hero-text-start-transform: scale(0.96);
}

.subpage-hero__text--animation-vortex-fade-down {
    --subpage-hero-text-animation: subpage-hero-vortex-fade-down;
    --subpage-hero-text-duration: 820ms;
    --subpage-hero-text-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --subpage-hero-text-start-transform: translate3d(0, -38px, 0);
}

.subpage-hero__text--animation-vortex-bounce-down {
    --subpage-hero-text-animation: subpage-hero-vortex-bounce-down;
    --subpage-hero-text-duration: 940ms;
    --subpage-hero-text-easing: cubic-bezier(0.215, 0.61, 0.355, 1);
    --subpage-hero-text-start-transform: translate3d(0, -44px, 0);
}

.subpage-hero__text--animation-vortex-bounce-left {
    --subpage-hero-text-animation: subpage-hero-vortex-bounce-left;
    --subpage-hero-text-duration: 940ms;
    --subpage-hero-text-easing: cubic-bezier(0.215, 0.61, 0.355, 1);
    --subpage-hero-text-start-transform: translate3d(-44px, 0, 0);
}

.subpage-hero__text--animation-vortex-rotate-in {
    --subpage-hero-text-animation: subpage-hero-vortex-rotate-in;
    --subpage-hero-text-duration: 820ms;
    --subpage-hero-text-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --subpage-hero-text-start-transform: rotate(-9deg) scale(0.98);
    transform-origin: center center;
}

.subpage-hero__text--animation-vortex-rotate-up-right {
    --subpage-hero-text-animation: subpage-hero-vortex-rotate-up-right;
    --subpage-hero-text-duration: 920ms;
    --subpage-hero-text-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --subpage-hero-text-start-transform:
        translate3d(24px, 18px, 0) rotate(9deg) scale(0.98);
    transform-origin: right bottom;
}

.subpage-hero--slider
    .subpage-hero__slide.is-active.is-text-animating
    .subpage-hero__title,
.subpage-hero--slider
    .subpage-hero__slide.is-active.is-text-animating
    .subpage-hero__subtitle {
    animation-name: var(--subpage-hero-text-animation);
    animation-duration: var(--subpage-hero-text-duration, 720ms);
    animation-delay: var(--subpage-hero-text-delay, 0ms);
    animation-timing-function: var(
        --subpage-hero-text-easing,
        cubic-bezier(0.22, 1, 0.36, 1)
    );
    animation-fill-mode: both;
}

@keyframes subpage-hero-text-enter {
    from {
        opacity: 0;
        transform: var(--subpage-hero-text-start-transform);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes subpage-hero-vortex-fade-down {
    from {
        opacity: 0;
        transform: var(--subpage-hero-text-start-transform);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes subpage-hero-vortex-bounce-down {
    0% {
        opacity: 0;
        transform: var(--subpage-hero-text-start-transform);
    }

    54% {
        opacity: 1;
        transform: translate3d(0, 7px, 0);
    }

    72% {
        transform: translate3d(0, -4px, 0);
    }

    88% {
        transform: translate3d(0, 2px, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes subpage-hero-vortex-bounce-left {
    0% {
        opacity: 0;
        transform: var(--subpage-hero-text-start-transform);
    }

    54% {
        opacity: 1;
        transform: translate3d(7px, 0, 0);
    }

    72% {
        transform: translate3d(-4px, 0, 0);
    }

    88% {
        transform: translate3d(2px, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes subpage-hero-vortex-rotate-in {
    from {
        opacity: 0;
        transform: var(--subpage-hero-text-start-transform);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes subpage-hero-vortex-rotate-up-right {
    0% {
        opacity: 0;
        transform: var(--subpage-hero-text-start-transform);
    }

    68% {
        opacity: 1;
        transform: translate3d(-2px, -1px, 0) rotate(-1deg);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.subpage-hero__control {
    position: absolute;
    z-index: 3;
    top: 50%;
    bottom: auto;
    display: block;
    width: 40px;
    height: 40px;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgb(255, 255, 255);
    color: rgb(17, 17, 17);
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 40px;
    opacity: 0;
    text-align: center;
    transform: translateY(-50%);
    transition:
        left 0.3s cubic-bezier(0.3, 0.1, 0.58, 1),
        right 0.3s cubic-bezier(0.3, 0.1, 0.58, 1),
        opacity 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.subpage-hero__control--prev {
    right: auto;
    left: -20px;
    margin-left: 10px;
}

.subpage-hero__control--next {
    right: -20px;
    left: auto;
    margin-right: 10px;
}

.subpage-hero__control .fa {
    line-height: inherit;
}

.subpage-hero__control:focus:not(:focus-visible) {
    outline: none;
}

.subpage-hero__control--prev:focus-visible {
    left: 0;
}

.subpage-hero__control--next:focus-visible {
    right: 0;
}

.subpage-hero__control:focus-visible {
    color: rgb(17, 17, 17);
    opacity: 0.8;
    outline: 2px solid rgb(255, 255, 255);
    outline-offset: 3px;
}

@media (hover: hover) {
    .subpage-hero--slider:hover .subpage-hero__control--prev {
        left: 0;
        opacity: 0.5;
    }

    .subpage-hero--slider:hover .subpage-hero__control--next {
        right: 0;
        opacity: 0.5;
    }

    .subpage-hero--slider .subpage-hero__control:hover {
        color: rgb(17, 17, 17);
        opacity: 0.8;
    }
}

.subpage-hero-preview {
    background: rgb(242, 242, 240);
}

.subpage-hero-preview__label {
    margin: 0;
    color: rgb(83, 83, 80);
    font-family: var(--font-latin), sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.subpage-hero-preview__label-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.subpage-hero-preview__language {
    flex: 0 0 auto;
    font-size: 0.875rem;
}

.subpage-hero-preview__example + .subpage-hero-preview__example {
    margin-top: 2rem;
    border-top: 1px solid rgb(211, 211, 206);
}

@supports (height: 100svh) {
    .subpage-hero--full,
    .subpage-hero--slider,
    .subpage-hero--height-full {
        --subpage-hero-height: 100svh;
    }
}

@media (max-width: 991.98px) {
    .subpage-hero__control {
        width: 44px;
        height: 44px;
        line-height: 44px;
        opacity: 0.65;
    }

    .subpage-hero__control--prev {
        left: 0;
    }

    .subpage-hero__control--next {
        right: 0;
    }
}

@media (max-width: 575.98px) {
    .subpage-hero--compact {
        --subpage-hero-height: 260px;
    }

    .subpage-hero__content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .subpage-hero__title {
        font-size: clamp(1.4625rem, 7.65vw, 1.9125rem);
        letter-spacing: 0.04em;
    }

    .subpage-hero__subtitle {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .subpage-hero--slider .subpage-hero__content {
        padding-right: 4.25rem;
        padding-left: 4.25rem;
    }

    .subpage-hero__text--animation-fade-up {
        --subpage-hero-text-start-transform: translate3d(0, 16px, 0);
    }

    .subpage-hero__text--animation-fade-down {
        --subpage-hero-text-start-transform: translate3d(0, -16px, 0);
    }

    .subpage-hero__text--animation-fade-left {
        --subpage-hero-text-start-transform: translate3d(16px, 0, 0);
    }

    .subpage-hero__text--animation-fade-right {
        --subpage-hero-text-start-transform: translate3d(-16px, 0, 0);
    }

    .subpage-hero__text--animation-vortex-fade-down {
        --subpage-hero-text-start-transform: translate3d(0, -28px, 0);
    }

    .subpage-hero__text--animation-vortex-bounce-down {
        --subpage-hero-text-start-transform: translate3d(0, -32px, 0);
    }

    .subpage-hero__text--animation-vortex-bounce-left {
        --subpage-hero-text-start-transform: translate3d(-32px, 0, 0);
    }

    .subpage-hero__text--animation-vortex-rotate-in {
        --subpage-hero-text-start-transform: rotate(-6deg) scale(0.98);
    }

    .subpage-hero__text--animation-vortex-rotate-up-right {
        --subpage-hero-text-start-transform:
            translate3d(16px, 12px, 0) rotate(6deg) scale(0.98);
    }

}

@media (prefers-reduced-motion: reduce) {
    .subpage-hero__slide {
        transition: none;
    }

    .subpage-hero--slider .subpage-hero__title,
    .subpage-hero--slider .subpage-hero__subtitle {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    .subpage-hero__control {
        transition: none;
    }
}

.astrophotography-section {
    display: flex;
    min-height: var(--astrophotography-height-desktop, 40rem);
    align-items: center;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 6, 15, 0.58) 0%,
            rgba(3, 6, 15, 0.3) 52%,
            rgba(3, 6, 15, 0.14) 100%
        ),
        var(--astrophotography-image);
    background-position:
        center,
        var(--astrophotography-focal-x, 50%)
        var(--astrophotography-focal-y, 60%);
    background-repeat: no-repeat;
    background-size: cover;
    color: rgb(255, 255, 255);
}

.astrophotography-content {
    max-width: 42rem;
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.astrophotography-eyebrow {
    margin: 0;
    font-family:
        var(--font-latin),
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 500;
    letter-spacing: clamp(0.2rem, 0.65vw, 0.5rem);
    line-height: 1.5;
    text-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
}

.astrophotography-title {
    max-width: 36rem;
    margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
    font-family:
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.45);
}

.astrophotography-description {
    max-width: 36rem;
    margin: 0.875rem 0 0;
    font-family:
        var(--font-cjk-primary),
        var(--font-cjk-secondary),
        sans-serif;
    font-size: clamp(0.9375rem, 1.4vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.45);
    white-space: pre-line;
}

.astrophotography-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    background-color: transparent;
    color: rgb(255, 255, 255);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}

.astrophotography-cta:link,
.astrophotography-cta:visited,
.astrophotography-cta:hover,
.astrophotography-cta:focus,
.astrophotography-cta:active {
    background-color: transparent;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.astrophotography-cta:focus-visible {
    outline: 2px solid rgb(255, 255, 255);
    outline-offset: 0.25rem;
}

.astrophotography-cta__arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.58, 1);
}

.astrophotography-cta:hover .astrophotography-cta__arrow,
.astrophotography-cta:focus-visible .astrophotography-cta__arrow {
    transform: translateX(0.35rem);
}

@media (max-width: 991.98px) {
    .astrophotography-section {
        min-height: var(--astrophotography-height-tablet, 30rem);
    }
}

@media (max-width: 575.98px) {
    .astrophotography-section {
        min-height: var(--astrophotography-height-mobile, 22rem);
    }

    .astrophotography-content {
        padding-block: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .astrophotography-cta__arrow {
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
}
