/* ==========================================================================
   Unrig PAC: single-page site
   Palette and type pulled from the hero art and approved mockups.
   ========================================================================== */

:root {
  --paper: #f1ece0;
  --ink: #111010;
  --ink-soft: #2b2927;
  --muted: #5d5850;
  --red: #ec3a17;
  --red-deep: #c92d0f;
  --rule: rgba(17, 16, 16, .22);

  --font-display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(72px, 8vw, 120px);

  /* Type scale: h1 (hero) > h2 (section) > figure (stats, pillar numbers) > h3 > lead > body > small > label */
  --fs-h1: clamp(56px, 7.4vw, 112px);
  --fs-h2: clamp(48px, 5.8vw, 86px);
  --fs-figure: clamp(44px, 4vw, 60px);
  --fs-h3: clamp(21px, 1.7vw, 26px);
  --fs-lead: clamp(19px, 1.4vw, 21px);
  --fs-small: 16px;
  --fs-label: 13px;

  /* Vertical rhythm */
  --space-head: 28px;   /* headline -> first line of copy */
  --space-block: 44px;  /* between blocks inside a section */
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.05vw + 10px, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain over everything, the printed-collage feel of the mockups */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  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='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.27  0 0 0 0 0.22  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.red { color: var(--red); }
.block { display: block; }

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
.display-h2 { font-size: var(--fs-h2); text-transform: uppercase; }


.subhead {
  margin: var(--space-head) 0 0;
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.lead {
  margin: var(--space-head) 0 0;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.prose { max-width: 58ch; }
.prose-lg { font-size: var(--fs-lead); line-height: 1.5; max-width: 56ch; }

/* ---------- Buttons ---------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  --btn-pad: 18px 30px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: var(--btn-pad);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .arrow {
  font-size: 18px;
  letter-spacing: 0;
  transition: transform .2s;
}
.btn:hover .arrow { transform: translateX(5px); }

.btn-solid {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }


/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(241, 236, 224, .94);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-red { color: var(--red); }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-block: 6px;
}
.nav-list a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-list a:not(.nav-cta):hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px !important;
  transition: background-color .2s;
}
.nav-cta:hover { background: var(--red); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
}
.nav-toggle-bar {
  display: block;
  width: 26px; height: 3px;
  background: var(--ink);
  transition: transform .25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type  { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(100svh, 720px);
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 30%;
}
/* Keep the copy column on clean paper; the art's own left edge is already empty */
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(241, 236, 224, .7) 30%, rgba(241, 236, 224, 0) 48%);
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 28px 48px;
}
.hero-copy { max-width: min(720px, 52vw); }

.hero-title {
  font-size: var(--fs-h1);
  line-height: .84;
  text-transform: uppercase;
  text-wrap: wrap;
}
.hero-title .line { display: block; }

.hero-body {
  margin-top: var(--space-head);
  max-width: 40ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Data strip anchoring the bottom of the hero */
.hero-stat {
  position: relative;
  background: var(--ink);
  color: var(--paper);
}
.hero-stat-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 56px);
  padding-block: 22px 26px;
}
.hero-stat-figure {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(64px, 6vw, 96px);
  line-height: .8;
  color: var(--red);
  letter-spacing: -.02em;
}
.hero-stat-figure span { font-size: .6em; vertical-align: .42em; margin-left: .04em; }
.hero-stat-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(241, 236, 224, .82);
}
.hero-stat-text strong { color: var(--paper); font-weight: 700; }
.hero-stat-kicker {
  margin: 0;
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 3px solid var(--red);
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.1;
  text-transform: uppercase;
}

/* ---------- Torn paper dividers ---------- */

.tear {
  position: relative;
  z-index: 2;
  height: 34px;
  margin-block: -17px;
  background: var(--red);
  clip-path: polygon(0.0% 5%,1.4% 30%,2.9% 27%,4.3% 9%,5.7% 17%,7.1% 16%,8.6% 23%,10.0% 28%,11.4% 3%,12.9% 1%,14.3% 29%,15.7% 15%,17.1% 27%,18.6% 0%,20.0% 16%,21.4% 25%,22.9% 8%,24.3% 33%,25.7% 32%,27.1% 1%,28.6% 1%,30.0% 19%,31.4% 33%,32.9% 13%,34.3% 8%,35.7% 15%,37.1% 1%,38.6% 8%,40.0% 15%,41.4% 17%,42.9% 8%,44.3% 8%,45.7% 8%,47.1% 16%,48.6% 10%,50.0% 1%,51.4% 29%,52.9% 19%,54.3% 22%,55.7% 7%,57.1% 35%,58.6% 30%,60.0% 4%,61.4% 12%,62.9% 25%,64.3% 25%,65.7% 33%,67.1% 15%,68.6% 29%,70.0% 23%,71.4% 11%,72.9% 21%,74.3% 31%,75.7% 30%,77.1% 18%,78.6% 21%,80.0% 1%,81.4% 8%,82.9% 28%,84.3% 15%,85.7% 6%,87.1% 19%,88.6% 25%,90.0% 24%,91.4% 13%,92.9% 15%,94.3% 18%,95.7% 27%,97.1% 18%,98.6% 14%,100.0% 17%,100.0% 66%,98.6% 67%,97.1% 90%,95.7% 99%,94.3% 86%,92.9% 79%,91.4% 71%,90.0% 83%,88.6% 99%,87.1% 92%,85.7% 84%,84.3% 95%,82.9% 73%,81.4% 83%,80.0% 98%,78.6% 85%,77.1% 81%,75.7% 74%,74.3% 84%,72.9% 98%,71.4% 65%,70.0% 92%,68.6% 94%,67.1% 96%,65.7% 91%,64.3% 93%,62.9% 83%,61.4% 85%,60.0% 80%,58.6% 67%,57.1% 95%,55.7% 85%,54.3% 72%,52.9% 83%,51.4% 82%,50.0% 77%,48.6% 77%,47.1% 84%,45.7% 87%,44.3% 86%,42.9% 81%,41.4% 66%,40.0% 73%,38.6% 71%,37.1% 85%,35.7% 95%,34.3% 93%,32.9% 93%,31.4% 94%,30.0% 74%,28.6% 94%,27.1% 89%,25.7% 68%,24.3% 66%,22.9% 66%,21.4% 91%,20.0% 74%,18.6% 69%,17.1% 87%,15.7% 77%,14.3% 67%,12.9% 71%,11.4% 83%,10.0% 71%,8.6% 75%,7.1% 90%,5.7% 81%,4.3% 76%,2.9% 82%,1.4% 66%,0.0% 79%);
}
.tear-ink {
  background: var(--ink);
  height: 26px;
  margin-block: -13px;
  clip-path: polygon(0.0% 33%,1.4% 33%,2.9% 2%,4.3% 3%,5.7% 29%,7.1% 26%,8.6% 23%,10.0% 11%,11.4% 21%,12.9% 21%,14.3% 20%,15.7% 6%,17.1% 15%,18.6% 14%,20.0% 25%,21.4% 35%,22.9% 33%,24.3% 19%,25.7% 16%,27.1% 9%,28.6% 1%,30.0% 1%,31.4% 16%,32.9% 11%,34.3% 13%,35.7% 31%,37.1% 18%,38.6% 20%,40.0% 8%,41.4% 1%,42.9% 11%,44.3% 5%,45.7% 18%,47.1% 35%,48.6% 24%,50.0% 6%,51.4% 31%,52.9% 28%,54.3% 26%,55.7% 32%,57.1% 27%,58.6% 28%,60.0% 12%,61.4% 34%,62.9% 34%,64.3% 6%,65.7% 26%,67.1% 25%,68.6% 16%,70.0% 19%,71.4% 17%,72.9% 32%,74.3% 18%,75.7% 29%,77.1% 12%,78.6% 31%,80.0% 31%,81.4% 16%,82.9% 20%,84.3% 32%,85.7% 25%,87.1% 17%,88.6% 8%,90.0% 11%,91.4% 24%,92.9% 6%,94.3% 32%,95.7% 9%,97.1% 32%,98.6% 11%,100.0% 34%,100.0% 90%,98.6% 83%,97.1% 83%,95.7% 88%,94.3% 86%,92.9% 76%,91.4% 72%,90.0% 83%,88.6% 98%,87.1% 87%,85.7% 68%,84.3% 94%,82.9% 90%,81.4% 97%,80.0% 72%,78.6% 91%,77.1% 67%,75.7% 88%,74.3% 75%,72.9% 73%,71.4% 96%,70.0% 69%,68.6% 83%,67.1% 95%,65.7% 74%,64.3% 72%,62.9% 96%,61.4% 80%,60.0% 90%,58.6% 66%,57.1% 78%,55.7% 71%,54.3% 89%,52.9% 68%,51.4% 98%,50.0% 66%,48.6% 91%,47.1% 66%,45.7% 74%,44.3% 93%,42.9% 70%,41.4% 71%,40.0% 89%,38.6% 78%,37.1% 67%,35.7% 100%,34.3% 70%,32.9% 66%,31.4% 77%,30.0% 87%,28.6% 91%,27.1% 69%,25.7% 77%,24.3% 66%,22.9% 81%,21.4% 92%,20.0% 91%,18.6% 97%,17.1% 91%,15.7% 95%,14.3% 90%,12.9% 82%,11.4% 73%,10.0% 88%,8.6% 76%,7.1% 69%,5.7% 81%,4.3% 96%,2.9% 69%,1.4% 85%,0.0% 79%);
  transform: rotate(-.6deg);
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: var(--section-pad);
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-top { align-items: start; }

.split-art img { width: 100%; }

/* The Problem */
.problem .split { align-items: stretch; }
.art-problem {
  position: relative;
  margin-right: calc(var(--gutter) * -1);
}
.art-problem img {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 52% center;
}

.stats {
  margin: 40px 0 0 !important;
  border-top: 2px solid var(--ink);
}
.stat {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.stat-figure {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: var(--fs-figure);
  line-height: .9;
  color: var(--red);
  text-transform: uppercase;
}
.stat-figure .unit {
  font-size: .5em;
  letter-spacing: .01em;
  color: var(--ink);
}
.stat-text {
  margin: 0;
  max-width: 46ch;
  font-size: var(--fs-small);
  line-height: 1.5;
}
.stat-source {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* What We Do */
.about { border-top: 1px solid var(--rule); }

/* Bridge: red manifesto band between The Problem and What We Do */
.bridge {
  position: relative;
  z-index: 2;
  background: var(--red);
  color: var(--paper);
}
.bridge .tear-edge { background: var(--red); }
.bridge .tear-edge-bottom { top: auto; bottom: -22px; transform: scaleY(-1); }
.bridge-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(64px, 7vw, 104px);
}
.bridge-text:first-child { grid-column: 1; }
.bridge-text:last-child { grid-column: 2; }
.bridge-statement { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .bridge-inner { grid-template-columns: 1fr; }
  .bridge-text:last-child { grid-column: 1; }
}
.bridge-text {
  max-width: 52ch;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.5;
  font-weight: 500;
}
.bridge-statement {
  margin: var(--space-block) 0;
  font-size: var(--fs-h1);
  line-height: .86;
  text-transform: uppercase;
  color: var(--ink);
}
.what-we-do .display-h2 .line { display: block; }

.wwd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.art-wwd { margin-right: calc(var(--gutter) * -1); margin-top: var(--space-head); }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px clamp(28px, 3vw, 48px);
  margin-top: var(--space-block) !important;
}
.pillar {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: var(--fs-figure);
  line-height: .85;
  color: var(--red);
}
.pillar-title {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: var(--fs-h3);
  line-height: 1;
  text-transform: uppercase;
}
.pillar p { font-size: var(--fs-small); line-height: 1.5; }

.scrap {
  position: absolute;
  background: var(--red);
  pointer-events: none;
  z-index: 0;
}
.scrap-left {
  left: 0; bottom: 18%;
  width: clamp(18px, 3vw, 44px);
  height: 220px;
  clip-path: polygon(0.0% 0.0%,12.1% 0.0%,23.3% 0.6%,39.2% 2.7%,51.1% 0.9%,62.6% 1.6%,73.7% 1.4%,86.4% 5.2%,100.0% 5.2%,100.0% 14.8%,98.2% 28.5%,99.4% 41.4%,99.5% 50.3%,97.9% 64.7%,97.0% 74.7%,96.4% 86.4%,97.7% 100.0%,84.2% 98.2%,73.6% 98.3%,61.5% 98.4%,48.0% 95.7%,36.4% 94.7%,22.6% 93.2%,13.3% 91.2%,0.0% 92.5%,0.0% 80.6%,0.0% 68.4%,2.0% 56.3%,0.0% 44.8%,0.5% 33.6%,0.0% 24.0%,0.0% 11.7%);
}
.what-we-do .container { position: relative; z-index: 1; }

/* What We're Looking For */
.looking-for .prose { margin-top: var(--space-head); }
.art-looking { max-width: 560px; }
@media (min-width: 901px) {
  .looking-for .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .art-looking { order: -1; margin-left: calc(var(--gutter) * -1); }
}

/* About */
.about .container { position: relative; z-index: 1; }
.about-body { margin-top: var(--space-head); }
.scrap-about-left {
  left: 0; top: 12%;
  width: clamp(24px, 3.5vw, 58px);
  height: 36%;
  clip-path: polygon(0.0% 0.0%,12.1% 0.0%,23.3% 0.6%,39.2% 2.7%,51.1% 0.9%,62.6% 1.6%,73.7% 1.4%,86.4% 5.2%,100.0% 5.2%,100.0% 14.8%,98.2% 28.5%,99.4% 41.4%,99.5% 50.3%,97.9% 64.7%,97.0% 74.7%,96.4% 86.4%,97.7% 100.0%,84.2% 98.2%,73.6% 98.3%,61.5% 98.4%,48.0% 95.7%,36.4% 94.7%,22.6% 93.2%,13.3% 91.2%,0.0% 92.5%,0.0% 80.6%,0.0% 68.4%,2.0% 56.3%,0.0% 44.8%,0.5% 33.6%,0.0% 24.0%,0.0% 11.7%);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: 88px 40px;
}
.tear-footer, .tear-edge {
  position: absolute;
  top: -22px; left: 0; right: 0;
  margin: 0;
  height: 24px;
  background: var(--ink);
  clip-path: polygon(0.0% 24%,1.7% 54%,3.3% 37%,5.0% 60%,6.7% 63%,8.3% 7%,10.0% 1%,11.7% 84%,13.3% 26%,15.0% 23%,16.7% 100%,18.3% 47%,20.0% 84%,21.7% 48%,23.3% 64%,25.0% 15%,26.7% 63%,28.3% 87%,30.0% 52%,31.7% 74%,33.3% 67%,35.0% 6%,36.7% 76%,38.3% 59%,40.0% 30%,41.7% 3%,43.3% 87%,45.0% 47%,46.7% 72%,48.3% 88%,50.0% 71%,51.7% 92%,53.3% 39%,55.0% 80%,56.7% 44%,58.3% 94%,60.0% 88%,61.7% 10%,63.3% 14%,65.0% 22%,66.7% 97%,68.3% 44%,70.0% 63%,71.7% 30%,73.3% 51%,75.0% 39%,76.7% 35%,78.3% 59%,80.0% 58%,81.7% 90%,83.3% 68%,85.0% 93%,86.7% 86%,88.3% 99%,90.0% 67%,91.7% 16%,93.3% 86%,95.0% 96%,96.7% 90%,98.3% 57%,100.0% 71%,100% 100%,0% 100%);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(241, 236, 224, .2);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .85;
  text-decoration: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.footer-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .85;
}
.footer-nav a:hover { opacity: 1; color: var(--red); }

.socials {
  display: flex;
  gap: 10px;
}
.share { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.share-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
}
.share-status {
  position: absolute;
  left: 0; top: calc(100% + 8px);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.socials button { padding: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.socials a, .socials button {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(241, 236, 224, .35);
  transition: background-color .2s, border-color .2s;
}
.socials a:hover, .socials button:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  font-size: 14px;
}
.disclaimer {
  border: 1.5px solid rgba(241, 236, 224, .55);
  padding: 14px 20px;
  max-width: 560px;
}
.disclaimer p { margin: 0; }
.disclaimer-address { margin-top: 4px !important; opacity: .75; }
.legal { display: flex; gap: 12px; opacity: .7; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* ---------- Legal pages (privacy-policy/) ---------- */

.legal-page main { padding-top: var(--header-h); }
.legal-back {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.legal-back:hover { color: var(--red); }
.legal-doc { padding-bottom: calc(var(--section-pad) + 24px); }
.legal-updated {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-body {
  max-width: 68ch;
  margin-top: var(--space-block);
  padding-top: var(--space-head);
  border-top: 2px solid var(--ink);
}
.legal-body h2 {
  margin: 44px 0 12px;
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: var(--fs-h3);
  line-height: 1.05;
  text-transform: uppercase;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  margin: 28px 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legal-body p { color: var(--ink-soft); }
.legal-body a { color: var(--red); font-weight: 600; }
.legal a[aria-current="page"] { opacity: 1; text-decoration: underline; }

/* ---------- Contact dialog ---------- */

html.dialog-open { overflow: hidden; }

.contact-dialog {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  /* Collage texture (design/contact-bg-source.png rotated 90°), full bleed */
  background: var(--paper) url("../img/contact-bg.jpg") center / cover no-repeat;
  color: var(--ink);
  overflow: hidden auto; /* scrolls only if a very short screen can't fit the form */
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.contact-dialog::backdrop {
  background: rgba(17, 16, 16, .78);
  backdrop-filter: blur(3px);
}
.contact-dialog[open] { animation: dialog-in .32s cubic-bezier(.2, .7, .2, 1); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* The form is sized to fit without scrolling: spacing, type and the message box scale with viewport height (vh). */
.contact-panel {
  /* Extra top/bottom room keeps the copy clear of the collage in the corners */
  padding: clamp(56px, 9vh, 104px) clamp(24px, 6vw, 64px) clamp(36px, 7vh, 88px);
}

.contact-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 1;
  width: 44px; height: 44px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
}
.contact-close:hover { background: var(--ink); color: var(--paper); }

.contact-title {
  font-size: clamp(34px, min(5vw, 6.5vh), 64px);
  text-transform: uppercase;
  padding-right: 40px;
}
.contact-title:focus { outline: none; }
.contact-intro {
  margin: clamp(6px, 1.4vh, 14px) 0 0;
  font-size: clamp(16px, 2.2vh, 21px);
  line-height: 1.4;
  color: var(--ink-soft);
}

.contact-form { margin-top: clamp(14px, 2.8vh, 28px); display: grid; gap: clamp(10px, 1.8vh, 18px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.8vh, 18px); }
.field { display: grid; gap: clamp(4px, .8vh, 8px); }
.field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.field-optional { font-weight: 500; letter-spacing: .08em; text-transform: none; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: clamp(8px, 1.4vh, 13px) 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fbf9f4;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: none; height: clamp(64px, 15vh, 140px); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 4px 4px 0 var(--red);
}
.field-note {
  margin: calc(clamp(10px, 1.8vh, 18px) * -0.5) 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.field-note a { color: inherit; text-decoration: underline; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-error {
  margin: 0;
  padding: 8px 12px;
  border-left: 4px solid var(--red);
  background: rgba(236, 58, 23, .1);
  font-size: 15px;
  font-weight: 600;
}
.contact-submit { justify-self: start; --btn-pad: clamp(13px, 2vh, 18px) 30px; cursor: pointer; font-family: var(--font-body); }
.contact-submit:disabled { cursor: progress; opacity: .75; }
.contact-submit.is-sending .arrow { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.contact-success .btn { margin-top: 32px; cursor: pointer; font-family: var(--font-body); }

@media (max-width: 640px) {
  .contact-panel { padding: clamp(52px, 8vh, 72px) 22px clamp(24px, 4vh, 40px); }
  .contact-close { top: 10px; right: 10px; }
  .field-label { font-size: 11px; letter-spacing: .14em; }
  .field input, .field textarea { font-size: 16px; } /* 16px stops iOS zooming into the field */
  .contact-submit { justify-self: stretch; }
}
@media (max-width: 640px) and (max-height: 720px) {
  .contact-intro { display: none; }
  .field-note { font-size: 11px; }
  .field textarea { height: 64px; }
}
@media (max-height: 600px) {
  .contact-panel { padding-top: 44px; padding-bottom: 20px; }
  .contact-intro { display: none; }
  .field textarea { height: 64px; }
}

/* ---------- Pledge page (pledge/) ---------- */

.pledge { padding-block: calc(var(--section-pad) * .75) var(--section-pad); }
.pledge .container { position: relative; z-index: 1; }
.pledge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.pledge-title { font-size: var(--fs-h1); text-transform: uppercase; }
.pledge-text {
  margin: var(--space-block) 0 0;
  padding: var(--space-head) 0 0;
  border-top: 2px solid var(--ink);
  max-width: 60ch;
}
.pledge-lede { font-size: var(--fs-lead); font-weight: 600; line-height: 1.45; }
.pledge-text .pledge-points { display: grid; gap: 22px; margin: 28px 0; }
.pledge-points li {
  display: grid;
  grid-template-columns: clamp(40px, 3.4vw, 52px) minmax(0, 1fr); /* fixed number column so every line of text starts at the same edge */
  gap: 18px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.pledge-num {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(34px, 3vw, 44px);
  line-height: .9;
  color: var(--red);
}
.pledge-points p { margin: 0; font-size: var(--fs-lead); line-height: 1.45; }
.pledge-close {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: var(--fs-h3);
  line-height: 1.1;
  text-transform: uppercase;
}

/* Signature card: the contact dialog's collage texture behind a paper panel */
.pledge-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--paper) url("../img/contact-bg.jpg") center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}
/* The collage shows as a frame; the copy sits on an inset paper panel so the art never runs under text */
.pledge-panel {
  margin: clamp(18px, 2.6vw, 34px);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  background: rgba(241, 236, 224, .94);
}
.pledge-card-title { font-size: clamp(38px, 4vw, 60px); text-transform: uppercase; }
.pledge-card-title:focus { outline: none; }
.pledge-form { margin-top: 24px; }
.pledge-success-text { margin: 18px 0 0; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-soft); }
.pledge-page .site-footer { padding-block: 56px 40px; }
.pledge-page .footer-bottom { padding-top: 0; }

@media (max-width: 900px) {
  .pledge-grid { grid-template-columns: 1fr; }
  .pledge-card { position: static; margin-inline: calc(var(--gutter) * -1); }
}
@media (max-width: 640px) {
  .pledge-panel { margin: 16px; padding: 28px 18px 26px; }
  .pledge-form .field-row:first-of-type { grid-template-columns: 1fr; } /* name / email stack: emails need the width */
  .pledge-points p, .pledge-lede { font-size: 17px; }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .split-art.reveal { transform: translateX(40px); }
.js .split-art.reveal.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .split-art.reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */


@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-list.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list li { border-bottom: 1px solid var(--rule); }
  .nav-list li:last-child { border: 0; padding-top: 16px; }
  .nav-list a { display: block; padding-block: 16px; font-size: 15px; }
  .nav-list a::after { display: none; }
  .nav-cta { text-align: center; padding: 16px !important; }
  .site-header:has(.is-open) { background: var(--paper); }

  .hero { min-height: 0; }
  .hero-inner { padding-block: 32px 24px; }
  .hero-art { position: relative; inset: auto; order: 2; }
  .hero-art::after { display: none; }
  .hero-art img { height: auto; aspect-ratio: 3 / 2; }
  .hero-copy { max-width: none; }
  .hero-stat { order: 3; }
  .hero-stat-inner { grid-template-columns: auto minmax(0, 1fr); padding-block: 26px 30px; }
  .hero-stat-kicker { grid-column: 1 / -1; padding-left: 16px; }

  .split { grid-template-columns: 1fr; }
  .split-art { margin-right: calc(var(--gutter) * -1); margin-left: calc(var(--gutter) * 2); }
  .art-problem img { position: static; max-height: none; aspect-ratio: auto; }
  .art-problem { margin: var(--space-block) calc(var(--gutter) * -1) 0 0; }
  .wwd-grid { display: flex; flex-direction: column; gap: 0; }
  .art-wwd { margin: var(--space-block) calc(var(--gutter) * -1) 0 calc(var(--gutter) * 2); }

}

@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: space-between; }
  .split-art { margin-left: 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .scrap-left, .scrap-about-left { display: none; }
}
