/*
Theme Name: Brositivity Live
Theme URI: https://brositivity.com/
Author: Brositivity
Description: A calm, responsive community theme for Brositivity with real public pages, private reset tracking, Founding 100 feedback and persistent light/dark mode.
Version: 1.2.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: brositivity
*/

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --brand: #D8FF59;
  --brand-background: #111315;
  --brand-section: #E8DFCA;
  --ink: #111315;
  --paper: #f5f1e7;
  --paper-deep: var(--brand-section);
  --surface: #fffdf8;
  --surface-soft: #eee8da;
  --panel: var(--brand-background);
  --panel-text: #f4f1e9;
  --panel-muted: #b9b7ae;
  --body-text: #3f3e39;
  --lime: var(--brand);
  --lime-surface: var(--brand);
  --on-lime: #111315;
  --orange: #df7658;
  --orange-soft: #efb29f;
  --orange-text: #2a1510;
  --blue: #82c7e4;
  --muted: #68675f;
  --line: rgba(17, 19, 21, 0.16);
  --shadow: 0 20px 60px rgba(24, 22, 18, 0.12);
  --radius: 24px;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2efe7;
  --paper: var(--brand-background);
  --paper-deep: #20221d;
  --surface: #1d1f1a;
  --surface-soft: #262920;
  --panel: #0c0e0f;
  --panel-text: #f4f1e9;
  --panel-muted: #aaa89e;
  --body-text: #d2d0c8;
  --lime: var(--brand);
  --lime-surface: #2a351c;
  --on-lime: #eff6d6;
  --orange: #dc8268;
  --orange-soft: #4d2d25;
  --orange-text: #ffe9e1;
  --blue: #75b5d1;
  --muted: #aaa99f;
  --line: rgba(244, 241, 233, 0.16);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); transition: color .2s ease, background-color .2s ease; }
img, svg { max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 99;
  padding: 12px 16px; color: var(--panel-text); background: var(--panel); border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; padding: 0 4vw; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(16px);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.brand-word { white-space: nowrap; }
.brand-dot { color: var(--brand); }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 23px; height: 23px; transform: rotate(-4deg); }
.brand-mark i { display: block; width: 9px; border: 3px solid currentColor; border-radius: 10px 10px 4px 4px; }
.brand-mark i:first-child { height: 16px; }
.brand-mark i:last-child { height: 22px; }
.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav a { padding: 11px 14px; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.site-nav .discord-nav { color: var(--ink); }
.site-nav .discord-nav::after { content: " ↗"; color: var(--brand); }
.site-nav .nav-cta { margin-left: 8px; color: var(--panel-text); background: var(--panel); }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { color: var(--on-lime); background: var(--lime-surface); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.theme-toggle { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); cursor: pointer; }
.theme-toggle:hover { background: var(--surface-soft); }
.theme-icon { position: absolute; font-size: 1.25rem; line-height: 1; transition: transform .2s ease, opacity .2s ease; }
.theme-icon-dark { opacity: 0; transform: rotate(-25deg) scale(.65); }
:root[data-theme="dark"] .theme-icon-light { opacity: 0; transform: rotate(25deg) scale(.65); }
:root[data-theme="dark"] .theme-icon-dark { opacity: 1; transform: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 50%; background: var(--panel); }
.menu-toggle i { display: block; height: 2px; margin: 4px 0; background: var(--panel-text); transition: .2s ease; }

main { min-height: 70vh; }
#main > .page { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.display { max-width: 930px; margin: 0; font-size: clamp(3.15rem, 8.3vw, 7.6rem); line-height: .89; letter-spacing: -.075em; font-weight: 900; }
.display .marker { position: relative; display: inline-block; z-index: 0; }
.display .marker::after { content: ""; position: absolute; z-index: -1; left: -.02em; right: -.05em; bottom: .03em; height: .19em; background: var(--lime); transform: rotate(-1deg); }
.lede { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(17,19,21,.12); }
.button.primary { color: var(--panel-text); background: var(--panel); border-color: var(--panel); }
.button.primary:hover { color: var(--on-lime); background: var(--lime-surface); border-color: var(--lime-surface); }
.button.secondary { background: transparent; }
.button.light { color: var(--ink); background: var(--surface); border-color: var(--surface); }
.arrow { font-size: 1.15em; }

.hero { padding: clamp(72px, 10vw, 138px) 0 84px; overflow: hidden; }
.hero .shell { position: relative; }
.hero-orbit { position: absolute; right: -7%; top: -40px; width: 260px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; animation: orbit 14s linear infinite; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.hero-orbit::before { width: 28px; height: 28px; top: 16px; left: 45px; background: var(--orange); }
.hero-orbit::after { width: 12px; height: 12px; right: 14px; bottom: 62px; background: var(--ink); }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 46px; color: var(--muted); font-size: .88rem; font-weight: 700; }
.faces { display: flex; }
.face { display: grid; place-items: center; width: 35px; height: 35px; margin-left: -7px; border: 3px solid var(--paper); border-radius: 50%; color: #111315; font-size: .7rem; font-weight: 900; }
.face:first-child { margin-left: 0; background: var(--orange); }
.face:nth-child(2) { background: var(--blue); }
.face:nth-child(3) { background: var(--lime); }

.dark-section { padding: clamp(70px, 9vw, 118px) 0; color: var(--panel-text); background: var(--panel); }
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; align-items: end; gap: 32px; margin-bottom: 48px; }
.section-head h2, .page-head h1 { margin: 0; font-size: clamp(2.5rem, 5.3vw, 5.3rem); line-height: .96; letter-spacing: -.055em; }
.section-head p { max-width: 550px; margin: 0; color: var(--panel-muted); line-height: 1.65; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; }
.pillar { min-height: 310px; padding: 34px; background: var(--panel); }
.pillar-index { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 62px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--lime); font-weight: 900; }
.pillar h3 { margin: 0 0 12px; font-size: 1.55rem; }
.pillar p { margin: 0; color: var(--panel-muted); line-height: 1.55; }

.reset-section { padding: clamp(72px, 9vw, 118px) 0; }
.reset-card { display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.reset-intro { display: flex; flex-direction: column; justify-content: space-between; min-height: 500px; padding: clamp(32px, 5vw, 64px); color: #111315; background: var(--brand); }
.reset-intro h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .92; letter-spacing: -.06em; }
.reset-intro p { max-width: 390px; line-height: 1.55; }
.reset-form { padding: clamp(32px, 5vw, 64px); background: var(--surface); }
.reset-form fieldset { padding: 0; border: 0; }
.reset-form legend { margin-bottom: 18px; font-size: 1.25rem; font-weight: 850; }
.mood-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mood-option input { position: absolute; opacity: 0; pointer-events: none; }
.mood-option span { display: grid; place-items: center; min-height: 58px; border: 1px solid var(--line); border-radius: 14px; font-size: .78rem; font-weight: 800; cursor: pointer; }
.mood-option input:checked + span { color: var(--panel-text); background: var(--panel); border-color: var(--panel); }
.prompt-box { margin: 28px 0 24px; padding: 24px; border-left: 5px solid var(--orange); background: var(--surface-soft); }
.prompt-box small { display: block; margin-bottom: 8px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.prompt-box p { margin: 0; font-size: 1.15rem; font-weight: 750; line-height: 1.45; }
label.text-label { display: block; margin-bottom: 8px; font-weight: 800; }
textarea, input[type="text"], input[type="email"] { width: 100%; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--surface); outline: none; }
textarea { min-height: 112px; padding: 14px; resize: vertical; }
input[type="text"], input[type="email"] { height: 52px; padding: 0 14px; }
textarea:focus, input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(140,215,255,.6); }
.form-note { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.reset-editing { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; color: #111315; background: var(--brand-section); font-size: .82rem; font-weight: 750; }
.reset-editing button { padding: 0; border: 0; color: inherit; background: none; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.reset-history { margin-top: 22px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.reset-history-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 26px; }
.reset-history-head .eyebrow { margin-bottom: 10px; }
.reset-history-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.05em; }
.reset-stats { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.reset-stats strong { color: var(--ink); }
.reset-stats span { margin: 0 5px; }
.reset-empty { padding: 24px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); background: var(--surface-soft); }
.reset-empty p { max-width: 650px; margin: 0; line-height: 1.6; }
.reset-list { display: grid; }
.reset-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.reset-entry:first-child { border-top: 0; }
.reset-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: .76rem; font-weight: 800; }
.reset-entry-meta span { padding: 4px 8px; border-radius: 999px; color: #111315; background: var(--brand-section); }
.reset-entry p { margin: 8px 0 0; font-size: 1.05rem; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; }
.reset-entry.is-complete p { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.reset-entry-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.reset-entry-actions button { min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; font-size: .76rem; font-weight: 800; cursor: pointer; }
.reset-entry-actions button:hover { background: var(--surface-soft); }
.reset-entry-actions button:first-child { color: var(--on-lime); background: var(--brand); border-color: var(--brand); }
.reset-history-actions { display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.danger-link { color: #a44237 !important; }

.page-head { padding: clamp(70px, 9vw, 115px) 0 58px; }
.page-head .lede { margin-top: 24px; }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 18px; padding-bottom: 100px; }
.article-card { display: flex; min-width: 0; min-height: 390px; height: 100%; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.article-card:first-child { min-height: 390px; color: var(--panel-text); background: var(--panel); }
.article-card > div { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; }
.article-tag { display: inline-block; padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.article-card h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.article-card p { color: var(--muted); line-height: 1.55; }
.article-card:first-child p { color: var(--panel-muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: inherit; background: none; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.article-reader { padding-bottom: 100px; }
.reader-card { max-width: 820px; margin: 0 auto; padding: clamp(30px, 7vw, 76px); border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.reader-card h1 { margin: 24px 0; font-size: clamp(2.3rem, 5vw, 4.9rem); line-height: .98; letter-spacing: -.055em; }
.reader-card .article-body { color: var(--body-text); font-size: 1.08rem; line-height: 1.8; }
.reader-card blockquote { margin: 34px 0; padding-left: 24px; border-left: 5px solid var(--lime); color: var(--ink); font-size: 1.5rem; font-weight: 700; line-height: 1.35; }

.values-wrap { padding-bottom: 100px; }
.manifesto { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 30px; overflow: hidden; }
.manifesto-main { padding: clamp(36px, 6vw, 78px); color: var(--panel-text); background: var(--panel); }
.manifesto-main p { margin: 0; font-size: clamp(1.8rem, 4vw, 3.8rem); line-height: 1.14; letter-spacing: -.04em; }
.manifesto-side { padding: clamp(34px, 5vw, 60px); color: var(--orange-text); background: var(--orange-soft); }
.manifesto-side h2 { margin-top: 0; font-size: 1.7rem; }
.manifesto-side ul { padding: 0; list-style: none; }
.manifesto-side li { padding: 16px 0; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); font-weight: 800; }
.manifesto-side li::before { content: "✓"; margin-right: 10px; }
.difference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.difference { padding: 28px; border-top: 4px solid var(--ink); }
.difference h3 { margin: 0 0 12px; font-size: 1.35rem; }
.difference p { color: var(--muted); line-height: 1.6; }

.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-card { min-width: 0; min-height: 300px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.about-card:nth-child(2) { background: var(--brand-section); color: #111315; }
.about-card .eyebrow { color: inherit; }
.about-card h2 { margin: 70px 0 14px; font-size: clamp(1.6rem, 2.5vw, 2.35rem); line-height: 1.05; letter-spacing: -.04em; }
.about-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.about-card:nth-child(2) p { color: #4b473e; }
.community-callout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-top: 28px; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius); color: var(--panel-text); background: var(--panel); }
.community-callout h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.045em; }
.community-callout p { max-width: 660px; margin: 0; color: var(--panel-muted); line-height: 1.6; }
.discord-button { color: #111315; background: var(--brand); border-color: var(--brand); }
.discord-button:hover { color: #111315; background: #e2ff83; border-color: #e2ff83; }
.community-callout .button.light { color: #111315; background: #fffdf8; border-color: #fffdf8; }
.social-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 22px 4px 0; color: var(--muted); }
.social-strip span { margin-right: auto; font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.social-strip a { color: var(--ink); font-weight: 800; text-underline-offset: 4px; }

.join-wrap { padding-bottom: 100px; }
.join-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.join-pitch { padding: clamp(34px, 6vw, 70px); color: var(--panel-text); background: var(--panel); }
.join-pitch h2 { margin: 0 0 20px; font-size: clamp(2.25rem, 4vw, 4rem); line-height: .98; letter-spacing: -.05em; }
.join-pitch p { color: var(--panel-muted); line-height: 1.6; }
.member-perks { padding: 0; margin: 36px 0 0; list-style: none; }
.member-perks li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.member-perks strong { display: block; color: var(--lime); }
.member-perks a { color: inherit; text-underline-offset: 3px; }
.join-form { padding: clamp(34px, 6vw, 70px); background: var(--surface); }
.join-form h2 { margin-top: 0; font-size: 1.7rem; }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-group { display: grid; gap: 12px; margin: 22px 0; }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 0; color: var(--muted); font-size: .82rem; font-weight: 650; line-height: 1.5; }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lime); }
.consent-row a { color: var(--ink); font-weight: 800; text-underline-offset: 3px; }
.optional-consent { padding-top: 12px; border-top: 1px solid var(--line); }
.form-note a { font-weight: 800; text-underline-offset: 3px; }
.field { margin-bottom: 18px; }
.field, fieldset { min-width: 0; }
.field label { display: block; margin-bottom: 8px; font-weight: 800; }
.choice-grid { display: grid; gap: 8px; }
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.choice-grid input:checked + span { color: var(--on-lime); border-color: var(--lime-surface); background: var(--lime-surface); }
.other-suggestion { margin-top: 16px; padding: 18px; border-radius: 14px; background: var(--surface-soft); }
.other-suggestion[hidden] { display: none; }
.other-suggestion label { display: block; margin-bottom: 8px; font-weight: 800; }
.other-suggestion textarea { background: var(--surface); }
.other-suggestion small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.45; }
.success-panel { padding: 24px; border-radius: 18px; color: var(--on-lime); background: var(--lime-surface); }
.success-panel h3 { margin: 0 0 8px; font-size: 1.5rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 45px 4vw; border-top: 1px solid var(--line); }
.site-footer p { grid-column: 1; margin: 0; color: var(--muted); }
.site-footer nav { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { font-size: .86rem; font-weight: 750; }
.site-footer small { grid-column: 1 / -1; margin-top: 16px; color: var(--muted); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 30; max-width: 330px; padding: 14px 18px; border-radius: 13px; color: var(--panel-text); background: var(--panel); box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .25s; }
.toast.show { transform: none; opacity: 1; }

@media (max-width: 820px) {
  .site-header { min-height: 66px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; margin-left: 0; padding: 14px 4vw 20px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px; }
  .site-nav .nav-cta { margin: 4px 0 0; text-align: center; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3px) rotate(-45deg); }
  .hero-orbit { right: -140px; opacity: .55; }
  .section-head, .reset-card, .manifesto, .join-card, .community-callout { grid-template-columns: 1fr; }
  .pillars, .difference-grid, .about-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 230px; }
  .pillar-index { margin-bottom: 34px; }
  .reset-intro { min-height: 330px; }
  .journal-grid { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
  .article-card, .article-card:first-child { min-height: 320px; }
  .about-card { min-height: 0; }
  .about-card h2 { margin-top: 48px; }
  .reset-entry { grid-template-columns: 1fr; gap: 14px; }
  .reset-entry-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { padding-inline: 16px; }
  .brand, .footer-brand { gap: 8px; font-size: .96rem; }
  .brand-mark { transform: scale(.9) rotate(-4deg); transform-origin: left center; }
  .display { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero { padding-top: 66px; }
  .page-head { padding-top: 58px; padding-bottom: 42px; }
  .page-head h1, .section-head h2, .reset-intro h2, .reader-card h1 { overflow-wrap: anywhere; }
  .button-row .button { width: 100%; }
  .mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mood-option:last-child { grid-column: 1 / -1; }
  .mood-option span { min-height: 50px; padding: 6px; font-size: .75rem; }
  .reset-form, .join-form, .join-pitch, .reader-card { padding: 26px 20px; }
  .reset-history { padding: 26px 20px; }
  .reset-history-head { align-items: start; flex-direction: column; gap: 12px; }
  .reset-stats { white-space: normal; }
  .reset-history-actions { align-items: flex-start; flex-direction: column; }
  .article-card, .article-card:first-child { min-height: 285px; padding: 24px; }
  .article-card h2 { font-size: clamp(1.65rem, 9vw, 2.25rem); }
  .manifesto-main, .manifesto-side, .community-callout { padding: 28px 22px; }
  .community-callout .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .toast { left: 16px; right: 16px; max-width: none; }
}

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

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
