/*
Theme Name: Turnbull
Theme URI: https://turnbulltractorworks.com/
Author: Turnbull Tractor Works
Description: Hand-written classic theme for Turnbull Tractor Works, a one-man tractor service in New Smyrna Beach, FL. Works with the ttw-core plugin for business settings, services, towns and the quote form.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: turnbull
*/

/* ==========================================================================
   Fonts (self-hosted, OFL; see assets/fonts/OFL-*.txt)
   ========================================================================== */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("assets/fonts/source-sans-3-latin-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
	font-weight: 600 700;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--lagoon: #0f3b3a;
	--palmetto: #2f6b4f;
	--sunrise: #f47b20;
	--shell: #f6efe2;
	--sand: #e4d5b7;
	--ink: #10201f;
	--white: #fff;
	--shell-dark: #ede3cf;
	--line: rgba(15, 59, 58, 0.55);
	--error: #a3261a;

	--font-head: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

	--wrap: 1180px;
	--wrap-narrow: 760px;
	--wrap-wide: 1000px;
	--gutter: 16px;
	--radius: 14px;
	--radius-lg: 22px;
	--section: 52px;
	--focus: var(--lagoon);
	--bar-h: 0px;

	/* Tokens consumed by the ttw-core plugin's form and button CSS. */
	--ttw-sunrise: var(--sunrise);
	--ttw-lagoon: var(--lagoon);
	--ttw-ink: var(--ink);
	--ttw-shell: var(--shell);
	--ttw-sand: var(--sand);
	--ttw-palmetto: var(--palmetto);
	--ttw-error: var(--error);
	--ttw-radius: 10px;

	color-scheme: light;
}
@media (min-width: 700px) {
	:root { --gutter: 28px; --section: 72px; }
}
@media (min-width: 1100px) {
	:root { --gutter: 32px; --section: 88px; }
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--shell);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem; /* 17px */
	line-height: 1.6;
	padding-bottom: var(--bar-h);
	overflow-wrap: break-word;
}
@media (min-width: 960px) {
	body { font-size: 1.125rem; } /* 18px */
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--palmetto); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--lagoon); }
p, ul, ol, dl, figure, blockquote { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--lagoon);
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem); }
h4 { font-size: 1.15rem; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 2px solid var(--sand); margin: 2em 0; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}
.band--lagoon, .site-footer, .action-bar, .menu-open .site-nav, .point--lead { --focus: var(--sunrise); }
.band--lagoon .panel { --focus: var(--lagoon); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link {
	position: absolute;
	left: 12px;
	top: -80px;
	z-index: 1000;
	background: var(--lagoon);
	color: var(--shell);
	font-family: var(--font-head);
	font-weight: 800;
	padding: 14px 18px;
	border-radius: 10px;
	text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--shell); --focus: var(--sunrise); }
.site-main:focus { outline: none; }

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.band--lagoon { background: var(--lagoon); color: var(--shell); }
.band--lagoon h1, .band--lagoon h2, .band--lagoon h3 { color: var(--shell); }
.band--lagoon a:not(.btn) { color: var(--shell); }
.band--sand { background: var(--sand); }
.band--sand a:not(.btn) { color: var(--lagoon); }
.band--shell-dark { background: var(--shell-dark); }
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid { gap: 22px; } }

.section-head { max-width: 46rem; margin-bottom: 28px; }
.section-head--row {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
}
.section-head--row .section-title { margin: 0; }
.section-title { margin-bottom: 0.45em; }
.section-title--sm { font-size: 1.35rem; margin-top: 2rem; }
.section-intro, .lead { font-size: 1.15em; line-height: 1.5; }
.section-intro { margin-bottom: 0; }
.section-more { margin: 26px 0 0; }
.eyebrow {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--palmetto);
	margin: 0 0 0.9em;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light, .band--lagoon .eyebrow { color: var(--sand); }

/* ==========================================================================
   Buttons, links, chips
   ========================================================================== */
.btn, :where(button[type="submit"], input[type="submit"]), .wp-block-button__link, .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 52px;
	padding: 0.7em 1.35em;
	border: 2px solid var(--ink);
	border-radius: 12px;
	background: var(--sunrise);
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 0 var(--ink);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover, :where(button[type="submit"], input[type="submit"]):hover, .wp-block-button__link:hover {
	color: var(--ink);
	background: #f68a36;
	transform: translateY(-1px);
	box-shadow: 0 5px 0 var(--ink);
}
.btn:active, :where(button[type="submit"], input[type="submit"]):active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 var(--ink);
}
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }
.btn--secondary {
	background: transparent;
	color: var(--lagoon);
	border-color: var(--lagoon);
	box-shadow: 0 4px 0 var(--lagoon);
}
.btn--secondary:hover { background: var(--white); color: var(--lagoon); box-shadow: 0 5px 0 var(--lagoon); }
.btn--light {
	background: transparent;
	color: var(--shell);
	border-color: var(--shell);
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.btn--light:hover { background: rgba(246, 239, 226, 0.1); color: var(--shell); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35); }
.band--lagoon .btn--primary { border-color: var(--ink); }
.btn--sm { min-height: 48px; padding: 0.55em 1em; font-size: 1rem; box-shadow: 0 3px 0 var(--ink); }
.btn--secondary.btn--sm { box-shadow: 0 3px 0 var(--lagoon); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.actions--center { justify-content: center; margin-top: 36px; }
.actions--stack { flex-direction: column; }
.actions--stack .btn { width: 100%; }
@media (max-width: 479px) {
	.actions .btn { flex: 1 1 100%; }
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 48px;
	font-family: var(--font-head);
	font-weight: 800;
	color: var(--lagoon);
	text-decoration: none;
}
.link-arrow .icon { width: 1.15em; height: 1.15em; transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1em; list-style: none; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	min-height: 36px;
	padding: 0.3em 0.85em;
	border-radius: 999px;
	background: var(--white);
	border: 1.5px solid var(--sand);
	color: var(--lagoon);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1.2;
	text-decoration: none;
}
.chip .icon { width: 1em; height: 1em; color: var(--palmetto); }
a.chip:hover { border-color: var(--lagoon); color: var(--lagoon); }
.chip.is-current { background: var(--lagoon); border-color: var(--lagoon); color: var(--shell); }
.chips--lg .chip { min-height: 48px; padding: 0.45em 1.1em; font-size: 1rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { display: flex; gap: 0.6em; align-items: flex-start; margin-bottom: 0.55em; }
.ticks .icon { flex: none; width: 1.3em; height: 1.3em; margin-top: 0.12em; color: var(--palmetto); }
.band--lagoon .ticks .icon { color: var(--sand); }

.icon { display: inline-block; vertical-align: middle; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	background: var(--shell);
	border-bottom: 2px solid var(--sand);
	position: relative;
	z-index: 50;
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 72px;
}
.site-logo { display: block; flex: none; line-height: 0; }
.header-logo img { height: 42px; width: auto; }
@media (min-width: 960px) {
	.header-inner { min-height: 84px; }
	.header-logo img { height: 50px; }
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid var(--lagoon);
	border-radius: 12px;
	background: transparent;
	color: var(--lagoon);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn--light { border-color: var(--shell); color: var(--shell); }

/* Primary nav: desktop */
.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	font-family: var(--font-head);
	font-weight: 700;
	text-decoration: none;
	color: var(--lagoon);
}
.site-nav .menu-item--quote { display: none; }
.site-nav__top, .site-nav__cta { display: none; }

@media (min-width: 960px) {
	.header-call, .menu-toggle { display: none; }
	.site-nav { margin-left: auto; }
	.site-nav .menu { display: flex; align-items: center; gap: 4px; }
	.site-nav .menu > li { position: relative; }
	.site-nav .menu > li > a {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 0 14px;
		border-radius: 10px;
		font-size: 1.02rem;
	}
	.site-nav .menu > li > a:hover,
	.site-nav .menu > .current-menu-item > a,
	.site-nav .menu > .current-menu-ancestor > a,
	.site-nav .menu > .current_page_item > a,
	.site-nav .menu > .current_page_ancestor > a { background: var(--shell-dark); }
	.site-nav .menu-item-has-children > a::after {
		content: "";
		width: 0.45em;
		height: 0.45em;
		margin-left: 0.45em;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}
	.site-nav .sub-menu {
		list-style: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 280px;
		margin: 0;
		padding: 10px;
		background: var(--white);
		border: 2px solid var(--sand);
		border-radius: var(--radius);
		box-shadow: 0 14px 30px rgba(16, 32, 31, 0.14);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
	}
	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
	.site-nav .sub-menu a {
		display: block;
		padding: 10px 12px;
		border-radius: 8px;
		font-weight: 600;
		font-family: var(--font-body);
	}
	.site-nav .sub-menu a:hover { background: var(--shell); }
	.header-actions { margin-left: 8px; }
}

/* Primary nav: phones (full-screen overlay when JS is on) */
@media (max-width: 959px) {
	.header-quote { display: none; }
	.js .site-nav { display: none; }
	.no-js .site-nav { order: 3; width: 100%; padding-bottom: 12px; }
	.no-js .header-inner { flex-wrap: wrap; }
	.no-js .menu-toggle { display: none; }
	.no-js .site-nav .menu { display: flex; flex-wrap: wrap; gap: 4px 18px; }
	.no-js .site-nav .sub-menu { display: none; }
	.no-js .site-nav .menu a { display: inline-flex; min-height: 44px; align-items: center; }

	.menu-open { overflow: hidden; }
	.js.menu-open .site-nav,
	.menu-open .site-nav {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 200;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--lagoon);
		color: var(--shell);
		padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
	}
	.menu-open .site-nav__top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 72px;
		margin-bottom: 8px;
		border-bottom: 1px solid rgba(246, 239, 226, 0.2);
	}
	.site-nav__logo img { height: 40px; width: auto; }
	.menu-open .site-nav .menu > li { border-bottom: 1px solid rgba(246, 239, 226, 0.15); }
	.menu-open .site-nav .menu a {
		display: flex;
		align-items: center;
		min-height: 56px;
		color: var(--shell);
		font-size: 1.45rem;
		font-weight: 800;
	}
	.menu-open .site-nav .sub-menu {
		list-style: none;
		margin: -6px 0 12px;
		padding: 0 0 0 14px;
		border-left: 2px solid var(--palmetto);
	}
	.menu-open .site-nav .sub-menu a {
		min-height: 44px;
		font-size: 1.05rem;
		font-weight: 600;
		font-family: var(--font-body);
		color: var(--sand);
	}
	.menu-open .site-nav__cta { display: grid; gap: 14px; margin-top: 24px; }
	.site-nav__cta .btn { width: 100%; }
	.site-nav__contact { display: grid; grid-template-columns: 1fr; gap: 10px; }
	.site-nav__contact .btn { padding-inline: 0.6em; font-size: 0.98rem; }
	.site-nav__hours { display: flex; align-items: center; gap: 0.5em; margin: 4px 0 0; color: var(--sand); }
	.site-nav__hours .icon { width: 1.2em; height: 1.2em; }
}

/* Minimal header (quote landing page) */
.header-phone {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 48px;
	padding: 0 14px;
	border: 2px solid var(--lagoon);
	border-radius: 12px;
	color: var(--lagoon);
	font-family: var(--font-head);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}
.header-phone .icon { width: 1.2em; height: 1.2em; }
@media (max-width: 420px) {
	.site-header--minimal .header-logo img { height: 34px; }
	.header-phone { padding: 0 10px; font-size: 0.95rem; }
}

/* ==========================================================================
   Home: hero
   ========================================================================== */
.hero { padding-block: 40px 48px; overflow: hidden; }
.hero__inner { display: grid; gap: 32px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 0.35em; }
.hero__title span { display: block; color: var(--sunrise); }
.hero__sub { font-size: 1.15em; line-height: 1.5; max-width: 36rem; color: var(--shell); }
.hero .eyebrow { line-height: 1.6; }
.hero__call { margin: 18px 0 0; color: var(--sand); }
.hero__call a { font-weight: 600; }
.hero__art .illustration,
.page-hero__art .illustration {
	width: 100%;
	border-radius: var(--radius-lg);
	border: 5px solid var(--shell);
	box-shadow: 0 10px 0 rgba(0, 0, 0, 0.22);
}
@media (max-width: 699px) {
	.hero__art .illustration { aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 70%; }
}
@media (min-width: 900px) {
	.hero { padding-block: 64px 80px; }
	.hero__inner { grid-template-columns: 1.08fr 0.92fr; gap: 48px; }
	.hero__art .illustration { transform: rotate(1.5deg); }
}

/* Trust strip */
.trust-strip { background: var(--shell); border-bottom: 2px solid var(--sand); }
.trust-strip__list {
	list-style: none;
	margin-block: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	padding-block: 20px;
}
.trust-strip__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.25;
	color: var(--lagoon);
}
.trust-strip__list .icon { flex: none; width: 30px; height: 30px; color: var(--palmetto); }
@media (min-width: 900px) {
	.trust-strip__list { display: flex; justify-content: space-between; padding-block: 24px; }
	.trust-strip__list li { font-size: 1.02rem; }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
	position: relative;
	background: var(--white);
	border: 2px solid var(--sand);
	border-radius: var(--radius);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--lagoon); transform: translateY(-2px); box-shadow: 0 6px 0 var(--sand); }
.card:focus-within { border-color: var(--lagoon); }
.card-title { margin: 0 0 0.35em; font-size: 1.22rem; }
.card-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--lagoon); text-decoration: none; }
/* Stretched link: the title link's ::after covers the whole card, so the card is the tap target. */
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
@supports not selector(:has(*)) {
	.card-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
}
.card-text { margin: 0; color: var(--ink); }
.card-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-top: 12px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--palmetto);
}
.card-more .icon { width: 1.1em; height: 1.1em; }
.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--shell);
	color: var(--palmetto);
	flex: none;
}
.card-icon .service-icon { width: 44px; height: 44px; }
.card-icon--sm { width: 44px; height: 44px; }
.card-icon--sm .icon { width: 24px; height: 24px; }
.si-fill { fill: currentColor; opacity: 0.16; stroke: none; }

.card--service, .card--town { padding: 18px; }
@media (max-width: 559px) {
	.card--service {
		display: grid;
		grid-template-columns: 56px 1fr;
		column-gap: 14px;
		align-items: start;
		padding: 14px 16px;
	}
	.card--service .card-icon { width: 56px; height: 56px; grid-row: span 3; }
	.card--service .card-icon .service-icon { width: 38px; height: 38px; }
	.card--service .card-title { font-size: 1.12rem; margin-top: 4px; }
	.card--service .card-more { display: none; }
}
@media (min-width: 560px) {
	.card--service { padding: 22px; }
	.card--service .card-icon { margin-bottom: 14px; }
}
.grid--services { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--services { grid-template-columns: repeat(4, 1fr); } }

.grid--towns { grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 560px) { .grid--towns { grid-template-columns: repeat(2, 1fr); } }
.card--town .card-icon { margin-bottom: 10px; }

.card--job { overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card-media img, .card-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-body { padding: 16px 18px 18px; }
.card-meta { margin: 0 0 10px; font-size: 0.92rem; color: var(--palmetto); }
.card--job .chips { margin: 0; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Home sections
   ========================================================================== */
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.point { background: var(--shell); border-radius: var(--radius); padding: 22px; }
.point p:last-child { margin-bottom: 0; }
.point__title { font-size: 1.25rem; margin-bottom: 0.4em; }
.point__icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--sand);
	color: var(--lagoon);
	margin-bottom: 12px;
}
.point__icon .icon { width: 28px; height: 28px; }
.point--lead { background: var(--lagoon); color: var(--shell); }
.point--lead .point__title { color: var(--shell); }
.point--lead .point__icon { background: var(--sunrise); color: var(--ink); }
.point__measure {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 12px;
	margin-top: 18px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sand);
}
.point__measure-bar {
	grid-column: 1 / -1;
	height: 16px;
	border: 2px solid var(--sand);
	border-radius: 4px;
	background: linear-gradient(90deg, var(--sunrise) 93.75%, transparent 93.75%);
}
@media (min-width: 900px) {
	.points { grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
	.point { padding: 28px; }
}

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; counter-reset: none; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--lagoon);
	color: var(--shell);
	font-family: var(--font-head);
	font-weight: 900;
	font-size: 1.5rem;
	box-shadow: 0 3px 0 var(--palmetto);
}
.step__title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--lagoon); margin: 0.55em 0 0.25em; line-height: 1.25; }
.step p:not(.step__title) { margin: 0; }
@media (min-width: 900px) {
	.how .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.how .step { flex-direction: column; }
	.how .step__num { width: 64px; height: 64px; font-size: 1.8rem; }
	.how .step__title { margin-top: 0.2em; }
	.band--sand .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.steps--compact { gap: 10px; margin: 0 0 1.5em; }
.steps--compact .step__num { width: 40px; height: 40px; font-size: 1.1rem; }
.steps--compact .step__title { margin-top: 0.4em; font-size: 1.05rem; }

.area__inner { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
	.area__inner { grid-template-columns: 1fr 0.85fr; gap: 56px; }
	.area__map--sticky { position: sticky; top: 24px; }
}
.area .chips { margin-top: 24px; }
.area__map { width: 100%; max-width: 460px; justify-self: center; }

.coast-map { margin: 0; background: var(--white); border: 2px solid var(--sand); border-radius: var(--radius-lg); padding: 10px; }
.coast-map svg { display: block; width: 100%; height: auto; border-radius: calc(var(--radius-lg) - 8px); }
.map-land { fill: var(--shell); }
.map-water { fill: var(--palmetto); fill-opacity: 0.3; }
.map-island { fill: var(--sand); }
.map-road { fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; }
.map-road--minor { stroke-width: 4; }
.map-road-label { font: 700 11px var(--font-head); fill: var(--palmetto); letter-spacing: 0.06em; }
.map-sea-label { font: italic 600 15px var(--font-body); fill: var(--lagoon); letter-spacing: 0.12em; opacity: 0.75; }
.map-sea-label--sm { font-size: 12px; }
.map-dot { fill: var(--lagoon); stroke: var(--shell); stroke-width: 3; }
.map-home { fill: var(--sunrise); stroke: var(--ink); stroke-width: 2.5; }
.map-label {
	font: 800 15px var(--font-head);
	fill: var(--lagoon);
	paint-order: stroke;
	stroke: var(--shell);
	stroke-width: 5px;
	stroke-linejoin: round;
}
.map-label--home { font-size: 17px; }
a.map-town:hover .map-label, a.map-town:focus-visible .map-label { fill: var(--palmetto); text-decoration: underline; }
a.map-town:focus-visible { outline: none; }
a.map-town:focus-visible .map-dot, a.map-town:focus-visible .map-home { stroke: var(--sunrise); stroke-width: 5; }

.about-teaser__inner { display: grid; gap: 28px; align-items: center; }
.about-teaser__art .illustration { width: 100%; border-radius: var(--radius-lg); border: 5px solid var(--white); }
@media (min-width: 900px) {
	.about-teaser__inner { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

.empty-panel {
	display: grid;
	gap: 0;
	background: var(--white);
	border: 2px solid var(--sand);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.empty-panel__art .illustration { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.empty-panel__body { padding: 22px; align-self: center; }
.empty-panel__text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.25; color: var(--lagoon); margin: 0; }
.empty-panel .actions { margin-top: 20px; }
@media (min-width: 760px) {
	.empty-panel { grid-template-columns: 1fr 1fr; }
	.empty-panel__art .illustration { aspect-ratio: auto; }
	.empty-panel__body { padding: 36px; }
}

.reviews .grid--reviews { grid-template-columns: 1fr; }
@media (min-width: 760px) { .reviews .grid--reviews { grid-template-columns: repeat(2, 1fr); } }
.review { margin: 0; padding: 24px; background: var(--white); border-radius: var(--radius); border: 2px solid var(--sand); }
.review blockquote { margin: 0 0 14px; font-size: 1.1em; }
.review figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--palmetto); }
.review figcaption strong { color: var(--lagoon); font-family: var(--font-head); }

/* FAQ */
.faq-list { border-top: 2px solid var(--sand); }
.faq-item { border-bottom: 2px solid var(--sand); }
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 14px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.12rem;
	line-height: 1.3;
	color: var(--lagoon);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; width: 28px; height: 28px; padding: 3px; border-radius: 50%; background: var(--sand); transition: transform 0.2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover span { text-decoration: underline; }
.faq-answer { padding: 0 44px 18px 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Quote band */
.quote-band { padding-block: var(--section); }
.quote-band__inner { display: grid; gap: 28px; align-items: start; }
.quote-band__alt { margin: 18px 0 0; color: var(--sand); }
.quote-band__alt a { font-weight: 600; }
@media (min-width: 960px) {
	.quote-band__inner { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
	.quote-band__intro { position: sticky; top: 24px; }
}
.panel {
	background: var(--white);
	color: var(--ink);
	border: 2px solid var(--sand);
	border-radius: var(--radius-lg);
	padding: 22px;
}
.band--lagoon .panel { border-color: transparent; box-shadow: 0 10px 0 rgba(0, 0, 0, 0.22); }
.band--lagoon .panel a:not(.btn) { color: var(--palmetto); }
.band--lagoon .panel h2, .band--lagoon .panel h3, .band--lagoon .panel h4 { color: var(--lagoon); }
@media (min-width: 700px) { .panel { padding: 30px; } }
.panel__title { font-size: 1.3rem; margin-bottom: 0.6em; }

.quote-fallback p { font-size: 1.1em; }

/* ==========================================================================
   Forms (generic: the quote form markup comes from ttw-core)
   ========================================================================== */
:where(label, legend) { display: block; font-weight: 600; color: var(--lagoon); margin-bottom: 6px; line-height: 1.35; }
:where(fieldset) { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
:where(input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"],
input[type="number"], input[type="date"], input[type="password"], select, textarea) {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 2px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: max(1rem, 17px); /* >= 16px stops iOS zoom */
	line-height: 1.35;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
:where(textarea) { min-height: 128px; resize: vertical; }
:where(select) {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3b3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 22px;
}
:where(input, select, textarea):focus {
	outline: none;
	border-color: var(--lagoon);
	box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.45);
}
:where(input[type="checkbox"], input[type="radio"]) { width: 22px; height: 22px; accent-color: var(--lagoon); margin: 0 8px 0 0; vertical-align: -5px; }
:where(input[type="file"]) { display: block; width: 100%; padding: 10px; border: 2px dashed var(--line); border-radius: 10px; background: var(--shell); font: inherit; }
:where(input[type="file"])::file-selector-button {
	margin-right: 12px;
	min-height: 44px;
	padding: 0 16px;
	border: 2px solid var(--lagoon);
	border-radius: 10px;
	background: var(--white);
	color: var(--lagoon);
	font-family: var(--font-head);
	font-weight: 800;
	cursor: pointer;
}
::placeholder { color: #5e6b69; opacity: 1; }
.quote-form-wrap .ttw-form { max-width: none; }
.quote-form-wrap .ttw-form__submit { width: 100%; }

.search-form { margin: 0 0 1.5em; }
.search-form__row { display: flex; gap: 10px; }
.search-form__input { flex: 1; min-width: 0; }
.search-form__submit { flex: none; }
@media (max-width: 420px) { .search-form__submit span { display: none; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { padding-block: 40px 48px; }
.page-hero__inner { display: grid; gap: 28px; align-items: center; }
.page-title { margin-bottom: 0.3em; }
.page-hero .lead { max-width: 40rem; color: var(--shell); }
.page-hero .actions { margin-top: 22px; }
.page-hero__art { max-width: 520px; }
@media (max-width: 699px) {
	.page-hero__art .illustration { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 70%; }
}
@media (min-width: 900px) {
	.page-hero { padding-block: 56px 64px; }
	.page-hero--art .page-hero__inner { grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
	.page-hero__art .illustration { transform: rotate(-1.5deg); }
}

/* Real photos in illustration panel slots: fixed ratio, cropped, centred focal point.
   Phone hero/page-hero ratios above still apply (more specific). */
.illustration--photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	background: var(--sand);
}
.hero__art .illustration--photo,
.page-hero__art .illustration--photo { object-position: center; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 14px; font-size: 0.95rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--sand); opacity: 0.7; }
.crumbs a { color: var(--sand); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.band--lagoon .crumbs a { color: var(--sand); }
.crumbs a:hover { text-decoration: underline; }

.service-body__inner { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) {
	.service-body__inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
	.good-for, .local-notes { position: sticky; top: 24px; }
}
.good-for__icon, .local-notes__icon {
	display: inline-flex;
	width: 64px;
	height: 64px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--shell);
	color: var(--palmetto);
	margin-bottom: 12px;
}
.good-for__icon .service-icon { width: 44px; height: 44px; }
.local-notes__icon .icon { width: 30px; height: 30px; }
.local-notes p:last-child { margin-bottom: 0; }

.service-links { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .service-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .service-links { grid-template-columns: repeat(4, 1fr); } }
.service-links--stack { grid-template-columns: 1fr !important; }
.service-links a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 10px 14px;
	background: var(--white);
	border: 2px solid var(--sand);
	border-radius: var(--radius);
	color: var(--lagoon);
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}
.service-links a:hover { border-color: var(--lagoon); }
.service-links .service-icon { flex: none; width: 40px; height: 40px; color: var(--palmetto); }

.callout {
	display: grid;
	gap: 14px;
	align-items: center;
	margin-top: 32px;
	padding: 22px;
	border-radius: var(--radius-lg);
	background: var(--sand);
}
.callout__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--shell); color: var(--lagoon); }
.callout__icon .icon { width: 28px; height: 28px; }
.callout__title { font-size: 1.3rem; margin-bottom: 0.25em; }
.callout p { margin: 0; }
@media (min-width: 760px) { .callout { grid-template-columns: auto 1fr auto; padding: 26px 30px; } }

.about-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) {
	.about-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
	.about-aside { position: sticky; top: 24px; }
}
.about-card__badge { width: 160px; height: 160px; margin: 0 auto 18px; }

.service-body__main { min-width: 0; }
.service-photo { margin: 32px 0 0; }
.service-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
	border-radius: var(--radius-lg);
}
.service-photo .illustration { border: 5px solid var(--white); box-shadow: 0 8px 0 var(--sand); }

/* Entry header for posts and plain pages */
.entry-header { padding-block: 40px 24px; }
.entry-title { margin-bottom: 0.25em; }
.entry-meta { color: var(--palmetto); margin: 0 0 14px; }
.entry-media { margin-bottom: 32px; }
.entry-media > img, .entry-media > a > img { width: 100%; border-radius: var(--radius-lg); }
.before-after-pair { display: grid; gap: 14px; }
@media (min-width: 700px) { .before-after-pair { grid-template-columns: 1fr 1fr; } }
.before-after-pair figure { margin: 0; position: relative; }
.before-after-pair figcaption {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 4px 10px;
	border-radius: 8px;
	background: var(--lagoon);
	color: var(--shell);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.job-details { margin: 32px 0; }
.job-details dl { margin: 0; display: grid; gap: 14px; }
.job-details dt { font-family: var(--font-head); font-weight: 800; color: var(--lagoon); }
.job-details dd { margin: 0; }
.equipment { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.equipment li { padding: 4px 12px; border-radius: 999px; background: var(--shell); border: 1.5px solid var(--sand); font-weight: 600; font-size: 0.95rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 32px 0 var(--section); padding-top: 24px; border-top: 2px solid var(--sand); }
.share__label { margin: 0 8px 0 0; font-family: var(--font-head); font-weight: 800; color: var(--lagoon); width: 100%; }
@media (min-width: 560px) { .share__label { width: auto; } }

.post-navigation { padding-block: 36px; }
.post-navigation .nav-links { display: grid; gap: 14px; }
@media (min-width: 700px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .post-navigation .nav-next { text-align: right; } }
.post-navigation a { display: block; padding: 16px 18px; border: 2px solid var(--sand); border-radius: var(--radius); background: var(--white); text-decoration: none; }
.post-navigation a:hover { border-color: var(--lagoon); }
.post-nav__label { display: block; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-head); font-weight: 800; color: var(--palmetto); }
.post-nav__title { display: block; font-family: var(--font-head); font-weight: 800; color: var(--lagoon); font-size: 1.1rem; }

.filter-chips { margin-bottom: 26px; }
.pagination, .posts-navigation { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 14px;
	border: 2px solid var(--sand);
	border-radius: 10px;
	background: var(--white);
	color: var(--lagoon);
	font-family: var(--font-head);
	font-weight: 800;
	text-decoration: none;
}
.page-numbers.current { background: var(--lagoon); border-color: var(--lagoon); color: var(--shell); }
a.page-numbers:hover { border-color: var(--lagoon); }
.page-numbers.dots { border: 0; background: none; }

.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.25s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid__label {
	position: absolute;
	inset: auto 0 0 0;
	padding: 24px 10px 8px;
	background: linear-gradient(transparent, rgba(16, 32, 31, 0.85));
	color: var(--shell);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.88rem;
	line-height: 1.25;
}

/* Quote landing page */
.quote-page { padding-block: 24px var(--section); }
.quote-page__inner { display: grid; gap: 20px; }
.quote-page .page-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin-bottom: 0.25em; }
.quote-page .lead { margin-bottom: 0.7em; }
.ticks--compact { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-weight: 600; font-size: 0.98rem; }
.ticks--compact li { margin: 0; }
.quote-page__art { display: none; }
.text-row { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--sand); }
.text-row p { margin: 0; }
.text-row a { color: var(--lagoon); font-weight: 600; }
.text-row__icon { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--shell); color: var(--lagoon); }
@media (max-width: 559px) {
	.quote-page__form.panel { padding: 18px 16px; margin-inline: calc(-1 * var(--gutter) + 6px); }
}
@media (min-width: 960px) {
	.quote-page { padding-top: 48px; }
	.quote-page__inner { grid-template-columns: 0.9fr 1.1fr; gap: 24px 56px; align-items: start; }
	.quote-page__intro { grid-row: span 2; position: sticky; top: 24px; }
	.quote-page__art { display: block; margin-top: 28px; }
	.quote-page__art .illustration { width: 100%; border-radius: var(--radius-lg); border: 5px solid var(--white); }
	.text-row { grid-column: 2; }
}

/* Thanks */
.thanks__card { text-align: left; }
.thanks__check { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--palmetto); color: var(--white); margin-bottom: 16px; }
.thanks__check .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.thanks__more { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 22px 0 0; }

.result-list { list-style: none; padding: 0; margin: 28px 0 0; }
.result { padding: 18px 0; border-bottom: 2px solid var(--sand); }
.result__title { font-size: 1.3rem; margin-bottom: 0.2em; }
.result__title a { color: var(--lagoon); text-decoration: none; }
.result__title a:hover { text-decoration: underline; }
.result__meta { color: var(--palmetto); font-size: 0.92rem; margin: 0 0 6px; }

/* ==========================================================================
   Block editor content
   ========================================================================== */
:where(.entry-content) > * { margin-block: 0 1.1em; }
:where(.entry-content) > :last-child { margin-bottom: 0; }
.entry-content h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content li::marker { color: var(--palmetto); }
/* :where() keeps these at type-selector weight so plugin components (.ttw-ba) win. */
:where(.entry-content) img { border-radius: var(--radius); height: auto; }
:where(.entry-content) figure { margin-inline: 0; }
:where(.entry-content) figcaption, .wp-element-caption { font-size: 0.92rem; color: #4a5856; margin-top: 8px; text-align: left; }
.entry-content blockquote, .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	border-left: 5px solid var(--palmetto);
	font-size: 1.12em;
}
.wp-block-quote cite { display: block; font-size: 0.85em; font-style: normal; color: var(--palmetto); margin-top: 6px; }
.wp-block-pullquote { border-block: 4px solid var(--sand); padding: 24px 0; text-align: center; }
.wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; font-size: 0.98rem; }
.entry-content th, .entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--sand); text-align: left; vertical-align: top; }
.entry-content th, .entry-content thead td { background: var(--lagoon); color: var(--shell); font-family: var(--font-head); font-weight: 700; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--shell); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--lagoon); border-color: var(--lagoon); box-shadow: 0 4px 0 var(--lagoon); }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.wp-block-gallery, .blocks-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; }
@media (min-width: 700px) { .wp-block-gallery.columns-3, .wp-block-gallery:not([class*="columns-"]) { grid-template-columns: repeat(3, 1fr); } }
.wp-block-gallery figure, .wp-block-gallery .wp-block-image { margin: 0; }
.wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.wp-block-image.aligncenter, .aligncenter { margin-inline: auto; text-align: center; }
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }
.wp-block-separator { border: 0; border-top: 2px solid var(--sand); }
.wp-block-embed iframe, .wp-embed-responsive .wp-has-aspect-ratio iframe { max-width: 100%; }
.has-lagoon-color { color: var(--lagoon); }
.has-palmetto-color { color: var(--palmetto); }
.has-ink-color { color: var(--ink); }
.has-shell-color { color: var(--shell); }
.has-white-color { color: var(--white); }
.has-lagoon-background-color { background-color: var(--lagoon); color: var(--shell); }
.has-palmetto-background-color { background-color: var(--palmetto); color: var(--white); }
.has-sunrise-background-color { background-color: var(--sunrise); color: var(--ink); }
.has-shell-background-color { background-color: var(--shell); }
.has-sand-background-color { background-color: var(--sand); }
.has-white-background-color { background-color: var(--white); }
.has-background { padding: 1.2em 1.4em; border-radius: var(--radius); }
@media (min-width: 1000px) {
	.wrap--narrow .entry-content .alignwide { margin-inline: -120px; max-width: none; }
}
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content .alignfull img { border-radius: 0; }
.entry-content--intro { max-width: 46rem; margin-bottom: 32px; font-size: 1.1em; }
.entry-content::after { content: ""; display: table; clear: both; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--lagoon); color: var(--sand); border-top: 6px solid var(--palmetto); padding-block: 56px 28px; font-size: 1rem; }
.site-footer a { color: var(--shell); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--shell); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; } }
.footer-logo img { height: 56px; width: auto; }
.footer-tagline { margin: 18px 0 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--shell); line-height: 1.2; }
.footer-about { max-width: 30rem; }
.footer-heading { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin: 0 0 12px; font-weight: 800; }
.footer-col .footer-heading:not(:first-child) { margin-top: 26px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-contact a, .footer-hours { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; }
.footer-contact .icon { width: 20px; height: 20px; color: var(--sand); flex: none; }
.footer-contact a { font-weight: 600; }
.footer-notes { display: grid; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(246, 239, 226, 0.18); }
@media (min-width: 900px) { .footer-notes { grid-template-columns: auto 1fr; gap: 32px; } }
.footer-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.footer-note .icon { flex: none; width: 22px; height: 22px; color: var(--sunrise); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 24px; padding-top: 12px; border-top: 1px solid rgba(246, 239, 226, 0.18); font-size: 0.92rem; }
.footer-bottom p { margin: 0; display: flex; align-items: center; min-height: 48px; line-height: 1.3; }
.footer-bottom a { display: inline-flex; min-height: 48px; align-items: center; }
.site-footer--minimal { padding-block: 32px 20px; }

/* ==========================================================================
   Sticky action bar (phones)
   ========================================================================== */
.action-bar { display: none; }
@media (max-width: 959px) {
	:root { --bar-h: calc(72px + env(safe-area-inset-bottom)); }
	.action-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 1fr 1fr 1.25fr;
		gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: var(--lagoon);
		box-shadow: 0 -6px 18px rgba(16, 32, 31, 0.22);
		transition: transform 0.2s ease;
	}
	.action-bar__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 56px;
		border-radius: 12px;
		border: 2px solid rgba(246, 239, 226, 0.55);
		color: var(--shell);
		font-family: var(--font-head);
		font-weight: 800;
		font-size: 1.02rem;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	.action-bar__btn .icon { width: 22px; height: 22px; flex: none; }
	.action-bar__btn:active { background: rgba(246, 239, 226, 0.12); }
	.action-bar__btn--primary { background: var(--sunrise); border-color: var(--sunrise); color: var(--ink); }
	.action-bar__btn--primary:active { background: #f68a36; }
	.menu-open .action-bar,
	.is-typing .action-bar,
	.form-in-view .action-bar { transform: translateY(110%); visibility: hidden; transition: transform 0.2s ease, visibility 0s linear 0.2s; }
}
@media print {
	.action-bar, .site-nav, .header-actions, .quote-band, .share { display: none !important; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.hero__art .illustration, .page-hero__art .illustration { transform: none; }
	.card:hover, .btn:hover { transform: none; }
}
