@font-face {
  font-family: "Zen Old Mincho";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/zen-old-mincho-400-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Zen Old Mincho";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/zen-old-mincho-500-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Zen Old Mincho";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/zen-old-mincho-700-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Zen Old Mincho";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/zen-old-mincho-400-jp-titles.woff2) format("woff2");
  unicode-range:
    U+3048,
    U+304B-304C,
    U+304F-3050,
    U+306E,
    U+307F,
    U+308B,
    U+3099,
    U+30B3-30B6,
    U+30CF-30D0,
    U+30F3,
    U+5929,
    U+5E55,
    U+61B6,
    U+8A18,
    U+8EE2;
}
@font-face {
  font-family: "Zen Old Mincho";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/zen-old-mincho-500-jp-titles.woff2) format("woff2");
  unicode-range:
    U+3048,
    U+304B-304C,
    U+304F-3050,
    U+306E,
    U+307F,
    U+308B,
    U+3099,
    U+30B3-30B6,
    U+30CF-30D0,
    U+30F3,
    U+5929,
    U+5E55,
    U+61B6,
    U+8A18,
    U+8EE2;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/zen-kaku-gothic-new-400-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/zen-kaku-gothic-new-500-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
:root {
  --bg: #0A1424;
  --surface: #13213A;
  --surface-2: #1A2B4A;
  --ink: #EDE8DB;
  --muted: #A6B2C7;
  --accent: #DCC284;
  --accent-ink: #0A1424;
  --g: clamp(20px, 4vw, 48px);
  --col: 680px;
  --section-y: clamp(96px, 14vh, 150px);
  --frame: max(var(--g), calc(50vw - 608px + var(--g)));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);
  --serif:
    "Zen Old Mincho",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  --sans:
    "Zen Kaku Gothic New",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.loader {
  display: none;
}
html.is-loading .loader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 40000;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  opacity: 1;
  transition: opacity .7s var(--ease-luxe);
}
html.is-loading.loaded .loader {
  opacity: 0;
  pointer-events: none;
}
.loader-name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--ink);
  display: flex;
}
.loader-name span {
  opacity: 0;
  transform: translateY(0.45em);
  animation: loaderCh .9s var(--ease-luxe) forwards;
}
.loader-moon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.4);
  animation: loaderMoon 1s .55s var(--ease-luxe) forwards;
}
@keyframes loaderCh {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loaderMoon {
  to {
    opacity: 1;
    transform: none;
  }
}
html.is-loading body {
  overflow: hidden;
}
.cursor {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  html.js:not(.rm) .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 30000;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    opacity: 0;
    transition:
      width .5s var(--ease),
      height .5s var(--ease),
      margin .5s var(--ease),
      opacity .3s,
      background .3s;
  }
  html.js:not(.rm) .cursor.on {
    opacity: .9;
  }
  html.js:not(.rm) .cursor.is-label {
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    background: var(--accent);
  }
  .cursor-label {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-ink);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity .3s, transform .45s var(--ease);
  }
  .cursor.is-label .cursor-label {
    opacity: 1;
    transform: none;
  }
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--g);
  transition:
    background .45s var(--ease-luxe),
    padding .45s var(--ease-luxe),
    box-shadow .45s var(--ease-luxe),
    transform .6s var(--ease-luxe);
}
.nav.scrolled {
  padding: 0.8rem var(--g);
  background: rgba(10, 20, 36, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 18px rgba(2, 6, 14, 0.35);
}
.nav.is-hidden {
  transform: translateY(-110%);
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-luxe);
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--ink);
}
.nav-links a:hover::after,
.nav-links a[aria-current]::after {
  transform: scaleX(1);
}
.nav-hamburger {
  display: none;
}
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  z-index: 10001;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--g);
  gap: 1.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease-luxe), visibility .4s;
}
.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 500;
  transform: translateY(18px);
  opacity: 0;
  transition: transform .6s var(--ease-luxe), opacity .5s var(--ease);
}
.nav-mobile.open a {
  transform: none;
  opacity: 1;
}
.nav-mobile.open a:nth-of-type(1) {
  transition-delay: .08s;
}
.nav-mobile.open a:nth-of-type(2) {
  transition-delay: .15s;
}
.nav-mobile.open a:nth-of-type(3) {
  transition-delay: .22s;
}
.nav-close {
  position: absolute;
  top: 0.95rem;
  right: var(--g);
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  z-index: 10002;
  -webkit-tap-highlight-color: rgba(255, 255, 255, .08);
  touch-action: manipulation;
}
body.menu-open .nav-hamburger {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.hero {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 560px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 2%;
}
html.js:not(.rm) .hero-bg {
  transform: scale(1.08);
  transition: transform 3s var(--ease);
}
html.js:not(.rm) .hero.is-in .hero-bg {
  transform: scale(1.02);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.js) .hero-bg img {
    animation: heroDrift 26s var(--ease) infinite alternate;
  }
}
@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
.hero-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
html.gl-on .hero-gl {
  opacity: 1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(7, 13, 24, 0.82) 0%,
      rgba(7, 13, 24, 0.25) 36%,
      rgba(7, 13, 24, 0) 60%,
      rgba(7, 13, 24, 0) 82%,
      rgba(7, 13, 24, 0.5) 100%);
}
.hero-inner {
  position: absolute;
  left: var(--frame);
  right: var(--frame);
  bottom: clamp(3rem, 9vh, 6rem);
  max-width: 900px;
}
.hero-title {
  font-size: clamp(3.4rem, 9.5vw, 7.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.hero-title .line > span {
  display: inline-block;
}
.hero-title .ch {
  display: inline-block;
  white-space: pre;
}
html.js:not(.rm) .hero-title .ch {
  transform: translateY(112%);
  transition: transform 1.2s var(--ease);
}
html.js:not(.rm) .hero.is-in .hero-title .ch {
  transform: none;
}
.hero-sub {
  margin-top: 1.2rem;
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.35rem);
  color: var(--ink);
  max-width: 44ch;
}
.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
html.js:not(.rm) .hero-sub,
html.js:not(.rm) .hero-cta,
html.js:not(.rm) .hero-caption,
html.js:not(.rm) .hero-scrolldown {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
html.js:not(.rm) .hero.is-in .hero-sub {
  opacity: 1;
  transform: none;
  transition-delay: .55s;
}
html.js:not(.rm) .hero.is-in .hero-cta {
  opacity: 1;
  transform: none;
  transition-delay: .72s;
}
html.js:not(.rm) .hero.is-in .hero-caption {
  opacity: 1;
  transform: none;
  transition-delay: 1s;
}
html.js:not(.rm) .hero.is-in .hero-scrolldown {
  opacity: 1;
  transform: none;
  transition-delay: 1.2s;
}
.hero-caption {
  position: absolute;
  right: var(--frame);
  bottom: 1.1rem;
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}
.hero-scrolldown {
  position: absolute;
  right: var(--g);
  top: 50%;
  width: 2px;
  height: 56px;
  margin-top: -28px;
  background: rgba(237, 232, 219, 0.22);
  overflow: hidden;
}
.hero-scrolldown::after {
  content: "";
  position: absolute;
  left: 0;
  top: -45%;
  width: 100%;
  height: 45%;
  background: var(--accent);
  animation: scrolldrip 2.6s var(--ease-luxe) infinite;
}
@keyframes scrolldrip {
  to {
    top: 105%;
  }
}
.tape {
  position: relative;
  overflow: clip;
  background: #0E1A33;
  padding: clamp(1rem, 1.8vw, 1.5rem) 0;
}
.tape-track {
  display: flex;
  align-items: baseline;
  width: max-content;
  will-change: transform;
  animation: tapeMove 64s linear infinite;
}
.tape-track span,
.tape-track i {
  margin-right: clamp(1.8rem, 3vw, 3.2rem);
}
.tape-track span {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  font-weight: 400;
  white-space: nowrap;
  color: var(--muted);
}
.tape-track i {
  flex: none;
  align-self: center;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}
@keyframes tapeMove {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (hover: hover) and (pointer: fine) {
  .tape:hover .tape-track {
    animation-play-state: paused;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--surface-2);
  color: var(--ink);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8rem 1.7rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .5s var(--ease-luxe), background .3s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  background: #22365C;
}
.btn-solid {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-solid:hover {
  background: #E7D09A;
}
.wrap {
  max-width: calc(var(--col) + 2 * var(--g));
  margin-inline: auto;
  padding-inline: var(--g);
}
.wrap-wide {
  max-width: calc(1120px + 2 * var(--g));
  margin-inline: auto;
  padding-inline: var(--g);
}
.section {
  padding-block: var(--section-y);
}
.section-title {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  margin-bottom: clamp(2rem, 5vh, 3.2rem);
}
.section-title .w {
  display: inline-block;
}
html.js:not(.rm) .section-title .w {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease-out, transform .45s ease-out;
  transition-delay: calc(var(--wi, 0) * 90ms);
}
html.js:not(.rm) .is-visible .section-title .w,
html.js:not(.rm) .section-title.is-visible .w {
  opacity: 1;
  transform: none;
}
.reveal {
  transition: opacity .7s var(--ease-luxe), transform .7s var(--ease-luxe);
}
html.js:not(.rm) .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}
html.js:not(.rm) .reveal-scale:not(.is-visible) {
  transform: translateY(20px) scale(0.97);
}
.page-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
}
.page-sub {
  font-size: 1.1875rem;
  color: var(--muted);
  margin-bottom: clamp(2.4rem, 6vh, 4rem);
  max-width: 56ch;
}
.statement {
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.35;
  font-style: italic;
  max-width: 24ch;
}
.statement .sw {
  transition: opacity .3s linear;
}
html.js:not(.rm) .statement[data-scrub] .sw {
  opacity: var(--a, 0.18);
}
.statement-by {
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 1rem;
  color: var(--muted);
}
.work-entry {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  margin-bottom: clamp(4.5rem, 10vh, 7.5rem);
}
.work-entry:last-child {
  margin-bottom: 0;
}
.work-frame {
  overflow: hidden;
  background: var(--surface);
}
.work-frame img {
  width: 100%;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ws, 1));
  transition: transform 1.1s var(--ease-luxe);
}
html.js:not(.rm) .work-frame img {
  --ws: 1.05;
}
html.js:not(.rm) .reveal-scale:not(.is-visible) .work-frame img {
  --ws: 1.12;
}
@media (hover: hover) and (pointer: fine) {
  html.js:not(.rm) .work-entry:hover .work-frame img {
    --ws: 1.08;
    transition-delay: 0s;
  }
  html:not(.js) .work-entry:hover .work-frame img,
  html.rm .work-entry:hover .work-frame img {
    --ws: 1.035;
  }
}
.work-entry.entry-wide {
  width: min(880px, 100vw - 2 * var(--g));
  margin-left: calc((100% - min(880px, 100vw - 2 * var(--g))) / 2);
}
.work-entry.entry-narrow {
  width: min(100%, 560px);
}
.work-caption {
  margin-top: 1.1rem;
}
.work-caption h3 {
  font-size: 1.35rem;
  font-weight: 500;
}
.work-caption .work-meta {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.25rem;
}
.work-meta,
.work-price,
.work-ship,
.closer-caption,
.contact-note,
.footer-small,
.draft-line {
  font-family: var(--sans);
  letter-spacing: 0.01em;
}
.work-entry .work-view {
  margin-top: 0.3rem;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .45s var(--ease-luxe), transform .45s var(--ease-luxe);
}
.work-entry:hover .work-view,
.work-entry:focus-visible .work-view {
  opacity: 1;
  transform: none;
}
.closer-frame {
  position: relative;
  aspect-ratio: 600 / 440;
  overflow: hidden;
  background: var(--surface);
}
.closer-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.closer-frame img.show {
  opacity: 1;
}
.closer-caption {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
}
.closer-text {
  margin-top: 2.2rem;
  max-width: 56ch;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: clamp(2.2rem, 4vw, 3.6rem) clamp(1.6rem, 3vw, 2.8rem);
}
.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.work-card .work-frame {
  background: var(--surface);
}
.work-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.9rem;
}
.work-card .work-meta {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.15rem;
}
.work-card .work-price {
  font-size: 1rem;
  margin-top: 0.3rem;
}
@media (hover: hover) and (pointer: fine) {
  html.js:not(.rm) .work-card:hover .work-frame img {
    --ws: 1.08;
  }
  html:not(.js) .work-card:hover .work-frame img,
  html.rm .work-card:hover .work-frame img {
    --ws: 1.035;
  }
}
.work-detail {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.work-detail .art img {
  cursor: zoom-in;
}
.work-detail .art {
  background: var(--surface);
}
@media (min-width: 861px) {
  .work-detail .work-info {
    position: sticky;
    top: 100px;
  }
}
.work-info h1 {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  margin-bottom: 1.1rem;
}
.work-info .work-lead {
  font-size: 1.125rem;
}
.work-info .work-meta {
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.work-price-big {
  font-size: 1.25rem;
  margin-top: 1.4rem;
}
.work-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.work-actions .btn {
  flex: 0 1 auto;
}
.work-ship {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}
.room-section {
  margin-top: var(--section-y);
}
.room-sub {
  color: var(--muted);
  margin-bottom: 1.6rem;
  max-width: 56ch;
}
.room-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--surface);
}
.room-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.room-painting-wrap {
  position: absolute;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .42), 0 4px 12px rgba(0, 0, 0, .28);
  transition: padding .35s ease, background .35s ease;
  background: transparent;
  padding: 0;
}
.room-painting-wrap img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.room-painting-wrap.frame-dark {
  padding: .7%;
  background:
    linear-gradient(
      135deg,
      #2a2520,
      #0f0c08);
}
.room-painting-wrap.frame-wood {
  padding: .85%;
  background:
    linear-gradient(
      135deg,
      #7a5230,
      #3d2814 60%,
      #241608);
}
.room-painting-wrap.frame-gold {
  padding: .85%;
  background:
    linear-gradient(
      135deg,
      #e8c560,
      #b88a2c 50%,
      #7a5510);
}
.room-painting-wrap.frame-white {
  padding: .7%;
  background:
    linear-gradient(
      135deg,
      #fafaf5,
      #e8e0d2);
}
.room-thumbs {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.room-thumb {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity .3s var(--ease), transform .4s var(--ease-luxe);
}
.room-thumb img {
  width: 86px;
  height: 54px;
  object-fit: cover;
}
.room-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.room-thumb.active {
  opacity: 1;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.frame-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.frame-btn {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--muted);
  background: var(--surface);
  border: none;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.frame-btn:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.frame-btn.active {
  background: var(--accent);
  color: var(--accent-ink);
}
.ar-btn {
  display: none;
  margin-top: 1.6rem;
}
.ar-btn.show {
  display: inline-flex;
}
.ar-viewer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 1px;
  opacity: 0.001;
  pointer-events: none;
  z-index: -1;
}
.grid-series {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 2rem;
}
.prev-next {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--section-y);
  flex-wrap: wrap;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(240px, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-text p {
  margin-bottom: 1.2rem;
  max-width: 60ch;
}
.about-media {
  background: var(--surface);
}
.about-media figcaption {
  padding: 0.8rem 0;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
  font-family: var(--sans);
}
.exhibit-list {
  list-style: none;
  margin-top: 1rem;
}
.exhibit-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  padding-block: 0.55rem;
  flex-wrap: wrap;
}
.exhibit-list .ex-name {
  font-weight: 500;
}
.exhibit-list .ex-where {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
}
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-band .statement {
  max-width: none;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}
.contact-links a {
  color: var(--ink);
  font-size: 1.1875rem;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.contact-note {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.6rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}
.contact-form label {
  display: block;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-family: var(--sans);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.0625rem;
  padding: 0.85rem 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form .btn-solid {
  align-self: flex-start;
}
footer {
  background: #071020;
  padding: clamp(3.5rem, 8vh, 5.5rem) 0 2.2rem;
}
.hero + * {
  margin-top: 0;
}
.footer-inner {
  max-width: calc(1120px + 2 * var(--g));
  margin-inline: auto;
  padding-inline: var(--g);
}
.footer-name {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 1.8rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 1.6rem;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color .3s var(--ease);
  font-family: var(--sans);
  font-size: 1rem;
}
.footer-nav a:hover {
  color: var(--ink);
}
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s var(--ease);
  font-family: var(--sans);
  font-size: 1rem;
}
.footer-ig:hover {
  color: var(--ink);
}
.footer-small {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 2.4rem;
  max-width: 70ch;
}
.draft-line {
  color: #8291A9;
  font-size: 1rem;
  margin-top: 0.5rem;
  max-width: 70ch;
}
.pv-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(5, 10, 20, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--g);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease-luxe), visibility .35s;
}
.pv-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pv-card {
  background: var(--surface);
  color: var(--ink);
  max-width: 420px;
  padding: 2.2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(14px);
  transition: transform .45s var(--ease-luxe);
}
.pv-overlay.open .pv-card {
  transform: none;
}
.pv-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.pv-card p {
  margin-bottom: 1.4rem;
  color: var(--muted);
}
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 11500;
  background: rgba(5, 10, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease-luxe), visibility .35s;
  cursor: zoom-out;
}
.lb-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lb-overlay img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 860px) {
  .work-detail,
  .about-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }
  .work-detail {
    display: flex;
    flex-direction: column;
  }
  .work-detail .work-info {
    display: contents;
  }
  .work-detail .work-info h1 {
    order: -3;
  }
  .work-detail .work-info .work-lead {
    order: -2;
    margin-bottom: 1.2rem;
  }
  .work-detail .art {
    order: 0;
  }
  .work-detail .work-price-big {
    order: 1;
    margin-top: 1.2rem;
  }
  .work-detail .work-actions {
    order: 2;
  }
  .work-detail .work-ship {
    order: 3;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
  }
}
@media (max-width: 480px) {
  .work-actions .btn {
    flex: 1 1 100%;
  }
  .prev-next .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.8rem 0.6rem;
    font-size: 0.95rem;
  }
  .hero-caption {
    position: static;
    margin-top: 0;
    padding: 0.8rem var(--g) 0 0;
    text-align: right;
  }
  .hero-scrolldown {
    display: none;
  }
  .hero-title {
    font-size: clamp(3.1rem, 16vw, 4rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
  }
  .nav-mobile:not(.open),
  .pv-overlay:not(.open),
  .lb-overlay:not(.open) {
    display: none;
  }
  .tape {
    display: none;
  }
  .hero-gl {
    display: none;
  }
  .loader {
    display: none !important;
  }
  .reveal,
  .section-title .w,
  .hero-title .ch,
  .hero-sub,
  .hero-cta,
  .hero-caption {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-bg,
  .hero-bg img {
    transform: none !important;
  }
  .closer-frame img {
    transition: none;
  }
  .work-frame img,
  .btn,
  .room-thumb {
    transition: none;
  }
}
