/*
Theme Name: Sonatatoyan
Theme URI: https://github.com/dendritecorp/template-sonatatoyan
Author: Dendrite Corp
Description: Sona Tatoyan — writer, performer, contemporary hakawati. Classic PHP + Gutenberg block patterns.
Version: 2.1.0
Text Domain: sonatatoyan
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Surfaces + ink */
	--st-paper: #f2efe7;
	--st-paper-deep: #eae5d8;
	--st-ink: #23211d;
	--st-body: #4a463f;
	--st-body-dark: #3d3a35;
	--st-body-mid: #55504a;
	--st-muted: #6f675c;
	--st-muted-light: #bdb3a1;
	--st-accent: #b0322c;
	--st-cream: #efeade;

	/* Lines */
	--st-border: #ddd6c8;
	--st-border-subtle: #e2dbcd;
	--st-border-hair: #e8e2d5;
	--st-border-input: #c8c1b3;
	--st-underline: #d6cfc2;

	/* Type families */
	--st-serif: 'Cormorant Garamond', Georgia, serif;
	--st-mono: ui-monospace, 'IBM Plex Mono', 'SF Mono', monospace;

	/* Type scale — one shared set of sizes for the whole site */
	--st-fs-display: clamp(32px, 4vw, 56px);
	--st-fs-h1: clamp(32px, 4vw, 56px);
	--st-fs-h2: clamp(30px, 3.8vw, 50px);
	--st-fs-h3: clamp(24px, 3vw, 38px);
	--st-fs-h4: clamp(22px, 2.4vw, 32px);
	--st-fs-h5: clamp(18px, 1.7vw, 24px);
	--st-fs-quote: clamp(24px, 3vw, 38px);
	--st-fs-lead: clamp(19px, 2vw, 24px);
	--st-fs-body: 19px;
	--st-fs-body-sm: 17px;
	--st-fs-label: 11px;

	/* Label rhythm */
	--st-type-eyebrow: clamp(13px, 1.1vw, 15px);
	--st-tracking-label: 0.2em;
	--st-tracking-eyebrow: 0.26em;

	/* Layout */
	--st-max: 1180px;
	--st-pad: clamp(20px, 5vw, 56px);
	--st-space-section: clamp(21px, 3.4vw, 42px);
	--st-space-section-sm: clamp(20px, 3vw, 36px);
	--st-space-hero-top: clamp(21px, 3vw, 36px);
	--st-space-hero-bottom: clamp(21px, 3.4vw, 39px);
	--st-space-row: clamp(11px, 1.65vw, 17px);
	--st-space-list: 11px;
	--st-space-block: clamp(17px, 2.6vw, 30px);
	--st-space-footer: clamp(21px, 3.4vw, 42px);

	/* Paper textures */
	--st-paper-texture: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
	--st-paper-deep-texture: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n3)' opacity='0.28'/%3E%3C/svg%3E");
	--st-paper-ink-texture: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n2)' opacity='0.2'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Base / reset
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--st-serif);
	font-weight: 300;
	color: var(--st-ink);
	background-color: var(--st-paper);
	background-image: var(--st-paper-texture);
	line-height: 1.72;
	text-align: center;
	min-height: 100vh;
}

::selection { background: #e4dccb; }

img { max-width: 100%; height: auto; display: block; }

a {
	color: var(--st-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--st-underline);
	transition: color 0.2s, border-color 0.2s;
}

a:hover { color: var(--st-accent); border-bottom-color: var(--st-accent); }

input, textarea, select { font-family: inherit; }

/* ==========================================================================
   3. Surfaces
   ========================================================================== */

.st-paper { background-color: var(--st-paper); background-image: var(--st-paper-texture); }
.st-paper-deep { background-color: var(--st-paper-deep); background-image: var(--st-paper-deep-texture); }
.st-paper-ink { background-color: var(--st-ink); background-image: var(--st-paper-ink-texture); color: var(--st-paper); }
.st-paper-ink a { color: var(--st-paper); border-bottom-color: #6a6459; }
.st-paper-ink a:hover { color: var(--st-cream); border-bottom-color: var(--st-cream); }
.st-paper-ink .st-eyebrow { color: var(--st-cream); }
.st-plate { background-image: repeating-linear-gradient(45deg, transparent 0 13px, rgba(35, 33, 29, 0.07) 13px 14px); }

/* ==========================================================================
   4. Typography scale — base elements + shared heading/lead utilities
   ========================================================================== */

/* Base heading sizes (low specificity via :where so utilities always win). */
:where(.entry-content, .single .entry-content) h1 { font-size: var(--st-fs-h1); line-height: 1.28; font-weight: 400; }
:where(.entry-content, .single .entry-content) h2 { font-size: var(--st-fs-h2); line-height: 1.28; font-weight: 400; }
:where(.entry-content, .single .entry-content) h3 { font-size: var(--st-fs-h4); line-height: 1.4; font-weight: 400; }
:where(.entry-content, .single .entry-content) h4 { font-size: var(--st-fs-h5); line-height: 1.4; font-weight: 400; }

/* Page/section titles */
.st-hero-title { font-size: var(--st-fs-display); line-height: 1.35; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; margin: 0; }
.st-page-title { font-size: var(--st-fs-h1); line-height: 1.35; letter-spacing: 0.04em; margin: 0 auto; font-weight: 400; max-width: 22em; }
.st-cta-title { font-size: var(--st-fs-h2); line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; margin: 0 auto; max-width: 20em; }
.st-subhead { font-size: var(--st-fs-h3); line-height: 1.55; margin: 0 auto; font-weight: 400; max-width: 24em; }

/* Lead / intro copy — one unified size and rhythm for every page. */
.st-lead {
	font-size: var(--st-fs-lead);
	line-height: 1.75;
	margin: 0 auto;
	max-width: 28em;
	color: var(--st-body-dark);
	text-wrap: pretty;
}
.st-lead--ink { color: var(--st-cream); max-width: 26em; }
.st-lead--flush { margin-inline: 0; max-width: none; text-align: left; }

/* Body prose column */
.st-prose-left { text-align: left; max-width: 31em; margin-inline: auto; }
.st-prose-left p { font-size: var(--st-fs-body); line-height: 1.9; margin: 0 0 18px; text-wrap: pretty; }
.st-prose-left p:last-child { margin-bottom: 0; }

.page-performance .st-prose-left,
.page-performance .st-article-block .st-lead {
	max-width: none;
}

/* Quotes */
.st-quote { margin: 0 auto; max-width: 24em; font-size: var(--st-fs-quote); line-height: 1.55; font-style: italic; font-weight: 300; border: none; padding: 0; }
.st-quote-sm { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.6; }
.wp-block-quote.st-quote p { margin: 0; }

/* ==========================================================================
   5. Labels — one mono/uppercase recipe, three roles
   ========================================================================== */

/* Section eyebrow (kicker) */
.st-eyebrow {
	font-family: var(--st-mono);
	font-size: var(--st-type-eyebrow);
	letter-spacing: var(--st-tracking-eyebrow);
	text-transform: uppercase;
	color: var(--st-ink);
	font-weight: 500;
	margin: 0;
}
.st-eyebrow--accent { color: var(--st-accent); letter-spacing: 0.24em; }
.st-eyebrow--muted { color: var(--st-muted); }

/* Small meta line (dates, credits, attributions, card meta) */
.st-meta {
	font-family: var(--st-mono);
	font-size: var(--st-fs-label);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--st-muted);
	line-height: 1.6;
	margin: 0;
}
.st-meta a { color: var(--st-muted); border-bottom-color: var(--st-underline); }
.st-meta a:hover { color: var(--st-accent); border-bottom-color: var(--st-accent); }

/* Caption under media */
.st-caption {
	font-family: var(--st-mono);
	font-size: var(--st-fs-label);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--st-muted);
	line-height: 1.6;
	margin: 11px 0 0;
	text-align: center;
}
.st-caption a { color: var(--st-muted); border-bottom-color: var(--st-underline); }
.st-caption a:hover { color: var(--st-accent); border-bottom-color: var(--st-accent); }

/* ==========================================================================
   6. Buttons + text links — two systems only
   ========================================================================== */

/* Shared label recipe for every button/link control */
.st-button .wp-block-button__link,
.st-button--secondary .wp-block-button__link,
.st-textlink .wp-block-button__link,
.st-contact-form button[type="submit"],
.st-nav-external,
.header-nav .nav-menu a,
.footer-nav a,
.footer-social a,
.footer-secondary a,
.footer-block a,
.mobile-menu-items a {
	font-family: var(--st-mono);
	font-size: var(--st-fs-label);
	letter-spacing: var(--st-tracking-label);
	text-transform: uppercase;
}

/* Primary boxed button (fills on hover) */
.st-button .wp-block-button__link {
	border: 1px solid var(--st-ink);
	padding: 16px 28px;
	background: transparent;
	color: var(--st-ink);
	border-radius: 0;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.st-button .wp-block-button__link:hover,
.st-button .wp-block-button__link:active {
	background: var(--st-ink);
	color: var(--st-paper);
	border-color: var(--st-ink);
}

/* Secondary boxed button (lighter until hover) */
.st-button--secondary .wp-block-button__link {
	border: 1px solid var(--st-border-input);
	padding: 16px 28px;
	background: transparent;
	color: var(--st-body-mid);
	border-radius: 0;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.st-button--secondary .wp-block-button__link:hover {
	border-color: var(--st-ink);
	color: var(--st-ink);
	background: transparent;
}

/* Underline text link (styles the inner link; the row stays a plain flex container) */
.st-textlink .wp-block-button__link {
	border: none;
	border-bottom: 1px solid var(--st-ink);
	padding: 0 0 6px;
	background: transparent;
	color: var(--st-ink);
	border-radius: 0;
	display: inline-block;
}
.st-textlink--muted .wp-block-button__link { border-bottom-color: var(--st-underline); color: var(--st-muted); }
.st-textlink .wp-block-button__link:hover {
	background: transparent;
	color: var(--st-accent);
	border-bottom-color: var(--st-accent);
}

/* External nav link (Hakawati) */
.st-nav-external {
	color: var(--st-muted);
	border-bottom: none;
}
.st-nav-external:hover { color: var(--st-accent); border-bottom: none; }

/* Button rows center by default */
.wp-block-buttons,
.rb-block-buttons { justify-content: center; }
.st-button { display: flex; justify-content: center; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap; }

/* ==========================================================================
   7. Sections + heroes
   ========================================================================== */

.st-section { padding: var(--st-space-section) var(--st-pad); }
.st-section-sm { padding: var(--st-space-section-sm) var(--st-pad); }
.st-section-border-top { border-top: 1px solid var(--st-border); }
.st-section-hero { padding: var(--st-space-hero-top) var(--st-pad) var(--st-space-hero-bottom); max-width: 1000px; margin-inline: auto; }

.st-hero-media { margin: 0; padding: 0; width: 100%; max-width: none; }
.st-hero-media .st-hero-image { margin: 0; max-width: none; width: 100%; }
.st-hero-media .st-hero-image img { width: 100%; height: auto; display: block; }

.home .site-main,
.home .entry-content,
.home article { margin-top: 0; padding-top: 0; }

.st-page-hero {
	background-color: var(--st-paper);
	background-image: var(--st-paper-texture);
	margin: 0;
	padding: 0;
}

/* Page hero: left copy column, right full-height media */
.entry-content .st-page-hero .wp-block-columns,
.entry-content .st-page-hero .rb-block-columns {
	display: grid !important;
	grid-template-columns:
		minmax(var(--st-pad), calc((100% - var(--st-max)) / 2 + var(--st-pad)))
		minmax(0, 1fr)
		50%;
	align-items: stretch;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}

.entry-content .st-page-hero .wp-block-columns > *,
.entry-content .st-page-hero .rb-block-columns > * {
	max-width: none !important;
	margin-inline: 0 !important;
}

.entry-content .st-page-hero .st-page-hero__copy,
.entry-content .st-page-hero .wp-block-column:first-child,
.entry-content .st-page-hero .rb-block-column:first-child {
	grid-column: 2;
	min-width: 0;
	max-width: none;
	padding: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 48px) clamp(36px, 6vw, 72px) 0 !important;
	text-align: left;
}

.entry-content .st-page-hero .st-page-hero__copy .st-eyebrow,
.entry-content .st-page-hero .st-page-hero__copy .st-page-title {
	margin-inline: 0;
	max-width: none;
	text-align: left;
}

.entry-content .st-page-hero .st-page-hero__copy .st-page-title {
	margin-top: clamp(21px, 3vw, 33px);
	font-size: clamp(22px, 2.5vw, 40px);
	line-height: 1.3;
}

.entry-content .st-page-hero .st-page-hero__media,
.entry-content .st-page-hero .wp-block-column:last-child,
.entry-content .st-page-hero .rb-block-column:last-child {
	grid-column: 3;
	min-width: 0;
	max-width: none;
	display: flex;
	flex-direction: column;
}

.entry-content .st-page-hero .st-page-hero__media > .wp-block-cover,
.entry-content .st-page-hero .st-page-hero__media > .rb-block-cover,
.entry-content .st-page-hero .wp-block-column:last-child > .wp-block-cover,
.entry-content .st-page-hero .wp-block-column:last-child > .rb-block-cover,
.entry-content .st-page-hero .rb-block-column:last-child > .wp-block-cover,
.entry-content .st-page-hero .rb-block-column:last-child > .rb-block-cover {
	flex: 1 1 auto;
	width: 100%;
	min-height: 560px;
}

.entry-content .st-page-hero .st-page-hero__media .wp-block-cover__image-background,
.entry-content .st-page-hero .st-page-hero__media .rb-block-cover__image-background {
	object-position: center top;
}

.entry-content .st-page-hero .st-page-hero__media > .wp-block-image,
.entry-content .st-page-hero .st-page-hero__media > .rb-block-image {
	margin: 0;
	max-width: none;
	width: 100%;
}

.entry-content .st-page-hero .st-page-hero__media > .wp-block-image img,
.entry-content .st-page-hero .st-page-hero__media > .rb-block-image img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content .st-page-hero .st-page-hero__media .st-caption {
	text-align: left;
	margin: 0;
	padding: 14px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
}

/* Performance hero: full-width copy, then full-bleed image + right-aligned caption */
.entry-content .st-performance-hero .st-performance-hero__copy {
	width: 100%;
	max-width: none;
	margin-block: 0;
	margin-inline: 0;
	padding: 0 var(--st-pad);
	text-align: left;
}

.entry-content .st-performance-hero .st-performance-hero__copy > * {
	margin-block: 0 !important;
}

.entry-content .st-performance-hero .st-performance-hero__copy .st-eyebrow,
.entry-content .st-performance-hero .st-performance-hero__copy .st-page-title {
	margin-inline: 0;
	max-width: none;
	text-align: left;
	margin-block: 25px !important;
}

.entry-content .st-performance-hero .st-performance-hero__media {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 0 clamp(20px, 3vw, 32px);
}

.entry-content .st-performance-hero .st-performance-hero__image,
.entry-content .st-performance-hero .st-performance-hero__media > .wp-block-image,
.entry-content .st-performance-hero .st-performance-hero__media > .rb-block-image {
	margin: 0;
	max-width: none;
	width: 100%;
}

.entry-content .st-performance-hero .st-performance-hero__image img,
.entry-content .st-performance-hero .st-performance-hero__media > .wp-block-image img,
.entry-content .st-performance-hero .st-performance-hero__media > .rb-block-image img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content .st-performance-hero .st-performance-hero__caption {
	margin: 11px var(--st-pad) 0;
	text-align: right;
}

@media (max-width: 781px) {
	.entry-content .st-page-hero .wp-block-columns,
	.entry-content .st-page-hero .rb-block-columns {
		grid-template-columns: var(--st-pad) minmax(0, 1fr) var(--st-pad);
	}

	.entry-content .st-page-hero .st-page-hero__copy,
	.entry-content .st-page-hero .wp-block-column:first-child,
	.entry-content .st-page-hero .rb-block-column:first-child {
		grid-column: 2;
		grid-row: 1;
		padding: clamp(27px, 4.5vw, 42px) 0 clamp(21px, 3vw, 30px) !important;
		text-align: center;
	}

	.entry-content .st-page-hero .st-page-hero__copy .st-eyebrow,
	.entry-content .st-page-hero .st-page-hero__copy .st-page-title {
		text-align: center;
	}

	.entry-content .st-page-hero .st-page-hero__media,
	.entry-content .st-page-hero .wp-block-column:last-child,
	.entry-content .st-page-hero .rb-block-column:last-child {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.entry-content .st-page-hero .st-page-hero__media .st-caption {
		text-align: center;
	}
}

/* Home hero: full-bleed left canvas, centered h1 on right */
.entry-content .st-home-hero .wp-block-columns,
.entry-content .st-home-hero .rb-block-columns {
	grid-template-columns: 50% 50%;
	align-items: stretch;
	min-height: calc(50vw * 682 / 1024);
}

.entry-content .st-home-hero .st-home-hero__media,
.entry-content .st-home-hero .st-page-hero__media,
.entry-content .st-home-hero .wp-block-column:first-child,
.entry-content .st-home-hero .rb-block-column:first-child {
	grid-column: 1;
	min-width: 0;
	max-width: none;
	padding: 0 !important;
	text-align: initial;
	background-image: var(--st-home-hero-image);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	min-height: inherit;
}

.entry-content .st-home-hero .st-home-hero__copy,
.entry-content .st-home-hero .st-page-hero__copy,
.entry-content .st-home-hero .wp-block-column:last-child,
.entry-content .st-home-hero .rb-block-column:last-child {
	grid-column: 2;
	min-width: 0;
	max-width: none;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 4vw, 72px) clamp(24px, 4vw, 48px) !important;
	text-align: center;
}

@media (min-width: 782px) {
	.entry-content .st-home-hero .st-home-hero__copy,
	.entry-content .st-home-hero .st-page-hero__copy,
	.entry-content .st-home-hero .wp-block-column:last-child,
	.entry-content .st-home-hero .rb-block-column:last-child {
		container-type: size;
		container-name: st-home-hero-copy;
	}

	.entry-content .st-home-hero .st-home-hero__copy .st-hero-title,
	.entry-content .st-home-hero .st-page-hero__copy .st-hero-title {
		font-size: clamp(11px, min(4.4cqh, 3.6vw), 52px);
		line-height: 1.22;
	}
}

.entry-content .st-home-hero .st-home-hero__copy .st-hero-title,
.entry-content .st-home-hero .st-page-hero__copy .st-hero-title {
	margin: 0 auto;
	max-width: 16em;
	text-align: center;
}

@media (max-width: 781px) {
	.entry-content .st-home-hero .wp-block-columns,
	.entry-content .st-home-hero .rb-block-columns {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.entry-content .st-home-hero .st-home-hero__media,
	.entry-content .st-home-hero .st-page-hero__media,
	.entry-content .st-home-hero .wp-block-column:first-child,
	.entry-content .st-home-hero .rb-block-column:first-child {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		min-height: calc(100vw * 682 / 1024);
	}

	.entry-content .st-home-hero .st-home-hero__copy,
	.entry-content .st-home-hero .st-page-hero__copy,
	.entry-content .st-home-hero .wp-block-column:last-child,
	.entry-content .st-home-hero .rb-block-column:last-child {
		grid-column: 1;
		grid-row: 2;
		padding: clamp(27px, 4.5vw, 42px) var(--st-pad) clamp(21px, 3vw, 30px) !important;
	}
}

/* ==========================================================================
   8. Work + list rows
   ========================================================================== */

.st-work-row { border-top: 1px solid var(--st-border-subtle); padding: var(--st-space-row) 0; }
.st-work-row h3, .st-work-row .st-work-title { font-size: var(--st-fs-h4); line-height: 1.4; margin: 0 auto; max-width: 24em; font-weight: 400; }
.st-work-row a { border-bottom: none; display: block; }
.st-work-row a:hover h3, .st-work-row a:hover .st-work-title { color: var(--st-accent); }

.st-list-row { border-top: 1px solid var(--st-border-subtle); padding: var(--st-space-list) 0; }
.st-list-row .st-list-title { font-size: var(--st-fs-body); line-height: 1.6; margin: 0 auto; max-width: 28em; font-weight: 300; }

/* ==========================================================================
   9. Cards — fellowships / press citations
   ========================================================================== */

.st-fellowship-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	max-width: var(--st-max);
	width: 100%;
	margin-inline: auto;
	text-align: left;
	align-items: stretch;
}

/* WP/RB layout-constrained shrinks each card to its text width — force full column span. */
.st-fellowship-cards > .st-fellowship-card,
.st-fellowship-cards > .wp-block-group.st-fellowship-card,
.st-fellowship-cards > .rb-block-group.st-fellowship-card {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	max-width: none !important;
	width: 100%;
	min-width: 0;
}

.st-fellowship-card { margin: 0; height: 100%; width: 100%; min-width: 0; }
.st-fellowship-card > * { margin-block: 0 !important; max-width: none !important; }
.st-fellowship-card p { margin: 0; height: 100%; width: 100%; }

.st-fellowship-card__link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(14px, 1.8vw, 20px);
	width: 100%;
	box-sizing: border-box;
	height: 100%;
	min-height: clamp(132px, 14vw, 168px);
	padding: clamp(20px, 2.4vw, 28px);
	background: var(--st-cream);
	border: 1px solid var(--st-border);
	border-left: 3px solid transparent;
	box-shadow: 0 2px 12px rgba(35, 33, 29, 0.04);
	text-decoration: none;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		border-left-color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.st-fellowship-card__link:hover,
.st-fellowship-card__link:focus-visible {
	background: var(--st-paper-deep);
	border-color: var(--st-ink);
	border-left-color: var(--st-accent);
	color: var(--st-ink);
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(35, 33, 29, 0.1);
	outline: none;
}

.st-fellowship-card__link:hover .st-fellowship-card__title,
.st-fellowship-card__link:focus-visible .st-fellowship-card__title { color: var(--st-accent); }

.st-fellowship-card__link:hover .st-fellowship-card__arrow,
.st-fellowship-card__link:focus-visible .st-fellowship-card__arrow {
	color: var(--st-accent);
	transform: translate(2px, -2px);
}

.st-fellowship-card__title {
	font-size: clamp(18px, 1.65vw, 24px);
	line-height: 1.35;
	font-weight: 400;
	transition: color 0.25s ease;
}

.st-fellowship-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: clamp(8px, 1vw, 12px);
	border-top: 1px solid var(--st-border-subtle);
}

.st-fellowship-card__meta {
	font-family: var(--st-mono);
	font-size: clamp(10px, 0.85vw, 11px);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--st-muted);
	line-height: 1.45;
}

.st-fellowship-card__arrow {
	font-family: var(--st-mono);
	font-size: clamp(14px, 1.1vw, 16px);
	line-height: 1;
	color: var(--st-muted);
	flex-shrink: 0;
	transition: color 0.25s ease, transform 0.25s ease;
}

@media (max-width: 520px) {
	.st-fellowship-cards { grid-template-columns: 1fr; }
	.st-fellowship-card__link { min-height: 0; padding: 20px; }
	.st-fellowship-card__title { font-size: 20px; }
}

/* ==========================================================================
   10. Article blocks + quotes + journal posts
   ========================================================================== */

.st-article-block { border-top: 1px solid var(--st-border); padding: var(--st-space-block) 0; }
.st-article-block:first-of-type { border-top: 1px solid var(--st-ink); }
.st-article-block h2 { font-size: var(--st-fs-h2); line-height: 1.28; margin: 0 auto; font-weight: 400; max-width: 18em; font-style: italic; }

.st-journal-post { border-top: 1px solid var(--st-border); padding: var(--st-space-block) 0; text-align: center; }
.st-journal-post .wp-block-post-title a { border-bottom: none; font-size: var(--st-fs-h3); line-height: 1.35; font-weight: 300; max-width: 20em; margin-inline: auto; display: inline-block; }
.st-journal-post .wp-block-post-excerpt { font-size: var(--st-fs-body-sm); line-height: 1.9; color: var(--st-body-mid); margin: 14px auto 0; max-width: 30em; }
.st-journal-post .wp-block-read-more { margin-top: 15px; }
.st-journal-post .wp-block-read-more a {
	font-family: var(--st-mono);
	font-size: var(--st-fs-label);
	letter-spacing: var(--st-tracking-label);
	text-transform: uppercase;
	border-bottom: 1px solid var(--st-ink);
	padding-bottom: 5px;
}

/* ==========================================================================
   11. Header + navigation
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--st-paper);
	background-image: var(--st-paper-texture);
	border-bottom: 1px solid var(--st-border);
}

.header-inner {
	max-width: var(--st-max);
	margin-inline: auto;
	padding: 24px var(--st-pad);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	position: relative;
}

.header-brand { display: flex; align-items: center; gap: 16px; }
.header-brand a { display: flex; align-items: center; gap: 16px; border-bottom: none; color: var(--st-accent); }
.header-brand a:hover { color: var(--st-ink); }
.header-brand img { width: 42px; height: auto; mix-blend-mode: multiply; }
.header-brand .site-name { font-size: 25.875px; letter-spacing: 0.26em; text-transform: uppercase; line-height: 1; font-weight: 300; }

.header-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; }
.header-nav .nav-menu { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2.4vw, 32px); flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.header-nav .nav-menu a {
	color: var(--st-muted);
	border-bottom: 1px solid transparent;
	padding-bottom: 5px;
}

.header-nav .nav-menu a:hover,
.header-nav .nav-menu .current-menu-item > a,
.header-nav .nav-menu .current_page_item > a { color: var(--st-ink); border-bottom-color: var(--st-ink); }

.hamburger { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--st-ink); -webkit-tap-highlight-color: transparent; }
.hamburger:focus-visible,
.mobile-nav-close:focus-visible,
.st-contact-form button[type="submit"]:focus-visible {
	outline: 2px solid var(--st-accent);
	outline-offset: 3px;
}

.mobile-nav, .mobile-nav-overlay { display: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 768px) {
	.header-inner {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		min-height: 42px;
		padding-right: calc(var(--st-pad) + 44px);
	}

	.hamburger {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		right: max(8px, calc(var(--st-pad) - 8px));
		top: 50%;
		transform: translateY(-50%);
		z-index: 201;
		min-width: 44px;
		min-height: 44px;
	}

	.header-nav .desktop-nav-items { display: none; }

	.mobile-nav {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: -100%;
		width: min(320px, 85vw);
		height: 100vh;
		height: 100dvh;
		background: var(--st-paper);
		background-image: var(--st-paper-texture);
		z-index: 200;
		padding: 24px;
		transition: right 0.3s ease, visibility 0s linear 0.3s;
		border-left: 1px solid var(--st-border);
		visibility: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mobile-nav.is-open,
	.mobile-nav.active {
		right: 0;
		visibility: visible;
		transition: right 0.3s ease, visibility 0s;
	}

	.mobile-nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(35, 33, 29, 0.4);
		z-index: 199;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
		visibility: hidden;
	}

	.mobile-nav-overlay.is-open,
	.mobile-nav-overlay.active {
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
		transition: opacity 0.3s ease, visibility 0s;
	}

	.mobile-menu-items { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
	.mobile-menu-items a {
		color: var(--st-muted);
		border-bottom: none;
		display: block;
		padding: 12px 4px;
		min-height: 44px;
		line-height: 20px;
	}

	.mobile-menu-items a:hover,
	.mobile-menu-items .current-menu-item > a,
	.mobile-menu-items .current_page_item > a {
		color: var(--st-ink);
	}

	.mobile-menu-items a:focus-visible {
		outline: 2px solid var(--st-accent);
		outline-offset: 2px;
	}

	.mobile-nav-external {
		margin: 24px 0 0;
		padding: 0;
	}

	.mobile-nav-external .st-nav-external {
		display: inline-block;
		padding: 12px 4px;
		min-height: 44px;
		line-height: 20px;
	}

	.mobile-nav-close {
		background: none;
		border: none;
		cursor: pointer;
		color: var(--st-ink);
		padding: 10px;
		align-self: flex-end;
		min-width: 44px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		-webkit-tap-highlight-color: transparent;
	}

	.st-button .wp-block-button__link,
	.st-button--secondary .wp-block-button__link,
	.st-textlink .wp-block-button__link {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.st-contact-form button[type="submit"] {
		min-height: 48px;
		min-width: 200px;
	}

	body.menu-open .hamburger {
		visibility: hidden;
		pointer-events: none;
	}
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.site-footer { background-color: var(--st-paper-deep); background-image: var(--st-paper-deep-texture); border-top: 1px solid var(--st-border); text-align: center; }
.footer-inner { max-width: 1000px; margin-inline: auto; padding: var(--st-space-footer) var(--st-pad); }
.footer-logo { width: 56px; height: auto; margin-inline: auto; mix-blend-mode: multiply; opacity: 0.75; }
.footer-name { font-size: var(--st-fs-body-sm); letter-spacing: 0.24em; text-transform: uppercase; margin-top: 18px; font-weight: 300; }
.footer-tagline { font-family: var(--st-mono); font-size: var(--st-fs-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--st-muted); margin-top: 11px; }
.footer-nav { display: flex; justify-content: center; gap: clamp(16px, 2.6vw, 32px); flex-wrap: wrap; margin-top: clamp(15px, 2.6vw, 27px); }
.footer-nav .footer-menu { display: flex; justify-content: center; gap: clamp(16px, 2.6vw, 32px); flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--st-muted); border-bottom: none; letter-spacing: 0.18em; }
.footer-nav a:hover { color: var(--st-ink); border-bottom: none; }
.footer-block { border-top: 1px solid var(--st-border); padding-top: clamp(15px, 2.25vw, 24px); margin-top: clamp(18px, 3vw, 30px); }
.footer-block a { border-bottom: none; }
.footer-block p { font-size: var(--st-fs-body-sm); line-height: 1.9; margin: 14px auto 0; max-width: 30em; color: var(--st-body-mid); }
.footer-secondary { display: flex; justify-content: center; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; margin-top: clamp(15px, 2.6vw, 27px); }
.footer-secondary a { color: var(--st-muted); border-bottom: 1px solid var(--st-underline); padding-bottom: 2px; letter-spacing: 0.18em; }
.footer-social { display: flex; justify-content: center; gap: clamp(16px, 2.6vw, 30px); flex-wrap: wrap; margin-top: clamp(15px, 2.6vw, 27px); }
.footer-social a { color: var(--st-muted); border-bottom: none; letter-spacing: 0.18em; }
.footer-copy { font-family: var(--st-mono); font-size: var(--st-fs-label); letter-spacing: 0.14em; color: var(--st-muted); margin-top: clamp(15px, 2.25vw, 24px); }

/* ==========================================================================
   13. Main + entry + media
   ========================================================================== */

.site-main { min-height: 50vh; }
.entry-content { text-align: center; }
.entry-content > .alignfull { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }

.st-video-plate { aspect-ratio: 16 / 9; max-width: 700px; margin-inline: auto; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
.st-portrait-plate { aspect-ratio: 4 / 5; max-width: 400px; margin-inline: auto; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.st-production-plate { aspect-ratio: 3 / 2; max-width: 660px; margin-inline: auto; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }

.st-media { margin-inline: auto; }
.st-media img { width: 100%; height: auto; }
.st-media-portrait { max-width: 400px; }
.st-media-production { max-width: 660px; }
.st-media-video { max-width: 700px; margin-inline: auto; }
.st-media-video.is-provider-youtube,
.entry-content .is-provider-youtube { max-width: 990px; }
.st-media-video.is-provider-youtube [class*="embed__wrapper"] { aspect-ratio: 16 / 9; width: 100%; }
.st-media-video.is-provider-youtube iframe { width: 100%; height: 100%; display: block; }
.st-media-video video { width: 100%; height: auto; display: block; }

.st-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(16px, 2.4vw, 28px); max-width: 900px; margin-inline: auto; text-align: center; }
.st-gallery.wp-block-columns { display: grid; }
.st-gallery .wp-block-column { flex-basis: auto !important; }
.st-gallery .wp-block-image { margin: 0; }
.st-gallery .st-caption { margin-top: 10px; }
.entry-content .wp-block-embed { margin-inline: auto; max-width: 700px; }

/* ==========================================================================
   14. Writing page
   ========================================================================== */

.st-writing-group { border-top: 1px solid var(--st-ink); padding: var(--st-space-block) 0; }
.st-writing-item { border-top: 1px solid var(--st-border-hair); padding: var(--st-space-row) 0; }
.st-writing-item h3 { font-size: var(--st-fs-h4); line-height: 1.4; margin: 0 auto; max-width: 24em; font-weight: 400; }
.st-writing-item p { font-size: 18px; line-height: 1.9; color: var(--st-body-mid); margin: 12px auto 0; max-width: 30em; text-wrap: pretty; }

/* Writing page — performance-matched hero, full-width left prose */
.page-writing .entry-content .st-writing-body,
.page-writing .entry-content .st-writing-body .st-writing-group,
.page-writing .entry-content .st-writing-body .st-writing-item {
	text-align: left;
}

.page-writing .st-writing-body > p {
	margin: 0 0 clamp(12px, 2vw, 20px);
	max-width: none;
	text-align: left;
	font-size: var(--st-fs-body);
	line-height: 1.75;
	color: var(--st-body-dark);
	text-wrap: pretty;
}

.page-writing .st-performance-hero__copy .st-lead,
.page-contact .st-performance-hero__copy .st-lead {
	margin-inline: 0;
	max-width: none;
	text-align: left;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.75;
	color: var(--st-body-dark);
	text-wrap: pretty;
}

.page-writing .st-performance-hero,
.page-contact .st-performance-hero {
	padding-bottom: clamp(20px, 3vw, 32px);
}

.page-writing .st-writing-body .st-writing-group {
	padding: clamp(28px, 4vw, 44px) 0;
}

.page-writing .st-writing-body .st-writing-group > .st-eyebrow {
	text-align: left;
	margin-bottom: clamp(14px, 2vw, 20px);
}

.page-writing .st-writing-body .st-writing-item {
	padding: clamp(18px, 2.5vw, 26px) 0;
}

.page-writing .st-writing-body .st-writing-group > .wp-block-spacer {
	display: none;
}

.page-writing .st-writing-item h3 {
	margin-inline: 0;
	max-width: none;
	text-align: left;
	line-height: 1.35;
}

.page-writing .st-writing-item h3 a {
	border-bottom: none;
}

.page-writing .st-writing-item h3 a:hover {
	color: var(--st-accent);
}

.page-writing .st-writing-item p {
	margin-inline: 0;
	max-width: none;
	text-align: left;
	font-size: var(--st-fs-body);
	line-height: 1.75;
	color: var(--st-body-dark);
	text-wrap: pretty;
}

.page-writing .st-writing-item h3 + .st-meta {
	margin-top: 10px;
}

.page-writing .st-writing-item .st-meta + p,
.page-writing .st-writing-item p + p {
	margin-top: 16px;
}

.page-writing .st-writing-item p.st-meta {
	font-size: var(--st-fs-label);
	line-height: 1.8;
	color: var(--st-muted);
}

.page-writing .st-writing-body .st-fellowship-cards {
	max-width: none;
	width: 100%;
}

.page-writing .st-writing-body .st-button {
	justify-content: flex-start;
}

/* ==========================================================================
   15. Speaking page — keynote / azad / format cards
   ========================================================================== */

.st-format-block { border-top: 1px solid var(--st-border); padding: var(--st-space-block) 0; }
.st-format-block h3 { font-size: var(--st-fs-h4); line-height: 1.4; font-style: italic; margin: 0; font-weight: 400; }
.st-format-mode { font-family: var(--st-mono); font-size: var(--st-fs-label); letter-spacing: var(--st-tracking-label); text-transform: uppercase; color: var(--st-accent); margin-top: 9px; }
.st-format-block p { font-size: 18px; line-height: 1.9; color: var(--st-body-mid); margin: 12px auto 0; max-width: 30em; text-wrap: pretty; }

.st-keynote-block,
.st-azad-block {
	padding-top: clamp(20px, 3vw, 32px);
	text-align: center;
}
.st-keynote-block { border-top-color: var(--st-accent); }
.st-azad-block {
	border-top-color: var(--st-border);
	margin-top: clamp(16px, 2.4vw, 24px);
}
.st-keynote-block > .st-eyebrow {
	color: var(--st-accent);
	margin-bottom: clamp(12px, 1.8vw, 18px);
}
.st-keynote-block > .wp-block-heading,
.st-keynote-block > .rb-block-heading,
.st-azad-block > .st-azad-headline {
	margin: 0 auto;
	font-size: var(--st-fs-h3);
	line-height: 1.3;
	font-weight: 400;
	text-align: center;
}
.st-azad-headline + .st-azad-headline { margin-top: 0; }
.st-keynote-lead,
.st-keynote-body,
.st-keynote-meta,
.st-keynote-fees-note,
.st-azad-block > .st-azad-quote,
.st-azad-block > .st-journal-intro {
	max-width: none;
	text-align: left;
	text-wrap: pretty;
}
.st-keynote-lead {
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.65;
	color: var(--st-body-dark);
	margin: clamp(14px, 2vw, 20px) auto 0;
}
.st-keynote-body {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.75;
	color: var(--st-body);
	margin: clamp(10px, 1.5vw, 14px) auto 0;
}
.st-keynote-meta {
	font-family: var(--st-mono);
	font-size: var(--st-fs-label);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--st-muted);
	margin: clamp(16px, 2.2vw, 22px) auto 0;
	line-height: 1.6;
}
.st-keynote-fees-note {
	font-size: clamp(13px, 1.2vw, 15px);
	line-height: 1.65;
	font-style: italic;
	color: var(--st-muted);
	margin: clamp(14px, 2vw, 20px) auto 0;
}
.st-keynote-cta {
	margin-top: clamp(20px, 2.8vw, 28px);
}
.st-keynote-cta .wp-block-button,
.st-keynote-cta .rb-block-button {
	display: inline-block;
}
.st-azad-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 2vw, 20px);
	margin: 0 auto clamp(12px, 1.8vw, 18px);
}
.st-azad-brand::before,
.st-azad-brand::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--st-muted-light);
}
.st-azad-brand span {
	font-family: var(--st-mono);
	font-size: var(--st-type-eyebrow);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--st-accent);
	font-weight: 500;
	white-space: nowrap;
}
.st-azad-block > .st-azad-quote {
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.65;
	font-style: italic;
	color: var(--st-accent);
	margin: clamp(14px, 2vw, 20px) auto 0;
}
.st-azad-block > .st-journal-intro {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.75;
	color: var(--st-body);
	margin: clamp(10px, 1.5vw, 14px) auto 0;
}
.st-azad-block > .st-journal-intro + .st-journal-intro {
	margin-top: clamp(10px, 1.5vw, 14px);
}
.st-azad-intro.wp-block-columns,
.st-azad-intro.rb-block-columns,
.st-keynote-intro.wp-block-columns,
.st-keynote-intro.rb-block-columns {
	display: grid !important;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
	max-width: var(--st-max);
	width: 100%;
	margin: 0 auto;
}
.st-azad-intro .st-azad-intro__media .wp-block-image,
.st-azad-intro .st-azad-intro__media .rb-block-image,
.st-keynote-intro .st-keynote-intro__media .wp-block-image,
.st-keynote-intro .st-keynote-intro__media .rb-block-image {
	margin: 0;
}
.st-azad-intro .st-azad-intro__media .st-caption,
.st-keynote-intro .st-keynote-intro__media .st-caption {
	text-align: left;
	margin-top: 10px;
}
.st-azad-intro .st-azad-intro__copy .st-azad-headline,
.st-azad-intro .st-azad-intro__copy .st-azad-quote,
.st-azad-intro .st-azad-intro__copy .st-journal-intro,
.st-keynote-intro .st-keynote-intro__copy .wp-block-heading,
.st-keynote-intro .st-keynote-intro__copy .rb-block-heading,
.st-keynote-intro .st-keynote-intro__copy .st-keynote-lead,
.st-keynote-intro .st-keynote-intro__copy .st-keynote-body,
.st-keynote-intro .st-keynote-intro__copy .st-keynote-meta {
	text-align: left;
	margin-inline: 0;
	max-width: none;
}
.st-keynote-intro .st-keynote-intro__copy .wp-block-heading,
.st-keynote-intro .st-keynote-intro__copy .rb-block-heading {
	margin-top: 0;
}
@media (max-width: 781px) {
	.st-azad-intro.wp-block-columns,
	.st-azad-intro.rb-block-columns,
	.st-keynote-intro.wp-block-columns,
	.st-keynote-intro.rb-block-columns {
		grid-template-columns: 1fr;
	}
}

/* Speaking Azad format cards — 2×2 grid. Row-pair alignment uses subgrid (see deploy skill). */
.st-format-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(10, auto);
	gap: clamp(18px, 2.8vw, 28px);
	max-width: var(--st-max);
	width: 100%;
	margin: clamp(24px, 3.6vw, 40px) auto 0;
	text-align: left;
}
/* WP layout-constrained adds margin-block-start to every child after the first — breaks row alignment. */
.st-format-cards > .st-format-card,
.st-format-cards > .wp-block-group.st-format-card,
.st-format-cards > .rb-block-group.st-format-card {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	max-width: none !important;
}
.st-format-card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 5;
	row-gap: clamp(10px, 1.4vw, 14px);
	border-top: 2px solid var(--st-accent);
	padding: clamp(22px, 3vw, 30px) clamp(20px, 2.8vw, 28px) clamp(24px, 3.2vw, 32px);
	background: rgba(255, 255, 255, 0.22);
}
.st-format-card > * {
	margin-block: 0 !important;
	max-width: none !important;
}
.st-format-card__num {
	font-family: var(--st-mono);
	font-size: clamp(13px, 1.15vw, 15px);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--st-accent);
	font-weight: 600;
	margin: 0;
	line-height: 1;
}
.st-format-card__title {
	font-size: clamp(22px, 2.5vw, 30px);
	line-height: 1.25;
	font-weight: 400;
	margin: 0;
}
.st-format-card__meta {
	font-family: var(--st-mono);
	font-size: clamp(12px, 1.1vw, 13px);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--st-muted);
	margin: 0;
	line-height: 1.5;
}
.st-format-card__desc {
	font-size: clamp(17px, 1.65vw, 20px);
	line-height: 1.7;
	color: var(--st-body-dark);
	margin: 0;
	text-wrap: pretty;
}
.st-format-card__ideal {
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.65;
	color: var(--st-body);
	margin: 0;
	padding-top: clamp(14px, 1.8vw, 18px);
	border-top: 1px solid var(--st-border-subtle);
	text-wrap: pretty;
}
.st-format-card__ideal-label {
	font-family: var(--st-mono);
	font-size: var(--st-fs-label);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--st-accent);
	font-weight: 600;
	display: block;
	margin-bottom: 8px;
}
@supports not (grid-template-rows: subgrid) {
	.st-format-card__title { min-height: 2.6em; }
	.st-format-card__meta { min-height: 3.2em; }
}
@media (max-width: 720px) {
	.st-format-cards {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}
	.st-format-card {
		display: block;
		grid-row: auto;
		grid-template-rows: none;
		padding: 22px 20px 24px;
	}
	.st-format-card__title { margin-top: 10px; }
	.st-format-card__meta { margin-top: 10px; }
	.st-format-card__desc { margin-top: 12px; }
	.st-format-card__ideal { margin-top: 16px; }
}
.st-azad-block > .st-keynote-fees-note { margin-top: clamp(20px, 3vw, 28px); }

/* Method four practices — one ink-framed 2×2 pane, not fellowship/format cards. */
.st-practice-boxes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(4, auto);
	gap: 0;
	width: 100%;
	max-width: none;
	margin: clamp(28px, 4vw, 48px) 0;
	border: 1px solid var(--st-ink);
	background-color: var(--st-paper-deep);
	background-image: var(--st-paper-deep-texture);
	text-align: left;
}
.st-practice-boxes > .st-practice-box,
.st-practice-boxes > .wp-block-group.st-practice-box,
.st-practice-boxes > .rb-block-group.st-practice-box {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	max-width: none !important;
}
.st-practice-box {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	row-gap: 0;
	min-width: 0;
	padding: clamp(26px, 3.2vw, 38px) clamp(22px, 2.8vw, 34px) clamp(28px, 3.4vw, 40px);
	border-right: 1px solid var(--st-ink);
	border-bottom: 1px solid var(--st-ink);
}
.st-practice-box:nth-child(2n) { border-right: 0; }
.st-practice-box:nth-child(n+3) { border-bottom: 0; }
.st-practice-box > * {
	margin-block: 0 !important;
	max-width: none !important;
}
.st-practice-box__title {
	margin: 0;
	padding-bottom: clamp(12px, 1.6vw, 16px);
	font-size: clamp(20px, 2.1vw, 26px);
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	text-wrap: balance;
}
.st-practice-box__title::after {
	content: "";
	display: block;
	width: 1.6em;
	height: 1px;
	margin-top: 0.7em;
	background: var(--st-accent);
}
.st-practice-box__body {
	margin: 0;
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.65;
	color: var(--st-body);
	text-wrap: pretty;
}
@supports not (grid-template-rows: subgrid) {
	.st-practice-box { display: flex; flex-direction: column; }
	.st-practice-box__title { min-height: 2.4em; }
}
@media (max-width: 720px) {
	.st-practice-boxes {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}
	.st-practice-box {
		display: block;
		grid-row: auto;
		grid-template-rows: none;
		border-right: 0;
		border-bottom: 1px solid var(--st-ink);
		padding: 24px 22px 26px;
	}
	.st-practice-box:nth-child(n+3) { border-bottom: 1px solid var(--st-ink); }
	.st-practice-box:last-child { border-bottom: 0; }
	.st-practice-box__title { padding-bottom: 12px; }
	.st-practice-box__body { margin-top: 0; }
}

/* ==========================================================================
   16. Contact form
   ========================================================================== */

.st-contact-panel {
	background: #fff;
	border: 1px solid var(--st-border);
	box-shadow:
		0 1px 2px rgba(35, 33, 29, 0.04),
		0 12px 40px rgba(35, 33, 29, 0.07);
	padding: clamp(28px, 4.5vw, 44px);
	margin-inline: auto;
	max-width: 640px;
	text-align: left;
}

.st-contact-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.st-contact-form label { display: flex; flex-direction: column; gap: 8px; }
.st-contact-form label span {
	font-family: var(--st-mono);
	font-size: var(--st-fs-label);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--st-body-dark);
}
.st-contact-form input,
.st-contact-form textarea,
.st-contact-form select {
	font-family: var(--st-serif);
	font-size: var(--st-fs-body-sm);
	line-height: 1.5;
	border: 1px solid var(--st-border-input);
	background: #faf9f6;
	padding: 12px 14px;
	outline: none;
	color: var(--st-ink);
	border-radius: 2px;
	width: 100%;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}
.st-contact-form input::placeholder,
.st-contact-form textarea::placeholder { color: var(--st-muted-light); }
.st-contact-form input:hover,
.st-contact-form textarea:hover,
.st-contact-form select:hover { border-color: #b5aea2; }
.st-contact-form input:focus,
.st-contact-form textarea:focus,
.st-contact-form select:focus {
	border-color: var(--st-accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(176, 50, 44, 0.12);
}
.st-contact-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f675c' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}
.st-contact-form textarea { line-height: 1.65; resize: vertical; min-height: 140px; }
.st-contact-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.st-contact-form button[type="submit"] {
	letter-spacing: 0.22em;
	background: var(--st-ink);
	border: 1px solid var(--st-ink);
	padding: 16px 32px;
	cursor: pointer;
	color: #fff;
	align-self: stretch;
	margin-top: 8px;
	width: 100%;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.st-contact-form button[type="submit"]:hover { background: var(--st-accent); border-color: var(--st-accent); color: #fff; }
.st-contact-success { padding: clamp(12px, 2vw, 20px) 0 4px; text-align: center; }
.st-contact-success p { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.85; margin: 0 auto; max-width: 24em; }
.st-contact-response { font-family: var(--st-mono); font-size: var(--st-fs-label); text-align: center; margin-top: 12px; }
.st-contact-response.error { color: var(--st-accent); }

/* ==========================================================================
   17. Journal intro + single post
   ========================================================================== */

.st-journal-intro { font-size: clamp(18px, 1.8vw, 22px); line-height: 2; margin: 0 auto; max-width: 28em; color: var(--st-body-dark); text-wrap: pretty; }

.single .entry-header { padding: var(--st-space-section) var(--st-pad) 0; max-width: 860px; margin-inline: auto; text-align: center; }
.single .entry-title { font-size: clamp(26px, 3.8vw, 46px); line-height: 1.35; margin: 0 auto; font-weight: 300; max-width: 20em; }
.single .entry-meta { font-family: var(--st-mono); font-size: var(--st-fs-label); letter-spacing: var(--st-tracking-label); text-transform: uppercase; color: var(--st-muted); margin-bottom: 17px; }
.single .entry-content { max-width: 30em; margin-inline: auto; padding: var(--st-space-block) var(--st-pad) var(--st-space-section); text-align: left; }
.single .entry-content p { font-size: var(--st-fs-body); line-height: 1.9; margin: 0 0 18px; text-wrap: pretty; }
.single .st-back-link { font-family: var(--st-mono); font-size: var(--st-fs-label); letter-spacing: var(--st-tracking-label); text-transform: uppercase; color: var(--st-muted); border-bottom: none; display: inline-block; margin-bottom: var(--st-space-block); }

/* ==========================================================================
   18. Block resets + spacer rhythm
   ========================================================================== */

.entry-content .wp-block-group { margin-block: 0; }
.entry-content .wp-block-spacer { margin: 0; }

/* Tighter in-section rhythm — overrides Gutenberg inline spacer heights */
.entry-content .wp-block-spacer[style*="10vw, 128px"] { height: clamp(21px, 3.4vw, 39px) !important; }
.entry-content .wp-block-spacer[style*="9vw, 108px"],
.entry-content .wp-block-spacer[style*="9vw, 104px"] { height: clamp(20px, 3vw, 33px) !important; }
.entry-content .wp-block-spacer[style*="8vw, 96px"],
.entry-content .wp-block-spacer[style*="8vw, 92px"] { height: clamp(18px, 2.85vw, 30px) !important; }
.entry-content .wp-block-spacer[style*="7vw, 80px"],
.entry-content .wp-block-spacer[style*="7vw, 76px"] { height: clamp(15px, 2.4vw, 26px) !important; }
.entry-content .wp-block-spacer[style*="6vw, 72px"],
.entry-content .wp-block-spacer[style*="6vw, 68px"],
.entry-content .wp-block-spacer[style*="6vw, 64px"] { height: clamp(14px, 2.1vw, 23px) !important; }
.entry-content .wp-block-spacer[style*="5vw, 64px"],
.entry-content .wp-block-spacer[style*="5vw, 60px"] { height: clamp(12px, 1.9vw, 20px) !important; }
.entry-content .wp-block-spacer[style*="4vw, 48px"] { height: clamp(11px, 1.65vw, 17px) !important; }
.entry-content .wp-block-spacer[style="height:48px"],
.entry-content .wp-block-spacer[style="height:44px"],
.entry-content .wp-block-spacer[style="height:40px"] { height: 14px !important; }
.entry-content .wp-block-spacer[style="height:36px"],
.entry-content .wp-block-spacer[style="height:34px"],
.entry-content .wp-block-spacer[style="height:32px"] { height: 11px !important; }
.entry-content .wp-block-spacer[style="height:30px"],
.entry-content .wp-block-spacer[style="height:26px"] { height: 9px !important; }
