:root {
  --cream: #f3efea;
  --cacao: #2b2623;
  --olive: #6b705c;
  --font-main: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--cacao);
  font-family: var(--font-main);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 40px 18px;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition:
    color 300ms ease,
    background-color 300ms ease,
    text-shadow 300ms ease;
}

.brand,
.site-header nav a {
  position: relative;
  display: inline-block;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}

.site-header nav a {
  opacity: 1;
  transition: opacity 200ms ease;
  white-space: nowrap;
}

.site-header .nav-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover,
  .site-header nav a:hover {
    opacity: 0.68;
  }
}

.site-header .nav-cta {
  color: inherit;
}

.site-header .nav-cta:focus-visible {
  outline: 1px solid rgba(243, 239, 234, 0.78);
  outline-offset: 4px;
}

.hero-carousel {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #2B2623;
  contain: layout paint;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1200ms ease;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
}

.slide-1 img {
  object-position: center center;
}

.slide-2 img {
  object-position: center 45%;
}

.slide-3 img {
  object-position: center 50%;
}

.slide-4 img {
  object-position: center 45%;
}

.hero-carousel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.03) 45%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(43, 38, 35, 0.34), rgba(43, 38, 35, 0.04) 58%),
    linear-gradient(to right, rgba(43, 38, 35, 0.18), rgba(43, 38, 35, 0));
  pointer-events: none;
}

.hero-brand-row {
  position: absolute;
  z-index: 5;
  left: 7vw;
  right: 7vw;
  bottom: 9vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-logo {
  width: clamp(220px, 26vw, 400px);
  height: auto;
  display: block;
  aspect-ratio: 2254 / 532;
  image-rendering: auto;
}

.hero-baseline {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

.hero-baseline span {
  display: inline;
}

.hero-baseline span + span::before {
  content: " ";
}

.film-section {
  width: 100%;
  margin: 0;
  padding: 64px 0 110px;
  background: var(--cream);
  opacity: 0;
  transition: opacity 700ms ease;
}

.film-section.is-visible {
  opacity: 1;
}

.film-frame {
  position: relative;
  width: min(92vw, calc(75vh * 16 / 9));
  max-width: calc(100vw - 44px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
}

.film-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.film-sound {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--font-main);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 220ms ease;
}

.film-sound:hover {
  opacity: 1;
}

.film-sound {
  width: 22px;
  height: 22px;
}

.film-sound:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.sound-icon {
  width: 100%;
  height: 100%;
  display: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.film-sound.is-muted .sound-icon-muted,
.film-sound:not(.is-muted) .sound-icon-on {
  display: block;
}

.final-section {
  padding: 5.8vh 7vw 6.6vh;
  background: var(--cream);
  color: var(--cacao);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  column-gap: 4.5vw;
  row-gap: 0;
}

.final-section {
  font-family: var(--font-main);
}

.instagram-link,
.contact-link {
  position: relative;
  display: inline-block;
  font-family: var(--font-main);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.045em;
  text-transform: lowercase;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: opacity 1400ms ease, background-size 1400ms ease;
}

.instagram-link:hover,
.contact-link:hover {
  opacity: 0.7;
  background-size: 0 1px;
}

.final-instagram {
  justify-self: start;
  text-align: left;
}

.final-location {
  justify-self: center;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0;
}

.final-contact {
  justify-self: end;
  text-align: right;
}

.final-label {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 12px;
  opacity: 0.62;
}

.seo-text {
  background: #F3EFEA;
  color: rgba(43, 38, 35, 0.45);
  max-width: 760px;
  margin: 0 auto;
  padding: 0 7vw 5vh;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.seo-text p {
  margin: 0 0 10px;
}

.seo-text p:last-child {
  margin-bottom: 0;
}

.faq-section {
  background: var(--cream);
  color: rgba(43, 38, 35, 0.62);
  max-width: 700px;
  margin: 0 auto;
  padding: 4vh 7vw 8vh;
  font-family: var(--font-main);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-section h2 {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.55;
}

.faq-section details {
  border: 1px solid #E5E1DB;
  border-radius: 7px;
  padding: 16px 17px;
  transition: border-color 240ms ease, opacity 240ms ease;
}

.faq-section details:hover {
  border-color: rgba(43, 38, 35, 0.24);
  opacity: 0.82;
}

.faq-section summary {
  cursor: pointer;
  list-style: none;
  padding: 0;
  font-size: 9.75px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section p {
  margin: 11px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.55;
  color: rgba(43, 38, 35, 0.48);
  animation: faqReveal 220ms ease;
}

@keyframes faqReveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal-target {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1800ms ease, transform 1800ms ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-page {
  min-height: 100vh;
  background: var(--cream);
  color: var(--cacao);
}

.contact-page .site-header {
  color: var(--cacao);
  text-shadow: none;
}

.site-header.is-past-hero {
  color: var(--cacao);
  background-color: rgba(243, 239, 234, 0.94);
  text-shadow: none;
}

.contact-main {
  width: min(1180px, calc(100% - 14vw));
  margin: 0 auto;
  padding: 12vh 0 9vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  column-gap: clamp(58px, 9vw, 128px);
  align-items: start;
}

.contact-intro {
  margin: 0;
  position: sticky;
  top: 12vh;
}

.contact-title {
  max-width: 680px;
  margin: 0 0 32px;
  font-family: var(--font-main);
  font-size: clamp(58px, 5.5vw, 78px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.contact-intro p {
  max-width: 500px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(43, 38, 35, 0.68);
}

.event-form {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 33px;
  padding-top: 0;
}

.form-field {
  min-width: 0;
}

.form-field-wide {
  grid-column: auto;
}

.form-field label {
  display: block;
  margin: 0 0 11px;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  color: rgba(43, 38, 35, 0.66);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(43, 38, 35, 0.28);
  border-radius: 0;
  padding: 0 0 12px;
  background: transparent;
  color: var(--cacao);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  outline: 0;
  transition: border-color 1000ms ease;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(43, 38, 35, 0.42);
}

.form-field textarea {
  resize: vertical;
  min-height: 184px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cacao);
}

.form-submit {
  justify-self: start;
  margin-top: 4px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--cacao);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-submit span {
  display: inline-block;
  transition: transform 250ms ease;
}

.form-submit:hover span {
  transform: translateX(4px);
}

.response-note {
  margin: -12px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(43, 38, 35, 0.55);
}

.form-status {
  min-height: 16px;
  margin: -18px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(43, 38, 35, 0.64);
}

.form-status:empty {
  display: none;
}

.form-email {
  justify-self: start;
  width: fit-content;
  margin-top: -20px;
  border-bottom: 1px solid rgba(43, 38, 35, 0.42);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.045em;
  transition: opacity 250ms ease;
}

.form-email:hover {
  opacity: 0.65;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 60;
  width: min(420px, calc(100% - 32px));
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 2px;
  padding: 20px 46px 20px 22px;
  background: rgba(243, 239, 234, 0.96);
  color: var(--cacao);
  box-shadow: 0 12px 34px rgba(43, 38, 35, 0.08);
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.form-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.form-toast p {
  margin: 0;
}

.form-toast-title {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.form-toast-message {
  margin-top: 5px !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(43, 38, 35, 0.62);
}

.form-toast-close {
  position: absolute;
  top: 13px;
  right: 16px;
  border: 0;
  padding: 0;
  background: transparent;
  color: currentColor;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.58;
  transition: opacity 220ms ease;
}

.form-toast-close:hover,
.form-toast-close:focus-visible {
  opacity: 1;
}

@media (max-width: 820px) {
  .site-header {
    padding: 22px 20px 18px;
    position: fixed;
  }

  .brand,
  .site-header nav a {
    font-size: 12px;
    letter-spacing: 0.035em;
    line-height: 1.15;
  }

  .site-header nav {
    gap: 8px;
  }

  .site-header .nav-cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-carousel::before {
    height: 64px;
  }

  .hero-carousel,
  .hero-slide {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
  }

  .slide-1 img {
    object-position: center center;
  }

  .slide-2 img {
    object-position: center 45%;
  }

  .slide-3 img {
    object-position: center 50%;
  }

  .slide-4 img {
    object-position: center 45%;
  }

  .hero-brand-row {
    left: auto;
    right: auto;
    bottom: 8vh;
    width: calc(100% - 32px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
  }

  .hero-logo {
    width: 185px;
    max-width: 185px;
    height: auto;
    flex-shrink: 0;
  }

  .hero-baseline {
    width: 100%;
    max-width: calc(100vw - 32px);
    margin-inline: auto;
    display: flex;
    justify-content: center;
    gap: 0.55em;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: center;
    white-space: nowrap;
  }

  .hero-baseline span {
    display: inline;
  }

  .hero-baseline span + span::before {
    content: "";
  }

  .form-toast {
    bottom: 22px;
    width: calc(100% - 32px);
    padding: 18px 42px 18px 20px;
  }

  .film-sound {
    right: 16px;
    bottom: 16px;
    width: 21px;
    height: 21px;
  }

  .film-section {
    padding: 11vh 0;
  }

  .film-frame {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .film-section {
    padding: 14vh 0;
  }

  .film-frame {
    width: 56vw;
    max-width: 640px;
  }
}

@media (max-width: 820px) {
  .final-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "instagram contact"
      "location location";
    align-items: start;
    column-gap: 18px;
    row-gap: 24px;
    padding: 5.6vh 22px 5.8vh;
  }

  .final-instagram {
    grid-area: instagram;
    text-align: left;
    align-self: start;
    justify-self: start;
  }

  .final-contact {
    grid-area: contact;
    justify-self: end;
    text-align: right;
    align-self: start;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .final-label {
    margin-top: 0 !important;
    margin-bottom: 9px;
  }

  .final-contact .final-label,
  .final-instagram .final-label {
    line-height: 1;
  }

  .final-location {
    grid-area: location;
    justify-self: center;
    align-self: end;
    text-align: center;
    margin-top: 22px;
    width: 100%;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .seo-text {
    max-width: 340px;
    margin: 0 auto;
    padding: 8px 22px 20px;
    font-size: 9px;
    line-height: 1.25;
    opacity: 0.55;
    text-align: center;
  }

  .seo-text p {
    margin: 0 0 4px;
  }

  .seo-text p:last-child {
    margin-bottom: 0;
  }

  .faq-section {
    max-width: 700px;
    padding: 22px 22px 34px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-section h2 {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .faq-section summary,
  .faq-section p {
    font-size: 8.5px;
  }

  .faq-section summary {
    padding: 0;
  }

  .faq-section details {
    padding: 15px 16px;
  }

  .contact-main {
    width: calc(100% - 44px);
    padding: 12vh 0 8vh;
    display: block;
  }

  .contact-intro {
    margin-bottom: 5vh;
    position: static;
  }

  .contact-title {
    margin-bottom: 20px;
    font-size: clamp(42px, 12vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .contact-intro p {
    font-size: 15px;
    line-height: 1.55;
  }

  .event-form {
    row-gap: 29px;
    padding-top: 0;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .form-field textarea {
    min-height: 176px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
