/*
Theme Name: SWWF
Theme URI: https://safariwestwildlifefoundation.org/
Author: SWWF
Description: A minimal transitional landing page for safariwestwildlifefoundation.org.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: swwf
*/

:root {
	--swwf-background: #e9e7e1;
	--swwf-surface: #f9f8f4;
	--swwf-text: #292b28;
	--swwf-muted: #66675f;
	--swwf-link: #315c46;
	--swwf-link-hover: #1f4230;
	--swwf-border: #d7d3ca;
}

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

html {
	background: var(--swwf-background);
	font-size: 100%;
}

body {
	margin: 0;
	background: var(--swwf-background);
	color: var(--swwf-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--swwf-link);
	font-weight: 650;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--swwf-link-hover);
}

a:focus-visible {
	border-radius: 0.15em;
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

.site-shell {
	display: grid;
	min-height: 100vh;
	min-height: 100svh;
	place-items: center;
	padding: clamp(1.25rem, 5vw, 4rem);
}

.notice-card {
	min-width: 0;
	width: min(100%, 52rem);
	padding: clamp(1.75rem, 4.5vw, 3.75rem);
	background: var(--swwf-surface);
	border: 1px solid var(--swwf-border);
	border-radius: 0.35rem;
	box-shadow: 0 1.25rem 3.5rem rgba(48, 44, 35, 0.08);
}

.notice-card > :first-child {
	margin-top: 0;
}

.notice-card > :last-child {
	margin-bottom: 0;
}

.notice-card h1 {
	margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
	font-size: clamp(1.85rem, 1.35rem + 2vw, 2.8rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
	overflow-wrap: anywhere;
}

.notice-card h2 {
	margin: 1.65rem 0 0.05rem;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.4;
}

.notice-card p {
	margin: 1.15rem 0;
	overflow-wrap: anywhere;
}

.notice-card h2 + p {
	margin-top: 0;
}

.notice-card .is-style-swwf-intro {
	color: var(--swwf-muted);
}

.error-code {
	margin: 0 0 0.5rem;
	color: var(--swwf-muted);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 34rem) {
	.site-shell {
		align-items: start;
	}

	.notice-card {
		border-radius: 0.25rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	a {
		transition: color 140ms ease;
	}
}
