/* Generated by scripts/bundle-page-styles.py. Edit the ordered source files. */

/* Source: assets/circular-gallery/gallery.css */
@font-face {
  font-family: Manrope;
  src: url(/assets/fonts/manrope-latin.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Azeret Mono";
  src: url("/assets/circular-gallery/azeret-mono-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

body.circular-gallery-page,
body.circular-gallery-page * { box-sizing: border-box; }

html body.circular-gallery-page {
  --gallery-header-height: 84px;
  --gallery-paper: #edebe0;
  --gallery-ink: #151218;
  --gallery-accent: #984d34;
  --gallery-button-size: 48px;
  --gallery-button-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon fill='%231F1F1F' points='3,2 16,3 27,1 40,2 53,0 65,2 78,1 96,3 98,14 97,27 100,39 98,53 99,68 97,80 98,96 85,98 72,97 59,100 45,98 31,99 18,97 2,98 3,84 1,71 2,57 0,43 2,29 1,17'/%3E%3C/svg%3E");
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  background: var(--gallery-paper);
  color: var(--gallery-ink);
}

@layer header {
  html:root body.circular-gallery-page > #site-header .brand {
    display: flex !important;
    align-items: center !important;
  }

  html:root body.circular-gallery-page > #site-header .brand > img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    box-shadow: none !important;
  }

  @media (max-width: 340px) {
    html:root body.circular-gallery-page > #site-header .brand {
      width: 100px !important;
    }
  }
}

@layer mobilePaper {
  html:root body.circular-gallery-page > #site-header .brand,
  html:root body.circular-gallery-page > #site-header .brand > img {
    background: none !important;
  }

  html:root body.circular-gallery-page > #site-header::after,
  html:root body.circular-gallery-page > #site-header > .shell::after {
    display: none !important;
  }

  html:root body.circular-gallery-page:not(.site-menu-open) > #site-header {
    background: transparent !important;
    pointer-events: none !important;
  }

  html:root body.circular-gallery-page:not(.site-menu-open) > #site-header :is(.brand, .gallery-inquiry, .site-menu-toggle) {
    pointer-events: auto !important;
  }

  html:root body.circular-gallery-page > #site-header > .shell {
    grid-template-columns: minmax(0, 1fr) max-content var(--gallery-button-size) !important;
    column-gap: 0 !important;
  }

  html:root body.circular-gallery-page > #site-header .gallery-inquiry {
    grid-area: 1 / 2 !important;
    display: inline-flex;
    min-height: var(--gallery-button-size);
    align-items: center;
    justify-self: end;
    margin-right: clamp(22px, 7vw, 56px) !important;
    background: none !important;
    color: var(--gallery-paper) !important;
    -webkit-text-fill-color: currentColor !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
  }

  html:root body.circular-gallery-page.site-menu-open > #site-header .gallery-inquiry {
    visibility: hidden;
  }

  html:root body.circular-gallery-page > #site-header .gallery-inquiry:focus-visible {
    outline-color: var(--gallery-paper) !important;
  }

  html:root body.circular-gallery-page > #site-header .site-menu-toggle {
    grid-column: 3 !important;
    width: var(--gallery-button-size) !important;
    height: var(--gallery-button-size) !important;
    min-width: var(--gallery-button-size) !important;
    min-height: var(--gallery-button-size) !important;
    background: transparent var(--gallery-button-paper) center / 100% 100% no-repeat !important;
    color: var(--gallery-paper) !important;
  }

  html:root body.circular-gallery-page > #site-header .site-menu-toggle::before,
  html:root body.circular-gallery-page > #site-header .site-menu-toggle::after {
    left: calc(50% - 10px) !important;
    top: calc(50% - 5px) !important;
    width: 20px !important;
    height: 2px !important;
    background: currentColor !important;
  }

  html:root body.circular-gallery-page > #site-header .site-menu-toggle::after {
    top: calc(50% + 3px) !important;
  }

  html:root body.circular-gallery-page > #site-header .site-menu-toggle[aria-expanded="true"]::before,
  html:root body.circular-gallery-page > #site-header .site-menu-toggle[aria-expanded="true"]::after {
    top: calc(50% - 1px) !important;
  }

  html:root body.circular-gallery-page > #site-header .site-menu-toggle:focus-visible {
    outline: 2px solid var(--gallery-paper) !important;
    outline-offset: -5px !important;
  }

  html:root body.circular-gallery-page > #site-mobile-menu {
    background: var(--brand-menu-ink) !important;
  }

  html:root body.circular-gallery-page > #site-mobile-menu > .mobile-surface-paint {
    display: none !important;
  }

  html:root body.circular-gallery-page > #site-mobile-menu :is(nav a, .header-languages a, .header-languages span, .site-menu-policy) {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
  }
}

@layer portfolioType {
  .gallery-inquiry {
    font: 600 var(--gallery-inquiry-size, 13px)/1.25 var(--portfolio-sans) !important;
  }

  .gallery-hint {
    font: 400 12px/1.35 var(--portfolio-sans) !important;
  }

  .gallery-toolbar #position > span {
    font: inherit !important;
  }
}

.circular-gallery-page .audit-skip {
  position: fixed;
  inset: 12px auto auto 16px;
  transform: translateY(-200%);
  z-index: 2147483647;
  padding: 12px 18px;
  background: var(--gallery-paper);
  color: var(--gallery-ink);
}

.circular-gallery-page .audit-skip:focus { transform: none; }

.circular-gallery {
  flex: 1;
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.circular-gallery .scene {
  visibility: hidden;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: linear-gradient(#20201f 0 50%, #898983 50%);
  touch-action: none;
}

.circular-gallery .gallery-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: visible;
  margin: 0;
  padding: 20px;
  background: #20201f;
  color: var(--gallery-paper);
  text-align: center;
}

.circular-gallery .view {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.circular-gallery .room {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

.circular-gallery .frame {
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 0 0;
  backface-visibility: hidden;
}

.circular-gallery .scene.dragging,
.circular-gallery .scene.dragging .frame { cursor: grabbing; }

.circular-gallery .frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
}

.circular-gallery .wall-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.circular-gallery .scene.fallback {
  overflow: auto;
  background: #dedbd2;
  touch-action: auto;
}

.circular-gallery .fallback .view,
.circular-gallery .fallback + .gallery-toolbar .controls { display: none; }

.circular-gallery .fallback .room {
  position: static;
  width: auto;
  height: auto;
  transform: none !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  align-items: center;
  gap: 24px;
  padding: 24px;
  padding-block-start: calc(var(--gallery-header-height) + 24px);
  padding-block-end: max(96px, env(safe-area-inset-bottom));
}

.circular-gallery .fallback .frame {
  position: static;
  width: auto !important;
  height: auto !important;
  aspect-ratio: var(--frame-ratio);
  transform: none !important;
  padding: 8px;
  background: #f3efe7;
  border: 2px solid #40362d;
}

.circular-gallery .fallback .frame img { opacity: 1; object-fit: cover; }

.circular-gallery .fallback .wall-copy {
  position: static;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  clip-path: none;
  padding-block: 20px;
  color: #151515;
}

.circular-gallery .fallback .wall-copy :is(h2, p) { margin: 0 0 .5em; }
.circular-gallery .fallback .wall-title { font: 700 clamp(24px, 5vw, 37px)/1.08 Georgia, serif; }
.circular-gallery .fallback .wall-category { font: 700 30px/1.12 Georgia, serif; }
.circular-gallery .fallback .wall-label { font: 400 13px/1.5 Manrope, Arial, sans-serif; }
.circular-gallery .fallback .wall-number { font: 400 12px/1.5 "Azeret Mono", monospace; }

.gallery-toolbar {
  --toolbar-gutter: max(72px, calc((100% - 1440px) / 2));
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0 16px;
  margin: 0;
  padding: 10px var(--toolbar-gutter) max(10px, env(safe-area-inset-bottom));
  border: 0;
  background: transparent;
  direction: ltr;
  pointer-events: none;
}

.gallery-toolbar .controls {
  grid-area: 1 / 2;
  display: grid;
  grid-template-columns: repeat(6, var(--gallery-button-size));
  gap: 6px;
  direction: ltr;
}

.gallery-toolbar .control[hidden] {
  display: grid;
  visibility: hidden;
}

.gallery-status {
  grid-area: 1 / 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 4px 8px;
  background: transparent;
  color: #000;
  text-shadow: none;
}

.gallery-hint {
  min-width: 0;
  overflow-wrap: anywhere;
}

.gallery-toolbar .control { pointer-events: auto; }

.gallery-toolbar output,
.gallery-dialog output {
  font: 400 12px/1.4 "Azeret Mono", monospace;
  direction: ltr;
  white-space: nowrap;
}

.gallery-dialog output { color: var(--gallery-accent); }

:is(.gallery-toolbar, .gallery-dialog) .control {
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--gallery-button-size);
  padding: 0;
  border: 0;
  background: transparent var(--gallery-button-paper) center / 100% 100% no-repeat;
  color: var(--gallery-paper);
  cursor: pointer;
  touch-action: manipulation;
}

:is(.gallery-toolbar, .gallery-dialog) .control:focus-visible {
  outline: 2px solid var(--gallery-paper);
  outline-offset: -5px;
}

@media (hover: hover) {
  :is(.gallery-toolbar, .gallery-dialog) .control:not(:disabled):hover,
  .circular-gallery-page #site-header .site-menu-toggle:hover {
    filter: brightness(1.5);
  }
}

:is(.gallery-toolbar, .gallery-dialog) .control svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: round;
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 0;
  width: min(94vw, 1160px);
  height: min(91dvh, 1020px);
  max-width: none;
  max-height: none;
  padding: 0;
  background: #fff;
  color: var(--gallery-ink);
  box-shadow: 0 18px 90px #15121846;
}

.gallery-dialog::backdrop {
  background: #15121883;
  backdrop-filter: blur(6px);
}

.gallery-dialog[open] { animation: gallery-viewer-enter .22s ease-out; }
@keyframes gallery-viewer-enter { from { opacity: 0; transform: translateY(5px); } }

.gallery-dialog .viewer {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(12px, 2.25vw, 32px);
}

.gallery-dialog .viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2px;
}

.gallery-dialog .viewer-body {
  container-type: size;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.gallery-dialog .viewer-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 4px;
}

.gallery-dialog #print {
  margin: 0;
  width: min(100cqw, calc(100cqh * var(--ratio)));
  aspect-ratio: var(--ratio);
  background: #f8f7f3;
  box-shadow: 0 0 0 6px #f5f2ec, 0 0 0 7px #51483e, 0 5px 14px #15121832;
}

.gallery-dialog #full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-dialog .control {
  width: var(--gallery-button-size);
  flex: none;
}

.gallery-dialog .control:disabled { opacity: .23; cursor: default; }

@media (max-width: 1100px) {
  .gallery-toolbar { --toolbar-gutter: 32px; }
}

@media (max-width: 760px) {
  html body.circular-gallery-page {
    --gallery-header-height: 68px;
    --gallery-button-size: 44px;
  }
  .gallery-inquiry { --gallery-inquiry-size: 12px; }
  .gallery-toolbar {
    --toolbar-gutter: clamp(8px, 3vw, 20px);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 7px;
  }
  .gallery-toolbar .controls {
    grid-area: 1 / 1;
    gap: 4px;
  }
  .gallery-status {
    grid-area: 2 / 1;
    justify-self: center;
    gap: 6px;
    padding-inline: 6px;
  }
  .circular-gallery .fallback .room {
    padding-block-end: max(124px, calc(114px + env(safe-area-inset-bottom)));
  }
  .gallery-dialog { width: 96vw; }
  .gallery-dialog .viewer { padding: 10px 0 8px; }
  .gallery-dialog .viewer-header { padding-inline: 12px; }
}

@media (max-width: 340px) {
  .gallery-toolbar .controls { gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-dialog[open] { animation: none; }
}

