/* PoolSpaKit — main.css
 * Site chrome: base, header and navigation, layouts, archives and hubs,
 * cards, homepage, footer, tool pages, utilities and print.
 * Tokens live in content.css (loaded first).
 */

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

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

body {
	margin: 0;
	background: var(--psk-bg);
	color: var(--psk-ink);
	font-family: var(--psk-font-ui);
	font-size: 1rem;
	line-height: 1.55;
}

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

a {
	color: var(--psk-link);
}

a:hover {
	color: var(--psk-link-hover);
}

:focus-visible {
	outline: 3px solid var(--psk-link);
	outline-offset: 2px;
}

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

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.psk-skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--psk-navy);
	color: #fff;
	font-weight: 650;
	border-radius: var(--psk-r-s);
}

.psk-skip-link:focus {
	top: 1rem;
	color: #fff;
}

.psk-wrap {
	width: 100%;
	max-width: 76rem;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.psk-noscroll {
	overflow: hidden;
}

/* ------------------------------------------------------------------ Header */
.psk-header {
	position: relative;
	z-index: 50;
	background: var(--psk-surface);
	border-bottom: 1px solid var(--psk-line);
}

.psk-header__inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: var(--psk-header-h);
}

.psk-brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-inline-end: auto;
}

.psk-brand__link,
.psk-brand__name {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--psk-navy);
	font-size: 1.1875rem;
	font-weight: 760;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.psk-brand__link:hover,
.psk-brand__name:hover {
	color: var(--psk-navy);
}

.psk-brand__mark {
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--psk-navy);
	color: var(--psk-aqua);
}

.psk-brand__mark .psk-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

/* Native block homepage: compact system typography and stable card layout. */
.psk-foundation { padding-block: 2.5rem 4rem; }
.pskf-hero { padding: clamp(1.5rem, 5vw, 4rem); background: #eef8f6; border-radius: 1rem; border-top: 5px solid #2bb7a9; }
.pskf-hero h1 { max-width: 800px; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.035em; margin: 1rem 0; color: #0c2f3f; }
.pskf-hero > p { max-width: 700px; font-size: 1.18rem; }
.pskf-hero > p:first-child { font-size: .78rem; font-weight: 750; letter-spacing: .12em; }
.pskf-hero .wp-block-search { max-width: 600px; margin-top: 1.5rem; }
.pskf-hero .wp-block-search__label { display: block; font-size: .9rem; font-weight: 650; margin-bottom: .5rem; }
.pskf-hero .wp-block-search__input { min-width: 0; padding: .85rem; border: 1px solid #869b9f; border-radius: .35rem; background: white; color: #0c2f3f; }
.pskf-hero .wp-block-search__button { background: #0c2f3f; color: white; border: 0; border-radius: .35rem; padding: .8rem 1rem; font-weight: 650; }
.pskf-section { margin-top: 3.5rem; }
.pskf-section > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; color: #0c2f3f; }
.pskf-section > p { max-width: 800px; line-height: 1.75; }
.pskf-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-top: 1.5rem; }
.pskf-card { border: 1px solid #d8e3e4; padding: 1.4rem; border-radius: .65rem; background: white; }
.pskf-card h3 { font-size: 1.14rem; line-height: 1.4; margin: 0 0 .6rem; }
.pskf-card p { font-size: .94rem; line-height: 1.65; margin: .5rem 0 0; }
.pskf-card > p:first-child { color: #42616a; font-size: .7rem; font-weight: 750; letter-spacing: .08em; margin: 0 0 .65rem; }
.pskf-tint { padding: 2rem; border-radius: .65rem; background: #f1f6f7; }
.psk-foundation a { color: #0c5364; text-underline-offset: .2em; }
.psk-foundation :focus-visible { outline: 3px solid #0c5364; outline-offset: 4px; }
@media(max-width: 1100px) { .pskf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 600px) { .pskf-grid { grid-template-columns: 1fr; } .pskf-tint { padding: 1.25rem; } .psk-foundation { padding-top: 1.25rem; } .custom-logo { max-width: 190px; height: auto; } }
@media(max-width: 360px) { .custom-logo { max-width: 140px; } }

/* Menu toggle (mobile) */
.psk-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--psk-line);
	border-radius: var(--psk-r-s);
	background: transparent;
	color: var(--psk-navy);
	font: 600 0.9375rem/1 var(--psk-font-ui);
	cursor: pointer;
}

.psk-menu-toggle__close,
.is-menu-open .psk-menu-toggle__open {
	display: none;
}

.is-menu-open .psk-menu-toggle__close {
	display: block;
}

.no-js .psk-menu-toggle {
	display: none;
}

/* Navigation */
.psk-nav__list,
.psk-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.psk-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--psk-navy);
	font-size: 0.9375rem;
	font-weight: 620;
	text-decoration: none;
}

.psk-nav a:hover {
	color: var(--psk-link);
}

.psk-nav .current-menu-item > a,
.psk-nav .current-menu-ancestor > a,
.psk-nav .current-post-ancestor > a,
.psk-nav .current-category-ancestor > a {
	color: var(--psk-link);
}

.psk-nav .menu-item {
	position: relative;
}

.psk-submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--psk-navy);
	cursor: pointer;
}

.psk-submenu-toggle svg {
	width: 1rem;
	height: 1rem;
}

.is-open > .psk-submenu-toggle svg {
	transform: rotate(180deg);
}

/* Header search */
.psk-header-search {
	position: relative;
}

.psk-header-search__toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--psk-r-s);
	color: var(--psk-navy);
	cursor: pointer;
	list-style: none;
}

.psk-header-search__toggle::-webkit-details-marker {
	display: none;
}

.psk-header-search[open] .psk-header-search__toggle {
	background: var(--psk-tile);
}

.psk-header-search__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: min(28rem, calc(100vw - 2rem));
	padding: 0.75rem;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-radius: var(--psk-r-m);
	box-shadow: 0 16px 40px -16px rgba(8, 34, 48, 0.35);
}

/* Mobile navigation (below 1024px) */
@media (max-width: 1023.98px) {
	.js .psk-nav {
		display: none;
	}

	.js .is-menu-open .psk-nav {
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		max-height: calc(100vh - var(--psk-header-h));
		overflow-y: auto;
		padding: 0.5rem clamp(1rem, 4vw, 2rem) 1.25rem;
		background: var(--psk-surface);
		border-bottom: 1px solid var(--psk-line);
		box-shadow: 0 20px 30px -24px rgba(8, 34, 48, 0.4);
	}

	.psk-nav__list > .menu-item {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--psk-line);
	}

	.psk-nav__list > .menu-item > a {
		flex: 1;
		min-height: 52px;
		font-size: 1.0625rem;
	}

	.psk-nav .sub-menu {
		display: none;
		flex-basis: 100%;
		padding: 0 0 0.5rem 1rem;
	}

	.psk-nav .is-open > .sub-menu {
		display: block;
	}

	.no-js .psk-header__inner {
		flex-wrap: wrap;
	}

	.no-js .psk-nav {
		order: 3;
		flex-basis: 100%;
	}

	.no-js .psk-nav__list {
		display: flex;
		flex-wrap: wrap;
		column-gap: 1rem;
	}

	.no-js .psk-nav__list > .menu-item {
		border: 0;
	}
}

/* Desktop navigation */
@media (min-width: 1024px) {
	.psk-header {
		position: sticky;
		top: 0;
	}

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

	.psk-menu-toggle {
		display: none;
	}

	.psk-nav {
		display: block;
	}

	.psk-nav__list {
		display: flex;
		align-items: center;
		gap: 0.15rem;
	}

	.psk-nav__list > .menu-item {
		display: flex;
		align-items: center;
	}

	.psk-nav__list > .menu-item > a {
		padding-inline: 0.65rem;
	}

	.psk-nav__list > .menu-item-has-children > a {
		padding-inline-end: 0.1rem;
	}

	.psk-nav .current-menu-item > a,
	.psk-nav .current-menu-ancestor > a,
	.psk-nav .current-post-ancestor > a,
	.psk-nav .current-category-ancestor > a {
		box-shadow: inset 0 -2px 0 var(--psk-aqua);
	}

	.psk-nav .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 14rem;
		padding: 0.4rem;
		background: var(--psk-surface);
		border: 1px solid var(--psk-line);
		border-radius: var(--psk-r-m);
		box-shadow: 0 16px 40px -16px rgba(8, 34, 48, 0.35);
	}

	.psk-nav .sub-menu a {
		padding: 0 0.75rem;
		border-radius: var(--psk-r-s);
		font-weight: 560;
	}

	.psk-nav .sub-menu a:hover {
		background: var(--psk-tile);
	}

	.psk-nav .menu-item-has-children:hover > .sub-menu,
	.psk-nav .menu-item-has-children:focus-within > .sub-menu,
	.psk-nav .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}
}

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

/* --------------------------------------------------------------- Search */
.psk-search {
	display: flex;
	width: 100%;
}

.psk-search__input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 0.9rem;
	font: 400 1rem var(--psk-font-ui);
	color: var(--psk-ink);
	background: var(--psk-surface);
	border: 1px solid var(--psk-line-strong);
	border-right: 0;
	border-radius: var(--psk-r-s) 0 0 var(--psk-r-s);
	-webkit-appearance: none;
	appearance: none;
}

.psk-search__input::placeholder {
	color: var(--psk-muted);
}

.psk-search__button {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	height: 48px;
	padding: 0 1rem;
	font: 650 0.9375rem var(--psk-font-ui);
	color: #fff;
	background: var(--psk-navy);
	border: 0;
	border-radius: 0 var(--psk-r-s) var(--psk-r-s) 0;
	cursor: pointer;
}

.psk-search__button:hover {
	background: var(--psk-navy-deep);
}

.psk-search__button-text {
	display: none;
}

@media (min-width: 480px) {
	.psk-search__button-text {
		display: inline;
	}
}

.psk-search--large {
	max-width: 36rem;
	margin-block-start: 1.25rem;
}

.psk-search--hero {
	max-width: 42rem;
	padding: 0.4rem;
	background: var(--psk-surface);
	border-radius: var(--psk-r-l);
	box-shadow: 0 1px 0 rgba(12, 47, 63, 0.05), 0 18px 40px -18px rgba(8, 34, 48, 0.55);
}

.psk-search--hero .psk-search__input {
	height: 56px;
	border: 0;
	font-size: 1.0625rem;
}

.psk-search--hero .psk-search__button {
	height: 56px;
	padding-inline: 1.25rem;
	border-radius: calc(var(--psk-r-l) - 5px);
}

/* ------------------------------------------------------------ Breadcrumbs */
.psk-breadcrumbs {
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

.psk-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

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

.psk-breadcrumbs a {
	color: var(--psk-muted);
	text-decoration: none;
}

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

.psk-breadcrumbs [aria-current] {
	color: var(--psk-ink-soft);
}

/* --------------------------------------------------------- Article layout */
.psk-single,
.psk-page {
	padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.psk-single > .psk-article,
.psk-page > .psk-article {
	max-width: var(--psk-measure);
	margin-inline: auto;
}

.psk-sidebar {
	display: none;
}

@media (min-width: 1100px) {
	.psk-single.has-sidebar {
		display: grid;
		grid-template-columns: minmax(0, var(--psk-measure)) 18.75rem;
		justify-content: center;
		gap: clamp(2.5rem, 5vw, 4.5rem);
		align-items: start;
	}

	.psk-single.has-sidebar > .psk-article {
		margin-inline: 0;
	}

	.psk-sidebar {
		display: block;
		align-self: stretch;
		padding-top: 2.25rem;
	}
}

.psk-article__header {
	padding-bottom: 1.25rem;
	border-bottom: 2px solid var(--psk-aqua);
}

.psk-article__title {
	margin: 0.6rem 0 0;
	font-size: clamp(2rem, 1.45rem + 2.3vw, 2.875rem);
	font-weight: 760;
	line-height: 1.1;
	letter-spacing: -0.024em;
	color: var(--psk-navy);
	text-wrap: balance;
}

.psk-article__dek {
	margin: 0.85rem 0 0;
	font-family: var(--psk-font-read);
	font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	line-height: 1.55;
	color: var(--psk-ink-soft);
}

.psk-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1.35rem;
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--psk-muted);
}

.psk-meta time,
.psk-meta a {
	color: var(--psk-ink);
}

.psk-meta a {
	text-decoration: none;
	font-weight: 600;
}

.psk-meta a:hover {
	text-decoration: underline;
}

.psk-meta__updated time {
	font-weight: 600;
}

.psk-article__media {
	margin: 1.5rem 0 0;
}

.psk-article__media img {
	display: block;
	width: 100%;
	border-radius: var(--psk-r-m);
}

.psk-article__media figcaption {
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

.psk-article__content {
	margin-top: 1.75rem;
}

.psk-article__footer {
	margin-top: 3rem;
}

.psk-page--wide > .psk-article {
	max-width: 70rem;
}

.psk-page--wide .psk-prose > * {
	max-width: var(--psk-measure);
	margin-inline: auto;
}

.psk-page--wide .psk-prose > :is(.alignwide, .alignfull) {
	max-width: none;
}

.psk-page-links {
	margin-top: 2rem;
	font-family: var(--psk-font-ui);
}

.psk-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
}

.psk-tags a {
	display: inline-block;
	padding: 0.3rem 0.7rem;
	font-size: 0.8125rem;
	color: var(--psk-ink-soft);
	text-decoration: none;
	border: 1px solid var(--psk-line);
	border-radius: 999px;
}

/* Related guides */
.psk-related {
	margin-top: 1rem;
}

.psk-related__title,
.psk-authorbox__title,
.psk-comments__title,
.psk-comments__reply {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	font-weight: 720;
	color: var(--psk-navy);
}

.psk-related__list {
	border-top: 1px solid var(--psk-line);
}

/* Author box */
.psk-authorbox {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-top: 2.5rem;
	padding: 1.25rem;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-radius: var(--psk-r-m);
}

.psk-authorbox .psk-authorbox__title {
	margin-bottom: 0.35rem;
	font-size: 1.0625rem;
}

.psk-authorbox__title a {
	color: var(--psk-navy);
}

.psk-authorbox__bio {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--psk-ink-soft);
}

.psk-avatar {
	flex: none;
	border-radius: 50%;
}

.psk-avatar--initials {
	display: inline-grid;
	place-items: center;
	background: var(--psk-navy);
	color: var(--psk-aqua);
	font-weight: 750;
	font-size: 1.125rem;
}

/* Sidebar */
.psk-side-block + .psk-side-block,
.psk-side-block + .psk-sidebar__sticky {
	margin-top: 2rem;
}

.psk-side-block__title {
	margin: 0 0 0.6rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--psk-navy);
	font-size: 0.875rem;
	font-weight: 750;
	color: var(--psk-navy);
}

.psk-side-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.psk-side-links a {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--psk-line);
	color: var(--psk-ink);
	font-size: 0.9375rem;
	line-height: 1.35;
	text-decoration: none;
}

.psk-side-links a:hover {
	color: var(--psk-link);
}

.psk-side-links .psk-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--psk-link);
}

.psk-side-topic {
	margin: 0 0 0.25rem;
	font-weight: 700;
}

.psk-side-topic a {
	color: var(--psk-navy);
}

.psk-sidebar.is-sticky .psk-sidebar__sticky {
	position: sticky;
	top: calc(var(--psk-header-h) + 1.5rem);
}

.admin-bar .psk-sidebar.is-sticky .psk-sidebar__sticky {
	top: calc(var(--psk-header-h) + 32px + 1.5rem);
}

.psk-sidebar .psk-ad {
	margin: 0;
}

/* Comments */
.psk-comments-wrap {
	max-width: calc(var(--psk-measure) + 4rem);
	padding-bottom: 3rem;
}

.psk-comments__list {
	list-style: none;
	padding: 0;
}

.psk-comments__list .comment-body {
	padding: 1rem 0;
	border-top: 1px solid var(--psk-line);
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 0.65rem 0.8rem;
	font: inherit;
	border: 1px solid var(--psk-line-strong);
	border-radius: var(--psk-r-s);
	background: var(--psk-surface);
}

.comment-form .submit {
	min-height: 44px;
	padding: 0 1.25rem;
	font: 650 1rem var(--psk-font-ui);
	color: #fff;
	background: var(--psk-navy);
	border: 0;
	border-radius: var(--psk-r-s);
	cursor: pointer;
}

/* ------------------------------------------------------------------- Cards */
.psk-grid {
	display: grid;
	gap: var(--psk-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

@media (min-width: 900px) {
	.psk-grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.psk-grid--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.psk-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-radius: var(--psk-r-m);
	overflow: hidden;
}

.psk-card:hover {
	border-color: var(--psk-line-strong);
}

.psk-card__media {
	aspect-ratio: 16 / 9;
	background: var(--psk-tile);
}

.psk-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* No image: a quiet waterline instead of a stock photo. */
.psk-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--psk-line-strong);
	background: linear-gradient(180deg, var(--psk-tile) 0 58%, var(--psk-aqua) 58% calc(58% + 2px), #D6E9EB calc(58% + 2px));
}

.psk-card__placeholder .psk-icon {
	width: 2.25rem;
	height: 2.25rem;
	transform: translateY(35%);
	color: #9FC1C5;
}

.psk-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0.95rem 1.1rem 1.1rem;
}

.psk-card__topic {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 620;
	color: var(--psk-link);
}

.psk-card__title {
	margin: 0.3rem 0 0.45rem;
	font-size: 1.0625rem;
	font-weight: 680;
	line-height: 1.32;
	letter-spacing: -0.005em;
	text-wrap: pretty;
}

.psk-card__link {
	color: var(--psk-navy);
	text-decoration: none;
}

.psk-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.psk-card__link:focus-visible {
	outline: none;
}

.psk-card__link:focus-visible::after {
	outline: 3px solid var(--psk-link);
	outline-offset: -3px;
}

.psk-card:hover .psk-card__link {
	color: var(--psk-navy);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.psk-card__excerpt {
	margin: 0 0 0.6rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--psk-ink-soft);
}

.psk-card__meta {
	margin: auto 0 0;
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

/* Row cards: related guides and search results */
.psk-card--row {
	flex-direction: row;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--psk-line);
	border-radius: 0;
	overflow: visible;
}

.psk-card--row .psk-card__body {
	padding: 0.95rem 0;
}

.psk-card--row .psk-card__title {
	font-size: 1.0625rem;
}

/* ---------------------------------------------------------------- Archives */
.psk-archive {
	padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.psk-archive__header {
	margin-bottom: 1.75rem;
}

.psk-archive__title,
.psk-hubhead__title {
	margin: 0.6rem 0 0;
	font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.625rem);
	font-weight: 760;
	line-height: 1.12;
	letter-spacing: -0.022em;
	color: var(--psk-navy);
}

.psk-archive__page {
	font-weight: 500;
	color: var(--psk-muted);
	font-size: 0.6em;
}

.psk-archive__intro,
.psk-hubhead__intro {
	max-width: 44rem;
	margin-top: 0.85rem;
	font-family: var(--psk-font-read);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--psk-ink-soft);
}

.psk-archive__intro p,
.psk-hubhead__intro p {
	margin: 0;
}

.psk-archive__count {
	margin: 0.5rem 0 0;
	color: var(--psk-muted);
	font-size: 0.9375rem;
}

.psk-results {
	max-width: var(--psk-measure);
	border-top: 1px solid var(--psk-line);
}

.psk-empty {
	max-width: 40rem;
	padding: 1.5rem 0;
	font-size: 1.0625rem;
}

/* Pagination */
.psk-pagination {
	margin-top: 2.5rem;
}

.psk-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.psk-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.85rem;
	font-weight: 620;
	color: var(--psk-navy);
	text-decoration: none;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-radius: var(--psk-r-s);
}

.psk-pagination .page-numbers.current {
	background: var(--psk-navy);
	border-color: var(--psk-navy);
	color: #fff;
}

.psk-pagination .page-numbers.dots {
	border: 0;
	background: transparent;
}

/* --------------------------------------------------------------- Hub pages */
.psk-hubhead {
	padding-block: clamp(1.25rem, 3vw, 2rem) 2rem;
	background: var(--psk-surface);
	border-bottom: 1px solid var(--psk-line);
}

.psk-hubbody {
	padding-block: 2rem clamp(2.5rem, 6vw, 4rem);
}

.psk-hubsection + .psk-hubsection,
.psk-starthere + .psk-hubsection {
	margin-top: clamp(2.25rem, 5vw, 3.25rem);
}

.psk-section-title {
	margin: 0 0 1rem;
	font-size: clamp(1.3125rem, 1.2rem + 0.5vw, 1.5rem);
	font-weight: 740;
	letter-spacing: -0.015em;
	color: var(--psk-navy);
}

.psk-starthere__kicker {
	margin: 0 0 0.6rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--psk-link);
}

.psk-starthere__card {
	position: relative;
	display: grid;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-top: 3px solid var(--psk-aqua);
	border-radius: 0 0 var(--psk-r-l) var(--psk-r-l);
	overflow: hidden;
}

@media (min-width: 800px) {
	.psk-starthere__card {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}
}

.psk-starthere__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.psk-starthere__body {
	padding: clamp(1.1rem, 3vw, 1.75rem);
}

.psk-starthere__title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
	font-weight: 740;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.psk-starthere__body p {
	margin: 0;
	font-family: var(--psk-font-read);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--psk-ink-soft);
}

.psk-subtopics {
	display: grid;
	gap: 0 var(--psk-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.psk-subtopic {
	padding: 0.9rem 0 1rem;
	border-top: 2px solid var(--psk-navy);
}

.psk-subtopic a {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--psk-navy);
	text-decoration: none;
}

.psk-subtopic a:hover {
	text-decoration: underline;
}

.psk-subtopic p {
	margin: 0.3rem 0 0;
	font-size: 0.875rem;
	color: var(--psk-ink-soft);
}

.psk-subtopic__count {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

.psk-essentials {
	display: grid;
	gap: 0 2.5rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.psk-essentials li {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--psk-line);
}

.psk-essentials a {
	font-size: 1.0625rem;
	font-weight: 680;
	color: var(--psk-navy);
	text-decoration: none;
}

.psk-essentials a:hover {
	text-decoration: underline;
}

.psk-essentials p {
	margin: 0.25rem 0 0;
	font-size: 0.9375rem;
	color: var(--psk-ink-soft);
}

.psk-editor-hint {
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	color: var(--psk-muted);
	background: var(--psk-surface);
	border: 1px dashed var(--psk-line-strong);
	border-radius: var(--psk-r-s);
}

/* ------------------------------------------------------------- Tool cards */
.psk-toolgrid {
	display: grid;
	gap: var(--psk-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.psk-toolcard {
	position: relative;
	display: flex;
	gap: 0.9rem;
	padding: 1.05rem 1.1rem 1.1rem;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-radius: var(--psk-r-m);
}

.psk-toolcard:not(.is-soon):hover {
	border-color: var(--psk-aqua);
}

.psk-toolcard__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: var(--psk-r-s);
	background: var(--psk-aqua-wash);
	color: var(--psk-link);
}

.is-soon .psk-toolcard__icon {
	background: var(--psk-tile);
	color: var(--psk-muted);
}

.psk-toolcard__title {
	margin: 0.1rem 0 0.3rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--psk-navy);
}

.psk-toolcard__link {
	color: var(--psk-navy);
	text-decoration: none;
}

.psk-toolcard__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.psk-toolcard:hover .psk-toolcard__link {
	text-decoration: underline;
}

.psk-toolcard__text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--psk-ink-soft);
}

.psk-toolcard__units {
	margin: 0.55rem 0 0;
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	color: var(--psk-muted);
}

.psk-toolcard__soon {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	border: 1px solid var(--psk-line-strong);
	border-radius: 999px;
}

/* ---------------------------------------------------------------- Homepage */
.psk-hero__air {
	padding-block: clamp(2.5rem, 7vw, 5rem) clamp(1.75rem, 3.5vw, 2.5rem);
}

.psk-hero__title {
	max-width: 18ch;
	text-wrap: balance;
	margin: 0;
	font-size: clamp(2.375rem, 1.3rem + 4.4vw, 4.25rem);
	font-weight: 780;
	line-height: 1.02;
	letter-spacing: -0.034em;
	color: var(--psk-navy);
}

.psk-hero__text {
	max-width: 32rem;
	margin: 1rem 0 0;
	font-family: var(--psk-font-read);
	font-size: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
	line-height: 1.5;
	color: var(--psk-ink-soft);
}

/* The waterline: search sits exactly where air meets water. */
.psk-hero__line {
	background: linear-gradient(to bottom, var(--psk-bg) 0 50%, var(--psk-aqua) 50% calc(50% + 3px), var(--psk-navy) calc(50% + 3px));
}

.psk-hero__water {
	padding-block: 1.5rem clamp(2.75rem, 6vw, 4rem);
	color: #DDEBED;
	background:
		radial-gradient(120% 70% at 15% 0%, rgba(43, 183, 169, 0.16), transparent 60%),
		radial-gradient(70% 60% at 95% 20%, rgba(255, 255, 255, 0.05), transparent 60%),
		var(--psk-navy);
}

.psk-hero__water :focus-visible {
	outline-color: var(--psk-aqua);
}

.psk-hero__popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: 0.875rem;
}

.psk-hero__popular-label {
	margin-inline-end: 0.25rem;
	color: #A9C3C7;
}

.psk-hero__popular a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 0.8rem;
	color: #fff;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
}

.psk-hero__popular a:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--psk-aqua);
	color: #fff;
}

.psk-starttiles {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}

.psk-starttile {
	position: relative;
	padding: 1.1rem 1.15rem 1.25rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--psk-r-m);
}

.psk-starttile:hover {
	border-color: var(--psk-aqua);
	background: rgba(255, 255, 255, 0.07);
}

.psk-starttile__icon {
	color: var(--psk-aqua);
}

.psk-starttile__icon .psk-icon {
	width: 1.75rem;
	height: 1.75rem;
}

.psk-starttile__title {
	margin: 0.55rem 0 0.3rem;
	font-size: 1.1875rem;
	font-weight: 720;
	color: #fff;
}

.psk-starttile__title a {
	color: #fff;
	text-decoration: none;
}

.psk-starttile__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.psk-starttile__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #BFD3D6;
}

@media (max-width: 559.98px) {
	.psk-starttiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
	}

	.psk-starttile {
		padding: 0.9rem 0.9rem 1rem;
	}

	.psk-starttile__title {
		font-size: 1.0625rem;
	}

	.psk-starttile__text {
		display: none;
	}
}

.psk-band {
	padding-block: clamp(2.5rem, 6vw, 4.25rem);
}

.psk-band + .psk-band {
	border-top: 1px solid var(--psk-line);
}

.psk-band--tile {
	background: var(--psk-tile);
	border-top: 0;
}

.psk-band--tile + .psk-band {
	border-top: 0;
}

.psk-band__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 0.25rem 1.5rem;
	margin-bottom: 1.25rem;
}

.psk-band__head .psk-section-title {
	margin: 0;
}

.psk-band__lede {
	grid-column: 1 / -1;
	margin: 0.2rem 0 0;
	max-width: 38rem;
	font-family: var(--psk-font-read);
	font-size: 1.0625rem;
	line-height: 1.55;
	color: var(--psk-ink-soft);
}

.psk-textlink {
	font-size: 0.9375rem;
	font-weight: 650;
	text-underline-offset: 0.2em;
}

.psk-split {
	display: grid;
	gap: 1.5rem 3.5rem;
}

@media (min-width: 900px) {
	.psk-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
	}
}

.psk-split__intro .psk-band__lede {
	margin-bottom: 1rem;
}

.psk-problems {
	display: grid;
	gap: 0 2rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

.psk-problem {
	border-top: 1px solid var(--psk-line);
}

.psk-problem a {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0.75rem 0;
	font-size: 1.0625rem;
	font-weight: 660;
	line-height: 1.35;
	color: var(--psk-navy);
	text-decoration: none;
}

.psk-problem a:hover {
	color: var(--psk-link);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.psk-ranges {
	display: grid;
	gap: 0 var(--psk-gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	margin: 0;
}

.psk-range {
	padding: 0.8rem 0;
	border-top: 2px solid var(--psk-navy);
}

.psk-range dt {
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

.psk-range dd {
	margin: 0.2rem 0 0;
	font-size: 1.625rem;
	font-weight: 740;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	color: var(--psk-navy);
}

.psk-ranges__note {
	margin: 0.4rem 0 2rem;
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

.psk-band--trust {
	background: var(--psk-surface);
}

.psk-trust {
	display: grid;
	gap: 1.75rem var(--psk-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.psk-trust__icon {
	color: var(--psk-link);
}

.psk-trust__title {
	margin: 0.5rem 0 0.35rem;
	font-size: 1.0625rem;
	font-weight: 720;
	color: var(--psk-navy);
}

.psk-trust__title a {
	color: var(--psk-navy);
}

.psk-trust__item p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--psk-ink-soft);
}

.psk-hublinks {
	margin-top: 2.5rem;
}

.psk-hublinks__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psk-hublinks__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0 1rem;
	font-weight: 650;
	color: var(--psk-navy);
	text-decoration: none;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-radius: var(--psk-r-m);
}

.psk-hublinks__list a:hover {
	border-color: var(--psk-aqua);
}

.psk-hublinks__list .psk-icon {
	color: var(--psk-link);
}

/* ------------------------------------------------------------------ Footer */
.psk-footer {
	padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
	color: #C3D5D8;
	background: var(--psk-navy-deep);
	font-size: 0.9375rem;
}

.psk-footer :focus-visible {
	outline-color: var(--psk-aqua);
}

.psk-footer__inner {
	display: grid;
	gap: 2rem 3rem;
}

@media (min-width: 800px) {
	.psk-footer__inner {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

.psk-footer__about p {
	max-width: 26rem;
	margin: 0.6rem 0 0;
	line-height: 1.55;
}

.psk-footer__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.125rem;
	font-weight: 760;
	color: #fff;
}

.psk-footer .psk-footer__brand {
	margin: 0;
}

.psk-footer__brand .psk-icon {
	color: var(--psk-aqua);
}

.psk-footer__title {
	margin: 0 0 0.6rem;
	font-size: 0.875rem;
	font-weight: 750;
	color: #fff;
}

.psk-footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.psk-footer__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: #C3D5D8;
	text-decoration: none;
}

.psk-footer__nav a:hover {
	color: #fff;
	text-decoration: underline;
}

.psk-footer__base {
	margin-top: 2.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
	color: #A9C0C4;
}

.psk-footer__base p {
	margin: 0 0 0.5rem;
	max-width: 60rem;
}

.psk-footer__base a {
	color: #fff;
}

/* --------------------------------------------------------------- Tool page */
.psk-toolpage {
	max-width: 50rem;
	padding-block: clamp(1.25rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem);
}

.psk-toolpage__title {
	margin: 0.6rem 0 0;
	font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.5rem);
	font-weight: 760;
	line-height: 1.12;
	letter-spacing: -0.022em;
	color: var(--psk-navy);
}

.psk-toolpage__lede {
	margin: 0.75rem 0 0;
	font-family: var(--psk-font-read);
	font-size: 1.125rem;
	color: var(--psk-ink-soft);
}

.psk-toolpage__content {
	margin-top: 1.5rem;
}

.psk-calculator {
	padding: clamp(1rem, 4vw, 1.75rem);
	font-family: var(--psk-font-ui);
	font-size: 1rem;
	line-height: 1.5;
	background: var(--psk-surface);
	border: 1px solid var(--psk-line);
	border-top: 3px solid var(--psk-aqua);
	border-radius: 0 0 var(--psk-r-l) var(--psk-r-l);
}

.psk-calc__group {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
}

.psk-calc__group legend {
	margin-bottom: 0.5rem;
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 680;
	color: var(--psk-navy);
}

.psk-seg {
	display: inline-flex;
	flex-wrap: wrap;
	border: 1px solid var(--psk-line-strong);
	border-radius: var(--psk-r-s);
	overflow: hidden;
}

.psk-seg label {
	position: relative;
}

.psk-seg input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.psk-seg span {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1rem;
	font-weight: 600;
	color: var(--psk-navy);
}

.psk-seg label + label span {
	border-left: 1px solid var(--psk-line-strong);
}

.psk-seg input:checked + span {
	background: var(--psk-navy);
	color: #fff;
}

.psk-seg input:focus-visible + span {
	outline: 3px solid var(--psk-link);
	outline-offset: -3px;
}

.psk-calc__fields {
	display: grid;
	gap: 1rem;
}

@media (min-width: 560px) {
	.psk-calc__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.psk-calc__field[hidden] {
	display: none;
}

.psk-calc__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9375rem;
	font-weight: 620;
}

.psk-calc__input {
	display: flex;
	border: 1px solid var(--psk-line-strong);
	border-radius: var(--psk-r-s);
	overflow: hidden;
	background: var(--psk-surface);
}

.psk-calc__input:focus-within {
	outline: 3px solid var(--psk-link);
	outline-offset: 1px;
}

.psk-calc__input input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 0.85rem;
	font: 500 1.125rem var(--psk-font-ui);
	font-variant-numeric: tabular-nums;
	border: 0;
	background: transparent;
}

.psk-calc__input input:focus {
	outline: none;
}

.psk-calc__input span {
	display: grid;
	place-items: center;
	min-width: 3rem;
	padding: 0 0.75rem;
	font-size: 0.875rem;
	color: var(--psk-muted);
	background: var(--psk-tile);
}

.psk-calc__hint {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

.psk-calc__submit {
	min-height: 48px;
	margin-top: 1.35rem;
	padding: 0 1.5rem;
	font: 700 1rem var(--psk-font-ui);
	color: #fff;
	background: var(--psk-navy);
	border: 0;
	border-radius: var(--psk-r-s);
	cursor: pointer;
}

.psk-calc__submit:hover {
	background: var(--psk-navy-deep);
}

.psk-calc__error {
	margin: 1rem 0 0;
	padding: 0.65rem 0.85rem;
	font-size: 0.9375rem;
	color: var(--psk-danger-ink);
	background: var(--psk-danger-bg);
	border-radius: var(--psk-r-s);
}

.psk-calc__results {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--psk-line);
}

.psk-calc__results-title {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--psk-muted);
}

.psk-calc__out {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
	margin: 0.75rem 0 0;
}

.psk-calc__out dt {
	font-size: 0.8125rem;
	color: var(--psk-muted);
}

.psk-calc__out dd {
	margin: 0.15rem 0 0;
	font-size: 1.75rem;
	font-weight: 760;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	color: var(--psk-navy);
}

.psk-calc__note {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: var(--psk-ink-soft);
}

/* ---------------------------------------------------------- Motion & print */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.psk-submenu-toggle svg {
		transition: transform 0.15s ease;
	}
}

@media print {
	.psk-header,
	.psk-footer,
	.psk-sidebar,
	.psk-ad,
	.psk-related,
	.psk-comments-wrap,
	.psk-breadcrumbs,
	.psk-toc {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.psk-prose {
		font-size: 11pt;
	}

	.psk-single > .psk-article {
		max-width: none;
	}
}
