/* 2501 Society page. Mobile first: most visitors arrive from a text message. */
.soc-page {
  --paper: #f8f6f1;
  --paper-2: #efe9dd;
  --ink: #162b40;
  --line: #dcd5c7;
  --muted: #57534c;
  --on-dark: #f3eee4;
  --on-dark-muted: #c9d1d9;
  --orange-on-dark: #f0a868;
  background: var(--paper);
  color: var(--ink);
}
.soc-page a:focus-visible, .soc-page button:focus-visible { outline: 3px solid var(--burnt-orange); outline-offset: 4px; }
.soc-page section[id] { scroll-margin-top: 72px; }
.soc-wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.soc-eyebrow { font-size: 11px; font-weight: 650; line-height: 1.5; letter-spacing: 1.8px; text-transform: uppercase; color: var(--burnt-orange); }
.soc-sr-only, .soc-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.soc-skip:focus { position: fixed; top: 12px; left: 12px; padding: 12px; background: var(--paper); z-index: 300; }
.soc-page h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 7.5vw, 46px); line-height: 1.12; letter-spacing: -0.5px; color: var(--ink); }
.soc-page .soc-eyebrow + h2 { margin-top: 10px; }
.soc-fine { font-size: 12px; line-height: 1.75; color: var(--muted); margin-top: 18px; max-width: 720px; }
.soc-fine strong { color: var(--ink); }
.soc-nowrap { white-space: nowrap; }

.soc-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 16px 26px; border: 0; background: var(--burnt-orange); color: var(--white); font: 650 15px/1.3 var(--font-body); cursor: pointer; transition: background 160ms; }
.soc-button:hover { background: var(--burnt-orange-hover); color: var(--white); }

/* Navigation: compact until there is room for the full link row. */
.soc-page .nav { background: var(--paper); padding: 12px 20px; }
.soc-page .nav__left { gap: 0; }
.soc-page .nav__links { display: none; }
.soc-page .nav__hamburger { display: block; }
.soc-page .nav__home { font-size: 10px; letter-spacing: 0.8px; white-space: normal; max-width: 170px; line-height: 1.4; }
.soc-page .nav__donate { margin-left: auto; margin-right: 16px; }
.soc-menu { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 420px); height: 100%; max-height: 100%; border: 0; background: var(--paper); padding: 24px; }
.soc-menu::backdrop { background: rgba(14, 26, 38, 0.6); }
.soc-menu[open] { display: flex; flex-direction: column; gap: 24px; }
.soc-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.soc-menu > a { font-family: var(--font-display); font-size: 24px; color: var(--ink); }

/* Hero */
.soc-hero { padding-block: 20px 44px; text-align: center; }
.soc-hero__grid { display: grid; gap: 14px; justify-items: center; }
.soc-hero__seal { display: block; width: min(42vw, 170px); }
.soc-hero__seal img { width: 100%; height: auto; }
.soc-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 12.5vw, 78px); line-height: 1.02; letter-spacing: -1.5px; color: var(--ink); margin-top: 10px; }
.soc-hero__tagline { max-width: 460px; margin: 12px auto 0; font-family: var(--font-display); font-size: clamp(21px, 5.6vw, 27px); line-height: 1.3; color: var(--ink); text-wrap: balance; }
.soc-hero__lead { font-family: var(--font-display); font-style: italic; font-size: clamp(23px, 6.4vw, 32px); line-height: 1.3; color: var(--burnt-orange); margin-top: 12px; }
.soc-hero__body { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 460px; margin: 14px auto 24px; }
.soc-hero .soc-button { width: 100%; max-width: 360px; }
.soc-hero__live { min-height: 1.7em; margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.soc-hero__live strong { color: var(--burnt-orange); }

/* Score */
.soc-score { background: var(--ink); color: var(--on-dark); padding-block: 48px 52px; }
.soc-score h2 { color: var(--white); }
.soc-stats { display: grid; gap: 26px; margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.soc-stat__value { font-family: var(--font-display); font-size: clamp(38px, 11vw, 56px); line-height: 1; color: var(--white); }
.soc-stat__value small { font-size: 0.42em; color: var(--on-dark-muted); }
.soc-stat__label { font-size: 13px; line-height: 1.6; color: var(--on-dark-muted); margin-top: 10px; }
.soc-stat__label strong { color: var(--white); font-weight: 600; margin-right: 6px; }
.soc-bar { height: 6px; margin-top: 14px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.soc-bar span { display: block; width: 0; height: 100%; background: var(--burnt-orange); transition: width 900ms ease; }
.soc-dots { display: grid; grid-template-columns: repeat(auto-fill, 9px); gap: 6px; margin-top: 34px; }
.soc-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); transition: background 300ms, border-color 300ms; }
.soc-dots i.is-goal { border-color: rgba(240, 168, 104, 0.8); }
.soc-dots i.is-member { background: var(--orange-on-dark); border-color: var(--orange-on-dark); }
.soc-score__note { margin-top: 18px; font-size: 12px; line-height: 1.6; color: #a9b4bf; }

/* Gift options */
.soc-join { padding-block: 56px; }
.soc-options { display: grid; gap: 12px; margin-top: 26px; list-style: none; }
.soc-option a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; height: 100%; padding: 20px; background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: border-color 160ms; }
.soc-option a:hover { border-color: var(--burnt-orange); color: var(--ink); }
.soc-option--featured a { border: 2px solid var(--burnt-orange); }
.soc-option__term { grid-column: 1; font-size: 11px; font-weight: 650; letter-spacing: 1.4px; text-transform: uppercase; color: var(--burnt-orange); }
.soc-option__amount { grid-column: 1; font-family: var(--font-display); font-size: 36px; line-height: 1.1; }
.soc-option__amount small { font: 15px var(--font-body); color: var(--muted); }
.soc-option__note { grid-column: 1; font-size: 14px; line-height: 1.5; color: var(--muted); }
.soc-option__go { grid-column: 2; grid-row: 1 / span 3; font-size: 14px; font-weight: 650; color: var(--burnt-orange); white-space: nowrap; }

/* Why give */
.soc-why { background: var(--paper-2); padding-block: 56px; }
.soc-reasons { list-style: none; margin-top: 26px; }
.soc-reasons li { padding-block: 22px; border-top: 1px solid var(--line); }
.soc-reasons h3 { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.25; color: var(--ink); }
.soc-reasons p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Pledge classes */
.soc-classes { padding-block: 56px 40px; }
.soc-strip { display: flex; gap: 12px; margin-top: 24px; padding: 4px 20px 18px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; overscroll-behavior-x: contain; }
.soc-strip li { flex: 0 0 auto; scroll-snap-align: start; }
/* Auto-scroll mode: the script moves the strip, so snapping and the scrollbar step aside. */
.soc-strip.is-auto { scroll-snap-type: none; scrollbar-width: none; }
.soc-strip.is-auto::-webkit-scrollbar { display: none; }
.soc-class { display: block; color: var(--ink); }
.soc-class:hover { color: var(--burnt-orange); }
.soc-class img { width: auto; max-width: none; height: 200px; background: var(--paper-2); }
.soc-class span { display: block; margin-top: 10px; font-size: 12px; font-weight: 650; letter-spacing: 1.2px; text-transform: uppercase; }

/* Photos */
.soc-memories { padding-block: 24px 64px; }
.soc-memories__lead { max-width: 560px; margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.soc-mosaic { display: grid; gap: 10px; margin-top: 26px; }
.soc-mosaic__row { display: grid; gap: 10px; }
.soc-mosaic figure { position: relative; aspect-ratio: var(--ar); overflow: hidden; background: var(--paper-2); }
.soc-mosaic .is-tall { aspect-ratio: 4 / 5; }
.soc-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* Roster */
.soc-roster { padding-block: 56px; border-top: 1px solid var(--line); }
.soc-roster__list { display: grid; margin-top: 24px; border-top: 1px solid var(--line); list-style: none; }
.soc-roster__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 20px; line-height: 1.3; }
.soc-roster__year { font: 13px var(--font-body); color: var(--muted); white-space: nowrap; }
.soc-roster__list .soc-roster__status { font: 15px/1.6 var(--font-body); color: var(--muted); }
.soc-roster__you span { font-style: italic; color: var(--muted); }
.soc-roster__you a { font: 600 14px var(--font-body); color: var(--burnt-orange); white-space: nowrap; }
.soc-roster__anon { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Share */
.soc-share { background: var(--ink); color: var(--on-dark); padding-block: 56px; text-align: center; }
.soc-share h2 { color: var(--white); }
.soc-share p:not(.soc-eyebrow) { max-width: 440px; margin: 14px auto 0; font-size: 15px; line-height: 1.7; color: var(--on-dark-muted); }
.soc-share .soc-share__url { margin-top: 22px; font-family: var(--font-display); font-size: clamp(20px, 6vw, 30px); color: var(--white); overflow-wrap: anywhere; }
.soc-share .soc-button { margin-top: 22px; }
.soc-share .soc-share__status { min-height: 1.6em; margin-top: 12px; font-size: 13px; color: var(--orange-on-dark); overflow-wrap: anywhere; }

/* Learn more */
.soc-more { display: grid; gap: 28px; padding-block: 56px; }
.soc-resources a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--burnt-orange); }
.soc-resources a:last-child { border-bottom: 1px solid var(--line); }
.soc-resources strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.soc-resources small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Close */
.soc-close { padding-block: 56px 72px; border-top: 1px solid var(--line); text-align: center; }
.soc-close img { width: 112px; height: auto; margin: 0 auto 22px; }
.soc-close h2 { max-width: 820px; margin: 0 auto 28px; font-size: clamp(36px, 10vw, 60px); line-height: 1.05; text-wrap: balance; }

/* Photo viewer */
.soc-lightbox { max-width: 96vw; max-height: 94vh; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.soc-lightbox::backdrop { background: rgba(6, 12, 18, 0.9); }
.soc-lightbox img { width: auto; height: auto; max-width: min(1200px, 96vw); max-height: calc(94vh - 72px); margin-inline: auto; }
.soc-lightbox__bar { display: flex; align-items: center; gap: 10px; padding-top: 12px; color: var(--white); }
.soc-lightbox__bar p { flex: 1; text-align: center; font-size: 13px; font-weight: 650; letter-spacing: 1.2px; text-transform: uppercase; }
.soc-lightbox button { min-width: 44px; min-height: 44px; border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: var(--white); font-size: 18px; cursor: pointer; }

@media (min-width: 700px) {
  .soc-mosaic__row { display: flex; }
  .soc-mosaic__row figure, .soc-mosaic .is-tall { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); }
  .soc-roster__list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .soc-class img { height: 240px; }
}

@media (min-width: 900px) {
  .soc-wrap { width: min(1080px, calc(100% - 80px)); }
  .soc-page .nav { padding: 16px 32px; }
  .soc-page .nav__left { gap: 32px; }
  .soc-page .nav__links { display: flex; }
  .soc-page .nav__hamburger { display: none; }
  .soc-page .nav__home { font-size: 13px; letter-spacing: 1.5px; white-space: nowrap; max-width: none; }
  .soc-page .nav__donate { margin-right: 0; }
  .soc-hero { padding-block: 56px 80px; text-align: left; }
  .soc-hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; justify-items: stretch; }
  .soc-hero__seal { order: 2; width: 100%; max-width: 380px; justify-self: center; }
  .soc-hero__body, .soc-hero__tagline { margin-inline: 0; }
  .soc-hero__tagline { max-width: none; }
  .soc-hero .soc-button { width: auto; }
  .soc-score { padding-block: 64px; }
  .soc-stats { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .soc-join, .soc-why, .soc-roster, .soc-share, .soc-more { padding-block: 80px; }
  .soc-options { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .soc-option a { grid-template-columns: 1fr; align-content: start; padding: 28px; }
  .soc-option__go { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .soc-reasons { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .soc-strip { padding-inline: max(40px, calc((100% - 1080px) / 2)); scroll-padding-inline: max(40px, calc((100% - 1080px) / 2)); }
  .soc-more { grid-template-columns: 1fr 1fr; gap: 80px; }
}

@media (prefers-reduced-motion: no-preference) { html:has(.soc-page) { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .soc-bar span, .soc-dots i { transition: none; } }
