/* ==========================================================================
   Matrix Realty — design system
   Brand: lime #b3cd08 · ink #040402 · white
   ========================================================================== */
@font-face { font-family: "Pirulen"; src: url("../fonts/pirulen.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Morn"; src: url("../fonts/morn-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Morn"; src: url("../fonts/morn-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Morn"; src: url("../fonts/morn-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Morn"; src: url("../fonts/morn-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Morn"; src: url("../fonts/morn-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --lime: #b3cd08;
  --lime-2: #c8e31c;
  --lime-3: #8ea305;
  --lime-tint: #eef4c8;
  --lime-wash: #f6f9e4;
  --ink: #0a0b06;
  --ink-2: #14160d;
  --ink-3: #22251a;
  --ink-4: #34382a;
  --paper: #ffffff;
  --stone: #f2f2ec;
  --stone-2: #e8e8df;
  --line: rgba(10, 11, 6, .1);
  --line-2: rgba(10, 11, 6, .16);
  --muted: #676a5c;
  --muted-2: #8b8e7f;
  --on-dark: rgba(255, 255, 255, .72);

  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --notch: 24px;
  --gutter: clamp(16px, 2.2vw, 28px);
  --maxw: 1360px;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font: "Morn", system-ui, sans-serif;
  --font-body: "Morn", system-ui, sans-serif;
  --font-brand: "Pirulen", "Morn", sans-serif;

  --shadow-lg: 0 40px 80px -40px rgba(10, 11, 6, .35);
  --shadow-md: 0 18px 40px -22px rgba(10, 11, 6, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime-3); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 500; margin: 0; letter-spacing: -.025em; line-height: 1.04; }
p { margin: 0; }
.h-display { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.045em; font-weight: 500; }
.h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.04em; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -.035em; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.65rem); letter-spacing: -.02em; line-height: 1.15; }
.lede { font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--muted); line-height: 1.65; max-width: 52ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 .66rem/1 var(--font-brand); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); transform: rotate(45deg); }
.dark .eyebrow, .eyebrow.on-dark { color: rgba(255, 255, 255, .6); }
.hl { color: var(--lime-3); }
.dark .hl { color: var(--lime); }
.mono { font-family: var(--font-brand); font-size: .7rem; letter-spacing: .12em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 140px); }
.section.tight { padding-block: clamp(48px, 6vw, 90px); }
.dark { background: var(--ink); color: #fff; }
.dark .lede, .dark .muted { color: var(--on-dark); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 600 .92rem/1 var(--font); letter-spacing: -.005em;
  transition: transform .5s var(--ease), background .3s, color .3s; isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn .ic {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); transition: transform .6s var(--ease);
}
.btn:hover .ic { transform: rotate(-45deg); }
.btn.lime { --bg: var(--lime); --fg: var(--ink); }
.btn.lime .ic { background: var(--ink); color: var(--lime); }
.btn.white { --bg: #fff; --fg: var(--ink); }
.btn.ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; padding: 0 24px; }
.btn.ghost.light { --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn.sm { height: 42px; padding: 0 6px 0 18px; font-size: .85rem; }
.btn.sm .ic { width: 30px; height: 30px; }
.btn.ghost.sm { padding: 0 18px; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--lime); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:not(.lime):hover::after { transform: none; }
.btn:not(.lime):hover { color: var(--ink); }
.btn:not(.lime):hover .ic { background: var(--ink); color: var(--lime); }
.btn.lime::after { background: #fff; }
.btn.lime:hover::after { transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 .9rem/1 var(--font);
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: gap .4s var(--ease), background-size .5s var(--ease);
}
.link-arrow:hover { gap: 16px; }
.arrow-ic { width: 16px; height: 16px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: #fff; font: 500 .8rem/1 var(--font-body); color: var(--ink);
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.chip.dark-chip { background: var(--ink); color: #fff; }
.chip.glass { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* ==========================================================================
   NOTCH SYSTEM — inverted rounded corners (the reference's signature cut-outs)
   .tab sits on a card corner, filled with the page colour (--cut);
   ::before/::after draw the concave fillets.
   ========================================================================== */
.tab { position: absolute; z-index: 3; background: var(--cut, #fff); }
.tab::before, .tab::after { content: ""; position: absolute; width: var(--notch); height: var(--notch); pointer-events: none; }
.tab.tl { top: 0; left: 0; border-bottom-right-radius: var(--notch); }
.tab.tl::before { top: 0; right: calc(var(--notch) * -1); background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }
.tab.tl::after { left: 0; bottom: calc(var(--notch) * -1); background: radial-gradient(circle at 100% 100%, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }
.tab.tr { top: 0; right: 0; border-bottom-left-radius: var(--notch); }
.tab.tr::before { top: 0; left: calc(var(--notch) * -1); background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }
.tab.tr::after { right: 0; bottom: calc(var(--notch) * -1); background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }
.tab.bl { bottom: 0; left: 0; border-top-right-radius: var(--notch); }
.tab.bl::before { bottom: 0; right: calc(var(--notch) * -1); background: radial-gradient(circle at 100% 0, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }
.tab.bl::after { left: 0; top: calc(var(--notch) * -1); background: radial-gradient(circle at 100% 0, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }
.tab.br { bottom: 0; right: 0; border-top-left-radius: var(--notch); }
.tab.br::before { bottom: 0; left: calc(var(--notch) * -1); background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }
.tab.br::after { right: 0; top: calc(var(--notch) * -1); background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--cut, #fff) var(--notch)); }

/* corner arrow badge: tab + black circle */
.corner-go { padding: 0 0 8px 8px; }
.corner-go.tr { padding: 0 0 8px 8px; }
.go {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: transform .6s var(--ease), background .3s, color .3s;
}
.go svg { width: 16px; height: 16px; }
a:hover .go, .go:hover { transform: rotate(-45deg); background: var(--lime); color: var(--ink); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.top-shell { padding: 14px var(--gutter) 0; max-width: calc(var(--maxw) + 40px); margin-inline: auto; }
.site-head {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none;
}
.site-head > * { pointer-events: auto; }
.brand-tab { padding: 16px 26px 18px 6px; display: flex; align-items: center; gap: 18px; }
.brand-tab .logo { height: 38px; width: auto; }
.brand-tab .sep { width: 1px; height: 28px; background: var(--line-2); }
.brand-tab .badge-mini { display: flex; align-items: center; gap: 8px; font: 500 .68rem/1.15 var(--font-body); color: var(--muted); max-width: 130px; }
.brand-tab .badge-mini img { width: 22px; height: 22px; }
.nav-pill {
  margin: 16px 16px 0 0; display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: 999px; background: rgba(10, 11, 6, .32); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.nav-pill a.nl { color: #fff; font: 500 .88rem/1 var(--font); padding: 12px 16px; border-radius: 999px; transition: background .3s, color .3s; }
.nav-pill a.nl:hover, .nav-pill a.nl.on { background: rgba(255, 255, 255, .14); }
.nav-pill a.nl.on { color: var(--lime); }
.nav-pill .btn { height: 42px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }

/* compact sticky bar */
.sticky-bar {
  position: fixed; z-index: 60; top: 12px; left: 50%; transform: translate(-50%, -140%);
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 20px 40px -24px rgba(10, 11, 6, .45), inset 0 0 0 1px rgba(10, 11, 6, .06);
  transition: transform .7s var(--ease); width: max-content; max-width: calc(100% - 24px);
}
.sticky-bar.show { transform: translate(-50%, 0); }
.sticky-bar .logo { height: 26px; }
.sticky-bar nav { display: flex; gap: 2px; }
.sticky-bar nav a { padding: 10px 13px; border-radius: 999px; font: 500 .85rem/1 var(--font); transition: background .3s; }
.sticky-bar nav a:hover { background: rgba(10, 11, 6, .06); }
.sticky-bar nav a.on { background: var(--ink); color: var(--lime); }
.progress { position: fixed; z-index: 70; top: 0; left: 0; height: 3px; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff; padding: 24px var(--gutter);
  display: flex; flex-direction: column; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease-io);
  overflow-y: auto;
}
.menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu .mhead { display: flex; justify-content: space-between; align-items: center; }
.menu .mhead img { height: 30px; }
.menu .close { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 1.4rem; display: grid; place-items: center; }
.menu nav { margin-top: 8vh; display: flex; flex-direction: column; }
.menu nav a { font: 500 clamp(2rem, 9vw, 3.2rem)/1.15 var(--font); letter-spacing: -.03em; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; align-items: center; }
.menu nav a span { font: .7rem var(--font-brand); color: var(--lime); }
.menu .mfoot { margin-top: auto; padding-top: 30px; color: var(--on-dark); font-size: .9rem; display: grid; gap: 6px; }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 23vw, 330px); gap: 14px; }
.hero-main {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(560px, 86vh, 820px);
  background: var(--ink); color: #fff; isolation: isolate;
}
.hero-main .bg { position: absolute; inset: 0; z-index: -2; }
.hero-main .bg img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; transform: scale(1.12); transition: transform 2.4s var(--ease-out); }
.loaded .hero-main .bg img { transform: scale(1); }
.hero-main::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 11, 6, .78) 0%, rgba(10, 11, 6, .35) 50%, rgba(10, 11, 6, 0) 75%),
    linear-gradient(0deg, rgba(10, 11, 6, .7) 0%, rgba(10, 11, 6, 0) 45%);
}
.hero-copy { position: absolute; left: clamp(22px, 3.5vw, 52px); right: clamp(22px, 3.5vw, 52px); bottom: clamp(26px, 4vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.hero h1 .row { display: flex; align-items: center; gap: .25em; flex-wrap: wrap; }
.hero h1 .row.indent { padding-left: clamp(0px, 4vw, 70px); }
.hero h1 .lime { color: var(--lime); }
.avatars {
  display: inline-flex; align-items: center; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  vertical-align: middle;
}
.avatars img { width: clamp(34px, 3.6vw, 50px); height: clamp(34px, 3.6vw, 50px); border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--ink); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.avatars .plus { width: clamp(34px, 3.6vw, 50px); height: clamp(34px, 3.6vw, 50px); border-radius: 50%; display: grid; place-items: center; margin-left: -12px; background: var(--lime); color: var(--ink); font: 600 .9rem var(--font); border: 2px solid var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-note { max-width: 250px; font-size: .88rem; color: rgba(255, 255, 255, .78); line-height: 1.55; }
.hero-note strong { color: #fff; font-weight: 600; }
.hero-glass {
  position: absolute; top: 120px; right: clamp(18px, 3vw, 40px); width: 230px; padding: 18px;
  border-radius: 22px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 30px 60px -30px rgba(0, 0, 0, .5);
  animation: float 7s ease-in-out infinite;
}
.hero-glass .k { font: .62rem var(--font-brand); letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.hero-glass .v { font: 500 2.4rem/1 var(--font); letter-spacing: -.04em; margin-top: 10px; }
.hero-glass .v small { font-size: .9rem; color: var(--lime); letter-spacing: 0; margin-left: 6px; }
.hero-glass .bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 14px; }
.hero-glass .bars i { flex: 1; background: rgba(255, 255, 255, .28); border-radius: 4px 4px 2px 2px; transform-origin: bottom; animation: grow 1.4s var(--ease-out) both; }
.hero-glass .bars i.on { background: var(--lime); }
.hero-glass .cap { font-size: .72rem; color: rgba(255, 255, 255, .65); margin-top: 8px; display: flex; justify-content: space-between; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.side-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--stone); isolation: isolate; }
.side-card.lime-card { background: var(--lime); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.side-card.lime-card .obj { position: absolute; right: -24px; bottom: -14px; width: 74%; filter: drop-shadow(0 24px 22px rgba(10, 11, 6, .25)); animation: float 7s ease-in-out infinite; }
.side-card.lime-card .num { font: 500 3.6rem/1 var(--font); letter-spacing: -.05em; }
.side-card.lime-card p { font: 500 .95rem/1.35 var(--font); max-width: 13ch; }
.side-card.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.side-card.photo:hover img { transform: scale(1.06); }
.side-card.photo .cap { position: absolute; left: 0; bottom: 0; padding: 14px 20px 4px 4px; font: 500 .85rem/1.3 var(--font); --cut: #fff; }
.side-card.photo .cap small { display: block; color: var(--muted); font: 400 .74rem var(--font-body); }

/* marquee */
.marquee { overflow: hidden; padding-block: 26px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: flex; align-items: center; gap: 12px; font: 600 .95rem/1 var(--font); color: var(--ink-4); white-space: nowrap; opacity: .8; }
.mq-item svg { width: 26px; height: 26px; color: var(--ink); }
.mq-item small { display: block; font: 400 .7rem var(--font-body); color: var(--muted); margin-top: 3px; }

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.s-head { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 28px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.s-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.s-head .h2 { margin-top: 18px; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .09s); }
.in .split-line > span, .split-line.in > span { transform: none; }

/* ==========================================================================
   VALUES (stone panel)
   ========================================================================== */
.panel { background: var(--stone); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value {
  position: relative; padding: 26px 24px 28px; border-radius: var(--radius-md); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); min-height: 260px; display: flex; flex-direction: column;
  transition: background .6s var(--ease), color .6s var(--ease), transform .6s var(--ease); overflow: hidden; cursor: default;
}
.value .vi { width: 46px; height: 46px; border-radius: 14px; background: var(--lime-tint); display: grid; place-items: center; transition: background .5s; }
.value .vi svg { width: 22px; height: 22px; }
.value h3 { margin-top: auto; padding-top: 40px; font-size: 1.5rem; letter-spacing: -.025em; }
.value p { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.55; transition: color .5s; }
.value .vn { position: absolute; top: 26px; right: 24px; font: .62rem var(--font-brand); color: var(--muted-2); }
.value.active, .values:hover .value:hover { background: var(--ink); color: #fff; transform: translateY(-6px); }
.values:hover .value.active:not(:hover) { background: var(--paper); color: var(--ink); transform: none; }
.values:hover .value.active:not(:hover) p { color: var(--muted); }
.values:hover .value.active:not(:hover) .vi { background: var(--lime-tint); }
.value.active p, .values .value:hover p { color: rgba(255, 255, 255, .7); }
.value.active .vi, .values .value:hover .vi { background: var(--lime); }
.value::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -70px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(179, 205, 8, .55), rgba(179, 205, 8, 0) 70%); opacity: 0; transition: opacity .6s;
}
.value.active::after, .values .value:hover::after { opacity: 1; }
.values:hover .value.active:not(:hover)::after { opacity: 0; }

/* ==========================================================================
   AUDIENCE CARDS (abstract industry shapes)
   ========================================================================== */
.aud-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.aud {
  position: relative; border-radius: var(--radius-md); padding: clamp(24px, 3vw, 40px); min-height: 330px;
  overflow: hidden; display: flex; flex-direction: column; isolation: isolate;
}
.aud.c1 { background: var(--lime-tint); }
.aud.c2 { background: var(--stone); }
.aud.c3 { background: var(--ink); color: #fff; }
.aud.c4 { background: #e9ecdf; }
.aud .chip { align-self: flex-start; box-shadow: 0 1px 0 var(--line); }
.aud.c3 .chip { background: rgba(255, 255, 255, .1); color: #fff; }
.aud h3 { margin-top: auto; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.035em; }
.aud p { max-width: 34ch; margin-top: 12px; font-size: .95rem; color: var(--muted); }
.aud.c3 p { color: var(--on-dark); }
.aud .link-arrow { margin-top: 26px; align-self: flex-start; }
.aud .shape { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: -1; transition: transform 1.2s var(--ease); }
.aud:hover .shape { transform: translateX(-10px) scale(1.03); }
.aud .shape svg { width: 100%; height: 100%; }

/* ==========================================================================
   SPECIALTIES (3D objects)
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-md); background: var(--stone);
  padding: 28px 26px 30px; min-height: 400px; display: flex; flex-direction: column; transition: color .6s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(120% 90% at 100% 0%, rgba(179, 205, 8, .38), rgba(179, 205, 8, 0) 55%), linear-gradient(160deg, #1d2012, #0a0b06);
}
.svc .num { font: .64rem var(--font-brand); letter-spacing: .12em; color: var(--muted); transition: color .4s; }
.svc .obj {
  width: 132px; height: 132px; object-fit: contain; margin: 18px 0 auto -10px;
  filter: drop-shadow(0 22px 18px rgba(10, 11, 6, .22)) drop-shadow(0 4px 4px rgba(10, 11, 6, .12));
  animation: float 7s ease-in-out infinite; transition: transform .8s var(--ease), filter .8s var(--ease);
}
.svc:nth-child(4n+2) .obj { animation-delay: -2.3s; }
.svc:nth-child(4n+3) .obj { animation-delay: -4.6s; }
.svc:nth-child(4n) .obj { animation-delay: -1.2s; }
.svc h3 { margin-top: 34px; font-size: clamp(1.3rem, 1.7vw, 1.55rem); }
.svc p { margin-top: 10px; font-size: .9rem; color: var(--muted); max-width: 34ch; transition: color .5s; }
.svc .link-arrow { margin-top: 22px; align-self: flex-start; }
.svc:hover, .svc.is-inview { color: #fff; }
.svc:hover::before, .svc.is-inview::before { opacity: 1; }
.svc:hover .num, .svc.is-inview .num { color: var(--lime); }
.svc:hover p, .svc.is-inview p { color: rgba(255, 255, 255, .72); }
.svc:hover .obj, .svc.is-inview .obj { transform: rotate(-12deg) scale(1.1); filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(179, 205, 8, .25)); }
.svc.intro { background: var(--lime); justify-content: space-between; }
.svc.intro::before { display: none; }
.svc.intro:hover { color: var(--ink); }
.svc.intro .h2 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
.svc.intro p { color: var(--ink-3); }
.svc.intro:hover p { color: var(--ink-3); }

/* ==========================================================================
   EXPLORE (type cards with notch arrows)
   ========================================================================== */
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ex-card { display: block; }
.ex-media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3 / 3.7; background: var(--stone); --cut: #fff; }
.ex-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ex-card:hover .ex-media img { transform: scale(1.07); }
.ex-card h3 { margin-top: 18px; font-size: 1.35rem; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ex-card h3 small { font: .62rem var(--font-brand); color: var(--muted); letter-spacing: .1em; }
.ex-card p { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.ring-badge {
  position: absolute; top: 8px; right: 8px; width: 104px; height: 104px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; text-align: center; font: 600 .74rem/1.25 var(--font); z-index: 3; box-shadow: 0 0 0 8px #fff;
  transition: transform .6s var(--ease), background .3s, color .3s;
}
.ex-card:hover .ring-badge { transform: scale(1.06) rotate(-6deg); background: var(--lime); color: var(--ink); }

/* ==========================================================================
   LISTING CARDS
   ========================================================================== */
.l-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--stone); border-radius: 999px; flex-wrap: wrap; }
.l-tabs button { padding: 10px 18px; border-radius: 999px; font: 500 .86rem/1 var(--font); color: var(--muted); transition: background .3s, color .3s; }
.l-tabs button.on { background: var(--ink); color: #fff; }
.l-tabs button:not(.on):hover { color: var(--ink); }
.dark .l-tabs { background: rgba(255, 255, 255, .06); }
.dark .l-tabs button.on { background: var(--lime); color: var(--ink); }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 30vw, 400px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s; }
.rail-ctrl button:hover { background: var(--ink); color: var(--lime); }
.rail-ctrl svg { width: 18px; height: 18px; }

.lcard { display: block; position: relative; }
.lcard .lm { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3.15; background: var(--stone); --cut: var(--card-bg, #fff); }
.lcard .lm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.lcard:hover .lm img { transform: scale(1.06); }
.lcard .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 2; }
.lcard .badges .chip { height: 28px; font-size: .74rem; padding: 0 11px; }
.lcard .price-tab { padding: 10px 18px 2px 2px; font: 600 1.15rem/1 var(--font); letter-spacing: -.02em; }
.lcard .price-tab small { font: 500 .72rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.lcard .lbody { padding: 16px 4px 4px; }
.lcard h3 { font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.25; }
.lcard .loc { margin-top: 6px; font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.lcard .loc svg { width: 14px; height: 14px; color: var(--lime-3); }
.lcard .facts { display: flex; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); flex-wrap: wrap; }
.lcard .facts span { display: inline-flex; align-items: center; gap: 6px; }
.lcard .facts svg { width: 15px; height: 15px; color: var(--muted); }
.dark .lcard { --card-bg: var(--ink); }
.dark .lcard .lm { --cut: var(--ink); }
.dark .lcard .price-tab small, .dark .lcard .loc { color: var(--on-dark); }
.dark .lcard .facts { border-color: rgba(255, 255, 255, .1); color: #fff; }
.lcard.hl-pin .lm { box-shadow: 0 0 0 3px var(--lime); }

/* ==========================================================================
   MAP
   ========================================================================== */
.map-sec { border-radius: var(--radius); overflow: hidden; position: relative; }
.map-grid { display: grid; grid-template-columns: 380px 1fr; min-height: 640px; }
.map-side { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.map-side .obj { width: 120px; margin: -10px 0 -10px -10px; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); animation: float 7s ease-in-out infinite; }
.region-list { display: grid; gap: 8px; margin-top: auto; }
.region {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); transition: background .3s; cursor: pointer; text-align: left; width: 100%; color: #fff;
}
.region:hover, .region.on { background: rgba(179, 205, 8, .14); }
.region b { font: 500 1rem var(--font); }
.region small { display: block; color: var(--on-dark); font-size: .76rem; }
.region .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.region .bar i { display: block; height: 100%; background: var(--lime); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.in .region .bar i { transform: scaleX(var(--w, 0)); }
.region .count { font: 500 1.4rem var(--font); }
.map-canvas { position: relative; min-height: 420px; background: #121409; }
.map-canvas #map, .map-canvas .map { position: absolute; inset: 0; }
.leaflet-container { background: #121409 !important; font-family: var(--font-body) !important; }
.mr-pin {
  width: 38px !important; height: 38px !important; margin: -38px 0 0 -19px !important; background: none; border: 0;
}
.mr-pin .p {
  width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--lime);
  display: grid; place-items: center; box-shadow: 0 8px 16px -4px rgba(0, 0, 0, .5), 0 0 0 3px rgba(10, 11, 6, .85); transition: transform .3s var(--ease);
}
.mr-pin .p span { transform: rotate(45deg); font: 700 .66rem/1 var(--font); color: var(--ink); }
.mr-pin.on .p, .mr-pin:hover .p { transform: rotate(-45deg) scale(1.22); background: #fff; }
.mr-pin.office .p { background: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.mr-pin.office .p span { color: var(--lime); }
.leaflet-popup-content-wrapper { border-radius: 18px !important; padding: 0 !important; overflow: hidden; box-shadow: var(--shadow-lg) !important; }
.leaflet-popup-content { margin: 0 !important; width: 250px !important; }
.leaflet-popup-tip { background: #fff !important; }
.pop img { width: 100%; height: 130px; object-fit: cover; }
.pop .pb { padding: 12px 14px 14px; }
.pop .pp { font: 600 1rem var(--font); color: var(--ink); }
.pop .pt { font-size: .8rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.pop a.pl { display: inline-flex; margin-top: 10px; font: 600 .8rem var(--font); color: var(--ink); border-bottom: 1px solid; }
.leaflet-control-zoom a { background: var(--ink) !important; color: #fff !important; border-color: rgba(255, 255, 255, .1) !important; }
.leaflet-control-attribution { background: rgba(10, 11, 6, .6) !important; color: rgba(255, 255, 255, .5) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: rgba(255, 255, 255, .7) !important; }
.map-legend { position: absolute; z-index: 500; left: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ==========================================================================
   QUOTE CARD (testimonial-style)
   ========================================================================== */
.quote-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: #fff; min-height: 460px;
  display: grid; grid-template-columns: 1.4fr 1fr; isolation: isolate;
}
.quote-card .qbg { position: absolute; inset: 0; z-index: -1; }
.quote-card .qbg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1) contrast(1.1); }
.quote-card .qbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-2) 20%, rgba(20, 22, 13, .6) 70%, rgba(20, 22, 13, .2)); }
.quote-body { padding: clamp(30px, 4.5vw, 64px); display: flex; flex-direction: column; }
.quote-stage { position: relative; flex: 1; min-height: 220px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .9s var(--ease); pointer-events: none; }
.quote.on { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0; font: 500 clamp(1.6rem, 2.9vw, 2.6rem)/1.15 var(--font); letter-spacing: -.03em; }
.quote blockquote::before { content: "\201C"; color: var(--lime); }
.quote blockquote::after { content: "\201D"; color: var(--lime); }
.quote-meta { padding: 14px 24px 2px 2px; --cut: #fff; color: var(--ink); }
.quote-meta b { font: 600 1.05rem var(--font); display: block; }
.quote-meta small { color: var(--muted); font-size: .76rem; }
.quote-person { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.quote-person img { width: min(360px, 90%); border-radius: 22px 22px 0 0; object-fit: cover; aspect-ratio: 3 / 4; object-position: 50% 20%; filter: drop-shadow(0 -10px 40px rgba(0, 0, 0, .35)); }
.q-ctrl {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; justify-content: space-between;
  height: 180px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.q-ctrl button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .3s, color .3s; }
.q-ctrl button:hover { background: var(--lime); color: var(--ink); }
.q-ctrl .qdots { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.q-ctrl .qdots i { width: 4px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); transition: height .4s var(--ease), background .3s; }
.q-ctrl .qdots i.on { height: 18px; background: var(--lime); }

/* ==========================================================================
   PLAN CARDS (how we work)
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { position: relative; border-radius: var(--radius-md); background: var(--stone); padding: 64px 28px 28px; text-align: center; display: flex; flex-direction: column; }
.plan .ptab { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 0 8px 8px; background: #fff; border-radius: 0 0 18px 18px; }
.plan .ptab::before, .plan .ptab::after { content: ""; position: absolute; top: 0; width: 18px; height: 18px; }
.plan .ptab::before { left: -18px; background: radial-gradient(circle at 0 100%, transparent 17.5px, #fff 18px); }
.plan .ptab::after { right: -18px; background: radial-gradient(circle at 100% 100%, transparent 17.5px, #fff 18px); }
.plan .ptab span { display: block; padding: 10px 26px; border-radius: 12px; background: var(--ink); color: #fff; font: 600 1rem var(--font); }
.plan.feature { background: var(--lime-tint); }
.plan.feature .ptab span { background: var(--lime); color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; font-size: .9rem; color: var(--ink-3); }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.plan ul li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3cd08' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan .pfoot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 12px; }
.plan .pfoot small { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.plan .pfoot b { font: 500 1.9rem/1 var(--font); letter-spacing: -.04em; }

/* ==========================================================================
   STATS + CTA
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.stat { padding: 30px 22px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 22px; }
.stat b { display: block; font: 500 clamp(2.6rem, 5vw, 4.4rem)/1 var(--font); letter-spacing: -.05em; }
.stat b sup { font-size: .45em; color: var(--lime-3); vertical-align: top; margin-left: 3px; }
.stat span { display: block; margin-top: 10px; font-size: .86rem; color: var(--muted); max-width: 22ch; }
.dark .stats { border-color: rgba(255, 255, 255, .14); }
.dark .stat { border-color: rgba(255, 255, 255, .1); }
.dark .stat b sup { color: var(--lime); }

.cta-band {
  position: relative; border-radius: var(--radius); background: var(--lime); overflow: hidden; isolation: isolate;
  padding: clamp(36px, 6vw, 90px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
}
.cta-band .h1 { max-width: 13ch; }
.cta-band p { margin-top: 18px; max-width: 42ch; color: var(--ink-3); }
.cta-band .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.cta-art { position: relative; height: 100%; min-height: 320px; }
.cta-art .obj { position: absolute; width: 74%; right: 4%; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 40px 40px rgba(10, 11, 6, .3)); animation: float 8s ease-in-out infinite; }
.cta-art .orb { position: absolute; border-radius: 50%; }
.cta-art .orb.a { width: 46%; aspect-ratio: 1; left: 0; top: 4%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .12) 70%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 40px 60px -30px rgba(10, 11, 6, .35); animation: float 9s ease-in-out infinite reverse; }
.cta-art .orb.b { width: 18%; aspect-ratio: 1; right: 0; bottom: 6%; background: radial-gradient(circle at 35% 30%, #4a4f38, #0a0b06 70%); box-shadow: 0 30px 40px -20px rgba(10, 11, 6, .6); animation: float 6s ease-in-out infinite; }
.grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 80% at 70% 50%, #000, transparent); }

/* ==========================================================================
   CONTACT BLOCK
   ========================================================================== */
.touch { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.touch-copy { padding: clamp(10px, 2vw, 30px) clamp(0px, 2vw, 30px) 0 0; display: flex; flex-direction: column; }
.touch-list { margin-top: auto; padding-top: 40px; display: grid; }
.touch-list a, .touch-list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.touch-list span:first-child { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.touch-list svg { width: 16px; height: 16px; color: var(--ink); }
.touch-list a:hover span:last-child { color: var(--lime-3); }
.touch-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; --cut: #fff; }
.touch-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.spin-badge { position: absolute; top: 26px; right: 26px; width: 150px; height: 150px; display: grid; place-items: center; }
.spin-badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge .core { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.spin-badge .core img { width: 36px; }
.touch-media .news { position: absolute; left: 0; bottom: 0; padding: 22px 26px 4px 4px; max-width: 420px; }
.news form { display: flex; gap: 6px; margin-top: 12px; padding: 6px; border-radius: 999px; background: var(--stone); }
.news input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; outline: none; font-size: .9rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot { background: var(--ink); color: #fff; margin-top: 14px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; position: relative; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: clamp(56px, 7vw, 100px) 40px; }
.foot-top h4 { font: .64rem var(--font-brand); letter-spacing: .14em; color: var(--lime); margin-bottom: 18px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-top a { color: rgba(255, 255, 255, .72); font-size: .92rem; transition: color .3s; }
.foot-top a:hover { color: var(--lime); }
.foot-top .fl { height: 44px; }
.foot-top .fintro p { color: rgba(255, 255, 255, .6); font-size: .92rem; margin-top: 20px; max-width: 36ch; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background .3s, color .3s; color: #fff; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.foot-word { font: 400 clamp(3rem, 13.4vw, 13rem)/.8 var(--font-brand); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); white-space: nowrap; text-align: center; padding-bottom: 10px; user-select: none; }
.foot-word span { color: var(--lime); -webkit-text-stroke: 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: rgba(255, 255, 255, .5); }
.foot-bottom a { color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.page-hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(440px, 64vh, 620px); background: var(--ink); color: #fff; isolation: isolate; display: flex; align-items: flex-end; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 115%; object-fit: cover; transform: scale(1.1); transition: transform 2.2s var(--ease-out); }
.loaded .page-hero .bg img { transform: scale(1); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 6, .82) 0%, rgba(10, 11, 6, .35) 60%, rgba(10, 11, 6, .1)), linear-gradient(0deg, rgba(10, 11, 6, .55), transparent 50%); }
.page-hero .ph-inner { width: 100%; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.page-hero .h1 { max-width: 16ch; margin-top: 18px; }
.page-hero .lede { color: rgba(255, 255, 255, .78); margin-top: 18px; }
.page-hero .ph-obj { width: clamp(150px, 18vw, 260px); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .5)); animation: float 7s ease-in-out infinite; }
.page-hero.solid { background: var(--stone); color: var(--ink); }
.page-hero.solid::after { display: none; }
.page-hero.solid .lede { color: var(--muted); }
.page-hero.lime { background: var(--lime); color: var(--ink); }
.page-hero.lime::after { display: none; }
.page-hero.lime .lede { color: var(--ink-3); }
.crumbs { display: flex; gap: 8px; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.solid .crumbs, .lime .crumbs { color: var(--muted); }
.crumbs a:hover { color: var(--lime); }

/* ==========================================================================
   PROPERTIES PAGE
   ========================================================================== */
.filter-bar {
  position: sticky; top: 86px; z-index: 30; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px -24px rgba(10, 11, 6, .35), inset 0 0 0 1px var(--line);
}
.fsel { position: relative; }
.fsel select {
  appearance: none; -webkit-appearance: none; height: 46px; padding: 0 40px 0 18px; border-radius: 999px; border: 0; background: var(--stone);
  font: 500 .88rem var(--font); cursor: pointer; outline: none;
}
.fsel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.fsearch { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--stone); }
.fsearch input { border: 0; background: none; outline: none; width: 100%; font-size: .9rem; }
.fsearch svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.view-toggle { display: flex; padding: 4px; background: var(--stone); border-radius: 999px; }
.view-toggle button { height: 38px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; gap: 6px; font: 500 .84rem var(--font); color: var(--muted); }
.view-toggle button.on { background: var(--ink); color: #fff; }
.view-toggle svg { width: 15px; height: 15px; }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 22px; gap: 16px; flex-wrap: wrap; }
.results-meta b { font: 500 1.4rem var(--font); letter-spacing: -.02em; }
.split-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.split-view.grid-only { grid-template-columns: 1fr; }
.split-view.grid-only .map-col { display: none; }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 30px 16px; }
.map-col { position: sticky; top: 160px; height: calc(100vh - 180px); min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.map-col #pmap { position: absolute; inset: 0; }
.empty { padding: 60px 20px; text-align: center; border-radius: var(--radius); background: var(--stone); grid-column: 1 / -1; }
.empty img { width: 120px; margin: 0 auto 10px; }

/* ==========================================================================
   PROPERTY DETAIL
   ========================================================================== */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(380px, 62vh, 640px); }
.gallery .g { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: zoom-in; background: var(--stone); }
.gallery .g:first-child { grid-row: 1 / 3; border-radius: var(--radius); }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery .g:hover img { transform: scale(1.05); }
.gallery .more { position: absolute; inset: 0; background: rgba(10, 11, 6, .55); color: #fff; display: grid; place-items: center; font: 600 1rem var(--font); }
.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; margin-top: 40px; align-items: start; }
.p-title { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; flex-wrap: wrap; }
.p-price { font: 500 clamp(2rem, 3.6vw, 3rem)/1 var(--font); letter-spacing: -.04em; }
.p-price small { font-size: .9rem; color: var(--muted); letter-spacing: 0; }
.p-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; }
.p-fact { padding: 18px; border-radius: var(--radius-sm); background: var(--stone); }
.p-fact small { display: block; font: .58rem var(--font-brand); letter-spacing: .12em; color: var(--muted); }
.p-fact b { display: block; margin-top: 10px; font: 500 1.2rem var(--font); letter-spacing: -.02em; }
.p-block { margin-top: 48px; }
.p-block h2 { font-size: 1.7rem; margin-bottom: 18px; }
.feat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-chips span { padding: 10px 16px; border-radius: 999px; background: var(--lime-wash); box-shadow: inset 0 0 0 1px rgba(142, 163, 5, .25); font-size: .86rem; display: inline-flex; gap: 8px; align-items: center; }
.feat-chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-3); }
.agent-card { position: sticky; top: 100px; border-radius: var(--radius); background: var(--ink); color: #fff; padding: 26px; overflow: hidden; isolation: isolate; }
.agent-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(179, 205, 8, .35), transparent 70%); z-index: -1; }
.agent-row { display: flex; gap: 14px; align-items: center; }
.agent-row img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--lime); }
.agent-row b { font: 600 1.05rem var(--font); display: block; }
.agent-row small { color: var(--on-dark); font-size: .8rem; }
.agent-card form { display: grid; gap: 8px; margin-top: 22px; }
.field { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .07); color: #fff; outline: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: box-shadow .3s; }
textarea.field { height: 100px; padding: 14px 16px; resize: vertical; }
.field:focus { box-shadow: inset 0 0 0 1.5px var(--lime); }
.field::placeholder { color: rgba(255, 255, 255, .45); }
.light-form .field { background: var(--stone); color: var(--ink); box-shadow: inset 0 0 0 1px transparent; }
.light-form .field::placeholder { color: var(--muted-2); }
.light-form .field:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.agent-card .btn { width: 100%; justify-content: space-between; }
.wa { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .08); font: 600 .9rem var(--font); margin-top: 8px; transition: background .3s; }
.wa:hover { background: #25d366; color: #fff; }
.wa svg { width: 18px; height: 18px; }
.mini-map { height: 340px; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 11, 6, .94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; animation: fadeIn .4s; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 18px; object-fit: contain; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.lightbox button:hover { background: var(--lime); color: var(--ink); }
.lightbox .lb-x { top: 20px; right: 20px; }
.lightbox .lb-p { left: 20px; top: 50%; }
.lightbox .lb-n { right: 20px; top: 50%; }
.lightbox .lb-c { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font: .7rem var(--font-brand); letter-spacing: .14em; }

/* calculator */
.calc { border-radius: var(--radius); background: var(--stone); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.calc label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.calc .row { margin-bottom: 22px; }
.calc .row .val { float: right; font: 600 .9rem var(--font); color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--stone-2) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); border: 4px solid var(--ink); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 4px solid var(--ink); cursor: pointer; }
.calc-out { background: var(--ink); color: #fff; border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; }
.calc-out .big { font: 500 2.6rem/1 var(--font); letter-spacing: -.04em; margin-top: 8px; }
.calc-out .big small { font-size: .9rem; color: var(--on-dark); letter-spacing: 0; }
.calc-out svg { width: 100%; height: 150px; margin-top: auto; }
.calc-legend { display: flex; gap: 16px; font-size: .76rem; color: var(--on-dark); margin-top: 10px; }
.calc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: clamp(50px, 7vw, 100px); border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-art { order: 2; }
.svc-art { position: relative; border-radius: var(--radius); background: var(--stone); aspect-ratio: 1 / .86; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.svc-art.dk { background: var(--ink); }
.svc-art.lm { background: var(--lime); }
.svc-art .obj { width: 56%; filter: drop-shadow(0 40px 40px rgba(10, 11, 6, .3)); animation: float 7s ease-in-out infinite; }
.svc-art .glass-chip { position: absolute; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 20px 40px -20px rgba(10, 11, 6, .3); font-size: .8rem; max-width: 200px; line-height: 1.35; }
.svc-art.dk .glass-chip { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.svc-art .glass-chip b { display: block; font: 500 1.4rem/1.1 var(--font); letter-spacing: -.03em; margin-bottom: 2px; }
.svc-art .gc1 { left: 7%; top: 9%; animation: float 8s ease-in-out infinite; }
.svc-art .gc2 { right: 7%; bottom: 9%; animation: float 9s ease-in-out -3s infinite; }
.svc-art .ring-deco { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(10, 11, 6, .15); z-index: -1; animation: spin 60s linear infinite; }
.svc-art.dk .ring-deco { border-color: rgba(255, 255, 255, .12); }
.svc-copy .num { font: .7rem var(--font-brand); color: var(--lime-3); letter-spacing: .14em; }
.svc-copy h2 { margin-top: 16px; }
.svc-copy .lede { margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { display: flex; gap: 10px; font-size: .9rem; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b06' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pull { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--lime); background: var(--lime-wash); border-radius: 0 14px 14px 0; font: 500 1.02rem/1.45 var(--font); font-style: italic; }

/* process timeline */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); counter-increment: s; transition: background .4s, transform .6s var(--ease); }
.step:hover { background: rgba(179, 205, 8, .12); transform: translateY(-6px); }
.step::before { content: "0" counter(s); font: .66rem var(--font-brand); color: var(--lime); letter-spacing: .14em; }
.step h3 { font-size: 1.2rem; margin-top: 40px; }
.step p { font-size: .86rem; color: var(--on-dark); margin-top: 10px; }
.step .sdot { position: absolute; top: 22px; right: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(179, 205, 8, .15); }
.steps-line { position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(179, 205, 8, .5), transparent); pointer-events: none; }
.light-steps .step { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.light-steps .step p { color: var(--muted); }
.light-steps .step::before { color: var(--lime-3); }
.light-steps .step:hover { background: var(--lime-tint); }

/* ==========================================================================
   AUCTIONS
   ========================================================================== */
.bid-board { border-radius: var(--radius); background: var(--ink-2); color: #fff; padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.bid-board .bb-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 8px; font: .62rem var(--font-brand); letter-spacing: .14em; color: var(--lime); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.6s infinite; }
.bid-chart { width: 100%; height: 260px; margin-top: 20px; }
.bid-feed { display: grid; gap: 8px; margin-top: 18px; }
.bid-feed div { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .86rem; animation: slideIn .6s var(--ease-out); }
.bid-feed div:first-child { background: rgba(179, 205, 8, .16); }
.bid-feed b { font-family: var(--font); }

/* ==========================================================================
   ABOUT / TEAM
   ========================================================================== */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mvv .card { border-radius: var(--radius-md); padding: 30px; background: var(--stone); min-height: 280px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mvv .card.dk { background: var(--ink); color: #fff; }
.mvv .card.lm { background: var(--lime); }
.mvv .card h3 { font-size: 1.6rem; margin-top: auto; padding-top: 50px; }
.mvv .card p { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.mvv .card.dk p { color: var(--on-dark); }
.mvv .card.lm p { color: var(--ink-3); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 14px; }
.member { cursor: pointer; text-align: left; }
.member .ph { position: relative; aspect-ratio: 3 / 3.8; border-radius: var(--radius-md); overflow: hidden; background: var(--stone); --cut: #fff; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.member:hover .ph img, .member:focus-visible .ph img { filter: grayscale(0); transform: scale(1.05); }
.member h3 { margin-top: 16px; font-size: 1.2rem; }
.member p { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.member.lead { grid-column: span 2; grid-row: span 2; }
.member.lead .ph { aspect-ratio: auto; height: calc(100% - 70px); min-height: 420px; }
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 11, 6, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal.open { display: flex; animation: fadeIn .3s; }
.modal-card { position: relative; width: min(860px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: var(--radius); display: grid; grid-template-columns: 300px 1fr; animation: popIn .5s var(--ease-out); }
.modal-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; min-height: 320px; }
.modal-card .mb { padding: 34px; }
.modal-card .mb p { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.modal-card .x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dev { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.dev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.dev::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 6, .85), transparent 60%); }
.dev:hover img { transform: scale(1.06); }
.dev .db { padding: 22px; }
.dev .db small { font: .58rem var(--font-brand); letter-spacing: .14em; color: var(--lime); }
.dev .db h3 { font-size: 1.4rem; margin-top: 8px; }
.dev.blank { background: var(--lime); color: var(--ink); }
.dev.blank::after { display: none; }
.dev.blank .obj { position: absolute; width: 70%; top: 8%; left: 15%; filter: drop-shadow(0 30px 30px rgba(10, 11, 6, .3)); animation: float 7s ease-in-out infinite; z-index: -1; }
.dev.blank small { color: var(--ink); }
.diff { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.diff .d { border-radius: var(--radius-md); padding: 26px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.diff .d svg { width: 34px; height: 34px; color: var(--lime); }
.diff .d h3 { font-size: 1.25rem; margin-top: 30px; }
.diff .d p { color: var(--on-dark); font-size: .86rem; margin-top: 8px; }

/* ==========================================================================
   MARKET / CHARTS
   ========================================================================== */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { border-radius: var(--radius-md); background: var(--stone); padding: 24px; position: relative; overflow: hidden; }
.kpi small { font: .58rem var(--font-brand); letter-spacing: .14em; color: var(--muted); }
.kpi b { display: block; font: 500 clamp(2rem, 3.4vw, 2.8rem)/1 var(--font); letter-spacing: -.045em; margin-top: 18px; }
.kpi span { display: block; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.kpi.dk { background: var(--ink); color: #fff; }
.kpi.dk small, .kpi.dk span { color: var(--on-dark); }
.kpi.lm { background: var(--lime); }
.kpi.lm small, .kpi.lm span { color: var(--ink-3); }
.kpi .spark { position: absolute; right: 16px; top: 16px; width: 90px; height: 34px; }
.charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 14px; }
.chart-card { border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 2.6vw, 32px); position: relative; }
.chart-card.dk { background: var(--ink); color: #fff; box-shadow: none; }
.chart-card h3 { font-size: 1.25rem; }
.chart-card .sub { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.chart-card.dk .sub { color: var(--on-dark); }
.chart { width: 100%; margin-top: 20px; overflow: visible; }
.chart text { font: 500 11px var(--font-body); fill: var(--muted); }
.chart-card.dk .chart text { fill: rgba(255, 255, 255, .55); }
.chart .lbl { font: 600 12px var(--font); fill: var(--ink); }
.chart-card.dk .chart .lbl { fill: #fff; }
.chart .bar { transition: opacity .3s; }
.chart .bar:hover { opacity: .8; }
.tooltip { position: fixed; z-index: 300; pointer-events: none; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .8rem; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.tooltip.on { opacity: 1; transform: none; }
.tooltip b { color: var(--lime); font-family: var(--font); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.chart-card.dk .legend { color: var(--on-dark); }
.note { font-size: .78rem; color: var(--muted); margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; }
.note::before { content: "i"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--stone-2); display: grid; place-items: center; font: 700 .65rem/16px var(--font); text-align: center; color: var(--ink); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form { border-radius: var(--radius); background: var(--stone); padding: clamp(24px, 3.5vw, 48px); }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-form form { display: grid; gap: 8px; margin-top: 26px; }
.contact-form .field { background: #fff; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.topic-chips label { cursor: pointer; }
.topic-chips input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; font: 500 .84rem var(--font); transition: background .3s, color .3s; }
.topic-chips input:checked + span { background: var(--ink); color: var(--lime); }
.topic-chips input:focus-visible + span { outline: 2px solid var(--lime-3); outline-offset: 2px; }
.contact-cards { display: grid; gap: 14px; grid-template-rows: auto 1fr; }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard { border-radius: var(--radius-md); padding: 24px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 6px; min-height: 160px; }
.ccard.lm { background: var(--lime); color: var(--ink); }
.ccard small { font: .58rem var(--font-brand); letter-spacing: .14em; opacity: .7; }
.ccard b { margin-top: auto; font: 500 1.1rem/1.35 var(--font); }
.ccard a:hover { text-decoration: underline; }
.form-ok { display: none; padding: 16px; border-radius: 14px; background: var(--lime); color: var(--ink); font-weight: 500; font-size: .9rem; }
.form-ok.show { display: block; animation: fadeIn .4s; }

/* ==========================================================================
   REVEAL / MOTION
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
[data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--radius)); }
.intro-mask { position: fixed; inset: 0; z-index: 500; background: var(--ink); display: grid; place-items: center; transition: clip-path 1s var(--ease-io) .1s; clip-path: inset(0 0 0 0); }
.intro-mask img { width: 90px; animation: introMark 1s var(--ease-out) both; }
.loaded .intro-mask { clip-path: inset(0 0 100% 0); }
.tilt { transition: transform .6s var(--ease); will-change: transform; }

@keyframes float { 50% { transform: translateY(-18px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(179, 205, 8, .6); } 100% { box-shadow: 0 0 0 12px rgba(179, 205, 8, 0); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } }
@keyframes introMark { from { opacity: 0; transform: scale(.8) translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .split-line > span { transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .explore { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .nav-pill a.nl { padding: 12px 11px; font-size: .84rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .member.lead { grid-column: span 1; grid-row: span 1; }
  .member.lead .ph { aspect-ratio: 3 / 3.8; height: auto; min-height: 0; }
  .diff, .kpis { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .nav-pill a.nl, .nav-pill .btn { display: none; }
  .nav-pill { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
  .burger { display: grid; }
  .sticky-bar nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: 260px; }
  .hero-glass { display: none; }
  .s-head { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .map-canvas { min-height: 480px; }
  .quote-card { grid-template-columns: 1fr; }
  .quote-person { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-art { min-height: 260px; }
  .touch { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .split-view { grid-template-columns: 1fr; }
  .map-col { position: relative; top: 0; height: 460px; order: -1; }
  .p-layout { grid-template-columns: 1fr; }
  .agent-card { position: relative; top: 0; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-art { order: 0; }
  .mvv { grid-template-columns: 1fr; }
  .charts { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .filter-bar { border-radius: 24px; top: 70px; }
}
@media (max-width: 640px) {
  :root { --radius: 22px; --radius-md: 18px; --notch: 18px; }
  .brand-tab { padding: 12px 16px 14px 4px; }
  .brand-tab .logo { height: 28px; }
  .brand-tab .sep, .brand-tab .badge-mini { display: none; }
  .nav-pill { margin: 10px 10px 0 0; }
  .hero-main { min-height: 640px; }
  .hero-copy { grid-template-columns: 1fr; }
  .hero h1 .row.indent { padding-left: 0; }
  .hero-side { grid-template-columns: 1fr; grid-template-rows: 240px 260px; }
  .svc-grid, .explore, .values { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc .obj { width: 104px; height: 104px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .foot-top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 120px; height: auto; }
  .gallery .g:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery .g:nth-child(n+4) { display: none; }
  .p-facts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .diff, .kpis, .timeline { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card img { min-height: 0; max-height: 300px; }
  .ticks { grid-template-columns: 1fr; }
  .ccards, .contact-form .two { grid-template-columns: 1fr; }
  .page-hero .ph-inner { grid-template-columns: 1fr; }
  .page-hero .ph-obj { width: 130px; position: absolute; right: 16px; top: 90px; }
  .spin-badge { width: 110px; height: 110px; top: 16px; right: 16px; }
  .touch-media { min-height: 460px; }
  .quote-card { min-height: 520px; }
  .q-ctrl { top: auto; bottom: 18px; right: 18px; transform: none; flex-direction: row; height: auto; width: 150px; }
  .q-ctrl .qdots { flex-direction: row; }
  .q-ctrl .qdots i.on { height: 4px; width: 18px; }
  .view-toggle { display: none; }
  .filter-bar { position: relative; top: 0; }
  .fsel, .fsel select { flex: 1; width: 100%; }
  .aud .shape { width: 60%; opacity: .55; }
}

/* ==========================================================================
   QA FIXES — round 1
   ========================================================================== */
.brand-tab { position: relative; }
@media (max-width: 1600px) { .brand-tab .sep, .brand-tab .badge-mini { display: none; } }
.nav-pill a.nl { padding: 12px 13px; }
/* a corner covered by a notch tab must not be rounded, or it clips the tab content */
:has(> .tab.bl) { border-bottom-left-radius: 0 !important; }
:has(> .tab.tl) { border-top-left-radius: 0 !important; }
:has(> .tab.tr) { border-top-right-radius: 0 !important; }
:has(> .tab.br) { border-bottom-right-radius: 0 !important; }
.section { padding-block: clamp(64px, 7.5vw, 116px); }
.section.tight { padding-block: clamp(40px, 5vw, 76px); }
/* parallax images need bleed so the frame never shows a gap */
.ex-media img[data-parallax], .touch-media img[data-parallax] { height: 124%; top: -12%; position: relative; }
.touch-media img[data-parallax] { position: absolute; }
/* stats labels (not the counter span inside <b>) */
.stat span { display: inline; margin: 0; font-size: inherit; color: inherit; max-width: none; }
.stat > span { display: block; margin-top: 10px; font-size: .86rem; color: var(--muted); max-width: 22ch; }
.dark .stat > span { color: var(--on-dark); }
.spin-badge .core { position: relative; z-index: 1; }
.spin-badge .core img { width: 30px; }
/* hero copy: headline gets the full width, note pinned bottom-right */
.hero-copy { grid-template-columns: 1fr; }
.hero-note { position: absolute; right: 0; bottom: 0; max-width: 290px; }
.hero h1.h-display { font-size: clamp(2.8rem, 6.4vw, 6rem); }
@media (max-width: 1180px) { .hero-note { display: none; } }
.side-card.lime-card > div:not(.tab) { position: relative; z-index: 2; }
.side-card.lime-card .obj { width: 58%; right: -8px; bottom: -6px; }
.hero-glass .bars i { display: block; min-width: 6px; }
/* quote portrait: duotone so the busy backdrop recedes */
.quote-person::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(360px, 90%); height: 45%; background: linear-gradient(0deg, var(--ink-2), transparent); border-radius: 0; pointer-events: none; }
.quote-person img { filter: grayscale(1) contrast(1.08) brightness(.95); mix-blend-mode: luminosity; }
.quote-person { isolation: isolate; }
.quote-person::before { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(360px, 90%); aspect-ratio: 3 / 4; border-radius: 22px 22px 0 0; background: linear-gradient(160deg, #b3cd08, #3d4703); z-index: -1; }
.s-head.wide-r { grid-template-columns: 1fr auto; }
/* services hero: floating 3D constellation on ink */
.svc-hero { background: radial-gradient(70% 90% at 80% 30%, #2a3010 0%, var(--ink) 60%); }
.svc-hero::after { background: linear-gradient(90deg, rgba(10, 11, 6, .85) 0%, rgba(10, 11, 6, .2) 55%, transparent); }
.constellation { position: absolute; inset: 0; z-index: -2; }
.constellation img { position: absolute; left: var(--x); top: var(--y); width: var(--s); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55)); animation: float 7s ease-in-out infinite; animation-delay: var(--d); }
@media (max-width: 1000px) { .constellation img { width: calc(var(--s) * .6); left: calc(var(--x) - 8%); opacity: .55; } }

/* ---------- QA FIXES — round 2 ---------- */
.member.lead .ph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ink); }
.member.lead .ph img { height: 100%; min-height: 420px; }
.member.lead > h3, .member.lead > p { display: none; }
.lead-info { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 34px 30px; color: #fff; }
.lead-info h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.05; margin: 0; }
.lead-info p { color: var(--lime); font-size: .9rem; margin: 0; }
.lead-info ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.lead-info li { font-size: .86rem; color: rgba(255,255,255,.72); padding-left: 16px; position: relative; }
.lead-info li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--lime); }
.lead-info .link-arrow { color: #fff; }
@media (max-width: 640px) { .member.lead .ph { grid-template-columns: 1fr; } .member.lead .ph img { min-height: 360px; } }
.member.lead { grid-row: span 1; }
.member.lead .ph { height: auto; min-height: 0; aspect-ratio: 6.2 / 3.8; }
.member.lead .ph img { min-height: 0; }
.lead-info { padding: 26px 26px 24px; gap: 8px; }
.lead-info ul { margin: 8px 0 12px; }
.team-cta .ph { background: var(--lime); display: flex; flex-direction: column; }
.team-cta .ph img { position: absolute; width: 62%; height: auto; right: -6%; top: 4%; filter: none; object-fit: contain; }
.team-cta .tc { margin-top: auto; padding: 24px; position: relative; display: grid; gap: 10px; }
.team-cta .tc h3 { margin: 0; font-size: 1.35rem; line-height: 1.1; }
.team-cta .tc .eyebrow { color: var(--ink); }
.team-cta:hover .ph img { transform: translateY(-6px) rotate(-4deg); }
@media (max-width: 1180px) { .member.lead .ph { aspect-ratio: auto; } }
.member.lead { align-self: start; }
.member.lead .ph { aspect-ratio: 6.09 / 3.8; }
.dev.blank .obj { inset: auto; top: 6%; left: 14%; width: 72%; height: auto; object-fit: contain; }
.dev.blank:hover .obj { transform: none; }
.team-cta .eyebrow::before { background: var(--ink); }
@media (max-width: 640px) {
  .side-card.lime-card .obj, .side-card.lime-card > .obj { width: 52%; right: -6px; bottom: -6px; }
  .value { min-height: 0 !important; }
  .value h3 { padding-top: 22px; }
}
@media (max-width: 640px) {
  .filter-bar { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .filter-bar .fsearch, .filter-bar .view-toggle { grid-column: 1 / -1; }
  .filter-bar .fsel, .filter-bar .fsel select { width: 100%; min-width: 0; }
}

/* ---------- Round 3: tagline logo under the wordmark, balanced nav pill, unsquashed lime-card house ---------- */
.brand-tab { padding: 14px 26px 16px 8px; }
.brand-tab > a { display: grid; gap: 4px; }
.brand-tab .logo { height: 40px; width: auto; display: block; }
.brand-tab .tagline { display: flex; align-items: center; gap: 6px; padding-left: 52px; font: 500 .66rem/1 var(--font-body); letter-spacing: .02em; color: var(--ink-3, #3a3c33); white-space: nowrap; }
.brand-tab .tagline i { width: 3px; height: 3px; border-radius: 50%; background: var(--lime); }
.nav-pill a.nl { white-space: nowrap; }
.nav-pill .btn { flex-shrink: 0; }
/* pill fills the space between the logo tab and the hero edge with equal visual gaps:
   left gap = notch fillet + 22px, right gap = 22px */
.site-head { gap: 0; }
.nav-pill { flex: 1; justify-content: space-between; margin: 22px 22px 0 calc(var(--notch) + 22px); padding: 7px 7px 7px 10px; }
.nav-pill .btn { padding-left: 20px; }
.side-card.lime-card .obj { inset: auto; right: -4%; bottom: -2%; width: 56%; height: auto; max-height: 82%; object-fit: contain; }
@media (max-width: 1000px) {
  .brand-tab .logo { height: 32px; }
  .brand-tab .tagline { display: none; }
  .nav-pill { flex: 0 0 auto; margin: 12px 12px 0 auto; }
}
@media (max-width: 640px) { .brand-tab .logo { height: 28px; } .side-card.lime-card .obj { width: 50%; } }
@media (min-width: 1001px) and (max-width: 1240px) {
  .nav-pill { margin-left: calc(var(--notch) + 14px); margin-right: 14px; }
  .nav-pill a.nl { padding: 11px 9px; font-size: .82rem; }
  .brand-tab .tagline { font-size: .6rem; padding-left: 44px; }
  .brand-tab .logo { height: 34px; }
}

/* ---------- Round 4: perfect notch curvature ----------
   A tab's convex corner (radius = notch) and its concave fillet (radius = notch) only meet as a smooth
   S-curve when the tab is at least 2×notch along that edge. Shorter tabs made the arcs overlap into a spike. */
.tab { min-height: calc(var(--notch) * 2); min-width: calc(var(--notch) * 2); }
.tab.bl, .tab.br { display: flex; flex-direction: column; justify-content: flex-end; }
.lcard .price-tab { padding: 14px 20px 2px 2px; }
/* tagline spans exactly the logo width, inside the tab */
.brand-tab > a { display: grid; grid-template-columns: max-content; gap: 5px; }
.brand-tab .logo { height: 44px; }
.brand-tab .tagline { padding-left: 4px; justify-content: space-between; gap: 0; font-size: .6rem; letter-spacing: .03em; width: 100%; overflow: hidden; }
.brand-tab { padding: 13px 22px 13px 8px; }
@media (min-width: 1001px) and (max-width: 1240px) { .brand-tab .logo { height: 38px; } .brand-tab .tagline { font-size: .52rem; } }
.brand-tab .tagline { letter-spacing: .01em; font-size: .58rem; }
.brand-tab .tagline i { margin: 0 4px; flex: none; }
