@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400&family=DM+Sans:wght@400;500;600&family=Old+Standard+TT:wght@400;700&family=Playfair+Display:wght@400;500&display=swap");

:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  color: #f7f4ed;
  background: #111312;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
}

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

button {
  color: inherit;
  font: inherit;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #292b28;
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  --hero-position: 59% 64%;
  background-color: #292b28;
  background-image:
    linear-gradient(180deg, rgb(15 17 16 / 32%) 0%, transparent 30%, rgb(12 14 13 / 26%) 100%),
    linear-gradient(90deg, rgb(13 15 14 / 20%), transparent 75%),
    var(--hero-image, url("/images/splash.jpg")),
    linear-gradient(145deg, #66716b 0%, #555e58 38%, #373d39 70%, #242724 100%);
  background-position: center, center, var(--hero-position), center;
  background-size: cover;
  transform: scale(1.015);
}

.hero__image--contact {
  --hero-image: url("/images/contact-splash.jpg");
  --hero-position: 29% 80%;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgb(9 11 10 / 24%), transparent 24%, transparent 66%, rgb(9 11 10 / 24%));
  content: "";
  pointer-events: none;
}

.hero--contact::after {
  background: rgb(9 11 10 / 62%);
}

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 88px;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  column-gap: clamp(12px, 3vw, 32px);
  align-items: center;
  padding: 0 clamp(24px, 5vw, 76px);
}

.menu-toggle,
.instagram-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  justify-self: start;
  border: 1px solid rgb(255 255 255 / 54%);
  border-radius: 50%;
  background: rgb(17 19 18 / 10%);
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease;
}

.menu-toggle {
  align-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.menu-toggle:hover,
.instagram-link:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 16%);
}

.header-tagline {
  justify-self: center;
  margin: 0;
  color: rgb(247 244 237 / 80%);
  font-family: "Bricolage Grotesque", "DM Sans", sans-serif;
  font-size: clamp(12px, 1.953125vw, 20px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.site-header--contact {
  min-height: 112px;
}

.header-brand {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.header-brand__title {
  margin: 0;
  color: #edc702;
  font-family: "Old Standard TT", Georgia, serif;
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-tagline__nowrap {
  white-space: nowrap;
}

.contact__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vh, 48px) 20px;
}

.contact-form {
  display: grid;
  width: min(100%, 540px);
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgb(237 199 2 / 72%);
  border-radius: 3px;
  background: rgb(17 19 18 / 91%);
  box-shadow: 0 24px 80px rgb(0 0 0 / 52%);
  backdrop-filter: blur(14px);
}

.contact-form__field {
  display: grid;
  gap: 7px;
}

.contact-form__field label {
  color: #edc702;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgb(247 244 237 / 38%);
  border-radius: 2px;
  background: rgb(255 255 255 / 5%);
  color: #f7f4ed;
  font: inherit;
}

.contact-form__field textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: #edc702;
  outline: 2px solid rgb(237 199 2 / 35%);
  outline-offset: 1px;
}

.contact-form__field select:invalid {
  color: rgb(247 244 237 / 60%);
}

.contact-form__field select option {
  color: #171917;
  background: #f7f4ed;
}

.contact-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form__turnstile {
  min-height: 65px;
}

.contact-form__submit {
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid #edc702;
  border-radius: 2px;
  background: #edc702;
  color: #111312;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-form__submit:hover {
  transform: translateY(-1px);
  background: #f7f4ed;
  border-color: #f7f4ed;
}

.contact-form__submit:focus-visible {
  outline: 3px solid #f7f4ed;
  outline-offset: 3px;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-form__status {
  min-height: 1.2em;
  margin: 0;
  color: rgb(247 244 237 / 80%);
  font-size: 12px;
  line-height: 1.4;
}

.contact-form__status[data-state="success"] {
  color: #edc702;
  font-weight: 600;
}

.contact-form__status[data-state="error"] {
  color: #ffd2c9;
}

.hero-cta {
  position: absolute;
  z-index: 2;
  top: 32%;
  left: 50%;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 3px;
  background: rgb(17 19 18 / 62%);
  box-shadow: 0 8px 28px rgb(0 0 0 / 30%);
  color: #f7f4ed;
  cursor: pointer;
  font-size: clamp(12px, 1.27vw, 13px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-cta:hover {
  transform: translate(-50%, -2px);
  border-color: #edc702;
  background: #edc702;
  color: #111312;
}

.hero-cta:active {
  transform: translate(-50%, 0);
}

.hero-cta:focus-visible {
  outline: 3px solid #f7f4ed;
  outline-offset: 4px;
}

.instagram-link {
  justify-self: end;
}

.instagram-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.instagram-link__dot {
  fill: currentColor;
  stroke: none;
}

.site-menu {
  position: absolute;
  z-index: 1;
  top: 76px;
  left: clamp(24px, 5vw, 76px);
  display: grid;
  min-width: 190px;
  gap: 17px;
  padding: 22px 26px;
  border: 1px solid rgb(255 255 255 / 25%);
  background: rgb(18 20 19 / 86%);
  font-size: 12px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px);
}

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

.site-menu a {
  width: fit-content;
  transition: opacity 180ms ease;
}

.site-menu a:hover {
  opacity: 0.66;
}

.hero__footer-title {
  position: absolute;
  right: 0;
  bottom: 80px;
  left: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  margin: 0;
  color: #edc702;
  font-family: "Old Standard TT", "Old Standard", Georgia, serif;
  font-size: clamp(36px, 11.71875vw, 120px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

@media (max-width: 520px) {
  .site-header {
    min-height: 76px;
    padding-inline: 20px;
  }

  .site-header--contact {
    min-height: 96px;
  }

  .contact__content {
    padding: 20px 14px;
  }

  .contact-form {
    gap: 15px;
  }

  .hero-cta {
    min-height: 42px;
    padding: 10px 18px;
  }

  .menu-toggle,
  .instagram-link {
    width: 38px;
    height: 38px;
  }

  .site-menu {
    top: 67px;
    left: 20px;
  }

  .hero__footer-title {
    flex-direction: column;
    gap: 0;
    padding-inline: 12px;
    font-size: clamp(42px, 13vw, 68px);
    line-height: 0.82;
  }
}

@media (max-height: 600px) and (min-width: 521px) {
  .hero__footer-title--home {
    flex-direction: row;
    gap: 0.3em;
    font-size: clamp(30px, 8vw, 52px);
    line-height: 1;
  }
}

@media (max-width: 520px) and (max-height: 600px) {
  .hero__footer-title--home {
    bottom: 32px;
    flex-direction: column;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 0.82;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
