/* PHONELESS — one screen. A field at dusk, a book standing in it, nine words. */

:root {
  --cream: #efe6cd;
  --cream-soft: rgba(239, 230, 205, 0.72);
  --cream-faint: rgba(239, 230, 205, 0.5);
  --night: #050708;
  --bg: var(--night);
  --surface: #101614;
  --border: rgba(239, 230, 205, 0.25);
  --accent: var(--cream);
  --accent-ink: var(--night);
  --font: Georgia, "Times New Roman", Times, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  font-family: var(--font);
  background: var(--night) url("images/aurora.webp") center 40% / cover no-repeat fixed;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' seed='11' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='linear' slope='0.2'/></feComponentTransfer></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
}

/* ---------- Topbar, almost not there ---------- */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  z-index: 2;
}
.topbar-inner { padding: 18px 26px; max-width: none; }
.topbar-home, .topbar-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cream-faint);
  font-weight: 400;
}
.topbar-home:hover, .topbar-links a:hover { color: var(--cream); }

/* ---------- The scene ---------- */
.scene {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* the book, standing in the grass */
.book {
  position: relative;
  justify-self: center;
  width: min(290px, 30vw, calc(70vh * 0.667));
}
.book .frame {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  box-shadow:
    -1px 0 0 rgba(255,255,255,0.08),
    -8px 0 14px rgba(0,0,0,0.35),
    0 26px 34px -12px rgba(0, 0, 0, 0.7);
}
.book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}
.book::after {
  content: "";
  position: absolute;
  left: 6%;
  right: -12%;
  bottom: -16px;
  height: 24px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  filter: blur(5px);
  z-index: -1;
}

/* ---------- Nine words ---------- */
.ask { max-width: 400px; }
.ask h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1.05;
  color: var(--cream);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.ask .sub {
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--cream-soft);
  margin: 0 0 58px;
}

.signup { position: relative; display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }

/* hand-drawn arrow, pointing at the email box */
.arrow {
  position: absolute;
  left: -6px;
  top: -50px;
  width: 78px;
  height: 58px;
  color: var(--cream);
  pointer-events: none;
}

.signup input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(239, 230, 205, 0.45);
  border-radius: 0;
  padding: 11px 14px;
}
.signup input[type="email"]::placeholder { color: var(--cream-faint); font-style: italic; }
.signup input[type="email"]:focus-visible { outline: none; border-color: var(--cream); background: rgba(10, 18, 10, 0.55); }

.signup button {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 0;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
}
.signup button:hover { background: #fff8e6; }
.signup button:disabled { opacity: 0.6; cursor: wait; }
.form-message {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--cream-soft);
  min-height: 1.3em;
  margin: 10px 0 0;
}
.ask .helps {
  font-style: italic;
  font-size: 0.98rem;
  color: var(--cream-soft);
  margin: 6px 0 22px;
}
.ask .contact {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--cream-faint);
  margin: 0;
}
.ask .contact a {
  color: var(--cream-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(239, 230, 205, 0.4);
}
.ask .contact a:hover { color: var(--cream); text-decoration-color: var(--cream); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .scene { grid-template-columns: 1fr; gap: 40px; padding-top: 84px; }
  .book { width: min(230px, 62vw); }
  .ask { max-width: none; }
}
