/* ==========================================================================
   PAUL SIMON ESTATE AGENTS — COMMON FOUNDATION STYLESHEET
   Template : estate_template_psl
   Namespace: .psl-*
   --------------------------------------------------------------------------
   Naming rules for the whole template:
     .psl-container / .psl-section        -> layout wrappers
     .psl-btn / .psl-card / .psl-badge    -> components
     .psl-card__body                      -> component part (BEM style)
     .psl-btn--primary                    -> component variant
     .psl-is-active / .psl-is-open        -> state classes
     .psl-mt-20 / .psl-text-center        -> utilities
   No class from the live Paul Simon site is reused.

   CONTENTS
   01. Fonts
   02. Design tokens
   03. Reset and base
   04. Typography
   05. Links and lists
   06. Media
   07. Containers and sections
   08. Section headings
   09. Buttons
   10. Badges
   11. Cards
   12. Forms
   13. Tables
   14. Alerts and quotes
   15. Helpers and overlays
   16. Grid and flex utilities
   17. Spacing utilities
   18. Text, colour and visibility utilities
   19. Responsive rules
   ========================================================================== */


/* ==========================================================================
   01. FONTS
   DIN Next faces copied from the live identity. 400/300 falls back to the
   extra-light face (same behaviour as the live stylesheet); 600 is medium.
   ========================================================================== */
@font-face {
	font-family: 'DIN PSL';
	src: url('fonts/din-extra-light.woff2') format('woff2');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'DIN PSL';
	src: url('fonts/din-extra-light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'DIN PSL';
	src: url('fonts/din-extra-light.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'DIN PSL';
	src: url('fonts/din-next-medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'DIN PSL';
	src: url('fonts/din-next-medium.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'DIN PSL';
	src: url('fonts/din-next-medium.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Body/UI face used on the live property listings (the live stylesheet
   names Barlow for 400-weight text while its DIN 400 face 404s). */
@font-face {
	font-family: 'Barlow';
	src: url('fonts/barlow-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Barlow';
	src: url('fonts/barlow-regular-ext.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ==========================================================================
   02. DESIGN TOKENS
   ========================================================================== */
:root {
	/* Brand palette — sampled from the live site */
	--psl-green: #56b948;
	--psl-green-hover: #a7ce38;
	--psl-grey: #4f5359;
	--psl-text: #4f5459;
	--psl-charcoal: #32363d;
	--psl-light: #ebebeb;
	--psl-white: #ffffff;
	--psl-black: #000000;
	--psl-muted: #999999;
	--psl-border: #e3e5e7;

	/* Feedback colours */
	--psl-success: #28a745;
	--psl-danger: #dc3545;
	--psl-warning: #e8ab07;
	--psl-info: #076db3;

	/* Typography */
	--psl-font-heading: 'DIN PSL', 'Barlow', 'Jost', sans-serif;
	--psl-font-body: 'Barlow', Arial, 'Liberation Sans', Helvetica, sans-serif;
	--psl-body-size: 1.1rem;
	--psl-body-weight: 400;
	--psl-heading-weight: 300;
	--psl-bold-weight: 600;
	--psl-line-body: 1.65;
	--psl-line-heading: 1.2;
	--psl-size-h1: clamp(1.75rem, 2.4vw + 1.15rem, 2.64rem);
	--psl-size-h2: clamp(1.4rem, 1.8vw + 1.05rem, 2.2rem);
	--psl-size-h3: clamp(1.2rem, 1.2vw + 1rem, 1.76rem);
	--psl-size-h4: clamp(1.1rem, 0.7vw + 0.95rem, 1.4rem);
	--psl-size-h5: 1.15rem;
	--psl-size-h6: 1rem;
	--psl-size-lead: clamp(1.15rem, 0.8vw + 1rem, 1.54rem);
	--psl-size-small: 0.875rem;
	--psl-size-xs: 0.75rem;

	/* Layout */
	--psl-container: 1325px;
	--psl-container-wide: 1600px;
	--psl-container-narrow: 960px;
	--psl-gutter: 20px;
	--psl-grid-gutter: 10px;
	--psl-section-y: 80px;
	--psl-section-y-sm: 50px;
	--psl-header-height: 110px;

	/* Surfaces */
	--psl-radius: 0px;
	--psl-radius-sm: 3px;
	--psl-radius-pill: 999px;
	--psl-shadow: 0 10px 30px rgba(61, 90, 125, 0.20);
	--psl-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
	--psl-shadow-lg: -10px 10px 10px rgba(0, 0, 0, 0.10);

	/* Motion */
	--psl-ease: all 0.3s ease;
	--psl-ease-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);

	/* Focus ring */
	--psl-focus-ring: 0 0 0 3px rgba(86, 185, 72, 0.18);
}


/* ==========================================================================
   03. RESET AND BASE
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	background: var(--psl-white) !important;
	color: #222222;
	font-family: var(--psl-font-body);
	font-size: var(--psl-body-size);
	font-weight: var(--psl-body-weight);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

::selection {
	background-color: var(--psl-green);
	color: var(--psl-white);
}

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

.psl-nav__link:focus {
    outline: 1px dotted #ffffff !important;
    outline-offset: 2px !important;
}

[hidden] {
	display: none !important;
}


/* ==========================================================================
   04. TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.psl-h1,
.psl-h2,
.psl-h3,
.psl-h4,
.psl-h5,
.psl-h6 {
	margin: 0 0 0.5em;
	color: #222222;
	font-family: var(--psl-font-heading);
	font-weight: var(--psl-heading-weight);
	line-height: var(--psl-line-heading);
	text-transform: none;
}

h1,
.psl-h1 {
	margin-bottom: 8px;
	font-size: var(--psl-size-h1);
}

h2,
.psl-h2 {
	font-size: var(--psl-size-h2);
}

h3,
.psl-h3 {
	font-size: var(--psl-size-h3);
}

h4,
.psl-h4 {
	font-size: var(--psl-size-h4);
}

h5,
.psl-h5 {
	font-size: var(--psl-size-h5);
}

h6,
.psl-h6 {
	font-size: var(--psl-size-h6);
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

strong,
b,
.psl-strong {
	font-family: var(--psl-font-heading);
	font-weight: var(--psl-bold-weight);
}

small,
.psl-small {
	font-size: var(--psl-size-small);
}

.psl-lead {
	margin-bottom: 24px;
	color: var(--psl-green);
	font-size: var(--psl-size-lead);
	font-weight: 400;
	line-height: 1.2;
}

.psl-eyebrow {
	display: block;
	margin-bottom: 12px;
	color: var(--psl-green);
	font-family: var(--psl-font-heading);
	font-size: var(--psl-size-xs);
	font-weight: var(--psl-bold-weight);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

blockquote {
	margin: 0;
}

hr,
.psl-hr {
	height: 1px;
	margin: 30px 0;
	border: 0;
	background-color: var(--psl-border);
}


/* ==========================================================================
   05. LINKS AND LISTS
   ========================================================================== */
a {
	color: var(--psl-text);
	text-decoration: none;
	transition: var(--psl-ease);
}

a:hover,
a:focus {
	color: var(--psl-green);
}

.psl-link {
	color: var(--psl-green);
	font-weight: var(--psl-bold-weight);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.psl-link:hover {
	color: var(--psl-green-hover);
}

.psl-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--psl-green);
	font-weight: var(--psl-bold-weight);
}

.psl-link-arrow::after {
	content: "\2192";
	transition: var(--psl-ease);
}

.psl-link-arrow:hover {
	color: var(--psl-grey);
}

.psl-link-arrow:hover::after {
	transform: translateX(4px);
}

ul.psl-list,
ol.psl-list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

ul.psl-list li,
ol.psl-list li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 26px;
}

ul.psl-list li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: var(--psl-green);
}

ol.psl-list {
	counter-reset: psl-counter;
}

ol.psl-list li {
	counter-increment: psl-counter;
}

ol.psl-list li::before {
	content: counter(psl-counter) ".";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--psl-green);
	font-weight: var(--psl-bold-weight);
}

ul.psl-list--ticks li::before {
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	content: "\2713";
	color: var(--psl-green);
	font-size: 1em;
	font-weight: var(--psl-bold-weight);
	line-height: inherit;
}


/* ==========================================================================
   06. MEDIA
   ========================================================================== */
img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

iframe {
	max-width: 100%;
	border: 0;
}

.psl-img-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psl-img-contain {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.psl-ratio {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}

.psl-ratio > img,
.psl-ratio > video,
.psl-ratio > iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psl-ratio--1x1 { aspect-ratio: 1 / 1; }
.psl-ratio--4x3 { aspect-ratio: 4 / 3; }
.psl-ratio--3x2 { aspect-ratio: 3 / 2; }
.psl-ratio--16x9 { aspect-ratio: 16 / 9; }
.psl-ratio--21x9 { aspect-ratio: 21 / 9; }


/* ==========================================================================
   07. CONTAINERS AND SECTIONS
   ========================================================================== */
.psl-container {
	width: 100%;
	max-width: var(--psl-container);
	margin-right: auto;
	margin-left: auto;
	padding-right: 0;
	padding-left: 0;
}

@media (max-width: 1364px) {
	.psl-container {
		padding-right: 18px;
		padding-left: 18px;
	}
}

.psl-container--wide {
	max-width: var(--psl-container-wide);
}

.psl-container--narrow {
	max-width: var(--psl-container-narrow);
}

.psl-container--full {
	max-width: 100%;
}

.psl-section {
	position: relative;
	padding-top: var(--psl-section-y);
	padding-bottom: var(--psl-section-y);
}

.psl-section--sm {
	padding-top: var(--psl-section-y-sm);
	padding-bottom: var(--psl-section-y-sm);
}

.psl-section--lg {
	padding-top: 110px;
	padding-bottom: 110px;
}

.psl-section--flush {
	padding-top: 0;
	padding-bottom: 0;
}

.psl-section--light {
	background-color: var(--psl-light);
}

.psl-section--grey {
	background-color: var(--psl-grey);
	color: var(--psl-white);
}

.psl-section--dark {
	background-color: var(--psl-charcoal);
	color: var(--psl-white);
}

.psl-section--green {
	background-color: var(--psl-green);
	color: var(--psl-white);
}

.psl-section--image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.psl-section--grey h1,
.psl-section--grey h2,
.psl-section--grey h3,
.psl-section--dark h1,
.psl-section--dark h2,
.psl-section--dark h3,
.psl-section--green h1,
.psl-section--green h2,
.psl-section--green h3 {
	color: var(--psl-white);
}

.psl-section__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.psl-section__inner {
	position: relative;
	z-index: 1;
}


/* ==========================================================================
   08. SECTION HEADINGS
   ========================================================================== */
.psl-heading {
	margin-bottom: 50px;
	text-align: center;
}

.psl-heading--left {
	text-align: left;
}

.psl-heading--right {
	text-align: right;
}

.psl-heading__title {
	margin-bottom: 0;
	color: var(--psl-grey);
	font-family: var(--psl-font-heading);
	font-size: var(--psl-size-h2);
	font-weight: var(--psl-heading-weight);
	line-height: var(--psl-line-heading);
}

.psl-heading__text {
	max-width: 760px;
	margin: 16px auto 0;
	color: var(--psl-text);
}

.psl-heading--left .psl-heading__text {
	margin-left: 0;
}

.psl-heading--right .psl-heading__text {
	margin-right: 0;
}

.psl-heading__title--line::after {
	display: block;
	width: 40px;
	height: 3px;
	margin: 16px auto 0;
	background-color: var(--psl-green);
	content: "";
}

.psl-heading--left .psl-heading__title--line::after {
	margin-left: 0;
}

.psl-heading--right .psl-heading__title--line::after {
	margin-right: 0;
}

.psl-section--grey .psl-heading__title,
.psl-section--dark .psl-heading__title,
.psl-section--green .psl-heading__title,
.psl-section--grey .psl-heading__text,
.psl-section--dark .psl-heading__text,
.psl-section--green .psl-heading__text {
	color: var(--psl-white);
}


/* ==========================================================================
   09. BUTTONS
   ========================================================================== */
.psl-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 9.6px 16px;
	border: 1px solid transparent;
	border-radius: var(--psl-radius);
	background-color: transparent;
	color: var(--psl-grey);
	font-family: var(--psl-font-heading);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: middle;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: var(--psl-ease);
	-webkit-appearance: none;
	appearance: none;
}

.psl-btn::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	transform: scaleX(0);
	transform-origin: left center;
	background-color: rgba(255, 255, 255, 0.2);
	content: "";
	transition: transform 0.3s ease-out;
}

.psl-btn:hover::before,
.psl-btn:focus::before {
	transform: scaleX(1);
}

.psl-btn:disabled,
.psl-btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.psl-btn i,
.psl-btn svg {
	font-size: 0.9em;
	line-height: 1;
}

/* Primary — brand green */
.psl-btn--primary {
	background-color: var(--psl-green);
	border-color: var(--psl-green);
	color: var(--psl-white);
}

.psl-btn--primary:hover,
.psl-btn--primary:focus {
	background-color: var(--psl-green-hover);
	border-color: var(--psl-green-hover);
	color: var(--psl-white);
}

/* Secondary — deep grey */
.psl-btn--secondary {
	background-color: var(--psl-grey);
	border-color: var(--psl-grey);
	color: var(--psl-white);
}

.psl-btn--secondary:hover,
.psl-btn--secondary:focus {
	background-color: var(--psl-green-hover);
	border-color: var(--psl-green-hover);
	color: var(--psl-white);
}

/* Outline */
.psl-btn--outline {
	background-color: transparent;
	border-color: var(--psl-grey);
	color: var(--psl-grey);
}

.psl-btn--outline::before {
	background-color: var(--psl-grey);
}

.psl-btn--outline:hover,
.psl-btn--outline:focus {
	border-color: var(--psl-grey);
	color: var(--psl-white);
}

/* Light — for dark backgrounds */
.psl-btn--light {
	background-color: var(--psl-white);
	border-color: var(--psl-white);
	color: var(--psl-grey);
}

.psl-btn--light:hover,
.psl-btn--light:focus {
	background-color: var(--psl-green);
	border-color: var(--psl-green);
	color: var(--psl-white);
}

/* Dark */
.psl-btn--dark {
	background-color: var(--psl-charcoal);
	border-color: var(--psl-charcoal);
	color: var(--psl-white);
}

.psl-btn--dark:hover,
.psl-btn--dark:focus {
	background-color: var(--psl-green);
	border-color: var(--psl-green);
	color: var(--psl-white);
}

/* Text-style button */
.psl-btn--text {
	padding: 0;
	border: 0;
	background: none;
	color: var(--psl-green);
	letter-spacing: 0.04em;
}

.psl-btn--text:hover,
.psl-btn--text:focus {
	color: var(--psl-grey);
}

.psl-btn--text::before {
	display: none;
}

/* Sizes */
.psl-btn--sm {
	padding: 5px 8px;
	font-size: 16px;
}

.psl-btn--lg {
	padding: 14px 28px;
	font-size: 18px;
}

.psl-btn--block {
	display: flex;
	width: 100%;
}

.psl-btn--pill {
	border-radius: var(--psl-radius-pill);
}

.psl-btn--icon {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
}

/* Button group */
.psl-btn-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}


/* ==========================================================================
   10. BADGES
   ========================================================================== */
.psl-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--psl-radius);
	background-color: var(--psl-green);
	color: var(--psl-white);
	font-family: var(--psl-font-heading);
	font-size: var(--psl-size-xs);
	font-weight: var(--psl-bold-weight);
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.psl-badge--new { background-color: #20a800; }
.psl-badge--sold { background-color: #c00000; }
.psl-badge--let { background-color: #c00000; }
.psl-badge--sold-stc { background-color: #c00000; }
.psl-badge--under-offer { background-color: var(--psl-green); }
.psl-badge--agreement { background-color: var(--psl-green); }
.psl-badge--pending { background-color: var(--psl-warning); color: var(--psl-charcoal); }
.psl-badge--updated { background-color: var(--psl-info); }
.psl-badge--dark { background-color: var(--psl-charcoal); }
.psl-badge--light { background-color: var(--psl-light); color: var(--psl-grey); }

.psl-badge--outline {
	border: 1px solid currentColor;
	background-color: transparent;
	color: var(--psl-green);
}


/* ==========================================================================
   11. CARDS
   ========================================================================== */
.psl-card {
	display: flex;
	flex-direction: column;
	border: 0;
	border-radius: var(--psl-radius-sm);
	background-color: var(--psl-white);
	box-shadow: var(--psl-shadow);
	overflow: hidden;
	transition: var(--psl-ease);
}

.psl-card--flat {
	border: 1px solid var(--psl-border);
	box-shadow: none;
}

.psl-card--bordered {
	border: 1px solid var(--psl-border);
	box-shadow: none;
}

.psl-card--dark {
	background-color: var(--psl-charcoal);
	color: var(--psl-white);
}

.psl-card--light {
	background-color: var(--psl-light);
}

.psl-card--hover:hover {
	box-shadow: var(--psl-shadow-lg);
	transform: translateY(-4px);
}

.psl-card__media {
	position: relative;
	overflow: hidden;
}

.psl-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--psl-ease-slow);
}

.psl-card--hover:hover .psl-card__media img {
	transform: scale(1.04);
}

.psl-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.psl-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px;
}

.psl-card__eyebrow {
	margin-bottom: 8px;
	color: var(--psl-green);
	font-size: var(--psl-size-xs);
	font-weight: var(--psl-bold-weight);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.psl-card__title {
	margin: 0 0 10px;
	color: var(--psl-grey);
	font-family: var(--psl-font-heading);
	font-size: var(--psl-size-h4);
	font-weight: 300;
	line-height: 1.3;
}

.psl-card__title a {
	color: inherit;
}

.psl-card__title a:hover {
	color: var(--psl-green);
}

.psl-card__text {
	margin: 0 0 18px;
	color: var(--psl-text);
	font-size: 1rem;
}

.psl-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	color: var(--psl-text);
	font-size: 0.95rem;
}

.psl-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.psl-card__meta i {
	color: var(--psl-green);
}

.psl-card__footer {
	margin-top: auto;
	padding: 0;
}

.psl-card__price {
	margin: 0 0 12px;
	color: var(--psl-grey);
	font-family: var(--psl-font-heading);
	font-size: 1.25rem;
	font-weight: var(--psl-bold-weight);
}

.psl-card--dark .psl-card__title,
.psl-card--dark .psl-card__price {
	color: var(--psl-white);
}

.psl-card--dark .psl-card__text {
	color: rgba(255, 255, 255, 0.85);
}


/* ==========================================================================
   12. FORMS
   ========================================================================== */
.psl-form {
	width: 100%;
}

.psl-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 24px;
}

.psl-field {
	margin-bottom: 20px;
}

.psl-label {
	display: block;
	margin-bottom: 8px;
	color: var(--psl-grey);
	font-family: var(--psl-font-heading);
	font-size: 0.95rem;
	font-weight: var(--psl-bold-weight);
	letter-spacing: 0.02em;
}

.psl-label__required {
	color: var(--psl-danger);
}

.psl-input,
.psl-select,
.psl-textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--psl-green);
	border-radius: var(--psl-radius);
	background-color: var(--psl-white);
	color: var(--psl-text);
	font-family: var(--psl-font-body);
	font-size: 1rem;
	font-weight: var(--psl-body-weight);
	line-height: 1.4;
	transition: var(--psl-ease);
	-webkit-appearance: none;
	appearance: none;
}

.psl-input::placeholder,
.psl-textarea::placeholder {
	color: var(--psl-muted);
	opacity: 1;
}

.psl-input:hover,
.psl-select:hover,
.psl-textarea:hover {
	border-color: var(--psl-grey);
}

.psl-input:focus,
.psl-select:focus,
.psl-textarea:focus {
	border-color: var(--psl-green);
	outline: 0;
	box-shadow: var(--psl-focus-ring);
}

.psl-select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2356b948' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 12px 8px;
	cursor: pointer;
}

.psl-textarea {
	min-height: 150px;
	resize: vertical;
}

.psl-input[disabled],
.psl-select[disabled],
.psl-textarea[disabled] {
	border-color: var(--psl-border);
	background-color: var(--psl-light);
	cursor: not-allowed;
}

.psl-input.is-invalid,
.psl-select.is-invalid,
.psl-textarea.is-invalid {
	border-color: var(--psl-danger);
}

.psl-help {
	display: block;
	margin-top: 6px;
	color: var(--psl-muted);
	font-size: var(--psl-size-xs);
}

.psl-error-text {
	display: block;
	margin-top: 6px;
	color: var(--psl-danger);
	font-size: var(--psl-size-xs);
}

.psl-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

/* Checkbox and radio rows */
.psl-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	cursor: pointer;
}

.psl-check__input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	border: 1px solid var(--psl-green);
	background-color: var(--psl-white);
	accent-color: var(--psl-green);
	cursor: pointer;
}

.psl-check__text {
	color: var(--psl-text);
	font-size: 1rem;
	line-height: 1.4;
}

/* Sectioned form heading */
.psl-form-legend {
	margin: 0 0 18px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--psl-border);
	color: var(--psl-green);
	font-family: var(--psl-font-heading);
	font-size: var(--psl-size-h4);
	font-weight: 300;
	line-height: 1.2;
}


/* ==========================================================================
   13. TABLES
   ========================================================================== */
.psl-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.psl-table {
	width: 100%;
	border-collapse: collapse;
	background-color: var(--psl-white);
}

.psl-table th,
.psl-table td {
	padding: 12px 15px;
	border-bottom: 1px solid var(--psl-border);
	text-align: left;
	vertical-align: top;
}

.psl-table th {
	background-color: var(--psl-light);
	color: var(--psl-grey);
	font-family: var(--psl-font-heading);
	font-weight: var(--psl-bold-weight);
}

.psl-table--striped tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}


/* ==========================================================================
   14. ALERTS AND QUOTES
   ========================================================================== */
.psl-alert {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-left: 4px solid var(--psl-grey);
	background-color: var(--psl-light);
	color: var(--psl-text);
	font-size: 0.95rem;
}

.psl-alert--success {
	border-left-color: var(--psl-success);
	background-color: rgba(40, 167, 69, 0.10);
}

.psl-alert--danger {
	border-left-color: var(--psl-danger);
	background-color: rgba(220, 53, 69, 0.10);
}

.psl-alert--warning {
	border-left-color: var(--psl-warning);
	background-color: rgba(232, 171, 7, 0.12);
}

.psl-alert--info {
	border-left-color: var(--psl-info);
	background-color: rgba(7, 109, 179, 0.10);
}

.psl-quote {
	margin: 0;
	padding: 0;
}

.psl-quote__text {
	margin: 0 0 18px;
	color: var(--psl-text);
	font-size: var(--psl-size-lead);
	font-weight: 300;
	line-height: 1.5;
}

.psl-quote__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: var(--psl-grey);
	font-family: var(--psl-font-heading);
	font-weight: var(--psl-bold-weight);
}

.psl-quote__stars {
	color: var(--psl-warning);
	letter-spacing: 0.1em;
}


/* ==========================================================================
   15. HELPERS AND OVERLAYS
   ========================================================================== */
.psl-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.psl-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psl-divider {
	width: 40px;
	height: 3px;
	margin: 20px 0;
	border: 0;
	background-color: var(--psl-green);
}

.psl-clearfix::after {
	display: table;
	clear: both;
	content: "";
}

.psl-shadow {
	box-shadow: var(--psl-shadow);
}

.psl-shadow-sm {
	box-shadow: var(--psl-shadow-sm);
}

.psl-shadow-lg {
	box-shadow: var(--psl-shadow-lg);
}

.psl-rounded {
	border-radius: var(--psl-radius);
}

.psl-rounded-sm {
	border-radius: var(--psl-radius-sm);
}

.psl-rounded-pill {
	border-radius: var(--psl-radius-pill);
}


/* ==========================================================================
   16. GRID AND FLEX UTILITIES
   ========================================================================== */
.psl-d-none { display: none !important; }
.psl-d-block { display: block !important; }
.psl-d-inline { display: inline !important; }
.psl-d-inline-block { display: inline-block !important; }
.psl-d-flex { display: flex !important; }
.psl-d-grid { display: grid !important; }

.psl-flex-row { flex-direction: row; }
.psl-flex-col { flex-direction: column; }
.psl-flex-wrap { flex-wrap: wrap; }
.psl-flex-nowrap { flex-wrap: nowrap; }
.psl-flex-1 { flex: 1 1 0%; }

.psl-items-start { align-items: flex-start; }
.psl-items-center { align-items: center; }
.psl-items-end { align-items: flex-end; }
.psl-items-stretch { align-items: stretch; }

.psl-justify-start { justify-content: flex-start; }
.psl-justify-center { justify-content: center; }
.psl-justify-between { justify-content: space-between; }
.psl-justify-around { justify-content: space-around; }
.psl-justify-end { justify-content: flex-end; }

.psl-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 30px;
}

.psl-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.psl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.psl-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.psl-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.psl-grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.psl-gap-0 { gap: 0; }
.psl-gap-5 { gap: 5px; }
.psl-gap-10 { gap: 10px; }
.psl-gap-15 { gap: 15px; }
.psl-gap-20 { gap: 20px; }
.psl-gap-25 { gap: 25px; }
.psl-gap-30 { gap: 30px; }
.psl-gap-40 { gap: 40px; }
.psl-gap-50 { gap: 50px; }
.psl-gap-60 { gap: 60px; }

/* Bootstrap-style optional 12 column grid.
   Usage: <div class="psl-row"><div class="psl-col psl-col-md-6">...</div></div> */
.psl-row {
	display: flex;
	flex-wrap: wrap;
	margin-right: calc(var(--psl-grid-gutter) * -1);
	margin-left: calc(var(--psl-grid-gutter) * -1);
}

.psl-col {
	position: relative;
	width: 100%;
	padding-right: var(--psl-grid-gutter);
	padding-left: var(--psl-grid-gutter);
}

.psl-col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.psl-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.psl-col-3 { flex: 0 0 25%; max-width: 25%; }
.psl-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.psl-col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.psl-col-6 { flex: 0 0 50%; max-width: 50%; }
.psl-col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.psl-col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.psl-col-9 { flex: 0 0 75%; max-width: 75%; }
.psl-col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.psl-col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.psl-col-12 { flex: 0 0 100%; max-width: 100%; }


/* ==========================================================================
   17. SPACING UTILITIES
   ========================================================================== */
.psl-mt-0 { margin-top: 0 !important; }
.psl-mt-5 { margin-top: 5px !important; }
.psl-mt-10 { margin-top: 10px !important; }
.psl-mt-15 { margin-top: 15px !important; }
.psl-mt-20 { margin-top: 20px !important; }
.psl-mt-25 { margin-top: 25px !important; }
.psl-mt-30 { margin-top: 30px !important; }
.psl-mt-35 { margin-top: 35px !important; }
.psl-mt-40 { margin-top: 40px !important; }
.psl-mt-50 { margin-top: 50px !important; }
.psl-mt-60 { margin-top: 60px !important; }
.psl-mt-70 { margin-top: 70px !important; }
.psl-mt-80 { margin-top: 80px !important; }
.psl-mt-100 { margin-top: 100px !important; }

.psl-mb-0 { margin-bottom: 0 !important; }
.psl-mb-5 { margin-bottom: 5px !important; }
.psl-mb-10 { margin-bottom: 10px !important; }
.psl-mb-15 { margin-bottom: 15px !important; }
.psl-mb-20 { margin-bottom: 20px !important; }
.psl-mb-25 { margin-bottom: 25px !important; }
.psl-mb-30 { margin-bottom: 30px !important; }
.psl-mb-35 { margin-bottom: 35px !important; }
.psl-mb-40 { margin-bottom: 40px !important; }
.psl-mb-50 { margin-bottom: 50px !important; }
.psl-mb-60 { margin-bottom: 60px !important; }
.psl-mb-70 { margin-bottom: 70px !important; }
.psl-mb-80 { margin-bottom: 80px !important; }
.psl-mb-100 { margin-bottom: 100px !important; }

.psl-mx-auto { margin-right: auto !important; margin-left: auto !important; }
.psl-ml-auto { margin-left: auto !important; }
.psl-mr-auto { margin-right: auto !important; }

.psl-pt-0 { padding-top: 0 !important; }
.psl-pt-10 { padding-top: 10px !important; }
.psl-pt-20 { padding-top: 20px !important; }
.psl-pt-30 { padding-top: 30px !important; }
.psl-pt-40 { padding-top: 40px !important; }
.psl-pt-50 { padding-top: 50px !important; }
.psl-pt-60 { padding-top: 60px !important; }
.psl-pt-80 { padding-top: 80px !important; }
.psl-pt-100 { padding-top: 100px !important; }

.psl-pb-0 { padding-bottom: 0 !important; }
.psl-pb-10 { padding-bottom: 10px !important; }
.psl-pb-20 { padding-bottom: 20px !important; }
.psl-pb-30 { padding-bottom: 30px !important; }
.psl-pb-40 { padding-bottom: 40px !important; }
.psl-pb-50 { padding-bottom: 50px !important; }
.psl-pb-60 { padding-bottom: 60px !important; }
.psl-pb-80 { padding-bottom: 80px !important; }
.psl-pb-100 { padding-bottom: 100px !important; }

.psl-px-0 { padding-right: 0 !important; padding-left: 0 !important; }
.psl-px-10 { padding-right: 10px !important; padding-left: 10px !important; }
.psl-px-15 { padding-right: 15px !important; padding-left: 15px !important; }
.psl-px-20 { padding-right: 20px !important; padding-left: 20px !important; }
.psl-px-30 { padding-right: 30px !important; padding-left: 30px !important; }
.psl-px-40 { padding-right: 40px !important; padding-left: 40px !important; }
.psl-px-50 { padding-right: 50px !important; padding-left: 50px !important; }

.psl-py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.psl-py-10 { padding-top: 10px !important; padding-bottom: 10px !important; }
.psl-py-20 { padding-top: 20px !important; padding-bottom: 20px !important; }
.psl-py-30 { padding-top: 30px !important; padding-bottom: 30px !important; }
.psl-py-40 { padding-top: 40px !important; padding-bottom: 40px !important; }
.psl-py-50 { padding-top: 50px !important; padding-bottom: 50px !important; }
.psl-py-60 { padding-top: 60px !important; padding-bottom: 60px !important; }
.psl-py-80 { padding-top: 80px !important; padding-bottom: 80px !important; }
.psl-py-100 { padding-top: 100px !important; padding-bottom: 100px !important; }

.psl-p-0 { padding: 0 !important; }
.psl-p-10 { padding: 10px !important; }
.psl-p-15 { padding: 15px !important; }
.psl-p-20 { padding: 20px !important; }
.psl-p-25 { padding: 25px !important; }
.psl-p-30 { padding: 30px !important; }
.psl-p-40 { padding: 40px !important; }
.psl-p-50 { padding: 50px !important; }


/* ==========================================================================
   18. TEXT, COLOUR AND VISIBILITY UTILITIES
   ========================================================================== */
.psl-text-left { text-align: left !important; }
.psl-text-center { text-align: center !important; }
.psl-text-right { text-align: right !important; }
.psl-text-uppercase { text-transform: uppercase !important; }
.psl-text-normal { font-weight: var(--psl-body-weight) !important; }
.psl-text-bold { font-weight: var(--psl-bold-weight) !important; }
.psl-text-main { color: var(--psl-green) !important; }
.psl-text-grey { color: var(--psl-grey) !important; }
.psl-text-dark { color: var(--psl-charcoal) !important; }
.psl-text-muted { color: var(--psl-muted) !important; }
.psl-text-white { color: var(--psl-white) !important; }

.psl-bg-main { background-color: var(--psl-green) !important; }
.psl-bg-grey { background-color: var(--psl-grey) !important; }
.psl-bg-dark { background-color: var(--psl-charcoal) !important; }
.psl-bg-light { background-color: var(--psl-light) !important; }
.psl-bg-white { background-color: var(--psl-white) !important; }

.psl-w-100 { width: 100% !important; }
.psl-h-100 { height: 100% !important; }
.psl-mw-100 { max-width: 100% !important; }
.psl-mh-100 { max-height: 100% !important; }

.psl-relative { position: relative !important; }
.psl-absolute { position: absolute !important; }
.psl-overflow-hidden { overflow: hidden !important; }
.psl-overflow-auto { overflow: auto !important; }

.psl-lc-1,
.psl-lc-2,
.psl-lc-3,
.psl-lc-4 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.psl-lc-1 { -webkit-line-clamp: 1; line-clamp: 1; }
.psl-lc-2 { -webkit-line-clamp: 2; line-clamp: 2; }
.psl-lc-3 { -webkit-line-clamp: 3; line-clamp: 3; }
.psl-lc-4 { -webkit-line-clamp: 4; line-clamp: 4; }

.psl-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}


/* ==========================================================================
   19. RESPONSIVE RULES
   ========================================================================== */

/* ---------- min 576 ---------- */
@media (min-width: 576px) {
	.psl-form-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.psl-form-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.psl-d-sm-none { display: none !important; }
	.psl-d-sm-block { display: block !important; }
	.psl-d-sm-flex { display: flex !important; }
}

/* ---------- min 768 ---------- */
@media (min-width: 768px) {
	.psl-col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
	.psl-col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
	.psl-col-md-3 { flex: 0 0 25%; max-width: 25%; }
	.psl-col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.psl-col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
	.psl-col-md-6 { flex: 0 0 50%; max-width: 50%; }
	.psl-col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.psl-col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
	.psl-col-md-9 { flex: 0 0 75%; max-width: 75%; }
	.psl-col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
	.psl-col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
	.psl-col-md-12 { flex: 0 0 100%; max-width: 100%; }

	.psl-d-md-none { display: none !important; }
	.psl-d-md-block { display: block !important; }
	.psl-d-md-flex { display: flex !important; }
}

/* ---------- min 992 ---------- */
@media (min-width: 992px) {
	.psl-col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
	.psl-col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
	.psl-col-lg-3 { flex: 0 0 25%; max-width: 25%; }
	.psl-col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.psl-col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
	.psl-col-lg-6 { flex: 0 0 50%; max-width: 50%; }
	.psl-col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.psl-col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
	.psl-col-lg-9 { flex: 0 0 75%; max-width: 75%; }
	.psl-col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
	.psl-col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
	.psl-col-lg-12 { flex: 0 0 100%; max-width: 100%; }

	.psl-d-lg-none { display: none !important; }
	.psl-d-lg-block { display: block !important; }
	.psl-d-lg-flex { display: flex !important; }
}

/* ---------- max 991 ---------- */
@media (max-width: 991.98px) {
	.psl-grid-3,
	.psl-grid-4,
	.psl-grid-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.psl-section--lg {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

/* ---------- max 767 ---------- */
@media (max-width: 767.98px) {
	:root {
		--psl-section-y: 50px;
		--psl-gutter: 16px;
	}

	.psl-grid-2,
	.psl-grid-3,
	.psl-grid-4,
	.psl-grid-5 {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: 20px;
	}

	.psl-heading {
		margin-bottom: 32px;
	}

	.psl-heading__text {
		margin-top: 12px;
	}

	.psl-btn {
		padding: 12px 24px;
	}

	.psl-btn--lg {
		padding: 14px 30px;
	}

	.psl-card__body {
		padding: 20px;
	}

	.psl-form-grid--2,
	.psl-form-grid--3 {
		grid-template-columns: 1fr;
	}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
