/* GEOINCO v4. Brand kit v6: navy / warm ivory, Manrope + Noto Sans Georgian, cadastral line art.
   Motion rule for the whole site: lines move, text holds still. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 700; 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+2116, U+2122, U+2190-2193, U+2212, U+2215; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1; }
@font-face { font-family: "Noto Sans Georgian"; src: url("/assets/fonts/noto-sans-georgian.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 99.5%; ascent-override: 107.2%; descent-override: 30.2%; line-gap-override: 0%; }
@font-face { font-family: "Georgian Fallback"; src: local("Sylfaen"), local("Noto Sans Georgian");
  size-adjust: 115.5%; ascent-override: 92.5%; descent-override: 25.3%; line-gap-override: 0%; unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F; }

@property --peg { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --navy: #041934; --navy-2: #071C38; --ivory: #F6EBDD; --paper: #F7F5F1; --ink: #152832; --sand: #D1B27A;
  --font: "Manrope", "Noto Sans Georgian", "Manrope Fallback", "Georgian Fallback", system-ui, sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --header-h: 72px;
  --pad: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --h1: clamp(2.5rem, 4.9vw, 4.6rem);
  --h2: clamp(1.9rem, 3.5vw, 3.2rem);
  --tight: -.028em;
}
html[lang="ka"] { --h1: clamp(2.05rem, 3.9vw, 3.6rem); --h2: clamp(1.65rem, 3vw, 2.7rem); --tight: 0; }
html[lang="ru"] { --h1: clamp(2.15rem, 4vw, 3.7rem); --h2: clamp(1.75rem, 3.2vw, 2.95rem); --tight: -.02em; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.62 var(--font); color: var(--ink); background: var(--navy); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
html[lang="ka"] body { line-height: 1.72; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus, var(--sand)); outline-offset: 4px; border-radius: 2px; }

.shell { width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.navy { --bg: var(--navy); --fg: var(--ivory); --muted: rgba(246, 235, 221, .74); --line: rgba(246, 235, 221, .18); --focus: var(--sand); --star: var(--sand); --star-off: rgba(246, 235, 221, .3); }
.paper, .ivory { --bg: var(--paper); --fg: var(--ink); --muted: rgba(21, 40, 50, .76); --line: rgba(21, 40, 50, .17); --focus: var(--ink); --star: var(--ink); --star-off: rgba(21, 40, 50, .25); }
.ivory { --bg: #F1E7D8; }
.navy, .paper, .ivory { background: var(--bg); color: var(--fg); }
main > :where(section:not(.hero):not(.proof):not(.page-hero)) { padding-block: var(--pad); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: .7rem 1rem; background: var(--ivory); color: var(--navy); font-weight: 600; border-radius: 3px; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.04; letter-spacing: var(--tight); }
h2 { font-size: var(--h2); line-height: 1.1; letter-spacing: var(--tight); }
h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: calc(var(--tight) / 2); }
html[lang="ka"] h1 { line-height: 1.2; }
html[lang="ka"] h2 { line-height: 1.26; }
html[lang="ka"] h3 { line-height: 1.4; }
h2 em { display: block; }
p { text-wrap: pretty; }

.kicker, .label, .case-loc, .entry-for, .chan small, .lead span { font-size: .78rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; line-height: 1.5; color: var(--muted); }
html[lang="ka"] :is(.kicker, .label, .case-loc, .entry-for, .chan small, .lead span) { font-size: .86rem; letter-spacing: .02em; text-transform: none; }
.kicker { display: flex; align-items: center; margin-bottom: 1.5rem; }

/* Dimension line: a measured line with end ticks. It draws when its block comes into view. */
.dim { position: relative; flex: none; display: inline-block; width: 44px; height: 7px; margin-right: 1rem; border-inline: 1px solid currentColor; transform-origin: 0 50%; }
.dim::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; margin-top: -.5px; background: currentColor; }
html.motion .dim { transform: scaleX(0); }
html.motion .is-in .dim, html.motion .is-in > .dim { transform: none; transition: transform 1s var(--ease) .1s; }

/* Arrow and links */
.arr { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
a:hover > .arr, a:focus-visible > .arr { transform: translate(3px, -3px); }
a:hover > .arr-r, a:focus-visible > .arr-r { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; font-size: .98rem;
  background: linear-gradient(currentColor 0 0) 0 calc(50% + .85em) / 100% 1px no-repeat; transition: background-size .45s var(--ease); }
.link:hover, .link:focus-visible { animation: redraw .6s var(--ease); }
@keyframes redraw { 0% { background-size: 100% 1px; background-position: 100% calc(50% + .85em); } 45% { background-size: 0 1px; background-position: 100% calc(50% + .85em); } 46% { background-position: 0 calc(50% + .85em); } 100% { background-size: 100% 1px; background-position: 0 calc(50% + .85em); } }

/* Boundary pegs: corner marks that set out a block on hover, like pegs at the corners of a plot. */
.pegs { position: relative; }
.pegs::after { content: ""; position: absolute; inset: var(--peg-off, -1px); pointer-events: none; --c: var(--peg-color, currentColor);
  background:
    linear-gradient(var(--c) 0 0) 0 0 / var(--peg) 2px, linear-gradient(var(--c) 0 0) 0 0 / 2px var(--peg),
    linear-gradient(var(--c) 0 0) 100% 0 / var(--peg) 2px, linear-gradient(var(--c) 0 0) 100% 0 / 2px var(--peg),
    linear-gradient(var(--c) 0 0) 0 100% / var(--peg) 2px, linear-gradient(var(--c) 0 0) 0 100% / 2px var(--peg),
    linear-gradient(var(--c) 0 0) 100% 100% / var(--peg) 2px, linear-gradient(var(--c) 0 0) 100% 100% / 2px var(--peg);
  background-repeat: no-repeat; transition: --peg .4s var(--ease); }
.pegs:hover::after, .pegs:focus-visible::after { --peg: 14px; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75em; min-height: 54px; padding: 0 1.6rem; border-radius: 3px; font-weight: 600; font-size: 1rem; line-height: 1.2; transition: background-color .25s, color .25s, border-color .25s, transform .15s; }
.btn:active { transform: scale(.985); }
.btn-solid { background: var(--ivory); color: var(--navy); --peg-off: -8px; --peg-color: var(--ivory); }
.btn-solid:hover { background: #FFF8EC; }
.btn-line { min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line); font-size: .92rem; }
.btn-line:hover { border-color: var(--fg); }

/* ---------- header ---------- */
.site-header { --fg: var(--ivory); --line: rgba(246, 235, 221, .18); --muted: rgba(246, 235, 221, .74); position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 2rem; padding-inline: max(var(--gutter), (100% - 1360px) / 2); color: var(--fg); background: var(--navy); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.brand { flex: none; display: block; width: 150px; height: 44px; overflow: hidden; }
.brand img { width: 168px; max-width: none; height: auto; margin: 0 0 0 -17px; }
.nav { display: flex; gap: clamp(1.1rem, 2.2vw, 2.4rem); margin-left: auto; }
.nav a, .lang a, .btn { white-space: nowrap; }
.nav a, .lang a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .25s; }
.nav a::after, .lang a::after { content: ""; position: absolute; inset: auto 0 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.nav a:hover, .lang a:hover, .lang a[aria-current] { color: var(--fg); }
.nav a:hover::after, .nav a:focus-visible::after, .lang a:hover::after, .lang a[aria-current]::after { transform: none; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.lang { display: flex; gap: .9rem; }
.lang a { font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: absolute; inset: 100% 0 auto; display: grid; padding: .5rem var(--gutter) 1.5rem; background: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: flex; align-items: center; min-height: 54px; font-size: 1.2rem; font-weight: 500; border-bottom: 1px solid var(--line); }
@media (max-width: 1080px) { .nav, .header-contact { display: none; } .header-actions { margin-left: auto; } .menu-toggle { display: block; } }
@media (max-width: 480px) { .site-header { gap: .75rem; } .header-actions { gap: .35rem; } .lang { gap: .65rem; } .brand { width: 126px; height: 38px; } .brand img { width: 142px; margin-left: -15px; } }
@media (max-width: 350px) { .brand { width: 100px; height: 30px; } .brand img { width: 113px; margin-left: -12px; } .lang { gap: .45rem; } .lang a { font-size: .74rem; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 94svh; padding: calc(var(--header-h) + 2.5rem) 0 4rem; }
.hero-scene { position: absolute; inset: 0 0 0 auto; width: 60%; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 30%); mask-image: linear-gradient(90deg, transparent 4%, #000 30%); }
.hero-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-plan { position: absolute; right: 3%; top: 52%; width: min(88%, 800px); height: auto; transform: translateY(-50%); transition: opacity .5s; }
html.webgl .hero-plan { opacity: 0; }
/* If the motion script never arrives, bring the flat plan back. */
html.webgl:not(.motion) .hero-plan { animation: plan-back .5s 3s both; }
@keyframes plan-back { from { opacity: 0; } to { opacity: 1; } }
.hero h1 { max-width: 13.5em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: rgba(246, 235, 221, .66); }
.hero-lede { max-width: 31em; margin: 1.75rem 0 2.5rem; font-size: 1.15rem; line-height: 1.6; color: var(--muted); }
html[lang="ka"] .hero-lede { line-height: 1.75; font-size: 1.08rem; }
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; justify-content: flex-start; min-height: 0; padding-bottom: 0; }
  .hero-copy { order: 1; }
  .hero-scene { order: 2; position: relative; inset: auto; width: 100%; height: min(86vw, 56svh); margin-top: 1rem; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); }
  .hero-plan { right: auto; left: 50%; top: 54%; width: 92%; transform: translate(-50%, -50%); }
}

/* ---------- proof: rating and facts ---------- */
.proof { padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; }
.facts { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.fact { display: block; padding: 1rem 0 1.25rem; }
.fact-n { display: block; font-size: clamp(3rem, 6.2vw, 5.4rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fact-n small { font-size: .38em; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: .15em; }
.fact .dim { display: block; width: 100%; margin: 1.1rem 0 1rem; color: var(--line); border-color: var(--fg); }
.fact .dim::before { background: var(--fg); opacity: .5; }
.fact p { display: grid; gap: .15rem; font-size: .98rem; }
.fact p strong { font-weight: 600; }
.fact p span { color: var(--muted); }
.fact-rating { --peg-off: -14px; }
.fact-rating > .arr { position: absolute; right: 0; top: 1.4rem; width: 1.4rem; height: 1.4rem; }
.stars { display: inline-block; margin-left: .5em; font-size: .9rem; letter-spacing: .14em; line-height: 1; color: transparent; background: linear-gradient(90deg, var(--star) var(--fill), var(--star-off) var(--fill)); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact-rating { grid-column: 1 / -1; } }

/* ---------- section heads ---------- */
.head h2 { max-width: 17em; }
.head > p, .head-split > p { color: var(--muted); max-width: 30em; }
.head-split > .rich { max-width: 34em; }
.head > p { margin-top: 1.25rem; }
.head-split { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
.after { margin-top: 2.25rem; }
.after-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.after-split p { color: var(--muted); font-size: .95rem; max-width: 36em; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.quote { display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(1.5rem, 2.4vw, 2.25rem); border: 1px solid var(--line); border-radius: 3px; transition: background-color .35s; }
.quote:hover { background: rgba(255, 255, 255, .55); }
.quote .stars { margin: 0; align-self: flex-start; }
.quote blockquote { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.45; letter-spacing: -.01em; font-weight: 500; }
.quote footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quote cite { font-style: normal; font-weight: 600; }
.quote .link { font-size: .88rem; font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- services: the scroll sequence ---------- */
.seq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5.5rem); margin-top: clamp(1rem, 3vw, 3rem); }
.seq-plan { grid-area: 1 / 2; position: sticky; top: calc(var(--header-h) + 3svh); height: calc(100svh - var(--header-h) - 6svh); display: grid; align-items: center; }
.seq-frame { position: relative; width: 100%; max-height: 100%; aspect-ratio: 1000 / 760; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.plan { width: 100%; height: 100%; }
.plan .ov { display: none; }
html.motion .plan .ov { display: block; }
.cand { stroke-width: calc(2.8px * var(--z, 1)); stroke-dasharray: 8 7; }
.seq-count { position: absolute; left: 1rem; top: .8rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.seq-count b { color: var(--fg); font-weight: 600; }
html:not(.motion) .seq-count { display: none; }
.steps { grid-area: 1 / 1; }
.step { display: flex; flex-direction: column; justify-content: center; min-height: 74svh; padding-block: 2rem; transition: opacity .5s; }
.step:first-child { min-height: 58svh; }
html.motion .step { opacity: .7; }
html.motion .step.is-active { opacity: 1; }
.step-n { display: flex; align-items: center; gap: 1rem; font-size: .85rem; font-weight: 600; letter-spacing: .14em; color: var(--sand); font-variant-numeric: tabular-nums; }
.step-n::after { content: ""; width: 44px; height: 1px; background: currentColor; transform-origin: 0 50%; transition: transform .7s var(--ease); }
html.motion .step:not(.is-active) .step-n::after { transform: scaleX(.25); }
.step h3 { margin: 1.1rem 0 1rem; font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.12; letter-spacing: var(--tight); }
html[lang="ka"] .step h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.3; }
.step p { max-width: 27em; color: var(--muted); }
.note { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.entry { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1.5rem; align-items: end; padding: clamp(1.4rem, 2.4vw, 2.1rem); border: 1px solid var(--line); border-radius: 3px; transition: border-color .3s, background-color .3s; }
.entry:hover { border-color: rgba(246, 235, 221, .5); background: rgba(246, 235, 221, .04); }
.entry-for { grid-column: 1 / -1; }
.entry strong { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.2; letter-spacing: calc(var(--tight) / 2); }
.entry .arr { width: 1.5rem; height: 1.5rem; }
@media (max-width: 900px) {
  .seq { display: block; }
  .seq-plan { z-index: 2; top: var(--header-h); height: auto; margin-inline: calc(-1 * var(--gutter)); padding: .75rem var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); }
  .seq-frame { max-height: 38svh; margin-inline: auto; width: auto; }
  .step { min-height: 52svh; }
  .entries { grid-template-columns: 1fr; }
}

/* ---------- transactions ---------- */
.cases { margin-top: clamp(2.5rem, 5vw, 4rem); }
.case { display: grid; grid-template-columns: 200px 4fr 5fr; gap: 1.5rem clamp(1.5rem, 4vw, 4rem); align-items: start; padding-block: clamp(1.75rem, 3vw, 2.75rem); border-top: 1px solid var(--line); }
.case-art { width: 100%; height: auto; overflow: visible; stroke: currentColor; stroke-linejoin: round; }
.d-ctx { stroke-width: 1; opacity: .34; }
.d-dash { stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .7; }
.d-parcel { stroke-width: 2.2; fill: #F0DDBF; }
html.motion .d-parcel { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
html.motion .is-in .d-parcel { stroke-dashoffset: 0; fill-opacity: 1; transition: stroke-dashoffset 1.5s var(--ease) .15s, fill-opacity .7s ease 1.1s; }
.case h3 { margin-top: .6rem; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.18; letter-spacing: var(--tight); }
html[lang="ka"] .case h3 { line-height: 1.35; }
.case-body p { color: var(--muted); }
.case-body .case-status { display: flex; align-items: baseline; gap: .7rem; margin-top: 1.1rem; font-size: .95rem; font-weight: 600; color: var(--fg); }
.case-status::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; transform: translateY(-1px); }
@media (max-width: 900px) { .case { grid-template-columns: 120px minmax(0, 1fr); } .case-body { grid-column: 1 / -1; } }
@media (max-width: 480px) { .case { grid-template-columns: 1fr; } .case-art { width: 150px; } }

/* ---------- guides ---------- */
.guides-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.guides-grid .head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.guides-grid .head .link { margin-top: 1.5rem; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.guide { display: flex; flex-direction: column; align-items: flex-start; }
.guide-cover { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 3px; background: var(--ink); --peg-off: -7px; --peg-color: var(--ink); }
.guide-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.guide-play { position: absolute; inset: 50% auto auto 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; color: var(--ivory); }
.guide-play svg { width: 100%; height: 100%; fill: currentColor; }
.guide-play circle { fill: rgba(4, 25, 52, .55); stroke: rgba(246, 235, 221, .45); stroke-width: 1; }
.play-ring { transform: rotate(-90deg); transform-origin: 50% 50%; }
.guide-cover:hover .play-ring, .guide-cover:focus-visible .play-ring { stroke: var(--ivory); stroke-width: 1.6; stroke-dasharray: 1; animation: ring .9s var(--ease) both; }
@keyframes ring { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.guide-dur { position: absolute; left: .75rem; top: .75rem; padding: .15rem .5rem; border-radius: 2px; background: rgba(4, 25, 52, .7); color: var(--ivory); font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
/* Card titles are h2 on the insights index (straight under the h1) and h3 everywhere else. */
.guide :is(h2, h3) { margin: 1.1rem 0 .5rem; font-size: 1.15rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
html[lang="ka"] .guide :is(h2, h3) { line-height: 1.4; }
.guide p { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.guide .link { margin-top: .5rem; font-size: .92rem; }
@media (max-width: 1080px) { .guides-grid { grid-template-columns: 1fr; } .guides-grid .head { position: static; } }
@media (max-width: 700px) {
  .guides { grid-template-columns: 1fr; gap: 2rem; }
  .guide { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 1.25rem; align-items: start; }
  .guide-cover { grid-row: 1 / span 3; }
  .guide :is(h2, h3) { margin-top: 0; }
  .guide-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .guide-dur { left: .4rem; top: .4rem; }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.about-text .lede { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; letter-spacing: -.01em; }
html[lang="ka"] .about-text .lede { line-height: 1.65; font-size: clamp(1.1rem, 1.6vw, 1.32rem); }
.about-text .label { margin: 2.5rem 0 .75rem; }
.about-text > p:not(.lede) { color: var(--muted); max-width: 38em; }
.lead { display: grid; grid-template-columns: 80px 1fr auto; gap: 1.25rem; align-items: center; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.lead img { width: 80px; height: 80px; object-fit: cover; border-radius: 3px; }
.lead p { display: grid; gap: .1rem; }
.lead strong { font-size: 1.15rem; font-weight: 600; }
.lead small { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lead { grid-template-columns: 64px minmax(0, 1fr); } .lead img { width: 64px; height: 64px; } .lead .link { grid-column: 1 / -1; justify-self: start; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: end; }
.contact h2 { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.02; }
html[lang="ka"] .contact h2 { font-size: clamp(2rem, 4.2vw, 3.7rem); line-height: 1.2; }
html[lang="ru"] .contact h2 { font-size: clamp(2.2rem, 4.8vw, 4.3rem); }
.chans { display: grid; gap: .75rem; }
.chan { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; padding: 1.1rem 1.5rem; border: 1px solid var(--line); border-radius: 3px; transition: border-color .3s, background-color .3s; }
.chan:hover { border-color: rgba(246, 235, 221, .5); }
.chan small { display: block; margin-bottom: .2rem; }
.chan strong { display: block; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.chan .arr { width: 1.5rem; height: 1.5rem; }
.chan-whatsapp { background: var(--ivory); border-color: var(--ivory); color: var(--navy); --peg-off: -8px; --peg-color: var(--ivory); }
.chan-whatsapp small { color: rgba(4, 25, 52, .74); }
.chan-whatsapp:hover { background: #FFF8EC; border-color: #FFF8EC; }
.socials { display: flex; flex-wrap: wrap; gap: .25rem 2rem; margin-top: 1rem; }
.socials .link { font-weight: 500; color: var(--muted); }
.socials .link:hover { color: var(--fg); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } html[lang="ka"] .contact h2 { font-size: clamp(1.6rem, 8.4vw, 3.4rem); } }

/* ---------- inner pages: heroes ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3.5rem, 7vw, 6rem); }
.page-hero h1 { max-width: 14em; }
.page-hero h1 em { display: block; color: rgba(246, 235, 221, .66); }
.page-hero .hero-lede { margin-bottom: 0; }
.page-hero .btn { margin-top: 2.5rem; }
.crumb { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .75rem; font-size: .88rem; font-weight: 500; color: var(--muted);
  background: linear-gradient(currentColor 0 0) 0 calc(50% + .8em) / 100% 1px no-repeat; }
.crumb:hover, .crumb:focus-visible { color: var(--fg); animation: redraw .6s var(--ease); }
.crumb + .kicker { margin-top: 1rem; }
.svc-hero { display: grid; align-items: center; min-height: min(88svh, 820px); }
.svc-art { position: absolute; inset: var(--header-h) 0 0 auto; width: 56%; z-index: -1; display: grid; align-items: center; padding: 2rem 3% 2rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 30%), linear-gradient(180deg, transparent 3%, #000 24%, #000 84%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 2%, #000 30%), linear-gradient(180deg, transparent 3%, #000 24%, #000 84%, transparent); mask-composite: intersect; }
.svc-art .plan { width: 100%; height: auto; max-height: 100%; overflow: visible; }
.trace { stroke-dasharray: .12 .88; stroke-linecap: round; }
@media (max-width: 900px) {
  .svc-hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 0; }
  .svc-hero .hero-copy { order: 1; }
  .svc-art { order: 2; position: relative; inset: auto; width: 100%; padding: 1.5rem var(--gutter) 2.5rem; -webkit-mask-image: none; mask-image: none; }
  .svc-art .plan { overflow: hidden; }
}

/* ---------- inner pages: shared blocks ---------- */
.head-top { align-items: start; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.split-sticky > .head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split-sticky > .head { position: static; } }
.rich { color: var(--muted); }
.rich > * + * { margin-top: 1rem; }
.rich strong { font-weight: 600; color: var(--fg); }
.rich a:not(.link) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--fg); }
.rich ul { display: grid; gap: .5rem; padding-left: 1.2rem; list-style: square; }
.rich ul li::marker { color: var(--fg); }
.disclaimer { max-width: 62em; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.pegs-on::after { --peg: 14px; }

/* Traverse: three stations set out along one line (a real sequence, so it is numbered). */
.route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); }
.route::before { content: ""; position: absolute; inset: 5px 0 auto; height: 1px; background: var(--fg); opacity: .4; transform-origin: 0 50%; }
.station { position: relative; padding-top: 2.5rem; }
.station::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; background: var(--fg); }
.station .step-n { color: var(--muted); }
.station .step-n::after { display: none; }
.station h3 { margin: .7rem 0 .6rem; font-size: clamp(1.3rem, 1.9vw, 1.65rem); letter-spacing: var(--tight); }
.station p { color: var(--muted); max-width: 26em; }
html.motion .route::before { transform: scaleX(0); }
html.motion .route.is-in::before { transform: none; transition: transform 1.5s var(--ease); }
html.motion .station::before { transform: scale(0); }
html.motion .route.is-in .station::before { transform: none; transition: transform .45s var(--ease) calc(.15s + var(--i) * .45s); }
@media (max-width: 760px) {
  .route { grid-template-columns: minmax(0, 1fr); padding-left: 2.25rem; }
  .route::before { inset: 0 auto 0 5px; width: 1px; height: auto; transform-origin: 50% 0; }
  html.motion .route::before { transform: scaleY(0); }
  .station { padding-top: 0; }
  .station::before { left: -2.25rem; top: .35rem; }
}

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.type { padding: clamp(1.5rem, 2.4vw, 2.25rem); border: 1px solid var(--line); border-radius: 3px; transition: background-color .35s; }
.type:hover { background: rgba(255, 255, 255, .4); }
.type-art { width: 120px; height: auto; margin-bottom: 1.5rem; overflow: visible; stroke: currentColor; stroke-linejoin: round; }
.type-art .d-parcel { fill: rgba(21, 40, 50, .07); }
.type h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.type p { color: var(--muted); }
@media (max-width: 860px) { .types { grid-template-columns: minmax(0, 1fr); } }

.legal { display: grid; grid-template-columns: 7fr 5fr; gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.legal .head > p { max-width: 40em; }
.legal-note { padding: clamp(1.5rem, 2.6vw, 2.25rem); background: #F1E7D8; border-radius: 3px; --peg-off: -8px; }
.legal-note strong { display: block; margin-bottom: .6rem; font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.legal-note p { color: var(--muted); }
.legal-note .link { margin-top: 1rem; font-size: .92rem; text-align: left; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } }

/* Checklist: each item is a small plot marker that fills in turn. */
.checklist ul { gap: 0; padding: 0; list-style: none; margin-block: 1.5rem; }
.checklist li { position: relative; padding: 1rem 0 1rem 2.25rem; border-top: 1px solid var(--line); color: var(--fg); font-weight: 500; }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: 11px; height: 11px; box-shadow: inset 0 0 0 1.5px currentColor; background: currentColor; }
html.motion .checklist li::before { background: transparent; }
html.motion .checklist.is-in li::before { background: currentColor; transition: background-color .3s ease; }
html.motion .checklist.is-in li:nth-child(1)::before { transition-delay: .2s; }
html.motion .checklist.is-in li:nth-child(2)::before { transition-delay: .45s; }
html.motion .checklist.is-in li:nth-child(3)::before { transition-delay: .7s; }
html.motion .checklist.is-in li:nth-child(4)::before { transition-delay: .95s; }

main > .teaser { padding-bottom: clamp(3rem, 6vw, 5rem); }
.teaser h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.25; }
.rows { display: grid; }
.row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; padding-block: .75rem; border-top: 1px solid var(--line); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; transition: padding-left .4s var(--ease); }
.row::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: currentColor; transform: scale(0); transition: transform .3s var(--ease); }
.row:hover, .row:focus-visible { padding-left: 1.5rem; }
.row:hover::before, .row:focus-visible::before { transform: none; }
.row .arr { width: 1.3rem; height: 1.3rem; }
.rows { border-bottom: 1px solid var(--line); }
.rows .link { justify-self: start; margin-block: 1rem; }
.teaser + .contact { border-top: 1px solid var(--line); }
.contact.contact-inner h2 { font-size: var(--h2); line-height: 1.12; }
html[lang="ka"] .contact.contact-inner h2 { font-size: var(--h2); line-height: 1.26; }
.contact-inner .contact-grid { align-items: start; }
.contact-inner .chans > .link { justify-self: start; margin-top: .5rem; color: var(--muted); }
.contact-inner .chans > .link:hover { color: var(--fg); }

/* ---------- guides: index and detail ---------- */
.guides-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .guides-5 { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; } }
@media (max-width: 700px) { .guides-5 { grid-template-columns: minmax(0, 1fr); } }
a.guide-cover { position: relative; }
.head-row + .guides { margin-top: clamp(2rem, 4vw, 3.5rem); }
main > .guide-top { padding-bottom: var(--pad); }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); grid-template-areas: "copy player" "side player"; gap: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 7vw, 7rem); align-items: start; }
.watch .hero-copy { grid-area: copy; }
.watch h1 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.1; }
html[lang="ka"] .watch h1 { font-size: clamp(1.75rem, 3vw, 2.7rem); line-height: 1.28; }
.player { grid-area: player; align-self: center; --peg-off: -12px; --peg-color: var(--ivory); }
/* Native controls take the focus inside the video; show it on the frame. */
.player:focus-within { outline: 2px solid var(--sand); outline-offset: 5px; }
.player video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #0b1c24; border-radius: 3px; }
.watch-side { grid-area: side; }
.watch-side .meta { margin: -.75rem 0 1.75rem; font-size: .95rem; color: var(--muted); }
.watch-side h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; margin-bottom: 1rem; }
.topics li { display: grid; grid-template-columns: 3.25rem 1fr; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--line); }
.topics li:last-child { border-bottom: 1px solid var(--line); }
.topics .step-n::after { display: none; }
.watch-side .link { margin-top: 1.25rem; color: var(--muted); }
.watch-side .link:hover { color: var(--fg); }
@media (max-width: 860px) {
  .watch { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "player" "side"; }
  .player { justify-self: center; width: min(100%, 320px); }
}
.article ol { display: grid; gap: 0; padding: 0; margin-top: 1.75rem; list-style: none; counter-reset: item; }
.article ol li { counter-increment: item; display: grid; grid-template-columns: 3.25rem 1fr; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--fg); }
.article ol li:last-child { border-bottom: 1px solid var(--line); }
.article ol li::before { content: counter(item, decimal-leading-zero); font-size: .85rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.article > p:first-child, .lede.rich { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--fg); }
html[lang="ka"] :is(.article > p:first-child, .lede.rich) { line-height: 1.7; font-size: clamp(1.08rem, 1.45vw, 1.22rem); }
.article > .link, .disclaimer + .link { margin-top: 1.25rem; }
.article .disclaimer { margin-top: 1.25rem; border-top: 0; }
/* Index hero: headline left, summary right, on one baseline. */
.index-hero .hero-copy { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.index-hero .hero-copy > * { grid-column: 1; justify-self: start; }
.index-hero .hero-copy > .hero-lede { grid-column: 2; grid-row: 3; margin: 0 0 .6rem; }
@media (max-width: 860px) { .index-hero .hero-copy { display: block; } .index-hero .hero-copy > .hero-lede { margin-top: 1.5rem; } }
.faq { margin-top: 2.5rem; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 3.25rem 1fr 20px; align-items: center; gap: .5rem; min-height: 76px; padding-block: 1rem; cursor: pointer; list-style: none; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq-n { font-size: .85rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.faq-x { position: relative; width: 16px; height: 16px; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; inset: 7.25px 0 auto; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq-x::after { transform: rotate(90deg); }
details[open] .faq-x::after { transform: rotate(90deg) scaleX(0); }
.faq-a { max-width: 44em; padding: 0 0 1.75rem 3.75rem; }
@media (max-width: 560px) { .faq summary { grid-template-columns: 2.5rem 1fr 20px; } .faq-a { padding-left: 0; } }
.resources { margin-top: 2.5rem; }
.resources ul { display: grid; gap: .25rem; margin-top: .75rem; }
.resources .link { font-weight: 500; font-size: .95rem; text-align: left; }

/* ---------- footer, quick bar, consent, video ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem; font-size: .85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; color: var(--muted); }
.footer-bottom .link, .privacy-preferences { font-size: .85rem; font-weight: 500; min-height: 44px; color: var(--muted); }
.privacy-preferences { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer-bottom .link:hover, .privacy-preferences:hover { color: var(--fg); }

.quickbar { position: fixed; inset: auto 0 0; z-index: 40; display: none; grid-template-columns: 1.4fr 1fr; gap: 1px; background: rgba(246, 235, 221, .25); border-top: 1px solid rgba(246, 235, 221, .25); transform: translateY(110%); transition: transform .4s var(--ease); }
.quickbar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 56px; padding-bottom: env(safe-area-inset-bottom); background: var(--navy); color: var(--ivory); font-weight: 600; }
.quickbar a:first-child { background: var(--ivory); color: var(--navy); }
.quickbar.is-visible { transform: none; }
@media (max-width: 580px) { .quickbar { display: grid; } html { scroll-padding-bottom: 76px; } }

.analytics-consent { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(400px, calc(100% - 32px)); padding: 1.25rem 1.35rem; border: 1px solid rgba(246, 235, 221, .28); border-radius: 3px; background: var(--navy-2); color: var(--ivory); font-size: .88rem; line-height: 1.5; transition: bottom .4s var(--ease); }
.quickbar.is-visible ~ .analytics-consent { bottom: 72px; }
.analytics-consent h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .4rem; }
.analytics-consent p { color: rgba(246, 235, 221, .78); }
.analytics-consent-actions { display: flex; gap: .6rem; margin-top: 1rem; }
.analytics-consent button { flex: 1; min-height: 44px; padding: 0 .9rem; border: 1px solid rgba(246, 235, 221, .4); border-radius: 3px; font-weight: 600; }
.analytics-consent button[data-analytics-choice="granted"] { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }

.video-dialog { width: min(92vw, 400px); padding: 0; border: 1px solid rgba(246, 235, 221, .25); border-radius: 3px; background: var(--navy); color: var(--ivory); }
.video-dialog::backdrop { background: rgba(2, 10, 22, .84); }
.video-panel { padding: 1rem 1.1rem 1.1rem; }
.video-top { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: rgba(246, 235, 221, .74); }
.video-close { min-height: 44px; padding-left: 1rem; font-weight: 600; letter-spacing: 0; color: var(--ivory); font-size: .92rem; }
.video-dialog h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; margin-bottom: .8rem; }
.video-player { width: 100%; aspect-ratio: 9 / 16; max-height: 68svh; background: #000; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print { .site-header, .quickbar, .analytics-consent, .hero-scene { display: none; } }
