/*
Theme Name: Wake Up Manifest
Theme URI: https://wakeup.club/
Author: Wake Up
Description: Manifesto digital e Challenge interativo do movimento Wake Up.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: wakeup-manifest
*/

:root {
	--black: #0b0b0a;
	--black-soft: #151513;
	--bone: #eee9dd;
	--paper: #ddd7c9;
	--ink: #171715;
	--muted: #8b887f;
	--silver: #b4b5ae;
	--acid: #eaff00;
	--orange: #ff4f19;
	--line-dark: rgba(238, 233, 221, 0.19);
	--line-light: rgba(23, 23, 21, 0.24);
	--display: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
	--condensed: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
	--sans: Arial, Helvetica, sans-serif;
	--mono: "Courier New", Consolas, monospace;
	--side: clamp(1.25rem, 5.7vw, 6.4rem);
	--section-y: clamp(6.5rem, 12vw, 11rem);
}

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

html {
	background: var(--black);
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}

body.wakeup-site,
body {
	margin: 0;
	background: var(--black);
	color: var(--bone);
	font-family: var(--sans);
	overflow-x: hidden;
}

body.admin-bar .site-nav {
	top: 32px;
}

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

a {
	color: inherit;
}

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: -5rem;
	z-index: 999;
	padding: 0.8rem 1rem;
	background: var(--acid);
	color: var(--black);
	font: 700 0.72rem/1 var(--mono);
	text-transform: uppercase;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 1rem;
}

.page-progress {
	position: fixed;
	inset: 0 0 auto;
	z-index: 200;
	height: 3px;
	background: transparent;
}

.page-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--acid);
	transform-origin: left;
}

.noise {
	position: fixed;
	inset: 0;
	z-index: 150;
	pointer-events: none;
	opacity: 0.16;
	mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.35'/%3E%3C/svg%3E");
}

.site-nav {
	position: fixed;
	inset: 0 0 auto;
	z-index: 120;
	display: flex;
	height: 72px;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--side);
	border-bottom: 1px solid transparent;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-nav.is-scrolled {
	border-color: var(--line-dark);
	background: rgba(11, 11, 10, 0.91);
	backdrop-filter: blur(14px);
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	color: var(--bone);
	font: 900 1.18rem/1 var(--display);
	letter-spacing: 0.04em;
	text-decoration: none;
}

.eye-mark {
	width: 43px;
	fill: none;
	stroke: var(--acid);
	stroke-width: 2;
}

.eye-mark circle {
	fill: var(--acid);
}

.site-menu {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 1.7vw, 1.8rem);
}

.site-menu a {
	position: relative;
	color: var(--bone);
	font: 700 0.64rem/1 var(--mono);
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-menu a:not(.menu-cta)::after {
	position: absolute;
	right: 0;
	bottom: -0.35rem;
	left: 0;
	height: 1px;
	background: var(--acid);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.2s ease;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-menu .menu-cta {
	display: flex;
	min-height: 38px;
	align-items: center;
	gap: 1.1rem;
	padding: 0 0.85rem;
	background: var(--acid);
	color: var(--black);
}

.site-menu .menu-cta span {
	font-size: 1rem;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.7rem;
	border: 0;
	background: transparent;
	color: var(--bone);
	cursor: pointer;
	font: 700 0.68rem/1 var(--mono);
	text-transform: uppercase;
}

.menu-toggle i,
.menu-toggle i::before {
	display: block;
	width: 20px;
	height: 1px;
	background: var(--acid);
	content: "";
	transition: transform 0.2s ease;
}

.menu-toggle i::before {
	transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] i {
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::before {
	transform: rotate(-90deg);
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 0.83;
	text-transform: uppercase;
}

mark {
	padding: 0;
	background: transparent;
	color: var(--acid);
}

.hero {
	position: relative;
	display: grid;
	min-height: 100svh;
	align-items: center;
	padding: 9rem var(--side) 4rem;
	isolation: isolate;
	overflow: hidden;
}

.hero-grid,
.challenge-grid {
	position: absolute;
	inset: 0;
	z-index: -3;
	background-image: linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255,255,255,0.06) 50%, transparent calc(50% + 0.5px)), linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 50% 100%, 100% 80px;
}

.hero::before {
	position: absolute;
	right: -16vw;
	top: 4vh;
	z-index: -2;
	width: min(72vw, 940px);
	aspect-ratio: 1;
	border: 1px solid rgba(234, 255, 0, 0.13);
	border-radius: 50%;
	box-shadow: 0 0 0 12vw rgba(234, 255, 0, 0.018), 0 0 0 24vw rgba(234, 255, 0, 0.012);
	content: "";
}

.hero-orbit {
	position: absolute;
	right: -12vw;
	top: 8vh;
	z-index: -1;
	width: min(63vw, 800px);
	aspect-ratio: 1;
	border: 1px solid rgba(234,255,0,0.1);
	border-radius: 50%;
	animation: rotate 34s linear infinite;
}

.hero-orbit span {
	position: absolute;
	width: 7px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--acid);
}

.hero-orbit span:nth-child(1) { left: 11%; top: 23%; }
.hero-orbit span:nth-child(2) { right: 5%; top: 42%; }
.hero-orbit span:nth-child(3) { bottom: 10%; left: 36%; }

.edition-tag {
	position: absolute;
	left: var(--side);
	top: 13%;
	margin: 0;
	padding: 0.58rem 0.9rem;
	background: var(--acid);
	color: var(--black);
	font: 700 0.62rem/1 var(--mono);
	transform: rotate(-2deg);
}

.hero-copy {
	position: relative;
	z-index: 2;
	max-width: 930px;
}

.kicker {
	max-width: 380px;
	margin-bottom: 1.2rem;
	color: var(--silver);
	font: 700 clamp(0.7rem, 1.1vw, 0.85rem)/1.4 var(--mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero h1 {
	display: flex;
	flex-wrap: wrap;
	gap: 0.04em;
	margin: 0;
	font-size: clamp(7.8rem, 21vw, 18rem);
}

.hero h1 span,
.hero h1 em {
	font-style: normal;
}

.hero h1 em {
	color: var(--acid);
}

.hero-foot {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 1.3rem;
}

.hero-foot > p {
	margin: 0;
	font: 700 clamp(1.35rem, 2.6vw, 2.15rem)/1.05 var(--condensed);
	text-transform: uppercase;
}

.hero-foot > p strong {
	color: var(--acid);
}

.round-link {
	display: grid;
	width: 118px;
	aspect-ratio: 1;
	flex: 0 0 auto;
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: 1.2rem;
	border: 1px solid var(--bone);
	border-radius: 50%;
	font: 700 0.6rem/1.25 var(--mono);
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.round-link b {
	font-size: 1.4rem;
}

.round-link:hover,
.round-link:focus-visible {
	background: var(--acid);
	color: var(--black);
	transform: rotate(-5deg);
}

.hero-eye {
	position: absolute;
	right: 2vw;
	top: 23vh;
	z-index: 0;
	width: clamp(270px, 39vw, 620px);
	opacity: 0.77;
	transition: transform 0.2s ease-out;
}

.hero-eye svg {
	width: 100%;
	overflow: visible;
}

.hero-eye path,
.hero-eye circle {
	fill: none;
	stroke: var(--silver);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.hero-eye .eye-sun,
.hero-eye .eye-rays {
	stroke: var(--acid);
}

.hero-eye circle {
	fill: var(--acid);
	stroke: var(--acid);
}

.hero-index {
	position: absolute;
	right: var(--side);
	bottom: 2rem;
	display: flex;
	width: 120px;
	align-items: center;
	gap: 0.7rem;
	color: var(--muted);
	font: 0.6rem/1 var(--mono);
}

.hero-index i {
	height: 1px;
	flex: 1;
	background: var(--muted);
}

.dark-section,
.paper-section,
.challenge {
	position: relative;
	padding: var(--section-y) var(--side);
	border-top: 1px solid var(--line-dark);
}

.dark-section {
	background: var(--black);
	color: var(--bone);
}

.paper-section {
	border-color: var(--line-light);
	background: var(--bone);
	color: var(--ink);
}

.section-meta {
	display: grid;
	grid-template-columns: auto auto 1fr;
	align-items: center;
	gap: 1rem;
	margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
	color: var(--acid);
	font: 700 0.64rem/1 var(--mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section-meta p {
	margin: 0;
}

.section-meta i {
	height: 1px;
	background: currentColor;
	opacity: 0.35;
}

.section-meta.ink {
	color: var(--ink);
}

.enemy {
	min-height: 105svh;
	overflow: hidden;
}

.enemy-heading > p {
	margin-bottom: 1.4rem;
	color: var(--silver);
	font: clamp(1rem, 1.5vw, 1.25rem)/1.45 var(--sans);
}

.enemy h2,
.manifesto h2,
.people h2,
.pillars h2,
.code h2,
.belonging h2,
.ritual h2,
.movement h2,
.challenge h2,
.founding h2 {
	margin: 0;
	font-size: clamp(4.5rem, 11.8vw, 10.5rem);
}

.routine {
	display: flex;
	align-items: center;
	gap: clamp(0.65rem, 1.5vw, 1.5rem);
	margin: clamp(4rem, 8vw, 7rem) 0;
	font: 700 clamp(0.85rem, 1.8vw, 1.45rem)/1 var(--mono);
	text-transform: uppercase;
}

.routine b {
	color: var(--acid);
	font-weight: 400;
}

.enemy-copy {
	display: grid;
	max-width: 1000px;
	grid-template-columns: 0.72fr 1.28fr;
	gap: clamp(2rem, 7vw, 7rem);
	font-size: clamp(1.15rem, 2.1vw, 1.8rem);
	line-height: 1.42;
}

.enemy-copy p:first-child {
	color: var(--acid);
	font-weight: 700;
}

.interrupt {
	width: fit-content;
	margin: clamp(4rem, 8vw, 7rem) 0 0 auto;
	padding: 1rem 1.4rem;
	background: var(--acid);
	color: var(--black);
	font: 900 clamp(1.2rem, 2.6vw, 2.25rem)/1 var(--mono);
	transform: rotate(-1.5deg);
}

.manifesto h2 mark,
.people h2 mark,
.pillars h2 mark,
.belonging h2 mark,
.movement h2 mark {
	-webkit-text-stroke: 1px var(--ink);
}

.manifesto h2 mark,
.belonging h2 mark {
	display: inline-block;
	padding: 0.06em 0.12em 0.02em;
	background: var(--acid);
	color: var(--ink);
	transform: rotate(-0.6deg);
}

.manifesto-layout {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(3rem, 9vw, 10rem);
	margin: clamp(5rem, 9vw, 9rem) 0;
}

.manifesto-lead {
	margin: 0;
	font: 700 clamp(2.2rem, 5.2vw, 5.2rem)/0.98 var(--condensed);
	letter-spacing: -0.035em;
}

.manifesto-lines {
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	line-height: 1.5;
}

.manifesto-lines p {
	margin: 0;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--line-light);
}

.manifesto blockquote {
	display: grid;
	max-width: 1050px;
	grid-template-columns: auto 1fr;
	gap: 1.5rem;
	margin: 0;
	padding-top: 2.5rem;
	border-top: 2px solid var(--ink);
}

.manifesto blockquote > span {
	color: var(--orange);
	font: 900 7rem/0.65 Georgia, serif;
}

.manifesto blockquote p {
	margin: 0;
	font: 700 clamp(1.9rem, 4.2vw, 4rem)/1.08 var(--condensed);
}

.manifesto blockquote strong {
	color: var(--muted);
}

.kinetic-strip {
	padding: 1.1rem 0 0.9rem;
	overflow: hidden;
	background: var(--acid);
	color: var(--black);
}

.kinetic-strip > div {
	display: flex;
	width: max-content;
	align-items: center;
	gap: 1.3rem;
	animation: marquee 26s linear infinite;
	font: 900 clamp(2.3rem, 5vw, 4.8rem)/0.9 var(--display);
	text-transform: uppercase;
}

.kinetic-strip i {
	color: var(--orange);
	font-style: normal;
}

.people {
	padding-bottom: clamp(3rem, 7vw, 6rem);
	overflow: hidden;
}

.people-head {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 5vw;
	align-items: end;
}

.people-head > p {
	max-width: 480px;
	margin-bottom: 0;
	padding-top: 1.4rem;
	border-top: 2px solid var(--acid);
	font-size: clamp(1.1rem, 1.65vw, 1.4rem);
	line-height: 1.5;
}

.people-values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(5rem, 9vw, 8rem);
	border-top: 1px solid var(--line-dark);
	border-bottom: 1px solid var(--line-dark);
}

.people-values span {
	min-height: 150px;
	padding: 1.3rem;
	border-right: 1px solid var(--line-dark);
	font: 700 clamp(1rem, 1.5vw, 1.3rem)/1.3 var(--condensed);
}

.people-values span:last-child {
	border-right: 0;
}

.oversize-line {
	width: max-content;
	margin: 5rem 0 0 calc(var(--side) * -1);
	color: transparent;
	font: 900 clamp(5rem, 14vw, 13rem)/0.76 var(--display);
	letter-spacing: -0.03em;
	-webkit-text-stroke: 1px rgba(238,233,221,0.28);
	white-space: nowrap;
}

.pillars-intro,
.code-intro,
.movement-intro {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 6vw;
	align-items: end;
}

.pillars-intro > p,
.code-intro > p,
.movement-intro > p {
	max-width: 460px;
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	line-height: 1.5;
}

.pillar-list {
	margin-top: clamp(5rem, 8vw, 8rem);
	border-top: 1px solid var(--ink);
}

.pillar-row {
	display: grid;
	width: 100%;
	min-height: 104px;
	grid-template-columns: 74px 1.3fr 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: 0 1rem;
	border: 0;
	border-bottom: 1px solid var(--line-light);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	text-align: left;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pillar-row b {
	font: 700 0.68rem/1 var(--mono);
}

.pillar-row strong {
	font: 900 clamp(2.5rem, 5vw, 5rem)/0.8 var(--display);
}

.pillar-row span {
	color: var(--muted);
	font-size: 0.9rem;
}

.pillar-row i {
	font-style: normal;
	font-size: 1.5rem;
}

.pillar-row:hover,
.pillar-row:focus-visible,
.pillar-row.is-active {
	background: var(--ink);
	color: var(--acid);
}

.pillar-row:hover span,
.pillar-row:focus-visible span,
.pillar-row.is-active span {
	color: var(--paper);
}

.pillar-stage {
	position: relative;
	display: grid;
	min-height: 390px;
	grid-template-columns: auto 1fr;
	align-items: end;
	gap: clamp(2rem, 8vw, 8rem);
	padding: clamp(2rem, 5vw, 5rem);
	overflow: hidden;
	background: var(--orange);
	color: var(--black);
}

.pillar-stage::before {
	position: absolute;
	right: -3%;
	top: -28%;
	width: 55%;
	aspect-ratio: 1;
	border: 2px solid rgba(11,11,10,0.35);
	border-radius: 50%;
	box-shadow: 0 0 0 42px rgba(11,11,10,0.05), 0 0 0 84px rgba(11,11,10,0.035);
	content: "";
}

.pillar-stage-number {
	position: relative;
	z-index: 1;
	margin: 0;
	font: 700 0.72rem/1 var(--mono);
}

.pillar-stage > div {
	position: relative;
	z-index: 1;
}

.pillar-stage > div span {
	display: block;
	font: 900 clamp(5rem, 15vw, 14rem)/0.72 var(--display);
	letter-spacing: -0.04em;
}

.pillar-stage > div p {
	max-width: 650px;
	margin: 1.8rem 0 0;
	font: 700 clamp(1.25rem, 2.6vw, 2.3rem)/1.08 var(--condensed);
	text-transform: uppercase;
}

.presence-band {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 3rem;
	padding: clamp(2.5rem, 5vw, 4rem);
	background: var(--ink);
	color: var(--bone);
}

.presence-band strong {
	color: var(--acid);
	font: 900 clamp(4rem, 10vw, 9rem)/0.8 var(--display);
}

.presence-band p {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.6rem);
	line-height: 1.4;
}

.presence-band b {
	color: var(--acid);
}

.code-intro {
	margin-bottom: clamp(5rem, 9vw, 8rem);
}

.code-intro > p {
	color: var(--silver);
}

.code-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-dark);
	list-style: none;
	counter-reset: code;
}

.code-list li {
	display: grid;
	min-height: 106px;
	grid-template-columns: 74px minmax(320px, 1fr) minmax(240px, 0.65fr);
	align-items: center;
	gap: 1.2rem;
	border-bottom: 1px solid var(--line-dark);
	transition: background-color 0.2s ease, padding 0.2s ease;
}

.code-list li:hover {
	padding: 0 1.2rem;
	background: var(--acid);
	color: var(--black);
}

.code-list b {
	color: var(--acid);
	font: 700 0.67rem/1 var(--mono);
}

.code-list li:hover b {
	color: var(--black);
}

.code-list strong {
	font: 900 clamp(1.8rem, 4vw, 4rem)/0.9 var(--display);
}

.code-list span {
	color: var(--silver);
	font-size: 0.92rem;
	line-height: 1.35;
}

.code-list li:hover span {
	color: var(--black);
}

.belonging h2 {
	max-width: 1250px;
}

.social-codes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(5rem, 9vw, 9rem);
	border: 1px solid var(--ink);
}

.social-codes article {
	display: flex;
	min-height: 390px;
	flex-direction: column;
	padding: clamp(1.4rem, 3vw, 2.6rem);
	border-right: 1px solid var(--ink);
}

.social-codes article:last-child {
	border-right: 0;
}

.social-codes article:nth-child(2) {
	background: var(--ink);
	color: var(--bone);
}

.social-codes b {
	font: 700 0.66rem/1 var(--mono);
}

.social-codes h3 {
	margin: auto 0 1.5rem;
	font-size: clamp(2.5rem, 4.7vw, 5rem);
}

.social-codes p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.48;
}

.golden-rules {
	margin-top: clamp(5rem, 9vw, 8rem);
}

.golden-rules p {
	margin: 0;
	font: 900 clamp(3rem, 8vw, 7rem)/0.96 var(--display);
	letter-spacing: -0.03em;
}

.golden-rules span {
	color: var(--muted);
}

.ritual {
	min-height: 100svh;
	text-align: center;
	overflow: hidden;
}

.ritual::before,
.ritual::after {
	position: absolute;
	left: 50%;
	top: 49%;
	width: min(68vw, 820px);
	aspect-ratio: 1;
	border: 1px solid rgba(234,255,0,0.13);
	border-radius: 50%;
	content: "";
	transform: translate(-50%, -50%);
}

.ritual::after {
	width: min(46vw, 560px);
	opacity: 0.7;
}

.ritual.is-awake::before {
	animation: pulse 1s ease-out 2;
}

.ritual .section-meta,
.ritual > * {
	position: relative;
	z-index: 1;
}

.ritual-pre {
	margin-bottom: 2rem;
	color: var(--silver);
	font: 0.72rem/1.4 var(--mono);
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.ritual h2 {
	font-size: clamp(6rem, 17vw, 16rem);
}

.ritual-trigger {
	position: relative;
	display: inline-grid;
	min-width: min(100%, 510px);
	min-height: 76px;
	place-items: center;
	margin-top: 3.5rem;
	padding: 1rem 4rem 1rem 1.5rem;
	border: 2px solid var(--acid);
	background: transparent;
	color: var(--acid);
	cursor: pointer;
	font: 900 clamp(1rem, 2.3vw, 1.8rem)/1 var(--mono);
	text-transform: uppercase;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ritual-trigger i {
	position: absolute;
	right: 1.4rem;
	width: 13px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 9px rgba(234,255,0,0.09);
}

.ritual-trigger:hover,
.ritual-trigger:focus-visible,
.ritual-trigger[aria-pressed="true"] {
	background: var(--acid);
	color: var(--black);
	box-shadow: 0 0 0 18px rgba(234,255,0,0.07), 0 0 70px rgba(234,255,0,0.16);
}

.ritual-response {
	margin-top: 1rem;
	color: var(--silver);
	font: 0.63rem/1 var(--mono);
	letter-spacing: 0.08em;
}

.ritual-close {
	display: grid;
	max-width: 750px;
	grid-template-columns: 90px 1fr;
	gap: 2rem;
	margin: clamp(6rem, 11vw, 10rem) auto 0;
	padding-top: 2rem;
	border-top: 1px solid var(--line-dark);
	text-align: left;
}

.ritual-close span {
	color: var(--acid);
	font: 700 0.66rem/1 var(--mono);
	text-transform: uppercase;
}

.ritual-close p {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	line-height: 1.5;
}

.movement-intro {
	margin-bottom: clamp(5rem, 9vw, 8rem);
}

.format-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--ink);
	border-left: 1px solid var(--ink);
}

.format {
	display: flex;
	min-height: 365px;
	flex-direction: column;
	padding: clamp(1.3rem, 2.5vw, 2.4rem);
	border-right: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
}

.format-wide {
	grid-column: span 2;
}

.format-acid {
	background: var(--acid);
}

.format-dark {
	background: var(--ink);
	color: var(--bone);
}

.format > span,
.format > b {
	font: 700 0.62rem/1 var(--mono);
	letter-spacing: 0.06em;
}

.format h3 {
	margin: auto 0 1.5rem;
	font-size: clamp(2.6rem, 5.2vw, 5.6rem);
}

.format p {
	max-width: 520px;
	font-size: 0.94rem;
	line-height: 1.45;
}

.format > b {
	margin-top: 1.2rem;
}

.documentary-rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 3vw, 3rem);
	margin: clamp(5rem, 9vw, 8rem) 0 0;
	font: 900 clamp(2.8rem, 7.5vw, 7rem)/0.9 var(--display);
	letter-spacing: -0.03em;
}

.documentary-rule span:last-child {
	color: var(--muted);
	text-decoration: line-through 0.07em var(--orange);
}

.documentary-rule b {
	color: var(--orange);
}

.challenge {
	background: var(--orange);
	color: var(--black);
	isolation: isolate;
}

.challenge-grid {
	z-index: -1;
	background-image: linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(11,11,10,0.1) 50%, transparent calc(50% + 0.5px)), linear-gradient(rgba(11,11,10,0.08) 1px, transparent 1px);
}

.challenge .section-meta {
	color: var(--black);
}

.challenge-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
}

.challenge h2 mark {
	color: var(--black);
	-webkit-text-stroke: 2px var(--black);
}

.progress-orb {
	display: grid;
	width: clamp(110px, 13vw, 165px);
	aspect-ratio: 1;
	flex: 0 0 auto;
	place-content: center;
	border: 3px solid var(--black);
	border-radius: 50%;
	text-align: center;
	transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.progress-orb.is-complete {
	background: var(--black);
	color: var(--acid);
	transform: rotate(8deg);
}

.progress-orb strong {
	font: 900 clamp(2.2rem, 4vw, 3.5rem)/1 var(--display);
}

.progress-orb span {
	font: 700 0.58rem/1 var(--mono);
}

.challenge-deck {
	margin: 2.5rem 0 5rem;
	font: 700 clamp(1.2rem, 2.3vw, 2rem)/1.12 var(--condensed);
	text-transform: uppercase;
}

.challenge-list {
	border-top: 2px solid var(--black);
}

.challenge-list label {
	display: grid;
	min-height: 100px;
	grid-template-columns: 34px 84px minmax(180px, 0.42fr) 1fr;
	align-items: center;
	gap: 1rem;
	border-bottom: 1px solid rgba(11,11,10,0.45);
	cursor: pointer;
	transition: padding 0.2s ease, background-color 0.2s ease;
}

.challenge-list label:hover,
.challenge-list label:focus-within {
	padding: 0 1rem;
	background: rgba(238,233,221,0.19);
}

.challenge-list input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.challenge-list .check {
	position: relative;
	display: block;
	width: 25px;
	aspect-ratio: 1;
	border: 2px solid var(--black);
}

.challenge-list input:focus-visible + .check {
	outline: 3px solid var(--bone);
	outline-offset: 3px;
}

.challenge-list input:checked + .check {
	background: var(--black);
}

.challenge-list input:checked + .check::after {
	position: absolute;
	left: 6px;
	top: 2px;
	width: 7px;
	height: 13px;
	border: solid var(--acid);
	border-width: 0 2px 2px 0;
	content: "";
	transform: rotate(45deg);
}

.challenge-list b {
	font: 700 0.65rem/1 var(--mono);
}

.challenge-list strong {
	font: 900 clamp(1.8rem, 3.6vw, 3.5rem)/0.9 var(--display);
}

.challenge-list em {
	font-size: 0.96rem;
	font-style: normal;
	line-height: 1.4;
}

.challenge-list label.is-done strong,
.challenge-list label.is-done em {
	opacity: 0.4;
	text-decoration: line-through;
}

.challenge-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.5rem;
}

.action-button {
	min-height: 52px;
	border: 2px solid var(--black);
	cursor: pointer;
	font: 700 0.68rem/1 var(--mono);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.action-primary {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 0 1.2rem;
	background: var(--black);
	color: var(--bone);
}

.action-primary span {
	color: var(--acid);
	font-size: 1.1rem;
}

.action-reset {
	border-color: transparent;
	background: transparent;
	color: var(--black);
	text-decoration: underline;
}

.challenge-status {
	margin: 1.3rem 0 0;
	font: 700 0.66rem/1.35 var(--mono);
	letter-spacing: 0.05em;
}

.founding {
	min-height: 100svh;
	overflow: hidden;
}

.founding-100 {
	position: absolute;
	right: -2vw;
	top: 8%;
	color: rgba(238,233,221,0.045);
	font: 900 clamp(20rem, 52vw, 56rem)/0.8 var(--display);
	letter-spacing: -0.08em;
}

.founding-copy {
	position: relative;
	z-index: 1;
}

.founding-copy h2 {
	max-width: 1200px;
}

.founding-copy > p {
	max-width: 700px;
	margin: 4rem 0;
	font-size: clamp(1.2rem, 2.2vw, 1.8rem);
	line-height: 1.48;
}

.proof-note {
	display: flex;
	max-width: 770px;
	flex-direction: column;
	margin-bottom: 3rem;
	padding: 1.5rem;
	border: 1px solid var(--silver);
	font: 900 clamp(1.35rem, 3vw, 2.7rem)/1.07 var(--condensed);
}

.proof-note span {
	margin-top: 0.45rem;
	color: var(--silver);
}

.founding-cta {
	display: inline-flex;
	min-height: 56px;
	align-items: center;
	gap: 3rem;
	padding: 0 1.3rem;
	background: var(--acid);
	color: var(--black);
	font: 700 0.72rem/1 var(--mono);
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.founding-cta span {
	font-size: 1.2rem;
}

.founding-cta:hover,
.founding-cta:focus-visible {
	box-shadow: 7px 7px 0 var(--orange);
	transform: translate(-3px, -3px);
}

.site-footer {
	padding: clamp(5rem, 9vw, 8rem) var(--side) 2rem;
	border-top: 1px solid var(--line-dark);
	background: var(--black);
	color: var(--bone);
}

.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.footer-top p {
	max-width: 360px;
	margin: 0;
	text-align: right;
	font: 700 clamp(1rem, 2.1vw, 1.7rem)/1.1 var(--condensed);
	text-transform: uppercase;
}

.footer-eye {
	width: 130px;
	fill: none;
	stroke: var(--acid);
	stroke-width: 2;
}

.footer-eye circle {
	fill: var(--acid);
}

.footer-wordmark {
	margin: clamp(5rem, 10vw, 9rem) 0 1.2rem;
	font: 900 clamp(7rem, 24vw, 22rem)/0.68 var(--display);
	letter-spacing: -0.045em;
	text-transform: uppercase;
}

.footer-wordmark span {
	color: var(--acid);
}

.footer-bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1rem;
	padding-top: 1.3rem;
	border-top: 1px solid var(--line-dark);
	color: var(--silver);
	font: 0.61rem/1 var(--mono);
	text-transform: uppercase;
}

.footer-bottom a {
	justify-self: end;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

@keyframes rotate {
	to { transform: rotate(360deg); }
}

@keyframes marquee {
	to { transform: translateX(-50%); }
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(234,255,0,0.22); }
	100% { box-shadow: 0 0 0 130px rgba(234,255,0,0); }
}

@media (max-width: 980px) {
	.people-head,
	.pillars-intro,
	.code-intro,
	.movement-intro {
		grid-template-columns: 1fr;
	}

	.people-head > p,
	.pillars-intro > p,
	.code-intro > p,
	.movement-intro > p {
		margin-top: 2.5rem;
	}

	.people-values {
		grid-template-columns: repeat(2, 1fr);
	}

	.people-values span:nth-child(2) {
		border-right: 0;
	}

	.people-values span:nth-child(-n+2) {
		border-bottom: 1px solid var(--line-dark);
	}

	.pillar-row {
		grid-template-columns: 60px 1.2fr 0.8fr auto;
	}

	.presence-band {
		grid-template-columns: 1fr;
	}

	.social-codes {
		grid-template-columns: 1fr;
	}

	.social-codes article {
		min-height: 300px;
		border-right: 0;
		border-bottom: 1px solid var(--ink);
	}

	.social-codes article:last-child {
		border-bottom: 0;
	}

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

	.format-wide {
		grid-column: span 2;
	}

	.code-list li {
		grid-template-columns: 60px minmax(250px, 1fr) 0.7fr;
	}
}

@media (max-width: 760px) {
	:root {
		--side: 1.2rem;
		--section-y: 6rem;
	}

	body.admin-bar .site-nav {
		top: 46px;
	}

	.site-nav {
		height: 62px;
	}

	.menu-toggle {
		display: flex;
	}

	.site-menu {
		position: absolute;
		inset: 61px 0 auto;
		display: none;
		align-items: stretch;
		padding: 0.8rem var(--side) 1.2rem;
		border-bottom: 1px solid var(--line-dark);
		background: var(--black);
	}

	.site-menu.is-open {
		display: flex;
		flex-direction: column;
	}

	.site-menu a {
		padding: 0.8rem 0;
	}

	.site-menu .menu-cta {
		justify-content: space-between;
		padding: 0 0.8rem;
	}

	.hero {
		min-height: 100svh;
		align-items: end;
		padding-top: 8rem;
		padding-bottom: 5rem;
	}

	.edition-tag {
		top: 12%;
	}

	.hero-copy {
		width: 100%;
	}

	.kicker {
		max-width: 260px;
	}

	.hero h1 {
		display: block;
		font-size: 38vw;
		line-height: 0.72;
	}

	.hero h1 span,
	.hero h1 em {
		display: block;
	}

	.hero-eye {
		right: -38%;
		top: 17%;
		width: 110vw;
		opacity: 0.34;
	}

	.hero-orbit {
		right: -54vw;
		width: 130vw;
	}

	.hero-foot {
		align-items: center;
	}

	.round-link {
		width: 96px;
		padding: 0.85rem;
	}

	.hero-index {
		display: none;
	}

	.enemy h2,
	.manifesto h2,
	.people h2,
	.pillars h2,
	.code h2,
	.belonging h2,
	.movement h2,
	.challenge h2,
	.founding h2 {
		font-size: clamp(3.8rem, 18vw, 7.5rem);
	}

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

	.routine b {
		transform: rotate(90deg);
	}

	.enemy-copy,
	.manifesto-layout {
		grid-template-columns: 1fr;
	}

	.manifesto blockquote {
		grid-template-columns: 1fr;
	}

	.manifesto blockquote > span {
		height: 40px;
	}

	.people-values {
		grid-template-columns: 1fr;
	}

	.people-values span {
		min-height: 100px;
		border-right: 0;
		border-bottom: 1px solid var(--line-dark);
	}

	.people-values span:last-child {
		border-bottom: 0;
	}

	.pillar-row {
		min-height: 90px;
		grid-template-columns: 40px 1fr auto;
		padding: 0;
	}

	.pillar-row span {
		display: none;
	}

	.pillar-stage {
		min-height: 330px;
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 2rem 1.2rem;
	}

	.pillar-stage > div span {
		font-size: 24vw;
	}

	.presence-band {
		padding-inline: 1.2rem;
	}

	.code-list li {
		min-height: 120px;
		grid-template-columns: 42px 1fr;
		gap: 0.7rem;
		padding: 1rem 0;
	}

	.code-list span {
		grid-column: 2;
	}

	.code-list li:hover {
		padding: 1rem 0.6rem;
	}

	.golden-rules p {
		font-size: clamp(2.45rem, 13vw, 5rem);
	}

	.ritual::before {
		width: 125vw;
	}

	.ritual::after {
		width: 82vw;
	}

	.ritual h2 {
		font-size: 25vw;
	}

	.ritual-trigger {
		min-height: 66px;
		padding-right: 3rem;
	}

	.ritual-close {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

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

	.format,
	.format-wide {
		min-height: 300px;
		grid-column: span 1;
	}

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

	.challenge-heading {
		align-items: flex-start;
	}

	.progress-orb {
		width: 88px;
	}

	.challenge-list label {
		min-height: 116px;
		grid-template-columns: 32px 62px 1fr;
		gap: 0.65rem;
		padding: 1rem 0;
	}

	.challenge-list em {
		grid-column: 3;
	}

	.challenge-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.action-primary {
		justify-content: space-between;
	}

	.founding-100 {
		right: -25vw;
		font-size: 95vw;
	}

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

	.footer-top p {
		text-align: left;
	}

	.footer-wordmark {
		font-size: 27vw;
		line-height: 0.72;
	}

	.footer-wordmark span {
		display: block;
	}

	.footer-bottom {
		grid-template-columns: 1fr;
		line-height: 1.45;
	}

	.footer-bottom a {
		justify-self: start;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

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