@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-latin-ext-italic-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-latin-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-latin-ext-normal-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dmserifdisplay-latin-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/hankengrotesk-latin-ext-normal-400-800.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/hankengrotesk-latin-normal-400-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibmplexmono-latin-ext-normal-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibmplexmono-latin-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibmplexmono-latin-ext-normal-500.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibmplexmono-latin-normal-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/notonastaliqurdu-arabic-normal-400-700.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/notonastaliqurdu-latin-ext-normal-400-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/notonastaliqurdu-latin-normal-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --sheet: #fffefa;
  --ink: #142a37;
  --ink-2: #505d61;
  --rule: #e3e0d8;
  --accent: #80541f;
  --button: #1c414b;
  --button-hover: #285562;
  --mustard: #e1b16d;
  --mustard-ink: #241a0e;
  --field: #256149;
  --field-soft: #e1f0e7;
  --rust: #b3432d;
  --rust-soft: #f7e4df;
  --canal: #4d86c7;
  --land: #e3e8df;
  --abadi: #d9d4c7;
  --shadow: 0 2px 6px #142a3709, 0 14px 35px #142a3710;
  --band-bg: #18343e;
  --band-fg: #fcfaf5;
  --f-display: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-editorial: "DM Serif Display", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --f-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  --r: 14px;
  --wrap: 1280px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111e23; --sheet: #1a292f; --ink: #f5f0e6; --ink-2: #bcc7c8; --rule: #34474e;
  --accent: #edbf80; --button: #245361; --button-hover: #326576;
  --field: #9bd9b6; --field-soft: #233f35; --rust: #ef8a72; --rust-soft: #3c1e18;
  --canal: #6fa6e6; --land: #283a40; --abadi: #3a3b35; --shadow: 0 2px 8px #0004, 0 14px 35px #0003;
  --band-bg: #10262e;
}

* { box-sizing: border-box }
html { scroll-padding-top: 90px }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased }
img { max-width: 100% }
[hidden] { display: none !important }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.02em }
p { margin: 0 }
a { color: inherit }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 6px }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 34px) }
.mono { font-family: var(--f-mono); font-size: .82em; letter-spacing: .02em }
.ur { font-family: var(--f-urdu); line-height: 2; letter-spacing: 0 }
.eyebrow { font: 600 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2) }
.muted { color: var(--ink-2) }
.num { font-variant-numeric: tabular-nums }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* ---------- top bars */
.ribbon { background: var(--band-bg); color: var(--band-fg); font-size: .75rem; text-align: center; padding-block: calc(6px + env(safe-area-inset-top, 0px)) 6px }
.ribbon .wrap { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap }
.ribbon b { color: var(--mustard) }
header.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--sheet) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule) }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 73px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto }
.brand-mark { width: 39px; height: 39px; border-radius: 9px; background: var(--band-bg); display: grid; place-items: center; flex: none }
.brand-mark .f { fill: var(--mustard) } .brand-mark .o { fill: none; stroke: var(--band-fg); stroke-width: 1.6 }
.brand-mark svg { width: 24px; height: 24px }
.brand-name { display: grid; line-height: 1.05 }
.brand-name b { font: 800 1.13rem/1 var(--f-display); letter-spacing: -.03em }
.brand-name span { font-size: .72rem; color: var(--ink-2) }
nav.main { display: flex; align-items: center; gap: 5px; margin-inline-end: 12px }
nav.main a { text-decoration: none; padding: 8px 11px; border-radius: 6px; font-weight: 700; font-size: .94rem }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--paper); text-decoration: underline; text-underline-offset: .4em }
.tbtn { border: 1px solid var(--rule); background: var(--sheet); border-radius: 8px; height: 38px; min-width: 38px; padding-inline: 11px; cursor: pointer; font-weight: 700; font-size: .85rem }
.top .nav-sell { min-height: 38px; padding-inline: 15px; margin-inline-start: 3px; white-space: nowrap; font-size: .87rem }
.mobile-sell { display: none }
.menu-btn { display: none }
@media (max-width: 870px) {
  nav.main { display: none }
  nav.main.open { display: grid; position: absolute; inset: 100% 0 auto; margin: 0; background: var(--sheet); border-bottom: 1px solid var(--rule); padding: 10px 18px 16px; box-shadow: var(--shadow) }
  .menu-btn { display: inline-block }
}
@media (max-width: 560px) {
  .top .wrap { min-height: 64px; gap: 6px }
  .top .nav-sell { display: none }
  .mobile-sell { display: block }
  .brand { gap: 7px }
  .brand-mark { width: 34px; height: 34px }
  .brand-name b { font-size: .97rem }
  .brand-name span { font-size: .61rem }
  .tbtn { min-width: 35px; height: 35px; padding-inline: 7px }
}

/* ---------- buttons, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 0; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s }
.btn:active { transform: translateY(1px) }
.btn-primary { background: var(--button); color: #fff }
.btn-primary:hover { background: var(--button-hover) }
.btn-ink { background: var(--ink); color: var(--paper) }
.btn-ghost { background: transparent; border: 1px solid var(--rule) }
.btn-ghost:hover { background: var(--sheet) }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap }
.pill-lock { background: var(--field-soft); color: var(--field) }
.pill-sold { background: var(--rust-soft); color: var(--rust) }
.pill-offer { background: color-mix(in srgb, var(--mustard) 22%, var(--sheet)); color: var(--ink) }
.pill-demo { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em }
.pill-plain { background: var(--paper); border: 1px solid var(--rule); color: var(--ink-2) }

/* ---------- hero */
.hero { padding-block: clamp(27px, 3.5vw, 48px) clamp(26px, 3vw, 38px); background: linear-gradient(155deg, color-mix(in srgb, var(--mustard) 12%, var(--sheet)), var(--paper) 64%); border-bottom: 1px solid var(--rule) }
.hero-copy { text-align: center; margin-inline: auto; max-width: 1100px }
.hero h1 { font: 400 clamp(2.75rem, 5.9vw, 5.4rem)/1.01 var(--f-editorial); letter-spacing: -.044em; margin-top: 12px }
.hero h1 em { color: var(--accent); font-weight: inherit }
.hero .lede { margin: 14px auto 0; font-size: clamp(1rem, 1.4vw, 1.13rem); color: var(--ink-2); max-width: 42em }
.hero-location { display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--accent); letter-spacing: .1em }
.hero .search { margin: 25px auto 0; width: min(100%, 960px) }
.quick-links { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px }
.quick-links > span { margin-inline-end: 5px; font-size: .82rem; font-weight: 800 }
.quick-links a { padding: 5px 11px; text-decoration: none; border: 1px solid var(--rule); border-radius: 999px; font-size: .83rem; color: var(--ink-2); background: var(--sheet) }
.quick-links a:hover, .quick-links a:focus-visible { color: var(--ink); border-color: var(--accent) }
.icon { flex: none; vertical-align: -.16em }
.skip-link { position: fixed; top: 7px; inset-inline-start: 7px; z-index: 100; transform: translateY(-150%); background: var(--sheet); padding: 8px 14px }
.skip-link:focus { transform: none }
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.7rem); margin-top: 10px }
  .hero .lede { margin-top: 10px }
  .hero .search { margin-top: 16px }
  .quick-links > span { flex-basis: 100% }
  .quick-links { justify-content: start }
}

/* search module */
.search { background: var(--sheet); border: 1px solid var(--rule); border-radius: 15px; box-shadow: var(--shadow); padding: 15px 19px 18px }
.kinds { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 4px }
.kinds button { flex: none; border: 1px solid var(--rule); background: transparent; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; cursor: pointer }
.kinds button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper) }
.search .kinds { column-gap: 18px; padding-bottom: 0; border-bottom: 1px solid var(--rule) }
.search .kinds button { position: relative; border: 0; border-radius: 0; padding: 2px 2px 9px; color: var(--ink-2); font-weight: 700 }
.search .kinds button:hover { color: var(--accent) }
.search .kinds button[aria-pressed="true"] { background: none; color: var(--ink) }
.search .kinds button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 1px -1px; height: 3px; background: var(--mustard) }
.search-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; margin-top: 12px; align-items: end }
.search-row .btn { border-radius: 8px; white-space: nowrap }
.field-l { display: grid; gap: 5px; min-width: 0 }
.field-l label, .field-l .lab { font-size: .76rem; font-weight: 600; color: var(--ink-2) }
.inp { height: 46px; border: 1px solid var(--rule); border-radius: 8px; padding-inline: 12px; background: var(--paper); width: 100%; min-width: 0 }
textarea.inp { height: auto; padding-block: 10px; resize: vertical }
@media (max-width: 620px) {
  .search { padding: 12px }
  .search .kinds { column-gap: 12px; row-gap: 2px }
  .search .kinds button { font-size: .8rem }
  .search-row { grid-template-columns: 1fr 1fr; gap: 9px }
  .search-row .field-l:first-child, .search-row .btn { grid-column: 1 / -1 }
  .search-row .inp { font-size: .88rem }
}

/* map */
.map-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; position: relative }
.map-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 2px 4px 10px; flex-wrap: wrap }
.map-head h2 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em }
.map-svg { width: 100%; height: auto; display: block; border-radius: 14px; background: var(--land) }
.map-svg .killa { fill: var(--land); stroke: var(--rule); stroke-width: 1 }
.map-svg .khasra { font: 500 7px var(--f-mono); fill: var(--ink-2); opacity: .55 }
.map-svg .murabba { fill: none; stroke: var(--ink-2); stroke-width: 1.6; opacity: .45 }
.map-svg .abadi { fill: var(--abadi); stroke: var(--rule) }
.map-svg .street { stroke: var(--paper); stroke-width: 5 }
.map-svg .road { stroke: var(--ink); stroke-width: 7; opacity: .78; fill: none; stroke-linecap: round }
.map-svg .road-dash { stroke: var(--mustard); stroke-width: 1.2; stroke-dasharray: 6 6; fill: none }
.map-svg .canal { stroke: var(--canal); stroke-width: 6; fill: none; stroke-linecap: round; opacity: .85 }
.map-svg .lbl { font: 600 9px var(--f-body); fill: var(--ink-2); letter-spacing: .08em; text-transform: uppercase }
.map-svg .parcel { fill: var(--mustard); stroke: var(--ink); stroke-width: 1.4; cursor: pointer; transition: fill .2s, opacity .2s }
.map-svg .parcel.sold { fill: var(--rust); opacity: .55 }
.map-svg .parcel:hover, .map-svg .parcel:focus { fill: var(--field); outline: none }
.map-svg .pulse { fill: none; stroke: var(--mustard); stroke-width: 2; animation: pulse 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; pointer-events: none }
@keyframes pulse { 0% { opacity: .9; transform: scale(1) } 100% { opacity: 0; transform: scale(1.5) } }
@media (prefers-reduced-motion: reduce) { .map-svg .pulse { animation: none; opacity: 0 } * { scroll-behavior: auto !important } }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); padding: 8px 10px; border-radius: 10px; font-size: .82rem; box-shadow: var(--shadow); max-width: 220px; z-index: 3 }
.map-tip b { display: block; font: 800 1rem var(--f-display) }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 4px 2px; font-size: .78rem; color: var(--ink-2) }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-inline-end: 6px }

/* ---------- sections */
section.band { padding-block: clamp(40px, 6vw, 80px) }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px }
.sec-head h1, .sec-head h2 { font: 400 clamp(2.05rem, 3.6vw, 3.1rem)/1.06 var(--f-editorial) }
.sec-head p { color: var(--ink-2); max-width: 36em; margin-top: 8px }
.link { font-weight: 750; text-decoration: none; color: var(--accent); border-bottom: 1px solid var(--mustard); padding-bottom: 2px }
.link:hover { border-color: currentColor }

/* price lock band */
.lock-band { background: var(--band-bg); color: var(--band-fg) }
.lock-band .eyebrow, .lock-band .muted { color: color-mix(in srgb, var(--band-fg) 70%, transparent) }
.lock-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center }
.lock-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800 }
.lock-grid h2 span { color: var(--mustard) }
.lock-steps { display: grid; gap: 12px; counter-reset: s }
.lock-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: color-mix(in srgb, var(--band-fg) 7%, transparent); border: 1px solid color-mix(in srgb, var(--band-fg) 14%, transparent); border-radius: 16px; padding: 16px }
.lock-step::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 12px; background: var(--mustard); color: var(--mustard-ink); display: grid; place-items: center; font: 800 1.2rem var(--f-display) }
.lock-step b { display: block; margin-bottom: 2px }
.lock-step p { color: color-mix(in srgb, var(--band-fg) 75%, transparent); font-size: .94rem }
.lock-note { margin-top: 18px; font-size: .9rem; color: color-mix(in srgb, var(--band-fg) 72%, transparent); max-width: 34em }
@media (max-width: 860px) { .lock-grid { grid-template-columns: 1fr } }

/* ---------- listing cards */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px }
.toolbar .grow { flex: 1 }
.chips { display: flex; gap: 6px; flex-wrap: wrap }
.chip { border: 1px solid var(--rule); background: var(--sheet); border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: .86rem; cursor: pointer }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.count { font-weight: 600; color: var(--ink-2); font-size: .92rem }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 16px }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow) }
.card-media { position: relative; aspect-ratio: 1.52; background: var(--land); overflow: hidden }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .35s ease }
.card-media picture, .gal picture { display: block; width: 100%; height: 100% }
.card-media .plan { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--sheet) 94%, transparent); opacity: 0; transition: opacity .35s ease }
.card:hover .card-media .plan, .card:focus-visible .card-media .plan { opacity: 1 }
.card-tags { position: absolute; inset: 12px 12px auto; display: flex; gap: 6px; flex-wrap: wrap }
.card-photos { position: absolute; inset: auto 12px 12px auto; background: rgba(10,14,30,.72); color: #fff; font-size: .74rem; padding: 3px 9px; border-radius: 999px }
.card-body { padding: 14px; display: grid; gap: 7px; align-content: start }
.card-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap }
.card-price b { font: 800 1.45rem/1 var(--f-display); letter-spacing: -.02em }
.card-price small { font-size: .82rem; color: var(--ink-2) }
.card h3 { font: 700 1.02rem/1.3 var(--f-body); letter-spacing: 0 }
.card .where { color: var(--ink-2); font-size: .9rem }
.specs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86rem; color: var(--ink-2) }
.specs span b { color: var(--ink); font-weight: 600 }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px dashed var(--rule); padding-top: 10px; margin-top: 4px }
.empty { background: var(--sheet); border: 1px dashed var(--rule); border-radius: 18px; padding: 36px; text-align: center; color: var(--ink-2) }

/* ---------- areas */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
@media (max-width: 700px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.area { background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; text-align: start; min-width: 0 }
.area:hover { border-color: var(--accent) }
.area b { display: block; font: 750 1.03rem var(--f-display); overflow-wrap: anywhere }
.area .ur { font-size: .95rem; color: var(--ink-2); line-height: 1.8 }
.area small { color: var(--ink-2) }
.area-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: color-mix(in srgb, var(--mustard) 24%, var(--sheet)); color: var(--accent); flex: none }
.area .arrow { margin-inline-start: auto; color: var(--accent) }
section.home-listings { border-bottom: 1px solid var(--rule); padding-block: clamp(29px, 4vw, 48px) }
.home-listings + .home-listings { padding-top: 36px }
.seller-callout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; border-radius: 16px; overflow: hidden; background: var(--band-bg); color: var(--band-fg) }
.seller-callout > div { padding: clamp(23px, 5vw, 58px) }
.seller-callout h2 { font: 400 clamp(2rem, 4vw, 3.1rem)/1 var(--f-editorial) }
.seller-callout p { margin-block: 12px 20px; color: #e4ebe7 }
.seller-callout img { width: 100%; height: 100%; min-height: 230px; max-height: 340px; object-fit: cover; display: block }
.seller-callout .btn { background: var(--mustard); color: var(--mustard-ink) }
.card-placeholder { height: 100%; display: grid; place-items: center; color: var(--ink-2) }
.block iframe { display: block; width: 100%; border: 0; border-radius: 9px; }
.map-frame { height: 310px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.video-grid iframe { aspect-ratio: 16 / 9; }
.video-grid .tiktok-frame { max-width: 360px; aspect-ratio: 9 / 13; }
.cover-logo { width: 100%; height: 100%; border-radius: inherit; object-fit: contain }
body[data-color="green"] { --button: #224b37; --button-hover: #2f6048; --band-bg: #1c3d2e }
body[data-color="navy"] { --button: #283d62; --button-hover: #36537d; --band-bg: #1d2e50 }
@media (max-width: 620px) {
  .seller-callout { grid-template-columns: 1fr }
  .seller-callout img { min-height: 0; height: 180px }
  .area { gap: 7px; padding: 10px }
  .area-icon { width: 28px; height: 28px }
}

/* ---------- tools */
.tools { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start }
.tool-tabs { display: grid; gap: 6px; position: sticky; top: 90px }
.tool-tabs button { text-align: start; border: 1px solid var(--rule); background: var(--sheet); border-radius: 14px; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px }
.tool-tabs button b { font-size: .98rem }
.tool-tabs button small { color: var(--ink-2); font-size: .8rem }
.tool-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.tool-tabs button[aria-selected="true"] small { color: color-mix(in srgb, var(--paper) 70%, transparent) }
.panel { background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; padding: clamp(16px, 3vw, 28px); min-width: 0 }
.panel h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px }
.panel > p.muted { margin-bottom: 18px; max-width: 42em }
.conv-in { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 10px; max-width: 520px }
.conv-out { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px; margin-top: 16px }
.conv-out div { border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; background: var(--paper) }
.conv-out div b { display: block; font: 800 1.35rem var(--f-display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere }
.conv-out div span { color: var(--ink-2); font-size: .84rem }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .84rem; cursor: pointer }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper) }
.tool-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; font-size: .9rem; color: var(--ink-2) }
input[type="range"] { width: 100%; accent-color: var(--mustard) }
.budget-big { font: 800 clamp(2rem, 5vw, 3rem)/1 var(--f-display); font-variant-numeric: tabular-nums }
.fit { display: grid; gap: 8px; margin-top: 16px }
.fit-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .92rem }
.bar { height: 10px; border-radius: 99px; background: var(--paper); border: 1px solid var(--rule); overflow: hidden }
.bar i { display: block; height: 100%; background: var(--mustard); border-radius: 99px }
.costs { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .94rem }
.costs td { padding: 9px 6px; border-bottom: 1px solid var(--rule); vertical-align: middle }
.costs td:last-child { text-align: end; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap }
.costs input { width: 74px; height: 36px; border: 1px solid var(--rule); border-radius: 9px; padding-inline: 8px; background: var(--paper); text-align: end }
.costs tr.total td { font-weight: 800; font-size: 1.05rem; border-bottom: 0 }
.note { font-size: .84rem; color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; margin-top: 14px }
.ppm { display: grid; gap: 8px; margin-top: 14px }
.ppm-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) 92px; gap: 10px; align-items: center; font-size: .88rem; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: start; width: 100% }
.ppm-row .bar i { background: var(--ink-2) }
.ppm-row.me .bar i { background: var(--mustard) }
.ppm-row.me { font-weight: 700 }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr } .tool-tabs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)) } .fit-row { grid-template-columns: 110px minmax(0,1fr) auto } }

/* ---------- sell band */
.sell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: start }
.sell h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800 }
.ticks { display: grid; gap: 10px; margin-top: 18px; padding: 0; list-style: none }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 6px; background: var(--field-soft); border: 1.5px solid var(--field); margin-top: 2px; background-image: linear-gradient(45deg, transparent 45%, var(--field) 45% 55%, transparent 55%) }
.stepper { display: flex; gap: 6px; margin-bottom: 16px }
.stepper i { flex: 1; height: 5px; border-radius: 9px; background: var(--rule) }
.stepper i.on { background: var(--mustard) }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.form-grid .full { grid-column: 1 / -1 }
.drop { border: 2px dashed var(--rule); border-radius: 16px; padding: 22px; text-align: center; cursor: pointer; background: var(--paper) }
.drop:hover { border-color: var(--mustard) }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--field); flex: none }
.form-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; flex-wrap: wrap }
.err { color: var(--rust); font-size: .84rem }
.done { text-align: center; padding: 20px 8px }
.done .mono { background: var(--paper); border: 1px solid var(--rule); padding: 4px 10px; border-radius: 8px }
@media (max-width: 860px) { .sell { grid-template-columns: 1fr } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr } }

/* ---------- news */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px }
.post { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; text-decoration: none; display: grid; grid-template-rows: auto 1fr }
.post img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block }
.post div { padding: 16px; display: grid; gap: 8px; align-content: start }
.post h3 { font: 700 1.15rem/1.3 var(--f-display); letter-spacing: -.01em }
.article { max-width: 720px; margin-inline: auto }
.article h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800 }
.article .hero-img { width: 100%; border-radius: 18px; margin: 22px 0; aspect-ratio: 16/9; object-fit: cover }
.prose { font-size: 1.06rem; display: grid; gap: 14px }
.prose h2 { font-size: 1.45rem; font-weight: 700; margin-top: 10px }
.prose ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem }
.prose td, .prose th { border-bottom: 1px solid var(--rule); padding: 8px 6px; text-align: start }
.callout { background: var(--sheet); border-inline-start: 4px solid var(--mustard); border-radius: 10px; padding: 12px 14px; font-size: .95rem }

/* ---------- listing detail */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: .86rem; color: var(--ink-2); padding-block: 18px 10px }
.crumbs a { text-decoration: none; font-weight: 600 }
.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start }
.gal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 8px }
.gal button { border: 0; padding: 0; background: var(--land); border-radius: 16px; overflow: hidden; cursor: zoom-in; display: block; position: relative }
.gal button img { width: 100%; height: 100%; object-fit: cover; display: block }
.gal .main { aspect-ratio: 4/3; grid-row: span 2 }
.gal .side { aspect-ratio: 4/3 }
.gal .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,14,30,.55); color: #fff; font-weight: 700 }
.detail h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-top: 18px }
.tagrow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; margin-top: 18px }
.keyfacts div { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 12px }
.keyfacts span { display: block; font-size: .76rem; color: var(--ink-2); font-weight: 600 }
.keyfacts b { font: 700 1.05rem var(--f-body) }
.block { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; padding: 18px; margin-top: 16px }
.block h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em }
.dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; font-size: .95rem }
.dl dt, .dl dd { padding: 9px 0; border-bottom: 1px solid var(--rule); margin: 0 }
.dl dd { text-align: end; font-weight: 600 }
.side-col { position: sticky; top: 86px; display: grid; gap: 14px }
.price-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; padding: 20px; box-shadow: var(--shadow) }
.price-card .big { font: 800 2.4rem/1 var(--f-display); letter-spacing: -.03em }
.price-card .full { font-size: .9rem; color: var(--ink-2); margin-top: 6px }
.lockbox { margin-top: 14px; border-radius: 14px; padding: 12px 14px; background: var(--field-soft); color: var(--ink) }
.lockbox b { color: var(--field) }
.lockbox.expired { background: color-mix(in srgb, var(--mustard) 20%, var(--sheet)) }
.lockbox.expired b { color: var(--ink) }
.timeline { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 0 }
.timeline li { display: grid; grid-template-columns: 10px minmax(0, 1fr) max-content; align-items: start; column-gap: 10px; font-size: .88rem; position: relative }
.timeline li:not(:last-child) { padding-bottom: 10px }
.timeline-label { overflow-wrap: anywhere }
.timeline-value { text-align: end; white-space: nowrap }
.timeline-value small { display: block }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--field); margin-top: 6px }
.timeline li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 4px; top: 18px; bottom: 0; width: 2px; background: var(--rule) }
.wa-draft { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; font-size: .88rem; white-space: pre-wrap; margin-top: 10px }
.plan-svg text { font: 500 11px var(--f-mono); fill: var(--ink-2) }
.plan-svg .lot { fill: color-mix(in srgb, var(--mustard) 26%, var(--sheet)); stroke: var(--ink); stroke-width: 2 }
.plan-svg .rd { fill: var(--ink); opacity: .85 }
.plan-svg .rdt { fill: var(--paper) !important; font-weight: 600 }
.plan-svg .dim { stroke: var(--ink-2); stroke-width: 1; fill: none }
.plan-svg .kl { fill: color-mix(in srgb, var(--field) 20%, var(--sheet)); stroke: var(--field); stroke-width: 1 }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr } .side-col { position: static } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(6,9,20,.94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 10px) max(12px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 12px) max(12px, env(safe-area-inset-left, 0px)) }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 10px }
.lb-stage { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 8px; min-height: 0 }
.lb-stage img { max-width: 100%; max-height: 72vh; margin: auto; display: block; border-radius: 10px }
.lb button { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.3rem; cursor: pointer }
.lb button:hover { background: rgba(255,255,255,.22) }
.lb-cap { text-align: center; font-size: .82rem; opacity: .8; padding-top: 8px }

/* ---------- footer */
footer.foot { background: var(--sheet); border-top: 1px solid var(--rule); padding-block: 40px 28px; margin-top: 30px }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 24px }
.foot-grid h3 { font: 700 .8rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px }
.foot-grid a { text-decoration: none }
.foot-grid a:hover { text-decoration: underline }
.pending { display: inline-block; border: 1px dashed var(--rule); border-radius: 8px; padding: 2px 8px; font-size: .84rem; color: var(--ink-2) }
.legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr } .foot-grid > div:first-child { grid-column: 1 / -1 } }

/* sticky mobile action on detail */
.mbar { display: none }
@media (max-width: 960px) {
  .mbar { display: flex; gap: 8px; position: fixed; inset: auto 0 0; z-index: 40; background: var(--sheet); border-top: 1px solid var(--rule); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)) }
  .mbar .btn { flex: 1 }
  body.has-mbar main { padding-bottom: 80px }
}
.toast { position: fixed; inset: auto 0 calc(20px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; width: max-content; max-width: calc(100% - 32px); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; z-index: 95; font-weight: 600; box-shadow: var(--shadow) }

html[dir="rtl"] body { font-family: var(--f-urdu), var(--f-body) }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: var(--f-urdu); line-height: 1.7; letter-spacing: 0 }
html[dir="rtl"] .hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem) }

:root {
  --paper: #f8f7f2;
  --sheet: #fffefa;
  --ink: #19332e;
  --ink-2: #465e56;
  --rule: #dce3da;
  --accent: #265a48;
  --button: #174738;
  --button-hover: #245d49;
  --band-bg: #153c31;
  --mustard: #e8bb75;
  --wrap: 1280px;
  --kp-hero: #eaf0e5;
  --kp-hero-edge: #dbe7d9;
}
:root[data-theme="dark"] {
  --paper: #13221d;
  --sheet: #1d3028;
  --ink: #f2f4e9;
  --ink-2: #bacbc0;
  --rule: #395046;
  --accent: #a2d6b7;
  --button: #285c48;
  --button-hover: #317059;
  --band-bg: #102d23;
  --mustard: #e8bb75;
  --kp-hero: #1b3227;
  --kp-hero-edge: #2a483a;
}
body[data-color="green"] { --button: #174738; --button-hover: #245d49; --band-bg: #153c31 }
[data-theme="dark"] body[data-color="green"] { --button: #285c48; --button-hover: #317059; --band-bg: #102d23 }
.ribbon { font-size: .7rem; background: var(--kp-hero-edge); color: var(--ink); padding-block: 3px }
.ribbon b { color: var(--accent) }
header.top { background: var(--sheet); backdrop-filter: none }
.top .wrap { min-height: 76px; gap: 12px }
.top .brand-mark { background: var(--band-bg); border-radius: 6px; width: 41px; height: 41px; color: #fcf5df; font: 400 1.44rem/1 var(--f-editorial); letter-spacing: -.08em }
.top .brand-name b { font-family: var(--f-editorial); font-weight: 400; font-size: 1.45rem; letter-spacing: -.02em }
.top .brand-name span { font: 600 .71rem/1.5 var(--f-body); letter-spacing: .04em }
.top nav.main { gap: 1px; margin: 0 }
.top nav.main a { padding-inline: 9px }
.kp-utility { display: flex; align-items: center; gap: 3px; border-inline-start: 1px solid var(--rule); padding-inline-start: 8px; flex: none }
.kp-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 38px; padding: 0; border: 1px solid transparent; text-decoration: none; background: transparent; color: var(--ink); border-radius: 8px; cursor: pointer; position: relative }
.kp-icon-btn:hover, .kp-icon-btn:focus-visible { border-color: var(--rule); background: var(--paper) }
[data-theme="light"] [data-theme-for="dark"], [data-theme="dark"] [data-theme-for="light"] { display: none }
.kp-whatsapp { color: var(--field) }
.kp-sign-in { padding: 7px 9px; font-weight: 800; text-decoration: none; font-size: .88rem; white-space: nowrap }
.kp-sign-in:hover { text-decoration: underline }
.kp-heart-count { position: absolute; inset: 1px 1px auto auto; display: grid; place-items: center; min-width: 15px; height: 15px; border-radius: 50%; font-size: .65rem; font-weight: 700; color: #fff; background: var(--button) }
.top .nav-sell { margin: 0; min-height: 39px; padding-inline: 13px; border-radius: 7px }
.top a.mobile-sign-in { display: none }
.kp-hero.hero { padding-block: clamp(28px, 4.6vw, 64px) clamp(26px, 4vw, 49px); background: var(--kp-hero); border-block-end: 1px solid var(--rule) }
.kp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: center; gap: clamp(24px, 4vw, 62px) }
.kp-hero .hero-copy { margin: 0; text-align: start }
.kp-hero .hero-location { justify-content: start; letter-spacing: .13em }
.kp-hero h1 { font-size: clamp(2.75rem, 6.5vw, 5.55rem); max-width: 12ch; margin-block: 13px 0 }
.kp-hero h1 em { display: block; color: var(--accent); font-size: .92em; margin-block-start: .07em }
.kp-hero .lede { margin-inline: 0; max-width: 34ch; color: var(--ink-2) }
.kp-hero .hero-image { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--kp-hero-edge); aspect-ratio: 1.58; isolation: isolate }
.kp-hero .hero-image picture { display: block; height: 100% }
.kp-hero .hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55% }
.kp-hero .hero-image figcaption { position: absolute; inset-inline: 12px; inset-block-end: 12px; width: fit-content; padding: 5px 9px; border-radius: 5px; color: #fff; background: #1c352be0; font-weight: 600; font-size: .72rem }
.kp-hero .search { margin-block: clamp(18px, 3.5vw, 35px) 0; margin-inline: 0; width: 100%; border-radius: 12px; box-shadow: none }
.kp-hero .kinds { column-gap: 14px }
.kp-hero .quick-links { justify-content: start }
.kp-hero .quick-links a { border-radius: 5px }
.kp-card-shell { position: relative; min-width: 0 }
.kp-card-shell .card { height: 100% }
.kp-card-shell .kp-save { position: absolute; inset-inline-end: 10px; inset-block-start: 10px; background: var(--sheet); border: 1px solid var(--rule); box-shadow: 0 2px 9px #102d2529; border-radius: 50%; z-index: 1 }
.kp-card-shell .card-tags { inset-inline-end: 51px }
.kp-save[aria-pressed="true"] { color: var(--field) }
.kp-save[aria-pressed="true"] .icon { fill: currentColor }
.kp-detail-save { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--rule); color: var(--ink); background: var(--sheet); padding: 5px 9px; border-radius: 6px; cursor: pointer;font-weight: 700 }
.kp-verification { position: relative; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; padding: 6px 0 10px; color: var(--field); font-size: .87rem }
.kp-verification::after { content: ""; position: absolute; inset: auto 0 3px; height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--field) 64%, var(--mustard)) }
.kp-verification-check { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--field-soft) }
.kp-verification time { margin-inline-start: 4px; white-space: nowrap; color: var(--ink-2) }
.detail .kp-verification { margin-block-start: 8px; font-size: .96rem }
.kp-socials { display: flex; gap: 5px; flex-wrap: wrap; margin-block-start: 12px }
.kp-dialog { color: var(--ink); background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow); width: min(545px, calc(100% - 32px)); padding: 22px; max-height: min(75vh, 560px) }
.kp-dialog::backdrop { background: #0e261eb3 }
.kp-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-block-end: 13px }
.kp-dialog h2 { font: 400 1.75rem/1 var(--f-editorial); }
.kp-dialog-list { list-style: none; padding: 0; margin: 12px 0 0 }
.kp-dialog-list li { padding: 9px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 7px }
.kp-dialog-list a { min-width: 0; overflow-wrap: anywhere; text-decoration: none; font-weight: 700 }
.kp-dialog-list a:hover { text-decoration: underline }
#kpCatalogStatus { padding-block: 16px }
#view { min-height: calc(100svh - 72px); position: relative }
html[data-qp-js] #view[data-catalog-pending] .qp-server-fallback {
  visibility: hidden;
  animation: show-server-content 1ms step-end 6s forwards;
}
@keyframes show-server-content { to { visibility: visible } }
#view[data-catalog-pending] #kpCatalogStatus { position: absolute; inset: 0 0 auto }
.kp-state { background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; min-height: 160px; padding: 24px; }
.kp-state h3 { font-size: 1.16rem; margin: 0 0 7px }
.kp-state .btn { margin-block-start: 10px }
.kp-skeletons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px }
.kp-skeleton { min-height: 123px; border-radius: 10px; background: linear-gradient(105deg, var(--kp-hero) 30%, var(--sheet) 50%, var(--kp-hero) 70%); background-size: 200% 100%; animation: kp-loading 1.45s ease-in-out infinite }
@keyframes kp-loading { to { background-position: -200% 0 } }
@media (prefers-reduced-motion: reduce) { .kp-skeleton { animation: none } }
@media (max-width: 1000px) { .top .wrap { gap: 6px } .top nav.main a { padding-inline: 7px } .top .brand-name b { font-size: 1.2rem } }
@media (max-width: 870px) { nav.main.open { z-index: 5 } .top .nav-sell { padding-inline: 10px } }
@media (max-width: 635px) {
  .top .wrap { min-height: 64px; flex-wrap: wrap; padding-block: 8px }
  .top .brand { flex: 1 1 auto }
  .top .brand-name b { font-size: 1.12rem }
  .top .brand-name span { font-size: .64rem }
  .top .brand-mark { width: 34px; height: 34px; font-size: 1.15rem }
  .top .kp-utility { order: 3; padding: 0; border: 0; flex-basis: 100%; border-block-start: 1px solid var(--rule); padding-block-start: 5px }
  .top .kp-icon-btn { width: 39px }
  .top .nav-sell { display: none }
  .top a.mobile-sell, .top a.mobile-sign-in { display: block }
  .kp-hero-grid { grid-template-columns: 1fr; gap: 18px }
  .kp-hero h1 { max-width: 18ch; font-size: clamp(2.65rem, 9vw, 4.1rem) }
  .kp-hero .hero-image { aspect-ratio: 2.1 }
}

:is(#qp-style-priority, .qp-style-1) { font: 800 1.3rem var(--f-display) }
:is(#qp-style-priority, .qp-style-2) { margin-top:8px }
:is(#qp-style-priority, .qp-style-3) { color:var(--ink-2) }
:is(#qp-style-priority, .qp-style-4) { font-weight:600;fill:var(--ink) }
:is(#qp-style-priority, .qp-style-5) { fill:var(--canal) }
:is(#qp-style-priority, .qp-style-6) { padding-top:0 }
:is(#qp-style-priority, .qp-style-7) { padding-top:28px }
:is(#qp-style-priority, .qp-style-8) { margin-top:16px }
:is(#qp-style-priority, .qp-style-9) { margin-top:22px }
:is(#qp-style-priority, .qp-style-10) { margin-top:6px }
:is(#qp-style-priority, .qp-style-11) { font:700 .95rem var(--f-body);margin-top:16px }
:is(#qp-style-priority, .qp-style-12) { display:grid;gap:8px;margin-top:14px }
:is(#qp-style-priority, .qp-style-13) { padding-bottom:0 }
:is(#qp-style-priority, .qp-style-14) { font-size:1.15rem }
:is(#qp-style-priority, .qp-style-15) { display:grid;gap:10px;margin-top:12px }
:is(#qp-style-priority, .qp-style-16) { justify-content:space-between;margin-top:2px }
:is(#qp-style-priority, .qp-style-17) { max-width:320px }
:is(#qp-style-priority, .qp-style-18) { max-width:420px }
:is(#qp-style-priority, .qp-style-19) { margin-top:10px }
:is(#qp-style-priority, .qp-style-20) { font-size:1.05rem }
:is(#qp-style-priority, .qp-style-21) { background:var(--sheet);border-block:1px solid var(--rule) }
:is(#qp-style-priority, .qp-style-22) { font:400 clamp(2.2rem,5vw,3.8rem)/1.05 var(--f-editorial) }
:is(#qp-style-priority, .qp-style-23) { margin-top:12px;max-width:32em }
:is(#qp-style-priority, .qp-style-24) { margin-top:18px }
:is(#qp-style-priority, .qp-style-25) { font-size:1.3rem }
:is(#qp-style-priority, .qp-style-26) { margin-top:12px }
:is(#qp-style-priority, .qp-style-27) { font-size:.9rem;margin-top:4px }
:is(#qp-style-priority, .qp-style-28) { display:block;margin-top:12px }
:is(#qp-style-priority, .qp-style-29) { font-size:.86rem }
:is(#qp-style-priority, .qp-style-30) { margin-top:20px }
:is(#qp-style-priority, .qp-style-31) { max-width:720px;margin:28px auto 0 }

.bar progress { display: block; width: 100%; height: 100%; border: 0; appearance: none; background: transparent }
.bar progress::-webkit-progress-bar { background: transparent }
.bar progress::-webkit-progress-value { background: var(--mustard); border-radius: 999px }
.bar progress::-moz-progress-bar { background: var(--mustard); border-radius: 999px }

.project-preview-controls { display: none }
[data-project-preview] .project-preview-controls { display: flex }
.kp-preview-options { border: 1px solid var(--rule); border-radius: 6px; font: inherit; color: var(--ink); background: var(--sheet); padding: 4px 7px }
