/* ==========================================================================
   Forever 13 Foundation site styles
   "Print + sky": warm paper with grain, ink borders and hard offset shadows,
   electric royal blue, drifting clouds, polaroid photos, editorial numbering.
   Content is ALWAYS visible; scroll effects are native CSS scroll-driven
   animations that simply do nothing in browsers without support.
   ========================================================================== */

:root {
  --paper: #f4eee2;
  --paper-2: #ece3d1;
  --card: #fffdf7;

  --ink: #221f19;
  --ink-2: #574f43;
  --ink-3: #877d6d;

  --blue: #0a5cf5;
  --blue-deep: #0740b8;
  --blue-bright: #2f86ff;
  --blue-050: #ecf2ff;

  --rule: #ddd4c0;
  --rule-strong: #c9bda2;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;

  --container: 76rem;

  --r-sm: 4px;
  --r: 8px;

  /* Print-style hard shadows + real soft photo shadows */
  --hard: 4px 4px 0 var(--ink);
  --hard-sm: 3px 3px 0 var(--ink);
  --hard-blue: 4px 4px 0 var(--blue-deep);
  --soft: 0 22px 44px -24px rgba(34, 26, 16, 0.45);
  --photo: 14px 20px 44px -24px rgba(34, 26, 16, 0.5);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.8rem;
}

/* ------------------------------------------------------------------- Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
  color: var(--ink);
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--blue);
  color: #fff;
}
.skip-link {
  position: absolute;
  left: 50%;
  top: -120%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r);
  font-weight: 700;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0.6rem;
}
.topbar,
.site-header,
main,
.site-footer,
.donate-float,
.lightbox {
  position: relative;
  z-index: 2;
}

/* -------------------------------------------------------------- Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
}
.section {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.section > .container {
  position: relative;
  z-index: 1;
}

/* Editorial numbered section header */
.sec-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-top: var(--space-3);
  border-top: 2px solid var(--ink);
  margin-bottom: var(--space-5);
}
.on-blue .sec-head {
  border-top-color: rgba(255, 255, 255, 0.7);
}
.sec-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  line-height: 1;
  color: var(--blue);
  flex: none;
  padding-top: 0.2rem;
}
.on-blue .sec-index {
  color: #fff;
}
.sec-label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.35rem;
}
.on-blue .sec-label {
  color: rgba(255, 255, 255, 0.75);
}
.sec-head h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
}
.on-blue .sec-head h2,
.on-blue h2 {
  color: #fff;
}

.script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--blue);
  line-height: 0.9;
}

/* Clouds ------------------------------------------------------------------ */
.cloud {
  position: absolute;
  z-index: 0;
  color: #fff;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(32, 25, 16, 0.07));
  animation: drift var(--dur, 26s) ease-in-out var(--del, 0s) infinite alternate;
}
.cloud--tint {
  color: var(--blue-050);
}
.cloud--ghost {
  color: rgba(255, 255, 255, 0.1);
  filter: none;
  opacity: 1;
}
.cloud--ink {
  color: rgba(255, 255, 255, 0.05);
  filter: none;
  opacity: 1;
}
/* Soft twinkling sparkles */
.spark {
  position: absolute;
  z-index: 0;
  color: #fff;
  opacity: 0.5;
  pointer-events: none;
  animation: twinkle var(--tdur, 4s) ease-in-out var(--tdel, 0s) infinite alternate,
    sparkdrift var(--sdur, 9s) ease-in-out var(--sdel, 0s) infinite alternate;
}
@keyframes sparkdrift {
  from {
    translate: 0 0;
  }
  to {
    translate: var(--sx, 16px) var(--sy, -20px);
  }
}
@keyframes twinkle {
  from {
    opacity: 0.12;
    transform: scale(0.75) rotate(-8deg);
  }
  to {
    opacity: 0.65;
    transform: scale(1.05) rotate(8deg);
  }
}
@keyframes drift {
  from {
    transform: translateX(-14px) translateY(0);
  }
  to {
    transform: translateX(22px) translateY(-6px);
  }
}
.floaty {
  animation: bob 5.5s ease-in-out infinite alternate;
}
@keyframes bob {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -8px;
  }
}
/* Cloud-scalloped edge that leads into a blue band */
.cloud-edge {
  display: block;
  width: 100%;
  height: clamp(28px, 4vw, 48px);
  color: var(--paper);
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1;
}
.cloud-edge--alt {
  color: var(--paper-2);
}
.cloud-edge--flip {
  top: auto;
  bottom: -1px;
  transform: scaleY(-1);
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--hard);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}
.btn .heartbeat {
  transform-origin: center;
}
.btn:hover .heartbeat {
  animation: beat 0.9s ease-in-out infinite;
}
@keyframes beat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.22); }
  40% { transform: scale(1); }
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--blue-deep);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: var(--hard-sm);
}
.btn--lg {
  padding: 1.1rem 1.9rem;
  font-size: 1.05rem;
}
.btn--paper {
  background: var(--card);
  color: var(--ink);
}
.btn--paper:hover {
  background: #fff;
  color: var(--ink);
}
.btn--white {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--ink);
}
.btn--white:hover {
  background: var(--blue-050);
  color: var(--blue-deep);
}

.textlink {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease);
  padding-bottom: 2px;
}
.textlink:hover {
  background-size: 100% 2px;
}
.on-blue .textlink {
  color: #fff;
}

/* ------------------------------------------------------- Topbar + Header */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.45rem;
}
.topbar .script {
  color: var(--blue-bright);
  font-size: 1.15rem;
}
.topbar a {
  color: var(--paper);
  text-decoration: none;
}
.topbar a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--rule-strong);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  height: 3.1rem;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav__links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0.15rem;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2.5px;
  background: var(--blue);
  transition: right 0.25s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  right: 0;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--ink);
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem;
}
.nav__toggle svg {
  width: 1.7rem;
  height: 1.7rem;
}

/* Floating donate (mobile) ------------------------------------------------ */
.donate-float {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: none;
  justify-content: center;
  transform: translateY(180%);
  transition: transform 0.45s var(--ease);
}
.donate-float.is-visible {
  transform: translateY(0);
}
.donate-float .btn {
  width: 100%;
  max-width: 32rem;
  justify-content: center;
}

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 4.5vw, 4rem) 0;
  overflow: hidden;
}
.hero__watermark {
  position: absolute;
  top: -6%;
  right: -8%;
  width: min(46rem, 58vw);
  color: var(--blue);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(var(--space-5), 4vw, var(--space-7));
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__eyebrow::before {
  content: "";
  width: 2rem;
  height: 2.5px;
  background: var(--blue);
}
.hero__title {
  font-size: clamp(2.5rem, 1.2rem + 5.2vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: var(--space-3);
}
.hero__title .u {
  display: inline-block;
  color: var(--blue);
  white-space: nowrap;
  padding-bottom: 0.18em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 Q 16 2 30 7 T 60 7 T 90 7 T 118 6' fill='none' stroke='%230a5cf5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 0.26em;
}
.hero__copy {
  max-width: 33rem;
  margin-top: var(--space-4);
  font-size: 1.15rem;
  color: var(--ink-2);
}
.hero__copy b {
  color: var(--ink);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.hero__photo {
  position: relative;
  z-index: 1;
  justify-self: center;
}
.hero__photo figure {
  margin: 0;
  padding: 0.7rem 0.7rem 3rem;
  background: var(--card);
  border: 1px solid rgba(34, 26, 16, 0.15);
  border-radius: var(--r-sm);
  box-shadow: var(--photo);
  transform: rotate(1.6deg);
  position: relative;
}
.hero__photo .frame-img {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--ink);
}
.hero__sticker {
  position: absolute;
  right: 1.3rem;
  top: 1.3rem;
  z-index: 2;
  width: 4.9rem;
  height: 4.9rem;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 0.9;
  box-shadow: var(--hard-sm);
  transform: rotate(8deg);
}
.hero__sticker b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  display: block;
}
.hero__sticker span {
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Facts bar at hero bottom */
.factbar {
  position: relative;
  z-index: 1;
  margin-top: clamp(var(--space-5), 4vw, var(--space-6));
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--hard);
  overflow: hidden;
}
.fact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-right: 2px solid var(--ink);
}
.fact:last-child {
  border-right: 0;
}
.fact svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue);
  flex: none;
}
.fact b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  display: block;
  line-height: 1.15;
}
.fact span {
  font-size: 0.8rem;
  color: var(--ink-3);
  font-weight: 600;
}

/* -------------------------------------------------------------- Marquee */
.marquee {
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 0.75rem;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 0.9rem + 0.7vw, 1.35rem);
  letter-spacing: 0.02em;
  padding-inline: 1.3rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
}
.marquee__track span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex: none;
}
.marquee__track .alt {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------- Mission */
.mission {
  background: var(--paper-2);
}
.mission__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(var(--space-5), 4vw, var(--space-7));
  align-items: center;
}
.mission__statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 34rem;
}
.mission__statement em {
  font-style: normal;
  color: var(--blue);
}
.mission__copy {
  margin-top: var(--space-4);
  color: var(--ink-2);
  max-width: 36rem;
}
.mission__actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}
.mission__photo {
  justify-self: center;
  max-width: 19rem;
  position: relative;
}
.mission__photo figure {
  margin: 0;
  padding: 0.7rem 0.7rem 2.6rem;
  background: var(--card);
  border: 1px solid rgba(34, 26, 16, 0.15);
  box-shadow: var(--photo);
  border-radius: var(--r-sm);
  transform: rotate(2.4deg);
  position: relative;
}
.mission__photo .frame-img {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1;
}
.mission__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.45rem;
  color: var(--blue);
}
.tape {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: 5.5rem;
  height: 1.5rem;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(10, 92, 245, 0.18);
  border-left: 1px dashed rgba(10, 92, 245, 0.3);
  border-right: 1px dashed rgba(10, 92, 245, 0.3);
  z-index: 3;
}

/* ------------------------------------------------------------- What we do */
.dowork {
  position: relative;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(4.5rem, 8vw, 7rem);
}
.dowork::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 85% -20%, var(--blue-bright), transparent 55%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  z-index: 0;
}
.dowork__wm {
  position: absolute;
  right: -6%;
  bottom: -28%;
  width: min(42rem, 66vw);
  color: #fff;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}
.dowork .container {
  position: relative;
  z-index: 2;
}
.dowork__intro {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin-top: calc(-1 * var(--space-3));
  margin-bottom: var(--space-5);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pillar {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--hard);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pillar:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.pillar__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.pillar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pillar__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.pillar__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.pillar h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
.pillar p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.55;
}
.dowork__cta {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}
.dowork__cta .script {
  font-size: 1.7rem;
  color: #fff;
}

/* --------------------------------------------------------- Get involved */
.involve {
  background: var(--paper);
}
.involve__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.help {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--hard);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.help:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.help__icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: var(--r-sm);
  background: var(--blue);
  border: 2px solid var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--hard-sm);
  margin-bottom: 0.4rem;
}
.help__icon svg {
  width: 1.5rem;
}
.help h3 {
  font-size: 1.35rem;
  font-weight: 700;
}
.help p {
  color: var(--ink-2);
  font-size: 1rem;
  flex: 1;
}
.help .btn,
.help .textlink {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------------ Connor */
.connor {
  background: var(--paper-2);
}
.connor__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(var(--space-5), 4vw, var(--space-7));
  align-items: start;
}
.connor__media {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
  display: grid;
  gap: var(--space-4);
}
.photo-mat {
  margin: 0;
  padding: 0.7rem 0.7rem 2.4rem;
  background: var(--card);
  border: 1px solid rgba(34, 26, 16, 0.15);
  box-shadow: var(--photo);
  border-radius: var(--r-sm);
  position: relative;
}
.photo-mat .frame-img {
  overflow: hidden;
  border-radius: 2px;
}
.photo-mat img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-mat figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--blue);
}
.photo-mat--a { rotate: -1.6deg; }
.photo-mat--b { rotate: 2deg; }
.connor__body > * + * {
  margin-top: var(--space-4);
}
.connor__body p {
  color: var(--ink-2);
  font-size: 1.05rem;
}
.connor__body .lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.memory-note {
  margin-block: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--hard);
  position: relative;
}
.memory-note .label {
  display: block;
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.65rem;
}
.memory-note p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}
.connor__quote {
  margin: var(--space-5) 0 0;
  padding-top: var(--space-4);
  border-top: 2px dashed var(--rule-strong);
}
.connor__quote .big {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 5vw, 5rem);
  color: var(--blue);
  line-height: 0.82;
}
.connor__quote cite {
  display: block;
  margin-top: var(--space-3);
  font-style: normal;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 0.92rem;
}
.connor__song {
  margin-top: var(--space-3);
  color: var(--ink-2);
  font-style: italic;
}
.signoff {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 2px dashed var(--rule-strong);
}
.signoff p {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  color: var(--ink);
  line-height: 1.2;
}
.signoff .sig {
  color: var(--blue);
}

/* ------------------------------------------------------------------ Family */
.family {
  background: var(--paper);
}
.family__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(var(--space-5), 4vw, var(--space-7));
  align-items: center;
}
.family__photo {
  margin: 0;
  padding: 0.8rem 0.8rem 3rem;
  background: var(--card);
  border: 1px solid rgba(34, 26, 16, 0.15);
  box-shadow: var(--photo);
  border-radius: var(--r-sm);
  rotate: 1.3deg;
  position: relative;
}
.family__photo .frame-img {
  overflow: hidden;
  border-radius: 2px;
}
.family__photo img {
  width: 100%;
  height: auto;
  display: block;
}
.family__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--ink);
}
.family__intro > p {
  margin-top: calc(-1 * var(--space-3));
  margin-bottom: var(--space-4);
  color: var(--ink-2);
  max-width: 34rem;
}
.roster {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--hard);
  overflow: hidden;
}
.roster__item {
  border-bottom: 1.5px solid var(--rule);
}
.roster__item:last-child {
  border-bottom: 0;
}
.roster__row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s var(--ease);
}
.roster__row > span:first-child {
  flex: 1;
  min-width: 0;
}
.roster__row::-webkit-details-marker {
  display: none;
}
.roster__row:hover {
  background: var(--blue-050);
}
.roster__row::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--blue);
  flex: none;
  align-self: center;
  transition: rotate 0.25s var(--ease);
}
.roster__item[open] .roster__row::after {
  rotate: 45deg;
}
.roster__bio {
  padding: 0.1rem 1.1rem 1rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
}
.roster__row b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.roster__row .who {
  font-size: 0.78rem;
  color: var(--ink-3);
  display: block;
  font-weight: 500;
}
.roster__row .role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-050);
  border: 1px solid rgba(10, 92, 245, 0.25);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
  text-align: right;
  flex: none;
}

/* -------------------------------------------------------------------- FAQ */
.faq {
  background: var(--paper-2);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}
.qa {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--hard);
  overflow: hidden;
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--blue);
  line-height: 1;
  transition: rotate 0.25s var(--ease);
}
.qa[open] summary::after {
  rotate: 45deg;
}
.qa p {
  padding: 0 1.2rem 1.1rem;
  color: var(--ink-2);
  font-size: 1rem;
}

/* ------------------------------------------------------------------ Give */
.give {
  position: relative;
  background: var(--blue-deep);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(4.5rem, 8vw, 7rem);
}
.give::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 90% at 15% 120%, var(--blue-bright), transparent 55%),
    linear-gradient(160deg, var(--blue-deep) 0%, var(--blue) 100%);
  z-index: 0;
}
.give__wm {
  position: absolute;
  left: -6%;
  top: -24%;
  width: min(40rem, 60vw);
  color: #fff;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}
.give .container {
  position: relative;
  z-index: 2;
}
.give__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(var(--space-5), 4vw, var(--space-7));
  align-items: center;
}
.give h2 {
  color: #fff;
}
.give__copy {
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
  font-size: 1.05rem;
}
.give__actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  align-items: center;
}
.give__note {
  margin-top: var(--space-4);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}
.give__card {
  justify-self: center;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--hard);
  max-width: 19rem;
  rotate: -1.5deg;
}
.qr {
  width: 12rem;
  height: 12rem;
  margin: 0 auto var(--space-3);
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1.5px solid var(--rule-strong);
  display: grid;
  place-items: center;
  padding: var(--space-3);
}
.qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qr__ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-3);
  text-align: center;
}
.qr__ph svg {
  width: 3rem;
  color: var(--blue);
}
.qr__ph span {
  font-size: 0.72rem;
}
.give__card b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}
.give__card p {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--ink-2);
}

/* ----------------------------------------------------------------- Footer */
.site-footer {
  background: var(--ink);
  color: #b4ab9c;
  padding-block: var(--space-6) var(--space-4);
  overflow: hidden;
}
.site-footer .container {
  position: relative;
  z-index: 1;
}
.site-footer a {
  color: #d6cfc2;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__top p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem);
  color: #fff;
  max-width: 30rem;
  letter-spacing: -0.02em;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-5);
}
.footer__brand img {
  height: 3.6rem;
  width: auto;
  margin-bottom: var(--space-3);
}
.footer__brand p {
  max-width: 26rem;
  font-size: 0.94rem;
  color: #948a7b;
}
.footer__brand .script {
  display: block;
  margin-top: var(--space-3);
  font-size: 1.7rem;
  color: var(--blue-bright);
}
.footer__col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8072;
  margin: 0 0 var(--space-3);
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.94rem;
}
.footer__sample {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #8a8072;
}

/* ---------------------------------------------------------------- Gallery */
.gallery-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule-strong);
  text-align: center;
  padding-block: clamp(var(--space-6), 6vw, var(--space-7));
  position: relative;
  overflow: hidden;
}
.gallery-hero .hero__watermark {
  right: 50%;
  transform: translateX(50%);
  top: -18%;
}
.gallery-hero .container {
  position: relative;
  z-index: 1;
}
.gallery-hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.8vw, 4.2rem);
}
.gallery-hero p {
  max-width: 40rem;
  margin: var(--space-4) auto 0;
  color: var(--ink-2);
}
.gallery-hero .hero__eyebrow {
  justify-content: center;
}
.gallery {
  columns: 3;
  column-gap: var(--space-4);
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: var(--space-4);
  border: 2px solid var(--ink);
  padding: 0;
  background: var(--card);
  width: 100%;
  cursor: pointer;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--hard-sm);
  display: block;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery__item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.gallery__item img {
  width: 100%;
  height: auto;
}
.gallery__ph {
  aspect-ratio: var(--r-ph, 3 / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--card);
  color: var(--ink-3);
  text-align: center;
  padding: var(--space-4);
}
.gallery__ph svg {
  width: 2.3rem;
  color: var(--blue);
  opacity: 0.7;
}
.gallery__ph code {
  font-size: 0.72rem;
  color: var(--ink-3);
}
.gallery__note {
  margin-top: var(--space-5);
  text-align: center;
  color: var(--ink-2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 16, 8, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox.is-open {
  display: flex;
}
.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--r);
  box-shadow: var(--soft);
}
.lightbox button {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
}
.lightbox button:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox button svg {
  width: 1.4rem;
}
.lightbox__close {
  top: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
}
.lightbox__prev {
  left: clamp(0.5rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__next {
  right: clamp(0.5rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================================= Animations */
/* Hero entrance: pure CSS, always finishes visible even without JS. */
.hero__content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.85s var(--ease) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.14s; }
.hero__content > *:nth-child(3) { animation-delay: 0.23s; }
.hero__content > *:nth-child(4) { animation-delay: 0.32s; }
.hero__photo {
  opacity: 0;
  animation: rise 1s var(--ease) 0.3s forwards;
}
.hero__sticker {
  opacity: 0;
  animation: pop 0.6s var(--ease) 1s forwards;
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  0% { opacity: 0; transform: rotate(8deg) scale(0.4); }
  70% { opacity: 1; transform: rotate(8deg) scale(1.12); }
  100% { opacity: 1; transform: rotate(8deg) scale(1); }
}

/* Scroll effects: NATIVE CSS scroll-driven animations.
   No JS, no classes to toggle, no way to strand content hidden:
   browsers without support simply show everything static. */
@supports (animation-timeline: view()) {
  .sa,
  .sa-photo,
  .sa-pop {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: var(--ease);
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  .sa { animation-name: sa-up; }
  .sa-photo { animation-name: sa-photo; }
  .sa-pop { animation-name: sa-pop; }
}
@keyframes sa-up {
  from { opacity: 0.001; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes sa-photo {
  from { opacity: 0.001; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes sa-pop {
  from { opacity: 0.001; transform: scale(0.85); }
  to { opacity: 1; transform: none; }
}
/* Tilts live on the independent `rotate` property so scroll animations
   (which animate `transform`) never wipe them out. */

/* ------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .mission__grid,
  .connor__grid,
  .pillars,
  .involve__grid,
  .family__grid,
  .faq__grid,
  .give__grid {
    grid-template-columns: 1fr;
  }
  .factbar {
    grid-template-columns: 1fr;
  }
  .fact {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
  .fact:last-child {
    border-bottom: 0;
  }
  .hero__photo {
    order: -1;
    max-width: 20rem;
  }
  .mission__photo {
    order: -1;
  }
  .connor__media {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .give__card {
    order: -1;
  }
  .gallery {
    columns: 2;
  }
}

@media (max-width: 620px) {
  .topbar__inner {
    justify-content: center;
  }
  .topbar__right {
    display: none;
  }
  .nav__links,
  .nav > .btn {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .site-header {
    background: color-mix(in srgb, var(--paper) 96%, transparent);
  }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-strong);
    box-shadow: 0 22px 34px -20px rgba(32, 25, 16, 0.4);
    padding: var(--space-2) clamp(1.25rem, 5vw, 2.75rem) var(--space-3);
  }
  .nav.is-open .nav__links a {
    display: block;
    width: 100%;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.05rem;
  }
  .nav.is-open .nav__links li:last-child a {
    border-bottom: 0;
  }
  /* the desktop hover-underline reads as stray lines in the stacked menu */
  .nav.is-open .nav__links a::after {
    display: none;
  }
  .nav.is-open .nav__links a[aria-current="page"] {
    color: var(--blue);
  }
  .donate-float {
    display: flex;
  }
  body {
    padding-bottom: 5.5rem;
  }
  .connor__media {
    grid-template-columns: 1fr;
  }
  .gallery {
    columns: 1;
  }
  .roster__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    position: relative;
    padding-right: 2.8rem;
  }
  .roster__row::after {
    position: absolute;
    right: 1.1rem;
    top: 0.95rem;
  }
  .roster__row .role {
    text-align: left;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .sec-head {
    flex-direction: column;
    gap: var(--space-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__content > *,
  .hero__photo,
  .hero__sticker {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .sa,
  .sa-photo,
  .sa-pop {
    animation: none;
  }
  .marquee__track,
  .cloud,
  .spark,
  .floaty {
    animation: none;
  }
  .btn,
  .gallery__item,
  .donate-float,
  .help,
  .pillar,
  .roster__row {
    transition: none;
  }
  .btn:hover .heartbeat {
    animation: none;
  }
}
