/* Wayfriend Institute. A sibling of moral.health's Horizon system:
   black line on white paper, color laid on as offset swipes.
   Moral Health leads with pink. Wayfriend's colors are its logo's: pink, orange,
   yellow, cyan and purple, with black ink. */

:root {
  --ink: #12180f;
  --paper: #ffffff;
  --tint: #faf7f1;
  /* The logo's colors are the whole palette. Yellow and cyan are too light for text on white. */
  --logo-pink: #fb088c; --logo-orange: #fc9f03; --logo-yellow: #fde804; --logo-cyan: #02d4f1; --logo-purple: #8a23dc;
  --band: linear-gradient(90deg, var(--logo-pink) 0 20%, var(--logo-orange) 20% 40%, var(--logo-yellow) 40% 60%, var(--logo-cyan) 60% 80%, var(--logo-purple) 80%);
  --line: rgba(18, 24, 15, 0.14);
  --sans: ui-sans-serif, -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
/* Smooth scrolling only once someone is using the page (constellation.js adds .wf-smooth on
   the first touch, click, wheel or key), so a refresh puts you back in place at once instead
   of gliding there from the top (Michelle, Nov 29). */
html.wf-smooth { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html, html.wf-smooth { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.58;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--logo-pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--logo-purple); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--logo-purple);
  outline-offset: 3px;
}

.wf-wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.wf-skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; }
.wf-skip:focus { left: 16px; }

/* Display type: heavy, tight, lowercase. Lowercase is presentation only;
   the markup keeps real capitalization for screen readers and copy-paste. */
.wf-display, .wf-title, .wf-quote, .wf-brand {
  font-family: var(--sans);
  font-weight: 850;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  text-wrap: balance;
}
.wf-display { font-size: clamp(3.4rem, 7.4vw, 7.6rem); line-height: 0.88; margin: 0 0 30px; }
.wf-title { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 0.94; margin: 0 0 28px; }
.wf-title--wide { max-width: 980px; }

.wf-kicker {
  margin: 0 0 18px;
  color: var(--logo-purple);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}

h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.12; letter-spacing: -0.03em; text-transform: lowercase; margin: 0 0 10px; }

/* Header */
.wf-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 6px solid transparent;
  box-shadow: 0 1px 0 var(--ink);
}
/* The five-color band under the header doubles as a reading line: faint ahead of you, full
   color behind. motion.js sets --read as you scroll; without it the band is simply full. */
.wf-header::before, .wf-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--band); pointer-events: none; }
.wf-header::before { opacity: 0.28; }
.wf-header::after { clip-path: inset(0 calc(100% - var(--read, 100%)) 0 0); }
.wf-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
.wf-brand { font-size: 1.35rem; text-decoration: none; letter-spacing: -0.05em; display: inline-flex; align-items: center; gap: 6px; }
.wf-brand img { display: block; height: 48px; width: auto; } /* the wordmark from the LinkedIn cover */
@media (max-width: 640px) { .wf-brand img { height: 40px; } }
.wf-nav { display: flex; align-items: center; gap: 26px; }
.wf-nav a { font-size: 0.95rem; font-weight: 760; text-decoration: none; text-transform: lowercase; }
/* Plain header links: on hover, an underline in one of the logo's colors draws in from the left. */
.wf-nav a:not(.wf-con) { padding-bottom: 4px; background: linear-gradient(var(--u), var(--u)) 0 100% / 0 3px no-repeat; transition: background-size 320ms cubic-bezier(.2, .8, .2, 1); }
.wf-nav a:not(.wf-con):hover, .wf-nav a:not(.wf-con):focus-visible { background-size: 100% 3px; }
.wf-nav a:nth-child(1), .wf-menu nav a:nth-child(1) { --u: var(--logo-pink); }
.wf-nav a:nth-child(2), .wf-menu nav a:nth-child(2) { --u: var(--logo-cyan); }
.wf-nav a:nth-child(3), .wf-menu nav a:nth-child(3) { --u: var(--logo-purple); }
.wf-menu nav a:nth-child(4) { --u: var(--logo-orange); }
.wf-menu { display: none; position: relative; }
.wf-menu summary { cursor: pointer; list-style: none; }
.wf-menu[open] > summary .wf-con-star { transform: scale(1.35); animation-play-state: paused; }
.wf-menu[open] > summary .wf-con-line { stroke-dashoffset: 0 !important; }
.wf-menu summary::-webkit-details-marker { display: none; }
.wf-menu nav { position: absolute; right: 0; top: calc(100% + 10px); display: grid; gap: 4px; min-width: 220px; padding: 6px 14px; background: #fff; border: 1px solid var(--ink); }
.wf-menu nav a { padding: 12px 2px; font-weight: 760; text-decoration: none; text-transform: lowercase; }
.wf-menu nav a + a { border-top: 1px solid var(--line); }
.wf-menu nav a:hover { text-decoration: underline; text-decoration-color: var(--u); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Hero */
.wf-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.wf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.wf-lede { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.42; max-width: 36ch; margin: 0 0 24px; }
.wf-def { max-width: 46ch; margin: 0 0 32px; padding-left: 22px; --bar: var(--logo-pink); --bar-w: 4px; background-image: linear-gradient(var(--bar), var(--bar)); background-repeat: no-repeat; background-position: 0 0; background-size: var(--bar-w) 100%; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; }
.wf-def span { display: block; margin-top: 4px; }
.wf-hero-art { margin: 0 calc(-1 * max(24px, (100vw - var(--wrap)) / 2)) 0 0; }
.wf-hero-art img { width: 100%; }

/* Constellation buttons. Stars in the logo's colors sit around the words and
   twinkle; touching the button draws a thin ink line from star to star.
   constellation.js draws the stars from each button's data-stars list.
   Only things you can click or tap get a constellation, so stars always mean "press here". */
/* Constellations pull left by the page's 24px side margin, never more, so no star leaves the screen. */
.wf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: -12px 0 0 -24px; }
.wf-con {
  position: relative; display: inline-block; padding: 28px 30px;
  border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 1.22rem; font-weight: 820; line-height: 1.1; letter-spacing: -0.035em;
  text-decoration: none; text-transform: lowercase; cursor: pointer;
}
.wf-con--sm { padding: 16px 20px; font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; }
.wf-con-lbl { position: relative; }
.wf-con:not(.is-ready) .wf-con-lbl { text-decoration: underline; text-decoration-color: var(--logo-pink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wf-con svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wf-con-line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1000ms cubic-bezier(.2, .8, .2, 1); }
.wf-con-star { transform-box: fill-box; transform-origin: center; transition: transform 450ms cubic-bezier(.2, .8, .2, 1); animation: wf-twinkle 4.2s ease-in-out infinite; }
.wf-con:hover .wf-con-star, .wf-con:focus-visible .wf-con-star, .wf-con.is-lit .wf-con-star { transform: scale(1.35); animation-play-state: paused; }
.wf-con:hover .wf-con-line, .wf-con:focus-visible .wf-con-line, .wf-con.is-lit .wf-con-line { stroke-dashoffset: 0 !important; }
.wf-form .wf-con { margin: -12px 0 0 -24px; }
.wf-copy > .wf-con { margin-left: -24px; }
@keyframes wf-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .wf-con-star { animation: none; } }

/* Sections */
.wf-section { padding: clamp(64px, 9vw, 128px) 0; }
.wf-section--tint { background: var(--tint); }
/* A new chapter after the opening: a thin horizon line, a short sun-yellow
   swipe on it, and the heading above the drawing so two pictures never meet. */
.wf-section--chapter { position: relative; padding-top: clamp(56px, 7vw, 96px); }
.wf-section--chapter::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), 100% - 48px); height: 2px; background: var(--ink); opacity: 0.85;
}
.wf-section--chapter::after {
  content: ""; position: absolute; top: -5px; left: max(24px, (100% - var(--wrap)) / 2);
  width: 92px; height: 12px; border-radius: 6px; background: var(--swipe, var(--logo-yellow)); transform: rotate(-2deg);
}
.wf-section--chapter:nth-of-type(5n+1)::after { --swipe: var(--logo-pink); }
.wf-section--chapter:nth-of-type(5n+2)::after { --swipe: var(--logo-orange); }
.wf-section--chapter:nth-of-type(5n+3)::after { --swipe: var(--logo-cyan); }
.wf-section--chapter:nth-of-type(5n+4)::after { --swipe: var(--logo-purple); }
.wf-section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.wf-section-head .wf-title { margin-bottom: 0; }
.wf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.wf-copy { max-width: 62ch; }
.wf-copy > p { margin: 0 0 1.1em; }
.wf-art { margin: 0; }
.wf-art--left { margin-left: calc(-1 * max(24px, (100vw - var(--wrap)) / 2) * 0.5); }
.wf-art--right { margin-right: calc(-1 * max(24px, (100vw - var(--wrap)) / 2) * 0.5); }
.wf-art--wide { margin: 0 auto 48px; max-width: 980px; }
/* The drawings are on white paper; on the cream sections, multiply drops the
   white so the line sits on the cream instead of inside a pale box. */
.wf-section--tint .wf-art img, .wf-footer img { mix-blend-mode: multiply; }

.wf-pull {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  padding: 22px 0 22px 27px;
  --bar: var(--logo-pink); --bar-w: 5px; background-image: linear-gradient(var(--bar), var(--bar)); background-repeat: no-repeat; background-position: 0 0; background-size: var(--bar-w) 100%;
}
.wf-note { color: rgba(18, 24, 15, 0.72); font-size: 1rem; }

/* Three questions */
.wf-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 48px; }
.wf-trio--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wf-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 0 0 26px; overflow: hidden; }
.wf-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; }
.wf-card h3, .wf-card p { padding-inline: 26px; }
.wf-card p { margin: 0; font-size: 1.02rem; }
.wf-card h3 { display: inline; background: linear-gradient(transparent calc(100% - 0.38em), var(--hl) 0) 0 0 / 100% 100% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wf-card:nth-child(1) h3 { --hl: rgba(2, 212, 241, 0.32); }
.wf-card:nth-child(2) h3 { --hl: rgba(253, 232, 4, 0.6); }
.wf-card:nth-child(3) h3 { --hl: rgba(251, 8, 140, 0.22); }
.wf-card:nth-child(4) h3 { --hl: rgba(252, 159, 3, 0.4); }
.wf-card h3 { margin-inline: 26px; padding: 0; }
.wf-card h3 + p { margin-top: 14px; }

/* What we're making */
.wf-list { margin: 28px 0 0; border-top: 1px solid var(--line); }
.wf-list > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
/* Labels stay ink for easy reading; the color sits behind them as a highlighter swipe. */
.wf-list dt { font-weight: 850; letter-spacing: -0.02em; text-transform: lowercase; justify-self: start; align-self: start; padding: 0 4px; --swipe: rgba(2, 212, 241, 0.32); background: linear-gradient(transparent 58%, var(--swipe) 58%) 0 0 / 100% 100% no-repeat; }
.wf-list > div:nth-child(5n+2) dt { --swipe: rgba(253, 232, 4, 0.6); }
.wf-list > div:nth-child(5n+3) dt { --swipe: rgba(251, 8, 140, 0.25); }
.wf-list > div:nth-child(5n+4) dt { --swipe: rgba(252, 159, 3, 0.38); }
.wf-list > div:nth-child(5n+5) dt { --swipe: rgba(138, 35, 220, 0.22); }
.wf-list dd { margin: 0; font-size: 1.02rem; }

/* Ages */
.wf-ages { display: grid; gap: 22px; margin-top: 8px; }
.wf-ages > div { padding-left: 24px; --bar: var(--logo-orange); background: linear-gradient(var(--bar), var(--bar)) 0 0 / 4px 100% no-repeat; }
.wf-ages > div:nth-child(2) { --bar: var(--logo-cyan); }
.wf-ages > div:nth-child(3) { --bar: var(--logo-purple); }
.wf-ages p { margin: 0; }

/* Muse */
.wf-muse { padding: clamp(72px, 10vw, 140px) 0; background: var(--ink); color: #fffaf2; overflow: hidden; }
.wf-muse .wf-kicker { color: var(--logo-yellow); }
.wf-muse-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.wf-quote { margin: 0 0 22px; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 0.95; }
.wf-cite { font-family: var(--serif); font-size: 1.05rem; color: rgba(255, 250, 242, 0.78); margin: 0 0 26px; }
.wf-cite a { text-decoration-color: var(--logo-yellow); }
.wf-muse p:last-child { max-width: 48ch; margin: 0; }
.wf-art--bleed { margin-right: calc(-1 * max(24px, (100vw - var(--wrap)) / 2)); }
.wf-art--bleed img { border-radius: 28px 0 0 28px; }

/* Stance */
.wf-stance { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.wf-ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.wf-ticks li { position: relative; padding: 16px 0 16px 36px; border-bottom: 1px solid var(--line); }
.wf-ticks li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 18px; height: 8px; border-radius: 4px; background: var(--tick, var(--logo-pink)); transform: rotate(-8deg); }
.wf-ticks li:nth-child(even)::before { transform: rotate(6deg); }
.wf-ticks li:nth-child(5n+2) { --tick: var(--logo-cyan); }
.wf-ticks li:nth-child(5n+3) { --tick: var(--logo-orange); }
.wf-ticks li:nth-child(5n+4) { --tick: var(--logo-purple); }
.wf-ticks li:nth-child(5n+5) { --tick: var(--logo-yellow); }

/* People */
.wf-person { margin: 0 0 26px; }
.wf-person h3 { margin-bottom: 8px; }
.wf-person p { margin: 0; }
/* One colour for each sister: Michelle's links in pink, Melinda's in cyan, like the two
   friends in the hero drawing. */
.wf-person--michelle a { text-decoration-color: var(--logo-pink); }
.wf-person--melinda a { text-decoration-color: var(--logo-cyan); }

/* Form */
.wf-form { display: grid; gap: 16px; margin-top: 24px; }
.wf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wf-form label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 760; text-transform: lowercase; }
/* Fields are a line to write on, like the horizon in the drawings; the message box is ruled paper. */
.wf-form input, .wf-form textarea {
  width: 100%; padding: 8px 2px;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 1.05rem; font-weight: 400; line-height: 1.6; text-transform: none;
}
.wf-form textarea { resize: vertical; min-height: calc(5 * 1.6em + 16px);
  background: repeating-linear-gradient(transparent 0 calc(1.6em - 1px), var(--line) calc(1.6em - 1px) 1.6em) 0 8px / 100% 1.6em local; }
.wf-form input:focus-visible, .wf-form textarea:focus-visible { outline: none; border-bottom-color: var(--logo-purple); box-shadow: 0 2px 0 var(--logo-purple); }
.wf-form button { justify-self: start; }
.wf-form[aria-busy="true"] button[type="submit"] { opacity: 0.55; cursor: progress; } /* Send waits for the spam check */
.wf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wf-form-status { padding: 12px 16px 12px 20px; background-color: var(--tint); --bar: var(--logo-purple); --bar-w: 4px; background-image: linear-gradient(var(--bar), var(--bar)); background-repeat: no-repeat; background-position: 0 0; background-size: var(--bar-w) 100%; font-weight: 700; }

/* Footer */
.wf-footer { padding: 72px 0 56px; background: var(--tint); border-top: 6px solid; border-image: var(--band) 1; }
.wf-footer-news { display: grid; justify-items: start; }
.wf-footer-news p { margin: 0; font-size: 1.05rem; }
.wf-footer-news .wf-con { margin: 8px 0 0 -24px; }
.wf-footer-grid { display: grid; gap: 28px; }
.wf-footer-line { margin: 0; font-family: var(--sans); font-weight: 850; letter-spacing: -0.05em; text-transform: lowercase; font-size: clamp(1rem, 5.2vw, 3rem); line-height: 1; text-wrap: balance; }
.wf-footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.wf-footer-links a { font-weight: 760; text-transform: lowercase; }
/* The footer's links get a third colour, apart from Michelle's pink and Melinda's cyan. */
.wf-footer a { text-decoration-color: var(--logo-orange); }
.wf-footer a:hover { text-decoration-color: var(--logo-purple); }
.wf-footer-meta { display: grid; gap: 8px; font-size: 0.9rem; color: rgba(18, 24, 15, 0.72); max-width: 80ch; }

/* Small screens */
@media (max-width: 860px) {
  .wf-nav { display: none; }
  .wf-menu { display: block; }
  .wf-hero-grid, .wf-split, .wf-muse-grid, .wf-stance { grid-template-columns: 1fr; }
  .wf-hero-art { margin: 0 -24px; }
  .wf-split--flip .wf-art { order: -1; }
  .wf-art--left, .wf-art--right { margin-inline: -24px; }
  .wf-art--bleed { margin-right: -24px; }
  .wf-art--bleed img { border-radius: 22px 0 0 22px; }
  .wf-trio { grid-template-columns: 1fr; }
  .wf-list > div { grid-template-columns: 1fr; gap: 6px; }
  .wf-form-row { grid-template-columns: 1fr; }
}

/* Questions people ask */
.wf-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.wf-faq-list { border-top: 1px solid var(--line); }
.wf-faq-item { border-bottom: 1px solid var(--line); }
.wf-faq-item summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 44px 20px 0;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em;
}
.wf-faq-item summary::-webkit-details-marker { display: none; }
.wf-faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--logo-yellow); color: var(--ink); font-weight: 900;
}
.wf-faq-item[open] summary::after { content: "\2013"; background: var(--logo-purple); color: #fff; }
/* The yellow circles fill in slowly as they scroll into view, one after another down the
   list: each starts as a thin yellow ring and fills from the centre (motion.js marks them
   painted). Without the script, or with reduced motion, they are simply full. */
@property --fill { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
.wf-faq-item:not([open]) summary::after {
  background: radial-gradient(circle closest-side, var(--logo-yellow) var(--fill), transparent calc(var(--fill) + 1%));
  box-shadow: inset 0 0 0 2px var(--logo-yellow);
  transition: --fill 1.4s cubic-bezier(0.45, 0, 0.2, 1) var(--wait, 0s);
}
.wf-motion .wf-faq-item:not(.is-painted):not([open]) summary::after { --fill: 0%; }
/* A soft pink highlighter swipe (the logo pink at highlighter weight; Michelle: "not yellow") under "write to us." that paints in, left to right, as it scrolls
   into view (motion.js marks it painted). Without the script it is simply there. */
.wf-hl { background: linear-gradient(transparent 58%, rgba(251, 8, 140, 0.42) 58%, rgba(251, 8, 140, 0.42) 92%, transparent 92%) 0 0 / 100% 100% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wf-motion .wf-hl { background-size: 0% 100%; }
.wf-motion .wf-hl.is-painted { background-size: 100% 100%; transition: background-size 1300ms cubic-bezier(.65, 0, .35, 1); }
.wf-faq-item p { margin: 0 0 20px; max-width: 62ch; }
@media (max-width: 860px) { .wf-faq { grid-template-columns: 1fr; } }

/* Plain-text pages (privacy) */
.wf-legal h2 { font-family: var(--sans); font-weight: 850; font-size: 1.4rem; letter-spacing: -0.03em; text-transform: lowercase; margin: 36px 0 10px; }
.wf-legal p { margin: 0 0 1em; }
.wf-legal .wf-title { margin-bottom: 12px; }

/* Little link row under each bio */
.wf-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 0 0 !important; font-size: 0.92rem; font-weight: 760; }
.wf-links a { text-transform: lowercase; }

/* ---------- Hero stage: the night, their light, then a blank page ---------- */
:root {
  /* Sky lights use the logo's colors. */
  --l-pink: var(--logo-pink); --l-orange: var(--logo-orange); --l-yellow: var(--logo-yellow); --l-cyan: var(--logo-cyan); --l-purple: var(--logo-purple);
}
.wf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wf-hero--stage { padding: 0 0 clamp(40px, 6vw, 84px); }
/* The picture fits the screen: on short, wide screens it shrinks, keeping its shape, so the whole
   drawing shows under the header (about 70px) with a little room to spare. Words on it scale
   with the picture (cqi), so they keep their place in the sky. */
.wf-stage-wrap { position: relative; margin: 0 auto; container-type: inline-size;
  width: min(100%, 1680px, max(640px, calc((100vh - 94px) * 16 / 9)));
  width: min(100%, 1680px, max(640px, calc((100svh - 94px) * 16 / 9))); }
/* On computers the headline and the line under it show on the first screen too (Michelle,
   Nov 30), so the picture leaves room under it: about 130px, which covers the headline as it
   grows with the picture. On shorter screens the picture drops below 1020px wide, where the
   invitation moves into a band above it, so it leaves room for that too. Touch screens keep
   the bigger sky to paint on. */
@media (hover: hover) and (pointer: fine) {
  .wf-stage-wrap { width: min(100%, 1680px, max(640px, calc((100vh - 130px) * 1.55)));
    width: min(100%, 1680px, max(640px, calc((100svh - 130px) * 1.55))); }
}
/* Computer windows narrower than 1020px always have the invitation's band above the picture,
   so they leave room for it whatever their height (three lines below 731px wide). */
@media (hover: hover) and (pointer: fine) and (max-width: 1020px) {
  .wf-stage-wrap { width: min(100%, 1680px, max(640px, calc((100vh - 343px) * 16 / 9)));
    width: min(100%, 1680px, max(640px, calc((100svh - 343px) * 16 / 9))); }
}
@media (hover: hover) and (pointer: fine) and (max-width: 730px) {
  .wf-stage-wrap { width: min(100%, 1680px, max(520px, calc((100vh - 373px) * 16 / 9)));
    width: min(100%, 1680px, max(520px, calc((100svh - 373px) * 16 / 9))); }
}
@media (hover: hover) and (pointer: fine) and (max-height: 788px) {
  .wf-stage-wrap { width: min(100%, 1680px, max(640px, calc((100vh - 343px) * 16 / 9)));
    width: min(100%, 1680px, max(640px, calc((100svh - 343px) * 16 / 9))); }
}
/* iPads held sideways too (Michelle, Dec 1: "Yes, iPads too"): touch screens in landscape at
   least 600px tall (phones held sideways are far too short for it). When their picture drops
   under 1020px wide, the band above it holds a slightly bigger invitation, so they leave 385px. */
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (min-height: 600px) {
  .wf-stage-wrap { width: min(100%, 1680px, max(640px, calc((100vh - 130px) * 1.55)));
    width: min(100%, 1680px, max(640px, calc((100svh - 130px) * 1.55))); }
}
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (min-height: 600px) and (max-height: 788px) {
  .wf-stage-wrap { width: min(100%, 1680px, max(640px, calc((100vh - 385px) * 16 / 9)));
    width: min(100%, 1680px, max(640px, calc((100svh - 385px) * 16 / 9))); }
}
/* ...and on the shortest laptop windows the picture may go down to 520px wide. */
@media (hover: hover) and (pointer: fine) and (max-height: 660px) {
  .wf-stage-wrap { width: min(100%, 1680px, max(520px, calc((100vh - 330px) * 16 / 9)));
    width: min(100%, 1680px, max(520px, calc((100svh - 330px) * 16 / 9))); }
}
.wf-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.wf-stage-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* The headline sits below the picture on every screen (Michelle, Nov 28), so the sky stays
   open except for the invitation in its top-left corner. site.js lines its left edge up
   with the logo and the text below. */
.wf-stage-title { position: static; width: auto; padding: clamp(22px, 2.2vw, 34px) 24px 0; }
/* On wide screens the headline's left edge lines up with the logo from the first paint:
   the logo sits at max(24px, (page - wrap) / 2), the picture at (page - picture) / 2.
   site.js then sets the same thing exactly, so the headline doesn't slide. */
.wf-stage-wrap { --off: calc(max(24px, 50vw - var(--wrap) / 2) - 50vw + 50cqi); } /* logo's left minus the picture's */
.wf-stage-title { padding-left: max(0px, var(--off)); padding-right: max(16px, var(--off)); margin-left: min(0px, var(--off)); }
.wf-stage-title .wf-display { font-size: clamp(2.6rem, 6.2vw, 6.4rem); font-size: clamp(2.6rem, 6.2cqi, 6.4rem); margin: 0; }
/* The line under the headline. */
.wf-stage-title .wf-sub {
  margin: clamp(8px, 0.9vw, 16px) 0 0; margin-top: clamp(8px, 0.9cqi, 16px);
  font-size: clamp(1.05rem, 1.6vw, 1.5rem); font-size: clamp(1.05rem, 1.6cqi, 1.5rem); max-width: 46ch;
  font-weight: 500; line-height: 1.28; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance;
}
/* Headline and line are one block, so the sky script keeps lights out from under both. */

/* The invitation and "start a new sky" are hand-lettered in Bad Beans by Typeheist, the font
   on michellebernabe.com. Michelle bought its Web License for wayfriend.org on Nov 29, 2026. */
@font-face { font-family: 'Bad Beans'; src: url('/fonts/bad-beans.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* The invitation, written under the headline. Pressing it adds one light too,
   so keyboards and screen readers can take part. It waits for the script, since it needs it. */
.wf-invite {
  display: inline-flex; align-items: flex-start; gap: 0.6em; margin-top: clamp(14px, 1.6vw, 24px); margin-top: clamp(14px, 1.6cqi, 24px);
  padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; pointer-events: auto; text-align: left;
  font: inherit; font-size: clamp(1.1rem, 1.7vw, 1.55rem); font-size: clamp(1.1rem, 1.7cqi, 1.55rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  transition: opacity 0.4s ease;
}
.wf-stage-wrap:not(.is-ready) .wf-invite { visibility: hidden; opacity: 0; }
.wf-invite-dots { display: inline-flex; align-items: center; height: 1.3em; gap: 0.32em; flex: none; } /* centred on the first line */
.wf-invite span:last-child { text-wrap: balance; }
.wf-invite-dots i { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--c); }
.wf-invite-dots i:nth-child(1) { --c: var(--l-pink); }
.wf-invite-dots i:nth-child(2) { --c: var(--l-orange); }
.wf-invite-dots i:nth-child(3) { --c: var(--l-yellow); }
.wf-invite-dots i:nth-child(4) { --c: var(--l-cyan); }
.wf-invite-dots i:nth-child(5) { --c: var(--l-purple); }
.wf-invite:hover span:last-child { text-decoration: underline; text-decoration-color: var(--logo-purple); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wf-invite:focus-visible { outline: 3px solid var(--logo-purple); outline-offset: 6px; border-radius: 4px; }
/* "tap the sky" stays together on one line. (It used to jump once the dots landed; that was
   dropped Nov 30.) */
.wf-invite-cue { display: inline-block; }
/* "start a new sky": appears once you've added a light, lined up under the invitation's words
   (4.38em = the five dots plus the gap). Space is kept for it so nothing jumps. */
.wf-renew {
  display: block; margin: 0.05em 0 0 4.38em; padding: 0.4em 0; min-height: 44px; border: 0; background: none; cursor: pointer; pointer-events: auto; /* tap target at least 44px tall */
  font: inherit; font-size: clamp(1.1rem, 1.7vw, 1.55rem); font-size: clamp(1.1rem, 1.7cqi, 1.55rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3;
  color: rgba(18, 24, 15, 0.6); text-decoration: underline; text-decoration-color: rgba(18, 24, 15, 0.25); text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: opacity 0.3s ease, color 0.2s ease;
}
.wf-invite, .wf-renew { font-family: 'Bad Beans', var(--sans); font-weight: 400; font-synthesis: none; letter-spacing: 0.02em; }
.wf-renew:hover { color: var(--ink); text-decoration-color: var(--logo-purple); }
.wf-renew:focus-visible { outline: 3px solid var(--logo-purple); outline-offset: 4px; border-radius: 4px; }
.wf-stage-wrap:not(.has-lights) .wf-renew { visibility: hidden; opacity: 0; }
/* The invitation sits in the sky's top-left corner, under the wayfriend logo, clear of
   the headline and both friends. When the headline moves below the picture (narrow
   screens), the invitation follows it there instead. */
.wf-stage-invite { position: absolute; left: max(8px - (50vw - 50cqi), min(16cqi, var(--off))); /* under the logo, as site.js sets it */ top: 3.5%; width: auto; z-index: 2; pointer-events: none; --band: 0; }
/* Two lines on every screen but phones: "tap to paint stars for the people who guided you,"
   then "and the people you guide." */
.wf-invite-line { display: block; white-space: nowrap; }
.wf-stage-invite .wf-invite { margin-top: 0; }
@media (max-width: 1020px) {
  .wf-stage-invite { top: 12px; right: 24px; width: auto; --band: 1; }
}
@container (max-width: 1020px) {
  .wf-stage-invite { top: 12px; right: 24px; width: auto; --band: 1; }
}
/* On phones there's no "start a new sky" link: the top stays uncrowded, and a refresh
   starts a new sky anyway. */
@media (max-width: 640px) { .wf-stage-invite .wf-renew { display: none; } }
@container (max-width: 640px) { .wf-stage-invite .wf-renew { display: none; } }
/* The white band above the picture that holds the invitation on narrow screens. It's kept
   from the first paint so the page doesn't jump when the script measures it exactly. */
@media (max-width: 1020px) { .wf-stage { margin-top: calc(83px + 1.6 * clamp(1.1rem, 1.7cqi, 1.55rem)); } }
@container (max-width: 1020px) { .wf-stage { margin-top: calc(83px + 1.6 * clamp(1.1rem, 1.7cqi, 1.55rem)); } }
@media (max-width: 640px) { .wf-stage { margin-top: calc(2.6 * clamp(14px, 4.05vw, 20px) + 16px); } }
@container (max-width: 640px) { .wf-stage { margin-top: calc(2.6 * clamp(14px, 4.05cqi, 20px) + 16px); } }
/* On phones the invitation fits on two lines: three smaller dots sit at the start of the
   first line like a bullet, and the words wrap underneath them instead of in a column. */
@media (max-width: 640px) {
  .wf-stage-invite .wf-invite { display: block; text-wrap: balance; }
  .wf-stage-invite .wf-invite-line { display: inline; white-space: normal; }
  .wf-stage-invite .wf-invite-dots { display: inline-flex; height: auto; gap: 0.28em; margin-right: 0.45em; vertical-align: 0.08em; }
  .wf-stage-invite .wf-invite-dots i { width: 0.45em; height: 0.45em; }
  .wf-stage-invite .wf-invite-dots i:nth-child(n+4) { display: none; }
}
@container (max-width: 640px) {
  .wf-stage-invite .wf-invite { display: block; text-wrap: balance; }
  .wf-stage-invite .wf-invite-line { display: inline; white-space: normal; }
  .wf-stage-invite .wf-invite-dots { display: inline-flex; height: auto; gap: 0.28em; margin-right: 0.45em; vertical-align: 0.08em; }
  .wf-stage-invite .wf-invite-dots i { width: 0.45em; height: 0.45em; }
  .wf-stage-invite .wf-invite-dots i:nth-child(n+4) { display: none; }
}
/* On phones the invitation is as big as fits on two lines: 4.2% of the screen width is the
   limit, so 4.05% leaves a little room for fonts that run wider. At 320 wide it's 14px with
   two dots and a little more room on the right. */
@media (max-width: 640px) { .wf-stage-invite .wf-invite { font-size: clamp(14px, 4.05vw, 20px); } }
@container (max-width: 640px) { .wf-stage-invite .wf-invite { font-size: clamp(14px, 4.05cqi, 20px); } }
@media (max-width: 340px) {
  .wf-stage-invite { right: 12px; }
  .wf-stage-invite .wf-invite { font-size: 14px; }
  .wf-stage-invite .wf-invite-dots i:nth-child(n+3) { display: none; }
}
@container (max-width: 340px) {
  .wf-stage-invite { right: 12px; }
  .wf-stage-invite .wf-invite { font-size: 14px; }
  .wf-stage-invite .wf-invite-dots i:nth-child(n+3) { display: none; }
}
/* Touch tablets (iPads, either way up): the invitation is bigger and easier to notice,
   since the picture is big there. Only touch screens at least 641 wide and 600 tall, so
   laptops, phones, and phones turned sideways are unchanged. */
@media (hover: none) and (pointer: coarse) and (min-width: 641px) and (min-height: 600px) {
  .wf-stage-invite .wf-invite, .wf-stage-invite .wf-renew { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
}
/* ...and the white band that holds it above the picture (iPads upright) is that much
   taller, kept from the first paint so the picture doesn't nudge down when the script measures it. */
@media (hover: none) and (pointer: coarse) and (min-width: 641px) and (min-height: 600px) and (max-width: 1020px) {
  .wf-stage { margin-top: calc(83px + 1.6 * clamp(1.25rem, 2.6vw, 1.5rem)); }
}
/* iPhones and iPads held upright get more open sky above the drawing to paint stars on
   (Michelle, Nov 29). The extra room is padding under the invitation, so site.js's band
   (the invitation's height + 16px) grows with it and all of it is paintable sky. The
   drawing's top edge is white, so the two skies meet without a seam. The margins below
   repeat the ones above plus the extra room, so the first paint already has it and
   nothing jumps when the script measures. Sideways screens and computers are unchanged. */
@media (hover: none) and (pointer: coarse) and (orientation: portrait) {
  /* 18% of the screen's height, but no more than a short upright iPad can spare (an older 768-wide
     iPad in Safari is about 950 tall), so the headline's second line stays on the first screen (Nov 30) */
  .wf-stage-wrap { --sky-more: clamp(64px, min(18vh, calc(100vh - 100vw - 60px)), 240px); --sky-more: clamp(64px, min(18svh, calc(100svh - 100vw - 60px)), 240px); }
  .wf-stage-invite { padding-bottom: var(--sky-more); }
  .wf-stage { margin-top: calc(83px + 1.6 * clamp(1.1rem, 1.7vw, 1.55rem) + var(--sky-more)); }
}
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (min-width: 641px) and (min-height: 600px) {
  .wf-stage { margin-top: calc(83px + 1.6 * clamp(1.25rem, 2.6vw, 1.5rem) + var(--sky-more)); }
}
/* iPad Pros upright (1024 wide) are past the 1020 line, so they get the band of white sky
   above the drawing here; their invitation is 24px: two lines plus "start a new sky" + 16px = 130px. */
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (min-width: 1021px) {
  .wf-stage-invite { top: 12px; right: 24px; width: auto; --band: 1; }
  .wf-stage { margin-top: calc(130px + var(--sky-more)); }
}
/* On phones the extra sky is 18% of the screen's height, less on short phones (like an
   iPhone SE) so the headline under the drawing still shows on the first screen. */
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (max-width: 640px) {
  .wf-stage-wrap { --sky-more: clamp(0px, calc(100vh - 100vw - 130px), 18vh); --sky-more: clamp(0px, calc(100svh - 100vw - 130px), 18svh); }
  .wf-stage { margin-top: calc(2.6 * clamp(14px, 4.05vw, 20px) + 16px + var(--sky-more)); }
}

/* Once it's light, the sky is yours to draw on: tap or drag, with a mouse or a finger.
   One finger draws instead of scrolling; two fingers can still zoom. */
/* The drawable sky reaches the page's edges even when the picture is narrower than
   the window (the white beside it looks like sky, so it should act like sky). It sits
   over the picture and under the headline; site.js stretches it to the full page
   width at the picture's height. Without the script it simply covers the picture. */
/* The sky spans the page's whole width, at the picture's height, from the first paint
   (.wf-hero clips the overflow), so it doesn't jump sideways when site.js measures it and
   then sets it exactly. (Starting at the picture's width cost a layout shift of 0.1.) */
.wf-sky { position: absolute; left: calc(50% - 50vw); top: 0; width: 100vw; height: calc(100cqi * 9 / 16); z-index: 1; }
.wf-stage-wrap .wf-stage-title { z-index: 2; }
/* Up-and-down swipes scroll the page; sideways drags and taps paint (site.js sets the same). */
.wf-sky.is-drawable { touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.wf-stage.is-drawable .wf-stage-still { -webkit-user-drag: none; }
/* The middle of the sky, down to the horizon (site.js adds it and sets its height): one
   finger draws in any direction here. The strips along the sides, 15% of the width each,
   work as before: up-and-down swipes scroll the page, sideways drags and taps paint. Mice
   draw everywhere, as before. */
.wf-sky-free { position: absolute; top: 0; left: clamp(48px, 15%, 160px); right: clamp(48px, 15%, 160px); touch-action: pinch-zoom; -webkit-touch-callout: none; }

/* The lights everyone adds */
.wf-lights { position: absolute; inset: 0; pointer-events: none; }
.wf-light { position: absolute; width: var(--d, calc(var(--dot, 9px) * var(--s, 1))); min-width: 2px; aspect-ratio: 1; border-radius: 50%; background: var(--c); transform: translate(-50%, -50%); }
.wf-light.is-flying { transition: left 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), top 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.9s ease; }
/* Each star breathes gently on its own rhythm: a little smaller and softer on the out-breath.
   No glow; the colours stay flat. site.js gives every star its own tempo and starting point. */
@keyframes wf-pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.55; } }
.wf-light { animation: wf-pulse var(--pulse, 4.6s) ease-in-out var(--pulse-at, 0s) infinite; }
.wf-light.is-new { animation: wf-pop 0.55s cubic-bezier(0.2, 1.6, 0.4, 1) both, wf-pulse var(--pulse, 4.6s) ease-in-out 0.55s infinite; }
.wf-light.is-gone { animation: none; opacity: 0; transition: opacity 0.4s ease; }
.wf-light.is-tucked { visibility: hidden; }
@keyframes wf-pop { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -50%) scale(1); } }

.wf-hero-copy--below { margin-top: clamp(28px, 4vw, 48px); }
.wf-hero-copy--below .wf-lede { max-width: 52ch; }
/* A short, level pink line in the pause after the line under the headline. Still on purpose:
   Michelle wants only the stars moving on the first screen. */
.wf-dash { display: block; width: 46px; height: 8px; border-radius: 4px; background: var(--logo-pink); margin: 0 0 28px; }

/* Below about 1020px the headline, its line and the invitation no longer fit above the
   right friend's chalk, so the title moves under the picture (was 860px before the line). */
@media (max-width: 1020px) {
  .wf-stage-title { position: static; width: auto; padding: 22px 24px 0; }
  .wf-stage-title .wf-display { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .wf-stage-title .wf-sub { font-size: clamp(1.05rem, 4.4vw, 1.3rem); max-width: 34ch; }
}
/* The same when the picture itself is narrow, as on a short, wide window where it shrinks to fit. */
@container (max-width: 1020px) {
  .wf-stage-title { position: static; width: auto; padding: 22px 24px 0; }
  .wf-stage-title .wf-display { font-size: clamp(2.6rem, 11cqi, 4.2rem); }
  .wf-stage-title .wf-sub { font-size: clamp(1.05rem, 4.4cqi, 1.3rem); max-width: 34ch; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-light, .wf-light.is-new { animation: none; }
  .wf-light.is-flying { transition: none; }
}

/* ---------- Motion: the page gets drawn as you read ----------
   motion.js adds .wf-motion to <html> (never for visitors who prefer reduced motion), then
   .is-painted to each highlight once it scrolls into view. Nothing in the hero moves. */
.wf-motion .wf-card h3, .wf-motion .wf-list dt { background-size: 0% 100%; }
/* A highlight strokes across at an even, marker-like pace (about a second), so the eye can follow it. */
.wf-motion .wf-card h3.is-painted, .wf-motion .wf-list dt.is-painted { background-size: 100% 100%; transition: background-size 1100ms cubic-bezier(.65, 0, .35, 1); }
.wf-motion .wf-ages > div { background-size: 4px 0%; }
.wf-motion .wf-ages > div.is-painted { background-size: 4px 100%; transition: background-size 1100ms cubic-bezier(.65, 0, .35, 1); }
/* The colored side bars (definition, pull quote, form note) draw downward the same way. */
.wf-motion .wf-def, .wf-motion .wf-pull, .wf-motion .wf-form-status { background-size: var(--bar-w) 0%; }
.wf-motion .wf-def.is-painted, .wf-motion .wf-pull.is-painted, .wf-motion .wf-form-status.is-painted { background-size: var(--bar-w) 100%; transition: background-size 1100ms cubic-bezier(.65, 0, .35, 1); }
/* The little dashes giggle as you reach them: they pop in, wobble side to side, and settle at their own tilt. */
.wf-motion .wf-ticks li { --tilt: -8deg; }
.wf-motion .wf-ticks li:nth-child(even) { --tilt: 6deg; }
.wf-motion .wf-ticks li::before { transform: rotate(var(--tilt)) scale(0); transform-origin: center; }
.wf-motion .wf-ticks li.is-painted::before { transform: rotate(var(--tilt)); animation: wf-giggle 1000ms ease-in-out both; animation-delay: inherit; }
@keyframes wf-giggle {
  0%   { transform: rotate(var(--tilt)) scale(0); }
  30%  { transform: rotate(var(--tilt)) scale(1.15); }
  45%  { transform: rotate(calc(var(--tilt) - 14deg)) scale(1); }
  60%  { transform: rotate(calc(var(--tilt) + 11deg)) scale(1); }
  75%  { transform: rotate(calc(var(--tilt) - 6deg)) scale(1); }
  88%  { transform: rotate(calc(var(--tilt) + 3deg)) scale(1); }
  100% { transform: rotate(var(--tilt)) scale(1); }
}
/* (The invitation's dots used to hop here. They now start out in the sky and glide into
   their row, which site.js does; see gatherDots().) */
.wf-motion .wf-section--chapter::after { transform: rotate(-2deg) scaleX(0); transform-origin: left center; }
.wf-motion .wf-section--chapter.is-painted::after { transform: rotate(-2deg) scaleX(1); transition: transform 1100ms cubic-bezier(.65, 0, .35, 1); }

/* Copy overhaul (Nov 29, 2026): thesis line, Wayfriend Compass labels, six groups, founders' why, ways to join */
.wf-hero-copy--below .wf-lede { margin: 0 0 14px; }
.wf-hero-copy--below .wf-thesis { font-weight: 750; letter-spacing: -0.015em; }
.wf-hero-copy--below .wf-thesis ~ .wf-lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.wf-hero-copy--below .wf-lede + .wf-def { margin-top: 26px; }
.wf-compass-head { margin-bottom: 8px; }
.wf-card .wf-card-label { margin: 0; padding-top: 22px; padding-bottom: 16px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; color: #12180f; }
.wf-ages--six { gap: 22px 28px; }
@media (min-width: 1100px) { .wf-ages--six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wf-ages > div:nth-child(4) { --bar: var(--logo-pink); }
.wf-ages > div:nth-child(5) { --bar: var(--logo-yellow); }
.wf-ages > div:nth-child(6) { --bar: var(--logo-purple); }
.wf-ages .wf-ask { margin: 4px 0 6px; font-weight: 650; font-style: italic; }
.wf-founders-why { margin: 0 0 30px; }
.wf-founders-why p { margin: 0 0 1em; }
.wf-founders-why p:last-child { font-weight: 750; }
.wf-ways { margin: 18px 0 26px; }
.wf-ways > div { grid-template-columns: 14.5rem minmax(0, 1fr); }
@media (max-width: 860px) { .wf-ways > div { grid-template-columns: 1fr; } }
.wf-ticks--below { margin-top: clamp(28px, 4vw, 48px); max-width: 880px; }

/* Site restructure (Nov 29, 2026): inner pages, library cards, four ways, areas, commitment */
.wf-page-head { padding-bottom: clamp(20px, 3vw, 40px); }
.wf-page-head .wf-lede { max-width: 46ch; }
.wf-back { margin: 0 0 18px; font-size: 0.98rem; }
.wf-back a { color: inherit; }
.wf-nav a[aria-current="page"]:not(.wf-con) { background-size: 100% 3px; }
.wf-menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wf-chips { list-style: none; display: flex; flex-wrap: wrap; margin: 6px 0 0; padding: 0; font-size: 0.98rem; color: rgba(18, 24, 15, 0.72); }
.wf-chips li + li::before { content: "\00b7"; margin: 0 10px; }
.wf-card--text { padding: 26px 0; display: flex; flex-direction: column; }
.wf-card--text .wf-card-label { font-size: 0.8rem; letter-spacing: 0.12em; color: rgba(18, 24, 15, 0.6); padding-top: 0; padding-bottom: 12px; }
.wf-card--text h3 a { color: inherit; text-decoration: none; }
.wf-card--text h3 a:hover, .wf-card--text h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.wf-card--text:has(h3 a:hover) { border-color: var(--ink); }
.wf-more { margin: clamp(28px, 4vw, 44px) 0 0; }
.wf-ways4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.wf-way { padding-top: 18px; --bar: var(--logo-pink); background: linear-gradient(var(--bar), var(--bar)) 0 0 / 100% 4px no-repeat; }
.wf-way:nth-child(2) { --bar: var(--logo-cyan); }
.wf-way:nth-child(3) { --bar: var(--logo-yellow); }
.wf-way:nth-child(4) { --bar: var(--logo-purple); }
.wf-way-verb { margin: 0 0 8px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(18, 24, 15, 0.6); }
.wf-way p:last-child { margin: 0; }
.wf-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: area; }
.wf-areas li { counter-increment: area; display: grid; grid-template-columns: 3rem minmax(0, 15rem) minmax(0, 1fr); gap: 6px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.wf-areas li::before { content: counter(area); font-weight: 850; font-size: 1.3rem; color: var(--logo-purple); }
.wf-area-name { font-weight: 850; letter-spacing: -0.01em; }
.wf-area-q { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; }
.wf-area-q, .wf-area-detail { display: block; }
.wf-area-detail { margin-top: 6px; color: rgba(18, 24, 15, 0.72); font-size: 1rem; }
.wf-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wf-feature-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.wf-feature-title a { color: inherit; }
.wf-lede--section { max-width: 40ch; }
.wf-commitment { margin-top: 26px; padding-left: 22px; background: linear-gradient(var(--logo-pink), var(--logo-pink)) 0 0 / 4px 100% no-repeat; }
.wf-commitment p { font-family: var(--serif); font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.45; margin: 0 0 0.75em; }
.wf-commitment p:last-child { margin: 0; font-weight: 700; }
.wf-checked { margin-top: 28px; }
.wf-entry { margin-bottom: 28px; }
.wf-ages > div:nth-child(7) { --bar: var(--logo-cyan); }
.wf-ages > div:nth-child(8) { --bar: var(--logo-orange); }
.wf-invitation .wf-title { margin-bottom: 18px; }
@media (max-width: 1000px) { .wf-ways4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .wf-feature { grid-template-columns: 1fr; }
  .wf-areas li { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .wf-area-text { grid-column: 2; }
}
@media (max-width: 560px) { .wf-ways4 { grid-template-columns: 1fr; } }

/* ---------- "Our work": a project card inside a box (To All People in Media, and any other) ----------
   Any .wf-way--now (Media also keeps .wf-way--media) with a .wf-way-now button and a .wf-way-panel. 
   A quiet "Now making: To All People" under Media. With a mouse, hovering over the Media box
   (or keyboard focus inside it) opens a small card with the picture over the page; on a phone
   or iPad, a tap opens it in place (site.js), and a tap elsewhere or Escape closes it. */
.wf-way--media, .wf-way--now { position: relative; }
.wf-way > h3 + p { margin: 0; } /* every box's line sits level, whatever follows it (a "Now ..." line, a card) */ /* its line sits level with the other three (it's no longer the last child) */
.wf-way-now { display: inline-flex; gap: 0.35em; margin-top: 12px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 0.95rem;
  color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--logo-yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.wf-way-now::after { content: "\2192"; }
.wf-way-now:focus-visible { outline: 3px solid var(--logo-purple); outline-offset: 4px; border-radius: 4px; }
.wf-way-panel { display: none; position: absolute; left: 0; top: calc(100% + 10px); z-index: 5; width: min(360px, 86vw); background: #fff;
  border: 1px solid var(--line); border-radius: 20px; padding: 0 0 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(18, 24, 15, 0.14); }
.wf-way-panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.wf-way-panel p { padding-inline: 20px; margin: 0; }
.wf-way-panel .wf-card-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(18, 24, 15, 0.6); margin-bottom: 6px; }
.wf-way--media.is-open .wf-way-panel, .wf-way--now.is-open .wf-way-panel { display: block; }
@media (hover: hover) and (pointer: fine) { .wf-way--media:hover .wf-way-panel, .wf-way--media:focus-within .wf-way-panel,
  .wf-way--now:hover .wf-way-panel, .wf-way--now:focus-within .wf-way-panel { display: block; } }
@media (max-width: 860px) { .wf-way-panel { position: static; width: auto; margin-top: 12px; box-shadow: none; } }

/* ---- The way in, made obvious (Michelle, Nov 29) ----------------------------------
   People skipped the invitation and scrolled past the sky. The invitation is bigger, and
   "click the sky to paint stars" gets the pink highlighter swipe (as under "write to us."),
   painted in once the page is seen. A pink arc of stars rises from her chalk to just under
   the word "stars"; its last star rings, then the arc fades after about 6 s, or as soon as
   you paint (site.js, section 8). ("your turn" was dropped Nov 30.) */
.wf-invite-key { background: linear-gradient(transparent 56%, rgba(251, 8, 140, 0.42) 56%, rgba(251, 8, 140, 0.42) 92%, transparent 92%) 0 0 / 100% 100% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wf-stage-wrap.is-ready .wf-invite-key:not(.is-painted) { background-size: 0% 100%; }
.wf-invite-key.is-painted { transition: background-size 1.1s cubic-bezier(.65, 0, .35, 1); }
.wf-stage-invite .wf-invite, .wf-stage-invite .wf-renew { font-size: clamp(1.4rem, 2.2vw, 2rem); font-size: clamp(1.4rem, 2.2cqi, 2rem); }
@media (hover: none) and (pointer: coarse) and (min-width: 641px) and (min-height: 600px) {
  .wf-stage-invite .wf-invite, .wf-stage-invite .wf-renew { font-size: clamp(1.55rem, 3.3vw, 1.95rem); font-size: clamp(1.55rem, 3.3cqi, 1.95rem); }
}
@media (max-width: 640px) { .wf-stage-invite .wf-invite { font-size: clamp(16px, 5vw, 24px); } }
@container (max-width: 640px) { .wf-stage-invite .wf-invite { font-size: clamp(16px, 5cqi, 24px); } }
@media (max-width: 340px) { .wf-stage-invite .wf-invite { font-size: 16px; } }
@container (max-width: 340px) { .wf-stage-invite .wf-invite { font-size: 16px; } }
/* The first paint keeps the room the script will measure for the bigger invitation (its
   lines at 1.3 each, plus "start a new sky" where it shows, plus the gap), so the picture
   doesn't jump. It wraps to three lines below about 550px, on computer windows up to 730px,
   and on tablets up to 990px. Measured Nov 29 at each width. */
@media (max-width: 1020px) { .wf-stage { margin-top: calc(4.6 * 1.4rem + 20px); } }
@media (max-width: 730px) { .wf-stage { margin-top: calc(5.9 * 1.4rem + 20px); } }
@media (max-width: 640px) { .wf-stage { margin-top: calc(2.6 * clamp(16px, 5vw, 24px) + 16px); } }
@media (max-width: 550px) { .wf-stage { margin-top: calc(3.9 * clamp(16px, 5vw, 24px) + 16px); } }
/* The same, keyed to the picture's width (Nov 30). On phones held sideways and in short, wide
   windows the picture is narrower than the screen, and the invitation follows the picture. */
/* (In a wide window the invitation can reach into the white beside a small picture, so it keeps
   to two lines there; it only takes three when the window itself is narrow, as above.) */
@media (min-width: 731px) { @container (max-width: 1020px) { .wf-stage { margin-top: calc(4.6 * 1.4rem + 20px); } } }
/* (Wide but short touch screens, over 1020px wide: their invitation is the tablet size.) */
@media (hover: none) and (pointer: coarse) and (min-width: 1021px) and (min-height: 600px) { @container (max-width: 1020px) { .wf-stage { margin-top: calc(4.6 * clamp(1.55rem, 3.3cqi, 1.95rem) + 20px); } } }
@container (max-width: 640px) { .wf-stage { margin-top: calc(2.6 * clamp(16px, 5cqi, 24px) + 16px); } }
@media (max-width: 550px) { @container (max-width: 550px) { .wf-stage { margin-top: calc(3.9 * clamp(16px, 5cqi, 24px) + 16px); } } } /* three lines only when the window is narrow too */
@media (hover: none) and (pointer: coarse) and (min-width: 641px) and (min-height: 600px) and (max-width: 1020px) {
  .wf-stage { margin-top: calc(5.9 * clamp(1.55rem, 3.3vw, 1.95rem) + 20px); margin-top: calc(5.9 * clamp(1.55rem, 3.3cqi, 1.95rem) + 20px); }
}
@media (hover: none) and (pointer: coarse) and (min-width: 991px) and (min-height: 600px) and (max-width: 1020px) {
  .wf-stage { margin-top: calc(4.6 * 1.95rem + 20px); }
}
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (min-width: 641px) and (min-height: 600px) {
  .wf-stage { margin-top: calc(5.9 * clamp(1.55rem, 3.3vw, 1.95rem) + 20px + var(--sky-more)); }
}
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (min-width: 991px) {
  .wf-stage { margin-top: calc(4.6 * 1.95rem + 20px + var(--sky-more)); }
}
/* On phones the invitation is a line taller, so short phones give up a little of the extra
   sky (170px instead of 130px) and the headline still shows on the first screen. */
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (max-width: 640px) {
  .wf-stage-wrap { --sky-more: clamp(0px, calc(100vh - 100vw - 170px), 18vh); --sky-more: clamp(0px, calc(100svh - 100vw - 170px), 18svh); }
  .wf-stage { margin-top: calc(3.9 * clamp(16px, 5vw, 24px) + 16px + var(--sky-more)); }
}
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (min-width: 551px) and (max-width: 640px) {
  .wf-stage { margin-top: calc(2.6 * clamp(16px, 5vw, 24px) + 16px + var(--sky-more)); }
}
.wf-light.is-beckon::after { content: ''; position: absolute; inset: -70%; border-radius: 50%; border: 2px solid var(--c); animation: wf-beckon 1.8s ease-out infinite; }
@keyframes wf-beckon { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.wf-light.is-gone { transition: opacity 0.6s ease; }
@media (prefers-reduced-motion: reduce) {
  .wf-light.is-beckon::after { animation: none; opacity: 0.6; transform: scale(1.3); }
  .wf-invite-key.is-painted { transition: none; }
}

/* Get involved: "Write to us." opens on the form (Michelle, Nov 30), so a "write to us" link shows
   it straight away; "Three good ways to start" follows it, and on phones the picture comes last. */
.wf-hello .wf-split { align-items: start; }
.wf-hello .wf-copy > .wf-form { margin-top: 0; }
.wf-hello .wf-copy > .wf-form + p { margin-top: 44px; }
@media (max-width: 860px) { .wf-hello .wf-split > .wf-art { order: 2; } }
/* Social links (Nov 30): torn-paper squares in the logo's colours, in the wordmark's order, each
   with the platform's icon in black (white on the black square), like the wordmark's letters on paper.
   Squares sit tilted; hover or keyboard focus straightens and lifts them. Markup: build_pages.py SOCIAL. */
.wf-sx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0; }
.wf-sx { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wf-sx-paper { --s: 44px; flex: none; width: var(--s); height: var(--s); display: grid; place-items: center;
  background: radial-gradient(rgba(0, 0, 0, 0.14) 0.9px, transparent 1.2px) 0 0 / 5px 5px, var(--sx-bg);
  clip-path: var(--sx-clip); transform: rotate(var(--sx-rot)); transition: transform 0.18s ease; }
.wf-sx-paper svg { width: 52%; height: 52%; fill: var(--sx-fg, var(--ink)); }
.wf-sx:hover .wf-sx-paper, .wf-sx:focus-visible .wf-sx-paper,
.wf-lk:hover .wf-sx-paper, .wf-lk:focus-visible .wf-sx-paper { transform: rotate(0deg) translateY(-3px) scale(1.06); }
.wf-sx--yt { --sx-bg: var(--logo-pink); --sx-rot: -4deg; --sx-clip: polygon(3% 6%, 48% 0, 97% 4%, 100% 52%, 96% 97%, 52% 100%, 2% 95%, 0 47%); }
.wf-sx--ss { --sx-bg: var(--logo-orange); --sx-rot: 3deg; --sx-clip: polygon(0 3%, 55% 1%, 100% 0, 98% 50%, 100% 96%, 45% 100%, 4% 98%, 1% 50%); }
.wf-sx--fb { --sx-bg: var(--logo-yellow); --sx-rot: -2deg; --sx-clip: polygon(2% 0, 50% 3%, 100% 2%, 97% 48%, 99% 100%, 50% 97%, 0 100%, 3% 52%); }
.wf-sx--bs { --sx-bg: var(--logo-cyan); --sx-rot: 4deg; --sx-clip: polygon(4% 2%, 46% 0, 100% 5%, 98% 45%, 96% 100%, 55% 96%, 0 97%, 2% 55%); }
.wf-sx--li { --sx-bg: var(--logo-purple); --sx-rot: -3deg; --sx-clip: polygon(0 0, 52% 4%, 98% 1%, 100% 55%, 97% 98%, 48% 100%, 3% 96%, 0 45%); }
.wf-sx--x  { --sx-bg: #111; --sx-fg: #fff; --sx-rot: 2deg; --sx-clip: polygon(3% 4%, 50% 0, 100% 3%, 97% 50%, 100% 97%, 46% 100%, 1% 96%, 3% 48%); }
.wf-sx-name { font-weight: 760; text-transform: lowercase; }
.wf-footer .wf-sx-row { margin-top: -6px; }
/* Get involved: named squares under the opening paragraph */
.wf-sx-kicker { margin: 26px 0 12px; }
.wf-sx-row--named { gap: 14px 22px; }
.wf-sx-row--named .wf-sx-paper { --s: 48px; }
/* /links/: one page for bios, QR codes and slides */
.wf-links-wrap { max-width: 600px; }
.wf-lk-list { list-style: none; margin: 28px 0 8px; padding: 0; }
.wf-lk { display: flex; align-items: center; gap: 18px; padding: 14px 4px; border-bottom: 1px solid rgba(18, 24, 15, 0.14); color: var(--ink); text-decoration: none; }
.wf-lk .wf-sx-paper { --s: 48px; }
.wf-lk-txt { min-width: 0; overflow-wrap: anywhere; }
.wf-lk-txt b { display: block; font-size: 1.1rem; }
.wf-lk-txt small { color: rgba(18, 24, 15, 0.7); font-size: 0.92rem; text-transform: none; }
@media (prefers-reduced-motion: reduce) { .wf-sx-paper { transition: none; } }
@media (forced-colors: active) {
  .wf-sx-paper { background: Canvas; border: 1px solid CanvasText; clip-path: none; }
  .wf-sx-paper svg { fill: CanvasText; }
}

/* Only the invitation's words and dots take a click or tap (they still send a star); the empty
   space inside its box, like the room after "and the people you guide.", is sky you can paint
   on (Michelle, Nov 30). Keyboards and screen readers still use the whole button. */
.wf-stage-invite .wf-invite { pointer-events: none; }
.wf-stage-invite .wf-invite-line, .wf-stage-invite .wf-invite-dots { pointer-events: auto; }
.wf-stage-invite .wf-invite-line { width: fit-content; }

/* ---------- Design pass (Dec 2, 2026): open blocks under color bars ----------
   Round two's designer found the pages templated below the first screen. One container now
   stands in for the rounded white cards: an open block under a 4px rule in a logo color, the
   bar the four ways and the projects already wear. Nothing in the hero or the sky is touched. */

/* Lowercase display type spares the pronoun "I", "AI" and people's names (build_pages.py wraps them). */
.wf-keep { text-transform: none; }

/* One status label everywhere it stands outside a card: small, spaced capitals. */
.wf-card-label { margin: 0 0 10px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(18, 24, 15, 0.72); }

/* Our work: a project's name is the strongest thing in its block, in the site's display type.
   Its underline draws in, in the block's own color, on hover or keyboard focus. */
.wf-feature-title { font-family: var(--sans); font-weight: 850; font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 0.98; letter-spacing: -0.055em; margin: 0 0 16px; text-wrap: balance; }
.wf-feature-title a { text-decoration: none; padding-bottom: 5px; background: linear-gradient(var(--bar), var(--bar)) 0 100% / 0 5px no-repeat; transition: background-size 320ms cubic-bezier(.2, .8, .2, 1); }
.wf-feature-title a:hover, .wf-feature-title a:focus-visible { background-size: 100% 5px; }

/* Four ways we work: each way keeps its homepage color (pink, cyan, yellow, purple). */
.wf-list--ways > div:nth-child(1) dt { --swipe: rgba(251, 8, 140, 0.25); }
.wf-list--ways > div:nth-child(2) dt { --swipe: rgba(2, 212, 241, 0.32); }
.wf-list--ways > div:nth-child(3) dt { --swipe: rgba(253, 232, 4, 0.6); }
.wf-list--ways > div:nth-child(4) dt { --swipe: rgba(138, 35, 220, 0.22); }

/* Home, the "Now ..." lines: a round plus in the way's color says "this opens", the mark the
   questions on About already use. It turns to a dash while the card is showing. */
.wf-way { --mark: var(--ink); }
.wf-way:nth-child(4) { --mark: #fff; }
.wf-way-now::after { content: none; }
.wf-nowrap { white-space: nowrap; }
.wf-way-mark { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-left: 0.4em; border-radius: 50%; background: var(--bar); color: var(--mark); font-weight: 900; line-height: 1; vertical-align: -0.32em; }
.wf-way-mark::before { content: "+"; }
.wf-way--now.is-open .wf-way-mark::before, .wf-way--media.is-open .wf-way-mark::before { content: "\2013"; }
@media (hover: hover) and (pointer: fine) {
  .wf-way--now:hover .wf-way-mark::before, .wf-way--now:focus-within .wf-way-mark::before,
  .wf-way--media:hover .wf-way-mark::before, .wf-way--media:focus-within .wf-way-mark::before { content: "\2013"; }
}
/* The card it opens is an open block too: square, under the way's bar. */
.wf-way-panel { border: 0; border-radius: 0; border-top: 4px solid var(--bar); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(18, 24, 15, 0.16); }
@media (max-width: 860px) { .wf-way-panel { box-shadow: none; border-top: 0; background: none; padding-bottom: 6px; }
  .wf-way-panel p { padding-inline: 0; } .wf-way-panel img { margin-bottom: 12px; } }

/* The Compass: five questions, five logo colors. Each is an open block with its drawing beside
   it, and the drawings change sides down the page like steps along a path. The question is the
   largest thing on the page; its highlight paints in as it scrolls into view (motion.js, .wf-hl). */
.wf-qs { display: grid; gap: clamp(52px, 7vw, 92px); }
.wf-q { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 76px); align-items: center;
  padding-top: clamp(30px, 4vw, 48px); background: linear-gradient(var(--bar), var(--bar)) 0 0 / 100% 4px no-repeat; }
.wf-q:nth-child(1) { --bar: var(--logo-pink); --hl: rgba(251, 8, 140, 0.24); }
.wf-q:nth-child(2) { --bar: var(--logo-orange); --hl: rgba(252, 159, 3, 0.42); }
.wf-q:nth-child(3) { --bar: var(--logo-yellow); --hl: rgba(253, 232, 4, 0.66); }
.wf-q:nth-child(4) { --bar: var(--logo-cyan); --hl: rgba(2, 212, 241, 0.34); }
.wf-q:nth-child(5) { --bar: var(--logo-purple); --hl: rgba(138, 35, 220, 0.24); }
.wf-q:nth-child(even) .wf-q-art { order: -1; }
/* On the Compass page the first drawing is on the left, so the first question doesn't mirror the
   page's opening (words left, drawing right) and the two read as different things. */
@media (min-width: 861px) {
  .wf-qs--art-first .wf-q:nth-child(odd) .wf-q-art { order: -1; }
  .wf-qs--art-first .wf-q:nth-child(even) .wf-q-art { order: 0; }
}
/* The section's name, in the kicker's type, sits on the first bar. */
.wf-qs-name { margin: 0 0 20px; }
.wf-q-art { margin: 0; }
.wf-q-art img { width: 100%; mix-blend-mode: multiply; }
.wf-q .wf-card-label { margin-bottom: 16px; }
.wf-q h3 { display: inline; margin: 0; font-size: clamp(1.95rem, 3.5vw, 3.1rem); line-height: 1.12; letter-spacing: -0.035em; }
.wf-q h3.wf-hl { background-image: linear-gradient(transparent 62%, var(--hl) 62%, var(--hl) 95%, transparent 95%); }
.wf-q-text { margin: 20px 0 0; max-width: 46ch; }
.wf-qs-after { margin-top: clamp(52px, 7vw, 92px); padding-top: clamp(30px, 4vw, 48px); background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 1px no-repeat; }
@media (max-width: 860px) {
  .wf-q { grid-template-columns: 1fr; gap: 18px; }
  .wf-q .wf-q-art, .wf-q:nth-child(even) .wf-q-art { order: -1; margin-inline: -24px; }
}

/* Library: the outside works as a shelf of open blocks. Each one says who it is from, asks its
   question in the reading serif, and says why it matters. */
.wf-shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 68px) clamp(28px, 5vw, 76px); margin-top: clamp(28px, 4vw, 48px); }
.wf-shelf-item { padding-top: 24px; --bar: var(--logo-cyan); background: linear-gradient(var(--bar), var(--bar)) 0 0 / 100% 4px no-repeat; }
.wf-shelf-item:nth-child(4n+2) { --bar: var(--logo-yellow); }
.wf-shelf-item:nth-child(4n+3) { --bar: var(--logo-pink); }
.wf-shelf-item:nth-child(4n+4) { --bar: var(--logo-orange); }
.wf-shelf-item h3 { font-family: var(--sans); font-weight: 850; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.05em; margin: 0 0 14px; text-wrap: balance; }
.wf-shelf-item h3 a { text-decoration: none; padding-bottom: 4px; background: linear-gradient(var(--bar), var(--bar)) 0 100% / 0 5px no-repeat; transition: background-size 320ms cubic-bezier(.2, .8, .2, 1); }
.wf-shelf-item h3 a:hover, .wf-shelf-item h3 a:focus-visible { background-size: 100% 5px; }
.wf-shelf-q { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.28; letter-spacing: -0.015em; }
.wf-shelf-item p:last-child { margin: 0; max-width: 52ch; }
@media (max-width: 860px) { .wf-shelf { grid-template-columns: 1fr; } }

/* A Wayfriend reflection: the drawing sits beside the title, and the piece itself is set as
   reading text, in the serif, at a comfortable line length, a step in from the page edge. */
.wf-essay { max-width: 41rem; }
@media (min-width: 861px) { .wf-essay { margin-left: clamp(0px, 13vw, 210px); } }
.wf-essay-body > p { margin: 0 0 1.2em; font-family: var(--serif); font-size: clamp(1.2rem, 1.5vw, 1.34rem); line-height: 1.68; letter-spacing: 0; }
.wf-essay-body sup { font-family: var(--sans); font-size: 0.6em; line-height: 0; }
.wf-essay-body > .wf-pull { margin: 1.5em 0; font-size: clamp(1.5rem, 2.5vw, 2.05rem); line-height: 1.22; }
.wf-essay-after { margin-top: clamp(36px, 5vw, 60px); }
@media (max-width: 860px) { .wf-reflection-head .wf-art { margin-top: 8px; } }

/* About: each sister gets her own block under her own color (pink and cyan, as in the hero
   drawing), side by side, with her name set large. */
.wf-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 76px); margin-top: clamp(44px, 6vw, 80px); }
.wf-people .wf-person { margin: 0; padding-top: 26px; background: linear-gradient(var(--bar), var(--bar)) 0 0 / 100% 4px no-repeat; }
.wf-person--michelle { --bar: var(--logo-pink); }
.wf-person--melinda { --bar: var(--logo-cyan); }
.wf-people .wf-person h3 { font-size: clamp(1.9rem, 2.9vw, 2.6rem); line-height: 1.05; margin-bottom: 16px; }
.wf-people .wf-person p { max-width: 54ch; }
.wf-people .wf-links { margin-top: 18px !important; font-size: 1rem; }
.wf-people + .wf-wrap, .wf-people-follow { margin-top: clamp(36px, 5vw, 60px); }
@media (max-width: 860px) { .wf-people { grid-template-columns: 1fr; } }

/* ---- One design on every page (Dec 2, 2026; Michelle: "make sure that design is consistent
   across pages on the website where it fits") ----
   1. A page's opening ends at the thin ink line with its colour swipe (.wf-section--chapter).
   2. A page's body sits on white. Beige is for one short band, and the footer.
   3. Lists of things (questions, steps, studies, works) are open blocks under colour bars. */

/* Our work: the middle project's drawing changes sides, as the Compass's drawings do. */
@media (min-width: 861px) { .wf-feature--flip > .wf-art { order: -1; } }

/* A Library entry or project page: the facts on the right, the way out to the work beside them. */
.wf-entry-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.wf-entry-grid > .wf-entry { margin: 0; }
.wf-entry-side > .wf-con { margin: -22px 0 0 -30px; }
.wf-entry-side .wf-checked { margin-top: 18px; }
@media (min-width: 861px) { .wf-entry-grid > .wf-entry-side { order: -1; } .wf-entry-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); } }
@media (max-width: 860px) { .wf-entry-grid { grid-template-columns: 1fr; } .wf-entry-side > .wf-con { margin: -12px 0 0 -24px; } }

/* WayBench: its four questions are set like the Compass's, in the serif with a highlighter stroke;
   its two studies are named in the display type, like the works on the Library's shelf. */
.wf-shelf-item { --hl: rgba(2, 212, 241, 0.34); }
.wf-shelf-item:nth-child(4n+2) { --hl: rgba(253, 232, 4, 0.66); }
.wf-shelf-item:nth-child(4n+3) { --hl: rgba(251, 8, 140, 0.24); }
.wf-shelf-item:nth-child(4n+4) { --hl: rgba(252, 159, 3, 0.42); }
.wf-shelf--questions .wf-shelf-item h3 { display: inline; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.16; letter-spacing: -0.03em; margin: 0; }
.wf-shelf--questions .wf-shelf-item h3.wf-hl { background-image: linear-gradient(transparent 62%, var(--hl) 62%, var(--hl) 95%, transparent 95%); }
.wf-shelf--questions .wf-shelf-item p { margin-top: 18px; }
.wf-shelf--studies .wf-shelf-item:nth-child(1) { --bar: var(--logo-purple); }
.wf-shelf--studies .wf-shelf-item:nth-child(2) { --bar: var(--logo-pink); }

/* The Compass guide: five steps as open blocks, in the five colours of the five questions. */
.wf-steps { display: grid; }
.wf-step { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 14px clamp(28px, 5vw, 76px); align-items: start;
  padding: clamp(28px, 3.6vw, 42px) 0 clamp(36px, 5vw, 60px); background: linear-gradient(var(--bar), var(--bar)) 0 0 / 100% 4px no-repeat; }
.wf-step:nth-child(1) { --bar: var(--logo-pink); --hl: rgba(251, 8, 140, 0.24); }
.wf-step:nth-child(2) { --bar: var(--logo-orange); --hl: rgba(252, 159, 3, 0.42); }
.wf-step:nth-child(3) { --bar: var(--logo-yellow); --hl: rgba(253, 232, 4, 0.66); }
.wf-step:nth-child(4) { --bar: var(--logo-cyan); --hl: rgba(2, 212, 241, 0.34); }
.wf-step:nth-child(5) { --bar: var(--logo-purple); --hl: rgba(138, 35, 220, 0.24); }
.wf-step-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(14px, 2vw, 24px); align-items: start; }
.wf-step-n { margin: 0; font-weight: 850; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 0.86; letter-spacing: -0.06em; }
.wf-step h3 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.16; }
/* The stroke hugs the words: it is on a span, because a heading that is a grid item fills its column. */
.wf-step h3 .wf-hl { background-image: linear-gradient(transparent 62%, var(--hl) 62%, var(--hl) 95%, transparent 95%); }
.wf-step-body > p { margin: 0 0 0.8em; }
.wf-step-body > :last-child { margin-bottom: 0; }
.wf-step-body ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 860px) { .wf-step { grid-template-columns: 1fr; } }

/* Get involved: the nine ways in fill the page, three across. */
.wf-ages--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px clamp(24px, 3.5vw, 48px); margin-top: clamp(28px, 4vw, 48px); }
.wf-ages--grid > div:nth-child(9) { --bar: var(--logo-pink); }
@media (max-width: 1000px) { .wf-ages--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .wf-ages--grid { grid-template-columns: 1fr; } }

/* ---------- The parent preview (Dec 2, 2026; round-two findings 2, 13 and 14) ----------
   "Maybe you're wondering": three questions people bring, right under the homepage's hero and above
   the four ways. Each is an open block under a bar in a logo colour, the question in the serif under
   a highlighter stroke as questions are everywhere, and the whole block is one link into the
   Compass. The small line under it says where the link leads. */
.wf-wonder { padding: 0 0 clamp(4px, 1.5vw, 20px); }
.wf-wonder-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.wf-wonder-item { --bar: var(--logo-pink); --hl: rgba(251, 8, 140, 0.24); background: linear-gradient(var(--bar), var(--bar)) 0 0 / 100% 4px no-repeat; }
.wf-wonder-item:nth-child(2) { --bar: var(--logo-orange); --hl: rgba(252, 159, 3, 0.42); }
.wf-wonder-item:nth-child(3) { --bar: var(--logo-purple); --hl: rgba(138, 35, 220, 0.24); }
.wf-wonder-item a { display: block; height: 100%; padding: 24px 0 8px; text-decoration: none; }
.wf-wonder-q { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.26; letter-spacing: -0.02em; }
.wf-wonder-q.wf-hl { background-image: linear-gradient(transparent 62%, var(--hl) 62%, var(--hl) 95%, transparent 95%); }
.wf-wonder-to { display: block; margin-top: 18px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(18, 24, 15, 0.72); }
.wf-wonder-to::after { content: "\2192"; content: "\2192" / ""; display: inline-block; margin-left: 10px; color: var(--ink); transition: transform 220ms ease; }
.wf-wonder-item a:hover .wf-wonder-to, .wf-wonder-item a:focus-visible .wf-wonder-to { color: var(--ink); text-decoration: underline; text-decoration-color: var(--bar); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.wf-wonder-item a:hover .wf-wonder-to::after, .wf-wonder-item a:focus-visible .wf-wonder-to::after { transform: translateX(6px); }
@media (max-width: 860px) { .wf-wonder-list { grid-template-columns: 1fr; gap: 26px; } .wf-wonder-item a { padding-top: 20px; } }

/* A short practical aside beside a bar: the ten-minute version on the guide, and asking with a
   child on the Compass. Arriving at the guide's one by its link keeps the page's title on screen. */
.wf-tip { max-width: 52ch; margin: 0 0 1.1em; padding: 2px 0 2px 20px; background: linear-gradient(var(--logo-purple), var(--logo-purple)) 0 0 / 4px 100% no-repeat; }
.wf-tip strong { font-weight: 800; }
.wf-page-head .wf-tip { margin-top: 6px; scroll-margin-top: clamp(0px, 100vh - 380px, 60vh); }
.wf-qs-after .wf-tip { margin-bottom: clamp(26px, 3vw, 38px); }
