:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: Arial, sans-serif;
  color: #f8f8f8;
  -webkit-font-smoothing: antialiased;
}
html {
  overflow-x: clip;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
body {
  background: #121212;
}
main {
  position: relative;
  width: 100%;
  overflow: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
}
.page-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.item {
  position: absolute;
  transform-origin: 0 0;
}
.fixed-item {
  position: fixed;
}
.scale-box {
  transform-origin: 0 0;
}
.motion,
.motion-layer,
.widget-content {
  width: 100%;
  height: 100%;
  transform-origin: center;
}
.item-link {
  display: block;
  width: 100%;
  height: 100%;
}
.item iframe,
.portfolio-video,
.scroll-sequence {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
/* Embedded documents use their own default color scheme. Inheriting "dark"
   here makes Chromium paint an opaque canvas under transparent embeds. */
.item iframe {
  color-scheme: normal;
  background: transparent;
}
.text-content p {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.text-content {
  width: 100%;
}
.portfolio-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}
.gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery figure {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}
.gallery figure[hidden] {
  display: none;
}
.gallery img {
  width: 100%;
  display: block;
}
.gallery button {
  position: absolute;
  top: 42%;
  border: 0;
  background: #0005;
  color: white;
  width: 40px;
  height: 56px;
  font: 40px/1 Arial;
}
.gallery-prev {
  left: 12px;
}
.gallery-next {
  right: 12px;
}
.gallery button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin: auto;
}
.gallery.hover-arrows button {
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery:hover button,
.gallery:focus-within button {
  opacity: 1;
}
.gallery figcaption {
  padding: 16px 20px;
}
.contact-form {
  width: 100%;
  font:
    14px 'Roboto',
    Arial,
    sans-serif;
}
.form-fields {
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea {
  background: #f7f7f7;
  border: 0;
  border-radius: 44px;
  color: #000;
  width: 100%;
  padding: 8px 14px;
  resize: vertical;
}
.contact-form button {
  margin-top: 21px;
  width: 100%;
  padding: 8px;
  border: 1px solid white;
  border-radius: 35px;
  background: transparent;
  color: white;
  font-family: 'custom_146852', Arial;
}
.contact-form button:hover {
  background: #ffffffe6;
  color: #121212;
}
.form-status {
  padding: 10px;
  line-height: 1.4;
  background: #121212;
}
.hotspot-pin {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
}
.hotspot-detail {
  position: absolute;
  box-shadow: 0 8px 30px #0005;
  z-index: 1;
}
.hotspot-detail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 12px;
  background: white;
  color: black;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
:focus-visible {
  outline: 2px solid #ffd166;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
