/* =========================================================
   KEY4MOVE — main design stylesheet
   1) Fonts  2) Design system & page layouts  3) Responsive layer  4) WordPress skin
   ========================================================= */
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/epilogue-400.woff2) format("woff2");
}
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/epilogue-500.woff2) format("woff2");
}
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/epilogue-600.woff2) format("woff2");
}
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/epilogue-700.woff2) format("woff2");
}
@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/epilogue-800.woff2) format("woff2");
}

/* ============ KEY4MOVE · V2 "Editorial" design system ============ */
:root {
  --ink: #141414;
  --ink-2: #232323;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e7e7e7;
  --paper: #ffffff;
  --mist: #f5f5f4;
  --mist-2: #ededeb;
  --red: #d4202a;
  --red-2: #ff4b53;
  --red-dk: #a8141c;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.35);
  --font: "Epilogue", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.wrap {
  width: min(1240px, 92%);
  margin-inline: auto;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(28px, 3.3vw, 44px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: skewX(-20deg);
}
.lead {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 720px;
}
.sec {
  padding: 90px 0;
}
.sec-sm {
  padding: 60px 0;
}
.mist {
  background: var(--mist);
}
.dark {
  background: var(--ink);
  color: #d9d9d9;
}
.dark h2,
.dark h3,
.dark h4 {
  color: #fff;
}
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.head-row h2 {
  margin-top: 12px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.25s;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: var(--red-dk);
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: #000;
}
.btn-line {
  border-color: currentColor;
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.dark .btn-line:hover,
.hero2 .btn-line:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-wa {
  background: #25d366;
  color: #fff;
}
.arrow-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  color: var(--red);
  font-size: 14px;
}
.arrow-link:hover {
  gap: 14px;
}
.arrow-link,
.arrow-link svg {
  transition: 0.25s;
}

/* ===== header ===== */
.topbar {
  background: var(--ink);
  color: #bbb;
  font-size: 12.5px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 20px;
}
.topbar a:hover {
  color: #fff;
}
.topbar .tb-l {
  display: flex;
  gap: 22px;
}
.topbar .tb-l span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--red-2);
}
.cur {
  display: flex;
  gap: 4px;
}
.cur button {
  background: none;
  border: 0;
  color: #999;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.cur button.on {
  background: var(--red);
  color: #fff;
}
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
header.site.shadow {
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.35);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  line-height: 1;
}
.logo svg {
  height: 40px;
  width: auto;
}
.logo .word {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.01em;
}
.logo .word b {
  color: var(--red);
}
.logo .word small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin-top: 4px;
}
.menu {
  display: flex;
  gap: 6px;
  align-items: center;
}
.menu > a,
.menu .dd > span {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.menu > a:hover,
.menu .dd:hover > span {
  background: var(--mist);
}
.menu > a.on {
  color: var(--red);
}
.menu svg {
  width: 12px;
  height: 12px;
}
.dd {
  position: relative;
}
.dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s;
}
.dd:hover .dd-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dd-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.dd-panel a:hover {
  background: var(--mist);
  color: var(--red);
}
.h-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.burger svg {
  width: 20px;
  height: 20px;
}

/* ===== hero (split) ===== */
.hero2 {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero2::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -60px;
  width: 520px;
  height: 520px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 100'%3E%3Cpath fill='%23ffffff' fill-opacity='.035' d='M10 0h21l38 50-38 50H10l38-50z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.035' d='M52 0h21l38 50-38 50H52l38-50z'/%3E%3C/svg%3E")
    no-repeat center/contain;
}
.hero2 .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0 64px;
  position: relative;
}
.crumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 22px;
}
.crumb a:hover {
  color: #fff;
}
.crumb span {
  color: #fff;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.k-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.k-tag.red {
  background: var(--red);
  border-color: var(--red);
}
.hero2 h1 {
  color: #fff;
  font-size: clamp(38px, 4.6vw, 50px);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.hero2 h1 em {
  font-style: normal;
  color: var(--red-2);
}
.hero2 p.sub {
  color: #b5b5b5;
  font-size: 16.5px;
  max-width: 520px;
  margin-bottom: 30px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 30px;
}
.kpis div {
  padding: 18px 0;
}
.kpis div + div {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.kpis small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f8f8f;
  margin-bottom: 4px;
}
.kpis b {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-media {
  position: relative;
  height: 540px;
}
.hero-media .main {
  position: absolute;
  inset: 0 0 0 40px;
  border-radius: 26px;
  overflow: hidden;
  background: #2a2a2a;
}
.hero-media .main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.8s,
    transform 7s linear;
}
.hero-media .thumbs {
  position: absolute;
  left: 0;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.hero-media .thumbs button {
  width: 84px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--ink);
  padding: 0;
  cursor: pointer;
  background: #333;
  opacity: 0.65;
  transition: 0.25s;
}
.hero-media .thumbs button.on {
  opacity: 1;
  border-color: var(--red);
}
.hero-media .thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float-card {
  position: absolute;
  right: 22px;
  top: 22px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  z-index: 2;
  min-width: 190px;
}
.float-card small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.float-card b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--red);
}
.float-card span {
  font-size: 12.5px;
  color: var(--muted);
}
.media-count {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}
.media-count svg {
  width: 16px;
  height: 16px;
}

/* ===== sticky section tabs ===== */
.tabs {
  position: sticky;
  top: 78px;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.tabs .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs .wrap::-webkit-scrollbar {
  display: none;
}
.tabs a {
  flex: none;
  padding: 18px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: 0.2s;
}
.tabs a:hover {
  color: var(--ink);
}
.tabs a.on {
  color: var(--ink);
  border-color: var(--red);
}

/* ===== two-column content with sticky sidebar ===== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 56px;
  align-items: start;
}
.layout > main > section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.layout > main > section:first-child {
  padding-top: 56px;
}
.layout > main > section:last-child {
  border: 0;
}
.layout h2 {
  margin: 12px 0 18px;
}
.side {
  position: sticky;
  top: 150px;
  padding: 56px 0 40px;
  display: grid;
  gap: 18px;
}
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  background: #fff;
  box-shadow: 0 18px 50px -34px rgba(0, 0, 0, 0.4);
}
.side-card .from {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.side-card .price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}
.side-card .price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.side-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
.side-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}
.agent {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--mist);
  border-radius: 14px;
  padding: 14px;
}
.agent .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.agent .av svg {
  width: 26px;
}
.agent b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
}
.agent span {
  font-size: 12.5px;
  color: var(--muted);
}
.side-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.side-actions .btn {
  padding: 12px 10px;
  font-size: 13.5px;
}

/* form */
.f {
  display: grid;
  gap: 10px;
}
.f input,
.f select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: 0.2s;
}
.f input:focus,
.f select:focus {
  border-color: var(--ink);
}
.f .ph {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
}
.f .roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.f .roles input {
  display: none;
}
.f .roles label {
  text-align: center;
  padding: 10px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.f .roles input:checked + label {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.f .k-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}
.f-ok {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.f-ok i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-style: normal;
  font-size: 26px;
}

/* ===== bento facts ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.bento div {
  background: var(--mist);
  border-radius: 16px;
  padding: 20px;
  transition: 0.25s;
}
.bento div:hover {
  background: var(--ink);
  color: #fff;
}
.bento div:hover b {
  color: #fff;
}
.bento small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.bento div:hover small {
  color: #aaa;
}
.bento b {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: block;
}
.bento .wide {
  grid-column: span 2;
}
.bento .accent {
  background: var(--red);
  color: #fff;
}
.bento .accent small {
  color: rgba(255, 255, 255, 0.75);
}
.bento .accent b {
  color: #fff;
  font-size: 24px;
}

/* highlights */
.hl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 36px;
  margin-bottom: 36px;
}
.hl div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}
.hl svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--red);
  margin-top: 1px;
}

/* payment timeline */
.k-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  position: relative;
}
.k-timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step {
  position: relative;
  padding-right: 20px;
}
.step .dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}
.step:last-child .dot {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.step b {
  display: block;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.step h4 {
  font-size: 16px;
  margin: 8px 0 4px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}
.pbar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 34px;
  gap: 3px;
}
.pbar span {
  background: var(--ink);
}
.pbar span:nth-child(2) {
  background: #9a9a9a;
}
.pbar span:nth-child(3) {
  background: var(--red);
}

/* text + image */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.split p {
  color: var(--muted);
  margin-bottom: 14px;
}
.split .im {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--mist);
}
.split .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* floor plans */
.fp-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 16px;
}
.fp-tabs button {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.fp-tabs button.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.fp-view {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.fp-img {
  background: var(--mist);
  display: grid;
  place-items: center;
  padding: 20px;
  min-height: 320px;
  cursor: zoom-in;
}
.fp-img img {
  max-height: 300px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.fp-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.fp-info h3 {
  font-size: 26px;
}
.fp-info dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.fp-info dt {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.fp-info dd {
  font-weight: 800;
  color: var(--ink);
}

/* carousel gallery */
.car {
  position: relative;
}
.car-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--r);
}
.car-track::-webkit-scrollbar {
  display: none;
}
.car-track figure {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--r);
  overflow: hidden;
  background: #2a2a2a;
  cursor: zoom-in;
}
.car-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.car-track figure:hover img {
  transform: scale(1.05);
}
.car-track figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.car-nav {
  display: flex;
  gap: 8px;
}
.car-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.car-nav button:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.car-nav svg {
  width: 18px;
  height: 18px;
}

/* amenities */
.am {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.am div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  background: var(--mist);
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
}
.am i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--red);
  flex: none;
}
.am svg {
  width: 22px;
  height: 22px;
}

/* location list */
.loc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.loc .map {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 1;
}
.loc .map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dist {
  list-style: none;
}
.dist li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.dist li b {
  color: var(--ink);
  font-weight: 700;
}
.dist li span {
  color: var(--red);
  font-weight: 800;
  white-space: nowrap;
}
.loc-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.loc-tabs button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.loc-tabs button.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.loc-pane {
  display: none;
}
.loc-pane.on {
  display: block;
}

/* FAQ */
.faq2 {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.faq2 details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  transition: 0.2s;
}
.faq2 details[open] {
  border-color: var(--ink);
  background: var(--mist);
}
.faq2 summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq2 summary::-webkit-details-marker {
  display: none;
}
.faq2 summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 500;
  transition: 0.25s;
}
.faq2 details[open] summary::after {
  transform: rotate(45deg);
  background: var(--red);
}
.faq2 p {
  padding: 0 0 18px;
  color: var(--muted);
}

/* project cards (horizontal list style) */
.pcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pcard {
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.pcard .im {
  position: relative;
  aspect-ratio: 4/3;
  background: #2a2a2a;
  overflow: hidden;
}
.pcard .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.pcard:hover .im img {
  transform: scale(1.06);
}
.pcard .lbl {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  gap: 6px;
}
.pcard .lbl span {
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.pcard .lbl span.r {
  background: var(--red);
  color: #fff;
}
.pcard .bd {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.pcard .loc-l {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.pcard .loc-l svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}
.pcard h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.pcard .bed {
  font-size: 13.5px;
  color: var(--muted);
}
.pcard .ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.pcard .pr {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pcard .pr small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}
.pcard .go {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.pcard:hover .go {
  background: var(--red);
  color: #fff;
  transform: rotate(-45deg);
}
.pcard .go svg {
  width: 16px;
  height: 16px;
}

/* filters */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters button {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: 0.2s;
}
.filters button:hover {
  border-color: var(--ink);
}
.filters button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pcard.hide {
  display: none;
}

/* big CTA + footer */
.cta2 {
  background: var(--red);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta2::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -30px;
  bottom: -30px;
  width: 340px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 100'%3E%3Cpath fill='%23000' fill-opacity='.14' d='M10 0h21l38 50-38 50H10l38-50z'/%3E%3Cpath fill='%23fff' fill-opacity='.12' d='M52 0h21l38 50-38 50H52l38-50z'/%3E%3C/svg%3E")
    no-repeat center/contain;
}
.cta2 h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 46px);
}
.cta2 p {
  opacity: 0.9;
  margin-top: 10px;
}
.cta2 .btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.cta2 .btn-ink {
  background: #fff;
  color: var(--ink);
}
.cta2 .btn-ink:hover {
  background: var(--ink);
  color: #fff;
}
.cta2 .btn-line {
  color: #fff;
}
footer.site {
  background: var(--ink);
  color: #a9a9a9;
  padding: 80px 0 28px;
  margin-top: 90px;
  font-size: 14px;
}
footer.site .logo {
  color: #fff;
}
footer.site .logo .word small {
  color: #8a8a8a;
}
.f-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2c2c2c;
}
.f-grid h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}
.f-grid ul {
  list-style: none;
  display: grid;
  gap: 9px;
}
.f-grid a:hover {
  color: #fff;
}
.f-grid p {
  margin: 18px 0;
  max-width: 340px;
}
.f-contact {
  display: grid;
  gap: 10px;
}
.f-contact a {
  display: flex;
  gap: 10px;
  align-items: center;
}
.f-contact svg {
  width: 16px;
  height: 16px;
  color: var(--red-2);
}
.f-bot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
}
.f-bot nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.fab2 {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fab2 a,
.fab2 button {
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  transition: 0.25s;
}
.fab2 a:hover,
.fab2 button:hover {
  transform: scale(1.08);
}
.fab2 .wa {
  background: #25d366;
}
.fab2 .lead {
  background: var(--red);
}
.fab2 svg {
  width: 24px;
  height: 24px;
}

/* mobile bottom bar */
.mbar {
  display: none;
}

/* lightbox */

/* modal */

/* image fallback */
.fb {
  background: linear-gradient(135deg, #1b1b1b, #3a3a3a) !important;
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ===== responsive ===== */
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    position: static;
    padding-top: 0;
  }
  .hero2 .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    height: 420px;
  }
  .f-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .pcards {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .menu,
  .h-cta .btn-line,
  .topbar .tb-l span:nth-child(2) {
    display: none;
  }
  .burger {
    display: grid;
  }
  .menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px 4%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .menu.open .dd-panel {
    display: none;
  }
  .split,
  .loc,
  .fp-view,
  .cta2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta2 .btns {
    justify-content: flex-start;
  }
  .bento {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .am {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .sec {
    padding: 64px 0;
  }
  .tabs {
    top: 78px;
  }
  .kpis {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .kpis div:nth-child(3) {
    grid-column: span 2;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .hero-media {
    height: 320px;
  }
  .hero-media .main {
    left: 0;
  }
  .hero-media .thumbs {
    display: none;
  }
  .hl,
  .am,
  .pcards {
    grid-template-columns: minmax(0, 1fr);
  }
  .k-timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .k-timeline::before {
    display: none;
  }
  .car-track {
    grid-auto-columns: 88%;
  }
  .cta2 {
    padding: 36px 26px;
  }
  .f-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fab2 {
    display: none;
  }
  .mbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 8px;
    gap: 8px;
  }
  .mbar a {
    padding: 12px 6px;
    font-size: 13px;
  }
  body {
    padding-bottom: 68px;
  }
  .topbar .tb-l {
    gap: 12px;
  }
}
.arrow-link svg {
  width: 18px;
  height: 18px;
}
.fp-view.loc-pane.on {
  display: grid;
}
.cta2 .kicker::before {
  background: #fff;
}
@media (max-width: 640px) {
  .h-cta .btn-red {
    display: none;
  }
}

/* ===== hero3 (full-bleed, community) ===== */
.hero3 {
  position: relative;
  height: min(62vh, 620px);
  min-height: 460px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: #222;
  overflow: hidden;
}
.hero3 > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kb 16s ease-out forwards;
}
@keyframes kb {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
.hero3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.35) 100%);
}
.hero3 .wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 90px;
}
.hero3 .crumb {
  color: #ccc;
}
.hero3 h1 {
  color: #fff;
  font-size: clamp(44px, 7vw, 96px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.hero3 h1 small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-2);
  margin-bottom: 12px;
  font-weight: 700;
}
.hero3 p {
  max-width: 560px;
  color: #ddd;
  margin-top: 16px;
  font-size: 16.5px;
}
.statbar {
  position: relative;
  z-index: 5;
  margin-top: -50px;
}
.statbar .in {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
}
.statbar .in div {
  padding: 24px 26px;
}
.statbar .in div + div {
  border-left: 1px solid var(--line);
}
.statbar b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.statbar b em {
  font-style: normal;
  color: var(--red);
}
.statbar small {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* price table */
.ptable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.ptable th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 2px solid var(--ink);
}
.ptable td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}
.ptable td:last-child,
.ptable th:last-child {
  text-align: right;
}
.meter {
  height: 8px;
  background: var(--mist-2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--red);
  border-radius: 999px;
}
.roi-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background: var(--ink);
  color: #ccc;
  border-radius: var(--r);
  padding: 26px 28px;
  margin-top: 22px;
}
.roi-card b {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.roi-card b em {
  font-style: normal;
  color: var(--red-2);
}

/* why invest */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.why div {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: 0.25s;
}
.why div:hover {
  border-color: var(--red);
}
.why b {
  display: block;
  font-size: 13px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.why h4 {
  font-size: 17px;
  margin: 6px 0;
}
.why p {
  font-size: 14px;
  color: var(--muted);
}
.chips2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chips2 span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.note-box {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff6f6;
  border: 1px solid #f5d0d2;
  color: #7a2a2e;
  font-size: 14px;
  margin-top: 18px;
}
.note-box svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--red);
}

/* developer: numbered community list */
.clist {
  border-top: 1px solid #333;
}
.clist details {
  border-bottom: 1px solid #333;
}
.clist summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
}
.clist summary::-webkit-details-marker {
  display: none;
}
.clist summary .n {
  font-size: 15px;
  font-weight: 800;
  color: #666;
}
.clist summary h3 {
  font-size: clamp(22px, 2.6vw, 34px);
  color: #fff;
  transition: 0.25s;
}
.clist summary:hover h3,
.clist details[open] summary h3 {
  color: var(--red-2);
}
.clist summary .pl {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #444;
  display: grid;
  place-items: center;
  color: #fff;
  transition: 0.25s;
  font-size: 20px;
}
.clist details[open] .pl {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
}
.clist .cb {
  padding: 0 0 26px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 30px;
}
.clist .cb p {
  color: #aaa;
}
.clist .cb .pt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.clist .cb .pt span {
  padding: 7px 12px;
  border-radius: 8px;
  background: #232323;
  border: 1px solid #333;
  font-size: 13px;
  color: #ddd;
}
.exp3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.exp3 div {
  padding: 28px;
  border-radius: var(--r);
  background: var(--mist);
  transition: 0.3s;
}
.exp3 div:hover {
  background: var(--red);
  color: #fff;
}
.exp3 div:hover h4,
.exp3 div:hover b {
  color: #fff;
}
.exp3 b {
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.12em;
}
.exp3 h4 {
  font-size: 19px;
  margin: 10px 0 8px;
}
.exp3 p {
  font-size: 14px;
}
.facts2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 24px;
}
.facts2 div {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.facts2 div:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.facts2 small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.facts2 b {
  color: var(--ink);
  font-weight: 800;
}
.yield {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.yield div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 64px;
  gap: 16px;
  align-items: center;
  font-size: 14.5px;
}
.yield b {
  color: var(--ink);
  font-weight: 700;
}
.yield .bar {
  height: 10px;
  background: var(--mist-2);
  border-radius: 999px;
  overflow: hidden;
}
.yield .bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
}
.yield div:hover .bar span {
  background: var(--red);
}
.yield em {
  font-style: normal;
  font-weight: 800;
  color: var(--ink);
  text-align: right;
}
@media (max-width: 900px) {
  .statbar .in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .statbar .in div:nth-child(4) {
    border-left: 0;
  }
  .statbar .in div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .clist .cb {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0;
  }
  .exp3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .why {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .statbar .in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .statbar .in div {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
  }
  .statbar .in div:first-child {
    grid-column: span 2;
    border-top: 0;
  }
  .clist summary {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }
  .exp3,
  .facts2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts2 div {
    border-right: 0 !important;
  }
  .yield div {
    grid-template-columns: minmax(0, 1fr) 60px;
  }
  .yield .bar {
    grid-column: span 2;
    order: 3;
  }
}
@media (max-width: 640px) {
  .roi-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .hero3 .wrap {
    padding-bottom: 80px;
  }
}

/* ===== full-width project content (no sidebar) ===== */
.full > section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.full > section:last-child {
  border: 0;
}
.full h2 {
  margin: 12px 0 18px;
}
.full .hl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.full .bento {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.full .bento .wide {
  grid-column: span 2;
}
.full .am {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.full .car-track {
  grid-auto-columns: 46%;
}
.full .loc {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
.full .loc .map {
  aspect-ratio: 4/3;
}
.full .fp-img {
  min-height: 380px;
}
.full .fp-img img {
  max-height: 360px;
}
.full .faq2 {
  max-width: 900px;
}
.cta-strip {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: var(--r);
  background: var(--ink);
  color: #bbb;
}
.cta-strip small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8f8f8f;
}
.cta-strip b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.cta-strip span {
  font-size: 13.5px;
}
.cta-strip .cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cta-strip .btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .full .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .full .bento .wide {
    grid-column: span 3;
  }
  .full .hl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .full .loc {
    grid-template-columns: minmax(0, 1fr);
  }
  .full .car-track {
    grid-auto-columns: 72%;
  }
}
@media (max-width: 640px) {
  .full > section {
    padding: 56px 0;
  }
  .full .bento {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .full .bento .wide {
    grid-column: span 2;
  }
  .full .hl,
  .full .am {
    grid-template-columns: minmax(0, 1fr);
  }
  .full .car-track {
    grid-auto-columns: 88%;
  }
  .cta-strip .cta-btns {
    width: 100%;
  }
  .cta-strip .cta-btns .btn {
    flex: 1;
  }
}

/* ===== DEVELOPER v3 (reference layout) ===== */
.dhero {
  position: relative;
  color: #fff;
  background: #111;
  overflow: hidden;
}
.dhero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.dhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.7) 45%, rgba(10, 10, 10, 0.25) 100%);
}
.dhero .wrap {
  position: relative;
  z-index: 2;
  padding: 64px 0 70px;
}
.dhero .crumb {
  color: #aaa;
}
.dhero .top {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
}
.dbadge {
  flex: none;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--red);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 15px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}
.dhero h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.dhero h1 em {
  font-style: normal;
  color: var(--red-2);
}
.dhero p {
  color: #cfcfcf;
  max-width: 640px;
  font-size: 16.5px;
}
.dstats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 820px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 30px;
}
.dstats div {
  padding: 20px 18px;
  text-align: center;
}
.dstats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.dstats b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.dstats b em {
  font-style: normal;
  color: var(--red-2);
}
.dstats small {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 700;
}

.prose h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 0 0 8px;
}
.prose h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin: 14px 0 18px;
  border-radius: 2px;
}
.prose p {
  color: var(--muted);
  margin-bottom: 14px;
}
.prose p b {
  color: var(--ink);
}
.prose > section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.prose > section:first-child {
  padding-top: 56px;
}
.prose > section:last-child {
  border: 0;
}
.more {
  position: relative;
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.more::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(transparent, #fff);
}
.more.open {
  max-height: 1400px;
}
.more.open::after {
  display: none;
}
.rm {
  margin-top: 12px;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.rm svg {
  width: 12px;
  height: 12px;
  transition: 0.25s;
}
.rm.open svg {
  transform: rotate(180deg);
}
.ftable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 18px;
}
.ftable th,
.ftable td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}
.ftable th {
  width: 38%;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
}
.ftable tr:last-child th,
.ftable tr:last-child td {
  border-bottom: 0;
}
.awards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 6px;
}
.awards div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
}
.awards svg {
  flex: none;
  width: 34px;
  height: 34px;
  color: var(--red);
}
.awards b {
  display: block;
  color: var(--ink);
}
.big2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin: 6px 0 24px;
}
.big2 div {
  background: var(--ink);
  color: #bbb;
  border-radius: 16px;
  padding: 22px 24px;
}
.big2 b {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.big2 b em {
  font-style: normal;
  color: var(--red-2);
}
.vtl {
  list-style: none;
  position: relative;
  margin: 10px 0 6px;
  padding-left: 26px;
}
.vtl::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.vtl li {
  position: relative;
  padding: 0 0 18px;
}
.vtl li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
}
.vtl li:last-child::before {
  border-color: var(--red);
  background: var(--red);
}
.vtl b {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.vtl span {
  font-size: 14px;
  color: var(--muted);
}
.dl2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.dl2 div {
  padding: 18px;
  border-radius: 14px;
  background: var(--mist);
}
.dl2 h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}
.dl2 p {
  font-size: 13.5px;
  margin: 0;
}
.ongo {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}
.ongo th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--ink);
}
.ongo td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.ongo td:first-child {
  font-weight: 800;
  color: var(--ink);
}
.ongo td:last-child {
  white-space: nowrap;
}
.ongo .hv {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--mist);
  font-weight: 700;
  color: var(--ink);
  font-size: 12.5px;
}
.ongo tr:hover td {
  background: #fafafa;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pills a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  transition: 0.2s;
}
.pills a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.q-card {
  border-top: 4px solid var(--red);
}
.q-card h4 {
  font-size: 21px;
}

.fbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.4);
  margin-bottom: 18px;
}
.fbar select,
.fbar input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  outline: none;
}
.fbar .s {
  display: flex;
  gap: 8px;
}
.fbar .s button {
  flex: none;
  width: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.fbar .s button svg {
  width: 18px;
  height: 18px;
}
.rcount {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.rcount b {
  color: var(--ink);
}
.pcards.grid4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pcard .bd .cm {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.pcard .bd .cm svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}
.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pager a,
.pager span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
}
.pager a.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pager a:hover {
  border-color: var(--ink);
}
.pager span {
  border: 0;
  background: none;
}
.empty {
  display: none;
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

.whyb {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.whyb div {
  background: var(--ink);
  color: #bbb;
  border-radius: var(--r);
  padding: 36px 30px;
  text-align: center;
  transition: 0.3s;
}
.whyb div:hover {
  transform: translateY(-6px);
  background: #000;
}
.whyb svg {
  width: 40px;
  height: 40px;
  color: var(--red-2);
  margin: 0 auto 18px;
}
.whyb h4 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 8px;
}
.deliver {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.deliver div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 16px;
  text-align: center;
  transition: 0.25s;
}
.deliver div:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.deliver i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fdeced;
  color: var(--red);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.deliver svg {
  width: 26px;
  height: 26px;
}
.deliver b {
  color: var(--ink);
  font-size: 15px;
}
.sec-title {
  text-align: center;
  margin-bottom: 40px;
}
.sec-title h2 {
  margin-top: 10px;
}
.links2 {
  display: grid;
  gap: 40px;
}
.links2 h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.lgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 24px;
}
.lgrid a {
  font-size: 14.5px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.lgrid a:hover {
  color: var(--red);
}
@media (max-width: 1100px) {
  .deliver {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .pcards.grid4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .whyb {
    grid-template-columns: minmax(0, 1fr);
  }
  .lgrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .dstats {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .dstats div:nth-child(3) {
    border-left: 0;
  }
  .dstats div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}
@media (max-width: 640px) {
  .dhero .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .dbadge {
    width: 84px;
    height: 84px;
    font-size: 12px;
  }
  .awards,
  .big2,
  .dl2,
  .fbar,
  .pcards.grid4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .deliver {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ongo thead {
    display: none;
  }
  .ongo tr {
    display: grid;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .ongo td {
    border: 0;
    padding: 3px 0;
  }
}

/* ===== LIST PAGES (all developers / all communities) ===== */
.lhero {
  position: relative;
  background: #111;
  color: #fff;
  overflow: hidden;
}
.lhero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.lhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.45));
}
.lhero .wrap {
  position: relative;
  z-index: 2;
  padding: 70px 0 76px;
}
.lhero.center .wrap {
  text-align: center;
}
.lhero.center .crumb,
.lhero.center p {
  margin-inline: auto;
}
.lhero .crumb {
  color: #aaa;
}
.lhero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.lhero h1 em {
  font-style: normal;
  color: var(--red-2);
}
.lhero p {
  color: #d0d0d0;
  max-width: 620px;
  font-size: 16.5px;
}
.hsearch {
  display: flex;
  max-width: 620px;
  margin-top: 28px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.lhero.center .hsearch {
  margin-inline: auto;
}
.hsearch input {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.hsearch button {
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 0 24px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.hsearch button:hover {
  background: var(--red-dk);
}
.hstats {
  display: flex;
  gap: 30px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.lhero.center .hstats {
  justify-content: center;
}
.hstats b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hstats b em {
  font-style: normal;
  color: var(--red-2);
}
.hstats small {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 700;
}

/* developer rows */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.toolbar .rcount {
  margin: 0;
}
.toolbar select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}
.jump {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 30px;
}
.jump::-webkit-scrollbar {
  display: none;
}
.jump a {
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}
.jump a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.devrow {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.devrow:first-of-type {
  padding-top: 8px;
}
.devrow.hide {
  display: none;
}
.dev-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.mono {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  flex: none;
  position: relative;
  overflow: hidden;
}
.mono::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 20px;
  height: 20px;
  background: var(--red);
  transform: rotate(45deg);
}
.dev-head h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
}
.k-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fdeced;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
}
.dev-head .arrow-link {
  margin-left: auto;
}
.devrow .pcards .pcard .im {
  aspect-ratio: 16/10;
}
.rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* city tiles */
.cities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.city {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1b1b1b, #3a3a3a);
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.city img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s;
}
.city:hover img {
  transform: scale(1.07);
}
.city::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 60%);
}
.city .in {
  padding: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
}
.city h3 {
  color: #fff;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.city small {
  display: block;
  font-size: 13px;
  color: #ddd;
}
.city .ct {
  background: var(--red);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.1;
  flex: none;
}
.city .ct b {
  display: block;
  font-size: 18px;
  font-weight: 800;
}
.city .ct span {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.city.big {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.city.big h3 {
  font-size: 34px;
}

/* community cards */
.cchips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 18px;
}
.cchips button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.cchips button.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.ccard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.ccard .im {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1b1b1b, #3a3a3a);
  overflow: hidden;
  position: relative;
}
.ccard .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.ccard:hover .im img {
  transform: scale(1.06);
}
.ccard .city-t {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.ccard .bd {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ccard h4 {
  font-size: 18px;
}
.ccard .n {
  font-size: 13px;
  color: var(--muted);
}
.ccard .n b {
  color: var(--red);
}
.ccard.hide {
  display: none;
}
.ccard.ask {
  background: var(--ink);
  color: #bbb;
  border-color: var(--ink);
  justify-content: center;
  padding: 28px;
}
.ccard.ask h4 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}
@media (max-width: 1000px) {
  .cities {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cgrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .cities,
  .cgrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .city.big {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4/3;
  }
  .dev-head .arrow-link {
    margin-left: 0;
    width: 100%;
  }
  .devrow .pcards {
    grid-template-columns: minmax(0, 1fr);
  }
  .hsearch button {
    padding: 0 16px;
  }
}
.ccard .go svg {
  width: 16px;
  height: 16px;
}
.ccard:hover .go {
  background: var(--red) !important;
  color: #fff;
}

/* ===== HOME ===== */
.hhero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  background: #111;
  overflow: hidden;
}
.hhero .slides {
  position: absolute;
  inset: 0;
}
.hhero .slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition:
    opacity 1.6s ease,
    transform 9s linear;
}
.hhero .slides img.on {
  opacity: 1;
  transform: scale(1);
}
.hhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.7)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55));
}
.hhero .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 90px 0 110px;
}
.hhero .eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hhero .eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 4px rgba(255, 75, 83, 0.25);
}
.hhero h1 {
  color: #fff;
  font-size: clamp(42px, 7vw, 92px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}
.hhero h1 em {
  font-style: normal;
  color: var(--red-2);
}
.hhero .sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: #e6e6e6;
  margin: 18px auto 34px;
  max-width: 640px;
}
.hsrch {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 8px;
}
.hsrch label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 0 14px;
  color: var(--muted);
}
.hsrch svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.hsrch input,
.hsrch select {
  border: 0;
  outline: none;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: transparent;
  padding: 15px 0;
  width: 100%;
  min-width: 0;
}
.hsrch button {
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 800;
  padding: 0 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hsrch button:hover {
  background: var(--red-dk);
}
.qchips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.qchips a {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.qchips a:hover {
  background: var(--red);
  border-color: var(--red);
}
.hdots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hdots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}
.hdots button.on {
  background: var(--red-2);
  width: 44px;
}
.trust {
  background: var(--ink);
  color: #bbb;
}
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust div {
  padding: 22px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}
.trust div + div {
  border-left: 1px solid #2c2c2c;
}
.trust svg {
  width: 28px;
  height: 28px;
  color: var(--red-2);
  flex: none;
}
.trust b {
  display: block;
  color: #fff;
  font-size: 15px;
}

.trend .car-track {
  grid-auto-columns: calc((100% - 42px) / 4);
}
.tcard {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #2a2a2a;
  color: #fff;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
  isolation: isolate;
}
.tcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s;
}
.tcard:hover img {
  transform: scale(1.06);
}
.tcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 55%);
}
.tcard .from {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.tcard .from b {
  color: var(--red-2);
}
.tcard .hot {
  position: absolute;
  right: 14px;
  top: 14px;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border-radius: 8px;
}
.tcard .in {
  padding: 20px;
  width: 100%;
}
.tcard h4 {
  color: #fff;
  font-size: 20px;
}
.tcard small {
  color: #ccc;
}

.ptabs {
  display: flex;
  gap: 6px;
  background: var(--mist);
  border-radius: 14px;
  padding: 6px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
.ptabs button {
  border: 0;
  background: none;
  padding: 11px 20px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
  white-space: nowrap;
}
.ptabs button.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.3);
}
.pset {
  display: none;
}
.pset.on {
  display: grid;
}

.types {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
}
.type {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: #2a2a2a;
  isolation: isolate;
}
.type:first-child {
  grid-row: span 2;
}
.type img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s;
}
.type:hover img {
  transform: scale(1.07);
}
.type::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 55%);
}
.type .in {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100%;
}
.type h3 {
  color: #fff;
  font-size: 26px;
}
.type:first-child h3 {
  font-size: 36px;
}
.type .ct {
  background: var(--red);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
}

.devs {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.dfeat {
  grid-row: span 2;
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  color: #ccc;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  background: #111;
  isolation: isolate;
}
.dfeat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;
}
.dfeat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 20%, rgba(0, 0, 0, 0.2));
}
.dfeat .wm {
  font-size: 58px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1;
  margin-bottom: auto;
}
.dfeat h3 {
  color: #fff;
  font-size: 28px;
  margin: 18px 0 8px;
}
.dfeat p {
  font-size: 14.5px;
  margin-bottom: 18px;
}
.dfeat .num {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.dfeat .num b {
  font-size: 32px;
  color: var(--red-2);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.dcard {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: 0.3s;
}
.dcard:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.dcard .top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.dcard h4 {
  font-size: 19px;
}
.dcard .n {
  font-size: 13.5px;
  color: var(--muted);
}
.dcard .n b {
  color: var(--red);
  font-size: 16px;
}
.dcard p {
  font-size: 14px;
  color: var(--muted);
}

.cgrid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.ccard .bd small {
  color: var(--muted);
  font-size: 13px;
}

.vt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.vt .media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #222;
}
.vt .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.vt .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.vt .play span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 14px rgba(212, 32, 42, 0.25);
  animation: pulse 2s infinite;
}
.vt .play svg {
  width: 30px;
  height: 30px;
  color: #fff;
  margin-left: 4px;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 22px rgba(212, 32, 42, 0.08);
  }
}
.steps4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.steps4 div {
  padding: 22px;
  border-radius: 16px;
  background: #1b1b1b;
  border: 1px solid #2a2a2a;
}
.steps4 b {
  font-size: 13px;
  color: var(--red-2);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.steps4 h4 {
  color: #fff;
  font-size: 17px;
  margin: 8px 0 6px;
}
.steps4 p {
  font-size: 14px;
  color: #aaa;
}

.guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.guide {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.guide:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.guide .im {
  aspect-ratio: 16/9;
  background: #2a2a2a;
  overflow: hidden;
}
.guide .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide .bd {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.guide .cat {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.guide h4 {
  font-size: 18px;
  line-height: 1.3;
}
.guide p {
  font-size: 14px;
  color: var(--muted);
}
.guide .arrow-link {
  margin-top: auto;
}
@media (max-width: 1000px) {
  .hsrch {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hsrch label:first-child {
    grid-column: span 2;
  }
  .hsrch button {
    grid-column: span 2;
    justify-content: center;
    padding: 14px;
  }
  .trust .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .trust div:nth-child(3) {
    border-left: 0;
  }
  .trend .car-track {
    grid-auto-columns: 46%;
  }
  .types {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, 220px);
  }
  .types .type:first-child {
    grid-row: auto;
    grid-column: span 2;
  }
  .devs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .dfeat {
    grid-column: span 2;
    grid-row: auto;
    min-height: 360px;
  }
  .cgrid4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .vt,
  .guides {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .hsrch {
    grid-template-columns: minmax(0, 1fr);
  }
  .hsrch label:first-child,
  .hsrch button {
    grid-column: auto;
  }
  .trust .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .trust div {
    border-left: 0 !important;
    border-top: 1px solid #2c2c2c;
  }
  .trend .car-track {
    grid-auto-columns: 82%;
  }
  .types {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(5, 200px);
  }
  .types .type:first-child {
    grid-column: auto;
  }
  .devs,
  .cgrid4,
  .steps4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .dfeat {
    grid-column: auto;
  }
}
.fbar.np {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  position: relative;
  z-index: 5;
  margin-top: -38px;
  margin-bottom: 22px;
}
.fbar.np .btn {
  padding: 0 20px;
  border-radius: 10px;
}
.fbar.np .btn svg {
  width: 16px;
  height: 16px;
}
.np-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.qf {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.qf button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.qf button.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.lhero.center .hstats div {
  min-width: 90px;
}
@media (max-width: 1100px) {
  .fbar.np {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .fbar.np .s {
    grid-column: span 3;
  }
}
@media (max-width: 640px) {
  .fbar.np {
    grid-template-columns: minmax(0, 1fr);
  }
  .fbar.np .s {
    grid-column: auto;
  }
  .fbar.np .btn {
    padding: 13px;
  }
}

/* ===== header v3 (reference style) ===== */
header.site {
  background: #fff;
  backdrop-filter: none;
}
header.site .wrap {
  height: 84px;
}
.menu {
  gap: 38px;
}
.menu .ml {
  padding: 10px 0;
  border-radius: 0;
  background: none !important;
  font-weight: 500;
  font-size: 16.5px;
  color: var(--red);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.005em;
}
.menu .ml:hover {
  color: var(--ink);
}
.menu .ml.on {
  color: var(--ink);
}
.menu .ml.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.menu .car {
  font-style: normal;
  font-size: 10px;
  line-height: 1;
  opacity: 0.8;
}
.dd-panel {
  left: -14px;
}
.tabs {
  top: 84px;
}
@media (max-width: 900px) {
  .menu.open {
    gap: 0;
  }
  .menu.open .ml {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .menu.open .ml.on::after {
    display: none;
  }
}
@media (max-width: 640px) {
  .tabs {
    top: 84px;
  }
}
.menu .dd > span.ml {
  padding: 10px 0;
  font-weight: 500;
  font-size: 16.5px;
  color: var(--red);
  background: none;
}
.menu .dd > span.ml.on {
  color: var(--ink);
}
.menu .dd:hover > span.ml {
  color: var(--ink);
  background: none;
}
.pcard .pr {
  color: var(--red);
}
.pcard .pr small {
  color: var(--muted);
}

/* ===== BLOG HOME ===== */
.mast {
  background: var(--ink);
  color: #bbb;
  position: relative;
  overflow: hidden;
}
.mast::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -40px;
  width: 520px;
  height: 520px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 100'%3E%3Cpath fill='%23d4202a' fill-opacity='.18' d='M10 0h21l38 50-38 50H10l38-50z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.05' d='M52 0h21l38 50-38 50H52l38-50z'/%3E%3C/svg%3E")
    no-repeat center/contain;
}
.mast .wrap {
  position: relative;
  padding: 54px 0 0;
}
.mast .crumb {
  color: #888;
}
.mast-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid #2c2c2c;
}
.mast h1 {
  color: #fff;
  font-size: clamp(46px, 7vw, 96px);
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.mast h1 span {
  display: block;
  color: var(--red-2);
}
.mast p {
  font-size: 16.5px;
  color: #aaa;
  margin-bottom: 18px;
}
.mast .hsearch {
  margin-top: 0;
  max-width: none;
}
.topics {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 16px 0;
}
.topics::-webkit-scrollbar {
  display: none;
}
.topics :is(button, a) {
  flex: none;
  display: flex;
  gap: 8px;
  align-items: center;
  background: none;
  border: 1px solid #333;
  color: #ccc;
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: 0.2s;
}
.topics :is(button, a) em {
  font-style: normal;
  font-size: 11.5px;
  background: #2a2a2a;
  color: #aaa;
  padding: 2px 8px;
  border-radius: 999px;
}
.topics :is(button, a):hover {
  border-color: #777;
  color: #fff;
}
.topics :is(button, a).on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.topics :is(button, a).on em {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}
.ticker .row {
  display: inline-flex;
  gap: 48px;
  padding: 13px 0;
  animation: tick 40s linear infinite;
}
.ticker:hover .row {
  animation-play-state: paused;
}
.ticker span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.ticker b {
  background: #fff;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 5px;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}
.feat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 28px;
}
.feat {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #222;
  isolation: isolate;
}
.feat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s;
}
.feat:hover img {
  transform: scale(1.04);
}
.feat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0) 65%);
}
.feat .in {
  padding: 36px;
  max-width: 720px;
}
.feat h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  margin: 14px 0 12px;
}
.feat p {
  color: #ddd;
  font-size: 15.5px;
  margin-bottom: 18px;
}
.meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
}
.cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
}
.cat.lt {
  background: #fdeced;
  color: var(--red);
}
.meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.trending {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.trending h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.trending h3 i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px #fdeced;
}
.trending ol {
  list-style: none;
  counter-reset: t;
}
.trending li {
  counter-increment: t;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.trending li:last-child {
  border: 0;
}
.trending li::before {
  content: counter(t, decimal-leading-zero);
  font-size: 26px;
  font-weight: 800;
  color: var(--line);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: 0.2s;
}
.trending li:hover::before {
  color: var(--red);
}
.trending a b {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.trending a:hover b {
  color: var(--red);
}
.trending small {
  color: var(--muted);
  font-size: 12.5px;
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 50px;
  align-items: start;
}
.alist {
  display: grid;
  gap: 18px;
}
.art {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.3s;
}
.art:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-3px);
}
.art .im {
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: #2a2a2a;
}
.art .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.art:hover .im img {
  transform: scale(1.06);
}
.art h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 10px 0 8px;
}
.art:hover h3 {
  color: var(--red);
}
.art p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.art .meta {
  color: var(--muted);
}
.art.hide {
  display: none;
}
.bside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}
.bbox {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.bbox h4 {
  font-size: 17px;
  margin-bottom: 12px;
}
.bbox.dk {
  background: var(--ink);
  border-color: var(--ink);
  color: #bbb;
}
.bbox.dk h4 {
  color: #fff;
}
.bbox.rd {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.bbox.rd h4 {
  color: #fff;
}
.bbox.rd input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-size: 14px;
  margin: 12px 0 10px;
}
.bbox.rd label {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.bbox.rd .btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
}
.tlist {
  list-style: none;
}
.tlist li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.tlist li a:hover {
  color: var(--red);
}
.tlist em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}
.bbox .pills a {
  font-size: 13px;
  padding: 7px 12px;
}
.load {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
@media (max-width: 1000px) {
  .mast-top,
  .feat-grid,
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .bside {
    position: static;
  }
  .feat {
    min-height: 420px;
  }
}
@media (max-width: 640px) {
  .art {
    grid-template-columns: minmax(0, 1fr);
  }
  .feat .in {
    padding: 24px;
  }
}

/* ===== BLOG CATEGORY ===== */
.chero {
  position: relative;
  background: #111;
  color: #fff;
  overflow: hidden;
}
.chero > img {
  position: absolute;
  right: 0;
  top: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.chero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111 42%, rgba(17, 17, 17, 0.2) 75%, rgba(17, 17, 17, 0));
}
.chero .wrap {
  position: relative;
  z-index: 2;
  padding: 60px 0 66px;
  max-width: none;
}
.chero .in {
  max-width: 600px;
}
.chero .crumb {
  color: #888;
}
.cbadge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.chero h1 {
  color: #fff;
  font-size: clamp(44px, 6vw, 80px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 14px;
}
.chero p {
  color: #bbb;
  font-size: 16.5px;
  margin-bottom: 24px;
}
.chero .hsearch {
  margin: 0;
}
.ctabs {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.ctabs .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ctabs a {
  flex: none;
  padding: 18px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ctabs a em {
  font-style: normal;
  font-size: 11.5px;
  background: var(--mist);
  padding: 2px 8px;
  border-radius: 999px;
}
.ctabs a:hover {
  color: var(--ink);
}
.ctabs a.on {
  color: var(--ink);
  border-color: var(--red);
}
.ctabs a.on em {
  background: var(--red);
  color: #fff;
}
.lead-art {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: 0.3s;
}
.lead-art:hover {
  box-shadow: var(--shadow);
}
.lead-art .im {
  min-height: 380px;
  background: #2a2a2a;
  overflow: hidden;
}
.lead-art .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.lead-art:hover .im img {
  transform: scale(1.04);
}
.lead-art .bd {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.lead-art h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}
.lead-art p {
  color: var(--muted);
}
.agrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.agrid .art {
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
  align-items: start;
}
.agrid .art .im {
  border-radius: 0;
  aspect-ratio: 16/10;
}
.agrid .art > div:last-child {
  padding: 4px 22px 22px;
}
.agrid .art h3 {
  font-size: 19px;
}
.otopics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.otopic {
  border-radius: 18px;
  padding: 22px 18px;
  background: #1b1b1b;
  border: 1px solid #2a2a2a;
  color: #bbb;
  transition: 0.25s;
}
.otopic:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.otopic b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.otopic span {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
}
.otopic.on {
  background: var(--red);
  border-color: var(--red);
}
.otopic.on span {
  color: #fff;
}
.dark .pills a {
  background: #1b1b1b;
  border-color: #2c2c2c;
  color: #ddd;
}
.dark .pills a:hover {
  background: #fff;
  color: var(--ink);
}
@media (max-width: 1000px) {
  .chero > img {
    width: 100%;
    clip-path: none;
    opacity: 0.35;
  }
  .lead-art {
    grid-template-columns: minmax(0, 1fr);
  }
  .lead-art .im {
    min-height: 260px;
  }
  .otopics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .agrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .otopics {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .lead-art .bd {
    padding: 24px;
  }
}

/* ===== SINGLE POST ===== */
.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  z-index: 100;
  transition: width 0.1s;
}
.phero {
  background: var(--ink);
  color: #bbb;
  padding: 54px 0 150px;
  position: relative;
  overflow: hidden;
}
.phero::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 100'%3E%3Cpath fill='%23d4202a' fill-opacity='.18' d='M10 0h21l38 50-38 50H10l38-50z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.05' d='M52 0h21l38 50-38 50H52l38-50z'/%3E%3C/svg%3E")
    no-repeat center/contain;
}
.phero .wrap {
  position: relative;
  max-width: 900px;
}
.phero .crumb {
  color: #888;
  margin-bottom: 22px;
}
.phero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 16px 0 18px;
}
.phero .dek {
  font-size: 18px;
  color: #bbb;
  max-width: 760px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
  font-size: 14px;
}
.byline .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #222;
  display: grid;
  place-items: center;
  flex: none;
}
.byline .av svg {
  width: 26px;
}
.byline b {
  color: #fff;
  display: block;
}
.byline .sep {
  width: 1px;
  height: 30px;
  background: #333;
}
.cover {
  position: relative;
  z-index: 3;
  margin: -110px auto 0;
  max-width: 1100px;
  width: 92%;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 21/9;
  background: #2a2a2a;
  box-shadow: var(--shadow);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 6px;
}
.post-layout {
  display: grid;
  grid-template-columns: 64px minmax(0, 720px) 300px;
  gap: 48px;
  justify-content: center;
  padding: 56px 0 20px;
}
.share {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.share small {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 6px;
}
.share a,
.share button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
  color: var(--ink);
}
.share a:hover,
.share button:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.share svg {
  width: 18px;
  height: 18px;
}
.article {
  font-size: 17.5px;
  line-height: 1.8;
  color: #333;
}
.article > p {
  margin-bottom: 22px;
}
.article > p:first-of-type::first-letter {
  float: left;
  font-size: 72px;
  line-height: 0.9;
  font-weight: 800;
  color: var(--red);
  margin: 6px 12px 0 0;
}
.article h2 {
  font-size: 30px;
  letter-spacing: -0.03em;
  margin: 48px 0 16px;
  scroll-margin-top: 110px;
}
.article h3 {
  font-size: 21px;
  margin: 30px 0 10px;
}
.article ul,
.article ol {
  margin: 0 0 22px 22px;
}
.article li {
  margin-bottom: 8px;
}
.article li::marker {
  color: var(--red);
  font-weight: 800;
}
.article a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.keybox {
  background: var(--mist);
  border-radius: 20px;
  padding: 26px 28px;
  margin: 0 0 32px;
  border-left: 5px solid var(--red);
}
.keybox h4 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.keybox ul {
  margin: 0 0 0 18px;
  font-size: 16px;
}
.pull {
  margin: 34px 0;
  padding: 6px 0 6px 26px;
  border-left: 4px solid var(--ink);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.k-note {
  display: flex;
  gap: 14px;
  background: #fff6f6;
  border: 1px solid #f5d0d2;
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 15.5px;
  color: #6a2a2e;
  margin: 26px 0;
}
.k-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--red);
  margin-top: 3px;
}
.ptable2 {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 28px;
  font-size: 15.5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.ptable2 th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  padding: 13px 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ptable2 td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}
.ptable2 tr:nth-child(even) td {
  background: #fafafa;
}
.ptable2 td:first-child {
  font-weight: 700;
  color: var(--ink);
}
.steps-v {
  list-style: none !important;
  margin: 10px 0 28px !important;
  counter-reset: s;
}
.steps-v li {
  counter-increment: s;
  position: relative;
  padding: 0 0 20px 58px;
  margin: 0 !important;
}
.steps-v li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.steps-v li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.steps-v li:last-child::after {
  display: none;
}
.steps-v b {
  display: block;
  color: var(--ink);
}
.inproj {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin: 14px 0 30px;
}
.inproj a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--ink);
  font-weight: 500;
  transition: 0.2s;
}
.inproj a:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.inproj .im {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #2a2a2a;
}
.inproj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inproj b {
  display: block;
  font-size: 15.5px;
  line-height: 1.3;
}
.inproj small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.inproj em {
  font-style: normal;
  color: var(--red);
  font-weight: 800;
  font-size: 15px;
}
.incta {
  background: var(--ink);
  color: #bbb;
  border-radius: 20px;
  padding: 28px;
  margin: 34px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.incta h4 {
  color: #fff;
  font-size: 21px;
  margin-bottom: 4px;
}
.incta p {
  font-size: 15px;
  margin: 0;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 36px 0 26px;
}
.tags a {
  text-decoration: none !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mist);
}
.author {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  align-items: center;
}
.author .av {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.author .av svg {
  width: 40px;
}
.author b {
  font-size: 18px;
  color: var(--ink);
}
.author p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 4px 0 0;
}
.pside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}
.toc {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.toc h4 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.toc ol {
  list-style: none;
  counter-reset: c;
}
.toc li {
  counter-increment: c;
}
.toc a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: 0.2s;
}
.toc a::before {
  content: counter(c, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
  color: var(--line);
}
.toc a:hover,
.toc a.on {
  color: var(--ink);
}
.toc a.on::before {
  color: var(--red);
}
.pfaq {
  margin-top: 10px;
}
@media (max-width: 1150px) {
  .post-layout {
    grid-template-columns: minmax(0, 720px);
  }
  .share {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
  }
  .share small {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0 6px 0 0;
  }
  .pside {
    position: static;
  }
}
@media (max-width: 640px) {
  .article {
    font-size: 16.5px;
  }
  .cover {
    aspect-ratio: 4/3;
    margin-top: -90px;
  }
  .phero {
    padding-bottom: 120px;
  }
  .inproj {
    grid-template-columns: minmax(0, 1fr);
  }
  .article h2 {
    font-size: 25px;
  }
  .byline .sep {
    display: none;
  }
}
@media (max-width: 900px) {
  .agrid[style] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
.post-layout {
  align-items: start;
}
.pside {
  align-content: start;
}

/* ===== COMMUNITY v3 (editorial, E&V-style) ===== */
.ctop {
  padding: 44px 0 26px;
}
.ctop .crumb {
  color: var(--muted);
}
.ctop .crumb span {
  color: var(--ink);
}
.ctop-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  flex-wrap: wrap;
}
.ctop h1 {
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1;
  max-width: 820px;
}
.ctop h1 em {
  font-style: normal;
  color: var(--red);
}
.ctop .by {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
}
.ctop .by b {
  color: var(--ink);
}
.bleed {
  position: relative;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 21/9;
  background: #2a2a2a;
}
.bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bleed .chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  gap: 24px;
  box-shadow: var(--shadow);
}
.bleed .chip div b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.bleed .chip div b em {
  font-style: normal;
  color: var(--red);
}
.bleed .chip div small {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.bleed .chip div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.intro2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.intro2 .big {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.intro2 .big em {
  font-style: normal;
  color: var(--red);
}
.intro2 p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16.5px;
}
.feat5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.feat5 div {
  padding: 28px 22px 10px 0;
}
.feat5 div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.feat5 b {
  font-size: 13px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.feat5 h3 {
  font-size: 19px;
  margin: 12px 0 8px;
  letter-spacing: -0.02em;
}
.feat5 p {
  font-size: 14.5px;
  color: var(--muted);
}
.opcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.opcard {
  display: block;
  group: 1;
}
.opcard .im {
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background: #2a2a2a;
  position: relative;
}
.opcard .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.opcard:hover .im img {
  transform: scale(1.05);
}
.opcard .im span {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border-radius: 6px;
}
.opcard .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px 4px 0;
}
.opcard h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.opcard small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
}
.opcard .go {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  transition: 0.25s;
}
.opcard:hover .go {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(-45deg);
}
.opcard .go svg {
  width: 18px;
  height: 18px;
}
.inv6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #2c2c2c;
  border-radius: 22px;
  overflow: hidden;
}
.inv6 div {
  padding: 30px 28px;
  border-right: 1px solid #2c2c2c;
  border-bottom: 1px solid #2c2c2c;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: 0.25s;
}
.inv6 div:nth-child(3n) {
  border-right: 0;
}
.inv6 div:nth-child(n + 4) {
  border-bottom: 0;
}
.inv6 div:hover {
  background: #1b1b1b;
}
.inv6 i {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--red-2);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.inv6 h3 {
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
}
.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.mosaic figure {
  border-radius: 18px;
  overflow: hidden;
  background: #2a2a2a;
  cursor: zoom-in;
  position: relative;
}
.mosaic figure:first-child {
  grid-row: span 2;
}
.mosaic figure:nth-child(2) {
  grid-column: span 2;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.mosaic figure:hover img {
  transform: scale(1.05);
}
.mosaic figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}
.leadsec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}
.leadsec h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}
.leadsec p {
  color: var(--muted);
  margin: 14px 0 22px;
}
.lf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.lf input,
.lf select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 14.5px;
  outline: none;
  background: #fff;
}
.lf input:focus,
.lf select:focus {
  border-color: var(--ink);
}
.lf .full {
  grid-column: span 2;
}
.lf .ph2 {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
}
.lf label {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  align-items: flex-start;
}
.lf label input {
  width: auto;
  margin-top: 3px;
}
.lf .btn {
  grid-column: span 2;
}
.f-ok2 {
  display: none;
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.f-ok2 i {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-style: normal;
  font-size: 30px;
}
.devband {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #111;
  isolation: isolate;
}
.devband img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.devband::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 30%, rgba(0, 0, 0, 0.2));
}
.devband .in {
  padding: 56px;
  max-width: 600px;
}
.devband h2 {
  color: #fff;
  margin: 12px 0 14px;
}
.devband p {
  color: #ccc;
  margin-bottom: 24px;
}
.more9 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.more9 a {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #2a2a2a;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.more9 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s;
}
.more9 a:hover img {
  transform: scale(1.06);
}
.more9 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 55%);
}
.more9 span {
  padding: 18px 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.more9 span svg {
  width: 18px;
  height: 18px;
  transition: 0.25s;
}
.more9 a:hover span svg {
  transform: translateX(4px);
}
@media (max-width: 1000px) {
  .intro2,
  .leadsec {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .feat5 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .feat5 div {
    border-left: 0 !important;
    padding-left: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .opcards,
  .more9 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .inv6 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .inv6 div {
    border-right: 1px solid #2c2c2c !important;
    border-bottom: 1px solid #2c2c2c !important;
  }
  .bleed {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 640px) {
  .feat5,
  .opcards,
  .more9,
  .inv6 {
    grid-template-columns: minmax(0, 1fr);
  }
  .mosaic {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 200px 160px 160px;
  }
  .mosaic figure:first-child {
    grid-row: auto;
    grid-column: span 2;
  }
  .mosaic figure:nth-child(2) {
    grid-column: auto;
  }
  .lf {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }
  .lf .full,
  .lf .btn {
    grid-column: auto;
  }
  .bleed {
    aspect-ratio: 4/5;
  }
  .bleed .chip {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 12px;
    padding: 12px;
  }
  .bleed .chip div + div {
    padding-left: 12px;
  }
  .bleed .chip div b {
    font-size: 18px;
  }
  .devband .in {
    padding: 30px;
  }
}
.cities5 {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
}
.cities5 .city {
  aspect-ratio: auto;
}
.cities5 .city.big {
  grid-column: auto;
  grid-row: span 2;
}
@media (max-width: 900px) {
  .cities5 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 300px 200px 200px;
  }
  .cities5 .city.big {
    grid-column: span 2;
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  .cities5 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }
  .cities5 .city.big {
    grid-column: auto;
  }
}

/* =========================================================
   RESPONSIVE LAYER — phones, tablets, laptops, large desktops
   ========================================================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img,
svg,
video {
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
}
.menu .dd:last-child .dd-panel {
  left: auto;
  right: -10px;
}

/* large desktops */
@media (min-width: 1600px) {
  .wrap {
    width: min(1360px, 90%);
  }
  body {
    font-size: 16.5px;
  }
  .hhero {
    min-height: min(80vh, 860px);
  }
}
@media (min-width: 2200px) {
  .wrap {
    width: min(1520px, 88%);
  }
  body {
    font-size: 17.5px;
  }
}

/* laptops & tablets landscape */
@media (max-width: 1100px) {
  .layout,
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .menu {
    gap: 26px;
  }
}

/* tablets & mobile nav */
@media (max-width: 900px) {
  header.site .wrap {
    height: 68px;
  }
  .logo svg {
    height: 34px;
  }
  .logo .word {
    font-size: 20px;
  }
  .tabs,
  .tabs[style] {
    top: 68px;
  }
  html {
    scroll-padding-top: 130px;
  }
  .menu.open {
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: 6px 4% 18px;
  }
  .menu.open .dd {
    width: 100%;
  }
  .menu.open .dd > span.ml {
    justify-content: space-between;
    width: 100%;
  }
  .menu.open .dd > span.ml .car {
    transition: 0.25s;
  }
  .menu.open .dd.open > span.ml .car {
    transform: rotate(180deg);
  }
  .menu.open .dd-panel {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
    background: transparent;
  }
  .menu.open .dd.open .dd-panel {
    display: block;
  }
  .menu.open .dd-panel a {
    padding: 10px 8px;
    font-size: 15px;
  }
  body.nav-open {
    overflow: hidden;
  }
  .side,
  .pside,
  .bside {
    position: static;
  }
}

/* phones */
@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, 1240px);
  }
  .sec {
    padding: 56px 0;
  }
  .sec-sm {
    padding: 44px 0;
  }
  h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .head-row {
    margin-bottom: 26px;
    gap: 14px;
  }
  /* stop iOS zooming into form fields */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  /* safe area for iPhone home indicator */
  .mbar {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  /* tables scroll sideways instead of breaking the layout */
  .ptable2,
  .ftable,
  .ongo {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ptable {
    font-size: 14px;
  }
  /* tiles: never let badges push past the edge */
  .city .in,
  .type .in,
  .comm .in {
    gap: 10px;
  }
  .city .in > div:first-child,
  .type .in > h3 {
    min-width: 0;
  }
  .city h3 {
    font-size: 20px;
  }
  .city .ct {
    padding: 6px 10px;
  }
  .city .ct b {
    font-size: 16px;
  }
  .devband .in {
    max-width: 100%;
  }
  .cta2 .btns .btn,
  .hero-btns .btn {
    flex: 1 1 auto;
  }
  .fbar {
    padding: 10px;
  }
  .cover {
    width: calc(100% - 32px);
  }
  .phero h1,
  .chero h1,
  .mast h1 {
    letter-spacing: -0.03em;
  }
  .dhero .top {
    margin-bottom: 22px;
  }
  .dstats b {
    font-size: 24px;
  }
  .lead-art .im {
    min-height: 220px;
  }
  .trending {
    padding: 20px;
  }
  .feat .in {
    padding: 22px;
  }
  .bleed {
    width: calc(100% - 32px);
    border-radius: 20px;
  }
  .ctop h1 {
    font-size: clamp(32px, 9vw, 44px);
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .logo .word {
    font-size: 18px;
  }
  .logo svg {
    height: 30px;
  }
  .hhero h1 {
    font-size: 40px;
  }
  .kpis b,
  .hstats b {
    font-size: 20px;
  }
  .mbar a {
    font-size: 12.5px;
    padding: 11px 4px;
  }
  .pager a,
  .pager span {
    min-width: 36px;
    height: 38px;
    padding: 0 8px;
  }
  .city h3 {
    font-size: 18px;
  }
}

/* phones in landscape / short screens */
@media (max-height: 520px) and (orientation: landscape) {
  .hhero {
    min-height: auto;
  }
  .hhero .wrap {
    padding: 60px 0 70px;
  }
  .hero2 .wrap {
    padding: 36px 0;
  }
  .hero-media {
    height: 300px;
  }
}

/* touch devices: no sticky hover lift */
@media (hover: none) {
  .pcard:hover,
  .ccard:hover,
  .art:hover,
  .guide:hover,
  .dcard:hover,
  .whyb div:hover,
  .amen:hover {
    transform: none;
  }
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.am2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.span2 {
  grid-column: span 2;
}
@media (max-width: 640px) {
  .am2,
  .dl2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .span2 {
    grid-column: auto;
  }
}
.fbar.f3 {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 640px) {
  .fbar.f3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.f .k-note {
  display: block;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
}
@media (max-width: 640px) {
  .f .ph {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

/* ===== HOME: Property type index ===== */
.k-ptype {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}
.ptlist {
  border-top: 2px solid var(--ink);
}
.ptrow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 44px;
  gap: 18px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line);
  transition:
    background 0.25s,
    padding 0.25s;
}
.ptrow .no {
  font-size: 14px;
  font-weight: 800;
  color: var(--line);
  transition: 0.25s;
}
.ptrow h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  transition: 0.25s;
}
.ptrow small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}
.ptrow .cnt {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.ptrow .cnt b {
  display: block;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ptrow .thumb {
  display: none;
}
.ptrow .go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.ptrow .go svg {
  width: 16px;
  height: 16px;
}
.ptrow.on {
  padding-left: 16px;
  background: linear-gradient(90deg, #fdeced, transparent);
}
.ptrow.on .no,
.ptrow.on h3,
.ptrow.on .cnt b {
  color: var(--red);
}
.ptrow.on .go {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(-45deg);
}
.ptview {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #2a2a2a;
  min-height: 420px;
  display: block;
}
.ptview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.35s ease,
    transform 6s ease;
}
.ptview:hover img {
  transform: scale(1.05);
}
.ptview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0) 45%);
}
.pv-tag {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}
.pv-name {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 20px;
  color: #fff;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ===== HOME: Developer leaderboard ===== */
.lboard {
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  overflow: hidden;
}
.lhead,
.drow {
  display: grid;
  grid-template-columns: 56px 56px minmax(0, 1.4fr) minmax(0, 1fr) 110px 48px;
  gap: 20px;
  align-items: center;
  padding: 0 26px;
}
.lhead {
  height: 48px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
  font-weight: 700;
  border-bottom: 1px solid #2a2a2a;
  background: #181818;
}
.drow {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #222;
  transition: background 0.25s;
}
.drow:last-child {
  border-bottom: 0;
}
.drow:hover {
  background: #1c1c1c;
}
.drow .rk {
  font-size: 26px;
  font-weight: 800;
  color: #3a3a3a;
  letter-spacing: -0.04em;
  transition: 0.25s;
}
.drow:first-of-type .rk,
.drow:hover .rk {
  color: var(--red-2);
}
.drow .mono {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}
.drow .dn b {
  display: block;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.drow .dn small {
  color: #8e8e8e;
  font-size: 13.5px;
}
.drow .bar {
  height: 8px;
  background: #262626;
  border-radius: 999px;
  overflow: hidden;
}
.drow .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red-dk), var(--red-2));
  border-radius: 999px;
}
.drow .dc {
  color: #8e8e8e;
  font-size: 12.5px;
  text-align: right;
}
.drow .dc b {
  display: block;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.drow .go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #333;
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.drow .go svg {
  width: 16px;
  height: 16px;
}
.drow:hover .go {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(-45deg);
}

/* ===== HOME: City accordion ===== */
.cacc {
  display: flex;
  gap: 12px;
  height: 460px;
}
.cpanel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #2a2a2a;
  color: #fff;
  transition: flex 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  isolation: isolate;
}
.cpanel.on {
  flex: 3.4;
}
.cpanel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s;
}
.cpanel.on img {
  transform: scale(1.04);
}
.cpanel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.25));
}
.vlabel {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.cpanel.on .vlabel {
  opacity: 0;
}
.cin {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s 0.15s,
    transform 0.4s 0.15s;
  pointer-events: none;
}
.cpanel.on .cin {
  opacity: 1;
  transform: none;
}
.cin small {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #bbb;
  font-weight: 700;
}
.cin h3 {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: -0.04em;
  margin: 6px 0 6px;
}
.cin p {
  color: #ddd;
  font-size: 15px;
  max-width: 420px;
}
.cmeta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
  color: #ddd;
}
.cmeta b {
  font-size: 22px;
  color: #fff;
  margin-right: 4px;
}
.cmeta em {
  font-style: normal;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
}
.cmeta em svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1000px) {
  .k-ptype {
    grid-template-columns: minmax(0, 1fr);
  }
  .ptview {
    display: none;
  }
  .ptrow {
    grid-template-columns: 40px minmax(0, 1fr) auto 64px;
  }
  .ptrow .go {
    display: none;
  }
  .ptrow .thumb {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2a2a;
  }
  .ptrow .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .lhead {
    display: none;
  }
  .drow {
    grid-template-columns: 44px 48px minmax(0, 1fr) 90px;
    row-gap: 10px;
    padding: 18px 20px;
  }
  .drow .bar {
    grid-column: 3/5;
    grid-row: 2;
  }
  .drow .go {
    display: none;
  }
  .cacc {
    flex-direction: column;
    height: auto;
  }
  .cpanel,
  .cpanel.on {
    flex: none;
    height: 120px;
    transition: height 0.5s;
  }
  .cpanel.on {
    height: 300px;
  }
  .vlabel {
    writing-mode: horizontal-tb;
    transform: none;
    left: 22px;
    bottom: auto;
    top: 50%;
    margin-top: -14px;
  }
}
@media (max-width: 640px) {
  .ptrow {
    grid-template-columns: 30px minmax(0, 1fr) 56px;
    gap: 12px;
    padding: 16px 2px;
  }
  .ptrow .cnt {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    margin-top: -6px;
  }
  .ptrow .cnt b {
    display: inline;
    font-size: 15px;
    margin-right: 4px;
  }
  .ptrow .thumb {
    grid-column: 3;
    grid-row: 1/3;
    width: 56px;
    height: 56px;
  }
  .ptrow small {
    display: none;
  }
  .ptrow.on {
    padding-left: 8px;
  }
  .drow {
    grid-template-columns: 36px minmax(0, 1fr) 80px;
    gap: 12px;
  }
  .drow .mono {
    display: none;
  }
  .drow .rk {
    font-size: 20px;
  }
  .drow .bar {
    grid-column: 2/4;
  }
  .cpanel.on {
    height: 280px;
  }
  .cin {
    padding: 20px;
  }
  .cin p {
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .drow .dn small {
    display: none;
  }
  .drow {
    padding: 16px;
  }
}
.cmeta {
  flex-wrap: wrap;
}
.cpanel:not(.on) .cin {
  visibility: hidden;
}

/* ===== HOME: community marquee ===== */
.mq {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 34px;
  background: var(--ink);
  border-radius: 24px;
  padding: 26px 0 26px 28px;
  overflow: hidden;
}
.mq-label {
  color: #bbb;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mq-label b {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  line-height: 1;
}
.mq-label span {
  font-size: 14.5px;
  line-height: 1.35;
}
.mq-label .btn {
  width: max-content;
  padding: 11px 18px;
  font-size: 13.5px;
  margin-top: 6px;
}
.mq-label .btn svg {
  width: 15px;
  height: 15px;
}
.mq-rows {
  display: grid;
  gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq-row {
  overflow: hidden;
}
.mq-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: mq 38s linear infinite;
}
.mq-row.rev .mq-track {
  animation-direction: reverse;
  animation-duration: 44s;
}
.mq:hover .mq-track,
.mq:focus-within .mq-track {
  animation-play-state: paused;
}
@keyframes mq {
  to {
    transform: translateX(calc(-50% - 5px));
  }
}
.mq-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 14px;
  border-radius: 14px;
  background: #1f1f1f;
  border: 1px solid #2e2e2e;
  color: #e8e8e8;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  transition: 0.25s;
}
.mq-chip svg {
  width: 16px;
  height: 16px;
  color: var(--red-2);
  transition: 0.25s;
}
.mq-chip:hover,
.mq-chip:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.mq-chip:hover svg {
  color: #fff;
}
@media (max-width: 900px) {
  .mq {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 0 24px;
  }
  .mq-label {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 22px;
    gap: 12px;
  }
  .mq-label b {
    font-size: 34px;
  }
  .mq-label span br {
    display: none;
  }
  .mq-label .btn {
    margin: 0 0 0 auto;
  }
}
@media (max-width: 640px) {
  .mq-label .btn {
    margin: 0;
  }
  .mq-chip {
    font-size: 13.5px;
    padding: 10px 14px 10px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mq-row {
    overflow-x: auto;
  }
}

/* ===== MOBILE HARDENING — no sideways scrolling on any phone ===== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}
body {
  overflow-wrap: break-word;
  position: relative;
}
section,
header,
footer,
main,
aside,
article,
nav,
.wrap {
  max-width: 100%;
}
.hhero,
.hero2,
.hero3,
.dhero,
.lhero,
.mast,
.chero,
.phero,
.trust,
.ticker,
.cta2,
.devband,
.mq,
.cacc,
.bleed,
.cover {
  overflow: hidden;
}
.grid,
.pcards,
.cgrid,
.cgrid4,
.agrid,
.guides,
.types,
.devs,
.cities,
.cities5,
.more9,
.opcards {
  min-width: 0;
}
.pcards > *,
.cgrid > *,
.cgrid4 > *,
.agrid > *,
.guides > *,
.more9 > *,
.opcards > *,
.layout > *,
.blog-layout > *,
.post-layout > *,
.split > *,
.loc > *,
.feat-grid > *,
.k-ptype > *,
.leadsec > *,
.intro2 > * {
  min-width: 0;
}
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .hero-btns,
  .cta2 .btns,
  .side-actions {
    flex-wrap: wrap;
  }
  .pager {
    gap: 4px;
  }
  .ptabs {
    width: 100%;
  }
  .lf .ph2,
  .f .ph {
    grid-template-columns: 104px minmax(0, 1fr);
  }
}

/* =========================================================
   KEY4MOVE × WORDPRESS — skin for the theme's functional parts
   (lead forms, popup, filters, pagination, content, tables, TOC...)
   ========================================================= */
body {
  background: #fff;
}
main#main {
  display: block;
}
.logo span {
  color: inherit;
}
.container {
  max-width: min(1240px, 92%);
  padding: 0;
}
@media (min-width: 1600px) {
  .container {
    max-width: min(1360px, 90%);
  }
}
@media (max-width: 640px) {
  .container {
    max-width: calc(100% - 32px);
  }
}
.section-title {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: -0.03em;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--ink);
  text-align: left;
}
.section-title::after {
  display: none;
}
.rv {
  will-change: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- buttons inherited from content ---------- */
.btn {
  line-height: 1.2;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-ghost {
  background: transparent;
  border: 2px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-block {
  width: 100%;
}

/* ---------- lead form (popup + inline) ---------- */
.js-form {
  display: grid;
  gap: 12px;
}
.js-form .form-group {
  display: grid;
  gap: 6px;
}
.js-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.js-form .req {
  color: var(--red);
}
.js-form input[type="text"],
.js-form input[type="email"],
.js-form input[type="tel"] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.js-form input:focus {
  border-color: var(--ink);
}
.js-form .has-error input {
  border-color: var(--red);
}
.js-form .field-error {
  color: var(--red);
  font-size: 12px;
  min-height: 0;
}
.js-form .field-error:empty {
  display: none;
}
.js-form [type="submit"] {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 15px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s;
}
.js-form [type="submit"]:hover {
  background: var(--red-dk);
}
.js-form [type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.form-msg {
  display: none;
  font-size: 14px;
  font-weight: 700;
  color: #137a3a;
  text-align: center;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.iti {
  width: 100%;
}
.iti__tel-input,
.iti input.iti__tel-input {
  padding-left: 92px !important;
}
.iti__country-container .iti__selected-country {
  border-radius: 10px 0 0 10px;
}
.iti__dropdown-content {
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.dark .js-form label,
.side-card.dk .js-form label {
  color: #fff;
}

/* side form card used by templates */
.form-card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--r);
  padding: 26px;
  background: #fff;
  box-shadow: 0 18px 50px -34px rgba(0, 0, 0, 0.4);
}
.form-card .form-title {
  font-size: 21px;
  margin-bottom: 6px;
}
.form-card .form-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.sticky-form {
  position: sticky;
  top: 110px;
}
@media (max-width: 1100px) {
  .sticky-form {
    position: static;
  }
}

/* ---------- enquiry popup (#enquiry-modal) ---------- */
#enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#enquiry-modal.open {
  display: flex;
}
#enquiry-modal .modal-box {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  border-top: 5px solid var(--red);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  animation: k4pop 0.3s ease;
}
@keyframes k4pop {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
#enquiry-modal .modal-title {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  padding-right: 30px;
}
#enquiry-modal .modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
#enquiry-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
#enquiry-modal .modal-close:hover {
  background: var(--ink);
  color: #fff;
}
body.no-scroll {
  overflow: hidden;
}

/* ---------- photo lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(8, 8, 8, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 14px;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.lb-nav:hover {
  background: var(--red);
}
.lb-prev {
  left: 18px;
}
.lb-next {
  right: 18px;
}
.lb-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #ddd;
  font-size: 14px;
}

/* ---------- listing filters + results + pagination ---------- */
form.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.4);
  margin-bottom: 18px;
}
form.filters input,
form.filters select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
form.filters input:focus,
form.filters select:focus {
  border-color: var(--ink);
}
form.filters .btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 12px 22px;
}
form.filters.blog-search {
  grid-template-columns: 1fr;
  box-shadow: none;
}
.result-count {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
}
.no-results {
  grid-column: 1/-1;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  background: var(--mist);
  border-radius: 16px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pagination .pg-btn,
.pagination .pg-dots {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.pagination .pg-dots {
  border: 0;
  background: none;
}
.pagination .pg-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pagination a.pg-btn:hover,
.pagination button.pg-btn:hover:not(:disabled) {
  border-color: var(--ink);
}
.pagination .disabled,
.pagination [disabled] {
  opacity: 0.4;
  cursor: default;
}
@media (max-width: 640px) {
  form.filters {
    grid-template-columns: 1fr;
  }
  .pagination .pg-btn span {
    display: none;
  }
}

/* listing grids used by ul_projects_listing() */
.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.grid > * {
  min-width: 0;
}

/* ---------- group blocks: developers list, city communities, property types ---------- */
.cg-list {
  display: grid;
}
.cg-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.cg-block:first-child {
  padding-top: 8px;
}
.cg-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cg-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cg-title h3 {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.03em;
}
.cg-count {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fdeced;
  color: var(--red);
  font-weight: 800;
  font-size: 12.5px;
}
.cg-rec {
  background: var(--ink);
  color: #fff;
}
.cg-all {
  margin-left: auto;
  font-weight: 700;
  color: var(--red);
  font-size: 14px;
}
.cg-all:hover {
  text-decoration: underline;
}
.cg-mono {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  flex: none;
}
.cg-mono::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 20px;
  height: 20px;
  background: var(--red);
  transform: rotate(45deg);
}
.cg-mono img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}
@media (max-width: 640px) {
  .cg-all {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------- chips ---------- */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-list a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  transition: 0.2s;
}
.chip-list a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.dark .chip-list a {
  background: #1b1b1b;
  border-color: #2c2c2c;
  color: #ddd;
}
.dark .chip-list a:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- section bar built from H2s (project page) ---------- */
.subnav {
  position: sticky;
  top: 84px;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subnav[hidden] {
  display: none;
}
.subnav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  width: min(1240px, 92%);
  margin: 0 auto;
}
.subnav-inner::-webkit-scrollbar {
  display: none;
}
.subnav-inner a {
  flex: none;
  padding: 18px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.subnav-inner a:hover {
  color: var(--ink);
}
.subnav-inner a.active {
  color: var(--ink);
  border-color: var(--red);
}
@media (max-width: 900px) {
  .subnav {
    top: 68px;
  }
}

/* ---------- rich content written in WordPress ---------- */
.ul-rich {
  font-size: 16.5px;
  line-height: 1.8;
  color: #333;
}
.ul-rich h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  margin: 40px 0 14px;
  scroll-margin-top: 130px;
}
.ul-rich h3 {
  font-size: 21px;
  margin: 28px 0 10px;
}
.ul-rich h4 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.ul-rich p {
  margin-bottom: 18px;
}
.ul-rich a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ul-rich ul:not([class]),
.ul-rich ol:not([class]) {
  margin: 0 0 20px 22px;
}
.ul-rich li::marker {
  color: var(--red);
  font-weight: 800;
}
.ul-rich blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 24px;
  border-left: 4px solid var(--red);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.ul-rich img {
  border-radius: 14px;
  height: auto;
}
.ul-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.ul-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ul-table th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-size: 13.5px;
}
.ul-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.ul-table tr:nth-child(even) td {
  background: #fafafa;
}
.ul-rich details.faq,
.ul-rich details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  margin-bottom: 10px;
  background: #fff;
}
.ul-rich details[open] {
  border-color: var(--ink);
  background: var(--mist);
}
.ul-rich details summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.ul-rich details summary::-webkit-details-marker {
  display: none;
}
.ul-rich details summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.ul-rich details[open] summary::after {
  transform: rotate(45deg);
  background: var(--red);
}
.ul-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.ul-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ul-clamp {
  max-height: 420px;
  overflow: hidden;
  position: relative;
}
.ul-clamp::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(transparent, #fff);
}
.ul-clamp.is-open {
  max-height: none;
}
.ul-clamp.is-open::after {
  display: none;
}
.ul-more {
  margin-top: 12px;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.about-lead {
  font-size: 17.5px;
  color: var(--ink);
  margin-bottom: 14px;
}

/* ---------- article TOC / share / progress ---------- */
.read-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
}
nav[data-toc] ol {
  list-style: none;
  counter-reset: c;
  margin: 0;
}
nav[data-toc] li {
  counter-increment: c;
}
nav[data-toc] a {
  display: grid;
  grid-template-columns: 26px 1fr;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none !important;
}
nav[data-toc] a::before {
  content: counter(c, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
  color: var(--line);
}
nav[data-toc] a:hover,
nav[data-toc] a.active {
  color: var(--ink);
}
nav[data-toc] a.active::before {
  color: var(--red);
}
.toc-mobile {
  display: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  margin-bottom: 26px;
}
.toc-mobile summary {
  padding: 14px 0;
  font-weight: 800;
  cursor: pointer;
}
@media (max-width: 1150px) {
  .toc-mobile {
    display: block;
  }
  .pside .toc {
    display: none;
  }
}
[data-share] {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.share-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}
.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none !important;
  transition: 0.2s;
}
.share-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.share.v [data-share] {
  flex-direction: column;
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.post-nav a {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-decoration: none !important;
  color: var(--ink) !important;
}
.post-nav a:hover {
  border-color: var(--red);
}
.post-nav small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.post-nav b {
  font-size: 15.5px;
}
.pn-next {
  text-align: right;
}
@media (max-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
}

/* ---------- design snippets / Bootstrap-era content: re-tinted via tokens in ul-theme.css ---------- */
.ul-rich .btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  border-radius: 10px;
}

/* ---------- WordPress bits ---------- */
.wp-block-image img {
  border-radius: 14px;
}
.alignleft {
  float: left;
  margin: 0 20px 12px 0;
}
.alignright {
  float: right;
  margin: 0 0 12px 20px;
}
.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.admin-bar header.site {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar header.site {
    top: 46px;
  }
}
.k4m-thumb-fb {
  background: linear-gradient(135deg, #1b1b1b, #3a3a3a);
}
.notice-hero .big {
  font-size: clamp(70px, 12vw, 140px);
  font-weight: 800;
  color: var(--red-2);
  letter-spacing: -0.06em;
  line-height: 1;
}

/* ---------- WordPress template additions ---------- */
.qchips .qchip-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
}
.qchips .qchip-btn:hover {
  background: var(--red);
  border-color: var(--red);
}
button.media {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}
.drow .mono img,
.dcard .mono img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border-radius: inherit;
}
.drow .mono,
.dcard .mono {
  overflow: hidden;
}
.guide .cat {
  background: none;
  padding: 0;
  border-radius: 0;
  display: block;
  margin-bottom: 8px;
}
button.main {
  border: 0;
  padding: 0;
  cursor: zoom-in;
  display: block;
}
.hero-media .media-count {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.hero2 .tags a.k-tag:hover {
  background: #fff;
  color: var(--ink);
}
.prose-full .ul-rich {
  max-width: none;
}
.prose-full .ul-rich > h2:first-child {
  margin-top: 0;
}
.cta-strip.dark {
  background: var(--ink);
  color: #fff;
}
.cta-strip.dark small {
  color: #9a9a9a;
}
.cta-strip.dark b {
  color: #fff;
}
.cta-strip.dark span {
  color: #bdbdbd;
}
.explore2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .explore2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
.ul-rich details summary::after {
  position: static !important;
  transform: none;
  font-size: 17px !important;
  color: #fff !important;
  line-height: 1;
}
.ul-rich details[open] summary::after {
  content: "+" !important;
  transform: rotate(45deg);
}
.ul-rich details summary {
  position: relative;
  padding-right: 0;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--red);
  cursor: pointer;
  text-decoration: underline;
}
form.filters .btn svg {
  width: 17px;
  height: 17px;
}
form.filters .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.listing-grid .no-results {
  grid-column: 1/-1;
}
.lift > .ul-listing > form.filters,
.lift > .cg-wrap > form.filters {
  margin-top: -34px;
  position: relative;
  z-index: 3;
}
.dbadge.has-img {
  overflow: hidden;
  padding: 14px;
}
.dbadge.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mono.has-img {
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px;
}
.mono.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.mono.has-img::after {
  display: none;
}
.dev-head h3 a:hover {
  color: var(--red);
}
.k-badge.rec {
  background: var(--ink);
  color: #fff;
}
.k-badge.soft {
  background: var(--mist);
  color: var(--ink);
}
.result-count b {
  color: var(--ink);
}
.form-card .form-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.intro-c {
  max-width: 860px;
  text-align: center;
}
.lead-big {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.6;
  color: var(--ink);
  margin-top: 14px;
}
.lead-big p {
  margin: 0;
}
.dhero .hsearch {
  margin-inline: 0;
}
.cgrid .no-results {
  grid-column: 1/-1;
}
.hl svg {
  flex: none;
}
.cchips a {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.cchips a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.dhero .btn-line,
.lhero .btn-line {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}
.dhero .btn-line:hover,
.lhero .btn-line:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.nl-msg {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.nl-msg:empty {
  display: none;
}
.nl-msg.ok {
  color: #fff;
}
.nl-msg.err {
  color: #ffe1e1;
}
.bbox.rd a {
  color: inherit;
}
.ticker a {
  color: inherit;
}
.mast .crumb {
  color: #aaa;
}
.mast .crumb span {
  color: #fff;
}
.toc-widget nav[data-toc] {
  margin-top: 6px;
}
.share.v [data-share] .share-label {
  writing-mode: horizontal-tb;
  font-size: 10px;
}
.article-body.ul-rich {
  font-size: 17px;
}
.phero .meta a.cat:hover {
  opacity: 0.85;
}
.agrid .art .meta .cat {
  display: none;
}
.ul-rich h2,
.ul-rich h3,
.ul-rich h4 {
  font-family: var(--font);
  font-weight: 800;
  color: var(--ink);
}
.ul-rich h2::after,
.ul-rich h2::before {
  display: none !important;
}
.ul-rich table th {
  background: var(--ink) !important;
  color: #fff !important;
}
.ul-rich table {
  border-radius: 12px;
  overflow: hidden;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.contact-cards > * {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: 0.2s;
}
.contact-cards > a:hover {
  border-color: var(--ink);
}
.contact-cards i {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.contact-cards i svg {
  width: 22px;
  height: 22px;
}
.contact-cards b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-cards span {
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 640px) {
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .back-top {
    bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    right: 14px !important;
  }
}

/* ===== K4M Lazy Blocks (project page): 80px around each section =====
   Lazy Blocks wraps each block in <div class="wp-block-lazyblock-…">, so .full > section does not reach them. */
.full > [class*="wp-block-lazyblock-k4m-"] > section {
  margin: 80px 0;
}
.am i img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* K4M · Amenities: category headings (block option "Show category headings") */
.am-cat {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 30px 0 14px;
}
.am + .am-cat {
  margin-top: 34px;
}
