/* ==========================================================================
   Vardit Hacmon Real Estate — "Aloha Luxe" theme (v2)
   Ivory, deep-ocean ink and brass. Fraunces display + Inter text.
   ========================================================================== */

:root {
  --ink: #0b1820;
  --ink-2: #10242e;
  --ink-3: #173543;
  --ocean: #1f5260;
  --sand: #f7f3ec;
  --sand-2: #efe7da;
  --sand-3: #e4d8c4;
  --paper: #fffdf9;
  --gold: #b0874c;
  --gold-2: #cfae74;
  --gold-3: #e8d3a8;
  --coral: #e0693a;
  --text: #1c262c;
  --muted: #5b676d;
  --line: rgba(11, 24, 32, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --on-dark: rgba(255, 255, 255, 0.72);
  --serif: "Fraunces", "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 30px 60px -30px rgba(11, 24, 32, 0.35);
  --shadow-sm: 0 10px 30px -15px rgba(11, 24, 32, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; color: inherit; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #fff; padding: 10px 16px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 880px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--ink { background: var(--ink); color: #fff; }
.section--ink2 { background: var(--ink-2); color: #fff; }
.section--paper { background: var(--paper); }
.section--sand2 { background: var(--sand-2); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 12px/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.center .eyebrow::after, .eyebrow--both::after { content: ""; width: 38px; height: 1px; background: currentColor; }
.section--ink .eyebrow, .section--ink2 .eyebrow, .on-dark .eyebrow { color: var(--gold-2); }
.display { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 400; }
.h1 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -0.02em; }
.h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -0.018em; }
.h3 { font-size: clamp(24px, 2.2vw, 32px); }
.h4 { font-size: 22px; }
.it, .display em, .h1 em, .h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
.section--ink .h2 em, .section--ink2 .h2 em, .on-dark em { color: var(--gold-2); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.75; color: var(--muted); max-width: 640px; }
.section--ink .lead, .section--ink2 .lead, .on-dark .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.head > div { max-width: 720px; }
.head .h2 { margin-bottom: 14px; }
.head .lead { margin: 0; }
.head.center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold); --c: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border: 1px solid var(--b); background: var(--b); color: var(--c);
  font: 600 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 2px; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --b: transparent; --c: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--dark { --b: var(--ink); --c: #fff; }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { border-color: var(--gold); }
.btn--outline { --b: transparent; --c: var(--ink); border-color: var(--ink); }
.btn--outline:hover { color: #fff; }
.on-dark .btn--outline, .section--ink .btn--outline, .section--ink2 .btn--outline { --c: #fff; border-color: rgba(255,255,255,.4); }
.on-dark .btn--outline::before, .section--ink .btn--outline::before, .section--ink2 .btn--outline::before { background: #fff; }
.on-dark .btn--outline:hover, .section--ink .btn--outline:hover, .section--ink2 .btn--outline:hover { color: var(--ink); }
.btn--sm { padding: 13px 20px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link:hover { background-size: 30% 1px; color: var(--gold); }
.link svg { width: 14px; height: 14px; }
.section--ink .link, .section--ink2 .link, .on-dark .link { color: #fff; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  color: #fff; transition: background .5s var(--ease), height .4s var(--ease), box-shadow .4s, transform .5s var(--ease);
}
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); transition: opacity .4s; }
.hdr.is-solid { background: rgba(11, 24, 32, 0.92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); --header-h: 72px; box-shadow: 0 10px 40px -20px rgba(0,0,0,.5); }
.hdr.is-solid::after { opacity: 0; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1440px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; transition: width .4s, height .4s; }
.hdr.is-solid .brand img { width: 44px; height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 21px; letter-spacing: 0; }
.brand__sub { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-top: 5px; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav__a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px;
  font: 500 13.5px/1 var(--sans); letter-spacing: .02em; color: rgba(255,255,255,.88); transition: color .3s;
}
.nav__a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav li:hover > .nav__a, .nav__a.is-active { color: #fff; }
.nav li:hover > .nav__a::after, .nav__a.is-active::after { transform: scaleX(1); }
.nav__a svg { width: 10px; height: 10px; opacity: .7; transition: transform .3s; }
.nav li:hover > .nav__a svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: 12px;
  list-style: none; margin: 0; background: var(--paper); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
.drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav li:hover > .drop, .nav li:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; font-size: 14px; border-radius: 3px; transition: background .25s, padding .3s var(--ease), color .25s; }
.drop a svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); color: var(--gold); }
.drop a:hover { background: var(--sand); padding-left: 18px; color: var(--gold); }
.drop a:hover svg { opacity: 1; transform: none; }

.hdr__actions { display: flex; align-items: center; gap: 18px; margin-left: 12px; }
.hdr__phone { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.hdr__phone span.ic { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.hdr__phone svg { width: 15px; height: 15px; color: var(--gold-2); }
.hdr__phone:hover span.ic { background: var(--gold); border-color: var(--gold); }
.hdr__phone:hover svg { color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 50%; place-items: center; color: #fff; }
.burger svg { width: 20px; height: 20px; }

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 120; background: var(--ink); color: #fff; display: flex; flex-direction: column;
  padding: 22px var(--pad) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav > ul > li { border-bottom: 1px solid var(--line-dark); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; }
.mnav__row > a { flex: 1; padding: 16px 0; font-family: var(--serif); font-size: 26px; }
.mnav__tog { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold-2); }
.mnav__tog svg { width: 16px; height: 16px; transition: transform .3s; }
.mnav li.is-open .mnav__tog svg { transform: rotate(45deg); }
.mnav .sub { display: none; padding: 0 0 16px 4px; }
.mnav li.is-open .sub { display: block; }
.mnav .sub a { display: block; padding: 8px 0; color: var(--on-dark); font-size: 15px; }
.mnav__foot { margin-top: auto; padding-top: 30px; display: grid; gap: 14px; color: var(--on-dark); font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end;
  color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
}
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,24,32,.55) 0%, rgba(11,24,32,.05) 30%, rgba(11,24,32,.12) 55%, rgba(11,24,32,.88) 100%),
    linear-gradient(90deg, rgba(11,24,32,.55) 0%, rgba(11,24,32,0) 60%);
}
.hero__in { width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: end; }
.hero__kicker { display: flex; align-items: center; gap: 14px; font: 600 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 26px; }
.hero__kicker::before { content: ""; width: 48px; height: 1px; background: currentColor; }
.hero h1 { margin: 0 0 26px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 .l2 { display: block; font-style: italic; font-weight: 300; color: var(--gold-3); }
.hero__text { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 36px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__card {
  justify-self: end; width: 100%; max-width: 360px; padding: 26px 28px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(11,24,32,.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--radius);
}
.hero__card .who { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.hero__card img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: top; border: 1px solid var(--gold-2); }
.hero__card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.hero__card small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.hero__card p { font-size: 14px; color: rgba(255,255,255,.78); margin: 0 0 16px; }
.hero__card .row { display: flex; gap: 10px; }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: 1px; height: 56px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: var(--gold-2); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* search bar */
.search {
  margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; align-items: stretch;
  background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden;
}
.search label { display: flex; flex-direction: column; gap: 6px; padding: 18px 24px; border-right: 1px solid var(--line); min-width: 0; }
.search label span { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.search input, .search select { border: 0; background: transparent; padding: 0; font-size: 15px; outline: none; width: 100%; color: var(--ink); appearance: none; -webkit-appearance: none; }
.search select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b0874c' fill='none'/%3E%3C/svg%3E") right center no-repeat; padding-right: 18px; cursor: pointer; }
.search .btn { border-radius: 0; padding: 0 34px; height: auto; }

/* ---------- page banner ---------- */
.banner {
  position: relative; min-height: clamp(380px, 52vh, 560px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
}
.banner__img { position: absolute; inset: 0; z-index: -2; }
.banner__img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-out both; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,24,32,.7) 0%, rgba(11,24,32,.35) 45%, rgba(11,24,32,.9) 100%); }
.banner__in { width: 100%; padding-top: calc(var(--header-h) + 50px); padding-bottom: clamp(44px, 6vw, 76px); }
.banner h1 { margin: 0; max-width: 900px; }
.banner p { margin: 18px 0 0; max-width: 640px; color: rgba(255,255,255,.8); font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.75); transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs i { width: 18px; height: 1px; background: rgba(255,255,255,.4); display: inline-block; }
.banner--slim { min-height: 0; }
.banner--slim .banner__in { padding-bottom: 48px; }

/* ---------- stats ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(34px, 4vw, 54px) 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.stat__v { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--ink); font-weight: 300; letter-spacing: -0.02em; }
.stat__v sup { font-size: .45em; color: var(--gold); vertical-align: top; margin-left: 2px; position: relative; top: .25em; }
.stat__l { margin-top: 12px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- listing cards ---------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.lcard { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.lcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.lcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lcard:hover .lcard__media img { transform: scale(1.07); }
.lcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,24,32,0) 55%, rgba(11,24,32,.6) 100%); }
.lcard__tags { position: absolute; top: 16px; left: 16px; z-index: 1; display: flex; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: rgba(255,253,249,.94); color: var(--ink); border-radius: 2px; }
.tag--gold { background: var(--gold); color: #fff; }
.tag--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3aa676; }
.lcard__price { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.lcard__price small { font-family: var(--sans); font-size: 13px; opacity: .8; margin-left: 2px; }
.lcard__body { padding: 22px 22px 0; flex: 1; }
.lcard__type { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lcard__addr { font-family: var(--serif); font-size: 20px; line-height: 1.25; margin: 0 0 6px; color: var(--ink); }
.lcard__city { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.lcard__city svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; }
.lcard__facts { display: flex; margin-top: 20px; border-top: 1px solid var(--line); }
.lcard__facts span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 6px; font-size: 13px; color: var(--text); white-space: nowrap; }
.lcard__facts span + span { border-left: 1px solid var(--line); }
.lcard__facts svg { width: 17px; height: 17px; color: var(--gold); }
.lcard__facts b { font-weight: 600; }

/* feature-first grid on home */
.lgrid-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.lgrid-feature > .lcard:first-child { grid-column: span 2; grid-row: span 2; }
.lgrid-feature > .lcard:first-child .lcard__media { aspect-ratio: auto; flex: 1; min-height: 380px; }
.lgrid-feature > .lcard:first-child .lcard__price { font-size: 40px; left: 28px; bottom: 26px; }
.lgrid-feature > .lcard:first-child .lcard__addr { font-size: 26px; }
.lgrid-feature > .lcard:first-child .lcard__body { flex: none; padding-bottom: 6px; }

/* skeleton */
.skel { background: linear-gradient(90deg, var(--sand-2) 0%, var(--sand) 50%, var(--sand-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { height: 420px; }

.empty { padding: 60px 30px; text-align: center; background: var(--paper); border: 1px dashed var(--sand-3); border-radius: var(--radius); color: var(--muted); }
.empty h3 { color: var(--ink); }

/* ---------- about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--wide { grid-template-columns: 1.1fr 1fr; }
.frame { position: relative; }
.frame img { width: 100%; border-radius: var(--radius); position: relative; z-index: 1; object-fit: cover; }
.frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.frame--left::before { inset: 28px 28px -28px -28px; }
.frame__badge {
  position: absolute; z-index: 2; left: -34px; bottom: 44px; background: var(--ink); color: #fff; padding: 22px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: left;
}
.frame__badge b { display: block; font-family: var(--serif); font-weight: 300; font-size: 50px; line-height: 1; color: var(--gold-2); }
.frame__badge span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); }
.checks { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.callrow { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.callbox { display: flex; align-items: center; gap: 14px; }
.callbox .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); }
.callbox .ic svg { width: 20px; height: 20px; }
.callbox small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.callbox strong { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); }

/* ---------- why / features ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.feat { padding: 44px 36px 46px; position: relative; transition: background .5s var(--ease); }
.feat + .feat { border-left: 1px solid var(--line-dark); }
.feat:hover { background: rgba(255,255,255,.035); }
.feat__n { position: absolute; top: 34px; right: 34px; font-family: var(--serif); font-size: 15px; color: var(--gold-2); opacity: .8; }
.feat__ic { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(207,174,116,.45); display: grid; place-items: center; color: var(--gold-2); margin-bottom: 30px; transition: background .4s, color .4s; }
.feat:hover .feat__ic { background: var(--gold); color: #fff; border-color: var(--gold); }
.feat__ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 26px; margin-bottom: 14px; }
.feat p { color: var(--on-dark); font-size: 15px; margin: 0; }
.section--paper .feats, .section--sand2 .feats, .feats--light { border-color: var(--line); }
.feats--light .feat + .feat { border-color: var(--line); }
.feats--light .feat p { color: var(--muted); }
.feats--light .feat__ic { color: var(--gold); border-color: rgba(176,135,76,.4); }
.feats--light .feat__n { color: var(--gold); }
.feats--light .feat:hover { background: var(--paper); }

.gallery3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 56px; }
.gallery3 figure { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery3 figure:first-child { aspect-ratio: auto; }
.gallery3 img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery3 figure:hover img { transform: scale(1.06); }

/* ---------- dream mosaic ---------- */
.dream { position: relative; overflow: hidden; }
.dream__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 90px; gap: 18px; }
.dream__grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.dream__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dream__grid figure:hover img { transform: scale(1.07); }
.dream__grid .d1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.dream__grid .d2 { grid-column: 5 / 9; grid-row: 1 / 3; }
.dream__grid .d3 { grid-column: 9 / 13; grid-row: 1 / 4; }
.dream__grid .d4 { grid-column: 1 / 4; grid-row: 4 / 7; }
.dream__grid .d5 { grid-column: 10 / 13; grid-row: 4 / 7; }
.dream__grid .d6 { grid-column: 4 / 7; grid-row: 6 / 8; display: none; }
.dream__center { grid-column: 4 / 10; grid-row: 3 / 7; z-index: 2; background: var(--ink); color: #fff; padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.dream__center .h2 { margin-bottom: 26px; }

/* ---------- testimonials ---------- */
.testi { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.testi__media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.testi__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.testi__media img.is-on { opacity: 1; transform: none; }
.testi__quote-ic { width: 70px; height: 70px; color: var(--gold); opacity: .9; margin-bottom: 20px; }
.testi__track { position: relative; min-height: 280px; }
.testi__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease), visibility .7s; }
.testi__item.is-on { position: relative; opacity: 1; visibility: visible; transform: none; }
.testi__text { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 31px); line-height: 1.45; font-weight: 300; font-style: italic; color: var(--ink); margin-bottom: 30px; }
.stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 22px; }
.stars svg { width: 16px; height: 16px; }
.person { display: flex; align-items: center; gap: 14px; }
.person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.person b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.person small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.testi__nav { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.circ { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.circ:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.circ svg { width: 18px; height: 18px; }
.testi__count { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.testi__count b { color: var(--ink); font-weight: 400; }
.testi__bar { flex: 1; height: 1px; background: var(--line); position: relative; max-width: 200px; }
.testi__bar i { position: absolute; left: 0; top: 0; height: 1px; background: var(--gold); transition: width .6s var(--ease); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field > span { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; font-size: 15px; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s; outline: none; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b0874c' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176,135,76,.14); }
.on-dark .field > span, .section--ink .field > span, .section--ink2 .field > span { color: var(--on-dark); }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea,
.section--ink .field input, .section--ink .field select, .section--ink .field textarea { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: #fff; }
.on-dark .field select option, .section--ink .field select option { color: var(--ink); }
.on-dark ::placeholder, .section--ink ::placeholder { color: rgba(255,255,255,.4); }
::placeholder { color: #9aa3a7; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; }
.form__msg { grid-column: 1 / -1; font-size: 14px; padding: 13px 16px; border-radius: 2px; display: none; }
.form__msg.is-ok { display: block; background: rgba(58,166,118,.12); color: #1d7a52; border: 1px solid rgba(58,166,118,.3); }
.form__msg.is-err { display: block; background: rgba(224,105,58,.1); color: #b2471d; border: 1px solid rgba(224,105,58,.3); }
.on-dark .form__msg.is-ok { color: #8fe0b9; }
.on-dark .form__msg.is-err { color: #ffb08f; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.form__note svg { width: 14px; height: 14px; color: var(--gold); }

/* contact block (home + contact page) */
.contact-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.contact-block__side { position: relative; color: #fff; padding: clamp(36px, 4.5vw, 64px); background: var(--ink); isolation: isolate; display: flex; flex-direction: column; }
.contact-block__side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.contact-block__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,24,32,.75), rgba(11,24,32,.96)); z-index: -1; }
.contact-block__form { padding: clamp(36px, 4.5vw, 64px); }
.infos { list-style: none; margin: auto 0 0; padding: 30px 0 0; display: grid; gap: 22px; }
.infos li { display: flex; gap: 16px; align-items: flex-start; }
.infos .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(207,174,116,.45); color: var(--gold-2); flex-shrink: 0; }
.infos .ic svg { width: 18px; height: 18px; }
.infos small { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.infos a, .infos p { color: #fff; margin: 0; font-size: 15.5px; }
.infos a:hover { color: var(--gold-2); }

/* ---------- blog cards ---------- */
.pcard { display: flex; flex-direction: column; group: card; }
.pcard__media { position: relative; aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); margin-bottom: 22px; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__cat { position: absolute; top: 16px; left: 16px; }
.pcard__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pcard__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.pcard h3 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; transition: color .3s; }
.pcard:hover h3 { color: var(--gold); }
.pcard p { color: var(--muted); font-size: 15px; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .link { margin-top: auto; align-self: flex-start; }
.section--ink .pcard p, .section--ink .pcard__meta { color: var(--on-dark); }
.pcard--wide { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.pcard--wide .pcard__media { margin: 0; aspect-ratio: 16/10; }
.pcard--wide h3 { font-size: clamp(28px, 3vw, 42px); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--paper); transition: all .3s; color: var(--ink); }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .chip { background: transparent; color: #fff; border-color: var(--line-dark); }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 64px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 14px; background: var(--paper); transition: all .3s; }
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager .is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .dots { border: 0; background: none; }
.pager svg { width: 15px; height: 15px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.results-bar b { color: var(--ink); font-weight: 600; }

/* filter panel */
.filters { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; margin-bottom: 44px; }
.filters__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 14px; }
.filters__grid .field input, .filters__grid .field select { padding: 13px 14px; }
.filters__row2 { display: grid; grid-template-columns: repeat(3, 1fr) auto auto; gap: 14px; margin-top: 14px; align-items: end; }
.filters .btn { height: 48px; }
.areas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.areas > span { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-right: 6px; }

/* ---------- prose ---------- */
.prose { font-size: 17.5px; line-height: 1.85; color: #2b3439; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); margin: 1.8em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 25px; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h4 { font-size: 20px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose p { margin: 0 0 1.3em; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin: .45em 0; padding-left: .3em; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold); font-family: var(--serif); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 2em 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.3em; line-height: 1.55; color: var(--ink); }
.prose img, .prose video, .prose iframe { border-radius: var(--radius); margin: 2em 0; max-width: 100%; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--sand-2); font-weight: 600; color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose .wp-block-table { margin: 2em 0; }
.prose .has-text-align-center { text-align: center; }

/* ---------- article ---------- */
.article-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 70px) 0 0; position: relative; }
.article-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: var(--sand); }
.article-hero__in { position: relative; z-index: 1; }
.article-hero h1 { max-width: 980px; margin-bottom: 26px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; font-size: 13px; color: var(--on-dark); margin-bottom: 48px; }
.article-meta span { display: inline-flex; gap: 8px; align-items: center; }
.article-meta svg { width: 15px; height: 15px; color: var(--gold-2); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21/9; box-shadow: var(--shadow); background: var(--ink-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: clamp(30px, 4vw, 64px); padding: clamp(56px, 7vw, 96px) 0; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 30px); font-size: 14px; }
.toc b { display: block; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 18px; color: var(--muted); line-height: 1.45; margin-left: -1px; border-left: 1px solid transparent; transition: color .3s, border-color .3s; }
.toc a:hover, .toc a.is-on { color: var(--ink); border-color: var(--gold); }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 24px; }
.agent-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; text-align: center; position: relative; overflow: hidden; }
.agent-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 90px; background: linear-gradient(135deg, var(--gold), var(--coral)); opacity: .9; }
.agent-card img { position: relative; width: 112px; height: 112px; object-fit: cover; object-position: top; border-radius: 50%; margin: 18px auto 16px; border: 4px solid var(--ink); }
.agent-card h4 { font-size: 24px; margin-bottom: 4px; }
.agent-card small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.agent-card p { font-size: 14px; color: var(--on-dark); }
.agent-card .btn { width: 100%; margin-top: 10px; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share > span { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; color: var(--ink); }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share svg { width: 16px; height: 16px; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

/* ---------- services zigzag ---------- */
.zz { display: grid; gap: clamp(70px, 9vw, 130px); }
.zz__item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.zz__item:nth-child(even) .zz__media { order: 2; }
.zz__media { position: relative; }
.zz__media figure { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 5/4; }
.zz__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.zz__item:hover .zz__media img { transform: scale(1.05); }
.zz__num { position: absolute; top: -40px; right: -10px; font-family: var(--serif); font-size: clamp(90px, 11vw, 160px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); opacity: .55; font-weight: 300; z-index: 2; pointer-events: none; }
.zz__item:nth-child(even) .zz__num { right: auto; left: -10px; }
.zz__body .h2 { margin-bottom: 20px; }
.zz__body p { color: var(--muted); font-size: 17px; margin-bottom: 30px; }

/* service index chips under intro */
.svc-index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 50px; }
.svc-index a { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: 22px; transition: background .4s, color .4s; }
.svc-index a span { font-family: var(--sans); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.svc-index a:hover { background: var(--ink); color: #fff; }
.svc-index a svg { width: 18px; height: 18px; color: var(--gold); transition: transform .4s var(--ease); }
.svc-index a:hover svg { transform: translateX(6px); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(50px, 7vw, 100px) clamp(30px, 6vw, 90px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,24,32,.93) 0%, rgba(11,24,32,.7) 60%, rgba(11,24,32,.45) 100%); }
.cta-band .h2 { margin-bottom: 16px; }
.cta-band p { color: var(--on-dark); margin: 0; max-width: 620px; font-size: 17px; }
.cta-band__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- logos ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos figure { margin: 0; display: grid; place-items: center; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.logos img { max-height: 70px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; mix-blend-mode: multiply; }
.logos figure:hover img { filter: none; opacity: 1; }

/* ---------- about page profile ---------- */
.profile { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.profile__quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; color: var(--ink); padding-left: 28px; border-left: 2px solid var(--gold); margin: 30px 0; }
.profile__role { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.sign { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--ink); font-weight: 300; }
.story { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--serif); font-size: 20px; }
.spec-list li span { font-family: var(--sans); font-size: 12px; color: var(--gold-2); }
.spec-box { background: var(--ink); color: #fff; padding: 36px; border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 30px); }
.spec-box h3 { font-size: 26px; margin-bottom: 10px; }

/* ---------- listing detail ---------- */
.ld-head { padding: calc(var(--header-h) + 40px) 0 34px; background: var(--ink); color: #fff; }
.ld-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.ld-head h1 { font-size: clamp(32px, 4vw, 56px); margin: 14px 0 10px; }
.ld-head__loc { display: flex; align-items: center; gap: 8px; color: var(--on-dark); font-size: 16px; }
.ld-head__loc svg { width: 16px; height: 16px; color: var(--gold-2); }
.ld-price { text-align: right; }
.ld-price small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.ld-price b { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; }
.ld-gallery { background: linear-gradient(var(--ink) 50%, var(--sand) 50%); padding-bottom: 10px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.mosaic button { position: relative; overflow: hidden; background: var(--ink-2); }
.mosaic button:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.mosaic button:hover img { transform: scale(1.05); opacity: .9; }
.mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 560px; }
.mosaic--2, .mosaic--3, .mosaic--4 { grid-template-columns: 2fr 1fr; }
.mosaic .mosaic__all { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; background: rgba(255,253,249,.95); color: var(--ink); border-radius: 2px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.mosaic__all svg { width: 16px; height: 16px; }
.ld { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(36px, 5vw, 72px); padding-top: 60px; padding-bottom: clamp(70px, 9vw, 120px); align-items: start; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); margin-bottom: 50px; }
.keyfacts div { padding: 26px 22px; display: flex; gap: 14px; align-items: center; }
.keyfacts div + div { border-left: 1px solid var(--line); }
.keyfacts--3 { grid-template-columns: repeat(3, 1fr); } .keyfacts--2 { grid-template-columns: repeat(2, 1fr); } .keyfacts--1 { grid-template-columns: 1fr; }
.keyfacts svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.keyfacts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; color: var(--ink); }
.keyfacts small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ld-sec { margin-bottom: 56px; }
.ld-sec > h2 { font-size: 30px; margin-bottom: 22px; display: flex; align-items: center; gap: 16px; }
.ld-sec > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dtable { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.dtable div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.dtable div:nth-child(odd) { margin-right: 20px; }
.dtable dt, .dtable span:first-child { color: var(--muted); }
.dtable b { font-weight: 600; color: var(--ink); text-align: right; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .4s var(--ease), background .3s; color: var(--gold); }
.acc summary .pm svg { width: 14px; height: 14px; }
.acc details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc .acc__body { padding: 0 0 24px; color: var(--muted); }
.acc .acc__body .dtable { border-top: 0; }
.docs { display: grid; gap: 10px; }
.docs a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .3s; }
.docs a:hover { border-color: var(--gold); }
.docs svg { width: 22px; height: 22px; color: var(--gold); }
.embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map { aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); filter: grayscale(.35) contrast(1.05); }
.map iframe { width: 100%; height: 100%; border: 0; }
.inquiry { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.inquiry__agent { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--ink); color: #fff; }
.inquiry__agent img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; object-position: top; border: 1px solid var(--gold-2); }
.inquiry__agent b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; }
.inquiry__agent small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.inquiry__body { padding: 24px; }
.inquiry .form { grid-template-columns: 1fr; gap: 12px; }
.inquiry .field input, .inquiry .field textarea, .inquiry .field select { padding: 13px 14px; }
.inquiry__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.est { margin-top: 20px; padding: 22px 24px; background: var(--sand-2); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.est small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.est b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(6, 13, 18, .97); display: none; flex-direction: column; color: #fff; }
.lb.is-open { display: flex; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; font-size: 14px; letter-spacing: .1em; }
.lb__stage { flex: 1; position: relative; display: grid; place-items: center; padding: 0 80px; min-height: 0; }
.lb__stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 2px; }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.04); transition: background .3s; }
.lb__prev:hover, .lb__next:hover { background: var(--gold); border-color: var(--gold); }
.lb__prev { left: 16px; } .lb__next { right: 16px; }
.lb__prev svg, .lb__next svg, .lb__close svg { width: 20px; height: 20px; }
.lb__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; }
.lb__thumbs { display: flex; gap: 8px; padding: 16px 24px 22px; overflow-x: auto; scrollbar-width: thin; }
.lb__thumbs button { flex: 0 0 96px; height: 64px; border-radius: 2px; overflow: hidden; opacity: .45; transition: opacity .3s; outline-offset: -2px; }
.lb__thumbs button.is-on { opacity: 1; outline: 2px solid var(--gold); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- construction ---------- */
.c-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.c-card { position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 44px 36px 40px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)); transition: transform .6s var(--ease), border-color .5s, background .5s; overflow: hidden; }
.c-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--coral)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.c-card:hover { transform: translateY(-6px); border-color: rgba(207,174,116,.45); background: rgba(255,255,255,.05); }
.c-card:hover::before { transform: scaleX(1); }
.c-card__img { width: 132px; height: 132px; border-radius: 50%; padding: 6px; border: 1px solid rgba(207,174,116,.5); margin-bottom: 30px; }
.c-card__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: transform 1.2s var(--ease); }
.c-card:hover .c-card__img img { transform: scale(1.06) rotate(-2deg); }
.c-card__n { position: absolute; top: 40px; right: 36px; font-family: var(--serif); color: var(--gold-2); font-size: 15px; }
.c-card h3 { font-size: 27px; margin-bottom: 14px; color: #fff; }
.c-card p { font-size: 15px; color: var(--on-dark); margin: 0; }

/* ---------- mortgage calc ---------- */
.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.calc__in { padding: clamp(30px, 4vw, 56px); display: grid; gap: 30px; }
.calc__row { display: grid; gap: 12px; }
.calc__lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.calc__lbl span { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.calc__lbl output, .calc__lbl input { font-family: var(--serif); font-size: 24px; color: var(--ink); text-align: right; border: 0; background: transparent; width: 170px; padding: 0; outline: none; border-bottom: 1px dashed transparent; }
.calc__lbl input:focus { border-bottom-color: var(--gold); }
.calc__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; background: linear-gradient(var(--gold), var(--gold)) 0 / var(--p, 50%) 100% no-repeat, var(--sand-3); border-radius: 3px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,.18); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); cursor: grab; }
.seg { display: inline-flex; justify-self: start; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.seg button { padding: 11px 18px; font-size: 13px; font-weight: 600; transition: all .3s; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.is-on { background: var(--ink); color: #fff; }
.calc__out { background: var(--ink); color: #fff; padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; }
.calc__total small { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.calc__total b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 72px); line-height: 1; margin: 14px 0 6px; }
.calc__total span { color: var(--on-dark); font-size: 14px; }
.donut { width: 210px; height: 210px; margin: 34px auto; }
.donut circle { fill: none; stroke-width: 4.2; transition: stroke-dasharray .6s var(--ease), stroke-dashoffset .6s var(--ease); }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.legend li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--on-dark); }
.legend li i { width: 10px; height: 10px; border-radius: 50%; }
.legend li b { margin-left: auto; color: #fff; font-weight: 500; }
.calc__note { font-size: 13px; color: var(--muted); margin-top: 26px; max-width: 900px; }

/* ---------- market report ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.kpi { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 1px 0 var(--line); position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(.3); transform-origin: top; transition: transform .6s var(--ease); }
.kpi:hover::after { transform: none; }
.kpi small { font: 600 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kpi b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 44px); line-height: 1; margin-top: 14px; color: var(--ink); }
.bars { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 0 var(--line); }
.bars h3 { font-size: 24px; margin-bottom: 24px; }
.bar { display: grid; grid-template-columns: 140px 1fr 120px; gap: 16px; align-items: center; padding: 10px 0; font-size: 14px; }
.bar__track { display: block; height: 10px; background: var(--sand-2); border-radius: 10px; overflow: hidden; }
.bar__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 10px; width: 0; transition: width 1.2s var(--ease); }
.bar b { text-align: right; font-weight: 600; color: var(--ink); }
.bar small { color: var(--muted); display: block; font-size: 12px; }
.mr-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }

/* ---------- 404 ---------- */
.nf { min-height: 90vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; padding: calc(var(--header-h) + 40px) var(--pad) 60px; position: relative; overflow: hidden; }
.nf__big { font-family: var(--serif); font-weight: 300; font-size: clamp(140px, 24vw, 340px); line-height: .85; color: transparent; -webkit-text-stroke: 1px var(--gold-2); opacity: .5; }
.nf h1 { margin: 10px 0 18px; }
.nf p { color: var(--on-dark); max-width: 520px; margin: 0 auto 34px; }
.nf .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.ftr__cta { padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.ftr__cta-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: end; }
.ftr__cta h2 { color: #fff; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; margin: 0; letter-spacing: -.025em; }
.ftr__cta h2 em { color: var(--gold-2); font-weight: 300; }
.news { display: grid; gap: 14px; }
.news p { margin: 0; color: var(--on-dark); font-size: 15px; }
.news form { display: flex; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .3s; }
.news form:focus-within { border-color: var(--gold-2); }
.news input { flex: 1; background: transparent; border: 0; padding: 18px 0; color: #fff; font-size: 16px; outline: none; min-width: 0; }
.news button { color: var(--gold-2); display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 0 0 0 16px; }
.news button svg { width: 16px; height: 16px; transition: transform .3s; }
.news button:hover svg { transform: translateX(4px); }
.news .msg { font-size: 13px; min-height: 20px; color: var(--gold-2); }
.ftr__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 70px 0 60px; }
.ftr__brand img { width: 92px; height: 92px; object-fit: contain; margin-bottom: 20px; }
.ftr__brand p { font-size: 14.5px; max-width: 340px; }
.ftr h4 { font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 26px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ftr ul a { font-size: 15px; transition: color .3s, padding .3s var(--ease); }
.ftr ul a:hover { color: #fff; padding-left: 6px; }
.ftr__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.ftr__contact svg { width: 16px; height: 16px; color: var(--gold-2); margin-top: 5px; flex-shrink: 0; }
.ftr__contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; transition: all .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; }
.ftr__bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.ftr__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ftr__bottom a:hover { color: #fff; }
.ftr__mark { position: absolute; right: -2vw; bottom: 40px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 22vw; line-height: .8; color: rgba(255,255,255,.025); pointer-events: none; white-space: nowrap; user-select: none; }
.ftr .wrap { position: relative; z-index: 1; }

/* floating actions */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 10px; }
.fab a, .fab button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
.fab a:hover, .fab button:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 22px; height: 22px; }
.fab .wa { background: #25d366; }
.fab .ph { background: var(--gold); }
.fab .top { background: var(--ink); opacity: 0; visibility: hidden; }
.fab .top.is-on { opacity: 1; visibility: visible; }

/* ---------- reveal animations ---------- */
.rv-ready [data-rv] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv-ready [data-rv="fade"] { transform: none; }
.rv-ready [data-rv="zoom"] { transform: scale(.94); }
.rv-ready [data-rv="left"] { transform: translateX(-40px); }
.rv-ready [data-rv="right"] { transform: translateX(40px); }
.rv-ready [data-rv].is-in { opacity: 1; transform: none; }
.rv-ready .clip[data-rv] { opacity: 1; transform: none; }
.rv-ready .clip[data-rv] > img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s), 0s; }
.rv-ready .clip[data-rv].is-in > img { clip-path: inset(0 0 0 0); }
.page-enter main { animation: pageIn .8s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@view-transition { navigation: auto; }

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

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .hdr__phone b { display: none; }
  .nav__a { padding: 10px 10px; font-size: 13px; }
  .nav__a::after { left: 10px; right: 10px; }
}
@media (max-width: 1140px) {
  .nav, .hdr__phone { display: none; }
  .burger { display: grid; }
  .hdr__actions { margin-left: auto; }
  .article { grid-template-columns: minmax(0, 1fr) 300px; }
  .toc { display: none; }
  .ftr__main { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .search { grid-template-columns: 1fr 1fr; }
  .search label:nth-child(2) { border-right: 0; }
  .search label { border-bottom: 1px solid var(--line); }
  .search .btn { grid-column: 1 / -1; padding: 20px; }
  .grid--3, .lgrid-feature, .c-cards { grid-template-columns: repeat(2, 1fr); }
  .lgrid-feature > .lcard:first-child { grid-column: 1 / -1; grid-row: auto; }
  .lgrid-feature > .lcard:first-child .lcard__media { min-height: 0; aspect-ratio: 16/10; }
  .split, .split--wide, .profile, .testi, .contact-block, .ld, .calc, .story, .zz__item, .pcard--wide, .ftr__cta-row, .mr-grid { grid-template-columns: 1fr; }
  .zz__item:nth-child(even) .zz__media { order: 0; }
  .feats { grid-template-columns: 1fr; }
  .feat + .feat { border-left: 0; border-top: 1px solid var(--line-dark); }
  .feats--light .feat + .feat { border-top-color: var(--line); }
  .frame { max-width: 560px; }
  .testi__media { max-width: 520px; aspect-ratio: 4/3; }
  .dream__grid { grid-auto-rows: 70px; }
  .cta-band { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .aside-sticky, .spec-box { position: static; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .filters__grid { grid-template-columns: 1fr 1fr; }
  .filters__grid .field:first-child { grid-column: 1 / -1; }
  .filters__row2 { grid-template-columns: 1fr 1fr; }
  .svc-index { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-rows: 200px 200px; }
}
@media (max-width: 700px) {
  :root { --header-h: 70px; }
  body { font-size: 15.5px; }
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 9px; letter-spacing: .24em; }
  .hdr__actions .btn { display: none; }
  .hero { align-items: flex-end; }
  .hero__in { padding-top: calc(var(--header-h) + 100px); }
  .search { grid-template-columns: 1fr; }
  .search label { border-right: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid--3, .grid--2, .grid--4, .lgrid-feature, .c-cards { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .frame::before { inset: 16px -12px -16px 16px; }
  .frame__badge { left: 12px; bottom: 16px; padding: 16px 18px; }
  .frame__badge b { font-size: 38px; }
  .gallery3 { grid-template-columns: 1fr 1fr; }
  .gallery3 figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .dream__grid { display: flex; flex-direction: column; }
  .dream__grid figure { display: none; }
  .dream__grid .d1, .dream__grid .d3 { display: block; aspect-ratio: 16/10; }
  .dream__center { order: -1; }
  .form { grid-template-columns: 1fr; }
  .keyfacts, .keyfacts--3 { grid-template-columns: 1fr 1fr; }
  .keyfacts div { padding: 20px 16px; }
  .keyfacts div:nth-child(3) { border-left: 0; }
  .keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .keyfacts--3 div:nth-child(3) { grid-column: 1 / -1; }
  .dtable { grid-template-columns: 1fr; }
  .dtable div:nth-child(odd) { margin-right: 0; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .mosaic button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .mosaic button:nth-child(n+4) { display: none; }
  .mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 280px; }
  .ld-price { text-align: left; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi { padding: 22px 18px; }
  .bar { grid-template-columns: 90px 1fr 84px; gap: 10px; font-size: 13px; }
  .ftr__main { grid-template-columns: 1fr; gap: 40px; }
  .calc__grid2 { grid-template-columns: 1fr; }
  .filters__grid, .filters__row2 { grid-template-columns: 1fr; }
  .svc-index { grid-template-columns: 1fr; }
  .article-cover { aspect-ratio: 4/3; }
  .lb__stage { padding: 0 10px; }
  .lb__prev, .lb__next { width: 44px; height: 44px; background: rgba(0,0,0,.4); }
  .zz__num { top: -26px; }
  .fab { right: 14px; bottom: 14px; }
  .fab a, .fab button { width: 48px; height: 48px; }
  .head { margin-bottom: 36px; }
  .pager a, .pager span { min-width: 40px; height: 40px; }
}
.nav li.is-hover > .drop { opacity: 1; visibility: visible; transform: none; }
/* keep decorative offsets (frames, outlined numbers, slide-in animations) from causing sideways scroll */
main, .ftr { overflow-x: clip; }
@supports not (overflow: clip) { main, .ftr { overflow-x: hidden; } }
