/* =========================================================
   480 Broadway — rebuilt static site
   Plain hand-written CSS recreating the original Uncode-theme
   WordPress design (colors/typography sampled from the mirror's
   compiled style-custom.css).
   ========================================================= */

:root {
	--color-black: #000000;
	--color-white: #ffffff;
	--color-dark-grey: #3d3e3d;
	--color-light-grey: #e8e8e8;
	--color-accent: #6087a3;
	--color-body-text: #323232;

	--font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Helvetica, Arial, sans-serif;

	--max-width: 1200px;
	--header-height: 76px;
}

* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-base);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-body-text);
	background: var(--color-white);
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover { color: var(--color-accent); }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 900; }

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

.section-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 25px;
}

/* -------------------- Section heading style -------------------- */

.section-heading {
	font-size: 35px;
	text-transform: uppercase;
	letter-spacing: .02em;
	text-align: center;
	margin-bottom: 20px;
}

.section-heading::after {
	content: "";
	display: block;
	width: 90px;
	height: 2px;
	background: var(--color-accent);
	margin: 22px auto 0;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-white);
	border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 25px;
	height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand img {
	height: 40px;
	width: auto;
}

.site-nav ul {
	list-style: none;
	display: flex;
	gap: 34px;
	margin: 0;
	padding: 0;
}

.site-nav a {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--color-black);
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: border-color .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
	color: var(--color-accent);
	border-bottom-color: var(--color-accent);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--color-black);
	width: 100%;
}

/* -------------------- Hero -------------------- */

.hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 640px;
}

.hero-left {
	position: relative;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: var(--color-dark-grey);
	opacity: .5;
}

.hero-logo {
	position: relative;
	z-index: 1;
	max-width: 420px;
	width: 100%;
}

.hero-right {
	overflow: hidden;
}

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

@media (max-width: 800px) {
	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.hero-left { min-height: 380px; }
	.hero-right { min-height: 320px; }
}

/* -------------------- Generic section coloring -------------------- */

.section {
	padding: 90px 0;
	position: relative;
}

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

.section-muted {
	background: var(--color-light-grey);
	color: var(--color-black);
}

.section-dark {
	color: var(--color-white);
	background-size: cover;
	background-position: center bottom;
	background-attachment: fixed;
}

.section-dark .section-overlay {
	position: absolute;
	inset: 0;
	background: var(--color-dark-grey);
	opacity: .82;
}

.section-dark .section-inner {
	position: relative;
	z-index: 1;
}

@media (max-width: 800px) {
	.section-dark { background-attachment: scroll; }
}

/* -------------------- Floor plan specs -------------------- */

.floorplan-specs .specs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	font-size: 18px;
}

.specs-figures {
	border-right: 1px solid rgba(255,255,255,.3);
	padding-right: 25px;
}

.specs-figures p,
.specs-details p {
	margin-bottom: 22px;
}

.specs-figures p:last-child,
.specs-details p:last-child {
	margin-bottom: 0;
}

@media (max-width: 800px) {
	.floorplan-specs .specs-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.specs-figures {
		border-right: 0;
		border-bottom: 1px solid rgba(255,255,255,.3);
		padding-right: 0;
		padding-bottom: 25px;
	}
}

/* -------------------- Image grids -------------------- */

.grid {
	display: grid;
	gap: 6px;
}

.grid-2col { grid-template-columns: repeat(2, 1fr); }
.grid-3col { grid-template-columns: repeat(3, 1fr); }

.grid-item {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #ccc;
}

.grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.grid-item:hover img {
	transform: scale(1.05);
}

@media (max-width: 700px) {
	.grid-3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
	.grid-2col,
	.grid-3col { grid-template-columns: 1fr; }
}

/* -------------------- Neighborhood -------------------- */

.neighborhood {
	background: #cfcfce; /* dark-grey overlay at 25% opacity over white, matching original */
}

.neighborhood .section-inner {
	max-width: 760px;
	text-align: center;
}

.neighborhood-map {
	margin: 0 auto;
}

/* -------------------- Contact -------------------- */

.contact-person {
	text-align: center;
	margin-bottom: 50px;
}

.contact-person h2 {
	font-size: 20px;
	text-transform: uppercase;
	color: var(--color-dark-grey);
}

.contact-org {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 30px;
	align-items: start;
	padding-top: 30px;
	border-top: 1px solid rgba(0,0,0,.08);
	margin-top: 30px;
}

.contact-org:first-of-type {
	border-top: 0;
	margin-top: 0;
}

.contact-org-logo {
	text-align: center;
}

.contact-org-logo img {
	max-width: 150px;
	margin: 0 auto 10px;
}

.contact-org-text h3 {
	font-size: 20px;
	margin-bottom: 8px;
}

.contact-org-text .text-small {
	font-size: 13px;
}

@media (max-width: 700px) {
	.contact-org {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

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

.site-footer {
	background: var(--color-dark-grey);
	color: var(--color-white);
	padding: 60px 0;
}

.footer-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 25px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.footer-logo img {
	max-width: 150px;
}

.footer-signup h2 {
	font-size: 20px;
	font-weight: 300;
	margin-bottom: 12px;
}

#signup-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

#signup-form input {
	flex: 1 1 160px;
	padding: 12px 14px;
	border: 0;
	background: var(--color-white);
	color: var(--color-black);
	font-family: inherit;
	font-size: 14px;
}

#signup-form input::placeholder { color: #aaa; }

#signup-form button {
	padding: 12px 22px;
	border: 0;
	background: var(--color-black);
	color: var(--color-white);
	font-family: inherit;
	font-size: 13px;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
}

#signup-form button:hover { background: var(--color-accent); }

.form-status {
	margin-top: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	min-height: 1em;
}

@media (max-width: 700px) {
	.footer-inner { grid-template-columns: 1fr; text-align: center; }
	#signup-form { flex-direction: column; }
}

/* -------------------- Scroll to top -------------------- */

.scroll-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--color-black);
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
	z-index: 90;
}

.scroll-top.visible {
	opacity: .85;
	pointer-events: auto;
}

.scroll-top:hover { opacity: 1; }

/* -------------------- Mobile nav -------------------- */

@media (max-width: 800px) {
	.nav-toggle { display: flex; }

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-white);
		border-bottom: 1px solid rgba(0,0,0,.08);
		max-height: 0;
		overflow: hidden;
		transition: max-height .25s ease;
	}

	.site-nav.open { max-height: 320px; }

	.site-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 10px 25px 20px;
	}

	.site-nav li { border-top: 1px solid rgba(0,0,0,.06); }
	.site-nav li:first-child { border-top: 0; }

	.site-nav a { display: block; padding: 14px 0; }
}
