/* =========================================================
   SOCIAL CLUB — a Social Cafe community programme
   Palette: warm paper + espresso ink, petrol blue used only
   for the thread, dots and interactive states.
   Forked from ../social-cafe/css/style.css — same system,
   petrol blue in place of cafe green. The blue carries the
   brief: a green cast for growth, depth for academic
   seriousness, calm saturation for trust.
   ========================================================= */

:root {
    --paper: #faf7f2;
    --paper-2: #f2ece3;
    --ink: #2b231d;
    --ink-soft: #6b5d52;
    --ink-faint: #9a8c80;
    --blue: #1e5f7e;
    --blue-dark: #174c66;
    --blue-soft: rgba(30, 95, 126, .12);
    --line: rgba(43, 35, 29, .14);
    --line-soft: rgba(43, 35, 29, .07);

    --r-sm: 1rem;
    --r-md: 1.8rem;
    --r-lg: 2.8rem;
    --r-pill: 999px;

    /* wide enough that the thread has a lane of its own beside the content */
    --gutter: clamp(2.4rem, 11vw, 16rem);
    /* past this the layout centres, so very wide screens get symmetric
       margins rather than a trailing gap on the right */
    --maxw: 1280px;
    --pad-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
    --arch: 50vw 50vw var(--r-md) var(--r-md);

    --ease: cubic-bezier(.22, .68, .32, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 10rem;
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1.6rem;
    line-height: 1.75;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--blue);
    color: var(--paper);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
}

.icon {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

/* ---------- Typography primitives ---------- */

.eyebrow,
.section-label {
    font-size: 1.25rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
}

.eyebrow i,
.hero__tags i {
    font-style: normal;
    color: var(--blue);
    padding: 0 .6em;
}

.section-label {
    margin-bottom: 2.4rem;
}

.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: clamp(3.2rem, 5.4vw, 6.4rem);
    line-height: 1.04;
    letter-spacing: -.02em;
}

.section-title em {
    font-style: italic;
    font-variation-settings: 'SOFT' 40, 'WONK' 1;
    color: var(--blue);
}

.section-title--center {
    text-align: center;
    margin: 0 auto 6rem;
}

/* ---------- Buttons ---------- */

.btn {
    --btn-fg: var(--ink);
    --btn-bg: transparent;
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    padding: 1.3rem 2.6rem;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: inherit;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background-color .35s var(--ease), color .35s var(--ease),
        border-color .35s var(--ease), transform .35s var(--ease);
}

/* the dot that slides in on hover — the motif, in miniature */
.btn::before {
    content: '';
    width: 0;
    height: .7rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transition: width .35s var(--ease), opacity .35s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
    width: .7rem;
    opacity: 1;
}

.btn--solid {
    --btn-bg: var(--blue);
    --btn-fg: var(--paper);
    border-color: var(--blue);
}

.btn--solid:hover {
    --btn-bg: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
}

.btn--ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
    margin-top: 1.2rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--blue);
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--blue-soft);
    transition: border-color .3s var(--ease), gap .3s var(--ease);
}

.link-arrow .icon {
    font-size: 1.7rem;
}

.link-arrow:hover {
    border-color: var(--blue);
    gap: 1.4rem;
}

/* =========================================================
   THE THREAD
   ========================================================= */

.thread {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.thread svg {
    display: block;
    width: 100%;
    overflow: visible;
}

.thread__track {
    fill: none;
    stroke: var(--line);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.thread__line {
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    stroke-linecap: round;
}

.thread-node circle {
    transition: r .5s var(--ease), fill .5s var(--ease), stroke .5s var(--ease);
}

.thread-node__ring {
    fill: none;
    stroke: var(--blue);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.thread-node__core {
    fill: var(--paper);
    stroke: var(--line);
    stroke-width: 1.5;
}

.thread-node.is-lit .thread-node__core {
    fill: var(--blue);
    stroke: var(--blue);
    r: 6;
}

.thread-node.is-lit .thread-node__ring {
    animation: nodePulse 1.1s var(--ease) forwards;
}

@keyframes nodePulse {
    0% { opacity: .7; transform: scale(.4); }
    100% { opacity: 0; transform: scale(2.4); }
}

/* =========================================================
   SEAMS — hairline wave dividers
   ========================================================= */

.seam {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.seam svg {
    display: block;
    width: 100%;
    height: clamp(3.5rem, 5vw, 6rem);
    fill: none;
    stroke: var(--line);
    stroke-width: 1.5;
}

.seam__echo {
    stroke: var(--line-soft);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem var(--pad-inline);
    transition: background-color .4s var(--ease), border-color .4s var(--ease),
        padding .4s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
    background: rgba(250, 247, 242, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
    padding-block: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
}

.brand img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.brand__text {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    letter-spacing: -.01em;
}

.brand__text em {
    font-style: italic;
    color: var(--blue);
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav__link {
    position: relative;
    font-size: 1.5rem;
    color: var(--ink-soft);
    padding-bottom: .5rem;
    transition: color .3s var(--ease);
}

/* active section marked with a dot, not an underline */
.nav__link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--blue);
    transform: translate(-50%, 6px) scale(0);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
}

.nav__link:hover {
    color: var(--ink);
}

.nav__link.is-active {
    color: var(--ink);
}

.nav__link.is-active::after {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
}

/* Cross-page active state comes from the body attribute rather than JS, so
   the right link is marked before first paint. Same-page scroll-spy still
   applies .is-active on top of it. */
[data-page="home"] .nav__link[data-nav="home"],
[data-page="sessions"] .nav__link[data-nav="sessions"],
[data-page="volunteer"] .nav__link[data-nav="volunteer"] {
    color: var(--ink);
}

[data-page="home"] .nav__link[data-nav="home"]::after,
[data-page="sessions"] .nav__link[data-nav="sessions"]::after,
[data-page="volunteer"] .nav__link[data-nav="volunteer"]::after {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--ink);
    font-size: 2.2rem;
    padding: .8rem;
    cursor: pointer;
    line-height: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    padding: 12rem var(--pad-inline) 4rem;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: clamp(1.6rem, 2.6vh, 3rem);
}

/* The reference divides the column width by the display word's em-width so
   "Connecting" spans it exactly. "Social" is far shorter, so that formula
   would produce a ~540px font and a hero three screens tall; a clamp is the
   right tool for a short wordmark. Checked at 1440 / 768 / 390. */
.hero__title {
    font-family: 'Fraunces', Georgia, serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: clamp(5.6rem, 13vw, 18rem);
    line-height: .86;
    letter-spacing: -.04em;
}

.hero__line {
    display: block;
}

/* "Club" is only four glyphs, so flushing it right leaves a dead half.
   The rule fills it and reads as the thread arriving at the wordmark. */
.hero__line--b {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 5rem);
    font-style: italic;
    font-variation-settings: 'SOFT' 60, 'WONK' 1;
}

.hero__rule {
    flex: 1 1 auto;
    height: 2px;
    background: var(--blue);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.1s var(--ease) .35s;
}

.hero__line--b.is-in .hero__rule {
    transform: scaleX(1);
}

.hero__foot {
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    padding-top: 1rem;
}

.hero__lede {
    flex: 1 1 32rem;
    max-width: 44rem;
    color: var(--ink-soft);
    font-size: 1.6rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.25rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.hero__tags i {
    font-style: normal;
    color: var(--blue);
    padding: 0 1.2rem;
}

/* =========================================================
   ABOUT
   ========================================================= */

.band {
    position: relative;
    z-index: 1;
    padding: clamp(6rem, 10vw, 12rem) var(--pad-inline);
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 8rem);
    align-items: start;
}

.about__body p {
    color: var(--ink-soft);
    margin-bottom: 2rem;
    max-width: 52ch;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin-top: clamp(4rem, 7vw, 7rem);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 2rem;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 1.45rem;
    color: var(--ink-soft);
    transition: border-color .3s var(--ease), color .3s var(--ease);
}

.chip::before {
    content: '';
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--blue);
    opacity: .45;
    transition: opacity .3s var(--ease);
}

.chip:hover {
    border-color: var(--blue);
    color: var(--ink);
}

.chip:hover::before {
    opacity: 1;
}

/* =========================================================
   ECOSYSTEM
   ========================================================= */

.cards {
    display: grid;
    /* 30rem floor keeps this at three across on desktop (6 cards = 3 + 3)
       and stops the titles wrapping beside their icon */
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.8rem;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 2.6rem 2.8rem;
    transition: transform .4s var(--ease), border-color .4s var(--ease),
        box-shadow .4s var(--ease);
}

/* icon and title share a line — keeps the card compact */
.card__head {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.3rem;
}

.card__icon {
    display: inline-grid;
    place-items: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 2.1rem;
    flex: none;
    transition: background-color .4s var(--ease);
}

.card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: 2.1rem;
    line-height: 1.2;
}

.card p {
    color: var(--ink-soft);
    font-size: 1.5rem;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: 0 2rem 4rem -2.5rem rgba(43, 35, 29, .3);
}

.card:hover .card__icon {
    background: var(--blue);
    color: var(--paper);
}

.find__contact {
    list-style: none;
    margin-top: 3rem;
    display: grid;
    gap: 1.2rem;
}

.find__contact li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.5rem;
    color: var(--ink-soft);
}

.find__contact .icon {
    font-size: 1.9rem;
    color: var(--blue);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    z-index: 1;
    background: var(--paper-2);
    padding: clamp(5rem, 8vw, 9rem) var(--pad-inline) 3rem;
    border-top: 1px solid var(--line);
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}

.brand--footer img {
    width: 4.8rem;
    height: 4.8rem;
}

.brand--footer .brand__text {
    font-size: 2.4rem;
}

.site-footer__tagline {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.2;
    text-align: right;
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

.site-footer__col h3 {
    font-size: 1.25rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
    margin-bottom: 1.8rem;
}

.site-footer__col a,
.site-footer__col p {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--ink-soft);
    padding: .5rem 0;
    transition: color .3s var(--ease), gap .3s var(--ease);
}

.site-footer__col .icon {
    font-size: 1.8rem;
    color: var(--blue);
}

.site-footer__col a:hover {
    color: var(--ink);
    gap: 1.6rem;
}

.site-footer__credit {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    font-size: 1.3rem;
    color: var(--ink-faint);
}

.site-footer__credit em {
    font-style: normal;
    color: var(--blue);
}

.site-footer__credit i {
    font-style: normal;
    color: var(--ink-faint);
    padding: 0 .6rem;
}

.site-footer__credit a:hover em {
    color: var(--blue-dark);
    border-bottom: 1px solid currentColor;
}

/* =========================================================
   REVEAL
   ========================================================= */

[data-reveal] {
    opacity: 0;
    transform: translateY(2.4rem);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}


/* =========================================================
   PAGE HERO — compact hero for secondary pages
   ========================================================= */

.page-hero {
    position: relative;
    z-index: 1;
    padding: 16rem var(--pad-inline) 6rem;
}

.page-hero__title {
    font-family: 'Fraunces', Georgia, serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: clamp(4rem, 8vw, 9.6rem);
    line-height: .96;
    letter-spacing: -.03em;
    margin: 1.6rem 0 0;
}

.page-hero__title em {
    font-style: italic;
    font-variation-settings: 'SOFT' 40, 'WONK' 1;
    color: var(--blue);
}

.page-hero__lede {
    max-width: 52rem;
    margin-top: 2.4rem;
    color: var(--ink-soft);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3.2rem;
}

/* =========================================================
   FACTS — the three-fact strip
   ========================================================= */

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 6rem;
    border-top: 1px solid var(--line);
    list-style: none;
}

.facts li {
    padding: 3.2rem 3rem 0 0;
    border-right: 1px solid var(--line-soft);
}

.facts li:last-child {
    border-right: 0;
}

.facts strong {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 2.4vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: -.01em;
}

.facts strong::before {
    content: '';
    display: block;
    width: .7rem;
    height: .7rem;
    margin-bottom: 1.6rem;
    border-radius: var(--r-pill);
    background: var(--blue);
}

.facts p {
    margin-top: 1rem;
    color: var(--ink-soft);
    font-size: 1.5rem;
}

/* =========================================================
   RUN — the two-hour timeline
   ========================================================= */

.run {
    list-style: none;
    margin-top: 5rem;
    max-width: 78rem;
}

.run li {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0 3rem;
    padding: 2.8rem 0;
    border-top: 1px solid var(--line-soft);
}

.run li:first-child {
    border-top: 1px solid var(--line);
}

.run__time {
    font-variant-numeric: tabular-nums;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--blue);
    padding-top: .2rem;
}

.run h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 2.2vw, 2.4rem);
    line-height: 1.25;
    letter-spacing: -.01em;
}

.run p {
    margin-top: .8rem;
    color: var(--ink-soft);
    font-size: 1.5rem;
}

.run + p {
    margin-top: 4rem;
}

/* =========================================================
   ROWS — hairline-separated list used for themes, benefits,
   house rules, sessions and steps
   ========================================================= */

.rows {
    list-style: none;
    margin-top: 5rem;
    max-width: 82rem;
    counter-reset: row;
}

.rows > li {
    padding: 2.8rem 0;
    border-top: 1px solid var(--line-soft);
}

.rows > li:first-child {
    border-top: 1px solid var(--line);
}

.rows h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 2.2vw, 2.4rem);
    line-height: 1.25;
    letter-spacing: -.01em;
}

.rows p {
    margin-top: .8rem;
    color: var(--ink-soft);
    font-size: 1.5rem;
    max-width: 62rem;
}

/* numbered variant — counters, so the markup stays a plain <ul> */
.rows--numbered > li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0 2rem;
    counter-increment: row;
}

.rows--numbered > li::before {
    content: counter(row, decimal-leading-zero);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
    padding-top: .5rem;
}

/* flagged variant — for the two things that must not be skimmed past */
.rows--flag > li,
.rows--flag > li:first-child {
    border-top: 0;
    border-left: 2px solid var(--blue);
    background: var(--blue-soft);
    padding: 2.4rem 2.8rem;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin-top: 1.6rem;
}

.rows-cta {
    margin-top: 4rem;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.6rem;
}

.section-label--spaced {
    margin-top: 7rem;
}

/* =========================================================
   ROLES — card plus a definition list of what it costs
   ========================================================= */

.cards--roles {
    align-items: start;
}

.cards--roles .card {
    display: flex;
    flex-direction: column;
}

.role__meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line-soft);
}

.role__meta dt {
    font-size: 1.2rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
}

.role__meta dd {
    margin: .6rem 0 1.6rem;
    font-size: 1.45rem;
    color: var(--ink-soft);
}

.role__meta dd:last-child {
    margin-bottom: 0;
}

/* =========================================================
   HOURS — the commitment table
   ========================================================= */

.hours-wrap {
    margin-top: 5rem;
    max-width: 82rem;
    overflow-x: auto;
}

.hours {
    width: 100%;
    min-width: 46rem;
    border-collapse: collapse;
    text-align: left;
    font-size: 1.5rem;
}

.hours th,
.hours td {
    padding: 1.8rem 2rem 1.8rem 0;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: baseline;
}

.hours thead th {
    font-size: 1.2rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.2rem;
}

.hours tbody th {
    font-weight: 500;
    color: var(--ink);
}

.hours td:nth-child(2) {
    font-variant-numeric: tabular-nums;
    color: var(--blue);
    font-weight: 500;
    white-space: nowrap;
}

.hours td:last-child {
    color: var(--ink-soft);
}

.hours tfoot th,
.hours tfoot td {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    font-weight: 500;
    padding-top: 2rem;
}

/* =========================================================
   CTA BAND — the volunteer teaser
   ========================================================= */

.cta-band__inner {
    margin-top: 4rem;
    padding: clamp(3.2rem, 5vw, 6rem);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper-2);
    display: grid;
    gap: 3rem;
    max-width: 96rem;
}

.cta-band p {
    color: var(--ink-soft);
    max-width: 58rem;
}

.cta-band__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.4rem;
    list-style: none;
    font-size: 1.35rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 500;
}

.cta-band__facts li {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.cta-band__facts .icon {
    color: var(--blue);
    font-size: 1.6rem;
}

/* =========================================================
   FIND US — grid, and the apply block
   ========================================================= */

.find__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 8rem);
    align-items: start;
}

.find__intro p {
    margin-top: 2rem;
    color: var(--ink-soft);
    max-width: 44rem;
}

.apply__intro {
    margin-top: 3.2rem;
    max-width: 62rem;
    color: var(--ink-soft);
}

.apply__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 4.8rem;
}

/* =========================================================
   THE LOGO MARK
   ========================================================= */

.brand__mark {
    width: 4rem;
    height: 4rem;
    flex: none;
    color: var(--blue);
}

.brand--footer .brand__mark {
    width: 4.8rem;
    height: 4.8rem;
}

/* a blue focus ring on a blue fill is invisible */
.btn--solid:focus-visible {
    outline-color: var(--ink);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
    html {
        font-size: 58%;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 1rem var(--pad-inline) 2rem;
        clip-path: inset(0 0 100% 0);
        opacity: 0;
        pointer-events: none;
        transition: clip-path .45s var(--ease), opacity .3s var(--ease);
    }

    .nav.is-open {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__link {
        font-size: 1.9rem;
        padding: 1.3rem 0;
    }

    .nav__link::after {
        left: auto;
        right: 0;
        top: 50%;
        bottom: auto;
        transform: translate(0, -50%) scale(0);
    }

    .nav__link.is-active::after {
        transform: translate(0, -50%) scale(1);
    }

    .menu-btn {
        display: block;
    }

    .site-header__cta {
        display: none;
    }

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

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

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

    .facts li {
        padding: 2.8rem 0 0;
        border-right: 0;
        border-top: 1px solid var(--line-soft);
    }

    .facts li:first-child {
        border-top: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        /* Sizing to content rather than the viewport. Holding 100svh here
           left ~300px of slack that centring split into voids above and
           below the copy; the seam showing underneath instead reads as an
           invitation to scroll. */
        min-height: auto;
        padding-block: 12rem 5rem;
        grid-template-rows: auto auto auto auto;
        align-content: start;
        gap: 2.4rem;
    }

    .hero__title {
        font-size: clamp(5.6rem, 17vw, 11rem);
    }

    .hero__foot {
        align-self: start;
    }

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

    /* the desktop flex-basis is a width; in this column it would become
       a 32rem-tall block and push the buttons off screen */
    .hero__lede {
        flex: 0 0 auto;
        max-width: none;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .hero__line--b {
        gap: 1.6rem;
    }

    .page-hero {
        padding-top: 12rem;
    }

    .run li,
    .rows--numbered > li {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .run__time {
        font-size: 1.4rem;
        padding-top: 0;
    }

    .rows--numbered > li::before {
        padding-top: 0;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 55%;
    }

    .hero__tags {
        gap: .2rem;
    }

    .hero__tags i {
        padding: 0 .8rem;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero__rule {
        transform: scaleX(1);
        transition: none;
    }
}
