/* ============================================================
   Jakarta Beat Society — root entry page
   Standalone static page for the domain root, separate from the
   /2026 Node app. Palette/fonts mirror public/css/base/tokens.css
   from the main app (hardcoded here on purpose — this page has no
   build step and must stay a plain drop-in folder for cPanel).
   ============================================================ */

@font-face {
  font-family: 'Ranchers';
  src: url('../fonts/ranchers/ranchers-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/arimo/arimo-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/arimo/arimo-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #17100D;
  --color-paper: #F1E7D2;
  --color-flame: #EA4319;
  --color-flame-deep: #B23310;
  --color-brass: #D9A538;
  --color-indigo: #1A2F5C;
  --color-green: #1E9E49;
  --color-sky: #1F62D6;
  --color-sky-deep: #1B4F9E;
  --color-pink: #F754A8;
  --color-muted: #B7A88F;

  --font-display: 'Ranchers', 'Arial Narrow', sans-serif;
  --font-body: 'Arimo', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* -- decorative poster-color blobs, pure CSS, no images -- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-decor span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  animation: drift 16s ease-in-out infinite alternate;
}
.bg-decor span:nth-child(1) {
  width: 420px; height: 420px;
  background: var(--color-flame);
  top: -120px; left: -100px;
  animation-delay: 0s;
}
.bg-decor span:nth-child(2) {
  width: 380px; height: 380px;
  background: var(--color-sky-deep);
  bottom: -140px; right: -100px;
  animation-delay: -5s;
}
.bg-decor span:nth-child(3) {
  width: 260px; height: 260px;
  background: var(--color-brass);
  bottom: 10%; left: 8%;
  animation-delay: -10s;
  opacity: .22;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -25px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-decor span { animation: none; }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 6vw, 3rem) 1.25rem;
}

.logo-plate {
  width: min(210px, 46vw);
  padding: clamp(1rem, 4vw, 1.5rem);
  background: var(--color-paper);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
  opacity: 0;
  animation: pop-in .7s cubic-bezier(.25,.8,.25,1) .1s forwards,
             float-logo 5s ease-in-out 1s infinite;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(18px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .logo { animation: pop-in .01s forwards; }
}

.presented-by {
  margin: .9rem 0 0;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
  opacity: 0;
  animation: fade-up .6s ease .35s forwards;
}
.presented-by + .presented-by {
  margin-top: .3rem;
  animation-delay: .4s;
}
.presented-by strong {
  color: var(--color-paper);
  font-weight: 700;
}

.tagline {
  margin: 1.6rem 0 .4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color-brass);
  opacity: 0;
  animation: fade-up .6s ease .45s forwards;
}

.dates {
  margin: 0 0 2rem;
  font-family: var(--font-body);
  font-size: clamp(.95rem, 2.4vw, 1.1rem);
  color: var(--color-paper);
  opacity: 0;
  animation: fade-up .6s ease .55s forwards;
}
.dates .dot { color: var(--color-flame); margin: 0 .5em; }

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

.actions {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  width: min(320px, 84vw);
  opacity: 0;
  animation: fade-up .6s ease .65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .9rem 1.6rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.25,.8,.25,1), box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--color-flame);
  color: #fff;
  box-shadow: 0 8px 22px rgba(234,67,25,.35);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--color-flame-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234,67,25,.45);
}
.btn-outline {
  background: transparent;
  color: var(--color-paper);
  border: 1.5px solid rgba(241,231,210,.35);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--color-paper);
  background: rgba(241,231,210,.08);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.social {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-muted);
  text-decoration: none;
  font-size: .88rem;
  opacity: 0;
  animation: fade-up .6s ease .75s forwards;
  transition: color .2s ease;
}
.social:hover, .social:focus-visible { color: var(--color-paper); }
.social svg { width: 18px; height: 18px; }

/* ---- Program modal ---- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(23,16,13,.94);
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem) 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal.is-open { display: flex; }
body.modal-open { overflow: hidden; }

.modal-frame {
  position: relative;
  width: min(100%, 640px);
  animation: modal-in .28s cubic-bezier(.25,.8,.25,1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.modal-close {
  position: fixed;
  top: clamp(.75rem, 3vw, 1.5rem);
  right: clamp(.75rem, 3vw, 1.5rem);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-paper);
  background: rgba(241,231,210,.12);
  border: 1px solid rgba(241,231,210,.3);
  border-radius: 3px;
  cursor: pointer;
  z-index: 51;
  transition: background .2s ease, transform .2s ease;
}
.modal-close:hover, .modal-close:focus-visible {
  background: rgba(241,231,210,.22);
  transform: scale(1.05);
}

.modal-hint {
  text-align: center;
  color: var(--color-muted);
  font-size: .82rem;
  margin: .75rem 0 0;
}
.modal-hint a { color: var(--color-brass); }

@media (min-width: 640px) {
  .actions { flex-direction: row; width: auto; }
  .btn { min-width: 190px; }
}
