:root {
  --ink: #16100c;
  --ink2: #1e1610;
  --ink3: #261b13;
  --cream: #fbf3e7;
  --gold: #f3b64a;
  --gold-2: #ffd27a;
  --gold-deep: #cf8a2c;
  --rose: #ff5d73;
  --text: #f4e9db;
  --muted: rgba(244, 233, 219, 0.6);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --maxw: 1080px;
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.78);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1100px 680px at 50% -8%, rgba(243, 182, 74, 0.16), transparent 60%),
    radial-gradient(900px 600px at 90% 100%, rgba(255, 93, 115, 0.1), transparent 55%),
    var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; }

#embers {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hub-hero, main, .hub-foot { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hub-hero {
  text-align: center;
  padding: clamp(64px, 13vh, 130px) 0 clamp(30px, 6vh, 58px);
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}
.hub-hero h1 {
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1.02;
  font-weight: 600;
  background: linear-gradient(180deg, var(--cream), #e9d4ad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hub-hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 560px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(15.5px, 1.9vw, 19px);
  line-height: 1.6;
}

/* ---------- tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  padding: 18px 0 70px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink2);
  border: 1px solid rgba(243, 182, 74, 0.16);
  box-shadow: var(--shadow);
  min-height: 430px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.tile:hover {
  transform: translateY(-8px);
  border-color: rgba(243, 182, 74, 0.5);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(243, 182, 74, 0.18);
}

.tile-media { position: relative; height: 270px; overflow: hidden; }
.tile-media .ph {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 32%;
  opacity: 0;
  animation: phFade 13.5s infinite;
  transform: scale(1.04);
}
.tile-media .ph:nth-child(1) { animation-delay: 0s; }
.tile-media .ph:nth-child(2) { animation-delay: 4.5s; }
.tile-media .ph:nth-child(3) { animation-delay: 9s; }
@keyframes phFade {
  0% { opacity: 0; transform: scale(1.04); }
  4% { opacity: 1; }
  26% { opacity: 1; }
  33% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; }
}
.tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 16, 12, 0) 40%, rgba(22, 16, 12, 0.55) 78%, var(--ink2) 100%);
}

.tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-badge {
  align-self: flex-start;
  font-size: 13px; font-weight: 700;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  padding: 5px 13px; border-radius: 999px;
  margin-top: -42px; position: relative; z-index: 2;
  box-shadow: 0 8px 22px -8px rgba(243, 182, 74, 0.7);
}
.tile-body h2 { font-size: clamp(26px, 3.4vw, 33px); font-weight: 600; }
.tile-sub { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.tile-cta {
  margin-top: 6px;
  font-weight: 700; font-size: 14.5px; color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.tile-cta .arr { transition: transform .3s ease; }
.tile:hover .tile-cta .arr { transform: translateX(6px); }

/* ---------- ghost / coming-soon ---------- */
.tile-ghost {
  min-height: 430px;
  background: transparent;
  border: 1.5px dashed rgba(243, 182, 74, 0.24);
  box-shadow: none;
  display: grid; place-items: center;
}
.tile-ghost:hover { transform: none; border-color: rgba(243, 182, 74, 0.24); box-shadow: none; }
.ghost-inner { text-align: center; color: var(--muted); }
.ghost-plus {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 182, 74, 0.3);
  font-size: 30px; font-weight: 300; color: var(--gold);
  font-family: var(--serif);
}
.ghost-inner p { font-size: 14px; line-height: 1.5; letter-spacing: 0.02em; }

/* ---------- footer ---------- */
.hub-foot { padding: 18px 0 60px; }
.hub-foot .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.hub-foot p { color: var(--muted); font-size: 13.5px; }
.hub-foot strong { color: var(--text); font-weight: 700; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .tile-media .ph { animation: none; opacity: 1; }
  .tile-media .ph:nth-child(2), .tile-media .ph:nth-child(3) { opacity: 0; }
  .tile, .tile-cta .arr { transition: none; }
}

@media (max-width: 560px) {
  .tile, .tile-ghost { min-height: 0; }
  .tile-ghost { padding: 44px 0; }
  .tile-media { height: 230px; }
}
