@font-face {
    font-family: "Acme";
    src: url("../font/Acme-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    color-scheme: light;
    --page-bg: #f5f1ea;
    --page-bg-strong: #ebe3d5;
    --page-max: 1180px;
    --page-padding: clamp(1rem, 2.2vw, 1.75rem);
    --section-gap: clamp(3rem, 7vw, 5.5rem);
    --text-main: #2d2924;
    --text-muted: #6e6354;
    --text-soft: #8a7b69;
    --line-soft: rgba(255, 255, 255, 0.6);
    --line-strong: rgba(139, 119, 92, 0.18);
    --surface: rgba(255, 255, 255, 0.66);
    --surface-strong: rgba(255, 255, 255, 0.82);
    --surface-shadow: 0 18px 42px rgba(59, 45, 24, 0.1);
    --glass-shadow: 0 20px 52px rgba(68, 50, 28, 0.12);
    --hero-ink: #fffaf3;
    --hero-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    --accent-rose: #ffd8d2;
    --accent-sand: #f0d8ae;
    --accent-coral: #ffa8a2;
    --accent-sky: #adddeb;
    --accent-violet: #d1c1e7;
    --accent-mint: #bde4d0;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(255, 223, 214, 0.66), transparent 34%),
        radial-gradient(circle at top right, rgba(177, 223, 236, 0.5), transparent 30%),
        linear-gradient(180deg, #fbf7f1 0%, var(--page-bg) 45%, var(--page-bg-strong) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.65), transparent 20%),
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.4), transparent 16%);
    opacity: 0.9;
}

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

a {
    color: inherit;
}

button {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glass-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52));
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.glass-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.85rem var(--page-padding) 0;
    margin-bottom: calc(-1 * var(--header-height) - 1rem);
}

.site-header__inner {
    width: min(100%, var(--page-max));
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.26));
    box-shadow:
        0 18px 40px rgba(70, 53, 26, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
    text-decoration: none;
    justify-self: start;
}

.site-brand__logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.site-brand__name {
    font-family: "Acme", "Segoe UI", sans-serif;
    font-size: 1.45rem;
    letter-spacing: 0.02em;
    color: #3d342a;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    justify-self: center;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.62rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18));
    color: #473a2f;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow:
        0 10px 24px rgba(78, 59, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
    color: #312a23;
    border-color: rgba(255, 255, 255, 0.42);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.3));
    box-shadow:
        0 12px 28px rgba(78, 59, 30, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    outline: none;
}

.site-nav__link:active {
    transform: translateY(1px);
}

.site-header__spacer {
    min-width: 180px;
}

.page-shell {
    position: relative;
    z-index: 1;
}

.page-hero,
.page-section {
    scroll-margin-top: calc(var(--header-height) + 28px);
}

.page-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    padding: calc(var(--header-height) + 2.5rem) var(--page-padding) 4rem;
    background:
        linear-gradient(180deg, rgba(31, 23, 14, 0.08), rgba(31, 23, 14, 0.34)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 36%),
        #d9d1c2;
}

.page-hero__backdrop {
    position: absolute;
    inset: 0;
}

.page-hero__slide {
    position: absolute;
    inset: -1.5%;
    background-position: var(--hero-position, center center);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    filter: saturate(0.94) contrast(1.04) brightness(0.8);
    transform: scale(1.08);
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.page-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 12, 7, 0.5), rgba(17, 12, 7, 0.18) 40%, rgba(17, 12, 7, 0.1) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(17, 12, 7, 0.24));
}

.page-hero__slide.is-active {
    opacity: 1;
    filter: saturate(0.98) contrast(1.06) brightness(0.9);
    transform: scale(1.02);
    animation: hero-slide-drift 7.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-slide-drift {
    0% {
        transform: scale(1.09) translate3d(-1.3%, 0, 0);
    }

    100% {
        transform: scale(1.02) translate3d(1.3%, -0.4%, 0);
    }
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(22, 15, 8, 0.08)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(17, 12, 7, 0) 36%, rgba(17, 12, 7, 0.38) 100%);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    width: min(100%, var(--page-max));
    margin: 0 auto;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.hero-awards {
    display: flex;
    flex: 1 1 420px;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: stretch;
}

.hero-logo {
    width: clamp(3.6rem, 7vw, 4.75rem);
    height: auto;
    border-radius: 20px;
    box-shadow: var(--hero-shadow);
}

.hero-award {
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3.2rem;
    padding: 0.82rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
    color: rgba(255, 251, 245, 0.95);
    font-size: clamp(0.92rem, 1.15vw, 1.06rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
    box-shadow: 0 18px 42px rgba(47, 31, 16, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-award::before {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    flex: 0 0 0.7rem;
    border-radius: 999px;
    background: rgba(255, 246, 230, 0.96);
    box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.14);
}

.hero-award--conference {
    white-space: nowrap;
    background: linear-gradient(135deg, rgba(255, 225, 177, 0.36), rgba(255, 255, 255, 0.14));
    border-color: rgba(255, 239, 207, 0.48);
}

.hero-award--poster {
    flex: 0 1 auto;
    background: linear-gradient(135deg, rgba(255, 172, 159, 0.38), rgba(255, 255, 255, 0.14));
    border-color: rgba(255, 214, 206, 0.46);
    max-width: 100%;
}

.hero-copy {
    max-width: min(980px, 100%);
    color: var(--hero-ink);
}

.hero-title {
    margin: 0;
    display: inline-block;
    font-family: "Baloo 2", "Acme", "Segoe UI", sans-serif;
    font-size: clamp(4.1rem, 9.6vw, 7rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: transparent;
    background-image: linear-gradient(100deg,
            #ffb347 0%,
            #ff6f91 16%,
            #b06bff 32%,
            #4fa8ff 48%,
            #35d0c0 64%,
            #8ee86b 80%,
            #ffd166 100%,
            #ffb347 116%);
    background-size: 260% 100%;
    background-position: 0% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(0.28em) scale(0.92);
    filter: blur(6px) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.16));
    will-change: transform, opacity, filter, background-position;
    animation:
        hero-title-intro 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards,
        hero-title-flow 7s linear infinite;
    animation-delay: 0s, 0.82s;
}

.hero-subtitle {
    max-width: 32ch;
    margin: 1rem 0 0;
    font-size: clamp(1.12rem, 2.05vw, 2rem);
    line-height: 1.24;
    color: rgba(255, 249, 241, 0.97);
    text-wrap: pretty;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-subtitle__line {
    display: block;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.paper-button,
.copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-width: 8.8rem;
    padding: 0.9rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
    color: rgba(255, 249, 241, 0.98);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(24px) saturate(185%);
    -webkit-backdrop-filter: blur(24px) saturate(185%);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.paper-button::before,
.gallery-slider__arrow::before {
    content: "";
    position: absolute;
    inset: -35%;
    z-index: -1;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.34), transparent 28%),
        linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.24) 50%, transparent 68%);
    opacity: 0.7;
    transform: translate3d(-22%, 18%, 0) rotate(-8deg);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.paper-button:hover,
.paper-button:focus-visible {
    transform: translateY(-5px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
    box-shadow:
        0 24px 42px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    filter: saturate(1.08);
    outline: none;
}

.paper-button--secondary {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.paper-button:hover::before,
.paper-button:focus-visible::before,
.gallery-slider__arrow:hover::before,
.gallery-slider__arrow:focus-visible::before {
    opacity: 1;
    transform: translate3d(18%, -18%, 0) rotate(-8deg);
}

.page-section {
    padding: 0 var(--page-padding);
}

.page-section--deferred {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.section-frame {
    width: min(100%, var(--page-max));
    margin: 0 auto;
    padding: var(--section-gap) 0;
}

.section-frame--wide {
    width: min(100%, 1260px);
}

.section-frame--narrow {
    width: min(100%, 920px);
}

.section-heading {
    margin-bottom: 1.4rem;
}

.section-heading--center {
    text-align: center;
}

.section-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #43372c;
}

.video-card,
.highlights-card,
.overview-card,
.gallery-card,
.citation-card,
.page-footer__inner {
    box-shadow: var(--surface-shadow);
}

.video-card {
    padding: 1rem;
}

.video-shell {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) - 6px);
    background:
        linear-gradient(180deg, rgba(26, 20, 14, 0.12), rgba(26, 20, 14, 0.36)),
        url("../assets/figure/hero-scene-kitchen-island.jpg") center center / cover no-repeat;
}

.video-shell__placeholder,
.video-shell__player,
.main-video {
    position: absolute;
    inset: 0;
}

.video-shell__placeholder {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 46%);
    transition: opacity 200ms ease;
}

.video-shell__player {
    z-index: 1;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.video-shell__button {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(4.25rem, 8vw, 5.4rem);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.video-shell__button:hover,
.video-shell__button:focus-visible {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.video-shell__play {
    display: inline-block;
    margin-left: 0.24rem;
    border-top: 0.8rem solid transparent;
    border-bottom: 0.8rem solid transparent;
    border-left: 1.22rem solid rgba(39, 31, 26, 0.92);
}

.video-card.is-loaded .video-shell__button {
    opacity: 0;
    pointer-events: none;
}

.video-card.is-loaded .video-shell__placeholder {
    opacity: 0;
}

.overview-card {
    padding: 0;
    margin: 0 0 1.2rem;
    display: inline-block;
    width: 100%;
}

.overview-card__image {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}

.highlights-stack {
    display: grid;
    gap: 0.85rem;
}

.highlight-item {
    border-radius: var(--radius-lg);
}

.highlight-item[open] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
}

.highlight-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.highlight-summary::-webkit-details-marker {
    display: none;
}

.highlight-summary::after {
    content: "+";
    margin-left: auto;
    color: var(--text-soft);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 180ms ease;
}

.highlight-item[open] .highlight-summary::after {
    transform: rotate(45deg);
}

.highlight-summary__index {
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 0 1px rgba(143, 126, 103, 0.14);
}

.highlight-summary__title {
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    font-weight: 700;
    color: #473a2f;
}

.highlight-detail {
    padding: 0 1.2rem 1.2rem;
    color: var(--text-main);
    font-size: clamp(0.98rem, 1.15vw, 1.04rem);
    line-height: 1.75;
}

.highlight-item[open] .highlight-detail {
    animation: highlight-reveal 220ms ease;
}

.highlight-detail strong {
    color: #5e4935;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.gallery-page {
    flex: 0 0 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    padding: 0 3.6rem;
}

.gallery-card {
    padding: 0.75rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(67, 48, 22, 0.14);
}

.gallery-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 6px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12)),
        linear-gradient(135deg, rgba(162, 219, 233, 0.22), rgba(255, 212, 204, 0.22));
}

.gallery-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    transition: opacity 180ms ease;
}

.gallery-media.is-ready::before {
    opacity: 0;
}

.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f0e8dc;
}

.gallery-caption {
    margin: 0;
    padding: 0.95rem 0.3rem 0.15rem;
    min-height: 4.25rem;
    font-size: clamp(0.94rem, 1vw, 1rem);
    line-height: 1.5;
}

.gallery-slider__arrow {
    position: absolute;
    top: calc(50% - 1.6rem);
    z-index: 2;
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
    color: #5a4731;
    box-shadow:
        0 14px 30px rgba(71, 54, 28, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(24px) saturate(185%);
    -webkit-backdrop-filter: blur(24px) saturate(185%);
    cursor: pointer;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.gallery-slider__arrow:hover,
.gallery-slider__arrow:focus-visible {
    transform: translateY(-5px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.36);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
    box-shadow:
        0 24px 42px rgba(71, 54, 28, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    filter: saturate(1.1);
    outline: none;
}

.gallery-slider__arrow span {
    font-size: 2rem;
    line-height: 1;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slider__arrow--prev {
    left: 0.35rem;
}

.gallery-slider__arrow--next {
    right: 0.35rem;
}

.gallery-slider__arrow--prev:hover span,
.gallery-slider__arrow--prev:focus-visible span {
    transform: translateX(-3px);
}

.gallery-slider__arrow--next:hover span,
.gallery-slider__arrow--next:focus-visible span {
    transform: translateX(3px);
}

.gallery-slider__controls {
    display: flex;
    justify-content: center;
    gap: 0.72rem;
    margin-top: 1.4rem;
}

.gallery-slider__dot {
    width: 3.25rem;
    height: 0.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(122, 102, 74, 0.18);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.gallery-slider__dot:hover,
.gallery-slider__dot:focus-visible {
    background: rgba(122, 102, 74, 0.32);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    outline: none;
}

.gallery-slider__dot.is-active {
    background: linear-gradient(90deg, #ffb8ad, #a8dce9);
    box-shadow: 0 10px 20px rgba(88, 70, 40, 0.16);
}

.citation-card {
    padding: 1rem;
}

.citation-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.9rem;
}

.copy-button {
    min-width: 7.8rem;
    padding: 0.72rem 1rem;
    color: #3b3026;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
}

.copy-button:hover,
.copy-button:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.44);
    box-shadow:
        0 20px 36px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    outline: none;
}

.copy-button.is-copied {
    background: linear-gradient(180deg, rgba(221, 244, 232, 0.96), rgba(210, 236, 221, 0.86));
}

.citation-block {
    margin: 0;
    padding: 1.25rem;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: calc(var(--radius-lg) - 4px);
    background: rgba(255, 255, 255, 0.48);
    color: #2f2924;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.95rem;
    line-height: 1.75;
}

.page-footer {
    padding: 0 var(--page-padding) 2rem;
}

.page-footer__inner {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 1rem 1.2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.page-footer__inner p {
    margin: 0;
}

.page-footer__inner a {
    color: #6b5133;
    text-decoration: none;
}

.page-footer__inner a:hover,
.page-footer__inner a:focus-visible {
    text-decoration: underline;
    outline: none;
}

@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .glass-panel,
    .site-header__inner,
    .hero-award,
    .video-shell__button,
    .site-nav__link,
    .paper-button,
    .copy-button {
        background: var(--surface-strong);
    }
}

@media (max-width: 1080px) {
    .site-header__inner {
        border-radius: 28px;
        grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    }

    .gallery-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 2.9rem;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 122px;
    }

    .site-header {
        padding-top: 0.75rem;
        margin-bottom: calc(-1 * var(--header-height) - 0.8rem);
    }

    .site-header__inner {
        min-height: 0;
        grid-template-columns: 1fr;
        justify-items: center;
        border-radius: 24px;
    }

    .site-brand {
        padding-top: 0.15rem;
        justify-self: center;
    }

    .site-nav {
        justify-content: center;
    }

    .site-header__spacer {
        display: none;
    }

    .page-hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 2.8rem;
    }

    .page-hero__slide {
        background-position: var(--hero-mobile-position, var(--hero-position, center center));
    }

    .hero-meta {
        align-items: flex-start;
    }

    .hero-awards {
        flex-basis: 100%;
    }

    .hero-subtitle {
        max-width: 28ch;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 136px;
    }

    .site-header__inner {
        padding: 0.8rem 0.9rem;
    }

    .site-brand {
        justify-content: center;
    }

    .site-nav {
        justify-content: center;
    }

    .gallery-card {
        padding: 0.72rem;
    }

    .gallery-caption {
        min-height: 0;
    }

    .gallery-page {
        grid-template-columns: 1fr;
        padding: 0 2.4rem;
    }

    .gallery-slider__arrow {
        width: 2.7rem;
        height: 2.7rem;
    }

    .gallery-slider__arrow span {
        font-size: 1.7rem;
    }

    .highlight-summary {
        padding: 1rem;
    }

    .highlight-detail {
        padding: 0 1rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero__slide {
        transform: none;
        transition: opacity 240ms ease;
    }

    .page-hero__slide.is-active {
        animation: none;
    }
}

@media (max-width: 480px) {
    .hero-awards {
        gap: 0.65rem;
    }

    .hero-award {
        width: 100%;
        min-height: 0;
        padding: 0.8rem 1rem;
        font-size: 0.94rem;
    }

    .site-nav__link {
        padding: 0.58rem 0.82rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: clamp(3.6rem, 17vw, 5rem);
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: clamp(1.02rem, 5vw, 1.36rem);
        line-height: 1.28;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gallery-slider__dot {
        width: 2.4rem;
    }

    .gallery-page {
        padding: 0 2.1rem;
    }

    .gallery-slider__arrow {
        width: 2.4rem;
        height: 2.4rem;
        top: calc(50% - 1.2rem);
    }

    .gallery-slider__arrow span {
        font-size: 1.45rem;
    }

    .paper-button,
    .copy-button {
        width: 100%;
    }

    .video-shell__play {
        border-top-width: 0.65rem;
        border-bottom-width: 0.65rem;
        border-left-width: 1rem;
    }

    .citation-block {
        font-size: 0.88rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gallery-card:hover,
    .paper-button:hover,
    .copy-button:hover,
    .gallery-slider__arrow:hover {
        transform: none;
    }
}

@keyframes highlight-reveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-title-intro {
    from {
        opacity: 0;
        transform: translateY(0.28em) scale(0.92);
        filter: blur(6px) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.16));
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.16));
    }
}

@keyframes hero-title-flow {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 260% 50%;
    }
}
