:root {
  --support-wash: rgba(249, 244, 234, .9);
  --support-panel: rgba(249, 244, 234, .78);
  --support-rule: rgba(108, 78, 60, .26);
  --support-shadow: rgba(66, 43, 34, .14);
}

.support-page {
  --support-accent: #7a342f;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(239, 229, 213, .88), rgba(239, 229, 213, .88)),
    url("assets/rosette-wallpaper-light.webp");
  background-size: auto, 520px 520px;
}

.support-page main {
  overflow: hidden;
}

.support-breadcrumb {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.support-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--terracotta);
}

.support-breadcrumb a {
  text-decoration-color: rgba(110, 98, 89, .45);
  text-underline-offset: 4px;
}

.support-hero .eyebrow,
.support-section .eyebrow,
.identity-note .eyebrow,
.not-found .eyebrow,
.not-found-routes .eyebrow,
.work-label,
.legal-updated,
.legal-copy a {
  color: var(--support-accent);
}

.support-hero {
  position: relative;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 136px) 0 clamp(78px, 9vw, 128px);
}

.support-hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: min(36vw, 410px);
  aspect-ratio: 1;
  background: url("assets/rosette-painted-logo-192.webp") center / contain no-repeat;
  filter: sepia(.12) saturate(.72);
  opacity: .085;
  transform: rotate(8deg);
  pointer-events: none;
}

.support-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.support-hero h1 {
  max-width: 940px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(60px, 7.4vw, 106px);
  line-height: .86;
}

.support-hero h1 i {
  color: var(--terracotta);
  font-weight: 500;
}

.support-hero .support-lede {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.72;
}

.support-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.support-section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(82px, 9vw, 126px) 0;
  border-top: 1px solid var(--line);
}

.support-heading {
  display: grid;
  grid-template-columns: minmax(180px, .52fr) minmax(0, 1.48fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.support-heading h2,
.support-art-copy h2,
.legal-page h1,
.not-found-copy h1 {
  margin: 0;
  font-size: clamp(47px, 5.4vw, 76px);
  line-height: .9;
}

.support-heading > div > p:last-child {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.plain-language {
  margin-top: 66px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(42px, 8vw, 116px);
  align-items: start;
}

.plain-language blockquote {
  margin: 0;
  padding: 0 0 0 30px;
  border-left: 2px solid var(--terracotta);
  font: 500 clamp(31px, 3.1vw, 45px)/1.03 "Cormorant Garamond", Georgia, serif;
}

.plain-language-copy {
  border-top: 1px solid var(--line);
}

.plain-language-copy p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}

.principle-ledger {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.principle-ledger article {
  display: grid;
  grid-template-columns: minmax(160px, .65fr) minmax(0, 1.35fr);
  gap: clamp(36px, 7vw, 92px);
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.principle-ledger h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: .95;
}

.principle-ledger p {
  max-width: 710px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.support-art-break {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  min-height: 680px;
  color: #f4ead9;
  background: #273127;
}

.support-art-break figure {
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
}

.support-art-break picture,
.support-art-break img {
  width: 100%;
  height: 100%;
  display: block;
}

.support-art-break img {
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(.96);
}

.support-art-break figure::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset -22px 0 34px rgba(15, 23, 15, .24);
  pointer-events: none;
}

.support-art-break figcaption {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: 10px;
  max-width: calc(100% - 26px);
  padding: 5px 7px;
  color: rgba(255, 250, 238, .68);
  background: rgba(24, 28, 22, .58);
  font-size: 8px;
  letter-spacing: .04em;
}

.support-art-break figcaption a {
  text-decoration-color: rgba(255, 250, 238, .3);
  text-underline-offset: 3px;
}

.support-art-copy {
  align-self: center;
  max-width: 660px;
  padding: clamp(60px, 7vw, 104px);
}

.support-art-copy .eyebrow {
  color: #dfb974;
}

.support-art-copy h2 {
  color: #fff8e9;
}

.support-art-copy > p:last-child {
  margin: 27px 0 0;
  color: #d8d9cd;
  font-size: 17px;
  line-height: 1.75;
}

.identity-note {
  padding: clamp(74px, 8vw, 108px) max(28px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(45px, 8vw, 115px);
  background: rgba(234, 213, 207, .76);
  border-top: 1px solid #c7a9a0;
  border-bottom: 1px solid #c7a9a0;
}

.identity-note h2 {
  margin: 0;
  font-size: clamp(44px, 4.5vw, 65px);
  line-height: .93;
}

.identity-note p {
  max-width: 720px;
  margin: 5px 0 0;
  color: #5e4b45;
  font-size: 17px;
  line-height: 1.75;
}

.work-ledger {
  margin-top: 64px;
  display: grid;
  gap: 34px;
}

.work-entry {
  position: relative;
  padding: clamp(34px, 5vw, 58px);
  background: rgba(249, 244, 234, .88);
  border: 1px solid var(--line);
  box-shadow: 8px 9px 0 var(--support-shadow);
}

.work-entry:nth-child(2) {
  margin-left: clamp(0px, 4vw, 58px);
  background: rgba(221, 226, 217, .89);
}

.work-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.work-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.work-entry h2 {
  max-width: 820px;
  margin: 22px 0 0;
  font-size: clamp(44px, 5vw, 69px);
  line-height: .91;
}

.work-entry .work-summary {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.73;
}

.work-details {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr);
  gap: clamp(35px, 7vw, 92px);
  padding-top: 29px;
  border-top: 1px solid var(--line);
}

.work-details h3 {
  margin: 0 0 13px;
  font-size: 27px;
  line-height: 1;
}

.work-details p,
.work-details li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.67;
}

.work-details p {
  margin: 0;
}

.work-details ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-details li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.work-details li:last-child {
  border-bottom: 1px solid var(--line);
}

.work-entry:nth-child(2) .work-summary,
.work-entry:nth-child(2) .work-details p,
.work-entry:nth-child(2) .work-details li {
  color: #655b53;
}

.truth-note {
  margin-top: 50px;
  max-width: 820px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  width: min(860px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 126px) 0;
}

.legal-page .support-breadcrumb {
  width: auto;
  padding-top: 0;
}

.legal-page header {
  padding: 53px 0 50px;
  border-bottom: 1px solid var(--line);
}

.legal-page header > p:last-child {
  max-width: 700px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.legal-updated {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-copy {
  padding: 28px 0 0;
}

.legal-copy section {
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 3vw, 39px);
  line-height: 1;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}

.legal-copy p {
  margin: 12px 0 0;
}

.legal-copy ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-copy li + li {
  margin-top: 8px;
}

.legal-copy a {
  color: var(--terracotta);
  text-underline-offset: 3px;
}

.not-found {
  width: min(var(--max), calc(100% - 56px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: clamp(78px, 10vw, 145px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(48px, 9vw, 130px);
  align-items: center;
}

.not-found-copy h1 {
  font-size: clamp(74px, 11vw, 150px);
}

.not-found-copy h1 i {
  display: block;
  color: var(--terracotta);
  font-size: .56em;
  font-weight: 500;
}

.not-found-copy > p {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.not-found-routes {
  position: relative;
  padding: 38px;
  background: rgba(249, 244, 234, .83);
  border: 1px solid var(--line);
  box-shadow: 8px 9px 0 var(--support-shadow);
}

.not-found-routes::before {
  content: "";
  position: absolute;
  top: -24px;
  right: 24px;
  width: 66px;
  height: 66px;
  border: 1px solid var(--terracotta);
  border-radius: 54% 46% 55% 45%;
  transform: rotate(28deg);
  opacity: .35;
}

.not-found-routes h2 {
  margin: 0 0 18px;
  font-size: 34px;
}

.not-found-routes a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
}

.not-found-routes a:last-child {
  border-bottom: 1px solid var(--line);
}

.not-found-routes a:hover {
  color: var(--terracotta);
}

.support-page .contact-band {
  position: relative;
}

.support-page .footer-bottom {
  flex-wrap: wrap;
}

.support-page .contact-band::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 11%;
  width: 120px;
  height: 120px;
  background: url("assets/rosette-painted-logo-192.webp") center / contain no-repeat;
  filter: sepia(.1) saturate(.72);
  opacity: .15;
  transform: rotate(-11deg);
  pointer-events: none;
}

body[data-theme="dark"].support-page {
  --support-accent: #f0b294;
  --support-wash: rgba(38, 39, 34, .92);
  --support-panel: rgba(47, 47, 41, .88);
  --support-rule: rgba(220, 202, 176, .22);
  --support-shadow: rgba(0, 0, 0, .24);
  background-color: #252621;
  background-image:
    linear-gradient(rgba(37, 38, 33, .92), rgba(37, 38, 33, .92)),
    url("assets/rosette-wallpaper-dark.webp");
}

body[data-theme="dark"] .support-hero::before {
  border-color: rgba(218, 169, 145, .18);
}

body[data-theme="dark"] .work-entry,
body[data-theme="dark"] .not-found-routes {
  background: rgba(48, 47, 41, .91);
}

body[data-theme="dark"] .work-entry:nth-child(2) {
  background: rgba(40, 51, 42, .92);
}

body[data-theme="dark"] .work-entry:nth-child(2) .work-summary,
body[data-theme="dark"] .work-entry:nth-child(2) .work-details p,
body[data-theme="dark"] .work-entry:nth-child(2) .work-details li {
  color: var(--muted);
}

body[data-theme="dark"] .identity-note {
  background: rgba(73, 58, 60, .88);
  border-color: #765b5e;
}

body[data-theme="dark"] .identity-note p {
  color: #d6c6bb;
}

body[data-theme="dark"] .support-art-break {
  background: #172018;
}

body[data-theme="dark"] .support-art-break img {
  filter: saturate(.72) brightness(.72) contrast(1.05);
}

body[data-theme="dark"] .support-art-break figure::after {
  box-shadow: inset -22px 0 38px rgba(8, 12, 8, .48);
}

@media (max-width: 900px) {
  .support-heading,
  .plain-language,
  .identity-note,
  .support-art-break,
  .work-details,
  .not-found {
    grid-template-columns: 1fr;
  }

  .support-hero::before {
    top: 33%;
    right: -20%;
    width: 300px;
    height: 300px;
  }

  .support-art-break figure,
  .support-art-break {
    min-height: 0;
  }

  .support-art-break figure {
    height: min(72vw, 620px);
  }

  .support-art-copy {
    padding: 72px 28px 82px;
  }

  .work-entry:nth-child(2) {
    margin-left: 0;
  }

  .not-found {
    min-height: 0;
  }

  .not-found-routes {
    max-width: 620px;
  }
}

@media (max-width: 600px) {
  .support-page {
    background-size: auto, 360px 360px;
  }

  .support-breadcrumb,
  .support-hero,
  .support-section,
  .not-found {
    width: calc(100% - 36px);
  }

  .support-breadcrumb {
    padding-top: 18px;
  }

  .support-hero {
    padding-top: 62px;
    padding-bottom: 76px;
  }

  .support-hero h1 {
    font-size: clamp(53px, 16vw, 72px);
  }

  .support-hero .support-lede,
  .support-heading > div > p:last-child,
  .support-art-copy > p:last-child,
  .identity-note p,
  .work-entry .work-summary,
  .not-found-copy > p {
    font-size: 16px;
  }

  .support-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .support-section {
    padding: 76px 0;
  }

  .support-heading {
    gap: 24px;
  }

  .support-heading h2,
  .support-art-copy h2,
  .legal-page h1 {
    font-size: 46px;
  }

  .plain-language {
    margin-top: 46px;
    gap: 37px;
  }

  .plain-language blockquote {
    padding-left: 20px;
    font-size: 32px;
  }

  .principle-ledger {
    margin-top: 44px;
  }

  .principle-ledger article {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 27px 0;
  }

  .support-art-break figure {
    height: 105vw;
  }

  .support-art-copy {
    padding: 64px 18px 72px;
  }

  .identity-note {
    padding: 68px 18px;
  }

  .work-entry {
    padding: 28px 22px;
  }

  .work-entry h2 {
    font-size: 43px;
  }

  .work-details {
    gap: 31px;
  }

  .legal-page {
    width: calc(100% - 36px);
    padding-top: 55px;
  }

  .legal-page header {
    padding-top: 40px;
  }

  .legal-copy p,
  .legal-copy li {
    font-size: 15.5px;
  }

  .not-found {
    padding: 72px 0 90px;
  }

  .not-found-copy h1 {
    font-size: 92px;
  }

  .not-found-routes {
    padding: 30px 22px;
  }
}

/* A deeper invitation band keeps its smaller copy crisp in both color modes. */
.support-page .contact-band {
  color: #fff8eb;
  background-color: #67343f;
  background-image:
    radial-gradient(rgba(255, 240, 210, .08) .8px, transparent .8px),
    linear-gradient(125deg, rgba(29, 14, 18, .23), transparent 58%);
}

.support-page .contact-band h2 {
  color: #fff8eb;
}

.support-page .contact-band .eyebrow {
  color: #ffd9af;
}

.support-page .contact-band > p:not(.eyebrow) {
  color: #fff0df;
}

body[data-theme="dark"].support-page .contact-band {
  background-color: #512b34;
}
