/* =========================================================
   Belle Ville Groupe – premium redesign
   Brand colours are the ones measured from bellevillegroupe.com
   ========================================================= */
:root {
  --navy: #21274c;
  --teal: #187999;
  --mint: #a2d9d0;
  --deep: #20394d;
  --light: #cfd6e3;
  --muted: #727586;
  --progress: #1fd18e;

  --ink: #131730;                      /* darker navy for deep sections */
  --paper: #f5f8f9;                    /* off-white with a cool tint */
  --mint-soft: rgba(162, 217, 208, .18);
  --line: rgba(33, 39, 76, .12);
  --line-light: rgba(207, 214, 227, .18);

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(76px, 10vw, 148px);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --shadow: 0 30px 70px -34px rgba(19, 23, 48, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.75; color: var(--muted); background: #fff;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s, background-color .3s, border-color .3s, opacity .3s; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--navy); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }

/* ---------------- Type ---------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); line-height: 1.08; letter-spacing: -.005em; }
.title { font-size: clamp(38px, 5.2vw, 68px); }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow b { font-weight: 800; opacity: .65; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .eyebrow { color: var(--mint); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 80px; align-items: end; margin-bottom: clamp(42px, 5vw, 68px); }
.section-head p.lede { font-size: 17px; }

/* ---------------- Buttons ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; text-align: center;
  background: var(--navy); color: #fff;
  transition: transform .35s var(--ease), box-shadow .35s, background-color .3s, color .3s, border-color .3s;
}
.btn i { font-size: 13px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(19, 23, 48, .7); }
.btn:hover i.fa-arrow-right { transform: translateX(5px); }
.btn.mint { background: var(--mint); color: var(--navy); }
.btn.mint:hover { background: #bce7e0; }
.btn.teal { background: var(--teal); color: #fff; }
.btn.ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.btn.line { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Reading progress ---------------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--progress)); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99; color: #fff;
  border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.site-header.scrolled, .nav-open .site-header {
  background: rgba(19, 23, 48, .86); border-color: var(--line-light); box-shadow: 0 16px 40px -28px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header .bar { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: height .4s var(--ease); }
.site-header.scrolled .bar { height: 68px; }
.logo img { width: 142px; height: auto; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88); white-space: nowrap; }
.main-nav a:not(.nav-3d):not(.nav-lang)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--mint);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--mint); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.nav-3d { margin-left: 10px; border: 1px solid rgba(162, 217, 208, .55); border-radius: 999px; color: var(--mint); padding: 9px 18px; }
.main-nav a.nav-3d:hover { background: var(--mint); color: var(--navy); }
.flag { width: 18px; height: 12px; flex: none; border-radius: 2px; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; padding: 0; }
.nav-toggle span { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------------- Home hero ---------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -2; background: url("../img/2021-10-4.jpg") center / cover no-repeat; will-change: transform; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 74% 44%, rgba(24, 121, 153, .5), transparent 70%),
    linear-gradient(90deg, rgba(19, 23, 48, .94) 0%, rgba(19, 23, 48, .66) 45%, rgba(19, 23, 48, .32) 100%),
    linear-gradient(0deg, rgba(19, 23, 48, .9) 0%, transparent 38%);
}
.hero-main { flex: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 20px; padding-top: 104px; }
.hero-copy .eyebrow { color: var(--mint); }
.hero h1 { color: #fff; font-size: clamp(46px, 6.6vw, 96px); font-weight: 600; line-height: .98; letter-spacing: -.015em; margin-bottom: 34px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--mint); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.play-link { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.play-link span { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); transition: background .3s, color .3s; }
.play-link span::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(162, 217, 208, .5); animation: ring 2.4s ease-out infinite; }
.play-link i { font-size: 13px; margin-left: 3px; }
.play-link:hover span { background: var(--mint); color: var(--navy); }
@keyframes ring { from { transform: scale(.88); opacity: 1; } to { transform: scale(1.34); opacity: 0; } }

/* the outside design pictures, in 3D, blending into the navy on the left and below */
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; z-index: -1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36%), linear-gradient(0deg, transparent 6%, #000 32%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 36%), linear-gradient(0deg, transparent 6%, #000 32%); mask-composite: intersect; }
.hero-photo img, .hero-photo canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { transition: opacity 1s; }
.hero-photo canvas { opacity: 0; transition: opacity 1s; }
.hero-photo.is-live img { opacity: 0; }
.hero-photo.is-live canvas { opacity: 1; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 23, 48, .66), transparent 22%); }
.hero-pick { grid-column: 2; align-self: end; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; padding-bottom: 10px; }
.hero-note { padding: 6px 13px; border: 1px solid rgba(162, 217, 208, .4); border-radius: 999px; background: rgba(19, 23, 48, .55); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-tabs { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(19, 23, 48, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-tabs button { border: 0; border-radius: 999px; padding: 9px 18px; background: transparent; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .3s, color .3s; }
.hero-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); }

.hero-foot { display: grid; grid-template-columns: 1fr 1fr auto; align-items: stretch; border-top: 1px solid var(--line-light); margin-top: 24px; padding-right: 66px; }
.hero-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 34px 28px 0; color: #fff; }
.hero-card + .hero-card { padding-left: 34px; border-left: 1px solid var(--line-light); }
.hero-card p { font-family: var(--display); font-size: clamp(21px, 2vw, 27px); font-weight: 600; line-height: 1.15; }
.hero-card span { display: block; margin-top: 4px; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--mint); }
.hero-card > i { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); transition: background .3s, color .3s, transform .4s var(--ease); }
.hero-card:hover > i { background: var(--mint); color: var(--navy); transform: rotate(-45deg); }
.scroll-cue { display: flex; align-items: center; justify-content: center; padding-left: 34px; border-left: 1px solid var(--line-light); }
.scroll-cue span { position: relative; width: 24px; height: 40px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 20px; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--mint); animation: wheel 1.7s ease-in-out infinite; }
@keyframes wheel { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(14px); } }

/* ---------------- Services ---------------- */
.services { background: var(--paper); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 320px; padding: 40px 36px 38px;
  background: #fff; border: 1px solid var(--line); border-radius: 56px 0;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, var(--navy), var(--deep) 55%, var(--teal)); opacity: 0; transition: opacity .5s; }
.service-card > * { position: relative; }
.service-card .icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px 0; font-size: 24px; color: var(--teal); background: var(--mint-soft); transition: background .5s, color .5s; }
.service-card .num { position: absolute; right: 26px; top: 14px; font-family: var(--display); font-size: 96px; font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(24, 121, 153, .38); transition: -webkit-text-stroke-color .5s; }
.service-card h3 { margin: auto 0 14px; font-family: var(--body); font-size: 15px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; transition: color .5s; }
.service-card p { font-size: 15.5px; transition: color .5s; }
.service-card:hover { box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: var(--light); }
.service-card:hover .icon { background: var(--mint); color: var(--navy); }
.service-card:hover .num { -webkit-text-stroke-color: rgba(162, 217, 208, .6); }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px clamp(40px, 7vw, 104px); align-items: center; }
.about-media { position: relative; padding: 0 0 70px; }
.about-media .main { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 120px 0; box-shadow: var(--shadow); }
.about-media .inset { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; border-radius: 56px 0; box-shadow: var(--shadow); }
.stat { position: absolute; right: 0; top: 44px; padding: 24px 28px; text-align: center; color: #fff; background: var(--navy); border-radius: 36px 0; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--display); font-size: 64px; font-weight: 600; line-height: .95; color: var(--mint); }
.stat span { display: block; max-width: 150px; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.about-copy .title { margin-bottom: 30px; }
.about-copy p.first { font-family: var(--display); font-size: clamp(23px, 2.1vw, 29px); font-weight: 500; line-height: 1.42; color: var(--deep); margin-bottom: 24px; }
.about-copy p + p { font-size: 16.5px; }

/* ---------------- Mission, vision, values ---------------- */
.mission { background: var(--ink) url("../img/2021-10-3.jpg") center / cover no-repeat; color: var(--light); isolation: isolate; }
.mission::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 23, 48, .93), rgba(32, 57, 77, .86)); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: clamp(70px, 9vw, 120px); }
.glass { padding: 44px 40px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mission-grid .glass:nth-child(1) { border-radius: 0 64px; }
.mission-grid .glass:nth-child(2) { border-radius: 64px 0; }
.glass i { font-size: 26px; color: var(--mint); margin-bottom: 22px; }
.glass p { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.45; color: #fff; }
.vision { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px 72px; align-items: center; margin-bottom: clamp(70px, 9vw, 120px); }
.vision h2 { font-size: clamp(54px, 8vw, 112px); font-style: italic; font-weight: 500; line-height: .95; color: var(--mint); }
.vision p { padding-left: 40px; border-left: 1px solid rgba(162, 217, 208, .5); font-size: 18px; line-height: 1.9; }
.values-title { text-align: center; color: #fff; font-size: clamp(34px, 4vw, 52px); margin-bottom: 36px; }
.values { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line-light); border-radius: 40px 0; overflow: hidden; }
.values li { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 34px 10px 30px; text-align: center; transition: background .35s; }
.values li + li { border-left: 1px solid var(--line-light); }
.values li:hover { background: var(--mint-soft); }
.values i { font-size: 24px; color: var(--mint); }
.values span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }

/* ---------------- Objectives ---------------- */
.objectives-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 7vw, 110px); align-items: start; }
.objectives-intro { position: sticky; top: 110px; }
.objectives-intro p.big { font-family: var(--display); font-size: clamp(27px, 3vw, 42px); font-weight: 500; line-height: 1.34; color: var(--navy); }
.timeline { counter-reset: goal; border-top: 1px solid var(--line); }
.timeline li { counter-increment: goal; position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 14px; padding: 34px 14px 34px 0; border-bottom: 1px solid var(--line); }
.timeline li::before { content: "0" counter(goal); font-family: var(--display); font-size: 48px; line-height: 1; color: var(--teal); transition: transform .4s var(--ease); }
.timeline li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.timeline li:hover::after { transform: scaleX(1); }
.timeline li:hover::before { transform: translateX(10px); }
.timeline p { font-size: 17px; font-weight: 500; color: var(--deep); }

/* ---------------- Featured projects ---------------- */
.featured { background: var(--ink); }
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); min-height: min(86vh, 760px); color: #fff; }
.feature .photo { position: relative; overflow: hidden; }
.feature .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .photo img { transform: scale(1.05); }
.feature .info { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 6vw, 92px); background: var(--teal); isolation: isolate; }
.feature .info::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/projects-bg.png") center / cover no-repeat; opacity: .08; }
.feature.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.feature.reverse .photo { order: 2; }
.feature.reverse .info { background: var(--navy); }
.feature .name { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 12.5px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--mint); }
.feature .name::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.feature h2 { color: #fff; font-size: clamp(40px, 4.6vw, 66px); margin-bottom: 18px; }
.feature .info p { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 36px; }

/* ---------------- Gallery (More projects) ---------------- */
.portfolio { background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 48px 0; background: var(--navy); cursor: zoom-in; animation: rise .7s var(--ease) both; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item .cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 28px; background: linear-gradient(to top, rgba(19, 23, 48, .9), rgba(19, 23, 48, 0) 55%); }
.gallery-item .cap h2 { color: #fff; font-size: 28px; transform: translateY(6px); transition: transform .45s var(--ease); }
.gallery-item .cap::after { content: "\f065"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; color: var(--navy); background: var(--mint); opacity: 0; transform: scale(.6); transition: opacity .35s, transform .35s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .cap h2 { transform: none; }
.gallery-item:hover .cap::after, .gallery-item:focus-visible .cap::after { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.gallery-more { margin-top: 44px; text-align: center; }
.gallery-more button { min-height: 52px; padding: 14px 34px; border: 1px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy); font-size: 14px; font-weight: 700; letter-spacing: .04em; transition: background .3s, color .3s; }
.gallery-more button:hover { background: var(--navy); color: #fff; }
.gallery-more .done { font-size: 14px; font-weight: 600; color: var(--teal); }
.portfolio.teal { background: var(--teal); }
.portfolio.teal .eyebrow { color: var(--mint); }
.portfolio.teal .title { color: #fff; }
.portfolio.teal .gallery-more button { border-color: #fff; color: #fff; }
.portfolio.teal .gallery-more button:hover { background: #fff; color: var(--teal); }
.portfolio.teal .gallery-more .done { color: #fff; }

/* ---------------- Partners ---------------- */
.partner-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.partner-card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; min-height: 260px; padding: 34px 28px 40px; border: 1px solid var(--line); background: #fff; border-radius: 56px 0; transition: box-shadow .4s, transform .4s var(--ease), border-color .4s; }
.partner-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-6px); }
.partner-card .label { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.partner-card img { width: min(300px, 100%); height: auto; margin: auto 0; }

/* ---------------- Contact ---------------- */
.contact { background: var(--ink) url("../img/2021-10-1.jpg") center / cover no-repeat; color: var(--light); isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(19, 23, 48, .96), rgba(32, 57, 77, .84)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 50px clamp(40px, 7vw, 100px); align-items: start; }
.contact .title { color: #fff; margin-bottom: 40px; }
.contact-info h3 { color: #fff; font-size: 34px; margin-bottom: 6px; }
.contact-info .coffee { margin-bottom: 38px; font-size: 17px; }
.contact-list { display: grid; gap: 14px; margin-top: 20px; }
.contact-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; }
.contact-list i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px 0; color: var(--mint); background: var(--mint-soft); }
.contact-list small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--mint); }
.contact-list a:hover { color: var(--mint); }
.contact-list div { font-size: 16px; color: #fff; overflow-wrap: anywhere; }
.contact-form { padding: clamp(26px, 4vw, 48px); background: #fff; color: var(--muted); border-radius: 64px 0; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { position: relative; margin-bottom: 22px; }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.field input, .field textarea, .field select { display: block; width: 100%; padding: 12px 0; font-size: 16px; color: var(--navy); background: transparent; border: 0; border-bottom: 1px solid rgba(33, 39, 76, .25); border-radius: 0; outline: none; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--teal); box-shadow: 0 1px 0 var(--teal); }
.field select { cursor: pointer; }
.contact-form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; min-height: 22px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--teal); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--light); border-top: 1px solid var(--line-light); padding: 70px 0 34px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: var(--mint); }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); font-size: 17px; transition: background .3s, color .3s, transform .35s var(--ease); }
.socials a:hover { background: var(--mint); color: var(--navy); transform: translateY(-4px); }
.icon-x { width: 1em; height: 1em; fill: currentColor; }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 13.5px; text-align: center; }
.footer-bottom a { font-weight: 700; }
.footer-bottom a:hover { color: var(--mint); }

/* ---------------- WhatsApp bubble ---------------- */
.whatsapp { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 98; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 29px; color: #fff; background: #25d366; box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.whatsapp:hover { transform: scale(1.08); }

/* ---------------- Lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(13, 16, 36, .95); }
.lightbox.open { display: flex; animation: fade .25s both; }
.lightbox .stage { width: 100%; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; justify-content: center; }
.lightbox .stage img { width: auto; max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: 12px; }
.lightbox .stage .video { width: 100%; aspect-ratio: 16 / 9; }
.lightbox .stage iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.lightbox .lb-btn { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; background: rgba(19, 23, 48, .6); color: #fff; font-size: 17px; transition: background .3s, color .3s; }
.lightbox .lb-btn:hover { background: var(--mint); color: var(--navy); }
.lightbox .lb-close { top: 14px; right: 16px; }
.lightbox .lb-prev { left: 14px; top: 50%; margin-top: -25px; }
.lightbox .lb-next { right: 14px; top: 50%; margin-top: -25px; }
.lightbox .lb-caption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 14px; color: var(--light); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- Reveal on scroll ---------------- */
.js [data-anim] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s, border-color .4s; }
.js [data-anim="left"] { transform: translateX(-40px); }
.js [data-anim="right"] { transform: translateX(40px); }
.js [data-anim="zoom"] { transform: scale(.94); }
.js [data-anim="fade"] { transform: none; }
.js [data-anim].in { opacity: 1; transform: none; }
/* slide-ins must not make the page wider than the screen */
main { overflow-x: clip; }
@media (max-width: 900px) { .js [data-anim="left"], .js [data-anim="right"] { transform: translateY(30px); } .js [data-anim].in { transform: none; } }

/* =========================================================
   Project pages
   ========================================================= */
.p-hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); isolation: isolate; }
.p-hero > .cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: drift 14s var(--ease) both; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 23, 48, .72), transparent 24%), linear-gradient(90deg, rgba(19, 23, 48, .9), rgba(19, 23, 48, .5) 55%, rgba(19, 23, 48, .18)), linear-gradient(0deg, rgba(19, 23, 48, .82), transparent 50%); }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.p-hero .wrap { padding-top: 140px; padding-bottom: clamp(70px, 10vw, 130px); }
.p-hero .eyebrow { color: var(--mint); }
.p-hero h1 { max-width: 12.5em; color: #fff; font-size: clamp(42px, 6.2vw, 88px); line-height: 1; margin-bottom: 22px; }
.p-hero .sub { font-family: var(--display); font-style: italic; font-size: clamp(25px, 2.6vw, 36px); color: var(--mint); line-height: 1.3; }
.p-hero .lead { margin: 8px 0 34px; font-size: 17px; color: var(--light); }

.mix { position: relative; z-index: 2; margin-top: -54px; }
.mix-card { display: grid; grid-template-columns: .8fr repeat(3, 1fr); background: #fff; border-radius: 48px 0; box-shadow: var(--shadow); overflow: hidden; }
.mix-card > * { padding: 34px 30px; }
.mix-card .mix-title { display: flex; align-items: center; background: var(--navy); font-family: var(--display); font-size: 32px; line-height: 1.15; color: #fff; }
.mix-card .item { display: flex; flex-direction: column; gap: 14px; }
.mix-card .item + .item { border-left: 1px solid var(--line); }
.mix-card i { font-size: 22px; color: var(--teal); }
.mix-card p.t { font-size: 15.5px; font-weight: 700; line-height: 1.55; color: var(--navy); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px clamp(36px, 6vw, 90px); align-items: start; }
.split .col { display: flex; flex-direction: column; gap: 36px; }
.split img { width: 100%; object-fit: cover; box-shadow: var(--shadow); cursor: zoom-in; }
.r-a { border-radius: 96px 0; }
.r-b { border-radius: 0 96px; }
.prose p { font-size: 16.5px; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.split .title { font-size: clamp(34px, 4vw, 54px); margin-bottom: 26px; }

.location { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px clamp(36px, 6vw, 80px); align-items: center; }
.location .title { margin-bottom: 30px; }
.distances li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.distances b { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--teal); text-align: center; }
.distances span { font-weight: 600; color: var(--deep); }
.map { padding: 18px; background: #fff; border-radius: 64px 0; box-shadow: var(--shadow); }
.map img { width: 100%; border-radius: 48px 0; cursor: zoom-in; }

.amenities { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.amenities.few { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.amenity { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 18px; padding: 30px 14px 26px; text-align: center; border: 1px solid var(--line); border-radius: 34px 0; background: #fff; }
.amenity i { font-size: 28px; color: var(--teal); transition: color .35s; }
.amenity span { font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--navy); transition: color .35s; overflow-wrap: anywhere; }
.js .amenity[data-anim] { transition: opacity .9s var(--ease), transform .9s var(--ease), background-color .35s; }
.amenity:hover { background: var(--navy); }
.amenity:hover i { color: var(--mint); }
.amenity:hover span { color: #fff; }

.interiors { background: var(--ink); }
.masonry { columns: 3; column-gap: 20px; }
.masonry img { width: 100%; margin: 0 0 20px; break-inside: avoid; border-radius: 40px 0; cursor: zoom-in; transition: filter .4s, opacity .9s var(--ease), transform .9s var(--ease); }
.masonry img:hover { filter: brightness(1.1) saturate(1.1); }

.units { display: grid; gap: clamp(30px, 5vw, 60px); }
.unit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 72px 0; overflow: hidden; box-shadow: var(--shadow); }
.unit .render { position: relative; min-height: 420px; }
.unit .render img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.unit .spec { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 4vw, 56px); }
.unit:nth-child(even) .render { order: 2; }
.unit h3 { font-size: clamp(27px, 2.7vw, 38px); margin-bottom: 20px; }
.unit ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 26px; }
.unit li { position: relative; padding-left: 24px; font-size: 14.5px; font-weight: 600; color: var(--deep); line-height: 1.55; }
.unit li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; font-size: 12px; color: var(--teal); }
.unit li.area { grid-column: 1 / -1; }
.unit .plan { align-self: flex-start; width: auto; max-width: 100%; max-height: 220px; padding: 12px; border-radius: 22px; background: var(--paper); cursor: zoom-in; }

.cta-band { background: linear-gradient(120deg, var(--navy), var(--deep) 55%, var(--teal)); color: #fff; padding: clamp(56px, 7vw, 92px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 3.8vw, 52px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-header .bar, .site-header.scrolled .bar { height: 68px; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 68px; height: calc(100vh - 68px); height: calc(100dvh - 68px); overflow: auto;
    background: var(--ink); padding: 22px var(--gutter) 40px;
    visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .35s var(--ease), visibility .35s;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 17px 0; font-family: var(--display); font-size: 30px; border-bottom: 1px solid var(--line-light); }
  .main-nav a:not(.nav-3d):not(.nav-lang)::after { display: none; }
  .main-nav a.nav-3d { margin: 22px 0 0; justify-content: center; font-family: var(--body); font-size: 15px; padding: 15px; border: 1px solid var(--mint); }
  .main-nav a.nav-lang { justify-content: center; font-family: var(--body); font-size: 15px; border: 0; }
  .objectives-grid { grid-template-columns: 1fr; }
  .objectives-intro { position: static; }
  .amenities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .section-head, .about-grid, .contact-grid, .split, .location-grid, .vision { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: 1fr; padding-top: 100px; text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-copy .eyebrow::before { display: none; }
  .hero-copy .eyebrow { font-size: 11px; letter-spacing: .18em; }
  .hero h1 { margin-bottom: 26px; }
  .hero-photo { position: relative; width: auto; height: 74vw; min-height: 270px; max-height: 520px; margin: 18px calc(var(--gutter) * -1) 0; z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 82%, transparent); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero-photo::after { display: none; }
  .hero-pick { grid-column: 1; justify-self: center; align-items: center; margin-top: -26px; position: relative; z-index: 1; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .mission-grid { grid-template-columns: 1fr; }
  .vision p { padding-left: 24px; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .values li:nth-child(4) { border-left: 0; }
  .values li:nth-child(n + 4) { border-top: 1px solid var(--line-light); }
  .feature, .feature.reverse { grid-template-columns: 1fr; min-height: 0; }
  .feature .photo, .feature.reverse .photo { order: 0; aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mix-card { grid-template-columns: 1fr; }
  .mix-card .item + .item { border-left: 0; border-top: 1px solid var(--line); }
  .mix-card .item { flex-direction: row; align-items: center; }
  .mix-card i { width: 30px; flex: none; text-align: center; }
  .masonry { columns: 2; column-gap: 14px; }
  .masonry img { margin-bottom: 14px; border-radius: 28px 0; }
  .unit { grid-template-columns: 1fr; border-radius: 48px 0; }
  .unit .render, .unit:nth-child(even) .render { order: 0; min-height: 0; aspect-ratio: 4 / 3; }
  .amenities, .amenities.few { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero-foot { grid-template-columns: 1fr; padding-right: 0; }
  .hero-card { padding-right: 4px; }
  .hero { padding-bottom: 74px; }
  .hero-card { padding-top: 18px; padding-bottom: 18px; }
  .hero-card + .hero-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .scroll-cue { display: none; }
  .hero-tabs button { padding: 8px 14px; font-size: 12.5px; }
  .partner-logos, .gallery, .contact-form { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4 / 4.4; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li:nth-child(odd) { border-left: 0; }
  .values li:nth-child(even) { border-left: 1px solid var(--line-light); }
  .values li:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .timeline li { grid-template-columns: 66px minmax(0, 1fr); padding: 26px 0; }
  .timeline li::before { font-size: 38px; }
  .about-media { padding-bottom: 50px; }
  .about-media .main { width: 90%; border-radius: 80px 0; }
  .about-media .inset { width: 58%; border-width: 5px; border-radius: 36px 0; }
  .stat { padding: 16px 18px; top: 24px; }
  .stat strong { font-size: 46px; }
  .contact-form { border-radius: 40px 0; }
  .contact-form .btn { justify-self: stretch; }
  .amenities, .amenities.few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unit ul { grid-template-columns: 1fr; }
  .btns .btn { flex: 1 1 100%; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .r-a { border-radius: 56px 0; }
  .r-b { border-radius: 0 56px; }
  .map { border-radius: 36px 0; padding: 10px; }
  .map img { border-radius: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-anim] { opacity: 1; transform: none; }
}
