:root {
  --cream: #f4efe6;
  --muted: #d2c8b8;
  --gold: #c4a574;
  --ink: rgba(10, 11, 12, 0.55);
  --glass: rgba(12, 13, 14, 0.42);
  --line: rgba(244, 239, 230, 0.18);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  color: var(--cream);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  background: #111;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: rotate(180deg);
  transform-origin: center;
  filter: brightness(0.62) saturate(0.88);
  z-index: 0;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 9, 0.58) 0%,
      rgba(8, 8, 9, 0.16) 28%,
      rgba(8, 8, 9, 0.1) 52%,
      rgba(8, 8, 9, 0.42) 78%,
      rgba(8, 8, 9, 0.62) 100%
    );
}

.shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(2rem, 7vh, 4.25rem) clamp(1.25rem, 5vw, 5.5rem)
    clamp(0.65rem, 2vh, 1.15rem);
}

.brand {
  flex: 0 0 auto;
  text-align: center;
  margin: 0;
}

.brand h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.92;
}

.tagline {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.lede {
  max-width: 28rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.inquiry {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "name email org"
    "message message action";
  align-items: end;
  gap: 0.45rem 0.7rem;
  width: min(720px, 100%);
  margin-top: auto;
  padding: 0.8rem 0.95rem 0.75rem;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.inquiry label:nth-of-type(1) {
  grid-area: name;
}

.inquiry label:nth-of-type(2) {
  grid-area: email;
}

.inquiry label:nth-of-type(3) {
  grid-area: org;
}

.inquiry label:nth-of-type(4) {
  grid-area: message;
}

.inquiry button {
  grid-area: action;
}

.inquiry label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inquiry input,
.inquiry textarea {
  width: 100%;
  padding: 0.52rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font: 400 0.95rem/1.35 Outfit, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

.inquiry textarea {
  resize: vertical;
  min-height: 2.55rem;
}

.inquiry input:focus,
.inquiry textarea:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.inquiry button {
  margin-top: 0;
  min-height: 2.55rem;
  padding: 0.7rem 0.85rem;
  border: 0;
  background: var(--cream);
  color: #1a1612;
  font: 500 0.78rem Outfit, "Segoe UI", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}

.inquiry button:hover {
  background: #fff;
}

.hp {
  display: none !important;
}

.thanks {
  max-width: 36rem;
  text-align: center;
}

a {
  color: var(--gold);
}

@media (max-width: 860px) {
  .shell {
    padding-top: 1rem;
    padding-bottom: 0.85rem;
  }

  .brand h1 {
    letter-spacing: 0.08em;
  }

  .tagline {
    letter-spacing: 0.1em;
  }

  .inquiry {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "email"
      "org"
      "message"
      "action";
    width: min(420px, 100%);
    padding: 0.8rem 0.9rem 0.75rem;
    gap: 0.4rem;
  }

  .inquiry textarea {
    min-height: 2.6rem;
  }
}

@media (max-height: 780px) {
  .inquiry textarea {
    min-height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-video {
    display: none;
  }

  body {
    background: #1a1816 url("assets/poster.jpg") center / cover no-repeat;
  }
}
