/* ==========================================================
   Blue House Group LLC — bluehouseg.com  (v3 · editorial)
   Design & build: VIEL & Co. Studio — vielandcostudio.com
   ========================================================== */

:root {
  --navy: #11346f;
  --navy-2: #1f4f9e;
  --navy-d: #0c2552;
  --navy-dd: #081a3c;
  --gray: #878889;
  --silver: #c3cad7;
  --mist: #eef1f6;
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #14213d;
  --text: #3b4458;
  --muted: #6b7386;
  --line: rgba(17, 52, 111, 0.12);
  --line-d: rgba(255, 255, 255, 0.14);
  --container: 1240px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
section[id] { scroll-margin-top: 70px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 16.5px; line-height: 1.65; font-weight: 500; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; }
::selection { background: var(--navy); color: #fff; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; position: relative; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); margin: 0; }
.serif em { font-style: italic; }
.script { font-family: var(--script); font-weight: 400; color: var(--gray); letter-spacing: 0; font-size: 1.12em; line-height: 0.8; }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.eyebrow { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.dark .eyebrow { color: var(--silver); }
.title-line { display: flex; width: fit-content; align-items: center; gap: 22px; }
.title-line::after { content: ""; width: 64px; height: 1px; background: var(--gray); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) 0.3s; }
.in .title-line::after, .title-line.in::after { transform: scaleX(1); }
.dark .title-line::after { background: var(--silver); }
.lead { font-size: 1.04rem; color: var(--muted); max-width: 56ch; }
.dark { background: var(--navy-d); color: rgba(255, 255, 255, 0.78); }
.dark .serif { color: #fff; }
.dark .script { color: var(--silver); }

/* ---------- Buttons ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h); padding: 0 26px; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; white-space: nowrap; border: 1px solid transparent; border-radius: 4px; overflow: hidden; isolation: isolate; transition: color 0.4s var(--ease), border-color 0.4s, background 0.4s, transform 0.4s var(--ease); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy::before { background: var(--navy-dd); }
.btn-silver { background: linear-gradient(135deg, #f2f4f8, #c9cfdb); color: var(--navy); }
.btn-silver::before { background: #fff; }
.btn-line { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.btn-line::before { background: #fff; }
.btn-line:hover { color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline::before { background: var(--navy); }
.btn-outline:hover { color: #fff; }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 0.86rem; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background 0.45s, color 0.45s, box-shadow 0.45s; }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, 0.16); transition: background 0.4s; }
.header.scrolled { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 12px 30px -24px rgba(8, 26, 60, 0.45); }
.header.scrolled::after { background: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 96px; transition: height 0.45s var(--ease); }
.header.scrolled .header-inner { height: 78px; }
.logo { position: relative; display: inline-flex; flex: none; }
.logo img { height: 70px; width: auto; transition: opacity 0.4s, height 0.45s var(--ease); }
.logo .logo-l { position: absolute; left: 0; top: 0; opacity: 0; }
.header.scrolled .logo .logo-d { opacity: 0; }
.header.scrolled .logo .logo-l { opacity: 1; }
.header.scrolled .logo img { height: 58px; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; font-size: 0.9rem; font-weight: 600; opacity: 0.9; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; opacity: 0.9; }
.lang-toggle button { padding: 5px 9px; border-radius: 999px; transition: background 0.3s, color 0.3s; }
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.header.scrolled .lang-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.call-box { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 10px; border-radius: 4px; background: linear-gradient(135deg, #f2f4f8, #c9cfdb); color: var(--navy); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.call-box:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(8, 26, 60, 0.7); }
.call-box .ci { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(17, 52, 111, 0.35); display: grid; place-items: center; }
.call-box .ci svg { width: 16px; height: 16px; }
.call-box small { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.call-box b { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; line-height: 1.1; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 22px; } .menu-btn span:nth-child(3) { top: 27px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
body.menu-open .header { background: var(--navy-dd); color: #fff; }
body.menu-open .header .logo .logo-d { opacity: 1; } body.menu-open .header .logo .logo-l { opacity: 0; }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--navy-dd); color: #fff; padding: 110px 26px 36px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.m-link { font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.6rem); padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.mobile-menu .m-actions { margin-top: auto; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; isolation: isolate; padding: 116px 0 40px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 16s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1.02); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 26, 60, 0.94) 0%, rgba(8, 26, 60, 0.78) 38%, rgba(8, 26, 60, 0.25) 75%, rgba(8, 26, 60, 0.15) 100%), linear-gradient(0deg, rgba(8, 26, 60, 0.75) 0%, transparent 35%); }
.hero-content { max-width: 820px; }
.hero .eyebrow { color: var(--silver); }
.hero h1 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: 1; letter-spacing: -0.015em; margin: 0 0 24px; }
.hero h1 .line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.2em 0; margin-bottom: -0.16em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.14s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.28s; }
.hero h1 em { font-style: italic; color: var(--silver); }
@keyframes rise { to { transform: none; } }
.hero .lead { color: rgba(255, 255, 255, 0.82); margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 30px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.hero-keys span + span::before { content: "|"; margin-right: 14px; opacity: 0.5; }
.fade-up { opacity: 0; transform: translateY(26px); animation: fadeUp 1.1s var(--ease) forwards; }
.d1 { animation-delay: 0.4s; } .d2 { animation-delay: 0.55s; } .d3 { animation-delay: 0.7s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Benefits strip */
.benefits { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.benefits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.benefits li { padding: 30px 16px; text-align: center; position: relative; }
.benefits li + li::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
.benefits svg { width: 34px; height: 34px; color: var(--navy); margin: 0 auto 10px; }
.benefits svg path, .benefits svg rect, .benefits svg circle, .benefits svg line, .benefits svg polyline { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.6s var(--ease); }
.benefits.in svg * { stroke-dashoffset: 0; }
.benefits b { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.04em; }
.benefits small { color: var(--muted); font-size: 0.82rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px 60px; flex-wrap: wrap; margin-bottom: 50px; }
.section-head .lead { margin: 0; max-width: 44ch; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-media .frame { position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--gray); z-index: -1; }
.about-media .ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.about-media .ph img { width: 100%; height: 100%; object-fit: cover; }
.stat { position: absolute; right: -34px; bottom: 40px; background: var(--navy); color: #fff; padding: 22px 26px; max-width: 210px; box-shadow: 0 30px 60px -30px rgba(8, 26, 60, 0.8); }
.stat b { display: block; font-family: var(--serif); font-size: 3.4rem; line-height: 1; font-weight: 400; }
.stat span { display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.8); margin-top: 6px; }
.about h2 { margin: 0 0 14px; }
.about .sub { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--gray); margin: 0 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; padding: 0; list-style: none; }
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); font-size: 0.84rem; font-weight: 600; color: var(--ink); background: var(--paper); }
.tags li::before { content: ""; width: 6px; height: 6px; background: var(--navy); transform: rotate(45deg); }

/* Divider */
.divider { padding: 64px 0; background: var(--mist); text-align: center; overflow: hidden; position: relative; }
.divider p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--ink); margin: 0; line-height: 1.25; }
.divider p em { color: var(--navy-2); }
.divider .orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; color: var(--gray); }
.divider .orn::before, .divider .orn::after { content: ""; width: 80px; height: 1px; background: currentColor; }
.divider .orn img { width: 26px; }

/* Services */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.svc { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-d); isolation: isolate; }
.svc .ph { position: absolute; inset: 0; z-index: -2; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 26, 60, 0); transition: background 0.6s var(--ease); }
.svc:hover::after, .svc:focus-visible::after { background: rgba(8, 26, 60, 0.68); }
.svc:hover .ph img, .svc:focus-visible .ph img { transform: scale(1.08); filter: saturate(0.85); }
.svc .body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 18px 60px; color: #fff; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.15; color: #fff; margin: 0 0 8px; opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.svc h3::after { content: ""; display: block; width: 34px; height: 1px; margin: 12px auto 0; background: var(--silver); transform: scaleX(0); transition: transform 0.6s var(--ease) 0.15s; }
.svc p { margin: 0; font-size: 0.86rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); max-width: 22ch; opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease) 0.1s, transform 0.6s var(--ease) 0.1s; }
.svc .go { position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 12px); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); background: linear-gradient(135deg, #f2f4f8, #c9cfdb); opacity: 0; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.svc .go svg { width: 13px; height: 13px; transition: transform 0.4s var(--ease); }
.svc .go:hover svg { transform: translateX(3px); }
.svc:hover h3, .svc:hover p, .svc:focus-visible h3, .svc:focus-visible p { opacity: 1; transform: none; }
.svc:hover h3::after, .svc:focus-visible h3::after { transform: scaleX(1); }
.svc:hover .go, .svc:focus-visible .go { opacity: 1; transform: translate(-50%, 0); transition-delay: 1s; }
@media (hover: none) {
  .svc::after { background: linear-gradient(0deg, rgba(8, 26, 60, 0.92) 0%, rgba(8, 26, 60, 0.55) 55%, rgba(8, 26, 60, 0.2) 100%); }
  .svc .body { justify-content: flex-end; padding-bottom: 58px; }
  .svc h3, .svc p, .svc .go { opacity: 1; transform: none; }
  .svc .go { transform: translateX(-50%); }
  .svc h3::after { display: none; }
}
.svc-more { background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 18px; }
.svc-more::after { display: none; }
.svc-more h3, .svc-more p { opacity: 1; transform: none; }
.svc-more h3::after { display: none; }
.svc-more .btn { transition-delay: 0s; }
.svc-more h3 { color: #fff; font-size: 1.5rem; }
.svc-more p { color: rgba(255, 255, 255, 0.75); margin: 8px 0 18px; }
.svc-more .script { color: var(--silver); font-size: 2.4rem; display: block; margin-bottom: 6px; }

/* Projects */
.projects { background: var(--navy-d); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line-d); display: block; width: 100%; padding: 0; text-align: left; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 26, 60, 0.92) 0%, rgba(8, 26, 60, 0.15) 45%, transparent 70%); transition: opacity 0.5s; }
.proj:hover img { transform: scale(1.07); }
.proj .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 14px; color: #fff; }
.proj .cap b { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1.25; }
.proj .cap small { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); font-weight: 700; margin-bottom: 4px; }
.proj .arr { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; display: grid; place-items: center; flex: none; transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.proj .arr svg { width: 14px; height: 14px; }
.proj:hover .arr { background: #fff; color: var(--navy); transform: rotate(45deg); }
.proj-head-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.proj-head-right p { margin: 0; color: rgba(255, 255, 255, 0.85); font-family: var(--serif); font-size: 1.05rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5, 14, 33, 0.94); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-fig { margin: 0; max-width: min(1100px, 100%); width: 100%; }
.lb-fig img { width: 100%; max-height: 74vh; object-fit: contain; background: #000; transform: scale(0.96); transition: transform 0.6s var(--ease), opacity 0.3s; }
.lightbox.open .lb-fig img { transform: none; }
.lb-fig figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; color: #fff; flex-wrap: wrap; }
.lb-fig figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.lb-fig figcaption span { color: var(--silver); font-size: 0.85rem; margin-left: 10px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.lb-btn:hover { background: #fff; color: var(--navy); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 24px; top: 24px; }

/* Why */
.why { padding: 70px 0; border-bottom: 1px solid var(--line); }
.why-row { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: center; }
.why-row > div { padding: 10px 24px; text-align: center; position: relative; }
.why-row > div:first-child { text-align: left; padding-left: 0; }
.why-row > div + div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.why-row h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.why-row svg { width: 32px; height: 32px; color: var(--navy); margin: 0 auto 10px; transition: transform 0.6s var(--ease); }
.why-row > div:hover svg { transform: translateY(-4px) rotate(-6deg); }
.why-row h3 { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin: 0 0 4px; }
.why-row p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* Process */
.process { padding: 80px 0; background: var(--navy-dd); }
.process-row { display: grid; grid-template-columns: 0.9fr 2.1fr; gap: 50px; align-items: center; }
.process h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.steps .rail { position: absolute; left: 12.5%; right: 12.5%; top: 26px; height: 1px; background: var(--line-d); }
.steps .rail i { position: absolute; inset: 0; background: var(--silver); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step { position: relative; text-align: center; color: rgba(255, 255, 255, 0.75); }
.step .num { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); background: var(--navy-dd); border: 1px solid var(--line-d); position: relative; z-index: 1; transition: background 0.6s var(--ease), color 0.6s, border-color 0.6s, transform 0.6s var(--ease); color: rgba(255, 255, 255, 0.6); }
.step.lit .num { background: linear-gradient(135deg, #f2f4f8, #c9cfdb); color: var(--navy); border-color: transparent; transform: scale(1.06); box-shadow: 0 0 0 8px rgba(195, 202, 215, 0.12); }
.step h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
.step p { margin: 0 auto; font-size: 0.84rem; line-height: 1.5; max-width: 22ch; }

/* FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item[open] { border-color: rgba(17, 52, 111, 0.28); box-shadow: 0 20px 40px -32px rgba(8, 26, 60, 0.5); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; position: relative; flex: none; transition: transform 0.45s var(--ease), background 0.3s; }
.faq-item .plus::before, .faq-item .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); }
.faq-item .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus { transform: rotate(45deg); background: var(--navy); }
.faq-item[open] .plus::before, .faq-item[open] .plus::after { background: #fff; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--navy); font-weight: 700; border-bottom: 1px solid currentColor; }

/* Contact */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.info { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.info li a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease); }
.info li a:hover { padding-left: 8px; }
.info .ii { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); flex: none; transition: background 0.3s, color 0.3s; }
.info li a:hover .ii { background: var(--navy); color: #fff; }
.info .ii svg { width: 19px; height: 19px; }
.info b { display: block; color: var(--ink); font-weight: 700; }
.info small { display: block; color: var(--muted); font-size: 0.8rem; }
.sky-card { margin: 0; position: relative; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.skyline { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 610; }
.skyline .b { transform: translateY(110%); transform-box: fill-box; transform-origin: bottom; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 0.06s); }
.skyline .back rect { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform 1.4s var(--ease) 0.2s; }
.skyline .wins rect { opacity: 0; }
.skyline .bridge path, .skyline .bridge line { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease) 0.6s; }
.skyline .sun { transform: translateY(40px); opacity: 0; transition: transform 2s var(--ease) 0.3s, opacity 2s; }
.sky-card.in .b { transform: none; }
.sky-card.in .back rect { transform: none; }
.sky-card.in .bridge path, .sky-card.in .bridge line { stroke-dashoffset: 0; }
.sky-card.in .sun { transform: none; opacity: 0.5; }
.sky-card.in .wins rect { animation: twinkle 6s ease-in-out infinite; animation-delay: calc(1.4s + var(--d)); }
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 40%, 60% { opacity: 0.95; } }
.skyline .ripples rect { animation: ripple 7s ease-in-out infinite alternate; }
.skyline .ripples rect:nth-child(3n) { animation-duration: 9s; } .skyline .ripples rect:nth-child(2n) { animation-direction: alternate-reverse; }
@keyframes ripple { to { transform: translateX(26px); } }
.sky-card figcaption { position: absolute; left: 26px; top: 24px; }
.sky-card figcaption span { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
.sky-card figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--ink); }
.quote-form { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3.2vw, 40px); position: relative; }
.quote-form::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gray); z-index: -1; opacity: 0.5; }
.form-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); margin: 0 0 4px; line-height: 1.15; }
.form-sub { margin: 0 0 22px; color: var(--muted); font-size: 0.92rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 0.98rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 13px 14px; outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1b2; }
.field input:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(17, 52, 111, 0.1); }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.field.invalid label, .field.invalid legend { color: #c93636; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; font-size: 0.84rem; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--text); transition: background 0.25s, border-color 0.25s, color 0.25s; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span::before { content: "✓"; font-weight: 800; }
.chip input:focus-visible + span { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.flabel { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed rgba(17, 52, 111, 0.35); background: #fff; cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.drop:hover, .drop.over { border-color: var(--navy); background: var(--mist); }
.drop svg { width: 30px; height: 30px; color: var(--navy); flex: none; transition: transform 0.4s var(--ease); }
.drop:hover svg, .drop.over svg { transform: translateY(-3px); }
.drop b { display: block; color: var(--ink); font-size: 0.92rem; font-weight: 700; }
.drop small { display: block; color: var(--muted); font-size: 0.78rem; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); font-size: 0.84rem; color: var(--ink); }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li small { color: var(--muted); margin-left: 6px; }
.file-list button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; }
.file-list button:hover { background: var(--mist); color: #c93636; }
.file-list li.bad { border-color: #d64545; color: #c93636; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; margin-top: 4px; }
.btn-submit[disabled] { opacity: 0.6; pointer-events: none; }
.form-status { margin: 14px 0 0; text-align: center; font-weight: 700; min-height: 1.4em; font-size: 0.94rem; }
.form-status.ok { color: #13845a; } .form-status.err { color: #c93636; }

/* Footer */
.footer { background: var(--navy-dd); color: rgba(255, 255, 255, 0.75); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.footer .logo img { height: 92px; }
.footer h4 { margin: 0 0 16px; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--silver); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { transition: color 0.25s, padding 0.3s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; color: #fff; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.socials a:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.f-cta { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: linear-gradient(135deg, #f2f4f8, #c9cfdb); color: var(--navy); transition: transform 0.4s var(--ease); }
.f-cta:hover { transform: translateY(-3px); }
.f-cta .ci { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(17, 52, 111, 0.35); display: grid; place-items: center; flex: none; }
.f-cta .ci svg { width: 18px; height: 18px; }
.f-cta small { display: block; font-size: 0.74rem; font-weight: 700; }
.f-cta b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: 0.84rem; }
.footer-bottom a:hover { color: #fff; }
.credit b { color: #fff; font-weight: 700; }

/* Mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; transform: translateY(110%); transition: transform 0.5s var(--ease); box-shadow: 0 -10px 30px -18px rgba(8, 26, 60, 0.6); }
.mobile-bar.show { transform: none; }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; font-weight: 700; font-size: 0.92rem; }
.mobile-bar a:first-child { background: var(--navy-dd); color: #fff; }
.mobile-bar a:last-child { background: linear-gradient(135deg, #f2f4f8, #c9cfdb); color: var(--navy); }
.mobile-bar svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; } .reveal[data-delay="2"] { transition-delay: 0.2s; } .reveal[data-delay="3"] { transition-delay: 0.3s; } .reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal-img { position: relative; overflow: hidden; }
.reveal-img::before { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--curtain, var(--paper)); transform-origin: top; transition: transform 1.3s var(--ease); pointer-events: none; }
.reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.reveal-img.in::before { transform: scaleY(0); }
.reveal-img.in img { transform: scale(1); }
.dark .reveal-img { --curtain: var(--navy-dd); }

/* ---------- Scroll journey (house travels through the page) ---------- */
.journey { position: absolute; left: 0; top: 0; width: 100%; z-index: 60; pointer-events: none; overflow: hidden; }
.journey svg { position: absolute; left: 0; top: 0; overflow: visible; }
.journey .track { fill: none; stroke: var(--gray); stroke-opacity: 0.35; stroke-width: 1.2; stroke-dasharray: 2 7; }
.journey .drawn { fill: none; stroke: #8a9cc0; stroke-width: 2; stroke-linecap: round; }
.journey-marker { position: absolute; left: 0; top: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(8, 26, 60, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.35); will-change: transform; }
.journey-marker img { width: 30px; height: auto; }
.journey-marker::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed var(--navy-2); opacity: 0.6; animation: spin 9s linear infinite; }
.journey-tag { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); white-space: nowrap; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); background: #fff; padding: 6px 10px; box-shadow: 0 8px 20px -12px rgba(8, 26, 60, 0.6); transition: opacity 0.3s; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1340px) {
  .journey-marker { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .journey-marker img { width: 22px; }
  .journey-tag { display: none; }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor.on { opacity: 1; }
.c-dot { position: fixed; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--navy); transition: background 0.3s, opacity 0.3s; }
.c-ring { position: fixed; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid var(--navy); display: grid; place-items: center; transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.45s, border-color 0.3s; }
.c-ring span { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.3s; }
.cursor.hover .c-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(17, 52, 111, 0.06); }
.cursor.label .c-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--navy); border-color: var(--navy); }
.cursor.label .c-ring span { opacity: 1; }
.cursor.label .c-dot { opacity: 0; }
.cursor.dark .c-dot { background: #fff; }
.cursor.dark .c-ring { border-color: rgba(255, 255, 255, 0.85); }
.cursor.dark.hover .c-ring { background: rgba(255, 255, 255, 0.08); }
.cursor.dark.label .c-ring { background: #fff; border-color: #fff; }
.cursor.dark.label .c-ring span { color: var(--navy); }
.c-trail { position: fixed; left: 0; top: 0; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--gray); opacity: 0.5; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label, body.has-cursor summary { cursor: none; }
  body.has-cursor input, body.has-cursor textarea { cursor: text; }
}

/* ---------- Legal ---------- */
.legal { padding: 170px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4rem); color: var(--ink); margin: 10px 0; }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); margin: 36px 0 8px; }
.legal a { color: var(--navy); font-weight: 700; }
.header.solid { background: rgba(255, 255, 255, 0.96); color: var(--ink); }
.header.solid::after { background: var(--line); }
.header.solid .logo .logo-d { opacity: 0; } .header.solid .logo .logo-l { opacity: 1; }
.header.solid .lang-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-more { grid-column: span 3; }
  .call-box small { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .call-box { display: none; }
  .benefits ul { grid-template-columns: repeat(3, 1fr); }
  .benefits li:nth-child(4)::before { display: none; }
  .about-grid, .faq-grid, .contact-grid, .process-row { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-more { grid-column: span 2; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .why-row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .why-row > div:first-child { grid-column: 1 / -1; text-align: center; padding-left: 24px; }
  .why-row > div:nth-child(2)::before, .why-row > div:nth-child(4)::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .journey { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }
  .header-inner, .header.scrolled .header-inner { height: 74px; }
  .logo img, .header.scrolled .logo img { height: 54px; }
  .hero { padding-top: 120px; }
    .hero-ctas .btn { flex: 1 1 100%; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .benefits ul { grid-template-columns: repeat(2, 1fr); }
  .benefits li::before { display: none; }
  .benefits li:last-child { grid-column: 1 / -1; }
  .stat { right: 10px; bottom: 16px; }
  .about-media .frame { inset: 16px -12px -12px 16px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc-more { grid-column: 1 / -1; }
  .svc .body { padding: 14px 10px 54px; }
  .svc h3 { font-size: 1.02rem; }
  .svc p { font-size: 0.78rem; }
  .svc .go { padding: 7px 12px; font-size: 0.62rem; bottom: 14px; }
  .proj-grid { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: 1fr; }
  .why-row > div::before { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps .rail { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form::before { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .reveal-img::before { display: none; } .reveal-img img { transform: none; }
  .hero h1 .line > span { transform: none; } }

/* parallax headroom */
.about-media .ph img { height: calc(100% + 60px); margin-top: -30px; }

.call-box b, .f-cta b, .stat b, .step .num, .lb-fig figcaption b { font-variant-numeric: lining-nums; }
.field label.drop { text-transform: none; letter-spacing: 0; font-size: inherit; font-weight: 500; color: inherit; margin-bottom: 0; }

/* ---------- Service areas ---------- */
.areas { background: var(--mist); text-align: center; }
.areas-head { max-width: 680px; margin: 0 auto 44px; }
.areas-head .lead { margin-left: auto; margin-right: auto; }
.areas-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; }
.areas-list li { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--ink); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, color 0.35s; }
.areas-list li svg { width: 17px; height: 17px; color: var(--navy-2); flex: none; transition: transform 0.45s var(--ease); }
.areas-list li:hover { transform: translateY(-3px); border-color: rgba(17, 52, 111, 0.35); box-shadow: 0 16px 30px -22px rgba(8, 26, 60, 0.55); color: var(--navy); }
.areas-list li:hover svg { transform: translateY(-2px) scale(1.12); }
.areas-note { margin: 36px 0 0; color: var(--muted); font-size: 0.98rem; }
.areas-note a { color: var(--navy-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .areas-list { gap: 8px; } .areas-list li { padding: 9px 14px 9px 11px; font-size: 0.88rem; } }

/* ---------- Before / After comparer ---------- */
.ba-wrap { max-width: min(100%, calc((100svh - 150px) * 4 / 3)); margin: 0 auto; }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; background: #081a3c; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(0, 0, 0, 0.35); pointer-events: none; }
.ba .ba-handle { position: absolute; top: 50%; left: var(--pos); width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(17, 52, 111, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 2px solid #fff; display: grid; place-items: center; color: #fff; pointer-events: none; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5); transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.ba .ba-handle svg { width: 30px; height: 30px; }
.ba:hover .ba-handle, .ba.dragging .ba-handle { transform: scale(1.1); }
.ba .ba-handle::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7); animation: baPulse 2.2s ease-out infinite; }
.ba.used .ba-handle::before { animation: none; opacity: 0; }
@keyframes baPulse { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.ba .ba-tag { position: absolute; top: 20px; padding: 8px 14px; font: 700 0.72rem/1 Manrope, system-ui, sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; background: rgba(8, 26, 60, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; transition: opacity 0.3s; }
.ba .ba-tag.l { left: 20px; }
.ba .ba-tag.r { right: 20px; background: rgba(255, 255, 255, 0.9); color: #11346f; }
.ba .ba-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #11346f; font: 700 0.86rem/1 Manrope, system-ui, sans-serif; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); pointer-events: none; transition: opacity 0.5s, transform 0.5s; }
.ba .ba-hint svg { width: 20px; height: 20px; animation: baNudge 1.6s ease-in-out infinite; }
@keyframes baNudge { 0%, 100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.ba.used .ba-hint { opacity: 0; transform: translate(-50%, 10px); }
.ba .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; }
.ba .ba-range:focus-visible + .ba-focus { opacity: 1; }
.ba .ba-focus { position: absolute; inset: 0; outline: 3px solid #9fb0cf; outline-offset: -3px; opacity: 0; pointer-events: none; }
.ba .t-touch { display: none; }
@media (hover: none) { .ba .t-mouse { display: none; } .ba .t-touch { display: inline; } }
.ba-cap { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 22px; }
.ba-cap small { display: block; font: 700 0.72rem/1 Manrope, system-ui, sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: #9fb0cf; margin-bottom: 10px; }
.ba-cap b { font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.15 "Playfair Display", Georgia, serif; color: #fff; }
.ba-cap p { margin: 0; max-width: 420px; color: rgba(255, 255, 255, 0.7); font: 400 0.95rem/1.6 Manrope, system-ui, sans-serif; text-align: right; }
@media (max-width: 700px) { .ba .ba-handle { width: 52px; height: 52px; margin: -26px 0 0 -26px; } .ba .ba-tag { top: 12px; padding: 7px 10px; font-size: 0.64rem; } .ba .ba-tag.l { left: 12px; } .ba .ba-tag.r { right: 12px; } .ba .ba-hint { bottom: 14px; font-size: 0.78rem; padding: 9px 14px; } .ba-cap { flex-direction: column; align-items: start; } .ba-cap p { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .ba .ba-handle::before, .ba .ba-hint svg { animation: none; } }

.ba img { transition: opacity 0.35s ease; }
.ba.swapping img { opacity: 0; }
.ba-caps .ba-cap[hidden] { display: none; }
.ba-caps .ba-cap { animation: baCap 0.5s cubic-bezier(.2,.8,.2,1); }
@keyframes baCap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ba-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.ba-th { padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; opacity: 0.5; transition: opacity 0.3s; font: inherit; }
.ba-th img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; outline: 2px solid transparent; outline-offset: 4px; transition: outline-color 0.3s, transform 0.6s cubic-bezier(.2,.8,.2,1); }
.ba-th span { display: flex; gap: 8px; align-items: baseline; margin-top: 12px; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; }
.ba-th i { font-style: normal; font-size: 0.72rem; font-weight: 700; color: #9fb0cf; letter-spacing: 0.1em; }
.ba-th:hover, .ba-th:focus-visible, .ba-th.is-on { opacity: 1; }
.ba-th:hover img { transform: translateY(-3px); }
.ba-th.is-on img { outline-color: #fff; }
.ba-th:focus-visible { outline: none; }
.ba-th:focus-visible img { outline-color: #9fb0cf; }
@media (max-width: 900px) { .ba-thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 10px; margin-left: -4px; margin-right: -4px; scrollbar-width: none; } .ba-thumbs::-webkit-scrollbar { display: none; } .ba-th { scroll-snap-align: start; } }

.f-review { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border: 1px solid var(--line-d); color: #fff; font-size: 0.86rem; font-weight: 600; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.f-review .stars { color: #f5b400; letter-spacing: 2px; font-size: 0.9rem; }
.f-review:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
