.header nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--taupe);
  text-underline-offset: 7px;
}

.home-wide { max-width: 1120px; }

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--white);
  padding-block: 0 clamp(5.5rem, 8vw, 7rem);
  --brick-page-mask: radial-gradient(ellipse 64% 72% at 50% 34%,
    transparent 0%, rgb(0 0 0 / 3.5%) 30%, rgb(0 0 0 / 22%) 56%, rgb(0 0 0 / 62%) 82%, #000 100%);
  --brick-hover-mask: radial-gradient(ellipse 45% 40% at 50% 34%,
    transparent 20%, rgb(0 0 0 / 12%) 38%, rgb(0 0 0 / 50%) 65%, #000 100%);
  --brick-pattern: url("assets/brickwork.svg");
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--bark);
  pointer-events: none;
  content: "";
}

.site-footer::before {
  mask-image: var(--brick-page-mask), var(--brick-pattern);
  mask-size: 100% 100%, 128px 48px;
  mask-position: center, left top;
  mask-repeat: no-repeat, repeat;
  mask-composite: intersect;
  opacity: .0952;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .site-footer::after {
    mask-image:
      radial-gradient(circle 150px at var(--brick-cursor-x, -200px) var(--brick-cursor-y, -200px),
        #000 0%, rgb(0 0 0 / 65%) 35%, transparent 100%),
      var(--brick-hover-mask), var(--brick-pattern);
    mask-size: 100% 100%, 100% 100%, 128px 48px;
    mask-position: center, center, left top;
    mask-repeat: no-repeat, no-repeat, repeat;
    mask-composite: intersect, intersect;
    opacity: 0;
    transition: opacity 500ms cubic-bezier(.22, 1, .36, 1);
  }
  .site-footer[data-brick-hover]::after { opacity: .30; }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .site-footer::after { content: none; }
}

@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .site-footer::before, .site-footer::after { content: none; }
}

.site-footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .6fr) minmax(0, 1.05fr);
  align-items: start;
  column-gap: clamp(1.5rem, 3.6vw, 3.5rem);
  row-gap: 2.15rem;
  padding-top: clamp(2.65rem, 5vw, 4.75rem);
  font-size: .875rem;
  line-height: 1.55;
}

.footer-signature {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1;
  text-decoration: none;
}

.footer-signature img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-identity p {
  max-width: 30ch;
  margin-top: .85rem;
  color: var(--bark);
  text-wrap: pretty;
}

.site-footer-content h2 {
  margin-bottom: .65rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.4;
  letter-spacing: normal;
  word-spacing: normal;
}

.footer-pages ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-pages a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--bark);
  text-decoration-color: var(--taupe);
  text-underline-offset: .28em;
}

.footer-pages a { text-decoration: none; }
.footer-pages a:hover, .footer-pages a:focus-visible { text-decoration: underline; }
.footer-contact p { color: var(--muted); }
.footer-contact a { display: inline-block; align-content: center; max-width: 100%; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .site-footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .site-footer { padding-bottom: 4.25rem; }
  .footer-identity, .footer-contact { grid-column: 1 / -1; }
  .footer-pages a, .footer-contact a { min-height: 44px; }
}

.editorial-page {
  --editorial-space: clamp(4.3rem, 9vw, 8rem);
  background: var(--white);
}

.editorial-page h1,
.editorial-page h2 {
  line-height: 1.01;
  text-wrap: balance;
}

.editorial-page h1 { font-size: clamp(3.25rem, 7.8vw, 7.2rem); }
.editorial-page h2 { font-size: clamp(2.1rem, 4.8vw, 4.15rem); }

.editorial-page .section-label {
  margin-bottom: 1rem;
  color: var(--bark);
}

.manifesto-page {
  color: var(--bark);
  background: var(--white);
}

.manifesto-lead {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  gap: clamp(2.5rem, 9vw, 8rem);
  max-width: 65rem;
  padding-block: clamp(3.6rem, 7vw, 7rem) clamp(1.2rem, 3vw, 3.5rem);
}

.manifesto-lead h1 {
  color: var(--ink);
  font-size: clamp(2.7rem, 5.15vw, 4.8rem);
  letter-spacing: -.018em;
  line-height: 1.045;
}

.manifesto-lead p {
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.64;
  text-wrap: pretty;
}

.manifesto-lead p {
  max-width: 39ch;
}

.manifesto-wall-plate {
  width: min(100%, 94rem);
  margin-inline: auto;
  aspect-ratio: 3.65;
}

.manifesto-wall-plate canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .manifesto-lead {
    grid-template-columns: 1fr;
    gap: 1.45rem;
    padding-block: 2.8rem 1.8rem;
  }
  .manifesto-wall-plate { aspect-ratio: 1.7; }
}
