:root {
  --navigation-height: clamp(72px, 7.2vw, 124px);
  --navigation-gap: clamp(10px, 0.9vw, 18px);
  --navigation-padding-x: clamp(14px, 2vw, 38px);
  --navigation-padding-y: clamp(6px, 0.7vw, 12px);
  --focus-color: #7c5cff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: #222222;
}

body {
  min-width: 320px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #222222;
  color: #f2f2f2;
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.image-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--navigation-gap);
  width: 100%;
  padding: var(--navigation-padding-y) var(--navigation-padding-x);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  pointer-events: auto;
}

.image-navigation::-webkit-scrollbar {
  display: none;
}

.nav-link,
.nav-divider {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.nav-link {
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-link:active {
  transform: translateY(1px);
}

.nav-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus-color);
  outline-offset: 5px;
}

.nav-image,
.nav-divider-image {
  display: block;
  width: auto;
  height: var(--navigation-height);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.nav-divider-image {
  max-width: calc(var(--navigation-height) * 0.8);
}

.slides {
  width: 100%;
  margin: 0;
  padding: 0;
}

.slide {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  scroll-margin-top: 0;
}

.slide-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  user-select: none;
}

.slide-button {
  position: absolute;
  z-index: 10;
  left: var(--button-left);
  top: var(--button-top);
  display: block;
  width: var(--button-width);
  min-width: 120px;
  max-width: 520px;
  border: 0;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  background: transparent;
  cursor: pointer;
  line-height: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.slide-button:hover {
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(1.015);
}

.slide-button:active {
  transform: translate(-50%, -50%) scale(0.995);
}

.slide-button:focus-visible {
  border-radius: 8px;
  outline: 4px solid var(--focus-color);
  outline-offset: 5px;
}

.slide-button-image {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.slide-hotspot {
  width: var(--button-width);
  height: var(--button-height);
  min-width: 0;
  max-width: none;
}

.contact-dialog {
  width: min(94vw, 820px);
  max-height: 94vh;
  border: 1px solid #3b3b3b;
  border-radius: 12px;
  margin: auto;
  padding: 0;
  background: #222222;
  color: #f4f4f4;
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.contact-panel {
  position: relative;
  overflow: auto;
  max-height: 94vh;
  border-radius: 12px;
  padding: clamp(28px, 5vw, 56px);
  background: #222222;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.close-contact {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f4f4f4;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.close-contact:focus-visible,
.submit-contact:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
}

.contact-heading {
  max-width: 690px;
  margin: 0 0 30px;
  padding-right: 34px;
}

.contact-eyebrow {
  margin: 0 0 10px;
  color: #a32086;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.contact-heading h2,
.form-success h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.contact-heading > p:not(.contact-eyebrow),
.form-success > p:not(.contact-eyebrow) {
  margin: 0;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.55;
}

.contact-heading .availability-note {
  margin-top: 16px;
  border-left: 2px solid #a32086;
  padding-left: 14px;
  color: #f0f0f0;
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 20px;
  line-height: 1.4;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #e6e6e6;
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #484848;
  border-radius: 7px;
  padding: 13px 14px;
  background: #181818;
  color: #f4f4f4;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color 150ms ease, background 150ms ease;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: #646464;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777777;
}

.contact-form textarea {
  resize: vertical;
}

.output-options {
  border: 1px solid #404040;
  border-radius: 8px;
  margin: 0;
  padding: 14px;
}

.output-options legend {
  padding: 0 6px;
  color: #e6e6e6;
  font-size: 14px;
  font-weight: 500;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.checkbox-grid label {
  display: flex;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  color: #c9c9c9;
  font-weight: 400;
}

.checkbox-grid input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #a32086;
}

.submission-note {
  margin: -2px 0 0;
  color: #8f8f8f;
  font-size: 12px;
  line-height: 1.5;
}

.submit-contact {
  min-height: 52px;
  border: 0;
  border-radius: 7px;
  padding: 13px 20px;
  background: #941b7c;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  transition: background 150ms ease, transform 150ms ease;
}

.submit-contact:hover {
  background: #aa268f;
}

.submit-contact:active {
  transform: translateY(1px);
}

.submit-contact:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: #c8c8c8;
  font-size: 13px;
  line-height: 1.4;
}

.form-status[data-state="error"] {
  color: #ff8d8d;
}

.form-success {
  padding: 30px 0 10px;
}

.form-success .submit-contact {
  width: 100%;
  margin-top: 28px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.noscript-message {
  position: fixed;
  z-index: 2000;
  inset: auto 16px 16px;
  margin: 0;
  padding: 12px 16px;
  background: #ffffff;
  color: #111111;
  font: 14px/1.4 Arial, Helvetica, sans-serif;
}

@media (max-width: 700px) {
  :root {
    --navigation-height: 66px;
    --navigation-gap: 10px;
    --navigation-padding-x: 14px;
    --navigation-padding-y: 8px;
  }

  .image-navigation {
    justify-content: flex-start;
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .form-grid-two,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .slide-button:not(.slide-hotspot) {
    min-width: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-link,
  .slide-button {
    transition: none;
  }
}
