@font-face {
  font-family: "Inter";
  src: url("../fonts/webfonts/Inter-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/webfonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/webfonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/webfonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/webfonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/webfonts/Inter-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/webfonts/Inter-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --kn-black: #050505;
  --kn-charcoal: #10100f;
  --kn-ink: #171612;
  --kn-paper: #f7f2e8;
  --kn-white: #fffdf7;
  --kn-muted: #b7afa1;
  --kn-muted-dark: #655f55;
  --kn-gold: #c7a24a;
  --kn-gold-soft: #e9b711;
  --kn-line: rgba(199, 162, 74, 0.34);
  --kn-line-light: rgba(5, 5, 5, 0.12);
  --kn-max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--kn-black);
  color: var(--kn-white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: var(--kn-gold-soft);
  box-shadow: 0 0 24px rgba(232, 207, 128, 0.65);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 20px clamp(18px, 4vw, 58px);
  background: rgba(5, 5, 5, 0.76);
  border-bottom: 1px solid rgba(255, 253, 247, 0.1);
  backdrop-filter: blur(18px);
  transition: transform 0.32s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-105%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--kn-white);
  font-size: 18px;
  font-weight: 400;
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.3vw, 32px);
}

.site-nav a,
.header-phone,
.footer-links a {
  position: relative;
  color: rgba(255, 253, 247, 0.72);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--kn-gold);
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.header-phone:hover,
.footer-links a:hover {
  color: var(--kn-white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.header-phone {
  justify-self: end;
}

.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--kn-gold);
  background: var(--kn-gold);
  color: var(--kn-black);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-3px);
  background: var(--kn-gold-soft);
  border-color: var(--kn-gold-soft);
}

.btn-ghost {
  background: rgba(255, 253, 247, 0.05);
  color: var(--kn-white);
  border-color: rgba(255, 253, 247, 0.22);
}

.btn-ghost:hover {
  color: var(--kn-black);
}

.floating-cta {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--kn-gold);
  background: var(--kn-gold);
  color: var(--kn-black);
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(199, 162, 74, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta:hover {
  background: var(--kn-gold-soft);
  border-color: var(--kn-gold-soft);
  box-shadow: 0 12px 40px rgba(233, 183, 17, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

@media (max-width: 680px) {
  .floating-cta {
    top: 18px;
    right: 18px;
    min-height: 48px;
    padding: 0 22px;
    font-size: 12px;
  }
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 1px solid rgba(255, 253, 247, 0.16);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--kn-white);
}

.hero,
.page-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) 74px;
}

.hero {
  grid-template-rows: 1fr auto;
  align-items: stretch;
  min-height: 78vh;
  padding: 92px clamp(18px, 5vw, 72px) 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(199, 162, 74, 0.12), transparent 32%),
    linear-gradient(115deg, #050505 0%, #050505 47%, #11100e 47%, #050505 100%);
}

.home-hero {
  min-height: calc(100svh - 142px);
  padding-top: 84px;
}

.page-hero {
  min-height: 72vh;
}

.hero-bg-slideshow {
  position: absolute;
  inset: -3%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.42;
  mask-image: linear-gradient(115deg, transparent 0%, transparent 42%, #000 51%, #000 100%);
}

.hero-bg-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(0.28) contrast(1.08) brightness(0.72);
  transform: scale(1.06);
  animation: heroBackgroundFade 40s infinite;
}

.hero-bg-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.68) 44%, rgba(5, 5, 5, 0.5) 100%),
    radial-gradient(circle at 78% 24%, rgba(199, 162, 74, 0.18), transparent 34%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.2) 46%, rgba(5, 5, 5, 0.72));
}

.hero-bg-slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.hero-bg-slideshow img:nth-child(2) {
  animation-delay: 8s;
}

.hero-bg-slideshow img:nth-child(3) {
  animation-delay: 16s;
}

.hero-bg-slideshow img:nth-child(4) {
  animation-delay: 24s;
}

.hero-bg-slideshow img:nth-child(5) {
  animation-delay: 32s;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.06) brightness(0.72);
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroImageFade 30s infinite;
}

.hero-slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.hero-slideshow img:nth-child(2) {
  animation-delay: 6s;
}

.hero-slideshow img:nth-child(3) {
  animation-delay: 12s;
}

.hero-slideshow img:nth-child(4) {
  animation-delay: 18s;
}

.hero-slideshow img:nth-child(5) {
  animation-delay: 24s;
}

@keyframes heroImageFade {
  0%,
  17% {
    opacity: 1;
    transform: scale(1);
  }

  22%,
  95% {
    opacity: 0;
    transform: scale(1.045);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroBackgroundFade {
  0%,
  16% {
    opacity: 0.62;
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  22%,
  96% {
    opacity: 0;
    transform: scale(1.1) translate3d(-1.5%, 0, 0);
  }

  100% {
    opacity: 0.62;
    transform: scale(1.04) translate3d(0, 0, 0);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.54) 52%, rgba(5, 5, 5, 0.18)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.05) 55%);
}

.hero-grid {
  display: none;
}

.hero-inner,
.section-inner,
.footer-inner {
  position: relative;
  z-index: 2;
  width: min(var(--kn-max), 100%);
  margin: 0 auto;
}

.hero > .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 0.72fr);
  gap: clamp(34px, 4.8vw, 72px);
  align-items: center;
  align-self: center;
  padding-bottom: clamp(22px, 4vh, 40px);
}

.home-hero > .hero-inner {
  padding-bottom: clamp(16px, 2.4vh, 26px);
}

.hero-content {
  max-width: 700px;
  font-family: "Inter", Arial, sans-serif;
}

.home-hero .hero-content {
  position: relative;
  padding: clamp(14px, 2vw, 28px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--kn-gold-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 3px;
  background: var(--kn-gold);
}

h1,
.hero-title,
.section-title {
  color: inherit;
  letter-spacing: 0;
}

h1,
.hero-title {
  max-width: 720px;
  font-size: clamp(40px, 4.45vw, 64px);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  line-height: 0.96;
}

.home-hero .hero-title {
  font-size: clamp(40px, 4.05vw, 60px);
}

.section-title {
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.05;
}

.section-title + .section-copy,
.section-title + .lead-copy {
  margin-top: clamp(18px, 2vw, 28px);
}

.hero-copy,
.section-copy,
.lead-copy {
  max-width: 690px;
  color: rgba(255, 253, 247, 0.72);
  font-size: clamp(16px, 1.25vw, 19px);
}

.hero-copy {
  max-width: 610px;
  margin-top: 18px;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 300;
}

.home-hero .hero-copy {
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.home-hero .hero-actions {
  margin-top: 22px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--kn-max), 100%);
  margin: 0 auto;
  border: 1px solid rgba(199, 162, 74, 0.56);
  box-shadow: inset 0 0 0 1px rgba(199, 162, 74, 0.08);
}

.hero-stat {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 20px;
  background: var(--kn-charcoal);
  border-right: 1px solid rgba(199, 162, 74, 0.48);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-visual {
  position: relative;
  min-height: clamp(390px, 46vh, 520px);
  isolation: isolate;
  border: 1px solid rgba(199, 162, 74, 0.62);
  overflow: hidden;
  transform: translateY(4px);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.44),
    0 0 0 10px rgba(255, 253, 247, 0.018);
}

.home-hero .hero-visual {
  min-height: clamp(330px, 38vh, 455px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255, 253, 247, 0.18);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px auto;
  z-index: 3;
  width: min(42%, 220px);
  height: 38%;
  pointer-events: none;
  border-right: 2px solid var(--kn-gold);
  border-bottom: 2px solid var(--kn-gold);
  opacity: 0.85;
}

.hero-visual .hero-media {
  position: absolute;
  inset: 0;
}

.hero-visual .hero-media::after {
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.04) 58%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.22), transparent 55%);
}

.hero-visual-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.22));
  border-left: 2px solid var(--kn-gold);
  backdrop-filter: blur(10px);
}

.hero-visual-caption span {
  color: var(--kn-gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-visual-caption p {
  max-width: 260px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 14px;
  text-align: right;
}

.hero-stat strong {
  color: var(--kn-white);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1;
}

.hero-stat span {
  margin-top: 6px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-marquee {
  width: min(var(--kn-max), calc(100% - clamp(36px, 10vw, 144px)));
  margin: 22px auto clamp(44px, 6vh, 68px);
  overflow: hidden;
  border-top: 1px solid var(--kn-line);
  border-bottom: 1px solid var(--kn-line);
  background: rgba(255, 253, 247, 0.025);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.logo-marquee-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  padding: 18px clamp(17px, 2.5vw, 38px);
}

.logo-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  color: rgba(255, 253, 247, 0.78);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 300;
  text-transform: uppercase;
}

.logo-marquee img {
  width: clamp(30px, 3vw, 48px);
  height: clamp(30px, 3vw, 48px);
  opacity: 0.92;
}

@keyframes logoMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.section {
  position: relative;
  isolation: isolate;
  padding: clamp(78px, 10vw, 146px) clamp(18px, 5vw, 72px);
}

.section-dark::before,
.listing-showcase::before,
.testimonial-section::before {
  display: none;
}

.section-dark {
  background:
    var(--kn-black);
  color: var(--kn-white);
}

.listing-showcase {
  padding-top: clamp(82px, 7vw, 116px);
  background:
    linear-gradient(180deg, rgba(199, 162, 74, 0.06), transparent 34%),
    var(--kn-black);
  color: var(--kn-white);
  border-top: 1px solid rgba(199, 162, 74, 0.22);
}

.section-paper {
  background: var(--kn-paper);
  color: var(--kn-black);
}

.section-charcoal {
  background: var(--kn-charcoal);
  color: var(--kn-white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.75fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 78px);
}

.section-paper .section-copy,
.section-paper .lead-copy,
.section-paper .card p,
.section-paper .feature-list p,
.section-paper .timeline p,
.section-paper .faq p {
  color: rgba(5, 5, 5, 0.66);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}

.listing-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(199, 162, 74, 0.34);
  background: rgba(255, 253, 247, 0.035);
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.listing-card:focus-visible {
  outline: 2px solid var(--kn-gold-soft);
  outline-offset: 5px;
}

.listing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(199, 162, 74, 0.72);
  background: rgba(255, 253, 247, 0.06);
}

.listing-card figure {
  position: relative;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  border-bottom: 1px solid rgba(199, 162, 74, 0.28);
}

.listing-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.44), transparent 54%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.16), transparent);
  pointer-events: none;
}

.listing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.listing-card:hover img {
  transform: scale(1.055);
}

.listing-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: clamp(20px, 2.2vw, 28px);
}

.listing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--kn-gold-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-topline span {
  padding: 7px 10px;
  border: 1px solid rgba(199, 162, 74, 0.42);
  background: rgba(199, 162, 74, 0.12);
}

.listing-topline strong {
  color: rgba(255, 253, 247, 0.72);
  font-size: 11px;
}

.listing-card h3 {
  color: var(--kn-white);
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.08;
}

.listing-card p {
  color: rgba(255, 253, 247, 0.68);
  font-size: 15px;
}

.listing-card dl {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  background: rgba(199, 162, 74, 0.28);
  border: 1px solid rgba(199, 162, 74, 0.3);
}

.listing-card dl div {
  min-width: 0;
  padding: 12px 10px;
  background: rgba(5, 5, 5, 0.74);
}

.listing-card dt {
  color: rgba(255, 253, 247, 0.48);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-card dd {
  margin-top: 3px;
  color: var(--kn-white);
  font-size: 13px;
  font-weight: 800;
}

.listing-modal[hidden] {
  display: none;
}

.listing-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.listing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(14px);
}

.listing-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(220px, auto) minmax(0, 1fr);
  width: min(980px, calc(100vw - 64px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(199, 162, 74, 0.58);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.055) 1px, transparent 1px) 0 0 / 20% 100%,
    var(--kn-black);
  color: var(--kn-white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
}

.listing-modal-panel {
  scrollbar-width: none;
}

.listing-modal-panel::-webkit-scrollbar,
.listing-modal-content::-webkit-scrollbar {
  display: none;
}

.listing-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 253, 247, 0.22);
  background: rgba(5, 5, 5, 0.72);
  color: var(--kn-white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.listing-modal-panel .listing-topline {
  padding-right: 96px;
}

.listing-modal-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-right: 0;
  border-bottom: 1px solid rgba(199, 162, 74, 0.42);
  background: #050505;
}

.listing-modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 5, 5, 0.58), rgba(5, 5, 5, 0.04) 58%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.32), transparent 62%);
}

.listing-modal-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.listing-modal-content {
  display: grid;
  align-content: start;
  gap: 22px;
  overflow-y: auto;
  scrollbar-width: none;
  padding: clamp(26px, 4vw, 46px);
}

.listing-modal-content h2 {
  width: 100%;
  max-width: none;
  color: var(--kn-white);
  font-size: clamp(38px, 5.1vw, 72px);
  line-height: 1;
}

.listing-modal-content > p {
  max-width: 760px;
  color: rgba(255, 253, 247, 0.72);
  font-size: clamp(16px, 1.35vw, 20px);
}

.listing-modal-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(199, 162, 74, 0.32);
  border: 1px solid rgba(199, 162, 74, 0.36);
}

.listing-modal-facts div {
  padding: 16px;
  background: rgba(255, 253, 247, 0.045);
}

.listing-modal-facts span,
.listing-modal-details span {
  display: block;
  color: rgba(255, 253, 247, 0.52);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-modal-facts strong {
  display: block;
  margin-top: 5px;
  color: var(--kn-white);
  font-size: 16px;
}

.listing-modal-details {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.listing-modal-details div {
  padding-top: 16px;
  border-top: 1px solid rgba(199, 162, 74, 0.26);
}

.listing-modal-details p {
  margin-top: 7px;
  color: rgba(255, 253, 247, 0.7);
}

.testimonial-section {
  background:
    radial-gradient(circle at 18% 14%, rgba(199, 162, 74, 0.12), transparent 28%),
    var(--kn-black);
  color: var(--kn-white);
  border-top: 1px solid rgba(199, 162, 74, 0.2);
  border-bottom: 1px solid rgba(199, 162, 74, 0.2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.testimonial-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(199, 162, 74, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.055), rgba(255, 253, 247, 0.018)),
    rgba(5, 5, 5, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.testimonial-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(199, 162, 74, 0.72);
  filter: grayscale(0.08) contrast(1.05);
}

.testimonial-card p {
  color: rgba(255, 253, 247, 0.76);
  font-size: 16px;
  line-height: 1.62;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: var(--kn-white);
  font-size: 14px;
  font-weight: 800;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--kn-gold-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-strip {
  padding: clamp(34px, 4.5vw, 62px) clamp(18px, 5vw, 72px);
  background: var(--kn-white);
}

.partner-marquee {
  width: min(var(--kn-max), 100%);
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid rgba(5, 5, 5, 0.1);
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
  background: var(--kn-white);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.partner-marquee-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
  padding: 24px clamp(26px, 4vw, 60px);
}

.partner-marquee span {
  display: grid;
  place-items: center;
  width: clamp(112px, 12vw, 180px);
  height: 70px;
  border: 0;
  background: transparent;
}

.partner-marquee img {
  max-width: 78%;
  max-height: 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-marquee span:hover img {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

.card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 253, 247, 0.14);
  background: #10100f;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.section-dark .card,
.section-charcoal .card {
  background: #10100f;
}

.section-paper .card {
  background: var(--kn-white);
  border-color: rgba(5, 5, 5, 0.11);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--kn-gold);
}

.card-number,
.timeline-index,
.small-label {
  color: var(--kn-gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.card h3,
.timeline h3,
.feature-list h3,
.faq h3 {
  margin: 24px 0 12px;
  color: inherit;
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.08;
}

.card p,
.timeline p,
.feature-list p,
.faq p {
  color: rgba(255, 253, 247, 0.68);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
}

.split-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--kn-line);
}

.split-media img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center center;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  padding: 24px 0;
  border-top: 1px solid var(--kn-line);
  transition:
    background-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.45s ease,
    padding 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-paper .feature-item {
  border-color: var(--kn-line-light);
}

.section-paper .feature-item:hover {
  padding-inline: 24px;
  background: var(--kn-black);
  border-color: var(--kn-gold);
  color: var(--kn-white);
  transform: translateY(-4px);
}

.section-paper .feature-item:hover .small-label {
  color: var(--kn-gold-soft);
}

.section-paper .feature-item:hover p {
  color: rgba(255, 253, 247, 0.72);
}

.section-paper .feature-item h3,
.section-paper .feature-item p,
.section-paper .feature-item .small-label {
  transition: color 0.45s ease;
}

.values-section {
  overflow: hidden;
}

.values-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(360px, 1fr) minmax(300px, 0.78fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.values-intro .section-title {
  max-width: 430px;
  font-size: clamp(34px, 4.2vw, 58px);
  text-transform: uppercase;
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--kn-black);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.text-arrow i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--kn-black);
  color: var(--kn-white);
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

.values-board {
  position: relative;
  z-index: 2;
  display: grid;
}

.value-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.12);
  background: transparent;
  color: rgba(5, 5, 5, 0.45);
  text-align: left;
  cursor: pointer;
  transition: color 0.28s ease, transform 0.28s ease;
}

.value-row:first-child {
  border-top: 1px solid rgba(5, 5, 5, 0.12);
}

.value-row span {
  color: rgba(5, 5, 5, 0.54);
  font-size: 14px;
  font-weight: 700;
}

.value-row strong {
  justify-self: start;
  padding: 4px 10px 5px;
  color: inherit;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 850;
  line-height: 1.08;
  transition: background 0.28s ease, color 0.28s ease;
}

.value-row em {
  grid-column: 2;
  max-width: 420px;
  color: rgba(5, 5, 5, 0.58);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.value-row:hover,
.value-row:focus-visible,
.value-row.is-active {
  color: var(--kn-black);
  transform: translateX(8px);
}

.value-row:hover strong,
.value-row:focus-visible strong,
.value-row.is-active strong {
  background: var(--kn-black);
  color: var(--kn-white);
}

.value-row:hover em,
.value-row:focus-visible em,
.value-row.is-active em {
  opacity: 1;
  transform: translateY(0);
}

.values-preview {
  position: relative;
  z-index: 1;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  border: 1px solid rgba(199, 162, 74, 0.32);
  box-shadow: 0 24px 60px rgba(5, 5, 5, 0.12);
}

.values-preview::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(255, 253, 247, 0.42);
  pointer-events: none;
}

.values-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--kn-line);
}

.timeline::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: var(--progress, 0%);
  height: 2px;
  background: var(--kn-gold-soft);
}

.timeline-step {
  min-height: 300px;
  padding: 32px;
  border-right: 1px solid var(--kn-line);
}

.timeline-step:last-child {
  border-right: 0;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.comparison-panel {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(5, 5, 5, 0.12);
  background: var(--kn-white);
}

.comparison-panel.is-dark {
  background: var(--kn-black);
  color: var(--kn-white);
  border-color: var(--kn-line);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  color: inherit;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--kn-gold);
}

.image-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
}

.image-strip figure {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.12);
}

.image-strip img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-grid .faq {
  position: relative;
  border-color: rgba(199, 162, 74, 0.22);
}

.faq-grid .faq::before,
.faq-grid .faq::after {
  content: "";
  position: absolute;
  background: var(--kn-gold-soft);
  pointer-events: none;
}

.faq-grid .faq::before {
  top: -1px;
  left: -1px;
  width: min(82%, 420px);
  height: 4px;
}

.faq-grid .faq::after {
  top: -1px;
  left: -1px;
  width: 4px;
  height: min(82%, 140px);
}

.faq-accordion {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.faq {
  padding: 28px;
  border: 1px solid rgba(5, 5, 5, 0.12);
  background: rgba(255, 253, 247, 0.72);
}

.faq-accordion .faq {
  padding: 0;
  overflow: hidden;
  background: var(--kn-white);
  border-color: rgba(5, 5, 5, 0.13);
  will-change: height;
}

.faq summary {
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 24px 72px 24px 28px;
  color: var(--kn-black);
  cursor: pointer;
}

.faq-accordion summary::before,
.faq-accordion summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--kn-gold);
  transform: translateY(-50%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.faq-accordion summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-accordion details[open] summary::after {
  opacity: 0;
  transform: translateY(-50%) rotate(0deg);
}

.faq-accordion summary span {
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 800;
  line-height: 1.15;
}

.faq-accordion .faq p {
  max-width: 760px;
  padding: 0 72px 26px 28px;
  color: rgba(5, 5, 5, 0.66);
  overflow: hidden;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 72px);
  background: var(--kn-black);
  color: var(--kn-white);
  border-top: 1px solid var(--kn-line);
  border-bottom: 1px solid var(--kn-line);
}

.cta-band::before {
  content: "K";
  position: absolute;
  right: -2vw;
  bottom: -11vw;
  color: #ffffff;
  font-size: clamp(220px, 38vw, 520px);
  font-weight: 900;
  line-height: 1;
  opacity: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-detail {
  padding: 24px;
  border: 1px solid rgba(255, 253, 247, 0.14);
  background: rgba(255, 253, 247, 0.045);
}

.contact-detail span {
  display: block;
  margin-bottom: 8px;
  color: var(--kn-gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--kn-paper);
  color: var(--kn-black);
}

.contact-form .section-title {
  max-width: 100%;
  margin-top: 18px;
  font-size: clamp(40px, 4.7vw, 66px);
  line-height: 1.02;
}

.contact-form .form-note {
  max-width: 640px;
  margin-top: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(5, 5, 5, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(5, 5, 5, 0.14);
  background: var(--kn-white);
  color: var(--kn-black);
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.25s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--kn-gold);
}

.form-note {
  color: rgba(5, 5, 5, 0.58);
  font-size: 13px;
}

.form-status {
  min-height: 24px;
  color: var(--kn-muted-dark);
}

.site-footer {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px) clamp(28px, 4vw, 44px);
  background: var(--kn-black);
  border-top: 1px solid rgba(255, 253, 247, 0.1);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: clamp(24px, 3.4vw, 46px);
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  justify-content: center;
  margin-bottom: clamp(10px, 1.8vw, 26px);
}

.footer-logo img {
  width: clamp(230px, 24vw, 360px);
  height: auto;
}

.footer-signature {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  color: var(--kn-white);
  font-size: clamp(16px, 1.75vw, 28px);
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-signature i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--kn-gold-soft);
}

.footer-rule {
  width: min(580px, 58vw);
  height: 4px;
  margin-top: -14px;
  background: var(--kn-gold-soft);
}

.subscribe-form {
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
  margin-top: -4px;
}

.subscribe-form label {
  color: rgba(255, 253, 247, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subscribe-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 253, 247, 0.18);
  background: rgba(255, 253, 247, 0.05);
}

.subscribe-control input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--kn-white);
  padding: 16px 18px;
  outline: none;
}

.subscribe-control input::placeholder {
  color: rgba(255, 253, 247, 0.48);
}

.subscribe-control button {
  border: 0;
  background: var(--kn-gold);
  color: var(--kn-black);
  padding: 0 22px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.subscribe-control button:hover {
  background: var(--kn-white);
}

.subscribe-form .form-status {
  min-height: 20px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 13px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 50%;
  color: var(--kn-white);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  background: var(--kn-gold);
  border-color: var(--kn-gold);
  color: var(--kn-black);
  transform: translateY(-2px);
}

.footer-social svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-social .social-icon-instagram {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social .social-icon-instagram .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(12px, 1vw, 16px);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.footer-copy span {
  position: relative;
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  flex: 0 0 0.9em;
  color: transparent;
  transform: translateY(0.01em);
}

.footer-copy span::before {
  content: "";
  position: absolute;
  inset: 0.1em;
  border: 1px solid currentColor;
  border-color: rgba(255, 253, 247, 0.82);
  border-radius: 50%;
}

.footer-copy span::after {
  content: "C";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 253, 247, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62em;
  font-weight: 700;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: clamp(12px, 2vw, 24px);
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 28px;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(255, 253, 247, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-phone {
    display: none;
  }

  .section-head,
  .hero > .hero-inner,
  .split,
  .contact-layout,
  .values-layout {
    grid-template-columns: 1fr;
  }

  .values-layout {
    gap: 28px;
  }

  .values-preview {
    max-width: 620px;
    width: 100%;
  }

  .card-grid,
  .listing-grid,
  .testimonial-grid,
  .timeline,
  .hero-stats,
  .faq-grid,
  .comparison {
    grid-template-columns: 1fr;
  }

  .logo-marquee {
    width: calc(100% - 36px);
    margin-top: 22px;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-step {
    border-right: 0;
    border-bottom: 1px solid var(--kn-line);
  }

  .timeline-step:last-child {
    border-bottom: 0;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip figure,
  .split-media {
    min-height: 340px;
  }

  .listing-modal-panel {
    grid-template-rows: minmax(190px, auto) minmax(0, 1fr);
  }

  .listing-modal-media {
    border-right: 0;
    border-bottom: 1px solid rgba(199, 162, 74, 0.34);
  }
}

@media (min-width: 681px) and (max-width: 1050px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 11px;
  }

  .hero,
  .page-hero {
    padding-top: 118px;
    padding-bottom: 54px;
  }

  .hero {
    padding-bottom: 0;
  }

  h1,
  .hero-title {
    font-size: clamp(40px, 12vw, 60px);
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .listing-card figure {
    aspect-ratio: 1.18 / 1;
  }

  .listing-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-card dl {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    gap: 18px;
  }

  .partner-marquee-group {
    gap: 22px;
    padding: 20px 18px;
  }

  .partner-marquee span {
    width: 118px;
    height: 58px;
  }

  .listing-modal {
    padding: 14px;
  }

  .listing-modal-panel {
    max-height: calc(100vh - 28px);
    grid-template-rows: minmax(160px, auto) minmax(0, 1fr);
  }

  .listing-modal-content {
    padding: 26px 20px;
  }

  .listing-modal-content h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .contact-form .section-title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .listing-modal-facts {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-visual-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: block;
  }

  .hero-visual-caption p {
    margin-top: 8px;
    text-align: left;
  }

  .btn {
    width: 100%;
  }

  .card,
  .timeline-step,
  .faq {
    padding: 24px;
  }

  .logo-marquee-group {
    gap: 28px;
    padding: 20px 18px;
  }

  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .subscribe-control {
    grid-template-columns: 1fr;
  }

  .subscribe-control button {
    min-height: 48px;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-signature {
    gap: 14px;
    font-size: clamp(16px, 5vw, 25px);
    white-space: normal;
  }

  .footer-signature i {
    width: 6px;
    height: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-slideshow img:first-child {
    opacity: 1;
  }

  .hero-bg-slideshow img:first-child {
    opacity: 0.62;
  }
}

/* Values hover section: two-column About-only layout with floating preview. */
.values-section {
  overflow: visible;
}

.values-layout {
  position: relative;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
}

.values-intro .section-title {
  max-width: 390px;
}

.values-board {
  isolation: isolate;
}

.value-row {
  position: relative;
  min-height: 102px;
  padding: 24px 0;
}

.value-row.is-active {
  z-index: 4;
}

.values-preview {
  position: absolute;
  top: var(--preview-y, 50%);
  right: clamp(8px, 4vw, 72px);
  z-index: 3;
  width: min(390px, 31vw);
  min-width: 280px;
  aspect-ratio: 1.42 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(18px) scale(0.96);
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease, top 0.24s ease;
}

.values-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

.values-preview img {
  display: block;
}

@media (max-width: 1180px) {
  .values-preview {
    right: 0;
    width: min(340px, 36vw);
    min-width: 240px;
  }
}

@media (max-width: 980px) {
  .values-layout {
    grid-template-columns: 1fr;
  }

  .values-preview {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 620px;
    min-width: 0;
    margin-top: 8px;
    transform: translateY(0) scale(0.98);
  }

  .values-preview.is-visible {
    transform: translateY(0) scale(1);
  }
}
/* Final values layout correction: only two actual columns; hover image floats inside values column. */
.values-section .values-layout {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr) !important;
  gap: clamp(48px, 7vw, 118px);
  align-items: center;
}

.values-section .values-board {
  position: relative;
  min-height: 560px;
  padding-right: min(360px, 36%);
}

.values-section .value-row {
  z-index: 2;
  max-width: 620px;
}

.values-section .values-preview {
  position: absolute !important;
  top: var(--preview-y, 50%);
  right: 0;
  z-index: 1;
  width: min(360px, 34vw);
  min-width: 260px;
  max-width: 38%;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(22px) scale(0.96);
}

.values-section .values-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

.values-section .values-preview:not(.is-visible) {
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 1180px) {
  .values-section .values-board {
    padding-right: 0;
  }

  .values-section .values-preview {
    right: clamp(12px, 3vw, 34px);
    width: min(320px, 40vw);
    max-width: 42%;
  }
}

@media (max-width: 980px) {
  .values-section .values-layout {
    grid-template-columns: 1fr !important;
  }

  .values-section .values-board {
    min-height: auto;
  }

  .values-section .values-preview {
    position: relative !important;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 620px;
    min-width: 0;
    margin-top: 18px;
    transform: translateY(0) scale(0.98);
  }

  .values-section .values-preview.is-visible {
    transform: translateY(0) scale(1);
  }
}
/* Mobile CTA/footer correction. */
@media (max-width: 680px) {
  .cta-band {
    padding: 58px 18px 64px;
  }

  .cta-band::before {
    right: -36px;
    bottom: -38px;
    font-size: clamp(150px, 48vw, 220px);
    opacity: 0.18;
    transform: none;
  }

  .cta-band .section-inner {
    z-index: 2;
  }

  .cta-band .section-title {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.12;
  }

  .cta-band .hero-copy {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  .cta-band .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  .cta-band .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }

  .site-footer {
    padding: 54px 18px 28px;
    overflow: hidden;
  }

  .footer-logo {
    margin-bottom: 26px;
  }

  .footer-logo img {
    width: min(250px, 72vw);
  }

  .footer-signature {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 12px;
    row-gap: 8px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    font-size: clamp(15px, 4.7vw, 18px);
    line-height: 1.05;
    text-align: center;
  }

  .footer-signature span {
    min-width: 0;
    white-space: normal;
  }

  .footer-signature span:nth-of-type(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-signature i:first-of-type {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-signature i:last-of-type {
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
  }

  .footer-rule {
    width: min(230px, 68vw);
    margin-top: 20px;
    margin-bottom: 26px;
  }

  .footer-copy {
    gap: 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .footer-signature {
    max-width: 300px;
    font-size: 14px;
    column-gap: 9px;
  }

  .footer-copy {
    font-size: 10px;
  }
}
/* Mobile hamburger/menu animation. */
.menu-toggle {
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(199, 162, 74, 0.72);
  background: rgba(199, 162, 74, 0.08);
}

.menu-toggle span {
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, background 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 1050px) {
  .site-nav {
    display: flex !important;
    transform: translateY(-16px) scaleY(0.98);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      clip-path 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
    clip-path: inset(0 0 0 0);
  }

  .site-nav a {
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 0.32s ease,
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.25s ease;
  }

  .site-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.is-open a:nth-child(1) { transition-delay: 0.05s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.09s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.13s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.17s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 0.21s; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 0.25s; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .menu-toggle span,
  .site-nav,
  .site-nav a {
    transition: none !important;
  }
}
/* About values column/button refinement. */
.values-section .values-layout {
  grid-template-columns: minmax(360px, 0.58fr) minmax(0, 1fr) !important;
  gap: clamp(54px, 6vw, 104px);
}

.values-section .values-intro .section-title {
  max-width: 540px;
  font-size: clamp(42px, 4.7vw, 72px);
}

.values-section .values-intro .lead-copy {
  max-width: 440px;
}

.values-cta {
  margin-top: 28px;
  color: var(--kn-black);
}

@media (max-width: 1180px) {
  .values-section .values-layout {
    grid-template-columns: minmax(320px, 0.52fr) minmax(0, 1fr) !important;
    gap: clamp(38px, 5vw, 72px);
  }

  .values-section .values-intro .section-title {
    font-size: clamp(38px, 4.9vw, 60px);
  }
}

@media (max-width: 980px) {
  .values-section .values-layout {
    grid-template-columns: 1fr !important;
  }

  .values-section .values-intro .section-title,
  .values-section .values-intro .lead-copy {
    max-width: 100%;
  }
}
/* Service card icons. */
.card {
  position: relative;
}

.card-icon {
  position: absolute;
  top: clamp(24px, 3vw, 38px);
  right: clamp(24px, 3vw, 38px);
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(199, 162, 74, 0.34);
  background: rgba(199, 162, 74, 0.055);
  color: var(--kn-gold-soft);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.card-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-paper .card-icon {
  background: rgba(199, 162, 74, 0.08);
  border-color: rgba(199, 162, 74, 0.38);
  color: var(--kn-gold);
}

.card:hover .card-icon {
  transform: translateY(-4px);
  border-color: var(--kn-gold);
  background: rgba(199, 162, 74, 0.13);
  color: var(--kn-gold);
}

.card .card-number {
  padding-right: 72px;
}

@media (max-width: 680px) {
  .card-icon {
    width: 48px;
    height: 48px;
  }

  .card-icon svg {
    width: 27px;
    height: 27px;
  }
}
/* About values intro text width/scale adjustment. */
.values-section .values-layout {
  grid-template-columns: minmax(470px, 0.78fr) minmax(0, 1fr) !important;
  gap: clamp(44px, 5vw, 88px);
}

.values-section .values-intro .section-title {
  max-width: 700px;
  font-size: clamp(38px, 3.65vw, 58px);
  line-height: 1.02;
}

.values-section .values-intro .lead-copy {
  max-width: 560px;
  font-size: clamp(15px, 1.05vw, 17px);
}

.values-section .values-board {
  min-width: 0;
}

@media (max-width: 1180px) {
  .values-section .values-layout {
    grid-template-columns: minmax(390px, 0.62fr) minmax(0, 1fr) !important;
  }

  .values-section .values-intro .section-title {
    font-size: clamp(34px, 4vw, 48px);
  }
}

@media (max-width: 980px) {
  .values-section .values-layout {
    grid-template-columns: 1fr !important;
  }
}
/* Values hover image spacing and mobile disable. */
.values-section .values-board {
  padding-right: min(430px, 43%) !important;
}

.values-section .values-preview {
  right: -96px !important;
  width: min(360px, 30vw);
  max-width: 38%;
}

@media (max-width: 1280px) {
  .values-section .values-preview {
    right: -54px !important;
    width: min(320px, 30vw);
  }
}

@media (max-width: 980px) {
  .values-section .values-board {
    padding-right: 0 !important;
  }

  .values-section .values-preview,
  .values-section .values-preview.is-visible {
    display: none !important;
  }
}
/* Values row one-line labels and larger hover image. */
.values-section .values-board {
  padding-right: min(520px, 46%) !important;
}

.values-section .value-row {
  grid-template-columns: 54px minmax(360px, 1fr);
}

.values-section .value-row strong {
  white-space: nowrap;
  font-size: clamp(22px, 1.75vw, 30px);
}

.values-section .values-preview {
  right: -150px !important;
  width: min(460px, 34vw) !important;
  max-width: 46% !important;
}

@media (max-width: 1280px) {
  .values-section .values-board {
    padding-right: min(430px, 43%) !important;
  }

  .values-section .value-row {
    grid-template-columns: 46px minmax(300px, 1fr);
  }

  .values-section .value-row strong {
    font-size: clamp(21px, 2vw, 27px);
  }

  .values-section .values-preview {
    right: -92px !important;
    width: min(390px, 33vw) !important;
    max-width: 43% !important;
  }
}

@media (max-width: 980px) {
  .values-section .value-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .values-section .value-row strong {
    white-space: normal;
  }
}

/* Responsive listing modal: keep the image readable without crowding content. */
.listing-modal {
  padding: clamp(10px, 2.4vw, 32px);
}

.listing-modal-panel {
  width: min(1080px, calc(100vw - clamp(20px, 4vw, 64px)));
  max-height: calc(100svh - clamp(20px, 4vw, 56px));
  grid-template-rows: auto minmax(0, 1fr);
}

.listing-modal-media {
  height: clamp(230px, 43svh, 520px);
}

.listing-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.listing-modal-content {
  min-height: 0;
  gap: clamp(14px, 2vh, 22px);
  padding: clamp(22px, 3.4vw, 44px);
}

.listing-modal-content h2 {
  font-size: clamp(36px, 5vw, 68px);
}

@media (max-height: 760px) and (min-width: 681px) {
  .listing-modal-media {
    height: clamp(190px, 36svh, 340px);
  }

  .listing-modal-content {
    gap: 14px;
    padding: 24px 32px 30px;
  }

  .listing-modal-content h2 {
    font-size: clamp(34px, 4.4vw, 54px);
  }

  .listing-modal-facts div {
    padding: 12px 14px;
  }
}

@media (max-height: 620px) and (min-width: 681px) {
  .listing-modal-panel {
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
    grid-template-rows: minmax(0, 1fr);
    width: min(1160px, calc(100vw - 32px));
  }

  .listing-modal-media {
    height: auto;
    min-height: 0;
    border-right: 1px solid rgba(199, 162, 74, 0.34);
    border-bottom: 0;
  }

  .listing-modal-content h2 {
    font-size: clamp(32px, 4.2vw, 48px);
  }
}

@media (max-width: 680px) {
  .listing-modal-panel {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .listing-modal-media {
    height: clamp(170px, 34svh, 300px);
  }

  .listing-modal-close {
    top: 10px;
    right: 10px;
    min-height: 38px;
  }
}

/* Final listing modal sizing correction. */
.listing-modal-panel {
  width: min(960px, calc(100vw - clamp(24px, 5vw, 72px)));
}

.listing-modal-media {
  height: clamp(240px, 40svh, 430px);
  background: var(--kn-black);
}

.listing-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.listing-modal-content {
  gap: clamp(13px, 1.6vh, 18px);
  padding: clamp(22px, 3vw, 36px);
}

.listing-modal-content h2 {
  max-width: 820px;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.02;
}

.listing-modal-content > p {
  max-width: 760px;
  font-size: clamp(15px, 1.15vw, 18px);
}

.listing-modal-details p {
  font-size: clamp(14px, 1.05vw, 16px);
}

@media (max-height: 780px) and (min-width: 681px) {
  .listing-modal-panel {
    width: min(900px, calc(100vw - 36px));
  }

  .listing-modal-media {
    height: clamp(190px, 32svh, 300px);
  }

  .listing-modal-content h2 {
    font-size: clamp(31px, 3.8vw, 46px);
  }

  .listing-modal-details {
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .listing-modal-panel {
    width: calc(100vw - 20px);
  }

  .listing-modal-media {
    height: clamp(190px, 32svh, 270px);
  }

  .listing-modal-content h2 {
    font-size: clamp(30px, 8.6vw, 40px);
  }
}

/* Listing modal final proportion pass. */
.listing-modal {
  padding: clamp(12px, 2.2vw, 28px);
}

.listing-modal-panel {
  width: min(920px, calc(100vw - 32px));
  max-height: min(920px, calc(100svh - 28px));
  grid-template-rows: auto minmax(0, 1fr);
  border-color: rgba(199, 162, 74, 0.62);
}

.listing-modal-media {
  height: clamp(230px, 36svh, 390px);
  background: #050505;
}

.listing-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center;
}

.listing-modal-content {
  gap: 14px;
  padding: clamp(20px, 2.8vw, 32px) clamp(22px, 3.4vw, 38px);
}

.listing-modal-content h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.35vw, 46px) !important;
  line-height: 1.02;
}

.listing-modal-content > p {
  max-width: 720px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.5;
}

.listing-modal-facts div {
  padding: 12px 14px;
}

.listing-modal-facts strong {
  font-size: 14px;
}

.listing-modal-details {
  gap: 10px;
}

.listing-modal-details div {
  padding-top: 12px;
}

.listing-modal-details p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.48;
}

.listing-modal-content .hero-actions {
  margin-top: 10px;
}

@media (min-width: 1180px) and (min-height: 820px) {
  .listing-modal-panel {
    width: min(980px, calc(100vw - 48px));
  }

  .listing-modal-media {
    height: clamp(300px, 42svh, 460px);
  }
}

@media (max-height: 720px) and (min-width: 760px) {
  .listing-modal-panel {
    grid-template-columns: minmax(360px, 0.95fr) minmax(390px, 1.05fr);
    grid-template-rows: minmax(0, 1fr);
    width: min(1120px, calc(100vw - 28px));
  }

  .listing-modal-media {
    height: auto;
    border-right: 1px solid rgba(199, 162, 74, 0.38);
    border-bottom: 0;
  }

  .listing-modal-content {
    padding: 24px 30px;
  }

  .listing-modal-content h2 {
    font-size: clamp(28px, 3.1vw, 40px) !important;
  }
}

@media (max-width: 680px) {
  .listing-modal {
    padding: 10px;
  }

  .listing-modal-panel {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .listing-modal-media {
    height: clamp(180px, 30svh, 250px);
  }

  .listing-modal-content {
    padding: 20px 18px 24px;
  }

  .listing-modal-content h2 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
}

/* Short-screen modal correction: avoid the ugly panoramic image strip. */
@media (max-height: 820px) and (min-width: 760px) {
  .listing-modal {
    padding: 16px;
    align-items: center;
  }

  .listing-modal-panel {
    display: grid !important;
    grid-template-columns: minmax(330px, 0.9fr) minmax(420px, 1.1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    width: min(1040px, calc(100vw - 32px)) !important;
    max-height: calc(100svh - 72px) !important;
  }

  .listing-modal-media {
    height: auto !important;
    min-height: 0 !important;
    border-right: 1px solid rgba(199, 162, 74, 0.38);
    border-bottom: 0 !important;
  }

  .listing-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
  }

  .listing-modal-content {
    overflow-y: auto;
    gap: 12px;
    padding: 26px 28px 28px !important;
  }

  .listing-modal-content h2 {
    max-width: 620px;
    font-size: clamp(28px, 3.2vw, 40px) !important;
    line-height: 1.03;
  }

  .listing-modal-content > p {
    font-size: 14px !important;
    line-height: 1.48;
  }

  .listing-modal-facts div {
    padding: 11px 13px !important;
  }

  .listing-modal-details {
    gap: 8px !important;
  }

  .listing-modal-details div {
    padding-top: 10px !important;
  }

  .listing-modal-details p {
    font-size: 13px !important;
    line-height: 1.45;
  }
}

@media (max-height: 640px) and (min-width: 760px) {
  .listing-modal-panel {
    grid-template-columns: minmax(300px, 0.82fr) minmax(430px, 1.18fr) !important;
  }

  .listing-modal-content {
    padding: 20px 24px 24px !important;
  }

  .listing-modal-content h2 {
    font-size: clamp(26px, 3vw, 34px) !important;
  }
}

/* Preserve full property photo ratio inside the listing modal. */
.listing-modal-panel {
  width: min(1080px, calc(100vw - 32px)) !important;
}

.listing-modal-media {
  height: auto !important;
  aspect-ratio: 1.5 / 1;
  max-height: min(46svh, 500px);
  display: grid;
  place-items: center;
  background: #050505;
}

.listing-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
}

.listing-modal-content h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
}

@media (max-height: 820px) and (min-width: 760px) {
  .listing-modal-panel {
    grid-template-columns: minmax(360px, 0.95fr) minmax(430px, 1.05fr) !important;
    align-items: start;
  }

  .listing-modal-media {
    align-self: start;
    aspect-ratio: 1.5 / 1;
    max-height: calc(100svh - 32px);
  }

  .listing-modal-content {
    max-height: calc(100svh - 72px);
    overflow-y: auto;
  }

  .listing-modal-close {
    top: 22px;
    right: 22px;
    transform: translateY(-100%);
  }

  .listing-modal-panel .listing-topline {
    padding-right: 0;
  }
}

@media (max-height: 640px) and (min-width: 760px) {
  .listing-modal-panel {
    grid-template-columns: minmax(310px, 0.86fr) minmax(430px, 1.14fr) !important;
  }

  .listing-modal-content h2 {
    font-size: clamp(25px, 2.65vw, 32px) !important;
  }
}

@media (max-width: 680px) {
  .listing-modal-media {
    aspect-ratio: 1.5 / 1;
    max-height: 32svh;
  }

  .listing-modal-panel .listing-topline {
    padding-right: 0;
  }

  .listing-modal-close {
    top: 10px;
    right: 10px;
    transform: none;
  }
}

/* Definitive responsive listing modal: one layout, no crop, no empty columns. */
.listing-modal {
  padding: clamp(10px, 2vw, 24px) !important;
  place-items: center !important;
}

.listing-modal-panel {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  width: min(1040px, calc(100vw - 32px), calc((100svh - 32px) * 1.42)) !important;
  max-height: calc(100svh - 32px) !important;
  overflow: hidden !important;
}

.listing-modal-media {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1.5 / 1 !important;
  max-height: min(42svh, 460px) !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(199, 162, 74, 0.42) !important;
  background: #050505 !important;
}

.listing-modal-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.listing-modal-content {
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  gap: clamp(10px, 1.45vh, 15px) !important;
  padding: clamp(18px, 2.7vw, 32px) clamp(18px, 3vw, 36px) !important;
}

.listing-modal-panel .listing-topline {
  padding-right: 92px !important;
}

.listing-modal-close {
  top: 14px !important;
  right: 14px !important;
  transform: none !important;
}

.listing-modal-content h2 {
  max-width: 100% !important;
  font-size: clamp(27px, 3.2vw, 42px) !important;
  line-height: 1.03 !important;
}

.listing-modal-content > p {
  max-width: 780px !important;
  font-size: clamp(14px, 1.1vw, 16px) !important;
  line-height: 1.48 !important;
}

.listing-modal-facts div {
  padding: clamp(10px, 1.4vw, 14px) !important;
}

.listing-modal-details {
  gap: 8px !important;
}

.listing-modal-details div {
  padding-top: 10px !important;
}

.listing-modal-details p {
  font-size: clamp(13px, 1vw, 14px) !important;
  line-height: 1.45 !important;
}

@media (max-height: 720px) {
  .listing-modal-panel {
    width: min(940px, calc(100vw - 28px), calc((100svh - 28px) * 1.55)) !important;
    max-height: calc(100svh - 28px) !important;
  }

  .listing-modal-media {
    max-height: 34svh !important;
  }

  .listing-modal-content h2 {
    font-size: clamp(25px, 2.8vw, 34px) !important;
  }
}

@media (max-width: 680px) {
  .listing-modal-panel {
    width: calc(100vw - 20px) !important;
    max-height: calc(100svh - 20px) !important;
  }

  .listing-modal-media {
    max-height: 30svh !important;
  }

  .listing-modal-panel .listing-topline {
    padding-right: 0 !important;
  }
}

/* Hard modal reset: force stacked responsive layout on every viewport. */
body.modal-open .listing-modal .listing-modal-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  width: min(980px, calc(100vw - 32px)) !important;
  max-height: calc(100svh - 32px) !important;
}

body.modal-open .listing-modal .listing-modal-media {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1.5 / 1 !important;
  max-height: min(40svh, 420px) !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(199, 162, 74, 0.42) !important;
}

body.modal-open .listing-modal .listing-modal-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.modal-open .listing-modal .listing-modal-content {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

body.modal-open .listing-modal .listing-modal-close {
  top: 12px !important;
  right: 12px !important;
  transform: none !important;
}

@media (max-height: 720px) {
  body.modal-open .listing-modal .listing-modal-panel {
    width: min(900px, calc(100vw - 28px)) !important;
    max-height: calc(100svh - 28px) !important;
  }

  body.modal-open .listing-modal .listing-modal-media {
    max-height: 32svh !important;
  }

  body.modal-open .listing-modal .listing-modal-content {
    padding: 18px 24px 22px !important;
  }
}

/* Modal image ratio lock: full image visible, modal adapts to viewport. */
body.modal-open .listing-modal {
  padding: clamp(10px, 2vw, 22px) !important;
}

body.modal-open .listing-modal .listing-modal-panel {
  grid-template-columns: 1fr !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  width: min(980px, calc(100vw - 28px)) !important;
  max-height: calc(100svh - 28px) !important;
}

body.modal-open .listing-modal .listing-modal-media {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: var(--listing-image-ratio, 1.5) !important;
  max-height: min(46svh, 470px) !important;
  overflow: hidden !important;
  background: #050505 !important;
}

body.modal-open .listing-modal .listing-modal-media img[data-listing-modal-image] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.modal-open .listing-modal .listing-modal-content {
  grid-column: 1 / -1 !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: clamp(18px, 2.6vw, 30px) clamp(18px, 3vw, 34px) !important;
}

body.modal-open .listing-modal .listing-modal-content h2 {
  font-size: clamp(26px, 3vw, 40px) !important;
}

@media (max-height: 720px) {
  body.modal-open .listing-modal .listing-modal-media {
    max-height: 38svh !important;
  }

  body.modal-open .listing-modal .listing-modal-content h2 {
    font-size: clamp(24px, 2.7vw, 32px) !important;
  }
}

/* Absolute final modal image rule: 3:2 image box, never crop. */
.listing-modal .listing-modal-media,
body.modal-open .listing-modal .listing-modal-media {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: var(--listing-image-ratio, 1.5) !important;
  max-height: none !important;
  overflow: hidden !important;
}

.listing-modal .listing-modal-media img[data-listing-modal-image],
body.modal-open .listing-modal .listing-modal-media img[data-listing-modal-image] {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.modal-open .listing-modal .listing-modal-panel {
  width: min(980px, calc(100vw - 32px)) !important;
}

@media (max-height: 760px) {
  body.modal-open .listing-modal .listing-modal-panel {
    width: min(820px, calc(100vw - 28px)) !important;
  }
}

@media (max-width: 1280px) and (min-width: 681px) {
  body.modal-open .listing-modal .listing-modal-panel {
    width: min(760px, calc(100vw - 32px)) !important;
  }

  body.modal-open .listing-modal .listing-modal-media {
    max-height: 30svh !important;
  }

  body.modal-open .listing-modal .listing-modal-content {
    padding: 18px 24px 24px !important;
  }
}

@media (min-width: 1281px) {
  body.modal-open .listing-modal .listing-modal-media {
    max-height: min(41svh, 423px) !important;
  }
}

/* Large screen modal size must follow the image, not the full viewport. */
@media (min-width: 1281px) {
  body.modal-open .listing-modal .listing-modal-panel {
    width: min(820px, calc(100vw - 64px), calc((100svh - 64px) * 1.5)) !important;
  }

  body.modal-open .listing-modal .listing-modal-media {
    width: 100% !important;
    aspect-ratio: var(--listing-image-ratio, 1.5) !important;
    max-height: none !important;
  }

  body.modal-open .listing-modal .listing-modal-content {
    padding: 24px 32px 30px !important;
  }

  body.modal-open .listing-modal .listing-modal-content h2 {
    font-size: clamp(28px, 2.7vw, 38px) !important;
  }
}

/* Final modal layout: centered responsive column with full image ratio. */
body.modal-open .listing-modal .listing-modal-panel {
  display: flex !important;
  flex-direction: column !important;
  width: min(820px, calc(100vw - 48px)) !important;
  max-height: calc(100svh - 32px) !important;
  overflow: hidden !important;
}

body.modal-open .listing-modal .listing-modal-media {
  flex: 0 0 auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(199, 162, 74, 0.42) !important;
}

body.modal-open .listing-modal .listing-modal-media img[data-listing-modal-image] {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

body.modal-open .listing-modal .listing-modal-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 22px 32px 30px !important;
}

body.modal-open .listing-modal .listing-modal-content h2 {
  font-size: clamp(27px, 3vw, 38px) !important;
}

@media (max-width: 1050px) and (min-width: 681px) {
  body.modal-open .listing-modal .listing-modal-panel {
    width: min(660px, calc(100vw - 64px)) !important;
  }

  body.modal-open .listing-modal .listing-modal-content {
    padding: 20px 28px 28px !important;
  }
}

@media (max-width: 680px) {
  body.modal-open .listing-modal .listing-modal-panel {
    width: calc(100vw - 20px) !important;
    max-height: calc(100svh - 20px) !important;
  }

  body.modal-open .listing-modal .listing-modal-content {
    padding: 18px 18px 24px !important;
  }
}

/* Height-aware modal sizing for wide browser windows with short content height. */
@media (max-height: 860px) and (min-width: 681px) {
  body.modal-open .listing-modal {
    padding: 14px !important;
  }

  body.modal-open .listing-modal .listing-modal-panel {
    width: min(660px, calc(100vw - 48px)) !important;
    max-height: calc(100svh - 28px) !important;
  }

  body.modal-open .listing-modal .listing-modal-content {
    padding: 18px 26px 24px !important;
  }

  body.modal-open .listing-modal .listing-modal-content h2 {
    font-size: clamp(25px, 2.45vw, 32px) !important;
  }

  body.modal-open .listing-modal .listing-modal-facts div {
    padding: 10px 12px !important;
  }

  body.modal-open .listing-modal .listing-modal-details {
    gap: 7px !important;
  }

  body.modal-open .listing-modal .listing-modal-details div {
    padding-top: 9px !important;
  }
}
