/* ============================================================
   VERA — Coming Soon
   Quiet Luxury design system. White-dominant, lilac micro-accents.
   ============================================================ */

:root {
  /* Palette — near-monochrome white, lilac only as accent */
  --paper:      #ffffff;
  --bone:       #fcfbfd;   /* faintest off-white sections */
  --lilac:      #f2ecf5;   /* brand accent — subtle fills */
  --lilac-line: #e7deec;   /* hairlines, borders */
  --lilac-deep: #cdbcd6;   /* the only "stronger" lilac, used sparingly on hover */

  --ink:        #1a1a1c;   /* headings */
  --graphite:   #44424a;   /* body text */
  --muted:      #8b8690;   /* secondary text, labels */
  --faint:      #b6b1bb;   /* placeholders, hairline text */

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --section-y: clamp(5.5rem, 12vw, 11rem);
  --gutter:    clamp(1.5rem, 6vw, 7rem);
  --maxw:      1500px;

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

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

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

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--graphite);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

/* ───────────────────────── Shared type ───────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.eyebrow--light { color: rgba(255,255,255,0.82); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
}
.display em { font-style: italic; font-weight: 400; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--graphite);
  margin-top: 1.8rem;
}

.body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--graphite);
  margin-top: 1.4rem;
  max-width: 42ch;
}

.signature {
  margin-top: 2.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  display: block;
  width: 1px; height: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(var(--lilac-line), transparent);
  margin: 0 auto;
}

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav__logo img {
  height: 46px; width: auto;
  transition: opacity 0.4s var(--ease), filter 0.5s var(--ease);
}
.nav__social {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  flex: 1;
  transition: color 0.5s var(--ease), opacity 0.3s var(--ease);
}
.nav__social:hover { opacity: 0.55; }
.nav__social--right { text-align: right; }

/* The hero image is bright at the top, so the nav stays dark (ink) over it —
   only a faint backdrop is added on scroll. No inversion needed. */

/* After scrolling past hero */
.nav--scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding-top: 1rem; padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--lilac-line);
}

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: -6% 0;            /* extra height for parallax travel */
  z-index: -2;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(18,16,22,0.52) 0%, rgba(18,16,22,0.12) 30%, rgba(18,16,22,0) 50%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3.5rem, 8vh, 6rem);
  text-align: center;
  text-shadow: 0 1px 40px rgba(18,16,22,0.35);
}
.hero__content .eyebrow--light {
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.4rem;
}
.hero__wordmark {
  font-family: var(--serif);
  font-weight: 300;
  color: #fff;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.95;
  letter-spacing: 0.14em;
  text-indent: 0.14em;          /* optical centering for tracking */
  margin: 0.3rem 0 1.2rem;
}
.hero__tagline {
  color: rgba(255,255,255,0.92);
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line {
  display: block;
  width: 1px; height: 46px;
  background: rgba(255,255,255,0.6);
  transform-origin: top;
  animation: scrollPulse 2.6s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { transform: scaleY(1); opacity: 1; }
  70%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* ───────────────────────── Story ───────────────────────── */
.story { padding: var(--section-y) var(--gutter); }
.story__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.story__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--lilac);
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text { max-width: 36rem; }

/* ───────────────────────── Manifesto ───────────────────────── */
.manifesto {
  background: var(--bone);
  border-block: 1px solid var(--lilac-line);
  padding: var(--section-y) var(--gutter);
  text-align: center;
}
.manifesto__line {
  max-width: 22ch;
  margin: 0 auto;
}
.manifesto__sub {
  max-width: 46ch;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ───────────────────────── The Drop ───────────────────────── */
.drop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 90vh;
}
.drop__media {
  position: relative;
  overflow: hidden;
  background: var(--lilac);
}
.drop__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 30%;
}
.drop__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-y) var(--gutter);
}
.drop__title { margin-top: 0.4rem; }
.drop__tag {
  margin-top: 2.4rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.drop__tag span { color: var(--muted); }
.drop__vol {
  margin-top: 2.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.drop__vol::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: var(--lilac-deep);
  vertical-align: middle;
  margin-right: 0.9rem;
}

/* ───────────────────────── Contact / Signup ───────────────────────── */
.contact {
  padding: var(--section-y) var(--gutter);
  text-align: center;
}
.contact__inner { max-width: 38rem; margin: 0 auto; }
.contact__body { margin: 1.4rem auto 0; text-align: center; }

.signup {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 27rem;
  margin: 2.8rem auto 0;
  border-bottom: 1px solid var(--lilac-line);
  transition: border-color 0.4s var(--ease);
}
.signup:focus-within { border-color: var(--lilac-deep); }
.signup__field { flex: 1; }
.signup__field input {
  width: 100%;
  border: 0; outline: 0; background: transparent;
  font-family: var(--sans);
  font-size: 1rem; font-weight: 300;
  color: var(--ink);
  padding: 0.95rem 0.2rem;
  letter-spacing: 0.02em;
}
.signup__field input::placeholder { color: var(--faint); }
.signup__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 0;
  transition: gap 0.4s var(--ease), color 0.3s var(--ease);
}
.signup__btn:hover { gap: 1rem; color: var(--lilac-deep); }
.signup__btn svg { display: block; }
.signup__note {
  position: absolute;
  top: calc(100% + 0.9rem); left: 0;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.signup__note.is-visible { opacity: 1; transform: translateY(0); }
.signup__note.is-error { color: #a86b6b; }

.contact__alt {
  margin-top: 3.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.contact__alt a {
  color: var(--ink);
  border-bottom: 1px solid var(--lilac-line);
  padding-bottom: 2px;
  transition: border-color 0.4s var(--ease);
}
.contact__alt a:hover { border-color: var(--lilac-deep); }

/* ───────────────────────── Footer ───────────────────────── */
.footer {
  background: var(--bone);
  border-top: 1px solid var(--lilac-line);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.footer__mark { height: 34px; width: auto; opacity: 0.85; }
.footer__social {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.footer__social a { transition: color 0.3s var(--ease); }
.footer__social a:hover { color: var(--ink); }
.footer__meta {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}
.footer__admin {
  color: var(--lilac-line);
  transition: color 0.3s var(--ease);
  line-height: 0;
}
.footer__admin:hover { color: var(--faint); }

/* ───────────────────────── Reveal animation ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story__media { aspect-ratio: 3 / 4; max-height: 78vh; }
  .story__text { max-width: none; }
  .body { max-width: none; }

  .drop { grid-template-columns: 1fr; min-height: 0; }
  .drop__media { aspect-ratio: 3 / 4; }
}

@media (max-width: 560px) {
  .nav { padding: 1.1rem 1.4rem; }
  .nav__logo img { height: 38px; }
  .nav__social { font-size: 0.6rem; letter-spacing: 0.16em; }
  .hero__wordmark { letter-spacing: 0.1em; text-indent: 0.1em; }
  .hero__content { text-align: center; }
}

/* ───────────────────────── Motion preference ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line { animation: none; }
  [data-parallax], [data-parallax-soft] { transform: none !important; }
}
