:root {
  --ink: #101624;
  --ink-soft: #293247;
  --paper: #f4f1ea;
  --white: #fffdfa;
  --line: #c9c5ba;
  --blue: #1746d1;
  --orange: #ef5b31;
  --yellow: #ffd84a;
  --aqua: #66d4c0;
  --rose: #f0a4b5;
  --muted: #666a72;
  --max: 1240px;
  --shadow: 0 18px 54px rgba(16, 22, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0.75rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(16, 22, 36, 0.18);
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  transform: rotate(-3deg);
}

.brand-name {
  font-weight: 850;
  letter-spacing: -0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.main-nav a {
  padding: 0.6rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--blue);
}

.header-action {
  justify-self: end;
  padding: 0.7rem 0.95rem;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--orange);
}

.header-action:hover {
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  width: min(calc(100% - 2.5rem), var(--max));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow,
.section-number {
  margin: 0 0 1.4rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
}

.eyebrow span + span::before {
  content: "•";
  margin-right: 1.4rem;
  color: var(--orange);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 7.1vw, 7.1rem);
  font-weight: 500;
}

.hero-intro {
  max-width: 66ch;
  margin: 0 0 2.2rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.58;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.82rem 1.15rem;
  border: 2px solid var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button-primary {
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-primary:hover {
  box-shadow: 7px 7px 0 var(--ink);
}

.button-ghost {
  border-color: transparent;
  color: var(--blue);
}

.button-ghost:hover {
  border-color: var(--blue);
}

.independence-note {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.portrait-card {
  position: relative;
  margin: 0;
  transform: rotate(1.5deg);
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--aqua);
  box-shadow: 12px 12px 0 var(--blue);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 22, 36, 0.25));
  pointer-events: none;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.78) contrast(1.06);
}

.portrait-index {
  position: absolute;
  z-index: 1;
  top: 0.7rem;
  right: 0.8rem;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.portrait-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 1rem 0.2rem 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.portrait-card figcaption strong {
  font-size: 1rem;
}

.portrait-card figcaption span {
  color: var(--muted);
}

.photo-credit {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.photo-credit a {
  text-underline-offset: 0.18rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--white);
}

.proof-item {
  min-height: 145px;
  padding: 1.7rem max(1.2rem, calc((100vw - var(--max)) / 8));
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 0.55rem;
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.08;
}

.proof-item span {
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.section {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9.5rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  margin-bottom: 4rem;
}

.section-heading h2,
.transparency-copy h2,
.final-cta h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 500;
}

.section-heading > p:last-child,
.transparency-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: clamp(1.5rem, 3.2vw, 2.7rem);
  border: 2px solid var(--ink);
  overflow: hidden;
}

.project-roundnet {
  background: var(--yellow);
}

.project-loi {
  background: var(--aqua);
}

.project-incestes {
  background: var(--rose);
}

.project-news {
  background: var(--white);
}

.project-charte {
  grid-column: 1 / -1;
  min-height: 390px;
  background: #dce5ff;
}

.project-charte h3 {
  max-width: 16ch;
}

.project-topline,
.support-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.project-type,
.support-mode {
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.25rem 0.55rem;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.status-active {
  color: #0c553f;
  background: rgba(255, 255, 255, 0.55);
}

.status-archive,
.status-rebuild {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.project-mark {
  position: absolute;
  right: 1.2rem;
  top: 5.6rem;
  color: rgba(16, 22, 36, 0.11);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 10vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
}

.project-card h3 {
  position: relative;
  max-width: 10ch;
  margin: auto 0 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  font-weight: 500;
}

.project-card > p {
  position: relative;
  max-width: 55ch;
  margin: 0 0 1.2rem;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 1.5rem;
  border-top: 1px solid rgba(16, 22, 36, 0.4);
  border-bottom: 1px solid rgba(16, 22, 36, 0.4);
}

.project-facts div {
  padding: 0.75rem 0;
}

.project-facts dt {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0.12rem 0 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.project-features li {
  padding: 0.35rem 0.58rem;
  border: 1px solid rgba(16, 22, 36, 0.45);
  font-size: 0.75rem;
  font-weight: 750;
}

.project-context {
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.project-link,
.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 2px solid currentColor;
  font-weight: 850;
  text-decoration: none;
}

a.project-link:hover,
a.support-link:hover {
  color: var(--blue);
}

.project-link-muted {
  color: rgba(16, 22, 36, 0.62);
}

.support {
  width: 100%;
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.support-heading {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.support-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: min(100%, var(--max));
  margin: 0 auto 2rem;
}

.filter-button {
  min-height: 44px;
  padding: 0.55rem 0.86rem;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.support-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  transition: opacity 180ms ease, transform 180ms ease;
}

.support-card:nth-child(4),
.support-card:nth-child(5) {
  grid-column: span 3;
}

.support-card[hidden] {
  display: none;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 900;
}

.support-mode {
  padding-top: 0.4rem;
  color: var(--muted);
}

.support-card h3 {
  margin: auto 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 500;
}

.support-card p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.support-paypal {
  background: #dce5ff;
}

.support-patreon {
  background: #ffe1d8;
}

.support-ulule {
  background: #e2f8f3;
}

.support-substack {
  background: #fff0cb;
}

.support-medium {
  background: #e9e9e7;
}

.support-link.is-disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.choice-guide {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
  width: min(100%, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}

.choice-guide-label {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.choice-guide p {
  max-width: 75ch;
  margin: 0;
}

.transparency {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.transparency-copy {
  position: sticky;
  top: 115px;
}

.transparency-copy h2 {
  margin-bottom: 1.7rem;
}

.funding-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.funding-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.funding-list li > span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
}

.funding-list strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.08rem;
}

.funding-list p {
  margin: 0;
  color: var(--muted);
}

.principle {
  grid-column: 2;
  padding: 1.4rem 1.5rem;
  border-left: 6px solid var(--orange);
  background: var(--ink);
  color: var(--white);
}

.principle p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.final-cta {
  display: grid;
  grid-template-columns: 0.35fr 1.25fr 0.6fr;
  gap: 2.5rem;
  align-items: end;
  padding: clamp(4rem, 9vw, 8rem) max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--blue);
  color: var(--white);
}

.final-cta .section-number {
  color: var(--yellow);
}

.final-cta h2 {
  max-width: 12ch;
}

.final-actions {
  align-items: flex-start;
  flex-direction: column;
}

.button-light {
  border-color: var(--white);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--white);
}

.text-link-light {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: end;
  padding: 2.2rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.site-footer div {
  display: flex;
  flex-direction: column;
}

.site-footer strong {
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 3rem;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section-heading {
    grid-template-columns: 0.45fr 1.55fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .support-card,
  .support-card:nth-child(4),
  .support-card:nth-child(5) {
    grid-column: span 3;
  }

  .final-cta {
    grid-template-columns: 0.35fr 1fr;
  }

  .final-actions {
    grid-column: 2;
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    min-height: 68px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    display: none;
  }

  .header-action {
    padding: 0.58rem 0.7rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: clamp(2.5rem, 8vw, 4rem) 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .portrait-card {
    width: min(85%, 390px);
    margin-left: auto;
    margin-top: 1rem;
  }

  .proof-item {
    min-height: 128px;
    padding: 1.35rem 1.25rem;
  }

  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .section-heading {
    display: block;
    margin-bottom: 2.8rem;
  }

  .section-heading h2 {
    margin-bottom: 1.3rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-charte {
    grid-column: auto;
  }

  .project-card {
    min-height: 440px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card,
  .support-card:nth-child(4),
  .support-card:nth-child(5) {
    grid-column: auto;
    min-height: 280px;
  }

  .choice-guide {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .transparency {
    grid-template-columns: 1fr;
  }

  .transparency-copy {
    position: static;
  }

  .principle {
    grid-column: 1;
  }

  .final-cta {
    display: block;
  }

  .final-cta h2 {
    margin-bottom: 2.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }
}

@media (max-width: 460px) {
  .eyebrow {
    display: block;
  }

  .eyebrow span {
    display: block;
    margin-bottom: 0.3rem;
  }

  .eyebrow span + span::before {
    content: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .project-topline {
    flex-direction: column;
  }

  .project-mark {
    top: 7.8rem;
  }

  .support-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
