:root {
  --navy-950: #061524;
  --navy-900: #081b2f;
  --navy-800: #102a42;
  --navy-700: #183d5b;
  --cyan: #1ba9df;
  --cyan-soft: #78d3f1;
  --bronze: #775034;
  --bronze-light: #e1c3a5;
  --oak: #8a6346;
  --walnut: #523b2f;
  --charcoal: #20272c;
  --stone-700: #65635f;
  --stone-500: #6f6c66;
  --stone-300: #d2ccc3;
  --stone-200: #e4dfd7;
  --stone-100: #efebe4;
  --ivory: #f7f4ed;
  --cream: #fbf9f4;
  --white: #fff;
  --ink: #172028;
  --line: rgba(32, 39, 44, .14);
  --line-light: rgba(255, 255, 255, .16);
  --shadow-sm: 0 12px 35px rgba(9, 24, 36, .09);
  --shadow-lg: 0 30px 90px rgba(7, 21, 36, .18);
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --font-sans: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Baskerville", "Times New Roman", Georgia, serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --cream: #0d141b;
  --ivory: #111c25;
  --stone-100: #1a2731;
  --stone-200: #2a3945;
  --stone-300: #40515e;
  --stone-500: #a9b4bc;
  --stone-700: #c2cbd1;
  --white: #f5f7f8;
  --ink: #edf2f5;
  --line: rgba(219, 230, 237, .18);
  --shadow-sm: 0 12px 35px rgba(0, 0, 0, .26);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, .42);
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.65 var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-ready { opacity: 1; }
body.nav-open { overflow: hidden; }
::selection { color: var(--white); background: var(--bronze); }
img, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(27, 169, 223, .6); outline-offset: 4px; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 11px 16px; border-radius: 999px; color: var(--white); background: var(--navy-900); font-size: 12px; font-weight: 800; transform: translateY(-160%); transition: transform .25s var(--ease); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(100% - 52px, 1240px); margin-inline: auto; }

.scroll-progress { position: fixed; z-index: 500; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--cyan)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 16px rgba(27,169,223,.5); }

.topbar { position: relative; z-index: 101; color: rgba(255,255,255,.76); background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.topbar-status { display: flex; align-items: center; gap: 9px; color: var(--white); font-weight: 700; }
.topbar-status i, .live-pill i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #55d69a; box-shadow: 0 0 0 5px rgba(85,214,154,.12); animation: statusPulse 2.4s ease-in-out infinite; }
.topbar-points { display: flex; align-items: center; gap: 22px; }
.topbar-points span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 20px 2px 0; border-radius: 50%; background: var(--bronze-light); }
.topbar a { color: var(--bronze-light); font-weight: 800; transition: color .25s ease; }
.topbar a:hover { color: var(--white); }

/* Compatibility for existing page chrome while every page keeps its own HTML. */
.top { position: relative; z-index: 101; color: rgba(255,255,255,.76); background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.top a { color: var(--bronze-light); font-weight: 800; }
.top a:hover { color: var(--white); }

.site-header { position: sticky; z-index: 100; top: 0; color: var(--ink); background: rgba(251,249,244,.9); border-bottom: 1px solid transparent; backdrop-filter: blur(18px) saturate(1.2); transition: background .35s ease, box-shadow .35s ease, border-color .35s ease; }
.site-header.is-compact { background: rgba(251,249,244,.96); border-color: var(--line); box-shadow: 0 8px 30px rgba(8,27,47,.08); }
header.nav { position: sticky; z-index: 100; top: 0; width: 100%; max-width: none; margin: 0; padding-inline: max(26px,calc((100vw - 1240px) / 2 + 26px)); background: rgba(251,249,244,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.2); transition: min-height .35s var(--ease), box-shadow .35s ease; }
header.nav.is-compact { min-height: 72px; box-shadow: 0 8px 30px rgba(8,27,47,.08); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; transition: min-height .35s var(--ease); }
.is-compact .nav { min-height: 72px; }
.site-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.language-switcher { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); }
.language-switcher button { width: 30px; height: 28px; padding: 0; border: 0; border-radius: 999px; color: var(--stone-700); background: transparent; font-size: 9px; font-weight: 850; letter-spacing: .06em; cursor: pointer; }
.language-switcher button:hover, .language-switcher button.is-active { color: var(--white); background: var(--navy-900); }
.theme-toggle { display: inline-grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy-900); background: rgba(255,255,255,.65); font-size: 17px; cursor: pointer; transition: transform .25s var(--ease), background .25s ease, color .25s ease; }
.theme-toggle:hover { transform: translateY(-2px) rotate(10deg); background: var(--navy-900); color: var(--white); }
html[data-theme="dark"] .site-header, html[data-theme="dark"] header.nav { background: rgba(9, 20, 30, .94); border-color: rgba(219,230,237,.18); }
html[data-theme="dark"] .language-switcher { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .theme-toggle { color: var(--white); background: rgba(255,255,255,.08); }
html[data-theme="dark"] .contact-box, html[data-theme="dark"] .project-card.card, html[data-theme="dark"] .stage-grid, html[data-theme="dark"] .catalog-scope article, html[data-theme="dark"] .catalog-evidence-grid article { background: #15222c; }
html[data-theme="dark"] .contact-box label, html[data-theme="dark"] .project-card.card h3, html[data-theme="dark"] .project-card.card p { color: var(--ink); }
html[data-theme="dark"] .contact-box input, html[data-theme="dark"] .contact-box select, html[data-theme="dark"] .contact-box textarea { color: var(--ink); background: #0d171f; }
/* Dark mode contrast: keep every light-surface component readable after the palette flips. */
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4 { color: var(--ink); }
html[data-theme="dark"] .hero h1, html[data-theme="dark"] .page-hero h1, html[data-theme="dark"] .section--dark h2, html[data-theme="dark"] .section--dark h3, html[data-theme="dark"] .service-content h3, html[data-theme="dark"] .project-card h3, html[data-theme="dark"] .project h3 { color: var(--white); }
html[data-theme="dark"] .links a { color: #c8d3db; }
html[data-theme="dark"] .links a:hover, html[data-theme="dark"] .links a.active { color: var(--white); }
html[data-theme="dark"] .text-link, html[data-theme="dark"] .link, html[data-theme="dark"] .stage-card b, html[data-theme="dark"] .buyer-stage-card > strong, html[data-theme="dark"] .buyer-stage-card .link-label, html[data-theme="dark"] .insight-preview-card b { color: var(--ink); }
html[data-theme="dark"] .stage-card, html[data-theme="dark"] .buyer-stage-card, html[data-theme="dark"] .service-card, html[data-theme="dark"] .choice, html[data-theme="dark"] .card, html[data-theme="dark"] .trust-card, html[data-theme="dark"] .value-card, html[data-theme="dark"] .material-card, html[data-theme="dark"] .insight-preview-card { color: var(--ink); background: #15222c; border-color: rgba(219,230,237,.2); box-shadow: 0 16px 42px rgba(0,0,0,.2); }
html[data-theme="dark"] .stage-card p, html[data-theme="dark"] .buyer-stage-card > span:not(.num):not(.link-label), html[data-theme="dark"] .service-card p, html[data-theme="dark"] .choice p, html[data-theme="dark"] .card p, html[data-theme="dark"] .trust-card p, html[data-theme="dark"] .value-card p, html[data-theme="dark"] .material-card p, html[data-theme="dark"] .insight-preview-card p { color: #b7c4cc; }
html[data-theme="dark"] .service-card h3, html[data-theme="dark"] .choice h3, html[data-theme="dark"] .card h3, html[data-theme="dark"] .trust-card h3, html[data-theme="dark"] .value-card h3, html[data-theme="dark"] .material-card h3, html[data-theme="dark"] .project-card.card h3 { color: var(--ink); }
html[data-theme="dark"] .service-card .card-promise, html[data-theme="dark"] .assurance-list strong, html[data-theme="dark"] .contact-method strong, html[data-theme="dark"] .office-address strong, html[data-theme="dark"] .office-map-address strong, html[data-theme="dark"] .contact-box label, html[data-theme="dark"] .form-optional summary, html[data-theme="dark"] .reassurance strong, html[data-theme="dark"] .reassurance a { color: var(--ink); }
html[data-theme="dark"] .process-rail b { color: #f0c9a6; background: #111c25; border-color: #40515e; box-shadow: 0 0 0 8px #111c25; }
html[data-theme="dark"] .process-rail small, html[data-theme="dark"] .process-output { color: #b7c4cc !important; }
html[data-theme="dark"] .process-promise { color: var(--ink); background: #15222c; }
html[data-theme="dark"] .tag-list span { color: #d6e1e7; background: #15222c; }
html[data-theme="dark"] .form-status:not(:empty) { color: #c9e9f4; }
html[data-theme="dark"] p { color: #c2ccd2; }
html[data-theme="dark"] .section--dark p, html[data-theme="dark"] .hero p, html[data-theme="dark"] .page-hero p, html[data-theme="dark"] .project-card p, html[data-theme="dark"] .project p, html[data-theme="dark"] .service-content p { color: rgba(255,255,255,.84); }
html[data-theme="dark"] .logo img { mix-blend-mode: normal; }
.logo { position: relative; z-index: 2; flex: 0 0 auto; }
.logo::after { content: ""; position: absolute; inset: 12% -7%; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.88) 47%, transparent 73%); transform: translateX(-150%); pointer-events: none; mix-blend-mode: screen; }
.is-ready .logo::after { animation: logoSweep 1.25s .42s var(--ease) both; }
.logo img { width: 118px; height: 66px; object-fit: contain; mix-blend-mode: multiply; transform-origin: center; }
.is-ready .logo img { animation: logoEntrance .85s .08s var(--ease) both; }
.links { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 1.8vw, 27px); }
.links a { position: relative; padding: 33px 0 29px; color: #4f575c; font-size: 11px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; transition: color .25s ease, padding .35s var(--ease); }
.is-compact .links a { padding-block: 25px 22px; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: linear-gradient(90deg, var(--bronze), var(--cyan)); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.links a:hover, .links a.active { color: var(--navy-900); }
.links a:hover::after, .links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 45px; height: 45px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease), opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button { position: relative; isolation: isolate; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; overflow: hidden; padding: 14px 22px; border: 1px solid var(--navy-900); border-radius: 999px; color: var(--white); background: var(--navy-900); font-size: 11px; font-weight: 850; letter-spacing: .095em; line-height: 1.2; text-transform: uppercase; box-shadow: 0 10px 25px rgba(8,27,47,.14); transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.button::after { content: ""; position: absolute; z-index: -1; top: -60%; bottom: -60%; left: -35%; width: 32%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg) translateX(-330%); transition: transform .75s var(--ease); }
.button:hover { transform: translateY(-2px); color: var(--white); background: var(--navy-700); border-color: var(--navy-700); box-shadow: 0 16px 35px rgba(8,27,47,.22); }
.button:hover::after { transform: skewX(-18deg) translateX(650%); }
.button--primary { color: var(--navy-950); background: var(--white); border-color: var(--white); }
.button--primary:hover { color: var(--navy-950); background: var(--cyan-soft); border-color: var(--cyan-soft); }
.button--glass, .button.light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.42); box-shadow: none; backdrop-filter: blur(12px); }
.button--glass:hover, .button.light:hover { color: var(--navy-950); background: var(--white); border-color: var(--white); }
.button--light { color: var(--navy-950); background: var(--white); border-color: var(--white); }
.button--light:hover { background: var(--bronze-light); border-color: var(--bronze-light); }
.nav-cta { min-height: 44px; padding: 12px 18px; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--bronze); color: var(--navy-900); font-size: 13px; font-weight: 800; letter-spacing: .04em; transition: gap .25s ease, color .25s ease; }
.text-link:hover { gap: 15px; color: var(--bronze); }
.text-link--light { color: var(--white); border-color: rgba(255,255,255,.45); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-900); font-family: var(--font-display); font-weight: 500; letter-spacing: -.04em; }
h1 { font-size: clamp(52px, 7vw, 92px); line-height: .96; }
h2 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.03; }
h3 { font-size: clamp(24px, 2.5vw, 35px); line-height: 1.12; }
p { color: var(--stone-700); }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--bronze); font-size: 10px; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--bronze-light); }
.large-copy { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.7; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); }
.home-hero { min-height: min(840px, calc(100vh - 38px)); display: grid; align-items: center; }
.hero-backdrop, .hero-atmosphere { position: absolute; inset: 0; z-index: -3; }
.hero-backdrop { inset: -6%; background-position: center; background-size: cover; transform: scale(1.05); will-change: transform; }
.hero-atmosphere { z-index: -2; background: linear-gradient(90deg, rgba(5,16,28,.96) 0%, rgba(6,21,36,.85) 43%, rgba(7,31,51,.38) 73%, rgba(6,21,36,.62) 100%), linear-gradient(0deg, rgba(5,17,31,.8), transparent 45%); }
.hero-atmosphere::after { content: ""; position: absolute; inset: 0; opacity: .24; background-image: radial-gradient(rgba(255,255,255,.26) .7px, transparent .8px); background-size: 6px 6px; mask-image: linear-gradient(90deg,#000,transparent 80%); }
.hero-layout { min-height: inherit; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .65fr); gap: 70px; align-items: center; padding-block: 96px 105px; }
.hero-copy { max-width: 770px; padding: 0; }
.hero h1 { max-width: 820px; margin: 18px 0 26px; color: var(--white); text-wrap: balance; }
.motion-title .word { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(45px); }
.is-ready .motion-title .word { animation: wordReveal .8s var(--ease) forwards; animation-delay: calc(.16s + var(--word-index) * .075s); }
.hero p { max-width: 680px; margin-bottom: 32px; color: rgba(255,255,255,.76); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 27px; color: rgba(255,255,255,.67); font-size: 12px; letter-spacing: .04em; }
.hero-trust i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(27,169,223,.12); }
.hero-proof-panel { position: relative; align-self: center; overflow: hidden; padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); background: linear-gradient(155deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: 0 35px 80px rgba(0,0,0,.28); backdrop-filter: blur(18px); transform-style: preserve-3d; }
.hero-proof-panel::before { content: ""; position: absolute; inset: -50% -10%; opacity: .35; background: linear-gradient(120deg, transparent 40%, rgba(111,211,244,.25), transparent 62%); animation: panelLight 8s ease-in-out infinite; }
.proof-panel-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live-pill { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(6,21,36,.42); }
.hero-logo-stage { position: relative; min-height: 310px; display: grid; place-items: center; }
.hero-logo-stage::before, .hero-logo-stage::after, .logo-orbit { content: ""; position: absolute; width: 255px; height: 255px; border: 1px solid rgba(120,211,241,.22); border-radius: 50%; }
.hero-logo-stage::after { width: 315px; height: 315px; border-style: dashed; animation: orbit 28s linear infinite; }
.logo-orbit { width: 205px; height: 205px; border-color: rgba(215,177,140,.28); animation: orbit 19s linear infinite reverse; }
.hero-logo-stage img { position: relative; z-index: 2; width: 255px; height: auto; object-fit: contain; padding: 19px; border-radius: 24px; background: rgba(255,255,255,.97); box-shadow: 0 25px 55px rgba(0,0,0,.24); mix-blend-mode: normal; animation: logoFloat 5s ease-in-out infinite; }
.proof-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.14); }
.proof-grid div { padding: 17px 8px 3px; text-align: center; }
.proof-grid div + div { border-left: 1px solid rgba(255,255,255,.12); }
.proof-grid strong { display: block; color: var(--cyan-soft); font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.proof-grid span { color: rgba(255,255,255,.64); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 25px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { position: relative; width: 22px; height: 34px; border: 1px solid rgba(255,255,255,.32); border-radius: 12px; }
.scroll-cue span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; border-radius: 2px; background: var(--white); transform: translateX(-50%); animation: scrollDot 1.8s ease-in-out infinite; }

.page-hero { position: relative; isolation: isolate; min-height: 520px; display: grid; align-items: end; overflow: hidden; padding: 110px 0 82px; color: var(--white); background: var(--navy-900); }
.page-hero::before { content: ""; position: absolute; z-index: -3; inset: -5%; background-image: var(--page-bg); background-position: center; background-size: cover; transform: scale(1.04); transition: transform 8s ease; }
body.is-ready .page-hero::before { transform: scale(1); }
.page-hero::after { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(5,18,32,.97) 0%, rgba(7,28,46,.84) 52%, rgba(7,28,46,.3)), linear-gradient(0deg, rgba(5,18,32,.65), transparent 48%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 16px 0 20px; color: var(--white); }
.page-hero p { max-width: 710px; margin: 0; color: rgba(255,255,255,.76); font-size: clamp(17px,1.7vw,21px); }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero-kicker { display: inline-flex; margin-top: 30px; color: rgba(255,255,255,.62); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.section { position: relative; padding-block: clamp(78px, 9vw, 126px); }
.section--ivory { background: var(--ivory); }
.section--cream { background: var(--cream); }
.section--stone, .stone { background: var(--stone-100); }
.section--dark { color: var(--white); background: var(--navy-950); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.65); }
.section-heading { max-width: 790px; margin-bottom: 52px; }
.section-heading h2, .lead h2 { margin: 13px 0 17px; }
.section-heading p, .lead p { max-width: 680px; margin-bottom: 0; font-size: 18px; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.65fr); gap: 70px; align-items: end; }
.section-heading--split p { justify-self: end; margin-bottom: 7px; }
.lead { max-width: 790px; margin: 0 auto 54px; text-align: center; }
.lead .eyebrow { justify-content: center; }

.trust-ribbon { overflow: hidden; color: rgba(255,255,255,.74); background: linear-gradient(90deg, var(--navy-950), var(--navy-800)); border-top: 1px solid rgba(255,255,255,.08); }
.trust-ribbon-inner { min-height: 80px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.trust-ribbon-inner span { padding: 12px 20px; font-size: 12px; letter-spacing: .04em; text-align: center; }
.trust-ribbon-inner span + span { border-left: 1px solid rgba(255,255,255,.14); }
.trust-ribbon-inner b { color: var(--bronze-light); font-weight: 800; }

.stage-selector { position: relative; overflow: hidden; padding-block: clamp(70px,8vw,108px); }
.stage-selector::before { content: ""; position: absolute; top: -180px; right: -120px; width: 480px; height: 480px; opacity: .12; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 0 55px rgba(27,169,223,.08), 0 0 0 110px rgba(169,120,79,.06); pointer-events: none; }
.stage-selector__intro { position: relative; z-index: 1; max-width: 810px; margin-bottom: 38px; }
.stage-selector__intro h2 { margin: 12px 0 16px; }
.stage-selector__intro p { max-width: 680px; margin: 0; font-size: 18px; }
.stage-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.68); box-shadow: var(--shadow-sm); }
.stage-card { position: relative; min-height: 325px; display: flex; flex-direction: column; overflow: hidden; padding: 30px 27px 26px; border-right: 1px solid var(--line); transition: color .45s ease, background .45s ease, transform .45s var(--ease); }
.stage-card:last-child { border-right: 0; }
.stage-card::before { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg,var(--bronze),var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.stage-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 170px; height: 170px; opacity: 0; border: 1px solid rgba(120,211,241,.24); border-radius: 50%; transform: scale(.65); transition: opacity .4s ease, transform .6s var(--ease); }
.stage-card > span { color: var(--bronze); font-family: var(--font-display); font-size: 30px; }
.stage-card h3 { margin: 52px 0 13px; font-size: clamp(25px,2vw,31px); }
.stage-card p { margin-bottom: 24px; font-size: 14px; }
.stage-card b { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; color: var(--navy-900); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.stage-card b i { font-family: var(--font-sans); font-size: 18px; font-style: normal; transition: transform .3s var(--ease); }
.stage-card:hover, .stage-card:focus-visible { color: var(--white); background: var(--navy-900); transform: translateY(-7px); }
.stage-card:hover::before, .stage-card:focus-visible::before { transform: scaleX(1); }
.stage-card:hover::after, .stage-card:focus-visible::after { opacity: 1; transform: scale(1); }
.stage-card:hover h3, .stage-card:focus-visible h3, .stage-card:hover b, .stage-card:focus-visible b { color: var(--white); }
.stage-card:hover p, .stage-card:focus-visible p { color: rgba(255,255,255,.68); }
.stage-card:hover > span, .stage-card:focus-visible > span { color: var(--cyan-soft); }
.stage-card:hover b i, .stage-card:focus-visible b i { transform: translate(4px,-4px); }

.buyer-stage-selector { overflow: hidden; background: var(--cream); }
.buyer-stage-selector--compact { padding-block: clamp(66px,7vw,96px); }
.buyer-stage-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.buyer-stage-card { position: relative; min-height: 270px; display: flex; flex-direction: column; overflow: hidden; padding: 26px 23px 23px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.76); box-shadow: 0 12px 32px rgba(8,27,47,.06); transition: color .4s ease, background .4s ease, border-color .4s ease, transform .4s var(--ease), box-shadow .4s ease; }
.buyer-stage-card::after { content: ""; position: absolute; right: -45px; bottom: -50px; width: 130px; height: 130px; border: 1px solid rgba(27,169,223,.18); border-radius: 50%; transform: scale(.7); transition: transform .5s var(--ease); }
.buyer-stage-card .num { color: var(--bronze); font-family: var(--font-display); font-size: 26px; }
.buyer-stage-card > strong { margin: 42px 0 12px; color: var(--navy-900); font-family: var(--font-display); font-size: 27px; font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.buyer-stage-card > span:not(.num):not(.link-label) { color: var(--stone-700); font-size: 13px; line-height: 1.55; }
.buyer-stage-card .link-label { margin-top: auto; padding-top: 22px; color: var(--navy-900); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.buyer-stage-card:hover, .buyer-stage-card:focus-visible { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 24px 54px rgba(8,27,47,.18); transform: translateY(-7px); }
.buyer-stage-card:hover::after, .buyer-stage-card:focus-visible::after { transform: scale(1.2); }
.buyer-stage-card:hover > strong, .buyer-stage-card:focus-visible > strong, .buyer-stage-card:hover .link-label, .buyer-stage-card:focus-visible .link-label { color: var(--white); }
.buyer-stage-card:hover > span:not(.num):not(.link-label), .buyer-stage-card:focus-visible > span:not(.num):not(.link-label) { color: rgba(255,255,255,.68); }
.buyer-stage-card:hover .num, .buyer-stage-card:focus-visible .num { color: var(--cyan-soft); }

.editorial-grid, .two-col, .contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(42px, 7vw, 95px); align-items: center; }
.editorial-media { position: relative; min-height: 650px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.editorial-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,21,36,.52), transparent 48%); pointer-events: none; }
.editorial-media > img { width: 100%; height: 100%; min-height: 650px; object-fit: cover; transition: transform 1.2s var(--ease); }
.editorial-media:hover > img { transform: scale(1.035); }
.media-note { position: absolute; z-index: 2; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; color: var(--white); background: rgba(6,21,36,.58); backdrop-filter: blur(12px); }
.media-note span { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--navy-950); background: var(--cyan-soft); font-weight: 900; }
.media-note p { margin: 0; color: var(--white); font-size: 13px; font-weight: 700; line-height: 1.35; }
.editorial-copy h2 { margin: 15px 0 24px; }
.image { width: 100%; min-height: 440px; height: 100%; max-height: 680px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.assurance-list { margin: 34px 0; border-top: 1px solid var(--line); }
.assurance-list > div { display: grid; grid-template-columns: 45px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.assurance-list span { color: var(--bronze); font-family: var(--font-display); font-size: 22px; }
.assurance-list p { margin: 0; }
.assurance-list strong { color: var(--navy-900); }

.service-bento { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, minmax(280px, 1fr)); gap: 18px; }
.service-feature { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: var(--navy-800); box-shadow: 0 25px 50px rgba(0,0,0,.18); transform-style: preserve-3d; }
.service-feature--wide { grid-row: span 2; }
.service-feature img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s ease; }
.service-feature:hover img { transform: scale(1.065); filter: saturate(1.08); }
.service-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(4,17,30,.94), rgba(6,25,43,.08) 75%); }
.service-content { position: absolute; inset: auto 0 0; padding: 28px; transform: translateZ(25px); }
.service-content > span { color: var(--cyan-soft); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.service-content h3 { max-width: 570px; margin: 8px 0 10px; color: var(--white); }
.service-content p { max-width: 530px; margin-bottom: 16px; color: rgba(255,255,255,.68); }
.service-content b { color: var(--bronze-light); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.service-grid, .choice-grid, .card-grid, .trust-grid, .value-grid, .material-grid, .transformation-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.transformation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; }
.renovation-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.project-detail .value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.service-card, .choice, .card, .trust-card, .value-card, .material-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; transition: transform .45s var(--ease), box-shadow .45s ease, border-color .35s ease; }
.service-card::before, .choice::before, .value-card::before, .trust-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; background: linear-gradient(135deg,var(--bronze),transparent 42%,var(--cyan)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .35s ease; pointer-events: none; }
.service-card:hover, .choice:hover, .card:hover, .trust-card:hover, .value-card:hover, .material-card:hover { transform: translateY(-8px); border-color: rgba(169,120,79,.3); box-shadow: var(--shadow-lg); }
.service-card:hover::before, .choice:hover::before, .value-card:hover::before, .trust-card:hover::before { opacity: 1; }
.service-card img, .card img, .material-card img { width: 100%; height: 240px; object-fit: cover; transition: transform .85s var(--ease); }
.service-card:hover img, .card:hover img, .material-card:hover img { transform: scale(1.055); }
.service-card > div, .choice, .card > div, .trust-card, .value-card, .material-card > div { padding: 28px; }
.service-card h3, .choice h3, .card h3, .trust-card h3, .value-card h3, .material-card h3 { margin: 10px 0 12px; font-size: 28px; }
.service-card p, .choice p, .card p, .trust-card p, .value-card p, .material-card p { margin-bottom: 0; }
.service-card .card-kicker, .project-card .card-kicker { color: var(--bronze); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.service-card .card-promise { margin-bottom: 11px; color: var(--navy-900); font-weight: 800; }
.source-icon, .choice .num { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--navy-950); background: linear-gradient(135deg,var(--bronze-light),var(--cyan-soft)); font-family: var(--font-display); font-size: 20px; }
.link { display: inline-flex; gap: 8px; margin-top: 20px; padding-bottom: 4px; border-bottom: 1px solid var(--bronze); color: var(--navy-900); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.link::after { content: "↗"; }

.process-section { overflow: hidden; background: linear-gradient(180deg, var(--cream), var(--ivory)); }
.process-rail { --process: 0%; position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 52px 20px; margin-top: 20px; }
.process-rail::before, .process-rail::after { content: ""; position: absolute; z-index: 0; top: 25px; left: 4%; width: 92%; height: 2px; background: var(--stone-300); }
.process-rail::after { width: calc(var(--process) * .92); background: linear-gradient(90deg,var(--bronze),var(--cyan)); transition: width 1.8s var(--ease); }
.process-rail article { position: relative; z-index: 1; padding: 0 20px 0 0; }
.process-rail b { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 23px; border: 1px solid var(--stone-300); border-radius: 50%; color: var(--bronze); background: var(--cream); font-family: var(--font-display); font-size: 20px; box-shadow: 0 0 0 8px var(--cream); transition: color .35s ease, background .35s ease, border-color .35s ease; }
.process-rail article.is-visible b { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.process-rail h3 { margin: 0 0 10px; font-size: 24px; }
.process-rail p { margin: 0; font-size: 14px; }
.process-rail small { display: block; margin-top: 14px; color: var(--navy-700); font-size: 11px; font-weight: 750; line-height: 1.5; }
.process-output { margin-top: 12px!important; padding-top: 12px; border-top: 1px solid var(--line); color: var(--navy-700)!important; font-size: 11px!important; line-height: 1.55!important; }
.section--dark .process-output, .page-hero .process-output { border-color: var(--line-light); color: rgba(255,255,255,.72)!important; }
.process-output strong { color: var(--bronze); }
.process-promise { max-width: 760px; margin: 65px auto 0; padding: 24px 30px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: rgba(255,255,255,.72); font-family: var(--font-display); font-size: clamp(19px,2.4vw,28px); text-align: center; box-shadow: var(--shadow-sm); }

.insight-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.insight-preview-card { position: relative; min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: 0 15px 42px rgba(8,27,47,.06); transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease; }
.insight-preview-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg,var(--bronze),var(--cyan)); transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease); }
.insight-preview-card:hover { transform: translateY(-7px); border-color: rgba(119,80,52,.38); box-shadow: var(--shadow-sm); }
.insight-preview-card:hover::before { transform: scaleX(1); }
.insight-preview-card > span { color: var(--bronze); font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.insight-preview-card h3 { margin: 42px 0 13px; font-size: clamp(29px,2.7vw,40px); }
.insight-preview-card p { margin: 0 0 28px; font-size: 14px; }
.insight-preview-card b { margin-top: auto; color: var(--navy-900); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.insight-preview-card b i { display: inline-block; margin-left: 5px; color: var(--bronze); font-style: normal; transition: transform .25s ease; }
.insight-preview-card:hover b i { transform: translate(3px,-3px); }
.insights-preview__action { margin-top: 30px; }

.control-section { overflow: hidden; }
.control-section::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent); pointer-events: none; }
.control-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.control-grid article { min-height: 310px; padding: 31px 25px 29px; border-right: 1px solid var(--line-light); transition: background .4s ease, transform .4s var(--ease); }
.control-grid article:last-child { border-right: 0; }
.control-grid article:hover { background: rgba(255,255,255,.06); transform: translateY(-6px); }
.control-grid span { color: var(--bronze-light); font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.control-grid h3 { margin: 65px 0 16px; color: var(--white); font-size: clamp(24px,2.3vw,32px); }
.control-grid p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--white); background: var(--navy-900); }
.step h3 { margin: 0 0 5px; font-size: 22px; }
.step p { margin: 0; font-size: 14px; }

.field-gallery, .customer-gallery, .visitor-gallery, .gallery-grid { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: repeat(2,minmax(280px,1fr)); gap: 18px; }
.field-card, .media-card, .customer-gallery figure, .visitor-gallery figure, .gallery-grid figure { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; margin: 0; border-radius: var(--radius); background: var(--navy-900); box-shadow: var(--shadow-sm); }
.field-card--tall { grid-row: span 2; }
.field-card img, .media-card img, .customer-gallery img, .visitor-gallery img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .45s ease; }
.field-card:hover img, .media-card:hover img, .customer-gallery figure:hover img, .visitor-gallery figure:hover img, .gallery-grid figure:hover img { transform: scale(1.055); filter: saturate(1.08); }
.field-card::after, .media-card::after, .customer-gallery figure::after, .visitor-gallery figure::after, .gallery-grid figure::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(0deg, rgba(5,18,31,.85), transparent 60%); pointer-events: none; }
.field-card figcaption, .media-card figcaption, .customer-gallery figcaption, .visitor-gallery figcaption, .gallery-grid figcaption { position: absolute; z-index: 1; right: 24px; bottom: 23px; left: 24px; color: var(--white); }
.field-card figcaption span, .media-card figcaption span { display: block; margin-bottom: 6px; color: var(--cyan-soft); font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.field-card figcaption strong, .media-card figcaption strong { max-width: 450px; display: block; font-family: var(--font-display); font-size: 27px; font-weight: 500; line-height: 1.1; }
.customer-gallery, .visitor-gallery { grid-template-columns: repeat(4,1fr); grid-template-rows: none; }
.customer-gallery figure, .visitor-gallery figure { aspect-ratio: 4/5; }
.customer-gallery figcaption, .visitor-gallery figcaption { font-size: 11px; letter-spacing: .05em; }

.project-showcase, .showcase { display: grid; grid-template-columns: repeat(12,1fr); gap: 20px; }
.project-card, .project { position: relative; isolation: isolate; grid-column: span 6; min-height: 520px; overflow: hidden; border-radius: var(--radius); background: var(--navy-900); box-shadow: var(--shadow-sm); }
.project { background-position: center; background-size: cover; }
.project-card--wide, .project:first-child { grid-column: span 12; min-height: 620px; }
.project-card--narrow { grid-column: span 4; }
.project-card img, .project > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover img, .project:hover > img { transform: scale(1.055); }
.project-card::after, .project::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(5,18,31,.93), rgba(5,18,31,.08) 75%); }
.project-card > div, .project > div { position: absolute; right: 30px; bottom: 30px; left: 30px; color: var(--white); }
.project-card h3, .project h3 { max-width: 610px; margin: 9px 0 11px; color: var(--white); }
.project-card p, .project p { max-width: 620px; margin: 0; color: rgba(255,255,255,.68); }
.project-card .location, .project span { color: var(--cyan-soft); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.project-card.card { position: relative; grid-column: auto; min-height: 0; display: flex; flex-direction: column; color: var(--ink); background: var(--white); }
.project-card.card::after { display: none; }
.project-card.card > img { position: static; z-index: auto; width: 100%; height: 260px; flex: 0 0 auto; object-fit: cover; }
.project-card.card > div { position: static; flex: 1; padding: 25px; color: var(--ink); }
.project-card.card h3 { margin: 9px 0 10px; color: var(--navy-900); font-size: 27px; }
.project-card.card p { color: var(--stone-700); }
.project-showcase.card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.project-showcase.card-grid .project-card.card { grid-column: auto; }

.project-filter { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 0 0 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-filter-options { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.project-filter-button { min-height: 40px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--stone-700); background: transparent; font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s var(--ease); }
.project-filter-button:hover { color: var(--navy-900); border-color: var(--bronze); transform: translateY(-2px); }
.project-filter-button.is-active { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
[data-project-item] { transition: opacity .25s ease, transform .35s var(--ease); }
[data-project-item].is-filtering { opacity: 0; transform: translateY(14px) scale(.985); }
[data-project-item][hidden] { display: none!important; }
.project-case-story { margin-top: clamp(75px,8vw,110px); padding-top: clamp(65px,7vw,90px); border-top: 1px solid var(--line); }
.case-story-step { position: relative; overflow: hidden; }
.case-story-step::after { content: attr(data-case-stage); position: absolute; right: 18px; bottom: -9px; color: rgba(8,27,47,.035); font-family: var(--font-display); font-size: 44px; line-height: 1; text-transform: uppercase; pointer-events: none; }

.trust-boundary { margin-top: 42px; padding: 28px 30px 27px; border: 1px solid rgba(169,120,79,.32); border-left: 4px solid var(--bronze); border-radius: 0 var(--radius) var(--radius) 0; background: rgba(255,255,255,.56); }
.trust-boundary h3 { max-width: 810px; margin: 12px 0 14px; }
.trust-boundary p { max-width: 950px; margin: 0; }
.decision-checkpoints { background: linear-gradient(180deg,var(--cream),var(--stone-100)); }
.checkpoint-layout { align-items: stretch; }
.checkpoint-layout > .image { min-height: 700px; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.checkpoint-list { margin: 0; padding: 0; list-style: none; }
.checkpoint-item { position: relative; padding: 24px 0 25px 28px; border-top: 1px solid var(--line); }
.checkpoint-item:last-child { border-bottom: 1px solid var(--line); }
.checkpoint-item::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 0; width: 3px; border-radius: 3px; background: linear-gradient(var(--bronze),var(--cyan)); transform: scaleY(0); transform-origin: top; transition: transform .55s var(--ease); }
.checkpoint-item.is-visible::before, .checkpoint-item:hover::before { transform: scaleY(1); }
.checkpoint-item h3 { margin: 8px 0 9px; font-size: 28px; }
.checkpoint-item p { margin: 0; font-size: 14px; }
.project-detail { padding: clamp(28px,4vw,50px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.project-detail h3 { margin-bottom: 15px; }
.project-note { max-width: 760px; margin: 28px auto 0; color: var(--stone-500); font-size: 11px; letter-spacing: .04em; text-align: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-list span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-800); background: var(--ivory); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

.story-film-frame, .video-frame { position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: 8px; border: 1px solid rgba(27,169,223,.28); border-radius: var(--radius-lg); background: var(--navy-950); box-shadow: 0 38px 90px rgba(7,21,36,.24); }
.story-film-frame::before, .video-frame::before { content: ""; position: absolute; z-index: -1; inset: -35%; opacity: .2; background: conic-gradient(from 90deg, transparent, var(--cyan), transparent, var(--bronze), transparent); animation: orbit 16s linear infinite; }
.story-film-frame video, .video-frame video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 24px; background: var(--navy-950); }
.video-frame > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 24px; }
.video-frame figcaption { padding: 16px 18px 12px; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .03em; }
.film-glow { position: absolute; z-index: 2; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; transition: box-shadow .4s ease; }
.story-film-frame:hover .film-glow { box-shadow: inset 0 0 0 1px rgba(120,211,241,.45), inset 0 0 45px rgba(27,169,223,.08); }
.film-duration { position: absolute; z-index: 3; top: 28px; left: 28px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: var(--white); background: rgba(5,23,49,.68); backdrop-filter: blur(10px); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }

.compare { --split: 50%; position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); background: url('assets/optimized/villa-before.webp') center/cover; box-shadow: var(--shadow-lg); }
.after { position: absolute; inset: 0; background: url('assets/optimized/villa-2026-hero.webp') center/cover; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-line, .line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--split); width: 2px; background: var(--white); pointer-events: none; transform: translateX(-1px); }
.compare-line::after, .line::after { content: "↔"; position: absolute; top: 50%; left: 50%; display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--navy-950); background: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.25); font-weight: 900; transform: translate(-50%,-50%); }
.compare label, .compare-label { position: absolute; z-index: 4; top: 22px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: var(--white); background: rgba(6,21,36,.6); backdrop-filter: blur(9px); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.before-label { left: 22px; }
.after-label { right: 22px; }
.compare input, .compare-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) { outline: 4px solid rgba(27,169,223,.55); outline-offset: 5px; }
.villa-caption { position: absolute; z-index: 4; right: 25px; bottom: 24px; max-width: 310px; color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .12em; line-height: 1.6; text-align: right; text-transform: uppercase; pointer-events: none; }
.timelapse-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.timelapse-grid figure { overflow: hidden; margin: 0; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.timelapse-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .8s var(--ease); }
.timelapse-grid figure:hover img { transform: scale(1.05); }
.timelapse-grid figcaption { padding: 18px 20px; color: var(--navy-900); font-family: var(--font-display); font-size: 20px; }
.renovation-gallery figure { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.renovation-gallery a { display: block; overflow: hidden; }
.renovation-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .85s var(--ease); }
.renovation-gallery figure:hover img { transform: scale(1.055); }
.renovation-gallery figcaption { padding: 18px 20px 21px; color: var(--stone-700); font-size: 13px; }
.renovation-gallery figcaption span { color: var(--bronze); font-family: var(--font-display); font-size: 20px; }
.material-grid > article { position: relative; min-height: 220px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.82); transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease; }
.material-grid > article:hover { transform: translateY(-7px); border-color: rgba(169,120,79,.32); box-shadow: var(--shadow-lg); }
.material-grid > article > span { color: var(--bronze); font-family: var(--font-display); font-size: 25px; }
.material-grid > article h3 { margin: 14px 0 10px; font-size: 27px; }
.material-grid > article p { margin: 0; font-size: 14px; }
.transformation-grid > .material-grid { grid-template-columns: 1fr; }

.contact-layout { grid-template-columns: minmax(0,1.28fr) minmax(300px,.72fr); align-items: start; }
.contact-intro { position: sticky; top: 110px; }
.contact-intro h2 { margin: 13px 0 20px; }
.contact-methods { margin-top: 35px; border-top: 1px solid var(--line); }
.contact-method { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.contact-method b { color: var(--bronze); font-family: var(--font-display); font-size: 22px; }
.contact-method strong { display: block; color: var(--navy-900); }
.contact-method span { color: var(--stone-700); font-size: 13px; }
.contact-box { padding: clamp(26px,4vw,48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.88); box-shadow: var(--shadow-lg); }
.contact-box h2 { margin: 12px 0 16px; font-size: clamp(34px,4vw,52px); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 16px; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-wide { grid-column: 1 / -1; }
.form-wide small { display: block; margin: -10px 0 17px; color: var(--stone-500); font-size: 11px; }
.form-optional { margin: 2px 0 20px; border: 1px solid var(--stone-300); border-radius: 14px; background: var(--ivory); }
.form-optional summary { position: relative; padding: 17px 48px 17px 18px; color: var(--navy-900); cursor: pointer; list-style: none; }
.form-optional summary::-webkit-details-marker { display: none; }
.form-optional summary::after { content: "+"; position: absolute; top: 50%; right: 18px; color: var(--bronze); font-family: var(--font-display); font-size: 25px; line-height: 1; transform: translateY(-50%); transition: transform .25s ease; }
.form-optional[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.form-optional summary span { display: block; font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.form-optional summary small { margin: 3px 0 0; color: var(--stone-700); font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.form-optional-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; padding: 4px 18px 0; border-top: 1px solid var(--stone-300); }
.contact-box label { display: block; margin: 0 0 7px; color: var(--navy-900); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.contact-box input, .contact-box select, .contact-box textarea { width: 100%; min-height: 52px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid var(--stone-300); border-radius: 9px; color: var(--ink); background: var(--cream); outline: none; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.contact-box input:focus, .contact-box select:focus, .contact-box textarea:focus { border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 4px rgba(27,169,223,.1); }
.contact-box textarea { min-height: 135px; resize: vertical; }
.contact-box input[type="file"] { padding: 12px; }
.office-address { margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-style: normal; }
.office-address > span { display: block; margin-bottom: 6px; color: var(--bronze); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.office-address strong { display: block; color: var(--navy-900); font-size: 14px; }
.office-address p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; }
.form-status:not(:empty) { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--cyan); color: var(--navy-700); background: rgba(27,169,223,.08); font-size: 12px; }
.reassurance { display: flex; gap: 11px; margin: 4px 0 22px; padding: 14px 16px; border-radius: 10px; color: var(--stone-700); background: var(--stone-100); font-size: 12px; }
.reassurance::before { content: "✓"; color: #0d9b6c; font-weight: 900; }
.reassurance > div { min-width: 0; }
.reassurance strong { color: var(--navy-900); }
.reassurance p { margin: 0; color: var(--stone-700); font-size: 12px; }
.reassurance a { color: var(--navy-900); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.office-map-section { padding: 0 0 clamp(78px,9vw,124px); }
.office-map-shell { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr); min-height: 530px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.office-map-copy { position: relative; z-index: 1; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(34px,5vw,68px); overflow: hidden; background: linear-gradient(145deg, var(--white), var(--ivory)); }
.office-map-copy::after { content: ""; position: absolute; z-index: -1; right: -95px; bottom: -125px; width: 280px; height: 280px; border: 1px solid rgba(27,169,223,.14); border-radius: 50%; box-shadow: 0 0 0 38px rgba(27,169,223,.025), 0 0 0 76px rgba(27,169,223,.018); }
.office-map-copy h2 { max-width: 480px; margin: 13px 0 18px; font-size: clamp(38px,4.2vw,60px); }
.office-map-copy > p { max-width: 490px; margin: 0; font-size: 15px; }
.office-map-address { display: grid; gap: 5px; width: 100%; margin: 30px 0 27px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--stone-700); font-style: normal; font-size: 13px; line-height: 1.55; }
.office-map-address > span:first-child { margin-bottom: 3px; color: var(--bronze); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.office-map-address strong { color: var(--navy-900); font-size: 14px; }
.office-map-link { min-width: 210px; }
.office-map-frame { position: relative; min-height: 530px; overflow: hidden; background: var(--stone-200); }
.office-map-frame iframe { width: 100%; height: 100%; min-height: 530px; border: 0; filter: saturate(.82) contrast(.96); transition: filter .45s ease; }
.office-map-frame:hover iframe, .office-map-frame:focus-within iframe { filter: saturate(1) contrast(1); }
.office-map-badge { position: absolute; z-index: 2; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; color: var(--navy-900); background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(6,21,36,.14); backdrop-filter: blur(12px); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.office-map-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(27,169,223,.13); }

.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(78px,9vw,120px); color: var(--white); background: var(--navy-900); }
.cta-backdrop { position: absolute; z-index: -2; inset: 0; opacity: .28; background: url('assets/optimized/documentary-loading-02.webp') center/cover; }
.cta::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,18,31,.97), rgba(8,45,72,.82)); }
.cta-inner, .cta .wrap { display: flex; align-items: end; justify-content: space-between; gap: 55px; }
.cta h2 { max-width: 820px; margin: 13px 0 18px; color: var(--white); }
.cta p { max-width: 690px; margin: 0; color: rgba(255,255,255,.68); font-size: 18px; }
.cta .eyebrow { color: var(--bronze-light); }
.cta-actions { flex: 0 0 auto; display: grid; justify-items: start; gap: 18px; }

.footer { color: rgba(255,255,255,.56); background: var(--navy-950); padding: 66px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3,1fr); gap: 42px; }
.footer-brand { max-width: 330px; }
.footer-logo { display: inline-block; margin-bottom: 15px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.94); }
.footer-logo img { width: 120px; height: 78px; object-fit: contain; }
.footer .footer-logo:not(a) { max-width: 330px; margin: 0; padding: 0; background: transparent; }
.footer .footer-logo:not(a) img { width: 136px; height: 88px; margin-bottom: 16px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.94); }
.footer p { margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }
.footer h4 { margin: 11px 0 17px; color: var(--white); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.footer a:not(.footer-logo) { display: block; width: fit-content; margin: 9px 0; color: rgba(255,255,255,.56); font-size: 13px; transition: color .25s ease, transform .25s ease; }
.footer a:not(.footer-logo):hover { color: var(--cyan-soft); transform: translateX(3px); }
.copyright { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.38); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.whatsapp-float { position: fixed; z-index: 250; right: 24px; bottom: 24px; width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--white); background: #1ebd68; box-shadow: 0 16px 40px rgba(14,99,53,.34); transition: transform .3s var(--ease), box-shadow .3s ease; }
.whatsapp-float::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(30,189,104,.28); border-radius: inherit; animation: whatsappRing 2.4s ease-out 2; }
.whatsapp-float:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 22px 48px rgba(14,99,53,.43); }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }
.whatsapp-label { position: absolute; right: 72px; width: max-content; padding: 8px 11px; border-radius: 8px; color: var(--white); background: var(--navy-900); font-size: 10px; font-weight: 750; letter-spacing: .05em; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.whatsapp-float:hover .whatsapp-label { opacity: 1; transform: none; }
.back-to-top { position: fixed; z-index: 480; right: 24px; bottom: 94px; display: grid; width: 46px; height: 46px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--white); background: var(--navy-900); box-shadow: 0 12px 30px rgba(5,18,31,.22); font-size: 21px; line-height: 1; cursor: pointer; transition: transform .25s var(--ease), background .25s ease; }
.back-to-top:hover { transform: translateY(-4px); background: var(--navy-700); }
.back-to-top[hidden] { display: none; }

.page-transition { position: fixed; z-index: 1000; inset: 0; contain: strict; display: grid; place-items: center; visibility: hidden; overflow: hidden; pointer-events: none; }
.page-transition::before, .page-transition::after { content: ""; position: absolute; inset: -12%; background: var(--navy-950); transform: translateX(-112%) skewX(-8deg); transition: transform .3s var(--ease); }
.page-transition::after { background: linear-gradient(135deg,var(--navy-800),#0b6b98); transform: translateX(112%) skewX(-8deg); transition-delay: .025s; }
.page-transition-mark { position: relative; z-index: 2; width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; color: var(--white); background: rgba(255,255,255,.08); font-family: var(--font-display); font-size: 30px; opacity: 0; transform: scale(.82) rotate(-5deg); transition: opacity .18s .08s ease, transform .24s .08s var(--ease); }
body.is-leaving .page-transition { visibility: visible; }
body.is-leaving .page-transition::before, body.is-leaving .page-transition::after { transform: translateX(0) skewX(-10deg); }
body.is-leaving .page-transition-mark { opacity: 1; transform: scale(1) rotate(0); }

body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; z-index: 900; inset: 0; display: grid; place-items: center; padding: 65px 28px 28px; visibility: hidden; opacity: 0; background: rgba(3,13,24,.94); backdrop-filter: blur(18px); transition: opacity .35s ease, visibility .35s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox figure { width: min(1100px,100%); max-height: calc(100vh - 95px); display: grid; justify-items: center; margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 145px); object-fit: contain; border-radius: 14px; box-shadow: 0 35px 90px rgba(0,0,0,.45); transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox figcaption { max-width: 800px; padding-top: 14px; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .04em; text-align: center; }
.lightbox-close { position: absolute; top: 20px; right: 22px; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: var(--white); background: rgba(255,255,255,.08); font-size: 28px; line-height: 1; cursor: pointer; transition: background .25s ease, transform .25s ease; }
.lightbox-close:hover { background: rgba(255,255,255,.18); transform: rotate(8deg); }
.customer-gallery img[role="button"], .field-gallery img[role="button"], .operations-gallery img[role="button"], .gallery-grid img[role="button"] { cursor: zoom-in; }

.motion-enabled [data-reveal], .motion-enabled .reveal { opacity: 0; filter: blur(4px); transform: translateY(24px); transition: opacity .68s var(--ease), transform .68s var(--ease), filter .6s ease; transition-delay: var(--reveal-delay,0ms); }
.motion-enabled [data-reveal="left"] { transform: translateX(45px); }
.motion-enabled [data-reveal="right"] { transform: translateX(-45px); }
.motion-enabled [data-reveal="scale"] { transform: scale(.955); }
.motion-enabled [data-reveal].is-visible, .motion-enabled .reveal.is-visible, .motion-enabled .reveal.visible, .motion-failsafe [data-reveal], .motion-failsafe .reveal { opacity: 1; filter: blur(0); transform: none; }
.motion-failsafe .motion-title .word { opacity: 1; filter: none; transform: none; }
[data-parallax] { will-change: transform; }
[data-tilt] { transition: transform .45s var(--ease); }

.route-visual { position: relative; min-height: 300px; overflow: hidden; border-radius: var(--radius); color: var(--white); background: linear-gradient(145deg,var(--navy-950),var(--navy-700)); }
.route-line { position: absolute; width: 58%; height: 42%; top: 26%; left: 19%; border-top: 2px dashed var(--cyan-soft); border-radius: 50%; transform: rotate(-9deg); animation: routePulse 3.4s ease-in-out infinite; }
.route-dot { position: absolute; width: 12px; height: 12px; border: 3px solid var(--white); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 9px rgba(27,169,223,.14); }
.star-row { display: flex; gap: 7px; color: #e7b64d; font-size: 25px; letter-spacing: .08em; }
.star-row span { display: inline-block; animation: starIn .6s var(--ease) both; animation-delay: calc(var(--star-index,0) * .1s); }

@keyframes logoEntrance { from { opacity: 0; transform: scale(.82) rotate(-3deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes logoSweep { from { transform: skewX(-12deg) translateX(-180%); } to { transform: skewX(-12deg) translateX(520%); } }
@keyframes wordReveal { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes logoFloat { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(8px); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes panelLight { 0%,100% { transform: translateX(-45%) rotate(4deg); } 50% { transform: translateX(45%) rotate(4deg); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,12px); } }
@keyframes statusPulse { 50% { box-shadow: 0 0 0 8px rgba(85,214,154,.02); } }
@keyframes whatsappRing { 0% { opacity: .8; transform: scale(.8); } 80%,100% { opacity: 0; transform: scale(1.25); } }
@keyframes routePulse { 50% { opacity: .45; transform: rotate(-9deg) scale(1.03); } }
@keyframes starIn { from { opacity: 0; transform: scale(.4) rotate(-20deg); } to { opacity: 1; transform: none; } }

@media (max-width: 1120px) {
  .links { gap: 14px; }
  .links a { font-size: 10px; }
  .nav-cta { display: none; }
  .hero-layout { grid-template-columns: 1fr .62fr; gap: 35px; }
  .hero-logo-stage { min-height: 270px; }
  .hero-logo-stage img { width: 210px; }
  .hero-logo-stage::before { width: 220px; height: 220px; }
  .hero-logo-stage::after { width: 270px; height: 270px; }
}

@media (max-width: 920px) {
  .wrap { width: min(100% - 36px, 1240px); }
  .topbar-points { display: none; }
  .nav { min-height: 76px; }
  .nav-toggle { position: relative; z-index: 102; display: block; margin-left: auto; }
  .site-tools { margin-left: 0; }
  .links { position: fixed; z-index: 101; inset: 0; min-height: 100dvh; display: grid; align-content: center; justify-items: center; gap: 0; padding: 100px 25px 50px; visibility: hidden; opacity: 0; background: rgba(6,21,36,.98); backdrop-filter: blur(20px); transition: opacity .4s ease, visibility .4s; }
  .links::before { content: "LeaDing"; margin-bottom: 24px; color: var(--cyan-soft); font-family: var(--font-display); font-size: 25px; }
  .links.is-open { visibility: visible; opacity: 1; }
  .links a, .is-compact .links a { width: 100%; max-width: 360px; padding: 15px; color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: -.02em; text-align: center; text-transform: none; }
  .links a::after { display: none; }
  .links a:hover, .links a.active { color: var(--white); }
  .hero-layout { grid-template-columns: 1fr; padding-block: 90px 110px; }
  .home-hero { min-height: auto; }
  .hero-proof-panel { display: block; width: min(100%,620px); padding: 16px; backdrop-filter: none; }
  .hero-logo-stage { min-height: 170px; }
  .hero-logo-stage img { width: 142px; padding: 11px; }
  .hero-logo-stage::before, .hero-logo-stage::after, .logo-orbit { display: none; }
  .hero-copy { max-width: 800px; }
  .trust-ribbon-inner { grid-template-columns: repeat(2,1fr); }
  .trust-ribbon-inner span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .trust-ribbon-inner span:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .editorial-grid, .two-col, .contact-layout { grid-template-columns: 1fr; }
  .insight-preview-grid { grid-template-columns: 1fr; }
  .insight-preview-card { min-height: 270px; }
  .editorial-media { min-height: 540px; }
  .editorial-media > img { min-height: 540px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 15px; }
  .section-heading--split p { justify-self: start; }
  .service-bento { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2,minmax(300px,1fr)); }
  .service-feature--wide { grid-column: span 2; grid-row: auto; min-height: 430px; }
  .service-grid, .choice-grid, .card-grid, .trust-grid, .value-grid, .material-grid, .transformation-grid { grid-template-columns: repeat(2,1fr); }
  .renovation-gallery { grid-template-columns: repeat(2,1fr); }
  .process-rail { grid-template-columns: repeat(2,1fr); }
  .process-rail::before, .process-rail::after { display: none; }
  .field-gallery { grid-template-columns: 1fr 1fr; }
  .field-card--tall { grid-column: span 2; grid-row: auto; min-height: 520px; }
  .customer-gallery, .visitor-gallery { grid-template-columns: repeat(2,1fr); }
  .project-card, .project, .project-card--wide, .project-card--narrow, .project:first-child { grid-column: span 6; min-height: 440px; }
  .project-showcase.card-grid { grid-template-columns: repeat(2,1fr); }
  .stage-grid, .control-grid { grid-template-columns: repeat(2,1fr); }
  .buyer-stage-grid { grid-template-columns: repeat(2,1fr); }
  .project-filter { align-items: flex-start; flex-direction: column; }
  .project-filter-options { justify-content: flex-start; }
  .stage-card:nth-child(2), .control-grid article:nth-child(2) { border-right: 0; }
  .stage-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .control-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .timelapse-grid { grid-template-columns: repeat(2,1fr); }
  .contact-intro { position: static; }
  .office-map-shell { grid-template-columns: 1fr; }
  .office-map-frame, .office-map-frame iframe { min-height: 430px; }
  .cta-inner, .cta .wrap { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1240px); }
  .topbar-inner { justify-content: center; }
  .topbar-inner > a { display: none; }
  .logo img { width: 102px; height: 58px; }
  header.nav { padding-inline: 14px; }
  .hero-layout { padding-block: 75px 105px; }
  .hero h1 { font-size: clamp(45px,13vw,66px); }
  .hero p { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-trust { align-items: flex-start; font-size: 11px; }
  .proof-panel-top { align-items: flex-start; flex-direction: column; }
  .proof-grid strong { font-size: 20px; }
  .scroll-cue { display: none; }
  .trust-ribbon-inner { grid-template-columns: 1fr; padding-block: 8px; }
  .trust-ribbon-inner span + span, .trust-ribbon-inner span:nth-child(3), .trust-ribbon-inner span:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .section { padding-block: 74px; }
  .page-hero { min-height: 470px; padding: 90px 0 65px; }
  .page-hero h1 { font-size: clamp(44px,13vw,62px); }
  .editorial-media, .editorial-media > img { min-height: 430px; }
  .media-note { right: 14px; bottom: 14px; left: 14px; }
  .service-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .service-feature--wide { grid-column: auto; min-height: 390px; }
  .service-feature { min-height: 330px; }
  .service-grid, .choice-grid, .card-grid, .trust-grid, .value-grid, .material-grid, .transformation-grid { grid-template-columns: 1fr; }
  .stage-grid, .control-grid { grid-template-columns: 1fr; }
  .stage-card { min-height: 275px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stage-card:last-child { border-bottom: 0; }
  .stage-card h3 { margin-top: 35px; }
  .control-grid article { min-height: 255px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .control-grid article:last-child { border-bottom: 0; }
  .control-grid h3 { margin-top: 40px; }
  .buyer-stage-grid { grid-template-columns: 1fr; }
  .buyer-stage-card { min-height: 235px; }
  .buyer-stage-card > strong { margin-top: 30px; }
  .project-filter-options { width: 100%; display: grid; grid-template-columns: repeat(2,1fr); }
  .project-filter-button { width: 100%; }
  .checkpoint-layout > .image { min-height: 430px; }
  .process-rail { grid-template-columns: 1fr; gap: 36px; }
  .process-promise { border-radius: 22px; }
  .field-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .field-card, .field-card--tall { grid-column: auto; min-height: 370px; }
  .customer-gallery, .visitor-gallery { grid-template-columns: 1fr 1fr; gap: 11px; }
  .customer-gallery figure, .visitor-gallery figure { min-width: 0; min-height: 0; }
  .customer-gallery figcaption, .visitor-gallery figcaption { right: 12px; bottom: 12px; left: 12px; }
  .project-showcase, .showcase { grid-template-columns: 1fr; }
  .project-card, .project, .project-card--wide, .project-card--narrow, .project:first-child { grid-column: auto; min-height: 390px; }
  .project-showcase.card-grid { grid-template-columns: 1fr; }
  .timelapse-grid { grid-template-columns: 1fr; }
  .story-film-frame, .video-frame { padding: 4px; border-radius: 18px; }
  .story-film-frame video, .video-frame video { border-radius: 14px; }
  .film-duration { top: 15px; left: 15px; padding: 6px 9px; font-size: 8px; }
  .compare { aspect-ratio: 4/3; border-radius: 20px; }
  .compare-line::after, .line::after { width: 46px; height: 46px; }
  .villa-caption { display: none; }
  .form-grid, .form-optional-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-wide { grid-column: auto; }
  .office-map-shell { border-radius: 20px; }
  .office-map-copy { padding: 34px 24px 38px; }
  .office-map-copy h2 { font-size: clamp(38px,11vw,52px); }
  .office-map-frame, .office-map-frame iframe { min-height: 360px; }
  .office-map-badge { top: 14px; left: 14px; }
  .office-map-link { width: 100%; }
  .cta p { font-size: 16px; }
  .cta-actions { width: 100%; }
  .cta-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .whatsapp-label { display: none; }
  .back-to-top { right: 16px; bottom: 84px; width: 46px; height: 46px; }
}

@media (hover: none), (pointer: coarse) {
  [data-parallax], [data-tilt] { will-change: auto; }
  .stage-card:hover, .control-grid article:hover, .service-feature:hover, .card:hover { transform: none; }
  .button:hover, .buyer-stage-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
  body { opacity: 1; }
  [data-reveal], .reveal, .motion-title .word { opacity: 1!important; filter: none!important; transform: none!important; }
  [data-parallax], [data-tilt] { transform: none!important; }
}

/* Localised contact form polish ------------------------------------------------ */
html[lang="ar"] body {
  font-family: Tahoma, "Noto Sans Arabic", "Segoe UI", Arial, sans-serif;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .button,
html[lang="ar"] .eyebrow {
  font-family: Tahoma, "Noto Sans Arabic", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
html[dir="rtl"] .contact-box,
html[dir="rtl"] .contact-box h2,
html[dir="rtl"] .contact-box p,
html[dir="rtl"] .contact-box label,
html[dir="rtl"] .contact-box small,
html[dir="rtl"] .contact-box input,
html[dir="rtl"] .contact-box select,
html[dir="rtl"] .contact-box textarea,
html[dir="rtl"] .office-address,
html[dir="rtl"] .office-map-copy {
  text-align: right;
}
html[dir="rtl"] .contact-box input,
html[dir="rtl"] .contact-box select,
html[dir="rtl"] .contact-box textarea {
  direction: rtl;
}
html[dir="rtl"] .contact-box input[type="email"],
html[dir="rtl"] .contact-box input[type="tel"],
html[dir="rtl"] .contact-box input[type="date"] {
  direction: ltr;
  text-align: right;
}
html[dir="rtl"] .contact-box label,
html[dir="rtl"] .form-optional summary span,
html[dir="rtl"] .office-address > span {
  letter-spacing: 0;
  text-transform: none;
}
html[dir="rtl"] .form-optional summary {
  padding-right: 18px;
  padding-left: 48px;
}
html[dir="rtl"] .form-optional summary::after {
  right: auto;
  left: 18px;
}
html[dir="rtl"] .form-optional-grid {
  direction: rtl;
}
html[data-theme="dark"] .contact-box input::placeholder,
html[data-theme="dark"] .contact-box textarea::placeholder {
  color: #9eafb9;
  opacity: 1;
}
html[data-theme="dark"] .form-optional {
  background: #111c25;
}
.leading-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.leading-file-picker {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  margin: 0 0 18px;
  padding: 8px 10px;
  border: 1px solid var(--stone-300);
  border-radius: 9px;
  background: var(--cream);
}
.leading-file-trigger {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0 !important;
  padding: 8px 14px;
  border: 1px solid var(--navy-900);
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--navy-900);
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  line-height: 1.2;
  text-transform: none !important;
  cursor: pointer;
  transition: background .25s ease, transform .25s var(--ease);
}
.leading-file-trigger:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}
.leading-file-name {
  min-width: 0;
  overflow: hidden;
  color: var(--stone-700);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-theme="dark"] .leading-file-picker {
  border-color: #40515e;
  background: #0d171f;
}
html[data-theme="dark"] .leading-file-name {
  color: #b7c4cc;
}
@media (max-width: 620px) {
  .leading-file-picker {
    align-items: stretch;
    flex-direction: column;
  }
  .leading-file-trigger {
    width: 100%;
  }
  .leading-file-name {
    width: 100%;
    text-align: center;
  }
}
