/* ============================================================
   Alexandra Arts Centre — Coming Soon
   Brand: Ash White bg, Charcoal text, Teal/Sage accents, Coral CTAs
   Fonts: Poppins (headings) · Nunito (body)
   ============================================================ */

*, *::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 {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ash);
  color: var(--charcoal);
  font-family: var(--font-body);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ── Decorative shapes ──────────────────────────────────── */

.shape {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.shape--circle-teal {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(111,167,163,0.18) 0%, transparent 70%);
  top: -160px;
  right: -160px;
  animation: drift 14s ease-in-out infinite alternate;
}

.shape--circle-sage {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(141,164,143,0.16) 0%, transparent 70%);
  bottom: -100px;
  left: -120px;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.shape--ring {
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(111,167,163,0.28);
  bottom: 100px;
  right: 6%;
  animation: spin 40s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring__logo {
  width: 62%;
  height: 62%;
  object-fit: contain;
  /* counter-rotate so the logo stays upright as the ring spins */
  animation: spin-reverse 40s linear infinite;
  opacity: 0.55;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(30px, 20px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* ── Marquee strip ──────────────────────────────────────── */

.marquee-strip {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--ash);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 22s linear infinite;
  will-change: transform;
}

.marquee-track span { display: inline-block; }

.marquee-dot {
  color: var(--coral);
  font-size: 1rem;
  line-height: 1;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Page layout ────────────────────────────────────────── */

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 38px);
}

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

.header {
  padding: 2rem 3rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  animation: logo-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}


/* ── Stickers ───────────────────────────────────────────── */

.sticker {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.sticker--brush {
  width: 90px;
  top: 18%;
  right: 6%;
  animation: float-a 6s ease-in-out infinite;
}

.sticker--star {
  width: 52px;
  top: 42%;
  right: 14%;
  animation: float-b 5s ease-in-out infinite;
}

.sticker--palette {
  width: 78px;
  bottom: 22%;
  left: 5%;
  animation: float-a 7s ease-in-out infinite reverse;
}

@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%       { transform: translateY(-14px) rotate(4deg); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50%       { transform: translateY(-10px) rotate(-6deg); }
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem 2rem;
  max-width: 860px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  animation: fade-up 0.6s 0.2s ease both;
}

.hero__heading {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.hero__heading-line {
  display: block;
  overflow: hidden;
}

.hero__heading-line--1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--charcoal);
  animation: slide-in 0.7s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__heading-line--2 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--teal);
  animation: slide-in 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__heading-line--3 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--charcoal);
  animation: slide-in 0.7s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__heading em {
  font-style: italic;
  color: var(--coral);
}

.hero__body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: #4a4a4a;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fade-up 0.7s 0.65s ease both;
}

/* ── Email signup ───────────────────────────────────────── */

.signup {
  animation: fade-up 0.7s 0.75s ease both;
}

.signup__label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.signup__row {
  display: flex;
  gap: 0;
  max-width: 460px;
}

.signup__input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 2px solid var(--charcoal);
  border-right: none;
  border-radius: 4px 0 0 4px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.signup__input::placeholder {
  color: #9a9a9a;
}

.signup__input:focus {
  border-color: var(--teal);
  background: rgba(111,167,163,0.06);
}

.signup__btn {
  padding: 0.9rem 1.5rem;
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--coral);
  border-radius: 0 4px 4px 0;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.signup__btn:hover {
  background: #c95d45;
  border-color: #c95d45;
  transform: translateY(-1px);
}

.signup__btn:active {
  transform: translateY(0);
}

.signup__confirm {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--sage);
  font-weight: 600;
}

.signup__confirm[hidden] { display: none; }

/* ── Countdown ──────────────────────────────────────────── */

.countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
  animation: fade-up 0.7s 0.9s ease both;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}

.countdown__value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--charcoal);
  tabular-nums: auto;
}

.countdown__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.3rem;
}

.countdown__sep {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral);
  align-self: flex-start;
  padding-top: 2px;
  animation: blink 1.2s step-start infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 3rem;
  border-top: 1px solid rgba(30,30,30,0.1);
  animation: fade-up 0.7s 1s ease both;
}

.social {
  display: flex;
  gap: 1.5rem;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.social__link svg {
  width: 18px;
  height: 18px;
}

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

.footer__copy {
  font-size: 0.8rem;
  color: #8a8a8a;
}

/* ── Animations ─────────────────────────────────────────── */

@keyframes logo-pop {
  from { transform: scale(0.4) rotate(-20deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 680px) {
  .header { padding: 1.5rem; }

  .hero {
    padding: 2rem 1.5rem 1.5rem;
  }

  .sticker--brush { right: 2%; width: 64px; }
  .sticker--star  { right: 4%; width: 38px; }
  .sticker--palette { display: none; }

  .signup__row {
    flex-direction: column;
  }

  .signup__input {
    border-right: 2px solid var(--charcoal);
    border-radius: 4px 4px 0 0;
  }

  .signup__input:focus {
    border-right-color: var(--teal);
    border-bottom-color: var(--teal);
  }

  .signup__btn {
    border-radius: 0 0 4px 4px;
    text-align: center;
  }

  .countdown {
    gap: 0.25rem;
  }

  .countdown__unit { min-width: 56px; }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
}

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