/* ==========================================================================
   Homepage ("paper and ribbons")

   Loaded by site/index.html only, after style.css. Everything is scoped under
   body.page-home / main.hp so no other page can pick it up.

   Colour follows the same rule as style.css: light-dark() tokens resolved
   against color-scheme, each with a plain light fallback on the line above,
   so the site's Light / Dark / System switch drives this page too.

   The palette and fonts are style.css's own tokens: the --hp-* names below
   are aliases kept so this file reads as it did, and so the site-wide
   high-contrast and plain-font options reach the homepage too. The
   @font-face rules live in style.css.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */

.page-home {
  --hp-serif: var(--font-serif);
  --hp-sans: var(--font-sans);
  --hp-mono: var(--font-mono);

  /* page, cards and text */
  --hp-paper: var(--bg);
  --hp-card: var(--surface);
  --hp-glass: var(--glass);
  --hp-tape: var(--tape);
  --hp-ink: var(--text);
  --hp-ink-soft: var(--text-soft);
  --hp-muted: var(--text-muted);

  /* links */
  --hp-link: var(--accent);
  --hp-link-hover: var(--link-hover);

  /* tints of the flag colours, for card fills and hovers */
  --hp-blue-soft: var(--blue-soft);
  --hp-pink-soft: var(--pink-soft);
  --hp-blue: var(--flag-blue);
  --hp-pink: var(--flag-pink);
  --hp-on-flag: var(--on-flag);

  /* the dark "primary" button inverts in dark mode */
  --hp-solid: var(--solid);
  --hp-on-solid: var(--on-solid);
  --hp-solid-hover: var(--solid-hover);

  /* lines and shadows (warm brown, deepened in dark) */
  --hp-line: var(--line);
  --hp-ring: var(--ring);
  --hp-shadow: var(--sh-deep);
  --hp-shadow-soft: var(--sh-soft);

  /* the shared page gutters the ribbons are laid out against */
  --hp-gutter-l: clamp(20px, 6vw, 86px);
  --hp-gutter-r: clamp(20px, calc(26vw - 120px), 260px);
  --hp-rail: clamp(10px, calc(13vw - 60px), 130px);
}

/* ---- Page frame --------------------------------------------------------- */

body.page-home {
  background: var(--hp-paper);
}

.hp {
  position: relative;
  z-index: 0;
  isolation: isolate;
  color: var(--hp-ink);
  background: var(--hp-paper);
  font-family: var(--hp-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hp a {
  color: var(--hp-link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}

.hp a:hover {
  color: var(--hp-link-hover);
}

.hp ::selection {
  background: var(--hp-pink);
  color: var(--hp-on-flag);
}

.hp :focus-visible {
  outline: 3px solid var(--hp-link);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The footer comes after the homepage's positioned root; lift it so the fixed
   ribbon canvas can never paint across it. */
.page-home .site-footer {
  position: relative;
  z-index: 1;
}

.hp-wrap {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

/* Every section's content column sits on the same gutters, which the
   ribbons' anchor points are measured against. */
.hp-inset {
  position: relative;
  z-index: 2;
  margin-left: var(--hp-gutter-l);
  margin-right: var(--hp-gutter-r);
}

/* Invisible 2px anchor points read by home.js to route the ribbons. */
.hp-anchor {
  position: absolute;
  width: 2px;
  height: 2px;
  pointer-events: none;
}

/* ---- Shared pieces ------------------------------------------------------ */

/* Torn-paper label above a heading, with a flag-coloured dot. */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  background: var(--hp-card);
  font-family: var(--hp-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hp-ink);
  rotate: -1.4deg;
  clip-path: polygon(1.5% 6%, 30% 0, 62% 5%, 98.5% 0, 100% 48%, 98% 100%, 55% 95%, 22% 100%, 0 94%, 1.2% 50%);
}

.hp-eyebrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hp-blue);
  box-shadow: 0 0 0 1px rgba(84, 56, 32, 0.25);
}

.hp-eyebrow__dot--pink {
  background: var(--hp-pink);
}

.hp-eyebrow__dot--white {
  background: #fff;
}

/* Section heading block: eyebrow, h2, lede. */
.hp-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.hp-h2 {
  margin: 0;
  font-family: var(--hp-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--hp-ink);
}

.hp-lede {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--hp-muted);
  max-width: 36em;
  text-wrap: pretty;
}

/* Strip of masking tape stuck over a card's edge. Position per use. */
.hp-tape {
  position: absolute;
  width: 88px;
  height: 24px;
  background: var(--hp-tape);
  box-shadow: 0 1px 2px var(--hp-shadow-soft);
  clip-path: polygon(0 8%, 5% 0, 12% 6%, 20% 0, 88% 4%, 95% 0, 100% 10%, 97% 50%, 100% 92%, 93% 100%, 85% 95%, 10% 100%, 3% 94%, 0 60%, 3% 30%);
  pointer-events: none;
}

/* Buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: translate 0.2s ease, background-color 0.2s ease;
}

.hp .hp-btn--solid {
  background: var(--hp-solid);
  color: var(--hp-on-solid);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 14px 24px -14px rgba(40, 24, 12, 0.7);
}

.hp .hp-btn--solid:hover {
  background: var(--hp-solid-hover);
  color: var(--hp-on-solid);
  translate: 0 -2px;
}

.hp .hp-btn--paper {
  background: var(--hp-card);
  color: var(--hp-ink);
  box-shadow: 0 0 0 1px var(--hp-ring), 0 12px 22px -16px var(--hp-shadow);
}

.hp .hp-btn--paper:hover {
  background: var(--hp-pink-soft);
  color: var(--hp-ink);
  translate: 0 -2px;
}

.hp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- Backdrop: light beams, ribbon canvas, paper grain ------------------ */

.hp-light {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

.hp-beam {
  position: absolute;
  top: -60vh;
  height: 230vh;
  rotate: 24deg;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(91, 206, 250, 0.16) 20%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 252, 246, 0.75) 58%, rgba(245, 169, 184, 0.18) 80%, rgba(255, 255, 255, 0) 100%);
}

.hp-beam--1 { left: 2%; width: 30vw; filter: blur(26px); }
.hp-beam--2 { left: 50%; width: 15vw; opacity: 0.85; filter: blur(22px); }
.hp-beam--3 { left: 80%; width: 9vw; opacity: 0.75; filter: blur(18px); }

.hp-canvas {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 9px 12px rgba(84, 56, 32, 0.16)) drop-shadow(0 1px 1.5px rgba(84, 56, 32, 0.2));
}

.hp-grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.6;
  background-size: 240px 240px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.33 0 0 0 0 0.24 0 0 0 0 0.16 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Without scripting there are no ribbons to draw; the canvas stays empty and
   the beams are just a soft wash, so nothing needs hiding. */

/* Dark: the white beams would read as fog, and the grain as dirt. */
:root[data-theme="dark"] .hp-light { opacity: 0.12; }
:root[data-theme="dark"] .hp-grain { opacity: 0.25; }
:root[data-theme="dark"] .hp-canvas { filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.45)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .hp-light { opacity: 0.12; }
  :root:not([data-theme]) .hp-grain { opacity: 0.25; }
  :root:not([data-theme]) .hp-canvas { filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.45)); }
}

/* "Simplify images" and high contrast drop all decoration. */
:root[data-a11y-images="reduced"] .hp-light,
:root[data-a11y-images="reduced"] .hp-canvas,
:root[data-a11y-images="reduced"] .hp-grain,
:root[data-a11y-contrast="high"] .hp-light,
:root[data-a11y-contrast="high"] .hp-canvas,
:root[data-a11y-contrast="high"] .hp-grain {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hp *,
  .hp *::before,
  .hp *::after {
    transition: none !important;
  }
}

:root[data-a11y-motion="reduce"] .hp *,
:root[data-a11y-motion="reduce"] .hp *::before,
:root[data-a11y-motion="reduce"] .hp *::after {
  transition: none !important;
}

/* ==========================================================================
   Sections (one block per section, in page order)
   ========================================================================== */

/* 01 Hero */

.hp-hero {
  position: relative;
}

.hp-hero__row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: stretch;
  column-gap: 40px;
  margin-left: var(--hp-gutter-l);
}

.hp-hero__copy {
  flex: 1 1 480px;
  max-width: 680px;
  box-sizing: border-box;
  padding: clamp(44px, 8vh, 104px) 20px clamp(80px, 12vh, 140px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hp-hero__title {
  margin: 0;
  font-family: var(--hp-serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--hp-ink);
}

.hp-hero__highlight {
  display: inline-block;
  padding: 0 0.14em 0.05em;
  margin: 0.08em -0.04em 0;
  background: var(--hp-pink);
  color: var(--hp-on-flag);
  rotate: -1.2deg;
  box-shadow: 0 1px 1px var(--hp-shadow-soft), 0 12px 20px -14px var(--hp-shadow);
}

.hp-hero__lede {
  margin: 0;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--hp-muted);
  max-width: 34em;
  text-wrap: pretty;
}

.hp-hero__strong {
  color: var(--hp-ink);
  font-weight: 700;
}

.hp-hero__note {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  font-style: italic;
  color: var(--hp-muted);
  max-width: 30em;
}

.hp-hero__art {
  flex: 1 1 260px;
  position: relative;
  min-height: clamp(160px, 20vw, 600px);
}

.hp-hero__spine--0 {
  left: 56%;
  top: -190px;
}

.hp-hero__spine--1 {
  left: 56%;
  top: 30%;
}

.hp-hero__spine--2 {
  left: 72%;
  top: 88%;
}

/* 02 Crisis support */

.hp-crisis {
  position: relative;
  margin-top: -24px;
  padding-bottom: clamp(80px, 11vw, 150px);
}

.hp-crisis__spine {
  right: var(--hp-rail);
  top: 70px;
}

.hp-crisis__exit {
  right: calc(-1 * var(--hp-rail));
  top: -60px;
}

.hp-crisis__panel {
  position: relative;
  border-radius: 6px;
  background: var(--hp-glass);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 2px var(--hp-shadow-soft), 0 26px 50px -30px var(--hp-shadow);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 40px;
}

.hp-crisis__end {
  right: 90px;
  top: 55%;
}

.hp-tape--a {
  left: 34px;
  top: -13px;
  width: 92px;
  height: 26px;
  rotate: -4deg;
}

.hp-tape--b {
  right: -18px;
  bottom: 18px;
  width: 84px;
  height: 24px;
  rotate: 78deg;
}

.hp-crisis__text {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-crisis__question {
  margin: 0;
  font-family: var(--hp-serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: var(--hp-ink);
}

.hp-crisis__sub {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--hp-muted);
}

.hp-crisis__lines {
  flex: 2 1 440px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Three phone cards share this rule. */
.hp .hp-crisis__line {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 18px 11px;
  min-width: 110px;
  background: var(--hp-card);
  border-radius: 6px;
  color: var(--hp-ink);
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--hp-ring), 0 10px 18px -14px var(--hp-shadow);
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}

.hp .hp-crisis__line:hover {
  translate: 0 -2px;
  color: var(--hp-ink);
  box-shadow: 0 0 0 2px var(--hp-link), 0 14px 22px -14px var(--hp-shadow);
}

.hp-crisis__label {
  font-family: var(--hp-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-muted);
}

.hp-crisis__number {
  font-family: var(--hp-serif);
  font-size: 26px;
  line-height: 1.05;
}

.hp-crisis__all {
  padding: 10px 6px;
  font-weight: 700;
  font-size: 16.5px;
}

/* 03 What you'll find */

.hp-services {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(100px, 13vw, 180px);
}

/* Spine anchors sit on the rail at the section's top and bottom edges. */
.hp-services__spine {
  right: var(--hp-rail);
}

.hp-services__spine--top {
  top: 0;
}

.hp-services__spine--bottom {
  bottom: 0;
}

/* Tinted cut-paper blob behind the grid, aria-hidden, moved by data-depth. */
.hp-services__blob {
  position: absolute;
  z-index: 0;
  left: -3%;
  top: 6%;
  width: 44%;
  height: 46%;
  background: var(--hp-blue-soft);
  opacity: 0.55;
  clip-path: polygon(2% 3%, 18% 0, 37% 2.5%, 58% 0, 79% 3%, 97% 0.5%, 100% 21%, 98% 44%, 100% 69%, 98.5% 97%, 77% 100%, 55% 97.5%, 33% 100%, 12% 97%, 0 99%, 1.5% 74%, 0 49%, 2% 24%);
}

/* Card grid: auto-fill columns, the exit/end anchors are measured against it. */
.hp-services__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 28px;
}

.hp-services__exit {
  right: calc(-1 * var(--hp-rail));
  top: -70px;
}

.hp-services__end {
  right: 80px;
  top: 120px;
}

/* Wrapper that carries data-depth; the card fills it. */
.hp-services__slot {
  position: relative;
  display: flex;
}

/* Paper card: shared shape, shadow and lift on hover. */
.hp-card {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 22px;
  border-radius: 4px;
  box-shadow: 0 1px 1px var(--hp-shadow-soft), 0 16px 30px -20px var(--hp-shadow);
  transition: rotate 0.3s ease, translate 0.3s ease;
}

.hp-card:hover {
  rotate: 0deg;
  translate: 0 -4px;
}

/* Card fills: white paper, pink or blue flag tint. */
.hp-card--white {
  background: var(--hp-card);
}

.hp-card--pink {
  background: var(--hp-pink-soft);
}

.hp-card--blue {
  background: var(--hp-blue-soft);
}

/* Per-card tilt, one modifier per card in source order. */
.hp-card--r1 {
  rotate: -0.6deg;
}

.hp-card--r2 {
  rotate: 0.45deg;
}

.hp-card--r3 {
  rotate: -0.35deg;
}

.hp-card--r4 {
  rotate: 0.5deg;
}

.hp-card--r5 {
  rotate: -0.4deg;
}

.hp-card--r6 {
  rotate: 0.35deg;
}

/* Tape positions: one strip at the top centre, one at the top right corner. */
.hp-services__tape--top {
  left: 50%;
  top: -12px;
  margin-left: -44px;
  rotate: 2deg;
}

.hp-services__tape--corner {
  right: 22px;
  top: -12px;
  width: 80px;
  rotate: -3deg;
}

/* Card heading and text. */
.hp-card__title {
  margin: 0;
  font-family: var(--hp-serif);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.12;
}

.hp-card .hp-card__title-link {
  color: var(--hp-ink);
  text-decoration: none;
}

.hp-card .hp-card__title-link:hover {
  color: var(--hp-link);
}

.hp-card__text {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--hp-ink-soft);
}

.hp-card__text--muted {
  color: var(--hp-muted);
}

/* Link list at the foot of a card, pushed down by margin-top auto. */
.hp-card__links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.hp-card .hp-card__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1.5px dashed var(--hp-line);
  color: var(--hp-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.hp-card .hp-card__link:last-child {
  padding-bottom: 0;
}

.hp-card .hp-card__link:hover {
  color: var(--hp-link);
}

.hp-card__arrow {
  color: var(--hp-link);
}

/* Single call-to-action at the foot of a card. */
.hp-card .hp-card__cta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1.5px dashed var(--hp-line);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--hp-link);
  text-decoration: none;
}

.hp-card .hp-card__cta:hover {
  color: var(--hp-link-hover);
}

/* 04 Directory */

.hp-directory {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(100px, 13vw, 180px);
}

.hp-directory__spine-top {
  right: var(--hp-rail);
  top: 0;
}

.hp-directory__spine-bottom {
  right: var(--hp-rail);
  bottom: 0;
}

.hp-directory__blob {
  position: absolute;
  z-index: 0;
  right: 4%;
  top: 2%;
  width: 38%;
  height: 86%;
  background: var(--hp-pink-soft);
  opacity: 0.6;
  clip-path: polygon(2% 3%, 18% 0, 37% 2.5%, 58% 0, 79% 3%, 97% 0.5%, 100% 21%, 98% 44%, 100% 69%, 98.5% 97%, 77% 100%, 55% 97.5%, 33% 100%, 12% 97%, 0 99%, 1.5% 74%, 0 49%, 2% 24%);
}

.hp-directory__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 64px;
}

.hp-directory .hp-directory__intro {
  flex: 1 1 380px;
  max-width: 560px;
  gap: 20px;
  margin-bottom: 0;
}

.hp-directory .hp-directory__dot {
  box-shadow: 0 0 0 1.5px rgba(84, 56, 32, 0.45);
}

.hp-directory .hp-lede {
  line-height: 1.6;
}

.hp-directory .hp-directory__actions {
  margin-top: 6px;
}

.hp-directory__stack {
  position: relative;
  flex: 1 1 360px;
  max-width: 520px;
  height: 470px;
  margin-left: auto;
}

.hp-directory__exit {
  right: calc(-1 * var(--hp-rail));
  top: 0;
}

.hp-directory__end {
  right: 90px;
  top: 66%;
}

.hp-directory__slot {
  position: absolute;
}

.hp-directory__slot--1 {
  right: 12%;
  top: 0;
  width: min(88%, 400px);
}

.hp-directory__slot--2 {
  right: 6%;
  top: 112px;
  width: min(90%, 410px);
}

.hp-directory__slot--3 {
  right: 0;
  top: 224px;
  width: min(100%, 440px);
}

/* On a phone a name wraps to two lines, and the 112px fan would hide the
   line under it; stack the cards in flow with just enough overlap. */
@media (max-width: 560px) {
  .hp-directory__stack {
    height: auto;
    padding-bottom: 8px;
  }

  .hp-directory__slot {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
  }

  .hp-directory__slot + .hp-directory__slot {
    margin-top: -96px;
  }
}

/* Listing link cards: one shared card, per-card tilt and tint modifiers. */
.hp .hp-dircard {
  display: block;
  position: relative;
  box-sizing: border-box;
  height: 236px;
  padding: 18px 24px;
  border-radius: 5px;
  color: var(--hp-ink);
  text-decoration: none;
  background-color: var(--hp-card);
  background-image:
    linear-gradient(180deg, transparent 62px, var(--hp-pink) 62px, var(--hp-pink) 64px, transparent 64px),
    linear-gradient(180deg, var(--hp-card) 0, var(--hp-card) 62px, transparent 62px),
    repeating-linear-gradient(180deg, transparent 0, transparent 29px, rgba(91, 206, 250, 0.5) 29px, rgba(91, 206, 250, 0.5) 30px);
  box-shadow: 0 1px 1px var(--hp-shadow-soft), 0 18px 30px -18px var(--hp-shadow);
  transition: rotate 0.3s ease, translate 0.3s ease;
}

.hp .hp-dircard:hover {
  translate: 0 -6px;
  color: var(--hp-ink);
}

.hp .hp-dircard--r1 {
  rotate: -3deg;
}

.hp .hp-dircard--r1:hover {
  rotate: -1deg;
}

.hp .hp-dircard--r2 {
  rotate: 2.4deg;
}

.hp .hp-dircard--r2:hover {
  rotate: 1deg;
}

.hp .hp-dircard--r3 {
  rotate: -1deg;
}

.hp .hp-dircard--r3:hover {
  rotate: 0deg;
}

.hp .hp-dircard--pink {
  color: var(--hp-on-flag);
  background-color: var(--hp-pink);
  background-image:
    linear-gradient(180deg, transparent 62px, rgba(255, 255, 255, 0.85) 62px, rgba(255, 255, 255, 0.85) 64px, transparent 64px),
    linear-gradient(180deg, var(--hp-pink) 0, var(--hp-pink) 62px, transparent 62px),
    repeating-linear-gradient(180deg, transparent 0, transparent 29px, rgba(255, 255, 255, 0.4) 29px, rgba(255, 255, 255, 0.4) 30px);
}

.hp .hp-dircard--pink:hover {
  color: var(--hp-on-flag);
}

.hp-dircard__title {
  display: block;
  padding-right: 64px;
  font-family: var(--hp-serif);
  font-size: 25px;
  line-height: 1.15;
}

.hp .hp-dircard--pink .hp-dircard__title {
  padding-right: 0;
}

.hp-dircard__meta {
  display: block;
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 30px;
  color: var(--hp-muted);
}

.hp .hp-dircard--pink .hp-dircard__meta {
  color: var(--hp-on-flag);
}

.hp-dircard__badge {
  position: absolute;
  right: 20px;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--hp-mono);
  font-weight: 700;
  font-size: 15px;
}

.hp-dircard__badge--blue {
  color: var(--hp-link);
  rotate: -10deg;
}

.hp-dircard__badge--rose {
  color: var(--hp-link-hover);
  rotate: 8deg;
}

.hp-dircard__count {
  position: absolute;
  left: 24px;
  bottom: 18px;
  font-family: var(--hp-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-dircard__arrow {
  position: absolute;
  right: 22px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hp-solid);
  color: var(--hp-on-solid);
  font-size: 20px;
}

/* 05 About */

.hp-about {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(100px, 13vw, 180px);
}

.hp-about__spine-top {
  right: var(--hp-rail);
  top: 0;
}

.hp-about__spine-bottom {
  right: var(--hp-rail);
  bottom: 0;
}

.hp-about__blob {
  position: absolute;
  z-index: 0;
  left: -2%;
  top: 4%;
  width: 40%;
  height: 64%;
  background: var(--hp-blue-soft);
  opacity: 0.55;
  clip-path: polygon(2% 3%, 18% 0, 37% 2.5%, 58% 0, 79% 3%, 97% 0.5%, 100% 21%, 98% 44%, 100% 69%, 98.5% 97%, 77% 100%, 55% 97.5%, 33% 100%, 12% 97%, 0 99%, 1.5% 74%, 0 49%, 2% 24%);
}

.hp-about__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 64px;
}

.hp-about .hp-about__intro {
  flex: 1 1 320px;
  max-width: none;
  gap: 22px;
  margin-bottom: 0;
  padding-top: 16px;
}

.hp-about .hp-about__title {
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1;
  letter-spacing: -0.012em;
}

.hp-about__col {
  position: relative;
  flex: 1.25 1 420px;
  display: flex;
  flex-direction: column;
}

.hp-about__paper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 4px;
  background: var(--hp-card);
  rotate: 0.5deg;
  box-shadow: 0 1px 1px var(--hp-shadow-soft), 0 22px 40px -26px var(--hp-shadow);
}

.hp-about .hp-about__tape {
  left: 50%;
  top: -13px;
  width: 96px;
  height: 26px;
  margin-left: -48px;
  rotate: -2deg;
}

.hp-about__lead {
  margin: 0;
  font-family: var(--hp-serif);
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.38;
  color: var(--hp-ink);
  text-wrap: pretty;
}

/* Blue marker stroke behind "by". Literal colour: reads on cream and night. */
.hp-about__highlight {
  background: linear-gradient(transparent 60%, rgba(91, 206, 250, 0.55) 60%, rgba(91, 206, 250, 0.55) 92%, transparent 92%);
}

.hp-about__body {
  margin: 0;
  padding-bottom: 28px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--hp-muted);
  text-wrap: pretty;
}

.hp-about__thanks {
  position: relative;
  align-self: flex-end;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 380px);
  margin-top: -36px;
  margin-right: -14px;
  padding: 26px 28px;
  border-radius: 3px;
  background: var(--hp-pink-soft);
  rotate: -2deg;
  box-shadow: 0 1px 1px var(--hp-shadow-soft), 0 20px 34px -20px var(--hp-shadow);
}

.hp-about__exit {
  right: calc(-1 * var(--hp-rail) + 14px);
  top: -80px;
}

.hp-about__end {
  right: 80px;
  top: 55%;
}

.hp-about__thanks-title {
  margin: 0;
  font-family: var(--hp-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
}

.hp-about__thanks-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--hp-ink-soft);
}

/* 06 Site donors */

.hp-donors {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(60px, 8vw, 110px);
}

.hp-donors__head {
  margin-bottom: 0;
}

.hp-donors__title {
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.06;
}

.hp-donors__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px 26px;
  margin-top: 44px;
  padding-top: 56px;
}

.hp-donors__spine-end {
  right: calc(-1 * var(--hp-rail));
  top: -30px;
}

.hp-donors__spine-row {
  left: -46px;
  top: 74px;
}

.hp-donors__card {
  position: relative;
  flex: 1 1 220px;
  max-width: 270px;
  filter: drop-shadow(0 1px 1px rgba(84, 56, 32, 0.14)) drop-shadow(0 14px 16px rgba(84, 56, 32, 0.18));
}

.hp-donors__card--r1 {
  margin-top: 22px;
  rotate: -1.5deg;
}

.hp-donors__card--r2 {
  margin-top: 0;
  rotate: 1.2deg;
}

.hp-donors__card--r3 {
  margin-top: 30px;
  rotate: -0.8deg;
}

.hp-donors__card--r4 {
  margin-top: 8px;
  rotate: 1.8deg;
}

.hp-donors__anchor {
  left: 50%;
  top: -14px;
}

.hp-donors__pin {
  position: absolute;
  left: 50%;
  top: -36px;
  z-index: 2;
  box-sizing: border-box;
  width: 16px;
  height: 64px;
  margin-left: -8px;
  border: 2px solid color-mix(in oklch, var(--hp-ink) 72%, transparent);
  border-radius: 999px;
}

.hp-donors__sheet {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 250px;
  padding: 52px 22px 24px;
  clip-path: polygon(16% 0, 84% 0, 100% 34px, 100% 100%, 0 100%, 0 34px);
  mask-image: radial-gradient(circle at 50% 22px, transparent 7px, #000 7.5px);
}

.hp-donors__sheet--blue {
  background: var(--hp-blue-soft);
}

.hp-donors__sheet--pink {
  background: var(--hp-pink-soft);
}

.hp-donors__sheet--card {
  background: var(--hp-card);
}

.hp-donors__name {
  margin: 0;
  font-family: var(--hp-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
}

.hp-donors__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--hp-ink-soft);
}

.hp-donors__link {
  margin-top: 4px;
  font-weight: 700;
  font-size: 15px;
}

/* 07 Help us reach more people */

.hp-cta {
  position: relative;
  padding: clamp(30px, 4vw, 50px) 0 clamp(110px, 13vw, 170px);
}

.hp-cta__frame {
  position: relative;
  filter: drop-shadow(0 1px 1px rgba(84, 56, 32, 0.14)) drop-shadow(0 26px 30px rgba(84, 56, 32, 0.22));
}

.hp-cta__spine {
  left: 110px;
  top: 90px;
}

.hp-cta__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  padding: clamp(56px, 6vw, 84px) clamp(28px, 5vw, 72px) clamp(40px, 5vw, 64px);
  background: var(--hp-pink);
  clip-path: polygon(0 18px, 4% 9px, 8% 15px, 12.5% 5px, 17% 13px, 22% 7px, 26% 16px, 31% 4px, 36% 12px, 41% 8px, 45.5% 17px, 50% 6px, 55% 13px, 60% 3px, 64% 11px, 69% 6px, 74% 15px, 78.5% 8px, 83% 14px, 88% 4px, 92% 12px, 96% 7px, 100% 15px, 100% 100%, 0 100%);
  color: var(--hp-on-flag);
}

.hp-cta__copy {
  flex: 1 1 420px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-cta__title {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  color: var(--hp-on-flag);
}

.hp-cta__text {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--hp-on-flag);
}

.hp-cta__buttons {
  gap: 12px;
}

.hp-cta__btn--paper {
  background: var(--hp-card);
  color: var(--hp-ink);
  box-shadow: 0 12px 22px -16px var(--hp-shadow);
}

.hp-cta__btn--paper:hover {
  color: var(--hp-ink);
  translate: 0 -2px;
}
