/*
Theme Name: Properti Lettings
Theme URI: https://propertilettings.co.uk
Author: Properti Lettings
Author URI: https://propertilettings.co.uk
Description: A calm, personal WordPress theme for a local lettings and property-management agency.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: properti-lettings
*/

:root {
	--ink: #081426;
	--green: #1f5a3f;
	--green-dark: #143927;
	--sage: #b9c7b5;
	--mint: #e7eee6;
	--cream: #f8f3ec;
	--paper: #fffdfa;
	--line: rgba(8, 20, 38, 0.13);
	--muted: #637069;
	--gold: #b98545;
	--shadow: 0 20px 55px rgba(8, 20, 38, 0.11);
	--radius: 8px;
	--max: 1160px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
	color: var(--ink);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.04;
	margin: 0 0 0.55em;
}

h1 {
	font-size: clamp(2.45rem, 5vw, 5.25rem);
	max-width: 10.5em;
}

h2 {
	font-size: clamp(2rem, 3.8vw, 3.6rem);
	max-width: 12em;
}

h3 {
	font-size: 1.45rem;
}

p {
	margin: 0 0 1rem;
}

.container {
	margin: 0 auto;
	max-width: var(--max);
	padding: 0 24px;
	width: 100%;
}

.skip-link {
	background: var(--ink);
	color: #fff;
	left: 16px;
	padding: 10px 14px;
	position: absolute;
	top: -48px;
	z-index: 100;
}

.skip-link:focus {
	top: 16px;
}

.site-header {
	background: rgba(248, 243, 236, 0.93);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
}

.header-inner {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: auto 1fr auto auto;
	min-height: 84px;
}

.brand {
	align-items: center;
	display: inline-flex;
	gap: 12px;
	text-decoration: none;
}

.brand strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	line-height: 1;
	text-transform: uppercase;
}

.brand small {
	color: var(--green);
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin-top: 5px;
	text-transform: uppercase;
}

.brand-mark {
	align-items: center;
	background: var(--green);
	border: 1px solid rgba(255, 255, 255, 0.65);
	color: #fff;
	display: inline-flex;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.primary-nav {
	justify-self: end;
}

.menu {
	align-items: center;
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu a {
	border-radius: var(--radius);
	color: var(--ink);
	display: block;
	font-weight: 700;
	padding: 10px 13px;
	text-decoration: none;
}

.menu a:hover,
.menu a:focus {
	background: var(--mint);
	color: var(--green-dark);
}

.header-cta,
.button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--radius);
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button-primary {
	background: var(--green);
	color: #fff;
	box-shadow: 0 10px 22px rgba(31, 90, 63, 0.22);
}

.button-secondary {
	background: var(--paper);
	border-color: var(--line);
	color: var(--green-dark);
}

.button:hover,
.button:focus,
.header-cta:hover,
.header-cta:focus {
	transform: translateY(-1px);
}

.menu-toggle {
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	display: none;
	font: inherit;
	font-weight: 800;
	padding: 10px 13px;
}

.hero {
	background: linear-gradient(100deg, #fbf7f1 0%, #f7efe5 58%, #e6eee4 100%);
	border-bottom: 1px solid var(--line);
	padding: 86px 0 58px;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: 52px;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
}

.eyebrow {
	color: var(--green);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.hero-lede,
.page-hero p,
.section-heading p,
.intro-copy p,
.included-grid > div > p,
.quiet-notes p,
.inquiry-grid > div > p {
	color: #3b4942;
	font-size: 1.13rem;
	max-width: 700px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0 28px;
}

.hero-note {
	border-left: 3px solid var(--green);
	color: #33433c;
	max-width: 620px;
	padding-left: 18px;
}

.hero-note strong {
	color: var(--green-dark);
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	margin-bottom: 3px;
}

.hero-portrait {
	background: var(--paper);
	border: 1px solid rgba(8, 20, 38, 0.12);
	box-shadow: 0 18px 45px rgba(8, 20, 38, 0.09);
	overflow: hidden;
}

.hero-portrait img {
	aspect-ratio: 1.08 / 1;
	object-fit: cover;
	object-position: 54% 45%;
	width: 100%;
}

.portrait-caption {
	background: var(--green-dark);
	color: rgba(255, 255, 255, 0.88);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
	padding: 18px 20px 6px;
}

.section {
	padding: 78px 0;
}

.intro-section {
	background: var(--paper);
}

.intro-grid,
.included-grid,
.quiet-panel {
	display: grid;
	gap: 52px;
	grid-template-columns: 0.88fr 1.12fr;
}

.intro-copy {
	border-left: 1px solid var(--line);
	padding-left: 34px;
}

.section-heading {
	align-items: end;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-bottom: 30px;
}

.service-grid,
.property-grid,
.post-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.property-card,
.post-card,
.form-card,
.blog-note,
.empty-state,
.entry {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 12px 30px rgba(8, 20, 38, 0.06);
}

.service-card {
	min-height: 268px;
	padding: 28px;
}

.service-icon {
	align-items: center;
	background: var(--mint);
	color: var(--green);
	display: inline-flex;
	font-weight: 900;
	height: 44px;
	justify-content: center;
	margin-bottom: 28px;
	width: 44px;
}

.soft-section {
	background: var(--green-dark);
	color: rgba(255, 255, 255, 0.84);
}

.soft-section h2,
.soft-section .eyebrow {
	color: #fff;
}

.split-panel {
	display: grid;
	gap: 48px;
	grid-template-columns: 0.9fr 1.1fr;
}

.process-list {
	display: grid;
	gap: 18px;
}

.process-list div {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 18px;
}

.process-list strong {
	color: #fff;
	display: block;
	font-size: 1.1rem;
	margin-bottom: 6px;
}

.included-section {
	background: #f3eee6;
}

.included-list {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 12px 30px rgba(8, 20, 38, 0.05);
	list-style: none;
	margin: 0;
	padding: 10px 26px;
}

.included-list li {
	border-bottom: 1px solid var(--line);
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1fr);
	padding: 18px 0;
}

.included-list li:last-child {
	border-bottom: 0;
}

.included-list span {
	color: var(--green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.2;
}

.included-list small {
	color: #46554f;
	font-size: 0.98rem;
	line-height: 1.55;
}

.quiet-panel-section {
	background: var(--green-dark);
	color: rgba(255, 255, 255, 0.84);
}

.quiet-panel-section h2,
.quiet-panel-section .eyebrow {
	color: #fff;
}

.quiet-notes {
	border-left: 1px solid rgba(255, 255, 255, 0.25);
	padding-left: 34px;
}

.quiet-notes p {
	color: rgba(255, 255, 255, 0.82);
}

.inquiry-section {
	background: linear-gradient(180deg, #fbf7f1, #eef4ed);
}

.inquiry-grid {
	align-items: start;
	display: grid;
	gap: 46px;
	grid-template-columns: 0.88fr 1.12fr;
}

.contact-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.contact-strip a {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--green-dark);
	font-weight: 800;
	padding: 10px 12px;
	text-decoration: none;
}

.form-card {
	padding: 28px;
}

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

.form-row {
	margin-bottom: 16px;
}

label {
	color: var(--green-dark);
	display: block;
	font-size: 0.86rem;
	font-weight: 900;
	margin-bottom: 7px;
}

input,
textarea,
select {
	background: #fff;
	border: 1px solid rgba(8, 20, 38, 0.18);
	border-radius: var(--radius);
	color: var(--ink);
	font: inherit;
	padding: 12px 13px;
	width: 100%;
}

textarea {
	resize: vertical;
}

.notice {
	border-radius: var(--radius);
	font-weight: 800;
	margin-bottom: 18px;
	padding: 12px 14px;
}

.notice-success {
	background: #e2f2e5;
	color: #174d2c;
}

.notice-error {
	background: #f7e6dc;
	color: #7c321d;
}

.page-hero {
	background: linear-gradient(130deg, var(--green-dark), var(--green));
	color: rgba(255, 255, 255, 0.84);
	padding: 82px 0;
}

.compact-hero {
	padding: 70px 0 62px;
}

.page-hero h1,
.page-hero .eyebrow {
	color: #fff;
}

.page-hero-grid {
	align-items: end;
	display: grid;
	gap: 36px;
	grid-template-columns: minmax(0, 1fr) 330px;
}

.hero-side-note {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	color: rgba(255, 255, 255, 0.86);
	padding: 22px;
}

.hero-side-note strong {
	color: #fff;
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	margin-bottom: 8px;
}

.blog-hero-grid {
	align-items: end;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) 330px;
}

.blog-note {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.88);
	padding: 22px;
}

.blog-note strong {
	color: #fff;
}

.rental-toolbar {
	align-items: end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.rental-toolbar h2 {
	font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.rental-toolbar p {
	color: var(--muted);
	max-width: 620px;
}

.archive-intro {
	border-bottom: 1px solid var(--line);
	margin-bottom: 28px;
	padding-bottom: 24px;
}

.archive-intro p {
	color: #46554f;
	font-size: 1.08rem;
	max-width: 820px;
}

.property-card,
.post-card {
	overflow: hidden;
}

.property-image,
.post-image {
	background: var(--mint);
	display: block;
	position: relative;
}

.property-image img,
.post-image img {
	aspect-ratio: 1.4 / 1;
	object-fit: cover;
	width: 100%;
}

.sample-property img {
	filter: saturate(0.82);
	object-position: 46% 28%;
}

.status-pill {
	background: var(--green-dark);
	border-radius: 999px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 900;
	left: 14px;
	padding: 7px 11px;
	position: absolute;
	top: 14px;
}

.status-available {
	background: #1d6d43;
}

.status-coming-soon {
	background: #8a622d;
}

.status-let-agreed {
	background: #263f6b;
}

.property-content,
.post-content {
	padding: 24px;
}

.property-location,
.post-meta {
	color: var(--green);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.property-facts {
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	padding-top: 16px;
}

.property-facts span {
	background: var(--mint);
	border-radius: var(--radius);
	color: var(--green-dark);
	font-weight: 800;
	padding: 7px 10px;
}

.property-note {
	color: var(--muted);
	font-size: 0.92rem;
	margin: 16px 0 0;
}

.post-card h2 {
	font-size: 1.65rem;
}

.post-card a {
	text-decoration: none;
}

.text-link {
	color: var(--green);
	font-weight: 900;
}

.pagination-wrap,
.pagination {
	grid-column: 1 / -1;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 32px;
}

.content-column {
	max-width: 820px;
}

.content-column h2 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.entry {
	margin-bottom: 18px;
	padding: 26px;
}

.featured-media {
	margin-top: 42px;
}

.featured-media img {
	aspect-ratio: 1.9 / 1;
	border-radius: var(--radius);
	object-fit: cover;
	width: 100%;
}

.article-body {
	font-size: 1.08rem;
	padding-bottom: 78px;
	padding-top: 44px;
}

.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.76);
	padding: 56px 0 24px;
}

.site-footer a {
	color: #fff;
}

.site-footer h2 {
	color: #fff;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-grid {
	display: grid;
	gap: 34px;
	grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-brand .brand-mark {
	background: #fff;
	color: var(--green-dark);
}

.footer-brand strong,
.footer-brand small {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	margin-top: 34px;
	padding-top: 22px;
}

@media (max-width: 960px) {
	.header-inner {
		grid-template-columns: 1fr auto auto;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-nav {
		background: var(--paper);
		border: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		grid-column: 1 / -1;
		justify-self: stretch;
		padding: 8px;
	}

	.primary-nav.is-open {
		display: block;
	}

	.menu {
		align-items: stretch;
		flex-direction: column;
	}

	.header-cta {
		display: none;
	}

	.hero-grid,
	.intro-grid,
	.included-grid,
	.quiet-panel,
	.page-hero-grid,
	.split-panel,
	.inquiry-grid,
	.blog-hero-grid {
		grid-template-columns: 1fr;
	}

	.intro-copy,
	.quiet-notes {
		border-left: 0;
		border-top: 1px solid var(--line);
		padding-left: 0;
		padding-top: 28px;
	}

	.quiet-notes {
		border-top-color: rgba(255, 255, 255, 0.25);
	}

	.service-grid,
	.property-grid,
	.post-grid,
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.container {
		padding: 0 18px;
	}

	.header-inner {
		min-height: 72px;
	}

	.brand strong {
		font-size: 1.05rem;
	}

	.brand small {
		font-size: 0.62rem;
		letter-spacing: 0.1em;
	}

	.brand-mark {
		height: 42px;
		width: 42px;
	}

	.hero,
	.section,
	.page-hero {
		padding: 52px 0;
	}

	.section-heading,
	.rental-toolbar {
		align-items: start;
		flex-direction: column;
	}

	.included-list {
		padding: 4px 18px;
	}

	.included-list li {
		gap: 6px;
		grid-template-columns: 1fr;
		padding: 16px 0;
	}

	.service-grid,
	.property-grid,
	.post-grid,
	.footer-grid,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: auto;
	}

	.hero-actions .button,
	.rental-toolbar .button {
		width: 100%;
	}
}
