:root {
	--sea: #0f5f78;
	--sea-dark: #052542;
	--terracotta: #1d7fb8;
	--sand: #eaf5fb;
	--olive: #2e79a6;
	--stone: #f7fbfe;
	--sunset: #8ed6ff;
	--ink: #153044;
	--muted: #527086;
	--border: #cfe4f0;
	--shadow: 0 20px 55px rgba(5, 37, 66, 0.13);
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: linear-gradient(180deg, #f7fbfe 0%, #eef8fd 100%);
	color: var(--ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--sea);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: #07598f;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--sunset);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.55em;
	color: var(--sea-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.12;
}

h1 {
	font-size: clamp(2.4rem, 5vw, 5.8rem);
}

h2 {
	font-size: clamp(1.8rem, 3vw, 3.1rem);
}

h3 {
	font-size: 1.35rem;
}

p {
	margin: 0 0 1.2rem;
}

.container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.narrow-content {
	width: min(820px, calc(100% - 40px));
	padding-block: 4rem;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--sea-dark);
	color: #fff;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 251, 254, 0.94);
	border-bottom: 1px solid rgba(207, 228, 240, 0.9);
	backdrop-filter: blur(14px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 82px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.custom-logo {
	max-height: 58px;
	width: auto;
}

.site-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
	font-weight: 900;
	line-height: 1.1;
}

.site-title a {
	color: #062b55;
	text-decoration: none;
}

.site-description {
	margin: 0.25rem 0 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.main-navigation ul,
.footer-navigation ul {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation a,
.footer-navigation a {
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.main-navigation a {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.75rem;
	border-radius: 999px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
	background: #dff0f8;
	color: #07598f;
}

.menu-toggle {
	display: none;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-weight: 700;
	padding: 0.65rem 0.9rem;
}

.button,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	padding: 0.8rem 1.1rem;
}

.button-primary,
input[type="submit"] {
	background: #07598f;
	color: #fff;
}

.button-secondary {
	background: rgba(255, 255, 255, 0.9);
	color: var(--sea-dark);
}

.button-light {
	background: #fff;
	color: var(--sea-dark);
}

.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(31, 49, 51, 0.16);
}

.hero {
	display: grid;
	align-items: center;
	min-height: 430px;
	background: linear-gradient(135deg, var(--sea-dark), #0b6fa4);
	background-position: center;
	background-size: cover;
	color: #fff;
}

.hero-content {
	padding-block: 6.5rem;
}

.hero h1,
.hero p,
.hero .eyebrow {
	max-width: 760px;
	color: #fff;
}

.hero p {
	font-size: 1.25rem;
}

.home-hero {
	min-height: 430px;
	text-align: center;
}

.home-hero .hero-content {
	display: grid;
	justify-items: center;
	padding-block: 5.5rem;
}

.home-hero h1 {
	max-width: 980px;
	margin-bottom: 0.25em;
	color: #fff;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	font-weight: 900;
	letter-spacing: 0;
	text-shadow: 0 5px 30px rgba(0, 20, 38, 0.86), 0 1px 2px rgba(0, 0, 0, 0.82);
}

.home-hero p:not(.eyebrow) {
	max-width: 760px;
	color: #f8fdff;
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 700;
	text-shadow: 0 4px 24px rgba(0, 20, 38, 0.82), 0 1px 2px rgba(0, 0, 0, 0.78);
}

.home-hero .eyebrow {
	color: #dff5ff;
	text-shadow: 0 3px 18px rgba(0, 20, 38, 0.86);
}

.hero-actions,
.cta-content {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.eyebrow {
	margin-bottom: 0.8rem;
	color: #0b6fa4;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section {
	padding-block: 5rem;
}

.intro-section,
.gallery-section {
	background: linear-gradient(180deg, #eaf5fb 0%, #dff0f8 100%);
}

.intro-section {
	padding-block: 2rem;
}

.intro-section .split-section {
	gap: 2rem;
}

.intro-section h2 {
	font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.intro-section .lead-text {
	font-size: 1rem;
}

.split-section {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 4rem;
	align-items: start;
}

.split-section.reverse {
	grid-template-columns: 1fr 1fr;
}

.lead-text {
	font-size: 1.12rem;
}

.section-heading {
	margin-bottom: 2rem;
}

.apartments-preview {
	background: #f7fbfe;
	padding-block: 3.8rem 2.5rem;
}

.town-section {
	padding-block: 2.5rem 5rem;
}

.apartments-preview .section-heading {
	max-width: 760px;
	text-align: center;
}

.apartments-preview .section-heading .eyebrow {
	color: #11699a;
}

.apartments-preview .section-heading p:not(.eyebrow) {
	color: var(--muted);
}

.apartments-preview .apartments-section-lead {
	margin: 0 auto;
	color: var(--sea-dark);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	font-weight: 850;
	line-height: 1.28;
}

.apartments-preview h2 {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1.9rem, 3vw, 2.55rem);
	font-weight: 850;
}

.apartment-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem;
}

.apartment-card,
.post-card,
.contact-card,
.apartment-facts,
.feature-panel,
.empty-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 8px 26px rgba(5, 37, 66, 0.08);
	overflow: hidden;
}

.apartment-card {
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.apartment-card:hover,
.apartment-card:focus-within {
	border-color: rgba(17, 105, 154, 0.42);
	box-shadow: 0 18px 36px rgba(5, 37, 66, 0.15);
	transform: translateY(-3px);
}

.apartment-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.apartment-card-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	overflow: hidden;
	background: var(--sand);
	color: var(--muted);
	font-weight: 800;
}

.apartment-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.apartment-card-body,
.post-card-body,
.empty-card {
	padding: 1.25rem 1.15rem 1.35rem;
}

.apartment-card-title,
.entry-title a {
	display: block;
	color: var(--sea-dark);
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.25;
	text-decoration: none;
}

.apartment-card-location,
.apartment-card-excerpt {
	display: block;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.apartment-card-location {
	margin-top: 0.45rem;
}

.apartment-card-excerpt {
	margin-top: 0.75rem;
}

.apartment-card-facts,
.tag-list,
.amenity-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1rem 0;
	padding: 0;
	list-style: none;
}

.apartment-card-facts span,
.tag-list li,
.amenity-cloud li {
	border-radius: 999px;
	background: var(--sand);
	color: var(--sea-dark);
	font-size: 0.88rem;
	font-weight: 800;
	padding: 0.35rem 0.65rem;
}

.text-link {
	display: inline-block;
	margin-top: 0.25rem;
	color: var(--sea);
	font-size: 0.92rem;
	font-weight: 900;
}

.feature-panel {
	padding: 2rem;
	background: linear-gradient(145deg, #fff, #dff0f8);
}

.amenity-cloud li {
	background: #fff;
	border: 1px solid var(--border);
}

.cta-band {
	background: linear-gradient(135deg, var(--sea-dark), var(--sea));
	color: #fff;
}

.cta-band h2,
.cta-band p {
	color: #fff;
}

.cta-content {
	justify-content: space-between;
}

.page-hero,
.apartment-hero {
	background: var(--sand);
	padding-block: 5rem;
}

.compact-hero p {
	max-width: 700px;
}

.apartment-archive-hero,
.contact-page-hero {
	padding-block: 2.4rem;
}

.apartment-archive-hero .eyebrow,
.apartment-archive-hero p,
.contact-page-hero .eyebrow,
.contact-page-hero p {
	margin-bottom: 0;
}

.apartment-hero-grid,
.apartment-detail-layout,
.contact-layout,
.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 2rem;
}

.apartment-info-gallery-layout {
	display: grid;
	grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.apartment-info-gallery-layout .apartment-description {
	grid-column: 1 / -1;
}

.apartment-hero-grid {
	align-items: center;
}

.apartment-featured-image {
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.apartment-featured-image img,
.page-featured-image img {
	width: 100%;
	height: 100%;
	border-radius: var(--radius);
	object-fit: cover;
}

.page-featured-image img {
	box-shadow: var(--shadow);
}

.apartment-description,
.entry-content {
	max-width: 760px;
}

.apartment-facts {
	align-self: start;
	padding: 1.4rem;
}

.apartment-gallery-panel h2 {
	margin-bottom: 1rem;
}

.apartment-facts dl {
	margin: 0;
}

.apartment-facts dt {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

.apartment-facts dd {
	margin: 0 0 0.9rem;
	font-weight: 700;
}

.image-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.image-gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	object-fit: cover;
}

.gallery-lightbox-link {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
}

.gallery-lightbox-link:focus-visible {
	outline: 3px solid var(--sunset);
	outline-offset: 4px;
}

.gallery-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999;
	align-items: center;
	justify-content: center;
	background: rgba(2, 22, 38, 0.88);
	padding: 24px;
}

.gallery-lightbox.is-open {
	display: flex;
}

.gallery-lightbox img {
	max-width: min(1120px, 94vw);
	max-height: 86vh;
	border-radius: var(--radius);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
	object-fit: contain;
}

.gallery-lightbox-close {
	position: absolute;
	top: 18px;
	right: 18px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	background: rgba(5, 37, 66, 0.82);
	color: #fff;
}

.gallery-lightbox-nav {
	position: absolute;
	top: 50%;
	min-width: 96px;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, 0.34);
	background: rgba(5, 37, 66, 0.78);
	color: #fff;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus {
	background: rgba(7, 89, 143, 0.94);
}

.gallery-lightbox-prev {
	left: 18px;
}

.gallery-lightbox-next {
	right: 18px;
}

.contact-layout {
	grid-template-columns: 360px minmax(0, 1fr);
}

.contact-section {
	padding-block: 2.5rem 5rem;
}

.contact-map-note {
	display: inline-flex;
	max-width: 100%;
	margin: 1rem 0 0;
	padding: 0.55rem 0.85rem;
	border: 1px solid #fecaca;
	border-radius: 999px;
	background: #fff1f2;
	color: #9f1239;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
}

.contact-card {
	align-self: start;
	padding: 1.5rem;
}

.contact-card address {
	font-style: normal;
	margin-bottom: 1.25rem;
	color: var(--ink);
	font-weight: 650;
	line-height: 1.55;
}

.contact-list {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: grid;
	gap: 0.15rem;
	border-top: 1px solid var(--border);
	padding-top: 0.85rem;
}

.contact-list span {
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.contact-list a {
	color: var(--sea-dark);
	font-weight: 850;
	text-decoration: none;
}

.local-page-hero {
	min-height: 0;
	padding-block: 1.25rem;
}

.local-page-hero .eyebrow,
.local-page-hero p {
	margin-bottom: 0;
}

.local-section {
	padding-block: 3.5rem 5rem;
}

.local-page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: 2rem;
	align-items: start;
}

.local-main-column {
	display: grid;
	gap: 1.25rem;
}

.local-note-panel,
.local-info-card,
.local-links-panel {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 8px 26px rgba(5, 37, 66, 0.08);
}

.local-note-panel,
.local-info-card,
.local-links-panel {
	padding: 1.25rem;
}

.local-note-panel {
	background: linear-gradient(135deg, #eaf5fb 0%, #f7fbfe 100%);
}

.local-note-panel h1,
.local-info-card h2,
.local-info-card h3,
.local-links-panel h2 {
	margin-top: 0;
	color: var(--sea-dark);
}

.local-highlight-grid,
.local-activity-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.local-info-card p {
	margin-bottom: 0;
}

.local-activity-panel {
	margin-top: 0.5rem;
}

.local-link-list {
	display: grid;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.local-link-list a {
	display: block;
	padding: 0.85rem 1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #f7fbfe;
	color: var(--sea-dark);
	font-weight: 800;
	text-decoration: none;
}

.local-link-list a:hover,
.local-link-list a:focus {
	border-color: rgba(17, 105, 154, 0.42);
	box-shadow: 0 12px 26px rgba(5, 37, 66, 0.12);
}

.contact-map-card {
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 8px 26px rgba(5, 37, 66, 0.08);
}

.contact-map-card iframe {
	display: block;
	width: 100%;
	min-height: 360px;
	border: 0;
}

.contact-form-area input:not([type="submit"]),
.contact-form-area textarea,
.contact-form-area select,
.entry-content input:not([type="submit"]),
.entry-content textarea,
.entry-content select {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	font: inherit;
	padding: 0.75rem 0.85rem;
}

.form-note {
	padding: 1rem;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	background: var(--sand);
}

.map-section iframe {
	display: block;
	width: 100%;
	min-height: 380px;
	border: 0;
}

.post-card {
	display: grid;
	grid-template-columns: 240px 1fr;
	margin-bottom: 1.2rem;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.widget-area .widget,
.footer-widget {
	margin-bottom: 1.5rem;
}

.site-footer {
	background: #052542;
	color: rgba(255, 255, 255, 0.82);
	padding-block: 3rem 1.5rem;
}

.site-footer h2,
.site-footer a {
	color: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
}

.site-info {
	margin-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	padding-top: 1rem;
	font-size: 0.9rem;
}

.wp-block-gallery,
.wp-block-image,
.wp-block-cover,
.wp-block-columns {
	margin-block: 1.5rem;
}

@media (max-width: 980px) {
	.apartment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.apartment-card-image {
		height: 220px;
	}

	.split-section,
	.split-section.reverse,
	.apartment-hero-grid,
	.apartment-detail-layout,
	.apartment-info-gallery-layout,
	.contact-layout,
	.local-page-layout,
	.content-layout,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.local-highlight-grid,
	.local-activity-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.apartment-description,
	.entry-content {
		max-width: none;
	}
}

@media (max-width: 760px) {
	.container,
	.narrow-content {
		width: min(100% - 28px, 1120px);
	}

	.header-inner {
		min-height: 72px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.main-navigation ul {
		display: none;
		position: absolute;
		top: 72px;
		left: 14px;
		right: 14px;
		z-index: 60;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		background: #fff;
		box-shadow: var(--shadow);
		padding: 0.6rem;
	}

	.main-navigation.is-open ul {
		display: flex;
	}

	.main-navigation a {
		display: block;
		padding: 0.75rem;
	}

	.hero {
		min-height: 360px;
	}

	.home-hero {
		min-height: 390px;
	}

	.hero-content,
	.section,
	.page-hero,
	.apartment-hero {
		padding-block: 3.4rem;
	}

	.apartment-grid,
	.image-gallery,
	.local-highlight-grid,
	.local-activity-grid,
	.local-link-list,
	.post-card {
		grid-template-columns: 1fr;
	}

	.apartment-card-image {
		height: 210px;
	}

	.cta-content,
	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}
}
