/* ============================================================
   Design 3 — "THE POSTER"
   Full coral background. Theatre poster layout.
   Giant watermark A. Asymmetric band footer.
   ============================================================ */

*, *::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 { height: 100%; }

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

/* ── Grain ──────────────────────────────────────────────── */

.grain-filter { position: fixed; width: 0; height: 0; }

.grain {
  position: fixed;
  inset: 0;
  filter: url(#grain);
  opacity: 0.07;
  pointer-events: none;
  z-index: 10;
  background: var(--charcoal);
}

/* ── Watermark A ─────────────────────────────────────────── */

.watermark {
  position: fixed;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 85vw;
  line-height: 0.8;
  color: rgba(30,30,30,0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ── Poster layout ───────────────────────────────────────── */

.poster {
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2rem 3rem 0;
}

/* ── Top row ─────────────────────────────────────────────── */

.poster__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid rgba(30,30,30,0.2);
  animation: fade-in 0.5s ease both;
}

.poster__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

.poster__top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.poster__tag {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(30,30,30,0.5);
}

.poster__location {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}

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

.poster__headline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
  overflow: hidden;
}

.poster__hl {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(5.5rem, 14vw, 13rem);
  line-height: 0.88;
  display: block;
  -webkit-text-stroke: 2px var(--charcoal);
  color: transparent;
  overflow: hidden;
}

.poster__hl--1 {
  animation: slide-up 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
  padding-left: 0;
}

.poster__hl--2 {
  animation: slide-up 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  padding-left: 12%;
  color: var(--charcoal);
  -webkit-text-stroke: 0;
}

.poster__hl em {
  font-style: italic;
  color: var(--ash);
  -webkit-text-stroke: 0;
}

/* ── Bottom band ─────────────────────────────────────────── */

.poster__band {
  display: grid;
  grid-template-columns: 1fr 1.5px 1fr;
  background: var(--charcoal);
  margin: 0 -3rem;
  padding: 0 3rem;
  animation: slide-band 0.7s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.poster__band-div {
  background: rgba(238,236,231,0.12);
}

.poster__band-left,
.poster__band-right {
  padding: 1.75rem 0;
}

.poster__band-right {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.poster__desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(238,236,231,0.6);
  margin-bottom: 1.25rem;
}

/* ── Form ────────────────────────────────────────────────── */

.poster__form-row { display: flex; max-width: 380px; }

.poster__input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: rgba(238,236,231,0.08);
  border: 1px solid rgba(238,236,231,0.2);
  border-right: none;
  border-radius: 3px 0 0 3px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ash);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}

.poster__input::placeholder { color: rgba(238,236,231,0.3); }
.poster__input:focus { background: rgba(238,236,231,0.12); border-color: var(--coral); }

.poster__btn {
  padding: 0.8rem 1.3rem;
  background: var(--coral);
  color: #fff;
  border: 1px solid var(--coral);
  border-radius: 0 3px 3px 0;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.poster__btn:hover { background: #c95d45; border-color: #c95d45; }

.poster__confirm {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
}
.poster__confirm[hidden] { display: none; }

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

.poster__countdown {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

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

.poster__val {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--ash);
}

.poster__lbl {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(238,236,231,0.45);
  margin-top: 0.2rem;
}

.poster__sep {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--coral);
  align-self: flex-start;
  animation: blink 1.2s step-start infinite;
}

/* ── Social ──────────────────────────────────────────────── */

.poster__social {
  display: flex;
  gap: 1.25rem;
}

.poster__social a {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238,236,231,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.poster__social a:hover { color: var(--ash); }

/* ── Keyframes ───────────────────────────────────────────── */

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes slide-band {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

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

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

@media (max-width: 680px) {
  body { overflow-y: auto; }
  .poster { height: auto; padding: 1.5rem; }
  .poster__band { grid-template-columns: 1fr; margin: 0 -1.5rem; padding: 0 1.5rem; }
  .poster__band-div { display: none; }
  .poster__band-right { padding-left: 0; padding-top: 0; border-top: 1px solid rgba(238,236,231,0.1); }
  .poster__hl { font-size: clamp(3.5rem, 15vw, 6rem); }
  .poster__hl--2 { padding-left: 0; }
}

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