:root {
  --concrete: #E8EBEA;
  --paper: #FFFFFF;
  --ink: #14233B;
  --steel: #566470;
  --rule: #C9D0D2;
  --paint: #F2B705;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
html[lang="ru"] {
  --display: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 700; }
h1 span { display: block; }
html[lang="ru"] h1, html[lang="es"] h1 { font-size: clamp(2.8rem, 7.6vw, 6rem); }
[hidden] { display: none !important; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
p { margin: 0; max-width: 62ch; }

/* Double yellow centerline: the one recurring mark on the page */
.centerline {
  height: 14px;
  border-top: 4px solid var(--paint);
  border-bottom: 4px solid var(--paint);
}

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; }
.wordmark {
  font-family: var(--display); font-size: 1.75rem; font-weight: 700;
  text-decoration: none; display: flex; align-items: center; gap: 10px; margin-right: auto;
}
.wordmark i { display: block; width: 22px; height: 12px; border-top: 4px solid var(--paint); border-bottom: 4px solid var(--paint); }
.site-nav { display: flex; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 500; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.btn {
  display: inline-block; font: 600 1.05rem var(--body); text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 4px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
}
.btn:hover { background: #0c1729; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 9px 16px; font-size: 1rem; }

/* Hero */
.hero { padding-top: clamp(28px, 6vw, 72px); overflow: hidden; }
.hero p { font-size: 1.25rem; margin-top: 22px; max-width: 54ch; color: #2a3a52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-rig { width: min(920px, 100%); margin: clamp(24px, 5vw, 56px) 0 0 auto; }
.hero-rig svg { width: 100%; height: auto; }
.rig { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rig .thin { stroke-width: 1.5; }
.hero-rig [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s cubic-bezier(.6,.05,.3,1) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-rig [pathLength] { animation: none; stroke-dashoffset: 0; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 34px; }
.section-head p { color: var(--steel); margin-top: 10px; }

/* Inventory */
.filters { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.filter-group { display: flex; border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; }
.filter-group button {
  font: 500 1rem var(--body); color: var(--ink); background: transparent; border: 0; cursor: pointer; padding: 9px 16px;
}
.filter-group button + button { border-left: 2px solid var(--ink); }
.filter-group button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filter-group button:focus-visible { outline-offset: -5px; outline-color: var(--paint); }

.lot { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.unit { background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; display: flex; flex-direction: column; }
.unit-view { position: relative; background: #DDE2E1; aspect-ratio: 16 / 9; display: grid; place-items: center; border-bottom: 1px solid var(--rule); overflow: hidden; }
.unit-view svg { width: 82%; height: auto; }
.unit-view img { width: 100%; height: 100%; object-fit: cover; }
.photo-open { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.photo-open:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.photo-open .count { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: #fff; font-size: 0.85rem; padding: 2px 8px; border-radius: 2px; }
dialog#gallery { border: 0; border-radius: 4px; padding: 0; width: min(1100px, 96vw); background: var(--paper); color: var(--ink); }
dialog#gallery::backdrop { background: rgba(20, 35, 59, 0.82); }
.gallery-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.gallery-bar strong { font: 600 1.35rem var(--display); margin-right: auto; }
.gallery-bar span { color: var(--steel); font-size: 0.95rem; }
#gallery-img { width: 100%; max-height: 74vh; object-fit: contain; background: #DDE2E1; }
.gallery-nav { display: flex; justify-content: space-between; padding: 12px 16px; }
.stock { position: absolute; left: 12px; top: 12px; background: var(--paint); font: 600 0.95rem var(--display); letter-spacing: 0.03em; padding: 3px 9px; border-radius: 2px; }
.unit-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.unit dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 18px; margin: 0; font-size: 0.98rem; }
.unit dt { color: var(--steel); }
.unit dd { margin: 0; font-weight: 500; }
.prices { display: flex; gap: 28px; padding-top: 16px; border-top: 1px solid var(--rule); margin-top: auto; }
.price span { display: block; color: var(--steel); font-size: 0.92rem; }
.price strong { font: 700 1.9rem/1.1 var(--display); }
.price small { font: 500 1rem var(--body); color: var(--steel); }
.unit .btn { align-self: flex-start; }
.empty { background: var(--paper); border: 1px dashed var(--steel); border-radius: 4px; padding: 36px; }
.empty button { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* Steps */
.band { background: var(--paper); border-block: 1px solid var(--rule); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 34px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); font: 700 3rem/1 var(--display); display: block; margin-bottom: 10px; }
.steps p { color: #2a3a52; margin-top: 8px; font-size: 1rem; }

/* Lease or buy */
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; }
.choice > div { padding: 32px; background: var(--paper); }
.choice > div + div { border-left: 2px solid var(--ink); }
.choice ul, .bring { margin: 16px 0 0; padding-left: 1.15em; }
.choice li, .bring li { margin-top: 8px; }
.bring-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 56px; align-items: start; }
@media (max-width: 660px) { .choice > div + div { border-left: 0; border-top: 2px solid var(--ink); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); }
.contact-lines { margin-top: 28px; display: grid; gap: 14px; }
.contact-lines a { font: 700 2rem/1.1 var(--display); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-lines span { display: block; color: var(--steel); font-size: 0.95rem; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 500; font-size: 0.98rem; }
input, select, textarea {
  font: 400 1.05rem var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid #9aa6ab; border-radius: 4px; padding: 12px 13px; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--ink); }
.form-note { grid-column: 1 / -1; font-weight: 500; min-height: 1.5em; }
.form-note.error { color: #9B1C1C; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-block: 30px; font-size: 0.95rem; }
.site-footer a { color: #fff; }

@media (max-width: 760px) { .site-nav { display: none; } }
.wordmark, .site-header .btn { white-space: nowrap; }
@media (max-width: 480px) { .wordmark { font-size: 1.45rem; } .site-header .wrap { gap: 12px; } .site-header .btn { padding: 8px 12px; font-size: 0.95rem; } }

/* Language switcher */
.langs { display: flex; border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; }
.langs button { font: 600 0.85rem var(--body); color: var(--ink); background: transparent; border: 0; padding: 6px 9px; cursor: pointer; }
.langs button + button { border-left: 2px solid var(--ink); }
.langs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.langs button:focus-visible { outline-offset: -4px; outline-color: var(--paint); }
@media (max-width: 560px) {
  .site-header .wrap { gap: 10px; }
  .site-header [data-phone] { display: none; }
}

/* Notice when a shared unit link is no longer live */
.notice { background: var(--paint); padding: 14px 0; font-weight: 500; }

/* Cards link to unit pages */
.unit-view a { display: block; width: 100%; height: 100%; position: relative; }
.unit-view a.drawing { display: grid; place-items: center; }
.unit-view .count { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: #fff; font-size: 0.85rem; padding: 2px 8px; border-radius: 2px; }
.unit h3 a { text-decoration: none; }
.unit h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.unit-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

/* Unit page */
.unit-page { padding: clamp(20px, 4vw, 44px) 0 clamp(48px, 7vw, 88px); }
.back { display: inline-block; font-weight: 500; margin-bottom: 22px; text-underline-offset: 5px; }
.unit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.unit-media .photo-open, .unit-media .unit-view { border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; background: #DDE2E1; }
.unit-media .photo-open img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.thumbs button { all: unset; cursor: pointer; border: 2px solid transparent; border-radius: 3px; overflow: hidden; aspect-ratio: 3 / 2; display: block; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.unit-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important; margin-top: 12px; }
.stock.static { position: static; display: inline-block; }
.unit-info .prices { border-top: 0; padding-top: 0; margin-top: 22px; }
.unit-info .price strong { font-size: 2.6rem; }
.unit-info .note { color: var(--steel); font-size: 0.92rem; margin-top: 8px; }
.unit-info dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 24px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.unit-info dt { color: var(--steel); }
.unit-info dd { margin: 0; font-weight: 500; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
@media (max-width: 860px) { .unit-grid { grid-template-columns: 1fr; } }

/* Messaging */
.chat-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chat-float { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 20; }
.chat-float a { background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 16px; border-radius: 999px; border: 2px solid #fff; text-align: center; }
.chat-float a:hover { background: #0c1729; }
.unit-media .photo-open { height: auto; box-sizing: border-box; }
.contact-lines a.btn { font: 600 1rem var(--body); }
.langs { flex-shrink: 0; }
@media (max-width: 560px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 12px; }
  .langs { order: 3; }
}
@media (min-width: 761px) { body[data-unit] .chat-float { display: none; } }
@media (max-width: 760px) {
  .chat-float { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
  .chat-float a { flex: 1; border-radius: 0; border: 0; border-top: 3px solid var(--paint); padding: 13px 8px; }
  .chat-float a + a { border-left: 1px solid #3a4a63; }
  body:has(.chat-float:not([hidden])) { padding-bottom: 50px; }
}

/* Icons (drawn with the text color) */
[class*="ic-"]::before { content: ""; display: inline-block; width: 1.15em; height: 1.15em; margin-right: 0.5em; vertical-align: -0.2em; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic-wa { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E"); }
.ic-tg { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E"); }
.ic-phone { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ic-mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }

/* Hero scene: the truck keeps driving, the landscape scrolls past in layers */
.hero-scene { margin-top: clamp(8px, 2vw, 28px); overflow: hidden; }
.kl-scene{display:block;width:100%;height:clamp(230px,34vw,440px)}
.kl-layer{animation:kl-scroll linear infinite}
.kl-clouds{animation-duration:140s}.kl-far{animation-duration:90s}.kl-mid{animation-duration:38s}.kl-near{animation-duration:14s}.kl-road{animation-duration:2.6s}
.kl-wheel,.kl-blades{transform-box:fill-box;transform-origin:center}
.kl-wheel{animation:kl-spin .55s linear infinite}
.kl-blades{animation:kl-spin 5s linear infinite}
.kl-body{animation:kl-bounce .7s ease-in-out infinite}
.kl-drive{animation:kl-drive-in 2.8s cubic-bezier(.16,.7,.22,1) both}
.kl-dust{transform-box:fill-box;transform-origin:center;animation:kl-dust 1.05s ease-out infinite;opacity:0}
.kl-speed{animation:kl-speed 1.2s linear infinite;opacity:0}
.kl-marker{animation:kl-glow 2.4s ease-in-out infinite}
@keyframes kl-scroll{to{transform:translateX(-1200px)}}
@keyframes kl-spin{to{transform:rotate(360deg)}}
@keyframes kl-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.6px)}}
@keyframes kl-drive-in{from{transform:translateX(-1500px)}to{transform:none}}
@keyframes kl-dust{0%{opacity:.55;transform:translate(0,0) scale(.5)}100%{opacity:0;transform:translate(-70px,-14px) scale(2.2)}}
@keyframes kl-speed{0%{opacity:0;transform:translateX(40px)}30%{opacity:.75}100%{opacity:0;transform:translateX(-90px)}}
@keyframes kl-glow{0%,100%{opacity:1}50%{opacity:.55}}
.kl-scene{--skyA:#E2EAED;--skyB:#DCE8EE;--sun:#F7DD8A;--sunx:980px;--suny:200px;--cloud:#fff;--city:#B7C5CE;--far:#C6D3CF;--mid:#A9BDA9;--near:#8FA88C;--tree1:#5E7F68;--tree2:#6C8F75;--road:#39434F;--night:0;--lights:0;--dim:1;--fade:1;--turb:#F4F6F6}
.kl-scene[data-tod=dawn]{--skyA:#F8E6D6;--skyB:#FBD0AC;--sun:#FF9E6B;--sunx:985px;--suny:252px;--cloud:#FFEFE3;--city:#C4B2BC;--far:#D6C0B4;--mid:#AEB096;--near:#8E9C7E;--tree1:#5B745F;--tree2:#6A8369;--road:#3B4250;--lights:.5;--dim:.96;--turb:#FBF1E8}
.kl-scene[data-tod=dusk]{--skyA:#F0C4A8;--skyB:#F2966A;--sun:#FF6A3D;--sunx:1040px;--suny:252px;--cloud:#F9CDB8;--city:#86788F;--far:#A88C92;--mid:#7E7C72;--near:#5F6A5A;--tree1:#3F5446;--tree2:#4A6150;--road:#2F3540;--lights:1;--dim:.9;--turb:#E9C9B8}
.kl-scene[data-tod=night]{--skyA:#0F1A2E;--skyB:#17263F;--sun:#17263F;--suny:420px;--cloud:#2B3B57;--city:#0A1322;--far:#122034;--mid:#0F1B2C;--near:#0C1623;--tree1:#0A131F;--tree2:#0D1826;--road:#1A212B;--night:1;--lights:1;--dim:.72;--fade:0;--turb:#3A4A63}
.k-stopA{stop-color:var(--skyA)}.k-stopB{stop-color:var(--skyB)}.k-fade{opacity:var(--fade)}.k-turb{fill:var(--turb)}.k-sun{fill:var(--sun)}.k-cloud{fill:var(--cloud)}.k-city{fill:var(--city)}.k-cityline{stroke:var(--city)}.k-far{fill:var(--far)}.k-mid{fill:var(--mid)}.k-near{fill:var(--near)}.k-tree1{fill:var(--tree1)}.k-tree2{fill:var(--tree2)}.k-road{fill:var(--road)}
.k-stopA,.k-stopB{transition:stop-color 3s}.k-turb,.k-sun,.k-cloud,.k-city,.k-far,.k-mid,.k-near,.k-tree1,.k-tree2,.k-road{transition:fill 3s}
.k-sunpos{transform:translate(var(--sunx),var(--suny));transition:transform 3s}
.k-night{opacity:var(--night);transition:opacity 3s}.k-lights{opacity:var(--lights);transition:opacity 3s}
.kl-body{filter:brightness(var(--dim))}
.k-star{animation:kl-glow 3s ease-in-out infinite}.k-beacon{animation:kl-beacon 1.6s steps(1) infinite}
@keyframes kl-beacon{0%,60%{opacity:1}61%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.kl-scene *{animation:none!important}}
@media (min-width: 1900px) { .kl-scene { height: 23vw; } }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); }
.hero { padding-top: clamp(20px, 3.4vw, 48px); }

/* ---------- Sold units ---------- */
/* Red ribbon across the top right corner of the main photo. Sizes follow the photo width (cqw), with px fallbacks. */
.sold-ribbon { position: absolute; inset: 0; overflow: hidden; pointer-events: none; container-type: inline-size; z-index: 1; }
.sold-ribbon span {
  position: absolute; display: grid; place-items: center;
  width: 240px; height: 40px; top: 30px; right: -70px;
  width: 52cqw; height: 9cqw; top: calc(13cqw - 4.5cqw); right: calc(13cqw - 26cqw);
  transform: rotate(45deg);
  background: #D7261E; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  font: 700 24px/1 var(--display); font-size: 5.6cqw; letter-spacing: 0.14em; text-indent: 0.14em;
}
.unit-media .sold-ribbon span { font-size: 5cqw; }
.sold-note { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font: 700 1.35rem/1.2 var(--display); color: #B3201A; }
.unit-info .sold-note { margin-top: 22px; padding-top: 0; border-top: 0; display: grid; gap: 16px; justify-items: start; }
.unit-info .sold-note p { margin: 0; font-size: 2rem; }
