:root {
  --bg: #050607;
  --text: #f3efe8;
  --muted: #9d968d;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --accent: #c47a4d;
  --dark: #15110f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 38%, rgba(196, 122, 77, 0.07), transparent 30rem),
    radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.032), transparent 26rem),
    linear-gradient(180deg, #070809, #030405);
  filter: blur(16px);
  transform: scale(1.03);
  animation: backgroundSettle 5.5s ease forwards;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.66) 78%);
  background-size: 96px 96px, 96px 96px, auto;
  opacity: 0;
  animation: gridAppear 2.8s ease 0.7s forwards;
}

@keyframes backgroundSettle {
  from {
    filter: blur(24px);
    transform: scale(1.06);
  }

  to {
    filter: blur(13px);
    transform: scale(1);
  }
}

@keyframes gridAppear {
  to {
    opacity: 0.82;
  }
}

main {
  position: fixed;
  inset: 0;
  z-index: 2;
}

.line-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(980px, calc(100vw - 40px));
  height: clamp(150px, 18vw, 210px);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
}

.line-item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  filter: blur(24px);
  transform: translateY(18px) scale(0.992);
  will-change: opacity, filter, transform;
}

.word {
  font-size: clamp(3.4rem, 10vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0.018em;
  font-weight: 760;
  animation: wordPass 1.72s cubic-bezier(.14,.72,.24,1) forwards;
}

.word.one {
  animation-delay: 0.35s;
}

.word.two {
  animation-delay: 1.85s;
}

.word.three {
  animation-delay: 3.35s;
}

.final-lockup {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  animation: finalIn 1.55s cubic-bezier(.14,.72,.24,1) 4.85s forwards;
}

.brand-name {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(243, 239, 232, 0.72);
}

.slogan {
  margin: 0;
  max-width: 900px;
  font-size: clamp(1.65rem, 4.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0.006em;
  font-weight: 690;
}

.slogan span {
  color: var(--accent);
}

@keyframes wordPass {
  0% {
    opacity: 0;
    filter: blur(26px);
    transform: translateY(18px) scale(0.99);
  }

  66% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }

  76% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-5px) scale(1.004);
  }
}

@keyframes finalIn {
  0% {
    opacity: 0;
    filter: blur(24px);
    transform: translateY(16px) scale(0.992);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.contact-wrap {
  position: absolute;
  top: calc(50% + clamp(135px, 16vw, 190px));
  left: 50%;
  width: min(520px, calc(100vw - 40px));
  display: grid;
  justify-items: center;
  opacity: 0;
  filter: blur(12px);
  transform: translate(-50%, 16px);
  animation: contactIn 1s cubic-bezier(.14,.72,.24,1) 5.85s forwards;
}

@keyframes contactIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0);
  }
}

.contact-card {
  width: 100%;
  display: grid;
  justify-items: center;
}

.cta-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 142px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.26);
  transition:
    opacity 260ms ease,
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 122, 77, 0.48);
  background: rgba(255, 255, 255, 0.065);
}

.cta-button.is-thank-you {
  border-color: rgba(196, 122, 77, 0.42);
  color: rgba(243, 239, 232, 0.78);
}

.cta-button.is-fading {
  opacity: 0;
}

.contact-card.open .cta-button {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  pointer-events: none;
}

.contact-panel {
  width: 100%;
  max-height: 0;
  margin-top: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  filter: blur(8px);
  transition:
    max-height 1100ms cubic-bezier(.16,.78,.24,1),
    margin-top 1100ms cubic-bezier(.16,.78,.24,1),
    padding 1100ms cubic-bezier(.16,.78,.24,1),
    border-color 1100ms ease,
    border-radius 1100ms cubic-bezier(.16,.78,.24,1),
    background 1100ms ease,
    opacity 720ms ease 170ms,
    transform 720ms ease 170ms,
    filter 720ms ease 170ms;
}

.contact-card.is-closing .contact-panel {
  transition:
    max-height 2600ms cubic-bezier(.16,.78,.24,1),
    margin-top 2600ms cubic-bezier(.16,.78,.24,1),
    padding 2600ms cubic-bezier(.16,.78,.24,1),
    border-color 2600ms ease,
    border-radius 2600ms cubic-bezier(.16,.78,.24,1),
    background 2600ms ease,
    opacity 1800ms ease 240ms,
    transform 1800ms ease 240ms,
    filter 1800ms ease 240ms;
}

.contact-card.open .contact-panel {
  max-height: 285px;
  margin-top: -34px;
  padding: 0.95rem;
  border-color: var(--line);
  border-radius: 26px;
  background: var(--panel-strong);
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-step {
  display: none;
}

.contact-step.is-active {
  display: block;
  animation: stepIn 360ms ease both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.bot-field,
.turnstile-mount {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contour {
  position: relative;
  width: 100%;
  height: 178px;
}

.email-contour {
  height: 132px;
}

.contour-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.contour-line path {
  fill: rgba(0, 0, 0, 0.22);
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.email-input,
textarea {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1rem;
  font: inherit;
  outline: none;
}

.email-input {
  height: 78px;
  font-size: 1rem;
}

textarea {
  height: 122px;
  resize: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 122, 77, 0.65) rgba(0, 0, 0, 0.28);
}

textarea::-webkit-scrollbar {
  width: 10px;
}

textarea::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  margin: 12px 0;
}

textarea::-webkit-scrollbar-thumb {
  background: rgba(196, 122, 77, 0.62);
  border: 3px solid rgba(0, 0, 0, 0.28);
  border-radius: 999px;
}

textarea::-webkit-scrollbar-thumb:hover {
  background: rgba(196, 122, 77, 0.9);
}

.email-input::placeholder,
textarea::placeholder {
  color: rgba(243, 239, 232, 0.42);
}

.email-input:-webkit-autofill,
.email-input:-webkit-autofill:hover,
.email-input:-webkit-autofill:focus,
.email-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.22) inset;
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.22) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.email-input:autofill {
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
}

.text-action {
  position: absolute;
  right: 22px;
  bottom: 22px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: rgba(243, 239, 232, 0.68);
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
  transition:
    color 180ms ease,
    letter-spacing 180ms ease,
    transform 180ms ease,
    text-shadow 180ms ease;
}

.text-action::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.text-action:hover {
  color: var(--text);
  letter-spacing: 0.12em;
  transform: translateY(-1px);
  text-shadow: 0 0 18px rgba(196, 122, 77, 0.35);
}

.text-action:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.action-short {
  display: none;
}

.text-action:focus-visible,
.cta-button:focus-visible {
  outline: 1px solid rgba(196, 122, 77, 0.75);
  outline-offset: 8px;
  border-radius: 4px;
}

.status {
  color: var(--muted);
  text-align: left;
  font-size: 0.86rem;
}

.status:empty {
  display: none;
}

@media (max-width: 640px) {
  body {
    overflow-y: auto;
  }

  .line-stage {
    top: 46%;
    height: 180px;
  }

  .contact-wrap {
    top: calc(46% + 150px);
  }

  .word {
    letter-spacing: 0.012em;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
  }

  .slogan {
    letter-spacing: 0.003em;
  }

  .action-full {
    display: none;
  }

  .action-short {
    display: inline;
  }

  .text-action {
    right: 18px;
    bottom: 22px;
    font-size: 0.86rem;
    letter-spacing: 0.07em;
  }

  .text-action:hover {
    letter-spacing: 0.07em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
