/* skigoody brand stylesheet
   Palette: Bluebird Day (see ../../../../BRIEF.md). Mobile-first.

   Contrast notes (WCAG 2.2 AA, measured):
   - white on cobalt 9.27:1, yellow on cobalt 6.42:1, sky on cobalt 4.95:1
   - cobalt on tint 8.43:1, muted on white 8.26:1, muted on tint 7.51:1
   - accent-on-light on white 4.52:1 (passes, barely). On tint it is 4.11:1,
     so use it on tint ONLY for large text (24px+, or 18.66px+ bold).
   - yellow on white is 1.44:1: NEVER use yellow text on white or tint.
*/

:root {
  /* Palette */
  --cobalt: #1B3FA0;
  --yellow: #FFD23F;
  --sky: #7CC6F2;
  --white: #FFFFFF;
  --accent-on-light: #876100;
  --tint: #EEF5FB;
  --muted: #3F4F6B;

  /* Derived (not in the palette): long-form body text and hairlines */
  --ink: #102457;        /* 14.87:1 on white */
  --line: #C6D5E6;       /* decorative borders only */
  --cobalt-hover: #163486;

  /* Type */
  --font-display: "Rubik", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape and rhythm */
  --radius: 1rem;
  --radius-pill: 999px;
  --gutter: 1rem;
  --max: 68rem;
  --max-narrow: 44rem;
  --tap: 48px;           /* comfortably above the 24px WCAG 2.2 target minimum */
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cobalt);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 8vw, 3rem); }
h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--cobalt); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--cobalt-hover); text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--yellow); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  background: var(--yellow);
  color: var(--cobalt);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}
.skip-link:focus { top: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--max-narrow); }

/* ---------- Wordmark ---------- */

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .ski { color: var(--white); }
.wordmark .goody { color: var(--yellow); }
/* On light backgrounds: cobalt + accent-on-light (never yellow on white) */
.wordmark--on-light .ski { color: var(--cobalt); }
.wordmark--on-light .goody { color: var(--accent-on-light); }

/* ---------- Header and nav ---------- */

.site-header { background: var(--cobalt); color: var(--white); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.625rem;
}
.site-header .wordmark {
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem;
  list-style: none;
  margin: 0 0 0 -0.45rem;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.45rem;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.site-nav a[aria-current="page"] { background: var(--yellow); color: var(--cobalt); }

/* ---------- Hero / link-in-bio ---------- */

.hero {
  background: var(--cobalt);
  color: var(--white);
  text-align: center;
  padding-block: 2rem 2.75rem;
}
.hero .wordmark { font-size: clamp(3.25rem, 17vw, 6rem); display: block; }
.hero h1 { color: var(--white); margin: 0; }
.hero .tagline {
  font-size: 1.1875rem;
  font-weight: 600;
  max-width: 30ch;
  margin: 1rem auto 0;
}
.hero .subline { color: var(--sky); margin: 0.5rem auto 0; max-width: 36ch; }

.patch { width: 8.5rem; margin: 0 auto 1.25rem; }
.patch { display: block; height: auto; }

.link-stack {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem auto 0;
  max-width: 26rem;
}

.page-hero {
  background: var(--cobalt);
  color: var(--white);
  padding-block: 2rem 2.25rem;
}
.page-hero h1 { color: var(--white); }
.page-hero p { max-width: 42rem; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--sky); }

/* ---------- Event-first preview ---------- */

.event-hero { background: var(--cobalt); color: var(--white); }
.event-hero__grid { display: grid; gap: 0; }
.event-hero__copy { padding-block: 3.25rem 3rem; }
.event-hero .eyebrow { color: var(--sky); margin-bottom: 1.2rem; }
.event-hero h1 { color: var(--white); font-size: clamp(2.8rem, 7vw, 5.35rem); line-height: 1.03; letter-spacing: -0.045em; max-width: 12ch; margin-bottom: 1.5rem; }
.event-hero h1 span { color: var(--yellow); }
.event-hero__copy > p:not(.event-hero__note) { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 32rem; line-height: 1.45; }
.event-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.event-hero__actions .btn { display: inline-flex; }
.event-hero__note { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sky); margin: 2.3rem 0 0; }
.event-hero__photo { position: relative; min-height: 23rem; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; }
.event-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.event-hero__photo figcaption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; width: fit-content; max-width: calc(100% - 2rem); padding: .45rem .7rem; background: rgba(13, 31, 71, .86); color: var(--white); font-size: .75rem; border-radius: .4rem; }
.event-hero__photo a { color: var(--white); }
.event-hero :focus-visible, .event-section--dark :focus-visible { outline-color: var(--yellow); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--cobalt); font-weight: 800; text-decoration-thickness: .09em; }
.text-link--light, .text-link--light:hover { color: var(--white); }
.event-section { padding-block: 3.5rem; }
.event-section--tint { background: var(--tint); }
.event-section--dark { background: var(--ink); color: var(--white); }
.event-section--dark h2 { color: var(--white); }
.event-section--dark .eyebrow { color: var(--sky); }
.experience-section { background: var(--white); }
.experience-grid { display: grid; gap: 1rem; }
.experience-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 18rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--tint); }
.experience-card__number { color: var(--cobalt); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.experience-card h3 { font-size: 1.65rem; margin: 1.2rem 0 .6rem; }
.experience-card p { color: var(--muted); flex: 1; }
.event-section__head { display: flex; flex-direction: column; gap: .4rem 2rem; margin-bottom: 1.8rem; }
.event-section__head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.event-section__head p { max-width: 34rem; color: var(--muted); margin: .5rem 0 0; }
.event-list { border-top: 1px solid var(--line); }
.event-item { display: grid; gap: 1rem; padding-block: 1.8rem; border-bottom: 1px solid var(--line); }
.event-item__date { display: flex; align-items: baseline; gap: .45rem; color: var(--cobalt); font-weight: 800; line-height: 1; }
.event-item__date strong { font: 800 2rem/1 var(--font-display); letter-spacing: -.04em; }
.event-item__date span { font-size: .75rem; letter-spacing: .09em; }
.event-item__topline { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; margin-bottom: .6rem; }
.event-tag { background: var(--tint); color: var(--cobalt); border-radius: 999px; padding: .2rem .65rem; text-transform: uppercase; letter-spacing: .07em; font-size: .7rem; font-weight: 800; }
.event-status, .shop-card__label { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.event-item h3 { font-size: clamp(1.45rem, 3vw, 1.8rem); letter-spacing: -.025em; margin: 0 0 .3rem; }
.event-item__place { font-weight: 700; margin-bottom: .75rem; }
.event-item__body > p:not(.event-item__place) { color: var(--muted); max-width: 43rem; margin-bottom: .5rem; }
.event-source-note { color: var(--muted); font-size: .82rem; margin: 1.2rem 0 0; }
.event-data-status { color: var(--muted); font-size: .78rem; margin: 0 0 1rem; }
.event-data-status:empty { display: none; }
.event-empty { color: var(--muted); padding-block: 1.5rem; }
.shop-grid { display: grid; gap: 1rem; }
.shop-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: .75rem; }
.shop-card h3 { font-size: 1.55rem; margin: .75rem 0 .5rem; }
.shop-card p { color: var(--muted); flex: 1; }
.event-guide { display: grid; gap: 1.5rem 3rem; }
.event-guide h2 { max-width: 18ch; font-size: clamp(2rem, 4.5vw, 3.3rem); letter-spacing: -.035em; }
.event-guide p { color: #e0eaf6; max-width: 37rem; }
@media (min-width: 48rem) {
  .event-hero__grid { grid-template-columns: 1.1fr .9fr; min-height: 37rem; }
  .event-hero__copy { align-self: center; padding: 4rem 2rem 4rem 0; }
  .event-hero__photo { min-height: 37rem; margin: 0 calc(-1 * var(--gutter)) 0 0; }
  .event-section { padding-block: 5rem; }
  .event-section__head { flex-direction: row; align-items: end; justify-content: space-between; }
  .event-section__head p { max-width: 23rem; }
  .event-item { grid-template-columns: 11rem 1fr; gap: 2rem; }
  .event-item__date { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding-top: .2rem; }
  .event-item__date strong { font-size: 2.5rem; }
  .shop-grid, .event-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: 600 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn--yellow { background: var(--yellow); color: var(--cobalt); }
.btn--yellow:hover { background: var(--white); color: var(--cobalt); }
.btn--outline-dark { background: transparent; color: var(--white); border-color: var(--sky); }
.btn--outline-dark:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--cobalt { background: var(--cobalt); color: var(--white); }
.btn--cobalt:hover { background: var(--cobalt-hover); color: var(--white); }
.btn--outline { background: var(--white); color: var(--cobalt); border-color: var(--cobalt); }
.btn--outline:hover { background: var(--tint); color: var(--cobalt); }
.btn-inline { display: inline-flex; }

/* Not-yet-live links: dashed, still readable, not a real link */
.btn.is-todo { border-style: dashed; cursor: default; }
.btn .todo-note { font-weight: 400; font-size: 0.875rem; }

/* ---------- Sections and cards ---------- */

.section { padding-block: 2.5rem; }
.section--tint { background: var(--tint); }
.section-head { margin-bottom: 1.25rem; }
.section-head p { color: var(--muted); max-width: 40rem; margin: 0; }

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Four cards read as a 2x2 block on wide screens instead of 3 + 1. */
@media (min-width: 40rem) {
  .card-grid--pairs { grid-template-columns: repeat(2, 1fr); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--cobalt);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 { margin-bottom: 0.375rem; }
.card p { margin: 0; color: var(--muted); }
.card .card-meta { margin-top: auto; padding-top: 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--cobalt); }
/* Whole card clickable via the heading link */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 3px; }
/* Hover only when the card is a link; information cards stay static (no hover, no pointer). */
.card:has(h3 a):hover { border-color: var(--cobalt); }

.series-num {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--yellow);
  font: 800 1rem/1 var(--font-display);
}

.placeholder {
  border: 2px dashed var(--muted);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.25rem;
  color: var(--muted);
}
.placeholder h3 { color: var(--muted); }
.placeholder p:last-child { margin-bottom: 0; }

.todo {
  display: inline-block;
  background: var(--yellow);
  color: var(--cobalt);
  font: 600 0.75rem/1.4 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 0.3rem;
  vertical-align: middle;
}

.prose { max-width: var(--max-narrow); }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }

.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.75rem; position: relative; margin-bottom: 0.5rem; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--cobalt);
}

/* ---------- Newsletter ---------- */

.signup {
  background: var(--cobalt);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.signup h2 { color: var(--white); }
.signup p { color: var(--white); }
.signup label { display: block; font-weight: 600; margin-bottom: 0.375rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.form-row input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: var(--tap);
  padding: 0.625rem 0.875rem;
  border: 2px solid var(--sky);
  border-radius: var(--radius-pill);
  font: 400 1rem/1.2 var(--font-body);   /* 16px prevents iOS zoom-on-focus */
  color: var(--ink);
  background: var(--white);
}
.form-row .btn { flex: 0 0 auto; }
.form-note { font-size: 0.875rem; color: var(--sky); margin: 0.75rem 0 0; }
.form-status { font-weight: 600; margin: 0.75rem 0 0; }
.form-status:empty { display: none; }

/* ---------- Reviews ---------- */

.review-header .meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.badge--bought { background: var(--cobalt); color: var(--white); }
.badge--sent { background: var(--sky); color: var(--cobalt); }
.badge--paid { background: var(--yellow); color: var(--cobalt); }

.honesty-key { display: grid; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.honesty-key li { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: baseline; }

.verdict {
  display: grid;
  gap: 0.375rem;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-block: 1.25rem;
}
.verdict .verdict-label { font: 800 1.75rem/1.1 var(--font-display); margin: 0; }
.verdict .verdict-score { font-weight: 600; margin: 0; }
.verdict p { margin: 0; }
.verdict--worth { background: var(--cobalt); color: var(--white); }
.verdict--worth .verdict-label { color: var(--yellow); }
.verdict--skip { background: var(--tint); border: 3px solid var(--cobalt); color: var(--ink); }
.verdict--skip .verdict-label { color: var(--cobalt); }

.disclosure {
  background: var(--tint);
  border-left: 4px solid var(--cobalt);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-block: 1rem;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.spec-table th, .spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.625rem 0.5rem 0.625rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-table th { width: 42%; font-weight: 600; color: var(--muted); }

.pros-cons {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.pros-cons > div {
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--tint);
}
.pros-cons h3 { margin-bottom: 0.5rem; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; }
.pros-cons li::before { position: absolute; left: 0; font-weight: 800; color: var(--cobalt); }
.pros li::before { content: "+"; }
.cons li::before { content: "\2212"; }

.buy-links { display: grid; gap: 0.625rem; list-style: none; padding: 0; margin: 0; max-width: 28rem; }

.breadcrumb { font-size: 0.9375rem; margin-bottom: 0.75rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.25rem; color: var(--sky); }
.page-hero .breadcrumb a { color: var(--white); }

/* ---------- Stats (work with me) ---------- */

.stat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.stat-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.stat-grid .stat { display: block; font: 800 1.5rem/1.2 var(--font-display); color: var(--cobalt); }
.stat-grid .stat-label { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cobalt);
  color: var(--white);
  padding-block: 2.25rem 2.5rem;
  font-size: 0.9375rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer .wordmark { font-size: 1.75rem; display: inline-block; margin-bottom: 0.75rem; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-disclosure { color: var(--white); max-width: 44rem; margin: 0; }
.footer-small { color: var(--sky); margin: 0; }

/* ---------- Larger screens ---------- */

@media (min-width: 48rem) {
  :root { --gutter: 1.5rem; }
  .section { padding-block: 3.5rem; }
  .hero { padding-block: 3rem 3.75rem; }
  .patch { width: 10rem; }
  .page-hero { padding-block: 3rem; }
  .signup { padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .site-nav ul { margin-left: 0; }
  .site-nav a { font-size: 0.9375rem; padding: 0 0.625rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Social: one handle label, then a row of linked platform icons */
.social-block { margin: 1rem 0 0; }
.social-handle { margin: 0 0 .25rem; font-weight: 700; letter-spacing: .01em; }
.social-block ul.social-links { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 0 -11px; padding: 0; list-style: none; }
.social-block ul.social-links li { margin: 0; padding: 0; }
.social-block ul.social-links li::before { content: none; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; transition: background-color .15s ease, color .15s ease; }
.social-links a:hover, .social-links a:focus-visible { background: rgba(124, 198, 242, .18); }
.social-links svg { width: 22px; height: 22px; display: block; }
.social-block--hero, .social-block--footer { color: var(--white); }
.social-block--hero .social-handle { color: var(--sky); }
.social-block--hero .social-links a:hover, .social-block--footer .social-links a:hover { color: var(--yellow); }
.social-block--footer { margin: .5rem 0; }
.social-block--footer .social-handle { color: var(--sky); font-weight: 600; }

/* ---------- Events calendar: month at a glance ----------
   Patch badges per event type, stacked on the days an event runs.
   Badge colors are decorative; every type also has its own glyph, and day buttons carry full text labels. */
.event-section--calendar { border-bottom: 1px solid var(--line); }
.event-cal { display: grid; gap: 1.5rem; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cal-title { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -.03em; }
.cal-nav { display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border: 2px solid var(--cobalt); border-radius: 50%; background: var(--white); color: var(--cobalt); font: 800 1.6rem/1 var(--font-display); cursor: pointer; }
.cal-nav:hover { background: var(--tint); }
.cal-nav:disabled { border-color: var(--line); color: var(--line); cursor: default; background: var(--white); }

/* Event badges (design system: brand/icons/event-badges). Geometry is generated into event-badges.js;
   only these three color slots vary, Bluebird Day only. `kb-check` fails if these rules drift. */
.event-badge { --badge-disc: var(--cobalt); --badge-ring: var(--yellow); --badge-glyph: var(--yellow); display: inline-block; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--cal-cell, var(--white)); }
.event-badge svg { width: 100%; height: 100%; }
.event-badge__disc { fill: var(--badge-disc); }
.event-badge__ring { fill: none; stroke: var(--badge-ring); stroke-width: 5; }
.event-badge .g { fill: var(--badge-glyph); }
.event-badge .k { fill: var(--badge-disc); }
.event-badge--film { --badge-disc: var(--cobalt); --badge-ring: var(--yellow); --badge-glyph: var(--yellow); }
.event-badge--festival { --badge-disc: var(--yellow); --badge-ring: var(--cobalt); --badge-glyph: var(--cobalt); }
.event-badge--community { --badge-disc: var(--sky); --badge-ring: var(--cobalt); --badge-glyph: var(--cobalt); }
.event-badge--swap { --badge-disc: var(--white); --badge-ring: var(--cobalt); --badge-glyph: var(--cobalt); }
.event-badge--lg { width: 3rem; height: 3rem; }
.event-item__topline .event-badge { width: 1.75rem; height: 1.75rem; box-shadow: none; }

ul.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
ul.cal-legend li { margin: 0; padding: 0; }
ul.cal-legend li::before { content: none; }
.cal-legend__item { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .3rem .8rem .3rem .35rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); color: var(--ink); font: 600 .9rem/1.2 var(--font-body); cursor: pointer; }
.cal-legend__item:hover { border-color: var(--cobalt); }
.cal-legend__count { min-width: 1.5rem; padding: .1rem .4rem; border-radius: var(--radius-pill); background: var(--tint); color: var(--cobalt); font-weight: 800; font-size: .8rem; text-align: center; }
.cal-legend__item.is-zero { opacity: .6; }
.cal-legend__long { display: none; }
ul.cal-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cal-legend__item { width: 100%; }
.cal-legend__count { margin-left: auto; }
.cal-legend__item[aria-pressed="false"] { color: var(--muted); border-style: dashed; background: transparent; }
.cal-legend__item[aria-pressed="false"] .event-badge { opacity: .35; filter: grayscale(1); }
.cal-legend__item[aria-pressed="false"] .cal-legend__label { text-decoration: line-through; }

.cal-grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 3px; margin: 0 -3px; }
.cal-grid th { padding: .25rem 0 .35rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.cal-grid th abbr { text-decoration: none; }
.cal-grid th.is-weekend { color: var(--cobalt); }
.cal-grid td { --cal-cell: var(--white); height: 3.6rem; padding: 0; vertical-align: top; background: var(--cal-cell); border: 1px solid var(--line); border-radius: .5rem; }
.cal-grid td.is-weekend { --cal-cell: var(--tint); }
.cal-grid td.is-outside { background: transparent; border-color: transparent; }
.cal-day { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; width: 100%; height: 100%; min-height: 3.6rem; padding: .3rem; border: 0; border-radius: .45rem; background: transparent; color: var(--ink); font: inherit; text-align: left; }
button.cal-day { cursor: pointer; }
button.cal-day:hover { box-shadow: inset 0 0 0 2px var(--sky); }
button.cal-day[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--cobalt); }
.cal-day__num { font-size: .8rem; font-weight: 700; line-height: 1; color: var(--muted); }
button.cal-day .cal-day__num { color: var(--cobalt); font-weight: 800; }
.is-today .cal-day__num { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; margin: -.2rem 0 0 -.2rem; border-radius: 50%; background: var(--cobalt); color: var(--white) !important; }
.is-past .cal-day__num { opacity: .6; }
.is-past .cal-stack { opacity: .4; }
/* Badge stack: sized to the day cell, never below the 20px badge minimum, never wider than the cell. */
.cal-day { container: cal-day / inline-size; }
.cal-stack { --cal-badge: clamp(1.25rem, 40cqi, 2rem); display: flex; align-items: center; max-width: 100%; padding: 2px; }
.cal-stack .event-badge { width: var(--cal-badge); height: var(--cal-badge); }
.cal-stack .event-badge + .event-badge { margin-left: calc(var(--cal-badge) * -.28); }
.cal-stack__more { margin-left: .25rem; color: var(--cobalt); font-size: .75rem; font-weight: 800; line-height: 1; }
.cal-stack { position: relative; }
.cal-stack__more--narrow, .cal-stack__more--tiny { display: none; }
@container cal-day (max-width: 3.1rem) {
  .cal-stack__wide-only, .cal-stack__more--wide { display: none; }
  .cal-stack { padding-inline: 1px 0; }
  .cal-stack__more--narrow { display: inline; margin-left: .12rem; font-size: .68rem; letter-spacing: -.02em; }
}
@container cal-day (max-width: 2.2rem) {
  .cal-stack__not-tiny, .cal-stack__more--narrow { display: none; }
  .cal-stack__more--tiny { display: inline-block; position: absolute; top: -.3rem; left: calc(var(--cal-badge) - .4rem); margin: 0; padding: .05rem .2rem; border-radius: var(--radius-pill); background: var(--cobalt); color: var(--white); font-size: .6rem; line-height: 1.1; box-shadow: 0 0 0 1.5px var(--cal-cell, var(--white)); }
}

.cal-agenda { align-self: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.cal-agenda__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .5rem; }
.cal-agenda__head h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
.cal-agenda__empty, .cal-agenda__note { color: var(--muted); font-size: .85rem; margin: 0; }
.cal-agenda__note { margin-top: 1rem; }
.cal-event { display: flex; gap: .9rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cal-event:last-of-type { border-bottom: 0; }
.cal-event__body { min-width: 0; }
.cal-event__kind { margin: 0 0 .2rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.cal-event h4 { margin: 0 0 .25rem; font: 800 1.15rem/1.2 var(--font-display); color: var(--cobalt); letter-spacing: -.01em; }
.cal-event__place { margin: 0; font-size: .92rem; font-weight: 600; }
.cal-event__run { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.cal-event__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.1rem; margin-top: .2rem; }
.cal-add { min-height: 44px; padding: 0; border: 0; background: none; text-align: left; color: var(--cobalt); font: 800 1rem/1.2 var(--font-body); text-decoration: underline; text-decoration-thickness: .09em; text-underline-offset: .18em; cursor: pointer; }
.cal-add:hover { color: var(--cobalt-hover); text-decoration-thickness: .14em; }

@media (min-width: 40rem) {
  .cal-legend__long { display: inline; }
  .cal-legend__short { display: none; }
  ul.cal-legend { display: flex; }
  .cal-legend__item { width: auto; }
  .cal-legend__count { margin-left: 0; }
  .cal-grid td, .cal-day { min-height: 5rem; height: 5rem; }
  .cal-day { padding: .45rem; }
  .cal-day__num { font-size: .95rem; }
}
@media (min-width: 64rem) {
  .event-cal { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .cal-agenda { position: sticky; top: 1rem; margin-top: 3.6rem; }
}

/* About: hero with a portrait, and photos inside the story */
.page-hero--photo .page-hero__grid { display: grid; gap: 1.75rem; align-items: center; }
.page-hero__photo { margin: 0; max-width: 24rem; }
.page-hero__photo img, .story-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.page-hero__photo figcaption { margin-top: .5rem; color: var(--sky); font-size: .8rem; }
.story-photo { margin: 1.75rem 0; }
.story-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .85rem; }
@media (min-width: 48rem) {
  .page-hero--photo .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; }
  .page-hero__photo { justify-self: end; width: 100%; }
}
@media (max-width: 47.99rem) {
  .page-hero__photo { max-width: none; }
  .page-hero__photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 38%; }
}
/* A tall, narrow object photo sits beside the story on wider screens. */
.story-photo--board { max-width: 11rem; margin-inline: auto; text-align: center; }
@media (min-width: 40rem) {
  .story-photo--board { float: right; margin: .35rem 0 1rem 1.75rem; }
  .prose h2, .story-photo:not(.story-photo--board) { clear: both; }
}

/* Venue tag: where an event happens, at a glance. Name by default; an approved logo replaces it.
   Logos sit on a white chip at a fixed height so any logo color reads, and are never recolored. */
.event-venue { display: inline-flex; align-items: center; min-height: 1.75rem; max-width: 100%; margin-bottom: .45rem; padding: .15rem .6rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); color: var(--cobalt); font: 800 .8rem/1.2 var(--font-body); letter-spacing: .01em; }
.event-venue--logo { padding: .2rem .5rem; }
.event-venue--logo img { display: block; height: 1.25rem; width: auto; max-width: 7rem; object-fit: contain; }
.cal-event .event-venue { margin-bottom: .3rem; }
