/* Layout idea: the page is one descent. You start in cloud, fall as rain, run as river,
   cross the waterline and sink to the deep. The last link lifts you back to the top. */
:root {
	color-scheme: light;
	--mist: #EDF1F2;      /* cloud */
	--drizzle: #DAE4E7;   /* rain */
	--runoff: #C0D2D7;    /* river, upper */
	--estuary: #9DBAC2;   /* river, lower: the air just above the sea */
	--sea: #0E4A5A;       /* just under the surface */
	--abyss: #051824;     /* the deep */
	--ink: #0A2733;       /* text above the waterline */
	--tide: #0D5B6E;      /* accent above the waterline */
	--foam: #E8F1F1;      /* text below the waterline */
	--glow: #A6E4D6;      /* accent below the waterline */
	--display: "Lora", Georgia, "Times New Roman", serif;
	--body: "Albert Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 5vw, 64px);
	--measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--mist);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
h1, h2 { font-family: var(--display); font-weight: 500; text-wrap: balance; letter-spacing: -0.01em; }
em { font-style: italic; }

/* ---------- shared section frame ---------- */
.band { padding: clamp(64px, 10vw, 136px) var(--gutter); }
.frame {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(130px, 210px) minmax(0, 1fr);
	gap: clamp(24px, 5vw, 72px);
}
.stage {
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 10px;
	border-top: 1px solid currentColor;
	align-self: start;
}
.stage span { font-weight: 400; letter-spacing: 0.04em; text-transform: none; opacity: 0.75; }
.body { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.body h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; }
.body p { max-width: var(--measure); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; }

/* ---------- 01 cloud ---------- */
.cloud { background: linear-gradient(var(--mist), var(--drizzle)); padding-top: 0; }
.masthead {
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 0 clamp(56px, 9vw, 112px);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px 32px;
}
.wordmark {
	font-family: var(--display);
	font-size: 1.6rem;
	font-style: italic;
	text-decoration: none;
	letter-spacing: 0;
}
.masthead nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.masthead nav a {
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}
.masthead nav a:hover { border-bottom-color: currentColor; }
.cloud h1 {
	font-size: clamp(2.5rem, 8vw, 6.4rem);
	line-height: 1.02;
	letter-spacing: -0.025em;
}
.cloud h1 span { display: block; }
.cloud h1 span:nth-child(2) { font-style: italic; color: var(--tide); padding-left: clamp(0px, 6vw, 96px); }
.cloud h1 span:nth-child(3) { padding-left: clamp(0px, 12vw, 192px); }
.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	font-size: 0.9375rem;
	font-weight: 500;
}
.facts li + li::before { content: ""; }
.jump {
	align-self: flex-start;
	font-weight: 600;
	text-decoration: none;
	color: var(--mist);
	background: var(--ink);
	padding: 14px 22px;
	border-radius: 999px;
}
.jump:hover { background: var(--tide); }

/* ---------- 02 rain ---------- */
.rain {
	background:
		repeating-linear-gradient(100deg, transparent 0 46px, rgba(10, 39, 51, 0.045) 46px 47px),
		linear-gradient(var(--drizzle), var(--runoff));
}
.tenets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px);
	counter-reset: tenet;
}
.tenets li {
	counter-increment: tenet;
	display: grid;
	grid-template-columns: 2.6rem minmax(0, 1fr);
	gap: 4px 12px;
	border-top: 1px solid rgba(10, 39, 51, 0.3);
	padding-top: 16px;
}
.tenets li::before {
	content: counter(tenet);
	font-family: var(--display);
	font-style: italic;
	font-size: 2.2rem;
	line-height: 1;
	color: var(--tide);
	grid-row: span 2;
}
.tenets h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.tenets p { font-size: 1rem; }

/* ---------- 03 river ---------- */
.river { background: linear-gradient(var(--runoff), var(--estuary)); }
.cycle {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(24px, 5vw, 64px);
	align-items: center;
}
.cycle-text { display: flex; flex-direction: column; gap: 20px; }
.cycle svg { width: 100%; max-width: 520px; height: auto; display: block; justify-self: center; }
.cycle svg text { font-family: var(--body); font-size: 17px; font-weight: 600; fill: var(--ink); }
.cycle svg .heart { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 34px; fill: var(--tide); }
.cycle svg .ring { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.cycle svg .node { fill: var(--ink); }
.cycle svg .node.sea { fill: var(--tide); }
.cycle svg .dart { fill: var(--ink); }

/* ---------- the waterline ---------- */
.waterline { position: relative; background: var(--estuary); line-height: 0; }
.waterline canvas { display: block; width: 100%; height: clamp(110px, 16vw, 190px); }
.waterline p {
	position: absolute;
	left: var(--gutter);
	bottom: 14px;
	line-height: 1.2;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--foam);
}

/* ---------- 04 sea, 05 deep ---------- */
.sea, .deep { color: var(--foam); }
.sea { background: linear-gradient(var(--sea), #0A3445); padding-top: clamp(40px, 6vw, 80px); }
.sea .year {
	font-family: var(--display);
	font-size: clamp(4.5rem, 15vw, 11rem);
	line-height: 0.85;
	letter-spacing: -0.03em;
	color: var(--glow);
	font-variant-numeric: lining-nums;
}
.pledge {
	border-left: 1px solid var(--glow);
	padding-left: clamp(16px, 2.5vw, 28px);
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(1.35rem, 2.6vw, 1.9rem);
	line-height: 1.35;
	max-width: 34ch;
}
.who, .voices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 28px clamp(24px, 4vw, 56px);
}
.who li { border-top: 1px solid rgba(232, 241, 241, 0.3); padding-top: 16px; font-size: 1rem; }
.who h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.band .frame + .frame { margin-top: clamp(64px, 9vw, 120px); }
.creed {
	border-left: 1px solid var(--tide);
	padding-left: clamp(16px, 2.5vw, 28px);
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(1.35rem, 2.6vw, 1.9rem);
	line-height: 1.35;
	color: var(--tide);
}
.body p.creed { max-width: 34ch; }
.voices { gap: clamp(32px, 4vw, 52px) clamp(32px, 5vw, 72px); }
.voices blockquote { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.voices blockquote p {
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	line-height: 1.28;
	text-wrap: balance;
}
.voices footer { font-size: 0.875rem; line-height: 1.45; opacity: 0.85; }
.voices cite { font-style: italic; }
.voices footer b { display: block; font-weight: 600; color: var(--glow); }
.voices blockquote p.more { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--body); font-style: normal; font-size: 0.9375rem; line-height: 1.5; }
.voices .more a, .voices .more button {
	font: inherit;
	font-weight: 600;
	color: var(--glow);
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	padding: 0 0 2px;
	cursor: pointer;
	text-decoration: none;
}
.voices .more a:hover, .voices .more button:hover { color: var(--foam); }
.voices .more button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.quote-dialog {
	width: min(680px, calc(100% - 32px));
	max-height: calc(100% - 48px);
	padding: 0;
	border: 1px solid rgba(166, 228, 214, 0.35);
	border-radius: 6px;
	background: #0A3445;
	color: var(--foam);
}
.quote-dialog::backdrop { background: rgba(5, 24, 36, 0.78); }
.quote-dialog-inner { padding: clamp(24px, 5vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.quote-dialog .full { font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.55; }
.quote-dialog .by { font-size: 0.9375rem; }
.quote-dialog .by b { display: block; color: var(--glow); }
.quote-dialog .by cite { font-style: italic; }
.quote-dialog form { display: flex; justify-content: flex-end; }
.quote-dialog form button {
	font: inherit;
	font-weight: 600;
	color: var(--abyss);
	background: var(--glow);
	border: 0;
	border-radius: 999px;
	padding: 10px 22px;
	cursor: pointer;
}
.quote-dialog form button:hover { background: var(--foam); }
.quote-dialog form button:focus-visible { outline: 2px solid var(--foam); outline-offset: 3px; }
.deep { background: linear-gradient(#0A3445, var(--abyss)); padding-bottom: 40px; }
.litany {
	font-family: var(--display);
	font-size: clamp(2.2rem, 7vw, 5.4rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
}
.litany li { display: block; }
.litany em { color: var(--glow); }
.litany li:nth-child(2) { padding-left: clamp(0px, 5vw, 80px); }
.litany li:nth-child(3) { padding-left: clamp(0px, 10vw, 160px); }
.litany li:nth-child(4) { padding-left: clamp(0px, 15vw, 240px); }
.reach {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 28px clamp(24px, 4vw, 56px);
	border-top: 1px solid rgba(232, 241, 241, 0.3);
	padding-top: 28px;
}
.reach h3 {
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--glow);
	margin-bottom: 8px;
}
.reach a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.reach a:hover { color: var(--glow); }
.reach address { font-style: normal; }
.colophon {
	max-width: 1180px;
	margin: clamp(64px, 9vw, 120px) auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px 32px;
	font-size: 0.9375rem;
	opacity: 0.9;
}
.rise {
	font-family: var(--display);
	font-style: italic;
	font-size: 1.5rem;
	color: var(--glow);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.rise:hover { border-bottom-color: var(--glow); }

@media (max-width: 720px) {
	.frame { grid-template-columns: minmax(0, 1fr); }
	.stage { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* ---------- inner pages: Writings, Journal ---------- */
.cloud.subhead { padding-bottom: clamp(48px, 7vw, 88px); }
.cloud.subhead h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.facts a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.facts a:hover { color: var(--tide); }
.prose { gap: clamp(16px, 2vw, 24px); }
.prose h2 { margin-bottom: 8px; }
.byline { font-size: 0.9375rem; font-weight: 600; margin-top: 8px; }
.river .byline, .rain .byline { color: var(--tide); }
.faq { margin: 0; display: flex; flex-direction: column; gap: 32px; max-width: var(--measure); }
.faq div { border-top: 1px solid rgba(232, 241, 241, 0.3); padding-top: 16px; }
.faq dt { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25; margin-bottom: 10px; }
.faq dd { margin: 0; }
.faq ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.faq a { color: var(--glow); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq a:hover { color: var(--foam); }
.entry .stage time { font-weight: 600; }
.entry .body { gap: 16px; }
.entry .body h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; }
.entry-text { font-size: 1.125rem; }
.entry-credit { font-size: 0.9375rem; font-weight: 600; color: var(--tide); }
.entry-credit::before { content: "\2014\00a0"; }
.deep.tail { padding-top: clamp(40px, 6vw, 72px); }
.deep.tail .colophon { margin-top: 0; }
.faq dd p + p { margin-top: 12px; }
.entry-photo { display: block; width: 100%; max-width: 720px; height: auto; border-radius: 4px; }
.photo-credit { font-size: 0.8125rem; opacity: 0.75; margin-top: -8px; }
.photo-credit a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
