/* Posh Flats — a private agent's shortlist for Delhi's garden colonies.
   Palette (operator, R78): lime-plaster ground, slate ink, sandstone for rents only (deepened to #8A6638 for AA), garden
   green for "still listed". Type: Fraunces Italic at its SOFT setting carries the voice (site name, headline, colony names);
   Schibsted Grotesk does the reading (verdicts, facts, controls) with tabular figures where numbers are compared.
   One bold element: the large, light italic headline. Everything else is quiet, roomy and round. */
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-soft-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-soft.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap }
:root {
  --ground: #EEF0EC; --ink: #1F2A33; --rent: #8A6638; --listed: #3E6B4F;
  --prose: color-mix(in srgb, var(--ink) 82%, var(--ground));
  --soft: color-mix(in srgb, var(--ink) 60%, var(--ground));
  --rule: color-mix(in srgb, var(--ink) 10%, var(--ground));
  --well: color-mix(in srgb, var(--ink) 5%, var(--ground));
  --chip: color-mix(in srgb, #fff 50%, var(--ground));
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light }
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased }
a { color: inherit }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px }
[hidden] { display: none !important }
.rent, .n, .count, .num { font-variant-numeric: tabular-nums }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px 72px }
.soft-serif, .home, .hero h1, .facts .colony { font-family: var(--serif); font-style: italic; font-variation-settings: "SOFT" 100; font-optical-sizing: auto }

/* Site name: small italic, like a name on a letterhead. */
.mast { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 24px 0 0 }
.home { font-size: 22px; font-weight: 420; letter-spacing: -.005em; text-decoration: none; line-height: 1 }

/* Hero: the one large statement. Light italic, set big and close. */
.hero { padding: 40px 0 28px; max-width: 60rem }
.hero h1 { margin: 0; font-size: 46px; line-height: 1.02; font-weight: 340; letter-spacing: -.022em; text-wrap: balance }
.lede { margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--prose); max-width: 38rem; text-wrap: pretty }
.trust { margin: 16px 0 0; font-size: 14px; color: var(--soft) }

/* Filters: colony pills are the navigation; the rent bands sit beside them as one soft segmented control. */
.tools { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 0 14px; margin: 0 -20px; padding-left: 20px; padding-right: 20px }
.cols { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; flex: 1 1 100%; min-width: 0 }
.cols::-webkit-scrollbar { display: none }
.col { flex: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--prose); background: transparent; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; white-space: nowrap }
.col:hover { background: var(--chip) }
.col[aria-pressed="true"] { background: var(--ink); color: var(--ground) }
.col .n, .seg .n { font-size: 12px; color: var(--soft); font-weight: 400; margin-left: 2px }
.col[aria-pressed="true"] .n { color: inherit; opacity: .7 }
.segs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--chip); max-width: 100%; overflow-x: auto; scrollbar-width: none }
.seg { font: inherit; font-size: 14px; background: none; border: 0; border-radius: 999px; color: var(--ink); padding: 6px 14px; cursor: pointer; white-space: nowrap }
.seg[aria-pressed="true"] { background: var(--ground); box-shadow: 0 1px 3px rgb(31 42 51 / .14) }
.seg:disabled, .seg:disabled .n { color: color-mix(in srgb, var(--ink) 28%, var(--ground)); cursor: default }

/* The list: generous, one flat per row on a phone, two on a wide screen. Verdict, then a big soft photo, then facts. */
.list { display: grid; gap: 64px; padding-top: 36px }
.flat { min-width: 0 }
.verdict { margin: 0 0 16px; font-size: 21px; line-height: 1.32; font-weight: 500; letter-spacing: -.012em; color: var(--ink); text-wrap: pretty; max-width: 36ch }
.verdict a { text-decoration: none }
.verdict a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--soft) }
.media { position: relative; aspect-ratio: 4 / 3; background: var(--well); border-radius: 24px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(31 42 51 / .05), 0 18px 40px -24px rgb(31 42 51 / .28) }
.strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain }
.strip::-webkit-scrollbar { display: none }
.photo { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block }
.photo.ph { display: flex; align-items: center; justify-content: center; color: var(--soft); font-size: 15px; text-decoration: none }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(238 240 236 / .78); backdrop-filter: blur(6px); color: var(--ink); font-size: 0; cursor: pointer; display: grid; place-items: center }
.nav::before { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0 }
.nav.prev { left: 12px } .nav.next { right: 12px }
.nav.prev::before { transform: translateX(2px) rotate(135deg) }
.nav.next::before { transform: translateX(-2px) rotate(-45deg) }
@media (hover: none) { .nav { display: none } }
.count { position: absolute; right: 14px; bottom: 14px; background: rgb(238 240 236 / .85); backdrop-filter: blur(6px); color: var(--ink); font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px }

/* Facts: the colony in soft italic leads, then BHK, rent (sandstone), size and date in the sans. */
.facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 18px 0 0; font-size: 16px; color: var(--prose) }
.facts .colony { flex-basis: 100%; font-size: 23px; font-weight: 400; color: var(--ink); line-height: 1.2; letter-spacing: -.005em }
.rent { color: var(--rent); font-weight: 650 }
.rent small { font-size: 13px; font-weight: 500; color: var(--rent); opacity: .85 }
.flags { margin: 10px 0 0; color: var(--soft); font-size: 15px; line-height: 1.6; max-width: 60ch }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; font-size: 15px }
.st { font-weight: 500; font-size: 14px }
.st.up { color: var(--listed) }
.st.up::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--listed); margin-right: 7px; vertical-align: 1px }
.st.gone { color: var(--soft) }
.flat.gone .photo { filter: grayscale(1); opacity: .7 }
.flat.gone .verdict { color: var(--soft) }
.open { font-weight: 500; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent) }
.open:hover { background: var(--ink); color: var(--ground); border-color: var(--ink) }
.share { margin-left: auto; color: var(--soft); text-underline-offset: 4px; text-decoration-thickness: 1px }
.share:hover { color: var(--ink) }
.none { grid-column: 1 / -1; padding: 48px 0; color: var(--soft) }

/* One shared flat (/f/...). */
.one { max-width: 820px; padding-top: 28px }
.one .verdict { font-size: 26px; max-width: 30ch }
.all { margin-top: 32px; font-size: 16px; font-weight: 500 }

/* Footer disclaimer: small, plain, set apart by space. */
.foot-note { margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--soft); font-size: 13px; line-height: 1.65; max-width: 46rem }
.foot-note p { margin: 0 0 10px }
.placeholder { font-style: italic }

.sharebox { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--ground); padding: 8px 8px 8px 16px; border-radius: 18px; max-width: calc(100% - 32px) }
.sharebox a, .sharebox button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ground); background: none; border: 1px solid color-mix(in srgb, var(--ground) 35%, transparent); border-radius: 999px; padding: 7px 14px; text-decoration: none; cursor: pointer; white-space: nowrap }
.sharebox .x { border: 0; padding: 7px 10px }
.sharebox :focus-visible { outline-color: var(--ground) }

@media (min-width: 900px) {
  .wrap { padding: 0 48px 96px }
  .tools { margin: 0 -48px; padding-left: 48px; padding-right: 48px }
  .cols { flex: 1 1 auto; margin: 0; padding: 0 }
  .mast { padding-top: 36px }
  .home { font-size: 26px }
  .hero { padding: 72px 0 44px }
  .hero h1 { font-size: 92px; line-height: .98; letter-spacing: -.028em }
  .lede { font-size: 21px }
  .trust { font-size: 15px }
  .list { grid-template-columns: 1fr 1fr; gap: 96px 64px; padding-top: 48px }
  .verdict { font-size: 24px }
  .facts .colony { font-size: 27px }
  .one .verdict { font-size: 32px }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important } }

/* ---- Design review pass (19 Oct): one type scale (15 / 17 / 20 / 26 / 34 / 76 on desktop), hero that leaves room for a
   flat on the first screen, lighter verdicts, brochure layout for a single flat, 44px targets, no stock card shadow. ---- */
.media { border-radius: 28px; box-shadow: none }
.verdict { font-size: 19px; font-weight: 400; line-height: 1.4; letter-spacing: -.005em; margin-bottom: 20px; color: var(--prose) }
.verdict a:hover { color: var(--ink) }
.facts { margin-top: 24px; row-gap: 6px; font-size: 15px; font-kerning: normal }
.facts .colony { font-size: 24px }
.rent, .facts .num { font-variant-numeric: proportional-nums lining-nums }   /* tabular widened the commas: "₹90 ,000" */
.rent { font-weight: 550 }
.flags { margin-top: 12px; font-size: 15px; line-height: 1.65 }
.foot { margin-top: 22px; font-size: 15px }
.st, .trust { font-size: 15px }
.col, .seg { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px }
.col { padding: 0 18px }
.seg { padding: 0 16px }
.segs { padding: 0; gap: 4px; background: none }
.seg[aria-pressed="true"] { background: var(--chip); box-shadow: none; font-weight: 500 }
.open { min-height: 44px; display: inline-flex; align-items: center; padding: 0 22px }
.share { min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px }
.nav { width: 44px; height: 44px }
.foot-note { font-size: 15px; line-height: 1.7; max-width: 38rem; margin-top: 120px; padding-top: 32px }
.foot-note p { margin-bottom: 14px }
@media (max-width: 899px) {
  .hero { padding: 28px 0 24px }
  .hero h1 { font-size: 42px; line-height: 1.04 }
}
@media (min-width: 900px) {
  .hero { padding: 48px 0 36px; max-width: none }
  .hero h1 { font-size: 76px; line-height: 1.04; max-width: 16em }
  .lede { font-size: 20px; max-width: 40rem }
  .cols { flex-wrap: wrap; overflow: visible }
  .media { aspect-ratio: 5 / 4 }
  .list { gap: 112px 72px; padding-top: 56px }
  .verdict { font-size: 20px }
  .facts .colony { font-size: 26px }
  .one .verdict { font-size: 34px }
}
/* A single flat (/f/...): photo left, the particulars beside it, like a printed brochure. DOM order unchanged. */
@media (min-width: 1000px) {
  .one { max-width: 1240px }
  .one .flat { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 56px; align-content: start }
  .one .media { grid-column: 1; grid-row: 1 / span 5; aspect-ratio: 4 / 3.2 }
  .one .verdict, .one .facts, .one .flags, .one .foot { grid-column: 2 }
  .one .verdict { font-size: 30px; line-height: 1.25 }
}

/* Operator feedback (19 Oct, evening): the site name stays in the soft italic, bigger; the H1 goes upright in the same
   Fraunces; each flat's headline and its area are plain Schibsted Grotesk, upright: they link out to the source listing,
   unvetted, so the raw form fits. Sizes as in the review pass. */
.home { font-size: 28px }
.hero h1 { font-style: normal; font-weight: 400; letter-spacing: -.024em }
.facts .colony { font-family: var(--sans); font-style: normal; font-variation-settings: normal; font-weight: 600; letter-spacing: -.01em }
@media (min-width: 900px) {
  .home { font-size: 34px }
  .facts .colony { font-size: 22px }
}
@media (max-width: 899px) { .facts .colony { font-size: 20px } }

/* Operator (19 Oct, later): the H1 goes back to Schibsted Grotesk, regular weight, full slate ink (a touch more contrast
   than the flat headings); flat headings bold. The italic stays only on the site name. */
.hero h1 { font-family: var(--sans); font-style: normal; font-variation-settings: normal; font-weight: 450; letter-spacing: -.03em; line-height: 1.02; color: var(--ink) }
.verdict { font-weight: 650; color: var(--prose); letter-spacing: -.01em; line-height: 1.34 }
.one .verdict { font-weight: 650 }
@media (min-width: 900px) { .hero h1 { font-size: 72px } }
