.patrons-page {
  --patron-ink: #181410;
  --patron-paper: #f2eee7;
  --patron-ivory: #faf8f3;
  --patron-gold: #c49a28;
  --patron-russet: #6b2e12;
  background: var(--patron-paper);
}

.patrons-page .network-topbar {
  position: sticky;
}

.patron-hero {
  min-height: calc(100svh - 84px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 9vw, 140px) clamp(24px, 6vw, 96px);
  background: #100b07;
  color: #f8f3ea;
}

.patron-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("../img/reviva-mecenati-projects-atlas-v1.png");
  background-position: center;
  background-size: cover;
  filter: saturate(.82) contrast(1.04);
  transform: scale(1.015);
}

.patron-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 5, 3, .98) 0%, rgba(12, 8, 5, .92) 26%, rgba(12, 8, 5, .67) 49%, rgba(12, 8, 5, .17) 72%, rgba(12, 8, 5, .30) 100%),
    linear-gradient(0deg, rgba(8, 5, 3, .60), transparent 45%);
}

.patron-hero-copy {
  width: min(760px, 54vw);
}

.patron-kicker {
  margin: 0 0 23px;
  color: #e0b94e;
  font: 600 10px/1.4 var(--mono);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.patron-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 5.25vw, 86px);
  font-weight: 400;
  line-height: .97;
  letter-spacing: -.048em;
}

.patron-hero-copy > p:not(.patron-kicker, .patron-hero-note) {
  max-width: 640px;
  margin: 29px 0 0;
  color: rgba(248, 243, 234, .78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.patron-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.patron-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 2px;
  font: 600 9px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.patron-button.primary {
  border-color: var(--patron-gold);
  background: var(--patron-gold);
  color: #17120d;
}

.patron-button.secondary {
  color: #fff;
}

.patron-hero-note {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  line-height: 1.55;
}

.patron-section {
  padding: clamp(72px, 8vw, 125px) clamp(24px, 5vw, 82px);
}

.patron-section-heading {
  width: min(1480px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  margin: 0 auto 50px;
}

.patron-section-heading.compact {
  grid-template-columns: minmax(0, 950px);
}

.patron-section-heading h2,
.orientation-intro h2,
.traceability-copy h2 {
  margin: 11px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.patron-section-heading > p {
  max-width: 530px;
  margin: 0 0 5px;
  color: #6b645c;
  font-size: 15px;
  line-height: 1.7;
}

.project-grid {
  width: min(1480px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.restoration-project {
  overflow: hidden;
  border: 1px solid #d1c9bd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 17px 55px rgba(55, 40, 25, .06);
}

.project-image {
  height: clamp(300px, 31vw, 480px);
  background-image: url("../img/reviva-mecenati-projects-atlas-v1.png");
  background-repeat: no-repeat;
  background-size: 300% auto;
  filter: saturate(.88);
}

.project-image[data-project-panel="1"] {
  background-position: 0 center;
}

.project-image[data-project-panel="2"] {
  background-position: 50% center;
}

.project-image[data-project-panel="3"] {
  background-position: 100% center;
}

.project-body {
  padding: 24px 24px 27px;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8a8177;
  font: 600 7px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.project-topline span:first-child {
  color: #9a7420;
}

.project-body h3 {
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.3vw, 37px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.project-body > p {
  min-height: 66px;
  margin: 14px 0 20px;
  color: #666059;
  font-size: 13px;
  line-height: 1.62;
}

.project-body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid #e4dfd7;
  border-bottom: 1px solid #e4dfd7;
}

.project-body dl div + div {
  padding-left: 15px;
  border-left: 1px solid #e4dfd7;
}

.project-body dt {
  color: #938b82;
  font: 500 7px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-body dd {
  margin: 7px 0 0;
  color: #322d29;
  font-size: 11px;
}

.project-body > a {
  display: inline-block;
  margin-top: 19px;
  padding-bottom: 4px;
  border-bottom: 1px solid #a49a8f;
  color: #2d2722;
  font-size: 11px;
  font-weight: 600;
}

.patron-orientation {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(560px, 1.22fr);
  gap: clamp(55px, 8vw, 135px);
  background:
    radial-gradient(circle at 17% 13%, rgba(196, 154, 40, .13), transparent 23%),
    #19130f;
  color: #f4eee5;
}

.orientation-intro {
  align-self: start;
  max-width: 650px;
  padding-top: 20px;
}

.orientation-intro > p:not(.section-label) {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

.orientation-principle {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 17px;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.orientation-principle span {
  color: var(--patron-gold);
  font: 600 10px/1 var(--mono);
}

.orientation-principle p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.6;
}

.orientation-wizard {
  align-self: start;
  padding: clamp(25px, 4vw, 50px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: #f7f4ef;
  color: var(--patron-ink);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .22);
}

.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #d8d1c6;
}

.wizard-head > div:first-child {
  display: grid;
  gap: 7px;
}

.wizard-head span {
  color: #82796f;
  font-size: 10px;
}

.wizard-head strong {
  font: 600 8px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wizard-progress {
  display: flex;
  gap: 5px;
}

.wizard-progress i {
  width: 25px;
  height: 3px;
  background: #d7d0c5;
}

.wizard-progress i.active {
  background: var(--patron-gold);
}

.wizard-step {
  min-width: 0;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}

.wizard-step legend,
.wizard-result h3 {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.wizard-step > p:not(.section-label) {
  margin: 10px 0 24px;
  color: #776f66;
  font-size: 12px;
  line-height: 1.55;
}

.wizard-choice {
  position: relative;
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid #d9d2c8;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.wizard-choice + .wizard-choice {
  margin-top: 8px;
}

.wizard-choice:has(input:checked) {
  border-color: #2d261f;
  background: #f0ebe3;
  box-shadow: inset 4px 0 0 var(--patron-gold);
}

.wizard-choice input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #a87d10;
}

.wizard-choice span {
  display: grid;
  gap: 5px;
}

.wizard-choice strong {
  font-size: 13px;
}

.wizard-choice small {
  color: #777067;
  font-size: 10px;
  line-height: 1.45;
}

.wizard-feedback {
  min-height: 19px;
  margin-top: 14px;
  color: #9b2f26;
  font-size: 10px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid #d8d1c6;
}

.wizard-actions button {
  min-height: 43px;
  padding: 0 18px;
  border-radius: 3px;
  font: 600 8px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wizard-next,
.wizard-restart {
  margin-left: auto;
  border: 1px solid #201a15;
  background: #201a15;
  color: #fff;
}

.wizard-back {
  border: 1px solid #bbb2a8;
  background: transparent;
}

.wizard-result {
  min-height: 360px;
}

.wizard-result .section-label {
  color: #9a7420;
}

.wizard-result > p:not(.section-label) {
  max-width: 650px;
  margin: 16px 0 21px;
  color: #665e56;
  font-size: 13px;
  line-height: 1.7;
}

.wizard-result ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-result li {
  position: relative;
  padding: 12px 15px 12px 34px;
  border: 1px solid #ddd5cb;
  border-radius: 9px;
  background: #fff;
  color: #433c35;
  font-size: 11px;
}

.wizard-result li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--patron-gold);
}

.wizard-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
}

.wizard-result-actions a {
  padding-bottom: 4px;
  border-bottom: 1px solid #9e958b;
  font-size: 10px;
  font-weight: 600;
}

.support-paths {
  background: #f5f1ea;
}

.support-path-grid {
  width: min(1480px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  border: 1px solid #cec6ba;
  background: #cec6ba;
}

.support-path {
  min-height: 570px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 48px);
  background: #fff;
}

.support-path > span {
  color: #9e968d;
  font: 600 9px/1 var(--mono);
}

.support-path .path-name {
  margin: 80px 0 0;
  color: #9a7420;
  font: 600 8px/1 var(--mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}

.support-path h3 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3.1vw, 47px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.support-path > p:not(.path-name) {
  min-height: 104px;
  margin: 21px 0 0;
  color: #655e57;
  font-size: 13px;
  line-height: 1.65;
}

.support-path ul {
  display: grid;
  gap: 10px;
  margin: 25px 0 35px;
  padding: 23px 0 0;
  border-top: 1px solid #ded8d0;
  list-style: none;
}

.support-path li {
  color: #49423c;
  font-size: 11px;
}

.support-path li::before {
  content: "—";
  margin-right: 9px;
  color: #a9811a;
}

.support-path > a {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #989087;
  font-size: 10px;
  font-weight: 600;
}

.art-bonus-path {
  background:
    linear-gradient(150deg, rgba(196, 154, 40, .12), transparent 39%),
    #fff;
}

.sponsor-path {
  background:
    linear-gradient(150deg, rgba(107, 46, 18, .09), transparent 39%),
    #fff;
}

.other-path {
  background:
    linear-gradient(150deg, rgba(45, 74, 45, .08), transparent 39%),
    #fff;
}

.patron-traceability {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(560px, 1.2fr);
  gap: clamp(60px, 8vw, 140px);
  background:
    radial-gradient(circle at 84% 12%, rgba(196, 154, 40, .17), transparent 30%),
    #e7e0d5;
}

.traceability-copy {
  max-width: 620px;
}

.traceability-copy > p:not(.section-label) {
  max-width: 520px;
  margin: 26px 0 0;
  color: #665f57;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.65;
}

.traceability-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #bdb3a6;
  list-style: none;
}

.traceability-steps li {
  min-height: 106px;
  display: grid;
  grid-template-columns: 45px minmax(160px, .65fr) minmax(230px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #bdb3a6;
}

.traceability-steps span {
  color: #9a7420;
  font: 600 9px/1 var(--mono);
}

.traceability-steps strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.traceability-steps small {
  color: #6c655d;
  font-size: 11px;
  line-height: 1.55;
}

.patron-disclaimer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  gap: 50px;
  padding: 36px clamp(24px, 5vw, 82px);
  border-top: 1px solid #41362e;
  background: #211913;
  color: rgba(255, 255, 255, .55);
}

.patron-disclaimer p {
  max-width: 1000px;
  margin: 0;
  font-size: 9px;
  line-height: 1.7;
}

.patron-disclaimer strong {
  color: #d5ae49;
}

.patron-disclaimer > div {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  font: 500 7px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.patron-disclaimer a {
  color: rgba(255, 255, 255, .83);
}

.patron-footer {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 42px clamp(24px, 5vw, 82px);
  background: #100b08;
  color: #fff;
}

.patron-footer img {
  width: auto;
  height: 37px;
}

.patron-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .36);
  font: 500 7px/1.5 var(--mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}

.patron-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.patron-footer a {
  color: rgba(255, 255, 255, .58);
  font: 500 8px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

@media (max-width: 1160px) {
  .patron-hero-copy {
    width: min(720px, 70vw);
  }

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

  .restoration-project:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .restoration-project:last-child .project-image {
    height: auto;
    min-height: 420px;
  }

  .patron-orientation,
  .patron-traceability {
    grid-template-columns: 1fr;
  }

  .orientation-intro {
    padding-top: 0;
  }
}

@media (max-width: 820px) {
  .patron-section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .support-path {
    min-height: 0;
  }

  .support-path .path-name {
    margin-top: 45px;
  }

  .support-path > p:not(.path-name) {
    min-height: 0;
  }

  .patron-disclaimer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .patron-disclaimer > div {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .patron-hero {
    min-height: calc(100svh - 84px);
    align-items: flex-end;
    padding: 125px 18px 38px;
  }

  .patron-hero-image {
    background-position: 6% center;
  }

  .patron-hero::before {
    background:
      linear-gradient(0deg, rgba(8, 5, 3, .98) 0%, rgba(9, 6, 4, .90) 48%, rgba(9, 6, 4, .20) 100%),
      linear-gradient(90deg, rgba(8, 5, 3, .50), transparent);
  }

  .patron-hero-copy {
    width: 100%;
  }

  .patron-kicker {
    margin-bottom: 15px;
    font-size: 8px;
  }

  .patron-hero h1 {
    font-size: 43px;
  }

  .patron-hero-copy > p:not(.patron-kicker, .patron-hero-note) {
    margin-top: 18px;
    font-size: 15px;
  }

  .patron-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .patron-hero-note {
    margin-top: 17px;
    font-size: 8.5px;
  }

  .patron-section {
    padding: 65px 15px;
  }

  .patron-section-heading {
    margin-bottom: 31px;
  }

  .patron-section-heading h2,
  .orientation-intro h2,
  .traceability-copy h2 {
    font-size: 43px;
  }

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

  .restoration-project:last-child {
    grid-column: auto;
    display: block;
  }

  .restoration-project:last-child .project-image,
  .project-image {
    height: 360px;
    min-height: 0;
  }

  .project-body {
    padding: 21px 19px 24px;
  }

  .project-body > p {
    min-height: 0;
  }

  .patron-orientation {
    gap: 42px;
  }

  .orientation-wizard {
    padding: 19px 15px;
    border-radius: 14px;
  }

  .wizard-head {
    align-items: flex-start;
  }

  .wizard-head > div:first-child span {
    max-width: 170px;
  }

  .wizard-step legend,
  .wizard-result h3 {
    font-size: 31px;
  }

  .wizard-choice {
    padding: 15px;
  }

  .wizard-actions button {
    padding: 0 14px;
  }

  .traceability-steps li {
    grid-template-columns: 32px 1fr;
    gap: 10px 14px;
  }

  .traceability-steps small {
    grid-column: 2;
  }

  .patron-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .patron-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}

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