:root {
  --ink: #211c16;
  --bg: #faf5ee;
  --surface: #ffffff;
  --line: #e6dccb;
  --muted: #948a7a;
  --accent: #f36727;
  --cream: #f0e9dd;
  --soft: #c9bfae;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Public Sans", sans-serif;
  color: #fff;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.bg {
  position: absolute;
  inset: 0;
  background:
    center / cover no-repeat
    url("https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&w=2400&q=80");
  transform: scale(1.04);
  animation: bgDrift 18s ease-in-out infinite alternate;
}

.veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(33, 28, 22, 0.52) 0%, rgba(33, 28, 22, 0.78) 55%, rgba(33, 28, 22, 0.88) 100%),
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(243, 103, 39, 0.12), transparent 60%);
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 48px);
}

.brand {
  margin: 0 0 28px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand .dot {
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.headline {
  margin: 0 0 16px;
  max-width: 14ch;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 5.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 12px;
  max-width: 32rem;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: var(--cream);
}

.lede-secondary {
  margin: 0 0 36px;
  font-weight: 600;
  color: #fff;
}

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 8px;
  position: relative;
}

.notify input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.notify input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.notify input:focus {
  border-color: rgba(243, 103, 39, 0.85);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(243, 103, 39, 0.25);
}

.notify button {
  flex: 0 0 auto;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

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

.form-note {
  flex: 1 0 100%;
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--cream);
  text-align: left;
}

.form-note.error {
  color: #ffb4a0;
}

.form-note.ok {
  color: #c8e6c0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cream);
}

.links a {
  position: relative;
  transition: color 0.2s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.links a:hover {
  color: #fff;
}

.links a:hover::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 480px) {
  .notify button {
    width: 100%;
  }
}
