/* ==========================================================================
   ORBIT3D — Monochrome Swiss-Minimal Design System
   Homepage rebuild · orbit3d.ae · 2026
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink & paper — pure monochrome scale */
  --ink:        #0a0a0b;
  --ink-2:      #18181b;
  --ink-3:      #27272a;
  --ink-soft:   #3f3f46;
  --mut:        #52525b;
  --mut-2:      #71717a;
  --mut-3:      #a1a1aa;
  --paper:      #ffffff;
  --paper-2:    #fafafa;
  --paper-3:    #f4f4f5;
  --line:       #e4e4e7;
  --line-soft:  #ececee;

  /* Dark-section locals */
  --d-bg:       #0c0c0e;
  --d-card:     #141417;
  --d-line:     #26262b;
  --d-text:     #f4f4f5;
  --d-mut:      #a1a1aa;

  /* Type */
  --font-head: "Inter Tight", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bruno Ace", "Inter Tight", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* Geometry — ONE shared content width for topbar, header, sections & footer */
  --container: 1320px;
  --gutter: 24px;
  --radius:     14px;
  --radius-sm:  9px;
  --radius-lg:  22px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .22s;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10,10,11,.05);
  --shadow-md: 0 10px 30px -12px rgba(10,10,11,.16);
  --shadow-lg: 0 24px 60px -20px rgba(10,10,11,.22);

  /* Layers */
  --z-header: 100;
  --z-drop:   110;
  --z-mobile: 120;
  --z-float:  90;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html, body { overflow-x: clip; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

/* H1 — Bruno Ace display face, compact single-line scale */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.3vw, 2.05rem);
  letter-spacing: .01em;
  line-height: 1.3;
}
/* Soft second phrase renders as a small subtitle so the H1 itself stays one line */
.h1-soft {
  display: block;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  margin-top: 10px;
}

/* Rotating hero tagline — items share one grid cell so the box auto-sizes
   to the tallest phrase; only the active item is visible/interactive. */
.hero-flip { display: grid; }
.hero-flip-item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.hero-flip-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease;
}
@media (prefers-reduced-motion: reduce) {
  .hero-flip-item { transition: none; }
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--ink); color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 9vw, 118px); }
.section--tight { padding-block: clamp(52px, 6vw, 80px); }
.section--gray { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.section--dark {
  background: var(--d-bg);
  color: var(--d-mut);
}
.section--dark h2, .section--dark h3 { color: var(--d-text); }

/* Section headers */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sec-head--split > div { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--mut-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--ink);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--d-mut); }
.section--dark .eyebrow::before { background: var(--d-text); }

.sec-title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.sec-sub {
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--mut);
  max-width: 620px;
}
.sec-head--center .sec-sub { margin-inline: auto; }
.section--dark .sec-sub { color: var(--d-mut); }

/* --------------------------------------------------------------------------
   4. Buttons, links, chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid var(--ink);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { background: var(--ink-3); border-color: var(--ink-3); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: none; }
.btn .lucide { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.btn:hover .lucide { transform: translateX(3px); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-2);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--white { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--white:hover { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink); }

.btn--ghost-white {
  background: transparent;
  color: var(--d-text);
  border-color: rgba(255,255,255,.32);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }

.btn--sm { min-height: 42px; padding: 9px 20px; font-size: .88rem; }

/* Inline arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.arrow-link .lucide { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.arrow-link:hover { gap: 11px; }
.arrow-link--mut { color: var(--mut); }
.arrow-link--mut:hover { color: var(--ink); }
.section--dark .arrow-link { color: var(--d-text); }

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.chip .lucide { width: 15px; height: 15px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tag--dark { background: rgba(255,255,255,.07); color: var(--d-mut); border: 1px solid var(--d-line); }

/* Icon square */
.icon-sq {
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  flex: none;
}
.icon-sq .lucide { width: 21px; height: 21px; color: var(--ink); }

/* --------------------------------------------------------------------------
   5. Imagery — full colour treatment
   -------------------------------------------------------------------------- */
.bw {
  filter: contrast(1.03);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.img-frame { overflow: hidden; position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Subtle zoom on hover */
.card:hover .img-frame img,
.ind-card:hover .img-frame img,
.post-card:hover .img-frame img { transform: scale(1.045); }

/* --------------------------------------------------------------------------
   5b. Top bar — utility strip, scrolls away (not sticky)
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #c9c9cf;
  font-size: .8rem;
}
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 6px;
}
.topbar-group { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c9c9cf;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
a.topbar-item:hover { color: #fff; }
.topbar-item .lucide { width: 14px; height: 14px; flex: none; }
.topbar-social { display: flex; align-items: center; gap: 2px; }
.topbar-social a {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
  color: #c9c9cf;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.topbar-social a:hover { color: #fff; background: rgba(255,255,255,.1); }
.topbar-social .lucide { width: 14px; height: 14px; }
@media (max-width: 900px) { .topbar-hide-md { display: none; } }
@media (max-width: 640px) {
  .topbar-hide-sm { display: none; }
  .topbar-in { justify-content: center; }
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-in {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
}

/* Responsive label swap (long ↔ short) */
.lbl-short { display: none; }

/* Official Orbit3D logo (black-on-transparent) shown bare on the white header — no chip */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0;
}
.brand img {
  height: 46px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 26px 13px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-link .lucide { width: 14px; height: 14px; margin-top: 1px; transition: transform var(--dur) var(--ease); color: var(--mut-2); }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link { color: var(--ink); }
.nav-item:hover .nav-link .lucide, .nav-item:focus-within .nav-link .lucide { transform: rotate(180deg); }

/* Dropdown panel */
.drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: var(--z-drop);
}
.nav-item:hover .drop, .nav-item:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.drop a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: .89rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.drop a:hover { background: var(--paper-3); color: var(--ink); }
.drop a .lucide { width: 14px; height: 14px; color: var(--mut-3); opacity: 0; transition: opacity var(--dur) var(--ease); }
.drop a:hover .lucide { opacity: 1; }
.drop a.drop-star { font-weight: 600; color: var(--ink); }

.drop-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mut-3);
  padding: 8px 12px 6px;
}

.drop--mega { display: flex; flex-wrap: wrap; gap: 6px; }
.drop--mega > .drop-col { min-width: 230px; }

/* Industries mega — thumbnails in assets/img/industries/ (140×120 source,
   objects auto-trimmed from industries-images.png and contain-fitted) */
.ind-thumb {
  flex: none;
  width: 70px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: #fff;
  object-fit: contain;
  transition: transform var(--dur) var(--ease);
}
.drop--ind {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 880px;
  max-width: calc(100vw - 24px);
}
.drop--ind > a {
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 8px;
  border-bottom: 1px solid var(--line-soft);
  white-space: normal;
}
.drop--ind > a:nth-last-of-type(-n+3) { border-bottom: 0; }
.ind-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ind-title { font-weight: 600; color: var(--ink); font-size: .89rem; line-height: 1.3; }
.ind-desc { font-size: .76rem; font-weight: 400; color: var(--mut); line-height: 1.45; }
.drop--ind a .lucide { opacity: 1; color: var(--mut-2); }
.drop--ind a:hover .ind-thumb { transform: scale(1.06); }
/* "All Industries" footer row */
.drop-foot--ind { display: block; padding: 0; white-space: normal; }
.drop-foot.drop-foot--ind > a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 22px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.drop-foot.drop-foot--ind > a:hover { background: var(--paper-3); text-decoration: none; }
.ind-foot-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
}
.ind-foot-ic .lucide { width: 18px; height: 18px; color: var(--ink); }
.drop-foot--ind a .lucide { color: var(--mut-2); }
/* Mobile industries submenu reuses the same thumbs, slightly smaller */
.mobile-nav .m-links--ind a { display: flex; align-items: center; gap: 12px; padding: 6px 12px 6px 6px; }
.mobile-nav .m-links--ind .ind-thumb { width: 56px; height: 48px; }

.drop-foot {
  grid-column: 1 / -1;
  margin: 8px -10px -10px;
  padding: 12px 22px;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .84rem;
  color: var(--mut);
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
}
.drop--mega .drop-foot { width: calc(100% + 20px); margin-top: 8px; }
.drop-foot a { display: inline; padding: 0; font-weight: 600; color: var(--ink); }
.drop-foot a:hover { text-decoration: underline; background: none; }
.drop--wrap { flex-wrap: wrap; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.header-phone {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header-phone:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.header-phone .lucide { width: 18px; height: 18px; }

/* Mobile toggles */
.nav-burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-burger .lucide { width: 21px; height: 21px; }

/* Mobile panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 74px 0 0 0;
  background: var(--paper);
  z-index: var(--z-mobile);
  overflow-y: auto;
  padding: 18px var(--gutter) 40px;
}
body.nav-open .mobile-nav { display: block; }
body.nav-open { overflow: hidden; }

.mobile-nav details { border-bottom: 1px solid var(--line-soft); }
.mobile-nav > a.m-home,
.mobile-nav > a.m-flat {
  display: flex;
  align-items: center;
  padding: 16px 2px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .lucide { width: 18px; height: 18px; color: var(--mut-2); transition: transform var(--dur) var(--ease); }
.mobile-nav details[open] summary .lucide { transform: rotate(180deg); }
.mobile-nav .m-links { padding: 2px 2px 16px; display: grid; gap: 2px; }
.mobile-nav .m-links a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--mut);
}
.mobile-nav .m-links a:hover { background: var(--paper-3); color: var(--ink); }
.mobile-nav .m-links .m-group {
  font-size: .68rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--mut-3); padding: 12px 12px 4px;
}
.mobile-cta { display: grid; gap: 10px; padding-top: 22px; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { overflow: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px);
}

.hero h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.28;
}
.hero h1 .h1-soft { color: var(--mut-3); }

.hero-copy {
  margin-top: 22px;
  font-size: 1.09rem;
  color: var(--mut);
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: clamp(28px, 4vw, 52px);
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-stat .n {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.1;
}
.hero-stat .l { font-size: .84rem; color: var(--mut-2); margin-top: 5px; }

.hero-media { position: relative; }
.hero-media .img-frame {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.25;
  box-shadow: var(--shadow-lg);
}
.hero-media .img-frame img { filter: contrast(1.05); object-position: 15% 50%; }

.hero-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  box-shadow: var(--shadow-md);
}
.hero-badge .lucide { width: 19px; height: 19px; }
.hero-badge .t { font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hero-badge .s { font-size: .74rem; color: var(--mut-2); }

/* Feature strip under hero */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-block: 30px 56px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature .t { font-size: .95rem; font-weight: 600; color: var(--ink); }
.feature .s { font-size: .8rem; color: var(--mut-2); margin-top: 1px; }

/* --------------------------------------------------------------------------
   8. Trust strip
   -------------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line-soft); background: var(--paper); }
.trust-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  row-gap: 20px;
  padding-block: 30px;
  flex-wrap: wrap;
}
.trust-label {
  flex-basis: 100%;
  text-align: center;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mut-3);
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}
.trust-logos img {
  height: 34px;
  width: auto;
  opacity: .72;
  transition: opacity var(--dur) var(--ease);
}
.trust-logos img:hover { opacity: 1; }
.trust-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .06em;
  color: var(--mut-2);
  transition: color var(--dur) var(--ease);
}
.trust-mark:hover { color: var(--ink); }
.trust-quote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--ink-soft);
  text-align: center;
  max-width: 720px;
}
.trust-quote a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--mut-3); transition: text-decoration-color var(--dur) var(--ease); }
.trust-quote a:hover { text-decoration-color: var(--ink); }
.trust-rating { display: flex; align-items: center; gap: 10px; flex: none; }
.trust-rating .stars { display: flex; gap: 2px; color: var(--ink); }
.trust-rating .stars .lucide { width: 15px; height: 15px; fill: currentColor; }
.trust-rating .s { font-size: .84rem; color: var(--mut); font-weight: 500; }

/* --------------------------------------------------------------------------
   9. Cards (services / generic)
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--mut-3); }
.card .img-frame { aspect-ratio: 4 / 2.9; }
/* Industry "Services … Use Most" cards use client-supplied model photos.
   A 5/4 (1.25) frame is as tall as the squarest supplied image, so cover
   never trims a model at the top or bottom — only the sides of wider shots. */
.card .img-frame--service { aspect-ratio: 5 / 4; }
.card .img-frame--service img { object-position: center; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.17rem; font-weight: 700; letter-spacing: -.015em; }
.card-body p { font-size: .92rem; color: var(--mut); flex: 1; }
.card-body .arrow-link { font-size: .88rem; margin-top: 6px; }

.sec-foot { margin-top: 44px; text-align: center; }

/* --------------------------------------------------------------------------
   10. Instant quote panel
   -------------------------------------------------------------------------- */
.quote-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
}
/* Single-column variant (calculator removed) — centered CTA */
.quote-panel--solo { grid-template-columns: 1fr; }
.quote-panel--solo .quote-copy { max-width: 720px; margin-inline: auto; text-align: center; }
.quote-panel--solo .quote-list { max-width: 560px; margin-inline: auto; text-align: left; }
.quote-panel--solo .quote-actions, .quote-panel--solo .quote-wa { justify-content: center; }
.quote-copy { padding: clamp(32px, 4.5vw, 60px); }
.quote-copy .sec-title { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.quote-list { display: grid; gap: 13px; margin-top: 26px; }
.quote-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--mut); }
.quote-list .lucide { width: 18px; height: 18px; color: var(--ink); flex: none; margin-top: 3px; }
.quote-list b { color: var(--ink-2); font-weight: 600; }
.quote-actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.quote-wa {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; font-size: .9rem; font-weight: 600; color: var(--mut);
  transition: color var(--dur) var(--ease);
}
.quote-wa .lucide { width: 17px; height: 17px; }
.quote-wa:hover { color: var(--ink); }

.quote-side {
  background: var(--paper-2);
  border-left: 1px solid var(--line-soft);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.dropzone {
  border: 1.5px dashed var(--mut-3);
  border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(30px, 4vw, 48px) 28px;
  text-align: center;
  display: block;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dropzone:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dropzone .icon-sq { width: 56px; height: 56px; margin-inline: auto; border-radius: 999px; background: var(--paper-3); border-color: var(--line); }
.dropzone .icon-sq .lucide { width: 24px; height: 24px; }
.dropzone .t { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); margin-top: 16px; }
.dropzone .s { font-size: .86rem; color: var(--mut-2); margin-top: 5px; }
.format-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.format-row span {
  font-size: .74rem; font-weight: 600; letter-spacing: .08em;
  color: var(--mut-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 4px 10px; background: var(--paper);
}

/* --------------------------------------------------------------------------
   11. Why Orbit3D
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mut-3); }
.why-item h3 { font-size: 1.08rem; font-weight: 700; margin-top: 20px; }
.why-item p { font-size: .89rem; color: var(--mut); margin-top: 8px; }

/* --------------------------------------------------------------------------
   12. Machines & technologies (dark)
   -------------------------------------------------------------------------- */
.machine-card {
  background: var(--d-card);
  border: 1px solid var(--d-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.machine-card:hover { transform: translateY(-5px); border-color: #3f3f46; }
.machine-card .img-frame { aspect-ratio: 4 / 2.8; background: #000; }
.machine-card .img-frame img { filter: brightness(.96); transition: filter .5s var(--ease), transform .6s var(--ease); }
.machine-card:hover .img-frame img { filter: brightness(1); transform: scale(1.04); }
.machine-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.machine-body h3 { font-size: 1.16rem; font-weight: 700; }
.machine-body p { font-size: .9rem; color: var(--d-mut); flex: 1; }
.machine-body .arrow-link { font-size: .88rem; }

.tech-links {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--d-line);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.tech-links .lbl { font-size: .8rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--mut-2); margin-right: 6px; }
.tech-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 8px 18px;
  border: 1px solid var(--d-line); border-radius: 999px;
  font-size: .89rem; font-weight: 500; color: var(--d-text);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tech-pill:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-2px); }
.tech-pill .lucide { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   13. Materials
   -------------------------------------------------------------------------- */
.materials-row { display: flex; flex-wrap: wrap; gap: 12px; }
.materials-note { margin-top: 26px; font-size: .92rem; color: var(--mut-2); }
.materials-note a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   14. Industries
   -------------------------------------------------------------------------- */
.ind-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mut-3); }
.ind-card .img-frame { aspect-ratio: 4 / 3; }
.ind-name {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 17px;
}
.ind-name .lucide { width: 17px; height: 17px; color: var(--ink); flex: none; }
.ind-name .t { font-size: .93rem; font-weight: 600; color: var(--ink); flex: 1; }
.ind-name .arr { width: 15px; height: 15px; color: var(--mut-3); opacity: 0; transform: translateX(-4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ind-card:hover .arr { opacity: 1; transform: translateX(0); }

/* --------------------------------------------------------------------------
   15. Case study
   -------------------------------------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.case-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.case-media .img-frame { aspect-ratio: 4 / 3.1; }
.case-media img { transition: transform .6s var(--ease); }
.case-media:hover img { transform: scale(1.03); }

.case-title { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.case-brief { margin-top: 16px; color: var(--mut); font-size: 1rem; }
.case-facts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.case-fact {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  background: var(--paper-2);
}
.case-fact .n { font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--ink); }
.case-fact .l { font-size: .74rem; color: var(--mut-2); text-transform: uppercase; letter-spacing: .08em; margin-top: 1px; }
.case-quote {
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--ink);
  font-size: .98rem;
  color: var(--ink-soft);
  font-style: italic;
}
.case-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. How it works
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px 24px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step .num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--mut-3);
}
.step h3 { font-size: 1.06rem; font-weight: 700; margin-top: 18px; }
.step p { font-size: .88rem; color: var(--mut); margin-top: 8px; }
.step .lucide { position: absolute; top: 26px; right: 24px; width: 20px; height: 20px; color: var(--mut-3); }

/* --------------------------------------------------------------------------
   17. Locations
   -------------------------------------------------------------------------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.loc-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 26px;
  display: grid;
  gap: 18px;
}
.loc-row { display: flex; gap: 14px; align-items: flex-start; }
.loc-row .lucide { width: 18px; height: 18px; color: var(--ink); flex: none; margin-top: 3px; }
.loc-row .t { font-size: .93rem; font-weight: 600; color: var(--ink); }
.loc-row .s { font-size: .89rem; color: var(--mut); margin-top: 2px; line-height: 1.55; }
.loc-row a.s:hover { color: var(--ink); }

.area-list { display: grid; gap: 10px; }
.area-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  background: var(--paper);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.area-item:hover { transform: translateX(4px); border-color: var(--mut-3); box-shadow: var(--shadow-sm); }
.area-item .t { font-size: .96rem; font-weight: 600; color: var(--ink); }
.area-item .s { font-size: .8rem; color: var(--mut-2); margin-top: 1px; }
.area-item .lucide { width: 17px; height: 17px; color: var(--mut-2); flex: none; }
.area-item--star { background: var(--ink); border-color: var(--ink); }
.area-item--star .t, .area-item--star .lucide { color: var(--paper); }
.area-item--star .s { color: var(--mut-3); }
.area-item--star:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   18. Reviews
   -------------------------------------------------------------------------- */
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review-stars { display: flex; gap: 3px; color: var(--ink); }
.review-stars .lucide { width: 15px; height: 15px; fill: currentColor; }
.review-card blockquote { margin: 0; font-size: .95rem; color: var(--ink-soft); flex: 1; }
.review-who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.review-who .ava {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  flex: none;
}
.review-who .n { font-size: .9rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; }
.review-who .l { font-size: .78rem; color: var(--mut-2); }
.lg-tag { display: inline-flex; color: var(--mut-2); }
.lg-tag i, .lg-tag svg { width: 13px; height: 13px; stroke-width: 2.25; }
.rating-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; justify-content: center; }
.rating-line .stars { display: flex; gap: 3px; color: var(--ink); }
.rating-line .stars .lucide { width: 16px; height: 16px; fill: currentColor; }
.rating-line .s { font-size: .88rem; color: var(--mut); font-weight: 500; }

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--mut); }
.faq-item summary .lucide {
  width: 19px; height: 19px; flex: none;
  color: var(--mut-2);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary .lucide { transform: rotate(45deg); }
.faq-a { padding: 0 4px 24px; font-size: .97rem; color: var(--mut); max-width: 660px; }
.faq-a a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-foot { text-align: center; margin-top: 36px; }

/* --------------------------------------------------------------------------
   20. Blog
   -------------------------------------------------------------------------- */
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--mut-3); }
.post-card .img-frame { aspect-ratio: 16 / 9.5; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--mut-2); }
.post-meta .lucide { width: 14px; height: 14px; }
.post-body h3 { font-size: 1.07rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; flex: 1; }
.post-body .arrow-link { font-size: .87rem; }

/* --------------------------------------------------------------------------
   21. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--d-bg);
  color: var(--d-mut);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/cta-bg.jpg") center / cover no-repeat;
  filter: brightness(.62) contrast(1.05);
  opacity: .16;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 120% at 15% 20%, rgba(12,12,14,.2), rgba(12,12,14,.92));
}
.cta-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(72px, 8vw, 108px);
}
.cta-in .eyebrow { color: var(--mut-3); }
.cta-in .eyebrow::before { background: var(--paper); }
.cta-in h2 {
  color: var(--paper);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.033em;
  line-height: 1.06;
}
.cta-right p { font-size: 1.04rem; color: var(--d-mut); max-width: 400px; }
.cta-right .btn-row { display: flex; gap: 13px; margin-top: 26px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
/* Dark footer — colours come only from the dark-section tokens (--d-*).
   Geometry: brand column 1.4fr, four link columns exactly 1fr each;
   every link column carries 2 headings + 13 links so all bottoms align. */
.site-footer { background: var(--d-bg); border-top: 1px solid var(--d-line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
  padding-block: clamp(56px, 6vw, 80px) 56px;
  align-items: start;
}
.footer-brand img { height: 30px; width: auto; }
.footer-brand .brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.footer-brand p { font-size: .9rem; color: var(--d-mut); margin-top: 20px; max-width: 300px; }
.footer-nap { display: grid; gap: 12px; margin-top: 24px; }
.footer-nap .row { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--d-mut); }
.footer-nap .row .lucide { width: 16px; height: 16px; color: var(--d-text); flex: none; margin-top: 3px; }
.footer-nap a { color: var(--d-mut); }
.footer-nap a:hover { color: var(--d-text); }
.footer-social { display: flex; gap: 10px; margin-top: 28px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--d-line);
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--d-text);
  background: var(--d-card);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--d-text); color: var(--d-bg); border-color: var(--d-text); transform: translateY(-2px); }
.footer-social .lucide { width: 17px; height: 17px; }

/* Google Business location map — full column width, below the social icons */
.footer-map {
  margin-top: 24px;
  max-width: 300px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--d-line);
  line-height: 0;
}
.footer-map iframe { width: 100%; height: 190px; border: 0; display: block; }

.footer-col h4 {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--d-text);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul + h4 { margin-top: 32px; }
.footer-col a { font-size: .89rem; color: var(--d-mut); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--d-text); }

.footer-bar {
  border-top: 1px solid var(--d-line);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: var(--d-mut);
}
.footer-bar nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bar a { color: var(--d-mut); }
.footer-bar a:hover { color: var(--d-text); }

/* --------------------------------------------------------------------------
   23. Floating WhatsApp — brand green, official glyph, pulse ring + nudge
   -------------------------------------------------------------------------- */
.wa-float-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-float {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 38px -8px rgba(37, 211, 102, .65), var(--shadow-md); }
.wa-float .wa-glyph { width: 31px; height: 31px; }

/* Expanding pulse ring — the classic attention cue */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  opacity: .4;
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%       { transform: scale(1);    opacity: .4; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

/* "Online" dot */
.wa-dot {
  position: absolute;
  top: 1px; right: 1px;
  width: 13px; height: 13px;
  border-radius: 999px;
  background: #4ade80;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* Nudge bubble — slides in after 3s, links to the same chat */
.wa-nudge {
  position: relative;
  max-width: 236px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px 14px 4px 14px;
  box-shadow: var(--shadow-lg);
  padding: 11px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transform: translateY(10px);
  animation: waNudgeIn .5s var(--ease) 3.2s forwards;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-nudge:hover { transform: translateY(-2px); }
@keyframes waNudgeIn { to { opacity: 1; transform: translateY(0); } }
.wa-nudge-t { font-size: .865rem; color: var(--mut); line-height: 1.45; }
.wa-nudge-t b { color: var(--ink); font-weight: 700; }
.wa-nudge-s {
  font-size: .74rem;
  color: var(--mut-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wa-nudge-s::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #22c55e;
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; display: none; }
  .wa-nudge { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .wa-nudge { display: none; } /* keep the thumb zone clear on phones */
  .wa-float { width: 56px; height: 56px; }
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1460px) {
  .nav-link { padding-inline: 9px; font-size: .875rem; }
}

@media (max-width: 1280px) {
  .nav-link { padding-inline: 7px; font-size: .845rem; }
  .header-in { gap: 16px; }
  .brand img { height: 34px; }
  .header-phone { display: none; } /* phone lives in the top bar */
  .lbl-full { display: none; }
  .lbl-short { display: inline; }
}

@media (max-width: 1120px) {
  .nav-link { padding-inline: 6px; font-size: .82rem; }
  .header-cta .btn--sm { padding: 9px 16px; font-size: .84rem; }
}

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-burger { display: inline-flex; }
  .header-phone { display: none; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-strip { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media .img-frame { aspect-ratio: 16 / 10; }
  .quote-panel { grid-template-columns: 1fr; }
  .quote-side { border-left: 0; border-top: 1px solid var(--line-soft); }
  .case-grid, .loc-grid, .cta-in { grid-template-columns: 1fr; }
  .case-media { order: -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .header-in { gap: 14px; min-height: 66px; }
  .brand img { height: 30px; }
  .header-cta { gap: 9px; }
  .header-cta .btn--sm { min-height: 42px; padding: 8px 14px; font-size: .82rem; }
  .nav-burger { width: 42px; height: 42px; }
  .mobile-nav { inset: 66px 0 0 0; }
  .grid-3, .grid-4, .why-grid, .steps-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust-in { justify-content: center; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bar { justify-content: center; text-align: center; }
  .sec-head--split { align-items: flex-start; flex-direction: column; }
  .hero-badge { left: 12px; bottom: 12px; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  /* Brand spans the full row; the 4 equal link columns form a clean 2×2 grid */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   25. About Orbit3D — video + counters
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.about-copy p { color: var(--mut); font-size: 1rem; }
.about-copy p + p { margin-top: 16px; }
.about-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-card .video-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,10,11,.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--paper);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.video-card .video-tag .lucide { width: 14px; height: 14px; }

.counters {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px 64px;
  margin-top: 0;
}
/* Counters sit directly under the hero — snug top, no oversized blank gap */
#stats.section--tight { padding-block: clamp(30px, 3.4vw, 46px) clamp(34px, 4vw, 54px); }
.counter {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.counter .n {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.counter .n sup { font-size: .55em; font-weight: 700; color: var(--ink); }
.counter .l {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mut-3);
}
@media (max-width: 640px) {
  .counters { flex-direction: column; align-items: center; gap: 22px; }
}

/* --------------------------------------------------------------------------
   26. Materials cards
   -------------------------------------------------------------------------- */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 34px;
}
.mat-card {
  --accent: #52525b;
  --accent-soft: rgba(82, 82, 91, .10);
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-height: 232px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  padding: 22px 20px 0;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* faint accent wash behind the product */
.mat-card::before {
  content: "";
  position: absolute;
  right: -28px; bottom: -44px;
  width: 66%; height: 82%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  z-index: 0;
  pointer-events: none;
}
.mat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mut-3); }

.mat-card-body {
  position: relative;
  z-index: 1;
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  padding-bottom: 22px;
}
.mat-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.mat-ic .lucide { width: 21px; height: 21px; }
.mat-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.mat-card p { font-size: .83rem; line-height: 1.5; color: var(--mut); margin-top: 6px; }
.mat-feats {
  list-style: none;
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mat-feats li { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.mat-feats .lucide { width: 15px; height: 15px; flex: none; color: var(--accent); stroke-width: 3; }

.mat-card-media {
  position: relative;
  z-index: 1;
  flex: 0 0 39%;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mat-card-media img {
  width: 100%;
  height: 100%;
  max-height: 214px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 18px rgba(8, 8, 10, .14));
  transition: transform .5s var(--ease);
}
.mat-card:hover .mat-card-media img { transform: translateY(-3px) scale(1.03); }

/* per-material accents */
.mat-card--pla          { --accent: #16a34a; --accent-soft: rgba(22, 163, 74, .10); }
.mat-card--nylon        { --accent: #2563eb; --accent-soft: rgba(37, 99, 235, .10); }
.mat-card--abs          { --accent: #7c3aed; --accent-soft: rgba(124, 58, 237, .10); }
.mat-card--resin        { --accent: #ea580c; --accent-soft: rgba(234, 88, 12, .10); }
.mat-card--carbon-fiber { --accent: #475569; --accent-soft: rgba(71, 85, 105, .12); }
.mat-card--tpu          { --accent: #0d9488; --accent-soft: rgba(13, 148, 136, .10); }

/* --------------------------------------------------------------------------
   27. Project gallery (dark masonry)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.gal-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  background: var(--d-card);
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.96) contrast(1.04);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.gal-item:hover img { filter: brightness(1); transform: scale(1.05); }
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,10,.78) 0%, rgba(8,8,10,0) 45%);
  opacity: .9;
  transition: opacity var(--dur) var(--ease);
}
.gal-cap {
  position: absolute;
  left: 16px; right: 16px; bottom: 13px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gal-cap .t { font-size: .86rem; font-weight: 600; color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.gal-cap .lucide {
  width: 15px; height: 15px; color: var(--paper);
  opacity: 0; transform: translateX(-4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  flex: none;
}
.gal-item:hover .gal-cap .lucide { opacity: 1; transform: translateX(0); }
.gal-item--w { grid-column: span 2; }
.gal-item--t { grid-row: span 2; }

/* --------------------------------------------------------------------------
   28. Estimate calculator
   -------------------------------------------------------------------------- */
.calc { display: grid; gap: 14px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-field { display: grid; gap: 7px; }
.calc-field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.calc-field select,
.calc-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font: inherit;
  font-size: .93rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.calc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.calc-field select:focus, .calc-field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,11,.08);
}
.calc .btn { width: 100%; }
.calc-result {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 15px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.calc-result .l { font-size: .84rem; font-weight: 600; color: var(--mut); }
.calc-result .v {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-result.is-error .v { font-size: .9rem; font-weight: 600; color: var(--mut); }
.calc-note { font-size: .78rem; color: var(--mut-2); }
.calc-note a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   29. Responsive — new sections
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .mat-grid { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gal-cap .t { font-size: .78rem; }
}

/* Right-anchored dropdowns so panels near the viewport edge never overflow */
.drop--right { left: auto; right: 0; transform: translate(0, 8px); }
.nav-item:hover .drop--right, .nav-item:focus-within .drop--right {
  transform: translate(0, 0);
}

/* Left-anchored wide mega (e.g. Services) so a multi-column panel near the left
   opens from the item's left edge instead of centring and clipping. */
.drop--left { left: 0; right: auto; transform: translate(0, 8px); }
.nav-item:hover .drop--left, .nav-item:focus-within .drop--left {
  transform: translate(0, 0);
}

/* Edge-anchored megas need an explicit width — an absolutely-positioned flex
   panel would otherwise collapse to its narrow containing block (the nav item)
   and stack every column. Fixed width keeps the columns side by side. */
.drop--mega.drop--left  { width: 800px; max-width: calc(100vw - 24px); }
.drop--mega.drop--left  > .drop-col { min-width: 178px; flex: 1 1 0; }
.drop--mega.drop--right { width: 480px; max-width: calc(100vw - 24px); }
.drop--mega.drop--right > .drop-col { min-width: 205px; flex: 1 1 0; }

/* Mobile nav & floating button — safe-area + scroll comfort */
.mobile-nav {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}
.wa-float-wrap { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }

/* --------------------------------------------------------------------------
   30. Full-image hero
   -------------------------------------------------------------------------- */
.hero--full {
  position: relative;
  overflow: hidden;
  background: var(--d-bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  /* keep the client's project photos visible — legibility comes from the
     left-side gradient + text shadows, not from darkening the whole image */
  filter: brightness(.85) contrast(1.05);
}
/* Rotating project-showcase background */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  opacity: 0;
  transform: scale(1.06);
  filter: brightness(.9) contrast(1.05);
  transition: opacity 1.4s var(--ease);
  will-change: opacity;
}
.hero-slide.is-active {
  opacity: 1;
  animation: heroKen 7.5s var(--ease) forwards;
}
@keyframes heroKen { from { transform: scale(1.06); } to { transform: scale(1.13); } }
.hero--full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* darker on the left for text legibility, clear on the right so the work shows */
  background:
    linear-gradient(90deg, rgba(8,8,10,.62) 0%, rgba(8,8,10,.36) 36%, rgba(8,8,10,.06) 70%, rgba(8,8,10,0) 100%),
    linear-gradient(to top, rgba(8,8,10,.42) 0%, rgba(8,8,10,0) 34%);
}
.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  z-index: 2;
  display: flex;
  gap: 9px;
}
.hero-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: width .35s var(--ease), background .35s var(--ease), border-radius .35s var(--ease);
}
.hero-dot:hover { background: rgba(255,255,255,.7); }
.hero-dot.is-active { width: 28px; border-radius: 5px; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .01s; }
  .hero-slide.is-active { animation: none; transform: none; }
}
/* On narrow screens the text spans full width — add an even veil so it stays crisp */
@media (max-width: 760px) {
  .hero--full::after {
    background:
      linear-gradient(90deg, rgba(8,8,10,.58) 0%, rgba(8,8,10,.42) 60%, rgba(8,8,10,.34) 100%),
      linear-gradient(to top, rgba(8,8,10,.48) 0%, rgba(8,8,10,0) 40%);
  }
  .hero-dots { bottom: 18px; }
}
.hero-full-in {
  position: relative;
  z-index: 1;
  min-height: clamp(560px, 74vh, 800px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 88px);
}
.hero--full .eyebrow { color: var(--mut-3); }
.hero--full .eyebrow::before { background: var(--paper); }
.hero--full h1 { color: var(--paper); max-width: 840px; text-shadow: 0 2px 22px rgba(0,0,0,.5); }
.hero--full h1 .h1-soft { color: rgba(255,255,255,.5); }
.hero--full .hero-copy { color: #e4e4e7; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero--full .hero-stats { border-top-color: rgba(255,255,255,.22); max-width: 660px; }
.hero--full .hero-stat .n { color: var(--paper); }
.hero--full .hero-stat .l { color: var(--mut-3); }

.hero-scroll-hint {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-scroll-hint .lucide { width: 15px; height: 15px; animation: hintDrop 1.8s var(--ease) infinite; }
@keyframes hintDrop {
  0%, 100% { transform: translateY(-3px); opacity: .5; }
  50%      { transform: translateY(3px);  opacity: 1; }
}

/* Feature strip band (now sits below the full-bleed hero) */
.feature-band { border-bottom: 1px solid var(--line-soft); }
.feature-band .feature-strip { padding-block: 30px; }

@media (max-width: 640px) {
  .hero-full-in { min-height: 78vh; }
  .hero-scroll-hint { display: none; }
}

/* --------------------------------------------------------------------------
   31. Lead-capture popup
   -------------------------------------------------------------------------- */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.lead-modal.open { display: block; }
body.lead-open { overflow: hidden; }

.lead-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,10,.64);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lead-box {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 32px));
  margin: max(5vh, 20px) auto;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px -24px rgba(0,0,0,.55);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  animation: leadIn .38s var(--ease);
}
@keyframes leadIn {
  from { opacity: 0; transform: translateY(26px) scale(.975); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .lead-box { animation: none; } }

.lead-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lead-close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.lead-close .lucide { width: 18px; height: 18px; }

.lead-side {
  position: relative;
  background: var(--d-bg);
  color: var(--d-mut);
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.lead-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/cta-bg.jpg") center / cover no-repeat;
  filter: brightness(.55);
  opacity: .18;
}
.lead-side > * { position: relative; }
.lead-side .eyebrow { color: var(--mut-3); }
.lead-side .eyebrow::before { background: var(--paper); }
.lead-side h3 {
  color: var(--paper);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.lead-perks { display: grid; gap: 12px; margin-top: 22px; }
.lead-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.lead-perks .lucide { width: 16px; height: 16px; color: var(--paper); flex: none; margin-top: 3px; }

.lead-form { padding: clamp(26px, 4vw, 40px); display: grid; gap: 14px; align-content: center; }
.lead-form .form-title { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.lead-note { font-size: .78rem; color: var(--mut-2); }
.lead-note a { font-weight: 600; color: var(--ink); }

@media (max-width: 760px) {
  .lead-box { grid-template-columns: 1fr; }
  .lead-side { display: none; }
}

/* --------------------------------------------------------------------------
   32. Contact page
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(44px, 6vw, 76px) clamp(36px, 5vw, 60px);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--mut-2);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--mut-2); font-weight: 500; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--mut-3); }
.breadcrumbs .cur { color: var(--ink); font-weight: 600; }
.page-hero h1 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.06;
}
.page-hero .sec-sub { max-width: 680px; }
.page-hero-chips { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3.5vw, 42px);
}
.contact-form-card h2 { font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; }
.contact-form-card .s { font-size: .92rem; color: var(--mut); margin-top: 6px; }
.contact-form { display: grid; gap: 14px; margin-top: 24px; }

.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px 22px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--mut-3); }
.contact-card .t { font-size: .98rem; font-weight: 700; color: var(--ink); }
.contact-card .s { font-size: .89rem; color: var(--mut); margin-top: 3px; line-height: 1.55; }
.contact-card a.s { display: inline-block; }
.contact-card a.s:hover { color: var(--ink); }

.map-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(380px, 46vw, 540px);
  border: 0;
  filter: contrast(1.04);
  transition: filter .5s var(--ease);
}
.map-wrap:hover iframe { filter: none; }
.map-card {
  position: absolute;
  top: 22px; left: 22px;
  max-width: 320px;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.map-card .t { font-family: var(--font-head); font-weight: 750; font-size: 1.02rem; color: var(--ink); }
.map-card .s { font-size: .85rem; color: var(--mut); margin-top: 6px; line-height: 1.55; }
.map-card .btn { margin-top: 14px; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .map-card { position: static; max-width: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; }
}

/* --------------------------------------------------------------------------
   33. Service pages
   -------------------------------------------------------------------------- */
.svc-hero {
  position: relative;
  overflow: hidden;
  background: var(--d-bg);
  color: var(--d-mut);
}
.svc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,.66) 0%, rgba(8,8,10,.4) 44%, rgba(8,8,10,.06) 82%, rgba(8,8,10,0) 100%),
    linear-gradient(to top, rgba(8,8,10,.36) 0%, rgba(8,8,10,0) 34%);
}
.svc-hero-in {
  position: relative;
  z-index: 1;
  padding-block: clamp(52px, 6.5vw, 92px) clamp(44px, 6vw, 80px);
}
.breadcrumbs--light, .breadcrumbs--light a { color: rgba(255,255,255,.55); }
.breadcrumbs--light a:hover { color: #fff; }
.breadcrumbs--light .sep { color: rgba(255,255,255,.3); }
.breadcrumbs--light .cur { color: #fff; }
.svc-hero .eyebrow { color: var(--mut-3); }
.svc-hero .eyebrow::before { background: var(--paper); }
.svc-hero h1 {
  color: var(--paper);
  text-shadow: 0 2px 22px rgba(0,0,0,.5);
  font-size: clamp(2.25rem, 4.3vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -.033em;
  line-height: 1.05;
  max-width: 800px;
}
.svc-hero h1 .h1-soft { display: block; color: rgba(255,255,255,.42); }
.svc-hero .sec-sub { color: #e4e4e7; max-width: 620px; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.svc-hero .hero-actions { margin-top: 30px; }
.svc-hero .hero-stats { border-top-color: rgba(255,255,255,.22); max-width: 640px; margin-top: 38px; }
.svc-hero .hero-stat .n { color: var(--paper); }
.svc-hero .hero-stat .l { color: var(--mut-3); }

/* Spec table */
.spec-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.spec-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 15px 20px;
  font-size: .92rem;
  vertical-align: top;
}
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--line-soft); }
.spec-table th {
  width: 38%;
  background: var(--paper-2);
  font-family: var(--font-head);
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
}
.spec-table td { color: var(--mut); }
.spec-note { margin-top: 14px; font-size: .82rem; color: var(--mut-2); }

@media (max-width: 1024px) {
  .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .spec-table th { white-space: normal; width: 42%; padding: 13px 14px; }
  .spec-table td { padding: 13px 14px; }
}

/* --------------------------------------------------------------------------
   34. Page archetypes — solutions hero, timeline, pricing, case hub, pros/cons
   -------------------------------------------------------------------------- */

/* Light split hero (Solutions pages) */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.page-hero-grid .img-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
}
.page-hero .hero-stats { margin-top: 34px; padding-top: 26px; }
/* About hero — brand logo panel in place of a photo */
.about-logo-frame {
  margin: 0;
  aspect-ratio: 4 / 3.2;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(30px, 5vw, 60px);
}
.about-logo-frame img { width: min(80%, 360px); height: auto; }
@media (max-width: 1024px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .about-logo-frame { aspect-ratio: 16 / 7; }
}

/* Vertical timeline (About) */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding: 0 0 34px 64px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .dot {
  position: absolute;
  left: 8px; top: 2px;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.tl-item .dot::after { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--ink); }
.tl-item .y {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.tl-item h3 { font-size: 1.06rem; font-weight: 700; margin-top: 2px; }
.tl-item p { font-size: .93rem; color: var(--mut); margin-top: 6px; max-width: 560px; }

/* Pricing cards (Cost guide) */
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mut-3); }
.price-card .tech { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mut-2); }
.price-card .amount {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.price-card .amount small { font-size: .55em; font-weight: 600; color: var(--mut-2); letter-spacing: 0; }
.price-card .for { font-size: .88rem; color: var(--mut); }
.price-card ul { display: grid; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.price-card li { display: flex; gap: 9px; font-size: .86rem; color: var(--mut); align-items: flex-start; }
.price-card li .lucide { width: 15px; height: 15px; color: var(--ink); flex: none; margin-top: 3px; }
.price-card--hi { border-color: var(--ink); box-shadow: var(--shadow-md); }
.price-card--hi .tech { color: var(--ink); }

/* Case-study hub */
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-chips .chip { cursor: pointer; }
.filter-chips .chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cs-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cs-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--mut-3); }
.cs-card .img-frame { aspect-ratio: 16 / 10; }
.cs-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.cs-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-meta span {
  font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; color: var(--mut-2);
}
.cs-body h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.cs-body .result { font-size: .89rem; color: var(--mut); flex: 1; }
.cs-card.hidden { display: none; }

/* Pros & cons (Technology pages) */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pc-col { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 28px 26px; }
.pc-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 700; margin-bottom: 18px; }
.pc-col h3 .lucide { width: 20px; height: 20px; }
.pc-col ul { display: grid; gap: 12px; }
.pc-col li { display: flex; gap: 11px; font-size: .93rem; color: var(--mut); align-items: flex-start; }
.pc-col li .lucide { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ink); }
.pc-col--con li .lucide { color: var(--mut-3); }
@media (max-width: 860px) { .pc-grid { grid-template-columns: 1fr; } }

/* Quick Answer card (AEO/GEO — answer-first, snippet-optimized, premium) */
/* Answer-first capsule — full width, question (H2) on the left, overview on the right */
.qa-box {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3.4vw, 34px) clamp(22px, 3.2vw, 34px);
  margin: 30px 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.65fr);
  gap: clamp(16px, 3vw, 28px) clamp(30px, 4.5vw, 64px);
  align-items: start;
}
/* subtle top accent hairline */
.qa-box::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(22px, 3.2vw, 34px); right: clamp(22px, 3.2vw, 34px);
  height: 2px;
  background: var(--ink);
  border-radius: 0 0 2px 2px;
}
/* legacy "Quick Answer" badge removed — hide if any remains */
.qa-badge, .qa-box .qa-label { display: none; }
.qa-q {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-family: 'Inter Tight', var(--font-display, sans-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.24;
  color: var(--ink);
}
.qa-box > p { grid-column: 2; margin: 0; font-size: 1.02rem; color: var(--ink-2); line-height: 1.66; }
.qa-box > p + p { margin-top: 12px; }
.qa-box p b, .qa-box p strong { color: var(--ink); font-weight: 650; }
@media (max-width: 760px) {
  .qa-box { grid-template-columns: 1fr; gap: 12px; padding: 22px 18px; border-radius: var(--radius-sm); }
  .qa-box > .qa-q, .qa-box > p { grid-column: 1; }
  .qa-box::before { left: 18px; right: 18px; }
}

/* Emirates coverage grid (UAE page) */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1024px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   35. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.lucide { stroke-width: 1.75; }

/* --------------------------------------------------------------------------
   36. Blog post layout (Blueprint A6/B12)
   -------------------------------------------------------------------------- */
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 22px; font-size: .88rem; color: var(--mut);
}
.post-meta .pm-item { display: inline-flex; align-items: center; gap: 8px; }
.post-meta .pm-item i { width: 15px; height: 15px; color: var(--mut-2); }
.post-meta .pm-author { font-weight: 600; color: var(--ink-2); }

.post-parent {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); padding: 14px 20px; margin: 26px 0 0;
  max-width: 780px; font-size: .9rem; color: var(--mut);
}
.post-parent i { width: 16px; height: 16px; color: var(--mut-2); flex: none; }
.post-parent a { font-weight: 650; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.post-parent a:hover { text-decoration-thickness: 2px; }

.post-body { max-width: 780px; }
.post-body h2 {
  font-family: var(--font-display, 'Inter Tight', sans-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700;
  letter-spacing: -.02em; margin: 42px 0 14px;
}
.post-body h3 { font-size: 1.08rem; font-weight: 700; margin: 28px 0 10px; }
.post-body p { font-size: 1rem; line-height: 1.75; color: var(--ink-2); margin: 0 0 16px; }
.post-body ul, .post-body ol { margin: 0 0 18px 22px; }
.post-body li { font-size: .98rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }
.post-body li::marker { color: var(--mut-2); }
.post-body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { text-decoration-thickness: 2px; }
.post-body b, .post-body strong { color: var(--ink); }
.post-fig { margin: 30px 0; max-width: 780px; }
.post-fig img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.post-fig figcaption { font-size: .82rem; color: var(--mut-2); margin-top: 10px; }

/* Featured (evergreen flagship) blog cards */
.cs-card--feat { border-color: var(--ink); }
.cs-card--feat .cs-body { position: relative; }
.cs-card--feat .cs-meta span:first-child { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   37. HTML Sitemap
   -------------------------------------------------------------------------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.sitemap-col h2 {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mut-2); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.sitemap-col ul { list-style: none; margin: 0; padding: 0; }
.sitemap-col li { margin-bottom: 9px; }
.sitemap-col a { font-size: .95rem; color: var(--ink-2); text-decoration: none; transition: color var(--dur) var(--ease); }
.sitemap-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sitemap-grid { grid-template-columns: 1fr; gap: 30px; } }

/* --------------------------------------------------------------------------
   40. Industries showcase — 3D coverflow deck over the ghost icon mark
   -------------------------------------------------------------------------- */
.ind-showcase { overflow: clip; }
.ind-showcase .sec-head { margin-bottom: 0; }

.ind-cf {
  --cfw: clamp(240px, 22vw, 320px);     /* card width; height = 1.5x */
  position: relative;
  margin-top: clamp(26px, 3.4vw, 42px);
}

/* Ghost Orbit3D icon mark behind the deck */
.ind-mark {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(320px, 42vw, 640px);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: invert(1);            /* white mark -> ink on the light section */
  mix-blend-mode: multiply;
  opacity: .08;
}

/* Stage — without JS (or with reduced motion) it falls back to a scroll row */
.ind-cf-stage {
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 24px 20px;
  -webkit-overflow-scrolling: touch;
}

.ind-cf-card {
  position: relative;
  flex: none;
  width: var(--cfw);
  aspect-ratio: 1 / 1.5;                /* portrait, h = 1.5 x w */
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: 0 24px 50px -22px rgba(8,8,10,.38);
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ind-cf-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 1.1s var(--ease);
}
.ind-cf-card.is-center:hover img { transform: scale(1.05); }
.ind-cf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,10,.8) 0%, rgba(8,8,10,.16) 44%, rgba(8,8,10,0) 64%);
}

.ind-cf-cap {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--paper);
}
.ind-cf-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.ind-cf-title .lucide { width: 19px; height: 19px; flex: none; }
.ind-cf-desc {
  font-size: .875rem;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.ind-cf-go {
  width: 42px; height: 42px;
  margin-top: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease) .2s, transform .55s var(--ease) .2s,
              background .3s var(--ease), color .3s var(--ease);
}
.ind-cf-go .lucide { width: 17px; height: 17px; }
.ind-cf-card.is-center .ind-cf-go { opacity: 1; transform: none; }
.ind-cf-card.is-center:hover .ind-cf-go { background: var(--paper); color: var(--ink); }

/* --- Coverflow mode (JS adds .is-ready) ---------------------------------- */
.ind-cf.is-ready .ind-cf-stage {
  display: block;
  overflow: visible;
  height: calc(var(--cfw) * 1.5 + 24px);
  padding: 0;
  perspective: 1900px;
  touch-action: pan-y;
}
.ind-cf.is-ready .ind-cf-card {
  position: absolute;
  left: 50%; top: 50%;
  cursor: pointer;
  will-change: transform, opacity, filter;
  transition: transform .85s cubic-bezier(.25, .72, .2, 1),
              opacity .85s var(--ease),
              filter .85s var(--ease),
              box-shadow .85s var(--ease);
}
.ind-cf.is-ready .ind-cf-card.is-teleport { transition: none !important; }

.ind-cf.is-ready .ind-cf-card[data-pos="0"] {
  transform: translate(-50%, -50%) scale(1);
  z-index: 9;
  box-shadow: 0 34px 80px -26px rgba(8,8,10,.5);
}
.ind-cf.is-ready .ind-cf-card[data-pos="1"],
.ind-cf.is-ready .ind-cf-card[data-pos="-1"] { z-index: 8; }
.ind-cf.is-ready .ind-cf-card[data-pos="1"]  { transform: translate(-50%, -50%) translateX(97%)  rotateY(-7deg)  scale(.84); }
.ind-cf.is-ready .ind-cf-card[data-pos="-1"] { transform: translate(-50%, -50%) translateX(-97%) rotateY(7deg)   scale(.84); }
.ind-cf.is-ready .ind-cf-card[data-pos="2"],
.ind-cf.is-ready .ind-cf-card[data-pos="-2"] { z-index: 7; opacity: .96; }
.ind-cf.is-ready .ind-cf-card[data-pos="2"]  { transform: translate(-50%, -50%) translateX(178%)  rotateY(-10deg) scale(.7); }
.ind-cf.is-ready .ind-cf-card[data-pos="-2"] { transform: translate(-50%, -50%) translateX(-178%) rotateY(10deg)  scale(.7); }
.ind-cf.is-ready .ind-cf-card[data-pos="3"],
.ind-cf.is-ready .ind-cf-card[data-pos="-3"] { z-index: 6; opacity: .5; filter: blur(2px); }
.ind-cf.is-ready .ind-cf-card[data-pos="3"]  { transform: translate(-50%, -50%) translateX(246%)  rotateY(-12deg) scale(.58); }
.ind-cf.is-ready .ind-cf-card[data-pos="-3"] { transform: translate(-50%, -50%) translateX(-246%) rotateY(12deg)  scale(.58); }
.ind-cf.is-ready .ind-cf-card[data-pos="4"],
.ind-cf.is-ready .ind-cf-card[data-pos="-4"] { z-index: 1; opacity: 0; pointer-events: none; }
.ind-cf.is-ready .ind-cf-card[data-pos="4"]  { transform: translate(-50%, -50%) translateX(300%)  rotateY(-12deg) scale(.5); }
.ind-cf.is-ready .ind-cf-card[data-pos="-4"] { transform: translate(-50%, -50%) translateX(-300%) rotateY(12deg)  scale(.5); }

/* Arrows + progress dots */
.ind-cf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.ind-cf-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.ind-cf-arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: scale(1.07); }
.ind-cf-arrow:active { transform: scale(.96); }
.ind-cf-arrow .lucide { width: 19px; height: 19px; }
.ind-cf-dots { display: flex; align-items: center; gap: 7px; }
.ind-cf-dot {
  width: 26px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--line);
  cursor: pointer;
  transition: width .5s cubic-bezier(.25, .72, .2, 1), background .35s var(--ease);
}
.ind-cf-dot:hover { background: var(--ink-3); }
.ind-cf-dot.is-active { width: 46px; background: var(--ink); }

.ind-cf-foot { margin-top: 30px; display: flex; justify-content: center; }

@media (max-width: 900px) {
  .ind-cf { --cfw: clamp(216px, 33vw, 292px); }
  .ind-mark { width: clamp(260px, 54vw, 460px); }
}
@media (max-width: 640px) {
  .ind-cf { --cfw: min(64vw, 276px); }
  .ind-cf-arrow { width: 40px; height: 40px; }
  .ind-cf-nav { margin-top: 20px; }
  .ind-cf.is-ready .ind-cf-card[data-pos="3"],
  .ind-cf.is-ready .ind-cf-card[data-pos="-3"] { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-cf-card img, .ind-cf-go { transition: none; }
}

/* --------------------------------------------------------------------------
   41. Instagram feed marquee
   -------------------------------------------------------------------------- */
.ig-section { overflow: clip; border-top: 1px solid var(--line-soft); }
.ig-follow { flex: none; }
.ig-follow .lucide { width: 17px; height: 17px; }

.ig-marquee {
  position: relative;
  margin-top: clamp(10px, 2vw, 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  padding-block: 10px;
}
.ig-track {
  display: flex;
  width: max-content;
  animation: igScroll 70s linear infinite;
  will-change: transform;
}
.ig-marquee:hover .ig-track,
.is-paused .ig-track { animation-play-state: paused; }
@keyframes igScroll { to { transform: translateX(-50%); } }

.ig-reel { display: flex; gap: 18px; padding-right: 18px; }

.ig-card {
  flex: none;
  width: clamp(240px, 20vw, 296px);   /* 4-5 in view on desktop */
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ig-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--mut-3); }

.ig-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
}
.ig-ava {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.ig-ava img { width: 15px; height: auto; }
.ig-who { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.ig-who b { font-size: .8rem; font-weight: 700; color: var(--ink); }
.ig-who span { font-size: .68rem; color: var(--mut-2); }
.ig-glyph { width: 16px; height: 16px; color: var(--mut-2); flex: none; }

.ig-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: block; }
.ig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-card:hover .ig-media img { transform: scale(1.05); }
.ig-view {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(10,10,11,.44);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.ig-view .lucide { width: 16px; height: 16px; }
.ig-card:hover .ig-view { opacity: 1; }

.ig-foot { padding: 11px 13px 14px; display: flex; flex-direction: column; gap: 8px; }
.ig-actions { display: flex; gap: 13px; color: var(--ink); }
.ig-actions .lucide { width: 17px; height: 17px; }
.ig-cap {
  font-size: .78rem;
  color: var(--mut);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ig-cap b { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .ig-card { width: clamp(230px, 38vw, 300px); }     /* ~2.5 in view */
}
@media (max-width: 640px) {
  .ig-card { width: min(80vw, 330px); }              /* 1 (+peek) in view */
  .ig-section .sec-head--split .btn { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-track { animation: none; }
  .ig-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* --------------------------------------------------------------------------
   42. Project gallery — dual opposing auto-scroll marquee rows
   -------------------------------------------------------------------------- */
#gallery { overflow: clip; }

.gm-rows {
  margin-top: clamp(30px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.gm-row { overflow: hidden; }
.gm-track {
  display: flex;
  width: max-content;
  animation: gmScroll 64s linear infinite;
  will-change: transform;
}
.gm-row--a .gm-track { animation-duration: 58s; animation-direction: reverse; } /* left -> right */
.gm-row--b .gm-track { animation-duration: 72s; }                               /* right -> left */
.gm-row:hover .gm-track,
.is-paused .gm-track { animation-play-state: paused; }
@keyframes gmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gm-reel {
  display: flex;
  gap: clamp(14px, 1.5vw, 20px);
  padding-right: clamp(14px, 1.5vw, 20px);
}
.gm-card {
  position: relative;
  flex: none;
  width: clamp(280px, 26vw, 400px);
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: #17171b;
  text-decoration: none;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.7);
}
.gm-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gm-card:hover img { transform: scale(1.06); }
/* No caption overlay — keep project images fully clear (descriptions live in alt text) */
.gm-card::after { display: none; }
.gm-cap {
  position: absolute;
  left: 16px; right: 14px; bottom: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.gm-cap .t {
  flex: 1;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(.9rem, 1.05vw, 1.02rem);
  letter-spacing: -.01em;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.gm-cap .lucide {
  width: 32px; height: 32px;
  padding: 7px;
  flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gm-card:hover .gm-cap .lucide { background: #fff; color: #111; transform: translate(2px, -2px); }

@media (max-width: 900px) { .gm-card { width: clamp(230px, 60vw, 320px); } }
@media (max-width: 640px) { .gm-card { width: min(78vw, 340px); } }
@media (prefers-reduced-motion: reduce) {
  .gm-track { animation: none; }
  .gm-row { overflow-x: auto; }
  .gm-rows { -webkit-mask-image: none; mask-image: none; }
}

/* Award / trophy variant — same continuous flow, images only (no captions),
   each piece shown WHOLE on a light card (contain, never cropped top/bottom) */
.gm-rows--awards .gm-card {
  width: clamp(200px, 18vw, 260px);
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gm-rows--awards .gm-card img { object-fit: contain; padding: 14px; }
.gm-rows--awards .gm-card::after { display: none; }
@media (max-width: 900px) { .gm-rows--awards .gm-card { width: clamp(180px, 46vw, 240px); } }

/* --------------------------------------------------------------------------
   43. Global Reach — dotted GCC/MENA map with animated delivery arcs
   -------------------------------------------------------------------------- */
.reach .sec-head { margin-bottom: clamp(20px, 3vw, 36px); }
/* Full-bleed world map: .reach-map is a direct section child (outside .container) */
.reach-map { position: relative; }
.reach-viewport { overflow: hidden; max-width: 1620px; margin-inline: auto; }
.reach-svg {
  width: 100%; height: auto; display: block;
  -webkit-mask-image: radial-gradient(115% 100% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(115% 100% at 50% 50%, #000 72%, transparent 100%);
}

/* Arcs draw from the Dubai hub, hold, then fade — light lines, staggered via --rd */
.reach-arc {
  fill: none;
  stroke: var(--mut-3);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: reachDraw 6.5s cubic-bezier(.4, 0, .2, 1) infinite;
  animation-delay: var(--rd, 0s);
}
@keyframes reachDraw {
  0%       { stroke-dashoffset: 1; opacity: 0; }
  8%       { opacity: .6; }
  42%      { stroke-dashoffset: 0; opacity: .6; }
  68%      { stroke-dashoffset: 0; opacity: .6; }
  84%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Destination spots — small muted node + pulse ring + hover-grow label */
.reach-spot { cursor: default; }
.reach-spot .hit { fill: transparent; }
.reach-spot .core { fill: var(--mut); transition: fill var(--dur) var(--ease); }
.reach-spot .ring {
  fill: none;
  stroke: var(--mut-3);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: reachPulse 2.8s ease-out infinite;
  animation-delay: var(--rd, 0s);
}
.reach-spot:hover .core { fill: var(--ink); }
@keyframes reachPulse {
  0%        { transform: scale(.35); opacity: .7; }
  75%, 100% { transform: scale(2.1); opacity: 0; }
}

/* Country labels — tiny by default, grow a little on spot hover */
.reach-label {
  font: 600 9px var(--font-body);
  letter-spacing: .13em;
  fill: var(--mut-2);
  paint-order: stroke;
  stroke: var(--paper-2);
  stroke-width: 3px;
  transition: font-size var(--dur) var(--ease), fill var(--dur) var(--ease);
}
.reach-spot:hover .reach-label { font-size: 14px; fill: var(--ink); }

/* Dubai hub — Orbit3D mark on an ink chip + double pulse */
.reach-hub .hub-chip { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.reach-hub .ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: reachPulse 3.2s ease-out infinite;
}
.reach-hub .ring--2 { animation-delay: 1.6s; }

/* UAE chip + leader line */
.reach-chip line { stroke: var(--ink); stroke-width: 1.3; }
.reach-chip rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; }
.reach-chip text {
  font: 700 15px var(--font-body);
  letter-spacing: .1em;
  fill: var(--ink);
  text-anchor: middle;
}

/* Floating stat cards over the map */
.reach-stats { display: contents; }
.reach-stat {
  position: absolute;
  max-width: 250px;
  padding: 16px 20px;
  display: grid;
  gap: 5px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(0 0 0 / .06);
}
.reach-stat strong {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
}
.reach-stat span { font-size: .85rem; color: var(--mut); line-height: 1.45; }
.reach-stat--l { left: clamp(8px, 3vw, 44px); top: 40%; }
.reach-stat--r { right: clamp(8px, 3vw, 44px); top: 14%; }

/* Coverage chips under the map */
.reach-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(18px, 3vw, 30px);
}
.reach-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-2);
}
.reach-tags li .lucide { width: 15px; height: 15px; }
.reach-tags li.is-hq { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.reach-tags li.is-soft { color: var(--mut); }

/* Tablet/mobile: zoom the world map into the Dubai→Morocco corridor
   (Dubai sits at 65.35% of the viewBox width — offsets keep it centred) */
/* Tablet/mobile: gentle zoom keeping the Dubai→Morocco corridor centred
   (corridor midpoint ≈ 54.3% across the viewBox) */
@media (max-width: 900px) {
  .reach-svg { width: 120%; margin-left: -14.8%; }
  .reach-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; padding-inline: var(--gutter); }
  .reach-stat { position: static; max-width: none; box-shadow: none; backdrop-filter: none; background: var(--paper); }
}
@media (max-width: 640px) {
  .reach-svg { width: 135%; margin-left: -22.9%; }
  .reach-label, .reach-chip { display: none; }
}
@media (max-width: 520px) {
  .reach-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reach-arc { animation: none; stroke-dashoffset: 0; opacity: .5; }
  .reach-spot .ring, .reach-hub .ring { animation: none; opacity: 0; }
}

/* ── Author box (blog posts, E-E-A-T) ─────────────────────────────── */
.author-box{max-width:820px;margin:34px auto 0;padding:20px 22px;background:var(--paper-2,#fafafa);border:1px solid var(--line,#e4e4e7);border-radius:14px}
.author-box-head{display:flex;align-items:center;gap:8px;font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3,#71717a);margin-bottom:10px}
.author-box-head .lucide{width:15px;height:15px}
.author-box p{margin:0;font-size:.95rem;line-height:1.65;color:var(--ink-2,#3f3f46)}
.author-box-links{display:block;margin-top:8px;font-weight:500}
.author-box-links a{text-decoration:underline;text-underline-offset:3px}
