/* ============================================================
   Design 7 — "CLASSIC"
   Centered. Refined. Timeless.
   Theatre programme meets luxury gallery invitation.
   ============================================================ */

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

:root {
  --teal:    #6FA7A3;
  --charcoal:#1E1E1E;
  --coral:   #DD6F56;
  --ash:     #EEECE7;
  --sage:    #8DA48F;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

html, body {
  min-height: 100%;
}

body {
  background: var(--ash);
  color: var(--charcoal);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 0;
  overflow-x: hidden;
}

/* ── Page — strict centre column ────────────────────────── */

.page {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: appear 1s ease both;
}

/* ── Hero Section with Paint Splash Background ──────────── */

.hero-section {
  width: 100vw;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  background-image: url('assets/paint-splash.png?v=2');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 1rem;
  position: relative;
  margin: 0;
}

/* ── Logo ────────────────────────────────────────────────── */

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 550px;
  height: 550px;
  object-fit: contain;
  border-radius: 8px;
}

/* ── Headline ────────────────────────────────────────────── */

.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 0.88;
  text-align: center;
}

.headline__top {
  font-size: clamp(3rem, 10vw, 6rem);
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.headline__bottom {
  font-size: clamp(3rem, 10vw, 6rem);
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

/* ── Tagline ─────────────────────────────────────────────── */

.tagline {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(30,30,30,0.5);
  text-align: center;
}

/* ── Email form ──────────────────────────────────────────── */

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
}

.form__label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(30,30,30,0.4);
}

.form__row {
  display: flex;
  width: 100%;
  max-width: 420px;
}

.form__input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(30,30,30,0.2);
  border-right: none;
  border-radius: 2px 0 0 2px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}

.form__input::placeholder { color: rgba(30,30,30,0.28); }
.form__input:focus { border-color: var(--teal); }

.form__btn {
  padding: 0.85rem 1.5rem;
  background: var(--charcoal);
  color: var(--ash);
  border: 1.5px solid var(--charcoal);
  border-radius: 0 2px 2px 0;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.form__btn:hover {
  background: var(--coral);
  border-color: var(--coral);
}

.form__confirm {
  font-size: 0.82rem;
  color: var(--sage);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.form__confirm[hidden] { display: none; }

/* ── Footer ──────────────────────────────────────────────── */

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.4rem;
}

.foot__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.foot__social a {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30,30,30,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.foot__social a:hover { color: var(--teal); }

.foot__dot {
  color: var(--coral) !important;
  pointer-events: none;
  letter-spacing: 0 !important;
}

.foot__copy {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(30,30,30,0.28);
  text-align: center;
}

/* ── Entrance animation ──────────────────────────────────── */

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

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
  body {
    padding: 0;
  }
  
  .logo {
    width: 300px;
    height: 300px;
  }
  
  .headline__top,
  .headline__bottom {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  
  .hero-section {
    padding: 2rem 1rem;
    background-size: cover;
  }
  
  .tagline {
    font-size: 0.75rem;
    padding: 0 1rem;
  }
  
  .form__row {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 200px;
    height: 200px;
  }
  
  .headline__top,
  .headline__bottom {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  
  .hero-section {
    padding: 1.5rem 0.5rem;
    gap: 1rem;
  }
  
  .page {
    gap: 0.3rem;
  }
  
  .tagline {
    font-size: 0.7rem;
    line-height: 1.6;
  }
  
  .form__row { 
    flex-direction: column; 
  }
  
  .form__input { 
    border-right: 1.5px solid rgba(30,30,30,0.2); 
    border-radius: 2px 2px 0 0; 
  }
  
  .form__input:focus { 
    border-color: var(--teal); 
  }
  
  .form__btn { 
    border-radius: 0 0 2px 2px; 
    text-align: center; 
  }
  
  .foot__social {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  
  .foot__copy {
    font-size: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
