:root {
    --black: #0c0c0c;
    --white: #ffffff;
    --paper: #f9faf7;
    --paper-soft: #f9faf7;
    --ink: #0c0c0c;
    --muted: rgba(12, 12, 12, 0.64);
    --line: rgba(12, 12, 12, 0.16);
    --accent: #e73f0b;
    --highlight: #a43820;
    --frame: 1480px;
    --text: 760px;
    --gutter: clamp(16px, 2vw, 24px);
    --header-offset: 42px;
    --title-edge: 0px;
    --section-copy-indent: clamp(164px, 16vw, 320px);
    --section-text-width: 720px;
    --section-label-offset: clamp(6px, 0.62vw, 10px);
    --font-body: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
    text-size-adjust: 100%;
    background: var(--paper);
}

body,
h1,
h2,
h3,
p,
ul {
    margin: 0;
}

button,
input {
    font: inherit;
}

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

[hidden] {
    display: none !important;
}

.privacy-banner {
    position: fixed;
    z-index: 190;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(400px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--black);
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
}

.privacy-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-logo { width: 38px; height: auto; }

.privacy-banner h2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 28px;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: right;
    text-transform: uppercase;
}

/* Centre the visible capital letters, rather than the font's descender space. */
.privacy-heading h2 span { transform: translateY(0.08em); }

.privacy-close {
    display: inline-grid;
    place-items: center;
    width: 28px;
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.privacy-close svg { width: 12px; height: 12px; }

.privacy-close:hover { color: var(--accent); }

.privacy-banner p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.78); }

.privacy-banner [data-consent-description] { font-size: 9pt; }

.privacy-banner .privacy-details {
    font: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
}

.privacy-banner .privacy-details:hover { color: var(--accent); }

.privacy-banner [data-consent-status] {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.875rem;
}

.privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.privacy-actions button {
    flex: 1 1 100px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
}

.privacy-actions button:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--accent); }

.legal-page .privacy-banner {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line);
}

.legal-page .privacy-heading,
.legal-page .privacy-banner [data-consent-status] {
    border-color: var(--line);
}

.legal-page .privacy-banner p,
.legal-page .privacy-close {
    color: var(--muted);
}

.legal-page .privacy-close:hover { color: var(--accent); }

.legal-page .privacy-banner .privacy-details {
    text-decoration-color: rgba(12, 12, 12, 0.4);
}

.legal-page .privacy-actions button {
    color: var(--ink);
    border-color: rgba(12, 12, 12, 0.4);
}

.legal-page .privacy-actions button:hover {
    background: rgba(12, 12, 12, 0.04);
    border-color: var(--accent);
}

@media (max-width: 520px) {
    .privacy-logo { width: 36px; }
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.5;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

::selection {
    background: var(--accent);
    color: var(--black);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 200;
    transform: translateY(-160%);
    background: var(--accent);
    color: var(--black);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    min-height: 42px;
    display: block;
    padding: 4px var(--gutter);
    border: 0;
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.site-header[data-transparent-header] {
    background: transparent;
    color: var(--white);
}

.site-header[data-transparent-header] .header-brand img {
    filter: brightness(0) invert(1);
    transition: filter 180ms var(--ease);
}

.site-header[data-transparent-header].is-scrolled {
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid rgba(12, 12, 12, 0.08);
}

.site-header[data-transparent-header].is-scrolled .header-brand img {
    filter: none;
}

.header-frame {
    position: relative;
    min-height: calc(var(--header-offset) - 8px);
    display: flex;
    align-items: center;
}

.header-brand {
    justify-self: start;
    width: 38px;
    margin-left: var(--title-edge);
    display: inline-flex;
    align-items: center;
}

.header-brand img {
    width: 100%;
    height: auto;
}

.header-nav {
    position: absolute;
    left: 50%;
    max-width: calc(100% - 120px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 28px);
    white-space: nowrap;
}

.header-nav a {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    color: rgba(12, 12, 12, 0.74);
    font-size: 8pt;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    transition: color 180ms var(--ease);
}

.site-header[data-transparent-header] .header-nav a {
    color: rgba(255, 255, 255, 0.78);
}

.site-header[data-transparent-header].is-scrolled .header-nav a {
    color: rgba(12, 12, 12, 0.74);
}

.header-nav a:hover {
    color: var(--accent);
    text-decoration: none;
}

.site-header[data-transparent-header] .header-nav a:hover {
    color: var(--accent);
}

.site-header[data-transparent-header].is-scrolled .header-nav a:hover {
    color: var(--accent);
}

.header-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(12, 12, 12, 0.74);
    font-size: 8pt;
    font-weight: 725;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(231, 63, 11, 0.58);
    animation: livePulse 1500ms ease-out infinite;
}

.site-header[data-transparent-header] .header-live {
    color: rgba(255, 255, 255, 0.78);
}

.site-header[data-transparent-header].is-scrolled .header-live {
    color: rgba(12, 12, 12, 0.74);
}

.site-header[data-transparent-header].is-scrolled.is-dark {
    background: var(--black);
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header[data-transparent-header].is-scrolled.is-dark .header-brand img {
    filter: brightness(0) invert(1);
}

.site-header[data-transparent-header].is-scrolled.is-dark .header-nav a,
.site-header[data-transparent-header].is-scrolled.is-dark .header-live {
    color: rgba(255, 255, 255, 0.78);
}

.site-header[data-transparent-header].is-scrolled.is-dark .header-nav a:hover {
    color: var(--accent);
}

.site-header[data-transparent-header].is-section-change,
.site-header[data-transparent-header].is-section-change .header-brand img,
.site-header[data-transparent-header].is-section-change .header-nav a {
    transition: none;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: clamp(126px, 16svh, 176px) var(--gutter) clamp(68px, 10svh, 110px);
    background: var(--paper);
    color: var(--white);
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.64);
}

.hero::after {
    display: none;
    content: "";
}

.hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 0% center;
}

.ai-picture-label {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0;
    opacity: 0.72;
    pointer-events: none;
}

.ai-picture-label > span {
    display: inline-block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.4rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    margin-left: -2px;
    transform: scaleX(0.82);
    transform-origin: left center;
}

.ai-picture-label > img {
    display: block;
    width: clamp(32px, 2.25vw, 42px);
    height: auto;
}

.hero > .ai-picture-label {
    right: auto;
    bottom: 14px;
    left: max(var(--gutter), calc((100vw - var(--frame)) / 2 + var(--title-edge)));
    transform: translateX(calc(clamp(-5px, -0.25vw, -2px) - 3px));
}

.hero > .ai-picture-label > span {
    font-size: 0.58rem;
}

.hero > .ai-picture-label > img {
    width: clamp(64px, 4.4vw, 86px);
}

.manifesto-photo .ai-picture-label {
    right: auto;
    bottom: 4px;
    left: 4px;
}

.manifesto-photo .ai-picture-label > span {
    font-size: 0.56rem;
}

.manifesto-photo .ai-picture-label > img {
    width: clamp(64px, 4.5vw, 82px);
}

.header-frame,
.hero-frame,
.section-frame,
.footer-frame {
    width: min(100%, var(--frame));
    margin-inline: auto;
}

.hero-frame {
    position: relative;
    z-index: 2;
}

.hero-copy {
    width: 100%;
    display: grid;
    justify-items: start;
    gap: 0;
}

.hero h1 {
    margin-left: var(--title-edge);
    color: var(--white);
    font-size: clamp(5.6rem, 11.5vw, 13rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: 0;
    text-shadow: none;
    transform: translateY(clamp(38px, 7svh, 92px));
}

.hero h1 span {
    display: block;
    transform: translateX(var(--hero-word-offset, 0));
}

.hero-word-active {
    --hero-word-offset: -0.025em;
}

.hero-word-social {
    --hero-word-offset: -0.04em;
}

.hero-word-montpellier {
    --hero-word-offset: -0.055em;
}

.hero-title-accent {
    color: var(--accent);
}

.hero-action-row {
    width: calc(100% - var(--title-edge));
    margin-top: clamp(212px, 29svh, 340px);
    margin-left: var(--title-edge);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-subheading {
    color: var(--white);
    font-size: 10pt;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: none;
}

.hero-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10pt;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.hero-button {
    --hero-button-surface: var(--white);
    margin-left: auto;
    padding: 0 18px;
    border-radius: 0;
    position: relative;
    z-index: 0;
    isolation: isolate;
    background: transparent;
    color: var(--black);
    transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.hero-button:hover {
    transform: translateY(-1px);
    --hero-button-surface: var(--accent);
    background: transparent;
    color: var(--black);
}

.hero-button::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: var(--hero-button-surface);
    content: "";
    animation: heroButtonPulse 2.8s cubic-bezier(0.37, 0, 0.2, 1) infinite;
}

@keyframes heroButtonPulse {
    0%,
    100% {
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
        transform: scale(1.16);
    }
}

.content-section {
    position: relative;
    scroll-margin-top: var(--header-offset);
    padding: clamp(84px, 10vw, 132px) var(--gutter);
    border-top: 0;
    background: var(--paper);
    color: var(--ink);
    overflow: visible;
}

.content-section:nth-of-type(odd) {
    background: var(--paper);
}

#about {
    min-height: 100svh;
    display: block;
    padding-top: clamp(62px, 7.4vw, 94px);
    padding-bottom: clamp(84px, 10vw, 132px);
    background: var(--paper);
    color: var(--ink);
    overflow: visible;
}

.section-frame {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
}

.section-label {
    position: sticky;
    top: calc(var(--header-offset) + 18px);
    left: auto;
    z-index: 2;
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: auto;
    margin: 0 0 clamp(28px, 4vw, 48px) var(--title-edge);
    padding-top: var(--section-label-offset);
    color: var(--accent);
    font-size: 11pt;
    font-weight: 725;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    transform: none;
    opacity: 1;
    pointer-events: none;
    transition: color 260ms var(--ease), opacity 260ms var(--ease);
}

#about .section-frame {
    display: block;
    z-index: 3;
    overflow: visible;
}

#about .about-label-track {
    min-height: clamp(112px, 17svh, 194px);
    margin-bottom: clamp(18px, 3.2svh, 42px);
}

#about .section-label {
    margin: 0 0 0 var(--title-edge);
    opacity: 1;
}

#about .section-copy {
    width: 100%;
    margin-inline: 0;
    justify-self: start;
    grid-template-columns: 50% minmax(420px, 560px);
    align-items: start;
    row-gap: clamp(50px, 7svh, 90px);
}

#about .section-copy h2 {
    grid-column: 1 / -1;
    width: min(calc(100% - var(--title-edge) - var(--title-edge)), 1240px);
    max-width: 1240px;
    margin-left: calc(var(--title-edge) - 0.045em);
    margin-bottom: 0;
    color: var(--ink);
    font-size: clamp(3.7rem, 6.4vw, 7.35rem);
    line-height: 1;
    text-align: left;
    text-align-last: left;
}

#about .section-copy p {
    grid-column: 2;
    width: 100%;
    max-width: 560px;
    margin-top: 0;
    margin-left: 0;
    color: rgba(12, 12, 12, 0.78);
}

#about .section-copy h2,
#about .section-copy p {
    justify-self: start;
}

#meetups {
    background: var(--paper);
    color: var(--ink);
}

#community {
    min-height: 100svh;
    display: block;
    padding-top: clamp(62px, 7.4vw, 94px);
    padding-bottom: clamp(84px, 10vw, 132px);
    background: var(--black);
    color: var(--white);
    overflow: visible;
}

#meetups .section-copy h2 {
    color: var(--ink);
}

#meetups .section-copy > p {
    color: rgba(12, 12, 12, 0.78);
}

#community .section-frame {
    display: block;
    z-index: 3;
    overflow: visible;
}

#community .community-label-track {
    min-height: clamp(112px, 17svh, 194px);
    margin-bottom: clamp(18px, 3.2svh, 42px);
}

#community .section-label {
    margin: 0 0 0 var(--title-edge);
    opacity: 1;
}

#community .section-copy {
    width: 100%;
    margin-inline: 0;
    justify-self: start;
    grid-template-columns: 50% minmax(420px, 560px);
    align-items: start;
    row-gap: clamp(76px, 11svh, 148px);
}

#community .section-copy h2 {
    grid-column: 1 / -1;
    width: min(calc(100% - var(--title-edge) - var(--title-edge)), 1240px);
    max-width: 1240px;
    margin-left: calc(var(--title-edge) - 0.045em);
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(3.7rem, 6.4vw, 7.35rem);
    line-height: 1;
    text-align: left;
    text-align-last: left;
}

#community .section-copy p {
    grid-column: 2;
    width: 100%;
    max-width: 560px;
    margin-top: 0;
    margin-left: 0;
    color: rgba(255, 255, 255, 0.72);
}

#community .section-copy h2,
#community .section-copy p {
    justify-self: start;
}

#activities {
    min-height: 100svh;
    padding-top: clamp(62px, 7.4vw, 94px);
    padding-bottom: clamp(84px, 10vw, 132px);
    overflow: visible;
}

#activities .section-frame {
    display: block;
    overflow: visible;
    padding-bottom: 0;
}

#activities .activities-label-track {
    min-height: clamp(112px, 17svh, 194px);
    margin-bottom: clamp(18px, 3.2svh, 42px);
}

#activities .section-label {
    margin: 0 0 0 var(--title-edge);
    opacity: 1;
}

#activities .section-copy,
#activities .activity-grid {
    position: relative;
    z-index: 1;
}

#activities .section-copy {
    width: 100%;
    margin-inline: 0;
    justify-self: start;
}

#activities .section-copy h2 {
    width: min(calc(100% - var(--title-edge) - var(--title-edge)), 1240px);
    max-width: 1240px;
    margin-left: calc(var(--title-edge) - 0.045em);
    color: var(--ink);
    font-size: clamp(3.7rem, 6.4vw, 7.35rem);
    line-height: 1;
    text-align: left;
    text-align-last: left;
}

.statement-fly-in {
    opacity: 0;
    transform: translateY(52px);
    transition: opacity 860ms cubic-bezier(0.16, 0.78, 0.22, 1), transform 860ms cubic-bezier(0.16, 0.78, 0.22, 1);
    will-change: opacity, transform;
}

.statement-fly-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-description-fly-in,
.community-description-fly-in,
.join-description-fly-in,
.join-cta-fly-in {
    opacity: 0;
    transform: translateY(52px);
    transition: opacity 860ms cubic-bezier(0.16, 0.78, 0.22, 1), transform 860ms cubic-bezier(0.16, 0.78, 0.22, 1);
    will-change: opacity, transform;
}

.about-description-fly-in.is-visible,
.community-description-fly-in.is-visible,
.join-description-fly-in.is-visible,
.join-cta-fly-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.manifesto-section {
    --manifesto-height: 132svh;
    --manifesto-space: clamp(8rem, 16svh, 14rem);
    position: relative;
    min-height: var(--manifesto-height);
    padding: 0 var(--gutter);
    background: var(--black);
    color: var(--white);
    overflow: clip;
    view-timeline-name: --manifesto-section;
    view-timeline-axis: block;
}

.manifesto-frame {
    width: min(100%, var(--frame));
    min-height: var(--manifesto-height);
    margin-inline: auto;
    position: relative;
}

.manifesto-gallery {
    position: absolute;
    inset: var(--manifesto-space) 0;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(8px, 1.2vw, 18px);
    pointer-events: none;
}

.manifesto-photo {
    position: relative;
    height: clamp(20rem, 48svh, 36rem);
    margin: 0;
    overflow: hidden;
    background: var(--black);
}

.manifesto-photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.manifesto-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.manifesto-text {
    position: absolute;
    top: var(--manifesto-space);
    right: 0;
    left: 0;
    z-index: 1;
    width: min(100%, 1160px);
    margin: 0 auto;
    color: var(--white);
    font-size: clamp(3.2rem, 7.25vw, 8.8rem);
    font-weight: 825;
    line-height: 0.9;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    transform: translateY(0);
}

@keyframes manifestoDrift {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(calc(var(--manifesto-height) - (var(--manifesto-space) * 2) - 100%));
    }
}

@keyframes manifestoPhotoReveal {
    from {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        transform: translateY(0);
    }
}

@supports (animation-timeline: view()) {
    .manifesto-text {
        animation: manifestoDrift linear both;
        animation-timeline: --manifesto-section;
        animation-range: entry 0% exit 100%;
    }

    .manifesto-photo {
        animation: manifestoPhotoReveal linear both;
        animation-timeline: --manifesto-section;
        animation-range: entry 12% cover 46%;
    }

    .manifesto-photo:nth-child(2) {
        animation-range: entry 20% cover 54%;
    }
}

.section-copy {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, var(--section-text-width));
    margin-inline: auto;
    justify-self: center;
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(24px, 3.2vw, 42px);
}

.section-copy h2 {
    max-width: 100%;
    color: var(--ink);
    font-size: clamp(1.45rem, 3.25vw, 3.25rem);
    font-weight: 825;
    line-height: 0.94;
    letter-spacing: 0;
    text-align: center;
    text-align-last: center;
}

.section-copy p {
    max-width: 100%;
    color: rgba(12, 12, 12, 0.78);
    font-size: 11pt;
    line-height: 1.56;
    text-align: justify;
    text-align-last: left;
}

.activity-grid {
    grid-column: 1 / -1;
    width: calc(100% - var(--title-edge) - var(--title-edge));
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: clamp(88px, 8vw, 136px) 0 0 var(--title-edge);
}

.activity-item {
    display: grid;
    gap: 0;
    align-content: start;
    background: var(--white);
    border: 1px solid rgba(12, 12, 12, 0.08);
    box-shadow: none;
}

.activity-card {
    position: relative;
    aspect-ratio: 2 / 3;
    min-height: clamp(390px, 32vw, 520px);
    overflow: hidden;
    border-radius: 0;
    background: var(--black);
    isolation: isolate;
}

.activity-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    height: auto;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.activity-card-enjoy::after {
    background: rgba(0, 0, 0, 0.18);
}

.activity-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    transition: transform 700ms var(--ease);
}

.activity-card-move img {
    object-position: 50% 58%;
}

.activity-card-enjoy img {
    object-position: 50% 58%;
}

.activity-card-develop img {
    object-position: 50% 58%;
}

.activity-card:hover img {
    transform: scale(1.035);
}

.activity-card-copy {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    width: 100%;
    align-content: start;
    margin-top: 0;
    padding: clamp(18px, 2vw, 26px);
    background: transparent;
    color: var(--ink);
}

.activity-card-copy h3 {
    color: var(--black);
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 825;
    line-height: 0.94;
}

.activity-card-copy p {
    max-width: var(--text);
    color: rgba(12, 12, 12, 0.78);
    font-size: 11pt;
    font-weight: 400;
    line-height: 1.56;
    text-align: justify;
    text-align-last: left;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
    gap: 12px;
}

.event-card {
    display: grid;
    gap: 18px;
    min-height: 156px;
    align-content: space-between;
    padding: 18px;
    border: 1px solid rgba(12, 12, 12, 0.14);
    border-radius: 0;
    background: rgba(249, 250, 247, 0.48);
}

#meetups .event-card {
    border-color: rgba(12, 12, 12, 0.18);
    background: rgba(255, 255, 255, 0.82);
}

.event-date {
    display: grid;
    gap: 5px;
    color: var(--ink);
    font-style: normal;
    line-height: 1;
}

.event-date span {
    color: rgba(12, 12, 12, 0.64);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-date strong {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.event-symbol {
    width: 66px;
    height: 52px;
    display: grid;
    place-items: center;
    justify-self: center;
    color: var(--accent);
}

.event-symbol img {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
}

.event-symbol-run,
.event-symbol-cycling {
    --event-icon: url("schedule-run.png");
}

.event-symbol-cycling {
    --event-icon: url("schedule-cycling.png");
}

.event-symbol-run::before,
.event-symbol-cycling::before {
    content: "";
    width: 52px;
    height: 52px;
    background: currentColor;
    -webkit-mask: var(--event-icon) center / contain no-repeat;
    mask: var(--event-icon) center / contain no-repeat;
}

.event-symbol-run img,
.event-symbol-cycling img {
    display: none;
}

.event-symbol svg {
    width: 52px;
    height: 52px;
    overflow: visible;
}

.event-symbol path,
.event-symbol circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 5.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.event-symbol .icon-fill {
    fill: currentColor;
    stroke: none;
}

.event-symbol-gym svg {
    width: 52px;
}

.event-symbol-gym path {
    stroke-width: 6.8;
}

.event-copy {
    display: grid;
    gap: 4px;
}

.event-copy h3 {
    color: var(--ink);
    font-size: clamp(0.98rem, 1.45vw, 1.18rem);
    font-weight: 900;
    line-height: 1.08;
}

.event-copy p,
.section-copy .schedule-empty {
    color: rgba(12, 12, 12, 0.68);
    font-size: 11pt;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
}

.event-copy p {
    display: grid;
    gap: 2px;
}

.logo-inline {
    display: inline-flex;
    width: auto;
    height: 0.82em;
    vertical-align: -0.06em;
}

.logo-inline img {
    width: auto;
    height: 100%;
}

.button {
    width: fit-content;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--black);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1;
    transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.button:hover {
    transform: translateY(-1px);
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.site-footer {
    padding: 34px var(--gutter) 28px;
    background: var(--paper);
    color: rgba(12, 12, 12, 0.62);
    border-top: 1px solid rgba(12, 12, 12, 0.12);
}

.footer-frame {
    display: grid;
    gap: 22px;
}

.site-footer .footer-frame {
    width: min(100%, 960px);
}

.footer-note {
    display: grid;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(12, 12, 12, 0.12);
}

.brand-logo {
    width: auto;
    height: 24px;
    object-fit: contain;
}

.footer-note p {
    max-width: 680px;
    color: rgba(12, 12, 12, 0.62);
    font-size: 0.76rem;
    line-height: 1.42;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.25fr 1.55fr 1fr 1fr;
    gap: clamp(24px, 4vw, 52px);
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(12, 12, 12, 0.12);
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-column .privacy-settings {
    appearance: none;
    width: fit-content;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.footer-column h2 {
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-column a,
.footer-column .privacy-settings,
.footer-column p,
.footer-bottom p {
    color: rgba(12, 12, 12, 0.62);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
}

.footer-column a:hover,
.footer-column .privacy-settings:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-column a[aria-current="page"] {
    color: var(--ink);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
}

@keyframes livePulse {
    70% {
        box-shadow: 0 0 0 12px rgba(231, 63, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 63, 11, 0);
    }
}

.legal-page,
.legal-main {
    background: var(--paper);
    color: var(--ink);
}

.legal-shell {
    width: min(100%, 960px);
    margin-inline: auto;
}

.legal-hero {
    --legal-heading-space: clamp(28px, 4vw, 48px);
    padding: var(--legal-heading-space) var(--gutter) 0;
}

.legal-hero .legal-shell {
    padding-bottom: var(--legal-heading-space);
    border-bottom: 1px solid var(--line);
}

.legal-brand {
    display: block;
    width: 38px;
}

.legal-brand img {
    width: 100%;
    height: auto;
}

.legal-hero h1 {
    margin-top: var(--legal-heading-space);
    color: var(--ink);
    font-size: clamp(2.75rem, 7.5vw, 6rem);
    font-weight: 780;
    line-height: 0.94;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.legal-content p {
    max-width: 760px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 11pt;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.legal-content .legal-disclosure {
    margin-top: 0;
    padding-top: 32px;
}

.legal-content {
    padding: 0 var(--gutter) clamp(64px, 8vw, 112px);
}

.eyebrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.legal-content h2 {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 11pt;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.legal-content h2:first-child {
    margin-top: 0;
    border-top: 0;
}

.legal-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    text-decoration-color: var(--accent);
}

.legal-page .site-footer {
    background: var(--paper);
    color: var(--muted);
    border-top-color: var(--line);
}

.legal-page .footer-note,
.legal-page .footer-columns {
    border-bottom-color: var(--line);
}

.legal-page .footer-column a,
.legal-page .footer-column .privacy-settings,
.legal-page .footer-column p,
.legal-page .footer-bottom p {
    color: var(--muted);
}

.legal-page .footer-column h2,
.legal-page .footer-column a[aria-current="page"],
.legal-page .footer-column a:hover,
.legal-page .footer-column .privacy-settings:hover {
    color: var(--ink);
}

@media (max-width: 860px) {
    :root {
        --header-offset: 40px;
        --section-copy-indent: clamp(112px, 20vw, 150px);
        --section-label-offset: 5px;
    }

    .site-header {
        top: 0;
        width: 100%;
        min-height: 40px;
        padding: 4px var(--gutter);
    }

    .header-nav {
        justify-content: center;
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .header-nav::-webkit-scrollbar {
        display: none;
    }

    .header-nav a {
        min-height: 24px;
        font-size: 8pt;
    }

    .header-live {
        display: none;
    }

    .section-frame {
        display: block;
        gap: 0;
    }

    .section-label {
        font-size: 11pt;
    }

    .section-copy {
        width: min(100%, var(--section-text-width));
        margin-inline: auto;
        gap: 22px;
    }

    #about {
        min-height: 100svh;
        padding-top: 62px;
    }

    #about .about-label-track {
        min-height: clamp(88px, 14svh, 132px);
        margin-bottom: clamp(16px, 2.6svh, 28px);
    }

    #about .section-label {
        margin: 0 0 0 var(--title-edge);
    }

    #about .section-copy {
        width: 100%;
        margin-inline: 0;
        grid-template-columns: 1fr;
        gap: clamp(38px, 7svh, 64px);
    }

    #about .section-copy h2 {
        grid-column: 1;
        width: calc(100% - var(--title-edge) - var(--title-edge));
        margin-left: var(--title-edge);
        margin-bottom: 0;
        font-size: clamp(3.7rem, 6.4vw, 7.35rem);
    }

    #about .section-copy p {
        grid-column: 1;
        width: min(calc(100% - var(--title-edge) - var(--title-edge)), var(--section-text-width));
        margin-left: var(--title-edge);
    }

    #community {
        min-height: 100svh;
        padding-top: 62px;
    }

    #community .community-label-track {
        min-height: clamp(88px, 14svh, 132px);
        margin-bottom: clamp(16px, 2.6svh, 28px);
    }

    #community .section-label {
        margin: 0 0 0 var(--title-edge);
    }

    #community .section-copy {
        width: 100%;
        margin-inline: 0;
        grid-template-columns: 1fr;
        gap: clamp(38px, 7svh, 64px);
    }

    #community .section-copy h2 {
        grid-column: 1;
        width: calc(100% - var(--title-edge) - var(--title-edge));
        margin-left: var(--title-edge);
        margin-bottom: 0;
        font-size: clamp(3.7rem, 6.4vw, 7.35rem);
    }

    #community .section-copy p {
        grid-column: 1;
        width: min(calc(100% - var(--title-edge) - var(--title-edge)), var(--section-text-width));
        margin-left: var(--title-edge);
    }

    .about-description-fly-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .manifesto-section,
    .manifesto-frame {
        min-height: 118svh;
    }

    .manifesto-section {
        --manifesto-height: 118svh;
    }

    .manifesto-text {
        width: min(100%, 760px);
        font-size: clamp(2.65rem, 12vw, 6rem);
        line-height: 0.92;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    :root {
        --section-label-offset: 4px;
    }

    .site-header {
        border-radius: 0;
    }

    .header-brand {
        width: 36px;
    }

    .hero {
        min-height: 100svh;
        padding-top: 118px;
        padding-bottom: 48px;
    }

    .hero h1 {
        font-size: clamp(3.25rem, 16vw, 5.4rem);
        transform: translateY(clamp(22px, 5svh, 42px));
    }

    .hero-action-row {
        margin-top: 154px;
    }

    .section-frame {
        display: block;
    }

    .section-label {
        position: sticky;
        top: calc(var(--header-offset) + 12px);
        left: auto;
        display: block;
        width: auto;
        margin: 0 0 22px var(--title-edge);
        padding-top: var(--section-label-offset);
        font-size: 11pt;
        line-height: 1;
        writing-mode: horizontal-tb;
        transform: none;
    }

    .section-copy {
        width: min(100%, var(--section-text-width));
        margin-inline: auto;
    }

    #about {
        min-height: 100svh;
        padding-top: 52px;
        padding-bottom: 84px;
    }

    #about .about-label-track {
        min-height: 74px;
        margin-bottom: 18px;
    }

    #about .section-label {
        margin: 0 0 0 var(--title-edge);
    }

    #about .section-copy {
        width: 100%;
        margin-inline: 0;
        grid-template-columns: 1fr;
    }

    #about .section-copy h2 {
        margin-bottom: 96px;
        font-size: clamp(2.35rem, 11.8vw, 4rem);
    }

    #about .section-copy p {
        grid-column: 1;
        width: min(calc(100% - var(--title-edge) - var(--title-edge)), var(--section-text-width));
        margin-left: var(--title-edge);
    }

    #community {
        min-height: 100svh;
        padding-top: 52px;
        padding-bottom: 84px;
    }

    #community .community-label-track {
        min-height: 74px;
        margin-bottom: 18px;
    }

    #community .section-label {
        margin: 0 0 0 var(--title-edge);
    }

    #community .section-copy {
        width: 100%;
        margin-inline: 0;
        grid-template-columns: 1fr;
    }

    #community .section-copy h2 {
        margin-bottom: 96px;
        font-size: clamp(2.35rem, 11.8vw, 4rem);
    }

    #community .section-copy p {
        grid-column: 1;
        width: min(calc(100% - var(--title-edge) - var(--title-edge)), var(--section-text-width));
        margin-left: var(--title-edge);
    }

    .manifesto-section,
    .manifesto-frame {
        min-height: 110svh;
    }

    .manifesto-section {
        --manifesto-height: 110svh;
    }

    .manifesto-text {
        font-size: clamp(2.15rem, 13vw, 4.45rem);
        line-height: 0.94;
    }

    .content-section {
        scroll-margin-top: var(--header-offset);
        padding-top: 64px;
        padding-bottom: clamp(84px, 10vw, 132px);
    }

    .section-copy h2 {
        font-size: clamp(1.45rem, 7.8vw, 2.45rem);
    }

    .activity-grid {
        grid-template-columns: 1fr;
        width: calc(100% - var(--title-edge) - var(--title-edge));
        gap: 32px;
        transform: none;
    }

    .activity-card {
        aspect-ratio: 4 / 3;
        min-height: 230px;
    }

    .schedule-list {
        grid-template-columns: 1fr;
    }

    .event-card {
        min-height: 132px;
    }

    .site-footer {
        padding-top: 28px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-bottom {
        display: grid;
        gap: 6px;
    }

    .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

/* Community Index section system */
.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

/* Restore the original hero title block so the image keeps its original crop. */
.hero h1 {
    height: auto;
    font-size: clamp(5.25rem, 9vw, 10.4rem);
    transform: translateY(clamp(38px, 7svh, 92px));
}

.section-heading .section-label,
.section-heading .section-index {
    position: static;
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--ink);
    font-size: 8pt;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

.section-heading .section-index {
    color: var(--accent);
}

#about,
#activities,
#community,
#meetups,
#join {
    padding-top: clamp(72px, 8vw, 112px);
}

#about .section-frame,
#activities .section-frame,
#community .section-frame,
#meetups .section-frame,
#join .section-frame {
    display: block;
}

#about .section-copy,
#community .section-copy {
    margin-top: clamp(72px, 10vw, 150px);
}

#activities .section-copy {
    margin-top: clamp(72px, 10vw, 150px);
}

#about .section-copy h2,
#activities .section-copy h2,
#community .section-copy h2,
#meetups .schedule-intro h2,
#join .section-copy h2 {
    text-transform: uppercase;
}

#community .section-heading {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

#community .section-heading .section-label {
    color: var(--white);
}

#activities .activity-list {
    width: 100%;
    margin-top: clamp(72px, 10vw, 148px);
    border-top: 1px solid var(--line);
}

.activity-row {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(170px, 0.48fr) 24px;
    gap: 16px;
    align-items: center;
    min-height: clamp(112px, 12vw, 168px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    transition: color 350ms var(--ease), padding 350ms var(--ease);
}

.activity-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: translateX(-101%);
    background: var(--accent);
    transition: transform 500ms var(--ease);
}

.activity-row > * {
    position: relative;
    z-index: 1;
}

.activity-row:hover {
    padding-inline: 16px;
    color: var(--black);
}

.activity-row:hover::before {
    transform: translateX(0);
}

.activity-row-index {
    font-size: 8pt;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.activity-row h3 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 5rem);
    font-weight: 780;
    line-height: 0.84;
    letter-spacing: 0;
    text-transform: uppercase;
}

.activity-row p {
    margin: 0;
    color: rgba(12, 12, 12, 0.64);
    font-size: 10pt;
    font-weight: 400;
    line-height: 1.32;
    text-align: left;
}

.activity-row:hover p {
    color: rgba(12, 12, 12, 0.78);
}

.activity-row-mark {
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1;
    text-align: right;
}

#meetups .section-heading {
    margin-bottom: 0;
}

#meetups .schedule-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(32px, 8vw, 124px);
    align-items: start;
    margin-top: clamp(72px, 10vw, 148px);
}

#meetups .schedule-intro {
    position: static;
}

#meetups .schedule-intro h2 {
    margin: 0 0 24px;
    color: var(--ink);
    font-size: clamp(3rem, 6vw, 6.8rem);
    font-weight: 790;
    line-height: 0.82;
    letter-spacing: 0;
    text-align: left;
}

#meetups .schedule-intro p {
    max-width: 30ch;
    margin: 0;
    color: rgba(12, 12, 12, 0.62);
    font-size: 11pt;
    line-height: 1.48;
    text-align: left;
}

#meetups .schedule-events {
    min-width: 0;
}

#meetups .schedule-list {
    display: block;
    border-top: 1px solid var(--line);
}

#meetups .event-row {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 20px;
    gap: 18px;
    align-items: center;
    min-height: 132px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

#meetups .event-date {
    display: grid;
    gap: 2px;
    color: var(--ink);
    font-size: 8pt;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

#meetups .event-date span {
    display: block;
}

#meetups .event-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(126px, 0.42fr);
    grid-template-rows: auto auto;
    column-gap: 18px;
    align-items: start;
}

#meetups .event-copy > span {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    color: rgba(12, 12, 12, 0.58);
    font-size: 8pt;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

#meetups .event-copy h3 {
    grid-column: 1;
    grid-row: 2;
    margin: 7px 0 4px;
    color: var(--ink);
    font-size: clamp(1.7rem, 3.5vw, 3.65rem);
    font-weight: 740;
    line-height: 0.86;
    letter-spacing: 0;
    text-transform: uppercase;
}

#meetups .event-copy h3 span {
    color: var(--accent);
}

#meetups .schedule-intro h2 span {
    display: inline-block;
    margin-left: 0.3em;
    color: rgba(12, 12, 12, 0.78);
    font-size: 11pt;
    font-weight: 400;
    line-height: 1.48;
    text-transform: none;
}

#meetups .event-copy p {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    margin: 0;
    color: rgba(12, 12, 12, 0.62);
    font-size: 10pt;
    font-weight: 400;
    line-height: 1.32;
    text-align: center;
}

#meetups .event-mark {
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    text-align: right;
}

#meetups .schedule-empty {
    margin: 18px 0 0;
    color: rgba(12, 12, 12, 0.62);
}

#meetups .schedule-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 12px;
}

#meetups .schedule-actions a,
#meetups .schedule-actions button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

#join .section-copy {
    margin-top: clamp(72px, 10vw, 150px);
}

@media (max-width: 860px) {
    #about .section-copy,
    #community .section-copy {
        grid-template-columns: 1fr;
        row-gap: 42px;
    }

    #about .section-copy p,
    #community .section-copy p {
        grid-column: 1;
        width: min(100%, 560px);
    }

    #meetups .schedule-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    #meetups .schedule-intro {
        position: static;
    }

}

@media (max-width: 640px) {
    .section-heading {
        gap: 12px;
    }

    .section-heading .section-index {
        font-size: 7pt;
    }

    .activity-row {
        grid-template-columns: 1fr 20px;
        min-height: 112px;
    }

    .activity-row-index,
    .activity-row p {
        display: none;
    }

    .activity-row h3 {
        font-size: clamp(2rem, 11vw, 3.4rem);
    }

    #meetups .event-row {
        grid-template-columns: 74px minmax(0, 1fr) 16px;
        gap: 12px;
        min-height: 116px;
    }

    #meetups .event-copy h3 {
        font-size: clamp(1.55rem, 8.2vw, 2.7rem);
    }
}

@media (max-width: 520px) {
    .hero h1 {
        height: auto;
        font-size: clamp(3.25rem, 16vw, 5.4rem);
        transform: translateY(clamp(22px, 5svh, 42px));
    }
}

/* Keep the hero image untouched while balancing the copy between header and footer. */
.hero {
    display: block;
    padding: 0 var(--gutter);
}

.hero-frame,
.hero-copy {
    min-height: 100svh;
}

.hero-copy {
    position: relative;
    display: block;
}

.hero h1 {
    position: absolute;
    top: 47%;
    left: 0;
    margin: 0;
    transform: translateY(-50%);
}

.hero-action-row {
    position: absolute;
    right: 0;
    bottom: max(16px, calc(var(--header-offset) - 16px));
    left: 0;
    width: 100%;
    margin: 0;
}

@media (max-width: 520px) {
    .hero {
        padding: 0 var(--gutter);
    }

    .hero h1 {
        transform: translateY(-50%);
    }

    .hero-action-row {
        bottom: max(16px, calc(var(--header-offset) - 16px));
        margin: 0;
    }
}

/* Oversized vertical image sequence for the manifesto. */
.manifesto-section {
    --manifesto-space: clamp(9rem, 20svh, 16rem);
    min-height: 0;
    view-timeline-name: --manifesto-section;
    overflow: visible;
}

.manifesto-frame {
    min-height: 0;
    display: grid;
}

.manifesto-gallery {
    position: relative;
    inset: auto;
    z-index: 0;
    grid-area: 1 / 1;
    width: min(72vw, 1120px);
    margin-inline: auto;
    padding-block: var(--manifesto-space);
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: clamp(12rem, 32svh, 28rem);
}

.manifesto-photo {
    height: clamp(30rem, 64svh, 48rem);
}

.manifesto-text-track {
    z-index: 1;
    grid-area: 1 / 1;
    align-self: stretch;
    margin-block: var(--manifesto-space);
    pointer-events: none;
}

.manifesto-text {
    position: sticky;
    inset: auto;
    z-index: auto;
    grid-area: auto;
    align-self: auto;
    top: 50svh;
    margin: 0 auto;
    transform: translateY(-50%);
    pointer-events: none;
}

@keyframes manifestoVerticalPhotoReveal {
    from {
        clip-path: inset(0 0 100% 0);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@supports (animation-timeline: view()) {
    .manifesto-text {
        animation: none;
    }

    .manifesto-photo {
        animation: none;
    }

}

@media (max-width: 640px) {
    .manifesto-section {
        --manifesto-space: clamp(6rem, 15svh, 9rem);
    }

    .manifesto-gallery {
        width: 100%;
        gap: clamp(8rem, 20svh, 12rem);
    }

    .manifesto-photo {
        height: clamp(20rem, 48svh, 29rem);
    }
}

/* Scroll scene: statement first, then one full image at a time. */
.manifesto-section {
    --manifesto-scene-height: 480svh;
    --manifesto-scene-space: 0px;
    min-height: var(--manifesto-scene-height);
    padding-inline: var(--gutter);
    overflow: clip;
}

.manifesto-frame {
    width: 100vw;
    min-height: var(--manifesto-scene-height);
    margin-right: 0;
    margin-left: calc((100vw - 100%) / -2);
    display: block;
    position: relative;
}

.manifesto-canvas {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
}

.manifesto-gallery {
    position: absolute;
    right: 0;
    bottom: var(--manifesto-scene-space);
    z-index: 1;
    width: min(62vw, 950px);
    height: clamp(28rem, 72svh, 52rem);
    margin: 0;
    padding: 0;
    display: block;
    pointer-events: none;
}

.manifesto-photo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    transform: translate(96px, 112px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 260ms ease, transform 650ms cubic-bezier(0.16, 0.78, 0.22, 1);
    will-change: opacity, transform;
}

.manifesto-photo.is-active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.manifesto-photo:nth-child(1) {
    z-index: 1;
}

.manifesto-photo:nth-child(2) {
    z-index: 2;
}

.manifesto-photo:nth-child(3) {
    z-index: 3;
}

.manifesto-photo::after {
    background: rgba(0, 0, 0, 0.28);
}

.manifesto-text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(86vw, 1160px);
    margin: 0;
    color: var(--white);
    text-align: center;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: top left;
    transition: top 720ms cubic-bezier(0.16, 0.78, 0.22, 1), left 720ms cubic-bezier(0.16, 0.78, 0.22, 1), transform 720ms cubic-bezier(0.16, 0.78, 0.22, 1);
    will-change: top, left, transform;
    pointer-events: none;
}

.manifesto-section.is-statement-compact .manifesto-text {
    top: max(32px, 8svh);
    left: var(--gutter);
    text-align: left;
    transform: translate(0, 0) scale(0.44);
}

@media (max-width: 640px) {
    .manifesto-section {
        --manifesto-scene-height: 420svh;
        --manifesto-scene-space: 0px;
    }

    .manifesto-gallery {
        width: min(72vw, 390px);
        height: clamp(20rem, 56svh, 34rem);
    }

}

/* Join follows the same staged layout as About, with its own dark field. */
#join {
    min-height: 100svh;
    padding-bottom: clamp(84px, 10vw, 132px);
    background: var(--black);
    color: var(--white);
}

#join .section-heading {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

#join .section-heading .section-label {
    color: var(--white);
}

#join .section-heading .section-index {
    color: var(--accent);
}

#join .section-copy {
    width: 100%;
    margin-top: clamp(72px, 10vw, 150px);
    margin-inline: 0;
    justify-self: start;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    column-gap: clamp(64px, 6vw, 112px);
    align-items: start;
    row-gap: clamp(50px, 7svh, 90px);
}

#join .section-copy h2 {
    grid-column: 1;
    width: 100%;
    max-width: none;
    margin-left: calc(var(--title-edge) - 0.045em);
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(3.7rem, 6.4vw, 7.35rem);
    line-height: 1;
    text-align: left;
    text-align-last: left;
}

#join .section-copy p {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 560px;
    margin: 0;
    margin-left: var(--title-edge);
    color: rgba(255, 255, 255, 0.72);
    justify-self: start;
    text-align: left;
}

#join .join-cta-zone {
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    width: 100%;
    min-height: 0;
    align-self: stretch;
    justify-self: stretch;
}

#join .section-copy .button {
    --join-button-surface: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: auto;
    min-height: 48px;
    padding: 0 26px;
    margin: 0;
    border-color: var(--join-button-surface);
    border-radius: 999px;
    background: transparent;
    color: var(--black);
    isolation: isolate;
    transform: translate(-50%, calc(-50% + 52px));
}

#join .section-copy .button > span {
    position: static;
    color: inherit;
    font-size: 10pt;
    font-weight: 800;
    line-height: 1;
    letter-spacing: normal;
    text-transform: uppercase;
    white-space: nowrap;
    transform: none;
}

#join .section-copy .button:hover {
    --join-button-surface: var(--accent);
    background: transparent;
    border-color: var(--accent);
    color: var(--black);
}

#join .section-copy .button::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: var(--join-button-surface);
    content: "";
    animation: heroButtonPulse 2.8s cubic-bezier(0.37, 0, 0.2, 1) infinite;
}

#join .section-copy .join-cta-fly-in {
    transition: opacity 860ms cubic-bezier(0.16, 0.78, 0.22, 1), transform 860ms cubic-bezier(0.16, 0.78, 0.22, 1), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

#join .section-copy .join-cta-fly-in.is-visible {
    transform: translate(-50%, -50%);
}

@media (min-width: 861px) {
    #join .join-cta-zone {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        place-items: center;
    }

    #join .section-copy .button {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        top: auto;
        left: auto;
        transform: translateY(52px);
    }

    #join .section-copy .join-cta-fly-in.is-visible {
        transform: none;
    }
}

.site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.62);
    border-top-color: rgba(255, 255, 255, 0.16);
}

.footer-note,
.footer-columns {
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.footer-note p,
.footer-column a,
.footer-column .privacy-settings,
.footer-column p,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.62);
}

.footer-column h2,
.footer-column a[aria-current="page"] {
    color: var(--white);
}

@media (max-width: 860px) {
    #join .section-copy {
        grid-template-columns: 1fr;
        row-gap: 42px;
    }

    #join .section-copy p,
    #join .join-cta-zone {
        grid-column: 1;
        width: min(100%, 560px);
    }

    #join .join-cta-zone {
        grid-row: auto;
        min-height: 64px;
        margin-right: 0;
        margin-left: var(--title-edge);
        justify-self: start;
        align-self: start;
    }

    #join .section-copy .button {
        top: 0;
        left: 0;
        min-height: 64px;
        padding: 0 24px;
        transform: translateY(52px);
    }

    #join .section-copy .join-cta-fly-in.is-visible {
        transform: none;
    }
}

@media (max-width: 640px) {
    #join .section-copy h2 {
        margin-bottom: 96px;
        font-size: clamp(2.35rem, 11.8vw, 4rem);
    }
}

/* Final detail pass. */
html,
body {
    overscroll-behavior: none;
    background: var(--black);
}

.text-accent {
    color: var(--accent);
}

.hero-button {
    border-radius: 999px;
}

.activity-row-mark,
#meetups .event-mark {
    width: 7px;
    height: 7px;
    display: block;
    border: 0;
    background: var(--accent);
    font-size: 0;
    line-height: 0;
    justify-self: end;
}

.activity-row:hover .activity-row-mark {
    background: var(--black);
}

#meetups .schedule-intro h2 > span {
    display: block;
    width: 42ch;
    max-width: 100%;
    margin: 44px 0 0;
}

#meetups .schedule-intro h2 .schedule-subline {
    display: block;
    margin: 0;
}

@media (max-width: 640px) {
    #meetups .schedule-intro h2 span {
        width: 29ch;
    }

}

/* Mobile navigation and content hierarchy. */
.header-menu {
    display: none;
}

@media (max-width: 760px) {
    .site-header {
        width: 100vw;
    }

    /* Fill the visible screen as Safari expands or collapses its toolbar. */
    .hero,
    .hero-frame,
    .hero-copy {
        min-height: 100dvh;
    }

    .manifesto-canvas {
        height: 100dvh;
    }

    body.menu-open {
        overflow: hidden;
    }

    .header-brand,
    .header-menu {
        position: relative;
        z-index: 2;
    }

    .header-menu {
        width: 40px;
        min-height: 36px;
        margin-left: auto;
        margin-right: var(--title-edge);
        padding: 8px 0;
        display: inline-grid;
        align-content: center;
        justify-items: end;
        gap: 4px;
        border: 0;
        background: transparent;
        color: currentColor;
        cursor: pointer;
    }

    .header-menu span {
        display: block;
        width: 20px;
        height: 1px;
        background: currentColor;
        transition: transform 220ms var(--ease), opacity 160ms var(--ease);
    }

    .site-header.is-menu-open {
        background: var(--black) !important;
        color: var(--white);
        border-bottom-color: transparent;
    }

    .site-header.is-menu-open .header-brand img {
        filter: brightness(0) invert(1);
    }

    .site-header.is-menu-open .header-menu span:first-child {
        transform: translateY(5px) rotate(45deg);
    }

    .site-header.is-menu-open .header-menu span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .header-menu span:last-child {
        transform: translateY(-5px) rotate(-45deg);
    }

    .header-nav {
        display: none;
    }

    .site-header.is-menu-open .header-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        width: 100vw;
        max-width: none;
        margin: 0;
        padding: calc(var(--header-offset) + 48px) var(--gutter) 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(24px, 5svh, 42px);
        overflow: hidden;
        background: var(--black);
        transform: none;
    }

    .site-header.is-menu-open .header-nav a {
        min-height: 44px;
        color: var(--white);
        font-size: clamp(1.8rem, 9vw, 2.45rem);
        font-weight: 725;
        letter-spacing: 0;
    }

    .site-header.is-menu-open .header-nav a:hover,
    .site-header.is-menu-open .header-nav a:focus-visible {
        color: var(--accent);
    }

    .hero-photo img {
        object-position: 72% center;
    }
}

@media (max-width: 640px) {
    :root {
        --mobile-section-space: 56px;
    }

    #about,
    #activities,
    #community,
    #meetups,
    #join {
        min-height: 0;
        padding-top: var(--mobile-section-space);
        padding-bottom: var(--mobile-section-space);
    }

    .manifesto-section {
        padding-inline: 0;
    }

    .manifesto-frame {
        margin-left: 0;
    }

    .manifesto-gallery {
        width: 100vw;
        height: clamp(22rem, 62svh, 34rem);
    }

    .manifesto-text {
        width: 92vw;
        font-size: clamp(2.2rem, 10.5vw, 2.7rem);
    }

    #activities .activity-list {
        margin-top: clamp(56px, 14vw, 72px);
    }

    .activity-row {
        grid-template-columns: minmax(0, 1fr) 16px;
        grid-template-rows: auto auto auto;
        column-gap: 12px;
        row-gap: 5px;
        min-height: 0;
        padding-block: 20px;
    }

    .activity-row-index {
        display: block;
        grid-column: 1;
        grid-row: 1;
        color: rgba(12, 12, 12, 0.58);
        font-size: 8pt;
    }

    .activity-row h3 {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
        font-size: clamp(2rem, 11vw, 3.4rem);
    }

    .activity-row p {
        display: block;
        grid-column: 1;
        grid-row: 3;
        max-width: 32ch;
        margin: 0;
        color: rgba(12, 12, 12, 0.64);
        font-size: 10pt;
        text-align: left;
    }

    .activity-row-mark {
        grid-column: 2;
        grid-row: 1 / 4;
        align-self: center;
    }

    #meetups .schedule-intro h2 > span {
        width: 100%;
        margin: 22px 0 0;
    }

    #meetups .schedule-subline {
        width: auto !important;
        max-width: 100%;
        margin: 0 !important;
        display: block;
        white-space: normal;
    }

    #meetups .event-row {
        grid-template-columns: 74px minmax(0, 1fr) 16px;
        min-height: 0;
        padding-block: 20px;
    }

    #meetups .event-copy {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        row-gap: 5px;
    }

    #meetups .event-copy > span {
        grid-column: 1;
        grid-row: 1;
    }

    #meetups .event-copy h3 {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
    }

    #meetups .event-copy p {
        grid-column: 1;
        grid-row: 3;
        align-self: start;
        margin: 0;
        color: rgba(12, 12, 12, 0.64);
        font-size: 10pt;
        text-align: left;
    }

    #meetups .event-mark {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
    }

    #join .section-copy {
        row-gap: 48px;
    }

    #join .section-copy h2 {
        margin-bottom: 0;
    }

    #join .join-cta-zone {
        grid-row: 3;
        min-height: 48px;
    }

    #join .section-copy .button {
        /* Keep the pulsing background anchored to the button itself. */
        position: relative;
        width: max-content;
        /* Reserve side space even at the animation's 1.16 peak scale. */
        max-width: calc((100% - 32px) / 1.16);
        min-height: 48px;
        transform: none;
    }
}

@media (max-width: 760px) {
    .site-header.is-menu-open[data-transparent-header] .header-nav,
    .site-header.is-menu-open[data-transparent-header].is-scrolled .header-nav,
    .site-header.is-menu-open[data-transparent-header].is-scrolled.is-dark .header-nav {
        display: flex;
        overflow: hidden;
        background: var(--black) !important;
    }

    .site-header.is-menu-open[data-transparent-header] .header-nav a,
    .site-header.is-menu-open[data-transparent-header].is-scrolled .header-nav a,
    .site-header.is-menu-open[data-transparent-header].is-scrolled.is-dark .header-nav a {
        color: var(--white);
    }

    .site-header.is-menu-open .header-nav a {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
}

@media (max-width: 640px) {
    .manifesto-text {
        font-size: clamp(2.75rem, 13.4vw, 3.25rem);
        line-height: 0.9;
    }

    .manifesto-text > span {
        display: block;
    }

    .manifesto-photo:nth-child(1).is-active {
        transform: translate(0, 0) scale(1);
    }

    .manifesto-photo:nth-child(2).is-active {
        transform: translate(0, 0) scale(1);
    }

    .manifesto-photo:nth-child(3).is-active {
        transform: translate(0, 0) scale(1);
    }

    .manifesto-photo:nth-child(1) img {
        object-position: 8% center;
    }

    .manifesto-photo:nth-child(2) img {
        object-position: 57% center;
    }

    .manifesto-photo:nth-child(3) img {
        object-position: 48% center;
    }

    .activity-row {
        row-gap: 7px;
    }

    .activity-row p {
        line-height: 1.42;
    }

    #meetups .event-copy {
        row-gap: 7px;
    }

    #meetups .event-copy h3 {
        line-height: 0.94;
    }

    #meetups .event-copy p {
        line-height: 1.42;
    }

    #join .join-cta-zone {
        min-height: 42px;
        align-items: center;
    }

    #join .join-cta-zone {
        display: flex;
        justify-content: center;
    }

    #join .section-copy .button {
        flex: 0 0 auto;
        min-height: 42px;
        padding-inline: 18px;
    }
}
