/* Sengkang Central Youth Network
   Idea: "the SKCYN Line". Our logo is a loop, like the Sengkang LRT.
   Every cluster is a coloured line and every event is a station on it.
   Colours: change these to restyle the whole site. */
:root {
  --ink: #101c3a;        /* deep navy: text, header, hero */
  --ink-2: #1b2b52;      /* lighter navy for lines on the hero */
  --paper: #ffffff;
  --sky: #eef3fa;        /* soft background bands */
  --sun: #ffc93c;        /* yellow: Join us and highlights */
  --red: #ee3344;
  --muted: #4d5b78;

  /* one colour per cluster (validated for colour-blind separation) */
  --c-sports: #2a78d6;
  --c-service: #eb6834;
  --c-sustainability: #1baf7a;
  --c-socialmedia: #eda100;
  --c-leadership: #e87ba4;
  --c-community: #008300;
  --c-lifestyle: #4a3aa7;
  --c-mentorship: #e34948;

  --radius-sm: 8px;
  --radius-lg: 24px;
  --display: "Anybody", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--c-leadership); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--display); margin: 0 0 .45em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 900; font-stretch: 112%; line-height: .95; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 850; font-stretch: 118%; line-height: 1; }
h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 105%; line-height: 1.15; margin-bottom: .3em; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-stretch: 110%; line-height: 1.05; font-size: .95rem; }
.brand-mark { width: 38px; height: 38px; flex: none; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
nav a { display: block; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
nav a:hover { background: rgba(255, 255, 255, .1); }
nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.nav-cta { background: var(--sun); color: var(--ink); margin-left: 6px; }
nav a.nav-cta:hover { background: #ffd666; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .brand { font-size: .85rem; }
  .nav-toggle {
    display: inline-block; font: 700 .95rem var(--body); color: var(--paper);
    background: none; border: 2px solid var(--paper); border-radius: 999px; padding: 7px 16px; cursor: pointer;
  }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 8px 16px 20px; border-top: 1px solid var(--ink-2); }
  .nav-open #site-nav { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  nav li a { padding: 12px 14px; font-size: 1.1rem; }
  .nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--body); padding: 15px 24px; border-radius: 999px; text-decoration: none;
  border: 3px solid var(--ink); cursor: pointer; background: transparent; color: var(--ink);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost:hover { background: var(--sky); }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd666; border-color: #ffd666; }
.btn-join {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  padding: 20px 44px; box-shadow: 0 6px 0 #c99a1c; transition: transform .12s ease, box-shadow .12s ease;
}
.btn-join:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #c99a1c; }
.btn-join:active { transform: translateY(4px); box-shadow: 0 2px 0 #c99a1c; }

/* ---------- Cluster chips (shared) ---------- */
.chip {
  --c: var(--ink);
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .85rem; line-height: 1;
  padding: 6px 11px 6px 8px; border-radius: 999px; background: var(--c); color: var(--ct, var(--paper)); white-space: nowrap;
}
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid rgba(0, 0, 0, .15); }
[data-cluster="sports"] { --c: var(--c-sports); --ct: var(--paper); }
[data-cluster="service"] { --c: var(--c-service); --ct: var(--ink); }
[data-cluster="sustainability"] { --c: var(--c-sustainability); --ct: var(--ink); }
[data-cluster="socialmedia"] { --c: var(--c-socialmedia); --ct: var(--ink); }
[data-cluster="leadership"] { --c: var(--c-leadership); --ct: var(--ink); }
[data-cluster="community"] { --c: var(--c-community); --ct: var(--paper); }
[data-cluster="lifestyle"] { --c: var(--c-lifestyle); --ct: var(--paper); }
[data-cluster="mentorship"] { --c: var(--c-mentorship); --ct: var(--paper); }

/* ---------- Social icons ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 8px 16px; border: 2px solid currentColor; border-radius: 999px; text-decoration: none; }
.social svg { width: 18px; height: 18px; flex: none; }
.social:hover { background: var(--sky); }
.socials-icons .social { width: 46px; height: 46px; padding: 0; justify-content: center; }
.social-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); }
.hero-lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke-width: 14; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.hero-lines .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.6, 0, .2, 1) .15s forwards; }
.hero-lines .draw:nth-child(2) { animation-delay: .35s; }
.hero-lines .draw:nth-child(3) { animation-delay: .55s; }
.hero-lines .draw:nth-child(4) { animation-delay: .75s; }
.hero-lines .draw:nth-child(5) { animation-delay: .95s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-lines .draw { animation: none; stroke-dashoffset: 0; } }

.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.hero h1 .accent { display: block; color: var(--sun); }
.hero .lede { color: #cfd9ec; max-width: 34ch; }
.hero-cta { margin-top: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta-note { margin: 0; color: #cfd9ec; font-size: .98rem; max-width: 22ch; }
.follow { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: 520px; }
.follow p { margin: 0; color: #9fb0d0; font-size: .92rem; }
.follow a { color: var(--paper); }
.socials-mini { gap: 4px; }
.socials-mini .social { width: 32px; height: 32px; padding: 0; justify-content: center; border: 0; color: #9fb0d0; }
.socials-mini .social svg { width: 16px; height: 16px; }
.socials-mini .social:hover { color: var(--sun); background: transparent; }

/* ---------- Photo carousel ---------- */
.carousel { position: relative; min-width: 0; }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.car-track::-webkit-scrollbar { display: none; }
.car-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 2;
  margin: 0; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2);
  cursor: zoom-in; text-align: left; font: inherit; color: var(--paper);
}
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(16, 28, 58, .92)); display: grid; gap: 6px; justify-items: start; }
.car-cap strong { font-family: var(--display); font-stretch: 110%; font-size: 1.25rem; line-height: 1.1; }
.car-cap small { font-size: .9rem; color: #d9e2f0; }
.car-tag { position: absolute; top: 14px; left: 14px; }
.car-bar { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.car-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font: 700 1.2rem/1 var(--body); cursor: pointer; }
.car-btn:hover { background: var(--sun); }
.car-dots { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; flex: 1; justify-content: center; }
.car-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s ease, background .3s ease; }
.car-dot[aria-current="true"] { width: 30px; background: var(--sun); }
.car-count { flex: 1; text-align: center; font-weight: 700; color: #cfd9ec; font-variant-numeric: tabular-nums; }
.car-count b { color: var(--sun); }
@media (prefers-reduced-motion: reduce) { .car-dot { transition: none; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-lines { display: none; }
  .hero { border-bottom: 12px solid var(--c-sustainability); box-shadow: 0 12px 0 var(--c-sports), 0 24px 0 var(--c-celebrations); margin-bottom: 24px; }
}

/* ---------- Home: pick your line ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.text-link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sub-head { font-size: 1.15rem; margin: 40px 0 16px; }
.line-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line-list a {
  display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 18px;
  text-decoration: none; padding: 16px 22px 16px 18px; border-radius: 999px; background: var(--paper);
  position: relative; transition: background .15s ease, color .15s ease;
}
.line-list strong { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 850; font-stretch: 115%; font-size: 1.2rem; }
.line-list strong::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 6px solid var(--c); flex: none; }
.line-list span { color: var(--muted); }
.line-list em { font-style: normal; font-weight: 700; white-space: nowrap; }
.line-list a:hover { background: var(--c); color: var(--ct, var(--paper)); }
.line-list a:hover span { color: inherit; opacity: .9; }
.line-list a:hover strong::before { border-color: var(--ct, var(--paper)); background: var(--c); }
@media (max-width: 720px) {
  .line-list a { grid-template-columns: 1fr auto; border-radius: var(--radius-lg); }
  .line-list span { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Next up ticket ---------- */
.next { padding: 0 0 clamp(48px, 7vw, 88px); }
.ticket { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--sun); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); transform: translateY(-50%); }
.ticket::before { left: -14px; } .ticket::after { right: -14px; }
.ticket-date { font-family: var(--display); font-weight: 900; font-stretch: 125%; line-height: .9; text-align: center; padding-right: 24px; border-right: 3px dashed rgba(16, 28, 58, .35); }
.ticket-date b { display: block; font-size: 3rem; }
.ticket-date span { font-size: 1.1rem; }
.ticket h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 8px 0 4px; }
.ticket p { margin: 0; }
@media (max-width: 720px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-date { border-right: 0; border-bottom: 3px dashed rgba(16, 28, 58, .35); padding: 0 0 14px; text-align: left; }
  .ticket-date b { display: inline; font-size: 2.2rem; margin-right: 8px; }
}

/* ---------- Inner page header ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero.no-ring::after { display: none; }
@media (max-width: 720px) { .page-hero::after { display: none; } }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -60px; bottom: -120px; width: 340px; height: 260px; border: 14px solid var(--accent, var(--sun)); border-radius: 999px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 16ch; }
.page-hero .lede { color: #cfd9ec; margin-bottom: 0; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-sky { background: var(--sky); }

/* ---------- Events roadmap ---------- */
.road-controls { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 28px; }
.years { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--ink-2); }
.years button {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 1.5rem; line-height: 1;
  padding: 12px 26px; border-radius: 999px; border: 0; background: transparent; color: #aab8d6; cursor: pointer;
}
.years button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.years button:hover:not([aria-pressed="true"]) { color: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  display: inline-flex; align-items: center; gap: 8px; font: 700 .92rem/1 var(--body); padding: 9px 14px; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .35); background: transparent; color: var(--paper); cursor: pointer;
}
.filters button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.filters button[data-cluster=""]::before { display: none; }
.filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.roadmap { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); }
.road-summary { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); margin-bottom: 8px; }
.road-summary b { color: var(--ink); }
.road-scroll { overflow-x: auto; padding: 8px 0 18px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.road {
  --gap: 150px;
  position: relative; list-style: none; margin: 0; padding: 0 40px; display: flex; min-width: max-content; height: 340px;
}
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; background: var(--ink); border-radius: 999px; }
.road .future-line { position: absolute; top: 50%; height: 12px; margin-top: -6px; right: 0; border-radius: 0 999px 999px 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 24px); }
.stop { position: relative; width: var(--gap); flex: none; }
.stop-btn {
  position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: var(--paper); border: 7px solid var(--c); padding: 0; cursor: pointer; z-index: 2;
  transition: transform .15s ease;
}
.stop-btn:hover, .stop-btn[aria-pressed="true"] { transform: scale(1.35); }
.stop-btn[aria-pressed="true"] { background: var(--c); box-shadow: 0 0 0 5px var(--paper), 0 0 0 8px var(--c); }
.stop-upcoming .stop-btn { border-style: dashed; }
.stop-label {
  position: absolute; left: 50%; width: 150px; margin-left: -75px; text-align: center; font-size: .86rem; line-height: 1.2; pointer-events: none;
}
.stop-label b { display: block; font-family: var(--display); font-stretch: 105%; font-size: .95rem; font-weight: 750; margin-bottom: 3px; }
.stop.lab-up .stop-label { bottom: calc(50% + 30px); }
.stop.lab-down .stop-label { top: calc(50% + 30px); }
.stop-label time { color: var(--muted); font-weight: 700; }
.stop-label::after { content: ""; position: absolute; left: 50%; width: 2px; height: 14px; background: var(--c, var(--ink)); opacity: .5; }
.stop.lab-up .stop-label::after { top: 100%; margin-top: 2px; }
.stop.lab-down .stop-label::after { bottom: 100%; margin-bottom: 2px; }
.stop.is-hidden { display: none; }
.stop.dim { opacity: .25; }
.today { position: absolute; top: 50%; transform: translate(-50%, -50%); z-index: 3; pointer-events: none; }
.today span { display: block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 5px 10px; border-radius: 999px; border: 3px solid var(--ink); white-space: nowrap; }

.stop-detail { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--sky); min-height: 280px; }
.stop-detail.no-photo { grid-template-columns: 1fr; }
.detail-photo { position: relative; background: var(--ink); }
.detail-photo button { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.detail-body { padding: clamp(22px, 3.5vw, 40px); border-left: 10px solid var(--c, var(--ink)); }
.no-photo .detail-body { border-left-width: 10px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 12px; color: var(--muted); font-weight: 700; }
.detail-body h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-stretch: 115%; font-weight: 850; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.detail-hint { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }

/* phones: the line runs down the page instead */
@media (max-width: 720px) {
  .road-scroll { overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .road { flex-direction: column; height: auto; min-width: 0; padding: 0 0 0 0; }
  .road::before { left: 13px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; margin: 0; }
  .road .future-line { display: none; }
  .stop { width: auto; min-height: 76px; padding: 10px 0 10px 54px; }
  .stop-btn { left: 18px; top: 26px; }
  .stop-label, .stop.lab-up .stop-label, .stop.lab-down .stop-label { position: static; width: auto; margin: 0; text-align: left; font-size: .95rem; }
  .stop-label::after { display: none; }
  .stop-label b { font-size: 1.05rem; }
  .today { position: relative; transform: none; top: auto; left: auto !important; margin: 4px 0 4px 2px; }
  .today span { display: inline-block; }
  .stop-detail { grid-template-columns: 1fr; }
  .detail-photo img { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- Photos section on Events ---------- */
.photos-band { background: var(--ink); color: var(--paper); padding: clamp(40px, 6vw, 72px) 0; }
.photos-band .car-slide { flex-basis: calc((100% - 28px) / 3); }
.photos-band .car-bar { max-width: 640px; margin-inline: auto; }
@media (max-width: 900px) { .photos-band .car-slide { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 560px) { .photos-band .car-slide { flex-basis: 88%; } }

/* ---------- Flea market page ---------- */
.flea-hero { --accent: var(--c-sustainability); }
.flea-hero h1 { color: var(--paper); }
.flea-hero .kicker-chip { margin-bottom: 18px; }
.flea-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.flea-hero .btn-light { color: var(--paper); border-color: rgba(255, 255, 255, .6); }
.flea-hero .btn-light:hover { background: rgba(255, 255, 255, .1); }
.btn-green { background: var(--c-sustainability); border-color: var(--c-sustainability); color: var(--paper); }
.btn-green:hover { background: #129a5b; border-color: #129a5b; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.facts div { background: var(--sky); border-radius: var(--radius-lg); padding: 22px; border-top: 8px solid var(--c-sustainability); }
.facts dt { font-family: var(--display); font-weight: 850; font-stretch: 115%; font-size: 1.15rem; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.flea-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .flea-split { grid-template-columns: 1fr; } }
.flea-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.flea-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.flea-photo figcaption { background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: .95rem; }
.dates { list-style: none; margin: 0; padding: 0 0 0 6px; position: relative; }
.dates::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 8px; border-radius: 999px; background: var(--c-sustainability); }
.dates li { position: relative; padding: 8px 0 8px 44px; }
.dates li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 7px solid var(--c-sustainability); box-sizing: border-box; }
.dates li.upcoming::before { border-style: dashed; }
.dates b { font-family: var(--display); font-stretch: 110%; font-size: 1.1rem; }
.dates span { display: block; color: var(--muted); font-size: .95rem; }
.dates .badge { display: inline-block; color: var(--ink); font-size: .75rem; }
.badge { display: inline-block; margin-left: 6px; vertical-align: 2px; font: 700 .75rem/1 var(--body); padding: 4px 8px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.vendor-box { margin-top: 28px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 36px); }
.vendor-box h3 { font-size: 1.6rem; font-stretch: 115%; }
.vendor-box p { color: #cfd9ec; }

/* ---------- About ---------- */
.partners { margin-top: 28px; color: var(--muted); }

/* ---------- Team ---------- */
.spotlight { margin: 0 0 36px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--sun); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); }
.spot-label { margin: 0 0 6px; font-weight: 700; }
.spotlight blockquote { margin: 0 0 12px; font-family: var(--display); font-stretch: 110%; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; line-height: 1.2; }
@media (max-width: 600px) { .spotlight { grid-template-columns: 1fr; } }
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 28px 20px; }
.member { text-align: center; }
.member h3 { font-size: 1.15rem; margin: 14px 0 2px; }
.member-role { margin: 0 auto; color: var(--muted); }
.avatar { border-radius: 50%; margin-inline: auto; object-fit: cover; }
.avatar.md { width: 120px; height: 120px; }
.avatar.lg { width: 150px; height: 150px; }
.avatar-initials, .avatar-plus { display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: 2.4rem; }
.avatar-initials { background: var(--ink); color: var(--sun); }
.avatar-cute { display: block; overflow: hidden; }
.avatar-cute svg { width: 100%; height: 100%; display: block; }
.avatar-plus { background: var(--paper); color: var(--ink); border: 3px dashed var(--ink); }
.member-join a { font-weight: 700; }
@media (max-width: 600px) {
  .members { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .avatar.md { width: 96px; height: 96px; }
  .avatar.lg { width: 110px; height: 110px; margin-inline: 0; }
}

/* ---------- FAQ ---------- */
.faq details { border-bottom: 2px solid #dbe3ee; }
.faq details:first-of-type { border-top: 2px solid #dbe3ee; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font: 700 1.4rem/1 var(--body); }
.faq details[open] summary::after { content: "−"; background: var(--sun); }
.faq details > div { padding-bottom: 14px; color: var(--muted); }
.faq ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq li { margin-bottom: .35em; }
.age { display: inline-block; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 1.6rem; color: var(--ink); background: var(--sun); padding: 2px 12px; border-radius: 10px; margin: 2px 0 10px; }
.source { font-size: .9rem; }

/* ---------- Join band ---------- */
.join-band { padding: 0 0 clamp(48px, 7vw, 88px); }
.join-box { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr auto; gap: 24px 40px; align-items: center; }
.join-box p { color: #cfd9ec; margin: 0; }
@media (max-width: 760px) { .join-box { grid-template-columns: 1fr; } .join-box .btn-join { justify-self: start; } }

/* ---------- Empty states ---------- */
.empty-note { border: 2px dashed #b8c6d8; border-radius: var(--radius-lg); padding: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.empty-note p { margin: 0; font-weight: 700; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); }
.lightbox::backdrop { background: rgba(16, 28, 58, .9); }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox p { color: var(--paper); text-align: center; margin: 12px auto 0; }
.lb-close { position: absolute; top: 4px; right: 8px; font-size: 2.2rem; line-height: 1; background: none; border: 0; color: var(--paper); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd9ec; padding: 40px 0; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--display); font-weight: 850; font-stretch: 115%; color: var(--paper); font-size: 1.1rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-nav a { font-weight: 700; color: var(--paper); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-follow p { margin: 0 0 4px; font-size: .9rem; }
.site-footer .privacy { margin-top: 10px; font-size: .82rem; color: #8797b8; }
.footer-follow .socials { margin-left: -8px; }

/* ---------- Form fields (admin portal) ---------- */
label, legend { font-weight: 700; font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: 1rem/1.4 var(--body); color: var(--ink);
  background: var(--paper); border: 2px solid #b8c6d8; border-radius: var(--radius-sm); padding: 12px 14px;
}
input:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--sun); }
textarea { resize: vertical; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-weight: 400; font-size: .95rem; color: var(--muted); align-items: start; }
.consent input { margin-top: 3px; }

/* ---------- Home: why youths stay ---------- */
.pitch-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pitch-intro { position: sticky; top: 100px; }
.pitch-intro p { color: var(--muted); font-size: 1.1rem; }
.pitch-intro .btn { margin-top: 8px; }
.reasons { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.reasons::before { content: ""; position: absolute; left: 13px; top: 24px; bottom: 24px; width: 8px; border-radius: 999px; background: var(--sky); }
.reason { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 20px; align-items: center; padding: 6px 0 6px 52px; }
.reason::before { content: ""; position: absolute; left: 3px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--paper); border: 7px solid var(--c, var(--ink)); box-sizing: border-box; }
.reason h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-stretch: 112%; font-weight: 850; }
.reason p { color: var(--muted); margin-bottom: 10px; }
.reason-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .92rem; font-weight: 700; text-decoration: none; }
.reason-link span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.reason-photo { width: 168px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
@media (max-width: 900px) {
  .pitch-grid { grid-template-columns: 1fr; }
  .pitch-intro { position: static; }
}
@media (max-width: 560px) {
  .reason { grid-template-columns: 1fr; }
  .reason-photo { width: 100%; grid-row: 1; }
  .reason::before { top: 28px; margin-top: 0; }
}

/* ---------- Home: what's on ---------- */
.recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.recent-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; background: var(--sky); border-bottom: 8px solid var(--c, var(--ink)); }
.recent-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.recent-body { display: grid; gap: 6px; justify-items: start; padding: 16px 18px 18px; }
.recent-body strong { font-family: var(--display); font-stretch: 110%; font-size: 1.15rem; line-height: 1.15; }
.recent-body small { color: var(--muted); font-size: .92rem; }
.recent-card:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .recent { grid-template-columns: 1fr; } .recent-card { flex-direction: row; } .recent-card img { width: 38%; aspect-ratio: auto; min-height: 120px; } }
.next { padding: 0; }

/* ---------- Home: how to join ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.steps li { counter-increment: step; background: var(--paper); border-radius: var(--radius-lg); padding: 26px 24px 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--ink); color: var(--sun); font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 1.3rem; }
.steps li:last-child::before { background: var(--sun); color: var(--ink); }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.about-grid p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--c-sustainability); box-sizing: border-box; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Team groups ---------- */
.team-groups { display: grid; gap: clamp(36px, 5vw, 56px); }
.team-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 3px solid var(--sky); }
.team-group-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.team-group-head span { color: var(--muted); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.team-lead .member { text-align: center; }
.members-compact { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.members-compact .member { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; background: var(--sky); border-radius: 16px; padding: 10px 14px 10px 10px; }
.members-compact .member h3 { font-size: 1rem; margin: 0; line-height: 1.2; }
.members-compact .member-role { margin: 2px 0 0; font-size: .88rem; }
.avatar.sm { width: 56px; height: 56px; font-size: 1.15rem; margin: 0; }
.team-join { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); }
.team-join p { margin: 0; font-family: var(--display); font-weight: 850; font-stretch: 115%; font-size: 1.4rem; }
@media (max-width: 600px) { .members-compact { grid-template-columns: 1fr; } }
