:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #eeeeee;
  color: #111111;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
}

.home {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 6vw, 6rem);
  background: #eeeeee;
  text-align: center;
}

.home-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.home-background.is-active { opacity: 1; }
.home-background {
  transition: opacity 900ms ease-in-out, filter 220ms ease;
}

.home.is-grayscale .home-background {
  filter: grayscale(0.85) brightness(0.92);
}


.home h1 {
  position: relative;
  max-width: 100%;
  margin: 0;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(3rem, 12vw, 11rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.01em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.gallery {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  width: 77.5vw;
  max-width: 1600px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5vw;
}

.image-slot {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: #777b7c;
}

.image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back-to-top {
  position: fixed;
  z-index: 10;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(25, 31, 35, 0.48);
  color: #ffffff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 160ms ease, visibility 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(25, 31, 35, 0.72);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.back-to-top svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 700px) {
  .home h1 { font-size: clamp(2.75rem, 16vw, 6rem); }

  .gallery { padding-block: 8svh; }

  .gallery-grid {
    width: min(84vw, 560px);
    grid-template-columns: 1fr;
    gap: 5vw;
  }

  .image-slot { border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-background { transition: none; }
  .back-to-top { transition: none; }
}

.home-content {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-content h1 { width: 100%; }

.home-content p {
  max-width: 100%;
  margin: clamp(0.75rem, 2vh, 1.5rem) 0 0;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.25rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.home-content p[hidden] { display: none; }

@media (max-width: 700px) {
  .home-content p { font-size: clamp(1.15rem, 5vw, 1.8rem); }
}

.social-links {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: clamp(1rem, 1.875vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transform: translateY(-50%);
}

.social-button {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(25, 31, 35, 0.48);
  color: #ffffff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, transform 160ms ease;
}

.social-button[aria-disabled="true"] { cursor: default; }
.social-button:not([aria-disabled="true"]) { cursor: pointer; }

.social-button:hover:not([aria-disabled="true"]) {
  background: rgba(25, 31, 35, 0.72);
  transform: scale(1.05);
}

.social-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.social-button img {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .social-button { transition: none; }
}

.gallery-grid {
  width: 86vw;
  max-width: 1650px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8vw;
}

.image-slot {
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.image-slot img { transition: filter 220ms ease; }

.image-slot:hover img,
.image-slot:active img {
  filter: grayscale(0.85) brightness(0.92);
}

@media (max-width: 1000px) {
  .gallery-grid {
    width: 86vw;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5vw;
  }
}

@media (max-width: 700px) {
  .gallery-grid {
    width: min(84vw, 560px);
    grid-template-columns: 1fr;
    gap: 5vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-slot img { transition: none; }
}

.gallery-caption {
  width: 86vw;
  max-width: 1650px;
  margin: 1.25rem auto 0;
  overflow: hidden;
  font-size: clamp(1.15rem, 1.6vw, 2rem);
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.8);
}

.gallery-caption[hidden] { display: none; }

.gallery-caption-text {
  width: max-content;
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
  will-change: transform;
}

.gallery-caption-text.is-static {
  text-align: justify;
  text-align-last: justify;
  will-change: auto;
}

@media (max-width: 1000px) {
  .gallery-caption { width: 86vw; }
}

@media (max-width: 700px) {
  .gallery-caption {
    font-size: clamp(1rem, 4.2vw, 1.5rem);
    width: min(84vw, 560px);
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-caption-text { will-change: auto; }
}

.zone-three {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 7rem);
  background: #111111;
}

.zone-three-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.zone-three::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  content: "";
}

.zone-three-column {
  position: relative;
  z-index: 1;
  width: min(42vw, 780px);
  height: min(68vh, 760px);
  height: min(68svh, 760px);
}

.zone-three-reload {
  position: absolute;
  z-index: 5;
  left: clamp(1rem, 1.875vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(25, 31, 35, 0.48);
  color: #ffffff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, transform 160ms ease;
}

.zone-three-reload:hover {
  background: rgba(25, 31, 35, 0.72);
  transform: scale(1.05);
}

.zone-three-reload:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.zone-three-reload svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  .zone-three-reload { transition: none; }
}

.zone-three-window {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.zone-three-text {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: pre-wrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
  will-change: transform;
}

@media (max-width: 700px) {
  .zone-three {
    justify-content: center;
    padding: 8vw;
  }

  .zone-three-column {
    width: 84vw;
    height: 70vh;
    height: 70svh;
  }

  .zone-three-text {
    font-size: clamp(1rem, 4.2vw, 1.5rem);
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zone-three-text { will-change: auto; }
}


.zone-four {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000000;
}

.zone-four-video {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  border: 0;
  transform: translate(-50%, -50%);
}


.zone-menu {
  position: fixed;
  z-index: 20;
  top: clamp(1rem, 2.5vw, 2rem);
  right: clamp(1rem, 1.875vw, 2rem);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.9rem;
}

.zone-menu-toggle,
.zone-menu-item {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(25, 31, 35, 0.48);
  color: #ffffff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, transform 160ms ease;
}

.zone-menu-toggle:hover,
.zone-menu-item:hover {
  background: rgba(25, 31, 35, 0.72);
  transform: scale(1.05);
}

.zone-menu-toggle:focus-visible,
.zone-menu-item:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.zone-menu-toggle svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.zone-menu-items {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.zone-menu-items[hidden] { display: none; }

.zone-menu-item svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}


.zone-menu-item {
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .zone-menu-toggle,
  .zone-menu-item { transition: none; }
}


.home h1,
.home-content p,
.gallery-caption,
.zone-three-text {
  font-family: "Libre Caslon Condensed", Georgia, serif;
  letter-spacing: 0.02em;
}



.home-signature {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  max-width: calc(100% - 2rem);
  margin: 0;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.62rem, 0.85vw, 0.9rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: right;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.home-signature a {
  color: inherit;
  text-decoration: none;
}

.home-signature a:hover,
.home-signature a:focus-visible {
  text-decoration: underline;
}

.home-contact {
  position: absolute;
  z-index: 3;
  top: clamp(1rem, 2.5vw, 2rem);
  left: clamp(1rem, 1.875vw, 2rem);
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(25, 31, 35, 0.48);
  color: #ffffff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 160ms ease, transform 160ms ease;
}

.home-contact:hover {
  background: rgba(25, 31, 35, 0.72);
  transform: scale(1.05);
}

.home-contact:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.home-contact svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .home-contact { transition: none; }
}

.home h1,
.home-content p {
  white-space: pre-line;
}

