/*
Theme Name: Anatomy Atelier
Author: Anatomy Atelier
Description: A focused interactive anatomy-learning website with a 3D viewer, visual lessons, local study notes, and built-in trust information.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: anatomy-atelier
*/

html,
body {
	min-width: 320px;
	margin: 0;
	background: #f7f0e7;
}

body.anatomy-atelier-home {
	overflow-x: hidden;
}

.anatomy-atelier-canvas {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.anatomy-atelier-loading {
	min-height: 100vh;
	padding: 48px clamp(22px, 6vw, 90px);
	box-sizing: border-box;
	background: radial-gradient(circle at 50% 18%, #fff, transparent 35%), #f7f0e7;
	color: #2f2a27;
	font-family: Georgia, serif;
}

.anatomy-atelier-loading h1 {
	margin: 0 0 18px;
	font-size: clamp(38px, 7vw, 76px);
	font-weight: 500;
}

.anatomy-atelier-loading p {
	max-width: 760px;
	font-size: 18px;
	line-height: 1.6;
}

.anatomy-atelier-loading small {
	display: block;
	margin-top: 28px;
	font-family: system-ui, sans-serif;
}

.anatomy-atelier-loading-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 1100px;
	margin-top: 38px;
}

.anatomy-atelier-loading-grid article {
	padding: 20px;
	border: 1px solid rgba(117, 91, 70, .18);
	border-radius: 18px;
	background: rgba(255, 251, 244, .72);
}

.anatomy-atelier-loading-grid h2 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 500;
}

.anatomy-atelier-loading-grid p {
	margin: 0;
	font: 14px/1.55 system-ui, sans-serif;
}

.anatomy-site-content {
	width: min(1720px, calc(100% - 48px));
	margin: 30px auto 0;
	padding: 46px 0 24px;
	border-top: 1px solid rgba(117, 91, 70, .18);
	color: #2f2a27;
	font-family: "DM Sans", system-ui, sans-serif;
}

.anatomy-content-intro {
	display: grid;
	grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
	gap: 28px 54px;
	align-items: end;
	margin-bottom: 48px;
}

.anatomy-content-intro .anatomy-eyebrow,
.anatomy-content-intro h2 {
	grid-column: 1;
}

.anatomy-content-intro h2 {
	margin-top: -18px;
}

.anatomy-content-intro > p:last-child {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: end;
	max-width: 680px;
	margin: 0;
	color: #756b64;
	font: 500 18px/1.55 "Cormorant Garamond", Georgia, serif;
}

.anatomy-eyebrow {
	margin: 0 0 8px;
	color: #8d6bcc;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.anatomy-site-content h2 {
	margin-bottom: 14px;
	font: 500 clamp(30px, 4vw, 52px)/1.02 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.025em;
}

.anatomy-reference {
	padding: 28px;
	border: 1px solid rgba(117, 91, 70, .18);
	border-radius: 26px;
	background: rgba(255, 251, 244, .66);
	box-shadow: 0 18px 48px rgba(87, 62, 43, .06);
}

.anatomy-section-heading {
	display: grid;
	grid-template-columns: minmax(280px, .75fr) minmax(340px, 1.25fr);
	gap: 12px 46px;
	align-items: end;
	margin-bottom: 24px;
}

.anatomy-section-heading .anatomy-eyebrow,
.anatomy-section-heading h2 {
	grid-column: 1;
}

.anatomy-section-heading h2 {
	margin: -6px 0 0;
}

.anatomy-section-heading > p:last-child {
	grid-column: 2;
	grid-row: 1 / span 2;
	margin: 0;
	color: #756b64;
	font-size: 13px;
	line-height: 1.65;
}

.anatomy-topic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.anatomy-topic-grid article {
	padding: 17px;
	border: 1px solid rgba(117, 91, 70, .14);
	border-radius: 16px;
	background: rgba(255, 255, 255, .27);
}

.anatomy-topic-grid h3,
.anatomy-policy-card h3 {
	margin: 0 0 7px;
	font: 500 21px "Cormorant Garamond", Georgia, serif;
}

.anatomy-topic-grid p,
.anatomy-policy-card p {
	margin: 0;
	color: #6f655e;
	font-size: 12px;
	line-height: 1.65;
}

.anatomy-policy-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.anatomy-policy-card {
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid rgba(117, 91, 70, .18);
	border-radius: 24px;
	background: rgba(255, 251, 244, .66);
	box-shadow: 0 18px 48px rgba(87, 62, 43, .05);
	scroll-margin-top: 42px;
}

.anatomy-policy-card h2 {
	margin: 0 0 16px;
	font-size: clamp(28px, 3vw, 42px);
}

.anatomy-policy-card h3 {
	margin-top: 22px;
	font-size: 19px;
}

.anatomy-policy-card p + p {
	margin-top: 13px;
}

.anatomy-policy-card a {
	color: #7053a8;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.anatomy-policy-wide {
	grid-column: 1 / -1;
}

.anatomy-contact-link {
	display: inline-flex;
	padding: 10px 14px;
	border: 1px solid rgba(117, 91, 70, .22);
	border-radius: 10px;
	background: rgba(255, 255, 255, .36);
	font-weight: 600;
	text-decoration: none;
}

.anatomy-contact-setup {
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(198, 154, 94, .09);
}

.anatomy-site-footer {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px 24px;
	align-items: center;
	min-height: 100px;
	margin-top: 34px;
	padding: 24px 2px;
	border-top: 1px solid rgba(117, 91, 70, .18);
}

.anatomy-site-footer strong {
	font: 500 27px "Cormorant Garamond", Georgia, serif;
}

.anatomy-site-footer nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 18px;
}

.anatomy-site-footer a {
	color: #2f2a27;
	font-size: 12px;
	text-decoration: none;
}

.anatomy-site-footer a:hover {
	color: #eb7c6b;
}

.anatomy-site-footer small {
	grid-column: 1 / -1;
	color: #8d847c;
	font-size: 10px;
}

body.anatomy-information-page {
	min-height: 100vh;
	background:
		radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .96), transparent 32%),
		linear-gradient(135deg, #f7f1e8, #fdf9f2 48%, #f2e9dd);
}

.anatomy-page-shell {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 20px 0 50px;
	color: #2f2a27;
	font-family: "DM Sans", system-ui, sans-serif;
}

.anatomy-page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	min-height: 76px;
}

.anatomy-page-brand {
	display: flex;
	align-items: baseline;
	gap: 12px;
	color: #2f2a27;
	text-decoration: none;
}

.anatomy-page-brand strong {
	font: 500 clamp(28px, 4vw, 38px)/1 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.035em;
}

.anatomy-page-brand span {
	color: #8d6bcc;
	font: italic 12px "Comic Sans MS", "Bradley Hand", cursive;
}

.anatomy-page-header nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px;
}

.anatomy-page-header nav a {
	padding: 9px 12px;
	border-radius: 999px;
	color: #2f2a27;
	font-size: 12px;
	text-decoration: none;
}

.anatomy-page-header nav a:hover,
.anatomy-page-header nav a:focus-visible {
	background: rgba(235, 124, 107, .08);
}

.anatomy-page-main {
	margin-top: 28px;
}

.anatomy-page-article {
	padding: clamp(28px, 6vw, 76px);
	border: 1px solid rgba(117, 91, 70, .18);
	border-radius: 30px;
	background: rgba(255, 251, 244, .78);
	box-shadow: 0 24px 70px rgba(87, 62, 43, .08);
}

.anatomy-page-kicker {
	margin: 0 0 10px;
	color: #8d6bcc;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.anatomy-page-article > h1 {
	max-width: 850px;
	margin: 0 0 30px;
	font: 500 clamp(46px, 8vw, 82px)/.95 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.035em;
}

.anatomy-page-content {
	max-width: 820px;
}

.anatomy-page-content .page-lead {
	margin: 0 0 34px;
	color: #4e4540;
	font: 500 clamp(20px, 3vw, 27px)/1.42 "Cormorant Garamond", Georgia, serif;
}

.anatomy-page-content h2 {
	margin: 36px 0 9px;
	font: 500 clamp(25px, 3vw, 34px)/1.1 "Cormorant Garamond", Georgia, serif;
}

.anatomy-page-content p,
.anatomy-page-content li {
	color: #665d57;
	font-size: 14px;
	line-height: 1.75;
}

.anatomy-page-content ul {
	padding-left: 22px;
}

.anatomy-page-content a {
	color: #7053a8;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.anatomy-contact-button {
	display: inline-flex;
	padding: 12px 17px;
	border: 1px solid rgba(117, 91, 70, .22);
	border-radius: 11px;
	background: rgba(255, 255, 255, .5);
	font-weight: 600;
	text-decoration: none;
}

.contact-note,
.contact-setup {
	padding: 13px 15px;
	border-radius: 12px;
	background: rgba(198, 154, 94, .09);
}

.anatomy-page-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	min-height: 92px;
	padding: 20px 4px;
}

.anatomy-page-footer strong {
	font: 500 24px "Cormorant Garamond", Georgia, serif;
}

.anatomy-page-footer a {
	color: #2f2a27;
	font-size: 12px;
}

body.admin-bar .anatomy-atelier {
	--anatomy-atelier-min-height: max(760px, calc(100vh - 32px));
}

.wp-site-shell {
	width: min(860px, calc(100% - 40px));
	margin: 0 auto;
	padding: 42px 0 80px;
	color: #2f2a27;
	font-family: system-ui, sans-serif;
}

.wp-site-shell a {
	color: #7555b0;
}

.wp-site-shell header {
	margin-bottom: 48px;
}

.wp-site-shell article {
	margin-bottom: 42px;
}

@media screen and (max-width: 782px) {
	.anatomy-atelier-loading-grid {
		grid-template-columns: 1fr;
	}

	.anatomy-site-content {
		width: calc(100% - 20px);
		padding-top: 30px;
	}

	.anatomy-content-intro,
	.anatomy-section-heading,
	.anatomy-policy-grid {
		grid-template-columns: 1fr;
	}

	.anatomy-content-intro .anatomy-eyebrow,
	.anatomy-content-intro h2,
	.anatomy-content-intro > p:last-child,
	.anatomy-section-heading .anatomy-eyebrow,
	.anatomy-section-heading h2,
	.anatomy-section-heading > p:last-child,
	.anatomy-policy-wide {
		grid-column: 1;
		grid-row: auto;
	}

	.anatomy-content-intro h2 {
		margin-top: 0;
	}

	.anatomy-topic-grid {
		grid-template-columns: 1fr;
	}

	.anatomy-reference {
		padding: 18px;
	}

	.anatomy-site-footer {
		grid-template-columns: 1fr;
	}

	.anatomy-site-footer nav {
		justify-content: flex-start;
		gap: 12px 16px;
	}

	.anatomy-page-shell {
		width: calc(100% - 20px);
		padding-top: 8px;
	}

	.anatomy-page-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
		padding: 15px 4px;
	}

	.anatomy-page-brand span {
		display: none;
	}

	.anatomy-page-header nav {
		justify-content: flex-start;
	}

	.anatomy-page-header nav a {
		padding: 7px 9px;
	}

	.anatomy-page-main {
		margin-top: 12px;
	}

	.anatomy-page-article {
		border-radius: 22px;
		padding: 28px 20px 38px;
	}

	.anatomy-page-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	body.admin-bar .anatomy-atelier {
		--anatomy-atelier-min-height: max(600px, calc(100vh - 46px));
	}
}
