/* ==========================================================================
   OKC Reef — main stylesheet
   Plain CSS, custom properties, fluid type. Mobile-first.
   Brand colors come from theme.json presets (single source).

   1. Tokens          6. Hero              11. FAQ
   2. Base            7. Router            12. Band + CTA
   3. Layout          8. Sections          13. Footer
   4. Buttons/links   9. Audiences         14. Utilities + placeholders
   5. Header/nav     10. Process           15. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--okc-charcoal: var(--wp--preset--color--charcoal, #0b0b0d);
	--okc-white: var(--wp--preset--color--white, #f7f7f7);
	--okc-coral: var(--wp--preset--color--coral, #ec018c);
	--okc-slate: var(--wp--preset--color--slate, #2a2a2e);
	--okc-purple: var(--wp--preset--color--purple, #6a2bff);

	/* Derived. Text contrast on charcoal: body 15:1+, muted ~9:1, coral 4.6:1. */
	--okc-text: rgb(247 247 247 / 0.88);
	--okc-muted: #b4b4bc;
	--okc-line: rgb(247 247 247 / 0.14);
	--okc-line-strong: rgb(247 247 247 / 0.3);
	--okc-coral-hover: #ff2a9f;

	--okc-font: var(--wp--preset--font-family--montserrat, Montserrat, ui-sans-serif, system-ui, sans-serif);

	/* Type scale: small → display. */
	--okc-step--1: 0.9375rem;
	--okc-step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--okc-step-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
	--okc-step-2: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
	--okc-step-3: clamp(2rem, 1.3rem + 3vw, 4.25rem);
	--okc-step-4: clamp(2.5rem, 1.4rem + 5vw, 6rem);
	--okc-step-5: clamp(3rem, 1.1rem + 8.4vw, 9.5rem);

	/* Space. */
	--okc-gutter: clamp(1.25rem, 0.8rem + 2.4vw, 3rem);
	/* Three density levels (vertical rhythm):
	   A  major editorial moment (reef photo moment, photo bands, polar bears)
	   B  story / sales section (the default)
	   C  information / utility (process steps, audiences, service area, FAQs) */
	--okc-space-a: clamp(4rem, 2.5rem + 4.6vw, 7.5rem);
	--okc-space-b: clamp(3.5rem, 2.5rem + 3.4vw, 6.25rem);
	--okc-space-c: clamp(2.75rem, 2rem + 2.2vw, 4.25rem);
	--okc-section: var(--okc-space-b);
	--okc-flow: 1.5rem;
	--okc-wide: 82rem;
	--okc-measure: 40rem;

	--okc-radius: 0.25rem;
	--okc-header-h: 4.5rem;
	--okc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--okc-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M0 8h21M15 2l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--okc-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--okc-charcoal);
	color: var(--okc-white);
	font-family: var(--okc-font);
	font-size: var(--okc-step-0);
	font-weight: 450;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

p,
ul,
ol,
dl,
figure {
	margin: 0;
}

p {
	text-wrap: pretty;
}

a {
	color: inherit;
	text-decoration-line: underline;
	text-decoration-color: var(--okc-coral);
	text-decoration-thickness: 0.09em;
	text-underline-offset: 0.22em;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--okc-coral);
}

:focus-visible {
	outline: 3px solid var(--okc-coral);
	outline-offset: 3px;
	border-radius: 2px;
}

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

.site-main:focus {
	outline: none;
}

/* 3. Layout ---------------------------------------------------------------- */

/*
 * Every content section is <section.okc-section> > <div.okc-section__inner>.
 * The inner wrapper is the wide, left-aligned column.
 */
.okc-section {
	--okc-pad: var(--okc-space-b);
	padding: var(--okc-pad) var(--okc-gutter);
}

/* Level C: information sections are noticeably tighter and quick to scan. */
.okc-section.okc-audiences,
.okc-section.okc-process,
.okc-section.okc-tone,
.okc-section.okc-location,
.okc-section.okc-faq,
.okc-section.okc-assess {
	--okc-pad: var(--okc-space-c);
}

.site-main :is(.okc-audiences, .okc-process, .okc-tone, .okc-location, .okc-faq) .okc-section__inner > h2 + * {
	margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem);
}

/* Phones: list items in information sections sit a little closer together. */
@media (max-width: 47.99rem) {
	.site-main .okc-audiences__grid > * {
		padding-block: 1.15rem 1.25rem;
	}

	.okc-section .okc-steps li {
		padding-block: 1.1rem;
	}

	.okc-section .okc-steps--compact li {
		padding-block: 0.9rem;
	}
}

/* Level A: the editorial moments get the generous spacing. */
.okc-section.okc-band--photo,
.okc-section.okc-aside--photo {
	--okc-pad: var(--okc-space-a);
}

.okc-section + .okc-section {
	padding-top: 0;
}

.okc-section__inner {
	max-width: var(--okc-wide);
	margin-inline: auto;
}

/* Vertical rhythm (beats core's low-specificity flow-layout margins). */
.site-main .okc-section__inner > * {
	margin-block: 0;
}

.site-main .okc-section__inner > * + * {
	margin-block-start: var(--okc-flow);
}

.site-main .okc-section__inner > h2 + * {
	margin-block-start: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

.okc-section h2 {
	font-size: var(--okc-step-3);
	max-width: 18ch;
}

.okc-section p,
.okc-section li {
	color: var(--okc-text);
	max-width: var(--okc-measure);
}

.is-style-okc-lead {
	font-size: var(--okc-step-1);
	line-height: 1.5;
	font-weight: 500;
	color: var(--okc-white) !important;
	max-width: 36ch;
}

/* Split: heading left, body right (desktop). */
@media (min-width: 60rem) {
	.okc-split .okc-section__inner {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		column-gap: clamp(3rem, 6vw, 7rem);
		align-items: start;
	}

	.site-main .okc-split .okc-section__inner > * + * {
		margin-block-start: 0;
	}

	.okc-split h2 {
		position: sticky;
		top: calc(var(--okc-header-h) + 2rem);
	}
}

.site-main .okc-split__body > * + * {
	margin-block-start: var(--okc-flow);
}

/* 4. Buttons and links ----------------------------------------------------- */
.okc-button,
.site-main .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 3.25rem;
	padding: 0.95rem 1.5rem;
	border: 0;
	border-radius: var(--okc-radius);
	background: var(--okc-coral);
	color: var(--okc-charcoal);
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.okc-button:hover,
.site-main .wp-block-button__link:hover {
	background: var(--okc-coral-hover);
	color: var(--okc-charcoal);
}

.okc-button:active,
.site-main .wp-block-button__link:active {
	transform: translateY(1px);
}

.okc-button:focus-visible,
.site-main .wp-block-button__link:focus-visible {
	outline-color: var(--okc-white);
}

.okc-button--small {
	min-height: 2.75rem;
	padding: 0.7rem 1.1rem;
	font-size: 0.9375rem;
}

/* Secondary button: outline, white text. */
.site-main .is-style-okc-secondary .wp-block-button__link {
	background: transparent;
	color: var(--okc-white);
	box-shadow: inset 0 0 0 2px var(--okc-line-strong);
}

.site-main .is-style-okc-secondary .wp-block-button__link:hover {
	box-shadow: inset 0 0 0 2px var(--okc-coral);
	color: var(--okc-white);
}

.okc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* Arrow link. The arrow is drawn with a CSS mask, not a font glyph. */
.is-style-okc-arrow a {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	color: var(--okc-coral);
	font-weight: 700;
	text-decoration: none;
}

.is-style-okc-arrow a::after {
	content: "";
	flex: none;
	width: 1.15em;
	height: 0.8em;
	background: currentColor;
	-webkit-mask: var(--okc-arrow) center / contain no-repeat;
	mask: var(--okc-arrow) center / contain no-repeat;
	transition: transform 0.2s var(--okc-ease);
}

.is-style-okc-arrow a:hover {
	color: var(--okc-coral-hover);
}

.is-style-okc-arrow a:hover::after {
	transform: translateX(0.25em);
}

/* 5. Header and navigation ------------------------------------------------- */
.skip-link {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--okc-white);
	color: var(--okc-charcoal);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(11 11 13 / 0.9);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--okc-line);
}

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

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

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

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	max-width: calc(var(--okc-wide) + 2 * var(--okc-gutter));
	min-height: var(--okc-header-h);
	margin-inline: auto;
	padding: 0.5rem var(--okc-gutter);
}

.site-brand {
	margin-inline-end: auto;
	text-decoration: none;
}

.site-brand__wordmark {
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-brand__logo {
	display: block;
	width: auto;
	max-width: min(15rem, 48vw);
	max-height: 3.25rem;
}

@media (min-width: 64rem) {
	:root {
		--okc-header-h: 5rem;
	}

	.site-brand__logo {
		max-width: 18rem;
		max-height: 4rem;
	}
}

.okc-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

.nav-toggle,
.nav-close {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--okc-line-strong);
	border-radius: var(--okc-radius);
	background: transparent;
	color: var(--okc-white);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.nav-toggle:hover,
.nav-close:hover {
	border-color: var(--okc-white);
}

/* Base nav (also the no-popover fallback): a plain list under the header. */
.site-nav {
	flex-basis: 100%;
	color: var(--okc-white);
}

.site-nav__list,
.site-nav__sub {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__link,
.site-nav__sublink {
	display: flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.6rem 0;
	font-weight: 600;
	text-decoration: none;
}

.site-nav__link[aria-current="page"],
.site-nav__sublink[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--okc-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.4em;
}

/* Mobile and no-popover fallback show the expanded group; desktop shows the dropdown. */
.nav-disclosure {
	display: none;
}

.site-nav__group-label {
	padding-top: 0.6rem;
	color: var(--okc-muted);
	font-size: 0.875rem;
	font-weight: 600;
}

.nav-disclosure > summary {
	cursor: pointer;
	list-style: none;
}

.nav-disclosure > summary::-webkit-details-marker {
	display: none;
}

.nav-disclosure > summary .okc-icon {
	width: 1em;
	height: 1em;
	transition: transform 0.2s var(--okc-ease);
}

.nav-disclosure[open] > summary .okc-icon {
	transform: rotate(180deg);
}

.is-current-group > .nav-disclosure > summary {
	color: var(--okc-white);
	text-decoration: underline;
	text-decoration-color: var(--okc-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.4em;
}

.nav-close,
.site-nav__extras {
	display: none;
}

.site-header__actions {
	display: none;
	align-items: center;
	gap: 1.25rem;
}

.site-header__phone {
	display: none;
	align-items: center;
	gap: 0.45rem;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	white-space: nowrap;
}

@media (min-width: 40rem) {
	.site-header__actions {
		display: flex;
	}
}

/* Popover-capable browsers: the nav becomes a full-screen panel on small screens. */
@supports selector(:popover-open) {
	@media (max-width: 63.99rem) {
		.site-nav:popover-open {
			position: fixed;
			inset: 0;
			width: 100%;
			max-width: none;
			height: 100dvh;
			max-height: none;
			margin: 0;
			padding: 1rem var(--okc-gutter) 2.5rem;
			border: 0;
			overflow-y: auto;
			background: var(--okc-charcoal);
			color: var(--okc-white);
			display: flex;
			flex-direction: column;
			gap: 1.5rem;
		}

		.site-nav::backdrop {
			background: rgb(11 11 13 / 0.6);
		}

		.site-nav:popover-open .nav-close {
			display: inline-flex;
			align-self: flex-end;
		}

		.site-nav:popover-open .site-nav__link,
		.site-nav:popover-open .site-nav__sublink {
			padding-block: 0.7rem;
			font-size: var(--okc-step-2);
			font-weight: 700;
			letter-spacing: -0.02em;
		}

		.site-nav:popover-open .site-nav__list > li {
			border-bottom: 1px solid var(--okc-line);
		}

		.site-nav:popover-open .site-nav__sub {
			padding: 0 0 0.75rem;
		}

		.site-nav:popover-open .site-nav__group-label {
			padding-top: 1rem;
		}

		.site-nav:popover-open .site-nav__sublink {
			font-size: var(--okc-step-1);
			font-weight: 600;
			color: var(--okc-text);
		}

		.site-nav:popover-open .site-nav__extras {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			gap: 1rem;
			margin-top: auto;
			padding-top: 1.5rem;
		}

		.site-nav__phone {
			font-size: var(--okc-step-1);
			font-weight: 600;
		}
	}
}

/* Desktop: inline nav. Overrides the UA popover styles (author styles win). */
@media (min-width: 64rem) {
	.site-header__inner {
		flex-wrap: nowrap;
	}

	.nav-toggle {
		display: none;
	}

	.site-nav {
		position: static;
		inset: auto;
		display: block;
		flex-basis: auto;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		border: 0;
		overflow: visible;
		background: transparent;
	}

	.site-nav__list {
		display: flex;
		align-items: center;
		gap: clamp(1.25rem, 2.2vw, 2.25rem);
	}

	.nav-disclosure {
		display: block;
	}

	.site-nav__group {
		display: none;
	}

	.site-nav__link {
		font-size: 0.9375rem;
	}

	.nav-disclosure {
		position: relative;
	}

	.site-nav__sub {
		position: absolute;
		top: calc(100% + 0.9rem);
		left: -1rem;
		z-index: 60;
		min-width: 16.5rem;
		padding: 0.5rem;
		border: 1px solid var(--okc-line);
		border-radius: 0.375rem;
		background: var(--okc-slate);
		box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.45);
	}

	.site-nav__sublink {
		padding: 0.65rem 0.75rem;
		border-radius: var(--okc-radius);
		font-size: 0.9375rem;
	}

	.site-nav__sublink:hover {
		background: rgb(247 247 247 / 0.06);
		color: var(--okc-white);
	}
}

@media (min-width: 76rem) {
	.site-header__phone {
		display: inline-flex;
	}
}

/* Breadcrumbs: subtle, above the hero. */
.okc-breadcrumbs {
	max-width: calc(var(--okc-wide) + 2 * var(--okc-gutter));
	margin-inline: auto;
	padding: 1.25rem var(--okc-gutter) 0;
	font-size: 0.875rem;
	color: var(--okc-muted);
}

.okc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.okc-breadcrumbs li + li::before {
	content: "/";
	margin-inline-end: 0.5rem;
	color: var(--okc-line-strong);
}

.okc-breadcrumbs a {
	text-decoration: none;
}

.okc-breadcrumbs a:hover {
	color: var(--okc-white);
	text-decoration: underline;
}

/* 6. Hero ------------------------------------------------------------------ */
.okc-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	overflow: hidden;
	padding: clamp(3rem, 2rem + 4.5vw, 6.5rem) var(--okc-gutter) clamp(2.75rem, 1.75rem + 3.5vw, 5rem);
}

/* Without a photo: a faint, living glow (purple + coral), never neon. */
.okc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		radial-gradient(55rem 38rem at 88% 8%, rgb(106 43 255 / 0.16), transparent 62%),
		radial-gradient(36rem 28rem at 100% 70%, rgb(236 1 140 / 0.09), transparent 60%);
}

/* Full-height only when there's a photo to show; typographic heroes size to content. */
.okc-hero--home.has-media {
	min-height: min(56rem, calc(100svh - var(--okc-header-h)));
}

.okc-hero--home:not(.has-media) {
	padding-top: clamp(4rem, 2rem + 9vw, 11rem);
}

.okc-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.okc-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * Hero photography (Photography box → Hero layout).
 *
 * Phones (and tablets for "beside"): the photo sits in its own box, never
 * behind the text, so a landscape subject isn't forced into a tall crop.
 * The box has a fixed shape, so nothing shifts while the photo loads.
 * "What to keep in view" sets object-position on the image.
 */
.okc-hero.has-media .okc-hero__media {
	position: relative;
	inset: auto;
	z-index: auto;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin-inline: calc(var(--okc-gutter) * -1);
}

.okc-hero.has-media .okc-hero__img {
	position: absolute;
	inset: 0;
}

/* Homepage on phones: photo first, edge to edge, fading into the page. */
.okc-hero--home.has-media {
	min-height: 0;
	padding-top: 0;
}

.okc-hero--home.has-media .okc-hero__media {
	order: -1;
	margin-bottom: clamp(1.75rem, 1rem + 3vw, 2.5rem);
}

.okc-hero--home.has-media .okc-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, var(--okc-charcoal) 0%, rgb(11 11 13 / 0) 28%);
}

/* Interior pages: heading first, then the photo, flush with the page below. */
.okc-hero--standard.has-media .okc-hero__media {
	order: 2;
	margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
	margin-bottom: calc(clamp(2.75rem, 1.75rem + 3.5vw, 5rem) * -1);
	aspect-ratio: 3 / 2;
}

.okc-hero--standard.has-media {
	grid-template-rows: auto auto;
}

/* Photo behind the text (tablet and up). */
@media (min-width: 48rem) {
	.okc-hero.has-media.okc-hero--overlay-left .okc-hero__media,
	.okc-hero.has-media.okc-hero--overlay-right .okc-hero__media {
		position: absolute;
		inset: 0;
		z-index: -2;
		aspect-ratio: auto;
		margin: 0;
		order: 0;
	}

	.okc-hero.has-media.okc-hero--home.okc-hero--overlay-left,
	.okc-hero.has-media.okc-hero--home.okc-hero--overlay-right {
		min-height: min(52rem, calc(100svh - var(--okc-header-h) - 2.5rem)); /* a hint of the next section shows */
		padding-top: clamp(3rem, 2rem + 4.5vw, 6.5rem);
	}

	.okc-hero.has-media.okc-hero--standard.okc-hero--overlay-left,
	.okc-hero.has-media.okc-hero--standard.okc-hero--overlay-right {
		min-height: clamp(30rem, 48vw, 44rem);
	}

	.okc-hero.has-media.okc-hero--standard.okc-hero--overlay-left .okc-hero__media,
	.okc-hero.has-media.okc-hero--standard.okc-hero--overlay-right .okc-hero__media {
		margin: 0;
	}

	/* Shade only the text side; the rest of the reef stays bright. */
	.okc-hero.has-media.okc-hero--overlay-left .okc-hero__media::after,
	.okc-hero.has-media.okc-hero--overlay-right .okc-hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background:
			linear-gradient(90deg, rgb(11 11 13 / 0.84) 0%, rgb(11 11 13 / 0.58) 34%, rgb(11 11 13 / 0) 66%),
			linear-gradient(0deg, rgb(11 11 13 / 0.6) 0%, rgb(11 11 13 / 0) 32%);
	}

	.okc-hero.has-media.okc-hero--overlay-right .okc-hero__media::after {
		background:
			linear-gradient(270deg, rgb(11 11 13 / 0.84) 0%, rgb(11 11 13 / 0.58) 34%, rgb(11 11 13 / 0) 66%),
			linear-gradient(0deg, rgb(11 11 13 / 0.6) 0%, rgb(11 11 13 / 0) 32%);
	}

	.okc-hero.has-media.okc-hero--overlay-left .okc-hero__content,
	.okc-hero.has-media.okc-hero--overlay-right .okc-hero__content {
		max-width: 44rem;
	}

	.okc-hero.has-media.okc-hero--overlay-right .okc-hero__content {
		margin-left: auto;
	}

	/* Legible over any photo, without boxing the text in. */
	.okc-hero.has-media.okc-hero--overlay-left .okc-hero__content,
	.okc-hero.has-media.okc-hero--overlay-right .okc-hero__content {
		text-shadow: 0 1px 24px rgb(11 11 13 / 0.45);
	}
}

/* Photo beside the text (desktop). */
@media (min-width: 64rem) {
	.okc-hero.has-media.okc-hero--beside {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		grid-template-rows: auto;
		align-items: center;
		column-gap: clamp(3rem, 5vw, 6rem);
		padding-right: 0;
	}

	/* The heading shares the row with a photo, so it scales to its column. */
	.okc-hero.has-media.okc-hero--beside .okc-hero__display {
		max-width: 15ch;
		font-size: clamp(2.5rem, 0.9rem + 3.6vw, 5rem);
	}

	.okc-hero.has-media.okc-hero--beside .okc-hero__inner {
		grid-column: 1;
		grid-row: 1;
		max-width: 46rem;
		margin-inline: max(0px, calc((100vw - var(--okc-wide)) / 2 - var(--okc-gutter))) 0;
	}

	.okc-hero.has-media.okc-hero--beside .okc-hero__media,
	.okc-hero.has-media.okc-hero--standard.okc-hero--beside .okc-hero__media {
		grid-column: 2;
		grid-row: 1;
		align-self: stretch;
		aspect-ratio: auto;
		min-height: clamp(26rem, 34vw, 36rem);
		margin: calc(clamp(3rem, 2rem + 4.5vw, 6.5rem) * -1) 0 calc(clamp(2.75rem, 1.75rem + 3.5vw, 5rem) * -1);
	}

	/* Soft edge where photo meets page. */
	.okc-hero.has-media.okc-hero--beside .okc-hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, var(--okc-charcoal) 0%, rgb(11 11 13 / 0) 18%);
	}
}

.okc-hero__inner {
	width: 100%;
	max-width: var(--okc-wide);
	margin-inline: auto;
}

.okc-hero__brand {
	margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
	color: var(--okc-coral);
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.okc-hero__display {
	display: block;
	max-width: 16ch;
	font-size: var(--okc-step-4);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.okc-hero.has-media.okc-hero--home .okc-hero__display {
	max-width: 11ch;
	font-size: var(--okc-step-5);
	line-height: 0.9;
	letter-spacing: -0.045em;
}

.okc-hero__descriptor {
	display: block;
	max-width: 34ch;
	margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
	color: var(--okc-text);
	font-size: var(--okc-step-1);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.005em;
}

.okc-hero__intro {
	max-width: 44ch;
	margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
	color: var(--okc-text);
	font-size: var(--okc-step-1);
	line-height: 1.5;
}

.okc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.okc-hero__phone {
	color: var(--okc-muted);
	font-weight: 500;
}

.okc-hero__phone a {
	color: var(--okc-white);
	font-weight: 700;
}

.okc-hero__note {
	flex-basis: 100%;
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
}

/* 7. Router (four paths) --------------------------------------------------- */
.site-main .okc-router__grid {
	display: grid;
	grid-template-columns: 1fr;
}

.site-main .okc-router__grid > * {
	margin: 0;
}

.okc-router__card {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	align-content: start;
	row-gap: 0.4rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--okc-line);
	transition: border-color 0.2s ease;
}

.okc-router__card:has(> .okc-router__image) {
	padding-top: 0;
	border-top: 0;
}

.site-main .okc-router__card > * {
	margin: 0;
	grid-column: -2;
}

/* Phones: photo across the top of each card, short enough to keep the stack compact. */
.site-main .okc-router__card > .okc-router__image {
	margin-bottom: 0.9rem;
}

.okc-router__image img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: var(--okc-radius);
	transition: transform 0.6s var(--okc-ease), filter 0.3s ease;
}

.okc-router__image {
	overflow: hidden;
	border-radius: var(--okc-radius);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.okc-router__card:hover .okc-router__image img {
		transform: scale(1.035);
	}
}

.okc-router__card:has(> .okc-router__image) .okc-router__title {
	padding-top: 0.25rem;
}

.okc-router__title {
	font-size: var(--okc-step-1);
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.okc-section .okc-router__line {
	color: var(--okc-white);
	font-weight: 700;
}

.okc-section .okc-router__text {
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
	line-height: 1.55;
}

.okc-router__link {
	margin-top: 0.5rem !important;
}

/* The whole card is the link target. */
.okc-router__link a::before {
	content: "";
	position: absolute;
	inset: 0;
}

.okc-router__card:hover {
	border-top-color: var(--okc-coral);
}

.okc-router__card:has(a:focus-visible) {
	outline: 3px solid var(--okc-coral);
	outline-offset: 4px;
}

.okc-router__card a:focus-visible {
	outline: none;
}

@media (min-width: 40rem) {
	.site-main .okc-router__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(1.25rem, 2vw, 2rem) clamp(1.25rem, 2.5vw, 2.5rem);
	}

	.okc-router__image img {
		aspect-ratio: 16 / 10;
	}
}

/* Desktop: 2 × 2, photo and words side by side, every card the same shape. */
@media (min-width: 64rem) {
	.okc-router__card:has(> .okc-router__image) {
		grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
		column-gap: clamp(1.25rem, 2vw, 2rem);
		align-items: center;
		padding: 0;
	}

	.site-main .okc-router__card > .okc-router__image {
		grid-column: 1;
		grid-row: 1 / span 4;
		margin: 0;
		align-self: stretch;
	}

	.okc-router__image img {
		height: 100%;
		min-height: 12rem;
		aspect-ratio: 4 / 3; /* was 1:1 with a 15rem floor */
	}
}

/* 8. Sections -------------------------------------------------------------- */
.okc-prose h2 {
	max-width: 20ch;
}

.okc-location .okc-communities--inline {
	font-size: var(--okc-step-1);
	line-height: 1.5;
	color: var(--okc-white);
}

.okc-communities__groups {
	display: grid;
	gap: 1.5rem 3rem;
	grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
}

.okc-communities__group dt {
	font-weight: 800;
}

.okc-communities__group ul {
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--okc-text);
}

/* 9. Audiences ------------------------------------------------------------- */
.site-main .okc-audiences__grid {
	display: grid;
	gap: 0 clamp(2rem, 5vw, 5rem);
}

.site-main .okc-audiences__grid > * {
	margin: 0;
}

.okc-audience {
	padding-block: 1.75rem;
	border-top: 1px solid var(--okc-line);
}

.site-main .okc-audience > * + * {
	margin-block-start: 0.75rem;
}

.okc-audience h3 {
	font-size: var(--okc-step-1);
	letter-spacing: -0.015em;
}

@media (min-width: 48rem) {
	.site-main .okc-audiences__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 10. Process (a real sequence, so it is numbered) ------------------------- */
.okc-steps {
	display: grid;
	gap: 0 clamp(1.5rem, 3vw, 3rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: okc-step;
}

.okc-section .okc-steps li {
	position: relative;
	max-width: none;
	padding: 1.5rem 0 1.5rem 3.5rem;
	border-top: 1px solid var(--okc-line);
	counter-increment: okc-step;
}

.okc-steps li::before {
	content: counter(okc-step);
	position: absolute;
	top: 1.2rem;
	left: 0;
	color: var(--okc-coral);
	font-size: var(--okc-step-2);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.okc-steps strong {
	display: block;
	margin-bottom: 0.4rem;
	color: var(--okc-white);
	font-size: var(--okc-step-1);
	font-weight: 700;
	line-height: 1.25;
}

@media (min-width: 64rem) {
	.okc-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.okc-section .okc-steps li {
		padding: 4.5rem 0 0;
	}

	.okc-steps li::before {
		top: 1.5rem;
	}
}

.site-main .okc-process__notes > * + * {
	margin-block-start: 0.75rem;
}

.okc-process__notes {
	padding-top: 1rem;
}

.site-main .okc-process .okc-actions {
	margin-block-start: 2rem;
}

/* 11. FAQ (native <details>) ----------------------------------------------- */
.okc-faq__list {
	border-bottom: 1px solid var(--okc-line);
}

.site-main .okc-faq__list > * {
	margin: 0;
}

.okc-faq .wp-block-details {
	border-top: 1px solid var(--okc-line);
}

.okc-faq .wp-block-details summary {
	position: relative;
	display: block;
	padding: 1.35rem 3rem 1.35rem 0;
	cursor: pointer;
	font-size: var(--okc-step-1);
	font-weight: 700;
	line-height: 1.3;
	list-style: none;
}

.okc-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

/* Plus/minus drawn with two bars. */
.okc-faq .wp-block-details summary::before,
.okc-faq .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.35rem;
	width: 1rem;
	height: 2px;
	background: var(--okc-coral);
	transition: transform 0.2s var(--okc-ease);
}

.okc-faq .wp-block-details summary::after {
	transform: rotate(90deg);
}

.okc-faq .wp-block-details[open] summary::after {
	transform: rotate(0deg);
}

.okc-faq .wp-block-details summary:hover {
	color: var(--okc-coral);
}

.okc-faq .wp-block-details > p {
	padding-bottom: 1.5rem;
}

/* 12. Rehoming band and final CTA ----------------------------------------- */
.okc-section.okc-band {
	padding-top: var(--okc-pad);
	background: var(--okc-slate);
}

.okc-band + .okc-section {
	padding-top: var(--okc-pad);
}

.okc-section .okc-band__statement {
	max-width: 14ch;
	color: var(--okc-white);
	font-size: var(--okc-step-4);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.site-main .okc-band .okc-band__statement + p {
	margin-block-start: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

/* Coral text fails contrast on slate; the band's link is white with a coral arrow. */
.okc-band .is-style-okc-arrow a {
	color: var(--okc-white);
}

.okc-band .is-style-okc-arrow a::after {
	background: var(--okc-coral);
}

.okc-cta h2 {
	max-width: 14ch;
	font-size: var(--okc-step-4);
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.site-main .okc-cta .okc-actions {
	margin-block-start: 2.25rem;
}

/* Phone numbers never break across lines. */
a[href^="tel:"] {
	white-space: nowrap;
}

/* 12b. Phase 3 components ------------------------------------------------- */

/* Item grids (included services, decisions, problems, principles…). */
.site-main .okc-grid {
	display: grid;
	gap: 0 clamp(2rem, 4vw, 4rem);
	margin-block-start: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

.site-main .okc-grid > * {
	margin: 0;
}

.okc-item {
	padding-block: 1.5rem 1.75rem;
	border-top: 1px solid var(--okc-line);
}

.site-main .okc-item > * {
	margin: 0;
}

.site-main .okc-item > * + * {
	margin-block-start: 0.65rem;
}

.okc-item h3 {
	font-size: var(--okc-step-1);
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.okc-section .okc-item p {
	max-width: 42ch;
}

.okc-section .okc-item__lead {
	color: var(--okc-white);
	font-size: var(--okc-step-1);
	line-height: 1.3;
}

@media (min-width: 48rem) {
	.site-main .okc-grid--2,
	.site-main .okc-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.site-main .okc-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Two entry paths (Commercial): distinct panels, not generic cards. */
.site-main .okc-paths {
	gap: clamp(1rem, 2vw, 1.5rem);
}

.okc-paths .okc-item {
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	border-top: 3px solid var(--okc-coral);
	border-radius: 0 0 var(--okc-radius) var(--okc-radius);
	background: var(--okc-slate);
}

.okc-paths .okc-item h3 {
	font-size: var(--okc-step-2);
}

.okc-paths .is-style-okc-arrow a {
	color: var(--okc-white);
}

.okc-paths .is-style-okc-arrow a::after {
	background: var(--okc-coral);
}

.okc-paths .okc-item a:not(.wp-block-button__link) {
	color: var(--okc-white);
}

/* Bulleted lists inside sections. */
.okc-section ul.wp-block-list {
	padding-left: 1.25rem;
}

.okc-section ul.wp-block-list li {
	padding-left: 0.25rem;
}

.okc-section ul.wp-block-list li + li {
	margin-top: 0.5rem;
}

.okc-section ul.wp-block-list li::marker {
	color: var(--okc-coral);
}

/* Two headed columns side by side (hobbyists / non-hobbyists). */
.okc-duo .okc-section__inner {
	display: grid;
	gap: clamp(3rem, 6vw, 6rem);
}

.site-main .okc-duo .okc-section__inner > * + * {
	margin-block-start: 0;
}

.site-main .okc-duo__item > * + * {
	margin-block-start: var(--okc-flow);
}

.okc-duo h2 {
	font-size: var(--okc-step-2);
	max-width: 16ch;
}

@media (min-width: 60rem) {
	.okc-duo .okc-section__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Large typographic statements (not headings). */
.okc-section .okc-statement {
	max-width: 14ch;
	color: var(--okc-white);
	font-size: var(--okc-step-4);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.okc-split__body .okc-statement {
	margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem) !important;
	font-size: var(--okc-step-3);
}

/* Editorial aside (e.g. "And, somehow, polar bears."). */
.okc-aside .okc-section__inner {
	max-width: 52rem;
	padding-left: clamp(1.25rem, 3vw, 2.5rem);
	border-left: 3px solid var(--okc-purple);
}

.okc-aside .okc-statement {
	max-width: none;
	font-size: var(--okc-step-3);
}

/* Band headings (h2/h3 inside the slate band). */
.okc-band .okc-band__heading {
	max-width: 20ch;
	font-size: var(--okc-step-3);
}

.site-main .okc-band .okc-band__heading + * {
	margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.okc-band .okc-statement {
	font-size: var(--okc-step-3);
}

/* A boundary statement (Rehoming: we don't move aquariums). */
.okc-boundary .okc-split__body {
	padding-left: clamp(1.25rem, 3vw, 2rem);
	border-left: 3px solid var(--okc-coral);
}

/* Small supporting lines. */
.okc-section .okc-soft-cta {
	margin-block-start: clamp(2rem, 1.5rem + 2vw, 3rem) !important;
	color: var(--okc-white);
}

.site-main .okc-soft-cta + .is-style-okc-arrow {
	margin-block-start: 0.35rem;
}

.okc-section .okc-small {
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
}

/* Process variants: five or six steps wrap to three columns. */
@media (min-width: 64rem) {
	.okc-process--five .okc-steps,
	.okc-process--six .okc-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 1rem;
	}
}

/* People (About). One person: photo beside text. Several: cards. */
.site-main .okc-people {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	margin-block-start: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

.okc-person {
	display: grid;
	gap: 1.5rem;
	align-items: start;
}

.okc-person__photo {
	margin: 0;
	max-width: 22rem;
}

.okc-person__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--okc-radius);
}

.site-main .okc-person__body > * + * {
	margin-block-start: 0.75rem;
}

.okc-person__name {
	font-size: var(--okc-step-3);
	line-height: 1;
}

.okc-section .okc-person__title {
	color: var(--okc-coral);
	font-weight: 700;
}

.okc-section .okc-person__experience {
	color: var(--okc-white);
	font-size: var(--okc-step-1);
	font-weight: 600;
	line-height: 1.35;
}

.okc-person__bio > * + * {
	margin-top: 1rem;
}

.okc-person__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--okc-step--1);
}

@media (min-width: 56rem) {
	.okc-people--single .okc-person {
		grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
		gap: clamp(2rem, 4vw, 4rem);
	}

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

/* Reef Assessment layout: chooser/form beside "What happens next". */
.okc-hero--assessment {
	padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.okc-path-change {
	margin-top: 1rem;
	font-size: var(--okc-step--1);
	font-weight: 600;
}

.okc-assess__layout {
	display: grid;
	gap: clamp(3rem, 5vw, 5rem);
}

.site-main .okc-assess .okc-section__inner > * + *,
.site-main .okc-assess__layout > * + * {
	margin-block-start: 0;
}

.okc-assess__aside {
	align-self: start;
	padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
	border-radius: var(--okc-radius);
	background: var(--okc-slate);
}

.site-main .okc-assess__aside > * + * {
	margin-block-start: 1rem;
}

.okc-assess__aside h2 {
	font-size: var(--okc-step-2);
}

.okc-steps--compact {
	grid-template-columns: 1fr !important;
}

.okc-section .okc-steps--compact li {
	padding: 0.9rem 0 0.9rem 2.5rem;
}

.okc-steps--compact li::before {
	top: 0.8rem;
	font-size: var(--okc-step-1);
}

.okc-steps--compact strong {
	display: inline;
	font-size: inherit;
}

@media (min-width: 64rem) {
	.okc-assess__layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	}

	.okc-assess__aside {
		position: sticky;
		top: calc(var(--okc-header-h) + 1.5rem);
	}
}

/* 12c. Photography --------------------------------------------------------- */

.okc-photo {
	margin: 0;
}

.okc-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--okc-radius);
}

.okc-photo figcaption,
.okc-photo .wp-element-caption {
	max-width: 60ch;
	margin-top: 0.75rem;
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
	line-height: 1.5;
}

/* Full-width editorial break: edge to edge, no text on the photo. */
.okc-section.okc-photo-break {
	padding-inline: 0;
}

.okc-photo-break .okc-section__inner {
	max-width: none;
}

.okc-photo--bleed img {
	aspect-ratio: 4 / 3;
	max-height: 72svh; /* was 85svh: large, not a full screen */
	object-fit: cover;
	border-radius: 0;
}

.okc-photo--bleed figcaption {
	padding-inline: var(--okc-gutter);
}

@media (min-width: 48rem) {
	.okc-photo--bleed img {
		aspect-ratio: 2 / 1;
	}
}

/* The text before a full-width photo leads straight into it. */
.okc-section:has(+ .okc-photo-break:not(.okc-photo-break--offset)) {
	padding-bottom: clamp(3rem, 2rem + 3vw, 5.5rem);
}

/* Wide photo inside a section (the 240; the polar bear dive). */
.site-main .okc-section__inner > .okc-photo--wide {
	margin-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

/* Never cropped: a full-tank or documentary photo shows all of itself, scaled
   down to fit the screen height when needed (width follows its own shape). */
.okc-photo--wide img {
	width: auto;
	max-width: 100%;
	max-height: min(50rem, 80svh);
}

/* Documentary: the real photo, real color, a caption with a voice. */
.okc-photo--documentary img {
	border-radius: 0;
}

.okc-photo--documentary figcaption,
.okc-photo--documentary .wp-element-caption {
	color: var(--okc-white);
	font-size: var(--okc-step-1);
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Polar bears: the aside widens around its photo; the words keep their measure. */
.okc-aside--photo .okc-section__inner {
	max-width: var(--okc-wide);
	padding-left: 0;
	border-left: 0;
}

.okc-aside--photo .okc-statement,
.okc-aside--photo .okc-section__inner > p {
	padding-left: clamp(1.25rem, 3vw, 2.5rem);
	border-left: 3px solid var(--okc-purple);
}

.okc-aside--photo .okc-photo--wide {
	max-width: 64rem;
}

/* Two details side by side, staggered, never a thumbnail grid. */
.site-main .okc-section__inner > .okc-photo-pair {
	display: grid;
	gap: 1.25rem;
	max-width: 56rem;
	margin-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.okc-photo-pair > .okc-photo {
	margin: 0 !important;
}

.okc-photo-pair img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

@media (min-width: 40rem) {
	.site-main .okc-section__inner > .okc-photo-pair {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.okc-photo-pair > .okc-photo + .okc-photo {
		margin-top: clamp(2rem, 6vw, 5rem) !important;
	}
}

/* Text beside a photo. Only a split when a photo is actually present. */
.okc-photo--tall img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (min-width: 60rem) {
	.okc-media-split .okc-section__inner:has(> .okc-photo) {
		display: grid;
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		column-gap: clamp(3rem, 6vw, 7rem);
		align-items: center;
	}

	.site-main .okc-media-split .okc-section__inner:has(> .okc-photo) > * + * {
		margin-block-start: 0;
	}

	.okc-media-split--photo-first .okc-section__inner:has(> .okc-photo) {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}

	.okc-media-split--photo-first .okc-section__inner > .okc-photo {
		grid-column: 1;
		grid-row: 1;
	}

	.okc-media-split--photo-first .okc-section__inner > .okc-media-split__text {
		grid-column: 2;
	}

	.okc-photo--tall img {
		aspect-ratio: 4 / 5;
	}
}

.site-main .okc-media-split__text > * + * {
	margin-block-start: var(--okc-flow);
}

.site-main .okc-media-split__text > h2 + * {
	margin-block-start: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

/* A photo under a split's heading (About: stewardship). */
.okc-photo--aside {
	max-width: 26rem;
}

.okc-photo--aside img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

@media (min-width: 60rem) {
	.okc-split .okc-section__inner:has(> .okc-photo--aside) > h2 {
		position: static;
	}

	.okc-split .okc-section__inner > .okc-photo--aside {
		grid-column: 1;
		grid-row: 2;
		margin-top: clamp(2rem, 3vw, 3rem) !important;
	}

	.okc-split .okc-section__inner:has(> .okc-photo--aside) > .okc-split__body {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

/* Photo locations filled from the Photography box. */
.site-main .okc-section__inner > .okc-photo--nano {
	max-width: 36rem;
	margin-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.okc-before-after {
	display: grid;
	gap: 1.25rem;
	margin-top: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

@media (min-width: 48rem) {
	.okc-before-after {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.okc-before-after figcaption strong {
	color: var(--okc-white);
}

.okc-proof__caption {
	margin-top: 1rem;
}

.okc-slot-hint {
	padding: 0.75rem 1rem;
	border: 1px dashed var(--okc-line-strong);
	border-radius: var(--okc-radius);
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
}

/* 12d. Homepage editorial compositions ------------------------------------ */

/*
 * Feature split: photography participating in a section.
 * Words ~45%, photo ~55% running to one page edge at full section height.
 * Only a split when a photo is present; otherwise an ordinary text section.
 *
 * Variants:
 *   --reverse             photo on the left (desktop)
 *   --mobile-photo-first  on phones the photo leads; otherwise words lead
 *   --natural             the photo keeps its own shape (never cropped)
 *   --panel               a text panel overlapping a large photo (desktop)
 */
.okc-feature .okc-section__inner:has(> .okc-feature__photo) {
	display: flex;
	flex-direction: column;
}

.okc-feature__photo {
	margin: clamp(2rem, 1.5rem + 2vw, 3rem) calc(var(--okc-gutter) * -1) 0 !important;
}

.okc-feature--mobile-photo-first .okc-feature__photo {
	order: -1;
	margin: 0 calc(var(--okc-gutter) * -1) clamp(2rem, 1.5rem + 2vw, 3rem) !important;
}

.okc-feature__photo img {
	border-radius: 0;
}

/* Cropped features get a fixed shape. Natural features never set one: their
   shape comes from the image's width/height attributes, so the right box is
   reserved before a lazy photo loads (no crop, no shift). */
.okc-feature:not(.okc-feature--natural) .okc-feature__photo img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.okc-feature__photo figcaption {
	padding-inline: var(--okc-gutter);
}

.site-main .okc-feature__text > * + * {
	margin-block-start: var(--okc-flow);
}

.site-main .okc-feature__text > h2 + * {
	margin-block-start: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

@media (min-width: 60rem) {
	.okc-section.okc-feature:has(.okc-feature__photo) {
		padding-right: 0;
	}

	.okc-feature .okc-section__inner:has(> .okc-feature__photo) {
		display: grid;
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
		column-gap: clamp(3rem, 5vw, 6rem);
		align-items: center;
		max-width: none;
		margin-left: max(0px, calc((100% - var(--okc-wide) - var(--okc-gutter)) / 2));
	}

	.site-main .okc-feature .okc-section__inner > * + * {
		margin-block-start: 0;
	}

	/* The photo takes the full height of the words beside it: one strong edge. */
	.okc-feature__photo,
	.okc-feature--mobile-photo-first .okc-feature__photo {
		order: 0;
		position: relative;
		align-self: stretch;
		min-height: 22rem; /* was min(40rem, 80svh): the photo now matches its words */
		margin: 0 !important;
	}

	.okc-feature:not(.okc-feature--natural) .okc-feature__photo img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
	}

	.okc-feature__photo img {
		border-radius: var(--okc-radius) 0 0 var(--okc-radius);
	}

	/* Mirrored: photo on the left edge. */
	.okc-section.okc-feature--reverse:has(.okc-feature__photo) {
		padding-right: var(--okc-gutter);
		padding-left: 0;
	}

	.okc-feature--reverse .okc-section__inner:has(> .okc-feature__photo) {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
		margin-left: 0;
		margin-right: max(0px, calc((100% - var(--okc-wide) - var(--okc-gutter)) / 2));
	}

	.okc-feature--reverse .okc-feature__photo {
		grid-column: 1;
		grid-row: 1;
	}

	.okc-feature--reverse .okc-feature__text {
		grid-column: 2;
		grid-row: 1;
	}

	.okc-feature--reverse .okc-feature__photo img {
		border-radius: 0 var(--okc-radius) var(--okc-radius) 0;
	}

	/* Natural: the whole photo, uncropped, beside the words. */
	.okc-feature--natural .okc-feature__photo {
		min-height: 0;
		align-self: center;
	}

	.okc-feature--natural .okc-feature__photo img {
		height: auto;
	}

	.okc-feature__photo figcaption {
		position: absolute;
		left: 1rem;
		bottom: 1rem;
		z-index: 1;
		max-width: calc(100% - 2rem);
		margin: 0;
		padding: 0.4rem 0.7rem;
		border-radius: 2px;
		background: rgb(11 11 13 / 0.75);
		color: var(--okc-white);
	}

	.okc-feature--natural .okc-feature__photo figcaption {
		position: static;
		padding: 0.75rem 0 0;
		background: none;
		color: var(--okc-muted);
	}
}

/* Panel over photo (desktop): a large photo with the words on a panel that
   overlaps its edge. Phones: photo, then the panel rising over its foot. */
.okc-feature--panel .okc-feature__text {
	position: relative;
	z-index: 1;
	padding: clamp(1.75rem, 1rem + 3vw, 3rem);
	border-top: 3px solid var(--okc-coral);
	border-radius: var(--okc-radius);
	background: var(--okc-slate);
}

.okc-feature--panel .okc-feature__photo {
	order: -1;
	margin: 0 calc(var(--okc-gutter) * -1) calc(clamp(2.5rem, 8vw, 4rem) * -1) !important;
}

@media (min-width: 60rem) {
	.okc-feature--panel .okc-section__inner:has(> .okc-feature__photo) {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 0;
	}

	.okc-feature--panel .okc-feature__photo {
		grid-column: 6 / -1;
		grid-row: 1;
		min-height: 28rem; /* was min(44rem, 84svh) */
		margin: 0 !important;
	}

	/* Keep the subject clear of the panel's edge. */
	.okc-feature--panel .okc-feature__photo img {
		object-position: 62% 50%;
	}

	.okc-feature--panel .okc-feature__text {
		grid-column: 1 / span 6;
		grid-row: 1;
		align-self: center;
		margin-block: clamp(2rem, 4vw, 3.5rem) !important;
		box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7);
	}
}

/* Panel contents: the space types sit in two tidy columns on the panel. */
.site-main .okc-feature--panel .okc-grid {
	margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.okc-feature--panel .okc-item {
	padding-block: 1.1rem 1.25rem;
}

/* A section that continues the one before it (no new heading): one idea,
   so the seam between them is a single, small step. */
.okc-section:has(+ .okc-continues) {
	padding-bottom: var(--okc-space-c);
}

.okc-section.okc-continues {
	padding-top: 0;
}

.site-main .okc-continues .okc-section__inner > :first-child {
	margin-block-start: 0 !important;
}

/* Quiet tonal band: a lifted charcoal that makes typographic sections feel
   deliberate (process, specifications) rather than simply text-heavy. */
.okc-section.okc-tone {
	padding-top: var(--okc-pad);
	background: #131317;
}

.okc-tone + .okc-section {
	padding-top: var(--okc-pad);
}

.okc-tone .okc-steps li,
.okc-tone .okc-item {
	border-color: rgb(247 247 247 / 0.18);
}

/* Brand coral is 4.37:1 on the lifted charcoal (small text needs 4.5:1):
   links in a tonal band are white with a coral arrow, as on slate bands. */
.okc-tone .is-style-okc-arrow a {
	color: var(--okc-white);
}

.okc-tone .is-style-okc-arrow a::after {
	background: var(--okc-coral);
}

/* Specification index: 01, 02 … above each item, with finer rules. */
.okc-index {
	counter-reset: okc-index;
}

.okc-index .okc-item {
	counter-increment: okc-index;
}

.okc-index .okc-item::before {
	content: counter(okc-index, decimal-leading-zero);
	display: block;
	margin-bottom: 0.9rem;
	color: var(--okc-coral-hover); /* 5.4:1 on the tonal band; brand coral would be 4.37:1 */
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	font-variant-numeric: tabular-nums;
}

/* A caption that belongs to a band photo (e.g. identifying Brett's reef). */
.okc-band__photo {
	position: relative;
}

.okc-band__photo figcaption {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 1;
	max-width: calc(100% - 2rem);
	margin: 0;
	padding: 0.4rem 0.7rem;
	border-radius: 2px;
	background: rgb(11 11 13 / 0.75);
	color: var(--okc-white);
}

/* Offset editorial photo: wide, set to one side, different from the edge-to-edge break. */
.okc-section.okc-photo-break--offset {
	padding-inline: var(--okc-gutter);
}

.okc-photo-break--offset .okc-section__inner {
	max-width: var(--okc-wide);
}

.okc-photo--offset {
	margin-inline: calc(var(--okc-gutter) * -1) !important;
}

.okc-photo--offset img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
}

@media (min-width: 48rem) {
	.okc-photo--offset {
		width: 82%;
		margin-inline: auto calc(var(--okc-gutter) * -1) !important;
	}

	.okc-photo--offset img {
		aspect-ratio: 16 / 9;
		border-radius: var(--okc-radius) 0 0 var(--okc-radius);
	}
}

/* Rehoming interruption: living animals beside the campaign line.
   Phones: the campaign line first, the photo after it (flush to the band's
   bottom), so it never stacks directly under the photo before it. */
.okc-band--photo .okc-section__inner:has(> .okc-band__photo) {
	display: flex;
	flex-direction: column;
}

.okc-band__photo {
	order: 2;
	margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) calc(var(--okc-gutter) * -1) calc(var(--okc-pad) * -1) !important;
}

.okc-band__photo img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
}

.site-main .okc-band__text > * + * {
	margin-block-start: var(--okc-flow);
}

.site-main .okc-band .okc-band__text .okc-band__statement + p {
	margin-block-start: clamp(1.75rem, 1.2rem + 2vw, 3rem);
}

@media (min-width: 60rem) {
	.okc-section.okc-band--photo:has(.okc-band__photo) {
		padding-left: 0;
	}

	.okc-band--photo .okc-section__inner:has(> .okc-band__photo) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: clamp(3rem, 6vw, 7rem);
		align-items: center;
		max-width: none;
		margin-right: max(0px, calc((100% - var(--okc-wide) - var(--okc-gutter)) / 2));
	}

	.site-main .okc-band--photo .okc-section__inner > * + * {
		margin-block-start: 0;
	}

	.okc-band__photo {
		order: 0;
		position: relative;
		align-self: stretch;
		min-height: 24rem; /* was 30rem: the band's words set its height */
		margin: calc(var(--okc-pad) * -1) 0 !important;
	}

	.okc-band__photo img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
	}
}

/* 12e. Layout modes ---------------------------------------------------------
 * Every section's width follows what it contains:
 *   Media split         .okc-feature (words | photo), .okc-band--photo
 *   Editorial text      text-only story, location, FAQ: headline | body
 *   Major CTA           .okc-cta: headline | supporting line + button
 *   Information grid    .okc-wide, .okc-process, .okc-audiences, tonal bands
 *   Compact cross-link  .okc-band without a photo: a contained card
 *   Narrow statement    .okc-aside and statements (deliberate negative space)
 * A text-only section never sits in half of a wide canvas with the other half empty.
 */

/* Headlines above full-width grids can run wider than the 18ch default. */
:is(.okc-wide, .okc-process, .okc-audiences, .okc-tone) .okc-section__inner > h2 {
	max-width: 24ch;
}

@media (min-width: 64rem) {
	/* Editorial text and major CTAs: headline in the left column, everything else in the right. */
	.okc-section:is(.okc-prose, .okc-faq, .okc-cta):not(.okc-wide, .okc-continues, .okc-feature, .okc-band) .okc-section__inner:has(> h2) {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		column-gap: clamp(3rem, 6vw, 7rem);
		align-items: start;
	}

	.okc-section:is(.okc-prose, .okc-faq, .okc-cta):not(.okc-wide, .okc-continues, .okc-feature, .okc-band) .okc-section__inner:has(> h2) > h2 {
		grid-column: 1;
		grid-row: 1 / span 12;
		max-width: none;
	}

	.okc-section:is(.okc-prose, .okc-faq, .okc-cta):not(.okc-wide, .okc-continues, .okc-feature, .okc-band) .okc-section__inner:has(> h2) > :not(h2) {
		grid-column: 2;
	}

	.site-main .okc-section:is(.okc-prose, .okc-faq, .okc-cta):not(.okc-wide, .okc-continues, .okc-feature, .okc-band) .okc-section__inner:has(> h2) > h2 + * {
		margin-block-start: 0;
	}

	/* The FAQ list and a CTA's supporting column use their column fully. */
	.okc-faq .okc-faq__list,
	.okc-cta .okc-section__inner > p {
		max-width: 44rem;
	}

	/* A short list of factors reads as a 2 × 2 grid rather than a narrow stack. */
	.okc-section.okc-prose:not(.okc-wide) ul.wp-block-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem 2.5rem;
	}

	.okc-section.okc-prose:not(.okc-wide) ul.wp-block-list li + li {
		margin-top: 0;
	}

	/* A continuation (About: after Brett's 240): words left, the detail pair right. */
	.okc-continues .okc-section__inner:has(> .okc-photo-pair) {
		display: grid;
		grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
		column-gap: clamp(3rem, 6vw, 7rem);
		align-items: start;
	}

	.site-main .okc-continues .okc-section__inner:has(> .okc-photo-pair) > .okc-photo-pair {
		grid-column: 2;
		grid-row: 1 / span 6;
		margin-block: 0;
	}

	.okc-continues .okc-section__inner:has(> .okc-photo-pair) > :not(.okc-photo-pair) {
		grid-column: 1;
	}

	/* A person without a photo shouldn't sit in the photo's narrow column. */
	.okc-people--single .okc-person:not(:has(.okc-person__photo)) {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Compact cross-link: a related path, not a second hero. A contained slate
   card inside the content width: the message on the left, the link on the right. */
.okc-section.okc-band:not(.okc-band--photo) {
	--okc-pad: var(--okc-space-c);
	padding-top: var(--okc-pad);
	background: none;
}

.okc-band:not(.okc-band--photo) + .okc-section {
	padding-top: 0;
}

.okc-band:not(.okc-band--photo) .okc-section__inner {
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 3vw, 3rem);
	border-left: 3px solid var(--okc-coral);
	border-radius: var(--okc-radius);
	background: var(--okc-slate);
}

.okc-section.okc-band:not(.okc-band--photo) .okc-band__heading {
	max-width: none;
	font-size: var(--okc-step-2);
}

.site-main .okc-band:not(.okc-band--photo) .okc-band__heading + * {
	margin-block-start: 0.6rem;
}

.site-main .okc-band:not(.okc-band--photo) .okc-section__inner > .is-style-okc-arrow {
	margin-block-start: 1rem;
}

@media (min-width: 48rem) {
	.okc-band:not(.okc-band--photo) .okc-section__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: clamp(2rem, 5vw, 5rem);
		align-items: center;
	}

	.okc-band:not(.okc-band--photo) .okc-section__inner > * {
		grid-column: 1;
	}

	.site-main .okc-band:not(.okc-band--photo) .okc-section__inner > .is-style-okc-arrow {
		grid-column: 2;
		grid-row: auto;
		margin-block: 0;
		justify-self: end;
		white-space: nowrap;
	}

	/* One link: centred against the whole message. Two links: one per row. */
	.okc-band:not(.okc-band--photo) .okc-section__inner > .is-style-okc-arrow:nth-child(3):last-child {
		grid-row: 1 / span 2;
	}

	.okc-band:not(.okc-band--photo) .okc-section__inner > .is-style-okc-arrow:nth-child(3) {
		grid-row: 1;
	}

	.okc-band:not(.okc-band--photo) .okc-section__inner > .is-style-okc-arrow:nth-child(4) {
		grid-row: 2;
	}
}

/* 12f. 0.3.8 targeted typography -------------------------------------------
 * Narrow, page-specific corrections only. Each rule names the page (body class)
 * or a component used on one page, so approved sections elsewhere are untouched.
 * "One line" here means one line where the desktop canvas allows it; every rule
 * is a max-width, so text still wraps normally on smaller screens.
 */

/* Homepage H1: "Reef Aquariums." dominant, "It's All We Do." clearly secondary
   but still part of the same statement (and the same H1). */
.okc-hero__display.okc-hero__display--secondary,
.okc-hero--home .okc-hero__display.okc-hero__display--secondary,
.okc-hero.has-media.okc-hero--home .okc-hero__display.okc-hero__display--secondary {
	margin-top: 0.18em;
	max-width: 24ch;
	font-size: clamp(1.5rem, 0.6rem + 3.4vw, 3.4rem); /* about half the primary line */
	line-height: 1;
	letter-spacing: -0.03em;
}

/*
 * The H1's first line is now a single sentence, so it needs its own measure
 * and a size that fits the hero's text column: the 11ch box and step-5 size
 * were set for the two-sentence tagline, and left "Aquariums." wider than
 * the column at desktop widths.
 */
.okc-hero--home .okc-hero__display,
.okc-hero.has-media.okc-hero--home .okc-hero__display {
	max-width: 17ch;
	font-size: clamp(3rem, 1.1rem + 7vw, 7rem);
}

/* The hero text column is widened on the homepage only, so the H1's first
   line and the supporting sentence each sit on one line at desktop widths. */
@media (min-width: 48rem) {
	.okc-hero.has-media.okc-hero--home .okc-hero__content {
		max-width: 64rem;
	}
}

/* Supporting sentence beneath the H1: one line on a normal desktop canvas. */
.okc-hero__subhead {
	max-width: 70ch;
}

/* Homepage: "Where are you with your reef?" on one line. */
.okc-router .okc-section__inner > h2 {
	max-width: 30ch;
}

/*
 * Reef Maintenance, "How often we visit": one cohesive informational section
 * read top to bottom, replacing the split composition for this section only.
 * Centred container; heading, intro, closing line and CTA centred; the four
 * factors sit in a 2 x 2 grid with their own text left-aligned.
 */
.okc-page-maintenance .okc-section.okc-prose:not(.okc-wide, .okc-location, .okc-feature, .okc-faq, .okc-cta) .okc-section__inner {
	display: block;
	max-width: 58rem;
	text-align: center;
}

.okc-page-maintenance .okc-section.okc-prose:not(.okc-wide, .okc-location, .okc-feature, .okc-faq, .okc-cta) .okc-section__inner > h2 {
	max-width: 24ch;
	margin-inline: auto;
	font-size: var(--okc-step-2);
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.site-main .okc-page-maintenance .okc-section.okc-prose:not(.okc-wide, .okc-location, .okc-feature, .okc-faq, .okc-cta) .okc-section__inner > h2 + * {
	margin-block-start: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

.okc-page-maintenance .okc-section.okc-prose:not(.okc-wide, .okc-location, .okc-feature, .okc-faq, .okc-cta) .okc-section__inner > p {
	max-width: 60ch;
	margin-inline: auto;
}

.okc-page-maintenance .okc-section.okc-prose:not(.okc-wide, .okc-location, .okc-feature, .okc-faq, .okc-cta) ul.wp-block-list {
	max-width: 52rem;
	margin-inline: auto;
	text-align: left;
}

.okc-page-maintenance .okc-section.okc-prose:not(.okc-wide, .okc-location, .okc-feature, .okc-faq, .okc-cta) .okc-section__inner > .okc-actions {
	justify-content: center;
}

/* Reef Maintenance: "What ongoing reef care includes" on one line, and its
   introduction on a less cramped measure. */
.okc-page-maintenance .okc-tone .okc-section__inner > h2 {
	max-width: 34ch;
}

.okc-page-maintenance .okc-tone .okc-section__inner > p {
	max-width: 68ch;
}

/* Design & Installation: heading on one line, introduction and the closing
   statement on a less cramped measure. */
.okc-page-design .okc-tone .okc-section__inner > h2 {
	max-width: 36ch;
}

.okc-page-design .okc-tone .okc-section__inner > p {
	max-width: 72ch;
}

.okc-page-design .okc-tone .okc-section__inner > p.is-style-okc-lead {
	max-width: 64ch;
}

/* Reef Recovery: "Reef tank recovery across the Oklahoma City metro." on one line. */
.okc-page-recovery .okc-hero__descriptor {
	max-width: 54ch;
}

/* Reef Rehoming: the closing paragraph centred, on a natural measure. */
.okc-page-rehoming .okc-wide .okc-section__inner > p:last-child {
	max-width: 70ch;
	margin-inline: auto;
	text-align: center;
}

/* Service Area: hero introduction and the "works throughout…" line. */
.okc-page-service-area .okc-hero__intro {
	max-width: 68ch;
}

.okc-page-service-area .okc-wide .okc-section__inner > p.is-style-okc-lead {
	max-width: 64ch;
}

/* About: "We chose to do one thing." on one line, with its supporting
   sentence on a natural measure. */
.okc-page-about .okc-hero__display {
	max-width: 26ch;
}

.okc-page-about .okc-hero__intro {
	max-width: 64ch;
}

/*
 * About: the final CTA headline used to paint outside its own column.
 * Cause: a fixed 14ch measure plus hero-scale type meant the longest word
 * ("specialization") needed ~1.35× the width its column could ever provide,
 * so the glyphs overflowed the box into the neighbouring column.
 * Fix: size this headline from the space it actually has, so its longest word
 * always fits and the section contains its own content. The CTA layout,
 * copy, button and hierarchy are unchanged.
 */
.okc-page-about .okc-cta .okc-section__inner > h2 {
	max-width: 18ch;
	font-size: clamp(2.25rem, 1.1rem + 3.4vw, 4.5rem);
	overflow-wrap: break-word;
}

/* About: a person's name is a subheading, not a section headline.
   Semantics are unchanged; this is presentation only. */
.okc-person__name {
	font-size: var(--okc-step-2);
	line-height: 1.1;
}

/* 13. Footer --------------------------------------------------------------- */
.site-footer {
	border-top: 1px solid var(--okc-line);
	color: var(--okc-text);
	font-size: var(--okc-step--1);
}

.site-footer__inner {
	display: grid;
	gap: 2.5rem;
	max-width: calc(var(--okc-wide) + 2 * var(--okc-gutter));
	margin-inline: auto;
	padding: clamp(3.5rem, 2rem + 5vw, 6rem) var(--okc-gutter) 3rem;
}

.site-footer__tagline {
	max-width: 12ch;
	color: var(--okc-white);
	font-size: var(--okc-step-3);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.site-footer__line {
	margin-top: 1.5rem;
}

.site-footer__line strong {
	color: var(--okc-white);
}

.site-footer__list,
.site-footer__links {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__hours {
	margin-top: 1.5rem;
}

.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--okc-white);
	text-decoration: underline;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	max-width: calc(var(--okc-wide) + 2 * var(--okc-gutter));
	margin-inline: auto;
	padding: 1.5rem var(--okc-gutter) 2.5rem;
	border-top: 1px solid var(--okc-line);
	color: var(--okc-muted);
	font-size: 0.875rem;
}

@media (min-width: 48rem) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	}

	.site-footer__legal {
		border-top: 0;
		padding-top: 0;
	}
}

/* Business address, rendered from Business Info. Inherits footer type. */
.site-footer__address {
	font-style: normal;
}

/*
 * BrandBlip production credit. A maker's mark at the base of the footer:
 * centered, quiet, and deliberately subordinate to OKC Reef. No panel,
 * no border, no animation.
 */
.site-footer__credit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	max-width: calc(var(--okc-wide) + 2 * var(--okc-gutter));
	margin-inline: auto;
	padding: 0 var(--okc-gutter) 2.5rem;
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
	line-height: 1;
}

.site-footer__heart {
	font-size: 0.95em;
	line-height: 1;
}

.site-footer__credit-link {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

/*
 * Height-constrained so the mark stays signature-sized whatever the source
 * image measures. Width auto preserves the natural aspect ratio.
 */
.site-footer__credit-logo {
	display: block;
	width: auto;
	height: 1.15em;
	max-height: 22px;
	opacity: 0.75;
	transition: opacity 0.2s ease;
}

.site-footer__credit-link:hover .site-footer__credit-logo,
.site-footer__credit-link:focus-visible .site-footer__credit-logo {
	opacity: 1;
}

/* Reef Guide discovery blocks ----------------------------------------------
 * Guide cards surfaced on the homepage, service pages, service area page and
 * the guide hub directory. Uses existing tokens only: no new colours, no new
 * type scale, no new breakpoints.
 */
.site-main .okc-guides__heading {
	max-width: 28ch;
	font-size: var(--okc-step-2);
	line-height: 1.1;
}

.site-main .okc-guides__intro {
	max-width: 46ch;
	margin-block-start: 1rem;
	color: var(--okc-muted);
}

.site-main .okc-guides__grid {
	display: grid;
	gap: 0;
	list-style: none;
	margin: var(--okc-space-c) 0 0;
	padding: 0;
}

.site-main .okc-guides__card {
	margin: 0;
	padding-block: 1.25rem 1.4rem;
	border-top: 1px solid var(--okc-line);
}

.site-main .okc-guides__title {
	margin: 0;
	font-size: var(--okc-step-1);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.site-main .okc-guides__title a {
	text-decoration: none;
}

.site-main .okc-guides__title a:hover {
	color: var(--okc-coral);
}

.site-main .okc-guides__text {
	margin: 0.4rem 0 0;
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
	max-width: 52ch;
}

.site-main .okc-guides__more {
	margin-block-start: var(--okc-space-c);
}

/* Hub directory: one block per editorial cluster. */
.site-main .okc-guides--directory {
	border-top: 1px solid var(--okc-line);
	padding-top: var(--okc-space-c);
	margin-top: var(--okc-space-b);
}

.site-main .okc-guides__cluster {
	margin-block-start: var(--okc-space-c);
}

.site-main .okc-guides__cluster-title {
	margin: 0;
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-main .okc-guides--directory .okc-guides__grid {
	margin-block-start: 1rem;
}

@media (min-width: 48rem) {
	.site-main .okc-guides__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(2rem, 4vw, 3.5rem);
	}

	.site-main .okc-guides__grid > .okc-guides__card:nth-child(2) {
		border-top: 1px solid var(--okc-line);
	}
}

@media (min-width: 64rem) {
	.site-main .okc-guides__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-main .okc-guides__grid > .okc-guides__card:nth-child(3) {
		border-top: 1px solid var(--okc-line);
	}
}

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

.okc-content > .okc-section:first-child {
	padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.okc-entry__title {
	font-size: var(--okc-step-3);
}

.okc-entry__meta {
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
}

.site-main .okc-entry__content > * + * {
	margin-block-start: var(--okc-flow);
}

.okc-post-list {
	display: grid;
	gap: 1rem;
	padding: 0;
	list-style: none;
}

.okc-post-list time {
	display: block;
	color: var(--okc-muted);
	font-size: var(--okc-step--1);
}

/* Missing approved copy. Loud on purpose; Site Health also flags it. */
.okc-placeholder {
	padding: 0.05em 0.3em;
	border-radius: 2px;
	outline: 1px dashed var(--okc-coral);
	background: rgb(236 1 140 / 0.16);
	color: var(--okc-white);
	font-weight: 600;
}

.okc-hero .okc-placeholder {
	font-size: 0.5em;
	letter-spacing: 0;
}

/* 15. Motion --------------------------------------------------------------- */

/* One orchestrated moment: the homepage H1 settles in. Transform only, so LCP isn't delayed. */
@media (prefers-reduced-motion: no-preference) {
	.okc-hero--home .okc-hero__title {
		animation: okc-settle 0.9s var(--okc-ease) both;
	}

	@keyframes okc-settle {
		from {
			transform: translateY(0.35em);
		}

		to {
			transform: none;
		}
	}
}

@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;
	}
}
