@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Open+Sans:wght@400;600&display=swap");

:root {
  --ink: #212121;
  --muted: #5f6368;
  --band: #eeeeee;
  --nav-bg: rgba(0, 0, 0, 0.35);
  --nav-solid: #1b1f3b;
  --accent: #ff6b9a;
  --navy: #1b1f3b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.6 "Open Sans", system-ui, sans-serif;
}

a { color: inherit; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0));
  transition: background .25s;
}
.site-header.scrolled { background: var(--nav-solid); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 18px "Oswald", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 32px; height: 32px; border-radius: 6px; }

.nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  list-style: none;
  margin-block: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
  opacity: .9;
}
.nav a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.nav a[aria-current="page"] { background: #000; opacity: 1; }

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    height: 48px;
    padding: 0 18px 0 14px;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 999px;
    background: rgba(0,0,0,.25);
    font: 500 20px/1 "Oswald", sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .menu-icon { font-size: 26px; line-height: 1; }
  .site-header { height: 72px; }
  .brand { position: relative; z-index: 2; }

  /* Full-screen menu with stacked link buttons. */
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    margin: 0;
    height: 100dvh;
    padding: 84px 24px 24px;
    flex-direction: column;
    justify-content: center;
    gap: clamp(8px, 1.4dvh, 12px);
    overflow-y: auto;
    background:
      radial-gradient(circle at 20% 15%, rgba(246,65,108,.35), transparent 50%),
      radial-gradient(circle at 85% 85%, rgba(142,197,252,.3), transparent 50%),
      var(--nav-solid);
  }
  .nav.open { display: flex; }
  .nav li { width: 100%; max-width: 420px; margin: 0 auto; }
  .nav a,
  .nav a:hover {
    padding: clamp(9px, 1.6dvh, 14px) 20px;
    border: 2px solid rgba(255,255,255,.85);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    font: 500 clamp(16px, 2.4dvh, 20px)/1.2 "Oswald", sans-serif;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    opacity: 1;
  }
  .nav a:active { background: #fff; color: var(--nav-solid); }
  .nav a[aria-current="page"] { background: #fff; color: var(--nav-solid); border-color: #fff; }
  .site-header.menu-open { background: transparent; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 96px 16px 64px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 30% 30%, #ff9a8b 0, transparent 45%),
    radial-gradient(circle at 75% 25%, #8ec5fc 0, transparent 40%),
    radial-gradient(circle at 60% 80%, #e0c3fc 0, transparent 45%),
    radial-gradient(circle at 20% 85%, #f6416c 0, transparent 40%),
    #6a5acd;
  background-size: cover;
  background-position: center;
}
.hero.home { min-height: 100vh; }
.hero.home::before { display: none; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.25);
}
.hero > * { position: relative; }
.hero h1 {
  margin: 0;
  font: 700 clamp(44px, 9vw, 96px)/1 "Oswald", sans-serif;
  letter-spacing: .02em;
  text-transform: capitalize;
}
.hero .mark { width: min(56vw, 360px); }
.hero .wordmark {
  margin-top: 8px;
  font: 700 clamp(48px, 10vw, 104px)/.95 "Oswald", sans-serif;
  text-transform: uppercase;
}
.scroll-cue {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  text-decoration: none;
  opacity: .8;
}

/* ---------- Content sections ---------- */
.section { padding: 48px 16px; }
.section.band { background: var(--band); }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap.narrow { max-width: 820px; }

.lead {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
}

h2, h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  line-height: 1.2;
}
h2 { font-size: 34px; margin: 0 0 16px; }
h3 { font-size: 24px; margin: 32px 0 8px; }

/* ---------- Photo grids ---------- */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
}
.grid.two { --cols: 2; }
.grid.one { --cols: 1; }
@media (max-width: 700px) { .grid { --cols: 1 !important; } }

.photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(135deg, #8ec5fc, #e0c3fc 50%, #ff9a8b);
}
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}

/* ---------- Event list ---------- */
.events { display: grid; gap: 4px 32px; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .events { grid-template-columns: 1fr; } }
.event h3 { margin-top: 24px; font-size: 21px; }
.event p { margin: 0; color: var(--muted); }

.pill-list { padding-left: 20px; }
.pill-list li { margin: 4px 0; }

.principles { display: grid; gap: 8px 32px; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }
.principles h3 { margin-top: 20px; }
.principles p { margin: 0; }

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font: 500 20px "Oswald", sans-serif;
  text-decoration: none;
  letter-spacing: .03em;
}
.button:hover { background: #2c3366; }

.doc-embed {
  width: 100%;
  height: 80vh;
  border: 1px solid #ddd;
  background: #fff;
}

/* ---------- Footer tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr; }
.tile {
  display: grid;
  place-items: center;
  min-height: 240px;
  color: #fff;
  text-decoration: none;
  font: 700 clamp(36px, 6vw, 64px) "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.tile::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.35);
  transition: background .2s;
}
.tile:hover::before { background: rgba(0,0,0,.15); }
.tile.music      { background-image: url(assets/hero-music.jpg); }
.tile.activities { background-image: url(assets/hero-activities.jpg); }
.tile.lnt        { background-image: url(assets/hero-lnt.jpg); }
.tile.instagram  { background-image: url(assets/tile-instagram.jpg); }
.tile.join       { background-image: url(assets/hero-join.jpg); }

.site-footer {
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Posters and maps show in full rather than cropped. */
.photo.poster { aspect-ratio: auto; background: none; max-width: 900px; margin: 0 auto; }
.photo.poster img { height: auto; object-fit: contain; }

/* SoundCloud players on the Music page. */
.tracks { display: grid; gap: 24px; margin-top: 24px; }
.track h3 { margin: 0 0 8px; font-size: 20px; }
.track iframe { display: block; width: 100%; height: 166px; border: 0; }
.player { position: relative; }

/* iPhone/iPad: our own control laid over SoundCloud's "Play on SoundCloud" screen. */
.sc-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: var(--navy);
  color: #fff;
}
.sc-play {
  flex: none;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.sc-info { flex: 1; min-width: 0; }
.sc-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.sc-bar span { display: block; width: 0; height: 100%; background: var(--accent); }
.sc-time { margin-top: 8px; font-size: 14px; opacity: .85; }

/* ---------- Gallery (stories) ---------- */
.gallery-hint { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.play-all { margin-top: 20px; border: 0; cursor: pointer; }

.story-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (max-width: 520px) { .story-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } }
.story-tile {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 6px;
  background: var(--band);
}
.story-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.story-tile:hover img { transform: scale(1.04); }
.story-tile.is-video::after {
  content: "▶";
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
}

/* Full-screen viewer */
.stories {
  position: fixed;
  inset: 0;
  z-index: 60;
  height: 100dvh;
  background: #000;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.stories[hidden] { display: none; }
.st-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.st-stage img,
.st-stage video { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.stories:not(.is-video) .st-video,
.stories.is-video .st-img { display: none; }
@media (min-width: 761px) {
  .st-stage { left: 50%; right: auto; width: min(100vw, 56.25dvh); transform: translateX(-50%); }
}

.st-bars {
  position: absolute;
  z-index: 3;
  top: max(10px, env(safe-area-inset-top));
  left: 10px;
  right: 10px;
  display: flex;
  gap: 3px;
}
.st-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.st-bars i { display: block; height: 100%; width: 0; background: #fff; }

.st-top {
  position: absolute;
  z-index: 3;
  top: calc(max(10px, env(safe-area-inset-top)) + 12px);
  left: 12px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.st-count { margin-right: auto; font-size: 13px; opacity: .9; }
.st-top button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.st-prev,
.st-next {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}
.st-prev { left: 0; width: 33%; }
.st-next { right: 0; width: 67%; }
.stories.is-paused .st-bars,
.stories.is-paused .st-top { opacity: 0; transition: opacity .2s; }

.st-loading {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: st-spin .8s linear infinite;
}
.st-loading[hidden] { display: none; }
@keyframes st-spin { to { transform: rotate(360deg); } }
