/* ==========================================================================
   LYCHNIS — Private Estates, North Macedonia
   Design system & components
   ========================================================================== */

:root {
  --ink: #0c0b09;
  --ink-2: #141210;
  --ink-3: #1d1a16;
  --bone: #f1ece3;
  --bone-2: #e6dfd2;
  --stone: #cfc6b6;
  --brass: #b89665;
  --brass-2: #d6bd92;
  --muted: #8d867a;
  --muted-2: #6f695f;
  --line-d: rgba(241, 236, 227, .14);
  --line-l: rgba(12, 11, 9, .14);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.77, 0, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1680px;
  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--bone); color: var(--ink); padding: 10px 16px; transition: top .3s; }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(96px, 14vw, 200px); position: relative; }
.section--tight { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.light { background: var(--bone); color: var(--ink); }
.light .muted { color: var(--muted-2); }
.dark { background: var(--ink); color: var(--bone); }
.muted { color: var(--muted); }
.rule { height: 1px; background: currentColor; opacity: .14; border: 0; margin: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.02em;
  font-size: clamp(56px, 11vw, 196px);
}
.h1 { font-family: var(--serif); font-weight: 300; line-height: 1; letter-spacing: -.015em; font-size: clamp(48px, 7.4vw, 128px); }
.h2 { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; font-size: clamp(40px, 5.2vw, 88px); }
.h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; font-size: clamp(28px, 2.6vw, 42px); }
.h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; font-size: clamp(22px, 1.7vw, 28px); }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--brass-2); }
.light .h1 em, .light .h2 em, .light .h3 em, .light .display em { color: #9a7848; }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.65; font-weight: 300; }
.small { font-size: 13px; letter-spacing: .02em; }
.mono-num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons & links ---------- */
.btn {
  --bc: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  border: 1px solid var(--bc);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--bone);
  transform: translateY(101%);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform .7s var(--ease), border-radius .7s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--ink); border-color: var(--bone); }
.light .btn::before { background: var(--ink); }
.light .btn:hover { color: var(--bone); border-color: var(--ink); }
.btn--solid { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn--solid::before { background: var(--bone); }
.btn .arrow { width: 18px; height: 10px; transition: transform .6s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--sm { padding: 13px 22px; font-size: 11px; }

.link-u { position: relative; display: inline-block; }
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.link-u:hover::after, .link-u.is-active::after { transform: scaleX(1); transform-origin: left; }

.circle-btn {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid currentColor; display: grid; place-items: center;
  transition: background .4s, color .4s, border-color .4s;
}
.circle-btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.light .circle-btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.circle-btn svg { width: 18px; height: 18px; }

/* ---------- Grain overlay ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 900; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); } 30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); } 70% { transform: translate(9%, 4%); } 90% { transform: translate(-1%, 7%); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: transparent; color: var(--bone);
  display: grid; place-items: center; overflow: hidden;
}
.preloader__inner { text-align: center; position: relative; z-index: 2; }
.preloader__mark { width: 54px; height: 54px; margin: 0 auto 28px; color: var(--brass); opacity: 0; }
.preloader__mark path, .preloader__mark circle, .preloader__mark line { stroke-dasharray: 200; stroke-dashoffset: 200; }
.preloader__word { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 9vw, 140px); letter-spacing: .28em; padding-left: .28em; line-height: 1; display: flex; justify-content: center; overflow: hidden; }
.preloader__word span { display: inline-block; transform: translateY(110%); will-change: transform; }
.preloader__sub { margin-top: 26px; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); opacity: 0; }
.preloader__count {
  position: absolute; right: var(--gutter); bottom: calc(var(--gutter) * .8); z-index: 2;
  font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 10vw, 160px); line-height: .8; color: var(--bone); font-variant-numeric: tabular-nums;
}
.preloader__line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; z-index: 2; }
.preloader__coords { position: absolute; left: var(--gutter); bottom: calc(var(--gutter) * .8); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50%; background: var(--ink); z-index: 1; }
.preloader__panel--t { top: 0; }
.preloader__panel--b { bottom: 0; }
html.no-preload .preloader { display: none; }

/* ---------- Page transition curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 950; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain span { background: var(--ink-3); transform: scaleY(0); transform-origin: top; transition: transform .85s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.curtain span:nth-child(odd) { background: var(--ink-2); }
.curtain span:nth-child(1) { --i: 0; } .curtain span:nth-child(2) { --i: 1; } .curtain span:nth-child(3) { --i: 2; } .curtain span:nth-child(4) { --i: 3; } .curtain span:nth-child(5) { --i: 4; }
html.is-entering .curtain span { transform: scaleY(1); transition: none; }
html.is-leaving .curtain { pointer-events: all; }
html.is-leaving .curtain span { transform: scaleY(1); transform-origin: bottom; }
.curtain__mark { position: fixed; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; color: var(--brass); z-index: 951; opacity: 0; pointer-events: none; transition: opacity .3s; }
html.is-entering .curtain__mark, html.is-leaving .curtain__mark { opacity: 1; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor__ring {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background .4s, border-color .4s;
  display: grid; place-items: center;
}
.cursor__label { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; font-weight: 600; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: #fff; }
.cursor.is-label { mix-blend-mode: normal; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--bone); border-color: var(--bone); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800; height: var(--header-h);
  color: var(--bone);
  transition: transform .7s var(--ease), background .5s, height .5s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; background: rgba(12, 11, 9, .72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; transition: opacity .5s; border-bottom: 1px solid var(--line-d);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled { height: 72px; }
.header.is-hidden { transform: translateY(-100%); }
.header__in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo svg { width: 34px; height: 34px; color: var(--brass); transition: transform 1s var(--ease); }
.logo:hover svg { transform: rotate(180deg); }
.logo__word { font-family: var(--serif); font-size: 24px; letter-spacing: .34em; font-weight: 400; line-height: 1; }
.logo__sub { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .42em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; gap: clamp(20px, 2.4vw, 44px); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone { font-size: 12px; letter-spacing: .12em; color: var(--stone); }
.burger { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; position: relative; transition: border-color .4s; }
.burger:hover { border-color: var(--bone); }
.burger span { position: absolute; width: 18px; height: 1px; background: currentColor; transition: transform .6s var(--ease), opacity .3s; }
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 790; background: var(--ink-2); color: var(--bone);
  clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); visibility: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__nav { padding: calc(var(--header-h) + 6vh) var(--gutter) 6vh; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.menu__nav a { display: flex; align-items: baseline; gap: 22px; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6.4vw, 104px); line-height: 1.04; overflow: hidden; }
.menu__nav a > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease), color .4s; }
.menu__nav a small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--brass); transform: translateY(0); }
.menu-open .menu__nav a > span { transform: translateY(0); }
.menu__nav a:hover .t { font-style: italic; color: var(--brass-2); }
.menu__nav a .t { transition: color .4s; }
.menu__media { position: relative; overflow: hidden; }
.menu__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .9s var(--ease), transform 1.6s var(--ease-out); }
.menu__media img.is-on { opacity: 1; transform: scale(1); }
.menu__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-2) 0%, rgba(20, 18, 16, .2) 40%, rgba(20, 18, 16, .1) 100%); }
.menu__info { position: absolute; right: var(--gutter); bottom: 5vh; z-index: 3; display: grid; grid-template-columns: repeat(2, auto); gap: 48px; font-size: 13px; color: var(--stone); opacity: 0; transform: translateY(20px); transition: opacity .8s .5s, transform .8s .5s var(--ease-out); }
.menu-open .menu__info { opacity: 1; transform: none; }
.menu__info b { display: block; font-weight: 500; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }

/* ---------- Split text / reveals ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0ms)); }
.split.is-in .w > span { transform: none; }
html:not(.js) .split .w > span { transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.js .img-reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.3); transition: clip-path 1.5s var(--ease), transform 2.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .img-reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

.parallax { overflow: hidden; position: relative; }
.parallax > img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; color: var(--bone); background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.6s var(--ease); }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.hero__slide.is-prev { clip-path: inset(0 0 0 0); z-index: 1; transition: none; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 9s cubic-bezier(.2, .6, .3, 1); }
.hero__slide.is-active img, .hero__slide.is-prev img { transform: scale(1.02); }
.hero__veil { position: absolute; inset: 0; z-index: 3; background:
  linear-gradient(180deg, rgba(12, 11, 9, .55) 0%, rgba(12, 11, 9, .05) 24%, rgba(12, 11, 9, .18) 48%, rgba(12, 11, 9, .86) 100%),
  radial-gradient(140% 95% at 0% 100%, rgba(12, 11, 9, .62), transparent 66%); }
.hero__content { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding-bottom: clamp(28px, 5vh, 56px); }
.hero__eyebrow { color: var(--bone); text-shadow: 0 1px 18px rgba(0,0,0,.35); margin-bottom: clamp(18px, 3vh, 32px); }
.hero__title { font-size: clamp(64px, 12.4vw, 220px); }
.hero__title .row { display: block; }
.hero__title .row--indent { padding-left: clamp(0px, 9vw, 180px); }
.hero__bottom { margin-top: clamp(24px, 4.5vh, 52px); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero__lead { color: var(--stone); font-size: 15px; line-height: 1.7; }
.hero__aside { position: absolute; z-index: 4; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.hero__count { font-family: var(--serif); font-size: 22px; font-variant-numeric: tabular-nums; }
.hero__count b { font-weight: 400; color: var(--brass-2); }
.hero__bars { display: flex; flex-direction: column; gap: 10px; }
.hero__bar { width: 2px; height: 46px; background: rgba(241, 236, 227, .22); position: relative; overflow: hidden; cursor: pointer; }
.hero__bar i { position: absolute; inset: 0; background: var(--bone); transform: scaleY(0); transform-origin: top; }
.hero__bar.is-active i { animation: bar var(--dur, 7s) linear forwards; }
.hero__bar.is-done i { transform: scaleY(1); }
@keyframes bar { to { transform: scaleY(1); } }
.hero__caption { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); writing-mode: vertical-rl; transform: rotate(180deg); min-height: 180px; text-align: left; }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 0; width: 1px; height: 70px; background: rgba(241, 236, 227, .25); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--bone); animation: scrollline 2.2s var(--ease) infinite; }
@keyframes scrollline { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Search panel */
.search {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch;
  background: rgba(20, 18, 16, .42); border: 1px solid rgba(241, 236, 227, .18);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-radius: 999px; padding: 8px; max-width: 860px; justify-self: end; width: 100%;
}
.search__field { padding: 10px 26px; border-right: 1px solid rgba(241, 236, 227, .14); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.search__field:nth-child(3) { border-right: 0; }
.search__field label { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 3px; }
.search__field select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0; font-size: 15px; color: var(--bone); cursor: pointer; outline: none; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23cfc6b6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 18px; text-overflow: ellipsis; }
.search__field select option { color: var(--ink); background: var(--bone); }
.search__submit { border-radius: 999px; background: var(--bone); color: var(--ink); padding: 0 30px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; transition: background .4s; }
.search__submit:hover { background: var(--brass-2); }
.search__submit svg { width: 16px; height: 16px; }

/* ---------- Intro / statement ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(32px, 6vw, 120px); }
.intro__label { padding-top: 14px; }
.statement { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.3vw, 72px); line-height: 1.12; letter-spacing: -.01em; }
.statement em { font-style: italic; color: #9a7848; }
.statement .sw { opacity: .14; transition: opacity .3s; }
html:not(.js) .statement .sw { opacity: 1; }
.intro__foot { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: end; }
.intro__sign { font-family: var(--serif); font-style: italic; font-size: 30px; }
.intro__sign small { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.intro__img { aspect-ratio: 4 / 5; max-width: 340px; justify-self: end; width: 100%; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); }
.stat { padding: 40px 28px 0 0; border-right: 1px solid var(--line-l); padding-left: 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 6.4vw, 108px); line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 4px; }
.stat__num sup { font-size: .36em; color: #9a7848; top: 0; vertical-align: top; position: relative; }
.stat__label { margin-top: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Featured (horizontal) ---------- */
.featured { position: relative; overflow: hidden; background: var(--ink); }
.featured__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(28px, 5vh, 64px); }
.featured__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(88px, 11vh, 120px) 0 clamp(32px, 5vh, 64px); }
.featured__track { display: flex; gap: clamp(20px, 2.6vw, 48px); padding-left: var(--gutter); padding-right: var(--gutter); will-change: transform; }
.featured__progress { margin: clamp(32px, 4vw, 56px) var(--gutter) 0; height: 1px; background: var(--line-d); position: relative; }
.featured__progress i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.fcard { --h: clamp(300px, 50vh, 620px); flex: 0 0 auto; width: calc(var(--h) * .8); display: block; position: relative; }
.fcard:nth-child(3n+2) { --h: clamp(240px, 40vh, 500px); width: calc(var(--h) * 1.3); }
.fcard:nth-child(even) { margin-top: clamp(0px, 6vh, 80px); }
.fcard__media { height: var(--h); overflow: hidden; position: relative; background: var(--ink-3); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out), filter 1s; }
.fcard:hover .fcard__media img { transform: scale(1.0); }
.fcard__tag { position: absolute; top: 20px; left: 20px; z-index: 2; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 8px 14px; border-radius: 99px; background: rgba(12, 11, 9, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fcard__meta { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-top: 22px; }
.fcard__idx { font-family: var(--serif); font-size: 15px; color: var(--brass); }
.fcard__title { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 38px); font-weight: 300; line-height: 1.1; margin-top: 4px; }
.fcard__loc { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.fcard__price { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.fcard--end { width: calc(var(--h) * .75); height: var(--h); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-d); align-self: center; flex-direction: column; gap: 22px; text-align: center; padding: 40px; transition: background .6s; }
.fcard--end:hover { background: var(--ink-3); }
.fcard--end .h3 em { display: block; }

/* ---------- Regions ---------- */
.regions__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 100px); }
.region { display: grid; grid-template-columns: 80px 1.4fr 1.2fr 140px 60px; align-items: center; gap: 24px; padding: clamp(24px, 2.8vw, 40px) 0; border-top: 1px solid var(--line-l); position: relative; transition: color .5s, padding .6s var(--ease); }
.region:last-child { border-bottom: 1px solid var(--line-l); }
.region::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: 0; }
.region > * { position: relative; z-index: 1; }
.region__n { font-family: var(--serif); font-size: 16px; color: #9a7848; }
.region__name { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.6vw, 80px); line-height: 1; transition: transform .7s var(--ease); }
.region__desc { font-size: 14px; color: var(--muted-2); max-width: 340px; transition: color .5s; }
.region__count { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-align: right; }
.region__arrow { justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s; }
.region__arrow svg { width: 16px; height: 16px; }
.region__thumb { display: none; }
@media (hover: hover) {
  .region:hover { color: var(--bone); padding-left: 28px; padding-right: 28px; }
  .region:hover::before { transform: scaleY(1); }
  .region:hover .region__name { transform: translateX(14px); font-style: italic; }
  .region:hover .region__desc { color: var(--stone); }
  .region:hover .region__arrow { transform: rotate(-45deg); background: var(--brass); color: var(--ink); border-color: var(--brass); }
}
.float-img { position: fixed; left: 0; top: 0; width: 340px; height: 420px; z-index: 50; pointer-events: none; overflow: hidden; border-radius: 4px; opacity: 0; transform: scale(.7); transition: opacity .5s, transform .6s var(--ease-out); }
.float-img.is-on { opacity: 1; transform: scale(1); }
.float-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.float-img img.is-on { opacity: 1; }

/* ---------- Quote parallax ---------- */
.vista { position: relative; height: 130vh; min-height: 720px; overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--bone); }
.vista__bg { position: absolute; inset: 0; background: var(--ink-3); }
.vista__bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; }
.vista::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(12, 11, 9, .35), rgba(12, 11, 9, .7)); }
.vista__inner { position: relative; z-index: 2; max-width: 1200px; padding: 0 var(--gutter); }
.vista__q { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 104px); line-height: 1.04; letter-spacing: -.01em; }
.vista__q em { color: var(--brass-2); }
.vista__by { margin-top: 40px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--stone); }
.vista__win { position: absolute; z-index: 1; inset: 0; pointer-events: none; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 140px); }
.services__sticky { position: sticky; top: 130px; align-self: start; }
.services__img { margin-top: 48px; aspect-ratio: 4 / 3; border-radius: 2px; }
.acc { border-top: 1px solid var(--line-d); }
.acc__item { border-bottom: 1px solid var(--line-d); }
.acc__btn { width: 100%; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; text-align: left; padding: 34px 0; gap: 16px; }
.acc__n { font-family: var(--serif); color: var(--brass); font-size: 16px; }
.acc__title { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 48px); line-height: 1.05; transition: color .4s, transform .6s var(--ease); }
.acc__btn:hover .acc__title { transform: translateX(10px); }
.acc__icon { width: 40px; height: 40px; position: relative; justify-self: end; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; margin-left: -9px; background: currentColor; transition: transform .6s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item.is-open .acc__icon::after { transform: rotate(0); }
.acc__item.is-open .acc__title { color: var(--brass-2); font-style: italic; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__body { padding: 0 0 38px 86px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; color: var(--stone); font-size: 15px; }
.acc__body ul li { padding: 8px 0; border-bottom: 1px solid var(--line-d); font-size: 13px; letter-spacing: .04em; }
.acc__body ul li::before { content: "— "; color: var(--brass); }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.testi__stage { position: relative; min-height: 360px; }
.testi__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s, visibility .9s; }
.testi__item.is-on { opacity: 1; visibility: visible; position: relative; }
.testi__q { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.2vw, 52px); line-height: 1.16; }
.testi__q .w > span { transition-duration: 1.1s; }
.testi__who { margin-top: 40px; display: flex; align-items: center; gap: 18px; }
.testi__who b { display: block; font-weight: 500; font-size: 14px; letter-spacing: .06em; }
.testi__who span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.testi__nav { display: flex; gap: 12px; margin-top: 40px; align-items: center; }
.testi__counter { font-family: var(--serif); font-size: 18px; margin-left: 16px; font-variant-numeric: tabular-nums; }
.testi__mark { font-family: var(--serif); font-size: 180px; line-height: .6; color: #9a7848; height: 80px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: clamp(24px, 3vw, 40px) 0; background: var(--ink); white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 48s linear infinite; will-change: transform; }
.marquee__track span { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 7vw, 120px); line-height: 1; padding-right: .5em; display: inline-flex; align-items: center; gap: .5em; }
.marquee__track span:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--brass); }
.marquee__track span::after { content: "✦"; font-size: .26em; color: var(--brass); font-style: normal; -webkit-text-stroke: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(120px, 18vw, 260px) 0; }
.cta__bg { position: absolute; inset: 0; opacity: .32; }
.cta__bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(12, 11, 9, .2), var(--ink) 92%); }
.cta__in { position: relative; z-index: 2; }
.cta__title { font-size: clamp(56px, 10vw, 180px); }
.cta__btn { margin-top: 56px; width: 180px; height: 180px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brass); color: var(--ink); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; position: relative; transition: background .5s; }
.cta__btn:hover { background: var(--bone); }
.cta__btn span { display: block; max-width: 110px; line-height: 1.6; }
.cta__ring { position: absolute; inset: -18px; animation: spin 22s linear infinite; color: var(--brass); }
.cta__ring text { font-size: 7.6px; letter-spacing: .32em; fill: currentColor; text-transform: uppercase; font-family: var(--sans); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bone); padding-top: clamp(80px, 10vw, 140px); position: relative; overflow: hidden; border-top: 1px solid var(--line-d); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: clamp(64px, 8vw, 120px); }
.footer h4 { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); font-weight: 500; margin-bottom: 22px; }
.footer__col li { margin-bottom: 10px; font-size: 14px; color: var(--stone); }
.footer__col li a:hover { color: var(--bone); }
.footer__lead { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); font-weight: 300; line-height: 1.15; max-width: 460px; }
.news { margin-top: 32px; display: flex; border-bottom: 1px solid var(--line-d); max-width: 460px; transition: border-color .4s; }
.news:focus-within { border-color: var(--brass); }
.news input { flex: 1; background: transparent; border: 0; padding: 16px 0; outline: none; font-size: 15px; min-width: 0; }
.news input::placeholder { color: var(--muted); }
.news button { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding: 0 0 0 16px; color: var(--brass-2); }
.news__msg { font-size: 13px; color: var(--brass-2); margin-top: 12px; min-height: 20px; }
.footer__word { font-family: var(--serif); font-weight: 300; font-size: 23.4vw; line-height: .74; letter-spacing: -.02em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(184, 150, 101, .35); user-select: none; white-space: nowrap; margin: 0 -2vw -1vw; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-d); font-size: 12px; color: var(--muted); letter-spacing: .06em; position: relative; z-index: 2; background: var(--ink); }
.footer__bar nav { display: flex; gap: 26px; flex-wrap: wrap; }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.social a:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.social svg { width: 15px; height: 15px; }
.to-top { display: inline-flex; align-items: center; gap: 10px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(80px, 12vw, 180px)) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.page-hero__row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.page-hero__title { font-size: clamp(64px, 11vw, 200px); }
.page-hero--img { min-height: 92vh; display: flex; align-items: flex-end; color: var(--bone); }
.page-hero--img .page-hero__bg { position: absolute; inset: 0; }
.page-hero--img .page-hero__bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 9, .6), rgba(12, 11, 9, .3) 40%, rgba(12, 11, 9, .9)); }
.page-hero--img .wrap { position: relative; z-index: 2; }
.crumbs { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brass-2); }

/* Filters */
.filters { position: sticky; top: 72px; z-index: 40; background: rgba(241, 236, 227, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); color: var(--ink); }
.filters__in { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.filters .f { display: flex; flex-direction: column; justify-content: center; padding: 14px 22px; border-right: 1px solid var(--line-l); min-width: 140px; flex: 1; }
.filters .f:first-child { padding-left: 0; }
.filters label { font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.filters select, .filters input { background: transparent; border: 0; outline: 0; font-size: 15px; padding: 0; width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--ink); }
.filters select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230c0b09'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 18px; }
.filters input { cursor: text; }
.filters input::placeholder { color: var(--muted-2); }
.filters .f--q { flex: 1.6; }
.seg { display: inline-flex; border: 1px solid var(--line-l); border-radius: 99px; padding: 3px; }
.seg button { white-space: nowrap; padding: 6px 14px; border-radius: 99px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: background .4s, color .4s; }
.seg button.is-on { background: var(--ink); color: var(--bone); }
.filters .f--reset { flex: 0 0 auto; min-width: 0; border-right: 0; padding-right: 0; justify-content: center; }
.reset { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.reset:hover { color: var(--ink); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 0 34px; flex-wrap: wrap; }
.results-bar__count { font-family: var(--serif); font-size: 26px; }
.results-bar__count b { font-weight: 400; color: #9a7848; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 56px) clamp(20px, 2vw, 36px); }
.card { display: block; position: relative; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bone-2); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), opacity .8s; }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media img.alt { opacity: 1; }
.card__tag { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: rgba(241, 236, 227, .9); color: var(--ink); }
.card__tag--rent { background: var(--brass); }
.card__body { padding-top: 20px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 1.9vw, 30px); line-height: 1.12; }
.card__price { font-family: var(--serif); font-size: 21px; white-space: nowrap; }
.card__loc { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.card__specs { display: flex; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-l); font-size: 13px; color: var(--muted-2); flex-wrap: wrap; }
.card__specs span { display: inline-flex; align-items: center; gap: 7px; }
.card__specs svg { width: 15px; height: 15px; opacity: .7; }
.dark .card__specs { border-color: var(--line-d); color: var(--muted); }
.dark .card__loc { color: var(--muted); }
.dark .card__media { background: var(--ink-3); }
.empty { text-align: center; padding: 120px 0; grid-column: 1 / -1; }
.empty .h3 { margin-bottom: 18px; }

/* Property detail */
.p-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; color: var(--bone); }
.p-hero__bg { position: absolute; inset: 0; }
.p-hero__bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 9, .5), rgba(12, 11, 9, 0) 35%, rgba(12, 11, 9, .88)); }
.p-hero__in { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(32px, 6vh, 64px); }
.p-hero__row { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.p-hero__title { font-size: clamp(56px, 9vw, 168px); }
.p-hero__price { font-family: var(--serif); font-size: clamp(30px, 3vw, 48px); text-align: right; }
.p-hero__price small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 8px; }
.specbar { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line-l); }
.specbar > div { padding: 34px 20px 30px; border-right: 1px solid var(--line-l); }
.specbar > div:first-child { padding-left: 0; }
.specbar > div:last-child { border-right: 0; }
.specbar b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 48px); line-height: 1; }
.specbar span { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }
.p-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.p-aside { position: sticky; top: 110px; }
.p-desc p { margin-bottom: 1.3em; color: #3c3832; }
.p-desc p:first-child { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.3; color: var(--ink); font-weight: 300; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 24px; }
.features li { padding: 14px 0; border-bottom: 1px solid var(--line-l); font-size: 14px; display: flex; gap: 12px; align-items: center; }
.features li::before { content: ""; width: 6px; height: 6px; border: 1px solid #9a7848; transform: rotate(45deg); flex: 0 0 auto; }
.p-block { margin-top: clamp(72px, 8vw, 120px); }
.p-block__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery button { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bone-2); }
.gallery button:nth-child(1) { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.gallery button:nth-child(2), .gallery button:nth-child(3) { grid-column: span 2; }
.gallery button:nth-child(n+4) { grid-column: span 2; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gallery button:hover img { transform: scale(1.06); }
.gallery__more { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: rgba(12, 11, 9, .6); color: var(--bone); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 99px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.agent { border: 1px solid var(--line-l); padding: 32px; background: rgba(255, 255, 255, .35); }
.agent__top { display: flex; gap: 18px; align-items: center; margin-bottom: 26px; }
.agent__top img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.agent__top b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; }
.agent__top span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.agent__links { display: grid; gap: 6px; font-size: 14px; margin-bottom: 26px; }
.agent__links a:hover { color: #9a7848; }
.map { aspect-ratio: 16 / 8; width: 100%; border: 0; filter: grayscale(1) contrast(1.05) sepia(.18); background: var(--bone-2); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 72px); align-items: center; border: 1px solid var(--line-l); padding: clamp(28px, 4vw, 56px); }
.calc__fields { display: grid; gap: 24px; }
.range label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.range label b { font-family: var(--serif); font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 1px; background: var(--line-l); outline: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 4px solid var(--bone); box-shadow: 0 0 0 1px var(--ink); cursor: pointer; }
.range input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 4px solid var(--bone); box-shadow: 0 0 0 1px var(--ink); cursor: pointer; }
.calc__out { text-align: center; }
.calc__out b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 6vw, 96px); line-height: 1; font-variant-numeric: tabular-nums; }
.calc__out small { display: block; margin-top: 14px; font-size: 12px; color: var(--muted-2); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 980; background: rgba(12, 11, 9, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; color: var(--bone); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 88vw; max-height: 80vh; object-fit: contain; transform: scale(.96); transition: transform .8s var(--ease-out), opacity .4s; }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close { position: absolute; top: 24px; right: var(--gutter); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; margin-top: -28px; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 18px; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-l); padding: 26px 0 12px; font-size: 16px; outline: none; border-radius: 0; transition: border-color .4s; appearance: none; -webkit-appearance: none; }
.dark .field input, .dark .field textarea, .dark .field select { border-color: var(--line-d); }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 26px; font-size: 15px; color: var(--muted-2); pointer-events: none; transition: transform .4s var(--ease-out), font-size .4s, color .4s, letter-spacing .4s; transform-origin: left top; }
.dark .field label { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #9a7848; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-24px); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: #9a7848; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238d867a'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px bottom 18px; }
.dark .field select option { background: var(--ink); }
.field.is-error input, .field.is-error textarea { border-color: #b4574a; }
.field__err { font-size: 12px; color: #b4574a; margin-top: 6px; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted-2); cursor: pointer; }
.dark .check { color: var(--muted); }
.check input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid currentColor; margin: 2px 0 0; flex: 0 0 auto; position: relative; cursor: pointer; }
.check input:checked { background: #9a7848; border-color: #9a7848; }
.check input:checked::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid var(--bone); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line-l); border-radius: 99px; font-size: 12px; letter-spacing: .1em; cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.dark .chip span { border-color: var(--line-d); }
.chip input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.dark .chip input:checked + span { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.chip input:focus-visible + span { outline: 1px solid var(--brass); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; min-height: 22px; }
.form__status.ok { color: #6f8a5c; }
.form__status.err { color: #b4574a; }
.form-success { text-align: center; padding: 60px 0; }

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 140px); align-items: center; }
.story__imgs { position: relative; aspect-ratio: 5 / 6; }
.story__imgs .img-reveal:first-child { position: absolute; left: 0; top: 0; width: 72%; height: 80%; }
.story__imgs .img-reveal:last-child { position: absolute; right: 0; bottom: 0; width: 48%; height: 52%; border: 10px solid var(--bone); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.value { padding: 48px 40px 48px 0; border-right: 1px solid var(--line-d); }
.value + .value { padding-left: 40px; }
.value:last-child { border-right: 0; }
.value__n { font-family: var(--serif); color: var(--brass); font-size: 15px; }
.value h3 { margin: 40px 0 18px; }
.value p { color: var(--stone); font-size: 15px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
.member__img { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.member__img img { filter: grayscale(1) contrast(1.05); }
.js .member__img.is-in img { transition: clip-path 1.5s var(--ease), transform 1.6s var(--ease-out), filter 1s; }
.member:hover .member__img img { filter: grayscale(0); transform: scale(1.04); }
.member h3 { margin-top: 20px; }
.member p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.member__langs { font-size: 13px; color: var(--muted-2); margin-top: 8px; letter-spacing: 0 !important; text-transform: none !important; }
.timeline { border-top: 1px solid var(--line-l); }
.tl { display: grid; grid-template-columns: 200px 1fr 1.2fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.tl__y { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 80px); line-height: 1; color: #9a7848; }
.tl p { color: var(--muted-2); }
.press { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; align-items: center; }
.press span { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); font-style: italic; color: var(--muted); letter-spacing: .02em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 140px); }
.offices { display: grid; gap: 48px; }
.office__img { aspect-ratio: 16 / 10; margin-bottom: 22px; }
.office h3 { margin-bottom: 10px; }
.office p, .office a { color: var(--stone); font-size: 15px; }
.office a:hover { color: var(--brass-2); }
.office__hours { font-size: 13px !important; color: var(--muted) !important; margin-top: 8px; }
.faq .acc__btn { grid-template-columns: 1fr 40px; padding: 26px 0; }
.faq .acc__title { font-size: clamp(22px, 2vw, 30px); }
.faq .acc__body { padding-left: 0; grid-template-columns: 1fr; color: var(--muted-2); }
.faq.light .acc, .light .faq .acc, .light .acc { border-color: var(--line-l); }
.light .acc__item { border-color: var(--line-l); }
.light .acc__item.is-open .acc__title { color: #9a7848; }
.light .acc__n { color: #9a7848; }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 56px 0 16px; }
.legal p, .legal li { color: #3c3832; margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 20px; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.nf__bg { position: absolute; inset: 0; opacity: .35; }
.nf__bg img { width: 100%; height: 100%; object-fit: cover; }
.nf::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(12, 11, 9, .3), var(--ink)); }
.nf__in { position: relative; z-index: 2; padding: 0 var(--gutter); }
.nf__num { font-family: var(--serif); font-weight: 300; font-size: clamp(140px, 28vw, 420px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--brass); }

/* Section header helper */
.sh { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.sh p { max-width: 440px; justify-self: end; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .nav { display: none; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__lead { display: none; }
  .search { justify-self: start; }
  .header__phone { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .region { grid-template-columns: 56px 1.4fr 1fr 50px; }
  .region__count { display: none; }
  .specbar { grid-template-columns: repeat(3, 1fr); }
  .specbar > div:nth-child(3) { border-right: 0; }
  .specbar > div:nth-child(4) { padding-left: 0; }
  .specbar > div:nth-child(-n+3) { border-bottom: 1px solid var(--line-l); }
}
@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero__aside { display: none; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 24px; gap: 0; }
  .search__field { padding: 12px 18px; border-right: 0; border-bottom: 1px solid rgba(241, 236, 227, .14); }
  .search__field:nth-child(1) { border-right: 1px solid rgba(241, 236, 227, .14); }
  .search__field:nth-child(3) { grid-column: 1 / -1; }
  .search__submit { grid-column: 1 / -1; justify-content: center; padding: 16px; margin-top: 8px; }
  .intro__grid, .services__grid, .testi, .regions__head, .sh, .story, .contact, .p-layout, .page-hero__row, .calc { grid-template-columns: 1fr; }
  .sh p, .regions__head p { justify-self: start; }
  .intro__foot { grid-template-columns: 1fr 1fr; }
  .intro__img { grid-column: 1 / -1; justify-self: start; max-width: 100%; aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 20px 32px 20px; border-bottom: 1px solid var(--line-l); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .services__sticky { position: static; }
  .services__img { display: none; }
  .acc__body { padding-left: 0; grid-template-columns: 1fr; }
  .acc__btn { grid-template-columns: 50px 1fr 40px; }
  .featured__pin { min-height: 0; }
  .featured__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .featured__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 8px; }
  .featured__track::-webkit-scrollbar { display: none; }
  .fcard, .fcard:nth-child(3n+2) { scroll-snap-align: start; width: 78vw; max-width: 420px; }
  .fcard:nth-child(even) { margin-top: 0; }
  .fcard__media, .fcard:nth-child(3n+2) .fcard__media { height: auto; aspect-ratio: 4 / 5; }
  .fcard--end, .fcard--end:nth-child(3n+2) { height: auto; aspect-ratio: 4 / 5; }
  .featured__progress { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .menu { grid-template-columns: 1fr; }
  .menu__media { position: absolute; inset: 0; opacity: .25; }
  .menu__info { left: var(--gutter); right: auto; grid-template-columns: 1fr 1fr; gap: 24px; }
  .values, .team { grid-template-columns: 1fr 1fr; }
  .value { padding: 40px 24px 40px 0 !important; border-bottom: 1px solid var(--line-d); }
  .value:nth-child(2) { border-right: 0; padding-left: 24px !important; }
  .tl { grid-template-columns: 1fr; gap: 12px; }
  .p-aside { position: static; }
  .vista { height: 100vh; }
  .testi__stage { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .logo__word { font-size: 20px; }
  .logo__sub { display: none; }
  .header .btn { display: none; }
  .hero__title .row--indent { padding-left: 0; }
  .hero__lead { display: none; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 20px; padding: 6px; }
  .search__field { padding: 10px 14px; }
  .search__field select { font-size: 14px; }
  .search__field:nth-child(3) { grid-column: auto; border-bottom: 0; border-right: 1px solid rgba(241, 236, 227, .14); }
  .search__submit { grid-column: auto; margin: 6px 0 0 6px; padding: 12px; border-radius: 14px; }
  .grid { grid-template-columns: 1fr; }
  .region { grid-template-columns: 1fr 46px; gap: 14px; }
  .region__n, .region__desc { display: none; }
  .region__thumb { display: block; grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 9; overflow: hidden; }
  .region__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .intro__foot { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .stat:nth-child(even) { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery button:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery button:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 11; }
  .specbar { grid-template-columns: repeat(2, 1fr); }
  .specbar > div { padding: 24px 12px !important; border-bottom: 1px solid var(--line-l); }
  .specbar > div:nth-child(odd) { padding-left: 0 !important; border-right: 1px solid var(--line-l); }
  .specbar > div:nth-child(even) { border-right: 0; }
  .values, .team { grid-template-columns: 1fr; }
  .value { border-right: 0 !important; padding-left: 0 !important; }
  .filters { position: relative; top: 0; }
  .filters .f { min-width: 50%; padding: 12px 0 !important; border-right: 0; border-bottom: 1px solid var(--line-l); }
  .filters .f--q { min-width: 100%; }
  .cta__btn { width: 150px; height: 150px; }
  .menu__info { grid-template-columns: 1fr; gap: 16px; bottom: 3vh; }
  .menu__nav { justify-content: flex-start; padding-top: calc(var(--header-h) + 4vh); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; margin: 0; }
  .p-hero__price { text-align: left; }
  .testi__mark { font-size: 120px; height: 56px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
  .js .img-reveal img { transform: none !important; clip-path: none !important; }
  .statement .sw { opacity: 1 !important; }
  .grain { display: none; }
}

/* Late additions */
.filters { transition: top .7s var(--ease); }
body:has(.header.is-hidden) .filters { top: 0; }
.sortsel { display: flex; align-items: center; gap: 12px; }
.sortsel label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); }
.sortsel select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--line-l); padding: 6px 22px 6px 0; font-size: 15px; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230c0b09'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; }
.band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.band__img { aspect-ratio: 16 / 11; }
@media (max-width: 960px) { .band { grid-template-columns: 1fr; } }
