:root {
  --ink: #141414;
  --clay: #C46A4A;
  --clay-dark: #A9573A;
  --stone: #E9E3DA;
  --white: #FFFFFF;
  --muted: #5F5A54;
  --line: rgba(20, 20, 20, .12);
  --head: 'Questrial', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Segoe UI', sans-serif;
  --r: 4px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-gutter: stable; }
body { font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; }
.eyebrow { font: 500 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 20px; }
.eyebrow.dark { color: var(--clay); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-clay { background: var(--clay); color: var(--white); }
.btn-clay:hover { background: var(--clay-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #333; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.header-row { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .25s; }
.logo img { height: 54px; width: auto; }
.logo-dark { display: none; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { color: var(--white); text-decoration: none; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang { background: none; border: 0; padding: 8px 2px; cursor: pointer; font: inherit; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .06em; }
.lang span { transition: color .2s; }
.lang:hover span { color: var(--white); }
html[lang="sq"] .lang [data-l="sq"], html[lang="en"] .lang [data-l="en"] { color: var(--white); font-weight: 600; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; padding: 10px; }
.menu-btn span { display: block; height: 1.5px; background: var(--white); }
.site-header.is-solid { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .header-row { height: 70px; }
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }
.site-header.is-solid .nav a { color: var(--ink); }
.site-header.is-solid .lang { color: var(--muted); }
.site-header.is-solid .lang:hover span { color: var(--ink); }
html[lang="sq"] .site-header.is-solid .lang [data-l="sq"], html[lang="en"] .site-header.is-solid .lang [data-l="en"] { color: var(--ink); }
.site-header.is-solid .menu-btn span { background: var(--ink); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: #2a2622; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 70%),
  linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.6) 100%); }
.hero-content { position: relative; padding: 140px 0 72px; }
.hero h1 { max-width: 20ch; }
.hero-sub { font-size: 19px; margin-top: 18px; opacity: .92; }

/* search */
.search { margin-top: 44px; background: var(--white); color: var(--ink); border-radius: var(--r); max-width: 920px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.search-tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab { flex: 0 0 auto; padding: 16px 28px; border: 0; background: none; font: 500 15px var(--body); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.is-active { color: var(--ink); border-bottom-color: var(--clay); }
.search-fields { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; align-items: stretch; }
.search-fields label { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px; border-right: 1px solid var(--line); }
.search-fields label span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-fields select { border: 0; background: transparent; font: 500 16px var(--body); color: var(--ink); padding: 4px 0; cursor: pointer; outline-offset: 4px; }
.search-go { margin: 12px; min-height: auto; padding: 0 30px; }
.search-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* shared section type */
.sec-title { font: 400 clamp(38px, 4.8vw, 66px)/1.04 var(--head); letter-spacing: -.02em; }
.sec-lede { color: var(--muted); font-size: 17px; max-width: 34ch; }
.text-link { display: inline-block; font-weight: 500; text-decoration: none; padding-bottom: 5px; background: linear-gradient(var(--clay), var(--clay)) left bottom / 100% 1px no-repeat; transition: color .25s; }
.text-link:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* listings */
.listings { padding: 150px 0 130px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.sec-side { text-align: right; display: grid; gap: 6px; justify-items: end; }
.result-note { color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
.card[hidden] { display: none; }
.card-feature { grid-column: span 2; grid-row: span 2; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--stone); }
.card-feature .card-img { flex: 1; aspect-ratio: auto; min-height: 440px; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.card-link:hover .card-img img { transform: scale(1.05); }
.badge { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px; }
.badge-rent { background: var(--clay); color: var(--white); }
.sample { position: absolute; bottom: 14px; right: 14px; background: rgba(20,20,20,.6); color: var(--white); font-size: 11px; padding: 4px 9px; border-radius: 999px; }
.card-body { padding-top: 22px; display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: baseline; }
.card-city { grid-column: 1 / -1; font-size: 13px; color: var(--clay); margin-bottom: 8px; }
.card h3 { font: 400 22px/1.2 var(--head); }
.price { font: 400 22px/1.2 var(--head); white-space: nowrap; }
.price small { font: 400 13px var(--body); color: var(--muted); }
.card-feature h3, .card-feature .price { font-size: 32px; }
.facts { grid-column: 1 / -1; list-style: none; padding: 14px 0 0; margin-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 14px; }
.empty { margin-top: 8px; color: var(--muted); }

/* arch frames: the door from the logo */
.arch { margin: 0; position: relative; isolation: isolate; }
.arch img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 2px 2px / 40% 40% 2px 2px; }
.arch::after { content: ""; position: absolute; z-index: -1; border: 1px solid var(--clay); border-radius: 50% 50% 2px 2px / 40% 40% 2px 2px; }
.arch-services::after { inset: -22px 22px 22px -22px; }
.arch-about::after { inset: -22px -22px 22px 22px; }

/* services */
.services { background: var(--stone); padding: 150px 0; }
.services-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 110px; align-items: center; }
.services-text .sec-title { max-width: 12ch; margin-bottom: 48px; }
.service { padding: 34px 0 38px; border-top: 1px solid rgba(20,20,20,.16); }
.service h3 { font: 400 28px/1.2 var(--head); }
.service p { color: var(--muted); margin: 14px 0 24px; max-width: 46ch; }

/* process */
.process { padding: 150px 0 110px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 30px; }
.step-n { display: block; font: 400 96px/.9 var(--head); color: var(--clay); margin-bottom: 36px; }
.steps h3 { font: 400 26px/1.2 var(--head); }
.steps p { color: var(--muted); margin-top: 12px; max-width: 32ch; }

/* about */
.about { padding: 60px 0 170px; }
.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 110px; align-items: center; }
.about-text p { color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 44ch; margin-top: 24px; }
.about-text .sec-title { margin-bottom: 12px; }
.todo { font-style: italic; color: var(--clay) !important; font-size: 16px !important; }

/* contact */
.contact { background: var(--ink); color: var(--white); padding: 150px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 110px; align-items: end; }
.contact-title { font: 400 clamp(48px, 6vw, 88px)/1 var(--head); letter-spacing: -.03em; }
.contact-sub { color: rgba(255,255,255,.7); font-size: 19px; margin: 26px 0 40px; }
.btn-big { min-height: 60px; padding: 0 36px; font-size: 17px; }
.contact-list { margin: 64px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.contact-list dt { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.contact-list dd { margin: 0; font-size: 17px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--clay); }
.contact-form { display: grid; gap: 28px; }
.form-title { font: 400 24px var(--head); margin-bottom: 4px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form span { font-size: 13px; color: rgba(255,255,255,.55); }
.contact-form input, .contact-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); border-radius: 0; color: var(--white); font: 400 17px var(--body); padding: 8px 0 12px; resize: vertical; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--clay); }
.contact-form ::placeholder { color: rgba(255,255,255,.35); }
.contact-form .btn { justify-self: start; margin-top: 8px; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--clay); color: var(--white); }

/* footer */
.footer { background: var(--ink); color: var(--white); padding-bottom: 36px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,.7); font-size: 15px; }
.footer-nav a:hover { color: var(--white); }
.social { display: flex; gap: 12px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transition: border-color .2s; }
.social a:hover { border-color: var(--clay); }
.social svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 1.6; }
.social .dot { fill: var(--white); }
.footer-logo { display: block; width: 100%; height: auto; margin: 72px 0 44px; }
.footer-bottom { color: rgba(255,255,255,.45); font-size: 13px; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--clay); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 1.6; }
.wa-float .fill { fill: var(--white); stroke: none; }

/* loader — only when JS runs (html.js); html.is-loaded starts the reveal */
.loader { display: none; }
.js .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--ink); overflow: hidden; transition: opacity .8s ease, background-color .35s ease .5s; }
.is-loading body { overflow: hidden; }
.loader-inner, .loader-meta { display: flex; flex-direction: column; align-items: center; }
.loader-mark { width: clamp(110px, 13vw, 150px); height: auto; overflow: visible; }
/* The AP is "written": four pen strokes in a mask reveal the logo — A up, A down, P stem, then the swoosh finishing in the P's curve. */
.lm-pen { fill: none; stroke: #fff; stroke-width: 58; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: lm-write .3s cubic-bezier(.55, 0, .45, 1) forwards; }
.lm-pen1 { animation-delay: .15s; }
.lm-pen2 { animation-delay: .43s; }
.lm-pen3 { animation-delay: .71s; animation-duration: .24s; }
.lm-pen4 { animation-delay: .96s; animation-duration: .85s; animation-timing-function: cubic-bezier(.4, 0, .15, 1); }
/* Once written, the exact logo (with its small over/under gaps) settles in over the clean pen pieces. */
.lm-exact { opacity: 0; animation: lm-show 0s linear 1.82s forwards; }
.lm-pieces { animation: lm-fade .35s ease 1.84s forwards; }
.lm-door { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: lm-door .55s cubic-bezier(.2, .8, .2, 1) 1.7s forwards; }
.loader-name { margin-top: 30px; font: 400 13px/1 var(--head); text-transform: uppercase; letter-spacing: .38em; padding-left: .38em; color: rgba(255,255,255,.75); opacity: 0; transform: translateY(10px); animation: lm-name .8s cubic-bezier(.2, .8, .2, 1) 1.45s forwards; }
.loader-bar { margin-top: 28px; width: 132px; height: 1px; background: rgba(255,255,255,.14); overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: var(--clay); transform-origin: left; transform: scaleX(0); animation: lm-bar 2.05s cubic-bezier(.45, .05, .25, 1) .15s forwards; }
/* Exit: the camera walks into the clay door, the screen turns clay, then the clay fades into the site. */
.loader-mark { transition: transform .85s cubic-bezier(.7, 0, .25, 1); }
.lm-ink, .loader-meta { transition: opacity .3s ease; }
.loader.is-entering { background-color: var(--clay); }
.loader.is-entering .loader-mark { transform: scale(var(--zoom, 40)); }
.loader.is-entering .lm-ink, .loader.is-entering .loader-meta { opacity: 0; }
.is-loaded .loader { opacity: 0; }
@keyframes lm-write { to { stroke-dashoffset: 0; } }
@keyframes lm-show { to { opacity: 1; } }
@keyframes lm-fade { to { opacity: 0; } }
@keyframes lm-door { to { transform: scaleY(1); } }
@keyframes lm-name { to { opacity: 1; transform: none; } }
@keyframes lm-bar { to { transform: scaleX(1); } }

/* hero entrance after the loader lifts */
.js .hero-img { transform: scale(1.12); transition: transform 2.4s cubic-bezier(.2, .7, .2, 1) .2s; }
.js .hero-content > * { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .hero-content > :nth-child(1) { transition-delay: .45s; }
.js .hero-content > :nth-child(2) { transition-delay: .55s; }
.js .hero-content > :nth-child(3) { transition-delay: .68s; }
.js .hero-content > :nth-child(4) { transition-delay: .82s; }
.js .site-header { opacity: 0; transform: translateY(-14px); transition: background .25s, box-shadow .25s, opacity .9s ease .6s, transform .9s cubic-bezier(.2, .7, .2, 1) .6s; }
.js .wa-float { opacity: 0; transform: scale(.6); transition: opacity .5s ease 1.2s, transform .5s cubic-bezier(.3, 1.4, .5, 1) 1.2s; }
.is-loaded .hero-img, .is-loaded .hero-content > *, .is-loaded .site-header, .is-loaded .wa-float { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
  .js .hero-img, .js .hero-content > *, .js .site-header, .js .wa-float { opacity: 1; transform: none; transition: none; }
}

/* tablet */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 70px 0 auto; background: var(--white); flex-direction: column; gap: 0; padding: 8px 24px 24px; box-shadow: 0 12px 24px rgba(0,0,0,.1); display: none; }
  .nav.is-open { display: flex; }
  .nav a { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .menu-btn { display: flex; }
  .header-actions { margin-left: auto; }
  .grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .card-feature { grid-row: auto; }
  .card-feature .card-img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 72px; }
  .arch { max-width: 440px; }
  .about-grid .arch { order: -1; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-n { font-size: 72px; margin-bottom: 20px; }
}

/* phone */
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-row, .site-header.is-solid .header-row { height: 64px; gap: 12px; }
  .nav { inset: 64px 0 auto; }
  .logo img { height: 34px; }
  .header-actions .btn { display: none; }
  .hero-content { padding: 110px 0 32px; }
  .hero-sub { font-size: 17px; }
  .search { margin-top: 32px; }
  .tab { flex: 1; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields label { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .search-fields label:nth-child(2) { border-right: 0; }
  .search-fields label:nth-child(3) { grid-column: 1 / -1; border-right: 0; }
  .search-go { grid-column: 1 / -1; min-height: 50px; }
  .listings, .services, .process, .contact { padding: 96px 0; }
  .about { padding: 24px 0 110px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .sec-side { text-align: left; justify-items: start; }
  .grid { grid-template-columns: 1fr; gap: 48px; }
  .card-feature { grid-column: auto; }
  .card-feature h3, .card-feature .price { font-size: 24px; }
  .arch { margin-inline: 14px; }
  .arch-services::after { inset: -14px 14px 14px -14px; }
  .arch-about::after { inset: -14px -14px 14px 14px; }
  .steps { margin-top: 48px; }
  .contact-list { grid-template-columns: 1fr; margin-top: 48px; }
  .footer-logo { margin: 48px 0 32px; }
}
