:root {
  --black: #050505;
  --white: #f8f6ee;
  --chalk: rgba(248, 246, 238, 0.9);
  --green: #7fa80b;
  --red: #ee2419;
  --glass: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.035), transparent 32rem),
    var(--black);
  font-family: "Trebuchet MS", "Comic Sans MS", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(9rem, 17rem) 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem clamp(0.85rem, 2vw, 2rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.18));
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(17rem, 34vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.25rem, 1vw, 1rem);
  min-width: 0;
}

.menu-toggle,
.nav-backdrop {
  display: none;
}

.nav a,
.lang-toggle {
  border: 1.5px solid rgba(248, 246, 238, 0.65);
  border-radius: 0;
  background: var(--glass);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.72),
    inset 0 0 18px rgba(255, 255, 255, 0.035);
  color: var(--chalk);
  font-size: clamp(0.76rem, 1vw, 0.98rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 0 #000, 0 0 7px rgba(255, 255, 255, 0.18);
}

.nav a,
.lang-toggle {
  padding: 0.62rem 0.78rem;
}

.nav a:hover,
.nav a:focus-visible,
.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: var(--green);
  color: #fff;
  outline: none;
}

.lang-toggle {
  border-color: rgba(127, 168, 11, 0.9);
  color: #d9ff70;
  cursor: pointer;
}

main {
  background: var(--black);
}

.slide-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(4.8rem, 8svh, 6.8rem) clamp(0.5rem, 2vw, 2rem) clamp(1rem, 3svh, 2rem);
  scroll-snap-align: start;
  overflow: hidden;
}

.slide-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.68)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.76));
  pointer-events: none;
}

.slide-section > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: calc(100svh - clamp(5.8rem, 10svh, 8rem));
  object-fit: contain;
  filter: drop-shadow(0 1.25rem 2rem rgba(0, 0, 0, 0.56));
}

.slide-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, calc((100svh - clamp(5.8rem, 10svh, 8rem)) * 1.5));
  aspect-ratio: 3 / 2;
  filter: drop-shadow(0 1.25rem 2rem rgba(0, 0, 0, 0.56));
}

.slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.slide-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.slide-hotspot:focus-visible {
  outline: 2px solid rgba(127, 168, 11, 0.72);
}

.contact-hotspot {
  left: 63.7%;
  top: 50.1%;
  width: 25%;
  height: 8.7%;
}

.pitch-hotspot {
  left: 67.6%;
  top: 70.8%;
  width: 27.6%;
  height: 10.2%;
}

.pitch-hotspot:focus-visible {
  outline-color: rgba(238, 36, 25, 0.72);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 1rem;
}

.modal:target {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.pitch-form {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(44rem, 94vw);
  max-height: calc(100svh - 2rem);
  gap: 1rem;
  overflow: auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 2px solid rgba(238, 36, 25, 0.9);
  background: rgba(0, 0, 0, 0.92);
  box-shadow: inset 0 0 24px rgba(127, 168, 11, 0.08), 0 1rem 3rem rgba(0, 0, 0, 0.7);
}

.pitch-form h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.form-logo {
  width: min(18rem, 68vw);
  height: auto;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.pitch-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--chalk);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pitch-form input,
.pitch-form textarea {
  width: 100%;
  border: 1.5px solid rgba(248, 246, 238, 0.55);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

.pitch-form textarea {
  resize: vertical;
}

.pitch-form input:focus,
.pitch-form textarea:focus {
  border-color: var(--green);
  outline: none;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--chalk);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.form-status.is-success {
  color: #d9ff70;
}

.form-status.is-error {
  color: #ff6f67;
}

.submit-button {
  justify-self: end;
  min-width: 9rem;
  border: 1.5px solid rgba(127, 168, 11, 0.9);
  border-radius: 0;
  background: rgba(127, 168, 11, 0.08);
  color: #d9ff70;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.8rem 1.2rem;
  text-transform: uppercase;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: rgba(127, 168, 11, 0.16);
  outline: none;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

@media (max-width: 820px), (orientation: landscape) and (max-height: 540px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    padding: 0.58rem 0.8rem;
  }

  .brand {
    width: min(12rem, 48vw);
  }

  .menu-toggle {
    position: relative;
    z-index: 45;
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.62rem;
    border: 1.5px solid rgba(248, 246, 238, 0.65);
    border-radius: 0;
    background: var(--glass);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.72),
      inset 0 0 18px rgba(255, 255, 255, 0.035);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 1.35rem;
    height: 0.12rem;
    background: var(--chalk);
    box-shadow: 0 1px 0 #000, 0 0 7px rgba(255, 255, 255, 0.18);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle:focus-visible {
    border-color: var(--green);
    outline: none;
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(0.48rem) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.48rem) rotate(-45deg);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-open .nav-backdrop {
    display: block;
  }

  .nav {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    display: flex;
    width: 82vw;
    max-width: 19rem;
    min-width: auto;
    max-height: calc(100svh - 1rem);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.65rem;
    overflow-y: auto;
    padding: 5.2rem 1rem 1.05rem;
    border-left: 1.5px solid rgba(248, 246, 238, 0.28);
    border-bottom: 1.5px solid rgba(248, 246, 238, 0.28);
    background:
      radial-gradient(circle at 18% 8%, rgba(248, 246, 238, 0.055), transparent 12rem),
      linear-gradient(180deg, #050505, #0b0b0a);
    box-shadow: -1rem 0 2rem rgba(0, 0, 0, 0.62);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .nav-open .nav {
    transform: translateX(0);
  }

  .nav a,
  .lang-toggle {
    width: 100%;
    font-size: 0.86rem;
    line-height: 1.1;
    padding: 0.82rem 0.9rem;
    text-align: left;
  }

  .slide-section {
    padding-top: 4.9rem;
  }

  .slide-section > img {
    height: calc(100svh - 5.9rem);
  }

  .slide-frame img {
    height: 100%;
  }

  .contact-hotspot {
    left: 61.5%;
    top: 47.8%;
    width: 30%;
    height: 13%;
  }

  .pitch-hotspot {
    left: 62.5%;
    top: 66.5%;
    width: 34.5%;
    height: 17%;
  }
}

@media (max-width: 520px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .submit-button {
    justify-self: stretch;
  }
}
