/* PREVIEW THEME: ivory #F5F5EF, antique gold #8a6330 and navy #1F2839.
   Generated from theme-luxe.css by swapping its colours, then loaded after it, so the layout is identical.
   Loaded by every page, after style.css, theme-editorial.css and theme-luxe.css. */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --silk: #ebeae1; --marble: #dfded3; --champagne: #c49b55; --pearl: #f5f5ef; --velvet: #1f2839; --onyx: #1f2839;
  --champagne-text: #8a6330;                         /* champagne deep enough for small text on a light ground */
  --bg: #f5f5ef; --bg-tint: #ebeae1; --surface: #f5f5ef; --ink: #1f2839; --muted: #5d5a55; --line: #dfded3;
  --gold: #c49b55; --gold-2: #dcbc78; --gold-deep: #8a6330; --dark: #1f2839; --dark-2: #1f2839;
}
html, body { background: var(--pearl); color: var(--onyx); }

/* page rhythm: pearl, then silk, then marble, so neighbouring sections never share a ground */
.section, .faq, .divisions { background: var(--pearl); }
.section.tint, .eco, .eco.tint { background: var(--silk); }
.works-pin, .works-sticky { background: var(--marble); }
.faq { background: var(--silk); }
.about-band.night { background: var(--pearl); }
.touch, .touch.live { background: var(--pearl); }

/* labels, links and small accents in champagne */
.eyebrow::before { background: var(--champagne); }
.eyebrow, .eco .eyebrow { color: var(--onyx); }
.link-arrow { color: var(--onyx); border-color: var(--champagne); }
.ticks li::before, .card li::before, .flip-back li::before { color: var(--champagne); background: var(--champagne); }

/* header */
.nav { background: rgba(245, 245, 239, .86); }
.nav-links a, .pill-btn { color: var(--onyx); }
.nav-links a::after { background: var(--champagne); height: 2px; }
.nav .btn-gold { border-color: var(--onyx); color: var(--onyx); }
.nav .btn-gold svg { background: var(--onyx); color: var(--champagne); }
.nav .btn-gold:hover { background: var(--onyx); color: var(--pearl); }
.nav .btn-gold:hover svg { background: var(--champagne); color: var(--onyx); }

/* buttons: onyx pill with a champagne arrow circle; champagne pill on dark grounds */
.btn-gold { background: var(--onyx); color: var(--pearl); border-color: var(--onyx); }
.btn-gold svg { background: var(--champagne); color: var(--onyx); }
.btn-gold:hover { background: var(--velvet); border-color: var(--velvet); }
.btn-line, .btn-ghost { border-color: var(--onyx); color: var(--onyx); }
.btn-line:hover, .btn-ghost:hover { background: var(--onyx); color: var(--pearl); }
.on-dark .btn-gold, .poster .btn-gold, .hero .btn-gold { background: var(--champagne); color: var(--onyx); border-color: var(--champagne); }
.on-dark .btn-gold svg, .poster .btn-gold svg, .hero .btn-gold svg { background: var(--onyx); color: var(--champagne); }
.hero .btn-gold:hover, .poster .btn-gold:hover { background: #d0a961; }

/* hero: onyx, with a velvet depth behind the globe and the second headline line in champagne */
.hero-pin { background: var(--onyx) !important; }
.hero-pin .hero, .hero.live, .hero { background: radial-gradient(75% 85% at 72% 45%, #1f2839 0, #161d2c 42%, #141b28 76%) !important; }
.hero h1 .gold-text { color: var(--champagne); }
.hero::before { color: var(--pearl); }
.hero .btn-ghost { border-color: rgba(245, 245, 239, .55); color: var(--pearl); }
.hero .btn-ghost:hover { background: var(--pearl); color: var(--onyx); }

/* dark panels and cards are velvet */
.flip-face, .flip-front, .flip-back { background: var(--velvet); box-shadow: 0 24px 50px rgba(31, 40, 57, .28); }
.flip-front::before { border-color: var(--champagne); color: var(--champagne); background: rgba(31, 40, 57, .55); }
.icon-badge, .flip .badge, .div-badge { background: var(--champagne); color: var(--onyx); }
.card.dark { background: var(--velvet); border-color: var(--velvet); }
.card.dark > svg { background: var(--champagne); color: var(--onyx); }
.card > svg { background: var(--velvet); color: var(--champagne); }
.card:hover, .tile-card:hover, .faq-item:hover, .faq-item[open] { border-color: var(--champagne); }
.card, .tile-card, .faq-item, .work-card, .form.card, .work-meta { background: var(--pearl); border-color: var(--marble); }
.poster { box-shadow: 0 30px 70px rgba(31, 40, 57, .22); }
.poster-num { color: var(--champagne); opacity: 1; }
.svc-poster { background: var(--velvet); border-color: var(--champagne); }
.svc-poster span { color: var(--champagne); }
.tile-card img { filter: none; }
.eco-item { border-color: #d6d4c6 !important; }
.eco-item img { filter: none; }
.flip-front img { filter: saturate(.8) brightness(.9); }
.faq-item summary i { background: var(--velvet); }
.faq-item summary i::before, .faq-item summary i::after { background: var(--champagne); }
.about-band.night .feat img, .about-band.night.charged .feat img { box-shadow: 0 0 0 2px var(--pearl), 0 0 0 3.5px var(--champagne); filter: none; }
.about-band.night .about-feats { border-color: var(--marble); }

/* works controls */
.works-bar { background: #d3d2c6; }
.works-bar i, .works-dots i.on { background: var(--velvet); }
.works-dots i { background: #cccbbf; }
.works-arrow { background: var(--pearl); border-color: #cccbbf; color: var(--onyx); }
.works-arrow:hover:not(:disabled) { background: var(--velvet); border-color: var(--velvet); color: var(--champagne); }

/* closing panel on silk, map in champagne */
.cta-city { background: radial-gradient(90% 75% at 50% 112%, #d9c084 0, #ebeae1 50%, #f5f5ef 82%); border-color: #dfded3; }
.cta-scene::after { background: linear-gradient(180deg, #f5f5ef 0, rgba(245, 245, 239, .85) 30%, rgba(245, 245, 239, .3) 58%, rgba(245, 245, 239, 0) 80%); }
.cta-city img.cta-map { filter: saturate(1.2) brightness(.74); opacity: 1; }
.cta-live .tw { stroke: #8a6330; }
.cta-live .run { stroke: var(--velvet); filter: drop-shadow(0 0 5px rgba(31, 40, 57, .5)); }
.cta-live .ping, .cta-live .pulse { stroke: var(--velvet); }
.cta-city .btn-gold { background: var(--onyx); color: var(--pearl); border-color: var(--onyx); }
.cta-city .btn-gold svg { background: var(--champagne); color: var(--onyx); }

.site-footer { background: var(--onyx); }
.foot-nav a:hover { color: var(--champagne); }
.soon-card { background: var(--velvet); border-color: var(--champagne); }
.soon-tag { color: var(--champagne); border-color: var(--champagne); }
.soon-line { background: linear-gradient(90deg, transparent, var(--champagne), transparent); }
.preview-flag { background: var(--velvet); color: var(--pearl); }
.preview-flag::before { background: var(--champagne); }

/* Revision B: the closing panel takes the hero's dark blue; its type and buttons turn light */
.cta-city { background: radial-gradient(85% 90% at 50% 105%, #1f2839 0, #161d2c 46%, #141b28 82%); border-color: transparent; color: var(--pearl); }
.cta-scene::after { background: linear-gradient(180deg, #141b28 0, rgba(20, 27, 40, .78) 28%, rgba(20, 27, 40, .3) 56%, rgba(20, 27, 40, 0) 80%); }
.cta-city img.cta-map { filter: none; opacity: 1; }
.cta-live .tw { stroke: #ecd596; }
.cta-live .run { stroke: #f5e6b8; filter: drop-shadow(0 0 6px rgba(196, 155, 85, .9)); }
.cta-live .ping, .cta-live .pulse { stroke: var(--champagne); }
.cta-city h2 { color: var(--pearl); }
.cta-city .eyebrow { color: var(--pearl); }
.cta-city p { color: rgba(245, 245, 239, .78); }
.cta-city .btn-gold { background: var(--champagne); color: var(--onyx); border-color: var(--champagne); }
.cta-city .btn-gold svg { background: var(--onyx); color: var(--champagne); }
.cta-city .btn-gold:hover { background: #d0a961; }
.cta-city .btn-ghost { border-color: rgba(245, 245, 239, .55); color: var(--pearl); background: transparent; }
.cta-city .btn-ghost:hover { background: var(--pearl); color: var(--onyx); }

/* Revision C: "Business Growth" in champagne gold, with the soft metallic fall of the logo's gold stroke */
.hero h1 .gold-text {
  color: #c49b55;
  background: linear-gradient(180deg, #ecd596 0%, #c49b55 45%, #8a6330 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Revision D: every champagne accent becomes champagne gold, and the giant name sits quietly behind the globe */
:root, :root[data-theme="light"], :root[data-theme="dark"] { --champagne: #c49b55; --gold: #c49b55; --gold-2: #dcbc78; --gold-deep: #8a6330; --champagne-text: #8a6330; }
.btn-gold svg, .cta-city .btn-gold, .hero .btn-gold, .poster .btn-gold, .on-dark .btn-gold,
.icon-badge, .flip .badge, .div-badge, .card.dark > svg { background: linear-gradient(180deg, #ecd596 0%, #c49b55 48%, #8a6330 100%); border-color: #c49b55; }
.hero .btn-gold:hover, .poster .btn-gold:hover, .cta-city .btn-gold:hover { background: linear-gradient(180deg, #f1dfa8 0%, #c9a05a 48%, #a47a3c 100%); }
.hero .btn-gold svg, .poster .btn-gold svg, .cta-city .btn-gold svg, .on-dark .btn-gold svg { background: #141b28; color: #c49b55; }
.eyebrow::before { background: linear-gradient(180deg, #ecd596, #8a6330); }
.nav-links a::after { background: #c49b55; }
.link-arrow { border-color: #c49b55; }
.flip-front::before { border-color: #c49b55; color: #dcbc78; }
.card > svg, .nav .btn-gold svg { color: #c49b55; }
.card:hover, .tile-card:hover, .faq-item:hover, .faq-item[open] { border-color: #c49b55; }
.poster-num, .svc-poster span, .soon-tag { color: #c49b55; }
.svc-poster, .soon-card { border-color: #c49b55; }
.faq-item summary i::before, .faq-item summary i::after { background: #c49b55; }
.about-band.night .feat img, .about-band.night.charged .feat img { box-shadow: 0 0 0 2px var(--pearl), 0 0 0 3.5px #c49b55; }
.works-arrow:hover:not(:disabled) { color: #c49b55; }
.cta-live .ping, .cta-live .pulse { stroke: #c49b55; }
.foot-nav a:hover { color: #c49b55; }
.soon-line { background: linear-gradient(90deg, transparent, #c49b55, transparent); }
.preview-flag::before { background: #c49b55; }

/* the big name: behind the globe, faint, so it reads as texture and not as a headline */
.hero::before {
  z-index: 1; bottom: auto; top: 50%; transform: translateY(-46%);
  color: rgba(245, 245, 239, .055); text-shadow: none; -webkit-text-stroke: 1px rgba(196, 155, 85, .16);
}
@media (max-width: 760px) { .hero::before { top: 62%; bottom: auto; } }

/* Revision E: gold frames on the marketplace and service cards; the closing panel and the footer become one block */
.eco-grid { gap: 18px; }
.eco-item, .eco-item:last-child, .eco-item:nth-child(2) { border: 1.5px solid #c49b55 !important; border-radius: 18px; background: var(--pearl); padding: 18px 16px 16px; box-shadow: 0 10px 26px rgba(138, 99, 48, .1); }
.eco-item:hover { box-shadow: 0 16px 36px rgba(138, 99, 48, .22); }
.eco-item img { border-radius: 12px; }
.tile-card { border: 1.5px solid #c49b55; border-radius: 20px; box-shadow: 0 10px 26px rgba(138, 99, 48, .1); }
.tile-card:hover { border-color: #8a6330; box-shadow: 0 16px 36px rgba(138, 99, 48, .22); }

.cta-city { margin: 0; border-radius: 0; border: 0; background: linear-gradient(180deg, #141b28 0, #141b28 38%, #1f2839 100%); }
.site-footer { background: linear-gradient(180deg, #1f2839 0, #182030 55%, #121a28 100%); border-top: 0; }
.site-footer .foot-bottom { border-top-color: rgba(196, 155, 85, .22); }
.site-footer, #site-footer { border: 0 !important; box-shadow: none; margin-top: -1px; position: relative; }
.cta-city + #site-footer, .cta-city { outline: 0; }

/* Revision F: inner pages. Their headers read on dark, and their closing band matches the home page's bottom block */
.page-hero h1 { color: var(--pearl); font-weight: 500; }
.page-hero p { color: rgba(245, 245, 239, .82); }
.page-hero .crumbs { color: #c49b55; }
.ph-pin { border-color: #c49b55; }
.ph-pin b { background: #c49b55; }
.ph-mosaic img, .ph-stack img { border-color: #c49b55; }
.page-hero .btn-ghost { border-color: rgba(245, 245, 239, .55); color: var(--pearl); }
.cta.cta-map-band, :root[data-theme="dark"] .cta.cta-map-band, :root[data-theme="light"] .cta.cta-map-band {
  background: linear-gradient(180deg, #141b28 0, #141b28 38%, #1f2839 100%); color: var(--pearl); margin: 0; border: 0; border-radius: 0;
}
.cta-map-band h2 { color: var(--pearl); font-weight: 400; }
.cta-map-band p { color: rgba(245, 245, 239, .78); }
.cta-map-band .cta-mapbg { filter: none; opacity: 1; }
.cta-map-band .btn-gold { background: linear-gradient(180deg, #ecd596 0%, #c49b55 48%, #8a6330 100%); color: #141b28; border-color: #c49b55; }
.cta-map-band .btn-gold svg { background: #141b28; color: #c49b55; }
.split .visual-box, .visual-box.poster { border-color: #c49b55; }
.step-num { color: var(--champagne-text); }
.form input, .form select, .form textarea { background: var(--pearl); border-color: #d3d2c6; color: var(--onyx); border-radius: 12px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #c49b55; box-shadow: 0 0 0 3px rgba(196, 155, 85, .3); outline: 0; }
.work-card { border-color: var(--marble); }
.work-card:hover { border-color: #c49b55; }

/* Revision G: division cards carry the supplied 3D icons on a light card with a gold frame; the real logo sits faintly behind the globe */
.div-cards .flip:nth-child(2), .div-cards .flip:nth-child(4) { margin-top: 0; }
.div-cards .flip { height: 300px; }
.flip-face.flip-front, .flip-front { background: #fbfbf7; border: 1.5px solid #c49b55; border-radius: 20px; color: var(--onyx); box-shadow: 0 14px 34px rgba(138, 99, 48, .14); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.flip-front::before { display: none; }
.flip-front img { width: 78%; height: auto; aspect-ratio: 1; max-height: 58%; object-fit: contain; margin-top: 10px; border-radius: 0; filter: none;
  -webkit-mask-image: radial-gradient(closest-side, #141b28 82%, transparent 100%); mask-image: radial-gradient(closest-side, #141b28 82%, transparent 100%); }
.flip-front .icon-badge, .flip-front .badge, .flip-front .div-badge, .flip-front > i, .flip-front > span:not(.flip-body) { display: none; }
.flip-front .flip-body { padding: 4px 14px 16px; text-align: center; }
.flip-front .flip-body h3 { color: var(--onyx); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.flip-front .flip-body p { color: var(--muted); font-size: 14px; }
.flip-face.flip-back, .flip-back { border-radius: 20px; border: 1.5px solid #c49b55; }

.hero::before {
  content: ""; left: 12%; right: 12%; top: 50%; bottom: auto; height: 14vw; transform: translateY(-44%); z-index: 1;
  background: url(../img/logo-light.png) center / contain no-repeat; opacity: .075; -webkit-text-stroke: 0; font-size: 0;
}
@media (max-width: 760px) { .hero::before { left: 6%; right: 6%; height: 20vw; top: 64%; } }

/* Revision G, corrected to the cards' real structure: the front face holds .flip-art, .flip-icon and .flip-body */
.flip-face:not(.flip-back) { background: #fbfbf7; border: 1.5px solid #c49b55; border-radius: 20px; color: var(--onyx); box-shadow: 0 14px 34px rgba(138, 99, 48, .14); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.flip-face:not(.flip-back)::before { display: none; }
.flip-face:not(.flip-back) .flip-art { position: static; width: 100%; height: 58%; flex: none; display: grid; place-items: center; background: none; border-radius: 0; overflow: visible; margin-top: 8px; }
.flip-face:not(.flip-back) .flip-art img { position: static; width: auto; height: 100%; max-width: 86%; aspect-ratio: 1; object-fit: contain; border-radius: 0; filter: none;
  -webkit-mask-image: radial-gradient(closest-side, #141b28 80%, transparent 100%); mask-image: radial-gradient(closest-side, #141b28 80%, transparent 100%); }
.flip-face:not(.flip-back) .flip-art::after { display: none; }
.flip-face:not(.flip-back) .flip-icon { display: none; }
.flip-face:not(.flip-back) .flip-body { padding: 6px 14px 16px; text-align: center; margin-top: 0; }
.flip-face:not(.flip-back) .flip-body h3 { color: var(--onyx); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.flip-face:not(.flip-back) .flip-body p { color: var(--muted); font-size: 14px; }
.flip-face.flip-back { background: var(--velvet); border: 1.5px solid #c49b55; border-radius: 20px; }
.div-cards .flip { height: 330px; }
.flip-face:not(.flip-back) .flip-art { height: 52%; }

/* palette-specific touches */
html, body { background: #f5f5ef; color: #1f2839; }
h1, h2, h3, h4, .h2 { color: #1f2839; }
.hero h1, .hero h1 span, .page-hero h1, .cta-city h2, .cta-map-band h2, .poster h3, .on-dark h2, .on-dark h3, .card.dark h3, .soon-card h3 { color: #f5f5ef; }
.hero h1 .gold-text { color: #c9a05a; background: linear-gradient(180deg, #f1dfa8 0%, #c49b55 45%, #8a6330 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead, .muted, .card p, .feat p, .tile-card p, .eco-item small, .faq-item p { color: #5b6170; }
.site-footer { background: linear-gradient(180deg, #1f2839 0, #182030 55%, #121a28 100%); }
.preview-flag { background: #1f2839; color: #f5f5ef; }

/* Revision H: the hero globe is the supplied picture, with animated orbit rings, travelling lights and a slow sheen */
.img-globe { position: absolute; left: 70%; top: 55%; width: min(46vw, 78vh); aspect-ratio: 1; z-index: 2; pointer-events: none;
  transform: translate(-50%, -50%) translateX(var(--x, 0)) scale(var(--z, 1)); will-change: transform; }
.ig-img { position: absolute; inset: 13%; width: 74%; height: 74%; max-width: none; border-radius: 50%; }
.ig-glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(60, 170, 255, 0) 60%, rgba(70, 190, 255, .38) 70%, rgba(70, 150, 255, .12) 82%, transparent 92%); animation: ig-breathe 5s ease-in-out infinite; }
.ig-sheen { position: absolute; inset: 14.5%; border-radius: 50%; overflow: hidden; mix-blend-mode: screen; }
.ig-sheen::before { content: ""; position: absolute; inset: 0 -120%; background: linear-gradient(100deg, transparent 42%, rgba(160, 225, 255, .2) 50%, transparent 58%); animation: ig-sweep 9s linear infinite; }
.ig-fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ig-ring { transform-origin: 500px 500px; animation: ig-spin linear infinite; filter: drop-shadow(0 0 5px rgba(94, 242, 255, .55)); }
.ig-ring.r1 { animation-duration: 46s; }
.ig-ring.r2 { animation-duration: 90s; animation-direction: reverse; }
.ig-ring.r3 { animation-duration: 28s; filter: drop-shadow(0 0 6px rgba(255, 190, 110, .7)); }
.ig-ring.r4 { animation-duration: 38s; animation-direction: reverse; filter: drop-shadow(0 0 6px rgba(185, 140, 255, .7)); }
.ig-ring.r5 { animation-duration: 64s; }
.ig-node { fill: #fff; opacity: .2; transform-box: fill-box; transform-origin: center; animation: ig-twinkle 3.2s ease-in-out infinite; filter: drop-shadow(0 0 6px #7fe9ff); }
@keyframes ig-spin { to { transform: rotate(360deg); } }
@keyframes ig-breathe { 0%, 100% { opacity: .65; transform: scale(.985); } 50% { opacity: 1; transform: scale(1.02); } }
@keyframes ig-sweep { from { transform: translateX(-38%); } to { transform: translateX(38%); } }
@keyframes ig-twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: .95; transform: scale(1.25); } }
@media (max-width: 760px) { .img-globe { left: 50%; top: 70%; width: min(104vw, 62vh); } }
@media (prefers-reduced-motion: reduce) { .ig-ring, .ig-glow, .ig-sheen::before, .ig-node { animation: none; } }

/* Revision I: division cards as on the original site - photo on top, a gold round badge on its lower edge, title and one line */
.div-cards .flip { height: 340px; }
.flip-face:not(.flip-back) { background: #fff; border: 0; border-radius: 18px; box-shadow: 0 16px 38px rgba(31, 40, 57, .13); align-items: stretch; }
.flip-face:not(.flip-back) .flip-art { position: relative; display: block; width: 100%; height: 50%; margin: 0; overflow: hidden; border-radius: 18px 18px 0 0; }
.flip-face:not(.flip-back) .flip-art img { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; -webkit-mask-image: none; mask-image: none; }
.flip-face:not(.flip-back) .flip-icon { display: grid; width: 56px; height: 56px; color: #1f2839;
  background: linear-gradient(180deg, #ecd596 0%, #c49b55 62%, #b08845 100%); box-shadow: 0 8px 18px rgba(138, 99, 48, .35), 0 0 0 5px #fff; }
.flip-face:not(.flip-back) .flip-icon svg { width: 26px; height: 26px; }
.flip-face:not(.flip-back) .flip-body { padding: 42px 14px 16px; gap: 8px; }
.flip-face:not(.flip-back) .flip-body h3 { font-size: 18px; font-weight: 700; color: #141b28; }
.flip-face:not(.flip-back) .flip-body p { font-size: 14px; color: #5d6470; line-height: 1.5; }
.flip-face.flip-back { border: 0; border-radius: 18px; }
.flip-face:not(.flip-back) .flip-icon, .flip-face:not(.flip-back) .flip-icon svg, .flip-face:not(.flip-back) .flip-icon i { color: #1f2839; stroke: #1f2839; opacity: 1; }

/* Revision J: champagne-gold frame on the division cards */
.flip-face:not(.flip-back), .flip-face.flip-back { border: 2px solid #c49b55; box-shadow: 0 16px 38px rgba(31, 40, 57, .13), inset 0 0 0 1px rgba(236, 213, 150, .55); }
.flip-face:not(.flip-back) .flip-art { border-radius: 15px 15px 0 0; }

/* Revision K: About hero with the office picture - navy veil on the text side so the words stay easy to read */
.ph-about { min-height: clamp(460px, 46vw, 640px); }
.ph-about::after { background: linear-gradient(90deg, rgba(20, 27, 40, .94) 0, rgba(20, 27, 40, .78) 34%, rgba(20, 27, 40, .28) 62%, rgba(20, 27, 40, .05) 100%), linear-gradient(0deg, rgba(20, 27, 40, .5), transparent 38%); }
.ph-about .ph-bg { filter: none; opacity: 1; }

/* Revision L: Services hero with the office-and-warehouse picture, same navy veil as the About hero */
.ph-services { min-height: clamp(460px, 46vw, 640px); }
.ph-services::after { background: linear-gradient(90deg, rgba(20, 27, 40, .94) 0, rgba(20, 27, 40, .78) 34%, rgba(20, 27, 40, .28) 62%, rgba(20, 27, 40, .05) 100%), linear-gradient(0deg, rgba(20, 27, 40, .5), transparent 38%); }
.ph-services .ph-bg { filter: none; opacity: 1; }

/* Revision M: Solutions hero with the office / warehouse / delivery picture, same navy veil as the About and Services heroes */
.ph-solutions { min-height: clamp(460px, 46vw, 640px); }
.ph-solutions.ph-split::after { display: block; content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 27, 40, .94) 0, rgba(20, 27, 40, .78) 34%, rgba(20, 27, 40, .28) 62%, rgba(20, 27, 40, .05) 100%), linear-gradient(0deg, rgba(20, 27, 40, .5), transparent 38%); }
.ph-solutions .ph-bg { filter: none; opacity: 1; }
@media (max-width: 760px) { .ph-about::after, .ph-services::after, .ph-solutions.ph-split::after { background: linear-gradient(180deg, rgba(20, 27, 40, .82) 0, rgba(20, 27, 40, .78) 70%, rgba(20, 27, 40, .6) 100%); } }

/* Revision N: Our Works hero - the supplied picture alone as the background (it already fades to dark on the text side) */
.ph-works { min-height: clamp(460px, 46vw, 640px); background: #070b14; }
.ph-works .ph-bg { filter: none; opacity: 1; }
@media (max-width: 760px) { .ph-works.ph-split::after { display: block; content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 27, 40, .82) 0, rgba(20, 27, 40, .78) 70%, rgba(20, 27, 40, .6) 100%); } .ph-works .ph-bg { object-position: 70% 50% !important; } }
.ph-works.ph-split::after { display: block; content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 11, 20, .9) 0, rgba(7, 11, 20, .72) 30%, rgba(7, 11, 20, .25) 52%, rgba(7, 11, 20, 0) 66%); }
@media (max-width: 760px) { .ph-works.ph-split::after { background: linear-gradient(180deg, rgba(20, 27, 40, .82) 0, rgba(20, 27, 40, .78) 70%, rgba(20, 27, 40, .6) 100%); } }

/* Revision O: Our Works hero - a fan of four small app posters, gold-framed, gently floating */
.ph-posters { position: absolute; right: max(28px, calc((100vw - var(--wrap)) / 2)); top: 56%; transform: translateY(-50%); display: flex; align-items: center; z-index: 0; pointer-events: auto; }
.ph-posters span { display: block; width: clamp(104px, 10.4vw, 158px); aspect-ratio: 4 / 5; margin-left: -22px; border-radius: 12px; padding: 4px; background: linear-gradient(160deg, #ecd596, #c49b55 45%, #8a6330);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(236, 213, 150, .25); transform: rotate(var(--r)) translateY(var(--y)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; animation: ph-float 6s ease-in-out infinite; animation-delay: var(--d); }
.ph-posters span:first-child { margin-left: 0; }
.ph-posters img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 9px; display: block; }
.ph-posters span:nth-child(1) { --r: -9deg; --y: 16px; --d: 0s; }
.ph-posters span:nth-child(2) { --r: -3deg; --y: -6px; --d: -1.5s; z-index: 1; }
.ph-posters span:nth-child(3) { --r: 3deg; --y: -6px; --d: -3s; z-index: 1; }
.ph-posters span:nth-child(4) { --r: 9deg; --y: 16px; --d: -4.5s; }
.ph-posters span:hover { transform: rotate(0deg) translateY(-14px) scale(1.08); z-index: 3; box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 26px rgba(236, 213, 150, .45); animation-play-state: paused; }
@keyframes ph-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@media (max-width: 900px) { .ph-posters { position: relative; right: auto; top: auto; transform: none; justify-content: center; margin: 34px auto 0; } .ph-posters span { width: min(23vw, 120px); margin-left: -12px; } }
@media (prefers-reduced-motion: reduce) { .ph-posters span { animation: none; } }
[dir="rtl"] .ph-posters { direction: ltr; }
@media (max-width: 900px) { .page-hero.ph-works { display: flex; flex-direction: column; align-items: stretch; } .ph-works .ph-posters { order: 2; margin: 40px auto 6px; } }
.ph-posters span { padding: 1.5px; border-radius: 10px; } .ph-posters img { border-radius: 8.5px; }

/* Revision P: Partners hero with the supplied picture; its words are centred, so the navy veil is strongest through the middle */
.ph-partners { min-height: clamp(460px, 46vw, 640px); }
.ph-partners::after { background: radial-gradient(70% 90% at 50% 52%, rgba(20, 27, 40, .88) 0, rgba(20, 27, 40, .7) 45%, rgba(20, 27, 40, .3) 100%), linear-gradient(0deg, rgba(20, 27, 40, .45), transparent 40%); }
.ph-partners .ph-bg { filter: none; opacity: 1; }
@media (max-width: 760px) { .ph-partners::after { background: linear-gradient(180deg, rgba(20, 27, 40, .82) 0, rgba(20, 27, 40, .78) 70%, rgba(20, 27, 40, .6) 100%); } }

/* Revision Q: Contact hero with the supplied picture, navy veil on the text side */
.ph-contact { min-height: clamp(460px, 46vw, 640px); }
.ph-contact.ph-split::after { display: block; content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 27, 40, .93) 0, rgba(20, 27, 40, .76) 32%, rgba(20, 27, 40, .26) 58%, rgba(20, 27, 40, .04) 100%), linear-gradient(0deg, rgba(20, 27, 40, .5), transparent 38%); }
.ph-contact .ph-bg { filter: none; opacity: 1; }
@media (max-width: 760px) { .ph-contact.ph-split::after { background: linear-gradient(180deg, rgba(20, 27, 40, .82) 0, rgba(20, 27, 40, .78) 70%, rgba(20, 27, 40, .6) 100%); } }

/* Revision R: service cards carry the supplied round icons */
.tile-card img[src*="-3d.webp"] { border-radius: 50%; filter: drop-shadow(0 6px 14px rgba(31, 40, 57, .28)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.tile-card:hover img[src*="-3d.webp"] { transform: scale(1.06) rotate(-4deg); }

/* Revision S: very faint AI circuit lines behind the hero words, with slow pulses of light travelling along them */
.hero-copy > .hero-ai { position: absolute; left: -90px; top: -110px; width: calc(100% + 220px); height: calc(100% + 220px); z-index: -1; pointer-events: none; opacity: .2 !important; transform: none !important;
  -webkit-mask-image: radial-gradient(70% 70% at 45% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(70% 70% at 45% 50%, #000 30%, transparent 100%); }
.hero-ai .ai-run { stroke-width: 1.8; stroke-dasharray: 6 94; stroke-dashoffset: 100; opacity: .95; animation: ai-run linear infinite; filter: drop-shadow(0 0 3px currentColor); }
.hero-ai .ai-node { animation: ai-node 4.2s ease-in-out infinite; }
@keyframes ai-run { to { stroke-dashoffset: 0; } }
@keyframes ai-node { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (max-width: 760px) { .hero-copy > .hero-ai { left: -24px; width: calc(100% + 48px); opacity: .16 !important; } }
@media (prefers-reduced-motion: reduce) { .hero-ai .ai-run { display: none; } .hero-ai .ai-node { animation: none; } }
.hero.live .hero-copy > .hero-ai ~ :nth-child(4) { transition-delay: .45s; }

/* Revision T: the AI lines behind the hero words are a little more visible */
.hero-copy > .hero-ai { opacity: .36 !important; }
.hero-ai .ai-run { stroke-width: 2.1; }
@media (max-width: 760px) { .hero-copy > .hero-ai { opacity: .28 !important; } }

/* Revision U: right-to-left (Arabic) - the veils and the posters swap sides with the words */
[dir="rtl"] .ph-solutions.ph-split::after, [dir="rtl"] .ph-works.ph-split::after, [dir="rtl"] .ph-contact.ph-split::after { transform: scaleX(-1); }
[dir="rtl"] .ph-works .ph-bg { transform: scaleX(-1); }
[dir="rtl"] .ph-posters { right: auto; left: max(28px, calc((100vw - var(--wrap)) / 2)); }
[dir="rtl"] .hero-copy > .hero-ai { left: auto; right: -90px; transform: scaleX(-1) !important; }
@media (max-width: 900px) { [dir="rtl"] .ph-posters { left: auto; } }
@media (max-width: 760px) { [dir="rtl"] .ph-solutions.ph-split::after, [dir="rtl"] .ph-works.ph-split::after, [dir="rtl"] .ph-contact.ph-split::after { transform: none; } [dir="rtl"] .hero-copy > .hero-ai { right: -24px; } }
@media (min-width: 761px) { [dir="rtl"] .hero-pin .hero-copy { max-width: 470px; } }

/* Revision V: About page - photos on the mission, vision and values cards; 3D icons on the four division cards */
.card .card-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 12px; margin: 0 0 20px; box-shadow: 0 10px 24px rgba(31, 40, 57, .16); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card.dark .card-photo { box-shadow: 0 0 0 1px rgba(196, 155, 85, .55), 0 14px 30px rgba(0, 0, 0, .35); }
.card:hover .card-photo { transform: scale(1.02); }
.card .card-3d { display: block; width: auto; height: 118px; max-width: 100%; object-fit: contain; margin: 0 0 18px; filter: drop-shadow(0 10px 14px rgba(31, 40, 57, .22)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-3d { transform: translateY(-6px) scale(1.04); }
