/* ==========================================================================
   TR2 Group — main stylesheet
   Dark black and white system. Fraunces (display) + Inter (text), self hosted.
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
	--ink: #0b0b0b;
	--ink-2: #121212;
	--ink-3: #1a1a1a;
	--ink-4: #242424;
	--text: #f3f1ec;
	--muted: rgba(243, 241, 236, 0.68);
	--faint: rgba(243, 241, 236, 0.45);
	--line: rgba(243, 241, 236, 0.12);
	--line-2: rgba(243, 241, 236, 0.22);
	--white: #ffffff;

	--serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 140px);
	--radius: 4px;
	--header-h: 76px;
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
svg.icon { flex-shrink: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--white); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 350; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--white); font-variation-settings: "SOFT" 30, "WONK" 0; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--white); color: var(--ink); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section + .section.is-flush-top { padding-top: 0; }
.section.alt { background: var(--ink-2); }
.section.line-top { border-top: 1px solid var(--line); }

/* Type helpers ------------------------------------------------------------ */
.eyebrow {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.section-title { font-size: clamp(34px, 4.6vw, 60px); margin: 0; }
.section-title em, .display em { font-style: italic; font-weight: 300; }
.section-intro { margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 620px; }
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--text); font-weight: 350; }
.muted { color: var(--muted); }

/* Buttons ----------------------------------------------------------------- */
.btn {
	--b: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid var(--b);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-solid { background: var(--white); color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--white); }
.btn-line { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--white); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color 0.2s; }
.text-link:hover { border-color: var(--white); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform 0.25s var(--ease); }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
	border-bottom: 1px solid transparent;
	background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0));
}
.site-header.is-scrolled, body.nav-open .site-header {
	background: rgba(11, 11, 11, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { max-height: 44px; width: auto; }
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; color: var(--white); line-height: 1; }
.wm-mark { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.wm-word { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }

.site-nav { margin-left: auto; }
.site-nav .menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text); opacity: 0.86; transition: opacity 0.2s; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { opacity: 1; color: var(--white); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.7; }
.site-nav .sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 270px;
	padding: 10px;
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
	box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.site-nav .menu-item-has-children:hover > .sub-menu, .site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 10px 12px; border-radius: 3px; font-size: 14.5px; }
.site-nav .sub-menu a:hover { background: var(--ink-3); }
.header-cta { flex-shrink: 0; }
.cta-short { display: none; }
.nav-toggle, .nav-close { display: none; background: none; border: 0; padding: 8px; margin: -8px; cursor: pointer; color: var(--white); }
.nav-panel-foot { display: none; }
.nav-scrim { position: fixed; inset: 0; z-index: 98; background: rgba(0,0,0,0.6); }

@media (max-width: 1000px) {
	:root { --header-h: 64px; }
	.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; }
	.nav-toggle { display: inline-flex; justify-self: start; }
	.brand { justify-self: center; }
	.wm-mark { font-size: 26px; }
	.header-cta { justify-self: end; }
	.cta-long { display: none; }
	.cta-short { display: inline; }
	.site-nav { position: fixed; inset: 0 auto 0 0; z-index: 101; width: min(86vw, 380px); margin: 0; transform: translateX(-102%); transition: transform 0.35s var(--ease); visibility: hidden; }
	body.nav-open .site-nav { transform: none; visibility: visible; }
	.nav-panel { height: 100%; overflow-y: auto; background: var(--ink); border-right: 1px solid var(--line); padding: 20px 24px 32px; display: flex; flex-direction: column; }
	.nav-close { display: inline-flex; align-self: flex-start; margin: 0 0 24px -8px; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li > a { font-family: var(--serif); font-size: 28px; font-weight: 350; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 1; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 8px 0 14px; min-width: 0; }
	.site-nav .sub-menu a { padding: 7px 0; color: var(--muted); font-size: 15px; }
	.nav-panel-foot { display: block; margin-top: auto; padding-top: 28px; }
	.nav-panel-foot a { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); text-decoration: none; font-size: 15px; }
	body.nav-open { overflow: hidden; }
}

/* Heroes ------------------------------------------------------------------ */
.hero {
	position: relative;
	min-height: min(100svh, 980px);
	display: flex;
	align-items: flex-end;
	padding: calc(var(--header-h) + 60px) 0 clamp(48px, 7vw, 96px);
	isolation: isolate;
	overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink-3); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.15) 35%, rgba(11,11,11,0.55) 70%, rgba(11,11,11,0.96) 100%), linear-gradient(90deg, rgba(11,11,11,0.6) 0%, rgba(11,11,11,0) 65%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content { max-width: 880px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: 0.98; margin-bottom: 26px; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--text); max-width: 600px; margin-bottom: 36px; opacity: 0.92; }
.hero-foot { margin-top: clamp(40px, 6vw, 80px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.hero-foot p { margin: 0; font-size: 14px; color: var(--muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue .icon { transform: rotate(90deg); }

.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px);
	isolation: isolate;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}
.page-hero.has-image { min-height: min(78svh, 760px); display: flex; align-items: flex-end; border-bottom: 0; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,0.6) 0%, rgba(11,11,11,0.2) 40%, rgba(11,11,11,0.95) 100%); }
.page-hero .hero-media img { animation-duration: 14s; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); max-width: 960px; margin-bottom: 20px; }
.page-hero .lead { max-width: 680px; color: var(--text); opacity: 0.9; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.page-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

/* Stats ------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(40px, 5vw, 68px); line-height: 1; color: var(--white); font-weight: 300; letter-spacing: -0.03em; display: block; margin-bottom: 12px; }
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 760px) {
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 26px 0 26px 18px; }
	.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Split layouts ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.split.top { align-items: start; }
.split-6-4 { grid-template-columns: 1.25fr 1fr; }
.split-4-6 { grid-template-columns: 1fr 1.25fr; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-media.landscape img { aspect-ratio: 4 / 3; }
.split-media figcaption { margin-top: 14px; font-size: 13px; color: var(--faint); }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) {
	.split, .split-6-4, .split-4-6 { grid-template-columns: 1fr; }
	.split .order-first-mobile { order: -1; }
	.sticky-col { position: static; }
}

/* Cards: what we buy ------------------------------------------------------ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.tile { background: var(--ink); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 280px; transition: background 0.3s; }
.tile:hover { background: var(--ink-2); }
.tile .icon { width: 30px; height: 30px; color: var(--white); }
.tile h3 { font-size: 24px; margin: 22px 0 0; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Criteria box ------------------------------------------------------------ */
.criteria { border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); background: var(--ink-2); }
.criteria h3 { font-size: clamp(26px, 2.6vw, 34px); }
.check-list { list-style: none; display: grid; gap: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.check-list li:first-child { border-top: 0; }
.check-list .icon { flex-shrink: 0; margin-top: 3px; color: var(--white); }
.check-list strong { color: var(--white); font-weight: 600; }

/* Steps ------------------------------------------------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 15px; color: var(--muted); margin-bottom: 30px; letter-spacing: 0.08em; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } .step::before { margin-bottom: 14px; } }

/* Reasons list ------------------------------------------------------------ */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 60px); }
.reason { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.reason .icon { width: 28px; height: 28px; }
.reason h3 { font-size: 22px; margin-bottom: 8px; }
.reason p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* Property cards ---------------------------------------------------------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.portfolio-grid.is-featured > :first-child { grid-column: span 2; grid-row: span 2; }
.portfolio-grid.is-featured > :first-child .card-media { aspect-ratio: auto; height: 100%; min-height: 420px; }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.card-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ink-3); }
.card-media img, .card-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); display: block; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.65) 100%); }
.card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; background: rgba(11,11,11,0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.card-arrow { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); transform: scale(0.85); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.35s; }
.card:hover .card-arrow { transform: none; opacity: 1; }
.card-body { padding: 18px 2px 0; }
.card-title { font-size: clamp(22px, 2vw, 28px); margin: 0 0 6px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .portfolio-grid.is-featured > :first-child { grid-column: span 2; grid-row: auto; } .portfolio-grid.is-featured > :first-child .card-media { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 620px) { .portfolio-grid { grid-template-columns: minmax(0, 1fr); } .portfolio-grid.is-featured > :first-child { grid-column: auto; } .card-arrow { opacity: 1; transform: none; width: 38px; height: 38px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.filter:hover { border-color: var(--white); }
.filter.is-active { background: var(--white); color: var(--ink); border-color: var(--white); }
.card.is-hidden { display: none; }

/* Founder ----------------------------------------------------------------- */
.founder-name { font-size: clamp(36px, 4vw, 54px); margin-bottom: 6px; }
.founder-role { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.founder-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text); }
.founder-links a:hover { color: var(--white); text-decoration: underline; }
.quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--white); margin: 0 0 28px; padding-left: 26px; border-left: 1px solid var(--line-2); }

/* Press ------------------------------------------------------------------- */
.press { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.press-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.press-text { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; margin: 0; color: var(--white); font-weight: 350; }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } }

/* FAQ --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-a { padding: 0 48px 26px 0; color: var(--muted); }
.faq-a p { margin: 0; }

/* CTA band ---------------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 12vw, 170px) 0; text-align: center; }
.cta-band .hero-media img { animation: none; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,11,11,0.72); }
.cta-band h2 { font-size: clamp(38px, 5.6vw, 76px); max-width: 900px; margin: 0 auto 22px; }
.cta-band p { color: var(--text); opacity: 0.88; max-width: 560px; margin: 0 auto 36px; font-size: 18px; }
.cta-band .btn-row { justify-content: center; }

/* Posts ------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; text-decoration: none; }
.post-card .card-media { aspect-ratio: 16 / 10; margin-bottom: 20px; }
.post-card .card-media::after { display: none; }
.post-date { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 10px; }
.post-card h3 { font-size: 24px; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.pagination { margin-top: 56px; display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: 14px; }
.pagination .current { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Prose ------------------------------------------------------------------- */
.prose { font-size: 18px; line-height: 1.75; color: rgba(243,241,236,0.86); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 2em 0 0.6em; }
.prose h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 1.8em 0 0.5em; }
.prose a { color: var(--white); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--line-2); font-family: var(--serif); font-style: italic; font-size: 1.25em; color: var(--white); }
.prose img, .prose figure { border-radius: var(--radius); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--faint); margin-top: 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose strong { color: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.article-foot { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; gap: 20px; align-items: center; }
.article-foot p { margin: 0; color: var(--muted); font-size: 15px; }

/* Property single --------------------------------------------------------- */
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts .k { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 2px; }
.facts a { word-break: break-word; }
.aside-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.aside-card .btn { width: 100%; margin-top: 24px; }
.aside-card .btn + .btn { margin-top: 10px; }
.highlights { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 32px; }
.highlights li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.highlights .icon { flex-shrink: 0; margin-top: 3px; }
@media (max-width: 620px) { .highlights { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); display: block; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6n + 4) { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a.is-extra { display: none; }
.gallery-more { margin-top: 24px; text-align: center; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .gallery a:nth-child(6n + 4) { grid-row: auto; } }

/* Lightbox ---------------------------------------------------------------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(5,5,5,0.97); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,0.9); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; object-fit: contain; border-radius: 2px; }
.lightbox button { position: absolute; background: rgba(255,255,255,0.08); border: 1px solid var(--line); color: var(--white); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background 0.2s; }
.lightbox button:hover { background: rgba(255,255,255,0.18); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 620px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; } .lb-count { bottom: 30px; } }

/* Forms ------------------------------------------------------------------- */
.form-wrap { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.is-full { grid-column: 1 / -1; }
.field > label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.req { color: var(--white); }
.field input, .field select, .field textarea {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	background: var(--ink);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	color: var(--white);
	font-size: 16px;
	transition: border-color 0.2s, background 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--white); background: #0e0e0e; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #e7a19a; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select option { background: var(--ink-2); color: var(--white); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { flex-shrink: 0; width: 20px; height: 20px; min-height: 0; margin-top: 1px; padding: 0; border: 1px solid var(--line-2); border-radius: 3px; background: var(--ink); -webkit-appearance: none; appearance: none; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--white); border-color: var(--white); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-1px) rotate(45deg); }
.check a { color: var(--white); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }
.form-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--muted); }
.form-notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); margin-bottom: 28px; border: 1px solid var(--line-2); }
.form-notice.is-ok { background: rgba(255,255,255,0.06); border-color: var(--white); }
.form-notice.is-ok strong { color: var(--white); display: block; margin-bottom: 4px; }
.form-notice.is-error { border-color: #e7a19a; }
.form-notice p { margin: 0; color: var(--muted); }
.form-notice a { color: var(--white); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* Contact ----------------------------------------------------------------- */
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list a { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); text-decoration: none; color: var(--white); }
.contact-list a:hover { text-decoration: underline; }
.brand-links { list-style: none; display: grid; gap: 0; }
.brand-links li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.brand-links li:last-child { border-bottom: 1px solid var(--line); }
.brand-links span { color: var(--muted); font-size: 14px; }
.brand-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; }
.brand-links a:hover { text-decoration: underline; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 110px); }
.footer-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.footer-cta .eyebrow { grid-column: 1 / -1; margin: 0; }
.footer-cta-title { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; margin: 0; color: var(--white); font-weight: 300; letter-spacing: -0.02em; max-width: 760px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0; }
.footer-about p { color: var(--muted); font-size: 15px; max-width: 340px; margin: 18px 0 22px; }
.footer-h { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; font-size: 15px; color: var(--text); opacity: 0.86; display: inline-flex; align-items: center; gap: 10px; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-address { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.footer-address .icon { margin-top: 4px; flex-shrink: 0; }
.socials { list-style: none; display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.socials a:hover { background: var(--white); color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 26px 0 34px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }
.footer-base p { margin: 0; display: flex; gap: 24px; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer-cta { grid-template-columns: 1fr; } .footer-cta .btn { width: 100%; } .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* 404 --------------------------------------------------------------------- */
.not-found { min-height: 80svh; display: flex; align-items: center; padding-top: var(--header-h); }
.not-found .big { font-family: var(--serif); font-size: clamp(110px, 20vw, 260px); line-height: 0.9; font-weight: 200; color: var(--white); margin: 0 0 12px; letter-spacing: -0.04em; }

/* Misc -------------------------------------------------------------------- */
.img-placeholder { display: block; width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.mt-l { margin-top: clamp(36px, 5vw, 64px); }
.center { text-align: center; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* Reveal on scroll ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Grid children never force horizontal overflow */
.split > *, .grid-4 > *, .grid-3 > *, .grid-2 > *, .post-grid > *, .reasons > *, .steps > *, .form-grid > *, .footer-grid > *, .stats > *, .gallery > * { min-width: 0; }
.cta-band .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.cta-band p.eyebrow { font-size: 12px; opacity: 1; color: var(--muted); margin: 0 auto 22px; max-width: none; }
@media (max-width: 620px) {
	.facts li { grid-template-columns: 1fr; gap: 4px; }
	.page-hero-meta { gap: 8px 20px; }
}

/* Homepage hero: text left, portfolio card right */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-grid .hero h1, .hero-grid h1 { font-size: clamp(44px, 6.2vw, 92px); }
.hero-card {
	background: rgba(11, 11, 11, 0.55);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	padding: 22px 22px 10px;
	animation: cardIn 1s 0.3s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hero-card-head .eyebrow { margin: 0; }
.hero-card-count { margin: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-card-list { list-style: none; }
.hero-card-list li + li { border-top: 1px solid var(--line); }
.hero-card-list a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; text-decoration: none; color: var(--text); }
.hc-thumb { width: 52px; height: 52px; border-radius: 3px; overflow: hidden; background: var(--ink-3); display: block; }
.hc-thumb img, .hc-thumb .img-placeholder { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform 0.6s var(--ease); }
.hc-text { display: flex; flex-direction: column; min-width: 0; }
.hc-name { font-family: var(--serif); font-size: 18px; line-height: 1.25; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-loc { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card-list .icon { opacity: 0.5; transition: opacity 0.2s, transform 0.25s var(--ease); }
.hero-card-list a:hover .icon { opacity: 1; transform: translate(2px, -2px); }
.hero-card-list a:hover .hc-thumb img { transform: scale(1.08); }
@media (max-width: 1000px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-card { display: none; }
}

/* Brand logo (gold on black) */
.brand-logo { height: 38px; width: auto; max-height: none; }
.footer-logo { width: 150px; height: auto; }
@media (max-width: 1000px) { .brand-logo { height: 32px; } }

/* ==========================================================================
   Brand gold (sampled from the TR2 logo). Used for accents only.
   ========================================================================== */
:root { --gold: #bb923a; --gold-2: #d4ae62; --gold-soft: rgba(187, 146, 58, 0.14); --gold-line: rgba(187, 146, 58, 0.45); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline-color: var(--gold); }

/* Eyebrows and italic accents in headings */
.eyebrow { color: var(--gold); }
.eyebrow::before, .eyebrow::after { background: var(--gold) !important; opacity: 1 !important; }
.section-title em, .display em, .hero h1 em, .page-hero h1 em, .footer-cta-title em, .quote { color: var(--gold-2); }
.cta-band p.eyebrow { color: var(--gold); }

/* Primary button in gold */
.btn-solid { background: var(--gold); border-color: var(--gold); color: #0b0b0b; }
.btn-solid:hover { background: transparent; border-color: var(--gold); color: var(--gold-2); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-2); }
.text-link { border-bottom-color: var(--gold-line); }
.text-link:hover { border-bottom-color: var(--gold); color: var(--gold-2); }

/* Header */
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--gold-2); }
.site-header.is-scrolled { border-bottom-color: var(--gold-line); }

/* Icons and markers */
.tile .icon, .reason .icon, .check-list .icon, .highlights .icon, .page-hero-meta .icon, .card-meta .icon, .form-note .icon, .footer-links .icon, .founder-links .icon { color: var(--gold); }
.step { border-top-color: var(--gold-line); }
.step::before { color: var(--gold); }
.stat-num { color: var(--white); }
.stats { border-top-color: var(--gold-line); }
.faq-item summary .icon { color: var(--gold); }
.faq-item[open] summary { color: var(--gold-2); }
.quote { border-left-color: var(--gold); }
.card-arrow { background: var(--gold); color: #0b0b0b; }
.card:hover .card-title { color: var(--gold-2); }
.card-title { transition: color 0.25s; }
.hero-card { border-color: var(--gold-line); }
.hero-card-list a:hover .hc-name { color: var(--gold-2); }
.hero-card-list .icon { color: var(--gold); }
.press { border-color: var(--gold-line); }
.criteria { border-color: var(--gold-line); }
.aside-card { border-color: var(--gold-line); }

/* Forms */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.req { color: var(--gold); }
.form-notice.is-ok { border-color: var(--gold); background: var(--gold-soft); }
.form-notice.is-ok .icon { color: var(--gold); }

/* Filters, pagination, links in long text */
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #0b0b0b; }
.filter:hover { border-color: var(--gold); }
.pagination .current { background: var(--gold); border-color: var(--gold); color: #0b0b0b; }
.prose a, .check a, .form-notice a { color: var(--gold-2); }
.prose li::marker { color: var(--gold); }
.prose blockquote { border-left-color: var(--gold); }
.contact-list a:hover, .brand-links a:hover { color: var(--gold-2); }

/* Footer */
.site-footer { border-top-color: var(--gold-line); }
.footer-h { color: var(--gold); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #0b0b0b; }
.footer-links a:hover { color: var(--gold-2); }

/* Lightbox */
.lightbox button:hover { background: var(--gold); color: #0b0b0b; }

/* Homepage hero: show more of the photo, no zoom */
.hero { min-height: min(84svh, 780px); }
.hero .hero-media img { animation: heroFade 1.2s ease both; object-position: center 45%; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero::after { background: linear-gradient(180deg, rgba(11,11,11,0.45) 0%, rgba(11,11,11,0.1) 35%, rgba(11,11,11,0.45) 72%, rgba(11,11,11,0.95) 100%), linear-gradient(90deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0) 60%); }
.hero { padding-top: calc(var(--header-h) + 44px); padding-bottom: clamp(32px, 4vw, 56px); }
.hero-grid h1, .hero-grid .hero h1 { font-size: clamp(42px, 4.9vw, 74px); margin-bottom: 20px; }
.hero-sub { margin-bottom: 28px; }
.hero-foot { margin-top: clamp(28px, 4vw, 48px); }
.hero-card-list a { padding: 8px 0; }
.hc-thumb { width: 46px; height: 46px; }
.hero-card-list a { grid-template-columns: 46px minmax(0, 1fr) auto; }
/* About hero: Tomas on the right, text on the left */
.page-hero .hero-media img[src*="tomas-"] { width: 58%; margin-left: auto; object-position: center 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
@media (max-width: 900px) { .page-hero .hero-media img[src*="tomas-"] { width: 100%; object-position: center 30%; -webkit-mask-image: none; mask-image: none; } }

/* Lodges / units on property pages */
.lodge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.lodge { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; }
.lodge:hover { border-color: var(--gold-line); }
.lodge-media { aspect-ratio: 4 / 3; background: var(--ink-3); overflow: hidden; }
.lodge-media img, .lodge-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lodge:hover .lodge-media img { transform: scale(1.04); }
.lodge-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lodge-body h3 { font-size: 24px; margin: 0; }
.lodge-meta { margin: 0; font-size: 13px; letter-spacing: .06em; color: var(--gold); font-variant-numeric: tabular-nums; }
.lodge-feat { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.lodge-body .text-link { margin-top: auto; align-self: flex-start; font-size: 14px; }
@media (max-width: 1000px) { .lodge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lodge-grid { grid-template-columns: minmax(0, 1fr); } }
.lodge-grid.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lodge-grid.is-four .lodge-body h3 { font-size: 21px; }
@media (max-width: 1100px) { .lodge-grid.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lodge-grid.is-four { grid-template-columns: minmax(0, 1fr); } }
/* Home closing band without a photo */
.cta-band { background: radial-gradient(ellipse at 50% 120%, rgba(187,146,58,.22), transparent 60%), var(--ink-2); border-top: 1px solid var(--gold-line); }
.cta-band::after { display: none; }
.page-hero.has-image { min-height: min(62svh, 580px); }
/* Same interior photo, framed differently per page */
.page-hero .hero-media img[src$="#contact"] { object-position: 85% 60%; transform: scale(1.25); transform-origin: 85% 60%; animation: none; }
.page-hero .hero-media img[src$="#insights"] { object-position: 8% 40%; transform: scale(1.25); transform-origin: 8% 40%; animation: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243,241,236,.32); opacity: 1; }
.field select.is-empty { color: rgba(243,241,236,.38); }
.field select option { color: var(--white); }
.gallery.is-small a:nth-child(6n + 4) { grid-row: auto; }

/* Seller pop up ----------------------------------------------------------- */
.popup { border: 1px solid var(--gold-line); border-radius: 6px; padding: 0; margin: auto; width: min(860px, calc(100vw - 32px)); max-height: calc(100svh - 32px); background: var(--ink); color: var(--text); overflow: hidden; display: none; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.popup[open] { display: grid; grid-template-columns: 0.9fr 1.1fr; animation: popIn .45s var(--ease) both; }
.popup::backdrop { background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.popup-media { position: relative; min-height: 100%; background: var(--ink-3); }
.popup-media img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; filter: brightness(.7); }
.popup-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,0) 40%, rgba(11,11,11,.85) 100%); }
.popup-mark { position: absolute; left: 28px; bottom: 26px; z-index: 1; width: 56px; height: auto; }
.popup-body { position: relative; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.popup-body h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin: 0 0 14px; }
.popup-text { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.popup-points { list-style: none; display: grid; gap: 8px; margin: 0 0 26px; font-size: 14.5px; }
.popup-points li { display: flex; gap: 10px; align-items: flex-start; }
.popup-points .icon { color: var(--gold); margin-top: 4px; }
.popup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: auto; }
.popup-later { font-size: 14px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--gold-line); }
.popup-later:hover { color: var(--gold-2); }
.popup-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.popup-close:hover { border-color: var(--gold); color: var(--gold-2); }
@media (max-width: 700px) {
	.popup[open] { grid-template-columns: 1fr; }
	.popup-media { display: none; }
	.popup-body { padding: 30px 22px 24px; }
	.popup-body h2 { padding-right: 36px; font-size: 25px; }
	.popup-actions .btn { width: 100%; }
	.popup-later { width: 100%; text-align: center; }
}

/* Cookie consent ---------------------------------------------------------- */
.cookie { position: fixed; z-index: 120; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); margin: 0 auto; max-width: 760px; display: flex; align-items: center; gap: 14px 24px; padding: 16px 18px 16px 22px; background: rgba(18,18,18,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--gold-line); border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: popIn .4s var(--ease) both; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cookie a { color: var(--gold-2); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 620px) { .cookie { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.link-btn:hover { color: var(--gold-2); text-decoration: underline; }

/* Mobile menu fix: a blurred header traps the fixed menu panel inside its own
   64px height, so on small screens the header uses a solid background instead. */
@media (max-width: 1000px) {
	.site-header.is-scrolled, body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11, 11, 11, 0.97); }
	.site-nav { height: 100vh; height: 100dvh; }
	.nav-close:focus:not(:focus-visible) { outline: none; }
}
body.nav-open .cookie { display: none; }
