:root {
    --hc-bg: #060606;
    --hc-surface: rgba(255, 255, 255, 0.04);
    --hc-surface-strong: rgba(255, 255, 255, 0.08);
    --hc-line: rgba(255, 255, 255, 0.14);
    --hc-line-strong: rgba(255, 255, 255, 0.26);
    --hc-fg: #f7f4ee;
    --hc-fg-subtle: rgba(247, 244, 238, 0.78);
    --hc-fg-muted: rgba(247, 244, 238, 0.56);
    --hc-font-sans: "Montserrat", "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
    --hc-font-display: "Montserrat", "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
    --hc-font-title: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
    --hc-font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --hc-content-max: 1440px;
    --hc-content-inner-max: 1240px;
    --hc-gutter: clamp(22px, 2.1vw, 30px);
    --hc-main-side-gap: clamp(78px, 6vw, 108px);
    --hc-fixed-ui-side-offset: var(--hc-gutter);
    --hc-app-height: 100svh;
    --hc-app-height-52: 52svh;
    --hc-app-height-48: 48svh;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--hc-bg);
    color: var(--hc-fg);
    font-family: var(--hc-font-sans);
    letter-spacing: 0.02em;
}

body {
    min-height: 100vh;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.hc-main {
    min-height: 100vh;
}

.home .hc-main {
    padding-inline: 0;
}

body:not(.home) .hc-main {
    padding-inline: var(--hc-main-side-gap);
}

.hc-global-menu-trigger {
    pointer-events: auto;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hc-fg);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.hc-global-menu-trigger span {
    display: block;
    width: 30px;
    height: 1.5px;
    margin-left: auto;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.hc-global-menu-trigger--inner,
.hc-hero__menu-trigger {
    width: 36px;
    height: 36px;
    align-items: flex-start;
    gap: 0;
}

.hc-global-menu-trigger--inner {
    position: fixed;
    left: var(--hc-fixed-ui-side-offset);
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
}

.hc-global-menu-trigger--inner span,
.hc-hero__menu-trigger span {
    position: absolute;
    left: 4px;
    width: 28px;
    height: 1px;
    margin-left: 0;
    transform-origin: 50% 50%;
}

.hc-global-menu-trigger--inner span:nth-child(1) {
    top: 10px;
}

.hc-global-menu-trigger--inner span:nth-child(2) {
    top: 17px;
}

.hc-global-menu-trigger--inner span:nth-child(3) {
    top: 24px;
}

.hc-global-menu-trigger--inner.is-open span:nth-child(1) {
    top: 17px;
    transform: rotate(45deg);
}

.hc-global-menu-trigger--inner.is-open span:nth-child(2) {
    opacity: 0;
}

.hc-global-menu-trigger--inner.is-open span:nth-child(3) {
    top: 17px;
    transform: rotate(-45deg);
}

.hc-menu-trigger.is-open span:nth-child(1) {
    top: 17px;
    transform: rotate(45deg);
}

.hc-menu-trigger.is-open span:nth-child(2) {
    opacity: 0;
}

.hc-menu-trigger.is-open span:nth-child(3) {
    top: 17px;
    transform: rotate(-45deg);
}

.hc-global-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s ease, visibility 0s linear 0.26s;
}

.hc-global-menu.is-open,
.has-global-menu-open .hc-global-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.26s ease, visibility 0s linear 0s;
}

.hc-global-menu__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.86);
    cursor: pointer;
}

.hc-global-menu__panel {
    position: absolute;
    inset: 0;
}

.hc-global-menu[aria-hidden="true"] .hc-global-menu__panel {
    transform: none;
}

.hc-global-menu__inner {
    position: absolute;
    left: auto;
    right: clamp(26px, 3vw, 42px);
    top: clamp(92px, 11vh, 132px);
    width: min(360px, calc(100vw - (var(--hc-gutter) * 2) - 96px));
    max-height: calc(100vh - 164px);
    overflow: auto;
    padding: 0;
}

.hc-global-menu__nav {
    margin: 0 0 42px;
}

.hc-global-menu__nav-list {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hc-global-menu__nav-list a {
    display: inline-block;
    font-family: var(--hc-font-display);
    font-weight: 500;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.25;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
}


.hc-global-menu__nav-list a,
.hc-side-index__nav .hc-site-nav__menu a,
.hc-side-index__nav-list a,
.hc-global-menu__works-link,
.hc-work-list__button,
.hc-work-single__nav-link {
    position: relative;
    transition: color 0.22s ease, opacity 0.22s ease, text-shadow 0.22s ease, filter 0.22s ease;
}

.hc-global-menu__nav-list a:hover,
.hc-global-menu__nav-list a:focus-visible,
.hc-side-index__nav .hc-site-nav__menu a:hover,
.hc-side-index__nav .hc-site-nav__menu a:focus-visible,
.hc-side-index__nav-list a:hover,
.hc-side-index__nav-list a:focus-visible,
.hc-global-menu__works-link:hover,
.hc-global-menu__works-link:focus-visible,
.hc-work-list__button:hover,
.hc-work-list__button:focus-visible,
.hc-work-single__nav-link:hover,
.hc-work-single__nav-link:focus-visible {
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 0 0.72em rgba(255,255,255,0.22), 0 0 1.5em rgba(255,255,255,0.14), 0 0 2.4em rgba(255,255,255,0.07);
    filter: brightness(1.08);
}

.hc-hover-burst-text {
    position: relative;
    display: inline-block;
    isolation: isolate;
    contain: paint;
    z-index: 0;
}

.hc-hover-burst-text::before,
.hc-hover-burst-text::after {
    content: attr(data-burst-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    white-space: inherit;
    will-change: transform, opacity, filter;
}

.hc-hover-burst-text::before {
    z-index: -1;
    color: rgba(255,255,255,0.62);
    text-shadow: 0 0 0.42em rgba(255,255,255,0.24), 0 0 1.18em rgba(255,255,255,0.18), 0 0 2.1em rgba(255,255,255,0.10);
    filter: blur(0px);
    transform: scale(0.992);
}

.hc-hover-burst-text::after {
    z-index: -2;
    color: rgba(255,255,255,0.34);
    text-shadow: 0 0 0.6em rgba(255,255,255,0.22), 0 0 1.8em rgba(255,255,255,0.14), 0 0 3.2em rgba(255,255,255,0.08);
    filter: blur(0px);
    transform: scale(1);
}

.hc-global-menu__nav-list a:hover .hc-hover-burst-text::before,
.hc-global-menu__nav-list a:focus-visible .hc-hover-burst-text::before,
.hc-side-index__nav .hc-site-nav__menu a:hover .hc-hover-burst-text::before,
.hc-side-index__nav .hc-site-nav__menu a:focus-visible .hc-hover-burst-text::before,
.hc-side-index__nav-list a:hover .hc-hover-burst-text::before,
.hc-side-index__nav-list a:focus-visible .hc-hover-burst-text::before,
.hc-global-menu__works-link:hover .hc-hover-burst-text::before,
.hc-global-menu__works-link:focus-visible .hc-hover-burst-text::before,
.hc-work-list__button:hover .hc-hover-burst-text::before,
.hc-work-list__button:focus-visible .hc-hover-burst-text::before,
.hc-work-single__nav-link:hover .hc-hover-burst-text::before,
.hc-work-single__nav-link:focus-visible .hc-hover-burst-text::before,
.hc-hover-burst-text:hover::before,
.hc-hover-burst-text:focus-visible::before {
    animation: hcTextBloomPrimary 0.48s cubic-bezier(0.18, 0.9, 0.24, 1) both;
}

.hc-global-menu__nav-list a:hover .hc-hover-burst-text::after,
.hc-global-menu__nav-list a:focus-visible .hc-hover-burst-text::after,
.hc-side-index__nav .hc-site-nav__menu a:hover .hc-hover-burst-text::after,
.hc-side-index__nav .hc-site-nav__menu a:focus-visible .hc-hover-burst-text::after,
.hc-side-index__nav-list a:hover .hc-hover-burst-text::after,
.hc-side-index__nav-list a:focus-visible .hc-hover-burst-text::after,
.hc-global-menu__works-link:hover .hc-hover-burst-text::after,
.hc-global-menu__works-link:focus-visible .hc-hover-burst-text::after,
.hc-work-list__button:hover .hc-hover-burst-text::after,
.hc-work-list__button:focus-visible .hc-hover-burst-text::after,
.hc-work-single__nav-link:hover .hc-hover-burst-text::after,
.hc-work-single__nav-link:focus-visible .hc-hover-burst-text::after,
.hc-hover-burst-text:hover::after,
.hc-hover-burst-text:focus-visible::after {
    animation: hcTextBloomSecondary 0.56s cubic-bezier(0.18, 0.9, 0.24, 1) both;
}

@keyframes hcTextBloomPrimary {
    0% {
        opacity: 0;
        transform: scale(0.992);
        filter: blur(0px);
    }
    32% {
        opacity: 0.62;
        transform: scale(1.028);
        filter: blur(4px);
    }
    100% {
        opacity: 0;
        transform: scale(1.095);
        filter: blur(9px);
    }
}

@keyframes hcTextBloomSecondary {
    0% {
        opacity: 0;
        transform: scale(1);
        filter: blur(0px);
    }
    34% {
        opacity: 0.34;
        transform: scale(1.04);
        filter: blur(4px);
    }
    100% {
        opacity: 0;
        transform: scale(1.14);
        filter: blur(13px);
    }
}

.hc-global-menu__works-head {
    margin: 0 0 18px;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}

.hc-global-menu__works-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: none;
}

.hc-global-menu__works-item + .hc-global-menu__works-item {
    margin-top: 8px;
}

.hc-global-menu__works-link {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    color: rgba(255, 255, 255, 0.94);
    opacity: 0.82;
    transition: opacity 0.18s ease;
}

.hc-global-menu__works-link:hover {
    opacity: 1;
}

.hc-global-menu__works-number {
    font-family: var(--hc-font-display);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hc-fg-subtle);
}

.hc-global-menu__works-title {
    font-family: var(--hc-font-display);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

body.has-global-menu-open {
    overflow: hidden;
}

.hc-site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    pointer-events: none;
}

.hc-site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    margin: 0 auto;
    padding: 26px var(--hc-gutter);
}

.hc-site-title,
.hc-site-nav,
.hc-global-menu-trigger {
    pointer-events: auto;
}

.home .hc-site-nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.hc-site-header .hc-site-nav {
    display: none;
}

.hc-site-title,
.hc-site-nav__menu {
    font-weight: 500;
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
}

.hc-site-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.22em;
    padding-right: 0;
    font-family: var(--hc-font-title);
    font-weight: 600;
}

.hc-site-nav__menu {
    font-family: var(--hc-font-display);
    letter-spacing: 0.24em;
}

.hc-site-title::after {
    content: none;
}


.hc-spaced-title__word {
    display: inline-flex;
    align-items: center;
}

.hc-spaced-title__space {
    display: inline-block;
    width: 0.36em;
    flex: 0 0 0.36em;
}

.hc-spaced-title__char {
    display: inline-block;
    margin-right: 0.08em;
}

.hc-spaced-title__char.is-last-char {
    margin-right: 0;
}


.hc-site-nav__menu {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hc-site-nav__menu a {
    opacity: 0.94;
}

.hc-site-footer {
    border-top: 1px solid var(--hc-line);
    padding: 14px 24px 24px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hc-site-footer__inner {
    max-width: var(--hc-content-max);
    margin: 0 auto;
}

.hc-site-footer--overlay {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    border-top: 0;
    padding: 0 clamp(20px, 2.4vw, 30px) calc(10px + env(safe-area-inset-bottom));
    background: transparent;
    pointer-events: none;
}

.hc-site-footer--overlay .hc-site-footer__inner {
    max-width: none;
    margin: 0;
    text-align: center;
}

.hc-site-footer--overlay small {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(247, 244, 238, 0.46);
}

.hc-hero {
    position: relative;
    min-height: 100vh;
    overflow: clip;
    background: #000;
}

.hc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.34)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0.12) 70%, rgba(0, 0, 0, 0.32) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.06) 28%, rgba(0, 0, 0, 0.20) 100%);
    pointer-events: none;
}

.hc-hero__canvas-wrap,
.hc-hero__canvas,
.hc-hero__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hc-hero__canvas-wrap {
    transform-origin: center center;
    will-change: transform;
}

.hc-hero__canvas {
    display: block;
    z-index: 1;
}

.hc-hero__fallback {
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 0.36s ease;
}

.hc-hero.is-render-ready .hc-hero__fallback {
    opacity: 0;
}

.hc-hero.is-fallback .hc-hero__fallback {
    opacity: 1;
}

.hc-hero__overlay {
    position: relative;
    z-index: 5;
    min-height: 100svh;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: clamp(86px, 8.8vh, 112px) var(--hc-gutter) clamp(86px, 8.8vh, 112px);
}

.hc-hero__menu-trigger {
    position: absolute;
    left: var(--hc-fixed-ui-side-offset);
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    pointer-events: auto;
}

.hc-hero__menu-trigger span {
    display: block;
    background: currentColor;
}

.hc-hero__menu-trigger span:nth-child(1) {
    top: 10px;
}

.hc-hero__menu-trigger span:nth-child(2) {
    top: 17px;
}

.hc-hero__menu-trigger span:nth-child(3) {
    top: 24px;
}

.hc-hero__menu-backdrop {
    position: absolute;
    inset: 0;
    z-index: 20;
    border: 0;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
}

.hc-hero.is-index-open .hc-hero__menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.hc-hero__side-index {
    position: absolute;
    left: auto;
    right: clamp(26px, 3vw, 42px);
    top: clamp(92px, 11vh, 132px);
    z-index: 24;
    width: min(360px, calc(100vw - (var(--hc-gutter) * 2) - 96px));
    max-height: calc(100vh - 164px);
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(12px, 0, 0);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.hc-hero.is-index-open .hc-hero__side-index {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.hc-side-index__inner {
    display: grid;
    align-content: start;
    justify-items: start;
    width: 100%;
    padding: 0;
}

.hc-side-index__nav,
.hc-global-menu__nav {
    margin-bottom: 30px;
}


.hc-hero.is-index-open .hc-hero__centerpiece,
.hc-hero.is-index-open .hc-hero__cta-wrap,
.hc-hero.is-index-open .hc-hero__bottomrail,
.hc-hero.is-index-open .hc-hero__scroll-guide {
    opacity: 0.14;
    filter: blur(4px);
    pointer-events: none;
    transition: opacity 0.22s ease, filter 0.22s ease;
}

.hc-hero.is-index-open .hc-hero__visual-stage {
    z-index: 2;
    pointer-events: none;
}

.hc-hero__centerpiece,
.hc-hero__cta-wrap,
.hc-hero__bottomrail,
.hc-hero__scroll-guide {
    transition: opacity 0.22s ease, filter 0.22s ease;
}

.hc-hero__visual-stage {
    position: absolute;
    left: clamp(212px, 15vw, 300px);
    right: auto;
    top: clamp(92px, 9vh, 116px);
    bottom: clamp(118px, 11.5vh, 146px);
    z-index: 4;
    width: min(27vw, 470px);
    height: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease, filter 0.22s ease;
}

.hc-hero__visual-stage-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    transform-origin: center center;
    will-change: transform;
}

.hc-hero__visual-image {
    grid-area: 1 / 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    filter: blur(0);
    visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity, filter;
    transition: opacity 1.04s cubic-bezier(0.22, 1, 0.36, 1), filter 1.04s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}

.hc-hero__visual-image.is-visible {
    visibility: visible;
    opacity: 1;
}

.hc-hero__visual-image.is-hidden {
    visibility: hidden;
    opacity: 0;
}

.hc-hero__visual-stage.is-active {
    opacity: 1;
}

.hc-hero__visual-stage.is-loaded .hc-hero__visual-image.is-visible {
    opacity: 1;
    filter: blur(0);
}

.hc-hero__visual-stage.is-figure-reveal .hc-hero__visual-image.is-current.is-visible {
    animation: hcHeroFigureReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hc-hero__visual-stage.is-figure-swapping .hc-hero__visual-image.is-outgoing {
    opacity: 0;
    filter: blur(0);
}

.hc-hero__visual-stage.is-figure-swapping .hc-hero__visual-image.is-delayed-incoming {
    visibility: visible;
    opacity: 0;
    filter: blur(0);
}

.hc-hero__visual-stage.is-figure-swapping .hc-hero__visual-image.is-incoming {
    visibility: visible;
    opacity: 1;
    filter: blur(0);
}

/* PATCH v0.2.20: Hybrid foreground dissolve tuned for wider lateral mist diffusion. The background WebGL slider remains v0.1.91-based. */
/* PATCH v0.2.28: The navigation foreground now uses a delayed crossfade instead of particle/fog dissolve. */
.hc-hero__visual-fog-canvas {
    grid-area: 1 / 1;
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
}

.hc-hero__visual-stage.is-visual-fog-swapping .hc-hero__visual-fog-canvas {
    opacity: 1;
    visibility: visible;
}

.hc-hero__visual-particle-canvas {
    grid-area: 1 / 1;
    position: relative;
    z-index: 4;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
}

.hc-hero__visual-stage.is-visual-particle-swapping .hc-hero__visual-particle-canvas {
    opacity: 1;
    visibility: visible;
}

.hc-hero.is-visual-fog-transition .hc-hero__visual-stage.is-visual-fog-swapping .hc-hero__visual-image {
    opacity: 0;
    visibility: hidden;
}

.hc-hero.is-visual-fog-transition .hc-hero__visual-image {
    transition: opacity 1.04s cubic-bezier(0.22, 1, 0.36, 1), filter 1.04s cubic-bezier(0.22, 1, 0.36, 1);
}

.hc-hero.is-visual-fog-transition .hc-hero__visual-stage.is-figure-swapping .hc-hero__visual-image.is-fog-incoming {
    visibility: visible;
    opacity: 0;
    filter: blur(18px) saturate(0.92) brightness(0.95);
}

.hc-hero.is-visual-fog-transition .hc-hero__visual-stage.is-figure-swapping .hc-hero__visual-image.is-fog-incoming:not(.is-visible) {
    opacity: 0;
    filter: blur(18px) saturate(0.92) brightness(0.95);
}

.hc-hero.is-visual-fog-transition .hc-hero__visual-stage.is-figure-swapping .hc-hero__visual-image.is-fog-incoming.is-visible {
    visibility: visible;
    opacity: 1;
    filter: blur(0) saturate(1) brightness(1);
}

.hc-hero.is-index-open .hc-hero__visual-stage {
    opacity: 0.14;
    filter: blur(4px);
}

.hc-hero.is-index-open .hc-hero__visual-stage,
.hc-hero__visual-stage {
    transition: opacity 0.22s ease, filter 0.22s ease;
}

@keyframes hcHeroFigureReveal {
    0% {
        opacity: 0.82;
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}


.hc-side-index__nav .hc-site-nav__menu,
.hc-side-index__nav-list {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hc-side-index__nav .hc-site-nav__menu li,
.hc-side-index__nav-list li {
    margin: 0;
}

.hc-side-index__nav .hc-site-nav__menu a,
.hc-side-index__nav-list a {
    display: inline-block;
    font-size: clamp(0.95rem, 1.35vw, 1.15rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
}

.hc-side-index__works-head {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}

.hc-work-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hc-work-list__item + .hc-work-list__item {
    margin-top: 7px;
}

.hc-work-list__button {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    width: 100%;
    padding: 4px 8px 4px 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    text-align: left;
    cursor: pointer;
    opacity: 0.54;
    transition: opacity 0.18s ease;
}

.hc-work-list__item.is-active .hc-work-list__button,
.hc-work-list__button:hover {
    opacity: 1;
}

.hc-work-list__number,
.hc-work-list__title,
.hc-hero__kicker,
.hc-hero__meta-row,
.hc-hero__rail-label,
.hc-hero__rail-current-number,
.hc-page__eyebrow,
.hc-work-single__meta {
    text-transform: uppercase;
}

.hc-work-list__number,
.hc-hero__kicker,
.hc-hero__meta-row,
.hc-hero__rail-label,
.hc-hero__rail-current-number,
.hc-page__eyebrow,
.hc-work-single__meta {
    font-family: var(--hc-font-display);
    font-weight: 500;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--hc-fg-subtle);
}

.hc-work-list__title,
.hc-hero__rail-title,
.hc-global-menu__works-title,
.hc-work-single__nav-title,
.hc-works-archive__caption-title {
    font-family: var(--hc-font-title);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 0.015em;
}

.hc-hero__centerpiece {
    position: absolute;
    left: clamp(168px, 21vw, 360px);
    top: 50%;
    width: min(460px, calc(100vw - 760px));
    transform: translateY(-36%);
}

.hc-hero__center-inner,
.hc-hero__cta-wrap,
.hc-hero__rail-current,
.hc-hero__rail-link,
.hc-hero__scroll-guide {
    transition: opacity 0.36s ease;
    will-change: opacity, transform;
}

.hc-hero__center-inner {
    --hc-hero-text-shift-x: 0px;
    --hc-hero-text-shift-y: 0px;
    opacity: 1;
    transform: translate3d(var(--hc-hero-text-shift-x), var(--hc-hero-text-shift-y), 0);
}

.hc-hero__kicker,
.hc-hero__meta-row {
    margin: 0;
}

.hc-hero__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.hc-hero__meta-sep {
    opacity: 0.7;
}

.hc-hero__title {
    margin: 18px 0 0;
    font-family: var(--hc-font-title);
    font-size: clamp(2.25rem, 3.9vw, 3.55rem);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-wrap: balance;
}

.hc-hero__title.is-site-title {
    letter-spacing: 0;
}

.hc-hero__caption {
    margin: 12px 0 0;
    max-width: 360px;
    font-size: 11px;
    line-height: 1.8;
    color: var(--hc-fg-subtle);
}

.hc-hero:not(.is-intro-slide)::after {
    /* PATCH v0.1.91: 背景ブラーを活かすため、WORKS表示時の黒オーバーレイを弱めて写真の色を残す。 */
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.22) 34%, rgba(0, 0, 0, 0.10) 62%, rgba(0, 0, 0, 0.30) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.06) 36%, rgba(0, 0, 0, 0.22) 100%);
}

.hc-hero:not(.is-intro-slide) .hc-hero__canvas-wrap {
    filter: blur(14px) brightness(0.70) saturate(1.02);
}

.hc-hero:not(.is-intro-slide) .hc-hero__centerpiece {
    left: clamp(430px, 36vw, 610px);
    top: clamp(92px, 9vh, 116px);
    bottom: clamp(118px, 11.5vh, 146px);
    width: min(460px, calc(100vw - 700px));
    display: flex;
    align-items: center;
    transform: none;
    z-index: 6;
}

.hc-hero:not(.is-intro-slide) .hc-hero__center-inner {
    max-width: 460px;
}

.hc-hero:not(.is-intro-slide) .hc-hero__kicker {
    font-size: 10px;
    letter-spacing: 0.24em;
}

.hc-hero:not(.is-intro-slide) .hc-hero__meta-row {
    margin-top: 12px;
    gap: 10px;
}

.hc-hero:not(.is-intro-slide) .hc-hero__title {
    margin-top: 16px;
    font-size: clamp(3rem, 4.8vw, 4.85rem);
    line-height: 0.92;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    white-space: nowrap;
}

.hc-hero:not(.is-intro-slide) .hc-hero__caption {
    margin-top: 14px;
    max-width: 300px;
}

.hc-hero:not(.is-intro-slide) .hc-hero__cta-wrap {
    right: clamp(204px, 16vw, 292px);
    top: clamp(92px, 9vh, 116px);
    bottom: clamp(118px, 11.5vh, 146px);
    display: flex;
    align-items: center;
    --hc-hero-cta-shift-x: 0px;
    --hc-hero-cta-shift-y: 0px;
    transform: translate3d(var(--hc-hero-cta-shift-x), var(--hc-hero-cta-shift-y), 0);
    z-index: 6;
}

.hc-hero:not(.is-intro-slide) .hc-hero__bottomrail {
    left: 24px;
    right: 24px;
}

.hc-hero:not(.is-intro-slide) .hc-hero__rail-current {
    min-width: 64px;
}

.hc-hero__overlay.is-transitioning-out .hc-hero__visual-stage,
.hc-hero__overlay.is-transitioning-in .hc-hero__visual-stage {
    opacity: 1;
}

.hc-hero.is-intro-slide .hc-hero__centerpiece {
    left: 50%;
    top: 46.2%;
    width: min(1120px, calc(100vw - (var(--hc-gutter) * 2)));
    transform: translate(-50%, -50%);
    text-align: center;
}

.hc-hero.is-intro-slide .hc-hero__center-inner {
    width: 100%;
}

.hc-hero.is-intro-slide .hc-hero__kicker {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.26em;
    color: rgba(247, 244, 238, 0.9);
}

.hc-hero.is-intro-slide .hc-hero__meta-row,
.hc-hero.is-intro-slide .hc-hero__caption {
    display: none;
}

.hc-hero.is-intro-slide .hc-hero__title {
    display: block;
    width: 100%;
    max-width: min(1120px, calc(100vw - (var(--hc-gutter) * 2)));
    margin: 18px auto 0;
    font-size: clamp(2.3rem, 4.6vw, 4.45rem);
    line-height: 0.94;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.hc-hero__overlay.is-transitioning-out .hc-hero__center-inner,
.hc-hero__overlay.is-transitioning-out .hc-hero__cta-wrap,
.hc-hero__overlay.is-transitioning-out .hc-hero__rail-current,
.hc-hero__overlay.is-transitioning-out .hc-hero__rail-link {
    opacity: 0;
}

.hc-hero__overlay.is-transitioning-in .hc-hero__center-inner,
.hc-hero__overlay.is-transitioning-in .hc-hero__cta-wrap,
.hc-hero__overlay.is-transitioning-in .hc-hero__rail-current,
.hc-hero__overlay.is-transitioning-in .hc-hero__rail-link {
    opacity: 1;
}

.hc-hero__cta-wrap {
    position: absolute;
    right: clamp(108px, 16vw, 250px);
    top: 50%;
    transform: translateY(-44%);
}

.hc-hero__cta-link {
    position: relative;
    display: inline-flex;
    font-family: var(--hc-font-display);
    font-weight: 500;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 12px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.96);
    font-size: 11px;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    overflow: hidden;
    transition: opacity 0.24s ease;
}

.hc-hero__cta-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.88);
    transform: scaleX(0.28);
    transform-origin: left center;
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0.78;
}

.hc-hero__cta-link::after {
    display: none;
}

.hc-hero__cta-link:hover {
    opacity: 1;
}

.hc-hero__cta-link:hover::before {
    transform: scaleX(1);
    opacity: 1;
}


@media (min-width: 1440px) {
    .hc-hero__centerpiece {
        width: min(430px, calc(100vw - 860px));
    }

    .hc-hero__cta-wrap {
        right: clamp(138px, 17vw, 286px);
    }
}

.hc-hero.is-intro-slide .hc-hero__cta-wrap {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-50% + 6px));
}

.hc-hero__bottomrail {
    position: absolute;
    left: var(--hc-gutter);
    right: var(--hc-gutter);
    bottom: clamp(42px, 6.4vh, 60px);
    width: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(28px, 4vw, 76px);
    align-items: end;
}

.hc-hero.is-intro-slide .hc-hero__bottomrail {
    opacity: 0;
    pointer-events: none;
}

.hc-hero__rail-link,
.hc-hero__rail-current {
    position: relative;
    z-index: 1;
}

.hc-hero__rail-link {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 12px 0 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.hc-hero__rail-link::before {
    content: "";
    position: absolute;
    top: 0;
    width: clamp(72px, 12vw, 136px);
    border-top: 1px solid var(--hc-line-strong);
    opacity: 0.82;
}

.hc-hero__rail-link--prev {
    justify-items: start;
    text-align: left;
}

.hc-hero__rail-link--prev::before {
    left: 0;
    right: auto;
}

.hc-hero__rail-link--next {
    justify-items: end;
    text-align: right;
}

.hc-hero__rail-link--next::before {
    left: auto;
    right: 0;
}

.hc-hero__rail-current {
    justify-self: center;
    display: grid;
    gap: 2px;
    justify-items: center;
    text-align: center;
    padding: 0 clamp(12px, 1.4vw, 22px);
    min-width: 68px;
    background: transparent;
}

.hc-hero__rail-current-title {
    display: none;
}

.hc-hero__scroll-guide {
    position: absolute;
    left: 50%;
    bottom: 54px;
    z-index: 6;
    display: inline-grid;
    gap: 10px;
    justify-items: center;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
}

.hc-hero.is-intro-slide .hc-hero__scroll-guide {
    opacity: 1;
}

.hc-hero__scroll-label {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--hc-fg-subtle);
}

.hc-hero__scroll-line {
    position: relative;
    display: block;
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.26);
    overflow: hidden;
}

.hc-hero__scroll-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: -18px;
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.92);
    animation: hcScrollGuide 1.6s ease-in-out infinite;
}

.hc-hero.is-intro-reveal .hc-hero__center-inner {
    animation: hcIntroRiseCenter 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hc-hero.is-intro-reveal .hc-hero__scroll-guide {
    animation: hcIntroRiseGuide 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hcIntroRiseCenter {
    from {
        opacity: 0;
        transform: none;
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hcIntroRiseGuide {
    from {
        opacity: 0;
        transform: translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

@keyframes hcScrollGuide {
    0% { transform: translateY(0); opacity: 0; }
    18% { opacity: 1; }
    100% { transform: translateY(42px); opacity: 0; }
}

.hc-hero.is-dark-ui {
    color: var(--hc-fg);
}

.hc-page,
.hc-work-single,
.hc-works-archive {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 112px 0 84px;
}

.hc-page__grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.44fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
    width: 100%;
    max-width: var(--hc-content-inner-max);
    margin: 0 auto;
}

.hc-page__stack {
    width: 100%;
    max-width: var(--hc-content-inner-max);
    margin: 0 auto;
}

.hc-page--about .hc-page__stack--about {
    display: block;
}

.hc-page--about .hc-page__header--stack {
    position: static;
    max-width: 760px;
    margin: 0 0 42px;
}

.hc-page--about .hc-page__content--about {
    max-width: 760px;
}

.hc-page__header,
.hc-work-single__header {
    margin-bottom: 0;
}

.hc-page__header--sticky {
    position: sticky;
    top: 120px;
    align-self: start;
}

.hc-page__eyebrow {
    margin: 0 0 16px;
}

.hc-page__header h1,
.hc-work-single__title {
    margin: 0;
    font-family: var(--hc-font-title);
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.hc-page__page-title {
    font-family: var(--hc-font-display);
    font-size: clamp(2.2rem, 4vw, 4.6rem);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hc-page__site-title {
    letter-spacing: 0;
}

.hc-page__lede,
.hc-work-single__excerpt {
    margin: 16px 0 0;
    color: var(--hc-fg-subtle);
    max-width: 720px;
    line-height: 1.8;
}

.hc-page__header--intro-like {
    max-width: 760px;
}

.hc-page__content,
.hc-work-single__description {
    font-size: 14px;
    line-height: 1.95;
    color: rgba(247, 244, 238, 0.88);
}

.hc-page__content--about > *:first-child {
    margin-top: 0;
}

.hc-page__content--about p,
.hc-page__content--about ul,
.hc-page__content--about ol {
    max-width: 760px;
}

.hc-page__content--about h2,
.hc-page__content--about h3 {
    margin-top: 2.6em;
    margin-bottom: 0.8em;
    font-family: var(--hc-font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hc-work-single__masthead {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: clamp(28px, 4.2vw, 58px);
    align-items: start;
    width: 100%;
    max-width: var(--hc-content-inner-max);
    margin: 0 auto 64px;
}

.hc-work-single__header {
    position: sticky;
    top: 118px;
    align-self: start;
}

.hc-work-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 18px;
}

.hc-work-single__hero {
    width: min(100%, 760px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 30px;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    border: 0;
    background: transparent;
}

.hc-work-single__hero picture,
.hc-gallery__item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hc-work-single__hero img,
.hc-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto;
}

/* PATCH v0.1.52: single works hero の layered depth をさらに可視化。
   underlay / stage / DOM image の層差を広げ、戻る復帰時の再初期化も JS 側で強化。 */
.hc-work-single__hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --hc-single-image-shift-x: 0px;
    --hc-single-image-shift-y: 0px;
    --hc-single-stage-shift-x: 0px;
    --hc-single-stage-shift-y: 0px;
    --hc-single-underlay-shift-x: 0px;
    --hc-single-underlay-shift-y: 0px;
}

.hc-work-single__hero-image {
    position: relative;
    z-index: 2;
    transform: translate3d(var(--hc-single-image-shift-x), var(--hc-single-image-shift-y), 0) scale(1.02);
    transform-origin: 50% 50%;
    transition: opacity 0.45s ease, transform 0.16s linear, filter 0.45s ease;
    will-change: transform, opacity, filter;
}

.hc-work-single__hero-underlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0;
    transform: translate3d(var(--hc-single-underlay-shift-x), var(--hc-single-underlay-shift-y), 0) scale(1.24);
    filter: blur(54px) brightness(1.18) contrast(1.22) saturate(1.04);
    mix-blend-mode: screen;
    transition: opacity 0.5s ease, transform 0.16s linear, filter 0.5s ease;
    will-change: transform, opacity;
}

.hc-work-single__hero-stage {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(var(--hc-single-stage-shift-x), var(--hc-single-stage-shift-y), 0);
    transform-origin: 50% 50%;
    transition: opacity 0.45s ease, transform 0.16s linear, filter 0.45s ease;
    will-change: transform, opacity, filter;
}

.hc-work-single__hero-stage canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hc-work-single__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.30));
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hc-work-single__hero.is-webgl-loading .hc-work-single__hero-underlay,
.hc-work-single__hero.is-webgl-loading .hc-work-single__hero-stage {
    opacity: 0;
}

.hc-work-single__hero.is-webgl-ready .hc-work-single__hero-underlay {
    opacity: 0.64;
}

.hc-work-single__hero.is-webgl-ready .hc-work-single__hero-stage {
    opacity: 0.98;
    filter: brightness(1.08) contrast(1.08) saturate(1.06);
    mix-blend-mode: normal;
}

.hc-work-single__hero.is-webgl-ready::after {
    opacity: 0.64;
}

.hc-work-single__hero.is-webgl-ready .hc-work-single__hero-image {
    opacity: 0.48;
    filter: brightness(0.82) contrast(1.02);
}

.hc-work-single__hero.is-webgl-disabled .hc-work-single__hero-underlay,
.hc-work-single__hero.is-webgl-disabled .hc-work-single__hero-stage,
.hc-work-single__hero.is-webgl-error .hc-work-single__hero-underlay,
.hc-work-single__hero.is-webgl-error .hc-work-single__hero-stage {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hc-work-single__hero::after,
    .hc-work-single__hero-underlay,
    .hc-work-single__hero-stage,
    .hc-work-single__hero-image {
        transition: none;
    }
}

@media (max-width: 900px) {
    .hc-work-single__hero-underlay,
    .hc-work-single__hero-stage,
    .hc-work-single__hero::after {
        display: none !important;
    }

    .hc-work-single__hero.is-webgl-ready .hc-work-single__hero-image {
        opacity: 1;
        filter: none;
    }
}


.hc-work-single__content {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.62fr);
    gap: clamp(32px, 4.8vw, 72px);
    width: 100%;
    max-width: var(--hc-content-inner-max);
    margin: 0 auto 72px;
    align-items: start;
}

.hc-work-single__side {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 16px;
}

.hc-work-single__block {
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid var(--hc-line);
    background: transparent;
}

.hc-work-single__block h2 {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--hc-fg-subtle);
}

.hc-work-single__block p {
    margin: 0;
    line-height: 1.8;
}


.hc-work-single__exif-list {
    margin: 16px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--hc-line);
    display: grid;
    gap: 8px;
}

.hc-work-single__exif-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 6px 12px;
    align-items: baseline;
}

.hc-work-single__exif-row dt {
    margin: 0;
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hc-fg-muted);
}

.hc-work-single__exif-row dd {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: rgba(247, 244, 238, 0.84);
}

.hc-link,
.hc-ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid var(--hc-line-strong);
    background: transparent;
    color: inherit;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
}

.hc-gallery {
    display: grid;
    gap: 30px;
    width: 100%;
    max-width: var(--hc-content-inner-max);
    margin: 0 auto;
}

.hc-gallery__item {
    position: relative;
    width: min(100%, 820px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 54px;
    overflow: hidden;
    isolation: isolate;
    perspective: 1400px;
    transform-style: preserve-3d;
    --hc-gallery-rotate-x: 0deg;
    --hc-gallery-rotate-y: 0deg;
    --hc-gallery-image-shift-x: 0px;
    --hc-gallery-image-shift-y: 0px;
    --hc-gallery-stage-shift-x: 0px;
    --hc-gallery-stage-shift-y: 0px;
    --hc-gallery-underlay-shift-x: 0px;
    --hc-gallery-underlay-shift-y: 0px;
    --hc-gallery-image-scale: 1;
    --hc-gallery-stage-scale: 1.02;
    --hc-gallery-underlay-scale: 1.08;
    --hc-gallery-underlay-blur: 18px;
    --hc-gallery-underlay-opacity: 0.18;
    --hc-gallery-stage-opacity: 0.14;
    --hc-gallery-shadow-alpha: 0.18;
}

.hc-gallery__image,
.hc-gallery__item-stage,
.hc-gallery__item-underlay {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    transform-origin: 50% 50%;
    will-change: transform, opacity, filter;
}

.hc-gallery__image {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate3d(0, 0, 26px) scale(1);
    filter: drop-shadow(0 26px 46px rgba(0, 0, 0, var(--hc-gallery-shadow-alpha)));
    transition: filter 0.26s ease, opacity 0.26s ease;
}

.hc-gallery__item-underlay {
    z-index: 1;
    opacity: 0;
    transform:
        translate3d(var(--hc-gallery-underlay-shift-x), var(--hc-gallery-underlay-shift-y), -62px)
        rotateX(calc(var(--hc-gallery-rotate-x) * 0.46))
        rotateY(calc(var(--hc-gallery-rotate-y) * 0.46))
        scale(var(--hc-gallery-underlay-scale));
    filter: blur(var(--hc-gallery-underlay-blur)) brightness(0.92) contrast(1.04);
    transition: transform 0.18s linear, opacity 0.30s ease, filter 0.30s ease;
}

.hc-gallery__item-stage {
    z-index: 2;
    opacity: 0;
    transform:
        translate3d(var(--hc-gallery-stage-shift-x), var(--hc-gallery-stage-shift-y), -16px)
        rotateX(calc(var(--hc-gallery-rotate-x) * 0.72))
        rotateY(calc(var(--hc-gallery-rotate-y) * 0.72))
        scale(var(--hc-gallery-stage-scale));
    transition: transform 0.18s linear, opacity 0.28s ease;
}

.hc-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.10)),
        radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 36%);
    mix-blend-mode: screen;
    transition: opacity 0.30s ease;
}

.hc-gallery__item.is-gallery-depth-loading .hc-gallery__item-underlay,
.hc-gallery__item.is-gallery-depth-loading .hc-gallery__item-stage {
    opacity: 0;
}

.hc-gallery__item.is-gallery-depth-ready .hc-gallery__item-underlay {
    opacity: var(--hc-gallery-underlay-opacity);
}

.hc-gallery__item.is-gallery-depth-ready .hc-gallery__item-stage {
    opacity: var(--hc-gallery-stage-opacity);
}

.hc-gallery__item.is-gallery-depth-ready::after {
    opacity: 0.24;
}

.hc-gallery__item.is-gallery-depth-disabled .hc-gallery__item-underlay,
.hc-gallery__item.is-gallery-depth-disabled .hc-gallery__item-stage,
.hc-gallery__item.is-gallery-depth-error .hc-gallery__item-underlay,
.hc-gallery__item.is-gallery-depth-error .hc-gallery__item-stage {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hc-gallery__image,
    .hc-gallery__item-underlay,
    .hc-gallery__item-stage,
    .hc-gallery__item::after {
        transition: none;
    }
}

@media (max-width: 900px) {
    .hc-gallery__item {
        perspective: none;
    }

    .hc-gallery__item-underlay,
    .hc-gallery__item-stage,
    .hc-gallery__item::after {
        display: none !important;
    }

    .hc-gallery__image {
        transform: none !important;
        filter: none !important;
    }
}
.hc-work-single__nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    width: 100%;
    max-width: var(--hc-content-inner-max);
    margin: 0 auto;
    align-items: start;
    border-top: 1px solid var(--hc-line);
    padding-top: 24px;
}

.hc-work-single__nav-col {
    min-height: 46px;
}

.hc-work-single__nav-col--next {
    text-align: right;
}

.hc-work-single__nav-link {
    display: inline-grid;
    gap: 6px;
    max-width: min(420px, 100%);
}

.hc-work-single__nav-col--next .hc-work-single__nav-link {
    justify-items: end;
    margin-left: auto;
}

.hc-work-single__nav-label {
    font-family: var(--hc-font-display);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hc-fg-subtle);
}

.hc-work-single__nav-title {
    font-family: var(--hc-font-display);
    font-size: clamp(0.92rem, 1.3vw, 1.08rem);
    line-height: 1.4;
    letter-spacing: 0.01em;
}


.hc-hero__rail-title {
    display: inline-block;
    max-width: 32vw;
    font-size: clamp(0.8rem, 1.02vw, 0.92rem);
    line-height: 1.28;
}

.hc-hero__rail-link--prev .hc-hero__rail-title {
    padding-right: 14px;
}

.hc-hero__rail-link--next .hc-hero__rail-title {
    padding-left: 14px;
}

.hc-hero__rail-current-title {
    display: none !important;
}

.hc-hero.is-index-open .hc-hero__menu-trigger {
    z-index: 30;
    pointer-events: auto;
}

.hc-side-index__nav .menu,
.hc-side-index__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1180px) {
    .hc-hero__centerpiece {
        left: clamp(104px, 13vw, 160px);
        top: 46%;
        width: min(420px, calc(100vw - 420px));
        transform: translateY(-30%);
    }

    .hc-hero__cta-wrap {
        right: clamp(42px, 8vw, 88px);
        top: 50%;
        transform: translateY(-42%);
    }

    .hc-hero__bottomrail {
        left: var(--hc-gutter);
        right: var(--hc-gutter);
        width: auto;
    }

    .hc-page__grid,
    .hc-work-single__masthead {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hc-work-single__hero,
    .hc-gallery__item {
        width: min(100%, 680px);
    }

    .hc-page__header--sticky,
    .hc-work-single__header,
    .hc-work-single__side {
        position: static;
    }

    .hc-work-single__hero {
        justify-content: flex-start;
    }

    .hc-work-single__hero img {
        max-height: none;
        width: 100%;
    }
}

@media (max-width: 900px) {
    :root {
        --hc-fixed-ui-side-offset: 18px;
    }

    .hc-global-menu__inner {
        right: 18px;
        top: 86px;
        width: min(320px, calc(100vw - 54px));
        max-height: calc(100vh - 142px);
    }

    body:not(.home) .hc-main {
        padding-inline: 18px;
    }

    .hc-page,
    .hc-work-single,
    .hc-works-archive {
        padding-left: 0;
        padding-right: 0;
    }

    .hc-work-single {
        padding-top: 96px;
    }

    .hc-site-header__inner {
        padding-top: 22px;
        padding-bottom: 22px;
        padding-left: var(--hc-gutter);
        padding-right: var(--hc-gutter);
    }

    .hc-global-menu-trigger--inner {
        left: var(--hc-fixed-ui-side-offset);
        top: auto;
        bottom: 118px;
        transform: none;
    }

    .hc-hero__overlay {
        padding: 98px 18px 26px;
    }

    .hc-hero__menu-trigger {
        left: var(--hc-fixed-ui-side-offset);
        top: auto;
        bottom: 118px;
        transform: none;
    }

    .hc-hero__side-index {
        left: auto;
        right: 18px;
        top: 90px;
        width: min(320px, calc(100vw - 54px));
    }

    .hc-hero__centerpiece {
        position: static;
        width: auto;
        margin-top: 28vh;
        transform: none;
    }

    .hc-hero__title {
        font-size: clamp(2rem, 9vw, 3.15rem);
    }

    .hc-hero.is-intro-slide .hc-hero__centerpiece {
        width: calc(100vw - 36px);
        top: auto;
        left: auto;
        margin-top: 24vh;
        transform: none;
    }

    .hc-hero:not(.is-intro-slide) .hc-hero__centerpiece {
        left: clamp(242px, 39vw, 344px);
        top: 50%;
        width: min(336px, calc(100vw - 280px));
        transform: translateY(-44%);
    }

    .hc-hero:not(.is-intro-slide) .hc-hero__title {
        font-size: clamp(2.35rem, 7vw, 3.2rem);
    }

    .hc-hero:not(.is-intro-slide) .hc-hero__caption {
        max-width: 240px;
    }

    .hc-hero:not(.is-intro-slide) .hc-hero__visual-stage {
        left: 96px;
        right: auto;
        top: 49%;
        bottom: auto;
        width: min(40vw, 296px);
        height: min(50vh, 348px);
        transform: translateY(-50%);
    }

    .hc-hero:not(.is-intro-slide) .hc-hero__cta-wrap {
        right: 120px;
        top: auto;
        bottom: 110px;
        transform: none;
    }

    .hc-hero.is-intro-slide .hc-hero__title {
        max-width: calc(100vw - 36px);
        font-size: clamp(2.15rem, 7.4vw, 3.55rem);
        white-space: normal;
        text-wrap: balance;
    }

    .hc-hero__cta-wrap {
        right: 18px;
        top: auto;
        bottom: 110px;
        transform: none;
    }

    .hc-hero__bottomrail {
        left: 18px;
        right: 18px;
        bottom: 36px;
        grid-template-columns: 1fr 80px 1fr;
        gap: 16px;
    }

    .hc-hero__scroll-guide {
        bottom: 28px;
    }

    .hc-work-single__content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hc-work-single__nav {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
        align-items: start;
    }

    .hc-work-single__nav-col--next {
        text-align: right;
    }

    .hc-work-single__nav-col--next .hc-work-single__nav-link {
        justify-items: end;
        margin-left: auto;
    }
}


@media (max-width: 640px) {
    .hc-site-header__inner {
        align-items: center;
        gap: 10px;
    }

    .hc-hero:not(.is-intro-slide) .hc-hero__centerpiece {
        left: 142px;
        top: 104px;
        width: min(256px, calc(100vw - 156px));
        transform: none;
    }

    .hc-hero:not(.is-intro-slide) .hc-hero__visual-stage {
        left: 30px;
        right: auto;
        width: calc(100vw - 68px);
        bottom: 126px;
        height: min(34vh, 280px);
    }

    .hc-hero__centerpiece,
    .hc-hero.is-intro-slide .hc-hero__centerpiece {
        margin-top: 30vh;
    }

    .hc-work-list__button {
        grid-template-columns: 44px 1fr;
        gap: 10px;
    }

    .hc-work-list__title,
    .hc-hero__rail-title,
    .hc-side-index__nav .hc-site-nav__menu a,
    .hc-side-index__nav-list a {
        font-size: 13px;
    }
}


.hc-debug-panel {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9999;
    width: min(560px, calc(100vw - 32px));
    max-height: min(42vh, 360px);
    overflow: auto;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font: 12px/1.45 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.hc-debug-panel__title {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hc-debug-panel__list {
    display: grid;
    gap: 7px;
    margin: 0;
}

.hc-debug-panel__list > div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    align-items: start;
}

.hc-debug-panel__list dt {
    margin: 0;
    opacity: 0.68;
    text-transform: uppercase;
}

.hc-debug-panel__list dd {
    margin: 0;
    word-break: break-all;
}

@media (max-width: 768px) {
    .hc-debug-panel {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        max-height: 38vh;
        padding: 10px 12px;
        font-size: 11px;
    }

    .hc-debug-panel__list > div {
        grid-template-columns: 72px 1fr;
        gap: 8px;
    }
}


@media (max-width: 900px) {
    :root {
        --hc-fixed-ui-side-offset: 18px;
    }

    .hc-global-menu__inner {
        top: 104px;
        right: 18px;
        width: calc(100vw - 36px);
        max-height: calc(100vh - 148px);
        padding-top: 0;
    }

    .hc-global-menu__nav-list a {
        font-size: 1rem;
    }

    .hc-global-menu__works-link {
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .hc-global-menu__works-title {
        font-size: 13px;
    }
}


.hc-works-archive {
    padding-top: 124px;
}

.hc-works-archive__shell {
    width: 100%;
    max-width: min(1640px, 100%);
    margin: 0 auto;
}

.hc-works-archive__intro {
    max-width: 760px;
    margin: 0 0 clamp(36px, 4vw, 56px);
}

.hc-works-archive__eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hc-fg-muted);
}

.hc-works-archive__title {
    margin: 0;
    font-family: var(--hc-font-display);
    font-size: clamp(2.2rem, 4vw, 4.6rem);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hc-works-archive__lead {
    max-width: 46ch;
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--hc-fg-muted);
}

.hc-works-archive__visual {
    position: relative;
    min-height: 680px;
    isolation: isolate;
}

.hc-works-archive__webgl {
    display: none !important;
}

.hc-works-archive__webgl canvas {
    display: none !important;
}

.hc-works-archive__masonry {
    position: relative;
    display: grid;
    /* PATCH v0.1.47: ratio 混在時の見た目を整えるため、CSS Grid の row-span を使う masonry 寄り構成へ調整。 */
    --hc-archive-row-unit: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: var(--hc-archive-row-unit);
    gap: clamp(26px, 2.2vw, 40px);
    align-items: start;
    padding-bottom: 140px;
}

.hc-works-archive__item {
    position: relative;
    z-index: 1;
    grid-row-end: span var(--hc-row-span, 1);
    --hc-shift-x: 0px;
    --hc-shift-y: 0px;
    --hc-dom-shift-x: 0px;
    --hc-dom-shift-y: 0px;
    --hc-archive-scale: 1;
    --hc-archive-rotate: 0deg;
    --hc-grid-shift-y: 0px;
    transform: translate3d(0, var(--hc-grid-shift-y), 0);
    transition: z-index 0.2s ease;
}

.hc-works-archive__item:nth-child(5n + 2) {
    --hc-grid-shift-y: 14px;
}

.hc-works-archive__item:nth-child(5n + 3) {
    --hc-grid-shift-y: 34px;
}

.hc-works-archive__item:nth-child(5n + 4) {
    --hc-grid-shift-y: 10px;
}

.hc-works-archive__item:nth-child(5n + 5) {
    --hc-grid-shift-y: 24px;
}

.hc-works-archive__card {
    position: relative;
    display: block;
}

.hc-works-archive__media {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    aspect-ratio: var(--hc-item-ratio, 1);
    transform: translate3d(var(--hc-shift-x), var(--hc-shift-y), 0) rotate(var(--hc-archive-rotate)) scale(var(--hc-archive-scale));
    transform-origin: center center;
    transition: transform 0.32s ease, opacity 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    will-change: transform;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    background: transparent;
    isolation: isolate;
}

.hc-works-archive__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hc-works-archive__media img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.34s ease, transform 0.34s ease, filter 0.34s ease;
    backface-visibility: hidden;
}

.hc-works-archive__caption {
    position: relative;
    z-index: 7;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    margin-top: 12px;
    color: var(--hc-fg);
    opacity: 0.84;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.hc-works-archive__caption-number {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--hc-fg-muted);
}

.hc-works-archive__caption-title {
    display: block;
    font-family: var(--hc-font-title);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.015em;
}

.hc-works-archive__item.depth-1 {
    --hc-archive-scale: 0.972;
    --hc-archive-rotate: -0.26deg;
}

.hc-works-archive__item.depth-2 {
    --hc-archive-scale: 1;
    --hc-archive-rotate: 0deg;
}

.hc-works-archive__item.depth-3 {
    --hc-archive-scale: 1.032;
    --hc-archive-rotate: 0.24deg;
}

.hc-works-archive__item.is-active,
.hc-works-archive__item:hover,
.hc-works-archive__item:focus-within {
    z-index: 7;
}

.hc-works-archive__item.is-active .hc-works-archive__media,
.hc-works-archive__item:hover .hc-works-archive__media,
.hc-works-archive__item:focus-within .hc-works-archive__media {
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
    transform: translate3d(var(--hc-shift-x), calc(var(--hc-shift-y) - 8px), 0) rotate(calc(var(--hc-archive-rotate) * 0.2)) scale(calc(var(--hc-archive-scale) + 0.02));
}

.hc-works-archive__item.is-active .hc-works-archive__caption,
.hc-works-archive__item:hover .hc-works-archive__caption,
.hc-works-archive__item:focus-within .hc-works-archive__caption {
    opacity: 1;
    transform: translateY(-2px);
}

.hc-works-archive__item.is-hovering .hc-works-archive__media img,
.hc-works-archive__item:hover .hc-works-archive__media img,
.hc-works-archive__item:focus-within .hc-works-archive__media img {
    opacity: 0.96;
    transform: scale(1.012);
}

.hc-works-archive__empty {
    min-height: 440px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--hc-fg-muted);
}

@media (max-width: 1480px) {
    .hc-works-archive__masonry {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hc-works-archive__item:nth-child(5n + 2),
    .hc-works-archive__item:nth-child(5n + 3),
    .hc-works-archive__item:nth-child(5n + 4),
    .hc-works-archive__item:nth-child(5n + 5) {
        --hc-grid-shift-y: 0px;
    }

    .hc-works-archive__item:nth-child(4n + 2) {
        --hc-grid-shift-y: 12px;
    }

    .hc-works-archive__item:nth-child(4n + 3) {
        --hc-grid-shift-y: 28px;
    }

    .hc-works-archive__item:nth-child(4n + 4) {
        --hc-grid-shift-y: 10px;
    }
}

@media (max-width: 1120px) {
    .hc-works-archive {
        padding-top: 108px;
    }

    .hc-works-archive__masonry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
        padding-bottom: 96px;
    }

    .hc-works-archive__item {
        --hc-grid-shift-y: 0px;
    }

    .hc-works-archive__item:nth-child(3n + 2) {
        --hc-grid-shift-y: 12px;
    }

    .hc-works-archive__item:nth-child(3n + 3) {
        --hc-grid-shift-y: 24px;
    }
}

@media (max-width: 900px) {
    .hc-works-archive {
        padding-top: 104px;
        padding-bottom: 56px;
    }

    .hc-works-archive__intro {
        margin-bottom: 28px;
    }

    .hc-works-archive__visual {
        min-height: 0;
    }

    .hc-works-archive__webgl {
        display: none;
    }

    .hc-works-archive__masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        padding-bottom: 24px;
    }

    .hc-work-single__content,
    .hc-work-single__nav {
        max-width: none;
    }

    .hc-work-single__hero,
    .hc-gallery__item {
        width: 100%;
    }

    .hc-works-archive__item {
        --hc-grid-shift-y: 0px !important;
    }

    .hc-works-archive__media {
        transform: none !important;
        box-shadow: none;
    }

    .hc-works-archive__caption {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .hc-works-archive__masonry {
        grid-template-columns: 1fr;
    }
}

.hc-global-menu__works-head-wrap,
.hc-side-index__works-head-wrap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.hc-global-menu__works-head-wrap > .hc-global-menu__works-head {
    margin-bottom: 0;
}

.hc-side-index__works-head {
    margin-bottom: 20px;
    margin-right: 20px;
}

.hc-side-index__archive-link {
    font-family: var(--hc-font-display);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
    opacity: 0.82;
}

.hc-side-index__archive-link:hover {
    color: rgba(255, 255, 255, 0.98);
    opacity: 1;
}


/* PATCH v0.2.14: Stable mobile hero viewport.
   Locks the front-page hero to a JS-managed height so mobile URL/navigation bar changes do not relayout swipe navigation. */
@media (max-width: 900px) {
    html.hc-mobile-vh-lock body.home,
    html.hc-mobile-vh-lock body.home .hc-main {
        min-height: var(--hc-app-height);
    }

    html.hc-mobile-vh-lock body.home .hc-hero {
        height: var(--hc-app-height);
        min-height: var(--hc-app-height);
        overflow: hidden;
    }

    html.hc-mobile-vh-lock body.home .hc-hero__overlay {
        height: var(--hc-app-height);
        min-height: var(--hc-app-height);
    }

    html.hc-mobile-vh-lock body.home .hc-hero__canvas-wrap,
    html.hc-mobile-vh-lock body.home .hc-hero__canvas,
    html.hc-mobile-vh-lock body.home .hc-hero__fallback {
        height: var(--hc-app-height);
    }

    html.hc-mobile-vh-lock body.home .hc-hero__side-index {
        max-height: calc(var(--hc-app-height) - 132px);
    }

    html.hc-mobile-vh-lock body.home .hc-hero:not(.is-intro-slide) .hc-hero__visual-stage {
        height: min(calc(var(--hc-app-height) - 304px), var(--hc-app-height-52));
    }

    html.hc-mobile-vh-lock body.home .hc-hero:not(.is-intro-slide) .hc-hero__center-inner {
        min-height: min(calc(var(--hc-app-height) - 304px), var(--hc-app-height-52));
    }
}

@media (max-width: 640px) {
    html.hc-mobile-vh-lock body.home .hc-hero__side-index {
        max-height: calc(var(--hc-app-height) - 116px);
    }

    html.hc-mobile-vh-lock body.home .hc-hero:not(.is-intro-slide) .hc-hero__visual-stage {
        height: min(calc(var(--hc-app-height) - 268px), var(--hc-app-height-48));
    }

    html.hc-mobile-vh-lock body.home .hc-hero:not(.is-intro-slide) .hc-hero__center-inner {
        min-height: min(calc(var(--hc-app-height) - 268px), var(--hc-app-height-48));
    }
}

/* Responsive refinement for front-page hero works slides (mobile-first override) */
@media (max-width: 900px) {
    .home .hc-hero__overlay {
        padding: 88px 18px 118px;
    }

    .home .hc-hero__menu-trigger {
        left: auto;
        right: 18px;
        top: 20px;
        bottom: auto;
        transform: none;
        z-index: 30;
    }

    .home .hc-hero__side-index {
        left: 18px;
        right: 18px;
        top: 72px;
        width: auto;
        max-height: calc(100svh - 132px);
        z-index: 24;
        text-align: right;
    }

    .home .hc-side-index__inner {
        justify-items: end;
    }

    .home .hc-side-index__nav,
    .home .hc-side-index__nav .hc-site-nav__menu,
    .home .hc-work-list {
        width: 100%;
    }

    .home .hc-side-index__nav .hc-site-nav__menu,
    .home .hc-side-index__nav-list {
        justify-items: end;
    }

    .home .hc-side-index__nav .hc-site-nav__menu a,
    .home .hc-side-index__nav-list a,
    .home .hc-side-index__works-head,
    .home .hc-side-index__archive-link {
        text-align: right;
    }

    .home .hc-work-list__button {
        grid-template-columns: 1fr 54px;
        padding: 4px 0 4px 8px;
        text-align: right;
    }

    .home .hc-work-list__number {
        order: 2;
        justify-self: end;
    }

    .home .hc-work-list__title {
        order: 1;
        justify-self: end;
        text-align: right;
    }

    .home .hc-hero:not(.is-intro-slide)::after {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.10) 16%, rgba(0, 0, 0, 0.14) 34%, rgba(0, 0, 0, 0.44) 62%, rgba(0, 0, 0, 0.78) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.14) 100%);
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__visual-stage {
        left: 50%;
        right: auto;
        top: 50%;
        bottom: auto;
        width: min(calc(100vw - 76px), 340px);
        height: min(calc(100svh - 304px), 52svh);
        min-height: 300px;
        max-height: 500px;
        transform: translate(-50%, -50%);
        overflow: hidden;
        z-index: 4;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__visual-stage::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.30) 46%, rgba(0, 0, 0, 0.40) 100%);
        pointer-events: none;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__visual-image {
        position: relative;
        z-index: 0;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__centerpiece {
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none;
        z-index: 6;
        pointer-events: none;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__center-inner {
        width: min(calc(100vw - 76px), 340px);
        min-height: min(calc(100svh - 304px), 52svh);
        max-height: 500px;
        max-width: none;
        padding: 28px 22px;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 10px;
        text-align: center;
        text-shadow: 0 6px 20px rgba(0, 0, 0, 0.42), 0 2px 8px rgba(0, 0, 0, 0.38);
        overflow: hidden;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__kicker,
    .home .hc-hero:not(.is-intro-slide) .hc-hero__meta-row,
    .home .hc-hero:not(.is-intro-slide) .hc-hero__title,
    .home .hc-hero:not(.is-intro-slide) .hc-hero__caption {
        width: 100%;
        text-align: center;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__kicker {
        margin: 0;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__meta-row {
        justify-content: center;
        margin-top: 0;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__title {
        margin: 0;
        font-size: clamp(2rem, 7vw, 2.8rem);
        line-height: 0.94;
        white-space: normal;
        text-wrap: balance;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__caption {
        max-width: 26ch;
        margin-top: 0;
        margin-inline: auto;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__cta-wrap {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 104px;
        transform: translateX(-50%);
        z-index: 8;
        text-align: center;
    }

    .home .hc-hero__bottomrail {
        left: 18px;
        right: 18px;
        bottom: 54px;
        gap: 14px;
        z-index: 8;
    }

    .home .hc-hero__rail-title {
        max-width: 26vw;
        font-size: clamp(0.72rem, 2.2vw, 0.82rem);
        line-height: 1.24;
    }

    .home .hc-hero__rail-link::before {
        width: clamp(54px, 16vw, 88px);
    }

    .home .hc-site-footer--overlay {
        z-index: 6;
        padding-bottom: calc(6px + env(safe-area-inset-bottom));
    }

    .home .hc-site-footer--overlay small {
        font-size: 9px;
        letter-spacing: 0.12em;
        color: rgba(247, 244, 238, 0.42);
    }
}

@media (max-width: 640px) {
    .home .hc-hero__overlay {
        padding: 82px 16px 112px;
    }

    .home .hc-hero__menu-trigger {
        right: 16px;
        top: 16px;
    }

    .home .hc-hero__side-index {
        left: 16px;
        right: 16px;
        top: 64px;
        max-height: calc(100svh - 116px);
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__visual-stage {
        width: min(calc(100vw - 48px), 300px);
        height: min(calc(100svh - 268px), 48svh);
        min-height: 280px;
        max-height: 430px;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__center-inner {
        width: min(calc(100vw - 48px), 300px);
        min-height: min(calc(100svh - 268px), 48svh);
        max-height: 430px;
        padding: 24px 18px;
        gap: 8px;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__title {
        font-size: clamp(1.8rem, 8.2vw, 2.35rem);
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__caption {
        font-size: 10px;
        line-height: 1.65;
        max-width: 24ch;
    }

    .home .hc-hero:not(.is-intro-slide) .hc-hero__cta-wrap {
        bottom: 96px;
    }

    .home .hc-hero__bottomrail {
        left: 16px;
        right: 16px;
        bottom: 44px;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    }

    .home .hc-hero__rail-title {
        max-width: 24vw;
        font-size: clamp(0.68rem, 2.8vw, 0.78rem);
    }

    .home .hc-hero__rail-current {
        min-width: 56px;
        padding-inline: 8px;
    }

    .home .hc-site-footer--overlay {
        padding-bottom: calc(4px + env(safe-area-inset-bottom));
    }
}


/* PATCH v0.1.83: lower pages mobile kit unification for about / works archive / single works. */
@media (max-width: 900px) {
    .hc-global-menu-trigger--inner {
        left: auto;
        right: var(--hc-fixed-ui-side-offset);
        top: 20px;
        bottom: auto;
        transform: none;
        z-index: 90;
    }

    .hc-global-menu__inner {
        top: 76px;
        right: 18px;
        width: calc(100vw - 36px);
        max-height: calc(100svh - 110px);
        text-align: right;
    }

    .hc-global-menu__nav-list,
    .hc-global-menu__works-list {
        justify-items: end;
    }

    .hc-global-menu__nav-list a,
    .hc-global-menu__works-head {
        text-align: right;
    }

    .hc-global-menu__works-link {
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: 12px;
        justify-items: end;
        text-align: right;
    }

    .hc-global-menu__works-number {
        order: 2;
    }

    .hc-global-menu__works-title {
        order: 1;
    }

    body:not(.home) .hc-main {
        padding-inline: 18px;
    }

    .hc-page,
    .hc-work-single,
    .hc-works-archive {
        padding-top: 92px;
        padding-bottom: 64px;
    }

    .hc-page__grid,
    .hc-page__stack,
    .hc-work-single__masthead,
    .hc-work-single__content,
    .hc-work-single__nav,
    .hc-works-archive__shell,
    .hc-gallery {
        max-width: 100%;
    }

    .hc-page__header h1,
    .hc-work-single__title,
    .hc-works-archive__title,
    .hc-page__page-title {
        font-size: clamp(2rem, 7.2vw, 3rem);
        line-height: 0.98;
    }

    .hc-page__lede,
    .hc-work-single__excerpt,
    .hc-works-archive__lead {
        font-size: 12px;
        line-height: 1.75;
        max-width: 36ch;
    }

    .hc-page--about .hc-page__header--stack,
    .hc-page--about .hc-page__content--about {
        max-width: 100%;
    }

    .hc-page--about .hc-page__header--stack {
        margin-bottom: 28px;
    }

    .hc-page__content,
    .hc-work-single__description {
        font-size: 13px;
        line-height: 1.86;
    }

    .hc-page__content--about p,
    .hc-page__content--about ul,
    .hc-page__content--about ol {
        max-width: 100%;
    }

    .hc-works-archive__intro {
        max-width: 32ch;
        margin: 0 auto 24px;
        text-align: center;
    }

    .hc-works-archive__lead {
        margin-inline: auto;
        max-width: 30ch;
    }

    .hc-works-archive__masonry {
        gap: 18px;
        padding-bottom: 18px;
    }

    .hc-works-archive__caption {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 8px;
        margin-top: 10px;
    }

    .hc-works-archive__caption-number {
        font-size: 10px;
    }

    .hc-works-archive__caption-title {
        font-size: 13px;
        line-height: 1.4;
    }

    .hc-work-single__masthead {
        gap: 24px;
        margin-bottom: 40px;
    }

    .hc-work-single__header {
        position: static;
        top: auto;
    }

    .hc-work-single__meta {
        gap: 8px 14px;
        margin-bottom: 14px;
    }

    .hc-work-single__hero {
        width: min(100%, 420px);
        margin-bottom: 24px;
    }

    .hc-work-single__content {
        gap: 32px;
        margin-bottom: 56px;
    }

    .hc-work-single__side {
        gap: 18px;
    }

    .hc-work-single__block h2 {
        margin-bottom: 12px;
    }

    .hc-work-single__exif-list {
        gap: 10px;
    }

    .hc-gallery {
        gap: 20px;
    }

    .hc-gallery__item {
        width: 100%;
        margin-bottom: 36px;
    }

    .hc-work-single__nav {
        gap: 20px;
        padding-top: 20px;
    }

    .hc-work-single__nav-link {
        gap: 4px;
    }

    .hc-work-single__nav-title {
        font-size: 0.98rem;
        line-height: 1.34;
    }

    .hc-site-footer {
        padding: 12px 18px 18px;
    }
}

@media (max-width: 640px) {
    body:not(.home) .hc-main {
        padding-inline: 16px;
    }

    .hc-site-header__inner {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .hc-global-menu-trigger--inner {
        right: 16px;
        top: 16px;
    }

    .hc-global-menu__inner {
        right: 16px;
        width: calc(100vw - 32px);
        max-height: calc(100svh - 102px);
    }

    .hc-page,
    .hc-work-single,
    .hc-works-archive {
        padding-top: 86px;
        padding-bottom: 56px;
    }

    .hc-page__eyebrow,
    .hc-works-archive__eyebrow,
    .hc-work-single__meta,
    .hc-work-single__nav-label {
        font-size: 8px;
        letter-spacing: 0.18em;
    }

    .hc-page__header h1,
    .hc-work-single__title,
    .hc-works-archive__title,
    .hc-page__page-title {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
    }

    .hc-page__lede,
    .hc-work-single__excerpt,
    .hc-works-archive__lead,
    .hc-page__content,
    .hc-work-single__description {
        max-width: 100%;
    }

    .hc-page__content,
    .hc-work-single__description {
        font-size: 12.5px;
        line-height: 1.82;
    }

    .hc-works-archive__intro {
        margin-bottom: 22px;
    }

    .hc-works-archive__masonry {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hc-works-archive__item {
        width: min(100%, 360px);
        margin-inline: auto;
    }

    .hc-works-archive__caption {
        grid-template-columns: none;
        justify-items: center;
        text-align: center;
        gap: 4px;
    }

    .hc-works-archive__caption-number,
    .hc-works-archive__caption-title {
        width: 100%;
    }

    .hc-work-single__masthead {
        margin-bottom: 32px;
    }

    .hc-work-single__hero {
        width: min(100%, 330px);
        aspect-ratio: 1 / 1;
        margin-bottom: 20px;
    }

    .hc-work-single__content {
        gap: 24px;
        margin-bottom: 44px;
    }

    .hc-work-single__block {
        padding-bottom: 16px;
    }

    .hc-work-single__exif-row {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 6px 10px;
    }

    .hc-work-single__exif-row dd {
        font-size: 11px;
        line-height: 1.5;
    }

    .hc-gallery {
        gap: 16px;
    }

    .hc-gallery__item {
        margin-bottom: 26px;
    }

    .hc-work-single__nav {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .hc-work-single__nav-link {
        display: inline-grid;
        max-width: 100%;
    }

    .hc-work-single__nav-col--next {
        text-align: right;
    }

    .hc-work-single__nav-col--next .hc-work-single__nav-link {
        justify-items: end;
        margin-left: auto;
    }

    .hc-work-single__nav-title {
        font-size: 0.92rem;
        line-height: 1.32;
    }

    .hc-site-footer {
        padding: 10px 16px 16px;
        font-size: 10px;
    }
}


/* Mobile front-page background fallback.
   WebGL canvas can fail or stay blank on some mobile browsers; keep the same
   current work image visible through the existing fallback layer on mobile. */
@media (max-width: 900px) {
    .home .hc-hero__canvas {
        display: none;
    }

    .home .hc-hero__fallback,
    .home .hc-hero.is-render-ready .hc-hero__fallback,
    .home .hc-hero.is-fallback .hc-hero__fallback {
        z-index: 1;
        opacity: 1 !important;
        background-size: cover;
        background-position: center center;
    }
}
