:root {
  --plum: #21102f;
  --aubergine: #4c285f;
  --cream: #fff3ed;
  --peach: #ff9c83;
  --pink: #f6b2d4;
  --wisteria: #c394ea;
  --gold: #ffcb79;
  --mint: #a8f0e6;
  --rose: #ef779c;
  --ink-soft: #725d78;
  --display: "Outfit", sans-serif;
  --serif: "Playfair Display", serif;
  --body: "DM Sans", sans-serif;
  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--plum); color: var(--plum); font-family: var(--body); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--wisteria); color: var(--plum); }
.site-shell { width: min(100%, 1600px); margin: auto; background: var(--cream); overflow: hidden; }
.section-pad { padding-left: var(--pad); padding-right: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; height: 84px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; background: rgba(255,243,237,.94); border-bottom: 1px solid rgba(76,40,95,.1); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: 1.08rem; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; box-shadow: 0 3px 14px rgba(76,40,95,.2); }
.brand b { color: var(--rose); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem); }
.site-nav a { position: relative; font-size: .88rem; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -.35rem; background: var(--rose); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.nav-cta { padding: .68rem 1rem; color: var(--cream); background: var(--plum); border-radius: 999px; }
.theme-toggle { min-width: 78px; min-height: 39px; padding: .5rem .75rem; display: inline-flex; align-items: center; justify-content: center; gap: .42rem; color: var(--aubergine); background: rgba(195,148,234,.1); border: 1px solid rgba(76,40,95,.14); border-radius: 999px; font: 700 .75rem var(--display); cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-2px); background: rgba(195,148,234,.18); border-color: rgba(76,40,95,.28); }
.theme-toggle:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.theme-toggle [data-theme-icon] { width: 1rem; color: var(--rose); font-size: .95rem; line-height: 1; }
.menu-button { display: none; background: transparent; border: 0; padding: .5rem; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--plum); transition: .25s ease; }

.eyebrow { margin: 0 0 1rem; color: var(--aubergine); text-transform: uppercase; letter-spacing: .18em; font-family: var(--display); font-size: .72rem; font-weight: 800; }
.eyebrow span { color: var(--rose); margin-right: .45rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); line-height: .98; letter-spacing: -.05em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 600; color: var(--rose); }

.hero { position: relative; min-height: calc(100vh - 84px); min-height: 760px; padding-top: clamp(5rem, 10vh, 8.5rem); padding-bottom: 7rem; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; background: radial-gradient(circle at 50% 20%, rgba(246,178,212,.25), transparent 25%), var(--cream); }
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(to top, rgba(195,148,234,.08), transparent); }
.hero-copy { position: relative; z-index: 2; max-width: 650px; padding-left: max(0px, calc((100vw - var(--max)) / 2)); }
.hero h1 { max-width: 760px; margin-bottom: 1.7rem; font-size: clamp(4rem, 7.2vw, 7.4rem); }
.hero-lede { max-width: 550px; color: #5d4963; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.button-row { display: flex; gap: .9rem; margin-top: 2.2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 51px; padding: .75rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-family: var(--display); font-size: .88rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: linear-gradient(135deg, var(--peach), var(--rose)); color: var(--plum); box-shadow: 0 11px 28px rgba(239,119,156,.28); }
.button-ghost { border-color: rgba(76,40,95,.25); }
.button-ghost:hover { background: white; box-shadow: 0 10px 24px rgba(76,40,95,.1); }
.hero-note { position: absolute; right: -1rem; bottom: -5.5rem; display: flex; gap: .8rem; transform: rotate(-4deg); font-family: var(--serif); color: var(--aubergine); line-height: 1.3; }
.sparkle { color: var(--gold); font-size: 1.4rem; }
.hero-art { position: relative; width: min(100%, 740px); justify-self: end; }
.art-frame { position: relative; overflow: hidden; aspect-ratio: 1.34; border-radius: 48% 48% 5rem 5rem; box-shadow: 0 34px 75px rgba(33,16,47,.25); }
.art-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.45); border-radius: inherit; }
.art-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.floating-seal { position: absolute; left: -3.8rem; bottom: -4rem; width: clamp(115px, 14vw, 185px); aspect-ratio: 1; padding: 7px; background: var(--cream); border-radius: 50%; box-shadow: 0 20px 45px rgba(33,16,47,.28); }
.floating-seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.float-star { position: absolute; color: var(--gold); filter: drop-shadow(0 4px 8px rgba(255,203,121,.4)); }
.star-one { top: -2rem; right: 12%; font-size: 3.2rem; }
.star-two { right: -1rem; bottom: 20%; font-size: 2.3rem; }
.hero-bloom { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.bloom-one { width: 220px; height: 220px; top: 7%; left: 36%; background: radial-gradient(circle, var(--pink), transparent 66%); }
.bloom-two { width: 160px; height: 160px; right: -4rem; bottom: 6%; background: radial-gradient(circle, var(--mint), transparent 66%); }
.scroll-cue { position: absolute; z-index: 3; left: var(--pad); bottom: 2rem; display: flex; gap: .8rem; align-items: center; color: var(--ink-soft); font-size: .72rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .15em; }
.scroll-cue span { position: relative; width: 1px; height: 45px; background: rgba(76,40,95,.25); }
.scroll-cue span::after { content: ""; position: absolute; bottom: 0; left: -2px; width: 5px; height: 5px; background: var(--rose); border-radius: 50%; animation: drift 2s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(-35px); } }

.manifesto { padding-top: clamp(6rem, 12vw, 11rem); padding-bottom: clamp(6rem, 12vw, 11rem); background: white; }
.section-kicker { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 4rem; color: var(--ink-soft); }
.section-kicker span { font-family: var(--display); font-size: .75rem; font-weight: 700; }
.section-kicker p { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.section-kicker::after { content: ""; width: 70px; height: 1px; background: var(--pink); }
.manifesto-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 9vw, 9rem); align-items: end; }
.manifesto h2, .values h2, .preview-copy h2, .closing h2, .collective-note h2 { margin: 0; font-size: clamp(3rem, 5.4vw, 6.2rem); }
.manifesto-copy { max-width: 560px; color: #66566a; font-size: 1.08rem; }
.manifesto-copy p:first-child { color: var(--plum); font-size: 1.25rem; }
.text-link { display: inline-flex; gap: .7rem; align-items: center; margin-top: 1.2rem; color: var(--aubergine); font-weight: 700; text-underline-offset: 5px; text-decoration-color: var(--pink); }

.values { padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(6rem, 10vw, 10rem); background: var(--cream); }
.section-heading { max-width: 900px; margin-bottom: 4rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-card { position: relative; min-height: 410px; padding: 2rem; overflow: hidden; border-radius: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: inset 0 0 0 1px rgba(76,40,95,.08); }
.value-card::before { content: ""; position: absolute; width: 230px; height: 230px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; top: -50px; right: -40px; }
.value-icon { position: absolute; top: 2.5rem; right: 2.5rem; font-size: 5.5rem; color: rgba(255,255,255,.6); }
.value-card h3 { position: relative; margin-bottom: 1rem; font-size: 2rem; }
.value-card p { position: relative; max-width: 320px; margin-bottom: 0; color: rgba(33,16,47,.72); }
.value-peach { background: linear-gradient(145deg, #ffc2b0, var(--peach)); }
.value-violet { background: linear-gradient(145deg, #dbc0f4, var(--wisteria)); }
.value-mint { background: linear-gradient(145deg, #d2faf4, var(--mint)); }

.collective-preview { padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; color: var(--cream); background: var(--plum); }
.preview-art { position: relative; }
.preview-art > img { width: 100%; aspect-ratio: 1.28; object-fit: cover; border-radius: 45% 45% 1.5rem 1.5rem; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.image-caption { position: absolute; right: -2rem; bottom: 1.7rem; padding: 1rem 1.4rem; background: rgba(255,243,237,.92); color: var(--plum); backdrop-filter: blur(8px); border-radius: 1rem; transform: rotate(-3deg); }
.image-caption span, .image-caption em { display: block; }
.image-caption span { font: 700 .7rem var(--display); text-transform: uppercase; letter-spacing: .13em; }
.image-caption em { font: 600 1.1rem var(--serif); color: var(--rose); }
.preview-copy { max-width: 580px; }
.preview-copy .eyebrow { color: var(--pink); }
.preview-copy h2 em { color: var(--peach); }
.preview-copy > p:not(.eyebrow) { max-width: 510px; color: rgba(255,243,237,.73); font-size: 1.08rem; }
.community-mini-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0 2rem; }
.community-mini-list span { padding: .35rem .75rem; border: 1px solid rgba(246,178,212,.25); border-radius: 999px; color: var(--pink); font-size: .76rem; }
.button-light { background: var(--cream); color: var(--plum); }

.closing { position: relative; padding-top: clamp(7rem, 13vw, 12rem); padding-bottom: clamp(7rem, 13vw, 12rem); text-align: center; background: radial-gradient(circle at 50% 50%, rgba(246,178,212,.28), transparent 35%), var(--cream); }
.closing::before, .closing::after { content: "✦"; position: absolute; color: var(--wisteria); opacity: .55; }
.closing::before { left: 12%; top: 30%; font-size: 2.5rem; }
.closing::after { right: 14%; bottom: 30%; font-size: 1.7rem; }
.closing-mark { width: 78px; height: 78px; margin: 0 auto 2rem; padding: 4px; background: white; border-radius: 50%; box-shadow: 0 10px 30px rgba(76,40,95,.15); }
.closing-mark img { width: 100%; height: 100%; border-radius: 50%; }
.closing h2 { max-width: 960px; margin: 0 auto 1.5rem; }
.closing > p:not(.eyebrow) { color: var(--ink-soft); }
.closing .button { margin-top: 1.3rem; }

.site-footer { padding-top: 3rem; padding-bottom: 3rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; color: rgba(255,243,237,.65); background: var(--plum); }
.footer-brand { display: flex; align-items: center; gap: 1rem; color: var(--cream); }
.footer-brand img { border-radius: 50%; }
.footer-brand b, .footer-brand span { display: block; }
.footer-brand b { font: 700 1rem var(--display); }
.footer-brand span { color: var(--pink); font: 600 .9rem var(--serif); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-links a { color: var(--cream); font-size: .82rem; text-decoration: none; }
.site-footer > p { grid-column: 1 / -1; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.footer-credit { display: block; margin-top: .45rem; color: rgba(255,243,237,.82); font-size: .72rem; letter-spacing: .015em; }

/* Communities */
.communities-hero { position: relative; min-height: 580px; padding-top: clamp(7rem, 13vw, 11rem); padding-bottom: 6rem; display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; overflow: hidden; background: linear-gradient(145deg, var(--plum), #321440); color: var(--cream); }
.communities-hero::after { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(246,178,212,.13); border-radius: 50%; right: 7%; top: 8%; box-shadow: 0 0 0 50px rgba(195,148,234,.035), 0 0 0 100px rgba(246,178,212,.025); }
.communities-title, .communities-intro { position: relative; z-index: 2; }
.communities-title .eyebrow { color: var(--pink); }
.communities-title h1 { margin: 0; font-size: clamp(4rem, 7.3vw, 7.6rem); }
.communities-title h1 em { color: var(--peach); }
.communities-intro { max-width: 480px; color: rgba(255,243,237,.72); font-size: 1.12rem; }
.hand-note { display: block; margin-top: 2rem; color: var(--pink); font: 600 1.1rem var(--serif); transform: rotate(-3deg); transform-origin: left; }
.community-orbit { position: absolute; border-radius: 50%; filter: blur(2px); }
.orbit-one { width: 300px; height: 300px; background: radial-gradient(circle, rgba(239,119,156,.18), transparent 68%); left: -6%; bottom: -20%; }
.orbit-two { width: 240px; height: 240px; background: radial-gradient(circle, rgba(168,240,230,.1), transparent 68%); right: 22%; top: 10%; }
.community-showcase { padding-top: 1px; padding-bottom: clamp(6rem, 11vw, 10rem); background: #fffaf7; }
.community-feature { display: grid; grid-template-columns: 90px minmax(300px, .92fr) minmax(320px, 1.08fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; min-height: 630px; padding: clamp(5rem, 9vw, 9rem) 0; border-bottom: 1px solid rgba(76,40,95,.12); }
.community-index { height: 75%; display: flex; flex-direction: column; align-items: center; color: var(--ink-soft); }
.community-index span { font: 700 .7rem var(--display); letter-spacing: .16em; }
.community-index i { display: block; flex: 1; width: 1px; min-height: 90px; margin: 1rem 0; background: rgba(76,40,95,.18); }
.community-index small { writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; letter-spacing: .22em; font: 700 .6rem var(--display); }
.community-visual { position: relative; aspect-ratio: .88; overflow: hidden; display: grid; place-items: center; border-radius: 46% 46% 2rem 2rem; box-shadow: 0 25px 60px rgba(33,16,47,.16); }
.community-visual::before { content: ""; position: absolute; inset: 1.1rem; border: 1px solid rgba(255,255,255,.25); border-radius: inherit; }
.community-visual::after { content: "✦  ·  ✧  ·  ✦"; position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); white-space: nowrap; color: rgba(255,255,255,.55); letter-spacing: .6rem; font-size: .7rem; }
.community-rainbow { --community-accent: #6d5dcc; }
.community-clover { --community-accent: #2d817d; }
.community-unbinary { --community-accent: #8957a5; }
.community-wayward { --community-accent: #9a6731; }
.community-transmasc { --community-accent: #278ba8; }
.visual-rainbow { background: linear-gradient(145deg, #443175, #1f1542); }
.visual-clover { background: linear-gradient(145deg, #173b58, #08182c 72%); }
.visual-unbinary { background: linear-gradient(145deg, #f0bdde, #8256a0 62%, #3c2458); }
.visual-wayward { background: linear-gradient(145deg, #254452, #071923 58%, #24151e); }
.visual-transmasc { background: linear-gradient(145deg, #b8edf4 0%, #6cc9dd 35%, #f7c6d8 68%, #486c9b 100%); }
.visual-glow { position: absolute; width: 70%; height: 70%; border-radius: 50%; filter: blur(35px); opacity: .45; background: var(--pink); }
.visual-clover .visual-glow { background: var(--mint); }
.visual-unbinary .visual-glow { background: var(--wisteria); }
.visual-wayward .visual-glow { background: var(--gold); }
.visual-transmasc .visual-glow { background: white; }
.visual-word { position: absolute; z-index: 1; bottom: 12%; right: 8%; color: rgba(255,255,255,.07); font: 800 clamp(5rem, 10vw, 9rem)/1 var(--display); letter-spacing: -.08em; }
.community-logo { position: relative; z-index: 2; display: block; width: 74%; height: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(7,10,25,.32)); }
.community-logo-rc { width: 78%; filter: drop-shadow(0 16px 25px rgba(10,4,30,.28)); }
.community-logo-round { border-radius: 50%; box-shadow: 0 18px 38px rgba(5,12,28,.34); }
.transmasc-mark { position: relative; z-index: 2; width: 55%; aspect-ratio: 1; }
.transmasc-mark { border: 3px solid rgba(255,255,255,.82); border-radius: 50%; box-shadow: 0 0 42px rgba(255,255,255,.35), inset 0 0 30px rgba(255,255,255,.18); }
.transmasc-mark span { position: absolute; inset: 22%; border: 2px solid white; border-radius: 50%; background: rgba(72,108,155,.2); }
.transmasc-mark i { position: absolute; width: 46%; height: 3px; right: -20%; top: 16%; background: white; transform: rotate(-45deg); transform-origin: left center; box-shadow: 0 0 14px rgba(255,255,255,.5); }
.transmasc-mark i::before, .transmasc-mark i::after { content: ""; position: absolute; width: 18px; height: 3px; right: -2px; background: white; transform-origin: right center; }
.transmasc-mark i::before { transform: rotate(45deg); }
.transmasc-mark i::after { transform: rotate(-45deg); }
.transmasc-mark b { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: white; font-size: 2rem; }
.community-content { max-width: 560px; }
.community-type { margin-bottom: 1rem; color: var(--community-accent, var(--rose)); text-transform: uppercase; letter-spacing: .17em; font: 800 .7rem var(--display); }
.community-content h2 { margin-bottom: 1.5rem; font-size: clamp(3.5rem, 6vw, 6.5rem); }
.community-transmasc h2 { font-size: clamp(3.2rem, 5.5vw, 6rem); }
.community-content > p:not(.community-type) { color: #6a586e; font-size: 1.08rem; }
.community-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.7rem 0 2.2rem; }
.community-tags li { padding: .34rem .7rem; border: 1px solid color-mix(in srgb, var(--community-accent, var(--aubergine)) 28%, transparent); border-radius: 999px; color: var(--community-accent, var(--aubergine)); background: color-mix(in srgb, var(--community-accent, var(--cream)) 7%, white); font-size: .72rem; font-weight: 600; }
.community-link { display: inline-flex; gap: .8rem; align-items: center; color: var(--community-accent, var(--plum)); font-family: var(--display); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--community-accent, var(--pink)) 55%, transparent); }
.community-link-muted { color: var(--ink-soft); text-decoration: none; font-family: var(--serif); }
.collective-note { padding-top: clamp(6rem, 10vw, 10rem); padding-bottom: clamp(6rem, 10vw, 10rem); display: grid; grid-template-columns: minmax(220px, .55fr) 1.45fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; background: var(--pink); }
.collective-note img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 25px 60px rgba(76,40,95,.2); }
.collective-note > div { max-width: 800px; }
.collective-note h2 em { color: var(--aubergine); }
.collective-note > div > p:last-child { max-width: 630px; margin-top: 2rem; color: rgba(33,16,47,.7); font-size: 1.08rem; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-delay-sm { transition-delay: .1s; }.reveal-delay { transition-delay: .2s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .scroll-cue span::after { animation: none; } }

@media (max-width: 960px) {
  .site-header { height: 74px; }
  .menu-button { display: block; position: relative; z-index: 3; }
  .site-nav { position: absolute; inset: 74px 0 auto; padding: 1.5rem var(--pad) 2rem; display: none; flex-direction: column; align-items: stretch; gap: 1.2rem; background: var(--cream); box-shadow: 0 18px 35px rgba(33,16,47,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 5rem; padding-bottom: 8rem; }
  .hero-copy { padding-left: 0; }
  .hero-art { width: 88%; margin-top: 2rem; }
  .hero-note { position: static; margin-top: 2.5rem; }
  .floating-seal { left: -1.5rem; bottom: -2.5rem; }
  .scroll-cue { display: none; }
  .manifesto-grid, .collective-preview, .communities-hero { grid-template-columns: 1fr; }
  .manifesto-copy { margin-left: auto; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card:last-child { grid-column: 1 / -1; min-height: 320px; }
  .collective-preview { padding-top: 7rem; }
  .preview-art { width: 90%; }
  .preview-copy { padding-top: 2rem; }
  .communities-hero { min-height: 640px; gap: 2rem; }
  .communities-intro { margin-left: auto; }
  .community-feature { grid-template-columns: 55px 1fr; gap: 2rem; }
  .community-visual { grid-column: 2; max-width: 560px; }
  .community-content { grid-column: 2; }
  .community-index { grid-row: 1 / 3; }
}

@media (max-width: 640px) {
  :root { --pad: 1.15rem; }
  .brand span { font-size: .96rem; }
  .brand img { width: 39px; height: 39px; }
  .hero { padding-top: 4.2rem; }
  .hero h1 { font-size: clamp(3.4rem, 18vw, 5.1rem); }
  .hero-art { width: 100%; }
  .art-frame { border-radius: 44% 44% 2.5rem 2.5rem; aspect-ratio: 1.04; }
  .floating-seal { width: 110px; }
  .manifesto-grid { gap: 2.5rem; }
  .manifesto h2, .values h2, .preview-copy h2, .closing h2, .collective-note h2 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .values-grid { grid-template-columns: 1fr; }
  .value-card, .value-card:last-child { grid-column: auto; min-height: 340px; }
  .preview-art { width: 100%; }
  .image-caption { right: .5rem; bottom: -1.5rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .communities-hero { min-height: 580px; padding-top: 6rem; }
  .communities-title h1 { font-size: clamp(3.5rem, 17vw, 5.3rem); }
  .community-feature { grid-template-columns: 1fr; padding: 5rem 0; }
  .community-index { height: auto; grid-row: auto; flex-direction: row; justify-content: flex-start; }
  .community-index i { flex: 0 0 50px; min-height: 1px; height: 1px; margin: 0 .8rem; }
  .community-index small { writing-mode: horizontal-tb; transform: none; }
  .community-visual, .community-content { grid-column: 1; }
  .community-content h2 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .collective-note { grid-template-columns: 1fr; }
  .collective-note img { width: 65%; max-width: 300px; margin: auto; }
}

/* Dark theme */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { background: #09040e; color: #fff3ed; }
html[data-theme="dark"] .site-shell { background: #14091f; }
html[data-theme="dark"] .skip-link { color: #14091f; background: var(--cream); }
html[data-theme="dark"] .site-header { color: var(--cream); background: rgba(20,9,31,.95); border-bottom-color: rgba(246,178,212,.13); box-shadow: 0 10px 34px rgba(0,0,0,.12); }
html[data-theme="dark"] .brand img { box-shadow: 0 3px 18px rgba(195,148,234,.28); }
html[data-theme="dark"] .site-nav a { color: var(--cream); }
html[data-theme="dark"] .nav-cta { color: #21102f; background: linear-gradient(135deg, var(--peach), var(--pink)); }
html[data-theme="dark"] .theme-toggle { color: var(--pink); background: rgba(195,148,234,.12); border-color: rgba(246,178,212,.22); }
html[data-theme="dark"] .theme-toggle:hover { background: rgba(195,148,234,.22); border-color: rgba(246,178,212,.38); }
html[data-theme="dark"] .theme-toggle [data-theme-icon] { color: var(--gold); }
html[data-theme="dark"] .menu-button > span:not(.sr-only) { background: var(--cream); }
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3 { color: var(--cream); }
html[data-theme="dark"] .eyebrow { color: var(--pink); }

html[data-theme="dark"] .hero { background: radial-gradient(circle at 42% 18%, rgba(239,119,156,.18), transparent 29%), radial-gradient(circle at 100% 80%, rgba(168,240,230,.08), transparent 28%), #14091f; }
html[data-theme="dark"] .hero::before { background: linear-gradient(to top, rgba(195,148,234,.08), transparent); }
html[data-theme="dark"] .hero-lede { color: #d8c7dd; }
html[data-theme="dark"] .button-ghost { color: var(--cream); border-color: rgba(246,178,212,.28); }
html[data-theme="dark"] .button-ghost:hover { background: rgba(246,178,212,.1); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
html[data-theme="dark"] .hero-note { color: var(--pink); }
html[data-theme="dark"] .floating-seal { background: #21102f; box-shadow: 0 20px 45px rgba(0,0,0,.42); }
html[data-theme="dark"] .scroll-cue { color: #bfaec5; }
html[data-theme="dark"] .scroll-cue span { background: rgba(246,178,212,.25); }

html[data-theme="dark"] .manifesto { background: #1a0d26; }
html[data-theme="dark"] .section-kicker { color: #bba8c1; }
html[data-theme="dark"] .manifesto-copy { color: #cdbdd2; }
html[data-theme="dark"] .manifesto-copy p:first-child { color: var(--cream); }
html[data-theme="dark"] .text-link { color: var(--pink); }

html[data-theme="dark"] .values { background: #14091f; }
html[data-theme="dark"] .value-card { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 18px 46px rgba(0,0,0,.17); }
html[data-theme="dark"] .value-card p { color: rgba(255,243,237,.72); }
html[data-theme="dark"] .value-peach { background: linear-gradient(145deg, #743344, #3c182e 72%); }
html[data-theme="dark"] .value-violet { background: linear-gradient(145deg, #55346f, #2a173d 72%); }
html[data-theme="dark"] .value-mint { background: linear-gradient(145deg, #24585c, #152f3c 72%); }
html[data-theme="dark"] .value-icon { color: rgba(255,255,255,.18); }

html[data-theme="dark"] .collective-preview { background: #0e0717; }
html[data-theme="dark"] .image-caption { color: var(--cream); background: rgba(33,16,47,.9); border: 1px solid rgba(246,178,212,.16); }
html[data-theme="dark"] .button-light { color: #21102f; background: var(--cream); }

html[data-theme="dark"] .closing { background: radial-gradient(circle at 50% 50%, rgba(239,119,156,.17), transparent 38%), #180b24; }
html[data-theme="dark"] .closing-mark { background: #21102f; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
html[data-theme="dark"] .closing > p:not(.eyebrow) { color: #c9b8ce; }
html[data-theme="dark"] .site-footer { background: #09040e; }

html[data-theme="dark"] .communities-hero { background: linear-gradient(145deg, #100719, #291038); }
html[data-theme="dark"] .community-showcase { background: #14091f; }
html[data-theme="dark"] .community-feature { border-bottom-color: rgba(246,178,212,.11); }
html[data-theme="dark"] .community-index { color: #ab97b2; }
html[data-theme="dark"] .community-index i { background: rgba(246,178,212,.18); }
html[data-theme="dark"] .community-visual { box-shadow: 0 25px 65px rgba(0,0,0,.35); }
html[data-theme="dark"] .community-content > p:not(.community-type) { color: #cdbdd2; }
html[data-theme="dark"] .community-rainbow { --community-accent: #b9a8ff; }
html[data-theme="dark"] .community-clover { --community-accent: #84e2d6; }
html[data-theme="dark"] .community-unbinary { --community-accent: #d9a6f2; }
html[data-theme="dark"] .community-wayward { --community-accent: #efbd76; }
html[data-theme="dark"] .community-transmasc { --community-accent: #83dced; }
html[data-theme="dark"] .community-tags li { background: color-mix(in srgb, var(--community-accent) 10%, #14091f); border-color: color-mix(in srgb, var(--community-accent) 36%, transparent); }
html[data-theme="dark"] .collective-note { color: var(--cream); background: linear-gradient(135deg, #5b2147, #32173f 58%, #1c263d); }
html[data-theme="dark"] .collective-note h2 em { color: var(--pink); }
html[data-theme="dark"] .collective-note > div > p:last-child { color: rgba(255,243,237,.72); }

@media (max-width: 960px) {
  html[data-theme="dark"] .site-nav { background: #180b24; box-shadow: 0 18px 35px rgba(0,0,0,.3); }
  .theme-toggle { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  body, .site-shell, .site-header, .hero, .manifesto, .values, .closing, .community-showcase, .collective-note, .site-footer, .site-nav, .value-card { transition: background-color .28s ease, background .28s ease, color .28s ease, border-color .28s ease; }
}

/* Resource library and partner profiles */
[hidden] { display: none !important; }
.google-form-panel h3 { font-size: 1.8rem; line-height: 1.15; }
.google-form-frame { width: 100%; height: 1500px; border: 0; margin-top: 1.5rem; background: white; border-radius: .75rem; }
.google-form-panel .button-row { align-items: center; margin-top: 1rem; }
.google-form-panel .text-link { font-size: .82rem; }
.connection-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(4rem, 7vw, 7rem); background: #fffaf7; }
.connection-contact { background: #f8eaf2; }
.connection-intro h2 { font-size: clamp(2.8rem, 4.5vw, 5rem); line-height: 1.08; margin-bottom: 1.5rem; }
.connection-intro > p:not(.eyebrow) { color: var(--ink-soft); max-width: 50ch; }
.connection-form { padding: clamp(1.3rem, 3vw, 2.5rem); background: var(--cream); border: 1px solid #4c285f25; border-radius: 1.5rem; }
.connection-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.connection-form legend { font: 700 1.5rem var(--display); padding: 0; margin-bottom: 1rem; }
.connection-form label { display: block; margin-top: 1.2rem; margin-bottom: .4rem; font-weight: 600; font-size: .9rem; }
.connection-form label > span { font-weight: 400; }
.connection-form input:not([type="checkbox"]), .connection-form select, .connection-form textarea { display: block; width: 100%; min-height: 46px; padding: .7rem .85rem; color: var(--plum); background: #fffaf7; border: 1px solid #4c285f55; border-radius: .6rem; font: inherit; font-size: 1rem; }
.connection-form textarea { resize: vertical; }
.connection-form :is(input, select, textarea, button):focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.connection-form .form-check { display: flex; align-items: start; gap: .7rem; font-size: .85rem; line-height: 1.5; }
.form-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--aubergine); }
.connection-form .button { margin-top: 1.4rem; cursor: pointer; }
.connection-form .button:disabled { cursor: not-allowed; opacity: .55; }
.form-note, .form-status { font-size: .82rem; color: var(--ink-soft); line-height: 1.6; }
.form-note { margin: .45rem 0 0; }
.form-status { margin: 1.3rem 0 0; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.collective-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3.5rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.collective-rules li { border-top: 1px solid #4c285f30; padding-top: 1.4rem; }
.collective-rules h3 { font-size: 1.55rem; line-height: 1.2; }
.collective-rules p { color: #5d4963; }
html[data-theme="dark"] .connection-section { background: #1b0e27; }
html[data-theme="dark"] .connection-contact { background: #25132c; }
html[data-theme="dark"] .connection-form { background: #24132f; border-color: #c394ea55; }
html[data-theme="dark"] .connection-form :is(input:not([type="checkbox"]), select, textarea) { color: var(--cream); background: #14091f; border-color: #c394ea77; }
html[data-theme="dark"] .connection-intro > p:not(.eyebrow), html[data-theme="dark"] .collective-rules p, html[data-theme="dark"] .form-note, html[data-theme="dark"] .form-status { color: #d3c4d9; }
html[data-theme="dark"] .collective-rules li { border-color: #c394ea55; }
@media (max-width: 800px) { .connection-section, .collective-rules { grid-template-columns: 1fr; } }
.directory-hero { display: grid; grid-template-columns: 1.5fr .65fr; gap: 3rem; align-items: center; padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(4rem, 8vw, 8rem); background: radial-gradient(ellipse at 90% 20%, #f6b2d460, transparent 55%), var(--cream); }
.directory-intro { max-width: 900px; }
.directory-intro h1 { font-size: clamp(3.5rem, 6.6vw, 7rem); line-height: 1.07; margin-bottom: 1.5rem; }
.directory-intro > p:not(.eyebrow) { max-width: 55ch; color: var(--ink-soft); font-size: 1.12rem; }
.directory-intro .button { margin-top: 1rem; }
.directory-emblem { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; border: 1px solid #c394ea66; box-shadow: 0 0 0 1.5rem #c394ea0c, 0 0 0 3rem #f6b2d40d; background: radial-gradient(circle at 35% 25%, #fff9f6, #f6b2d447 65%, #c394ea30); }
.directory-emblem > span { color: var(--rose); font-size: clamp(3rem, 6vw, 6rem); line-height: 1.2; }
.directory-emblem p { font-family: var(--display); font-size: clamp(1rem, 1.5vw, 1.6rem); line-height: 1.5; }
.directory-emblem em { font-family: var(--serif); color: var(--aubergine); }
.resource-section, .partner-section { padding-block: clamp(4rem, 7vw, 7rem); background: #fffaf7; }
.directory-section-heading { max-width: 750px; margin-bottom: 3rem; }
.directory-section-heading h2, .practice-section h2 { font-size: clamp(2.6rem, 4.7vw, 5rem); line-height: 1.08; margin-bottom: 1.5rem; }
.directory-section-heading > p:last-child, .directory-disclaimer { color: var(--ink-soft); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.resource-card { padding: clamp(1.4rem, 2.5vw, 2.3rem); border: 1px solid #4c285f20; border-radius: 1.5rem; display: flex; flex-direction: column; background: linear-gradient(150deg, #f9e7f2, #fff3ed); }
.resource-card:nth-child(3n + 2) { background: linear-gradient(150deg, #e6d9f7, #fff3ed); }
.resource-card:nth-child(3n) { background: linear-gradient(150deg, #ddf4ef, #fff3ed); }
.resource-category { font: 700 .68rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--aubergine); margin-bottom: 2rem; }
.resource-card h3 { font-size: clamp(1.65rem, 2.5vw, 2.3rem); line-height: 1.1; margin-bottom: 1rem; }
.resource-card p { color: #5d4963; }
.resource-card a { margin-top: auto; padding-top: 1.2rem; font-size: .9rem; font-weight: 700; text-underline-offset: .3rem; }
.resource-card a span[aria-hidden] { margin-left: .3rem; }
.directory-disclaimer { max-width: 90ch; font-size: .82rem; margin: 2rem 0 0; }
.practice-section { padding-block: clamp(4rem, 7vw, 7rem); background: linear-gradient(120deg, #f9e5ee, #efe2f8); }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.practice-grid h3 { font-size: 1.55rem; line-height: 1.2; }
.practice-grid p, .practice-lede { color: #5d4963; }
.practice-lede { max-width: 65ch; }
.partner-profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.partner-monogram { aspect-ratio: .95; border-radius: 45% 45% 2rem 2rem; padding: 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--cream); background: radial-gradient(circle at 25% 25%, #c394ea88, transparent 50%), linear-gradient(135deg, #4c285f, #21102f); box-shadow: inset 0 0 0 1px #c394ea77; }
.partner-monogram > span { font: 600 italic clamp(5rem, 14vw, 12rem) var(--serif); line-height: 1.25; color: var(--pink); }
.partner-monogram small { max-width: 24ch; font-family: var(--display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.partner-copy h2 { font-size: clamp(3rem, 5vw, 5.5rem); margin-bottom: 1.5rem; }
.partner-copy p:not(.eyebrow) { color: #5d4963; }
.partner-copy .partner-lede { font-size: 1.35rem; line-height: 1.4; font-family: var(--display); }
.partner-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.8rem 0 2rem; }
.partner-tags li { border-radius: 999px; padding: .35rem .8rem; font-size: .78rem; border: 1px solid #4c285f25; color: var(--aubergine); background: #c394ea18; }
.prompt-generator-profile { margin-top: clamp(4rem, 8vw, 8rem); padding-top: clamp(4rem, 7vw, 7rem); border-top: 1px solid #4c285f20; }
.prompt-generator-monogram { gap: 1.5rem; }
.prompt-generator-monogram img { width: min(250px, 72%); height: auto; border-radius: 50%; box-shadow: 0 18px 48px rgba(0,0,0,.32); }
.prompt-generator-copy h3 { margin-bottom: 1.5rem; font-size: clamp(3rem, 5vw, 5.5rem); line-height: .98; }
.prompt-generator-copy p:not(.eyebrow) { color: #5d4963; }
.directory-hero a:focus-visible, .resource-section a:focus-visible, .partner-section a:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
html[data-theme="dark"] .directory-hero { background: radial-gradient(ellipse at 90% 20%, #70355260, transparent 55%), #14091f; }
html[data-theme="dark"] .directory-intro > p:not(.eyebrow), html[data-theme="dark"] .directory-section-heading > p:last-child, html[data-theme="dark"] .directory-disclaimer { color: #cdbdd3; }
html[data-theme="dark"] .directory-emblem { background: radial-gradient(circle at 35% 25%, #4c285f, #21102f); }
html[data-theme="dark"] .directory-emblem em { color: var(--pink); }
html[data-theme="dark"] .resource-section, html[data-theme="dark"] .partner-section { background: #1b0e27; }
html[data-theme="dark"] .resource-card { background: linear-gradient(150deg, #3c2139, #24132f); border-color: #c394ea35; }
html[data-theme="dark"] .resource-card:nth-child(3n + 2) { background: linear-gradient(150deg, #34224c, #24132f); }
html[data-theme="dark"] .resource-card:nth-child(3n) { background: linear-gradient(150deg, #1c3839, #24132f); }
html[data-theme="dark"] .resource-category, html[data-theme="dark"] .resource-card a { color: var(--pink); }
html[data-theme="dark"] .resource-card p, html[data-theme="dark"] .practice-grid p, html[data-theme="dark"] .practice-lede, html[data-theme="dark"] .partner-copy p:not(.eyebrow) { color: #d3c4d9; }
html[data-theme="dark"] .practice-section { background: linear-gradient(120deg, #321b32, #271633); }
html[data-theme="dark"] .partner-tags li { color: var(--pink); border-color: #c394ea55; }
html[data-theme="dark"] .prompt-generator-profile { border-color: #c394ea30; }
html[data-theme="dark"] .prompt-generator-copy p:not(.eyebrow) { color: #d3c4d9; }
@media (max-width: 1100px) and (min-width: 961px) { .site-nav { gap: 1rem; } }
@media (max-width: 960px) {
  .directory-hero { grid-template-columns: 1fr; }
  .directory-emblem { display: none; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-profile { gap: 2rem; }
  .practice-grid { gap: 1.5rem; }
}
@media (max-width: 640px) {
  .directory-intro h1 { font-size: clamp(3rem, 12vw, 4.7rem); }
  .resource-grid, .practice-grid, .partner-profile { grid-template-columns: 1fr; }
  .partner-monogram { max-width: 360px; width: 100%; justify-self: center; }
  .partner-monogram > span { font-size: 7rem; }
  .resource-category { margin-bottom: 1.25rem; }
  .partner-copy h2 { font-size: 3rem; }
  .prompt-generator-copy h3 { max-width: none; }
  .prompt-generator-monogram { max-width: 360px; width: 100%; justify-self: center; }
}
