* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:#071a33; --navy2:#0e2a4f; --gold:#ffb323; --cream:#fff8ec;
  --ink:#2b2118; --muted:#7a6a56; --radius:18px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, Arial, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; }
.hub-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 5vw; max-width: 1180px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 900; letter-spacing: .02em; }
.brand-logo { height: 46px; width: auto; padding: 4px 10px; border-radius: 10px; background: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; padding: 6px 10px; border-radius: 999px; font: 600 .82rem inherit; cursor: pointer; }
.lang-switch i { display: block; width: 26px; height: 14px; border-radius: 999px; background: var(--gold); position: relative; }
.lang-switch i::after { content: ''; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.hub-copy { padding: 36px 5vw 52px; max-width: 1180px; margin: 0 auto; }
.hub-copy h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; margin-bottom: 14px; max-width: 640px; }
.hub-copy .lead { max-width: 560px; color: #d9e4f2; font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }

/* ---------- events grid: exact square thumbs ---------- */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; max-width: 1180px; margin: 0 auto; padding: 40px 5vw 72px; }
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(20,16,10,.09); display: flex; flex-direction: column; transition: transform .15s ease; }
.event-card:hover { transform: translateY(-4px); }
.card-media { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; text-decoration: none; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; align-items: flex-start; }
.tag { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); background: rgba(255,179,35,.14); padding: 4px 9px; border-radius: 999px; }
h2 { font-size: 1.28rem; line-height: 1.2; }
.card-date { color: var(--muted); font-weight: 700; font-size: .9rem; }
.card-copy { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 0 20px; margin-top: auto; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.button:hover { background: var(--navy2); }
.button.small { min-height: 40px; padding: 0 14px; font-size: .83rem; }
@media (max-width: 480px) { .nav-actions .button.small { display: none; } }
footer { text-align: center; padding: 26px 5vw 40px; color: var(--muted); font-size: .9rem; }

/* ================= event tiles (exact squares, pure CSS) ================= */
.tile { position: absolute; inset: 0; overflow: hidden; }

/* -- movienights -- */
.t-movie { background: linear-gradient(165deg, #061326 0%, var(--navy) 55%, #173a57 100%); }
.t-movie .star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .9; }
.t-movie .star.s1 { top: 14%; left: 16%; box-shadow: 0 0 10px #fff; }
.t-movie .star.s2 { top: 22%; right: 18%; width: 3px; height: 3px; opacity: .7; }
.t-movie .star.s3 { bottom: 40%; left: 12%; width: 3px; height: 3px; opacity: .6; }
.t-movie .screen { position: absolute; left: 50%; top: 24%; transform: translateX(-50%) rotate(-3deg); width: 62%; aspect-ratio: 16/9; border: 5px solid #4b2c1f; border-radius: 6px; background: linear-gradient(150deg, #fff9d8, #ffd878); box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 36px rgba(255,179,35,.35); }
.t-movie .bucket { position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%); width: 40%; height: 26%; border-radius: 18px 18px 6px 6px; background: var(--gold); box-shadow: 0 14px 0 #c22f0e; }
.t-movie .bucket::after { content: ''; position: absolute; left: 8%; right: 8%; top: -14px; height: 14px; border-radius: 999px; background: #ffb323; box-shadow: 0 0 16px rgba(255,179,35,.8); }

/* -- datenightt -- */
.t-night { background: linear-gradient(165deg, #0a1626 0%, #12233f 55%, #1d3a63 100%); }
.t-night .moon { position: absolute; top: 13%; right: 14%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff7d6, #ffd166 80%); box-shadow: 0 0 30px rgba(255,209,102,.6); }
.t-night .ns { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.t-night .ns.g1 { top: 20%; left: 16%; box-shadow: 0 0 10px #fff; }
.t-night .ns.g2 { top: 34%; left: 46%; width: 3px; height: 3px; opacity: .75; }
.t-night .ns.g3 { top: 12%; left: 34%; width: 3px; height: 3px; opacity: .65; box-shadow: 0 0 8px #fff; }
.t-night .mini-pass { position: absolute; left: 50%; bottom: 15%; transform: translateX(-50%); width: 74%; background: #fff; color: var(--navy); border-radius: 12px; padding: 16px 16px 14px; border-top: 5px solid #ff6b54; box-shadow: 0 20px 40px rgba(4,10,20,.55); }
.t-night .mini-pass span { display: block; font-size: .62rem; font-weight: 900; letter-spacing: .18em; color: #ff6b54; margin-bottom: 8px; }
.t-night .mini-pass b { font-size: 1.3rem; font-family: Georgia, serif; }
.t-night .mini-pass::after { content: ''; display: block; height: 2px; margin-top: 10px; background: repeating-linear-gradient(90deg, #ff6b54 0 8px, transparent 8px 15px); opacity: .5; }

/* -- grandays -- */
.t-grand { background: linear-gradient(180deg, #fdf3dd 0%, #fcf3e2 60%, #f5e9cc 100%); }
.t-grand .gweave { position: absolute; left: 6%; right: 6%; height: 11px; border-radius: 999px; background: repeating-linear-gradient(90deg, #2f5284 0 10px, #fdf5e7 10px 17px, #e6b13f 17px 27px, #fdf5e7 27px 34px, #e76f51 34px 44px, #fdf5e7 44px 51px); }
.t-grand .gweave.top { top: 12%; }
.t-grand .gweave.bottom { bottom: 12%; }
.t-grand .grand-ring { position: absolute; border-radius: 50%; }
.t-grand .grand-ring.big { width: 40%; aspect-ratio: 1; left: 12%; top: 34%; background: linear-gradient(150deg, #8fb0e2, #5b80bb); box-shadow: inset 0 -12% 0 rgba(0,0,0,.12); }
.t-grand .grand-ring.sm { width: 29%; aspect-ratio: 1; right: 14%; bottom: 26%; background: radial-gradient(circle at 34% 30%, #ffd98a, #e6b13f); box-shadow: inset 0 -8% 0 rgba(0,0,0,.1); }
.t-grand .gheart { position: absolute; right: 24%; top: 24%; width: 17px; height: 17px; background: #e76f51; transform: rotate(45deg); border-radius: 3px; }
.t-grand .gheart::before, .t-grand .gheart::after { content: ''; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #e76f51; }
.t-grand .gheart::before { left: -8px; top: 0; }
.t-grand .gheart::after { top: -8px; left: 0; }

/* -- psvpicnic -- */
.t-psv { background: linear-gradient(160deg, #14180c 0%, #222a12 60%, #3a451f 100%); }
.t-psv .pflag { position: absolute; top: 12%; width: 22%; height: 13%; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.t-psv .pflag.r { background: #d94f2b; }
.t-psv .pflag.y { background: #e9b11f; }
.t-psv .pflag.r:nth-child(1), .t-psv .pflag.r:nth-child(3) { }
.t-psv .pflag:nth-child(1) { left: 8%; }
.t-psv .pflag:nth-child(2) { left: 39%; }
.t-psv .pflag:nth-child(3) { right: 8%; }
.t-psv .pbig { position: absolute; left: 50%; top: 34%; transform: translateX(-50%) rotate(-2.5deg); width: 68%; background: #e9b11f; color: #241e08; text-align: center; border-radius: 8px; padding: 14px 0; font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 900; letter-spacing: .02em; box-shadow: 0 16px 34px rgba(8,10,4,.5); }
.t-psv .pblanket { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%) rotate(-3deg); width: 72%; height: 24%; background: repeating-conic-gradient(#f7f3e2 0 25%, #d94f2b 0 50%) 0 0/20px 20px; border-radius: 8px; box-shadow: 0 16px 30px rgba(8,10,4,.45); }

/* -- ptconferences -- */
.t-ptc { background: linear-gradient(180deg, #fffaf0 0%, #f6f1e6 70%, #efe8d8 100%); }
.t-ptc .pboard { position: absolute; top: 14%; left: 50%; transform: translateX(-50%) rotate(-1.5deg); background: #e87050; color: #fff; font-size: .66rem; font-weight: 900; letter-spacing: .16em; border-radius: 6px; padding: 8px 14px; box-shadow: 0 10px 22px rgba(22,52,79,.2); white-space: nowrap; }
.t-ptc .pcslots { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); width: 72%; background: #fff; border-radius: 12px; padding: 16px 14px; border-top: 5px solid #f2a93b; box-shadow: 0 22px 44px rgba(22,52,79,.16); display: grid; gap: 9px; }
.t-ptc .pcslots i { font-style: normal; display: block; font-weight: 800; font-size: .82rem; border-bottom: 1px solid rgba(22,52,79,.14); padding-bottom: 9px; color: #16344f; }
.t-ptc .pcslots i.on { color: #6d8f6e; }
.t-ptc .pcnote { position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%); width: 46%; height: 9%; background: #9fb59a; border-radius: 999px; opacity: .55; }

/* -- popsicle -- */
.t-pop { background: linear-gradient(180deg, #fff4dd 0%, #fff8ee 60%, #f6edda 100%); }
.t-pop .popsun { position: absolute; top: 13%; right: 13%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff6d6, #ffd94f 80%); box-shadow: 0 0 32px rgba(255,217,79,.5); }
.t-pop .ppop { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-6deg); width: 30%; filter: drop-shadow(0 20px 22px rgba(89,48,56,.22)); }
.t-pop .ppop .b1 { display: block; height: 34%; border-radius: 26px 26px 0 0; background: #ff6f91; }
.t-pop .ppop .b2 { display: block; height: 34%; background: #8fd6b9; }
.t-pop .ppop .b3 { display: block; height: 34%; border-radius: 0 0 24px 24px; background: #ffd94f; }
.t-pop .ppop .stick { display: block; width: 28%; margin: 0 auto; padding-top: 42%; background: linear-gradient(90deg, #eacf9f, #cfa879 55%, #eacf9f); border-radius: 0 0 10px 10px; }

@media (min-width: 900px) { .events { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hub-copy h1 { font-size: 1.7rem; }
  .events { padding: 28px 16px 56px; }
  .card-body { padding: 16px 16px 18px; }
}