/* ────────────────────────────────────────────────────────────────────────
 * Insights Child — welcome.css
 *
 * Styles for the Welcome page (template-welcome.php). Loaded only when
 * that template is active. All rules scoped under .welcome-main so they
 * can't collide with other templates that use similar class names.
 * ───────────────────────────────────────────────────────────────────── */

/* Astra container break-out so the page can span the viewport. */
body.page-template-template-welcome #content.site-content,
body.page-template-template-welcome #content.site-content > .ast-container {
	display: block !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
body.page-template-template-welcome #main-content.welcome-main {
	width: 100%;
	max-width: none;
}
body.page-template-template-welcome #secondary {
	display: none !important;
}

.welcome-main {
	--paper:     #FAFAFA;
	--warm:      #F0EAE0;
	--text-mute: rgba(26, 26, 26, 0.5);
	--text-dim:  rgba(26, 26, 26, 0.68);
	--line:      rgba(26, 26, 26, 0.08);
	--line-hi:   rgba(26, 26, 26, 0.14);

	font-family: 'Jost', sans-serif;
	color: var(--ink);
	line-height: 1.6;
}
.welcome-main .container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 32px;
}

@keyframes wFadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────
 * 1. SLIM HEADER
 * ────────────────────────────────────────────────────────────── */
.welcome-main .slim-header {
	padding: 88px 0 64px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}
.welcome-main .sh-eyebrow {
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--crimson);
	font-weight: 700;
	margin-bottom: 22px;
	opacity: 0;
	transform: translateY(16px);
	animation: wFadeUp 0.8s ease 0.2s forwards;
}
.welcome-main .sh-eyebrow::before {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	background: var(--crimson-bright);
	margin: 0 auto 18px;
}
.welcome-main .slim-header h1 {
	font-family: 'Jost', sans-serif;
	font-size: clamp(36px, 5vw, 72px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.04;
	color: var(--ink);
	margin: 0 0 18px;
	opacity: 0;
	transform: translateY(24px);
	animation: wFadeUp 0.9s ease 0.4s forwards;
}
.welcome-main .slim-header h1 em {
	font-style: italic;
	color: var(--crimson);
	font-weight: 400;
}

/* ──────────────────────────────────────────────────────────────
 * 2. BYLINE — name/role + portrait photo
 * ────────────────────────────────────────────────────────────── */
.welcome-main .byline {
	padding: 96px 0 88px;
}
.welcome-main .byline-inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 56px;
	align-items: center;
}
.welcome-main .byline-photo {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 6px;
	overflow: hidden;
	background-color: #2D1010;
	background-image: linear-gradient(160deg, #E8DBC5 0%, #C28B3D 60%, #6E2323 130%);
	box-shadow: 0 24px 56px -20px rgba(26, 26, 26, 0.22);
}
.welcome-main .byline-photo-caption {
	position: absolute;
	bottom: 18px;
	left: 22px;
	font-family: 'Jost', sans-serif;
	font-style: italic;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.85);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
	z-index: 2;
}
.welcome-main .byline-photo-caption::before {
	content: "—";
	color: var(--crimson-bright);
	margin-right: 8px;
	font-style: normal;
}
.welcome-main .byline-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
	pointer-events: none;
}
.welcome-main .byline-content .byline-tag {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--crimson);
	font-weight: 700;
	margin-bottom: 18px;
}
.welcome-main .byline-content h2 {
	font-family: 'Jost', sans-serif;
	font-size: clamp(36px, 4.2vw, 60px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.04;
	margin: 0 0 14px;
	color: var(--ink);
}
.welcome-main .byline-content h2 em {
	font-style: italic;
	color: var(--crimson);
	font-weight: 400;
}
.welcome-main .byline-content .byline-role {
	font-family: 'Jost', sans-serif;
	font-style: italic;
	font-size: clamp(15px, 1.4vw, 19px);
	color: var(--text-dim);
	margin-bottom: 24px;
}
.welcome-main .byline-content .byline-rule {
	display: block;
	width: 56px;
	height: 2px;
	background: var(--crimson-bright);
	margin: 0 0 24px;
}

/* ──────────────────────────────────────────────────────────────
 * 3. LETTER BODY
 * ────────────────────────────────────────────────────────────── */
.welcome-main .letter {
	padding: 24px 0 64px;
}
.welcome-main .letter-inner {
	max-width: 740px;
	margin: 0 auto;
	padding: 0 32px;
}
.welcome-main .letter-body {
	font-size: 18px;
	line-height: 1.75;
	color: var(--ink);
}
.welcome-main .letter-body p {
	margin: 0 0 22px;
}
/* Drop-cap removed — Andre 2026-05-20: hard to read on mobile (text wrapped
   awkwardly around the giant initial). All-inherit so the letter reads as
   normal body type from word one. This also kills the same inherited drop-cap
   that was leaking into .letter-pullquote. */
.welcome-main .letter-body p:first-of-type::first-letter {
	font-size: inherit;
	font-weight: inherit;
	float: none;
	line-height: inherit;
	padding: 0;
	color: inherit;
	font-family: inherit;
}
.welcome-main .letter-body em {
	font-style: italic;
	color: var(--crimson);
	font-weight: 500;
}
.welcome-main .letter-body strong {
	font-weight: 600;
	color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────
 * 4. PULL QUOTE (mid-letter)
 * ────────────────────────────────────────────────────────────── */
/* Quieter pullquote — Andre 2026-05-20 ("smaller, less in your face, blend in more").
   Removed background panel + negative side margins, lighter hairline border, smaller italic. */
.welcome-main .letter-pullquote {
	margin: 36px 0;
	padding: 8px 0 8px 24px;
	background: transparent;
	border-left: 2px solid rgba(139, 26, 26, 0.35);
	border-radius: 0;
}
.welcome-main .letter-pullquote p {
	font-family: 'Jost', sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.55;
	letter-spacing: -0.005em;
	color: rgba(26, 26, 26, 0.78);
	margin: 0;
}
/* Kill the body drop-cap when it lands inside the pullquote.
   The body rule uses :first-of-type which adds specificity, so we
   match the same shape AND use !important to be certain. */
.welcome-main .letter-body .letter-pullquote p:first-of-type::first-letter,
.welcome-main .letter-pullquote p::first-letter {
	font-size: inherit !important;
	font-weight: inherit !important;
	float: none !important;
	line-height: inherit !important;
	padding: 0 !important;
	color: inherit !important;
	font-family: inherit !important;
}
.welcome-main .letter-pullquote p em {
	font-style: italic;
	color: rgba(139, 26, 26, 0.85);
	font-weight: 400;
}

/* ──────────────────────────────────────────────────────────────
 * 5. SIGNATURE
 * ────────────────────────────────────────────────────────────── */
.welcome-main .letter-signature {
	margin-top: 48px;
	padding-top: 36px;
	border-top: 1px solid var(--line);
}
.welcome-main .sig-script {
	font-family: 'Jost', sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(32px, 3.4vw, 44px);
	letter-spacing: -0.015em;
	color: var(--crimson-bright);
	margin-bottom: 14px;
	line-height: 1;
}
.welcome-main .sig-name {
	font-family: 'Jost', sans-serif;
	font-weight: 600;
	font-size: 17px;
	color: var(--ink);
	margin-bottom: 4px;
}
.welcome-main .sig-role {
	font-family: 'Jost', sans-serif;
	font-style: italic;
	font-size: 14px;
	color: var(--text-dim);
}

/* ──────────────────────────────────────────────────────────────
 * 6. SCROLL-TRIGGERED REVEALS
 * ────────────────────────────────────────────────────────────── */
.welcome-main .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.85s cubic-bezier(0.2, 0.6, 0.2, 1),
	            transform 0.85s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.welcome-main .reveal.scale-in {
	transform: translateY(28px) scale(0.97);
}
.welcome-main .reveal.in {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.welcome-main .reveal.delay-1 { transition-delay: 0.10s; }
.welcome-main .reveal.delay-2 { transition-delay: 0.20s; }
@media (prefers-reduced-motion: reduce) {
	.welcome-main .reveal {
		opacity: 1;
		transform: none !important;
		transition: none !important;
	}
}

/* ──────────────────────────────────────────────────────────────
 * 7. WHERE NEXT — 2-card CTA (same pattern as Stage/Term Dates)
 * ────────────────────────────────────────────────────────────── */
.welcome-main .where-next {
	padding: 96px 0 120px;
	border-top: 1px solid var(--line);
}
.welcome-main .where-next-head {
	max-width: 1320px;
	margin: 0 auto 48px;
	padding: 0 32px;
	text-align: center;
}
.welcome-main .where-next-head .tag {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--crimson);
	font-weight: 700;
	margin-bottom: 18px;
}
.welcome-main .where-next-head h2 {
	font-family: 'Jost', sans-serif;
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
	color: var(--ink);
}
.welcome-main .where-next-head h2 em {
	font-style: italic;
	color: var(--crimson);
	font-weight: 400;
}
.welcome-main .where-next-cards {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.welcome-main .wn-card {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: 6px;
	overflow: hidden;
	background-color: #2D1010;
	cursor: pointer;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	color: #FFFFFF;
	text-decoration: none;
}
.welcome-main .wn-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 56px -16px rgba(26, 26, 26, 0.25);
}
.welcome-main .wn-card-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.welcome-main .wn-card:nth-child(1) .wn-card-img:not([style*="url"]) {
	background-image: linear-gradient(160deg, #5C2424, #1a1a1a);
}
.welcome-main .wn-card:nth-child(2) .wn-card-img:not([style*="url"]) {
	background-image: linear-gradient(160deg, #8B1A1A, #5C1010);
}
.welcome-main .wn-card:hover .wn-card-img { transform: scale(1.05); }
.welcome-main .wn-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, transparent 50%, rgba(0, 0, 0, 0.80) 100%);
}
.welcome-main .wn-card-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 40px;
	color: #FFFFFF;
}
.welcome-main .wn-card-content .tag {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 700;
	margin-bottom: 12px;
}
.welcome-main .wn-card-content h3 {
	font-family: 'Jost', sans-serif;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #FFFFFF;
	margin: 0 0 12px;
	line-height: 1.05;
}
.welcome-main .wn-card-content p {
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
	max-width: 420px;
	margin: 0 0 18px;
}
.welcome-main .wn-card-content .arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--crimson-bright);
	transition: gap 0.3s;
}
.welcome-main .wn-card:hover .arrow { gap: 16px; }
.welcome-main .wn-card-content .arrow::after { content: "→"; }

/* ──────────────────────────────────────────────────────────────
 * 8. RESPONSIVE
 * ────────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
	.welcome-main .container { padding: 0 20px; }

	.welcome-main .slim-header { padding: 56px 0 48px; }

	.welcome-main .byline { padding: 56px 0 56px; }
	.welcome-main .byline-inner {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 0 20px;
		max-width: 480px;
	}
	.welcome-main .byline-photo { max-width: 320px; margin: 0 auto; }

	.welcome-main .letter { padding: 16px 0 48px; }
	.welcome-main .letter-inner { padding: 0 20px; }
	.welcome-main .letter-body { font-size: 16.5px; }
	.welcome-main .letter-pullquote { margin: 28px 0; padding: 6px 0 6px 18px; }

	.welcome-main .where-next { padding: 64px 0 88px; }
	.welcome-main .where-next-cards {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 0 20px;
	}
	.welcome-main .wn-card { aspect-ratio: 16 / 11; }
	.welcome-main .wn-card-content { padding: 24px; }
}
