/* Laugh For Sight — site styles
   Layout: one centered column with a wide hero; a yellow "ticket" for the next show;
   photos in a masonry-style column flow so nobody gets cropped out.
   Every rule is scoped to a class. No JavaScript anywhere on the site. */

:root {
  --paper: #fdfcf9;
  --panel: #f5efe4;
  --ink: #1c1815;
  --muted: #5b534c;
  --line: #e2dacd;
  --red: #b3121f;
  --on-red: #ffffff;
  --yellow: #f6c12b;
  --on-yellow: #1c1815;
  --focus: #1f5fd1;

  --display: "Shrikhand", "Georgia", serif;
  --body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;

  --measure: 65ch;
  --wide: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15120f;
    --panel: #211c18;
    --ink: #f4efe7;
    --muted: #bdb3a7;
    --line: #3b342d;
    --red: #ff6b6b;
    --on-red: #1a0b0b;
    --focus: #8fb4ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15120f;
  --panel: #211c18;
  --ink: #f4efe7;
  --muted: #bdb3a7;
  --line: #3b342d;
  --red: #ff6b6b;
  --on-red: #1a0b0b;
  --focus: #8fb4ff;
  color-scheme: dark;
}

.lfs-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
}

.lfs-body a { color: var(--red); text-underline-offset: 0.18em; }
.lfs-body a:focus-visible,
.lfs-body .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--yellow); color: var(--on-yellow);
  padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem; padding-block: 1.1rem;
}
.wordmark { margin: 0; font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.wordmark a { color: var(--ink); text-decoration: none; }
.wordmark .wordmark-laugh { color: var(--red); }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem;
}
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--red); text-decoration: underline; text-decoration-thickness: 3px; }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem; align-items: center; padding-block: 3rem 3.5rem;
}
.hero-text { min-width: 0; }
.eyebrow {
  margin: 0 0 0.75rem; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.hero-title {
  margin: 0 0 1.25rem; font-family: var(--display); font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; text-wrap: balance;
}
.hero-title .hero-red { color: var(--red); }
.lede { font-size: 1.3rem; max-width: 34ch; margin: 0 0 1.75rem; }
.hero-photo { margin: 0; justify-self: center; max-width: 26rem; }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 4px; }

.button-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button {
  display: inline-block; padding: 0.8rem 1.3rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid var(--red);
}
.lfs-body .button-primary { background: var(--red); color: var(--on-red); }
.lfs-body .button-secondary { background: transparent; color: var(--red); }

/* Sections */
.section .wrap { padding-block: 3rem; }
.section + .section .wrap { border-top: 1px solid var(--line); }
.section-title {
  margin: 0 0 1.25rem; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; text-wrap: balance;
}
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1rem; }
.more-link { margin: 1.25rem 0 0; font-weight: 700; }

/* Year 20 ticket */
.ticket-layout {
  display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: 2.5rem; align-items: start;
}
.ticket {
  position: relative; background: var(--yellow); color: var(--on-yellow);
  border-radius: 10px; padding: 1.5rem 1.75rem;
  border-left: 3px dashed rgba(28, 24, 21, 0.45);
  font-variant-numeric: tabular-nums;
}
.ticket p { margin: 0; }
.ticket .ticket-admit { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.ticket .ticket-number { font-family: var(--display); font-size: 4.5rem; line-height: 1; margin: 0.4rem 0 0.2rem; }
.ticket .ticket-annual { font-weight: 700; font-size: 1.1rem; }
.ticket .ticket-details { margin-top: 1rem; padding-top: 1rem; border-top: 2px solid rgba(28, 24, 21, 0.25); }

/* 2026 recap */
.credit-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.credit-list li { background: var(--panel); border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 1rem; }

/* Quote */
.pull-quote { margin: 1.75rem 0 0; padding: 0 0 0 1.25rem; border-left: 4px solid var(--yellow); max-width: var(--measure); }
.pull-quote p { margin: 0 0 0.5rem; font-size: 1.35rem; font-style: italic; }
.pull-quote footer { color: var(--muted); font-weight: 700; }

/* Photos */
.photo-flow { list-style: none; margin: 0; padding: 0; columns: 3 18rem; column-gap: 1.25rem; }
.photo-flow li { break-inside: avoid; margin: 0 0 1.5rem; }
.photo-flow figure { margin: 0; }
.photo-flow img { display: block; width: 100%; height: auto; border-radius: 4px; }
.photo-flow figcaption, .hero-photo figcaption { margin-top: 0.5rem; font-size: 0.95rem; color: var(--muted); line-height: 1.45; }

/* Causes */
.cause-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0.6rem 1.5rem; max-width: 56rem; }
.cause-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.cause-list .cause-current { color: var(--red); }

/* Donate */
.donate-panel { background: var(--panel); border-radius: 10px; padding: 1.75rem; max-width: 46rem; }
.donate-panel p { margin: 0 0 1rem; }
.fine-print { font-size: 0.95rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--panel); margin-top: 2rem; }
.site-footer .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem 2.5rem; padding-block: 2.5rem;
}
.footer-heading { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer address { font-style: normal; }
.site-footer p { margin: 0; }
.footer-small { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); }

/* Narrow screens */
@media (max-width: 760px) {
  .hero .wrap, .ticket-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { max-width: 22rem; }
  .ticket .ticket-number { font-size: 3.6rem; }
}

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