html.mandala-is-open { overflow: hidden; }
html.landing-expanded body * { animation-play-state: paused !important; transition: none !important; }
iframe[hidden] { display: none !important; }
html.behance-preview-open { overflow: hidden; }
#resume-landing-motion { position: fixed; bottom: calc(16px * var(--motion-ui-scale, 1)); left: 50%; transform: translateX(-50%); z-index: 9999; border: 0; padding: calc(10px * var(--motion-ui-scale, 1)) calc(16px * var(--motion-ui-scale, 1)); background: #c8c8c8; color: #111; font: calc(13px * var(--motion-ui-scale, 1)) Helvetica, Arial, sans-serif; cursor: pointer; }
html.landing-playback-paused body * { animation-play-state: paused !important; }
html.landing-playback-paused #contact-menu a { animation: none !important; }
.photography-more { color: #111; text-align: center; font: calc(14px * var(--preview-scale, 1))/1.5 Helvetica, Arial, sans-serif; padding: calc(12px * var(--preview-scale, 1)); }
.behance-project { cursor: zoom-in; }
#behance-preview { --preview-scale: 1; position: fixed; inset: 0; margin: auto; padding: 0; border: 0; max-width: none; max-height: none; background: #c8c8c8; color: #111; overflow: hidden; font-family: Helvetica, Arial, sans-serif; }
#behance-preview[open] { display: flex; flex-direction: column; }
#behance-preview::backdrop { background: #fff; }
.photography-header { display: flex; align-items: center; justify-content: center; position: relative; min-height: calc(64px * var(--preview-scale)); }
#photography-title { text-align: center; font-size: calc(15px * var(--preview-scale)); padding: 0 calc(60px * var(--preview-scale)); }
#photography-stage { position: relative; flex: 1; min-height: 0; touch-action: pan-y pinch-zoom; }
#photography-open { display: block; border: 0; padding: 0; width: 100%; height: 100%; background: transparent; cursor: zoom-in; }
#photography-image { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
#behance-preview[data-mode="photos"] #photography-open { cursor: default; }
#photography-counter { text-align: center; font-size: calc(13px * var(--preview-scale)); padding-top: calc(8px * var(--preview-scale)); }
.photography-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: calc(44px * var(--preview-scale)); height: calc(60px * var(--preview-scale)); border: 0; background: transparent; color: #111; font: calc(24px * var(--preview-scale))/1 Helvetica, Arial, sans-serif; text-shadow: 0 0 3px #fff; cursor: pointer; }
#photography-previous { left: 8px; }
#photography-next { right: 8px; }
#photography-back, #behance-preview-close { position: absolute; top: 50%; transform: translateY(-50%); width: calc(44px * var(--preview-scale)); height: calc(44px * var(--preview-scale)); border: 0; background: transparent; color: #111; font: calc(26px * var(--preview-scale))/1 Helvetica, Arial, sans-serif; cursor: pointer; }
#photography-back { left: calc(8px * var(--preview-scale)); }
#behance-preview-close { right: calc(8px * var(--preview-scale)); }
#behance-preview button:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
@media (hover: none), (pointer: coarse) {
  .photography-arrow { display: none; }
}
#contact-menu { --contact-scale: 1; position: fixed; inset: calc(15px * var(--contact-scale)) auto auto var(--contact-left, 50%); transform: translateX(-50%); margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; overflow: visible; }
#contact-menu:popover-open { display: flex; gap: var(--contact-gap, 45px); }
#contact-menu a { display: flex; align-items: center; justify-content: center; width: calc(45px * var(--contact-scale)); height: calc(45px * var(--contact-scale)); border: 0; background: transparent; box-shadow: none; }
#contact-menu img { display: block; width: 100%; height: 100%; object-fit: contain; }
#contact-menu a:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
#contact-menu:popover-open a { animation: contact-drop 460ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes contact-drop {
  from { transform: translateY(calc(-1 * var(--contact-drop-distance, 90px))); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #contact-menu:popover-open a { animation: none; }
}
#media-focus-overlay { position: fixed; top: 0; left: 0; z-index: 10000; display: grid; place-items: center; }
#media-focus-overlay.venus-focus-overlay { overflow: hidden; }
html.focus-view-open:has(.venus-focus-overlay) { scrollbar-gutter: stable; }
.venus-focus-background { position: absolute; top: 0; bottom: 0; background: #c8c8c8; }
#media-focus-overlay.mdq-focus-overlay::before { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
html.focus-view-visible #media-focus-overlay.mdq-focus-overlay::before { opacity: 1; }
#mdq-wrap.mdq-focused { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; margin: 0; background: transparent; }
#mdq-wrap.mdq-focused #mdq-video { width: var(--mdq-video-width) !important; height: var(--mdq-video-height) !important; max-width: none; object-fit: contain; transform: rotate(var(--mdq-angle)); }
#mdq-video { touch-action: none; user-select: none; }
#gif2 video, #gif3 video, #gif4 video { cursor: zoom-in; }
.gif-focused { position: relative; display: grid; place-items: center; margin: 0; overflow: hidden; background: #c8c8c8; }
.gif-focused video { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-out !important; }
.panorama-focused { position: relative !important; float: none !important; margin: 0 !important; padding: 0 !important; flex: none !important; background: #c8c8c8; }
#box1.venus-focused { position: relative; z-index: 1; display: flex; flex-direction: column; background: #c8c8c8; overflow: hidden; }
#box1.venus-focused #venus-canvas { flex: 1 1 0; min-height: 0; width: 100% !important; height: 0 !important; }
#box1.venus-focused .model-loading { height: 100%; }
#box1.venus-focused > p { flex-shrink: 0; font-size: calc(13px * var(--venus-ui-scale, 1)) !important; }
#venus-canvas { cursor: zoom-in; }
.venus-focused #venus-canvas { cursor: grab; }
html.focus-view-open { overflow: hidden; }
html.focus-view-visible body > #banner,
html.focus-view-visible body > div[id^="container"],
html.focus-view-visible body > footer { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  body > #banner, body > div[id^="container"], body > footer { transition: none; }
  #media-focus-overlay.mdq-focus-overlay::before { transition: none; }
}
#mandala-gallery { aspect-ratio: 500 / 1130; background: #fff; font-family: Helvetica, Arial, sans-serif; display: flex; flex-direction: column; flex-shrink: 0; }
.mandala-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.mandala-piece { grid-column: span 3; border: 0; padding: 0; display: block; background: #fff; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.mandala-centerpiece { grid-column: span 6; }
.mandala-small { grid-column: span 2; }
.mandala-piece img { display: block; height: 100%; object-fit: contain; }
.mandala-caption { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 16px 20px; font-size: 14px; line-height: 1.5; }
.mandala-caption p + p { margin-top: 14px; }
.mandala-piece:focus-visible, #mandala-lightbox button:focus-visible { outline: 3px solid #111; outline-offset: -3px; }
#mandala-lightbox {
  --ui-scale: 1; position: fixed; inset: 0; max-width: none; max-height: none;
  width: 100vw; height: 100dvh; border: 0; margin: 0; padding: 0; overflow: hidden;
  background: #fff; color: #111; font-family: Helvetica, Arial, sans-serif;
}
#mandala-lightbox::backdrop { background: #fff; }
#mandala-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; outline: none; cursor: zoom-out; }
#mandala-full { position: absolute; top: 50%; left: 50%; max-width: none; max-height: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
#mandala-load-status { position: absolute; top: 50%; width: 100%; text-align: center; font-size: calc(14px * var(--ui-scale)); pointer-events: none; }
#mandala-lightbox button { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 60px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #111; text-shadow: 0 0 3px #fff; font: 24px/1 Helvetica, Arial, sans-serif; cursor: pointer; }
#mandala-previous { left: max(12px, env(safe-area-inset-left)); }
#mandala-next { right: max(12px, env(safe-area-inset-right)); }
@media (hover: none), (pointer: coarse) {
  #mandala-lightbox button { display: none; }
}
