/* Caloundra Concrete Pumping, 2026 refresh.
   One board of square tiles on an 8px grid. Brand navy and yellow, one grotesk, five sizes. */

:root {
	--bg: #e4e8ec;
	--paper: #f7f8f9;
	--step: #d7dde4;
	--navy: #254061;
	--deep: #10213a;
	--deep-2: #182c47;
	--ink: #0d1b2e;
	--muted: #3d4d63;
	--accent: #ffcb05;
	--accent-2: #f0bd00;

	--g: 8px;
	--m: 10px;
	--pad: clamp(20px, 2.4vw, 40px);
	--top-h: 64px;

	--step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
	--step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
	--step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
	--step-display: clamp(3.5rem, 8.2vw, 9rem);

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 899px) {
	:root { --g: 6px; --m: 6px; --top-h: 56px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	font-optical-sizing: auto;
	font-size: var(--step-body);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile--accent :focus-visible, .tile--accent:focus-visible, .ccp-book :focus-visible { outline-color: var(--deep); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--accent); color: var(--deep); padding: 12px 16px; font-weight: 600; }
.skip-link:focus { left: 10px; }

/* Tiles and tones */
.tile { background: var(--paper); text-decoration: none; }
.tile--paper, .tone-paper { background: var(--paper); color: var(--ink); }
.tile--navy, .tone-navy { background: var(--navy); color: #fff; }
.tile--deep, .tone-deep { background: var(--deep); color: #fff; }
.tile--accent, .tone-accent { background: var(--accent); color: var(--deep); }
.tile--photo { position: relative; overflow: hidden; background: var(--deep); padding: 0; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ccp-statement { font-size: var(--step-lead); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.ccp-lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }

/* Buttons: square, flat, one fill */
.ccp-btn, .entry-content .button, .wpcf7-submit {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 14px 24px;
	background: var(--accent); color: var(--deep);
	border: 0; border-radius: 0;
	font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
	transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.ccp-btn--ink { background: var(--deep); color: #fff; }
.ccp-btn:hover, .entry-content .button:hover, .wpcf7-submit:hover { transform: translateY(-2px); background: var(--accent-2); }
.ccp-btn--ink:hover { background: var(--navy); }
.ccp-btn:active, .entry-content .button:active, .wpcf7-submit:active { transform: translateY(0) scale(0.98); }

/* ------------------------------------------------------------------ top row */
.ccp-top {
	display: grid; grid-template-columns: auto 1fr auto; gap: var(--g);
	padding: var(--m) var(--m) 0; height: calc(var(--top-h) + var(--m));
}
.ccp-top__logo { display: flex; align-items: center; padding: 0 20px; background: #fff; }
.ccp-top__logo img { height: 34px; width: auto; transition: transform 0.3s var(--ease); }
.ccp-top__logo:hover img { transform: translateX(3px); }
.ccp-top__nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); padding: 0 24px; font-weight: 500; }
.ccp-top__nav a { padding: 6px 0; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; text-decoration-color: transparent; transition: text-decoration-color 0.2s var(--ease), text-underline-offset 0.2s var(--ease); }
.ccp-top__nav a:hover, .ccp-top__nav a[aria-current] { text-decoration-color: var(--accent); text-underline-offset: 5px; }
.ccp-top__call { display: flex; align-items: center; gap: 8px; padding: 0 24px; background: var(--deep); color: #fff; font-weight: 600; text-decoration: none; transition: background-color 0.2s var(--ease); white-space: nowrap; }
.ccp-top__call:hover { background: var(--navy); }
.ccp-top__call-word { font-weight: 400; opacity: 0.85; }
.ccp-top__menu { display: none; border: 0; padding: 0 20px; background: var(--accent); color: var(--deep); font-weight: 600; cursor: pointer; }

.ccp-menu { margin: var(--g) var(--m) 0; background: var(--deep); color: #fff; padding: 24px; }
.ccp-menu ul { list-style: none; padding: 0; margin: 0; }
.ccp-menu > ul > li { padding: 10px 0; }
.ccp-menu > ul > li > a { font-size: var(--step-lead); font-weight: 600; text-decoration: none; display: block; padding: 6px 0; }
.ccp-menu li li a { display: inline-block; padding: 8px 14px 8px 0; text-decoration: none; opacity: 0.85; }
.ccp-menu li ul { display: flex; flex-wrap: wrap; column-gap: 8px; }

@media (max-width: 899px) {
	.ccp-top { grid-template-columns: auto 1fr auto; }
	.ccp-top__nav { display: none; }
	.ccp-top__logo { padding: 0 14px; }
	.ccp-top__logo img { height: 26px; }
	.ccp-top__call { justify-content: center; padding: 0 12px; }
	.ccp-top__call-word { display: none; }
	.ccp-top__menu { display: block; }
}

/* ------------------------------------------------------------------ boards */
.board { display: grid; gap: var(--g); margin: var(--g) var(--m) 0; }

/* Home: two by two */
.ccp-hero {
	grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
	height: calc(100svh - var(--top-h) - var(--m) - var(--g) - var(--m));
	min-height: 600px; max-height: 1100px;
}
.ccp-hero__name { grid-area: 1 / 1; display: flex; align-items: flex-end; padding: var(--pad); }
.ccp-hero__name h1 { font-size: var(--step-display); letter-spacing: -0.05em; line-height: 0.86; }
.ccp-hero__first { display: block; }
.ccp-hero__rest { display: block; margin-top: 0.22em; font-size: var(--step-head); letter-spacing: -0.035em; color: var(--navy); }
.ccp-hero__photo-a { grid-area: 1 / 2; }
.ccp-hero__photo-b { grid-area: 2 / 1; }
.ccp-hero .tile--photo img { filter: grayscale(1) contrast(1.08); }
.ccp-hero__pair { grid-area: 2 / 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.ccp-hero__pair .tile { padding: var(--pad); }
.ccp-hero__book { display: flex; flex-direction: column; justify-content: space-between; transition: background-color 0.2s var(--ease); }
.ccp-hero__book:hover { background: var(--accent-2); }
.ccp-hero__number { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

@media (max-width: 899px) {
	.ccp-hero {
		grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto;
		height: auto; min-height: 0; max-height: none;
		grid-template-areas: "name name" "a a" "pair pair" "b b";
	}
	.ccp-hero__name { grid-area: name; min-height: 30svh; }
	.ccp-hero__name h1 { font-size: 17vw; }
	.ccp-hero__rest { font-size: 8.4vw; }
	.ccp-hero__photo-a { grid-area: a; aspect-ratio: 4 / 3; }
	.ccp-hero__photo-b { grid-area: b; aspect-ratio: 4 / 3; }
	.ccp-hero__pair { grid-area: pair; }
	.ccp-hero__pair .tile { aspect-ratio: 1; padding: 16px; }
}

/* ---------------------------------------------------- statement and rows */
.ccp-split { display: grid; grid-template-columns: 1fr 1fr; margin: var(--g) var(--m) 0; }
.ccp-split__cell { background: var(--paper); min-height: 80svh; padding: var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.ccp-split__h { font-size: var(--step-head); }
.ccp-split__h span { display: block; }
.ccp-split__h .is-right { text-align: right; }
.ccp-split__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ccp-split__foot p { max-width: 30ch; }
.ccp-split__rows { display: grid; grid-auto-rows: 1fr; }
.ccp-split__row {
	display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 24px; align-items: start;
	padding: 28px var(--pad); background: var(--deep); color: #fff; text-decoration: none;
	transition: background-color 0.25s var(--ease);
}
.ccp-split__row:nth-child(even) { background: var(--deep-2); }
.ccp-split__row:hover { background: var(--navy); }
.ccp-split__row h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.05; }
.ccp-split__row p { font-size: var(--step-body); line-height: 1.45; color: #dfe6ee; }
.ccp-split__row ul { list-style: none; padding: 0; font-size: var(--step-small); line-height: 1.6; color: var(--accent); }

@media (max-width: 899px) {
	.ccp-split { grid-template-columns: 1fr; }
	.ccp-split__cell { min-height: 0; gap: 120px; }
	.ccp-split__foot { flex-direction: column; align-items: flex-start; }
	.ccp-split__row { grid-template-columns: 1fr; gap: 10px; padding: 24px 16px; }
	.ccp-split__row ul { display: flex; flex-wrap: wrap; gap: 0 0.4em; }
	.ccp-split__row li:not(:last-child)::after { content: ","; }
}

/* ------------------------------------------------- one image across tiles */
.ccp-mosaic-wrap { margin: var(--g) var(--m) 0; }
.ccp-mosaic { --cols: 6; --rows: 3; container-type: inline-size; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: var(--g); }
.ccp-mosaic__cell { --cc: var(--c); --rr: var(--r); aspect-ratio: 1; position: relative; overflow: hidden; }
.ccp-mosaic__piece { position: absolute; inset: 0; transition: transform 0.7s var(--ease); }
.ccp-mosaic__cell img {
	position: absolute; max-width: none; object-fit: cover; object-position: 50% 62%;
	width: 100cqw;
	height: calc(var(--rows) * ((100cqw - (var(--cols) - 1) * var(--g)) / var(--cols)) + (var(--rows) - 1) * var(--g));
	left: calc(-1 * var(--cc) * ((100cqw - (var(--cols) - 1) * var(--g)) / var(--cols) + var(--g)));
	top: calc(-1 * var(--rr) * ((100cqw - (var(--cols) - 1) * var(--g)) / var(--cols) + var(--g)));
}
.ccp-mosaic__cell:hover .ccp-mosaic__piece { transform: scale(1.08); }
.ccp-mosaic__cell.is-text { padding: 16px; display: flex; flex-direction: column; justify-content: flex-start; }
.ccp-mosaic__cell.is-text h2 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.05; }
.ccp-mosaic__cell.is-text p { font-size: var(--step-body); line-height: 1.35; }
.ccp-mosaic__cell.is-text strong { display: block; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 6px; }
.ccp-mosaic__cell.is-text a { position: absolute; inset: 0; padding: 16px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; transition: background-color 0.2s var(--ease); }
.ccp-mosaic__cell.is-text a:hover { background: var(--accent-2); }

@media (max-width: 899px) {
	.ccp-mosaic { --cols: 3; --rows: 6; }
	.ccp-mosaic__cell { --cc: var(--mc); --rr: var(--mr); }
	.ccp-mosaic__cell.is-text { padding: 10px; }
	.ccp-mosaic__cell.is-text p { font-size: var(--step-small); }
	.ccp-mosaic__cell.is-text strong, .ccp-mosaic__cell.is-text h2, .ccp-mosaic__cell.is-text a { font-size: var(--step-body); }
	.ccp-mosaic__cell.is-text a { padding: 10px; }
}

/* ---------------------------------------------------------- will it reach */
.ccp-reach { margin: var(--g) var(--m) 0; background: var(--paper); padding: var(--pad); }
.ccp-reach__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ccp-reach__head h2 { font-size: var(--step-head); }
.ccp-reach__head h2 span { display: block; }
.ccp-reach__head .is-soft { color: var(--muted); }
.ccp-reach__body { display: grid; grid-template-columns: 150px 1fr; gap: 40px; margin-top: 56px; }
.ccp-reach__tabs { display: flex; flex-direction: column; gap: 6px; }
.ccp-reach__tab {
	display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 8px 16px;
	background: var(--step); text-decoration: none; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.ccp-reach__tab:hover { background: #c9d1da; transform: translateX(3px); }
.ccp-reach__tab[aria-selected="true"] { background: var(--deep); color: #fff; transform: none; }
.ccp-reach__tab-name { font-weight: 600; }
.ccp-reach__tab-sub { font-size: var(--step-small); }
.ccp-reach__panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 40px; align-content: start; }
.ccp-reach__controls { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.ccp-reach__control span { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.ccp-reach__control output { font-weight: 600; font-variant-numeric: tabular-nums; }
.ccp-reach__control input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 6px 0 0; background: transparent; cursor: pointer; }
.ccp-reach__control input[type="range"]::-webkit-slider-runnable-track { height: 12px; background: var(--step); }
.ccp-reach__control input[type="range"]::-moz-range-track { height: 12px; background: var(--step); }
.ccp-reach__control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -10px; background: var(--accent); border: 0; border-radius: 0; transition: transform 0.15s var(--ease); }
.ccp-reach__control input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 0; }
.ccp-reach__control input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.ccp-reach__verdict { grid-column: 1 / -1; font-size: var(--step-lead); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; min-height: 2.5em; max-width: 46ch; }
.ccp-reach__chart { width: 100%; background: var(--bg); }
.ccp-reach__env { fill: var(--navy); fill-opacity: 0.08; transition: fill-opacity 0.3s var(--ease), fill 0.3s var(--ease); }
.ccp-reach__env.is-on { fill: var(--accent); fill-opacity: 0.92; }
.ccp-reach__ground, .ccp-reach__truck { fill: var(--deep); }
.ccp-reach__target circle { fill: var(--deep); stroke: #fff; stroke-width: 4; transition: transform 0.2s var(--ease); }
.ccp-reach__target.is-miss circle { fill: #c62828; }
.ccp-reach__axis { fill: #fff; font-size: 15px; font-family: inherit; }
.ccp-reach__bands { display: flex; flex-direction: column; gap: 4px; }
.ccp-reach__bands div { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 0 20px; background: var(--bg); }
.ccp-reach__bands div:nth-child(even) { background: var(--step); }
.ccp-reach__bands dt { color: var(--muted); }
.ccp-reach__bands dd { font-size: var(--step-lead); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.ccp-reach__more { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.ccp-reach__fine { margin-top: 32px; max-width: 60ch; color: var(--muted); }

@media (max-width: 899px) {
	.ccp-reach__head { flex-direction: column; align-items: stretch; }
	.ccp-reach__body { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
	.ccp-reach__tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
	.ccp-reach__tab { min-height: 56px; padding: 8px 10px; }
	.ccp-reach__tab-name { font-size: var(--step-small); }
	.ccp-reach__panel, .ccp-reach__controls { grid-template-columns: 1fr; }
	.ccp-reach__more { grid-column: 1; }
}

/* ------------------------------------------------------------ local */
.ccp-local { margin: var(--g) var(--m) 0; padding: clamp(48px, 7vw, 120px) var(--pad); background: var(--bg); }
.ccp-local__intro h2 { font-size: var(--step-head); }
.ccp-local__intro .ccp-lead { margin-top: 24px; max-width: 40ch; }
.ccp-local__board { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 72px; }
.ccp-local__photo { grid-column: 1 / 9; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.ccp-local__photo img { width: 100%; height: 100%; object-fit: cover; }
.ccp-local__note { position: absolute; top: 0; right: 0; width: 340px; padding: 20px; background: var(--paper); font-size: var(--step-body); line-height: 1.45; }
.ccp-local__side { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 24px; }
.ccp-local__map { padding: 20px; }
.ccp-local__map svg { width: 100%; max-height: 430px; }
.ccp-map__town circle { fill: var(--accent); }
.ccp-map__depot circle { fill: #fff; }
.ccp-local__map text { fill: #fff; font-family: inherit; font-size: 17px; font-weight: 500; }
.ccp-local__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.ccp-local__facts dt { font-size: var(--step-small); color: var(--muted); }
.ccp-local__facts dd { font-weight: 600; }

@media (max-width: 899px) {
	.ccp-local__intro h2 { font-size: 9vw; }
	.ccp-local__board { grid-template-columns: 1fr; margin-top: 32px; }
	.ccp-local__photo, .ccp-local__side { grid-column: 1; }
	.ccp-local__photo { aspect-ratio: auto; display: flex; flex-direction: column; }
	.ccp-local__photo img { aspect-ratio: 4 / 3; height: auto; }
	.ccp-local__note { position: static; width: auto; }
}

/* ------------------------------------------------------------ the wall */
.ccp-wall { margin: var(--g) var(--m) 0; }
.ccp-wall__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); }
.ccp-wall__cell { aspect-ratio: 1; position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; }
.ccp-wall__cell a { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; color: inherit; transition: transform 0.35s var(--ease); }
.ccp-wall__cell a:hover { transform: scale(1.03); }
.ccp-wall__word { display: block; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; padding: 0 16px; }
.ccp-wall__cap { position: absolute; left: 12px; right: 12px; bottom: 18px; font-size: var(--step-small); }
.ccp-wall__cell.is-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.ccp-wall__cell.is-photo:hover img { transform: scale(1.06); }

@media (max-width: 899px) {
	.ccp-wall__grid { grid-template-columns: 1fr 1fr; }
	.ccp-wall__word { font-size: 9vw; padding: 0 8px; }
	.ccp-wall__cap { bottom: 12px; }
}

/* ------------------------------------------------------ the page's copy */
.ccp-copy { margin: var(--g) var(--m) 0; background: var(--paper); padding: clamp(32px, 5vw, 88px) var(--pad); }
.ccp-copy .hide-button, .ccp-copy .square-button-white, .entry-content button.square-button-white { display: none; }
.ccp-copy .hide-content { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); }
.ccp-copy .hide-content > div > h2:first-child { margin-top: 0; }
@media (max-width: 899px) { .ccp-copy .hide-content { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- inner pages */
.ccp-pagehead { grid-template-columns: repeat(12, 1fr); grid-template-rows: minmax(40svh, auto) auto; }
.ccp-pagehead { min-height: calc(100svh - var(--top-h) - 3 * var(--m)); }
.ccp-pagehead__title { grid-column: 1 / 8; grid-row: 1; display: flex; align-items: flex-end; padding: var(--pad); }
.ccp-pagehead__title h1 { font-size: var(--step-head); }
.ccp-pagehead__photo { grid-column: 8 / 13; grid-row: 1 / 3; min-height: 320px; }
.ccp-pagehead__call, .ccp-pagehead__quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 170px; padding: var(--pad); transition: background-color 0.2s var(--ease); }
.ccp-pagehead__call { grid-column: 1 / 5; grid-row: 2; }
.ccp-pagehead__quote { grid-column: 5 / 8; grid-row: 2; }
.ccp-pagehead__call:hover { background: var(--navy); }
.ccp-pagehead__quote:hover { background: var(--accent-2); }
.ccp-pagehead strong { font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ccp-pagehead.is-contact .ccp-pagehead__call { grid-column: 1 / 8; }
.ccp-pagehead.is-bare .ccp-pagehead__title { grid-column: 1 / 13; }
.ccp-pagehead.is-bare .ccp-pagehead__call { grid-column: 1 / 7; }
.ccp-pagehead.is-bare .ccp-pagehead__quote { grid-column: 7 / 13; }

@media (max-width: 899px) {
	.ccp-pagehead { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
	.ccp-pagehead__title, .ccp-pagehead.is-bare .ccp-pagehead__title { grid-column: 1 / 3; grid-row: 1; min-height: 28svh; }
	.ccp-pagehead__title h1 { font-size: 7.2vw; }
	.ccp-pagehead__call, .ccp-pagehead.is-bare .ccp-pagehead__call { grid-column: 1; grid-row: 2; min-height: 120px; padding: 16px; }
	.ccp-pagehead__quote, .ccp-pagehead.is-bare .ccp-pagehead__quote { grid-column: 2; grid-row: 2; min-height: 120px; padding: 16px; }
	.ccp-pagehead__photo { grid-column: 1 / 3; grid-row: 3; min-height: 0; aspect-ratio: 4 / 3; }
	.ccp-pagehead.is-contact .ccp-pagehead__call { grid-column: 1 / 3; }
	.ccp-pagehead strong { font-size: var(--step-body); }
}

.ccp-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); margin: var(--g) var(--m) 0; }
.ccp-specs > div { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 180px; padding: var(--pad); }
.ccp-specs__fig { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .ccp-specs { grid-template-columns: 1fr 1fr; } .ccp-specs > div { min-height: 130px; padding: 16px; } }

.ccp-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); margin: var(--g) var(--m) 0; align-items: start; }
.ccp-body__main { grid-column: 1 / 9; background: var(--paper); padding: clamp(24px, 4.5vw, 72px); min-width: 0; }
.ccp-side { grid-column: 9 / 13; display: flex; flex-direction: column; gap: var(--g); }
.ccp-side__tile { padding: var(--pad); text-decoration: none; }
.ccp-side__tile h2 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 14px; }
.ccp-side__tile ul { list-style: none; padding: 0; }
.ccp-side__tile li a { display: block; padding: 8px 0; text-decoration: none; font-weight: 500; transition: transform 0.2s var(--ease); }
.ccp-side__tile li a:hover { transform: translateX(4px); }
.ccp-side__tile li a[aria-current] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.ccp-side__tile p + p { margin-top: 8px; }
.ccp-side__tile.tile--deep a { color: #fff; }
.ccp-side__reach { display: flex; flex-direction: column; gap: 16px; transition: background-color 0.2s var(--ease); }
.ccp-side__reach:hover { background: var(--deep-2); }
.ccp-side__big { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }

@media (max-width: 899px) {
	.ccp-body { grid-template-columns: 1fr; }
	.ccp-body__main, .ccp-side { grid-column: 1; }
	.ccp-body__main { padding: 24px 16px; }
}

/* ---------------------------------------------------------- page content */
.entry-content > *:first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content table { margin: 0 0 1em; }
.entry-content p { max-width: 66ch; }
.entry-content h2 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; margin: 1.8em 0 0.6em; }
.entry-content h3 { font-size: var(--step-body); letter-spacing: 0; line-height: 1.3; margin: 1.6em 0 0.4em; }
.entry-content em { font-style: normal; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; display: inline-block; margin-bottom: 0.2em; }
.entry-content a:not(.button):not(.ccp-btn) { text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.entry-content ul:not([class]), .entry-content ol { padding-left: 1.2em; }
.entry-content ul:not([class]) li::marker { color: var(--navy); }
.entry-content ul.inner-li { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.entry-content ul.inner-li li { background: var(--bg); padding: 14px 16px; font-weight: 500; line-height: 1.35; }
.entry-content ul.inner-li li:nth-child(4n+1) { background: var(--step); }
/* 2016 content pasted from Word carries inline sizes, faces and colours: the page's own setting wins. */
.entry-content [style*="font-size"], .entry-content font { font-size: inherit !important; }
.entry-content [style*="font-family"], .entry-content font { font-family: inherit !important; }
.entry-content [style*="color"]:not(.button):not(.ccp-btn) { color: inherit !important; }
/* The 2016 spec tables carry inline widths, heights, 10px grey type and green bars: take them back to the page's own setting. */
.entry-content table { border-collapse: collapse; width: 100% !important; height: auto !important; font-variant-numeric: tabular-nums; }
.entry-content table *, .entry-content table[style] { font-size: var(--step-body) !important; color: var(--ink) !important; background: transparent !important; height: auto !important; line-height: 1.4 !important; font-family: inherit !important; }
.entry-content td, .entry-content th { padding: 10px 12px !important; text-align: left !important; vertical-align: top; width: auto !important; }
.entry-content tr:nth-child(odd) > td { background: var(--bg) !important; }
.entry-content table tr:first-child td { font-weight: 600; }
.entry-content h1, .entry-content h4, .entry-content h5 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; margin: 1.8em 0 0.6em; color: var(--ink) !important; }
.entry-content .wp-caption, .entry-content figure { max-width: 100%; }

.ccp-cta { background: var(--navy); color: #fff; padding: var(--pad); margin: 2em 0 0; }
.ccp-cta h2 { margin: 0 0 1em; color: #fff; }
.ccp-cta h2 a { color: var(--accent); text-decoration: none; white-space: nowrap; display: inline-block; padding: 10px 0; margin: -10px 0; }
.ccp-cta br { display: none; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); margin: 0.6em 0 2em; }
.gallery .gallery-item { margin: 0; width: auto !important; }
.gallery .gallery-icon a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery br { display: none; }
.gallery-caption { font-size: var(--step-small); }
@media (max-width: 899px) { .gallery { grid-template-columns: 1fr 1fr; } }

.ccp-fleet { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); margin: 0 0 1.5em; }
.ccp-fleet__tile { aspect-ratio: 1; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform 0.25s var(--ease); }
.ccp-fleet__tile:hover { transform: translateY(-4px); }
.ccp-fleet__name { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.ccp-fleet__fig { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.ccp-fleet__fig small { font-size: var(--step-small); letter-spacing: 0; margin-left: 4px; font-weight: 500; }
.ccp-fleet__note { font-size: var(--step-body); line-height: 1.25; }
@media (max-width: 1199px) { .ccp-fleet { grid-template-columns: 1fr 1fr; } }

.ccp-projects { display: grid; gap: var(--g); margin: 0 0 1.5em; }
.ccp-projects__item { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); text-decoration: none; transition: background-color 0.2s var(--ease); }
.ccp-projects__item:hover { background: var(--step); }
.ccp-projects__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ccp-projects__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ccp-projects__item:hover img { transform: scale(1.05); }
.ccp-projects__text { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ccp-projects__title { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
@media (max-width: 899px) { .ccp-projects__item { grid-template-columns: 1fr; } }

.search-form { display: flex; gap: 8px; margin: 1.5em 0 0; max-width: 560px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 0; background: var(--bg); font: inherit; color: var(--ink); }
.search-form .search-field:focus { background: #fff; outline: 3px solid var(--accent); outline-offset: 0; }
.search-form .search-submit { min-height: 52px; padding: 14px 24px; border: 0; border-radius: 0; background: var(--deep); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.search-form .search-submit:hover { background: var(--navy); }
.navigation.pagination { margin-top: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--bg); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--deep); color: #fff; }
.screen-reader-text.nav-subtitle, .pagination .screen-reader-text { position: absolute; }
.entry-content ul.inner-li li a { display: block; margin: -14px -16px; padding: 14px 16px; text-decoration: none; }

.ccp-map { margin: 1.5em 0; background: var(--bg); }
.ccp-map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Contact Form 7 */
.wpcf7 form > p, .wpcf7 form .wpcf7-form-control-wrap { display: block; }
.wpcf7 form > p { margin: 0 0 14px; }
.wpcf7 label { display: block; font-weight: 500; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 14px 16px; border: 0; border-radius: 0;
	background: var(--bg); color: var(--ink); font: inherit; transition: background-color 0.2s var(--ease);
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { background: #fff; outline: 3px solid var(--accent); outline-offset: 0; }
.wpcf7 textarea { min-height: 160px; }
.wpcf7-not-valid-tip { font-size: var(--step-small); color: #a4161a; margin-top: 4px; }
.wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 16px !important; border: 0 !important; background: var(--bg); }

/* --------------------------------------------------------- booking strip */
.ccp-book { margin: var(--g) var(--m) 0; background: var(--accent); color: var(--deep); padding: 48px 0 clamp(36px, 4vw, 64px); overflow: hidden; }
.ccp-book__strip { overflow: hidden; }
.ccp-book__track { display: flex; gap: 8px; width: max-content; animation: ccp-marquee 70s linear infinite; }
.ccp-book__pic { height: 150px; flex: 0 0 auto; overflow: hidden; background: var(--accent-2); }
.ccp-book__pic img { width: 100%; height: 100%; object-fit: cover; }
.ccp-book h2 { margin: 72px var(--pad) 0; font-size: var(--step-head); }
.ccp-book__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 40px var(--pad) 0; }
.ccp-book__cell {
	display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 96px; padding: 12px;
	background: var(--accent-2); text-decoration: none; text-align: center;
	font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.ccp-book__cell span { font-weight: 400; }
.ccp-book__cell:hover { background: #fff; }
.ccp-book__cell:active { transform: scale(0.99); }
.ccp-book__cell.is-go { background: var(--deep); color: #fff; }
.ccp-book__cell.is-go:hover { background: var(--navy); }
.ccp-book__fine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px var(--pad) 0; font-size: var(--step-small); }
.ccp-book__fine p:last-child { grid-column: 3; }
.ccp-book__fine a { font-weight: 600; }
@keyframes ccp-marquee { to { transform: translateX(calc(-50% - 4px)); } }

@media (max-width: 899px) {
	.ccp-book { padding-top: 24px; }
	.ccp-book__pic { height: 110px; }
	.ccp-book h2 { margin-top: 40px; font-size: 9vw; }
	.ccp-book__bar { grid-template-columns: 1fr; margin-top: 24px; }
	.ccp-book__cell { min-height: 60px; }
	.ccp-book__fine { grid-template-columns: 1fr; }
	.ccp-book__fine p:last-child { grid-column: 1; }
}

/* ----------------------------------------------------------------- footer */
.ccp-foot { margin: var(--g) var(--m) var(--m); background: var(--paper); padding: var(--pad); }
.ccp-foot__mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; text-decoration: none; }
.ccp-foot__blk {
	flex: 1; height: var(--h); display: flex; align-items: flex-end; padding: 0 0 0.04em 0.06em;
	font-size: var(--step-display); font-weight: 600; letter-spacing: -0.05em; line-height: 0.8;
	transition: height 0.5s var(--ease);
}
.ccp-foot__blk.tone-navy, .ccp-foot__blk.tone-deep { color: var(--paper); }
.ccp-foot__mark:hover .ccp-foot__blk:nth-child(2) { height: 100%; }
.ccp-foot__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 56px; font-size: var(--step-body); }
.ccp-foot__col { list-style: none; padding: 0; margin: 0; }
.ccp-foot__col li a, .ccp-foot__contact a { text-decoration: none; display: inline-block; padding: 9px 0; min-height: 44px; transition: transform 0.2s var(--ease); }
.ccp-foot__col li a:hover, .ccp-foot__contact a:hover { transform: translateX(3px); }
.ccp-foot .is-head { font-size: var(--step-body); font-weight: 600; margin-bottom: 6px; }
.ccp-foot__contact p { padding: 4px 0; }
.ccp-foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; font-size: var(--step-small); }
.ccp-foot__top { background: var(--deep); color: #fff; padding: 10px 16px; text-decoration: none; transition: background-color 0.2s var(--ease); }
.ccp-foot__top:hover { background: var(--navy); }

@media (max-width: 899px) {
	.ccp-foot__mark { height: 22svh; min-height: 150px; }
	.ccp-foot__blk { font-size: 30vw; }
	.ccp-foot__cols { grid-template-columns: 1fr 1fr; }
	.ccp-foot__contact { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ motion */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.is-shutter { animation: ccp-shutter 1.1s var(--ease) both; }
.is-shutter img { animation: ccp-settle 1.5s var(--ease) both; }
@keyframes ccp-shutter { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes ccp-settle { from { transform: scale(1.12); } to { transform: none; } }
.ccp-hero__photo-b img { animation: ccp-drift 24s ease-in-out infinite alternate; }
@keyframes ccp-drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js [data-rise] { opacity: 1; transform: none; transition: none; }
	.is-shutter, .is-shutter img, .ccp-hero__photo-b img { animation: none; }
	.ccp-book__track { animation: none; }
	.ccp-book__strip { overflow-x: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}
