:root {
  --bg: #050508;
  --text: #f3f4f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden !important;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overscroll-behavior: none;
}

.page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden !important;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(91, 22, 38, 0.35), transparent 60%),
    linear-gradient(180deg, rgba(3, 3, 6, 0.78) 0%, rgba(5, 5, 8, 0.45) 40%, rgba(3, 3, 6, 0.74) 100%),
    rgba(0, 0, 0, 0.35);
}

.nav {
  position: absolute;
  inset: 1rem 1rem auto;
  z-index: 20;
  pointer-events: none;
}

.nav-shell {
  position: relative;
  margin: 0 auto;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
  backdrop-filter: blur(18px);
  transition: all 420ms ease-out;
  pointer-events: auto;
  gap: 0.8rem;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0.45;
  pointer-events: none;
}

.nav-shell::after {
  content: "";
  position: absolute;
  left: -6rem;
  top: 50%;
  width: 6rem;
  height: 6rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(232, 121, 249, 0.25);
  filter: blur(32px);
  pointer-events: none;
}

.nav-shell.scrolled {
  max-width: 72rem;
  padding: 0.65rem 1.35rem;
  box-shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.24);
}

.brand {
  position: relative;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  letter-spacing: 0.28em;
  font-style: italic;
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.75));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero {
  position: relative;
  z-index: 10;
  height: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  align-items: center;
  text-align: center;
  padding: clamp(88px, 10vh, 116px) 24px clamp(20px, 5vh, 56px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, black 30%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to top, #101010 0%, transparent 100%);
}

.eyebrow {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: 1;
  max-width: 56px;
  height: 1px;
  background: rgba(242, 243, 241, 0.3);
}

.line1,
.line2 {
  position: relative;
  z-index: 10;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(76px, 12vw, 180px);
  line-height: 0.88;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 44px rgba(0, 0, 0, 0.55);
}

.line1 {
  color: rgba(255, 255, 255, 0.96);
}

.line2 {
  display: block;
  min-height: clamp(72px, 11vw, 170px);
  font-style: italic;
  color: rgba(242, 243, 241, 0.78);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.line2.is-changing {
  opacity: 0.2;
  transform: translateY(8px);
}

.hero-cta-block {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 980px;
  margin: 14px auto 0;
}

.hero-cta {
  margin-top: clamp(1.25rem, 3vh, 2rem);
}

.sub {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  max-width: 980px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.22;
  color: rgba(242, 243, 241, 0.84);
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.btn {
  position: relative;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.58rem 0.95rem;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  box-shadow: 0 14px 30px -14px rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.27), rgba(255, 255, 255, 0.16));
  box-shadow: 0 20px 36px -16px rgba(255, 255, 255, 0.65);
}

.btn-fill {
  margin-top: 0.25rem;
  width: 100%;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0.9));
  color: #111;
  border-color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
  padding: 1rem;
}
.hidden { display: none; }

.modal-card {
  width: min(100%, 500px);
  max-height: min(88svh, 760px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(23,23,29,0.98), rgba(14,14,19,0.96));
  padding: 1.5rem;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
}
.modal-kicker {
  margin: 0 0 0.35rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.modal-head h2 {
  margin: 0.25rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-style: italic;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-close {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.38rem 0.8rem;
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.form {
  display: grid;
  gap: 0.85rem;
}
.form label span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.form textarea {
  resize: none;
}

.phone-field {
  display: flex;
  gap: 0.5rem;
}

.phone-field input {
  flex: 1;
  min-width: 0;
}

.form select {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
}

.form select:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.form select option {
  background: #17171d;
  color: #fff;
}

.toaster {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 120;
  display: grid;
  gap: 0.7rem;
  width: min(92vw, 400px);
}

.toast-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.72rem 0.95rem;
  background:
    linear-gradient(140deg, rgba(32, 33, 45, 0.92), rgba(16, 17, 26, 0.94)),
    rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(14px);
  box-shadow:
    0 18px 34px -20px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0.55;
}

.toast-item.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-item.success {
  border-color: rgba(52, 211, 153, 0.38);
  color: #d1fae5;
  box-shadow:
    0 20px 36px -22px rgba(7, 51, 38, 0.9),
    inset 0 1px 0 rgba(167, 243, 208, 0.14);
}

.toast-item.error {
  border-color: rgba(251, 113, 133, 0.38);
  color: #ffe4e6;
  box-shadow:
    0 20px 36px -22px rgba(68, 20, 33, 0.9),
    inset 0 1px 0 rgba(255, 228, 230, 0.14);
}

@media (max-width: 1024px) {
  .modal-card {
    width: min(100%, 460px);
  }
  .line1,
  .line2 {
    font-size: clamp(62px, 11vw, 120px);
  }
  .line2 {
    min-height: clamp(66px, 11vw, 128px);
  }
  .hero-cta-block {
    max-width: 860px;
  }
  .sub {
    max-width: 860px;
    font-size: clamp(17px, 1.8vw, 22px);
  }
}

@media (max-width: 768px) {
  .nav {
    inset: 0.8rem 0.8rem auto;
  }
  .nav-shell {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 0.8rem;
  }
  .brand {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.17em;
    text-indent: 0.17em;
  }
  .btn-ghost {
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    padding: 0.5rem 0.85rem;
  }
  .hero {
    padding: 100px 18px 18px;
    align-content: center;
  }
  .eyebrow {
    margin-bottom: 14px;
    gap: 10px;
    letter-spacing: 0.16em;
  }
  .line1,
  .line2 {
    font-size: clamp(62px, 20vw, 100px);
    line-height: 0.9;
  }
  .line2 {
    min-height: clamp(56px, 17vw, 94px);
  }
  .hero-cta-block {
    max-width: 94%;
    margin-top: 20px;
  }
  .sub {
    max-width: 94%;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.24;
    text-wrap: pretty;
    word-spacing: normal;
  }
  .sub br {
    display: none;
  }
  .modal {
    padding: 0.8rem;
    align-items: center;
    justify-content: center;
  }
  .modal-card {
    width: min(100%, 520px);
    border-radius: 22px;
    padding: 1.05rem;
    max-height: 84svh;
  }
  .modal-head h2 {
    font-size: 1.7rem;
  }
  .toaster {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    width: auto;
  }
}

@media (max-width: 480px) {
  .nav {
    inset: 0.65rem 0.65rem auto;
  }
  .nav-shell {
    border-radius: 14px;
    padding: 0.62rem 0.66rem;
    gap: 0.55rem;
  }
  .brand {
    font-size: 1.02rem;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }
  .hero {
    padding: 92px 12px 12px;
  }
  .eyebrow {
    font-size: 9px;
    gap: 8px;
    margin-bottom: 10px;
  }
  .eyebrow::before,
  .eyebrow::after {
    max-width: 36px;
  }
  .line1,
  .line2 {
    font-size: clamp(48px, 18.5vw, 70px);
  }
  .line2 {
    min-height: clamp(44px, 16vw, 66px);
  }
  .hero-cta-block {
    max-width: 98%;
  }
  .sub {
    max-width: 98%;
    font-size: clamp(13px, 4vw, 15px);
    line-height: 1.3;
  }
  .modal {
    padding: 0.45rem;
  }
  .modal-card {
    border-radius: 18px;
    padding: 0.9rem;
  }
  .form {
    gap: 0.66rem;
  }
  .form input,
  .form textarea {
    font-size: 0.84rem;
    padding: 0.55rem 0.68rem;
  }
  .toaster {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }
  .toast-item {
    border-radius: 12px;
    padding: 0.64rem 0.78rem;
    font-size: 0.86rem;
  }
}

@media (min-width: 1440px) {
  .hero {
    padding-top: 140px;
  }
  .hero-cta-block {
    max-width: 1080px;
  }
  .sub {
    max-width: 1080px;
  }
}
