/* Brilliance landing — dark immersive hero, light working sections, one accent */
:root {
  /* two hues from the brand, navy and sky, plus paper. nothing else. */
  --navy: #1C2457; --ink: #10183A; --deep: #0B1022; --paper: #F4F6FB; --white: #fff;
  --cyan: #1EB4F3; --cyan-2: #0C88C6; --amber: #1EB4F3; --amber-2: #4CC7FF;
  --text-dark: #F2F5FB; --muted-dark: #A3AECB; --text-light: #111A36; --muted-light: #566080;
  --font: "Alexandria", "Readex Pro", system-ui, -apple-system, sans-serif;
  --m: clamp(20px, 5vw, 72px); --radius: 18px; --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--text-dark); background: var(--deep); overflow-x: clip; }
html[dir="rtl"] body { line-height: 1.8; }
html[dir="rtl"] * { letter-spacing: 0 !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

/* grain + cursor + curtain */
.grain { position: fixed; inset: -50%; pointer-events: none; z-index: 60; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, -2%); } 100% { transform: translate(0,0); } }
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 70; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor .dot, .cursor .ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor .dot { width: 6px; height: 6px; background: var(--cyan); }
.cursor .ring { width: 36px; height: 36px; border: 1.5px solid rgba(23,196,245,.6); transition: width .25s var(--ease), height .25s var(--ease), background .25s; }
.cursor.hot .ring { width: 64px; height: 64px; background: rgba(23,196,245,.12); }
.curtain { position: fixed; inset: 0; z-index: 80; background: var(--deep); display: none; place-items: center; }
html.js-motion .curtain { display: grid; }
.curtain-mark img { height: 72px; width: auto; opacity: 0; animation: markin .9s var(--ease) .1s forwards; }
.curtain .count { position: absolute; bottom: 28px; inset-inline-end: var(--m); font-size: 13px; letter-spacing: .14em; color: var(--muted-dark); }
@keyframes markin { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }

/* page transition veil */
.pt { position: fixed; inset: 0; z-index: 85; background: var(--deep); display: grid; place-items: center; transform: translateY(0); transition: transform .55s cubic-bezier(.76, 0, .24, 1); pointer-events: none; }
.pt img { height: 56px; width: auto; opacity: .9; }
.pt.pt-out { transform: translateY(-101%); }
.pt.pt-idle { visibility: hidden; }
.pt.pt-in { visibility: visible; transform: translateY(0); transition: transform .5s cubic-bezier(.76, 0, .24, 1); }
html.js-motion .curtain ~ .pt, body:has(.curtain) .pt { display: none; } /* the landing has its own counter curtain on first load */

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--pill); font-weight: 500; font-size: 15.5px; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; will-change: transform; }
.btn-amber { background: var(--cyan); color: #061126; box-shadow: 0 10px 30px -12px rgba(30,180,243,.55); }
.btn-amber:hover { background: var(--amber-2); box-shadow: 0 16px 40px -12px rgba(30,180,243,.7); }
.light .btn-amber { background: var(--navy); color: #fff; box-shadow: 0 10px 30px -14px rgba(28,36,87,.5); }
.light .btn-amber:hover { background: #26307A; }
.btn-ghost { border: 1px solid rgba(255,255,255,.22); color: var(--text-dark); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(23,196,245,.8); color: #fff; box-shadow: 0 0 0 4px rgba(23,196,245,.12); }
.light .btn-ghost { border-color: rgba(20,26,51,.2); color: var(--text-light); }
.light .btn-ghost:hover { border-color: var(--cyan-2); box-shadow: 0 0 0 4px rgba(14,143,201,.12); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--m); transition: background .4s, backdrop-filter .4s, padding .4s; }
.nav.solid { background: rgba(7,10,28,.72); backdrop-filter: blur(16px); padding: 12px var(--m); border-bottom: 1px solid rgba(255,255,255,.06); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-weight: 600; font-size: 15px; }
.brand small { font-size: 11.5px; color: var(--muted-dark); }
.links { display: flex; gap: 28px; font-size: 15px; font-weight: 400; }
.links a { position: relative; padding: 6px 0; }
.links a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 0; height: 1.5px; background: var(--cyan); transition: width .35s var(--ease); }
.links a:hover::after { width: 100%; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang-switch { font-weight: 500; min-height: 44px; padding: 0 12px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.14); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; top: 18px; transition: transform .3s var(--ease), top .3s; }
.burger span + span { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span + span { top: 21px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; background: rgba(7,10,28,.96); display: none; flex-direction: column; justify-content: center; gap: 22px; padding: 0 var(--m); font-size: 32px; font-weight: 500; }
.sheet.open { display: flex; }
.sheet .btn { align-self: flex-start; font-size: 16px; margin-top: 12px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 120px var(--m) 48px; overflow: hidden; isolation: isolate; background: radial-gradient(90% 70% at 76% 32%, #141F55 0%, #0E1535 45%, var(--deep) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: 70% 50%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,34,.9) 0%, rgba(11,16,34,.62) 40%, rgba(11,16,34,.12) 68%, rgba(11,16,34,.25) 100%), linear-gradient(to top, rgba(11,16,34,.92) 0%, rgba(11,16,34,.08) 40%, rgba(11,16,34,.3) 100%); }
html[dir="rtl"] .hero-bg::after { background: linear-gradient(270deg, rgba(11,16,34,.9) 0%, rgba(11,16,34,.62) 40%, rgba(11,16,34,.12) 68%, rgba(11,16,34,.25) 100%), linear-gradient(to top, rgba(11,16,34,.92) 0%, rgba(11,16,34,.08) 40%, rgba(11,16,34,.3) 100%); }
.hero-bg.on ~ .gridlines { opacity: .45; }
.hero-bg.on { opacity: 1; }
.glow { position: absolute; inset-inline-end: -10vw; top: -20vh; width: 60vw; height: 120vh; background: radial-gradient(50% 50% at 50% 50%, rgba(30,180,243,.14), transparent 70%); pointer-events: none; }
.gridlines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(70% 60% at 65% 40%, #000 20%, transparent 100%); }
.cross { position: absolute; width: 14px; height: 14px; opacity: .5; z-index: 2; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--cyan); }
.cross::before { left: 0; right: 0; top: 6.5px; height: 1px; } .cross::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.cross.c1 { top: 104px; inset-inline-start: var(--m); } .cross.c2 { top: 104px; inset-inline-end: var(--m); }
.cross.c3 { bottom: 36px; inset-inline-end: var(--m); } .cross.c4 { bottom: 36px; inset-inline-start: calc(var(--m) + 120px); display: none; }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; direction: ltr; }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 640px; }
.kicker { font-size: 13.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
html[dir="rtl"] .kicker { text-transform: none; font-size: 15px; }
.title { font-size: clamp(56px, 8vw, 120px); line-height: .98; font-weight: 700; margin-bottom: 26px; }
html[dir="ltr"] .title { letter-spacing: -0.03em; }
html[dir="rtl"] .title { line-height: 1.15; }
.title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.title .w { display: block; }
html.js-motion .title .w { transform: translateY(110%); }
.sub { font-size: clamp(17px, 1.3vw, 20px); max-width: 44ch; color: var(--muted-dark); margin-bottom: 34px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.options { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.12); }
.opt { position: relative; display: block; padding: 26px 24px 22px; border-inline-end: 1px solid rgba(255,255,255,.1); transition: transform .5s var(--ease), background .3s; transform-style: preserve-3d; overflow: hidden; }
.opt:last-child { border-inline-end: 0; }
.opt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 160px at var(--mx, 50%) var(--my, 50%), rgba(23,196,245,.16), transparent 70%); opacity: 0; transition: opacity .3s; }
.opt::after { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 0; height: 2px; background: var(--cyan); transition: width .5s var(--ease); }
.opt:hover { background: rgba(255,255,255,.04); }
.opt:hover::before { opacity: 1; }
.opt:hover::after { width: 100%; }
.opt svg { width: 40px; height: 40px; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.opt b { display: block; font-weight: 500; font-size: 19px; margin-bottom: 6px; }
.opt p { font-size: 14.5px; color: var(--muted-dark); line-height: 1.5; min-height: 2.9em; }
.opt .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--cyan); }
.opt .go i { width: 22px; height: 1.5px; background: currentColor; display: inline-block; transition: width .35s var(--ease); }
.opt:hover .go i { width: 36px; }
.scroll-cue { position: absolute; bottom: 26px; inset-inline-start: var(--m); z-index: 2; display: none; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--cyan), transparent); display: block; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(23,196,245,.05); padding: 16px 0; }
.track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
html[dir="rtl"] .track { animation-name: marquee-rtl; letter-spacing: 0; font-size: 16px; text-transform: none; }
.track span::after { content: "·"; margin-inline-start: 48px; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* sections */
section { position: relative; }
.sec-head { padding: 0 var(--m); max-width: 1400px; margin: 0 auto; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; font-weight: 700; max-width: 18ch; }
html[dir="ltr"] .h2 { letter-spacing: -0.02em; }
html[dir="rtl"] .h2 { line-height: 1.25; }
.light { background: var(--paper); color: var(--text-light); }
.light .kicker { color: var(--cyan-2); }
.light .muted, .light .lead { color: var(--muted-light); }

/* services rail */
.services { padding: 120px 0 0; background: var(--paper); color: var(--text-light); }
.services .kicker { color: var(--cyan-2); }
.rail-wrap { height: 100svh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.rail { display: flex; gap: 22px; padding: 0 var(--m); will-change: transform; }
.card-s { flex: 0 0 clamp(300px, 28vw, 420px); min-height: 420px; border-radius: 26px; background: #fff; padding: 30px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -40px rgba(20,26,51,.35); border: 1px solid rgba(20,26,51,.06); position: relative; overflow: hidden; }
.card-s .shape { position: absolute; inset-inline-end: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(23,196,245,.35), rgba(28,36,87,.1) 70%); filter: blur(2px); transition: transform .6s var(--ease); }
.card-s:hover .shape { transform: scale(1.35) translate(-10px, 10px); }
.card-s .card-img { width: calc(100% + 60px); margin: -30px -30px 22px; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.card-s:hover .card-img { transform: scale(1.04); }
.card-s .n { font-size: 13px; color: var(--muted-light); font-weight: 500; margin-bottom: 18px; }
.card-s .new { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: var(--pill); background: var(--cyan-2); color: #fff; font-style: normal; font-weight: 600; font-size: 11.5px; vertical-align: middle; }
.card-s h3 a:hover { color: var(--cyan-2); }
.card-s .opts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 16px; opacity: .55; transition: opacity .3s; }
.card-s:hover .opts { opacity: 1; }
.card-s .opts span { font-size: 12.5px; color: var(--muted-light); margin-inline-end: 4px; }
.opt-pill { font-size: 12.5px; padding: 5px 11px; border-radius: var(--pill); border: 1px solid rgba(20,26,51,.18); color: var(--text-light); transition: background .2s, color .2s, border-color .2s; }
.opt-pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.card-s h3 { font-size: 26px; font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.card-s p { font-size: 15.5px; color: var(--muted-light); margin-bottom: 18px; }
.card-s ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.card-s li { font-size: 13px; padding: 6px 12px; border-radius: var(--pill); background: rgba(28,36,87,.06); color: var(--text-light); }
.rail .end { flex: 0 0 clamp(260px, 24vw, 360px); display: flex; align-items: center; justify-content: center; }

/* process */
.process { padding: 140px 0; background: var(--deep); }
.steps-wrap { position: relative; max-width: 1400px; margin: 72px auto 0; padding: 0 var(--m); }
.steps-line { position: absolute; inset-inline: var(--m); top: 24px; height: 2px; width: calc(100% - 2 * var(--m)); }
.steps-line path { stroke: var(--cyan); stroke-width: 2; fill: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 56px; }
.step::before { content: ""; position: absolute; top: 16px; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--deep); border: 2px solid var(--cyan); box-shadow: 0 0 0 6px rgba(23,196,245,.15); }
.step .step-pic { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 20px; background: var(--ink); }
.step .step-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step-pic img { transform: scale(1.06); }
.step b { display: block; font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.contact.cta-only .contact-grid.one { grid-template-columns: 1fr; }
.contact.cta-only .h2 { max-width: 22ch; }
.step p { color: var(--muted-dark); font-size: 15.5px; max-width: 30ch; }

/* numbers */
.numbers { padding: 120px var(--m); background: var(--paper); color: var(--text-light); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; }
.nums div { padding: 28px 0; border-top: 2px solid rgba(20,26,51,.1); }
.nums b { display: block; font-size: clamp(56px, 6vw, 104px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--navy); }
.nums span { display: block; margin-top: 10px; color: var(--muted-light); font-size: 15.5px; }
.numbers .note { max-width: 1400px; margin: 40px auto 0; font-size: 13.5px; color: var(--muted-light); }

/* work: sector tiles, photo-free */
.work { padding: 120px 0 140px; background: #EEF1F8; color: var(--text-light); }
.work .kicker { color: var(--cyan-2); }
.work .lead { color: var(--muted-light); margin-top: 18px; max-width: 48ch; font-size: 18px; }
/* the ledger: one row per project, its contract value drawn as a bar behind the words */
.ledger { max-width: 1400px; margin: 48px auto 0; padding: 0 var(--m); display: grid; gap: 6px; }
.ledger .lh { display: flex; justify-content: space-between; padding: 0 18px 10px; font-size: 13px; color: var(--muted-light); }
.ledger .row { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: baseline; padding: 16px 18px; border-radius: 12px; color: var(--text-light); overflow: hidden; background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ledger .bar { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; background: rgba(30,180,243,.16); z-index: 0; transition: background .3s; }
.ledger .row:hover { transform: translateX(4px); box-shadow: 0 20px 40px -30px rgba(20,26,51,.4); }
html[dir="rtl"] .ledger .row:hover { transform: translateX(-4px); }
.ledger .row:hover .bar { background: rgba(30,180,243,.3); }
.ledger .name, .ledger .meta, .ledger .val { position: relative; z-index: 1; }
.ledger .name { font-weight: 600; font-size: 18px; line-height: 1.3; }
.ledger .meta { grid-column: 1; font-size: 13.5px; color: var(--muted-light); margin-top: 2px; }
.ledger .val { grid-row: 1 / 3; align-self: center; font-weight: 700; font-size: 20px; color: var(--navy); white-space: nowrap; }
.ledger .total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 18px 0; font-size: 14.5px; color: var(--muted-light); }
.ledger .total b { font-size: clamp(24px, 2.4vw, 34px); color: var(--navy); font-weight: 700; }
.cities { max-width: 1400px; margin: 40px auto 0; padding: 0 var(--m); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; }
.cities em { font-style: normal; color: var(--muted-light); margin-inline-end: 6px; }
.cities span { padding: 7px 13px; border-radius: var(--pill); background: #fff; color: var(--text-light); border: 1px solid rgba(20,26,51,.06); }
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; padding: 56px var(--m) 0; max-width: 1400px; margin: 0 auto; }
.card-w { position: relative; border-radius: 22px; overflow: hidden; background: #dde3f0; aspect-ratio: 4 / 3; }
.card-w:nth-child(1), .card-w:nth-child(4) { grid-column: span 7; aspect-ratio: 16 / 10; }
.card-w:nth-child(2), .card-w:nth-child(3) { grid-column: span 5; aspect-ratio: 4 / 4.3; }
.card-w img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.card-w:hover img { transform: scale(1.1); }
.card-w .cap { position: absolute; inset: auto 0 0 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(7,10,28,.75)); color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.card-w .cap b { font-weight: 500; font-size: 17px; }
.card-w .cap span { font-size: 13px; opacity: .85; }

/* about */
.about { padding: 140px var(--m); background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; max-width: 1400px; margin: 0 auto; align-items: start; }
.about .lead { font-size: clamp(19px, 1.6vw, 24px); margin-top: 28px; color: var(--text-dark); font-weight: 300; }
.about .body { margin-top: 18px; color: var(--muted-dark); max-width: 52ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 48px; }
.facts div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.facts dt { font-size: 13px; color: var(--muted-dark); margin-bottom: 6px; }
.facts dd { font-weight: 500; font-size: 17px; }

/* contact */
.contact { padding: 140px var(--m); background: radial-gradient(90% 80% at 20% 20%, #172264 0%, var(--deep) 60%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1400px; margin: 0 auto; align-items: start; }
.contact .lead { color: var(--muted-dark); margin-top: 24px; max-width: 42ch; font-size: 18px; }
.ways { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.contact .small { margin-top: 22px; font-size: 14px; color: var(--muted-dark); }
.contact .small a { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.form label { display: grid; gap: 8px; font-size: 13.5px; color: var(--muted-dark); }
.form input, .form select, .form textarea { font: inherit; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 13px 14px; min-height: 48px; transition: border-color .3s, box-shadow .3s; }
.form select option { color: #111; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(23,196,245,.14); }
.form .btn { justify-self: start; margin-top: 6px; }
.form .sent { font-size: 14px; color: var(--cyan); }

/* footer */
.footer { padding: 72px var(--m) 28px; background: var(--deep); border-top: 1px solid rgba(255,255,255,.06); }
.footer .word { font-size: clamp(40px, 8.4vw, 132px); line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); white-space: nowrap; overflow: hidden; }
html[dir="ltr"] .footer .word { letter-spacing: -0.03em; }
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; font-size: 14.5px; color: var(--muted-dark); line-height: 1.9; }
.footer .cols strong { display: block; color: #fff; font-weight: 500; }
.footer .cols a, .footer .cols span { display: block; }
.footer .legal { margin-top: 56px; font-size: 12.5px; color: var(--muted-dark); }

/* reveals */
.reveal-lines, .fade-up { opacity: 0; transform: translateY(28px); }
.ready .reveal-lines, .ready .fade-up { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.kicker.blur { filter: blur(12px); opacity: 0; }
.kicker.blur.in { filter: blur(0); opacity: 1; transition: filter .9s var(--ease), opacity .9s var(--ease); }
.h2 .wd { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.h2 .wd > span { display: inline-block; transform: translateY(110%); }

@media (max-width: 1024px) {
  .options { grid-template-columns: 1fr 1fr; }
  .steps, .nums { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .ledger .lh { display: none; }
}
@media (max-width: 760px) {
  .links, .nav .btn-amber { display: none; }
  .burger { display: block; }
  .hero { padding: 104px 20px 36px; grid-template-rows: auto auto; }
  .ribbon { position: relative; inset: auto; height: 46svh; width: 100%; margin: 0 -20px 8px; width: calc(100% + 40px); }
  .hero-copy { max-width: none; }
  .title { font-size: 14vw; }
  .options { grid-template-columns: 1fr; margin-top: 36px; }
  .opt { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .opt p { min-height: 0; }
  .scroll-cue, .cross { display: none !important; }
  .services { padding-top: 88px; }
  .rail-wrap { height: auto; overflow: visible; }
  .rail { flex-direction: column; padding: 40px 20px 60px; transform: none !important; }
  .card-s { flex: none; min-height: 0; }
  .rail .end { flex: none; padding: 12px 0; }
  .process, .about, .contact { padding-top: 96px; padding-bottom: 96px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps-line { display: none; }
  .step { padding-top: 0; padding-inline-start: 36px; }
  .step::before { top: 8px; }
  .numbers { padding: 80px 20px; }
  .nums { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nums b { font-size: 14vw; }
  .ledger { padding: 0 20px; margin-top: 32px; }
  .ledger .row { padding: 14px 14px; column-gap: 14px; }
  .ledger .name { font-size: 16px; } .ledger .val { font-size: 16px; }
  .ledger .total { padding-inline: 14px; }
  .cities { padding: 0 20px; margin-top: 28px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .word { font-size: 12.5vw; white-space: normal; -webkit-text-stroke-width: .8px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue i, .track { animation: none; }
  .curtain { display: none; }
  .title .w, .h2 .wd > span { transform: none; }
  .reveal-lines, .fade-up, .kicker.blur { opacity: 1; transform: none; filter: none; }
}

/* ===== round 5: wide-screen cap, about on paper, flat contact, tighter footer, services dropdown ===== */
:root { --gx: max(var(--m), calc((100vw - 1480px) / 2)); }
.nav { padding-inline: var(--gx); }
.nav.solid { padding-inline: var(--gx); }
.hero { padding-inline: var(--gx); }
.cross.c1, .scroll-cue { inset-inline-start: var(--gx); }
.cross.c2, .cross.c3 { inset-inline-end: var(--gx); }
.cross.c4 { inset-inline-start: calc(var(--gx) + 120px); }
.footer { padding-inline: var(--gx); }
.footer .word, .footer .cols, .footer .legal { max-width: 1400px; margin-left: auto; margin-right: auto; }
.footer .cols { grid-template-columns: 1.1fr .8fr 1.1fr 1.3fr; gap: 24px; margin-top: 48px; line-height: 1.7; font-size: 14.5px; }
.footer .cols .num { display: inline; }
.footer .cols div div { color: var(--muted-dark); }
.footer .legal { margin-top: 48px; }
.footer .word { font-size: clamp(36px, 6.4vw, 104px); }

/* about: white, picture beside the words, facts in one row */
.about.light { background: #fff; color: var(--text-light); padding: 120px var(--m); }
.about.light .kicker { color: var(--cyan-2); }
.about.light .about-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about.light .lead { color: var(--text-light); font-weight: 400; margin-top: 22px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.about.light .body { color: var(--muted-light); margin-top: 14px; }
.facts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin-top: 32px; padding-top: 24px; border-top: 2px solid rgba(20,26,51,.1); }
.facts-row dt { font-size: 13px; color: var(--muted-light); margin-bottom: 4px; }
.facts-row dd { font-weight: 600; font-size: 16.5px; color: var(--navy); }
.about-media { margin: 0; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block; }
.about-media figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted-light); }
.reveal-media { clip-path: inset(0 0 0 100% round 22px); }
html[dir="rtl"] .reveal-media { clip-path: inset(0 100% 0 0 round 22px); }
.reveal-media.in { clip-path: inset(0 0 0 0 round 22px); transition: clip-path 1.1s var(--ease); }

/* contact: one flat navy, details beside the call to action */
.contact { background: var(--deep); }
.contact.cta-only .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.contact.cta-only .h2 { max-width: 16ch; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; padding: 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); }
.contact-details dt { font-size: 13px; color: var(--muted-dark); margin-bottom: 6px; }
.contact-details dd { font-size: 15.5px; line-height: 1.6; }
.contact-details dd a { display: block; }
.contact-details dd a:hover { color: var(--cyan); }

/* services dropdown in the nav */
.has-menu { position: relative; }
.has-menu > a::after { width: 0; }
.has-menu:hover > a::after, .has-menu:focus-within > a::after, .has-menu.open > a::after { width: 100%; }
.menu { position: absolute; top: 100%; inset-inline-start: -18px; padding-top: 16px; width: 720px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; z-index: 60; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-in { background: rgba(11,16,34,.97); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu-grid a { display: block; padding: 11px 14px; border-radius: 12px; transition: background .2s; }
.menu-grid a:hover { background: rgba(30,180,243,.1); }
.menu-grid b { display: block; font-weight: 600; font-size: 15px; color: #fff; }
.menu-grid b .new { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: var(--pill); background: var(--cyan); color: #061126; font-style: normal; font-size: 11px; font-weight: 600; vertical-align: middle; }
.menu-grid span { display: block; font-size: 12.5px; color: var(--muted-dark); line-height: 1.45; margin-top: 2px; }
.menu-all { display: block; margin: 8px 14px 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; font-weight: 500; color: var(--cyan); }

@media (max-width: 1024px) { .about.light .about-grid, .contact.cta-only .contact-grid { grid-template-columns: 1fr; } .menu { width: min(720px, calc(100vw - 40px)); } }
@media (max-width: 760px) {
  .about.light { padding: 80px 20px; }
  .facts-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about-media img { aspect-ratio: 4 / 3; }
  .reveal-media { clip-path: inset(0 0 100% 0 round 18px) !important; } .reveal-media.in { clip-path: inset(0 0 0 0 round 18px) !important; }
  .contact-details { grid-template-columns: 1fr; padding: 20px; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer .word { font-size: 11vw; }
}
@media (prefers-reduced-motion: reduce) { .reveal-media, html[dir="rtl"] .reveal-media { clip-path: none; transition: none; } }

/* ledger cells pinned to their columns (auto-placement put the value first) */
.ledger .name { grid-column: 1; grid-row: 1; }
.ledger .meta { grid-column: 1; grid-row: 2; }
.ledger .val { grid-column: 2; grid-row: 1 / 3; }
/* the services link sits on the same baseline as its neighbours */
.links { align-items: center; }
.has-menu > a { display: inline-block; }

/* round 6: three-column footer */
.footer .cols { grid-template-columns: 1.4fr 1fr 1.2fr; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }

/* round 6: numbers inside RTL cards align with the text */
[dir="rtl"] .info-grid .num, [dir="rtl"] .contact-details .num { text-align: right; }
