/*
Theme Name: all-care-medical-centre
Description: A warm, accessible three-page classic WordPress theme for All Care Medical Centre.
Version: 1.0.7
Requires at least: 6.2
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: all-care-medical-centre
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, responsive-layout
*/

:root {
	--cream: #f7f1e7;
	--cream-deep: #efe5d7;
	--paper: #fffdf8;
	--deep: #1e6664;
	--deepest: #15514f;
	--teal: #287b74;
	--teal-bright: #45a198;
	--teal-soft: #e2f1ed;
	--coral: #efa087;
	--coral-deep: #9d3c2b;
	--ink: #173b3d;
	--muted: #526767;
	--line: #cfd8d2;
	--white: #ffffff;
	--shadow: 0 24px 64px rgba( 21, 81, 79, 0.1 );
	--shadow-soft: 0 12px 34px rgba( 21, 81, 79, 0.06 );
	--radius-sm: 0.75rem;
	--radius-md: 1.25rem;
	--radius-lg: 2rem;
	--shell: 74rem;
	--focus: #9d3c2b;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

body.menu-is-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: var(--teal);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--deepest);
}

:focus-visible {
	outline: 3px solid var(--paper);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--focus);
}

::selection {
	background: var(--coral);
	color: var(--deepest);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--deepest);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 500;
	line-height: 1.07;
	text-wrap: balance;
}

h1 {
	font-size: clamp( 3rem, 8vw, 6.8rem );
	letter-spacing: -0.055em;
}

h2 {
	font-size: clamp( 2.35rem, 5vw, 4.75rem );
	letter-spacing: -0.045em;
}

h3 {
	font-size: clamp( 1.3rem, 2vw, 1.75rem );
}

em {
	color: var(--teal);
	font-weight: 400;
}

address {
	font-style: normal;
}

.shell {
	width: min( calc( 100% - 2rem ), var(--shell) );
	margin-inline: auto;
}

.shell--narrow {
	max-width: 52rem;
}

.section {
	padding-block: clamp( 3.25rem, 6vw, 5.75rem );
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	position: fixed !important;
	top: 1rem;
	left: 1rem;
	z-index: 999999;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 0.85rem 1.1rem;
	background: var(--paper);
	color: var(--deepest);
	border: 3px solid var(--focus);
	border-radius: 0.4rem;
	font-weight: 800;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1.25rem;
	color: var(--teal);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eyebrow > span {
	width: 2.15rem;
	height: 2px;
	background: currentColor;
}

.eyebrow--light {
	color: var(--coral);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
}

.button {
	display: inline-flex;
	min-height: 3.25rem;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	padding: 0.8rem 1.3rem;
	border: 2px solid var(--teal);
	border-radius: 999px;
	background: var(--teal);
	box-shadow: 0 8px 22px rgba( 20, 110, 106, 0.16 );
	color: var(--white);
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
	border-color: var(--deepest);
	background: var(--deepest);
	color: var(--white);
	transform: translateY( -2px );
}

.button--small {
	min-height: 2.8rem;
	padding-inline: 1.1rem;
	font-size: 0.84rem;
}

.button--outline {
	background: transparent;
	box-shadow: none;
	color: var(--deepest);
}

.button--outline:hover {
	color: var(--white);
}

.button--cream {
	border-color: var(--cream);
	background: var(--cream);
	box-shadow: none;
	color: var(--deepest);
}

.button--cream:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--deepest);
}

.button--coral {
	border-color: var(--coral);
	background: var(--coral);
	box-shadow: none;
	color: var(--deepest);
}

.button--coral:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--deepest);
}

.button--outline-light {
	border-color: rgba( 255, 255, 255, 0.65 );
	background: transparent;
	box-shadow: none;
	color: var(--white);
}

.button--outline-light:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--deepest);
}

.text-link {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	gap: 0.45rem;
	color: var(--deepest);
	font-weight: 800;
	text-decoration-thickness: 2px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba( 255, 253, 248, 0.96 );
	box-shadow: 0 1px 0 rgba( 18, 63, 64, 0.12 );
	backdrop-filter: blur( 14px );
}

.admin-bar .site-header {
	top: 32px;
}

.utility-bar {
	background: var(--deepest);
	color: var(--cream);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.025em;
}

.utility-bar__inner {
	display: flex;
	min-height: 2.25rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.utility-bar a {
	color: var(--cream);
	font-weight: 800;
}

.site-header__inner {
	display: flex;
	min-height: 5rem;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--deepest);
	line-height: 1;
	text-decoration: none;
}

.site-brand:hover {
	color: var(--deepest);
}

.custom-logo {
	width: auto;
	max-width: min( 15rem, 48vw );
	max-height: 3.5rem;
}

.brand-mark {
	position: relative;
	display: inline-block;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 50%;
	background: var(--teal-soft);
	flex: 0 0 auto;
}

.brand-mark span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1.35rem;
	height: 0.32rem;
	border-radius: 99px;
	background: var(--teal);
	transform: translate( -50%, -50% );
}

.brand-mark span:last-child {
	transform: translate( -50%, -50% ) rotate( 90deg );
}

.brand-words {
	display: grid;
	gap: 0.18rem;
}

.brand-words strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	font-weight: 600;
}

.brand-words small {
	font-size: 0.61rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.nav-panel {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a {
	display: flex;
	min-height: 2.75rem;
	align-items: center;
	padding-inline: 0.75rem;
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation a[aria-current="page"] {
	background: var(--teal-soft);
	color: var(--deepest);
}

.menu-toggle {
	display: none;
	width: 3rem;
	height: 3rem;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.28rem;
	padding: 0;
	border: 2px solid var(--deep);
	border-radius: 50%;
	background: transparent;
	color: var(--deep);
	cursor: pointer;
}

.menu-toggle > span:not( .screen-reader-text ) {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: currentColor;
	transition: transform 160ms ease, opacity 160ms ease;
}

.menu-is-open .menu-toggle > span:nth-of-type( 2 ) {
	transform: translateY( 6px ) rotate( 45deg );
}

.menu-is-open .menu-toggle > span:nth-of-type( 3 ) {
	opacity: 0;
}

.menu-is-open .menu-toggle > span:nth-of-type( 4 ) {
	transform: translateY( -6px ) rotate( -45deg );
}

/* Home hero */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--cream);
}

.hero::before {
	position: absolute;
	top: -12rem;
	left: -10rem;
	width: 28rem;
	height: 28rem;
	border: 1px solid rgba( 20, 110, 106, 0.15 );
	border-radius: 50%;
	content: "";
}

.hero__grid {
	display: grid;
	min-height: min( 43rem, calc( 100vh - 7.25rem ) );
	grid-template-columns: minmax( 0, 0.92fr ) minmax( 24rem, 1.08fr );
	align-items: center;
	gap: clamp( 2.5rem, 6vw, 6rem );
	padding-block: clamp( 3rem, 5.5vw, 5rem );
}

.hero__copy {
	position: relative;
	z-index: 1;
}

.hero h1 {
	max-width: 11ch;
	margin-bottom: 1.5rem;
}

.hero h1 em {
	display: block;
}

.hero__lede {
	max-width: 35rem;
	margin-bottom: 2rem;
	color: var(--muted);
	font-size: clamp( 1.05rem, 1.8vw, 1.28rem );
	line-height: 1.65;
}

.trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.4rem;
	padding: 0;
	margin: 2.25rem 0 0;
	color: var(--muted);
	font-size: 0.83rem;
	font-weight: 750;
	list-style: none;
}

.trust-list li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.trust-list li::before {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--coral-deep);
	content: "";
}

.hero__media {
	position: relative;
	width: min( 100%, 37rem );
	min-width: 0;
	margin-inline: auto;
}

.hero__media::before {
	position: absolute;
	inset: -1rem 1rem 1rem -1rem;
	border: 1px solid rgba( 18, 63, 64, 0.22 );
	border-radius: var(--radius-lg);
	content: "";
}

.hero__media img {
	position: relative;
	width: 100%;
	aspect-ratio: 5 / 4;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	object-fit: cover;
	object-position: center;
}

.hero-card {
	position: absolute;
	right: -1rem;
	bottom: 2.1rem;
	display: grid;
	width: min( 22rem, 85% );
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding: 1.25rem;
	border-radius: var(--radius-md);
	background: var(--paper);
	box-shadow: var(--shadow);
}

.hero-card__icon {
	display: grid;
	width: 2.7rem;
	height: 2.7rem;
	place-items: center;
	border-radius: 50%;
	background: var(--coral);
	color: var(--deepest);
	font-size: 1.6rem;
	font-weight: 700;
}

.hero-card strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--deepest);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
}

.hero-card p {
	margin-bottom: 0.4rem;
	color: var(--muted);
	font-size: 0.8rem;
	line-height: 1.45;
}

.hero-card a {
	font-size: 0.82rem;
	font-weight: 800;
}

/* Home sections */
.quick-actions {
	position: relative;
	z-index: 2;
	background: var(--deep);
	color: var(--cream);
}

.quick-actions__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}

.quick-actions article {
	padding: clamp( 2rem, 4vw, 3.25rem );
	border-left: 1px solid rgba( 255, 255, 255, 0.17 );
}

.quick-actions article:last-child {
	border-right: 1px solid rgba( 255, 255, 255, 0.17 );
}

.card-label {
	margin-bottom: 0.7rem;
	color: var(--coral-deep);
	font-size: 0.71rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.quick-actions .card-label {
	color: var(--coral);
}

.quick-actions h3 {
	margin-bottom: 0.85rem;
	color: var(--white);
}

.quick-actions p:not( .card-label ) {
	margin-bottom: 1.2rem;
	color: rgba( 255, 255, 255, 0.77 );
	font-size: 0.9rem;
}

.quick-actions a {
	color: var(--white);
	font-weight: 800;
}

.services-section {
	background: var(--paper);
}

.section-heading {
	display: grid;
	grid-template-columns: minmax( 0, 1.2fr ) minmax( 18rem, 0.8fr );
	align-items: end;
	gap: 3rem;
	margin-bottom: clamp( 2rem, 4vw, 3.75rem );
}

.section-heading h2 {
	margin-bottom: 0;
}

.section-heading > p {
	max-width: 34rem;
	margin-bottom: 0.5rem;
	color: var(--muted);
	font-size: 1.04rem;
}

.section-heading--compact {
	margin-bottom: 3rem;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.service-grid article {
	min-height: 14rem;
	padding: clamp( 1.6rem, 3vw, 2.5rem );
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	transition: background-color 160ms ease, transform 160ms ease;
}

.service-grid article:hover {
	position: relative;
	background: var(--teal-soft);
	transform: translateY( -3px );
}

.service-grid article > span,
.profile-detail-grid article > span {
	display: inline-block;
	margin-bottom: 2.2rem;
	color: var(--coral-deep);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.12em;
}

.service-grid h3 {
	margin-bottom: 0.8rem;
}

.service-grid p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.team-teaser {
	background: var(--deepest);
	color: var(--cream);
}

.team-teaser__grid {
	display: grid;
	grid-template-columns: minmax( 18rem, 0.8fr ) minmax( 0, 1.2fr );
	align-items: center;
	gap: clamp( 3rem, 8vw, 7rem );
}

.team-teaser__art {
	position: relative;
	min-height: 20rem;
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	border-radius: 50% 50% 2rem 2rem;
	background: radial-gradient( circle at 50% 45%, rgba( 36, 140, 132, 0.54 ), transparent 48% ), var(--deep);
	overflow: hidden;
}

.team-orbit {
	position: absolute;
	border: 1px solid rgba( 255, 255, 255, 0.24 );
	border-radius: 50%;
}

.team-orbit--one {
	inset: 12% 18%;
}

.team-orbit--two {
	inset: 25% 5%;
	transform: rotate( 35deg );
}

.team-cross,
.page-hero__symbol {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7rem;
	height: 7rem;
	transform: translate( -50%, -50% );
}

.team-cross i,
.team-cross b {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7rem;
	height: 1.3rem;
	border-radius: 999px;
	background: var(--coral);
	transform: translate( -50%, -50% );
}

.team-cross b {
	transform: translate( -50%, -50% ) rotate( 90deg );
}

.team-teaser h2,
.team-teaser h2 em {
	color: var(--white);
}

.team-teaser h2 {
	margin-bottom: 1.4rem;
}

.team-teaser h2 em {
	color: var(--coral);
}

.team-teaser__copy > p:not( .eyebrow ) {
	max-width: 39rem;
	margin-bottom: 2rem;
	color: rgba( 255, 255, 255, 0.78 );
	font-size: 1.05rem;
}

.visit-section {
	background: var(--cream);
}

.visit-grid {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 22rem, 0.72fr );
	align-items: center;
	gap: clamp( 3rem, 8vw, 7rem );
}

.visit-grid h2 {
	margin-bottom: 1.35rem;
}

.visit-grid > div:first-child > p:not( .eyebrow ) {
	max-width: 36rem;
	margin-bottom: 2rem;
	color: var(--muted);
}

.details-card {
	padding: clamp( 1.8rem, 4vw, 3.2rem );
	border: 1px solid rgba( 18, 63, 64, 0.12 );
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow-soft);
}

.details-card > div + div {
	padding-top: 1.5rem;
	margin-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.details-card__label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--teal);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.details-card p,
.details-card address {
	margin-bottom: 0;
	font-weight: 700;
}

.confirmation-note {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	margin: 1.5rem 0 0;
	padding: 1rem;
	border-radius: var(--radius-sm);
	background: #fff0ea;
	color: #663127;
	font-size: 0.82rem;
	line-height: 1.5;
}

.confirmation-note > span {
	display: grid;
	width: 1.45rem;
	height: 1.45rem;
	place-items: center;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-weight: 900;
	flex: 0 0 auto;
}

.closing-cta {
	background: var(--teal);
	color: var(--white);
}

.closing-cta__inner {
	display: flex;
	min-height: 15rem;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding-block: 3.5rem;
}

.closing-cta p {
	margin-bottom: 0.45rem;
	color: rgba( 255, 255, 255, 0.82 );
	font-weight: 700;
}

.closing-cta h2 {
	margin-bottom: 0;
	color: var(--white);
	font-size: clamp( 2.4rem, 5vw, 4.6rem );
}

/* Internal page heroes */
.page-hero,
.content-hero {
	position: relative;
	overflow: hidden;
	background: var(--deepest);
	color: var(--white);
}

.page-hero::after,
.content-hero::after {
	position: absolute;
	top: -10rem;
	right: -7rem;
	width: 28rem;
	height: 28rem;
	border: 1px solid rgba( 255, 255, 255, 0.16 );
	border-radius: 50%;
	content: "";
}

.page-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	min-height: 29rem;
	grid-template-columns: minmax( 0, 1fr ) minmax( 17rem, 0.45fr );
	align-items: center;
	gap: 4rem;
	padding-block: clamp( 3.25rem, 6vw, 5.25rem );
}

.page-hero h1,
.content-hero h1 {
	max-width: 12ch;
	margin-bottom: 1.5rem;
	color: var(--white);
}

.page-hero h1 em {
	color: var(--coral);
}

.page-hero__grid > div:first-child > p:not( .eyebrow ) {
	max-width: 43rem;
	margin-bottom: 2rem;
	color: rgba( 255, 255, 255, 0.78 );
	font-size: 1.08rem;
}

.page-hero__symbol {
	position: relative;
	top: auto;
	left: auto;
	width: 15rem;
	height: 15rem;
	justify-self: center;
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	border-radius: 50%;
	background: rgba( 20, 110, 106, 0.28 );
	transform: none;
}

.page-hero__symbol span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7rem;
	height: 1.2rem;
	border-radius: 99px;
	background: var(--coral);
	transform: translate( -50%, -50% );
}

.page-hero__symbol span:nth-child( 2 ) {
	transform: translate( -50%, -50% ) rotate( 90deg );
}

.page-hero__symbol i {
	position: absolute;
	inset: -1.2rem;
	border: 1px solid rgba( 255, 255, 255, 0.22 );
	border-radius: 50%;
}

.content-hero > .shell {
	position: relative;
	z-index: 1;
	padding-block: clamp( 4rem, 8vw, 6.5rem );
}

.content-hero h1 {
	font-size: clamp( 2.8rem, 7vw, 5.5rem );
}

.archive-description {
	max-width: 42rem;
	color: rgba( 255, 255, 255, 0.78 );
}

/* Doctors */
.page-hero--doctors .page-hero__grid {
	min-height: 24rem;
	padding-block: clamp( 2.75rem, 5vw, 4.25rem );
}

.page-hero--doctors h1 {
	font-size: clamp( 3rem, 6.5vw, 5.65rem );
}

.page-hero--doctors .page-hero__symbol {
	width: 11rem;
	height: 11rem;
}

.doctor-directory,
.directory-section {
	background: var(--cream);
}

.doctor-directory__heading {
	align-items: end;
}

.doctor-card-grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: clamp( 1rem, 2.2vw, 1.65rem );
}

.doctor-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba( 18, 63, 64, 0.12 );
	border-radius: var(--radius-md);
	background: var(--paper);
	box-shadow: var(--shadow-soft);
	color: var(--ink);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.doctor-card:hover {
	border-color: rgba( 40, 123, 116, 0.42 );
	box-shadow: var(--shadow);
	color: var(--ink);
	transform: translateY( -5px );
}

.doctor-card:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 4px;
}

.doctor-card__portrait {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: radial-gradient( circle at 30% 20%, rgba( 255, 255, 255, 0.72 ), transparent 30% ), linear-gradient( 145deg, var(--teal-soft), var(--cream-deep) );
}

.doctor-card__image,
.doctor-profile-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 24%;
}

.doctor-portrait-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	color: var(--deepest);
}

.doctor-portrait-placeholder__head {
	position: absolute;
	top: 18%;
	left: 50%;
	width: 30%;
	aspect-ratio: 1;
	border: 1px solid rgba( 21, 81, 79, 0.12 );
	border-radius: 50%;
	background: rgba( 40, 123, 116, 0.18 );
	transform: translateX( -50% );
}

.doctor-portrait-placeholder__shoulders {
	position: absolute;
	bottom: -8%;
	left: 50%;
	width: 76%;
	height: 54%;
	border: 1px solid rgba( 21, 81, 79, 0.12 );
	border-radius: 50% 50% 18% 18%;
	background: rgba( 40, 123, 116, 0.2 );
	transform: translateX( -50% );
}

.doctor-portrait-placeholder small {
	position: absolute;
	z-index: 2;
	left: 1.2rem;
}

.doctor-portrait-placeholder small {
	bottom: 1rem;
	max-width: 9rem;
	font-size: 0.65rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.doctor-card__sample-label {
	position: absolute;
	z-index: 3;
	top: 0.8rem;
	left: 0.8rem;
	padding: 0.5rem 0.65rem;
	background: var(--coral);
	color: var(--deepest);
	font-size: 0.58rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.doctor-card__view {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	padding: 0.8rem 1rem;
	background: var(--coral);
	color: var(--deepest);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.doctor-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp( 1.1rem, 2vw, 1.45rem );
}

.doctor-card__body h3 {
	margin-bottom: 0.35rem;
	font-size: clamp( 1.45rem, 2.2vw, 1.85rem );
}

.doctor-card__credentials {
	margin-bottom: 0;
	color: var(--teal);
	font-size: 0.76rem;
	font-weight: 750;
}

.doctor-directory__note {
	max-width: 52rem;
	margin: 1.5rem 0 0;
	padding-left: 1rem;
	border-left: 2px solid var(--coral);
	color: var(--muted);
	font-size: 0.82rem;
}

/* Doctor profile */
.doctor-profile-hero {
	padding-block: clamp( 2.5rem, 6vw, 5.5rem );
	background: var(--cream);
}

.doctor-profile-hero__grid {
	display: grid;
	grid-template-columns: minmax( 18rem, 0.78fr ) minmax( 0, 1.42fr );
	align-items: center;
	gap: clamp( 2.5rem, 7vw, 6rem );
}

.doctor-profile-portrait {
	position: relative;
	width: min( 100%, 24rem );
	aspect-ratio: 4 / 5;
	background: linear-gradient( 145deg, var(--teal-soft), var(--cream-deep) );
}

.doctor-profile-portrait__label {
	position: absolute;
	right: -1rem;
	bottom: 1.4rem;
	padding: 0.9rem 1.15rem;
	background: var(--coral);
	color: var(--deepest);
	font-size: 0.67rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.doctor-profile-intro .card-label {
	margin-bottom: 0.7rem;
}

.doctor-profile-intro h1 {
	max-width: 48rem;
	margin-bottom: 0.35rem;
	font-size: clamp( 3.5rem, 7vw, 6.4rem );
}

.doctor-profile-intro__credentials {
	margin-bottom: 1.5rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.doctor-profile-intro__tagline {
	max-width: 45rem;
	margin-bottom: 2rem;
	color: var(--deepest);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp( 1.35rem, 2.7vw, 2rem );
	font-style: italic;
	line-height: 1.35;
}

.doctor-profile-back {
	align-self: center;
}

.doctor-profile-detail {
	padding-block: clamp( 4rem, 8vw, 7rem );
	background: var(--white);
}

.doctor-profile-detail__grid {
	display: grid;
	grid-template-columns: minmax( 0, 1.65fr ) minmax( 18rem, 0.75fr );
	align-items: start;
	gap: clamp( 2.5rem, 7vw, 6.5rem );
}

.doctor-profile-about h2 {
	max-width: 48rem;
	margin-bottom: 1.35rem;
	font-size: clamp( 2.4rem, 4.7vw, 4.35rem );
}

.doctor-profile-about > p:not( .eyebrow ) {
	max-width: 50rem;
	margin-bottom: 1rem;
	color: var(--muted);
	line-height: 1.8;
}

.doctor-profile-draft-note {
	max-width: 50rem;
	margin-top: 2rem;
	padding: 1.1rem 1.25rem;
	border-left: 3px solid var(--coral);
	background: #fff7f2;
	color: var(--muted);
	font-size: 0.82rem;
	line-height: 1.65;
}

.doctor-profile-draft-note strong {
	color: var(--deepest);
}

.doctor-profile-facts {
	padding: clamp( 1.6rem, 3.5vw, 2.4rem );
	background: var(--teal-soft);
}

.doctor-profile-facts h2 {
	margin-bottom: 1.25rem;
	font-size: clamp( 2rem, 3.2vw, 3rem );
}

.doctor-profile-facts dl {
	margin: 0 0 1.4rem;
}

.doctor-profile-facts dl > div {
	padding-block: 1rem;
	border-bottom: 1px solid rgba( 21, 81, 79, 0.15 );
}

.doctor-profile-facts dt {
	margin-bottom: 0.45rem;
	color: var(--teal);
	font-size: 0.64rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.doctor-profile-facts dd,
.doctor-profile-facts ul {
	margin: 0;
}

.doctor-profile-facts ul {
	padding-left: 1rem;
}

.status-panel {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 1.5rem;
	padding: clamp( 1.75rem, 4vw, 3rem );
	margin-bottom: clamp( 4.5rem, 9vw, 8rem );
	border: 1px solid rgba( 18, 63, 64, 0.12 );
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: var(--shadow-soft);
}

.status-panel__mark {
	display: grid;
	width: 3.3rem;
	height: 3.3rem;
	place-items: center;
	border-radius: 50%;
	background: var(--coral);
	color: var(--deepest);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.5rem;
	font-style: italic;
	font-weight: 700;
}

.status-panel h2 {
	margin-bottom: 0.8rem;
	font-size: clamp( 1.9rem, 4vw, 3.1rem );
}

.status-panel p:last-child {
	max-width: 52rem;
	margin-bottom: 0;
	color: var(--muted);
}

.profile-detail-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 1rem;
}

.profile-detail-grid article {
	padding: clamp( 1.6rem, 3vw, 2.5rem );
	border-radius: var(--radius-md);
	background: var(--paper);
	box-shadow: var(--shadow-soft);
}

.profile-detail-grid article > span {
	margin-bottom: 2.6rem;
}

.profile-detail-grid p {
	margin-bottom: 0;
	color: var(--muted);
}

.booking-steps {
	background: var(--paper);
}

.booking-steps__grid {
	display: grid;
	grid-template-columns: minmax( 0, 0.9fr ) minmax( 22rem, 0.72fr );
	align-items: center;
	gap: clamp( 3rem, 8vw, 7rem );
}

.booking-steps h2 {
	margin-bottom: 1.25rem;
}

.booking-steps__grid > div > p:not( .eyebrow ) {
	margin-bottom: 2rem;
	color: var(--muted);
}

.step-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.step-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.2rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.step-list li:first-child {
	border-top: 1px solid var(--line);
}

.step-list li > span {
	display: grid;
	width: 2.7rem;
	height: 2.7rem;
	place-items: center;
	border-radius: 50%;
	background: var(--teal-soft);
	color: var(--deepest);
	font-weight: 850;
}

.step-list strong {
	color: var(--deepest);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
}

.step-list p {
	margin: 0.25rem 0 0;
	color: var(--muted);
}

.mini-emergency {
	padding-block: 1.1rem;
	background: var(--coral);
	color: var(--deepest);
	font-size: 0.9rem;
	text-align: center;
}

/* Contact */
.contact-hero-card {
	padding: 2rem;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	border-radius: var(--radius-lg);
	background: rgba( 20, 110, 106, 0.36 );
}

.contact-hero-card > span {
	display: block;
	margin-bottom: 0.7rem;
	color: var(--coral);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.contact-hero-card > a:not( .button ) {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp( 1.55rem, 2.6vw, 2.25rem );
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.contact-hero-card .button {
	display: inline-flex;
	width: auto;
	min-height: 2.8rem;
	margin-top: 1.1rem;
	margin-bottom: 0;
	padding: 0.75rem 1.1rem;
	color: var(--deepest);
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.2;
	white-space: normal;
}

.contact-hero-card p {
	margin: 0;
	color: rgba( 255, 255, 255, 0.78 );
}

.contact-options {
	background: var(--cream);
}

.contact-option-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 1rem;
}

.contact-option-grid article {
	display: flex;
	min-height: 24rem;
	align-items: flex-start;
	flex-direction: column;
	padding: clamp( 1.7rem, 3vw, 2.5rem );
	border: 1px solid rgba( 18, 63, 64, 0.12 );
	border-radius: var(--radius-md);
	background: var(--paper);
	box-shadow: var(--shadow-soft);
}

.contact-option__icon {
	display: grid;
	width: 3.4rem;
	height: 3.4rem;
	place-items: center;
	margin-bottom: 2.6rem;
	border-radius: 50%;
	background: var(--teal-soft);
	color: var(--deepest);
	font-size: 0.75rem;
	font-weight: 850;
}

.contact-option-grid h3 {
	margin-bottom: 0.8rem;
}

.contact-option-grid p {
	margin-bottom: 1.5rem;
	color: var(--muted);
}

.contact-option-grid .button {
	margin-top: auto;
}

.location-section {
	background: var(--paper);
}

.location-grid {
	display: grid;
	grid-template-columns: minmax( 20rem, 1fr ) minmax( 0, 0.82fr );
	align-items: stretch;
	gap: clamp( 3rem, 8vw, 7rem );
}

.map-embed {
	position: relative;
	min-height: 32rem;
	overflow: hidden;
	border: 1px solid rgba( 18, 63, 64, 0.12 );
	border-radius: var(--radius-lg);
	background: var(--teal-soft);
	box-shadow: var(--shadow-soft);
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 32rem;
}

.map-embed__link {
	position: absolute;
	left: 1.25rem;
	bottom: 1.25rem;
	box-shadow: var(--shadow);
}

.map-illustration {
	position: relative;
	min-height: 35rem;
	border-radius: var(--radius-lg);
	background-color: var(--teal-soft);
	background-image: linear-gradient( rgba( 18, 63, 64, 0.06 ) 1px, transparent 1px ), linear-gradient( 90deg, rgba( 18, 63, 64, 0.06 ) 1px, transparent 1px );
	background-size: 3rem 3rem;
	overflow: hidden;
}

.map-road {
	position: absolute;
	top: 50%;
	left: -15%;
	width: 130%;
	height: 4rem;
	border: 1px solid rgba( 18, 63, 64, 0.18 );
	background: rgba( 255, 253, 248, 0.78 );
	transform: rotate( 24deg );
}

.map-road--two {
	transform: rotate( -55deg );
}

.map-pin {
	position: absolute;
	top: 48%;
	left: 52%;
	width: 5rem;
	height: 5rem;
	border: 0.85rem solid var(--coral-deep);
	border-radius: 50% 50% 50% 0;
	background: var(--coral);
	box-shadow: var(--shadow);
	transform: translate( -50%, -50% ) rotate( -45deg );
}

.map-pin span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: var(--paper);
	transform: translate( -50%, -50% );
}

.map-illustration > p {
	position: absolute;
	left: 1.5rem;
	bottom: 1.5rem;
	margin: 0;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: var(--deepest);
	color: var(--white);
	font-weight: 800;
}

.location-details h2 {
	margin-bottom: 2rem;
}

.location-details__block {
	padding-block: 1.5rem;
	border-top: 1px solid var(--line);
}

.location-details__block h3 {
	margin-bottom: 0.7rem;
	font-size: 1.2rem;
}

.hours-list {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto;
	gap: 0.5rem 1.5rem;
	margin-bottom: 0;
}

.hours-list dt {
	color: var(--muted);
}

.hours-list dd {
	font-weight: 800;
	text-align: right;
}

.privacy-emergency {
	background: var(--deep);
	color: rgba( 255, 255, 255, 0.8 );
}

.privacy-emergency__grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.privacy-emergency__grid--single {
	grid-template-columns: 1fr;
}

.privacy-emergency__grid--single > div {
	border-right: 1px solid rgba( 255, 255, 255, 0.16 );
	text-align: center;
}

.privacy-emergency__grid > div {
	padding: clamp( 2.5rem, 5vw, 4.5rem );
	border-left: 1px solid rgba( 255, 255, 255, 0.16 );
}

.privacy-emergency__grid > div:last-child {
	border-right: 1px solid rgba( 255, 255, 255, 0.16 );
}

.privacy-emergency h2 {
	margin-bottom: 0.8rem;
	color: var(--white);
	font-size: clamp( 1.65rem, 3vw, 2.45rem );
}

.privacy-emergency p {
	margin-bottom: 0;
}

/* Editorial and WordPress content */
.editor-section {
	background: var(--paper);
}

.prose {
	font-size: 1.04rem;
}

.prose > * {
	max-width: 48rem;
	margin-inline: auto;
}

.prose > .alignwide {
	max-width: 70rem;
}

.prose > .alignfull {
	max-width: none;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 2em;
	margin-bottom: 0.7em;
}

.prose h2 {
	font-size: clamp( 2rem, 4vw, 3.15rem );
}

.prose h3 {
	font-size: 1.65rem;
}

.prose a {
	font-weight: 700;
}

.prose blockquote {
	padding-left: 1.5rem;
	border-left: 4px solid var(--coral-deep);
	color: var(--muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
}

.featured-image {
	margin-bottom: 2.5rem;
}

.featured-image img {
	width: 100%;
	border-radius: var(--radius-md);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 1.25rem;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
}

.post-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 1.5rem;
}

.post-card h2,
.search-result h2 {
	font-size: 1.7rem;
}

.post-card h2 a,
.search-result h2 a {
	color: var(--deepest);
	text-decoration: none;
}

.post-meta {
	margin-bottom: 0.55rem;
	color: var(--coral-deep);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.search-form {
	display: flex;
	gap: 0.65rem;
	margin-bottom: 3rem;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 3.2rem;
	padding: 0.75rem 1rem;
	border: 2px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
}

.search-submit {
	min-height: 3.2rem;
	padding-inline: 1.25rem;
	border: 2px solid var(--teal);
	border-radius: 999px;
	background: var(--teal);
	color: var(--white);
	font-weight: 800;
	cursor: pointer;
}

.search-results-list {
	border-top: 1px solid var(--line);
}

.search-result {
	padding-block: 2rem;
	border-bottom: 1px solid var(--line);
}

.empty-state {
	padding: 3rem;
	border-radius: var(--radius-md);
	background: var(--cream);
	text-align: center;
}

.empty-state h2 {
	font-size: 2.2rem;
}

.navigation.pagination {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	display: grid;
	min-width: 2.8rem;
	min-height: 2.8rem;
	place-items: center;
	padding: 0.5rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
}

.page-numbers.current {
	border-color: var(--deepest);
	background: var(--deepest);
	color: var(--white);
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: 5rem;
}

.post-navigation a {
	font-weight: 800;
}

.not-found {
	display: grid;
	min-height: 42rem;
	align-items: center;
	padding-block: 5rem;
	background: var(--cream);
}

.not-found h1 {
	font-size: clamp( 2.8rem, 7vw, 5.5rem );
}

.not-found p:not( .eyebrow, .error-code ) {
	max-width: 42rem;
	color: var(--muted);
	font-size: 1.08rem;
}

.error-code {
	margin: 0 0 -2.3rem;
	color: rgba( 20, 110, 106, 0.1 );
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp( 7rem, 20vw, 15rem );
	font-weight: 700;
	line-height: 0.8;
}

/* Footer */
.site-footer {
	padding-top: clamp( 4rem, 8vw, 6.5rem );
	background: var(--deepest);
	color: rgba( 255, 255, 255, 0.76 );
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr repeat( 3, 0.75fr );
	gap: clamp( 2rem, 5vw, 4rem );
}

.site-footer .site-brand {
	color: var(--white);
}

.site-footer .brand-mark {
	background: rgba( 255, 255, 255, 0.12 );
}

.site-footer .brand-mark span {
	background: var(--coral);
}

.footer-intro > p {
	max-width: 18rem;
	margin: 1.25rem 0 1.5rem;
}

.site-footer h2 {
	margin-bottom: 1rem;
	color: var(--white);
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.site-footer address {
	margin-bottom: 0.7rem;
}

.site-footer a:not( .button, .site-brand ) {
	color: var(--white);
}

.footer-phone {
	display: inline-block;
	margin-bottom: 0.75rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 600;
}

.footer-note {
	max-width: 18rem;
	font-size: 0.78rem;
	line-height: 1.5;
}

.footer-menu {
	align-items: flex-start;
	flex-direction: column;
	gap: 0.55rem;
	margin-bottom: 0.55rem;
}

.emergency-note {
	padding: 1rem 1.2rem;
	margin-top: 4rem;
	border: 1px solid rgba( 255, 255, 255, 0.17 );
	border-radius: var(--radius-sm);
	background: rgba( 255, 255, 255, 0.055 );
	color: var(--cream);
	font-size: 0.85rem;
	text-align: center;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.5rem;
	margin-top: 2rem;
	border-top: 1px solid rgba( 255, 255, 255, 0.12 );
	font-size: 0.73rem;
}

@media ( max-width: 1000px ) {
	.hero__grid {
		grid-template-columns: minmax( 0, 1fr ) minmax( 20rem, 0.8fr );
		gap: 3rem;
	}

	.doctor-card-grid {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}

	.footer-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 860px ) {
	.admin-bar .site-header {
		top: 46px;
	}

	.site-header__inner {
		position: relative;
		min-height: 4.5rem;
	}

	.has-navigation-toggle .menu-toggle {
		display: inline-flex;
	}

	.has-navigation-toggle .nav-panel {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		align-items: stretch;
		flex-direction: column;
		gap: 1rem;
		padding: 1rem;
		border-top: 1px solid var(--line);
		background: var(--paper);
		box-shadow: var(--shadow-soft);
	}

	.has-navigation-toggle .nav-panel.is-open {
		display: flex;
	}

	.primary-navigation .menu {
		align-items: stretch;
		flex-direction: column;
	}

	.primary-navigation a {
		min-height: 3rem;
		padding-inline: 1rem;
	}

	.header-booking {
		width: 100%;
	}

	.hero__grid,
	.page-hero__grid,
	.team-teaser__grid,
	.visit-grid,
	.booking-steps__grid,
	.location-grid,
	.doctor-profile-hero__grid,
	.doctor-profile-detail__grid {
		grid-template-columns: 1fr;
	}

	.doctor-profile-portrait {
		margin-inline: auto;
	}

	.hero__grid {
		padding-top: 4rem;
	}

	.hero__copy {
		max-width: 44rem;
	}

	.hero__media {
		width: min( 100%, 37rem );
		margin-inline: auto;
	}

	.hero__media img {
		aspect-ratio: 5 / 4;
		border-radius: var(--radius-lg);
	}

	.hero__media::before {
		border-radius: var(--radius-lg);
	}

	.quick-actions__grid,
	.service-grid,
	.profile-detail-grid,
	.doctor-card-grid,
	.contact-option-grid,
	.post-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.quick-actions article:last-child {
		grid-column: 1 / -1;
		border-top: 1px solid rgba( 255, 255, 255, 0.17 );
	}

	.section-heading {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 1.5rem;
	}

	.team-teaser__art {
		width: min( 100%, 32rem );
	}

	.page-hero__grid {
		min-height: auto;
	}

	.page-hero__symbol {
		display: none;
	}

	.contact-hero-card {
		max-width: 32rem;
	}

	.map-illustration,
	.map-embed iframe {
		min-height: 26rem;
	}
}

@media ( max-width: 620px ) {
	.shell {
		width: min( calc( 100% - 1.25rem ), var(--shell) );
	}

	.utility-bar__inner {
		justify-content: center;
	}

	.utility-bar__inner > span {
		display: none;
	}

	.site-header__inner {
		gap: 0.75rem;
	}

	.brand-words strong {
		font-size: 1.05rem;
	}

	.brand-words small {
		font-size: 0.53rem;
	}

	.brand-mark {
		width: 2.35rem;
		height: 2.35rem;
	}

	.hero__grid {
		width: min( calc( 100% - 2rem ), var(--shell) );
		min-height: auto;
		padding-top: 2.5rem;
	}

	.hero h1 {
		font-size: clamp( 3rem, 15vw, 4.4rem );
	}

	.hero__media::before {
		inset: -0.65rem 0.65rem 0.65rem -0.65rem;
	}

	.hero__media img {
		aspect-ratio: 5 / 4;
		object-position: center;
	}

	.hero-card {
		position: relative;
		right: auto;
		bottom: auto;
		width: calc( 100% - 1rem );
		margin: -2.5rem auto 0;
	}

	.quick-actions__grid,
	.service-grid,
	.profile-detail-grid,
	.doctor-card-grid,
	.contact-option-grid,
	.post-grid,
	.privacy-emergency__grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.quick-actions article,
	.quick-actions article:last-child {
		grid-column: auto;
		border: 0;
		border-bottom: 1px solid rgba( 255, 255, 255, 0.17 );
	}

	.service-grid article {
		min-height: 13rem;
	}

	.doctor-profile-hero {
		padding-top: 2rem;
	}

	.doctor-profile-intro h1 {
		font-size: clamp( 3rem, 15vw, 4.6rem );
	}

	.doctor-profile-portrait__label {
		right: 0;
	}

	.status-panel {
		grid-template-columns: 1fr;
	}

	.contact-option-grid article {
		min-height: 20rem;
	}

	.privacy-emergency__grid > div,
	.privacy-emergency__grid > div:last-child {
		border-right: 1px solid rgba( 255, 255, 255, 0.16 );
		border-bottom: 1px solid rgba( 255, 255, 255, 0.16 );
	}

	.closing-cta__inner,
	.footer-bottom,
	.post-navigation {
		align-items: flex-start;
		flex-direction: column;
	}

	.closing-cta__inner {
		justify-content: center;
	}

	.hours-list {
		grid-template-columns: 1fr;
		gap: 0.1rem;
	}

	.hours-list dd {
		margin-bottom: 0.8rem;
		text-align: left;
	}

	.search-form {
		align-items: stretch;
		flex-direction: column;
	}
}


/* Draft doctor directory and intake form */
.primary-navigation {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.draft-nav-link small {
	margin-left: 0.4rem;
	padding: 0.12rem 0.42rem;
	border-radius: 999px;
	background: var(--coral);
	color: var(--deepest);
	font-size: 0.58rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.doctor-simple-grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 1rem;
}

.doctor-simple-card {
	display: flex;
	min-height: 15rem;
	align-items: flex-start;
	flex-direction: column;
	padding: clamp( 1.5rem, 3vw, 2.2rem );
	border: 1px solid rgba( 18, 63, 64, 0.12 );
	border-radius: var(--radius-md);
	background: var(--paper);
	box-shadow: var(--shadow-soft);
}

.doctor-simple-card h3 {
	margin: 0 0 0.4rem;
	font-size: clamp( 1.55rem, 2.4vw, 2.05rem );
}

.doctor-simple-card__specialty {
	margin: 0 0 1.8rem;
	color: var(--muted);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.doctor-simple-card .button {
	margin-top: auto;
}

.intake-hero {
	padding-block: clamp( 3.5rem, 8vw, 6.5rem );
	background: var(--cream);
}

.intake-hero h1 {
	max-width: 50rem;
	margin-bottom: 1.25rem;
	font-size: clamp( 3rem, 7vw, 5.7rem );
}

.intake-hero p:last-child {
	max-width: 48rem;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 1.08rem;
}

.intake-section {
	background: var(--paper);
}

.intake-layout {
	display: grid;
	grid-template-columns: minmax( 15rem, 0.38fr ) minmax( 0, 1fr );
	align-items: start;
	gap: clamp( 2rem, 5vw, 4.5rem );
}

.intake-summary {
	position: sticky;
	top: 7rem;
	padding: 1.6rem;
	border: 1px solid rgba( 18, 63, 64, 0.12 );
	border-radius: var(--radius-md);
	background: var(--teal-soft);
}

.intake-doctor {
	display: grid;
	gap: 0.25rem;
	padding-bottom: 1.1rem;
	margin-bottom: 1.1rem;
	border-bottom: 1px solid rgba( 18, 63, 64, 0.15 );
}

.intake-doctor strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.65rem;
}

.intake-doctor span,
.intake-locked-note,
.intake-preview-note p,
.intake-form-help,
.intake-submit-row p {
	color: var(--muted);
}

.intake-locked-note {
	margin: 0;
	font-size: 0.86rem;
}

.intake-locked-note > span {
	color: var(--teal);
	font-size: 0.65rem;
}

.intake-preview-note {
	padding: 1rem;
	margin-top: 1.4rem;
	border-left: 3px solid var(--coral-deep);
	background: var(--paper);
}

.intake-preview-note p {
	margin: 0.35rem 0 0;
	font-size: 0.86rem;
	line-height: 1.55;
}

.intake-form-wrap {
	min-width: 0;
}

.intake-emergency-note {
	padding: 1rem 1.2rem;
	margin-bottom: 1.5rem;
	border-radius: var(--radius-sm);
	background: #fff1eb;
	color: var(--ink);
	font-size: 0.9rem;
}

.intake-emergency-note strong {
	display: block;
	color: var(--coral-deep);
}

.intake-form {
	display: grid;
	gap: 1.25rem;
}

.intake-form-help {
	margin: 0;
	font-size: 0.9rem;
}

.intake-form fieldset {
	display: grid;
	gap: 1rem;
	padding: clamp( 1.3rem, 3vw, 2rem );
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-soft);
}

.intake-form legend {
	padding-inline: 0.45rem;
	color: var(--deepest);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp( 1.45rem, 2.8vw, 2rem );
	font-weight: 650;
}

.intake-form label {
	display: block;
	min-width: 0;
	color: var(--ink);
	font-size: 0.88rem;
	font-weight: 780;
}

.intake-form input,
.intake-form textarea,
.intake-form select {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 3.15rem;
	margin-top: 0.45rem;
	padding: 0.72rem 0.85rem;
	border: 1px solid #9aabaa;
	border-radius: 0.55rem;
	background: var(--paper);
	color: var(--ink);
	font-weight: 500;
}

.intake-form textarea {
	min-height: 7rem;
	resize: vertical;
}

.intake-form input:focus,
.intake-form textarea:focus,
.intake-form select:focus {
	border-color: var(--deep);
	outline: 3px solid rgba( 69, 161, 152, 0.24 );
	outline-offset: 1px;
}

.form-grid {
	display: grid;
	min-width: 0;
	align-items: start;
	gap: 1rem;
}

.form-grid > * {
	min-width: 0;
}

.form-grid--2 {
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.form-grid--3 {
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}

.form-grid--4 {
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
}

.intake-form .checkbox-field {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 1rem;
	border-radius: var(--radius-sm);
	background: var(--teal-soft);
	font-weight: 600;
}

.intake-form .checkbox-field input {
	width: 1.2rem;
	min-height: 1.2rem;
	flex: 0 0 auto;
	margin-top: 0.25rem;
}

.intake-submit-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 0.5rem;
}

.intake-submit-row .button[disabled] {
	cursor: not-allowed;
	filter: grayscale( 0.35 );
	opacity: 0.68;
}

.intake-submit-row p {
	flex: 1 1 16rem;
	margin: 0;
	font-size: 0.88rem;
}

@media ( max-width: 1080px ) {
	.form-grid--4 {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 960px ) {
	.doctor-simple-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.intake-layout {
		grid-template-columns: 1fr;
	}

	.intake-summary {
		position: static;
	}
}

@media ( max-width: 700px ) {
	.doctor-simple-grid,
	.form-grid--2,
	.form-grid--3,
	.form-grid--4 {
		grid-template-columns: 1fr;
	}

	.intake-form fieldset {
		padding: 1.1rem;
	}
}

.doctor-simple-card__notice {
	margin: 0 0 1.35rem;
	padding: 0.8rem 0.9rem;
	border-left: 3px solid var(--coral-deep);
	background: var(--cream);
	color: var(--ink);
	font-size: 0.9rem;
	line-height: 1.55;
}

.intake-form input[type="hidden"] {
	display: none;
}

.intake-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.intake-status {
	padding: clamp( 1.4rem, 3vw, 2rem );
	margin-bottom: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: var(--shadow-soft);
}

.intake-status h2 {
	margin-bottom: 0.45rem;
	font-size: clamp( 1.65rem, 3vw, 2.2rem );
}

.intake-status p {
	margin: 0;
}

.intake-status--success {
	border-left: 4px solid var(--teal-bright);
}

.intake-status--error {
	border-left: 4px solid var(--coral-deep);
}

@media ( prefers-reduced-motion: reduce ) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.button-row,
	.quick-actions,
	.closing-cta,
	.privacy-emergency {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	a {
		color: #000;
	}
}



