@font-face {
  font-family: 'Queering Expanded';
  src: url('assets/fonts/queering-heavy-expanded.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cossette Texte';
  src: url('assets/fonts/cossette-texte-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #210d93;
  --white: #fff;
  --mint: #06ffd1;
  --display: 'Queering Expanded', Impact, sans-serif;
  --body: 'Cossette Texte', Arial, sans-serif;
  /* Paper's 792px canvas, enlarged proportionally up to 1188px. */
  --u: min(.1262626263vw, .09375rem);
  --gutter: calc(50 * var(--u));
  --section-gap: calc(80 * var(--u));
  --body-size: clamp(.9375rem, 1.893939394vw, 1.40625rem);
  --label-size: clamp(1.125rem, 2.525252525vw, 1.875rem);
  --headline-size: clamp(2.5rem, 10.1010101vw, 7.5rem);
  --section-size: clamp(1.75rem, 5.05050505vw, 3.75rem);
  --subheading-size: clamp(1.25rem, 3.535353535vw, 2.625rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font: 400 var(--body-size)/1.333333 var(--body);
  font-synthesis: none;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--mint); color: var(--blue); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
.page-shell { max-width: 74.25rem; margin-inline: auto; position: relative; isolation: isolate; }
.container { margin-inline: var(--gutter); }
.section-gap { margin-top: var(--section-gap); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: absolute; top: .75rem; left: .75rem; padding: .75rem 1rem; z-index: 5; color: var(--blue); background: var(--mint); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Shared header, navigation, and footer are rendered from one set of templates. */
.site-header { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(32 * var(--u)); padding-top: calc(40 * var(--u)); }
.brand { width: calc(113 * var(--u)); flex: none; }
.brand img { width: 100%; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: calc(24 * var(--u)); font-size: var(--body-size); line-height: 1.333333; }
.site-header .site-nav { padding-top: calc(4 * var(--u)); }
.site-nav a { text-underline-offset: .25em; }
.site-nav a:hover, .site-nav a[aria-current='page'] { text-decoration: underline; }
.nav-toggle { display: none; }

.headline, .section-title, .subheading, .board-member h3, .stat-value {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}
.headline, .stat-value { font-size: var(--headline-size); line-height: .75; }
.section-title { font-size: var(--section-size); line-height: .85; }
.subheading, .board-member h3 { font-size: var(--subheading-size); line-height: .85714286; letter-spacing: .02em; }
.eyebrow { font: 400 var(--label-size)/1 var(--body); }
.eyebrow + .headline, .eyebrow + .section-title { margin-top: calc(24 * var(--u)); }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; filter: grayscale(1); }

.hero { position: relative; margin-top: calc(60 * var(--u)); }
.hero::before {
  content: '';
  position: absolute;
  width: calc(778 * var(--u));
  height: calc(564 * var(--u));
  left: 50%;
  top: calc(-134 * var(--u));
  transform: translateX(-50%);
  z-index: -1;
  background: url('assets/SVGs/Main-header.svg') center / 100% 100% no-repeat;
  pointer-events: none;
}
.hero > .eyebrow, .hero > .headline { text-align: center; }
.home-hero { --hero-headline-size: var(--headline-size); }
.home-hero .headline { position: relative; z-index: 1; font-size: var(--hero-headline-size); letter-spacing: -.002em; }
.home-hero .headline span { display: block; }
/* Keep the photo behind the final headline line at every type and viewport size. */
.hero-photo { position: relative; z-index: 0; width: 71.0982659%; margin: calc(-.4 * var(--hero-headline-size)) auto 0; }
.team-hero::before { height: calc(334 * var(--u)); background-image: url('assets/SVGs/Team-header.svg'); }

/* Use the supplied sRGB SVG artwork intact: Paper's imported gradients differ. */
.mission-focus { position: relative; display: flow-root; }
.mission-focus::before {
  content: '';
  position: absolute;
  top: calc(-238 * var(--u));
  left: 0;
  width: 100%;
  aspect-ratio: 792 / 1024;
  background: url('assets/SVGs/Main.svg') top center / 100% auto no-repeat;
  filter: blur(20px);
  /* Keep Safari's blur surface composited when a navigation lands on #mission. */
  transform: translateZ(0);
  z-index: -1;
  pointer-events: none;
}
.right-column { width: 53.9017341%; margin-left: auto; }
.stats { display: flex; justify-content: space-between; gap: calc(24 * var(--u)); margin-top: calc(24 * var(--u)); }
.stat { width: 22.3988439%; }
.stat-value { white-space: nowrap; }
.stat > p + p { margin-top: calc(12 * var(--u)); }
.split-row { display: grid; grid-template-columns: 282fr 373fr; gap: calc(37 * var(--u)); align-items: start; }
.split-row > * { min-width: 0; }
.focus-list { display: grid; gap: calc(40 * var(--u)); margin-top: calc(40 * var(--u)); }
.focus-row ul { margin: 0; padding: 0; list-style-position: outside; }
.focus-row li::marker { font-size: .65em; }

.support { position: relative; }
.support::before, .team-body::before {
  content: '';
  position: absolute;
  width: calc(792 * var(--u));
  aspect-ratio: 792 / 892;
  left: 50%;
  top: calc(-140 * var(--u));
  transform: translateX(-50%);
  background: url('assets/SVGs/Circle.svg') center / 100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}
.support > .eyebrow, .support > .headline { text-align: center; }
.support-bottom { margin-top: calc(12 * var(--u)); grid-template-columns: 319fr 373fr; gap: 0; align-items: center; }
.donate-details { justify-self: center; text-align: center; max-width: 85%; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: calc(49 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); color: #000; background: var(--mint); border: 0; border-radius: 0; font: 800 clamp(1rem, 2.272727273vw, 1.6875rem)/1.333333 var(--display); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; text-align: center; }
.button:hover { background: #72ffe5; }
.button:focus-visible { outline-color: var(--white); }
.disclosure > summary { list-style: none; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure[open] > summary { outline: 2px solid var(--white); outline-offset: 4px; }
.connection-note { margin-top: 1rem; }
.connection-note a { display: inline-block; margin-top: .5rem; text-decoration: underline; text-underline-offset: .2em; }
.support-photo, .contact-photo, .gallery-photo { width: calc(373 * var(--u)); max-width: none; }
.support-photo { margin: calc(24 * var(--u)) auto 0; }

.contact { display: grid; grid-template-columns: minmax(0, 282fr) minmax(0, 373fr); gap: calc(24 * var(--u)) calc(37 * var(--u)); align-items: start; }
.contact-intro { min-width: 0; }
.contact-intro .section-title { width: calc(376 * var(--u)); max-width: calc(319 * var(--u)); }
.contact-intro > .section-title + p { margin-top: calc(12 * var(--u)); }
.contact-details { margin-top: calc(24 * var(--u)); }
.gallery-photo { grid-column: 1; }
.contact-form { margin-top: 1.5rem; }
.contact-form fieldset { min-width: 0; padding: 0; margin: 1rem 0 0; border: 0; }
.contact-form label { display: block; margin: 1rem 0; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: .4rem; padding: .65rem; background: #fff1; border: 1px solid #fff7; border-radius: 0; color: var(--white); resize: vertical; }
.contact-form input::placeholder { color: #fffb; }
.contact-form :disabled { cursor: not-allowed; }
.contact-form button:disabled { background: #a0afcb; color: #210d93; }

.team-body { position: relative; display: flow-root; }
.team-body::before { top: calc(422 * var(--u)); }
.leader { width: 53.9017341%; }
.leader + .leader { margin-top: var(--section-gap); margin-left: auto; }
.leader .person-role { max-width: calc(326 * var(--u)); }
.leader + .leader .person-role { max-width: calc(309 * var(--u)); }
.leader > .headline + p { margin-top: calc(12 * var(--u)); }
.board-member { margin-top: calc(40 * var(--u)); }
.board-member > p { margin-top: calc(12 * var(--u)); }

.site-footer { position: relative; margin-top: var(--section-gap); padding: 0 var(--gutter) calc(33 * var(--u)); text-align: center; }
.site-footer::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: calc(784 * var(--u)); height: calc(596 * var(--u)); background: url('assets/SVGs/Footer.svg') center / 100% 100% no-repeat; z-index: -1; pointer-events: none; }
.site-footer .site-nav { justify-content: center; }
.footer-wordmark { display: block; width: calc(551 * var(--u)); max-width: 100%; margin: calc(24 * var(--u)) auto 0; }
.footer-wordmark img { width: 100%; }
.copyright { margin-top: calc(12 * var(--u)); }

@media (max-width: 600px) {
  :root { --gutter: 1.25rem; --section-gap: 4rem; --body-size: 1rem; --label-size: 1.125rem; --section-size: clamp(1.75rem, 5.5vw, 2.125rem); --subheading-size: clamp(1.25rem, 4.25vw, 1.5rem); }
  body { line-height: 1.4; }
  .site-header { position: relative; z-index: 3; gap: .75rem; padding-top: 1.5rem; align-items: center; flex-wrap: wrap; }
  .brand { width: 5.25rem; }
  .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: .625rem; border: 0; border-radius: 0; background: transparent; color: var(--white); cursor: pointer; }
  .nav-toggle-icon { position: relative; display: block; width: 1.5rem; height: 1.125rem; }
  .nav-toggle-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; }
  .nav-toggle-icon span:nth-child(1) { top: 0; }
  .nav-toggle-icon span:nth-child(2) { top: calc(50% - 1px); }
  .nav-toggle-icon span:nth-child(3) { bottom: 0; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-icon span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
  .nav-toggle[aria-expanded='true'] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-icon span:nth-child(3) { bottom: calc(50% - 1px); transform: rotate(-45deg); }
  .header-navigation { width: 100%; }
  .nav-toggle:not([hidden]) + .header-navigation { position: absolute; top: calc(100% + .75rem); left: 0; right: 0; padding: .5rem 1rem; background: var(--blue); border: 1px solid #ffffff40; box-shadow: 0 .75rem 1.5rem #10054b40; }
  .site-header .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; font-size: 1.125rem; }
  .site-header .site-nav a { display: flex; align-items: center; min-height: 2.75rem; padding-block: .625rem; }
  .site-header .site-nav a:focus-visible { outline-offset: 2px; }
  .hero { margin-top: 3rem; }
  .headline, .stat-value { line-height: .8; }
  .home-hero { --hero-headline-size: clamp(1.5rem, 9.95vw, 3.75rem); }
  .home-hero .headline { letter-spacing: -.01em; }
  .hero::before { top: -4.5rem; width: calc(100vw - 4px); height: 75vw; }
  .team-hero::before { height: 43vw; }
  .hero-photo { width: 100%; }
  .section-title { line-height: .95; }
  .subheading, .board-member h3 { line-height: 1; }
  .eyebrow { line-height: 1.15; }
  .eyebrow + .headline, .eyebrow + .section-title { margin-top: 1.25rem; }
  /* Size artwork height independently: Safari transfers aspect-ratio minimum
     heights into wider layers, which otherwise creates sideways page scrolling. */
  .mission-focus::before { top: 0; height: max(64rem, 129.2929293vw); aspect-ratio: auto; background-size: 100% 100%; }
  .right-column { width: 90%; margin-left: 0; }
  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
  .stat { width: auto; }
  .stat-value { font-size: clamp(3.5rem, 12.5vw, 4.75rem); }
  .stat > p + p { margin-top: .75rem; max-width: 12rem; }
  .split-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .focus-intro .section-title { max-width: 14rem; }
  .focus-list { margin-top: 2.5rem; gap: 2rem; }
  .focus-row ul { padding-left: 1rem; }
  .focus-row li + li { margin-top: .2rem; }
  .support::before { width: 100vw; top: -3rem; height: max(36rem, 112.6262626vw); aspect-ratio: auto; background-size: 100% 100%; }
  .support > .headline { font-size: clamp(1.75rem, 9.4vw, 3.525rem); line-height: .9; }
  .support-bottom { margin-top: 1.5rem; }
  .donate-details { grid-row: 2; justify-self: center; }
  .button { min-height: 3rem; padding: .75rem 1rem; }
  .support-photo, .contact-photo, .gallery-photo { width: 100%; }
  .support-photo { margin-top: 1.75rem; }
  .contact { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-intro .section-title { width: auto; max-width: none; }
  .contact-intro > .section-title + p { margin-top: .75rem; }
  .contact-details { margin-top: 1.25rem; }
  .team-body::before { top: 20rem; width: 100vw; height: max(46rem, 112.6262626vw); aspect-ratio: auto; background-size: 100% 100%; }
  .leader { width: 90%; }
  .leader + .leader { margin-left: 0; }
  .leader .headline { font-size: clamp(2rem, 12.3vw, 4.5rem); }
  .leader .person-role, .leader + .leader .person-role { max-width: 19rem; }
  .leader > .headline + p { margin-top: 1rem; }
  .board-member { margin-top: 2rem; }
  .board-member > p { margin-top: .75rem; }
  .site-footer { padding-bottom: 1.5rem; }
  .site-footer::before { width: 100%; height: 24rem; }
  .site-footer .site-nav { gap: .75rem 1rem; font-size: .875rem; }
  .footer-wordmark { width: 90%; margin-top: 1.5rem; }
  .copyright { margin-top: .75rem; font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .page-shell { max-width: none; }
  .skip-link { display: none; }
  .leader, .board-member, .focus-row, .photo { break-inside: avoid; }
}
