/*
Theme Name: McIntosh Acupuncture
Theme URI: https://mcintoshacupuncture.com
Author: Anchor Hosting
Description: Custom splash page theme for McIntosh Acupuncture — Susan McIntosh, M.Ac., L.Ac., Towson MD.
Version: 1.1.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mcintosh
*/

:root {
	--paper: #F7F4EE;
	--ink: #26332E;
	--body: #5C635E;
	--muted: #8A8F89;
	--footer: #6B7069;
	--accent: #2E5E52;
	--accent-dark: #1F443B;
	--rule: #D8D3C7;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--paper);
	font-family: 'Cabin', 'Trebuchet MS', Verdana, sans-serif;
	color: var(--body);
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--accent);
}

a:hover {
	color: var(--accent-dark);
}

.splash {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding: 56px 24px 40px;
	text-align: center;
}

.splash__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.splash__wordmark {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-indent: 0.32em;
	color: var(--accent);
	text-transform: uppercase;
}

.splash__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	max-width: 720px;
}

.splash__headline {
	margin: 0;
	font-size: clamp(2.1rem, 5.5vw, 3.625rem);
	line-height: 1.15;
	font-weight: 500;
	color: var(--ink);
	text-wrap: balance;
}

.splash__intro {
	margin: 0;
	font-size: 19px;
	line-height: 1.65;
	max-width: 620px;
	text-wrap: pretty;
}

.splash__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px 24px;
	margin-top: 8px;
}

.splash__phone {
	display: inline-block;
	background: var(--accent);
	color: var(--paper);
	text-decoration: none;
	font-size: 17px;
	font-weight: 600;
	padding: 16px 30px;
	border-radius: 6px;
}

.splash__phone:hover {
	background: var(--accent-dark);
	color: var(--paper);
}

.splash__email {
	font-size: 17px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}

.splash__note {
	font-size: 15px;
	color: var(--muted);
}

.splash__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.splash__rule {
	width: 48px;
	height: 1px;
	background: var(--rule);
}

.splash__address {
	font-size: 15px;
	color: var(--footer);
	line-height: 1.6;
}

.directions {
	display: flex;
	justify-content: center;
	padding: 72px 24px 88px;
}

.directions__inner {
	width: 100%;
	max-width: 1040px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.directions__title {
	margin: 0;
	font-size: 30px;
	font-weight: 500;
	color: var(--ink);
	text-align: center;
}

.directions__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 48px;
}

.directions__address {
	font-style: normal;
	font-size: 17px;
	line-height: 1.7;
}

.directions__address strong {
	color: var(--ink);
}

.directions__notes p {
	margin: 0 0 14px;
	font-size: 17px;
	line-height: 1.65;
	text-wrap: pretty;
}

.directions__notes p:last-child {
	margin-bottom: 0;
}

.directions__map {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--rule);
	border-radius: 8px;
}

@media (max-width: 600px) {
	.splash {
		padding: 40px 20px 32px;
	}

	.splash__intro {
		font-size: 17px;
	}

	.directions {
		padding: 56px 20px 64px;
	}

	.directions__grid {
		grid-template-columns: 1fr;
	}
}
