/* =====================================================================
   POSITIVE RIPPLES — x.company DNA. Dark hero, tile grid of impact,
   white project deep-dives, dark donate. Big confidence, big air.
===================================================================== */
:root{
  --black:        #0A0A0A;
  --black-soft:   #161616;
  --white:        #FFFFFF;
  --paper:        #FAFAF8;
  --ink:          #1A1A1A;
  --ink-soft:     #555555;
  --ink-mute:     #888888;
  --rule:         #E8E8E3;
  --rule-dark:    rgba(255,255,255,0.12);

  --teal:         oklch(46% 0.060 195);
  --teal-deep:    oklch(34% 0.058 198);
  --gold:         oklch(67% 0.108 75);
  --coral:        oklch(58% 0.135 32);
  --forest:       oklch(36% 0.060 145);
  --dusty:        oklch(48% 0.056 252);
  --cream:        oklch(94% 0.020 85);

  --display: "Cabinet Grotesk", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --body:    "Switzer", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif:   "Erode", "Iowan Old Style", Georgia, serif;

  --gutter:  clamp(1.5rem, 4vw, 4rem);
  --rhythm:  clamp(5rem, 11vw, 10rem);
}

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

html{ scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body{
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
}
::selection{ background: var(--white); color: var(--black); }
img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }

/* Film-grain overlay — gives flat fills material texture without
   noise becoming visible on the photos. soft-light keeps it tonal. */
body::before{
  content: "";
  position: fixed; inset: -10%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.55;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
@media (prefers-reduced-motion: reduce){ body::before{ opacity: 0.35; } }

/* =====================================================================
   NAV — minimal, transparent over hero
===================================================================== */
.nav{
  position: absolute; top: 0; left: 0; right: 0; z-index: 80;
  padding: 1.5rem var(--gutter);
}
.nav-inner{
  max-width: 1480px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand{
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.brand .mark{ width: 22px; height: 22px; }
.brand .mark .arc{ fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand .mark .drop{ fill: var(--white); stroke: none; }

.nav-links{ display: flex; gap: 2rem; align-items: center; }
.nav-links a{
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
.nav-links a:hover{ color: var(--white); }

.btn{
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.86rem; font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  text-decoration: none;
  transition: background 0.4s cubic-bezier(.22,1,.36,1),
              border-color 0.4s cubic-bezier(.22,1,.36,1),
              box-shadow 0.4s cubic-bezier(.22,1,.36,1),
              transform 0.4s cubic-bezier(.22,1,.36,1);
}
.btn::after{ content: "→"; transition: transform 0.3s ease; }
.btn:hover{
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 8px 24px -8px rgba(15,110,115,0.55), 0 0 0 4px rgba(15,110,115,0.18);
  transform: translateY(-1px);
}
.btn:hover::after{ transform: translateX(4px); }

/* =====================================================================
   GLASS BUTTONS — clear glass with teal accent fill on hover
===================================================================== */
.btn-glass-dark{
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--body);
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: -0.005em;
  padding: 1.1rem 1.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.45s cubic-bezier(.22,1,.36,1),
              border-color 0.45s cubic-bezier(.22,1,.36,1),
              box-shadow 0.45s cubic-bezier(.22,1,.36,1),
              transform 0.45s cubic-bezier(.22,1,.36,1);
}
.btn-glass-dark::after{ content: "→"; transition: transform 0.3s ease; }
.btn-glass-dark:hover{
  background: var(--teal);
  border-color: var(--teal);
  box-shadow:
    0 14px 40px -10px rgba(15,110,115,0.65),
    0 0 0 6px rgba(15,110,115,0.18);
  transform: translateY(-2px);
}
.btn-glass-dark:hover::after{ transform: translateX(5px); }
.btn-glass-dark.lg{ font-size: 1.1rem; padding: 1.25rem 2.1rem; }

/* Hover ripples — calm at rest, two concentric teal rings expand outward
   on hover, staggered. The pseudo handles the second ring. */
@keyframes cta-ripple-out{
  0%   { box-shadow:
           0 0 0 0px   rgba(15,110,115,0.55),
           0 0 0 0px   rgba(15,110,115,0); }
  60%  { box-shadow:
           0 0 0 14px  rgba(15,110,115,0.18),
           0 0 0 28px  rgba(15,110,115,0.10); }
  100% { box-shadow:
           0 0 0 26px  rgba(15,110,115,0),
           0 0 0 48px  rgba(15,110,115,0); }
}
.cta-pulse{ /* calm at rest, no animation */ }
.cta-pulse:hover{
  animation: cta-ripple-out 1.4s cubic-bezier(.22,1,.36,1) infinite;
}
@media (prefers-reduced-motion: reduce){
  .cta-pulse:hover{ animation: none !important; }
}

/* Solid teal CTA — for the program sections, more inviting than glass-light */
.btn-teal{
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--body);
  font-size: 1rem; font-weight: 600;
  letter-spacing: -0.005em;
  padding: 1.05rem 1.75rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white) !important;
  border: 1px solid var(--teal);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: background 0.4s cubic-bezier(.22,1,.36,1),
              border-color 0.4s cubic-bezier(.22,1,.36,1),
              box-shadow 0.4s cubic-bezier(.22,1,.36,1),
              transform 0.4s cubic-bezier(.22,1,.36,1);
}
.btn-teal::after{ content: "→"; transition: transform 0.3s ease; }
.btn-teal:hover{
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  box-shadow:
    0 16px 40px -10px rgba(15,110,115,0.55),
    0 0 0 6px rgba(15,110,115,0.18);
  transform: translateY(-2px);
}
.btn-teal:hover::after{ transform: translateX(5px); }

.btn-glass-light{
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.96rem; font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  background: rgba(15,110,115,0.06);
  color: var(--ink) !important;
  border: 1px solid rgba(15,110,115,0.28);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.45s cubic-bezier(.22,1,.36,1),
              border-color 0.45s cubic-bezier(.22,1,.36,1),
              color 0.45s cubic-bezier(.22,1,.36,1),
              box-shadow 0.45s cubic-bezier(.22,1,.36,1),
              transform 0.45s cubic-bezier(.22,1,.36,1);
}
.btn-glass-light::after{ content: "→"; transition: transform 0.3s ease; }
.btn-glass-light:hover{
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white) !important;
  box-shadow:
    0 14px 40px -10px rgba(15,110,115,0.45),
    0 0 0 6px rgba(15,110,115,0.10);
  transform: translateY(-2px);
}
.btn-glass-light:hover::after{ transform: translateX(5px); }

@media (max-width: 760px){
  .nav-links a:not(.btn){ display: none; }
}

/* =====================================================================
   HERO — black, large but not full-bleed photo, big headline.
   Like x.company: text-led with a photo accent.
===================================================================== */
.hero{
  background: var(--black);
  color: var(--white);
  padding: 7rem var(--gutter) clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero-inner{ position: relative; z-index: 1; }
.hero-inner{
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; gap: 2rem; }
}
.hero-text{ position: relative; z-index: 2; }
.hero-icon{
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-icon-svg{
  width: 100%;
  max-width: 520px;
  height: auto;
  color: var(--teal);
  overflow: visible;
}
.hero-icon-svg .ring{
  transform-origin: 120px 120px;
  transform-box: view-box;
  fill: none;
  animation: hero-ripple 20s linear infinite;
  opacity: 0;
}
.hero-icon-svg .r1{ animation-delay: 0s;    }
.hero-icon-svg .r2{ animation-delay: 2.5s;  }
.hero-icon-svg .r3{ animation-delay: 5s;    }
.hero-icon-svg .r4{ animation-delay: 7.5s;  }
.hero-icon-svg .r5{ animation-delay: 10s;   }
.hero-icon-svg .r6{ animation-delay: 12.5s; }
.hero-icon-svg .r7{ animation-delay: 15s;   }
.hero-icon-svg .r8{ animation-delay: 17.5s; }
@keyframes hero-ripple{
  0%   { transform: scale(0.4); opacity: 0; }
  8%   { opacity: 0.85; }
  100% { transform: scale(8.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .hero-icon-svg .ring{ animation: none; opacity: 0.32; }
  .hero-icon-svg .r1{ transform: scale(1.4); opacity: 0.55; }
  .hero-icon-svg .r2{ transform: scale(2.4); opacity: 0.42; }
  .hero-icon-svg .r3{ transform: scale(3.6); opacity: 0.30; }
  .hero-icon-svg .r4{ transform: scale(4.8); opacity: 0.20; }
  .hero-icon-svg .r5{ transform: scale(6.0); opacity: 0.12; }
  .hero-icon-svg .r6, .hero-icon-svg .r7, .hero-icon-svg .r8{ display: none; }
}
@media (max-width: 980px){
  .hero-icon{ display: none; }
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}
.hero-eyebrow .pip{ width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display:inline-block; }
.hero h1{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.3vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.030em;
  max-width: 28ch;
  color: var(--white);
}
.hero h1 .accent{
  color: var(--teal);
  white-space: nowrap;
}
.hero-sub{
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 75ch;
}
.hero-sub p{
  font-size: 1.25rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}
.hero-sub .btn-row{ display: flex; flex-wrap: wrap; gap: 0.6rem; }

@media (max-width: 760px){
  .hero{ padding: 7rem var(--gutter) 4rem; }
}

/* =====================================================================
   IMPACT TILE GRID — the centerpiece. Colored tiles, big numbers.
   x.company moonshot grid analog.
===================================================================== */
.tiles{
  background: var(--black);
  padding: 0 var(--gutter) var(--rhythm);
}
.tiles-inner{
  max-width: 1480px; margin: 0 auto;
}
.tiles-head{
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tiles-head .label{
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}
.tiles-head .meta{
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}

.tile-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.6rem;
}
.tile{
  position: relative;
  border-radius: 4px;
  padding: 1.6rem 1.4rem 1.4rem;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  transition: box-shadow 0.55s cubic-bezier(.22,1,.36,1),
              transform 0.55s cubic-bezier(.22,1,.36,1);
  animation: tile-float var(--float-dur, 9s) ease-in-out var(--float-delay, 0s) infinite;
  will-change: transform;
}
@keyframes tile-float{
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -4px, 0); }
}
/* Stagger 12 tiles with varied durations + offset starts so the grid
   feels like it's gently breathing, never in lockstep. */
.tile:nth-child(1)  { --float-dur: 8.0s;  --float-delay: 0s; }
.tile:nth-child(2)  { --float-dur: 9.5s;  --float-delay: -1.3s; }
.tile:nth-child(3)  { --float-dur: 11.0s; --float-delay: -2.6s; }
.tile:nth-child(4)  { --float-dur: 8.5s;  --float-delay: -3.9s; }
.tile:nth-child(5)  { --float-dur: 10.0s; --float-delay: -5.2s; }
.tile:nth-child(6)  { --float-dur: 9.0s;  --float-delay: -6.4s; }
.tile:nth-child(7)  { --float-dur: 8.0s;  --float-delay: -7.5s; }
.tile:nth-child(8)  { --float-dur: 10.5s; --float-delay: -8.7s; }
.tile:nth-child(9)  { --float-dur: 11.5s; --float-delay: -1.6s; }
.tile:nth-child(10) { --float-dur: 9.0s;  --float-delay: -3.3s; }
.tile:nth-child(11) { --float-dur: 8.5s;  --float-delay: -5.8s; }
.tile:nth-child(12) { --float-dur: 10.0s; --float-delay: -7.1s; }
.tile::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.tile > *{ position: relative; z-index: 1; }
.tile:hover{
  animation: none;
  transform: translate3d(0, -8px, 0) scale(1.015);
  box-shadow: 0 26px 50px -18px rgba(0,0,0,0.55);
}
.tile:hover::after{ opacity: 1; }
.tile .tag{
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.80;
  transition: opacity 0.3s ease;
}
.tile:hover .tag{ opacity: 1; }
.tile .num{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--white);
  transform-origin: left bottom;
  transition: transform 0.55s cubic-bezier(.22,1,.36,1);
  display: inline-block;
}
.tile:hover .num{ transform: scale(1.05); }
.tile .lbl{
  font-size: 0.92rem;
  line-height: 1.35;
  opacity: 0.88;
  max-width: 22ch;
}
.tile .arrow{
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 22px; height: 22px;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(.22,1,.36,1);
  z-index: 2;
}
.tile:hover .arrow{
  opacity: 1;
  transform: translate(4px, -4px);
}
.tile.photo:hover img{ transform: scale(1.04); }
.tile.photo img{ transition: transform 0.7s cubic-bezier(.22,1,.36,1); }
@media (prefers-reduced-motion: reduce){
  .tile{ animation: none !important; }
  .tile, .tile *, .tile::after{ transition: none !important; transform: none !important; }
}
.tile.photo{ padding: 0; min-height: 240px; }
.tile.photo img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tile.photo .photo-cap{
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  font-size: 0.78rem; font-weight: 500;
  background: rgba(10,10,10,0.65);
  padding: 0.4rem 0.7rem;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

/* Tile color rotation */
.tile.t-teal{    background: var(--teal); }
.tile.t-gold{    background: var(--gold); color: var(--black); }
.tile.t-gold .num, .tile.t-gold .tag, .tile.t-gold .lbl{ color: var(--black); }
.tile.t-cream{   background: var(--cream); color: var(--ink); }
.tile.t-cream .num, .tile.t-cream .tag, .tile.t-cream .lbl{ color: var(--ink); }
.tile.t-navy{    background: var(--dusty); }
.tile.t-coral{   background: var(--coral); }
.tile.t-forest{  background: var(--forest); }
.tile.t-dark{    background: var(--black-soft); border: 1px solid var(--rule-dark); }

/* Tile sizing in 12-col grid */
.tile.s-6{ grid-column: span 6; }
.tile.s-4{ grid-column: span 4; }
.tile.s-3{ grid-column: span 3; }
.tile.s-2{ grid-column: span 2; }
.tile.s-tall{ grid-row: span 2; min-height: 410px; }
.tile.s-tall .num{ font-size: clamp(3rem, 5vw, 4.5rem); }

@media (max-width: 1024px){
  .tile.s-3, .tile.s-2{ grid-column: span 4; }
  .tile.s-4{ grid-column: span 6; }
  .tile.s-6{ grid-column: span 12; }
}
@media (max-width: 640px){
  .tile-grid{ gap: 0.45rem; }
  .tile.s-3, .tile.s-2, .tile.s-4, .tile.s-6{ grid-column: span 6; }
  .tile.s-tall{ grid-row: auto; min-height: 200px; }
  .tile.s-tall .num{ font-size: clamp(2.2rem, 8vw, 3rem); }
}

/* =====================================================================
   WHITE BAND — "Welcome to ..." style intro panel between dark sections
===================================================================== */
.welcome{
  background: var(--white);
  color: var(--ink);
  padding: var(--rhythm) var(--gutter);
}
.welcome-inner{
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: end;
}
@media (max-width: 880px){
  .welcome-inner{ grid-template-columns: 1fr; gap: 2rem; align-items: start; }
}
.welcome-eyebrow{
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
}
.welcome h2{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.030em;
  margin-top: 1.4rem;
  max-width: 16ch;
  color: var(--ink);
}
.welcome p{
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* =====================================================================
   PROJECT DEEP-DIVES — alternating cards with big photos
===================================================================== */
.project{
  background: var(--white);
  color: var(--ink);
  padding: 0 var(--gutter) var(--rhythm);
}
.project-inner{
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 3rem;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  padding-top: 4rem;
}
.project.flip .project-inner{ grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.project.flip .project-text{ order: 2; }
.project.flip .project-photo{ order: 1; }
@media (max-width: 880px){
  .project-inner, .project.flip .project-inner{ grid-template-columns: 1fr; gap: 2rem; }
  .project.flip .project-text{ order: 0; }
  .project.flip .project-photo{ order: 0; }
}
.project-text{ display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
.project-text .num-tag{
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
}
.project-text h3{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.4rem;
}
.project-text p{
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
}
.project-text .arrow-link{
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: auto;
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink);
  padding-top: 1.5rem;
}
.project-text .arrow-link::after{ content: "→"; transition: transform 0.2s; }
.project-text .arrow-link:hover::after{ transform: translateX(3px); }

.project-photo{
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper);
}
.project-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

/* =====================================================================
   QUOTE — clean white band with single big quote
===================================================================== */
.quote{
  background: var(--white);
  color: var(--ink);
  padding: var(--rhythm) var(--gutter);
  border-top: 1px solid var(--rule);
}
.quote-inner{
  max-width: 1100px; margin: 0 auto;
}
.quote q{
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.020em;
  color: var(--ink);
  quotes: none;
  display: block;
}
.quote q::before{ content: "\201C"; }
.quote q::after{ content: "\201D"; }
.quote .who{
  margin-top: 2rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.quote .who strong{ color: var(--ink); font-weight: 600; }

/* =====================================================================
   DONATE — black band, big call to action, simple amount choice
===================================================================== */
.give{
  background: var(--black);
  color: var(--white);
  padding: var(--rhythm) var(--gutter);
}
.give-inner{
  max-width: 1480px; margin: 0 auto;
}
.give h2{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.030em;
  max-width: 16ch;
  color: var(--white);
}
.give h2 .accent{
  color: var(--teal);
}
.welcome h2 .accent-serif{
  color: var(--teal);
}
.give p.dek{
  margin-top: 1.4rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 50ch;
}
.amounts{
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.amount{
  background: var(--black-soft);
  border: 1px solid var(--rule-dark);
  border-radius: 4px;
  padding: 1.6rem 1.4rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  color: var(--white) !important;
}
.amount:hover{ background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.amount .amt{
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.2rem;
  letter-spacing: -0.030em;
  line-height: 1;
}
.amount .desc{
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.70);
  margin-top: 0.5rem;
}
.amount:hover .desc{ color: rgba(255,255,255,0.92); }
@media (max-width: 880px){ .amounts{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .amounts{ grid-template-columns: 1fr; } }

.give-cta{
  margin-top: 2.5rem;
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
}
.give-cta .btn-primary{
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body);
  font-size: 1rem; font-weight: 600;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--black) !important;
  border: 1px solid var(--white);
  transition: background 0.2s, color 0.2s;
}
.give-cta .btn-primary:hover{ background: var(--teal); border-color: var(--teal); color: var(--white) !important; }
.give-cta .note{
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}

/* =====================================================================
   FOOTER
===================================================================== */
footer{
  background: var(--black);
  color: var(--white);
  padding: 3rem var(--gutter) 2rem;
  border-top: 1px solid var(--rule-dark);
}
.foot{
  max-width: 1480px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.foot a{ color: rgba(255,255,255,0.55); transition: color 0.18s; }
.foot a:hover{ color: var(--white); }
.foot .links{ display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* =====================================================================
   PRELOADER — first-load splash with concentric ripple animation
===================================================================== */
.preloader{
  position: fixed; inset: 0;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  z-index: 9999;
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1),
              visibility 0.7s cubic-bezier(.22,1,.36,1);
}
.preloader.hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-mark{
  width: 140px; height: 140px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.preloader-mark svg{ width: 100%; height: 100%; overflow: visible; }
.preloader-mark .ring{
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.4;
  transform-origin: 100px 100px;
  opacity: 0;
  animation: pre-ripple 2.6s cubic-bezier(.22,1,.36,1) infinite;
}
.preloader-mark .r1{ animation-delay: 0s; }
.preloader-mark .r2{ animation-delay: 0.65s; }
.preloader-mark .r3{ animation-delay: 1.30s; }
.preloader-mark .drop{
  fill: var(--teal);
  transform-origin: 100px 100px;
  animation: pre-drop 2.6s ease-in-out infinite;
}
@keyframes pre-ripple{
  0%   { transform: scale(0.55); opacity: 0; stroke-width: 2.5; }
  18%  { opacity: 1; }
  100% { transform: scale(3.8); opacity: 0; stroke-width: 0.4; }
}
@keyframes pre-drop{
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50%      { transform: scale(1.10); opacity: 1.00; }
}
.preloader-name{
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  color: var(--white);
  opacity: 0;
  animation: pre-fade 1s ease-out 0.4s forwards;
}
@keyframes pre-fade{ to{ opacity: 0.9; } }
@media (prefers-reduced-motion: reduce){
  .preloader-mark .ring, .preloader-mark .drop, .preloader-name{
    animation: none !important;
    opacity: 1 !important;
  }
}

/* =====================================================================
   Reveal — quiet single fade
===================================================================== */
@supports (animation-timeline: view()){
  .reveal{
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}
@keyframes rise{
  from{ opacity: 0; transform: translateY(20px); }
  to  { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   MULTI-PAGE — subpage minihero (smaller dark band that opens each page)
===================================================================== */
.minihero{
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 7rem var(--gutter) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule-dark);
  overflow: hidden;
}
.minihero-inner{
  max-width: 1480px; margin: 0 auto;
  position: relative; z-index: 2;
}
.minihero .crumb{
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1.6rem;
}
.minihero .crumb a{ color: rgba(255,255,255,0.55); transition: color 0.18s; }
.minihero .crumb a:hover{ color: var(--white); }
.minihero .crumb .sep{ opacity: 0.4; }
.minihero h1{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.030em;
  max-width: 22ch;
  color: var(--white);
}
.minihero h1 .accent{ color: var(--teal); }
.minihero .dek{
  margin-top: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.74);
  max-width: 56ch;
}

/* =====================================================================
   TEAM — text-forward board cards + partner orgs (no portraits available)
===================================================================== */
.team-section{
  background: var(--white);
  color: var(--ink);
  padding: var(--rhythm) var(--gutter);
  border-top: 1px solid var(--rule);
}
.team-section.alt{ background: var(--paper); }
.team-inner{ max-width: 1480px; margin: 0 auto; }
.team-head{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 880px){ .team-head{ grid-template-columns: 1fr; gap: 1.4rem; align-items: start; } }
.team-head .eyebrow{
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
}
.team-head h2{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-top: 1.2rem;
  max-width: 18ch;
  color: var(--ink);
}
.team-head p{
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}
.board-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 880px){ .board-grid{ grid-template-columns: 1fr; } }
.board-card{
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2rem 1.8rem 2.2rem;
  display: flex; flex-direction: column;
  gap: 0.85rem;
}
.board-card .role{
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.board-card h3{
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: -0.020em;
  color: var(--ink);
  margin: 0;
}
.board-card p{
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.board-card .quote-mini{
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.partners-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 880px){ .partners-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .partners-grid{ grid-template-columns: 1fr; } }
.partner-card{
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: border-color 0.18s, transform 0.18s;
}
.partner-card:hover{ border-color: var(--ink); transform: translateY(-2px); }
.partner-card .kind{
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}
.partner-card h4{
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 0;
}
.partner-card p{
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.partner-card p strong{ color: var(--ink); }

/* =====================================================================
   VIDEOS — 3-up embed grid + photo gallery
===================================================================== */
.videos-section{
  background: var(--white);
  color: var(--ink);
  padding: var(--rhythm) var(--gutter);
  border-top: 1px solid var(--rule);
}
.videos-section.alt{ background: var(--paper); }
.videos-inner{ max-width: 1480px; margin: 0 auto; }
.videos-head{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 880px){ .videos-head{ grid-template-columns: 1fr; gap: 1.4rem; align-items: start; } }
.videos-head .eyebrow{
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
}
.videos-head h2{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-top: 1.2rem;
  max-width: 18ch;
  color: var(--ink);
}
.videos-head p{
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}
.videos-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 1024px){ .videos-grid{ grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; } }
.video{ display: flex; flex-direction: column; gap: 0.9rem; }
.video .frame{
  aspect-ratio: 16/9;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
}
.video .frame iframe{ width: 100%; height: 100%; border: 0; }
.video .who{
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.video p{ font-size: 1rem; line-height: 1.45; color: var(--ink); font-weight: 500; }

.gallery{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
@media (max-width: 1024px){ .gallery{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px){ .gallery{ grid-template-columns: repeat(2, 1fr); } }
.gallery .gi{
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper);
}
.gallery .gi img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery .gi:hover img{ transform: scale(1.06); }

/* =====================================================================
   CONTACT — form + info side-by-side
===================================================================== */
.contact-section{
  background: var(--white);
  color: var(--ink);
  padding: var(--rhythm) var(--gutter);
  border-top: 1px solid var(--rule);
}
.contact-inner{ max-width: 1280px; margin: 0 auto; }
.contact-grid{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 880px){ .contact-grid{ grid-template-columns: 1fr; gap: 2rem; } }
.contact-info h3{
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 0.9rem;
}
.contact-info p{
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.contact-info .info-list{ list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-info .info-list li{ display: flex; flex-direction: column; gap: 0.2rem; }
.contact-info .info-list .lbl{
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.contact-info .info-list a{ color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color 0.18s; padding-bottom: 1px; }
.contact-info .info-list a:hover{ border-color: var(--ink); }
.contact-form{
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form .field{ display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form label{
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-form input, .contact-form select, .contact-form textarea{
  font-family: var(--body);
  font-size: 1rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.18s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline: none;
  border-color: var(--teal);
}
.contact-form textarea{ resize: vertical; min-height: 140px; }
.contact-form .submit{ align-self: flex-start; margin-top: 0.6rem; }

/* =====================================================================
   PROSE — about-page essay
===================================================================== */
.prose-section{
  background: var(--white);
  color: var(--ink);
  padding: var(--rhythm) var(--gutter);
  border-top: 1px solid var(--rule);
}
.prose-section.alt{ background: var(--paper); }
.prose{ max-width: 68ch; margin: 0 auto; }
.prose .eyebrow{
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.prose h2{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.prose p{
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.prose p.lead{ font-size: 1.25rem; }
.prose h3{
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 2.4rem 0 0.9rem;
  color: var(--ink);
  letter-spacing: -0.020em;
}
.prose a{ color: var(--ink); border-bottom: 1px solid var(--rule); transition: border-color 0.18s; padding-bottom: 1px; }
.prose a:hover{ border-color: var(--teal); color: var(--teal); }
