:root {
  --bg: #07080b;
  --ink: #f6f1e8;
  --muted: #b7b0a4;
  --gold: #e8b15a;
  --gold-deep: #c48a32;
  --line: rgba(246, 241, 232, 0.12);
  --glass: rgba(255, 255, 255, 0.04);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

a { color: inherit; }

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

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(232, 177, 90, 0.16), transparent 55%),
    radial-gradient(900px 500px at 80% 110%, rgba(232, 177, 90, 0.08), transparent 50%),
    #07080b;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite;
}

.orb-a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 18%;
  background: #e8b15a;
  opacity: 0.12;
}

.orb-b {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 8%;
  background: #7aa0ff;
  opacity: 0.08;
  animation-delay: -7s;
}

.grid {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 48vh;
  background-image:
    linear-gradient(rgba(246, 241, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 232, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(600px) rotateX(62deg);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 78%);
}

.horizon {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 177, 90, 0.7), transparent);
  box-shadow: 0 0 40px 8px rgba(232, 177, 90, 0.18);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.top, .hero, .foot, .car {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 7vw 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(232, 177, 90, 0.7);
  animation: ping 2.2s ease-out infinite;
}

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 8vh 7vw 4vh;
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 22px;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

h1 em {
  display: block;
  font-style: italic;
  color: var(--gold);
}

.lede {
  max-width: 540px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
}

.notify {
  margin: 40px auto 0;
  max-width: 520px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 8, 11, 0.55);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.notify input[type="email"] {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}

.notify input::placeholder { color: #7f7a72; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.notify button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  background: linear-gradient(180deg, #f0c36e, var(--gold-deep));
  color: #1a1208;
  font: 600 0.95rem Outfit, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.notify button svg { width: 16px; height: 16px; }

.notify button:hover { transform: translateY(-1px); filter: brightness(1.05); }

.notify button:disabled {
  cursor: wait;
  filter: saturate(0.7);
}

.form-note {
  grid-column: 1 / -1;
  padding: 2px 10px 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-note.ok { color: #b7e3b0; }
.form-note.err { color: #f0a3a3; }

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin-top: 36px;
}

.pills li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contacts {
  margin: 48px auto 0;
  max-width: 760px;
}

.contacts-label {
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 14px;
}

.contacts ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contacts li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  text-align: left;
}

.contacts span {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contacts a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  word-break: break-all;
}

.contacts a:hover {
  color: var(--gold);
}

.car {
  display: flex;
  justify-content: center;
  padding: 0 6vw;
}

.car svg {
  width: min(720px, 100%);
  height: auto;
  opacity: 0.9;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 7vw 28px;
  color: var(--muted);
  font-size: 0.82rem;
}

.foot a { text-decoration: none; border-bottom: 1px solid transparent; }
.foot a:hover { color: var(--ink); border-bottom-color: var(--gold); }

.foot-mails {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@keyframes ping {
  70% { box-shadow: 0 0 0 10px rgba(232, 177, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 177, 90, 0); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -18px, 0); }
}

@media (max-width: 680px) {
  .top { padding-top: 20px; }
  .status { display: none; }
  .notify { grid-template-columns: 1fr; }
  .notify button { width: 100%; justify-content: center; }
  .foot { justify-content: center; text-align: center; }
  .contacts ul { grid-template-columns: 1fr; }
  .foot-mails { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .pulse { animation: none; }
}
