.door-gallery-scope {
  --paper: #f0f2f4;
  --white: #f9fbfd;
  --silver: #d5dce2;
  --ink: #232f3a;
  --slate: #485867;
  --line: #a4afb9;
  --gutter: clamp(20px, 5.2vw, 96px);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--zodar-face, Manrope, "Noto Sans SC", "Microsoft YaHei", sans-serif);
}
.door-gallery-scope * { box-sizing: border-box; }
.door-gallery-scope h1, .door-gallery-scope h2, .door-gallery-scope h3, .door-gallery-scope p { margin: 0; }
.door-gallery-scope img { display: block; max-width: 100%; }
.door-gallery-scope button { color: inherit; font: inherit; }
.door-gallery-scope a { color: inherit; }
.door-gallery-scope :focus-visible { outline: 3px solid #5081a8; outline-offset: 5px; }
.door-gallery-scope .shell { width: min(calc(100% - 2 * var(--gutter)), 1520px); margin-inline: auto; }
.door-gallery-scope section[id], .door-gallery-scope article[id] { scroll-margin-top: 106px; }
.door-gallery-scope .hero, .door-gallery-scope .interlude { position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden; background: #29404c; color: var(--white); }
.door-gallery-scope .hero { min-height: 100svh; padding-block: 136px 88px; background: var(--paper); }
.door-gallery-scope .hero__visual, .door-gallery-scope .hero__visual img, .door-gallery-scope .hero__visual::after, .door-gallery-scope .interlude > img, .door-gallery-scope .interlude::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.door-gallery-scope .hero__visual { z-index: -1; overflow: hidden; isolation: isolate; background: #29404c; }
.door-gallery-scope .hero__visual img, .door-gallery-scope .interlude > img { z-index: -2; object-fit: cover; transform: scale(1.08); }
.door-gallery-scope .hero__visual img.is-in-view, .door-gallery-scope .interlude > img.is-in-view { will-change: transform; }
.door-gallery-scope .hero__visual img { object-position: 54% 51%; }
.door-gallery-scope .hero__visual::after, .door-gallery-scope .interlude::after { content: ""; z-index: -1; pointer-events: none; }
.door-gallery-scope .hero__visual::after { background: linear-gradient(90deg,#18232e96,transparent 75%),linear-gradient(0deg,#101b24e8,transparent 60%); }
.door-gallery-scope .hero h1 { max-width: 13ch; font-size: clamp(56px, 8.3vw, 138px); line-height: .94; letter-spacing: -.068em; font-weight: 750; }
.door-gallery-scope .hero p, .door-gallery-scope .interlude p { margin: 15px 0 21px; max-width: 42ch; font-size: clamp(15px,1.4vw,20px); line-height: 1.56; }
.door-gallery-scope .scene-credit { position: absolute; right: var(--gutter); bottom: 20px; padding: 5px 8px; background: #17212cbb; border-radius: 4px; color: #fff; font-size: 12px; }
.door-gallery-scope .pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; font-size: 13px; font-weight: 760; min-height: 44px; border: 1px solid currentColor; border-radius: 5px; text-decoration: none; white-space: nowrap; }
.door-gallery-scope .pill--light { color: var(--ink); background: var(--white); border-color: var(--white); }
.door-gallery-scope .pill--solid { color: var(--white); background: var(--ink); border-color: var(--ink); }
.door-gallery-scope .pill:hover { box-shadow: 0 0 0 3px #7a9cb74a; }
.door-gallery-scope .introduction { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(24px,5vw,88px); padding-block: clamp(36px,4.2vw,66px) clamp(34px,4vw,62px); }
.door-gallery-scope .introduction h2, .door-gallery-scope .catalogue-head h2 { font-size: clamp(26px,4.35vw,65px); font-weight: 735; line-height: 1.04; letter-spacing: -.05em; }
.door-gallery-scope .introduction p { margin-top: 17px; max-width: 46ch; line-height: 1.72; color: var(--slate); }
.door-gallery-scope .intro-stack { position: relative; z-index: 0; width: min(98%, 620px); justify-self: end; }
.door-gallery-scope .intro-stack__media {
  --card-padding: 9px;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 4px;
  padding: var(--card-padding);
  border-radius: 8px;
  box-shadow: 0 14px 54px #25354525;
}
.door-gallery-scope .intro-stack__media::before { content: ""; aspect-ratio: 16/9; }
.door-gallery-scope .intro-stack__panel { position: absolute; inset: 0; overflow: hidden; padding: calc(var(--card-padding) - 1px); border: 1px solid #93a2ae; border-radius: 8px; background: #dee4e9; }
.door-gallery-scope .intro-stack__panel::after { content: ""; position: absolute; inset: 0; background: #dee4e9eb; pointer-events: none; transition: opacity .32s ease; }
.door-gallery-scope .intro-stack__panel[data-position="0"] { z-index: 3; border-color: #bac4cc; background: var(--white); }
.door-gallery-scope .intro-stack__panel[data-position="0"]::after { opacity: 0; }
.door-gallery-scope .intro-stack__panel[data-position="1"] { z-index: 2; transform: rotate(5deg) translate(8px,-7px); }
.door-gallery-scope .intro-stack__panel[data-position="2"] { z-index: 1; transform: rotate(-5deg) translate(-7px,7px); }
.door-gallery-scope .intro-stack__panel[aria-hidden="true"] { pointer-events: none; }
.door-gallery-scope .intro-stack__panel video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 5px; background: var(--ink); }
.door-gallery-scope .intro-stack__links, .door-gallery-scope .intro-stack__brand { display: flex; align-items: center; }
.door-gallery-scope .intro-stack__links { position: relative; z-index: 5; flex-wrap: wrap; justify-content: space-between; gap: 0 14px; padding-inline: 6px; background: var(--white); }
.door-gallery-scope .intro-stack__brand { gap: 8px; min-height: 40px; font-size: 13px; font-weight: 770; }
.door-gallery-scope .intro-stack__brand img { width: 38px; object-fit: contain; height: auto; }
.door-gallery-scope .intro-stack__links a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--slate); font-size: 13px; text-underline-offset: 3px; }
.door-gallery-scope .intro-stack__clips:not([hidden]) { display: inline-flex; align-items: center; gap: 3px; }
.door-gallery-scope .intro-stack__clips button { min-width: 34px; min-height: 36px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--slate); cursor: pointer; }
.door-gallery-scope .intro-stack__clips button[aria-pressed="true"] { color: var(--ink); background: var(--silver); border-color: var(--line); font-weight: 750; }
.door-gallery-scope .catalogue-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(30px,5vw,70px); padding-top: 23px; border-top: 1px solid var(--line); }
.door-gallery-scope .catalogue-head p { max-width: 34ch; color: var(--slate); }
.door-gallery-scope .book { --slide-width: min(78vw,1210px); padding-bottom: clamp(64px,9vw,132px); overflow: clip; }
.door-gallery-scope .book:last-child { padding-bottom: clamp(14px,2vw,28px); }
.door-gallery-scope .book__top { margin-bottom: 15px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.door-gallery-scope .book__number, .door-gallery-scope .rail-count { color: var(--slate); font-size: 12px; font-weight: 770; font-variant-numeric: tabular-nums; }
.door-gallery-scope .book__top h3 { font-size: clamp(22px,3vw,43px); line-height: 1.12; letter-spacing: -.04em; font-weight: 740; }
.door-gallery-scope .rail { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: x mandatory; cursor: grab; contain: layout paint; }
.door-gallery-scope .rail::-webkit-scrollbar { display: none; }
.door-gallery-scope .rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.door-gallery-scope .rail.is-gliding { scroll-snap-type: none; }
.door-gallery-scope .rail.is-dragging * { cursor: grabbing; }
.door-gallery-scope .rail:focus-visible { outline-offset: -3px; }
.door-gallery-scope .rail__track { position: relative; display: flex; gap: clamp(8px,1.4vw,22px); width: max-content; padding-inline: max(0px, calc((100vw - var(--slide-width)) / 2)); }
.door-gallery-scope .slide { flex: 0 0 var(--slide-width); position: relative; width: var(--slide-width); height: clamp(230px, 46vw, 625px); border: 1px solid #9eabb6; border-radius: 8px; padding: 0; overflow: hidden; background: #e0e5e9; scroll-snap-align: center; cursor: inherit; user-select: none; }
.door-gallery-scope .slide img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.door-gallery-scope .slide--hero img { object-fit: cover; }
.door-gallery-scope .slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #24364726; opacity: 1; transition: opacity .22s ease-out; }
.door-gallery-scope .rail.is-dragging .slide::after { transition: none; }
.door-gallery-scope .slide[data-active]::after { opacity: 0; }
.door-gallery-scope .slide__hint { position: absolute; z-index: 1; right: 12px; bottom: 12px; padding: 6px 9px; border-radius: 4px; background: #f7fafdef; color: var(--ink); font-size: 12px; font-weight: 760; pointer-events: none; }
.door-gallery-scope .book__info { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px 24px; padding-block: 15px 0; }
.door-gallery-scope .book__info p { margin-bottom: 4px; line-height: 1.55; }
.door-gallery-scope .book__info small { color: var(--slate); font-size: 12px; }
.door-gallery-scope .book__actions, .door-gallery-scope .rail-controls { display: flex; align-items: center; gap: 12px; }
.door-gallery-scope .rail-controls button, .door-gallery-scope .lightbox__actions button, .door-gallery-scope .lightbox__close { min-height: 44px; min-width: 44px; border: 1px solid var(--line); border-radius: 5px; background: transparent; cursor: pointer; }
.door-gallery-scope .rail-controls button:hover, .door-gallery-scope .lightbox__actions button:hover, .door-gallery-scope .lightbox__close:hover { background: var(--silver); color: var(--ink); }
.door-gallery-scope .interlude { align-items: center; min-height: min(94svh,960px); margin-bottom: clamp(55px,10vw,145px); }
.door-gallery-scope .interlude > img { object-position: center 57%; }
.door-gallery-scope .interlude::after { background: linear-gradient(90deg,#1a2734dd,#18232e29 94%), linear-gradient(0deg,#101c285f,transparent 70%); }
.door-gallery-scope .interlude__content { padding-block: 87px; }
.door-gallery-scope .interlude h2, .door-gallery-scope .contact h2 { max-width: 16ch; font-size: clamp(39px,7.2vw,108px); line-height: 1.04; letter-spacing: -.055em; font-weight: 760; }
.door-gallery-scope .contact { display: grid; gap: clamp(18px,3vw,44px); align-items: start; padding-block: clamp(18px,2.25vw,34px) clamp(28px,3.4vw,52px); }
.door-gallery-scope .contact__copy h2 { max-width: none; font-size: clamp(38px,4.25vw,70px); text-wrap: balance; }
.door-gallery-scope .contact__copy p { margin-top: 14px; max-width: 46ch; color: var(--slate); line-height: 1.64; }
.door-gallery-scope .contact__notes { max-width: 550px; margin: 22px 0 0; }
.door-gallery-scope .contact__notes > div { padding-block: 13px; border-top: 1px solid var(--line); }
.door-gallery-scope .contact__notes dt { font-size: .95rem; font-weight: 750; }
.door-gallery-scope .contact__notes dd { margin: 4px 0 0; color: var(--slate); font-size: .9rem; line-height: 1.6; }
.door-gallery-scope .contact__copy .contact__example { max-width: 550px; margin-top: 0; padding: 11px 13px; border-left: 2px solid var(--line); background: var(--white); font-size: .86rem; }
.door-gallery-scope .contact__example strong { margin-inline-end: .55em; color: var(--ink); }
.door-gallery-scope .contact__quote { width: min(100%,740px); padding: clamp(14px,2vw,26px); border: 1px solid #bac4cc; border-radius: 8px; background: var(--white); }
.door-gallery-scope .contact__quote > p { margin-bottom: 14px; color: var(--slate); font-size: .88rem; line-height: 1.5; }
.door-gallery-scope .contact__quote form { display: grid; gap: 7px 14px; }
.door-gallery-scope .contact__quote label { font-size: .9rem; font-weight: 700; }
.door-gallery-scope .contact__quote :is(input,textarea) { width: 100%; min-width: 0; min-height: 44px; margin-bottom: 5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; }
.door-gallery-scope .contact__quote textarea { display: block; resize: vertical; }
.door-gallery-scope .contact__quote .ed-button { justify-self: start; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: var(--white); font-weight: 750; cursor: pointer; }
.door-gallery-scope .contact__quote [role="status"] { color: var(--slate); font-size: .86rem; line-height: 1.45; }
.door-gallery-scope .contact__quote summary { width: fit-content; margin-block: 3px 8px; color: var(--slate); font-size: .86rem; cursor: pointer; }
.door-gallery-scope .contact__quote .ed-email-fallback textarea { margin-top: 8px; }
@media (min-width: 660px) {
.door-gallery-scope .contact__quote form { grid-template-columns: repeat(2,minmax(0,1fr)); }
.door-gallery-scope .contact__quote form > * { grid-column: 1 / -1; }
.door-gallery-scope .contact__quote label[for="zodar-door-contact-name"] { grid-area: 1 / 1; }
.door-gallery-scope .contact__quote #zodar-door-contact-name { grid-area: 2 / 1; }
.door-gallery-scope .contact__quote label[for="zodar-door-reply-email"] { grid-area: 1 / 2; }
.door-gallery-scope .contact__quote #zodar-door-reply-email { grid-area: 2 / 2; }
}
@media (min-width: 920px) {
.door-gallery-scope .contact { grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); column-gap: clamp(28px,5vw,84px); }
.door-gallery-scope .contact__quote { justify-self: end; }
}
.door-gallery-scope .lightbox { width: min(94vw,1280px); max-height: 94svh; color: var(--white); background: #202d38; border: 1px solid #8999a5; border-radius: 10px; padding: 11px 15px; }
.door-gallery-scope .lightbox::backdrop { background: #111d28e8; }
.door-gallery-scope .lightbox__bar, .door-gallery-scope .lightbox__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.door-gallery-scope .lightbox__bar { margin-bottom: 8px; }
.door-gallery-scope .lightbox__image { width: 100%; height: min(72svh,850px); object-fit: contain; background: #18232c; }
.door-gallery-scope .lightbox__actions { justify-content: center; margin-top: 9px; }
@media (max-width: 920px) {
.door-gallery-scope .hero__visual img { object-position: 56% center; }
.door-gallery-scope .introduction { gap: 26px; }
.door-gallery-scope .book { --slide-width: 86vw; }
.door-gallery-scope .slide { height: clamp(220px,59vw,500px); }
}
@media (max-width: 570px) {
.door-gallery-scope .hero { min-height: 92svh; padding-bottom: 64px; }
.door-gallery-scope .hero h1 { font-size: clamp(48px,11.2vw,64px); }
.door-gallery-scope .introduction { grid-template-columns: 1fr; }
.door-gallery-scope .intro-stack { justify-self: center; width: min(96%,520px); }
.door-gallery-scope .book__actions { flex-wrap: wrap; }
.door-gallery-scope .slide { border-radius: 6px; }
.door-gallery-scope .interlude { min-height: 75svh; }
.door-gallery-scope .lightbox__image { height: 65svh; }
}
@media (prefers-reduced-motion: no-preference) {
.door-gallery-scope .hero__visual { animation: hero-unfold 1.65s both; }
.door-gallery-scope .hero__visual img { animation: hero-camera .95s .7s cubic-bezier(.32,.08,.18,1) both; }
.door-gallery-scope .hero__content { animation: hero-reveal .55s .96s cubic-bezier(.2,.7,.2,1) both; }
.door-gallery-scope .hero__content:focus-within { animation: none; }
@keyframes hero-unfold {
    0% { transform: perspective(1250px) translateY(5vh) rotateX(24deg) rotateY(-11deg) scale(.30); border-radius: 38px; animation-timing-function: cubic-bezier(.2,.65,.2,1); }
    38% { transform: perspective(1250px) translateY(0) rotateX(0) rotateY(0) scale(.45); border-radius: 27px; animation-timing-function: cubic-bezier(.24,.76,.19,1); }
    100% { transform: none; border-radius: 0; }
  }
@keyframes hero-reveal {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
  }
@keyframes hero-camera {
    from { translate: 2.2vw 0; }
    to { translate: 0 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
.door-gallery-scope *, .door-gallery-scope *::before, .door-gallery-scope *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.door-gallery-dialog { display: contents; }
.zodar-door-page #main.door-gallery-scope { display: block; max-width: none; padding: 0; margin: 0; }
