/**
 * Swellora block styles (front end + editor).
 *
 * Design idea: the tide table. Surf lessons are planned around the tide, so the one device is a
 * tide curve: a smooth line of water height across the day with the lesson times placed on it as
 * buoy-orange points. It appears in the hero (today's lessons) and in the timetable. It is
 * information, not decoration: never use the curve as a divider or background elsewhere.
 *
 * Rules for humans and AI agents:
 * - Use the design tokens only: var(--wp--preset--color--*), --font-size--*, --spacing--*,
 *   var(--wp--custom--radius--*), var(--wp--custom--hero-stretch), var(--wp--custom--drawing-filter)
 *   and var(--wp--custom--icon-filter). Never hard-code a colour here.
 * - No drop shadows, no gradient washes, small radii. Spend boldness only on the hero headline and the tide curve.
 * - Each section below is one block style or one helper class used by the patterns.
 */

/* ---------- Layout ---------- */

.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

/* Full-width sections sit edge to edge (no strip between bands). */
:where(.wp-site-blocks main, .wp-block-post-content) > .alignfull {
	margin-block-start: 0;
	margin-block-end: 0;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Section intros are left aligned on the wide grid, with a readable line length. */
.swellora-intro > * {
	max-width: 42rem;
}

/* Small labels: sentence case, never all caps. */
.swellora-label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0;
	color: var(--wp--preset--color--ink-soft);
}

/* ---------- Header ---------- */

.swellora-topbar a {
	color: inherit;
	font-weight: 600;
}

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* No backdrop-filter on the header: it would trap the mobile menu overlay inside the header. */
.swellora-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
	background-color: color-mix(in srgb, var(--wp--preset--color--base) 97%, transparent);
}

/* Brand mark in front of the site title (hidden once a logo is set): a wave on a deep-water square. */
.swellora-header .wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.swellora-header .wp-block-site-title a::before {
	content: "";
	flex: none;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--primary);
	background-image: url("../images/icons/wave.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 64%;
}

.swellora-header .wp-block-site-logo + .wp-block-site-title a::before {
	display: none;
}

@media (max-width: 781px) {
	.swellora-header-cta {
		display: none !important;
	}

	/* Keep the sticky header short on phones: show only the phone line. */
	.swellora-topbar .wp-block-group > p:first-child {
		display: none;
	}

	.swellora-topbar .wp-block-group {
		justify-content: center !important;
	}
}

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--50);
}

/* ---------- Footer ---------- */

.swellora-footer a {
	color: inherit;
	text-decoration: none;
}

.swellora-footer a:hover {
	text-decoration: underline;
}

.swellora-muted {
	opacity: 0.72;
}

.swellora-footer .wp-block-separator {
	opacity: 0.25;
}

/* ---------- Hero: wide, heavy headline ---------- */

.swellora-hero h1 {
	font-size: var(--wp--preset--font-size--display);
	font-stretch: var(--wp--custom--hero-stretch, 135%);
	font-weight: 850;
	line-height: var(--wp--custom--line-height--display);
	letter-spacing: -0.03em;
}

/* ---------- The tide curve (hero and timetable) ---------- */

/*
 * A box with the day's water height drawn across it. The water (tide-fill.svg) and the line
 * (tide-line.svg) are masks filled with palette colours, so the curve follows every colour style.
 * The box runs from 06:00 (left edge) to 20:00 (right edge). Each point is a paragraph with a
 * swellora-at-HHMM class (06:00 to 20:00 in 15-minute steps, see the end of this file) that places
 * it exactly on the line (--x, --y) and times its bob to the moment the line reaches it (--d).
 */
.swellora-tide {
	--tide-water: var(--wp--preset--color--surface);
	--tide-line: var(--wp--preset--color--primary);
	position: relative;
	aspect-ratio: 10 / 3;
	min-height: 15rem;
	margin-block-start: var(--wp--preset--spacing--60) !important;
	border-bottom: 1px solid var(--wp--preset--color--ink-soft);
}

.has-surface-background-color .swellora-tide {
	--tide-water: var(--wp--preset--color--surface-2);
}

.swellora-tide::before,
.swellora-tide::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.swellora-tide::before {
	background-color: var(--tide-water);
	-webkit-mask-image: url("../images/tide-fill.svg");
	mask-image: url("../images/tide-fill.svg");
}

.swellora-tide::after {
	background-color: var(--tide-line);
	-webkit-mask-image: url("../images/tide-line.svg");
	mask-image: url("../images/tide-line.svg");
	animation: swellora-draw 0.6s cubic-bezier(0.3, 0, 0.3, 1);
}

/* A lesson on the tide: label above, buoy-orange point exactly on the line. */
.swellora-tide > p {
	--x: 50%;
	--y: 50%;
	position: absolute;
	z-index: 1;
	left: var(--x);
	bottom: calc(100% - var(--y) + 1.1rem);
	margin: 0 !important;
	transform: translateX(-50%);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
}

.swellora-tide > p strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

.swellora-tide > p a {
	color: inherit;
}

.swellora-tide > p::after {
	content: "";
	position: absolute;
	left: 50%;
	top: calc(100% + 1.1rem - 0.5rem);
	width: 1rem;
	height: 1rem;
	box-sizing: border-box;
	border: 2px solid var(--wp--preset--color--primary-deep);
	border-radius: 50%;
	background-color: var(--wp--preset--color--accent);
	transform: translateX(-50%);
	animation: swellora-buoy 0.3s ease-out;
	animation-delay: var(--d, 0s);
}

/* Low and high water marks: plain small text under the line, no point, so they never meet a lesson label. */
.swellora-tide > p.swellora-tide-mark {
	bottom: auto;
	top: calc(var(--y) + 0.7rem);
	color: var(--wp--preset--color--ink-soft);
	font-weight: 600;
}

.swellora-tide > p.swellora-tide-mark::after {
	content: none;
}

/* Hours along the bottom edge. */
.swellora-tide-hours {
	position: relative;
	height: 1.6rem;
	margin: 0.35rem 0 0 !important;
	color: var(--wp--preset--color--ink-soft);
	font-size: var(--wp--preset--font-size--small);
	font-variant-numeric: tabular-nums;
}

.swellora-tide-hours span {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
}

.swellora-tide-hours span:nth-child(1) { left: 0; transform: none; }
.swellora-tide-hours span:nth-child(2) { left: 21.43%; }
.swellora-tide-hours span:nth-child(3) { left: 42.86%; }
.swellora-tide-hours span:nth-child(4) { left: 64.29%; }
.swellora-tide-hours span:nth-child(5) { left: 85.71%; }

/*
 * The one motion moment: on load the line draws from left to right and each lesson point bobs
 * as the line reaches it (about 0.6 s in all). The first and last keyframes are the finished
 * state, so a static capture always shows the whole curve. Off under reduced motion.
 */
@keyframes swellora-draw {
	0%,
	100% {
		clip-path: inset(0 0 0 0);
	}

	0.1% {
		clip-path: inset(0 100% 0 0);
	}
}

@keyframes swellora-buoy {
	0%,
	100% {
		transform: translateX(-50%);
	}

	45% {
		transform: translateX(-50%) translateY(-0.45rem);
	}
}

@media (max-width: 781px) {
	.swellora-tide {
		aspect-ratio: 10 / 6;
		min-height: 0;
	}

	.swellora-tide > p {
		font-size: 0.8rem;
	}

	.swellora-tide > p strong {
		font-size: var(--wp--preset--font-size--medium);
	}

	/* On phones the points show the time only; the lesson names are in the card and the list. */
	.swellora-tide > p .swellora-tide-what {
		display: none;
	}

	.swellora-tide-hours span:nth-child(even) {
		display: none;
	}
}

/* ---------- Block style: Group "Plain card" ---------- */

.is-style-swellora-card {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--50);
	box-sizing: border-box;
}

/* Cards in a grid row share the same height. */
.is-layout-grid > .is-style-swellora-card {
	height: 100%;
}

/* Label / value lines (hero booking card, camp facts). */
.swellora-fields > .wp-block-group {
	padding-block: 0.65rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0;
	gap: var(--wp--preset--spacing--30);
}

.swellora-fields p {
	margin: 0;
}

.swellora-fields > .wp-block-group > p:first-child {
	flex: none;
	width: 6.5rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--wp--preset--color--ink-soft);
	padding-top: 0.15em;
}

/* "Spaces left": a buoy-orange point in front of ink text. Orange is never the text colour. */
.swellora-spaces {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-weight: 700;
}

.swellora-spaces::before {
	content: "";
	flex: none;
	width: 0.75em;
	height: 0.75em;
	box-sizing: border-box;
	border: 2px solid var(--wp--preset--color--primary-deep);
	border-radius: 50%;
	background-color: var(--wp--preset--color--accent);
}

/* ---------- Lessons: a list with length, group size and price ---------- */

.swellora-lessons {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.swellora-lessons > .wp-block-group {
	display: grid;
	grid-template-columns: 4rem minmax(0, 1fr) 8rem 10rem 7rem max-content;
	align-items: center;
	column-gap: var(--wp--preset--spacing--40);
	padding-block: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0 !important;
	scroll-margin-top: 7rem;
}

.swellora-lessons > .wp-block-group > * {
	margin: 0 !important;
}

.swellora-lessons h3 {
	font-size: var(--wp--preset--font-size--x-large);
}

.swellora-lessons h3 + p {
	margin-top: 0.3rem !important;
	color: var(--wp--preset--color--ink-soft);
}

.swellora-lessons .swellora-price {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* Each fact carries its own small label, so the row reads on its own. */
.swellora-fact {
	line-height: 1.35;
}

.swellora-fact span {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--wp--preset--color--ink-soft);
}

@media (max-width: 1000px) {
	.swellora-lessons > .wp-block-group {
		grid-template-columns: 3.25rem repeat(3, minmax(0, 1fr));
		row-gap: var(--wp--preset--spacing--30);
	}

	.swellora-lessons > .wp-block-group > :nth-child(2) {
		grid-column: 2 / -1;
	}

	.swellora-lessons > .wp-block-group > :nth-child(1) {
		grid-row: span 3;
		align-self: start;
	}

	.swellora-lessons > .wp-block-group > :last-child {
		grid-column: 2 / -1;
	}
}

@media (max-width: 599px) {
	.swellora-lessons > .wp-block-group {
		grid-template-columns: 3.25rem minmax(0, 1fr);
	}

	.swellora-lessons > .wp-block-group > :nth-child(1) {
		grid-row: span 5;
	}

	.swellora-lessons > .wp-block-group > * {
		grid-column: 2 !important;
	}
}

/* ---------- Block style: Image "Line drawing" ---------- */

.wp-block-image.is-style-swellora-drawing {
	margin: 0;
}

.wp-block-image.is-style-swellora-drawing img {
	display: block;
	width: 100%;
	height: auto;
	filter: var(--wp--custom--drawing-filter, none);
}

/* ---------- Steps of a first lesson (a real sequence, so it is numbered) ---------- */

.swellora-steps > .wp-block-group {
	border-top: 1.5px solid var(--wp--preset--color--ink);
	padding-top: var(--wp--preset--spacing--30);
}

.swellora-step-num {
	display: inline-grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border: 1.5px solid var(--wp--preset--color--ink);
	border-radius: 50%;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 750;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.swellora-step-time {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--wp--preset--color--ink-soft);
}

/* ---------- The week: one row per day, low water and lesson times ---------- */

.swellora-week {
	border-top: 1px solid var(--wp--preset--color--ink-soft);
}

.swellora-week > .wp-block-group {
	display: grid;
	grid-template-columns: 9rem 8rem minmax(0, 1fr);
	align-items: center;
	column-gap: var(--wp--preset--spacing--40);
	padding-block: 0.8rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0 !important;
}

.swellora-week > .wp-block-group > * {
	margin: 0 !important;
}

.swellora-week > .wp-block-group > p:first-child {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
}

.swellora-week > .wp-block-group > p:nth-child(2) {
	color: var(--wp--preset--color--ink-soft);
	font-size: var(--wp--preset--font-size--small);
	font-variant-numeric: tabular-nums;
}

.swellora-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.swellora-slots > p {
	margin: 0 !important;
	padding: 0.3rem 0.65rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.35;
}

.swellora-slots strong {
	font-family: var(--wp--preset--font-family--heading);
	font-variant-numeric: tabular-nums;
	margin-right: 0.35em;
}

.swellora-slots > p.has-spaces {
	border-color: var(--wp--preset--color--primary);
}

.swellora-slots > p.has-spaces::after {
	content: "";
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	margin-left: 0.45em;
	box-sizing: border-box;
	border: 1.5px solid var(--wp--preset--color--primary-deep);
	border-radius: 50%;
	background-color: var(--wp--preset--color--accent);
	vertical-align: 0.05em;
}

@media (max-width: 781px) {
	.swellora-week > .wp-block-group {
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 0.5rem;
	}

	.swellora-week > .wp-block-group > .swellora-slots {
		grid-column: 1 / -1;
	}
}

/* ---------- Helper: 4-item grid (4 → 2 → 1 columns, never 3 + 1) ---------- */

@media (max-width: 1100px) {
	.wp-block-group.swellora-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 599px) {
	.wp-block-group.swellora-grid-4 {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* ---------- Block style: Image "Icon tile" ---------- */

.wp-block-image.is-style-swellora-icon {
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.6rem;
	margin: 0;
	box-sizing: border-box;
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--preset--color--primary);
	flex: none;
}

.wp-block-image.is-style-swellora-icon img {
	display: block;
	width: 100%;
	height: 100%;
	filter: var(--wp--custom--icon-filter, none);
}

/* ---------- Block style: Image "Photo" ---------- */

.wp-block-image.is-style-swellora-photo img {
	border-radius: var(--wp--custom--radius--md);
}

/* ---------- Gallery: four pictures, the first one large ---------- */

.swellora-gallery {
	display: grid !important;
	grid-template-columns: 2fr 1fr 1fr;
	grid-auto-rows: clamp(10rem, 19vw, 15rem);
	gap: var(--wp--preset--spacing--30);
}

.swellora-gallery > .wp-block-image {
	height: 100%;
	margin: 0 !important;
}

.swellora-gallery > .wp-block-image:first-child {
	grid-row: span 2;
}

.swellora-gallery > .wp-block-image:nth-child(4) {
	grid-column: span 2;
}

.swellora-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--md);
}

@media (max-width: 781px) {
	.swellora-gallery {
		grid-template-columns: 1fr 1fr;
	}

	.swellora-gallery > .wp-block-image:first-child,
	.swellora-gallery > .wp-block-image:nth-child(4) {
		grid-row: auto;
		grid-column: span 2;
	}
}

/* ---------- Block style: List "Ticks" ---------- */

.is-style-swellora-check {
	list-style: none;
	padding-left: 0;
}

.is-style-swellora-check li {
	position: relative;
	padding-left: 2rem;
	margin-block: 0.55rem;
}

.is-style-swellora-check li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.3em;
	width: 1.15rem;
	height: 1.15rem;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: url("../images/icons/check.svg") center / contain no-repeat;
	mask: url("../images/icons/check.svg") center / contain no-repeat;
}

/* ---------- Helper: rows (hire prices, opening hours) ---------- */

.swellora-rows > .wp-block-group {
	padding-block: 0.7rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin-block-start: 0;
	align-items: baseline;
}

.swellora-rows > .wp-block-group:last-child {
	border-bottom: 0;
}

.swellora-rows p {
	margin: 0;
}

.swellora-rows > .wp-block-group > p:last-child {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------- Ruled blocks: reviews, contact details, safety notes ---------- */

.swellora-ruled,
.swellora-quote {
	border-top: 1.5px solid var(--wp--preset--color--ink);
	padding-top: var(--wp--preset--spacing--40);
}

.swellora-quote > p:first-child {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
}

/* ---------- Details (FAQ) ---------- */

.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-block: var(--wp--preset--spacing--30);
}

.wp-block-details summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 650;
	letter-spacing: -0.01em;
}

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

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	font-size: 1.5em;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

.wp-block-details[open] summary::after {
	content: "\2013";
}

.wp-block-details > :not(summary) {
	color: var(--wp--preset--color--ink-soft);
}

/* ---------- Posts ---------- */

.swellora-post-card .wp-block-post-featured-image img {
	border-radius: var(--wp--custom--radius--md);
}

.wp-block-post-excerpt__more-link {
	font-weight: 600;
}

/* ---------- Accessibility ---------- */

:where(a, button, summary, input):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.swellora-tide::after,
	.swellora-tide > p::after {
		animation: none;
	}
}

/* ---------- Tide positions: 06:00 (left) to 20:00 (right), every 15 minutes ----------
 * Generated by tools/tide-curve.py together with tide-line.svg and tide-fill.svg (high water 14:15).
 * Do not edit by hand: run  python3 tools/tide-curve.py --high HH:MM  to redraw the curve. */

/* tide-positions:start */
.swellora-at-0600 { --x: 0.00%; --y: 72.37%; --d: 0.00s; }
.swellora-at-0615 { --x: 1.79%; --y: 75.28%; --d: 0.01s; }
.swellora-at-0630 { --x: 3.57%; --y: 77.92%; --d: 0.01s; }
.swellora-at-0645 { --x: 5.36%; --y: 80.25%; --d: 0.02s; }
.swellora-at-0700 { --x: 7.14%; --y: 82.21%; --d: 0.03s; }
.swellora-at-0715 { --x: 8.93%; --y: 83.79%; --d: 0.04s; }
.swellora-at-0730 { --x: 10.71%; --y: 84.96%; --d: 0.04s; }
.swellora-at-0745 { --x: 12.50%; --y: 85.70%; --d: 0.05s; }
.swellora-at-0800 { --x: 14.29%; --y: 85.99%; --d: 0.06s; }
.swellora-at-0815 { --x: 16.07%; --y: 85.84%; --d: 0.06s; }
.swellora-at-0830 { --x: 17.86%; --y: 85.25%; --d: 0.07s; }
.swellora-at-0845 { --x: 19.64%; --y: 84.21%; --d: 0.08s; }
.swellora-at-0900 { --x: 21.43%; --y: 82.76%; --d: 0.09s; }
.swellora-at-0915 { --x: 23.21%; --y: 80.92%; --d: 0.09s; }
.swellora-at-0930 { --x: 25.00%; --y: 78.70%; --d: 0.10s; }
.swellora-at-0945 { --x: 26.79%; --y: 76.16%; --d: 0.11s; }
.swellora-at-1000 { --x: 28.57%; --y: 73.33%; --d: 0.11s; }
.swellora-at-1015 { --x: 30.36%; --y: 70.25%; --d: 0.12s; }
.swellora-at-1030 { --x: 32.14%; --y: 66.98%; --d: 0.13s; }
.swellora-at-1045 { --x: 33.93%; --y: 63.56%; --d: 0.14s; }
.swellora-at-1100 { --x: 35.71%; --y: 60.05%; --d: 0.14s; }
.swellora-at-1115 { --x: 37.50%; --y: 56.51%; --d: 0.15s; }
.swellora-at-1130 { --x: 39.29%; --y: 53.00%; --d: 0.16s; }
.swellora-at-1145 { --x: 41.07%; --y: 49.56%; --d: 0.16s; }
.swellora-at-1200 { --x: 42.86%; --y: 46.26%; --d: 0.17s; }
.swellora-at-1215 { --x: 44.64%; --y: 43.15%; --d: 0.18s; }
.swellora-at-1230 { --x: 46.43%; --y: 40.27%; --d: 0.19s; }
.swellora-at-1245 { --x: 48.21%; --y: 37.68%; --d: 0.19s; }
.swellora-at-1300 { --x: 50.00%; --y: 35.41%; --d: 0.20s; }
.swellora-at-1315 { --x: 51.79%; --y: 33.51%; --d: 0.21s; }
.swellora-at-1330 { --x: 53.57%; --y: 31.99%; --d: 0.21s; }
.swellora-at-1345 { --x: 55.36%; --y: 30.89%; --d: 0.22s; }
.swellora-at-1400 { --x: 57.14%; --y: 30.22%; --d: 0.23s; }
.swellora-at-1415 { --x: 58.93%; --y: 30.00%; --d: 0.24s; }
.swellora-at-1430 { --x: 60.71%; --y: 30.22%; --d: 0.24s; }
.swellora-at-1445 { --x: 62.50%; --y: 30.89%; --d: 0.25s; }
.swellora-at-1500 { --x: 64.29%; --y: 31.99%; --d: 0.26s; }
.swellora-at-1515 { --x: 66.07%; --y: 33.51%; --d: 0.26s; }
.swellora-at-1530 { --x: 67.86%; --y: 35.41%; --d: 0.27s; }
.swellora-at-1545 { --x: 69.64%; --y: 37.68%; --d: 0.28s; }
.swellora-at-1600 { --x: 71.43%; --y: 40.27%; --d: 0.29s; }
.swellora-at-1615 { --x: 73.21%; --y: 43.15%; --d: 0.29s; }
.swellora-at-1630 { --x: 75.00%; --y: 46.26%; --d: 0.30s; }
.swellora-at-1645 { --x: 76.79%; --y: 49.56%; --d: 0.31s; }
.swellora-at-1700 { --x: 78.57%; --y: 53.00%; --d: 0.31s; }
.swellora-at-1715 { --x: 80.36%; --y: 56.51%; --d: 0.32s; }
.swellora-at-1730 { --x: 82.14%; --y: 60.05%; --d: 0.33s; }
.swellora-at-1745 { --x: 83.93%; --y: 63.56%; --d: 0.34s; }
.swellora-at-1800 { --x: 85.71%; --y: 66.98%; --d: 0.34s; }
.swellora-at-1815 { --x: 87.50%; --y: 70.25%; --d: 0.35s; }
.swellora-at-1830 { --x: 89.29%; --y: 73.33%; --d: 0.36s; }
.swellora-at-1845 { --x: 91.07%; --y: 76.16%; --d: 0.36s; }
.swellora-at-1900 { --x: 92.86%; --y: 78.70%; --d: 0.37s; }
.swellora-at-1915 { --x: 94.64%; --y: 80.92%; --d: 0.38s; }
.swellora-at-1930 { --x: 96.43%; --y: 82.76%; --d: 0.39s; }
.swellora-at-1945 { --x: 98.21%; --y: 84.21%; --d: 0.39s; }
.swellora-at-2000 { --x: 100.00%; --y: 85.25%; --d: 0.40s; }
/* tide-positions:end */

/* Dropdown menus: solid panel on desktop. */
.wp-block-navigation:not(.is-menu-open) .wp-block-navigation__submenu-container { background-color: var(--wp--preset--color--base) !important; color: var(--wp--preset--color--ink) !important; border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent) !important; border-radius: 10px; box-shadow: 0 12px 30px color-mix(in srgb, var(--wp--preset--color--ink) 14%, transparent); padding: .4rem 0; min-width: 210px !important; }
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem 1.1rem; font-size: var(--wp--preset--font-size--small); color: inherit; }
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background-color: color-mix(in srgb, var(--wp--preset--color--ink) 6%, transparent); }

/* Mobile menu: right-hand side panel (simple fade-in) with logo, divided list, tap-to-open child items, contact lines and button. */
.wp-block-navigation__responsive-container.is-menu-open { background-color: color-mix(in srgb, var(--wp--preset--color--ink) 45%, transparent) !important; color: var(--wp--preset--color--ink) !important; padding: 0 !important; animation: lt-menu-fade .3s ease-out !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close { position: relative; width: min(86vw, 360px); max-width: none; height: 100%; margin: 0 0 0 auto; background-color: var(--wp--preset--color--base); box-shadow: -8px 0 30px color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent); overflow-y: auto; animation: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { padding: 1.1rem 1.4rem 2rem; margin: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 1.25rem; right: 1.1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 1.75rem !important; gap: 0 !important; font-size: var(--wp--preset--font-size--medium); align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container > .wp-block-navigation-item { display: flex; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; width: 100%; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { flex: 1; padding: .85rem 0; font-weight: 600; color: inherit; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { flex-basis: 100%; display: none !important; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 0 .7rem 1rem !important; gap: 0 !important; font-size: var(--wp--preset--font-size--small); }
.wp-block-navigation__responsive-container.is-menu-open .lt-sub-open > .wp-block-navigation__submenu-container { display: flex !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem 0 !important; color: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus { color: var(--wp--preset--color--primary); }
.lt-sub-toggle { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .lt-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -.6rem; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transition: transform .2s; }
.wp-block-navigation__responsive-container.is-menu-open .lt-sub-open > .lt-sub-toggle { transform: rotate(90deg); }
.lt-menu-brand, .lt-menu-extra { display: none; }
.is-menu-open .lt-menu-brand { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 3rem 0 0 !important; margin: 0 !important; position: static !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.is-menu-open .lt-menu-brand > * { display: flex; align-items: center; gap: .6rem; margin: 0; }
.is-menu-open .lt-menu-brand .wp-block-site-title { font-size: var(--wp--preset--font-size--large); }
.is-menu-open .lt-menu-brand a { color: inherit; text-decoration: none; }
.is-menu-open .lt-menu-extra { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; font-size: var(--wp--preset--font-size--small); color: color-mix(in srgb, var(--wp--preset--color--ink) 75%, transparent); }
.is-menu-open .lt-menu-extra p { margin: 0; }
.is-menu-open .lt-menu-extra a { color: var(--wp--preset--color--primary); }
.is-menu-open .lt-menu-cta { display: flex !important; margin-top: .75rem; }
.is-menu-open .lt-menu-cta .wp-block-button, .is-menu-open .lt-menu-cta .wp-block-button__link { width: 100%; text-align: center; }
.is-menu-open .lt-menu-cta .wp-block-button__link { color: var(--wp--preset--color--base); }
@keyframes lt-menu-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wp-block-navigation__responsive-container.is-menu-open { animation: none !important; } }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; }
