/* C360. One stylesheet for every page.
   Same design system as the studio's other sites (v-home.co.il, sagidoron.com, sdp.co.il): sections sit in rounded
   frames with a small gutter around them, a full photo hero, Karantina headlines at regular weight with tight leading,
   a short gold dash before small labels, pill buttons, soft cards, and a glass header once the page moves.
   Brand: deep sea #0B3556, terracotta #F2B33D, limestone #FFFFFF. Hebrew (RTL) is the base; logical properties cover LTR. */

:root {
  color-scheme: light;
  --navy: #0B3556;
  --navy-deep: #072540;
  --navy-2: #114570;
  --navy-3: #1A5C8C;
  --gold: #F2B33D;
  --gold-hi: #F8CB6E;
  --gold-ink: #0C679C;      /* gold dark enough for text on light grounds */
  --paper: #F2EDE3;         /* page ground, seen in the gutters between frames */
  --white: #FFFFFF;
  --sand: #F3E8D6;
  --ink: #0A2540;
  --text: #1B3550;
  --muted: #566B7E;
  --on-navy: #DDEBF6;
  --on-navy-muted: #A9C5DC;
  --line: rgba(11, 53, 86, .13);
  --line-light: rgba(255, 255, 255, .16);

  --font-display: 'Karantina', 'Arial Narrow', sans-serif;
  --font-text: 'Heebo', Arial, sans-serif;
  --font-mark: 'Karantina', 'Arial Narrow', sans-serif;
  --dw: 400;                /* display weight */
  --dlh: .84;               /* display line height */

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --gutter: clamp(8px, 1.2vw, 16px);
  --margin: clamp(20px, 6.4vw, 104px);
  --max: 1320px;
  --header-h: 88px;
  --section: clamp(84px, 9vw, 140px);
  --ease: cubic-bezier(.2, .7, .25, 1);
  --shadow: 0 18px 44px rgba(11, 53, 86, .12);
}
@media (max-width: 760px) { :root { --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--paper); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 clamp(1rem, .97rem + .15vw, 1.0625rem)/1.8 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.contact-block :focus-visible, .calc-section :focus-visible, .article-hero :focus-visible, .project-hero :focus-visible { outline-color: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--dw); line-height: var(--dlh); letter-spacing: -.01em; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(4rem, 2rem + 6.4vw, 9rem); }
h2 { font-size: clamp(3.4rem, 2rem + 4.2vw, 6.6rem); }
h3 { font-size: clamp(2.2rem, 1.8rem + 1vw, 2.8rem); line-height: .95; }
.lead { font-size: clamp(1.12rem, 1.04rem + .3vw, 1.3rem); line-height: 1.65; font-weight: 500; color: var(--ink); }

.container { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--margin), 820px); margin-inline: auto; }

/* Every section is a rounded frame with the paper ground showing around it */
main > section, main > .contact-block { margin: var(--gutter); border-radius: var(--r-lg); overflow: hidden; }
main > section:first-child { margin-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.section { padding-block: var(--section); background: var(--white); }
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--white); }
.on-sand { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px clamp(32px, 6vw, 96px); margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { max-width: 15em; }
.section-head p { max-width: 400px; margin: 0 0 6px; color: var(--muted); line-height: 1.85; }
.on-navy .section-head p { color: var(--on-navy-muted); }
@media (max-width: 860px) { .section-head { flex-direction: column; align-items: start; } }

/* Small labels: a short gold dash, then the word */
.meta, .eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(28px, 3.4vw, 44px); color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .03em; }
.dash { width: 44px; height: 1px; flex: none; background: var(--gold); }
.on-navy .meta { color: var(--on-navy-muted); }

.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease); }
.btn .arrow { width: 16px; height: 12px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .arrow, .link:hover .arrow, .text-link:hover .arrow, a:hover .link .arrow { transform: translateX(-4px); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.btn-light:hover { background: var(--gold-hi); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.section .btn-light, .on-sand .btn-light { background: var(--navy); color: var(--white); box-shadow: none; }
.section .btn-light:hover, .on-sand .btn-light:hover { background: var(--navy-3); }
.on-navy .btn-light { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); text-decoration: none; font-size: .95rem; }
.link .arrow, .text-link .arrow { width: 15px; height: 11px; transition: transform .3s var(--ease); }
.on-navy .link { color: var(--gold-hi); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--navy); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }

/* ---------------------------------------------------------------- header: see-through over the hero, glass once the page moves */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease); }
.site-header.is-scrolled { background: rgba(11, 53, 86, .78); border-bottom-color: rgba(255, 255, 255, .08); box-shadow: 0 8px 30px rgba(7, 37, 64, .18);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
.site-header.is-hidden { transform: translateY(-100%); }
.bar { position: relative; height: var(--header-h); width: min(100% - 2 * clamp(18px, 3.5vw, 48px), var(--max)); margin-inline: auto; display: flex; align-items: center; gap: 18px; }
.brand { flex: none; display: block; }
.brand img { height: 30px; width: auto; }
@media (max-width: 760px) { .brand img { height: 26px; } }
.nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a, .sub-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: none; border: 0; color: inherit;
  text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: background-color .2s; }
.nav-list > li > a:hover, .sub-toggle:hover { background: rgba(255, 255, 255, .14); }
.nav-list > li > a[aria-current], .has-sub.is-current .sub-toggle { background: rgba(255, 255, 255, .12); }
.chev { width: 10px; height: 7px; transition: transform .3s var(--ease); }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 230px; padding: 6px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: none; }
@keyframes drop-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub.is-open .sub { display: block; animation: drop-in .3s var(--ease); }
.has-sub:hover .chev, .has-sub.is-open .chev { transform: rotate(180deg); }
.sub a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 500; }
.sub a:hover, .sub a[aria-current] { background: var(--paper); }
.nav-foot { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.btn-header { min-height: 44px; padding: 0 20px; font-size: .9rem; background: var(--white); color: var(--ink); }
.btn-header:hover { background: var(--gold-hi); }
.is-scrolled .btn-header { background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; color: inherit; padding: 0; }
/* Menu button (phones). Built like doron-media.com (one centre, only translate/rotate, own layer, fixed 44px slot), plus:
   as the lines turn into the X they lengthen so that their tilted span (length x cos + thickness x sin) stays 24px, so the icon is 24px wide in every frame of the
   animation, open and closed (a plain X is only ~18px wide, which read as the icon shrinking). The steps are
   baked into keyframes along the cubic-bezier(.6, 0, .2, 1) curve; site.js adds .was-used so the closing
   animation never plays on page load. Lines sit 8px apart (±4px): whole screen pixels at every phone scale. */
.menu-toggle { flex: 0 0 44px; transform: translateZ(0); }
.menu-toggle span { position: absolute; inset-inline-start: 10px; top: 21px; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { animation: mt-a-open .35s linear both; }
.menu-toggle[aria-expanded="true"] span:last-child { animation: mt-b-open .35s linear both; }
.menu-toggle.was-used[aria-expanded="false"] span:first-child { animation: mt-a-close .35s linear both; }
.menu-toggle.was-used[aria-expanded="false"] span:last-child { animation: mt-b-close .35s linear both; }
@keyframes mt-a-open { 0.00% { transform: translateY(-4.000px) rotate(0.000deg) scaleX(1.0000); } 7.14% { transform: translateY(-3.979px) rotate(0.238deg) scaleX(0.9997); } 14.29% { transform: translateY(-3.903px) rotate(1.089deg) scaleX(0.9986); } 21.43% { transform: translateY(-3.744px) rotate(2.880deg) scaleX(0.9971); } 28.57% { transform: translateY(-3.442px) rotate(6.277deg) scaleX(0.9969); } 35.71% { transform: translateY(-2.870px) rotate(12.717deg) scaleX(1.0063); } 42.86% { transform: translateY(-1.953px) rotate(23.033deg) scaleX(1.0512); } 50.00% { transform: translateY(-1.181px) rotate(31.711deg) scaleX(1.1240); } 57.14% { transform: translateY(-0.716px) rotate(36.946deg) scaleX(1.1886); } 64.29% { transform: translateY(-0.427px) rotate(40.194deg) scaleX(1.2387); } 71.43% { transform: translateY(-0.242px) rotate(42.283deg) scaleX(1.2759); } 78.57% { transform: translateY(-0.122px) rotate(43.624deg) scaleX(1.3020); } 85.71% { transform: translateY(-0.050px) rotate(44.442deg) scaleX(1.3189); } 92.86% { transform: translateY(-0.011px) rotate(44.871deg) scaleX(1.3281); } 100.00% { transform: translateY(-0.000px) rotate(45.000deg) scaleX(1.3309); } }
@keyframes mt-b-open { 0.00% { transform: translateY(4.000px) rotate(-0.000deg) scaleX(1.0000); } 7.14% { transform: translateY(3.979px) rotate(-0.238deg) scaleX(0.9997); } 14.29% { transform: translateY(3.903px) rotate(-1.089deg) scaleX(0.9986); } 21.43% { transform: translateY(3.744px) rotate(-2.880deg) scaleX(0.9971); } 28.57% { transform: translateY(3.442px) rotate(-6.277deg) scaleX(0.9969); } 35.71% { transform: translateY(2.870px) rotate(-12.717deg) scaleX(1.0063); } 42.86% { transform: translateY(1.953px) rotate(-23.033deg) scaleX(1.0512); } 50.00% { transform: translateY(1.181px) rotate(-31.711deg) scaleX(1.1240); } 57.14% { transform: translateY(0.716px) rotate(-36.946deg) scaleX(1.1886); } 64.29% { transform: translateY(0.427px) rotate(-40.194deg) scaleX(1.2387); } 71.43% { transform: translateY(0.242px) rotate(-42.283deg) scaleX(1.2759); } 78.57% { transform: translateY(0.122px) rotate(-43.624deg) scaleX(1.3020); } 85.71% { transform: translateY(0.050px) rotate(-44.442deg) scaleX(1.3189); } 92.86% { transform: translateY(0.011px) rotate(-44.871deg) scaleX(1.3281); } 100.00% { transform: translateY(0.000px) rotate(-45.000deg) scaleX(1.3309); } }
@keyframes mt-a-close { 0.00% { transform: translateY(-0.000px) rotate(45.000deg) scaleX(1.3309); } 7.14% { transform: translateY(-0.021px) rotate(44.762deg) scaleX(1.3257); } 14.29% { transform: translateY(-0.097px) rotate(43.911deg) scaleX(1.3079); } 21.43% { transform: translateY(-0.256px) rotate(42.120deg) scaleX(1.2728); } 28.57% { transform: translateY(-0.558px) rotate(38.723deg) scaleX(1.2149); } 35.71% { transform: translateY(-1.130px) rotate(32.283deg) scaleX(1.1302); } 42.86% { transform: translateY(-2.047px) rotate(21.967deg) scaleX(1.0447); } 50.00% { transform: translateY(-2.819px) rotate(13.289deg) scaleX(1.0078); } 57.14% { transform: translateY(-3.284px) rotate(8.054deg) scaleX(0.9982); } 64.29% { transform: translateY(-3.573px) rotate(4.806deg) scaleX(0.9965); } 71.43% { transform: translateY(-3.758px) rotate(2.717deg) scaleX(0.9972); } 78.57% { transform: translateY(-3.878px) rotate(1.376deg) scaleX(0.9983); } 85.71% { transform: translateY(-3.950px) rotate(0.558deg) scaleX(0.9992); } 92.86% { transform: translateY(-3.989px) rotate(0.129deg) scaleX(0.9998); } 100.00% { transform: translateY(-4.000px) rotate(0.000deg) scaleX(1.0000); } }
@keyframes mt-b-close { 0.00% { transform: translateY(0.000px) rotate(-45.000deg) scaleX(1.3309); } 7.14% { transform: translateY(0.021px) rotate(-44.762deg) scaleX(1.3257); } 14.29% { transform: translateY(0.097px) rotate(-43.911deg) scaleX(1.3079); } 21.43% { transform: translateY(0.256px) rotate(-42.120deg) scaleX(1.2728); } 28.57% { transform: translateY(0.558px) rotate(-38.723deg) scaleX(1.2149); } 35.71% { transform: translateY(1.130px) rotate(-32.283deg) scaleX(1.1302); } 42.86% { transform: translateY(2.047px) rotate(-21.967deg) scaleX(1.0447); } 50.00% { transform: translateY(2.819px) rotate(-13.289deg) scaleX(1.0078); } 57.14% { transform: translateY(3.284px) rotate(-8.054deg) scaleX(0.9982); } 64.29% { transform: translateY(3.573px) rotate(-4.806deg) scaleX(0.9965); } 71.43% { transform: translateY(3.758px) rotate(-2.717deg) scaleX(0.9972); } 78.57% { transform: translateY(3.878px) rotate(-1.376deg) scaleX(0.9983); } 85.71% { transform: translateY(3.950px) rotate(-0.558deg) scaleX(0.9992); } 92.86% { transform: translateY(3.989px) rotate(-0.129deg) scaleX(0.9998); } 100.00% { transform: translateY(4.000px) rotate(-0.000deg) scaleX(1.0000); } }

@media (max-width: 1200px) {
  .menu-toggle { display: block; margin-inline-end: -10px; }
  .header-actions { margin-inline-start: auto; }
  .header-actions .lang-switch, .header-actions .btn-header { order: 0; }
  .nav { position: fixed; inset: 0; z-index: -1; margin: 0; background: var(--navy-deep); padding: calc(var(--header-h) + 18px) clamp(22px, 7vw, 60px) 30px;
    display: none; flex-direction: column; justify-content: space-between; overflow-y: auto; }
  .nav.is-open { display: flex; animation: fade-in .35s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .sub a { display: block; width: 100%; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line-light); font: 400 3rem/1.05 var(--font-display); background: none; }
  .nav-list > li > a:hover, .nav-list > li > a[aria-current], .sub a:hover, .sub a[aria-current] { background: none; color: var(--gold); }
  .sub-toggle { display: none; }
  .sub, .has-sub:hover .sub { display: block; position: static; animation: none; background: none; box-shadow: none; border: 0; padding: 0; min-width: 0; color: inherit; }
  .sub::before { display: none; }
  .nav-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 32px; color: var(--on-navy); }
  .nav-foot a { text-decoration: none; }
  .menu-open .site-header { background: transparent; box-shadow: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 480px) { .btn-header { display: none; } }

/* ---------------------------------------------------------------- home hero: full photo, shaded towards the text */
.hero { position: relative; min-height: 720px; height: min(100svh, 1000px); display: flex; align-items: center; color: var(--white); background: var(--navy); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-media::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(7, 37, 64, .82) 0%, rgba(7, 37, 64, .62) 32%, rgba(7, 37, 64, .18) 62%, rgba(7, 37, 64, 0) 100%),
              linear-gradient(0deg, rgba(7, 37, 64, .35), transparent 40%), linear-gradient(180deg, rgba(7, 37, 64, .45), transparent 22%); }
[dir="ltr"] .hero-media::after { background: linear-gradient(90deg, rgba(7, 37, 64, .82) 0%, rgba(7, 37, 64, .62) 32%, rgba(7, 37, 64, .18) 62%, rgba(7, 37, 64, 0) 100%),
              linear-gradient(0deg, rgba(7, 37, 64, .35), transparent 40%), linear-gradient(180deg, rgba(7, 37, 64, .45), transparent 22%); }
.hero-content { width: min(780px, 100% - 2 * var(--margin)); margin-inline-start: max(var(--margin), (100% - var(--max)) / 2); padding-top: 60px; }
.hero .eyebrow { color: rgba(255, 255, 255, .9); margin-bottom: 30px; font-size: .9rem; font-weight: 500; }
.hero h1 { color: var(--white); font-size: clamp(4.4rem, 2rem + 7.4vw, 10rem); line-height: .8; letter-spacing: -.02em; }
.hero h1::first-line { color: var(--white); }
.hero h1.is-split { color: var(--white); }
.hero h1 .l2 { color: var(--gold); }
.hero-copy { max-width: 540px; margin: 34px 0 0; color: rgba(255, 255, 255, .88); font-size: 1.12rem; line-height: 1.8; font-weight: 300; }
.hero .actions { margin-top: 40px; }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 100svh; align-items: flex-end; padding-bottom: 48px; }
  .hero-media::after, [dir="ltr"] .hero-media::after { background: linear-gradient(0deg, rgba(7, 37, 64, .92) 0%, rgba(7, 37, 64, .6) 45%, rgba(7, 37, 64, .1) 80%, rgba(7, 37, 64, .3) 100%); }
  .hero-content { margin-inline: var(--margin); }
}

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: var(--on-navy); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(64px, 8vw, 110px); }
.page-hero h1 { color: var(--white); max-width: 14em; }
.page-hero .lead { margin-top: 28px; max-width: 520px; color: var(--on-navy); font-weight: 300; font-size: 1.12rem; line-height: 1.85; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero-grid .hero-figure { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3.4; width: 100%; }
.page-hero-grid .hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--on-navy-muted); margin-bottom: 30px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: '/'; margin-inline-end: 8px; opacity: .6; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-grid .hero-figure { aspect-ratio: 3 / 2; } }

/* ---------------------------------------------------------------- home: about, figures, picture */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px 9%; align-items: end; }
.intro-text { max-width: 500px; }
.intro-text p:not(.lead) { color: var(--muted); }
.intro-text .text-link { margin-top: 12px; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--line); }
.figures .stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 22px 0 0; padding-inline-end: 20px; }
.figures .stat + .stat { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.figures dt { color: var(--muted); font-size: .88rem; }
.figures dd { font: 400 clamp(3rem, 2.4rem + 2vw, 4.4rem)/1 var(--font-mark); color: var(--navy); direction: ltr; text-align: right; }
.panorama { position: relative; height: clamp(320px, 42vw, 580px); margin-top: clamp(48px, 6vw, 80px); overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.panorama img { width: 100%; height: 114%; object-fit: cover; object-position: center 60%; }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .figures .stat:nth-child(n+3) { margin-top: 18px; }
}

/* ---------------------------------------------------------------- photo cards (home services) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.card { display: block; min-width: 0; text-decoration: none; color: inherit; }
.card-img { display: block; position: relative; height: clamp(260px, 26vw, 380px); overflow: hidden; border-radius: var(--r-md); background: var(--navy-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card h3 { margin: 24px 0 10px; }
.card p { max-width: 36ch; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.on-navy .card p { color: var(--on-navy-muted); }
.card .link { margin-top: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Larnaca by the sea (home, why Cyprus) */
.larnaca { background: linear-gradient(180deg, var(--white) 0%, #EAF5F8 100%); }
.lar-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 clamp(28px, 3.4vw, 44px); }
.lar-facts li { display: flex; align-items: baseline; gap: 10px; padding: 12px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.lar-facts b { font: 400 2.2rem/1 var(--font-mark); color: var(--gold-ink); direction: ltr; }
.lar-facts span { color: var(--text); font-size: .95rem; }
.lar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(200px, 19vw, 290px)); gap: clamp(10px, 1.2vw, 16px); }
.lar-tile { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--navy-2); isolation: isolate; }
.lar-big { grid-column: span 2; grid-row: span 2; }
.lar-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lar-tile:hover img { transform: scale(1.05); }
.lar-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 37, 64, .78) 0%, rgba(7, 37, 64, .2) 45%, transparent 70%); }
.lar-tile figcaption { position: absolute; inset: auto 0 0; z-index: 1; padding: clamp(16px, 1.8vw, 24px); color: var(--white); display: grid; gap: 4px; }
.lar-tile figcaption b { font: 400 clamp(1.7rem, 1.3rem + 1vw, 2.3rem)/.95 var(--font-display); }
.lar-big figcaption b { font-size: clamp(2.4rem, 1.6rem + 2vw, 3.6rem); }
.lar-tile figcaption span { font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 34ch; }
@media (max-width: 900px) {
  .lar-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .lar-big { grid-column: 1 / -1; grid-row: span 1; height: 300px; }
}
@media (max-width: 560px) {
  .lar-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scrollbar-width: none; }
  .lar-grid::-webkit-scrollbar { display: none; }
  .lar-tile, .lar-big { flex: 0 0 82%; height: 360px; scroll-snap-align: center; }
}

/* ---------------------------------------------------------------- life band: a full photo of the sea with one line */
.life { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 48vw, 680px); padding-block: var(--section); color: var(--white); background: var(--navy); isolation: isolate; }
.life-media { position: absolute; inset: 0; z-index: -1; }
.life-media img { width: 100%; height: 100%; object-fit: cover; }
.life-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 37, 64, .82) 0%, rgba(7, 37, 64, .35) 45%, rgba(7, 37, 64, 0) 75%); }
.life-inner h2 { color: var(--white); max-width: 12em; }
.life-inner p { max-width: 520px; margin: 18px 0 30px; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }

/* ---------------------------------------------------------------- investment tracks (investor accompaniment) */
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.style { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border-radius: var(--r-md); overflow: hidden; }
.style-media { height: clamp(220px, 20vw, 300px); overflow: hidden; background: var(--navy-2); }
.style-media img { width: 100%; height: 100%; object-fit: cover; }
.style-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.4vw, 32px); }
.style-body h3 { margin: 0 0 10px; }
.style-body > p { margin: 0 0 22px; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.style-body dl { display: grid; gap: 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.style-body dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.style-body dt { color: var(--muted); font-size: .88rem; }
.style-body dd { margin: 0; font-weight: 700; color: var(--ink); unicode-bidi: plaintext; }
@media (max-width: 900px) { .styles { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- tiles (home principles) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.tile { padding: 30px 28px 32px; background: var(--paper); border-radius: var(--r-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease); }
.tile:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); }
.tile h3 { margin-bottom: 14px; color: var(--navy); }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.85; }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- services list (property management page) */
.service-list { display: grid; gap: 12px; }
.service-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) auto; gap: 28px; align-items: center; padding: clamp(24px, 2.6vw, 34px) clamp(22px, 2.6vw, 36px);
  background: var(--paper); border-radius: var(--r-md); text-decoration: none; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.service-row p { color: var(--muted); margin: 0; }
.service-row .link { white-space: nowrap; }
a.service-row:hover { background: var(--white); box-shadow: var(--shadow); }
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------------------------------------------------------------- principles (about page) */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); border-top: 1px solid var(--line-light); }
.principle { padding-block: 28px; border-bottom: 1px solid var(--line-light); }
.principle h3 { color: var(--gold); margin-bottom: 12px; }
.principle p { color: var(--on-navy); max-width: 46ch; margin: 0; }
.section:not(.on-navy) .principles { border-color: var(--line); }
.section:not(.on-navy) .principle { border-color: var(--line); }
.section:not(.on-navy) .principle h3 { color: var(--navy); }
.section:not(.on-navy) .principle p { color: var(--muted); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- featured project: one big photo card */
.feature { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 52vw, 700px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; text-decoration: none; color: var(--white); }
.feature-media { position: absolute; inset: 0; z-index: -1; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 37, 64, .92) 0%, rgba(7, 37, 64, .55) 40%, rgba(7, 37, 64, 0) 70%); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 56px); max-width: 640px; }
.feature-body h3 { color: var(--white); font-size: clamp(4rem, 2.4rem + 4.4vw, 7.6rem); line-height: .82; }
.feature-body > p { color: rgba(255, 255, 255, .88); margin: 0; }
.feature-place { color: var(--gold) !important; font-size: .9rem; font-weight: 600; }
.facts { display: flex; gap: 0; margin: 10px 0 12px; }
.facts > div { display: flex; flex-direction: column-reverse; gap: 4px; padding-inline-end: 28px; }
.facts > div + div { padding-inline-start: 28px; border-inline-start: 1px solid rgba(255, 255, 255, .25); }
.facts dt { font-size: .85rem; color: rgba(255, 255, 255, .78); }
.facts dd { font: 400 clamp(2.6rem, 2.2rem + 1.2vw, 3.4rem)/1 var(--font-mark); color: var(--gold); }
.feature .btn-light, .section .feature .btn-light, .on-sand .feature .btn-light { background: var(--white); color: var(--ink); }
.feature:hover .btn-light { background: var(--gold-hi); }
.feature:hover .btn .arrow { transform: translateX(-4px); }

/* ---------------------------------------------------------------- calculator */
.calc-section { background: var(--navy); color: var(--on-navy); }
.calc-section h2 { color: var(--white); }
.calc-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.calc-intro h2 { margin-bottom: 26px; }
.calc-intro p { max-width: 46ch; }
.calc-intro .note { font-size: .9rem; color: var(--on-navy-muted); }
.calc-intro .note a { color: var(--gold); font-weight: 600; }
.calc { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; box-shadow: 0 22px 60px rgba(0, 0, 0, .18); }
.calc-inputs { display: grid; gap: 22px; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 8px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.seg-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); padding: 4px; border-radius: 999px; }
.seg label { position: relative; text-align: center; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background-color .25s, color .25s, box-shadow .25s; }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(11, 53, 86, .12); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
input[type=range] { width: 100%; accent-color: var(--navy); height: 28px; }
.calc-out { display: grid; gap: 0; }
.calc-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.calc-out dt { color: var(--muted); }
.calc-out dd { font-weight: 600; color: var(--ink); direction: ltr; white-space: nowrap; }
.calc-out .calc-total, .calc-out .calc-rent { border: 0; align-items: center; padding: 16px 20px; border-radius: var(--r-sm); margin-top: 10px; }
.calc-out .calc-total { background: var(--navy); }
.calc-out .calc-rent { background: var(--sand); margin-top: 8px; }
.calc-out .calc-total dt { color: var(--on-navy); }
.calc-out .calc-rent dt { color: var(--ink); }
.calc-out .calc-total dd, .calc-out .calc-rent dd { font: 400 2.6rem/1 var(--font-mark); color: var(--gold); }
.calc-out .calc-rent dd { color: var(--navy); }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- guides: cards (three in a row; on the guides page the first one is wide) */
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.guide-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--paper); border-radius: var(--r-md); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease); }
.on-sand .guide-card { background: var(--white); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.guide-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.guide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.guide-card:hover .guide-img img { transform: scale(1.05); }
.guide-cat { position: absolute; top: 14px; inset-inline-start: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--navy); font-size: .78rem; font-weight: 600; }
.guide-text { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 28px); flex: 1; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--muted); font-size: .82rem; }
.guide-meta span + span::before { content: '\00B7'; margin-inline: 8px; color: var(--gold-ink); }
.guide-title { font: var(--dw) clamp(2rem, 1.7rem + .9vw, 2.5rem)/.95 var(--font-display); color: var(--ink); }
.guide-desc { color: var(--muted); font-size: .95rem; line-height: 1.75; }
.guide-text .link { margin-top: auto; padding-top: 8px; }
.guide-list.is-featured > li:first-child { grid-column: 1 / -1; }
.guide-list.is-featured > li:first-child .guide-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.guide-list.is-featured > li:first-child .guide-img { aspect-ratio: auto; min-height: 380px; }
.guide-list.is-featured > li:first-child .guide-text { justify-content: center; padding: clamp(28px, 4vw, 56px); gap: 16px; }
.guide-list.is-featured > li:first-child .guide-title { font-size: clamp(2.8rem, 2rem + 2.4vw, 4.4rem); }
.guide-list.is-featured > li:first-child .guide-text .link { margin-top: 12px; }
@media (max-width: 1000px) { .guide-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .guide-list { grid-template-columns: 1fr; }
  .guide-list.is-featured > li:first-child .guide-card { grid-template-columns: 1fr; }
  .guide-list.is-featured > li:first-child .guide-img { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------- project cards */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.pcard { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.section:not(.on-sand):not(.on-navy) .pcard { background: var(--paper); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-badge { position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(11, 53, 86, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); font-size: .8rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .25); }
.pcard-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px); flex: 1; }
.pcard-place { color: var(--gold-ink); font-size: .82rem; font-weight: 600; }
.pcard-title { font: var(--dw) clamp(2.6rem, 2rem + 1.6vw, 3.4rem)/.9 var(--font-display); color: var(--ink); }
.pcard-desc { color: var(--muted); font-size: .95rem; line-height: 1.75; }
.pcard-foot { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.pcard-price { display: grid; gap: 2px; }
.pcard-price small { color: var(--muted); font-size: .8rem; }
.pcard-price b { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.pcard-go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); transition: background-color .3s, transform .35s var(--ease); }
.pcard-go .arrow { width: 16px; height: 12px; }
.pcard:hover .pcard-go { background: var(--gold); color: var(--navy); transform: translateX(-4px); }
[dir="ltr"] .pcard:hover .pcard-go { transform: translateX(4px); }
@media (max-width: 1000px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .pcards { grid-template-columns: 1fr; } }

/* Price table (project pages) */
.price-table { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 18px clamp(18px, 2.6vw, 32px); border-bottom: 1px solid var(--line); align-items: center; }
.pt-row:last-child { border-bottom: 0; }
.pt-row span:first-child { font-weight: 600; color: var(--ink); }
.pt-row span:last-child { font-weight: 600; color: var(--navy); text-align: end; }
.pt-head { background: var(--navy); color: var(--on-navy); font-size: .85rem; padding-block: 14px; }
.pt-head span:first-child, .pt-head span:last-child { color: var(--white); font-weight: 600; }
.pt-row:not(.pt-head):hover { background: var(--paper); }
@media (max-width: 680px) {
  .pt-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .pt-row span:nth-child(2), .pt-row span:nth-child(3) { color: var(--muted); font-size: .88rem; }
  .pt-row span:nth-child(3) { text-align: end; }
  .pt-head span:nth-child(2), .pt-head span:nth-child(3) { display: none; }
}

/* Distances (project pages) */
.distances { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.distances > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 26px 24px; background: var(--navy-2); border-radius: var(--r-md); }
.distances dd { font: 400 clamp(4rem, 3rem + 3vw, 6rem)/.85 var(--font-mark); color: var(--gold); }
.distances dt { color: var(--on-navy); }
@media (max-width: 900px) { .distances { grid-template-columns: 1fr 1fr; } }

/* What we check (projects page) */
.checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.checks > div { padding: 28px 26px; background: var(--navy-2); border-radius: var(--r-md); }
.checks h3 { color: var(--gold); margin-bottom: 12px; }
.checks p { margin: 0; color: var(--on-navy); }
@media (max-width: 1000px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- article boxes (guides) */
.takeaways, .checklist { margin-block: 0 2em; padding: clamp(22px, 2.6vw, 32px); background: var(--paper); border-radius: var(--r-md); border-inline-start: 3px solid var(--gold); }
.prose .checklist { margin-block: 2em; }
.prose .tk-title { margin: 0 0 12px; font: var(--dw) 2rem/1 var(--font-display); color: var(--navy); }
.takeaways ul, .checklist ul { display: grid; gap: 10px; }
.takeaways li, .checklist li { position: relative; padding-inline-start: 26px; line-height: 1.65; }
.takeaways li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.checklist li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.prose .example { margin-block: 2em; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.prose .ex-title { margin: 0; padding: 16px 20px; background: var(--navy); color: var(--white); font-weight: 600; }
.example table { width: 100%; border-collapse: collapse; font-size: .95em; min-width: 0; }
.prose .example td { padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.prose .example td:last-child { text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap; }
[dir="ltr"] .prose .example td:last-child { text-align: right; }
.prose .example tr.ex-total td { background: var(--sand); font-weight: 700; color: var(--navy); }
.prose .example tr:last-child td { border-bottom: 0; }
.prose .ex-note { margin: 0; padding: 12px 20px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.prose .article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-block: 2.2em; padding: clamp(22px, 2.6vw, 32px); background: var(--navy); color: var(--on-navy); border-radius: var(--r-md); }
.prose .article-cta p { margin: 0; max-width: 46ch; color: var(--white); font-weight: 500; }
.prose .article-cta .btn { background: var(--gold); color: var(--navy); text-decoration: none; }
.prose .article-cta .btn:hover { background: var(--gold-hi); }
.prose .faq { margin-top: 1em; }
.prose .faq-item summary { font-size: 1.02rem; }

/* ---------------------------------------------------------------- contact block */
.contact-block { background: var(--navy-deep); color: var(--on-navy); }
.contact-block h1, .contact-block h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact-intro .lead { margin-top: 26px; color: var(--on-navy); max-width: 420px; font-weight: 300; }
.channels { margin-top: 34px; max-width: 460px; border-top: 1px solid var(--line-light); }
.channels li { border-bottom: 1px solid var(--line-light); }
.channels a, .channels div { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; text-decoration: none; transition: color .2s; }
.ch-label { color: var(--on-navy-muted); font-size: .85rem; white-space: nowrap; }
.ch-value { font-weight: 500; color: var(--white); text-align: end; overflow-wrap: anywhere; transition: color .2s; }
.channels a:hover .ch-value { color: var(--gold); }
.contact-card { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: 0 22px 60px rgba(0, 0, 0, .2); }
.page-contact .contact-block { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 500; color: var(--ink); font-size: .9rem; }
.req { color: var(--gold-ink); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; font-size: 1rem; min-height: 50px;
  transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(242, 179, 61, .35); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 600; }
.form .btn { width: 100%; background: var(--navy); color: var(--white); box-shadow: none; }
.form .btn:hover { background: var(--navy-3); }
.form-message { font-weight: 500; min-height: 1.5em; margin: 0; }
.form-message.is-error { color: #A42A1E; }
.form-message a { color: inherit; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- split: text and picture */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { overflow: hidden; border-radius: var(--r-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.6; }
.split-text h2 { margin-bottom: 28px; }
.split-text p { max-width: 54ch; }
.split-text p:not(.lead) { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } .split-media img { aspect-ratio: 4 / 3; } }

/* ---------------------------------------------------------------- market numbers, text blocks, FAQ (restored 2026-11-30) */
/* Market numbers */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.number { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; background: var(--navy-2); border-radius: var(--r-md); }
.number dd { font: 400 clamp(3rem, 2.4rem + 2vw, 4.4rem)/1 var(--font-mark); color: var(--gold); direction: ltr; text-align: right; order: -1; }
.number dt { color: var(--white); font-weight: 600; }
.number p { color: var(--on-navy-muted); font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .numbers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .numbers { grid-template-columns: 1fr; } }

/* Two-column text blocks */
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.blocks > * { padding: 30px 28px; background: var(--paper); border-radius: var(--r-md); }
.on-navy .blocks > * { background: var(--navy-2); }
.on-sand .blocks > * { background: var(--white); }
.blocks h3 { margin-bottom: 12px; color: var(--navy); }
.on-navy .blocks h3 { color: var(--gold); }
.blocks p { max-width: 52ch; color: var(--muted); }
.on-navy .blocks p { color: var(--on-navy); }
.blocks.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .blocks.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .blocks, .blocks.four { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 11px; height: 11px; flex: none; margin-inline-end: 6px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-a { padding: 0 0 24px; max-width: 72ch; color: var(--muted); }
.faq-a a { color: var(--navy); font-weight: 600; }
.on-sand .blocks > * { box-shadow: 0 10px 30px rgba(11, 53, 86, .06); }

/* ---------------------------------------------------------------- steps ("how to buy" on project pages, investor accompaniment) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); counter-reset: step; }
.step { position: relative; counter-increment: step; display: grid; gap: 10px; align-content: start; padding: clamp(26px, 2.6vw, 36px) clamp(22px, 2.2vw, 30px) clamp(28px, 2.8vw, 38px); background: var(--navy-2); border-radius: var(--r-md); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step::before { content: '0' counter(step); display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border: 1px solid rgba(242, 179, 61, .55); border-radius: 50%; color: var(--gold); font: 400 1.7rem/1 var(--font-mark); direction: ltr; }
.step::after { content: ''; position: absolute; inset-inline-start: 0; top: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: right center; transition: transform .6s var(--ease); }
[dir="ltr"] .step::after { transform-origin: left center; }
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(11, 53, 86, .14); }
.step:hover::after { transform: scaleX(1); }
.step h3 { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 1vw, 2.4rem); line-height: .95; }
.step p { color: var(--on-navy-muted); margin: 0; font-size: .95rem; line-height: 1.7; }
@media (max-width: 1100px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- project page */
.project-hero { position: relative; min-height: min(96svh, 940px); display: flex; align-items: flex-end; color: var(--white); isolation: isolate; background: var(--navy); }
.project-hero .hero-media::after { background: linear-gradient(0deg, rgba(7, 37, 64, .92) 0%, rgba(7, 37, 64, .45) 45%, rgba(7, 37, 64, .35) 100%); }
.project-hero .hero-content { margin-inline: auto; width: min(100% - 2 * var(--margin), var(--max)); padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(40px, 5vw, 72px); }
.project-hero h1 { color: var(--white); font-size: clamp(4.4rem, 2rem + 8vw, 11rem); line-height: .8; }
.project-hero .lead { max-width: 520px; margin-top: 24px; color: rgba(255, 255, 255, .9); font-weight: 300; }
.project-hero .crumbs { color: #DDEBF6; }
.badge-status { display: inline-block; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); font-weight: 600; padding: 5px 14px; border-radius: 999px; margin-bottom: 20px; font-size: .85rem; border: 1px solid rgba(255, 255, 255, .3); }
.project-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.project-intro p { color: var(--muted); }
.spec { background: var(--navy); color: var(--on-navy); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); position: sticky; top: calc(var(--header-h) + 24px); }
.spec h2 { color: var(--white); font-size: clamp(2.6rem, 2.2rem + 1vw, 3.2rem); margin-bottom: 18px; }
.spec dl { display: grid; }
.spec dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.spec dt { color: var(--on-navy-muted); }
.spec dd { font-weight: 600; color: var(--white); text-align: end; }
.spec .btn { margin-top: 24px; width: 100%; }
/* amenity icons: start */
.amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.amenities li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); color: var(--white); font-weight: 500; font-size: 1rem; line-height: 1.35; min-width: 0; }
.amenities li::before { content: ""; flex: none; width: 26px; height: 26px; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
@media (max-width: 560px) { .amenities { grid-template-columns: 1fr; } }
.amenities li[data-icon="pool"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 17c1.7 0 1.7-1.2 3.3-1.2s1.7 1.2 3.4 1.2 1.6-1.2 3.3-1.2 1.7 1.2 3.3 1.2 1.7-1.2 3.4-1.2S20.3 17 22 17M2 21c1.7 0 1.7-1.2 3.3-1.2s1.7 1.2 3.4 1.2 1.6-1.2 3.3-1.2 1.7 1.2 3.3 1.2 1.7-1.2 3.4-1.2S20.3 21 22 21M8 14V5.5a2 2 0 0 1 4 0M14 14V5.5a2 2 0 0 1 4 0M8 9h6'/%3E%3C/svg%3E"); }
.amenities li[data-icon="gate"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 2.8v5.4c0 4.4-2.9 8-7 9.8-4.1-1.8-7-5.4-7-9.8V5.8z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E"); }
.amenities li[data-icon="gym"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 7v10M17.5 7v10M3.5 9.5v5M20.5 9.5v5M6.5 12h11'/%3E%3C/svg%3E"); }
.amenities li[data-icon="tennis"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.6 5.6c3.4 3.5 3.4 9.3 0 12.8M18.4 5.6c-3.4 3.5-3.4 9.3 0 12.8'/%3E%3C/svg%3E"); }
.amenities li[data-icon="parking"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3.5'/%3E%3Cpath d='M10 16.5v-9h3.2a2.7 2.7 0 0 1 0 5.4H10'/%3E%3C/svg%3E"); }
.amenities li[data-icon="storage"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.8L12 3.5l8.5 4.3v8.4L12 20.5l-8.5-4.3z'/%3E%3Cpath d='M3.5 7.8L12 12l8.5-4.2M12 12v8.5'/%3E%3C/svg%3E"); }
.amenities li[data-icon="bike"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='16' r='3.5'/%3E%3Ccircle cx='18.5' cy='16' r='3.5'/%3E%3Cpath d='M5.5 16l4-7.5h6l3 7.5M12.5 16l-3-7.5M14 5.5h2.5'/%3E%3C/svg%3E"); }
.amenities li[data-icon="lift"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2.5'/%3E%3Cpath d='M9 10l3-3 3 3M9 14l3 3 3-3'/%3E%3C/svg%3E"); }
.amenities li[data-icon="terrace"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16l-2-4.5H6zM3 13h18M5 13v7M9.7 13v7M14.3 13v7M19 13v7M3 20h18'/%3E%3C/svg%3E"); }
.amenities li[data-icon="school"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9.5L12 5l10 4.5L12 14z'/%3E%3Cpath d='M6 11.3v4.6c0 1.6 2.7 3.1 6 3.1s6-1.5 6-3.1v-4.6M22 9.5v5'/%3E%3C/svg%3E"); }
.amenities li[data-icon="cafe"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12v4a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5z'/%3E%3Cpath d='M16 11.5h1.5a2.5 2.5 0 0 1 0 5H16M8 3.5v3M12 3.5v3'/%3E%3C/svg%3E"); }
.amenities li[data-icon="solar"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l2.6-9h12.8L21 17z'/%3E%3Cpath d='M4.3 12.5h15.4M10 8l-.8 9M14 8l.8 9M12 17v3.5M8.5 20.5h7'/%3E%3C/svg%3E"); }
.amenities li[data-icon="garden"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-8'/%3E%3Cpath d='M12 13c-4.4 0-7-2.8-7-7 4.4 0 7 2.8 7 7zM12 13c0-4.2 2.6-7 7-7 0 4.2-2.6 7-7 7z'/%3E%3C/svg%3E"); }
[dir="rtl"] .pt-row:not(.pt-head) span:last-child { direction: ltr; text-align: left; }
[dir="rtl"] .pt-row:not(.pt-head) span:nth-child(3) { direction: ltr; text-align: right; }
@media (max-width: 680px) { [dir="rtl"] .pt-row:not(.pt-head) span:nth-child(3) { text-align: left; } }
/* amenity icons: end */
@media (max-width: 900px) { .project-intro { grid-template-columns: 1fr; } .spec { position: static; } }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery figure { border-radius: var(--r-md); overflow: hidden; grid-column: span 4; aspect-ratio: 3 / 2; }
.gallery figure.wide { grid-column: span 8; aspect-ratio: auto; }
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure, .gallery figure.wide { grid-column: span 2; } .gallery figure.tall { grid-row: auto; aspect-ratio: 3 / 2; } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.plan { background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.plan button { display: block; width: 100%; padding: 0; border: 0; background: var(--white); cursor: zoom-in; }
.plan img { width: 100%; aspect-ratio: 800 / 548; object-fit: contain; }
.plan figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--paper); font-weight: 600; color: var(--ink); }
.plan figcaption span:last-child { color: var(--muted); font-weight: 500; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.video { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(7, 37, 64, .3); color: var(--white); transition: background-color .3s; }
.video-play:hover { background: rgba(7, 37, 64, .15); }
.video-play span { display: inline-flex; align-items: center; gap: 12px; background: var(--white); color: var(--ink); font-weight: 600; padding: 16px 28px; border-radius: 999px; box-shadow: var(--shadow); }
.video-play svg { width: 16px; height: 16px; }

.enquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.enquiry .contact-card { max-width: 520px; }
@media (max-width: 900px) { .enquiry { grid-template-columns: 1fr; } }

/* Projects list */
.project-card { position: relative; display: flex; align-items: flex-end; min-height: clamp(520px, 50vw, 680px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; text-decoration: none; color: var(--white); }
.project-card .feature-media { position: absolute; inset: 0; z-index: -1; }
.project-card h2 { color: var(--white); font-size: clamp(4rem, 2.4rem + 4.4vw, 7.6rem); line-height: .82; }
.project-card .feature-body { color: var(--white); }
.project-card .facts dt { color: rgba(255, 255, 255, .78); }
.project-card:hover .feature-media img { transform: scale(1.04); }

/* ---------------------------------------------------------------- article (guides) */
.article-hero { background: var(--navy); color: var(--on-navy); padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); padding-bottom: clamp(32px, 4vw, 56px); }
.article-hero h1 { color: var(--white); font-size: clamp(3.4rem, 2rem + 4.6vw, 7rem); max-width: 16em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--on-navy-muted); font-size: .92rem; }
.article-cover { margin-top: clamp(36px, 5vw, 60px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 740px); gap: clamp(40px, 6vw, 100px); justify-content: center; padding-block: clamp(56px, 7vw, 100px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.toc h2 { font: 600 .9rem/1.4 var(--font-text); color: var(--ink); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: .9rem; line-height: 1.45; color: var(--muted); transition: background-color .2s, color .2s; }
.toc a:hover, .toc a.is-active { background: var(--paper); color: var(--ink); }
.prose { font-size: clamp(1.04rem, 1rem + .2vw, 1.15rem); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(2.6rem, 2rem + 1.8vw, 3.8rem); margin-top: 1.5em; }
.prose h3 { margin-top: 1.3em; }
.prose p { margin-bottom: 0; }
.prose > :first-child { margin-top: 0; }
.prose :is(h2, h3) + * { margin-top: 1.2em; }
.prose a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.prose figure { margin-block: 2em; border-radius: var(--r-md); overflow: hidden; }
[data-a="img"] { overflow: hidden; }
.prose figure img { width: 100%; }
.prose blockquote { margin: 2em 0; padding: 28px 32px; background: var(--navy); color: var(--white); border-radius: var(--r-md); font-size: 1.08em; }
.prose blockquote p { color: var(--white); }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95em; min-width: 560px; }
.prose th { background: var(--navy); color: var(--white); font-weight: 600; text-align: start; padding: 14px 16px; }
.prose td { padding: 13px 16px; background: var(--white); border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--paper); }
.disclaimer { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

/* Insights page */
.insights-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }

/* Legal pages */
.legal { padding-block: clamp(56px, 7vw, 100px); }
.legal .prose h2 { font-size: clamp(2.2rem, 1.8rem + 1.2vw, 3rem); margin-top: 1.3em; }
.legal .prose ul { list-style: disc; padding-inline-start: 1.3em; }
.legal .prose li + li { margin-top: .4em; }

/* 404 */
.notfound { min-height: 80svh; display: flex; align-items: center; }

/* ---------------------------------------------------------------- footer: a rounded frame too */
.site-footer { margin: var(--gutter); padding: clamp(48px, 6vw, 80px) 0 24px; background: var(--navy-deep); color: var(--on-navy-muted); border-radius: var(--r-lg); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 7vw, 110px); padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin: 22px 0 26px; max-width: 36ch; color: var(--on-navy); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 28px; }
.footer-cols h2 { font: 600 .82rem/1.4 var(--font-text); letter-spacing: .04em; color: var(--gold); margin-bottom: 14px; }
.footer-cols ul { display: grid; gap: 9px; }
.footer-cols a { text-decoration: none; color: var(--on-navy); font-size: .92rem; transition: color .2s; overflow-wrap: break-word; hyphens: auto; }
.footer-cols a:hover { color: var(--white); }
.footer-contact span { overflow-wrap: anywhere; color: var(--on-navy); font-size: .92rem; }
.footer-bottom { padding-top: 20px; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a, .cookie-settings { text-decoration: none; background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.footer-links a:hover, .cookie-settings:hover { color: var(--white); }
@media (max-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-contact { grid-column: 1 / -1; } }

/* Cookie banner (consent.js) */
.consent-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 120; max-width: 520px; margin-inline-end: auto; background: var(--white); color: var(--text);
  border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 14px; font-size: .9rem; }
.consent-text a { color: var(--navy); font-weight: 600; }
.consent-actions { display: flex; gap: 10px; }
.consent-btn { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-weight: 600; }
.consent-btn-accept { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1600px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 16, 26, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: var(--r-sm); background: var(--white); }
.lightbox p { color: var(--white); text-align: center; margin-top: 12px; }
.lightbox-close { position: fixed; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; }
/* direction: ltr stops the browser mirroring the ‹ › glyphs on Hebrew and Arabic pages */
.lightbox-nav { direction: ltr; unicode-bidi: isolate; position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 1.6rem; }
/* physical sides, because the buttons are direction: ltr: previous sits on the reading-start side */
.lightbox-nav, .lightbox-close { z-index: 2; } /* above the picture, which covers them on phones */
.lightbox img { touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
@media (max-width: 700px) { .lightbox-nav { width: 44px; height: 44px; font-size: 1.4rem; box-shadow: 0 4px 16px rgba(0,0,0,.25); } .lightbox-prev { right: 10px; } .lightbox-next { left: 10px; } [dir="ltr"] .lightbox-prev { left: 10px; right: auto; } [dir="ltr"] .lightbox-next { right: 10px; left: auto; } }
.lightbox-prev { right: 18px; }
.lightbox-next { left: 18px; }
[dir="ltr"] .lightbox-prev { left: 18px; right: auto; }
[dir="ltr"] .lightbox-next { right: 18px; left: auto; }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1f8f54; color: #fff; display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; } }

/* ---------------------------------------------------------------- motion helpers (GSAP in site.js) */
.anim [data-a="up"] { opacity: 0; }
.anim [data-hero] { opacity: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Doron Media credit: bottom bar, opposite the copyright; own centred line on tablets and phones */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; column-gap: 48px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; flex: 1 1 auto; min-width: 0; }
.dm-credit { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 13px; flex: none; text-decoration: none; opacity: .75; transition: opacity .2s; white-space: nowrap; }
.dm-credit:hover, .dm-credit:focus-visible { opacity: 1; }
.dm-credit img { display: block; height: 20px; width: auto; }
/* Optical centring: the logo is mostly lowercase, so the eye centres on its lowercase letters, which sit lower than the box middle. */
.dm-credit span { position: relative; top: 1px; }
@media (max-width: 900px) {
  .footer-bottom { flex-direction: column; align-items: stretch; row-gap: 0; }
  .dm-credit { align-self: center; margin-top: 32px; }
}
@media (max-width: 560px) { .footer-legal { flex-direction: column; gap: 6px; } }
/* Desktop: keep the credit clear of the floating WhatsApp button (it is on the credit's side). */
.footer-bottom { padding-inline-end: max(0px, calc(96px - var(--margin))); }
@media (max-width: 900px) { .footer-bottom { padding-inline-end: 0; } .site-footer { padding-bottom: 80px; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.updated { margin-top: 18px; color: var(--on-navy-muted); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.photo-credits { margin-top: 24px; font-size: .8rem; color: var(--muted); }
.photo-credits a { color: inherit; }

/* ---------------------------------------------------------------- languages */
.lang { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: none; color: inherit; font: 700 .78rem/1 var(--font-text); letter-spacing: .04em; }
.lang-toggle svg { width: 17px; height: 17px; color: var(--gold); }
.lang-toggle:hover { background: rgba(255, 255, 255, .14); }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 170px; padding: 6px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: none; z-index: 5; }
.lang.is-open .lang-menu { display: block; animation: drop-in .25s var(--ease); }
.lang-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .92rem; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--paper); }
.lang-menu a[aria-current] { font-weight: 700; color: var(--navy); }

/* Russian and Arabic: Karantina has no Cyrillic or Arabic letters */
html[lang="ru"] { --font-display: 'Oswald', 'Rubik', sans-serif; --font-text: 'Rubik', Arial, sans-serif; --dw: 500; --dlh: 1.02; }
html[lang="ar"] { --font-display: 'Reem Kufi', 'Noto Sans Arabic', sans-serif; --font-text: 'Noto Sans Arabic', Arial, sans-serif; --dw: 500; --dlh: 1.25; }
html[lang="ar"] body { line-height: 1.9; }
html:is([lang="ru"], [lang="ar"]) h1 { font-size: clamp(2.6rem, 1.5rem + 3.8vw, 5.4rem); }
html:is([lang="ru"], [lang="ar"]) .hero h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 5.6rem); line-height: var(--dlh); }
html:is([lang="ru"], [lang="ar"]) h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 4rem); }
html:is([lang="ru"], [lang="ar"]) h3, html:is([lang="ru"], [lang="ar"]) .guide-title { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); line-height: 1.15; }
html:is([lang="ru"], [lang="ar"]) .feature-body h3, html:is([lang="ru"], [lang="ar"]) .project-card h2 { font-size: clamp(2.6rem, 1.8rem + 2.8vw, 4.6rem); line-height: 1; }
html:is([lang="ru"], [lang="ar"]) .project-hero h1 { font-size: clamp(3rem, 1.8rem + 5vw, 7rem); line-height: 1; }
html:is([lang="ru"], [lang="ar"]) .person-card .initials { font-size: 2.2rem; }
@media (max-width: 1200px) { html:is([lang="ru"], [lang="ar"]) .nav-list > li > a, html:is([lang="ru"], [lang="ar"]) .sub a { font-size: 1.9rem; line-height: 1.25; } }
html:is([lang="en"], [lang="fr"]) .hero h1 { font-size: clamp(3.8rem, 1.8rem + 6vw, 8.4rem); }

/* Left-to-right pages (English, Russian, French) */
[dir="ltr"] .arrow { transform: scaleX(-1); }
[dir="ltr"] .btn:hover .arrow, [dir="ltr"] .link:hover .arrow, [dir="ltr"] .text-link:hover .arrow, [dir="ltr"] a:hover .link .arrow, [dir="ltr"] .feature:hover .btn .arrow { transform: scaleX(-1) translateX(-4px); }
[dir="ltr"] .figures dd, [dir="ltr"] .number dd { text-align: left; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
[dir="ltr"] .lightbox-nav { transform: translateY(-50%) scaleX(-1); }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; padding-block: 12px; } }
/* Russian has the longest footer line: the credit moves to its own centred line a little earlier */
@media (max-width: 1024px) {
  html[lang="ru"] .footer-bottom { flex-direction: column; align-items: stretch; row-gap: 0; padding-inline-end: 0; }
  html[lang="ru"] .dm-credit { align-self: center; margin-top: 32px; }
}
@media (max-width: 1180px) and (min-width: 601px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Guides: the article sits in one frame like every other section (overflow: clip keeps the sticky contents list working) */
main > article { display: block; margin: 0 var(--gutter) var(--gutter); background: var(--white); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: clip; }
main > article > .article-hero { border-radius: 0 0 var(--r-lg) var(--r-lg); }
/* Russian and French menu labels are long: tighter menu, and the header button gives way before the bar overflows */
@media (min-width: 1201px) {
  html:is([lang="ru"], [lang="fr"]) .nav-list a, html:is([lang="ru"], [lang="fr"]) .sub-toggle { padding-inline: 10px; font-size: .88rem; }
}
@media (min-width: 1201px) and (max-width: 1520px) { html:is([lang="ru"], [lang="fr"]) .btn-header { display: none; } }
/* Small headings that must not take the Russian/Arabic heading sizes */
html .site-footer .footer-cols h2, html .article-layout .toc h2 { font: 600 .82rem/1.4 var(--font-text); letter-spacing: .04em; }
html .article-layout .toc h2 { font-size: .9rem; letter-spacing: 0; }
html:is([lang="ru"], [lang="ar"]) .spec h2 { font-size: clamp(1.8rem, 1.5rem + .8vw, 2.4rem); }

/* light cards: start */
.on-sand .step, .on-sand .number { background: var(--white); box-shadow: 0 10px 30px rgba(11, 53, 86, .06); }
.on-sand .step h3, .on-sand .number dt { color: var(--navy); }
.on-sand .step p, .on-sand .number p { color: var(--muted); }
.on-sand .step::before { color: var(--gold-ink); border-color: rgba(14, 111, 168, .45); }
.on-sand .number dd { color: var(--gold-ink); }
.intro .panorama { margin-top: clamp(48px, 6vw, 80px); }
/* light cards: end */

/* project page: start */
.pnav { position: sticky; top: calc(var(--header-h) + 8px); z-index: 50; margin: 0 var(--gutter); pointer-events: none; transition: top .35s var(--ease); }
body:has(.site-header.is-hidden) .pnav { top: 8px; }
.pnav-in { pointer-events: auto; width: min(100% - 2 * var(--margin), var(--max)); margin: -36px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 8px; padding-inline-start: 22px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px rgba(7, 37, 64, .12); }
.pnav ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; margin: 0; padding: 0; list-style: none; }
.pnav ul::-webkit-scrollbar { display: none; }
.pnav ul a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.pnav ul a:hover { color: var(--ink); background: var(--paper); }
.pnav ul a.is-active { color: var(--white); background: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .9rem; flex: none; }
@media (max-width: 760px) { .pnav-in { margin-top: -30px; padding-inline-start: 8px; } .pnav .btn-sm { display: none; } }
.pfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 10px; margin: 0 0 clamp(56px, 7vw, 96px); }
.pfact { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px; background: var(--paper); border-radius: var(--r-md); min-width: 0; }
.pfact::before { content: ""; grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: var(--navy) center / 22px 22px no-repeat; }
.pfact dt { color: var(--muted); font-size: .82rem; align-self: end; }
.pfact dd { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.3; align-self: start; }
.pfact[data-icon="tag"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCF9F3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.6V4.5a1 1 0 0 1 1-1h8.1l7.9 7.9a1.4 1.4 0 0 1 0 2l-6.1 6.1a1.4 1.4 0 0 1-2 0z'/%3E%3Ccircle cx='8.3' cy='8.3' r='1.5'/%3E%3C/svg%3E"); }
.pfact[data-icon="building"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCF9F3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5.5L12 3v18M12 8.5l8 2.5V21M2.5 21h19M7 8h2M7 11.5h2M7 15h2M15 13.5h2M15 17h2'/%3E%3C/svg%3E"); }
.pfact[data-icon="bed"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCF9F3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18.5V6M3 14h18v4.5M21 14v-2.5a3 3 0 0 0-3-3h-7V14'/%3E%3Ccircle cx='7' cy='10.5' r='2'/%3E%3C/svg%3E"); }
.pfact[data-icon="key"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCF9F3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4'/%3E%3Cpath d='M10.4 12.6L20 3M16.5 6.5l2.5 2.5M14 9l2 2'/%3E%3C/svg%3E"); }
.pfact[data-icon="crane"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCF9F3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V3l13 4H6M6 7l13 0M14 7v4M12.5 11h3v2.5h-3zM3 21h8M10 3L6 7'/%3E%3C/svg%3E"); }
.pfact[data-icon="pin"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCF9F3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 0 1 13 0c0 4.8-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
.pfact[data-icon="chart"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCF9F3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V4M4 20h16M8 16l4-4 3 3 5-6M16 9h4v4'/%3E%3C/svg%3E"); }
.overview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.overview .prose { margin-top: 26px; }
.overview .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.overview-img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.overview-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } .overview-img { aspect-ratio: 4 / 3; } }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }
.loc-map { margin-top: clamp(28px, 4vw, 44px); }
#location .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
/* project page: end */

/* round 5: start */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tier { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); background: var(--paper); border-radius: var(--r-lg); transition: background-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.tier:hover { background: var(--white); transform: translateY(-4px); box-shadow: var(--shadow); }
.tier h3 { font: 400 clamp(2rem, 1.7rem + .8vw, 2.5rem)/1 var(--font-display); color: var(--ink); }
.tier-from { margin: clamp(28px, 4vw, 48px) 0 0; color: var(--muted); font-size: .88rem; }
.tier-price { margin: 4px 0 0; font: 700 clamp(1.9rem, 1.6rem + .9vw, 2.5rem)/1.1 var(--font-text); color: var(--navy); direction: ltr; text-align: right; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
[dir="ltr"] .tier-price { text-align: left; }
.tier dl { display: grid; margin: 24px 0 0; border-top: 1px solid var(--line); }
.tier dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.tier dt { color: var(--muted); }
.tier dd { margin: 0; font-weight: 600; color: var(--ink); }
.tier dd.num { direction: ltr; }
.tier-link { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; }
.tier-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tier-link .arrow { width: 15px; height: 11px; transition: transform .3s var(--ease); }
.tier:hover .tier-link .arrow { transform: translateX(-4px); }
[dir="ltr"] .tier:hover .tier-link .arrow { transform: translateX(4px); }
#prices .disclaimer { margin-top: 20px !important; }
.amen { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.amen-img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.amen-img img { width: 100%; height: 100%; object-fit: cover; }
.amen-body h2 { margin-top: 0; }
@media (max-width: 900px) { .amen { grid-template-columns: 1fr; } .amen-img { aspect-ratio: 16 / 10; order: 2; } }
.loc { position: relative; isolation: isolate; padding-block: clamp(110px, 12vw, 180px); }
.loc-bg { position: absolute; inset: 0; z-index: -1; }
.loc-bg img { width: 100%; height: 100%; object-fit: cover; }
.loc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 37, 64, .55), rgba(7, 37, 64, .78) 55%, rgba(7, 37, 64, .92)); }
.loc .section-head p { color: var(--on-navy); }
.loc .distances { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(24px, 4vw, 48px); padding-top: 34px; }
.loc .distances::before { content: ""; position: absolute; top: 6px; inset-inline: 0; height: 1px; background: rgba(255, 255, 255, .35); }
.loc .distances > div { position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 0; padding-inline-end: 20px; background: none; border-radius: 0; }
.loc .distances > div::before { content: ""; position: absolute; top: -34px; inset-inline-start: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px rgba(255, 255, 255, .16); }
.loc .distances dd { font: 400 clamp(4.6rem, 3.4rem + 3.6vw, 7.4rem)/.82 var(--font-mark); color: var(--white); }
.loc .distances dd::after { content: "דק׳"; font: 500 1rem/1 var(--font-text); margin-inline-start: 8px; opacity: .7; }
[lang]:not([lang="he"]) .loc .distances dd::after { content: "min"; font: 600 .9rem/1 var(--font-text); letter-spacing: .04em; }
.loc .distances dt { color: var(--on-navy); font-size: .98rem; max-width: 16ch; }
.loc .btn-ghost { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .loc .distances { grid-template-columns: 1fr 1fr; row-gap: 56px; } .loc .distances::before { display: none; } .loc .distances > div::before { top: -22px; } }
.enq-alt { margin-top: 26px; }
.gallery.is-carousel { display: none; }
.gal { display: grid; gap: 14px; }
.gal-stage { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); aspect-ratio: 16 / 9; touch-action: pan-y; }
.gal-track { display: flex; height: 100%; will-change: transform; }
.gal-track.is-moving { transition: transform .7s var(--ease); }
.gal-slide { flex: 0 0 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.gal-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); cursor: pointer; box-shadow: 0 8px 24px rgba(7, 37, 64, .25); transition: transform .3s var(--ease), background-color .3s; }
.gal-nav:hover { background: var(--white); transform: scale(1.06); }
.gal-nav svg { width: 18px; height: 18px; }
.gal-prev { inset-inline-start: 18px; }
.gal-next { inset-inline-end: 18px; }
[dir="rtl"] .gal-nav svg { transform: scaleX(-1); }
.gal-meta { position: absolute; inset-inline-start: 18px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 7px 14px; border-radius: 999px; background: rgba(7, 37, 64, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); font-size: .86rem; pointer-events: none; }
.gal-meta b { font-weight: 600; direction: ltr; }
.gal-thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumb { flex: 0 0 clamp(96px, 11vw, 148px); aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--navy); cursor: pointer; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb:hover { opacity: .85; }
.gal-thumb[aria-current="true"] { opacity: 1; outline-color: var(--navy); }
@media (max-width: 760px) { .gal-stage { aspect-ratio: 4 / 3; } .gal-nav { width: 44px; height: 44px; margin-top: -22px; } .gal-prev { inset-inline-start: 10px; } .gal-next { inset-inline-end: 10px; } }
/* round 5: end */
/* accents on deep sea grounds are white: terracotta text on the green reads poorly */
:is(.on-navy, .site-footer, .calc-section, .spec) :is(.principle h3, .feature-place, .facts dd, .calc-total dd, .calc-rent dd, .distances dd, .checks h3, .number dd, .blocks h3, .calc-intro .note a) { color: var(--white) !important; }
.site-footer .footer-cols h2 { color: var(--white); }
.on-navy .step::before, .on-navy .person-card .initials { color: var(--white); border-color: rgba(255, 255, 255, .4); }
@media (max-width: 600px) {
  .pfacts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pfact { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 4px; padding: 14px; }
  .pfact::before { grid-row: auto; width: 34px; height: 34px; border-radius: 10px; background-size: 18px 18px; margin-bottom: 6px; }
  .pfact dd { font-size: .95rem; }
}
/* apartment selector on project pages: type tabs, one card at a time (without script all cards show) */
.apts { display: grid; gap: 22px; }
.apt-tabs { display: none; flex-wrap: wrap; gap: 6px; padding: 6px; width: fit-content; max-width: 100%; background: var(--paper); border-radius: 999px; }
.js-apts .apt-tabs { display: flex; }
.apt-tab { padding: 11px 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 .95rem/1.2 var(--font-text); cursor: pointer; transition: background-color .3s, color .3s; }
.apt-tab:hover { color: var(--ink); }
.apt-tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.apt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 420px; overflow: hidden; border-radius: var(--r-lg); background: var(--paper); }
.apt[hidden] { display: none; }
.apt-img { position: relative; margin: 0; }
.apt-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apt-body { display: flex; flex-direction: column; padding: clamp(26px, 3.6vw, 52px); }
.apt-body h3 { margin: 0; font: 400 clamp(2.4rem, 1.8rem + 2vw, 3.8rem)/.95 var(--font-display); color: var(--ink); }
.apt-from { margin: clamp(24px, 3vw, 36px) 0 0; color: var(--muted); font-size: .9rem; }
.apt-price { margin: 2px 0 0; font: 700 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 var(--font-text); letter-spacing: -.035em; color: var(--navy); direction: ltr; text-align: right; }
[dir="ltr"] .apt-price { text-align: left; }
.apt-body dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: clamp(24px, 3vw, 32px) 0 clamp(32px, 3.4vw, 44px); padding-top: 18px; border-top: 1px solid var(--line); }
.apt-body dt { color: var(--muted); font-size: .86rem; }
.apt-body dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.apt-body dd.num { direction: ltr; text-align: right; }
[dir="ltr"] .apt-body dd.num { text-align: left; }
.apt-body .btn { margin-top: auto; align-self: start; }
.apt.is-in .apt-img img, .apt.is-in .apt-body > * { animation: apt-in .55s var(--ease) both; }
.apt.is-in .apt-body > :nth-child(2) { animation-delay: .04s; } .apt.is-in .apt-body > :nth-child(3) { animation-delay: .08s; } .apt.is-in .apt-body > :nth-child(n+4) { animation-delay: .12s; }
@keyframes apt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .apt.is-in .apt-img img, .apt.is-in .apt-body > * { animation: none; } }
@media (max-width: 760px) {
  .apt { grid-template-columns: 1fr; min-height: 0; }
  .apt-img { aspect-ratio: 16 / 10; }
  .apt-body .btn { margin-top: 0; }
  .apt-tabs { border-radius: 22px; }
  .apt-tab { padding: 10px 14px; font-size: .88rem; }
}

/* Villa project page extras (2026-11-29) */
.loc .distances.distances-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.loc .distances dd.m::after { content: "מ׳"; }
[lang]:not([lang="he"]) .loc .distances dd.m::after { content: "m"; }
.plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plans.plans-2 .plan img { aspect-ratio: 8 / 9; }
@media (max-width: 560px) { .plans.plans-2 { grid-template-columns: 1fr; } }
.amenities li[data-icon="bed"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V6M3 14h18v5M21 14v-2a3 3 0 0 0-3-3h-7v5M7 11.5a1.5 1.5 0 1 0 0-.01'/%3E%3C/svg%3E"); }
.amenities li[data-icon="ac"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7M9.5 3.5 12 6l2.5-2.5M9.5 20.5 12 18l2.5 2.5'/%3E%3C/svg%3E"); }
.amenities li[data-icon="heat"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4c-1.5 2 1.5 3.5 0 5.5M12 4c-1.5 2 1.5 3.5 0 5.5M17 4c-1.5 2 1.5 3.5 0 5.5M3 14h18M3 18h18M5 14v4M19 14v4'/%3E%3C/svg%3E"); }
.amenities li[data-icon="stone"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFBB70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='1.5'/%3E%3Cpath d='M3 9.3h18M3 14.7h18M9 4v5.3M15 9.3v5.4M9 14.7V20'/%3E%3C/svg%3E"); }

/* Gallery frame takes the shape most of the page's pictures have (data-ratio on .gallery), so pictures fill it
   without bars, blur or stretching (2026-11-29). */
.gal-stage { aspect-ratio: var(--gal-ratio, 16 / 9); }
@media (max-width: 760px) { .gal-stage { aspect-ratio: var(--gal-ratio, 4 / 3); } }
/* Portrait pictures beside text keep their full 4:5 frame on phones */
@media (max-width: 900px) { .overview-img.is-portrait, .amen-img.is-portrait { aspect-ratio: 4 / 5; } }

/* ---------------------------------------------------------------- premium motion pass (2026-11-30) */
/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Headings, style G: the heading fades in and a short sun-yellow line draws under it (site.js adds .h-line) */
.h-line { position: relative; padding-bottom: .34em; }
.h-line::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 64px; height: 3px; border-radius: 2px; background: var(--gold); transform: scaleX(var(--ul, 1)); transform-origin: right center; }
[dir="ltr"] .h-line::after { transform-origin: left center; }
.hero h1.h-line::after { width: 96px; height: 4px; }

/* Hero video over the photo, faded in once it plays */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-video.is-on { opacity: 1; }
.hero-media::after { z-index: 1; }
.scroll-cue { position: absolute; inset-inline-start: 50%; bottom: 28px; width: 1px; height: 56px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.scroll-cue::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: cue 2.2s cubic-bezier(.65, 0, .35, 1) 4; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* Intro statement: larger, its words light up as you read (site.js) */
.intro .intro-text { max-width: 620px; }
.intro .lead { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.85rem); line-height: 1.5; color: var(--ink); font-weight: 400; }
.intro .lead .rw { transition: none; }

/* Larnaca gallery: on wide screens it becomes a pinned horizontal walk (site.js adds .is-h) */
/* The Larnaca section is pinned by ScrollTrigger, which wraps it in a .pin-spacer and measures it with its margins.
   So it sits in .lar-frame, which holds the gutter, and the section itself has no margin but clips its own overflow;
   otherwise the long photo track leaks out and widens the page (seen on an ultrawide screen as the page shifting sideways). */
.lar-frame { margin: var(--gutter); }
.larnaca { margin: 0; border-radius: var(--r-lg); overflow: hidden; overflow: clip; }
html { overflow-x: clip; }
.larnaca.is-h { padding-block: calc(var(--header-h) + 28px) 44px; min-height: 100svh; }
.larnaca.is-h .section-head { margin-bottom: 18px; }
.larnaca.is-h .meta { margin-bottom: 14px; }
.larnaca.is-h .lar-facts { margin-bottom: 26px; }
.larnaca.is-h .lar-grid { display: flex; grid-template: none; gap: 20px; width: max-content; will-change: transform; }
.larnaca.is-h .lar-tile, .larnaca.is-h .lar-big { flex: none; grid-area: auto; height: max(300px, calc(100svh - var(--header-h) - 380px)); aspect-ratio: 4 / 3; }
.larnaca.is-h .lar-big { aspect-ratio: 3 / 2; }
.larnaca.is-h .lar-tile figcaption b { font-size: clamp(2rem, 1.4rem + 1.4vw, 3rem); }

/* Sea band: the photo drifts a little against the scroll */
.life-media { overflow: hidden; }
.life-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; }

/* ---------------------------------------------------------------- Larnaca areas (larnaca-real-estate) */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.area { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 34px); background: var(--paper); border-radius: var(--r-md); }
.area h3 { color: var(--navy); }
.area > p { margin: 0; color: var(--muted); }
.area dl { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.area dl > div { display: grid; gap: 2px; }
.area dt { color: var(--muted); font-size: .82rem; font-weight: 600; }
.area dd { color: var(--ink); font-weight: 600; }
.area dd a { color: var(--gold-ink); }
@media (max-width: 1000px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .areas { grid-template-columns: 1fr; } }
.note-small { margin: clamp(20px, 2.4vw, 28px) 0 0; color: var(--muted); font-size: .92rem; max-width: 80ch; }
.note-small a, .number p a { color: inherit; font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.on-navy .split-text a:not(.btn) { color: var(--white); text-decoration-color: var(--gold); }

/* Hero film pause button (WCAG 2.2.2: moving content longer than 5 seconds can be paused) */
.video-toggle { position: absolute; z-index: 2; inset-inline-end: max(var(--margin), (100% - var(--max)) / 2); bottom: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(7, 37, 64, .35); color: var(--white); display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s; }
.video-toggle:hover { background: rgba(7, 37, 64, .6); }
.video-toggle::before, .video-toggle::after { content: ''; grid-area: 1 / 1; }
.video-toggle[aria-pressed="false"]::before { width: 12px; height: 14px; border-inline: 4px solid currentColor; box-sizing: border-box; }
.video-toggle[aria-pressed="true"]::before { width: 0; height: 0; border-block: 8px solid transparent; border-left: 13px solid currentColor; margin-left: 3px; }
@media (max-width: 700px) { .video-toggle { display: none; } }
.video-toggle[hidden] { display: none; }
