:root {
  --ink: #1f2430;
  --muted: #555c6b;
  --paper: #fffdf7;
  --sky: #e8f4ff;
  --line: #e6dfcf;
  --red: #c62828; --orange: #d84315; --gold: #8a6d00; --green: #2e7d32; --blue: #1565c0; --purple: #6a1b9a;
  --pink: #b8285c;
  --radius: 18px;
  font-size: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; border-radius: 12px; }
a { color: var(--blue); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 10px; z-index: 9; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
h3 { margin: .4rem 0 .2rem; font-size: 1.1rem; }
.muted { color: var(--muted); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky), var(--paper)); padding: 28px 0 8px; border-bottom: 1px solid var(--line); }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rainbow { font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 1; margin: 0; font-weight: 900; letter-spacing: .02em; }
.rainbow span:nth-child(7n+1) { color: var(--red); }
.rainbow span:nth-child(7n+2) { color: var(--orange); }
.rainbow span:nth-child(7n+3) { color: var(--gold); }
.rainbow span:nth-child(7n+4) { color: var(--green); }
.rainbow span:nth-child(7n+5) { color: var(--blue); }
.rainbow span:nth-child(7n+6) { color: var(--purple); }
.rainbow span:nth-child(7n+7) { color: var(--pink); }
.sub { font-size: 1.3rem; font-weight: 700; margin: .4rem 0 0; }
.welcome { font-size: 1.15rem; margin: .2rem 0 0; }
.bear { width: min(34vw, 190px); flex: none; }
.facts { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.facts li { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.facts strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts small { color: var(--muted); font-size: .9rem; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* Next session */
.next { margin-top: 24px; }
.next-card { background: var(--green); color: #fff; border-radius: var(--radius); padding: 18px 22px; }
.next-card.off { background: #8a3b12; }
.next-card.is-event { background: var(--purple); }
.next-card .event-title { font-size: 1.35rem; font-weight: 800; margin: .4rem 0 0; }
.next-card .buttons { margin-top: 12px; }
.next-card .btn.alt { background: transparent; color: #fff; border-color: #fff; }
.next-card .note { margin: .8rem 0 0; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.35); font-size: 1rem; }
.next-card h2 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; opacity: .95; }
.next-date { font-size: 1.6rem; font-weight: 800; margin: .2rem 0 0; }
.next-card .reason { margin: .3rem 0 0; font-size: 1.05rem; }
.next-card .theme { margin: .7rem 0 0; padding: 8px 12px; background: rgba(255,255,255,.16); border-radius: 10px; font-size: 1.1rem; }
#next-notes p { margin: .6rem 0 0; padding: 10px 14px; background: #fff4e5; border-left: 5px solid var(--orange); border-radius: 8px; }

/* Events & news */
.event, .post { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.datebox { background: var(--purple); color: #fff; border-radius: 14px; text-align: center; padding: 8px 4px; line-height: 1.1; }
.datebox .d { font-size: 1.7rem; font-weight: 900; display: block; }
.datebox .m { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.event h3 { margin-top: 0; }
.event .meta { color: var(--muted); margin: 0; }
.event p { margin: .3rem 0; }
.post time { color: var(--muted); font-size: .9rem; }
.post h3 { margin-top: .2rem; }
.post img { margin-top: 8px; max-height: 360px; object-fit: cover; }
.cal-link { margin-top: 12px; }

/* Tiles */
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.tile { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.tile span { font-size: 2rem; }
.tile p { margin: .2rem 0 0; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; padding: 14px 20px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; min-height: 48px; }
.btn.alt { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn.fb { background: #1b4fa0; }
.btn.pay { background: var(--pink); }
.btn:hover { filter: brightness(1.08); }

footer { margin-top: 48px; padding: 20px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
