/*
Theme Name: Hawaii Kai Tooth Doctor
Theme URI: https://hawaiikaitoothdoctor.com/
Author: The Tooth Doctor
Description: A purpose built theme for The Tooth Doctor, a dental practice in the Hawaii Kai Shopping Center, Honolulu. Carries its own SEO, schema, redirects and appointment form so the site needs no plugins. The palette descends from the practice's own recovered identity: maroon #800000 and plum #865a72.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hktd
*/

/* ==========================================================================
   1. Fonts. Self hosted, latin subset, so the site makes no third party
      request. Public Sans ships as one variable file covering 400 and 600.
   ========================================================================== */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/newsreader-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/public-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Tokens
   ========================================================================== */

:root {
	/* Colour. Maroon and plum are the practice's own, recovered from the
	   2016 stylesheet. Blush and sand are the old pink and cream, dropped to
	   tints so they read as ground rather than as fill. */
	--hk-maroon:       #800000;
	--hk-maroon-deep:  #5e0000;
	--hk-maroon-tint:  #f6ecec;
	--hk-plum:         #865a72;
	--hk-plum-soft:    #b494a6;
	--hk-ink:          #241d1f;
	--hk-ink-soft:     #43383b;
	--hk-muted:        #6b6063;
	--hk-blush:        #fdf5f8;
	--hk-sand:         #faf7f0;
	--hk-white:        #ffffff;
	--hk-line:         #eae0e3;
	--hk-line-strong:  #d8c8ce;

	/* Type */
	--hk-display: "Newsreader", Georgia, "Times New Roman", Times, serif;
	--hk-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Space. Nothing in this stylesheet sits off this scale. */
	--s1: 4px;
	--s2: 8px;
	--s3: 12px;
	--s4: 16px;
	--s5: 24px;
	--s6: 32px;
	--s7: 48px;
	--s8: 64px;
	--s9: 96px;
	--s10: 128px;

	--hk-container: 1200px;
	--hk-gutter: 24px;

	--hk-radius-sm: 4px;
	--hk-radius: 10px;
	--hk-radius-lg: 16px;

	--hk-shadow-card: 0 1px 3px rgba(36, 29, 31, .08);
	--hk-shadow-head: 0 4px 16px rgba(36, 29, 31, .07);

	--hk-head-h: 76px;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hk-head-h) + var(--s5));
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	background: var(--hk-white);
	color: var(--hk-ink);
	font-family: var(--hk-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hk-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--hk-ink);
	margin: 0;
	text-wrap: balance;
}

p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }

a {
	color: var(--hk-maroon);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(128, 0, 0, .35);
}

a:hover, a:focus-visible { text-decoration-color: currentColor; }

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

:where(a, button, input, select, textarea, summary, details):focus-visible {
	outline: 2px solid var(--hk-maroon);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.hk-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--hk-maroon);
	color: #fff;
	padding: var(--s3) var(--s5);
	text-decoration: none;
	font-weight: 600;
}
.hk-skip:focus { left: var(--s4); top: var(--s4); }

.hk-wrap {
	max-width: var(--hk-container);
	margin: 0 auto;
	padding: 0 var(--hk-gutter);
}

/* ==========================================================================
   4. Type helpers
   ========================================================================== */

.hk-eyebrow {
	font-family: var(--hk-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hk-plum);
	margin: 0 0 var(--s3);
}

.hk-h2 {
	font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem);
	line-height: 1.12;
	max-width: 20ch;
}

.hk-h2.is-centred { max-width: 24ch; margin-inline: auto; text-align: center; }

.hk-lead {
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--hk-ink-soft);
	max-width: 60ch;
}

.hk-sec-head { margin-bottom: var(--s7); }
.hk-sec-head .hk-lead { margin-top: var(--s4); }
.hk-sec-head.is-centred { text-align: center; }
.hk-sec-head.is-centred .hk-lead { margin-inline: auto; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.hk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s2);
	min-height: 48px;
	padding: var(--s4) var(--s6);
	border: 1.5px solid transparent;
	border-radius: var(--hk-radius-sm);
	font-family: var(--hk-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.hk-btn-primary {
	background: var(--hk-maroon);
	border-color: var(--hk-maroon);
	color: #fff;
}
.hk-btn-primary:hover, .hk-btn-primary:focus-visible {
	background: var(--hk-maroon-deep);
	border-color: var(--hk-maroon-deep);
	color: #fff;
}

.hk-btn-ghost {
	background: transparent;
	border-color: var(--hk-maroon);
	color: var(--hk-maroon);
}
.hk-btn-ghost:hover, .hk-btn-ghost:focus-visible { background: var(--hk-maroon-tint); }

.hk-btn-light {
	background: #fff;
	border-color: #fff;
	color: var(--hk-maroon);
}
.hk-btn-light:hover, .hk-btn-light:focus-visible { background: var(--hk-blush); border-color: var(--hk-blush); }

.hk-btn-sm { min-height: 42px; padding: var(--s3) var(--s5); font-size: .94rem; }

.hk-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

.hk-textlink {
	display: inline-block;
	font-weight: 600;
	color: var(--hk-maroon);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   6. Header
   ========================================================================== */

.hk-head {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--hk-white);
	border-bottom: 1px solid var(--hk-line);
	transition: box-shadow .2s ease;
}
.hk-head.is-stuck { box-shadow: var(--hk-shadow-head); }

.hk-head-inner {
	max-width: var(--hk-container);
	margin: 0 auto;
	padding: 0 var(--hk-gutter);
	min-height: var(--hk-head-h);
	display: flex;
	align-items: center;
	gap: var(--s5);
	transition: min-height .2s ease;
}
.hk-head.is-stuck .hk-head-inner { min-height: 64px; }

.hk-brand {
	display: block;
	text-decoration: none;
	color: var(--hk-ink);
	flex: none;
	line-height: 1.05;
}
.hk-brand-name {
	display: block;
	font-family: var(--hk-display);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--hk-maroon);
}
.hk-brand-sub {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--hk-muted);
	margin-top: 3px;
}

/* Primary navigation, desktop */
.hk-mainnav { margin-left: auto; }
.hk-mainnav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: var(--s1);
}
.hk-mainnav li { position: relative; }
.hk-mainnav > ul > li > a,
.hk-mainnav > ul > li > .hk-navbtn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: var(--s3) var(--s3);
	font-size: .96rem;
	font-weight: 500;
	color: var(--hk-ink);
	text-decoration: none;
	background: none;
	border: 0;
	font-family: var(--hk-body);
	cursor: pointer;
	border-radius: var(--hk-radius-sm);
	white-space: nowrap;
}
.hk-mainnav > ul > li > a:hover,
.hk-mainnav > ul > li > .hk-navbtn:hover,
.hk-mainnav > ul > li > a[aria-current="page"] { color: var(--hk-maroon); }
.hk-mainnav > ul > li > a[aria-current="page"] { font-weight: 600; }

.hk-navbtn .hk-caret {
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .16s ease;
}
.hk-mainnav li.is-open > .hk-navbtn .hk-caret { transform: rotate(-135deg) translate(-3px, -3px); }
.hk-mainnav li.is-open > .hk-navbtn { color: var(--hk-maroon); }

.hk-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 300px;
	background: var(--hk-white);
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	box-shadow: 0 12px 32px rgba(36, 29, 31, .12);
	padding: var(--s3);
	list-style: none;
	margin: 0;
	display: none;
}
.hk-mainnav li.is-open > .hk-dropdown { display: block; }
.hk-dropdown li { position: static; }
.hk-dropdown a {
	display: block;
	padding: 9px var(--s3);
	font-size: .92rem;
	color: var(--hk-ink-soft);
	text-decoration: none;
	border-radius: var(--hk-radius-sm);
}
.hk-dropdown a:hover, .hk-dropdown a:focus-visible {
	background: var(--hk-blush);
	color: var(--hk-maroon);
}
.hk-dropdown .hk-dropdown-all {
	display: block;
	margin-top: var(--s2);
	padding-top: var(--s3);
	border-top: 1px solid var(--hk-line);
	font-weight: 600;
	color: var(--hk-maroon);
}

/* Header actions */
.hk-head-cta { display: flex; align-items: center; gap: var(--s3); flex: none; }
.hk-head-phone {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	font-weight: 600;
	font-size: .96rem;
	color: var(--hk-plum);
	text-decoration: none;
	white-space: nowrap;
	padding: var(--s2) 0;
}
.hk-head-phone:hover { color: var(--hk-maroon); }
.hk-head-phone svg { width: 16px; height: 16px; flex: none; }

/* Toggles shown only on small screens */
.hk-navtoggle, .hk-head-call { display: none; }

.hk-navtoggle {
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-left: auto;
	background: none;
	border: 1px solid var(--hk-line-strong);
	border-radius: var(--hk-radius-sm);
	cursor: pointer;
	color: var(--hk-ink);
}
.hk-navtoggle .hk-burger,
.hk-navtoggle .hk-burger::before,
.hk-navtoggle .hk-burger::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	transition: transform .18s ease, opacity .18s ease;
}
.hk-navtoggle .hk-burger { position: relative; }
.hk-navtoggle .hk-burger::before,
.hk-navtoggle .hk-burger::after { content: ""; position: absolute; left: 0; }
.hk-navtoggle .hk-burger::before { top: -6px; }
.hk-navtoggle .hk-burger::after { top: 6px; }
.hk-navtoggle[aria-expanded="true"] .hk-burger { background: transparent; }
.hk-navtoggle[aria-expanded="true"] .hk-burger::before { transform: translateY(6px) rotate(45deg); }
.hk-navtoggle[aria-expanded="true"] .hk-burger::after { transform: translateY(-6px) rotate(-45deg); }

.hk-head-call {
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--hk-maroon);
	border-radius: var(--hk-radius-sm);
	color: var(--hk-maroon);
	text-decoration: none;
}
.hk-head-call svg { width: 18px; height: 18px; }

/* Mobile panel */
.hk-mobilenav {
	display: none;
	border-top: 1px solid var(--hk-line);
	background: var(--hk-white);
	max-height: calc(100dvh - var(--hk-head-h));
	overflow-y: auto;
	padding: var(--s4) var(--hk-gutter) var(--s7);
}
.hk-mobilenav.is-open { display: block; }
.hk-mobilenav ul { list-style: none; margin: 0; padding: 0; }
.hk-mobilenav > ul > li { border-bottom: 1px solid var(--hk-line); }
.hk-mobilenav > ul > li > a,
.hk-mobilenav .hk-mobrow > a {
	display: block;
	padding: var(--s4) 0;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--hk-ink);
	text-decoration: none;
}
.hk-mobrow { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.hk-mobrow > a { flex: 1; }
.hk-mobtoggle {
	flex: none;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	color: var(--hk-plum);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}
.hk-mobtoggle[aria-expanded="true"] { transform: rotate(180deg); }
.hk-mobsub { display: none; padding: 0 0 var(--s4) var(--s4); }
.hk-mobsub.is-open { display: block; }
.hk-mobsub a {
	display: block;
	padding: 10px 0;
	font-size: .96rem;
	color: var(--hk-muted);
	text-decoration: none;
}
.hk-mobsub a:hover { color: var(--hk-maroon); }
.hk-mobilenav .hk-mob-actions { display: grid; gap: var(--s3); margin-top: var(--s5); }

@media (max-width: 1080px) {
	.hk-mainnav, .hk-head-cta { display: none; }
	.hk-navtoggle, .hk-head-call { display: inline-flex; }
	.hk-head-call { margin-left: auto; }
	.hk-navtoggle { margin-left: var(--s2); }
}

/* ==========================================================================
   7. Sections
   ========================================================================== */

.hk-sec { padding: var(--s9) 0; }
.hk-sec--blush { background: var(--hk-blush); }
.hk-sec--sand { background: var(--hk-sand); }
.hk-sec--tight { padding: var(--s7) 0; }

@media (max-width: 900px) { .hk-sec { padding: var(--s8) 0; } }
@media (max-width: 600px) { .hk-sec { padding: 56px 0; } }

/* ---------- Hero ---------- */

.hk-hero { padding: var(--s8) 0 var(--s9); }
.hk-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
	gap: var(--s8);
	align-items: center;
}
.hk-hero h1 {
	font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.2rem);
	line-height: 1.05;
	letter-spacing: -.022em;
	max-width: 15ch;
}
.hk-hero .hk-lead { margin-top: var(--s5); }
.hk-hero .hk-actions { margin-top: var(--s6); }

.hk-hero-figure { margin: 0; }
.hk-hero-figure img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--hk-radius-lg);
}

.hk-hero-trust {
	list-style: none;
	margin: var(--s6) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s2) var(--s5);
	font-size: .88rem;
	color: var(--hk-muted);
	max-width: 34rem;
}
.hk-hero-trust li { padding-left: var(--s4); position: relative; }
.hk-hero-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .68em;
	width: 7px;
	height: 1px;
	background: var(--hk-plum);
}

@media (max-width: 900px) {
	.hk-hero { padding: var(--s7) 0 var(--s8); }
	.hk-hero-grid { grid-template-columns: 1fr; gap: var(--s6); }
	/* The image drops below both calls to action, so the first screen is
	   headline, promise, action. */
	.hk-hero-figure { order: 2; }
	.hk-hero-copy { order: 1; }
	.hk-hero-figure img { aspect-ratio: 16 / 10; }
	.hk-hero .hk-actions { display: grid; }
}

@media (max-width: 520px) {
	.hk-hero-trust { grid-template-columns: 1fr; }
}

/* ---------- Trust bar ---------- */

.hk-trustbar { padding: var(--s7) 0; background: var(--hk-sand); }
.hk-trustbar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s5);
}
.hk-trustbar li {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: var(--s3);
	align-items: start;
	padding-left: var(--s5);
	border-left: 1px solid var(--hk-line-strong);
}
.hk-trustbar li:first-child { padding-left: 0; border-left: 0; }
.hk-trustbar svg { width: 24px; height: 24px; color: var(--hk-plum); }
.hk-trustbar b { display: block; font-size: .98rem; font-weight: 600; }
.hk-trustbar span { display: block; font-size: .86rem; color: var(--hk-muted); line-height: 1.5; margin-top: 2px; }

@media (max-width: 860px) {
	.hk-trustbar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
	.hk-trustbar li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 460px) {
	.hk-trustbar ul { grid-template-columns: 1fr; }
	.hk-trustbar li { padding-left: 0; border-left: 0; }
}

/* ---------- Services ---------- */

.hk-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s5);
}
.hk-card {
	display: flex;
	flex-direction: column;
	background: var(--hk-white);
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	box-shadow: var(--hk-shadow-card);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}
.hk-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36, 29, 31, .09); }
.hk-card img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.hk-card-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.hk-card h3 { font-size: 1.35rem; line-height: 1.25; }
.hk-card p { font-size: .95rem; color: var(--hk-muted); margin: 0; flex: 1; }
.hk-card .hk-textlink { align-self: flex-start; font-size: .94rem; }

.hk-cards-after { margin-top: var(--s7); text-align: center; }

@media (max-width: 900px) { .hk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hk-cards { grid-template-columns: 1fr; } }

/* ---------- Split sections: dentists, experience, local ---------- */

.hk-split {
	display: grid;
	grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
	gap: var(--s8);
	align-items: center;
}
.hk-split--mirror { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
.hk-split--wide-media { grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); }
.hk-split-media { margin: 0; }
.hk-split-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--hk-radius-lg);
}
.hk-split-media--landscape img { aspect-ratio: 4 / 3; }
.hk-split-media figcaption {
	margin-top: var(--s3);
	font-size: .8rem;
	color: var(--hk-muted);
}

@media (max-width: 900px) {
	.hk-split, .hk-split--mirror, .hk-split--wide-media { grid-template-columns: 1fr; gap: var(--s6); }
	.hk-split--mirror .hk-split-media { order: -1; }
	.hk-split-media img { aspect-ratio: 4 / 3; }
}

/* Dentist entries */
.hk-people { display: grid; gap: var(--s5); margin-top: var(--s6); }
.hk-person {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: var(--s4);
	align-items: start;
}
.hk-monogram {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--hk-maroon-tint);
	border: 1px solid var(--hk-line-strong);
	color: var(--hk-maroon);
	font-family: var(--hk-display);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: .02em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hk-person h3 { font-size: 1.25rem; }
.hk-person p { font-size: .95rem; color: var(--hk-muted); margin: var(--s2) 0 0; }

.hk-quote {
	margin: var(--s6) 0 0;
	padding-left: var(--s5);
	border-left: 3px solid var(--hk-plum);
	font-family: var(--hk-display);
	font-size: 1.3rem;
	line-height: 1.45;
	color: var(--hk-ink-soft);
}
.hk-quote cite { display: block; margin-top: var(--s3); font-family: var(--hk-body); font-size: .84rem; font-style: normal; color: var(--hk-muted); }

/* ---------- Why choose us ---------- */

.hk-reasons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin-top: var(--s7);
}
.hk-reason { padding: var(--s6) var(--s7) var(--s6) 0; border-bottom: 1px solid var(--hk-line-strong); }
.hk-reason:nth-child(even) { padding-left: var(--s7); padding-right: 0; border-left: 1px solid var(--hk-line-strong); }
.hk-reason:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
.hk-reason:nth-child(-n+2) { padding-top: 0; }
.hk-reason h3 { font-size: 1.3rem; }
.hk-reason p { margin: var(--s3) 0 0; color: var(--hk-muted); font-size: .97rem; }

@media (max-width: 760px) {
	.hk-reasons { grid-template-columns: 1fr; }
	.hk-reason,
	.hk-reason:nth-child(even) {
		padding: var(--s5) 0;
		border-left: 0;
		border-bottom: 1px solid var(--hk-line-strong);
	}
	.hk-reason:first-child { padding-top: 0; }
	.hk-reason:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Notes list, used beside the experience image ---------- */

.hk-notes { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s4); }
.hk-notes li { padding-left: var(--s5); border-left: 2px solid var(--hk-plum-soft); }
.hk-notes b { display: block; font-size: 1rem; }
.hk-notes span { display: block; font-size: .93rem; color: var(--hk-muted); margin-top: 2px; }

/* ---------- Referrals and privacy ---------- */

.hk-statement { max-width: 62ch; margin: 0 auto; text-align: center; }
.hk-statement .hk-pull {
	font-family: var(--hk-display);
	font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem);
	line-height: 1.45;
	color: var(--hk-ink-soft);
	margin: var(--s6) 0 0;
}
.hk-statement .hk-pull cite { display: block; margin-top: var(--s4); font-family: var(--hk-body); font-size: .82rem; font-style: normal; color: var(--hk-muted); letter-spacing: .04em; text-transform: uppercase; }

.hk-facts {
	list-style: none;
	margin: var(--s8) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s5);
	text-align: center;
}
.hk-facts li { border-top: 2px solid var(--hk-plum); padding-top: var(--s4); }
.hk-facts b { display: block; font-family: var(--hk-display); font-size: 1.5rem; font-weight: 600; color: var(--hk-maroon); }
.hk-facts span { display: block; font-size: .88rem; color: var(--hk-muted); margin-top: var(--s1); line-height: 1.5; }

@media (max-width: 760px) { .hk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); } }

/* ---------- Local ---------- */

.hk-address { font-style: normal; margin-top: var(--s5); }
.hk-address .hk-address-line { font-size: 1.05rem; line-height: 1.6; }
.hk-address a { font-weight: 600; }

.hk-wayfind {
	margin-top: var(--s5);
	padding: var(--s5);
	background: var(--hk-white);
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	font-size: .97rem;
	color: var(--hk-ink-soft);
}
.hk-sec--sand .hk-wayfind, .hk-sec--blush .hk-wayfind { background: var(--hk-white); }

.hk-hours {
	width: 100%;
	border-collapse: collapse;
	margin-top: var(--s5);
	font-size: .97rem;
}
.hk-hours th, .hk-hours td {
	text-align: left;
	padding: 10px 0;
	border-bottom: 1px solid var(--hk-line);
	font-weight: 400;
}
.hk-hours th { color: var(--hk-ink); font-weight: 600; }
.hk-hours td { text-align: right; color: var(--hk-muted); font-variant-numeric: tabular-nums; }
.hk-hours tr:last-child th, .hk-hours tr:last-child td { border-bottom: 0; }
.hk-hours-note { font-size: .88rem; color: var(--hk-muted); margin-top: var(--s3); }

/* ---------- FAQ ---------- */

.hk-faq { max-width: 780px; margin: 0 auto; }
.hk-faq details {
	border-bottom: 1px solid var(--hk-line-strong);
}
.hk-faq details:first-of-type { border-top: 1px solid var(--hk-line-strong); }
.hk-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s4);
	padding: var(--s5) 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--hk-display);
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hk-ink);
}
.hk-faq summary::-webkit-details-marker { display: none; }
.hk-faq summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background:
		linear-gradient(var(--hk-plum), var(--hk-plum)) center / 14px 1.5px no-repeat,
		linear-gradient(var(--hk-plum), var(--hk-plum)) center / 1.5px 14px no-repeat;
	transition: transform .18s ease;
}
/* Open rows show a minus: the vertical half of the plus is simply removed. */
.hk-faq details[open] summary::after { background-size: 14px 1.5px, 0 0; }
.hk-faq summary:hover { color: var(--hk-maroon); }
.hk-faq-answer { padding: 0 var(--s8) var(--s5) 0; color: var(--hk-muted); font-size: 1rem; }
.hk-faq-after { text-align: center; margin-top: var(--s7); }

/* ---------- Final CTA ---------- */

.hk-final {
	background: var(--hk-maroon-tint);
	border-top: 3px solid var(--hk-plum);
	padding: 112px 0;
	text-align: center;
}
.hk-final h2 { font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.1rem); max-width: 18ch; margin: 0 auto; }
.hk-final p { max-width: 52ch; margin: var(--s5) auto 0; color: var(--hk-ink-soft); font-size: 1.15rem; }
.hk-final .hk-actions { justify-content: center; margin-top: var(--s6); }
.hk-final-hours { margin-top: var(--s6); font-size: .92rem; color: var(--hk-muted); }

@media (max-width: 600px) {
	.hk-final { padding: var(--s8) 0; }
	.hk-final .hk-actions { display: grid; }
}

/* ==========================================================================
   8. Footer
   ========================================================================== */

.hk-foot {
	background: var(--hk-ink);
	color: #cfc4c6;
	padding: var(--s9) 0 var(--s6);
	font-size: .94rem;
}
.hk-foot a { color: #eee5e6; text-decoration: none; }
.hk-foot a:hover, .hk-foot a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.hk-foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr);
	gap: var(--s6) var(--s7);
}
.hk-foot h2 {
	font-family: var(--hk-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--hk-plum-soft);
	margin: 0 0 var(--s4);
}
.hk-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hk-foot-brand .hk-brand-name { color: #fff; font-size: 1.4rem; }
.hk-foot-brand .hk-brand-sub { color: var(--hk-plum-soft); }
.hk-foot-brand p { margin: var(--s4) 0 0; line-height: 1.65; }
.hk-foot-brand .hk-foot-phone { display: inline-block; margin-top: var(--s4); font-family: var(--hk-display); font-size: 1.35rem; color: #fff; }
/* In the footer the hours read as label above value, because the column is
   too narrow for two columns of text without both of them wrapping. */
.hk-foot .hk-hours { margin-top: 0; }
.hk-foot .hk-hours tr { display: block; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hk-foot .hk-hours tr:last-child { border-bottom: 0; }
.hk-foot .hk-hours th, .hk-foot .hk-hours td { display: block; border: 0; padding: 0; text-align: left; font-size: .88rem; }
.hk-foot .hk-hours th { color: #eee5e6; }
.hk-foot .hk-hours td { color: #b3a6a9; }
.hk-foot .hk-hours-note { color: #9d9093; font-size: .84rem; }
.hk-foot .hk-btn-light { margin-top: var(--s4); }
/* The generic footer link colour would otherwise win over the button's own. */
.hk-foot a.hk-btn-light { color: var(--hk-maroon); text-decoration: none; }
.hk-foot a.hk-btn-light:hover, .hk-foot a.hk-btn-light:focus-visible { color: var(--hk-maroon-deep); }

.hk-foot-base {
	margin-top: var(--s8);
	padding-top: var(--s5);
	border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3) var(--s5);
	align-items: center;
	justify-content: space-between;
	font-size: .86rem;
	color: #9d9093;
}
.hk-foot-base ul { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }

@media (max-width: 900px) {
	.hk-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
}
@media (max-width: 560px) {
	.hk-foot-grid { grid-template-columns: 1fr; gap: var(--s6); }
	.hk-foot { padding-top: var(--s8); }
}

/* ==========================================================================
   9. Mobile appointment bar
   ========================================================================== */

.hk-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: none;
	gap: var(--s2);
	padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom, 0px));
	background: var(--hk-white);
	border-top: 1px solid var(--hk-line-strong);
	box-shadow: 0 -4px 16px rgba(36, 29, 31, .08);
	transform: translateY(110%);
	transition: transform .18s ease;
}
.hk-bar.is-on { transform: translateY(0); }
.hk-bar .hk-btn { flex: 1; min-height: 50px; padding-inline: var(--s3); font-size: .97rem; }

@media (max-width: 900px) {
	.hk-bar { display: flex; }
	/* Clearance for the bar is taken from the footer, which is dark, so no
	   pale strip appears under it when the bar is hidden. */
	body.hk-has-bar .hk-foot { padding-bottom: calc(var(--s6) + 74px); }
}

/* ==========================================================================
   10. Inner pages
   ========================================================================== */

/* The inner templates have no wrapper element of their own, so the container
   is applied to the known children instead. */
.hk-titlebar {
	background: var(--hk-sand);
	border-bottom: 1px solid var(--hk-line);
	padding: var(--s8) 0;
}
.hk-titlebar .hk-title,
.hk-titlebar .hk-breadcrumb {
	max-width: var(--hk-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--hk-gutter);
	padding-right: var(--hk-gutter);
}
.hk-titlebar .hk-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.hk-titlebar .hk-breadcrumb { margin-bottom: var(--s4); }

.hk-breadcrumb {
	font-size: .84rem;
	color: var(--hk-muted);
	margin: 0 0 var(--s4);
	letter-spacing: .01em;
}
.hk-breadcrumb a { color: var(--hk-muted); text-decoration: none; }
.hk-breadcrumb a:hover { color: var(--hk-maroon); text-decoration: underline; }

.hk-body { padding: var(--s8) 0 var(--s9); }
.hk-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--s8);
	align-items: start;
	max-width: var(--hk-container);
	margin: 0 auto;
	padding: 0 var(--hk-gutter);
}
.hk-layout.hk-no-sidebar { grid-template-columns: minmax(0, 1fr); max-width: calc(780px + var(--hk-gutter) * 2); }

@media (max-width: 980px) {
	.hk-layout { grid-template-columns: 1fr; gap: var(--s7); }
}

/* Long form content */
.hk-content { font-size: 1.0625rem; }
.hk-content > * { max-width: 68ch; }
.hk-content > .hk-figure, .hk-content > figure, .hk-content > table, .hk-content > .wp-block-table { max-width: none; }
.hk-content h2 {
	font-size: 1.9rem;
	margin: var(--s8) 0 var(--s4);
	padding-top: var(--s5);
	border-top: 1px solid var(--hk-line);
}
.hk-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.hk-content h3 { font-size: 1.35rem; margin: var(--s6) 0 var(--s3); }
.hk-content h4 { font-size: 1.1rem; margin: var(--s5) 0 var(--s2); font-family: var(--hk-body); font-weight: 600; letter-spacing: 0; }
.hk-content p { margin: 0 0 var(--s5); }
.hk-content ul, .hk-content ol { margin: 0 0 var(--s5); padding-left: var(--s5); }
.hk-content li { margin-bottom: var(--s2); }
.hk-content li::marker { color: var(--hk-plum); }
.hk-content blockquote {
	margin: var(--s6) 0;
	padding-left: var(--s5);
	border-left: 3px solid var(--hk-plum);
	font-family: var(--hk-display);
	font-size: 1.2rem;
	color: var(--hk-ink-soft);
}
.hk-content strong { font-weight: 600; }
.hk-content hr { border: 0; border-top: 1px solid var(--hk-line); margin: var(--s7) 0; }

.hk-figure { margin: 0 0 var(--s7); }
.hk-figure img { width: 100%; border-radius: var(--hk-radius); }
.hk-figure figcaption { margin-top: var(--s3); font-size: .85rem; color: var(--hk-muted); }

.hk-content table, .hk-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	margin: 0 0 var(--s5);
}
.hk-content th, .hk-content td {
	text-align: left;
	padding: 11px var(--s4);
	border-bottom: 1px solid var(--hk-line);
	vertical-align: top;
}
.hk-content thead th { background: var(--hk-sand); font-weight: 600; }
.hk-table-scroll, .hk-content .wp-block-table { overflow-x: auto; max-width: none; }

/* Sidebar */
.hk-sidebar { display: grid; gap: var(--s5); position: sticky; top: calc(var(--hk-head-h) + var(--s5)); }
@media (max-width: 980px) { .hk-sidebar { position: static; } }

.hk-submenu-box {
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	background: var(--hk-white);
	overflow: hidden;
}
.hk-submenu-title {
	font-family: var(--hk-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hk-plum);
	padding: var(--s4) var(--s5);
	margin: 0;
	background: var(--hk-sand);
	border-bottom: 1px solid var(--hk-line);
}
.hk-submenu { list-style: none; margin: 0; padding: var(--s2) 0; }
.hk-submenu a {
	display: block;
	padding: 9px var(--s5);
	font-size: .93rem;
	color: var(--hk-ink-soft);
	text-decoration: none;
	border-left: 2px solid transparent;
}
.hk-submenu a:hover, .hk-submenu a:focus-visible { background: var(--hk-blush); color: var(--hk-maroon); }
.hk-submenu .hk-current > a {
	color: var(--hk-maroon);
	font-weight: 600;
	border-left-color: var(--hk-maroon);
	background: var(--hk-maroon-tint);
}
.hk-submenu a[aria-disabled="true"] { color: var(--hk-muted); cursor: default; }

.hk-panel {
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	background: var(--hk-white);
	padding: var(--s5);
}
.hk-panel h2 {
	font-family: var(--hk-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hk-plum);
	margin: 0 0 var(--s4);
}
.hk-panel p { font-size: .94rem; color: var(--hk-muted); }
.hk-panel .hk-btn { width: 100%; }
.hk-panel .hk-actions { display: grid; gap: var(--s3); margin-top: var(--s4); }

.hk-cta-panel { background: var(--hk-maroon-tint); border-color: var(--hk-line-strong); }
.hk-cta-panel .hk-cta-phone {
	display: block;
	font-family: var(--hk-display);
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--hk-maroon);
	text-decoration: none;
	margin-bottom: var(--s2);
}

/* ==========================================================================
   11. Forms
   ========================================================================== */

.hk-form { display: grid; gap: var(--s4); max-width: 620px; margin-top: var(--s5); }
.hk-field { display: grid; gap: var(--s2); }
.hk-field label { font-size: .88rem; font-weight: 600; }
.hk-form input[type="text"],
.hk-form input[type="email"],
.hk-form input[type="tel"],
.hk-form textarea,
.hk-content input[type="search"],
.search-field {
	width: 100%;
	padding: 13px var(--s4);
	border: 1px solid var(--hk-line-strong);
	border-radius: var(--hk-radius-sm);
	background: var(--hk-white);
	font-family: var(--hk-body);
	font-size: 1rem;
	color: var(--hk-ink);
	min-height: 48px;
}
.hk-form textarea { min-height: 150px; resize: vertical; }
.hk-form input:focus, .hk-form textarea:focus { border-color: var(--hk-maroon); outline: 2px solid var(--hk-maroon); outline-offset: 0; }
.hk-form button, .search-submit {
	justify-self: start;
	min-height: 48px;
	padding: var(--s4) var(--s6);
	background: var(--hk-maroon);
	border: 1.5px solid var(--hk-maroon);
	border-radius: var(--hk-radius-sm);
	color: #fff;
	font-family: var(--hk-body);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}
.hk-form button:hover, .search-submit:hover { background: var(--hk-maroon-deep); border-color: var(--hk-maroon-deep); }
.hk-form-note { font-size: .86rem; color: var(--hk-muted); }
.hk-hp { position: absolute !important; left: -9999px; }

.hk-notice {
	padding: var(--s4) var(--s5);
	border-radius: var(--hk-radius-sm);
	border-left: 3px solid var(--hk-plum);
	background: var(--hk-blush);
	font-size: .95rem;
	margin-bottom: var(--s5);
}
.hk-notice-ok { border-left-color: #3f6b52; background: #eef4f0; }
.hk-notice-err { border-left-color: var(--hk-maroon); background: var(--hk-maroon-tint); }

.hk-searchform { display: flex; gap: var(--s2); max-width: 420px; }
.hk-searchform .search-field { flex: 1; }

/* ==========================================================================
   12. Search results, archives, 404
   ========================================================================== */

.hk-post-list { display: grid; gap: var(--s6); margin-top: var(--s6); }
.hk-post-card { border-bottom: 1px solid var(--hk-line); padding-bottom: var(--s6); max-width: 68ch; }
.hk-post-card:last-child { border-bottom: 0; padding-bottom: 0; }
.hk-post-card h2 { font-size: 1.5rem; margin: 0 0 var(--s2); padding: 0; border: 0; }
.hk-post-card h2 a { text-decoration: none; }
.hk-post-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hk-post-card p { margin: 0 0 var(--s3); }

.hk-meta {
	font-size: .84rem;
	color: var(--hk-muted);
	letter-spacing: .02em;
	margin: 0 0 var(--s3);
}

.hk-pagination { margin-top: var(--s7); }
.hk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--s2); }
.hk-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 var(--s3);
	border: 1px solid var(--hk-line-strong);
	border-radius: var(--hk-radius-sm);
	text-decoration: none;
	color: var(--hk-ink);
	font-size: .94rem;
}
.hk-pagination .page-numbers.current,
.hk-pagination .page-numbers:hover {
	background: var(--hk-maroon);
	border-color: var(--hk-maroon);
	color: #fff;
}

.hk-post-nav {
	margin-top: var(--s7);
	padding-top: var(--s5);
	border-top: 1px solid var(--hk-line);
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3) var(--s6);
	font-size: .94rem;
}
.hk-post-nav p { margin: 0; }

.hk-quicklinks {
	list-style: none;
	margin: var(--s5) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--s3);
	max-width: none;
}
.hk-quicklinks a {
	display: block;
	padding: var(--s4) var(--s5);
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	background: var(--hk-white);
	text-decoration: none;
	font-weight: 600;
	color: var(--hk-ink);
}
.hk-quicklinks a:hover { border-color: var(--hk-maroon); color: var(--hk-maroon); }

/* ==========================================================================
   13. Print
   ========================================================================== */

@media print {
	.hk-head, .hk-foot, .hk-bar, .hk-sidebar, .hk-skip, .hk-final { display: none !important; }
	body { font-size: 12pt; color: #000; padding-bottom: 0; }
	.hk-layout { grid-template-columns: 1fr; }
	a { text-decoration: none; color: #000; }
}
