html[data-theme="dark"] {
  color-scheme: dark;
  background: #050307;
}

html[data-theme="light"] {
  color-scheme: light;
  background: #faf6f3;
}

.toggle-site:not(.dark-site) {
  --ink: #412a32;
  --wine: #744a58;
  --pink: #9b5369;
  --blush: #ead4da;
  --cream: #faf6f3;
  --paper: #f3e8e9;
  --line: rgba(65, 42, 50, 0.17);
  color: var(--ink);
  background: var(--cream);
}

.toggle-site,
.toggle-site .nav,
.toggle-site .image-frame,
.toggle-site .price-card,
.toggle-site .booking-wrap,
.toggle-site .booking-card,
.toggle-site .booking-stage,
.toggle-site .studio-card,
.toggle-site .gallery-dialog,
.toggle-site .gallery-shot,
.toggle-site .image-dialog,
.toggle-site footer {
  transition: color 0.42s ease, background-color 0.42s ease, border-color 0.42s ease, box-shadow 0.42s ease;
}

.toggle-site .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.toggle-site .wordmark small {
  margin-left: 5px;
  color: var(--wine);
  font: 600 7px/1 "Manrope", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 0.35s ease;
}

.theme-toggle {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(65, 42, 50, 0.09);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(65, 42, 50, 0.14);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(200, 143, 159, 0.36);
  outline-offset: 3px;
}

.theme-icon {
  position: absolute;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-24deg) scale(0.6);
}

.dark-site .theme-toggle {
  color: #f5ddef;
  background: #25192a;
  border-color: rgba(239, 214, 239, 0.28);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.28), 0 0 18px rgba(187, 115, 200, 0.08);
}

.dark-site .theme-icon-sun {
  opacity: 0;
  transform: rotate(42deg) scale(0.6);
}

.dark-site .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-logo {
  transition: opacity 0.46s ease;
}

.theme-logo-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.dark-site .theme-logo-light {
  opacity: 0;
}

.dark-site .theme-logo-dark {
  opacity: 1;
}

.toggle-site.dark-site .wordmark small {
  color: #ad9bb0;
}

@media (max-width: 1080px) {
  .toggle-site .nav nav {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .toggle-site .wordmark small {
    display: none;
  }
}

@media (max-width: 430px) {
  .toggle-site .nav nav {
    gap: 8px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .toggle-site .nav-cta {
    min-height: 44px;
    padding: 8px 11px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .theme-icon {
    width: 14px;
    height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toggle-site,
  .toggle-site *,
  .toggle-site *::before,
  .toggle-site *::after {
    transition-duration: 0.01ms !important;
  }
}
