/* ═══════════════════════════════════════════════════════════════
   ARALI — Author Website
   Palette: near-black bg / warm gold accent / parchment text
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #030a05;
  --dark:        #071009;
  --dark-mid:    #0c1a0e;
  --gold:        #3a8f5c;
  --gold-light:  #5ab87e;
  --gold-dim:    #1e4d30;
  --parchment:   #d8e8dc;
  --parchment-dim: #7a9e87;
  --white:       #eaf4ee;

  --font-display: 'Cinzel', 'Georgia', serif;
  --font-deco:    'Cinzel Decorative', 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', 'Georgia', serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Scroll reveal (below-fold elements) ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero animate-in (CSS, no JS dependency) ──────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow  { animation: heroFadeUp 1s var(--ease-out) 0.3s both; }
.hero__title    { animation: heroFadeUp 1s var(--ease-out) 0.5s both; }
.hero__author   { animation: heroFadeUp 1s var(--ease-out) 0.75s both; }
.hero__divider  { animation: heroFadeUp 0.8s var(--ease-out) 0.95s both; }
.hero__tagline  { animation: heroFadeUp 1s var(--ease-out) 1.1s both; }
.hero__cta      { animation: heroFadeUp 1s var(--ease-out) 1.35s both; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(5,4,10,0.85) 0%, transparent 100%);
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(5, 4, 10, 0.92);
  backdrop-filter: blur(12px);
}
.nav__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__title {
  font-family: var(--font-deco);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav__socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav__socials a {
  color: var(--parchment-dim);
  transition: color 0.25s;
  display: flex;
  align-items: center;
}
.nav__socials a:hover { color: var(--gold-light); }
.nav__socials svg { width: 18px; height: 18px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__map-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: mapFloat 24s ease-in-out infinite alternate;
  filter: brightness(0.55) saturate(1.1);
}
@keyframes mapFloat {
  from { transform: scale(1.04) translate(0, 0); }
  to   { transform: scale(1.10) translate(-1%, -1%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 55%, rgba(5,4,10,0.72) 0%, rgba(5,4,10,0.82) 60%, rgba(5,4,10,0.95) 100%),
    linear-gradient(to top, rgba(5,4,10,1) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(5,4,10,0.75) 0%, transparent 22%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 180px rgba(5,4,10,0.7);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  transition-delay: 0.1s;
}

.hero__title {
  font-family: var(--font-deco);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 0.06em;
  text-shadow: 0 0 120px rgba(201, 150, 60, 0.35), 0 2px 40px rgba(0,0,0,0.8);
  transition-delay: 0.2s;
}

.hero__author {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--parchment-dim);
  letter-spacing: 0.08em;
  transition-delay: 0.35s;
  text-shadow: 0 1px 12px rgba(5,4,10,0.9), 0 0 30px rgba(5,4,10,0.8);
}

.hero__divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0.5rem 0;
  transition-delay: 0.45s;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--parchment);
  max-width: 560px;
  transition-delay: 0.55s;
  text-shadow: 0 1px 16px rgba(5,4,10,0.95), 0 0 40px rgba(5,4,10,0.9);
}

.hero__coming-soon {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  animation: heroFadeUp 1s var(--ease-out) 1.35s both;
  text-shadow: 0 0 20px rgba(201,150,60,0.4);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 0.8; transform: scaleY(1);   transform-origin: top; }
}

/* ── Teaser ───────────────────────────────────────────────── */
.teaser {
  position: relative;
  background: var(--dark);
  padding: 8rem 2rem;
  overflow: hidden;
}
.teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
}
.teaser__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.teaser__quote-mark {
  font-family: var(--font-deco);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--gold-dim);
  opacity: 0.35;
  position: absolute;
  top: -1rem;
  left: -2rem;
  pointer-events: none;
  user-select: none;
}
.teaser__pull {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.35;
  color: var(--gold-light);
  font-weight: 300;
  margin-bottom: 3rem;
  transition-delay: 0.1s;
}
.teaser__body {
  transition-delay: 0.25s;
}
.teaser__body p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--parchment-dim);
  max-width: 640px;
  margin: 0 auto 1.4rem;
  line-height: 1.85;
}
.teaser__body p:last-child { margin-bottom: 0; }
.teaser__genre {
  font-family: var(--font-display);
  font-size: 0.65rem !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim) !important;
  margin-top: 2.5rem !important;
}

/* ── Map Band ─────────────────────────────────────────────── */
.map-band {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--black);
}
@media (max-width: 600px) { .map-band { height: 420px; } }

.map-band__inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.map-band__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: brightness(1) saturate(1.2);
  mix-blend-mode: screen;
  transition: transform 8s ease-in-out;
}

.map-band__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--dark) 0%, transparent 20%, transparent 80%, var(--dark-mid) 100%);
}
.map-band__label {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter {
  background: var(--dark-mid);
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}
.newsletter::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to top, var(--gold-dim), transparent);
}

.newsletter__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter__eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  transition-delay: 0.05s;
}
.newsletter__heading {
  font-family: var(--font-deco);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  transition-delay: 0.15s;
}
.newsletter__sub {
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--parchment-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  transition-delay: 0.25s;
}
.newsletter__form { transition-delay: 0.35s; }

.newsletter__fields {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter__fields input {
  flex: 1 1 200px;
  padding: 0.85rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201, 150, 60, 0.25);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  border-radius: 0;
}
.newsletter__fields input::placeholder { color: var(--parchment-dim); opacity: 0.6; }
.newsletter__fields input:focus {
  border-color: var(--gold);
  background: rgba(201, 150, 60, 0.06);
}
.newsletter__fields input:focus::placeholder { opacity: 0.4; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-gold__icon { font-size: 1rem; transition: transform 0.3s; }
.btn-gold:hover .btn-gold__icon { transform: translateX(4px); }

.newsletter__legal {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--parchment-dim);
  opacity: 0.55;
  letter-spacing: 0.04em;
}
.newsletter__success {
  margin-top: 1.25rem;
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
}
.newsletter__error {
  margin-top: 1.25rem;
  color: #c97070;
  font-size: 0.9rem;
}

/* ── Follow ───────────────────────────────────────────────── */
.follow {
  background: var(--dark);
  padding: 7rem 2rem;
  text-align: center;
}
.follow__inner { max-width: 700px; margin: 0 auto; }

.follow__heading {
  font-family: var(--font-deco);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.6rem;
  transition-delay: 0.05s;
}
.follow__sub {
  font-style: italic;
  color: var(--parchment-dim);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  transition-delay: 0.15s;
}
.follow__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition-delay: 0.25s;
}
.follow__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--parchment-dim);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.3s, transform 0.3s;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(201, 150, 60, 0.12);
  min-width: 110px;
}
.follow__link:hover {
  color: var(--gold-light);
  border-color: rgba(201, 150, 60, 0.4);
  transform: translateY(-4px);
}
.follow__link-icon { display: flex; }
.follow__link-icon svg { width: 28px; height: 28px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201, 150, 60, 0.1);
  padding: 3rem 2rem;
  text-align: center;
}
.footer__inner { max-width: 600px; margin: 0 auto; }
.footer__title {
  font-family: var(--font-deco);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}
.footer__author {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--parchment-dim);
  margin-bottom: 1.5rem;
}
.footer__copy {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--parchment-dim);
  opacity: 0.4;
}

/* ── Author Bio ───────────────────────────────────────────── */
.bio {
  background: var(--dark);
  padding: 6rem 2rem;
}
.bio__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.bio__divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.bio__label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  transition-delay: 0.1s;
}
.bio__text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.85;
  color: var(--parchment-dim);
  transition-delay: 0.2s;
}
.bio__text em { font-style: italic; color: var(--parchment); }

/* ── Mailchimp form overrides ─────────────────────────────── */
.mc-wrap { width: 100%; }

.mc-fields {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mc-field-wrap { flex: 1 1 200px; }

.mc-field-wrap input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(58, 143, 92, 0.25);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}
.mc-field-wrap input::placeholder { color: var(--parchment-dim); opacity: 0.6; }
.mc-field-wrap input:focus {
  border-color: var(--gold);
  background: rgba(58, 143, 92, 0.07);
}

.mc-response {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
}
.mc-response--success { color: var(--gold-light); font-style: italic; }
.mc-response--error   { color: #c97070; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { padding: 1rem 1.25rem; }
  .teaser { padding: 5rem 1.5rem; }
  .teaser__quote-mark { left: 0; font-size: 5rem; }
  .newsletter { padding: 5rem 1.5rem; }
  .follow { padding: 5rem 1.5rem; }
  .newsletter__fields { flex-direction: column; }
  .newsletter__fields input,
  .btn-gold { width: 100%; justify-content: center; }
  .follow__links { gap: 1rem; }
  .follow__link { min-width: 90px; padding: 1.2rem 1.25rem; }
}
