/* The Blackkey front door (/): its own small stylesheet. Black & Silver.
   Silver ground, white panels, black for actions; the Agent side is an Apple-style product page.
   homes-kit.css (shared with /homes) styles the search bar, the dropdowns and the listing cards. */

/* ---------- type ---------- */
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; 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: 'Manrope'; src: url('/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Sans Georgian'; src: url('/fonts/noto-sans-georgian-georgian-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }

/* ---------- tokens: Graphite night (dark) by default, Black & Silver (light) on request ---------- */
:root {
  color-scheme: dark;
  --site-mh: #26b571; --site-ss: #2c61f2; --site-kr: #ff9501;
  --ground: #0b0b0c; --panel: #141416; --panel-2: #1b1b1e; --raised: #232327;
  --line: #26262a; --line-2: #37373c; --field: #0f0f11; --field-focus: #121214; --scrim: rgba(4, 6, 10, .62);
  --ink: #f2f3f5; --ink-2: #b4b7bd; --ink-3: #868a91;
  --gold: #f2f3f5; --gold-hi: #ffffff; --gold-text: #f2f3f5; --gold-ink: #0b0b0c; --brass: #c3c6cc;
  --accent: #f2f3f5; --accent-hi: #ffffff; --accent-ink: #0b0b0c; --accent-text: #f2f3f5; --accent-ring: rgba(242, 243, 245, .26);
  --teal: #2bb39c; --teal-text: #5fd3bf; --terra: #e0623f; --terra-text: #f29a80;
  --shadow-pop: 0 12px 18px -8px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35);
  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1); --t-fast: 160ms; --t: 320ms; --t-slow: 700ms;
  --font: 'Manrope', 'Noto Sans Georgian', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav: 64px;
}
:root[data-theme='light'] {
  color-scheme: light;
  --ground: #eceef1; --panel: #ffffff; --panel-2: #f5f6f8; --raised: #eceef1;
  --line: #dfe2e6; --line-2: #c9cdd3; --field: #ffffff; --field-focus: #ffffff; --scrim: rgba(10, 10, 12, .45);
  --ink: #0b0b0c; --ink-2: #43474d; --ink-3: #646970;
  --gold: #0b0b0c; --gold-hi: #2b2d31; --gold-text: #0b0b0c; --gold-ink: #ffffff; --brass: #0b0b0c;
  --accent: #0b0b0c; --accent-hi: #000000; --accent-ink: #ffffff; --accent-text: #0b0b0c; --accent-ring: rgba(11, 11, 12, .2);
  --teal-text: #0b6a5d; --terra-text: #a3361a;
  --shadow-pop: 0 12px 24px -10px rgba(20, 22, 26, .22), 0 2px 6px rgba(20, 22, 26, .08);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(120, 126, 136, .18); }
a, button, input, label, summary { touch-action: manipulation; }
/* notched phones: everything full-bleed keeps clear of the notch */
:root { --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 700; text-decoration: none; transition: top var(--t-fast) var(--ease); }
.skip:focus { top: 10px; }
.fp-page:focus { outline: none; }
[id] { scroll-margin-top: calc(var(--nav) + 12px); }
body { margin: 0; min-height: 100vh; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:root[data-theme='light'] body { background: linear-gradient(180deg, #f4f5f7 0, var(--ground) 520px) no-repeat, var(--ground); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
html:lang(ka) h1, html:lang(ka) h2, html:lang(ka) h3 { letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
button, select, input { font: inherit; color: inherit; }
img { max-width: 100%; }
.tnum { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
::selection { background: rgba(120, 126, 136, .3); color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the key: fifteen tiles, four left out */
.mark { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1.5px; width: 26px; height: 15px; flex: none; }
.mark i { border-radius: 1.5px; background: var(--brass); }
.mark i:nth-child(4), .mark i:nth-child(5), .mark i:nth-child(7), .mark i:nth-child(14) { visibility: hidden; }
.mark i:nth-child(1) { border-top-left-radius: 70%; }
.mark i:nth-child(3) { border-top-right-radius: 70%; }
.mark i:nth-child(11) { border-bottom-left-radius: 70%; }
.mark i:nth-child(13) { border-bottom-right-radius: 70%; }
.mark i:nth-child(9), .mark i:nth-child(10) { background: color-mix(in srgb, var(--brass) 55%, var(--ground)); }
.mark i:nth-child(15) { background: color-mix(in srgb, var(--brass) 75%, var(--ground)); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.fp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.fp-btn:hover { opacity: .86; }
.fp-btn:active { transform: scale(.98); }
.fp-btn .icon { width: 17px; height: 17px; }
.fp-btn-light { background: #ffffff; color: #0b0b0c; }

/* ---------- the bar ---------- */
.fp-top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.fp-nav { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--nav); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding-inline: max(calc(16px + var(--sl)), calc((100% - 1280px) / 2)) max(calc(16px + var(--sr)), calc((100% - 1280px) / 2)); padding-top: env(safe-area-inset-top, 0px); height: calc(var(--nav) + env(safe-area-inset-top, 0px)); background: var(--panel); border-bottom: 1px solid transparent; transition: border-color var(--t) ease, background var(--t) ease; }
.fp-nav.solid { border-bottom-color: var(--line); }
.fp-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; justify-self: start; }
.fp-brand em { font-style: normal; color: var(--ink-3); }
.fp-brand .mark { width: 28px; height: 16px; }
.fp-switch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.fp-switch-pill { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 999px; background: var(--ink); transition: transform 420ms var(--ease); }
.side-agent .fp-switch-pill { transform: translateX(100%); }
.fp-switch a { position: relative; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: color var(--t) var(--ease); }
.fp-switch a .icon { width: 16px; height: 16px; }
.fp-switch a.on { color: var(--ground); }
.fp-switch a:not(.on):hover { color: var(--ink); }
.fp-nav-r { grid-column: 2; justify-self: end; display: flex; align-items: center; gap: 8px; min-width: 0; }
.fp-post { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 700; font-size: 13.5px; }
.fp-post .icon { width: 16px; height: 16px; }
.fp-post:hover { opacity: .86; }
.side-agent .fp-lang { color: #f5f5f7; border-color: rgba(255, 255, 255, .18); }
.side-agent .fp-lang .icon { color: #a1a4aa; }
.side-agent .fp-lang:hover { background: rgba(255, 255, 255, .1); }
.fp-nav .hs-me { border-color: var(--line-2); }
.side-agent .fp-nav a.hs-me:hover { background: rgba(255, 255, 255, .1); }

/* on the Agent side the bar is black, like the hero under it */
.side-agent .fp-nav { background: rgba(5, 5, 6, .88); color: #f5f5f7; border-bottom-color: rgba(255, 255, 255, .08); }
.side-agent .fp-brand em { color: #8e9198; }
.side-agent .fp-nav .mark i { background: #d6d8dc; }
.side-agent .fp-nav .mark i:nth-child(9), .side-agent .fp-nav .mark i:nth-child(10) { background: #8e9198; }
.side-agent .fp-nav .mark i:nth-child(15) { background: #a8abb1; }
.side-agent .fp-switch { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); }
.side-agent .fp-switch-pill { background: #f5f5f7; }
.side-agent .fp-switch a { color: #a1a4aa; }
.side-agent .fp-switch a.on { color: #0b0b0c; }
.side-agent .fp-switch a:not(.on):hover { color: #fff; }
/* posting a listing is a Homes action: the Agent side's bar leaves it out */
.side-agent .fp-post { display: none; }
.side-agent .fp-nav .hs-me { color: #f5f5f7; border-color: rgba(255, 255, 255, .18); }
.side-agent .fp-nav .hs-me .icon { color: #a1a4aa; }
.side-agent .fp-nav .hs-guest-ic { background: rgba(255, 255, 255, .1); box-shadow: none; }
.side-agent .fp-nav .hs-me .hs-guest-ic .icon { color: #f5f5f7; }
.side-agent .fp-nav .hs-me[aria-expanded='true'] { background: rgba(255, 255, 255, .1); }
.side-agent .fp-nav .hs-ava { background: #f5f5f7; color: #0b0b0c; }

.fp-page { min-height: 100vh; overflow-x: clip; }

/* ---------- reveals: visible by default; only when JS arms them do they start lowered ---------- */
.rv-on { opacity: 0; transform: translateY(16px); transition: opacity 800ms cubic-bezier(.32, .72, 0, 1), transform 800ms cubic-bezier(.32, .72, 0, 1); }
.ag-rep .rv-on:nth-child(2), .ag-grid .rv-on:nth-child(2n) { transition-delay: 90ms; }
.ag-rep .rv-on:nth-child(3), .ag-grid .rv-on:nth-child(3n) { transition-delay: 180ms; }
.rv-on.in { opacity: 1; transform: none; }

/* =====================================================================
   Blackkey Homes: search first, listings under it, then the ways in
   ===================================================================== */
.bh { padding-top: var(--nav); }
.bh-wrap { max-width: 1312px; margin: 0 auto; padding: 24px calc(16px + var(--sr)) 0 calc(16px + var(--sl)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.bh-wrap > * { min-width: 0; }

.bh-hero { position: relative; isolation: isolate; border-radius: 28px; background: #0b0b0c; padding: clamp(56px, 8vw, 120px) clamp(16px, 3.4vw, 48px) clamp(28px, 4vw, 52px); }
/* the photograph, with a veil that darkens toward the headline and the search so white type always reads */
.bh-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; border-radius: inherit; }
.bh-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .28) 38%, rgba(0, 0, 0, .5) 72%, rgba(0, 0, 0, .7) 100%); }
.bh-hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.bh-hero h1 { position: relative; text-align: center; color: #f5f5f7; font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: clamp(20px, 2.6vw, 32px); }
html:lang(ka) .bh-hero h1 { letter-spacing: 0; line-height: 1.16; font-size: clamp(26px, 3.4vw, 44px); }
.bh-search { position: relative; }

/* stories: the newest homes as round thumbnails */
.bh-stories { margin-top: -14px; }
.bh-st-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.bh-st-row::-webkit-scrollbar { display: none; }
.bh-st { flex: none; width: 96px; display: grid; justify-items: center; gap: 2px; text-align: center; color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.bh-st-ring { width: 84px; height: 84px; margin-bottom: 6px; border-radius: 50%; padding: 3px; background: var(--line-2); display: grid; place-items: center; overflow: hidden; transition: transform var(--t) var(--ease); }
.bh-st-ring img, .bh-st-ring .mark { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ground); background: var(--panel-2); }
.bh-st-ring .mark { padding: 24px 18px; }
.bh-st.is-vip .bh-st-ring { background: conic-gradient(from 200deg, #6b6f76, #0b0b0c, #c9cdd3, #0b0b0c, #6b6f76); }
.bh-st:hover .bh-st-ring { transform: scale(1.05); }
.bh-st b { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.bh-st small { max-width: 100%; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-st-add .bh-st-ring { background: none; border: 2px dashed var(--line-2); color: var(--ink); }
.bh-st-add .bh-st-ring .icon { width: 26px; height: 26px; }
.bh-st-add b { font-size: 12.5px; font-weight: 750; white-space: normal; line-height: 1.25; }
.bh-st-skel .bh-st-ring { background: var(--panel-2); }
.bh-st-skel b, .bh-st-skel small { width: 60px; height: 10px; border-radius: 4px; background: var(--panel-2); }
.bh-st-skel small { width: 44px; }
.bh-st-empty { align-self: center; display: grid; gap: 4px; padding: 0 8px; max-width: 46ch; }
.bh-st-empty b { font-size: 16px; }
.bh-st-empty span { color: var(--ink-2); font-size: 14.5px; }

/* sections: a plain bold heading and "See all" */
.bh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.bh-head h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; }
.bh-head h2 i { font-style: normal; font-weight: 600; color: var(--ink-3); font-size: .7em; margin-left: 4px; }
.bh-head a { flex: none; display: inline-flex; align-items: center; gap: 2px; color: var(--ink-2); font-weight: 650; font-size: 14px; text-decoration: none; }
.bh-head a .icon { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.bh-head a:hover { color: var(--ink); }
.bh-head a:hover .icon { transform: translateX(2px); }
.bh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bh-skel { aspect-ratio: 4 / 4.4; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }

/* popular: photo cards with the price over the picture */
.bh-pop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bh-pc { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #111; color: #fff; text-decoration: none; }
.bh-pc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.bh-pc:hover img { transform: scale(1.04); }
.bh-pc-in { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.bh-pc-in b { font-size: 17px; font-weight: 800; }
.bh-pc-in span { font-size: 13px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #e6e7ea; }

/* find it easily: five photographs, each a way into Homes */
.bh-ps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bh-ps-i { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 84px; padding: 14px 16px 14px 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.bh-ps-i:hover { border-color: var(--line-2); }
.bh-ps-i:active { transform: scale(.99); }
.bh-ps-i > img, .bh-ps-ic { width: 56px; height: 56px; border-radius: 12px; flex: none; }
.bh-ps-i > img { object-fit: cover; }
.bh-ps-ic { display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); }
.bh-ps-ic .icon { width: 22px; height: 22px; }
.bh-ps-t { display: grid; gap: 3px; min-width: 0; }
.bh-ps-t b { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.bh-ps-t small { color: var(--ink-3); font-size: 13px; }
.bh-ps-i > .icon { width: 16px; height: 16px; color: var(--ink-3); transition: transform var(--t-fast) var(--ease); }
.bh-ps-i:hover > .icon { transform: translateX(3px); color: var(--ink); }

/* the post banner: black, one action */
.bh-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, 3.6vw, 44px) clamp(22px, 3.6vw, 48px); border-radius: 28px; background: #0b0b0c; color: #f5f5f7; }
.bh-banner h2 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.025em; }
.bh-banner p { margin-top: 6px; color: #a1a4aa; font-size: 15.5px; max-width: 52ch; }
.bh-banner .fp-btn { flex: none; }

/* services: quiet rows */
.bh-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.bh-svc-i { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 60px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 650; font-size: 15px; }
.bh-svc-i:hover > .icon:last-child { transform: translateX(3px); color: var(--ink); }
.bh-svc-i > .icon:last-child { transition: transform var(--t-fast) var(--ease), color var(--t-fast); }
.bh-svc-i > .icon:first-child { width: 20px; height: 20px; }
.bh-svc-i > .icon:last-child { width: 16px; height: 16px; color: var(--ink-3); }

/* link columns */
.bh-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 34px 0 48px; border-top: 1px solid var(--line); }
.bh-links h3 { margin-bottom: 14px; font-size: 14.5px; }
.bh-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bh-links a { color: var(--ink-2); font-size: 13.5px; text-decoration: none; }
.bh-links a:hover { color: var(--ink); text-decoration: underline; }
.bh-col > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; pointer-events: none; }
.bh-col > summary::-webkit-details-marker { display: none; }
.bh-col > summary .icon { display: none; width: 18px; height: 18px; color: var(--ink-3); transition: transform var(--t-fast) var(--ease); }

/* =====================================================================
   Blackkey Agent: an Apple-style product page.
   Bands alternate black and silver; real screenshots and real photographs carry the product.
   ===================================================================== */
.ag { --band: clamp(88px, 11vw, 150px); --black: #050506; --ease-out: cubic-bezier(.32, .72, 0, 1); }
.ag h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
html:lang(ka) .ag h2 { font-size: clamp(27px, 3.6vw, 46px); line-height: 1.2; letter-spacing: 0; }
.ag-copy p { margin-top: 18px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.ag-center { text-align: center; margin-inline: auto; }
.ag-center p { margin-inline: auto; }
h2.ag-center { max-width: 20ch; }
.ag-band { padding: var(--band) calc(16px + var(--sr)) calc(var(--band) * 1.12) calc(16px + var(--sl)); }
.ag-link { display: inline-flex; align-items: center; gap: 2px; color: inherit; font-weight: 650; font-size: 16px; text-decoration: none; }
.ag-link .icon { width: 17px; height: 17px; transition: transform 300ms var(--ease-out); }
.ag-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ag-link:hover .icon { transform: translateX(3px); }

/* the primary action: a pill with its arrow in its own circle */
.ag-cta { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 6px 0 24px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 650; font-size: 16px; text-decoration: none; transition: transform 300ms var(--ease-out), opacity 200ms; }
.ag-cta i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--ground) 14%, transparent); transition: transform 300ms var(--ease-out); }
.ag-cta .icon { width: 18px; height: 18px; }
.ag-cta:hover i { transform: translateX(3px); }
.ag-cta:active { transform: scale(.97); }

/* the frame every product image sits in: a thin tray around the picture */
.bezel { padding: 8px; border-radius: 30px; background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent); }
.bezel-in { overflow: hidden; border-radius: 22px; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12); }
.bezel-in img { display: block; width: 100%; height: auto; }

/* hero: black, centred, the real listings page right under the actions */
.ag-hero { background: var(--black); color: #f5f5f7; padding: calc(var(--nav) + clamp(40px, 6vw, 88px)) calc(16px + var(--sr)) clamp(64px, 8vw, 110px) calc(16px + var(--sl)); text-align: center; overflow: hidden; }
.ag-hero-in { max-width: 980px; margin: 0 auto; }
.ag-hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: .98; letter-spacing: -.045em; }
.ag-tag { margin-top: 14px; font-size: clamp(22px, 3vw, 38px); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
html:lang(ka) .ag-tag { font-size: clamp(19px, 2.4vw, 30px); line-height: 1.35; letter-spacing: 0; }
.ag-lede { margin: 22px auto 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: #a1a4aa; }
.ag-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.ag-hero .ag-cta { background: #f5f5f7; color: #0b0b0c; }
.ag-hero .ag-cta i { background: rgba(11, 11, 12, .08); }
.ag-hero .ag-link { color: #f5f5f7; }
.ag-shot { max-width: 1120px; margin: clamp(44px, 6vw, 80px) auto 0; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); animation: ag-up 1s var(--ease-out) .15s both; }
@keyframes ag-up { from { opacity: 0; transform: translateY(40px); } }

/* import: the words on the left, a photograph on the right */
.ag-import { background: var(--panel); }
.ag-import-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ag-facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.ag-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.ag-facts .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--ink); color: var(--ground); stroke-width: 2.6; }
.ag-photo img { aspect-ratio: 4 / 5; object-fit: cover; }

/* repost: the real Connect panel in the middle, what it means on either side */
.ag-repost { background: var(--ground); }
.ag-rep { max-width: 1120px; margin: clamp(48px, 6vw, 80px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ag-panel { width: 100%; max-width: 360px; height: auto; display: block; filter: drop-shadow(0 40px 60px rgba(10, 12, 16, .28)); }
.ag-notes { display: grid; gap: clamp(28px, 4vw, 56px); }
.ag-notes:first-child { text-align: right; }
.ag-note h3 { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.02em; }
.ag-note p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* radar: Tbilisi, full bleed, the words set low on a shade */
.ag-radar { position: relative; isolation: isolate; min-height: min(78vh, 760px); display: flex; align-items: flex-end; background: var(--black); color: #f5f5f7; overflow: hidden; }
.ag-radar > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ag-radar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 6, .15) 0%, rgba(5, 5, 6, .35) 45%, rgba(5, 5, 6, .88) 100%); }
.ag-radar-in { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 calc(16px + var(--sr)) clamp(48px, 7vw, 96px) calc(16px + var(--sl)); }
.ag-radar-in h2 { max-width: 16ch; }
.ag-radar-in p { margin-top: 16px; max-width: 48ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: #c9cbd0; }

/* everything else: one grid, panels of different sizes */
.ag-more { background: var(--ground); }
.ag-grid { max-width: 1120px; margin: clamp(44px, 6vw, 72px) auto 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ag-p { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border-radius: 28px; background: var(--panel); min-height: 260px; }
.ag-p h3 { font-size: clamp(20px, 1.9vw, 25px); letter-spacing: -.025em; line-height: 1.15; }
.ag-p p { color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 40ch; }
.ag-p-cl { grid-column: span 4; }
.ag-p-sm { min-height: 0; }
/* the last panel closes the grid as one wide strip: icon, title and line side by side */
.ag-p-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 8px 24px; }
.ag-p-wide .ag-p-ic { margin: 0; }
.ag-p-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--ground); margin-bottom: 8px; }
.ag-p-ic .icon { width: 21px; height: 21px; }
.pc-board { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pc-col { display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: 14px; background: var(--panel-2); }
.pc-col small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pc-col i { height: 34px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); }
.pc-col:last-child i { background: var(--ink); border-color: var(--ink); }
.pt-list { list-style: none; margin: auto 0 0; padding: 16px 0 0; display: grid; gap: 8px; }
.pt-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.pt-list i { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; border: 1.5px solid var(--line-2); }
.pt-list li.done { color: var(--ink-3); text-decoration: line-through; }
.pt-list li.done i { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.pt-list .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.pm-bars { margin-top: auto; padding-top: 16px; display: grid; gap: 10px; }
.pm-bars span { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; }
.pm-bars b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--panel-2); font-size: 12px; }
.pm-bars i { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--v), var(--panel-2) var(--v)); }

/* the plan: black again, the agency plan lit */
.ag-plan { background: var(--black); color: #f5f5f7; }
.ag-plan .ag-copy p { color: #a1a4aa; }
.ag-tiers { max-width: 880px; margin: clamp(44px, 6vw, 64px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ag-tier { display: grid; align-content: start; gap: 10px; padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: #111114; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ag-tier h3 { font-size: 17px; }
.ag-tier > p:last-child { color: #a1a4aa; font-size: 15px; }
.ag-tier.is-main { background: #f5f5f7; color: #0b0b0c; box-shadow: none; }
.ag-tier.is-main > p:last-child { color: #43474d; }
.ag-price { display: grid; justify-items: start; gap: 8px; }
/* both plans read the same way: the price, then what it is per, on its own line */
.ag-price b { font-size: clamp(52px, 6vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.ag-price span { color: #86898f; font-size: 14px; font-weight: 600; }
.ag-tier.is-main .ag-price span { color: #646970; }
.ag-inc { max-width: 880px; margin: 40px auto 0; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ag-inc h3 { font-size: 15px; color: #a1a4aa; font-weight: 650; }
.ag-inc ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.ag-inc li { display: flex; gap: 10px; font-size: 15.5px; color: #e4e6ea; }
.ag-inc .icon { margin-top: 2px; color: #f5f5f7; }
.ag-plan-go { margin-top: 44px; display: grid; justify-items: center; gap: 12px; }
.ag-plan .ag-cta { background: #f5f5f7; color: #0b0b0c; }
.ag-plan .ag-cta i { background: rgba(11, 11, 12, .08); }
.ag-plan-go small { color: #86898f; font-size: 13.5px; }

/* the close: back to Homes */
.ag-end { padding: clamp(72px, 9vw, 120px) 16px; text-align: center; background: var(--ground); }
.ag-end h2 { font-size: clamp(28px, 3.4vw, 44px); }
html:lang(ka) .ag-end h2 { font-size: clamp(24px, 2.8vw, 36px); }
.ag-end p { margin: 12px auto 22px; color: var(--ink-2); font-size: 17px; max-width: 46ch; }

/* ---------- footer ---------- */
.fp-foot { border-top: 1px solid var(--line); background: var(--panel); }
.fp-foot-in { max-width: 1312px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.fp-foot p { color: var(--ink-3); font-size: 14px; }
.fp-foot-links { margin-left: auto; display: flex; gap: 20px; }
.fp-foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 650; font-size: 14px; }
.fp-foot-links a:hover { color: var(--ink); }
.fp-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.fp-legal a { color: var(--ink-3); font-size: 13px; text-decoration: none; }
.fp-legal a:hover { color: var(--ink); }
.fp-legal small { margin-left: auto; color: var(--ink-3); font-size: 13px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .bh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bh-pop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-post span, .fp-nav .hs-me-n { display: none; }
  .fp-post { padding: 0 10px; }
  .ag-p, .ag-p-sm { grid-column: span 3; }
  .ag-p-cl, .ag-p-wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ag-import-in { grid-template-columns: minmax(0, 1fr); }
  .ag-photo img { aspect-ratio: 16 / 11; }
  .ag-rep { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ag-rep .ag-panel { width: min(340px, 86vw); }
  .ag-rep .ag-panel { order: -1; }
  .ag-notes, .ag-notes:first-child { text-align: center; max-width: 52ch; gap: 28px; }
  .fp-brand > span:last-child { display: none; }
  .ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-p, .ag-p-sm { grid-column: span 1; }
  .ag-p-cl, .ag-p-wide { grid-column: 1 / -1; }
  .ag-p-wide { grid-template-columns: auto minmax(0, 1fr); }
  .ag-p-wide p { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --nav: 58px; }
  /* phones: the switch sits next to the mark instead of the middle, so the language button fits on the right */
  .fp-nav { grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; }
  .fp-switch { position: relative; left: auto; top: auto; transform: none; grid-column: 2; }
  .fp-nav-r { grid-column: 3; gap: 6px; }
  .fp-switch a { height: 34px; padding: 0 12px; }
  .fp-switch a .icon { display: none; }
  .fp-lang { padding: 0 10px; }
  .fp-lang .icon { display: none; }
  .fp-nav .hs-me { padding: 0 4px; }
  .fp-nav .hs-me > .icon:last-child { display: none; }
  .bh-wrap { gap: 30px; padding-top: 12px; }
  .bh-hero { border-radius: 22px; }
  .bh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bh-pop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-ps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bh-ps-i { min-height: 72px; padding: 10px 14px 10px 10px; border-radius: 16px; }
  .bh-ps-i > img, .bh-ps-ic { width: 52px; height: 52px; }
  .bh-banner { flex-direction: column; align-items: stretch; border-radius: 22px; }
  .bh-svc { grid-template-columns: minmax(0, 1fr); }
  .bh-svc-i { min-height: 54px; font-size: 14.5px; }
  .bh-links { grid-template-columns: 1fr; gap: 0; padding: 8px 0 20px; }
  .bh-col { border-bottom: 1px solid var(--line); }
  .bh-col > summary { pointer-events: auto; cursor: pointer; min-height: 52px; }
  .bh-col > summary h3 { margin: 0; }
  .bh-col > summary .icon { display: block; }
  .bh-col[open] > summary .icon { transform: rotate(180deg); }
  .bh-col ul { padding-bottom: 16px; gap: 0; }
  .bh-col li a { display: flex; align-items: center; min-height: 40px; font-size: 14px; }
  .bh-st { width: 82px; }
  .bh-st-ring { width: 74px; height: 74px; }

  .ag-grid { grid-template-columns: minmax(0, 1fr); }
  .ag-facts, .ag-tiers, .ag-inc ul { grid-template-columns: minmax(0, 1fr); }
  .ag-radar { min-height: 560px; }
  .bezel { padding: 5px; border-radius: 22px; }
  .bezel-in { border-radius: 17px; }
  .ag-p { min-height: 0; border-radius: 24px; }
  .ag-p-wide { display: flex; flex-direction: column; align-items: flex-start; }
  .fp-foot-links { margin-left: 0; }
  .fp-legal small { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 370px) {
  .fp-switch a { padding: 0 9px; font-size: 12.5px; }
}

/* phones and touch: no hover zoom on photos */
@media (hover: none) { .bh-ps-i:hover > .icon, .bh-pc:hover img, .bh-st:hover .bh-st-ring { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .rv-on { opacity: 1; transform: none; }
  .ag-shot { animation: none; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.nf h1 { font-size: clamp(72px, 14vw, 160px); line-height: .9; letter-spacing: -.05em; margin-top: 18px; }
.nf p { color: var(--ink-2); font-size: 17px; }
.nf-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 14px; }
.ag-plan-go .ag-wa { color: #d6d8dc; border-color: rgba(255, 255, 255, .22); }
.ag-plan-go .ag-wa:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
