/* ==========================================================================
   Thank-you and 404 page styles.

   These lived in <style> blocks in thank-you.html and 404.html rather than in
   paragon.css. Loaded only on the pages that need them (see functions.php).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Thank-you page
   -------------------------------------------------------------------------- */
.thankyou-hero {
	background:
		radial-gradient(ellipse 60% 70% at 75% 40%, rgba(201,168,76,.1) 0%, transparent 65%),
		radial-gradient(ellipse 40% 50% at 15% 85%, rgba(255,255,255,.04) 0%, transparent 55%),
		#0D5540;
	min-height: 68vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 24px;
	position: relative;
	overflow: hidden;
}
.thankyou-content { position: relative; z-index: 1; max-width: 600px; }
.check-circle {
	width: 80px; height: 80px;
	background: var(--gold);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 28px;
	animation: popIn .5s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes popIn {
	from { opacity: 0; transform: scale(.4); }
	to   { opacity: 1; transform: scale(1); }
}
.check-circle svg {
	width: 38px; height: 38px;
	stroke: var(--green); stroke-width: 3; fill: none;
	stroke-linecap: round; stroke-linejoin: round;
}
.check-circle svg path {
	stroke-dasharray: 60;
	stroke-dashoffset: 60;
	animation: drawCheck .4s .4s ease forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.thankyou-hero .label {
	color: var(--gold);
	font-size: 11px; letter-spacing: .14em;
	text-transform: uppercase; font-weight: 700;
	margin-bottom: 14px;
	display: flex; align-items: center; gap: 8px; justify-content: center;
}
.thankyou-hero .label::before,
.thankyou-hero .label::after {
	content: ''; display: inline-block;
	width: 24px; height: 2px; background: var(--gold);
}
.thankyou-hero h1 {
	font-family: var(--kss-display, Georgia, serif);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	color: #fff; font-weight: normal;
	margin-bottom: 18px; line-height: 1.25;
}
.thankyou-hero p {
	color: rgba(255,255,255,.68);
	font-size: 1.02rem; line-height: 1.78; margin-bottom: 36px;
}
.thankyou-hero p strong { color: rgba(255,255,255,.9); }

.next-steps { background: #fff; padding: 80px 0; }
.next-steps h2 {
	font-family: Georgia, serif; color: var(--green);
	font-size: 1.5rem; font-weight: normal;
	text-align: center; margin-bottom: 8px;
}
.next-steps .sub { text-align: center; color: #777; font-size: .95rem; margin-bottom: 52px; }
.next-steps-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
	max-width: 860px; margin: 0 auto 56px;
	border: 1px solid #e8e4dc; border-radius: 8px; overflow: hidden;
}
.next-step { padding: 36px 28px; border-right: 1px solid #e8e4dc; position: relative; }
.next-step:last-child { border-right: none; }
.step-number {
	font-family: Georgia, serif; font-size: 2.6rem;
	color: rgba(13,85,64,.1); line-height: 1; margin-bottom: 12px; font-weight: normal;
}
.next-step h3 {
	font-family: Georgia, serif; color: var(--green);
	font-size: 1rem; font-weight: normal; margin-bottom: 8px;
}
.next-step p { font-size: .87rem; color: #666; line-height: 1.7; margin: 0; }
.next-step .step-eta {
	display: inline-block; margin-top: 12px;
	font-size: .75rem; font-weight: 700; letter-spacing: .07em;
	text-transform: uppercase; color: var(--gold);
}

.while-waiting { background: var(--off-white); padding: 72px 0; }
.while-waiting h2 {
	font-family: Georgia, serif; color: var(--green);
	font-size: 1.4rem; font-weight: normal; text-align: center; margin-bottom: 40px;
}
.resource-row {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 20px; max-width: 980px; margin: 0 auto;
}
.resource-card {
	background: #fff; border-left: 3px solid var(--gold);
	border-radius: 0 6px 6px 0; padding: 22px 20px;
	text-decoration: none; display: block;
	transition: transform .2s, box-shadow .2s;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.resource-card .rc-label {
	font-size: .7rem; font-weight: 800; letter-spacing: .1em;
	text-transform: uppercase; color: var(--gold);
	margin-bottom: 6px; display: block;
}
.resource-card h3 {
	font-family: Georgia, serif; color: var(--green);
	font-size: .95rem; font-weight: normal; margin-bottom: 6px; line-height: 1.4;
}
.resource-card p { font-size: .82rem; color: #777; line-height: 1.6; margin: 0; }

.direct-contact { background: var(--dark-green); padding: 48px 0; text-align: center; }
.direct-contact p { color: rgba(255,255,255,.6); font-size: .93rem; margin-bottom: 18px; }
.direct-contact p strong { color: rgba(255,255,255,.85); }
.direct-contact a.phone-link {
	font-family: Georgia, serif; font-size: 1.8rem;
	color: var(--gold); text-decoration: none;
	display: block; margin-bottom: 6px; transition: color .2s;
}
.direct-contact a.phone-link:hover { color: #fff; }
.direct-contact .availability {
	font-size: .78rem; color: rgba(255,255,255,.38);
	letter-spacing: .07em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   404 page
   -------------------------------------------------------------------------- */
.error-hero {
	background:
		radial-gradient(ellipse 70% 80% at 80% 50%, rgba(201,168,76,.08) 0%, transparent 70%),
		radial-gradient(ellipse 50% 60% at 10% 80%, rgba(255,255,255,.03) 0%, transparent 60%),
		#0D5540;
	min-height: 72vh;
	display: flex; align-items: center; justify-content: center;
	text-align: center; padding: 80px 24px;
	position: relative; overflow: hidden;
}
.error-hero::after {
	content: '404';
	position: absolute;
	font-family: Georgia, serif;
	font-size: clamp(14rem, 28vw, 22rem);
	font-weight: normal;
	color: rgba(255,255,255,.04);
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	line-height: 1; pointer-events: none; user-select: none;
	letter-spacing: -.02em;
}
.error-content { position: relative; z-index: 1; max-width: 560px; }
.error-code {
	font-family: Georgia, serif;
	font-size: clamp(4rem, 10vw, 7rem);
	color: var(--gold); line-height: 1;
	margin-bottom: 8px; display: block;
}
.error-divider {
	width: 48px; height: 3px; background: var(--gold);
	margin: 20px auto 28px; border-radius: 2px;
}
.error-hero h1 {
	font-family: Georgia, serif;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	color: #fff; font-weight: normal;
	margin-bottom: 16px; line-height: 1.3;
}
.error-hero p {
	color: rgba(255,255,255,.65);
	font-size: 1rem; line-height: 1.75; margin-bottom: 36px;
}
.error-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.error-links { background: #fff; padding: 72px 0 80px; }
.error-links h2 {
	font-family: Georgia, serif; color: var(--green);
	font-size: 1.3rem; font-weight: normal; text-align: center; margin-bottom: 40px;
}
.error-link-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 20px; max-width: 900px; margin: 0 auto;
}
.error-link-card {
	border: 1px solid #e8e4dc; border-top: 3px solid var(--gold);
	border-radius: 0 0 6px 6px; padding: 24px 22px;
	text-decoration: none; display: block;
	transition: transform .2s, box-shadow .2s;
}
.error-link-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.09); }
.error-link-card .elc-label {
	font-size: .72rem; font-weight: 800; letter-spacing: .1em;
	text-transform: uppercase; color: var(--gold);
	margin-bottom: 6px; display: block;
}
.error-link-card h3 {
	font-family: Georgia, serif; color: var(--green);
	font-size: 1rem; font-weight: normal; margin-bottom: 8px;
}
.error-link-card p { font-size: .84rem; color: #666; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
	.next-steps-grid { grid-template-columns: 1fr; }
	.next-step { border-right: none; border-bottom: 1px solid #e8e4dc; }
	.next-step:last-child { border-bottom: none; }
	.resource-row { grid-template-columns: 1fr; max-width: 420px; }
	.error-link-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
	.check-circle { animation: none; }
	.check-circle svg path { animation: none; stroke-dashoffset: 0; }
	.resource-card:hover,
	.error-link-card:hover { transform: none; }
}
