/* ─────────────────────────────────────────────
   RUNAWAY — styles.css
   Palette: #dacfc0 / #ffffff / #f7f7f7 / #000000
   Fonts:   Cooper BT (brand) · The Seasons (body)
───────────────────────────────────────────── */

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

:root {
  /* Main palette */
  --bg:      #f7f7f7;
  --white:   #ffffff;
  --black:   #000000;
  --accent:  #dacfc0;
  --muted:   #9a8f85;
  --border:  #e4ddd6;

  /* Dark sections (marquee, about, footer) */
  --dark:    #000000;

  /* Type stacks */
  --brand: 'Cooper BT', 'ITC Cooper', 'Palatino Linotype', Georgia, serif;
  --body:  'The Seasons', 'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a  { color: inherit; text-decoration: none; }
a, button { cursor: crosshair; }

/* ─── GRAIN OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ─────────────────────────────────────────────
   HERO LOGO
───────────────────────────────────────────── */
.hero-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero-logo-img {
  height: clamp(128px, 18vw, 200px);
  width: auto;
  display: block;
  border-radius: 4px;
}


/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background-color: #111;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.55) 100%
    );
}

/* All text content sits above video + overlay */
.hero-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(200px, 28vw, 280px) clamp(20px, 5vw, 60px) clamp(52px, 8vh, 88px);
  text-align: center;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
}

.hero-title {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(52px, 12vw, 120px);
  letter-spacing: clamp(0.08em, 2vw, 0.28em);
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
}

.hero-sub {
  font-family: var(--body);
  font-size: clamp(10px, 1.6vw, 13px);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Drop / waitlist block inside hero */
.hero-form-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
}

.drop-heading {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 38px);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
}

.drop-sub {
  font-family: var(--body);
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 400;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}

.drop-form {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

.drop-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drop-input-wrap label {
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: left;
}

.drop-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  outline: none;
  color: #ffffff;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 0;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
}

.drop-input::placeholder { color: rgba(255,255,255,0.22); }
.drop-input:focus { border-color: rgba(255,255,255,0.7); }

.drop-submit {
  background: none;
  border: none;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 10px 0;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  min-height: 44px;
  transition: border-color 0.3s ease;
}

.drop-submit:hover { border-color: #ffffff; }

.drop-confirm {
  display: none;
  font-family: var(--brand);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 12px;
}

.drop-confirm.show {
  display: block;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ─────────────────────────────────────────────
   REVEAL
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
              transform 0.9s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.32s; }

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

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.25s ease;
}

.footer-links a:hover { color: #ffffff; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

/* Mobile */
@media (max-width: 640px) {
  .hero-body {
    padding-top: clamp(160px, 40vw, 220px);
    padding-bottom: clamp(40px, 8vh, 64px);
  }

  .drop-form {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .drop-submit { text-align: left; }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero-title { letter-spacing: 0.06em; }
}
