/* ============================================================================
   Пенемат Лейк Вю
   Palette drawn from the site's own materials: lake water, stone wool, concrete.
   Type is inverted from the category norm — wide grotesque display over a
   humanist serif body, with mono reserved strictly for numbers and codes.
   ========================================================================= */

:root {
	--ink:        #16232E;
	--ink-soft:   #263742;
	--ink-line:   #33454F;
	--paper:      #ECEEEA;
	--paper-alt:  #E3E6E1;
	--lake:       #2C6B78;
	--lake-lift:  #3D8B99;
	--wool:       #B5813C;
	--wool-lift:  #CD9A52;
	--concrete:   #9AA3A0;
	--concrete-d: #6E7876;

	--display: 'Archivo', 'Helvetica Neue', sans-serif;
	--body:    'Source Serif 4', Georgia, 'Times New Roman', serif;
	--mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

	--gut:   clamp(1.25rem, 4vw, 3.5rem);
	--maxw:  1380px;
	--rhythm: clamp(4rem, 9vw, 8rem);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: clamp(1rem, .55vw + .88rem, 1.125rem);
	line-height: 1.62;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.mono {
	font-family: var(--mono);
	font-variant-numeric: tabular-nums;
	letter-spacing: -.02em;
}

.skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--ink); color: var(--paper); padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

:focus-visible {
	outline: 2px solid var(--lake-lift);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ------------------------------------------------------------------ topbar */

.topbar {
	position: sticky; top: 0; z-index: 60;
	background: color-mix(in srgb, var(--ink) 94%, transparent);
	backdrop-filter: blur(10px);
	color: var(--paper);
	border-bottom: 1px solid var(--ink-line);
}

.topbar__inner {
	max-width: var(--maxw); margin-inline: auto;
	padding: .6rem var(--gut);
	display: flex; align-items: center; gap: clamp(.85rem, 2vw, 2rem);
}

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.logo__mark { color: var(--lake-lift); display: grid; place-items: center; }
.logo__text { display: grid; line-height: 1.2; }
.logo__name {
	font-family: var(--display); font-weight: 700; font-stretch: 108%;
	font-size: .92rem; letter-spacing: -.005em;
}
.logo__loc { font-size: .7rem; color: var(--concrete); }

.topnav { display: flex; gap: clamp(.7rem, 1.4vw, 1.5rem); margin-left: auto; }
.topnav a {
	font-size: .84rem; text-decoration: none; color: var(--paper); opacity: .8;
	padding: .3rem 0; border-bottom: 1px solid transparent;
	transition: opacity .18s, border-color .18s;
}
.topnav a:hover, .topnav a:focus-visible { opacity: 1; border-bottom-color: var(--lake-lift); }

.topbar__handover {
	display: grid; gap: .1rem; margin: 0; flex: none; line-height: 1.15;
	padding-left: clamp(.5rem, 1.5vw, 1.25rem); border-left: 1px solid var(--ink-line);
}
.topbar__handover-lbl { font-size: .64rem; color: var(--concrete); text-transform: uppercase; letter-spacing: .07em; }
.topbar__handover-date { font-size: .95rem; color: var(--lake-lift); }

.topbar__tel { font-size: 1rem; text-decoration: none; color: var(--paper); flex: none; }
.topbar__tel:hover { color: var(--lake-lift); }

.btn--sm { padding: .6rem 1rem; font-size: .78rem; flex: none; }

@media (max-width: 1180px) { .topnav { display: none; } .topbar__handover { margin-left: auto; } }
@media (max-width: 720px) {
	.logo__loc, .topbar__handover-lbl { display: none; }
	.topbar__tel { font-size: .9rem; }
}
@media (max-width: 560px) { .topbar .btn--sm { display: none; } }
/* Below this the handover date and the phone number fight for the same pixels;
   the phone number wins — it is the action. */
@media (max-width: 620px) {
	.topbar__handover { display: none; }
	.topbar__tel { margin-left: auto; }
	.logo__name { font-size: .85rem; }
}

/* -------------------------------------------------------------------- hero */

.hero {
	position: relative; isolation: isolate;
	background: var(--ink); color: var(--paper);
	display: grid; align-items: end;
	min-height: min(92vh, 880px);
	overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img, .hero__img img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	object-position: center 62%;
}

/* Two-stop scrim: dark enough on the left for text, clear on the right so the
   render is still the thing you notice first. */
.hero::after {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg,
			color-mix(in srgb, var(--ink) 92%, transparent) 0%,
			color-mix(in srgb, var(--ink) 78%, transparent) 42%,
			color-mix(in srgb, var(--ink) 22%, transparent) 78%,
			color-mix(in srgb, var(--ink) 10%, transparent) 100%),
		linear-gradient(to top,
			color-mix(in srgb, var(--ink) 70%, transparent) 0%,
			transparent 45%);
}

.hero__inner {
	max-width: var(--maxw); margin-inline: auto; width: 100%;
	padding: clamp(3rem, 8vw, 6.5rem) var(--gut) clamp(2.5rem, 5vw, 4rem);
}

.hero__eyebrow {
	font-family: var(--mono); font-size: .74rem;
	text-transform: uppercase; letter-spacing: .14em;
	color: var(--lake-lift); margin: 0 0 1.2rem;
}

.eyebrow {
	font-family: var(--mono); font-size: .75rem;
	text-transform: uppercase; letter-spacing: .16em;
	color: var(--lake); margin: 0 0 1.5rem;
}
.section--wall .eyebrow, .section--investor .eyebrow { color: var(--lake-lift); }

.hero__h1 {
	font-family: var(--display); font-weight: 700; font-stretch: 112%;
	font-size: clamp(2.1rem, 4.4vw, 4rem);
	/* Cyrillic caps carry diacritics above the cap line (Й, Ё). */
	line-height: 1.1; letter-spacing: -.03em;
	margin: 0 0 1.2rem; max-width: 18ch;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero__h1 em { font-style: normal; color: var(--lake-lift); }

.hero__sub {
	font-size: clamp(1rem, .5vw + .9rem, 1.2rem); line-height: 1.55;
	max-width: 46ch; margin: 0 0 1.6rem;
	color: color-mix(in srgb, var(--paper) 90%, var(--ink));
}
.hero__sub strong { color: var(--paper); }

.hero__ticks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .5rem; max-width: 46ch; }
.hero__ticks li {
	position: relative; padding-left: 1.6rem; font-size: .98rem;
	color: color-mix(in srgb, var(--paper) 92%, var(--ink));
}
.hero__ticks li::before {
	content: ''; position: absolute; left: 0; top: .4em;
	width: .9rem; height: .5rem;
	border-left: 2px solid var(--lake-lift); border-bottom: 2px solid var(--lake-lift);
	transform: rotate(-45deg);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }

.hero__facts {
	display: grid; grid-template-columns: repeat(6, auto); gap: 1.25rem clamp(1.5rem, 3vw, 3rem);
	justify-content: start; margin: 0;
	border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
	padding-top: 1.35rem;
}
.hero__facts dt {
	font-family: var(--mono); font-size: .66rem; text-transform: uppercase;
	letter-spacing: .1em; color: var(--concrete); margin-bottom: .3rem;
}
.hero__facts dd { margin: 0; font-size: 1.35rem; line-height: 1; font-weight: 500; }

@media (max-width: 900px) {
	.hero { min-height: 0; }
	.hero__img, .hero__img img { object-position: center 55%; }
	.hero::after {
		background:
			linear-gradient(180deg,
				color-mix(in srgb, var(--ink) 55%, transparent) 0%,
				color-mix(in srgb, var(--ink) 88%, transparent) 45%,
				var(--ink) 100%);
	}
	.hero__inner { padding-top: clamp(5.5rem, 20vw, 9rem); }
	.hero__facts { grid-template-columns: repeat(3, auto); gap: 1.1rem 1.75rem; }
}
@media (max-width: 560px) {
	.hero__facts { grid-template-columns: repeat(2, auto); }
}

/* ------------------------------------------------------------------ buttons */

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--mono); font-size: .82rem; letter-spacing: .02em;
	padding: .85rem 1.5rem; text-decoration: none; border: 1px solid transparent;
	transition: background .18s, color .18s, border-color .18s;
}
.btn--solid { background: var(--lake); color: #fff; border-color: var(--lake); }
.btn--solid:hover { background: var(--lake-lift); border-color: var(--lake-lift); }
.btn--ghost { border-color: currentColor; color: inherit; opacity: .85; }
.btn--ghost:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.btn--block { width: 100%; margin-bottom: .6rem; }

/* ----------------------------------------------------------------- sections */

.section {
	max-width: var(--maxw); margin-inline: auto;
	padding: var(--rhythm) var(--gut);
	/* Clear the sticky masthead when jumping to an anchor. */
	scroll-margin-top: 4.5rem;
}

.section--wall { background: var(--ink); color: var(--paper); max-width: none; }
.section--wall > * { max-width: var(--maxw); margin-inline: auto; }

.section--investor { background: var(--ink); color: var(--paper); max-width: none; }
.section--investor > * { max-width: var(--maxw); margin-inline: auto; }

.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.section__title {
	font-family: var(--display);
	font-weight: 700; font-stretch: 112%;
	font-size: clamp(2rem, 4.2vw, 3.6rem);
	line-height: 1.02; letter-spacing: -.028em;
	margin: 0 0 1.1rem;
}

.section__lede { font-size: 1.08rem; line-height: 1.6; margin: 0; max-width: 44ch; opacity: .82; }

.h-sub {
	font-family: var(--display); font-weight: 700; font-stretch: 108%;
	font-size: 1.02rem; text-transform: uppercase; letter-spacing: .06em;
	margin: 0 0 1.1rem; padding-bottom: .55rem;
	border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}

/* ------------------------------------------------------------ availability */

.board__bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
	justify-content: space-between; margin-bottom: 1.75rem;
	padding-bottom: 1.1rem; border-bottom: 1px solid var(--concrete);
}

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.25rem; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.filters__lbl {
	font-family: var(--mono); font-size: .68rem; text-transform: uppercase;
	letter-spacing: .1em; color: var(--concrete-d); margin-right: .15rem;
}
.chip__short { display: none; }

.chip {
	font-family: var(--mono); font-size: .76rem;
	padding: .45rem .85rem; cursor: pointer;
	background: transparent; color: var(--ink);
	border: 1px solid var(--concrete);
	transition: background .16s, color .16s, border-color .16s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* Comfortable targets where there is no cursor. */
@media (hover: none) { .chip { min-height: 2.75rem; padding-inline: 1rem; } }

.board__count { font-size: .82rem; color: var(--concrete-d); }

.board__layout {
	display: grid; grid-template-columns: 1fr minmax(15rem, 19rem);
	gap: clamp(1.5rem, 3vw, 3rem); align-items: start;
}

.board__buildings {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
	gap: clamp(1rem, 2vw, 2rem);
}

.bldg__head { margin-bottom: .9rem; }
.bldg__name {
	font-family: var(--display); font-weight: 700; font-stretch: 110%;
	font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin: 0;
}
.bldg__meta { font-size: .72rem; color: var(--concrete-d); margin: .2rem 0 0; }
.bldg__free { color: var(--lake); }

.bldg__floors { display: grid; gap: 4px; }

.floor { display: grid; grid-template-columns: 1.35rem 1fr; align-items: center; gap: .45rem; }
.floor__no { font-size: .68rem; color: var(--concrete-d); text-align: right; }

/* Fixed six-column track: unit positions stack vertically the way they do in
   the building, and a floor never wraps onto a second line. */
.floor__units { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }

.cell {
	position: relative;
	aspect-ratio: 1; min-width: 0;
	display: grid; place-items: center;
	text-decoration: none; border: 1px solid transparent;
	transition: transform .14s, box-shadow .14s, opacity .14s;
}
.cell__code { font-size: .66rem; line-height: 1; }
.cell--free     { background: var(--lake); color: #fff; }
.cell--reserved { background: var(--wool); color: #fff; }
.cell--sold     { background: transparent; border-color: var(--concrete); color: var(--concrete-d); }

.cell:hover, .cell:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 4px 0 0 var(--ink);
	z-index: 2;
}

.cell__lake {
	position: absolute; top: 2px; right: 2px;
	width: 0; height: 0;
	border-top: 6px solid rgba(255,255,255,.9);
	border-left: 6px solid transparent;
}
.cell--sold .cell__lake { border-top-color: var(--concrete); }

.cell.is-dim { opacity: .16; pointer-events: none; }

/* preview panel */

.preview {
	position: sticky; top: 5.5rem;
	border: 1px solid var(--ink); padding: 1.25rem;
	background: var(--paper-alt);
}

.preview__hint { margin: 0 0 1.25rem; font-size: .95rem; opacity: .75; }

.legend { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.legend li { display: flex; align-items: center; gap: .55rem; font-size: .8rem; font-family: var(--mono); }
.swatch { width: 1rem; height: 1rem; flex: none; border: 1px solid transparent; }
.swatch--free { background: var(--lake); }
.swatch--reserved { background: var(--wool); }
.swatch--sold { border-color: var(--concrete); }
.swatch--lake { background: var(--ink); position: relative; }
.swatch--lake::after {
	content: ''; position: absolute; top: 1px; right: 1px;
	border-top: 5px solid #fff; border-left: 5px solid transparent;
}

.preview__note { font-size: .74rem; color: var(--concrete-d); margin: 0; font-family: var(--mono); }

.preview__code {
	font-size: 1.6rem; margin: 0 0 .15rem; font-weight: 700;
}
.preview__rooms { margin: 0 0 .6rem; font-size: .95rem; }
.preview__status {
	margin: 0 0 1rem; font-family: var(--mono); font-size: .74rem;
	text-transform: uppercase; letter-spacing: .09em;
}

.preview__specs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 1rem; }
.preview__specs dt { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--concrete-d); }
.preview__specs dd { margin: .15rem 0 0; font-size: .9rem; }

.preview__price { font-size: 1.35rem; margin: 0; border-top: 1px solid var(--concrete); padding-top: .75rem; }
.preview__rate { font-size: .78rem; color: var(--concrete-d); margin: .1rem 0 1rem; }
.preview__cta { font-size: .78rem; font-family: var(--mono); color: var(--lake); margin: 0; }

@media (max-width: 900px) {
	.board__layout { grid-template-columns: 1fr; }
	.preview { position: static; order: -1; }
}

/* ---------------------------------------------------------------- the wall */

.wall {
	display: grid; grid-template-columns: minmax(14rem, 26rem) 1fr;
	gap: clamp(1.75rem, 4vw, 4.5rem); align-items: start;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.wall__drawing {
	border: 1px solid var(--ink-line);
	padding: 1.25rem; background: var(--ink-soft);
	color: var(--lake-lift);
}

.wall__layers { list-style: none; margin: 0; padding: 0; counter-reset: layer; }

.layer {
	display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem;
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--ink-line);
}
.layer:first-child { border-top: 1px solid var(--ink-line); }

.layer__rule { height: 1px; background: var(--wool); margin-top: .85rem; }

.layer__name {
	font-family: var(--display); font-weight: 700; font-stretch: 108%;
	font-size: 1.02rem; margin: 0 0 .3rem;
	display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem;
}
.layer__thick { font-family: var(--mono); font-size: .78rem; color: var(--wool-lift); font-weight: 400; }
.layer__note { margin: 0; font-size: .92rem; opacity: .78; line-height: 1.5; }

.wallsvg { color: var(--lake-lift); display: block; }
.wallsvg__bg { fill: color-mix(in srgb, var(--ink) 70%, var(--lake)); opacity: .22; }
.wallsvg__layer--wool .wallsvg__bg { fill: var(--wool); opacity: .13; }
.wallsvg__layer--brick .wallsvg__bg { fill: var(--concrete); opacity: .1; }
.wallsvg__edge { stroke: currentColor; stroke-width: 1.4; opacity: .55; }
.wallsvg__hatch { color: currentColor; }
.wallsvg__layer--wool { color: var(--wool-lift); }
.wallsvg__layer--brick { color: var(--concrete); }

.wallsvg__dims line { stroke: var(--paper); stroke-width: 1; opacity: .7; }
.wallsvg__dims text,
.wallsvg__side text {
	fill: var(--paper); font-family: var(--mono); font-size: 15px; opacity: .85;
}
.wallsvg__side text { font-size: 13px; fill: var(--concrete); }

.wallsvg--detailed { max-height: 30rem; width: 100%; }

.uvals {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	gap: clamp(1.5rem, 3vw, 3rem);
	border-top: 1px solid var(--ink-line); padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.uval__num { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1; margin: 0; color: var(--wool-lift); font-weight: 500; }
.uval__unit { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--concrete); margin: .4rem 0 .7rem; }
.uval__label { margin: 0; font-size: .92rem; opacity: .78; max-width: 26ch; }

@media (max-width: 820px) { .wall { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ stages */

.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: clamp(2rem, 4vw, 4rem); }

.phase__head { margin-bottom: 1.4rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.phase__name {
	font-family: var(--display); font-weight: 700; font-stretch: 110%;
	font-size: 1.3rem; margin: 0; text-transform: uppercase; letter-spacing: .02em;
}
.phase__blds { font-size: .76rem; color: var(--concrete-d); margin: .25rem 0 0; }

.timeline { list-style: none; margin: 0; padding: 0; }

.step {
	display: grid; grid-template-columns: 1.5rem 1fr auto;
	gap: .9rem; align-items: start;
	padding: .9rem 0; position: relative;
}
.step::before {
	content: ''; position: absolute;
	left: .68rem; top: 1.6rem; bottom: -.3rem;
	width: 1px; background: var(--concrete);
}
.step:last-child::before { display: none; }

.step__dot {
	width: 1.5rem; height: 1.5rem; border-radius: 50%;
	border: 1px solid var(--concrete); display: block; position: relative; z-index: 1;
	background: var(--paper);
}
.step--done .step__dot { background: var(--lake); border-color: var(--lake); }
.step--done .step__dot::after {
	content: ''; position: absolute; inset: 0;
	background: no-repeat center/.75rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}
.step--now .step__dot { background: var(--wool); border-color: var(--wool); }
.step--now .step__dot::after {
	content: ''; position: absolute; inset: .42rem; border-radius: 50%; background: #fff;
}

.step__name { margin: 0; font-weight: 600; font-size: 1rem; }
.step__when { margin: .1rem 0 0; font-size: .78rem; color: var(--concrete-d); }
.step__state {
	font-size: .68rem; text-transform: uppercase; letter-spacing: .09em;
	padding-top: .3rem; color: var(--concrete-d);
}
.step--now .step__state { color: var(--wool); }
.step--done .step__state { color: var(--lake); }

.timeline--compact .step { padding: .65rem 0; }

/* ---------------------------------------------------------------- features */

/* Three across so the six features fill two rows exactly — no orphan cell. */
.features {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1px; background: var(--concrete);
	border: 1px solid var(--concrete);
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--paper); padding: clamp(1.4rem, 2.5vw, 2.1rem); }
.feature__title {
	font-family: var(--display); font-weight: 700; font-stretch: 106%;
	font-size: 1.05rem; margin: 0 0 .6rem; line-height: 1.2;
}
.feature__body { margin: 0; font-size: .94rem; opacity: .8; line-height: 1.55; }

.amenities {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 1.5rem;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.amenities__label {
	font-family: var(--mono); font-size: .72rem; text-transform: uppercase;
	letter-spacing: .12em; color: var(--concrete-d); margin: 0;
}
.amenities__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.amenities__list li {
	font-size: .8rem; padding: .35rem .8rem;
	border: 1px solid var(--concrete);
}

/* ---------------------------------------------------------------- location */

.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }

.distances { list-style: none; margin: 0; padding: 0; }
.dist {
	display: grid; grid-template-columns: auto 1fr auto auto;
	align-items: baseline; gap: .75rem;
	padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb, var(--concrete) 60%, transparent);
}
.dist__what { font-size: 1rem; }
.dist__line { border-bottom: 1px dotted var(--concrete); transform: translateY(-.25rem); }
.dist__num { font-size: .92rem; font-weight: 500; }
.dist__how { font-size: .74rem; color: var(--concrete-d); min-width: 7.5rem; text-align: right; }

.location__note { border-left: 2px solid var(--lake); padding-left: 1.25rem; }
.location__note p { margin: 0 0 1rem; }
.fine, .footer__fine { font-size: .8rem; color: var(--concrete-d); }

@media (max-width: 820px) {
	.location { grid-template-columns: 1fr; }
	.dist { grid-template-columns: auto 1fr auto; }
	.dist__how { display: none; }
}

/* ---------------------------------------------------------------- investor */

.investor { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.investor__quote {
	font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.4;
	margin: 0 0 1.1rem; text-wrap: balance;
}
.investor__attr { font-size: .78rem; color: var(--concrete); margin: 0; }

.investor__facts { margin: 0; display: grid; gap: 0; }
.investor__facts > div {
	display: grid; grid-template-columns: 12rem 1fr; gap: 1rem;
	padding: .8rem 0; border-bottom: 1px solid var(--ink-line);
}
.investor__facts dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--concrete); }
.investor__facts dd { margin: 0; font-size: .96rem; }

.verify {
	margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 46ch;
	font-size: .92rem; opacity: .72; border-top: 1px solid var(--ink-line); padding-top: 1.25rem;
}

@media (max-width: 820px) {
	.investor { grid-template-columns: 1fr; }
	.investor__facts > div { grid-template-columns: 1fr; gap: .2rem; }
}

/* ------------------------------------------------------------- unit detail */

.unit { max-width: var(--maxw); margin-inline: auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--gut) var(--rhythm); }

.crumbs { font-family: var(--mono); font-size: .76rem; display: flex; gap: .5rem; margin-bottom: 2rem; color: var(--concrete-d); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lake); }

.unit__head {
	display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between;
	align-items: flex-end; padding-bottom: 1.75rem; margin-bottom: 2.5rem;
	border-bottom: 2px solid var(--ink);
}

.unit__code { font-size: .82rem; color: var(--concrete-d); margin: 0 0 .5rem; letter-spacing: .1em; }
.unit__title {
	font-family: var(--display); font-weight: 700; font-stretch: 112%;
	font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.028em;
	margin: 0 0 .7rem;
}
.unit__where { margin: 0; font-size: 1rem; opacity: .8; }

.tag { font-family: var(--mono); font-size: .72rem; padding: .2rem .5rem; }
.tag--lake { background: var(--ink); color: var(--paper); }

.unit__money { text-align: right; }
.status {
	display: inline-block; font-family: var(--mono); font-size: .7rem;
	text-transform: uppercase; letter-spacing: .1em;
	padding: .3rem .7rem; margin: 0 0 .6rem;
}
.status--free { background: var(--lake); color: #fff; }
.status--reserved { background: var(--wool); color: #fff; }
.status--sold { border: 1px solid var(--concrete); color: var(--concrete-d); }

.unit__price { font-size: clamp(2rem, 4vw, 3rem); margin: 0; line-height: 1; font-weight: 500; }
.unit__rate { font-size: .8rem; color: var(--concrete-d); margin: .4rem 0 0; }

.unit__body { display: grid; grid-template-columns: 1fr minmax(16rem, 21rem); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.unit__main > * + * { margin-top: clamp(2.25rem, 4vw, 3.25rem); }

.plan { margin: 0; }
.plan__frame { border: 1px solid var(--concrete); background: var(--paper-alt); padding: 1.5rem; color: var(--concrete-d); }
.plan__ph { width: 100%; height: auto; display: block; }
.plan__lbl { font-family: var(--mono); font-size: 13px; fill: var(--concrete-d); }
.plan__cap { font-size: .82rem; color: var(--concrete-d); margin-top: .7rem; max-width: 48ch; }

.specs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); gap: 1.1rem 1.5rem; margin: 0; }
.specs__grid dt { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--concrete-d); }
.specs__grid dd { margin: .25rem 0 0; font-size: 1rem; }
.specs__note { font-size: .84rem; color: var(--concrete-d); margin: 1.5rem 0 0; }

.pay__table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.pay__table th, .pay__table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid color-mix(in srgb, var(--concrete) 60%, transparent); }
.pay__table thead th { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--concrete-d); font-weight: 400; }
.pay__table tbody th { font-weight: 400; }
.pay__table tfoot th, .pay__table tfoot td { border-bottom: none; border-top: 2px solid var(--ink); font-weight: 700; }
.ta-r { text-align: right !important; }
.pay__note { font-size: .84rem; color: var(--concrete-d); margin: 1rem 0 0; }

.unit__prose { font-size: 1rem; opacity: .85; }

/* Opaque, so it can never let the list behind it show through. */
.cta { border: 1px solid var(--ink); padding: 1.5rem; background: var(--paper); }
.cta__eyebrow { font-size: .72rem; color: var(--concrete-d); letter-spacing: .09em; margin: 0 0 .4rem; }
.cta__title { font-family: var(--display); font-weight: 700; font-stretch: 110%; font-size: 1.4rem; margin: 0 0 .7rem; }
.cta__body { font-size: .92rem; opacity: .8; margin: 0 0 1.25rem; }
.cta__meta { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--concrete); display: grid; gap: .6rem; }
.cta__meta > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.cta__meta dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--concrete-d); }
.cta__meta dd { margin: 0; }

.similar { margin-top: 2rem; }
.similar__list { list-style: none; margin: 0; padding: 0; }
.similar__list a {
	display: grid; grid-template-columns: 4rem 1fr auto; gap: .6rem; align-items: baseline;
	padding: .65rem 0; text-decoration: none; font-size: .84rem;
	border-bottom: 1px solid color-mix(in srgb, var(--concrete) 55%, transparent);
}
.similar__list a:hover { color: var(--lake); }
.similar__area { color: var(--concrete-d); }
.similar__price { font-weight: 500; }

/* Stick the whole aside as one block. Sticking only the card made it slide down
   over the "other free flats" list that follows it in normal flow. Gated on
   viewport height too — a sticky block taller than the screen hides its own end. */
@media (min-width: 901px) and (min-height: 760px) {
	.unit__aside { position: sticky; top: 5.5rem; align-self: start; }
}

@media (max-width: 900px) {
	.unit__body { grid-template-columns: 1fr; }
	.unit__money { text-align: left; }
}

/* ------------------------------------------------------------------ footer */

.footer { background: var(--ink); color: var(--paper); padding: var(--rhythm) var(--gut) 2rem; }
.footer__grid {
	max-width: var(--maxw); margin-inline: auto;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	gap: clamp(1.75rem, 3vw, 3rem);
	padding-bottom: 2.5rem; border-bottom: 1px solid var(--ink-line);
}
.footer__col p { margin: 0 0 .4rem; font-size: .92rem; }
/* :not(.btn) so this never repaints the CTA button's own text colour. */
.footer__col a:not(.btn) { color: var(--lake-lift); }
.footer__eyebrow {
	font-family: var(--mono); font-size: .7rem; text-transform: uppercase;
	letter-spacing: .12em; color: var(--concrete); margin: 0 0 .8rem !important;
}
.footer__pitch { font-size: 1.1rem !important; margin-bottom: 1.25rem !important; max-width: 24ch; }
.footer__base {
	max-width: var(--maxw); margin: 1.5rem auto 0;
	display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
	font-size: .8rem; color: var(--concrete);
}
.footer__base p { margin: 0; }

.plain-list { list-style: none; padding: 0; }

/* -------------------------------------------------------- key plan + shots */

.section__head--wide {
	max-width: none;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
	gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end;
}
.section__head--wide > div { max-width: 46rem; min-width: 0; }

.keyplan { margin: 0; min-width: 0; }
.keyplan__img, .keyplan__img img {
	display: block; width: 100%; height: auto;
	border: 1px solid var(--concrete);
}
.keyplan__cap { font-size: .84rem; color: var(--concrete-d); margin-top: .65rem; }
.keyplan__cap strong { color: var(--lake); font-family: var(--mono); }

/* minmax(0,…) and min-width:0 stop the images' intrinsic width attributes from
   blowing the tracks out past the container. */
.gallery {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: clamp(230px, 27vw, 400px);
	gap: clamp(.75rem, 1.5vw, 1.25rem);
}
.shot {
	margin: 0; min-width: 0; position: relative; overflow: hidden;
	padding: 0; border: 0; cursor: zoom-in; background: var(--paper-alt);
	font: inherit; color: inherit; text-align: left; display: block;
}
.shot--wide { grid-column: span 2; }
/* Two rows tall so the 16:9 site plan keeps its building numbers instead of
   being cropped to a letterbox. */
.shot--full { grid-column: 1 / -1; grid-row: span 2; }
@media (max-width: 900px) { .shot--full { grid-row: span 1; } }
.shot__img, .shot__img img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	background: var(--paper-alt);
	transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.shot:hover .shot__img img, .shot:focus-visible .shot__img img { transform: scale(1.04); }

.shot__zoom {
	position: absolute; top: .6rem; right: .6rem;
	width: 2rem; height: 2rem; display: grid; place-items: center;
	background: color-mix(in srgb, var(--ink) 72%, transparent);
	color: var(--paper); opacity: 0; transform: translateY(-4px);
	transition: opacity .2s, transform .2s;
}
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
/* Caption sits on the image so uneven row heights can't push it into the row below. */
.shot__cap {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
	padding: .55rem .8rem;
	font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
	text-transform: uppercase; color: var(--paper);
	background: linear-gradient(to top, color-mix(in srgb, var(--ink) 82%, transparent), transparent);
}

@media (max-width: 900px) {
	.section__head--wide { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr; }
	.shot--wide { grid-column: span 1; }
}

/* --------------------------------------------------------------------- map */

.map { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.map__frame {
	border: 1px solid var(--concrete); background: var(--paper-alt);
	line-height: 0;
}
.map__frame iframe { display: block; width: 100%; border: 0; filter: saturate(.85); }
.map__cap {
	display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
	align-items: baseline; margin-top: .7rem; font-size: .88rem;
}
.map__link { font-family: var(--mono); font-size: .8rem; color: var(--lake); text-decoration: none; }
.map__link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- lightbox */

.lightbox {
	position: fixed; inset: 0; z-index: 90;
	display: grid; grid-template-columns: auto 1fr auto; align-items: center;
	gap: clamp(.5rem, 2vw, 1.5rem); padding: clamp(1rem, 4vw, 3rem);
	background: color-mix(in srgb, var(--ink) 94%, transparent);
	backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }

.lightbox__figure { margin: 0; display: grid; gap: .8rem; justify-items: center; min-width: 0; }
.lightbox__img {
	display: block; max-width: 100%; max-height: 78vh;
	width: auto; height: auto; object-fit: contain;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.lightbox__cap {
	display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: baseline;
	justify-content: center; color: var(--paper); font-size: .9rem;
}
.lightbox__count { color: var(--concrete); font-size: .78rem; }

.lightbox__close {
	position: absolute; top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem);
	width: 2.75rem; height: 2.75rem; z-index: 2;
	background: transparent; border: 1px solid var(--ink-line); color: var(--paper);
	font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: var(--ink-soft); }

.lightbox__nav {
	width: 2.75rem; height: 4.5rem; flex: none; cursor: pointer;
	background: transparent; border: 1px solid var(--ink-line); color: var(--paper);
	font-size: 1.8rem; line-height: 1;
}
.lightbox__nav:hover { background: var(--ink-soft); }

@media (max-width: 640px) {
	.lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
	.lightbox__nav { width: 100%; height: 2.75rem; }
	.lightbox__nav--prev { grid-row: 2; }
	.lightbox__nav--next { grid-row: 2; }
	.lightbox__figure { grid-row: 1; }
}

/* ------------------------------------------------------------------ energy */

.energy {
	display: grid; grid-template-columns: 1.5fr 1fr;
	gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.energy__compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--concrete); border: 1px solid var(--concrete); }

.ecase { background: var(--paper); padding: clamp(1.1rem, 2vw, 1.75rem); display: grid; align-content: start; gap: .5rem; }
.ecase__badge {
	font-size: .68rem; text-transform: uppercase; letter-spacing: .1em;
	padding: .25rem .6rem; justify-self: start; margin: 0;
	background: var(--concrete); color: #fff;
}
.ecase--good .ecase__badge { background: var(--lake); }
.ecase__name { font-family: var(--display); font-weight: 700; font-stretch: 106%; font-size: 1rem; margin: .2rem 0 .6rem; }
.ecase__total { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1; margin: 0; font-weight: 500; }
.ecase--good .ecase__total { color: var(--lake); }
.ecase--bad .ecase__total { color: var(--concrete-d); }
.ecase__total span { font-size: .4em; color: var(--concrete-d); font-weight: 400; }
.ecase__month { font-size: .84rem; color: var(--concrete-d); margin: 0 0 .8rem; }

.ecase__rows { margin: 0; display: grid; gap: .4rem; }
.ecase__rows > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; padding: .35rem 0; border-bottom: 1px solid color-mix(in srgb, var(--concrete) 45%, transparent); }
.ecase__rows dt { color: var(--concrete-d); }
.ecase__rows dd { margin: 0; }

.ecase__bar { height: 6px; background: var(--paper-alt); margin-top: .9rem; }
.ecase__bar span { display: block; height: 100%; background: var(--concrete); }
.ecase--good .ecase__bar span { background: var(--lake); }
.ecase--bad .ecase__bar span { background: var(--wool); }

.energy__saving {
	background: var(--ink); color: var(--paper);
	padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; align-content: center;
}
.energy__saving-lbl { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--concrete); margin: 0 0 .5rem; }
.energy__saving-num { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; margin: 0 0 1.25rem; color: var(--lake-lift); font-weight: 700; }
.energy__over { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.energy__over li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .5rem 0; border-bottom: 1px solid var(--ink-line); }
.energy__saving-note { font-size: .88rem; margin: 0; opacity: .82; }
.energy__saving-note strong { color: var(--lake-lift); }

.whys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.why__title { font-family: var(--display); font-weight: 700; font-stretch: 106%; font-size: 1rem; margin: 0 0 .45rem; }
.why__body { margin: 0; font-size: .92rem; opacity: .8; line-height: 1.55; }

.assump {
	margin: clamp(2rem, 4vw, 3rem) 0 0; font-size: .82rem; color: var(--concrete-d);
	border-top: 1px solid var(--concrete); padding-top: 1.1rem; max-width: 78ch;
}

@media (max-width: 900px) {
	.energy { grid-template-columns: 1fr; }
	.energy__compare { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- materials */

.mats { margin-top: clamp(2.5rem, 5vw, 4rem); }
/* Four across so the eight cards fill two rows exactly — no orphan cell. */
.mats__grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line);
}
@media (max-width: 1000px) { .mats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px)  { .mats__grid { grid-template-columns: 1fr; } }
.mat { background: var(--ink); padding: clamp(1.1rem, 2vw, 1.6rem); }
.mat__brand { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--wool-lift); margin: 0 0 .5rem; }
.mat__title { font-family: var(--display); font-weight: 700; font-stretch: 106%; font-size: 1.02rem; margin: 0 0 .5rem; }
.mat__body { margin: 0 0 .6rem; font-size: .9rem; opacity: .78; line-height: 1.5; }
.mat__spec { font-size: .76rem; color: var(--lake-lift); margin: 0; }

/* -------------------------------------------------------------- stages CTA */

.stages__cta {
	display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center;
	justify-content: space-between;
	margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 2px solid var(--ink);
}
.stages__cta-title { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: clamp(1.1rem, 2vw, 1.5rem); margin: 0 0 .3rem; }
.stages__cta-sub { margin: 0; font-size: .95rem; color: var(--concrete-d); }

.btn--lg { padding: 1rem 1.9rem; font-size: .88rem; }

/* ============================================================================
   MOBILE
   Roughly 70% of Bulgarian property browsing happens on a phone, so everything
   below is treated as the primary case rather than a fallback.
   ========================================================================= */

/* --------------------------------------------------------- nav toggle + drawer */

.navtoggle {
	display: none; flex: none;
	width: 2.75rem; height: 2.75rem; padding: 0;
	background: transparent; border: 1px solid var(--ink-line); color: var(--paper);
	cursor: pointer; place-items: center;
}
.navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after {
	display: block; width: 1.15rem; height: 2px; background: currentColor;
	transition: transform .2s, opacity .2s;
}
.navtoggle__bars { position: relative; }
.navtoggle__bars::before, .navtoggle__bars::after { content: ''; position: absolute; left: 0; }
.navtoggle__bars::before { top: -6px; }
.navtoggle__bars::after { top: 6px; }

[aria-expanded="true"] .navtoggle__bars { background: transparent; }
[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Below the topbar (60) so the toggle — now an X — stays reachable. */
.drawer {
	position: fixed; inset: 0; z-index: 55;
	background: var(--ink); color: var(--paper);
	padding: 5rem var(--gut) 2rem;
	overflow-y: auto;
	display: grid; align-content: space-between; gap: 2rem;
}
.drawer[hidden] { display: none; }

.drawer__list { list-style: none; margin: 0; padding: 0; display: grid; }
.drawer__list a {
	display: block; padding: 1rem 0; text-decoration: none;
	font-family: var(--display); font-weight: 700; font-stretch: 108%;
	font-size: 1.4rem; letter-spacing: -.02em;
	border-bottom: 1px solid var(--ink-line);
}
.drawer__list a:hover { color: var(--lake-lift); }

.drawer__foot { display: grid; gap: .75rem; }
.drawer__lbl {
	margin: 0; font-family: var(--mono); font-size: .74rem;
	color: var(--concrete); text-transform: uppercase; letter-spacing: .08em;
}

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- call bar */

.callbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: none; gap: .5rem; padding: .55rem var(--gut)
		calc(.55rem + env(safe-area-inset-bottom, 0px));
	background: color-mix(in srgb, var(--ink) 96%, transparent);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--ink-line);
	transform: translateY(110%); transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.callbar.is-on { transform: none; }

.callbar__btn {
	flex: 1; min-height: 3rem;
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font-family: var(--mono); font-size: .82rem; text-decoration: none;
	border: 1px solid transparent;
}
.callbar__btn--solid { background: var(--lake); color: #fff; border-color: var(--lake); }
.callbar__btn--ghost { color: var(--paper); border-color: var(--ink-line); }
.callbar__ico { display: grid; place-items: center; }

/* ------------------------------------------------------------ bottom sheet */

.sheet {
	position: fixed; inset: 0; z-index: 70;
	display: flex; align-items: flex-end;
	background: color-mix(in srgb, var(--ink) 55%, transparent);
	opacity: 0; transition: opacity .2s;
}
.sheet[hidden] { display: none; }
.sheet.is-on { opacity: 1; }

.sheet__panel {
	position: relative; width: 100%;
	background: var(--paper); color: var(--ink);
	padding: 1.4rem var(--gut) calc(1.4rem + env(safe-area-inset-bottom, 0px));
	transform: translateY(14px); transition: transform .22s cubic-bezier(.2,.7,.3,1);
	max-height: 88vh; overflow-y: auto;
}
.sheet.is-on .sheet__panel { transform: none; }

.sheet__close {
	position: absolute; top: .6rem; right: .6rem;
	width: 2.75rem; height: 2.75rem; font-size: 1.6rem; line-height: 1;
	background: transparent; border: 0; color: var(--concrete-d); cursor: pointer;
}
.sheet__code { font-size: 1.7rem; font-weight: 700; margin: 0 0 .1rem; }
.sheet__rooms { margin: 0 0 .6rem; font-size: 1rem; }
.sheet__status {
	display: inline-block; margin: 0 0 1rem; font-family: var(--mono);
	font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; padding: .3rem .7rem;
}
.sheet__specs { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 0 0 1rem; }
.sheet__specs dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--concrete-d); }
.sheet__specs dd { margin: .15rem 0 0; font-size: 1rem; }
.sheet__price { font-size: 1.6rem; margin: 0; border-top: 1px solid var(--concrete); padding-top: .8rem; }
.sheet__rate { font-size: .82rem; color: var(--concrete-d); margin: .15rem 0 1.1rem; }

/* -------------------------------------------------------------- ≤1180 / ≤900 */

@media (max-width: 1180px) {
	.navtoggle { display: grid; }
}

@media (max-width: 900px) {
	/* Reading sizes: nothing functional below ~12.5px on a phone. */
	.eyebrow            { font-size: .82rem; }
	.cell__code         { font-size: .8rem; }
	.floor__no          { font-size: .8rem; }
	.bldg__meta,
	.bldg__free         { font-size: .8rem; }
	.step__when         { font-size: .84rem; }
	.step__state        { font-size: .76rem; }
	.mat__brand         { font-size: .76rem; }
	.mat__spec          { font-size: .84rem; }
	.uval__unit         { font-size: .8rem; }
	.layer__thick       { font-size: .84rem; }
	.dist__how          { font-size: .8rem; }
	.shot__cap          { font-size: .78rem; }
	.amenities__label   { font-size: .78rem; }
	.ecase__badge       { font-size: .76rem; }
	.energy__saving-lbl { font-size: .78rem; }
	.investor__attr     { font-size: .82rem; }
	.hero__facts dt,
	.specs__grid dt,
	.preview__specs dt,
	.sheet__specs dt,
	.cta__meta dt,
	.investor__facts dt,
	.phase__blds,
	.step__state,
	.mat__brand,
	.shot__cap,
	.ecase__badge,
	.energy__saving-lbl,
	.amenities__label,
	.preview__note,
	.preview__cta,
	.drawer__lbl        { font-size: .8rem; }

	/* Comfortable targets everywhere that takes a tap. */
	.chip { min-height: 2.75rem; padding-inline: 1rem; font-size: .84rem; }
	.btn  { min-height: 3rem; }

	/* Both hero actions share one row rather than stacking. */
	.hero__actions { flex-wrap: nowrap; gap: .6rem; }
	.hero__actions .btn { flex: 1; padding-inline: .75rem; font-size: .82rem; }
	.topbar__tel,
	.logo { min-height: 2.75rem; display: inline-flex; align-items: center; }
	.map__link, .footer__col a { display: inline-block; padding: .6rem 0; }

	/* Tighter vertical rhythm — the desktop scale makes the page enormous here. */
	:root { --rhythm: clamp(2.75rem, 9vw, 4rem); }
	.section__head { margin-bottom: 1.75rem; }
	.section__title { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
	.section__lede { font-size: 1rem; }

	/* Room for the call bar so it never covers the last line of the footer. */
	body { padding-bottom: 4.25rem; }
	.callbar { display: flex; }

	/* The hover card has no meaning without a cursor — the bottom sheet replaces
	   it — but the colour legend still does, so only the prompt goes. */
	.preview__hint { display: none; }
	.preview { padding: 1rem; }
	.legend { grid-template-columns: 1fr 1fr; display: grid; gap: .5rem .75rem; margin-bottom: .75rem; }

	.cell { cursor: pointer; }

	/* Full room names wrapped onto three ragged lines with orphaned dividers.
	   Two labelled rows, with the room chips reduced to their numerals. */
	.board__bar { gap: .9rem; flex-direction: column; align-items: stretch; }
	.filters { flex-direction: column; align-items: stretch; gap: .7rem; }
	.filters__row { flex-wrap: nowrap; gap: .35rem; }
	.filters__lbl { flex: none; width: 4.5rem; font-size: .68rem; }

	.chip__long  { display: none; }
	.chip__short { display: inline; }
	.filters__row .chip { flex: 1; padding-inline: .3rem; text-align: center; }

	/* The lake filter keeps its own row so the numerals stay tappable. */
	.filters__row--lake { padding-left: 4.5rem; }
	.filters__row--lake .chip { flex: 0 1 auto; padding-inline: 1rem; }

	.board__count { text-align: right; }

	/* Density: single-column cards turned the build section into 3 700px of
	   scrolling. These blocks are short enough to sit side by side. */
	.uvals {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem; padding-top: 1.5rem;
	}
	.uval__num { font-size: clamp(1.5rem, 7vw, 2.2rem); }
	.uval__unit { margin: .25rem 0 .4rem; }
	.uval__label { font-size: .82rem; }

	.whys { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
	.why__body { font-size: .86rem; }

	.wallsvg--detailed { max-height: 18rem; }
	.wall__drawing { padding: .85rem; }
	.layer { padding: .8rem 0; grid-template-columns: 1.25rem 1fr; gap: .7rem; }
	.layer__note { font-size: .86rem; }

	.mat { padding: 1rem .9rem; }
	.mat__body { font-size: .85rem; margin-bottom: .45rem; }
	.mat__title { font-size: .95rem; }

	.feature { padding: 1.1rem; }
	.ecase { padding: 1.1rem; }
	.stages { gap: 2rem; }
}

@media (max-width: 400px) {
	.logo__name { font-size: .8rem; }
	.hero__h1 { font-size: clamp(1.75rem, 8.5vw, 2.2rem); }
	.drawer__list a { font-size: 1.2rem; padding: .85rem 0; }
	.topbar__inner { gap: .75rem; }
}

/* Only the very narrow phones need these. Above ~360px the topbar still fits
   logo + phone + toggle, and the phone is the most valuable thing in it. */
@media (max-width: 360px) {
	.topbar__tel { display: none; }
	.navtoggle { margin-left: auto; }

	/* Three columns leaves ~80px per label — too narrow for a sentence. */
	.uvals { grid-template-columns: 1fr; gap: 1.25rem; }
	.uval__label { max-width: none; }
	.whys { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ motion */

@keyframes pm-layer-in {
	from { opacity: 0; transform: translateX(-14px); }
	to   { opacity: 1; transform: none; }
}

.wallsvg__layer {
	animation: pm-layer-in .7s cubic-bezier(.2,.7,.3,1) both;
	animation-delay: calc(var(--i) * .09s + .1s);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.wallsvg__layer { animation: none; }
	.cell, .btn, .nav a { transition: none; }
}
