/*
Theme Name: The Tish Touch Modern
Theme URI: https://thetishtouch.com.au/
Author: The Tish Touch
Description: A modern responsive theme for The Tish Touch Professional Pet Styling.
Version: 1.0.0
Requires at least: 5.8
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: the-tish-touch-modern
*/

:root {
	--ink: #1d3447;
	--ink-soft: #587083;
	--blue: #275f86;
	--blue-deep: #143b5d;
	--blue-pale: #dceaf3;
	--cream: #f5f0e7;
	--paper: #fffdf8;
	--terracotta: #f07832;
	--terracotta-dark: #cf541c;
	--header-orange: #f07832;
	--header-orange-deep: #d4581d;
	--line: rgba(29, 52, 71, 0.13);
	--shadow: 0 22px 65px rgba(20, 59, 93, 0.12);
	--serif: Georgia, "Times New Roman", serif;
	--sans: "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

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

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

a {
	color: inherit;
}

button,
summary {
	font: inherit;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: -5rem;
	z-index: 100000;
	border-radius: 999px;
	background: var(--paper);
	padding: 0.65rem 1rem;
	color: var(--blue-deep);
	box-shadow: var(--shadow);
	transition: top 160ms ease;
}

.skip-link:focus {
	top: 1rem;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(240, 120, 50, 0.98);
	color: #fff;
	backdrop-filter: blur(14px);
}

.header-inner {
	width: min(1180px, calc(100% - 2rem));
	min-height: 84px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 265px;
	text-decoration: none;
}

.brand-mark {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 9px 26px rgba(0, 0, 0, 0.2);
}

.brand-copy {
	max-width: 230px;
	font-family: var(--serif);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -0.01em;
}

.desktop-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.15rem;
	margin-left: auto;
}

.nav-link {
	position: relative;
	border-radius: 999px;
	padding: 0.62rem 0.72rem;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.77rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	transform: translateY(-1px);
}

.social-nav {
	display: flex;
	gap: 0.45rem;
	margin-left: 0.4rem;
}

.social-link {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	text-transform: lowercase;
	transition: background 150ms ease, border-color 150ms ease;
}

.social-link:hover,
.social-link:focus-visible {
	border-color: var(--blue-deep);
	background: var(--blue-deep);
}

.mobile-menu {
	display: none;
	margin-left: auto;
}

.mobile-menu summary {
	cursor: pointer;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	padding: 0.58rem 0.9rem;
	font-size: 0.82rem;
	font-weight: 700;
}

.mobile-menu summary::-webkit-details-marker {
	display: none;
}

.mobile-panel {
	position: absolute;
	top: calc(100% + 1px);
	left: 0;
	right: 0;
	display: grid;
	gap: 0.35rem;
	padding: 1rem;
	background: var(--header-orange-deep);
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.22);
}

.mobile-panel .nav-link {
	padding: 0.75rem 0.85rem;
}

.mobile-socials {
	display: flex;
	gap: 0.5rem;
	padding: 0.55rem 0.85rem 0.2rem;
}

.page-hero {
	position: relative;
	isolation: isolate;
	min-height: 300px;
	display: grid;
	place-items: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
	background:
		linear-gradient(120deg, rgba(20, 59, 93, 0.93), rgba(39, 95, 134, 0.72)),
		url("https://thetishtouch.com.au/wp-content/uploads/2021/07/TTTopaque10-scaled.jpg") center 42% / cover;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	z-index: -1;
	height: 34%;
	background: linear-gradient(to top, rgba(20, 59, 93, 0.32), transparent);
}

.hero-content {
	width: min(900px, calc(100% - 2rem));
	padding: 4.5rem 0;
}

.page-hero h1 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2.9rem, 7vw, 5.8rem);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.045em;
	text-wrap: balance;
	text-shadow: 0 3px 26px rgba(0, 0, 0, 0.24);
}

.breadcrumb {
	margin: 1.35rem 0 0;
	color: rgba(255, 255, 255, 0.83);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.breadcrumb a {
	text-decoration: none;
}

.breadcrumb span {
	margin: 0 0.58rem;
	color: #ffd0b3;
}

.site-main {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 5rem 0 6.5rem;
}

.content-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 30px;
	background: var(--paper);
	box-shadow: var(--shadow);
}

.review-summary {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 2rem 2.2rem;
	border-bottom: 1px solid var(--line);
	background: linear-gradient(135deg, #fffdf8 0%, #eaf3f8 100%);
}

.review-logo,
.post-avatar {
	border: 1px solid rgba(29, 52, 71, 0.15);
	border-radius: 50%;
	object-fit: cover;
}

.review-logo {
	width: 68px;
	height: 68px;
}

.review-summary-copy {
	min-width: 0;
}

.review-summary h2 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.35rem, 3vw, 2rem);
	line-height: 1.15;
}

.review-count {
	margin: 0.35rem 0 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
}

.button-link,
.load-more summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--terracotta);
	padding: 0.72rem 1.15rem;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(240, 120, 50, 0.25);
	transition: background 150ms ease, transform 150ms ease;
}

.button-link {
	margin-left: auto;
}

.button-link:hover,
.button-link:focus-visible,
.load-more summary:hover,
.load-more summary:focus-visible {
	background: var(--terracotta-dark);
	transform: translateY(-1px);
}

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

.review-card {
	min-width: 0;
	padding: 2rem 2.15rem;
	border-bottom: 1px solid var(--line);
}

.review-card:nth-child(odd) {
	border-right: 1px solid var(--line);
}

.review-card:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.review-meta {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.review-initial {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--blue-pale);
	color: var(--blue-deep);
	font-family: var(--serif);
	font-size: 1.05rem;
	font-weight: 700;
}

.review-name {
	margin: 0;
	font-weight: 800;
	line-height: 1.25;
}

.review-date,
.review-source {
	margin: 0.2rem 0 0;
	color: var(--ink-soft);
	font-size: 0.76rem;
	line-height: 1.35;
}

.stars {
	margin: 1rem 0 0.65rem;
	color: #df9d35;
	font-size: 1rem;
	letter-spacing: 0.12em;
}

.review-text {
	margin: 0;
	color: #304a5e;
	line-height: 1.72;
}

.load-more {
	border-top: 1px solid var(--line);
	padding: 1.4rem 2rem 1.8rem;
	text-align: center;
}

.load-more summary {
	cursor: pointer;
	list-style: none;
}

.load-more summary::-webkit-details-marker {
	display: none;
}

.load-more[open] summary {
	display: none;
}

.load-more .reviews-grid {
	margin: -1.4rem -2rem 1.6rem;
	text-align: left;
}

.location-frame {
	display: block;
	width: 100%;
	min-height: 620px;
	border: 0;
	background: #fff;
}

.news-feed {
	display: grid;
	gap: 1.4rem;
}

.news-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: var(--paper);
	box-shadow: 0 14px 42px rgba(20, 59, 93, 0.08);
}

.news-card-header {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.45rem 1.7rem 1rem;
}

.post-avatar {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
}

.post-title {
	margin: 0;
	font-weight: 800;
	line-height: 1.25;
}

.post-time {
	margin: 0.2rem 0 0;
	color: var(--ink-soft);
	font-size: 0.78rem;
}

.news-copy {
	padding: 0.5rem 1.7rem 1.35rem;
}

.news-copy p {
	margin: 0 0 0.95rem;
}

.news-copy p:last-of-type {
	margin-bottom: 0;
}

.see-more {
	color: var(--ink-soft);
	font-size: 0.82rem;
}

.post-media-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 1.7rem 1rem;
	color: var(--terracotta-dark);
	font-weight: 800;
	text-decoration: none;
}

.post-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	padding: 1rem 1.7rem;
	border-top: 1px solid var(--line);
	background: #fbf8f1;
	color: var(--ink-soft);
	font-size: 0.8rem;
}

.post-actions a {
	font-weight: 700;
	text-decoration: none;
}

.post-actions a:hover,
.post-actions a:focus-visible {
	color: var(--terracotta-dark);
	text-decoration: underline;
}

.appointment-notice,
.pricing-intro,
.generic-content {
	padding: clamp(1.7rem, 4vw, 3rem);
}

.appointment-notice p,
.pricing-intro p,
.generic-content > * {
	margin-top: 0;
	margin-bottom: 1.15rem;
}

.appointment-notice p:last-child,
.pricing-intro p:last-child,
.generic-content > *:last-child {
	margin-bottom: 0;
}

.appointment-notice a,
.pricing-intro a,
.generic-content a {
	color: var(--terracotta-dark);
	font-weight: 800;
	text-underline-offset: 0.18em;
}

.generic-content h2 {
	font-family: var(--serif);
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.2;
}

.pricing-section {
	margin-top: 1.6rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: var(--paper);
	box-shadow: 0 14px 42px rgba(20, 59, 93, 0.08);
}

.pricing-section h2 {
	margin: 0;
	padding: 1.35rem 1.6rem;
	background: var(--blue);
	color: #fff;
	font-family: var(--serif);
	font-size: clamp(1.15rem, 3vw, 1.55rem);
	font-weight: 500;
	line-height: 1.25;
}

.table-scroll {
	overflow-x: auto;
}

.pricing-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 0.9rem;
	line-height: 1.5;
}

.pricing-table th,
.pricing-table td {
	padding: 1rem 1.15rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.pricing-table th {
	background: #e9f2f8;
	color: var(--blue-deep);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
	width: 16%;
	font-weight: 800;
}

.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2) {
	width: 12%;
	white-space: nowrap;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
	width: 15%;
	white-space: nowrap;
	color: var(--terracotta-dark);
	font-weight: 800;
}

.pricing-table tr:last-child td {
	border-bottom: 0;
}

.directions {
	background: var(--blue-deep);
	color: #fff;
}

.directions-inner {
	width: min(1180px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
	align-items: stretch;
}

.directions-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3.25rem clamp(1.25rem, 5vw, 4rem);
	background:
		radial-gradient(circle at top left, rgba(240, 120, 50, 0.34), transparent 55%),
		var(--blue-deep);
}

.directions h2 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 500;
	letter-spacing: -0.03em;
}

.directions-map {
	width: 100%;
	min-height: 390px;
	border: 0;
	filter: saturate(0.8) contrast(1.03);
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 88px;
	padding: 1rem 5rem;
	background: #0d2c47;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.78rem;
	text-align: center;
}

.site-footer a {
	text-underline-offset: 0.18em;
}

.top-link {
	position: fixed;
	right: 1.15rem;
	bottom: 1.15rem;
	z-index: 30;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--terracotta);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(20, 59, 93, 0.25);
}

.top-link:hover,
.top-link:focus-visible {
	background: var(--terracotta-dark);
}

@media (max-width: 1040px) {
	.desktop-nav,
	.header-inner > .social-nav {
		display: none;
	}

	.mobile-menu {
		display: block;
	}
}

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

@media (max-width: 760px) {
	.header-inner {
		min-height: 74px;
	}

	.brand {
		min-width: 0;
		gap: 0.65rem;
	}

	.brand-mark {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
	}

	.brand-copy {
		max-width: 180px;
		font-size: 0.88rem;
	}

	.page-hero {
		min-height: 260px;
	}

	.hero-content {
		padding: 3.6rem 0;
	}

	.site-main {
		width: min(100% - 1.2rem, 1120px);
		padding: 3rem 0 4rem;
	}

	.content-card,
	.news-card,
	.pricing-section {
		border-radius: 20px;
	}

	.review-summary {
		align-items: flex-start;
		flex-wrap: wrap;
		padding: 1.45rem;
	}

	.review-logo {
		width: 56px;
		height: 56px;
	}

	.button-link {
		width: 100%;
		margin-left: 0;
	}

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

	.review-card {
		padding: 1.55rem;
		border-right: 0 !important;
		border-bottom: 1px solid var(--line) !important;
	}

	.review-card:last-child {
		border-bottom: 0 !important;
	}

	.location-frame {
		min-height: 480px;
	}

	.news-card-header,
	.news-copy,
	.post-actions {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.post-media-link {
		margin-left: 1.25rem;
	}

	.directions-inner {
		grid-template-columns: 1fr;
	}

	.directions-copy {
		min-height: 180px;
		text-align: center;
	}

	.directions-map {
		min-height: 330px;
	}

	.site-footer {
		padding: 1rem 4.5rem 1rem 1rem;
	}
}

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

