/* ==========================================================
   Elite Property Consultants — "The Key Board"
   Survey paper · survey ink · rubber-stamp violet · marigold
   ========================================================== */

:root {
  --paper: #EEF0E8;       /* survey paper */
  --paper-2: #E2E7DA;     /* deeper sheet */
  --sheet: #F7F8F3;       /* drawing sheet */
  --ink: #14302A;         /* survey ink */
  --ink-2: #4A625A;       /* muted ink */
  --night: var(--ink);    /* dark sections */
  --on-night: #B8C7BF;    /* muted text on dark */
  --stamp: #4A3AA6;       /* office rubber-stamp violet */
  --stamp-lt: #A89DF5;    /* stamp on dark ground */
  --marigold: #E3A13A;    /* available plot · the logo's gold */
  --gold: var(--marigold);
  --gold-lt: #F2C063;
  --neem: #86A97F;        /* park */
  --wa: #1E8E52;          /* WhatsApp action */
  --line: rgba(20, 48, 42, .16);

  --f-brand: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-display: "Anek Telugu", "Hind Guntur", system-ui, sans-serif;
  --f-body: "Hind Guntur", "Anek Telugu", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;   /* guard against animated overshoot; clip keeps the sticky header working */
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 2px; }

.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); display: flex; align-items: center; gap: .7em; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 0; border-top: 2px dashed currentColor; }
/* Telugu has no monospace face here, and letter-spacing breaks its letter clusters */
html[lang="te"] :is(.eyebrow, .paths-q, .mono[data-t], .an-kicker) {
  font-family: var(--f-body); letter-spacing: 0; text-transform: none; font-size: .9rem;
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--ink); color: var(--sheet); }
.btn-wa svg { color: #3DDC84; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--sheet); }
.btn-big { font-size: 1.15rem; padding: 1em 1.7em; }

/* ==========================================================
   HEADER
   ========================================================== */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: .75rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand-mark { width: 50px; height: 34px; color: var(--ink); }
.brand-mark { --mark-accent: var(--marigold); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-brand); font-weight: 700; font-size: 1.28rem; color: var(--ink); letter-spacing: .02em; }
.brand-sub { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-top: .35rem; }

.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding: .3rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  border-bottom: 2px dashed var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.top-actions { display: flex; align-items: center; gap: .9rem; }
.lang { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; }
.lang-btn { border: 0; background: none; padding: .25rem .7rem; border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 600; }
.lang-btn.is-on { background: var(--ink); color: var(--sheet); }
.call-pill {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  background: var(--marigold); color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .5rem 1rem; border-radius: 999px; white-space: nowrap;
}
.call-pill svg { width: 16px; height: 16px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(3.5rem, 7vw, 6.5rem);
}
.hero::before { /* survey grid, fading out */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 72% 45%, #000 15%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 75% at 72% 45%, #000 15%, transparent 72%);
  opacity: .6;
}

.hero-title {
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: .9; letter-spacing: -.015em; margin-bottom: 1.6rem;
}
.hero-title span { display: block; }
.hero-title span:first-child { font-variation-settings: "wdth" 125; font-weight: 800; }
.hero-title span:last-child {
  font-variation-settings: "wdth" 75; font-weight: 800; font-size: 1.32em; line-height: .92;
  color: var(--stamp);
}
html[lang="te"] .hero-title { font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.15; }
html[lang="te"] .hero-title span:last-child { font-size: 1.1em; line-height: 1.15; }

.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* the key board — "Finding key to your kingdom" */
.rack { position: relative; margin: 0; perspective: 1400px; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; }
.rack-cap {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem;
  margin-bottom: .7rem; color: var(--ink-2);
}
.rack-hint { font-size: .95rem; color: var(--ink); font-weight: 500; }
.rack-hint::before { content: "☞ "; color: var(--stamp); }

.board {
  position: relative;
  background-color: var(--ink);
  background-image: radial-gradient(circle, rgba(247, 248, 243, .12) 1.6px, transparent 2.1px);
  background-size: 22px 22px; background-position: 11px 11px;
  padding: 1.1rem clamp(.7rem, 2vw, 1.6rem) 2.9rem;
  border-radius: 6px;
  box-shadow: inset 0 0 0 6px #0E241F, 0 44px 70px -40px rgba(20, 48, 42, .65);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease);
  animation: boardIn 1.1s var(--ease) .1s backwards;
}
.board::after { /* soft light that follows the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(247, 248, 243, .07), transparent 65%);
}
.hooks { position: relative; z-index: 1; transform-style: preserve-3d; }
.hook { transform: translateZ(26px); transform-style: preserve-3d; }
.board-head, .board-foot { transform: translateZ(8px); }
@keyframes boardIn {
  from { opacity: 0; transform: translateY(40px) rotateX(16deg); }
}
.board-head { text-align: center; color: var(--marigold); font-size: .64rem; letter-spacing: .26em; margin-bottom: .9rem; opacity: .9; }
.board-foot {
  text-align: center; color: var(--marigold); font-family: var(--f-brand); font-weight: 500;
  font-size: clamp(.68rem, 1.1vw, .82rem); letter-spacing: .22em; text-transform: uppercase; margin-top: 1rem;
}
.hooks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(.4rem, 1.6vw, 1.2rem); }
.hook { position: relative; display: flex; justify-content: center; padding-top: 8px; }
.hook::before { /* brass hook */
  content: ""; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 35% 35%, #F8DC96, var(--marigold) 55%, #94641A);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .55);
}

.keytag {
  position: relative; display: block; width: 100%; max-width: 156px;
  border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); text-align: left;
  transform-origin: 50% 12px;
  animation: hang 1.1s var(--ease) both; animation-delay: calc(var(--d) * 110ms + 150ms);
  transition: opacity .3s;
}
.kt-swing { position: relative; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 12px; transition: transform .35s var(--ease); }
.kt-ring {
  position: relative; z-index: 2; width: 26px; height: 26px; margin-top: -2px; border-radius: 50%;
  border: 2.5px solid #CBD2C7; box-shadow: 0 1px 2px rgba(0, 0, 0, .45), inset 0 1px 1px rgba(0, 0, 0, .3);
}
.kt-key {
  position: absolute; z-index: 0; top: 12px; left: calc(50% - 13px); width: 26px; height: 141px;
  transform: rotate(-11deg); transform-origin: 50% 10px; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .45));
  transition: transform .6s var(--ease);
}
.kt-tag {
  position: relative; z-index: 1; width: 100%; margin-top: -11px;
  display: grid; gap: .12rem;
  background: var(--sheet); border-radius: 12px 12px 8px 8px;
  padding: 1.35rem .75rem .7rem;
  box-shadow: 0 12px 18px -10px rgba(0, 0, 0, .6);
}
.kt-tag::before { /* punched hole */
  content: ""; position: absolute; top: 6px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6);
}
.t-plot .kt-tag { background: var(--marigold); }
.t-villa .kt-tag { background: var(--stamp); color: #fff; }
.t-rent .kt-tag { background: var(--neem); }
.kt-no { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .12em; opacity: .7; }
.kt-type { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.05; }
.kt-where { font-size: .8rem; line-height: 1.25; opacity: .85; }
.kt-price { font-family: var(--f-display); font-weight: 700; font-size: 1rem; margin-top: .2rem; }
.kt-price small { font-weight: 500; font-size: .75em; }
.keytag:focus { outline: none; }
.keytag:focus-visible .kt-tag { outline: 3px solid var(--marigold); outline-offset: 3px; }
.keytag.is-picked .kt-swing { transform: translateY(6px) scale(1.05); }
.keytag.is-picked .kt-key { transform: rotate(-24deg); }
.keytag.is-picked .kt-tag { box-shadow: 0 0 0 3px var(--sheet), 0 0 0 5px var(--marigold), 0 18px 26px -12px rgba(0, 0, 0, .7); }
.hooks.has-pick .keytag:not(.is-picked) { opacity: .55; }
.hooks.has-pick .keytag:not(.is-picked):hover { opacity: .9; }

@keyframes hang {
  0% { opacity: 0; transform: translateY(-30px) rotate(-14deg); }
  45% { opacity: 1; transform: translateY(0) rotate(8deg); }
  70% { transform: rotate(-4deg); }
  88% { transform: rotate(1.5deg); }
  100% { transform: none; }
}

/* the slip that slides out under the board */
.slip {
  position: relative; z-index: 3; width: calc(100% - clamp(1rem, 4vw, 3rem)); margin: -1.6rem auto 0;
  background: var(--sheet); padding: 1rem 1.1rem;
  display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 1rem; align-items: center;
  box-shadow: 0 26px 40px -26px rgba(20, 48, 42, .6), 0 0 0 1px var(--line);
  transform-origin: 50% 0;
  animation: slipIn .75s var(--ease);
}
.slip::before { /* scalloped, torn-from-a-pad edge */
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px;
  background: radial-gradient(circle at 5px 6px, var(--sheet) 4.2px, transparent 4.6px) 0 0 / 10px 6px repeat-x;
}
.slip.is-idle { grid-template-columns: minmax(0, 1fr); }
@keyframes slipIn { /* unfolds down from under the board, like a page off a pad */
  0% { transform: perspective(900px) rotateX(-82deg); opacity: 0; }
  40% { opacity: 1; }
  70% { transform: perspective(900px) rotateX(8deg); }
  100% { transform: perspective(900px) rotateX(0); }
}
.slip-draw { aspect-ratio: 4 / 3; background: var(--paper-2); }
.slip-draw svg { width: 100%; height: 100%; }
.slip-where { color: var(--ink-2); margin-bottom: .2rem; }
.slip h3 { font-size: 1.25rem; font-variation-settings: "wdth" 108; line-height: 1.1; margin-bottom: .3rem; }
.slip-facts { font-size: .9rem; color: var(--ink-2); margin-bottom: .6rem; }
.slip-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.slip-price { font-family: var(--f-display); font-weight: 750; font-size: 1.35rem; font-variation-settings: "wdth" 110; }
.slip-price small { font-size: .7em; font-weight: 500; color: var(--ink-2); }
.slip-ask {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--ink); color: var(--sheet);
  text-decoration: none; font-weight: 600; font-size: .9rem; padding: .5rem .95rem; border-radius: 999px;
}
.slip-ask svg { width: 16px; height: 16px; color: #3DDC84; }
.slip-idle { font-size: 1rem; line-height: 1.45; }
.slip-idle b { color: var(--stamp); }

/* ==========================================================
   PATHS
   ========================================================== */
.paths { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.paths-q {
  font-size: clamp(1rem, 1.4vw, 1.1rem); font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem;
}
.paths-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.paths-list li { border-bottom: 1px dashed var(--ink); }
.paths-list a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 2rem; align-items: center; gap: 1.5rem;
  padding: clamp(1rem, 2vw, 1.5rem) .5rem; text-decoration: none;
}
.paths-list a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--marigold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.paths-list a:hover::before, .paths-list a:focus-visible::before { transform: scaleX(1); }
.p-glyph { width: 56px; height: 36px; color: var(--ink); }
.p-text { font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 112; font-size: clamp(1.45rem, 3.2vw, 2.6rem); line-height: 1.1; }
.p-hint { color: var(--ink-2); font-size: .98rem; text-align: right; }
.p-arrow { font-size: 1.6rem; transition: transform .35s var(--ease); }
.paths-list a:hover .p-arrow { transform: translateX(8px); }

/* ==========================================================
   SECTION HEADS
   ========================================================== */
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2, .checks-head h2, .sell-copy h2, .visit-copy h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem); font-variation-settings: "wdth" 115; font-weight: 750;
  letter-spacing: -.012em; line-height: .98; margin-bottom: 1.1rem;
}
html[lang="te"] :is(.sec-head, .checks-head, .sell-copy, .visit-copy) h2 { line-height: 1.2; }
.sec-lede { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }

/* ==========================================================
   LISTINGS
   ========================================================== */
.listings { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); }

.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem;
  padding: 1.2rem 0; border-top: 2px solid var(--ink); border-bottom: 1px dashed var(--ink);
}
.f-group { display: flex; align-items: center; gap: 1rem; }
.f-label { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px;
  padding: .4rem .95rem; cursor: pointer; font-weight: 500; font-size: .95rem; transition: background .2s, color .2s;
}
.chip:hover { background: var(--paper-2); }
.chip.is-on { background: var(--ink); color: var(--sheet); }

/* facing dial */
.dial {
  position: relative; width: 92px; height: 92px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--sheet);
  background-image: radial-gradient(circle, transparent 29px, var(--line) 29px 30px, transparent 30px);
}
.dial-pt {
  position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 0; border-radius: 50%;
  background: transparent; font-family: var(--f-display); font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.dial-pt:hover { background: var(--paper-2); }
.dial-pt[aria-pressed="true"] { background: var(--stamp); color: #fff; }
.dial-pt.n { left: 50%; top: 14px; } .dial-pt.s { left: 50%; top: 78px; }
.dial-pt.e { left: 78px; top: 50%; } .dial-pt.w { left: 14px; top: 50%; }
.dial-needle {
  position: absolute; left: 50%; top: 50%; width: 4px; height: 20px; margin-left: -2px; margin-top: -20px;
  background: linear-gradient(var(--stamp) 60%, transparent 60%); transform-origin: 50% 100%;
  clip-path: polygon(50% 0, 100% 60%, 50% 100%, 0 60%);
  transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; opacity: 0;
}
.dial.has-face .dial-needle { opacity: 1; }
.dial-read { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 2px); font-size: .58rem; color: var(--ink-2); }

.f-budget { flex: 1 1 280px; }
.budget-out { font-family: var(--f-display); font-weight: 750; font-size: 1.35rem; min-width: 5.2ch; font-variation-settings: "wdth" 110; }
#budget { flex: 1; min-width: 120px; accent-color: var(--ink); height: 28px; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
#budget::-webkit-slider-runnable-track { height: 4px; background: var(--ink); border-radius: 2px; }
#budget::-moz-range-track { height: 4px; background: var(--ink); border-radius: 2px; }
#budget::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--marigold); border: 2.5px solid var(--ink); }
#budget::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--marigold); border: 2.5px solid var(--ink); }

.demo-tag { color: var(--ink-2); margin: 1.4rem 0 2rem; opacity: .8; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem); }
.item { position: relative; animation: itemIn .5s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateY(14px); } }
.item-draw { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); margin-bottom: 1.2rem; overflow: hidden; }
.item-draw svg { width: 100%; height: 100%; }
.item-draw .item-stamp { position: absolute; right: 5%; top: 6%; width: 28%; height: auto; transform: rotate(-12deg); mix-blend-mode: multiply; opacity: .9; }
.item-where { color: var(--ink-2); margin-bottom: .35rem; }
.item h3 { font-size: 1.5rem; font-variation-settings: "wdth" 108; font-weight: 700; line-height: 1.1; margin-bottom: .7rem; }
.item-facts { display: flex; flex-wrap: wrap; gap: .3rem .9rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .93rem; color: var(--ink-2); }
.item-facts li + li::before { content: "·"; margin-right: .9rem; color: var(--ink); }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px dashed var(--ink); }
.item-price { font-family: var(--f-display); font-weight: 750; font-size: 1.55rem; font-variation-settings: "wdth" 110; }
.item-price small { font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.item-ask { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 2px solid var(--wa); padding-bottom: 1px; }
.item-ask svg { width: 18px; height: 18px; color: var(--wa); }
.empty { padding: 2rem 0; max-width: 52ch; }
.empty p { font-size: 1.15rem; margin-bottom: 1.2rem; }

/* drawing strokes */
.dr-line { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linejoin: round; }
.dr-thin { stroke: var(--ink); stroke-width: 1; fill: none; }
.dr-fill { fill: var(--sheet); }
.dr-mari { fill: var(--marigold); }
.dr-text { font: 500 11px var(--f-mono); fill: var(--ink); letter-spacing: .06em; }
.dr-road { fill: #CDD3C4; }

/* ==========================================================
   CHECKS
   ========================================================== */
.checks {
  background: var(--night); color: var(--sheet);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.checks .eyebrow { color: var(--gold); }
.checks .sec-lede { color: var(--on-night); }
.checks-head { position: sticky; top: 110px; align-self: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step {
  position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.2rem;
  padding: 2rem 7.5rem 2rem 0; border-top: 1px dashed rgba(247, 248, 243, .35);
}
.step:last-child { border-bottom: 1px dashed rgba(247, 248, 243, .35); }
.step-n {
  font-family: var(--f-display); font-weight: 800; font-size: 3.6rem; line-height: .85; font-variation-settings: "wdth" 80;
  color: transparent; -webkit-text-stroke: 1.5px var(--marigold);
}
.step h3 { font-size: 1.55rem; font-variation-settings: "wdth" 108; margin-bottom: .5rem; line-height: 1.15; }
.step p { color: var(--on-night); max-width: 50ch; }
.stamp {
  position: absolute; right: 0; top: 50%;
  font-family: var(--f-mono); font-weight: 500; font-size: .82rem; letter-spacing: .2em;
  color: var(--stamp-lt); border: 2.5px solid currentColor; border-radius: 4px; padding: .35rem .6rem .3rem .75rem;
  box-shadow: inset 0 0 0 2px var(--night), inset 0 0 0 3.5px currentColor;
  transform: translateY(-50%) rotate(-9deg); filter: url(#inkRough);
  opacity: 0;
}
.step.is-stamped .stamp { animation: slam .5s cubic-bezier(.5, 0, .6, 1.4) forwards; }
@keyframes slam {
  0% { opacity: 0; transform: translateY(-50%) rotate(-20deg) scale(1.9); }
  70% { opacity: 1; transform: translateY(-50%) rotate(-8deg) scale(.94); }
  100% { opacity: .92; transform: translateY(-50%) rotate(-9deg) scale(1); }
}

/* ==========================================================
   AREAS
   ========================================================== */
.areas { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.areas-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.map-stage { position: relative; }
#mapSvg { width: 100%; height: auto; }
.mp-land { fill: var(--paper-2); }
.mp-orr { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.mp-hwy { fill: none; stroke: var(--sheet); stroke-width: 7; stroke-linecap: round; }
.mp-hwy-edge { fill: none; stroke: #C3CBBB; stroke-width: 9; stroke-linecap: round; }
.mp-rail { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 6 4; }
.mp-label { font: 500 9.5px var(--f-mono); letter-spacing: .12em; fill: var(--ink-2); text-transform: uppercase; }
.mp-lake { fill: #C9D9D6; }
.mp-area { cursor: pointer; }
.mp-area:focus { outline: none; }
.mp-dot { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; transition: r .25s var(--ease), fill .2s; }
.mp-area text { font: 600 13px var(--f-display); fill: var(--ink); paint-order: stroke; stroke: var(--paper-2); stroke-width: 4px; stroke-linejoin: round; }
.mp-area:hover .mp-dot, .mp-area:focus-visible .mp-dot { fill: var(--marigold); }
.mp-area.is-on .mp-dot { fill: var(--stamp); stroke: var(--stamp); }
.mp-area.is-on text { fill: var(--stamp); }
.mp-office .mp-dot { fill: var(--marigold); }
.mp-area .mp-sub { font: 500 9px var(--f-mono); letter-spacing: .12em; fill: var(--ink-2); }
.mp-pulse { fill: none; stroke: var(--marigold); stroke-width: 2; animation: pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

.area-note { animation: itemIn .45s var(--ease); }
.an-kicker { color: var(--ink-2); margin-bottom: .5rem; }
.an-name { font-size: clamp(2rem, 3.4vw, 2.9rem); font-variation-settings: "wdth" 118; font-weight: 800; line-height: 1; margin-bottom: .8rem; }
.an-line { font-size: 1.12rem; margin-bottom: 1.4rem; max-width: 40ch; }
.meters { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; max-width: 440px; }
.meters li { display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: 1rem; font-size: .95rem; }
.bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.bar i { height: 12px; background: var(--paper-2); border: 1px solid var(--ink); }
.bar i.on { background: var(--ink); }
.an-good { color: var(--ink-2); margin-bottom: 1.4rem; }
.an-good b { color: var(--ink); }

/* converter */
.converter { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; align-items: end; }
.conv-head h3 { font-size: 1.7rem; font-variation-settings: "wdth" 112; margin-bottom: .4rem; line-height: 1.1; }
.conv-head p { color: var(--ink-2); }
.conv-row { display: flex; align-items: flex-end; gap: .6rem; flex-wrap: wrap; }
.conv-f { display: flex; flex-direction: column; flex: 1 1 110px; min-width: 0; }
.conv-f input {
  width: 100%; border: 0; border-bottom: 2px dashed var(--ink); background: transparent; padding: .2rem 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); font-variation-settings: "wdth" 105;
  -moz-appearance: textfield;
}
.conv-f input::-webkit-inner-spin-button { -webkit-appearance: none; }
.conv-f input:focus { outline: none; border-bottom-style: solid; border-bottom-color: var(--stamp); }
.conv-f span { font-size: .85rem; color: var(--ink-2); margin-top: .3rem; }
.conv-eq { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink-2); padding-bottom: 1.7rem; }

/* ==========================================================
   SELL
   ========================================================== */
.sell {
  background: var(--paper-2);
  padding: clamp(4rem, 8vw, 7rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.sell-form { background: var(--sheet); padding: clamp(1.5rem, 3.5vw, 3rem); box-shadow: 0 30px 60px -35px rgba(20, 48, 42, .35); position: relative; }
.sell-form::before { /* stamp-paper edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--stamp) 0 14px, transparent 14px 20px); opacity: .55;
}
.sentence {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .55em .32em;
  font-family: var(--f-display); font-size: clamp(1.35rem, 2.5vw, 2.05rem); font-weight: 500; line-height: 1.3; margin-bottom: 1.8rem;
}
.sentence > span:empty { display: none; }
.sentence .w-dot { margin-left: -.3em; }
html[lang="te"] .sentence .w-s2 { margin-left: -.3em; }
/* Telugu word order: name. [area]-lo unna naa [kind]-ni [goal] anukuntunnanu. naa number [phone]. */
html[lang="te"] .w-s1 { order: 1; }   html[lang="te"] .w-name { order: 2; }
html[lang="te"] .w-s2 { order: 3; }   html[lang="te"] .w-area { order: 4; }
html[lang="te"] .w-s4 { order: 5; }   html[lang="te"] .w-kind { order: 6; }
html[lang="te"] .w-s3 { order: 7; }   html[lang="te"] .w-goal { order: 8; }
html[lang="te"] .w-s6 { order: 9; }   html[lang="te"] .w-d1 { order: 10; }
html[lang="te"] .w-s5 { order: 11; }  html[lang="te"] .w-phone { order: 12; }
html[lang="te"] .w-d2 { order: 13; }
.sentence input, .sentence select {
  font-family: var(--f-display); font-weight: 700; font-size: inherit; color: var(--stamp);
  border: 0; border-bottom: 2px dotted var(--ink); background: transparent; padding: 0 .15em; margin: 0 .1em;
  line-height: 1.2; border-radius: 0;
}
.sentence input { width: 8.5ch; }
.sentence input[name="area"] { width: 9.5ch; }
.sentence input[name="phone"] { width: 10ch; }
@supports (field-sizing: content) {
  .sentence input, .sentence input[name="area"], .sentence input[name="phone"], .sentence select { width: auto; field-sizing: content; min-width: 4ch; max-width: 100%; }
}
.sentence input::placeholder { color: rgba(74, 98, 90, .55); font-weight: 500; }
.sentence select { cursor: pointer; -webkit-appearance: none; appearance: none; padding-right: 1.1em; background: linear-gradient(45deg, transparent 50%, var(--stamp) 50%) right .15em center / .4em .4em no-repeat, linear-gradient(-45deg, transparent 50%, var(--stamp) 50%) right -.05em center / .4em .4em no-repeat; }
.sentence input:focus, .sentence select:focus { outline: none; border-bottom-style: solid; border-bottom-color: var(--stamp); background-color: rgba(74, 58, 166, .06); }
.sentence input.is-bad { border-bottom-color: #B3261E; border-bottom-style: solid; }
.form-error { color: #B3261E; font-weight: 500; margin: -1rem 0 1.2rem; }

/* ==========================================================
   VISIT
   ========================================================== */
.visit { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.addr { font-style: normal; font-size: 1.2rem; line-height: 1.55; margin-bottom: 1.4rem; }
.big-phone {
  display: inline-block; text-decoration: none; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.5rem); font-variation-settings: "wdth" 112; letter-spacing: -.01em; line-height: 1;
  border-bottom: 5px solid var(--marigold); margin-bottom: 1.1rem;
}
.big-phone:hover { color: var(--stamp); }
.visit-note { color: var(--ink-2); max-width: 44ch; margin-bottom: 1.6rem; }
.visit-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.visit-links a { font-weight: 500; text-decoration-style: dashed; text-underline-offset: 4px; word-break: break-word; }
.visit-map { aspect-ratio: 5 / 4; background: var(--paper-2); clip-path: polygon(0 4%, 97% 0, 100% 95%, 3% 100%); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- footer & dock ---------- */
.foot {
  background: var(--night); color: var(--on-night);
  padding: clamp(3rem, 6vw, 5rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2.5rem 3rem; font-size: .95rem;
}
.foot-lockup { display: flex; flex-direction: column; align-items: center; color: var(--gold); text-align: center; }
.foot-mark { width: 120px; height: 82px; }
.foot-name { font-family: var(--f-brand); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: .03em; line-height: 1; margin-top: .5rem; }
.foot-rule { width: 100%; height: 1.5px; background: var(--gold); margin: .7rem 0 .6rem; }
.foot-kingdom { font-family: var(--f-brand); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lt); }
.foot-meta { display: grid; gap: .5rem; text-align: right; }
.foot-meta a { color: var(--sheet); text-decoration-color: rgba(201, 161, 62, .6); text-underline-offset: 3px; }
.foot-meta .mono { color: #8C8676; font-size: .68rem; }
.dock { display: none; }

/* ==========================================================
   BACKGROUND TEXTURE
   paper grain · a drawn horizon under the hero · survey contour lines
   ========================================================== */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .19 0 0 0 0 .16 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero { padding-bottom: clamp(12rem, 22vw, 20rem); }

/* Hyderabad at dawn (skyline.js): landmarks in layers of haze */
.city {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -2; pointer-events: none;
  height: clamp(300px, 44vw, 640px); --px: 0; --sy: 0;
}
.city svg { width: 100%; height: 100%; display: block; }
.c-layer {
  transform: translate(calc(var(--px) * var(--d) * 1px), calc(var(--sy) * (1 - var(--d)) * 1px));
  animation: cRise 2.4s var(--ease) var(--delay) both;
}
@keyframes cRise { from { opacity: 0; translate: 0 26px; } }
.c-sun {
  transform: translate(calc(var(--px) * .05px), calc(var(--sy) * .6px));
  animation: cSunUp 4s var(--ease) .1s both;
}
@keyframes cSunUp { from { opacity: 0; translate: 0 110px; } }
.c-mist { animation: cMist 28s ease-in-out infinite alternate; }
.c-mist-2 { animation-duration: 36s; animation-direction: alternate-reverse; }
@keyframes cMist { from { translate: -90px 0; } to { translate: 90px 0; } }
.c-shimmer rect { fill: #F7F8F3; opacity: .12; animation: cGlint 5s ease-in-out infinite; }
@keyframes cGlint { 50% { opacity: .9; } }
.c-lamps .lamp { fill: #F2C063; }
.c-lamps .lamp-glow { fill: #F2C063; opacity: .24; animation: cLamp 3.4s ease-in-out infinite alternate; }
@keyframes cLamp { to { opacity: .1; } }
.c-boats path { fill: #46605A; }
.boat { animation: cBob 3.6s ease-in-out infinite alternate; }
@keyframes cBob { to { translate: 0 2px; } }
.c-birds { animation: cFly 52s linear -14s infinite; }
@keyframes cFly { from { translate: -160px 40px; } to { translate: 1780px -80px; } }
.bird { fill: none; stroke: #46605A; stroke-width: 1.5; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: cFlap .55s ease-in-out infinite alternate; }
@keyframes cFlap { to { scale: 1 .4; } }
.hero-scrim { /* keeps the headline crisp over the painting */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 46% 52% at 20% 38%, rgba(238, 240, 232, .88), rgba(238, 240, 232, .5) 60%, rgba(238, 240, 232, 0) 85%);
}

/* contour lines: full-bleed layers behind the centred sections */
.listings, .areas, .visit { position: relative; isolation: isolate; }
:is(.listings, .areas, .visit)::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  z-index: -1; pointer-events: none; background: url(assets/topo.svg) no-repeat;
}
.listings::before { background-position: right -300px top -150px; background-size: 1100px auto; }
.areas::before { background-position: left -380px bottom -240px; background-size: 1050px auto; }
.visit::before { background-position: right -320px center; background-size: 900px auto; }
.checks { background-image: url(assets/topo-light.svg); background-repeat: no-repeat; background-position: left -320px bottom -300px; background-size: 1150px auto; }
.sell { background-image: url(assets/topo.svg); background-repeat: no-repeat; background-position: left -420px top -330px; background-size: 1000px auto; }
.foot { background-image: url(assets/topo-light.svg); background-repeat: no-repeat; background-position: right -260px top -360px; background-size: 1000px auto; }

/* ==========================================================
   MOTION
   Hidden start states only apply once JS adds .will-anim / .reveal,
   so nothing disappears if scripts fail or motion is reduced.
   ========================================================== */

/* page load: the headline rises out of a mask, the rest follows */
.hero-title span { animation: lineUp 1s var(--ease) both; }
.hero-title span:last-child { animation-delay: .14s; }
.hero .eyebrow, .hero .lede, .hero-actions, .rack-cap { animation: fadeUp .9s var(--ease) both; }
.hero .lede { animation-delay: .3s; }
.hero-actions { animation-delay: .42s; }
.rack-cap { animation-delay: .55s; }
@keyframes lineUp {
  from { clip-path: inset(0 -5% 100% -5%); transform: translateY(.4em); }
  to { clip-path: inset(-20% -5% -25% -5%); transform: none; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* line drawings sketch themselves, then the stamp lands */
.drawable :is(.dr-line, .dr-thin) { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.drawable :is(.dr-fill, .dr-mari, .dr-road) { fill-opacity: 0; }
.drawable text { opacity: 0; }
.drawn :is(.dr-line, .dr-thin) { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.6, .1, .3, 1) calc(var(--k, 0) * 35ms); }
.drawn :is(.dr-fill, .dr-mari, .dr-road) { fill-opacity: 1; transition: fill-opacity .7s ease .9s; }
.drawn text { opacity: 1; transition: opacity .6s ease 1s; }
.item-draw.drawable .item-stamp { opacity: 0; transform: rotate(-30deg) scale(1.9); }
.item-draw.drawn .item-stamp { opacity: .9; transform: rotate(-12deg) scale(1); transition: opacity .15s 1.35s, transform .45s cubic-bezier(.5, 0, .6, 1.5) 1.35s; }

/* checks: a thread fills as you read, numbers ink in as they're stamped */
.steps { position: relative; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: -2.4rem; top: 0; bottom: 0; width: 2px; }
.steps::before { background: rgba(247, 248, 243, .12); }
.steps::after { background: var(--marigold); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.step-n { transition: color .6s var(--ease) .3s; }
.step.is-stamped .step-n { color: var(--marigold); }

/* map: roads draw, areas appear, a route runs from our office */
.map-stage.will-anim :is(.mp-hwy, .mp-hwy-edge) { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.map-stage.will-anim.in :is(.mp-hwy, .mp-hwy-edge) { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.6, .1, .3, 1); }
.map-stage.will-anim :is(.mp-orr, .mp-rail, .mp-label, .mp-lake) { opacity: 0; }
.map-stage.will-anim.in :is(.mp-orr, .mp-rail, .mp-label, .mp-lake) { opacity: 1; transition: opacity 1.2s ease .7s; }
.map-stage.will-anim .mp-area { opacity: 0; transform: translateY(10px); }
.map-stage.will-anim.in .mp-area { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s var(--ease); transition-delay: calc(1s + var(--i, 0) * 70ms); }
.mp-route { fill: none; stroke: var(--stamp); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 7; animation: routeMarch 1s linear infinite, fadeIn .5s ease; pointer-events: none; }
@keyframes routeMarch { to { stroke-dashoffset: -16; } }
@keyframes fadeIn { from { opacity: 0; } }

/* footer: the skyline builds itself */
.foot-mark.will-anim path { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.foot-mark.will-anim rect { transform-box: fill-box; }
.foot-mark.will-anim rect:nth-of-type(1) { transform: scaleY(0); transform-origin: 50% 100%; }
.foot-mark.will-anim rect:nth-of-type(2) { transform: scaleX(0); transform-origin: 0 50%; }
.foot.in .foot-mark path { stroke-dashoffset: 0; transition: stroke-dashoffset 2s cubic-bezier(.5, 0, .3, 1) .2s; }
.foot.in .foot-mark rect { transform: none; transition: transform 1s var(--ease) .9s; }
.foot.will-anim .foot-rule { transform: scaleX(0); }
.foot.will-anim.in .foot-rule { transform: none; transition: transform 1.2s var(--ease) 1s; }
.foot.will-anim :is(.foot-name, .foot-kingdom) { opacity: 0; transform: translateY(10px); }
.foot.will-anim.in :is(.foot-name, .foot-kingdom) { opacity: 1; transform: none; transition: opacity .8s ease 1.2s, transform .8s var(--ease) 1.2s; }
.foot.will-anim.in .foot-kingdom { transition-delay: 1.5s; }

/* sell form: SENT stamp, and a nudge on missing fields */
.form-stamp {
  position: absolute; right: 7%; top: 30%; pointer-events: none;
  font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.3rem, 3vw, 2.2rem); letter-spacing: .25em;
  color: var(--stamp); border: 4px solid currentColor; border-radius: 6px; padding: .2em .35em .15em .6em;
  box-shadow: inset 0 0 0 3px var(--sheet), inset 0 0 0 5px currentColor;
  filter: url(#inkRough); mix-blend-mode: multiply; opacity: 0; transform: rotate(-14deg);
}
html[lang="te"] .form-stamp { font-family: var(--f-display); letter-spacing: .05em; }
.sell-form.is-sent .form-stamp { animation: stampIn .5s cubic-bezier(.5, 0, .6, 1.4) forwards; }
@keyframes stampIn {
  0% { opacity: 0; transform: rotate(-26deg) scale(2); }
  70% { opacity: 1; transform: rotate(-12deg) scale(.94); }
  100% { opacity: .9; transform: rotate(-14deg) scale(1); }
}
.form-ok { margin-top: 1.1rem; color: var(--ink-2); font-weight: 500; max-width: 46ch; }
.sentence .is-shaking { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* current section in the nav */
.nav a.is-active::after { transform: scaleX(1); }

/* mobile menu */
.menu-btn {
  display: none; width: 44px; height: 44px; place-items: center; flex: none;
  border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer;
}
.menu-bars { position: relative; display: block; width: 18px; height: 10px; }
.menu-bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-bars i:first-child { top: 0; }
.menu-bars i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-bars i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:last-child { top: 4px; transform: rotate(-45deg); }
.menu { display: none; }
.lang-short { display: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: .92rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .menu {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    padding: .3rem var(--gutter) 1.6rem;
    box-shadow: 0 30px 40px -30px rgba(20, 48, 42, .45);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .menu.is-open { clip-path: inset(0 0 -60px 0); visibility: visible; transition: clip-path .5s var(--ease); }
  .menu a {
    display: flex; justify-content: space-between; align-items: center; padding: 1rem 0;
    border-bottom: 1px dashed var(--ink); text-decoration: none;
    font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 112; font-size: 1.55rem;
  }
  .menu a i { font-style: normal; }
  .menu.is-open a { animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms + 80ms); }
  .steps::before, .steps::after { display: none; }
  .hero, .checks, .areas-wrap, .sell, .visit, .converter { grid-template-columns: minmax(0, 1fr); }
  .checks-head { position: static; }
  .p-hint { display: none; }
  .paths-list a { grid-template-columns: 48px minmax(0, 1fr) 1.5rem; gap: 1rem; }
  .p-glyph { width: 44px; height: 28px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .call-pill { display: none; }   /* the bottom dock has Call */
  .top { gap: .8rem; }
  .top-actions { gap: .55rem; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-btn { padding: .25rem .6rem; }
  .mp-area text { font-size: 19px; }
  .mp-area .mp-sub { display: none; }
  .mp-label { font-size: 13px; }
  .kt-tag { padding: 1.3rem .55rem .6rem; }
  .kt-price { font-size: .92rem; }
  .kt-price small { display: block; font-size: .72rem; }
  .slip { grid-template-columns: 92px minmax(0, 1fr); gap: .8rem; padding: .9rem; }
  .slip h3 { font-size: 1.1rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-mark { width: 34px; height: 34px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .filters { gap: 1.2rem; }
  .f-group { flex-wrap: wrap; }
  .step { grid-template-columns: 3rem minmax(0, 1fr); padding: 1.6rem 0 3.6rem; }
  .step-n { font-size: 2.6rem; }
  .stamp { top: auto; bottom: .9rem; right: auto; left: 4.2rem; transform: rotate(-6deg); }
  .step.is-stamped .stamp { animation-name: slamM; }
  .meters li { grid-template-columns: 7.5rem 1fr; }
  .conv-eq { display: none; }
  .foot { justify-content: center; }
  .foot-meta { text-align: center; }
  .conv-f { flex: 1 1 40%; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -10px 30px -10px rgba(0,0,0,.25);
  }
  .dock a { text-align: center; padding: 1.05rem; font-weight: 600; text-decoration: none; font-size: 1.05rem; }
  .dock-call { background: var(--ink); color: var(--sheet); }
  .dock-wa { background: var(--wa); color: #fff; }
}
@keyframes slamM {
  0% { opacity: 0; transform: rotate(-18deg) scale(1.9); }
  70% { opacity: 1; transform: rotate(-5deg) scale(.94); }
  100% { opacity: .92; transform: rotate(-6deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .board { transform: none; }
  .stamp { opacity: .92; }
}
