:root {
  --bg-ink: #0f1114;
  --bg-deep: #18130f;
  --cream: #f8f2e9;
  --gold: #caa56f;
  --gold-soft: #e6c594;
  --card: rgba(16, 14, 12, 0.77);
  --card-border: rgba(255, 232, 201, 0.14);
  --text-main: #f6efe6;
  --text-muted: #d8cab8;
  --ok: #88c89f;
  --danger: #ff9b9b;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 8% 14%, #583a1f 0%, transparent 38%),
    radial-gradient(circle at 90% 88%, #35271b 0%, transparent 38%),
    linear-gradient(125deg, var(--bg-ink), var(--bg-deep));
}

.hero {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(96px);
  opacity: 0.4;
  animation: drift 11s ease-in-out infinite alternate;
}

.glow-left {
  background: #8e6839;
  top: -140px;
  left: -90px;
}

.glow-right {
  background: #5f4424;
  bottom: -160px;
  right: -120px;
  animation-delay: 1.5s;
}

.card {
  position: relative;
  width: min(1080px, 100%);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 44px);
  background: var(--card);
  backdrop-filter: blur(7px);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 244, 228, 0.08);
  animation: rise 0.85s ease-out;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 232, 201, 0.13);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-image {
  width: 126px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: #f4e6d3;
  letter-spacing: 0.02em;
}

.brand-text span {
  margin-top: 3px;
  color: #c9ab84;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-link {
  color: #e5c89a;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-link:hover {
  color: #ffddb0;
  border-color: rgba(255, 221, 176, 0.6);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  font-weight: 600;
  max-width: 13ch;
}

.subtitle {
  margin: 24px 0 0;
  max-width: 56ch;
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 1.05rem;
}

.status-row {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(198, 151, 90, 0.65);
  animation: pulse 1.7s infinite;
}

.action-panel {
  border: 1px solid rgba(255, 232, 201, 0.14);
  border-radius: 20px;
  background: rgba(9, 8, 7, 0.46);
  padding: clamp(18px, 2.3vw, 28px);
}

.notify-form {
  margin-top: 0;
}

.notify-form label {
  display: inline-block;
  margin-bottom: 10px;
  color: #efe0cd;
  font-size: 0.95rem;
}

.input-row {
  display: flex;
  gap: 12px;
}

input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 242, 219, 0.2);
  background: rgba(10, 9, 8, 0.55);
  color: var(--text-main);
  border-radius: 13px;
  padding: 14px;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]::placeholder {
  color: #baa184;
}

input[type="email"]:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(198, 151, 90, 0.18);
}

button {
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #ddbe8e, #b68245);
  color: #26180b;
  font-weight: 700;
  padding: 0 20px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.2s ease;
}

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

button:active {
  transform: translateY(0);
}

.form-message {
  margin: 10px 2px 0;
  min-height: 1.3em;
  font-size: 0.92rem;
  color: var(--ok);
}

.form-message.error {
  color: var(--danger);
}

.contact-block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 232, 201, 0.16);
  display: grid;
  gap: 10px;
}

.contact-block h2 {
  margin: 0 0 2px;
  font-size: 0.84rem;
  color: #c8ab84;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-block a {
  color: #efd9bd;
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-block a:hover {
  color: #ffd9a6;
  border-color: rgba(255, 217, 166, 0.7);
}

@keyframes rise {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 151, 90, 0.58);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(198, 151, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 151, 90, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(12px, -18px, 0) scale(1.08);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 24px 14px;
  }

  .card {
    border-radius: 20px;
    padding: 20px 14px;
  }

  .card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 20px;
  }

  .logo-image {
    width: 108px;
  }

  .brand-text strong {
    font-size: 1.25rem;
  }

  .subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .input-row {
    flex-direction: column;
  }

  button {
    min-height: 46px;
  }

  .action-panel {
    padding: 16px;
  }
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}
