/* ==========================================================================
   Digitimos — design tokens
   ========================================================================== */
:root {
  --ink: #050814;
  --navy: #14133A;
  --purple: #23225F;
  --blue: #1B82D4;
  --cyan: #3DB3E6;
  --bg: #F5F7FB;
  --text: #14133A;
  --muted: #5B5F7A;
  --border: #E3E7F0;
  --field-border: #D5DBE7;
  --faint: #8A8FA8;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { font-size: 17px; line-height: 1.6; overflow-x: clip; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--purple); }

input, textarea, select, button { font-family: inherit; }

h1, h2, h3 { font-family: 'Lexend', sans-serif; margin: 0; }

img { max-width: 100%; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--cyan { color: var(--cyan); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes dg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dg-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes dg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dg-drift {
  0% { background-position: 50% 50%; background-size: 115% auto; }
  50% { background-position: 60% 45%; background-size: 130% auto; }
  100% { background-position: 50% 50%; background-size: 115% auto; }
}
@keyframes dg-blur-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(14px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

.rise { animation: dg-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise-1 { animation-delay: .1s; }
.rise-2 { animation-delay: .2s; }
.rise-3 { animation-delay: .3s; }
.rise-4 { animation-delay: .45s; }

.blur-in { animation: dg-blur-in .9s cubic-bezier(.2,.7,.2,1) both; }
.blur-in-1 { animation-delay: .15s; }
.blur-in-2 { animation-delay: .3s; }
.blur-in-3 { animation-delay: .45s; }
.blur-in-4 { animation-delay: .6s; }
.blur-in-5 { animation-delay: .7s; }
@media (prefers-reduced-motion: reduce) {
  .blur-in { opacity: 1; filter: none; transform: none; animation: none; }
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20,19,58,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand img { height: 56px; width: auto; display: block; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  transition: background .2s, color .2s;
}
.nav-desktop a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-desktop a.active { color: #fff; background: rgba(255,255,255,.1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-call:hover { background: #fff; transform: translateY(-1px); color: var(--navy); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: var(--navy);
  padding: 8px clamp(20px,5vw,64px) 24px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
  animation: dg-fade .25s ease;
}
.mobile-menu a {
  padding: 14px 4px;
  font-family: 'Lexend', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a.active { color: #fff; }
.mobile-menu .btn-call {
  margin-top: 16px;
  justify-content: center;
  font-size: 16px;
}
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-desktop, .header-actions .btn-call { display: none; }
  .menu-btn { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: clip;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.hero__glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 15% -5%, rgba(35,34,95,.65), transparent 68%),
    radial-gradient(ellipse 55% 60% at 50% 5%, rgba(27,130,212,.5), transparent 68%),
    radial-gradient(ellipse 55% 60% at 85% -5%, rgba(61,179,230,.55), transparent 68%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 900px;
  min-width: 0;
  margin: 0 auto -120px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
@media (max-width: 860px) { .hero__inner { margin-bottom: 24px; } }

.hero h1 .accent { color: var(--cyan); }

/* ---- Scroll-driven 3D installation gallery ----
   Runs at every viewport size; only prefers-reduced-motion disables it.
   Perspective is scaled down (a larger px value = a flatter, calmer tilt)
   and fewer images are shown per column on narrower screens, since the
   same 1600px perspective/12-images-deep column that reads as a subtle
   tilt on a wide desktop reads as an extreme, cropped warp on a phone. */
.hero-gallery { position: relative; height: 300vh; }
@media (prefers-reduced-motion: reduce) { .hero-gallery { height: auto; } }
.hero-gallery__sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .hero-gallery__sticky { position: static; height: auto; }
}
.hero-gallery__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 1600px;
  perspective-origin: center top;
  display: flex;
  align-items: flex-start;
}
@media (max-width: 860px) { .hero-gallery__viewport { perspective: 2400px; } }
@media (max-width: 480px) { .hero-gallery__viewport { perspective: 3200px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-gallery__viewport { height: auto; overflow: visible; perspective: none; padding: 24px 0; }
}
.hero-gallery__grid {
  position: relative;
  width: 100%;
  padding: 0 clamp(8px, 2vw, 32px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 22px);
  border-radius: 16px;
  transform-style: preserve-3d;
  transform-origin: 50% 0%;
  transform: rotateX(55deg) scale(1.3);
}
@media (prefers-reduced-motion: reduce) { .hero-gallery__grid { transform: none; } }
.hero-gallery__col { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 22px); }
.hero-gallery__col--mid { margin-top: 34%; }
@media (prefers-reduced-motion: reduce) {
  .hero-gallery__col { transform: none !important; margin-top: 0 !important; }
}
.hero-gallery__col img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 40%;
  border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
/* Fewer images per column on narrower screens — shortens the scroll-jack
   distance and keeps each remaining photo readable rather than a sliver. */
@media (max-width: 860px) {
  .hero-gallery__col img:nth-child(n+9) { display: none; }
}
@media (max-width: 480px) {
  .hero-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hero-gallery__col:nth-child(3) { display: none; }
  .hero-gallery__col img:nth-child(n+7) { display: none; }
}
.hero-gallery__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20,19,58,0), var(--navy));
}
@media (prefers-reduced-motion: reduce) { .hero-gallery__fade { display: none; } }

.pillar-cards-wrap {
  position: relative; z-index: 5;
  display: flex; justify-content: center;
  padding: 0 clamp(20px, 5vw, 64px) clamp(56px, 9vw, 112px);
}

.kicker {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
  max-width: 100%;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 600;
}

.hero h1 {
  font-weight: 600;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero p {
  margin: 0;
  max-width: 640px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  text-wrap: pretty;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); background: #fff; color: var(--navy); }
.btn-ghost-light {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }
.btn-outline-dark { border: 1px solid #C9D0DF; color: var(--navy); background: transparent; }
.btn-outline-dark:hover { border-color: var(--navy); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.25); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-outline-cta { border: 1px solid rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn-outline-cta:hover { background: rgba(255,255,255,.12); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 4px;
}
.hero__stat { display: flex; align-items: baseline; gap: 8px; }
.hero__stat .num {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: #fff;
}
.hero__stat .label {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.hero__stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,.2); }

.pillar-cards {
  margin-top: clamp(16px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 860px;
}
.pillar-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 22px 24px; border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background .25s, transform .25s;
}
.pillar-card:hover { background: rgba(61,179,230,.16); transform: translateY(-3px); color: #fff; }
.pillar-card .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.pillar-card .title { font-family: 'Lexend', sans-serif; font-size: 22px; font-weight: 500; }
.pillar-card .desc { font-size: 15px; color: rgba(255,255,255,.7); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-section {
  background: var(--navy); color: #fff; padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.marquee-label {
  max-width: 1240px; margin: 0 auto 18px; padding: 0 clamp(20px,5vw,64px);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); text-align: center;
}
.marquee-mask {
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; width: max-content; gap: 40px; padding-right: 40px;
  animation: dg-marquee 50s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 500; letter-spacing: .01em;
  color: rgba(255,255,255,.85); white-space: nowrap;
}
.marquee-track span .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; overflow-x: auto; } }

/* ==========================================================================
   Sections / generic
   ========================================================================== */
section.pad { padding: clamp(72px, 10vw, 128px) clamp(20px,5vw,64px); }
section.pad-top-0 { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-weight: 600; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 16px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; text-wrap: pretty; }

/* ==========================================================================
   Two pillars
   ========================================================================== */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.pillar-panel {
  border-radius: 24px; padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
  transition: box-shadow .3s, transform .3s;
}
.pillar-panel--light { background: #fff; border: 1px solid var(--border); }
.pillar-panel--light:hover { box-shadow: 0 24px 60px -30px rgba(20,19,58,.35); transform: translateY(-4px); }
.pillar-panel--dark { background: var(--purple); color: #fff; }
.pillar-panel--dark:hover { box-shadow: 0 24px 60px -30px rgba(20,19,58,.6); transform: translateY(-4px); }

.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.icon-badge--light { background: #E8F4FC; color: var(--blue); }
.icon-badge--dark { background: rgba(255,255,255,.1); color: var(--cyan); }

.pillar-panel h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.pillar-panel p { margin: 0; text-wrap: pretty; }
.pillar-panel--light p { color: var(--muted); }
.pillar-panel--dark p { color: rgba(255,255,255,.72); }

.dot-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.pillar-panel--light .dot-list { color: #23225F; }
.pillar-panel--dark .dot-list { color: rgba(255,255,255,.88); }
.dot-list li { display: flex; gap: 10px; align-items: flex-start; }
.dot-list .dot { flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.pillar-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; transition: gap .2s, color .2s; }
.pillar-panel--light .pillar-link { color: var(--blue); }
.pillar-panel--light .pillar-link:hover { gap: 12px; color: var(--purple); }
.pillar-panel--dark .pillar-link { color: var(--cyan); }
.pillar-panel--dark .pillar-link:hover { gap: 12px; color: #fff; }

/* ==========================================================================
   Facts strip
   ========================================================================== */
.facts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}
.fact-cell { background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.fact-cell .title { font-family: 'Lexend', sans-serif; font-size: 22px; font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
.fact-cell .body { color: var(--muted); font-size: 15px; text-wrap: pretty; }

/* ==========================================================================
   Featured projects (home)
   ========================================================================== */
.section-dark { background: var(--navy); color: #fff; }
.section-flex-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-flex-head .lede { max-width: 640px; }
.section-flex-head h2 { font-weight: 600; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }

.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.featured-card {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background: var(--purple); color: #fff;
}
.featured-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.featured-card:hover img { transform: scale(1.05); }
.featured-card .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,20,.85) 0%, rgba(5,8,20,0) 55%); }
.featured-card .info { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.featured-card .info .industry { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.featured-card .info .client { font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 500; }
.featured-card .info .desc { font-size: 14px; color: rgba(255,255,255,.7); }

/* ==========================================================================
   Industries (home + services)
   ========================================================================== */
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.industries-sticky { position: sticky; top: 100px; }
@media (max-width: 860px) { .industries-sticky { position: static; } }
.industries-sticky p { margin: 0 0 28px; color: var(--muted); font-size: 18px; text-wrap: pretty; }

.industry-list { display: grid; gap: 12px; }
.industry-row {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  padding: 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  transition: border-color .25s, transform .25s;
}
.industry-row:hover { border-color: var(--cyan); transform: translateX(6px); }
.industry-row .num { font-family: 'Lexend', sans-serif; font-size: 14px; font-weight: 600; color: var(--blue); padding-top: 4px; }
.industry-row .title { font-family: 'Lexend', sans-serif; font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.industry-row .body { color: var(--muted); font-size: 15px; text-wrap: pretty; }

.industries-simple-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.industry-card { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.industry-card .title { font-family: 'Lexend', sans-serif; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.industry-card .body { color: var(--muted); font-size: 15px; text-wrap: pretty; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.faq-head h2 { font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .25s; }
.faq-item.open { border-color: var(--cyan); }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; padding: 20px 24px; background: transparent; border: 0; cursor: pointer;
  font-family: 'Lexend', sans-serif; font-size: 18px; font-weight: 500; color: var(--navy);
}
.faq-item .plus {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: #E8F4FC; color: var(--blue);
  display: grid; place-items: center; font-size: 18px; transition: transform .3s;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-item .answer { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 16px; text-wrap: pretty; animation: dg-fade .3s ease; }
.faq-item.open .answer { display: block; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  max-width: 1240px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 28px;
  background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; background: url('../assets/hero.jpg') center / cover; opacity: .55; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,8,20,.9), rgba(5,8,20,.55)); }
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-weight: 600; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.cta-band p { margin: 0; color: rgba(255,255,255,.75); font-size: 18px; }
.cta-band__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   Page hero band (Services / Projects / Contact)
   ========================================================================== */
.page-hero { background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 120px) clamp(20px,5vw,64px) clamp(56px, 7vw, 96px); }
.page-hero--projects { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero h1 { margin: 0 0 20px; max-width: 900px; font-weight: 600; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.page-hero p { margin: 0; max-width: 640px; font-size: 19px; color: rgba(255,255,255,.72); }

/* ==========================================================================
   Services page
   ========================================================================== */
.services-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: end; margin-bottom: 44px; }
.services-head p { margin: 0; font-size: 17px; text-wrap: pretty; }
.services-head h2 { font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.section-dark .services-head p { color: rgba(255,255,255,.72); }
.pad .services-head p { color: var(--muted); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, box-shadow .25s;
}
.service-card:hover { border-color: var(--cyan); box-shadow: 0 20px 50px -30px rgba(20,19,58,.35); }
.service-card .num { font-family: 'Lexend', sans-serif; font-size: 13px; font-weight: 600; color: var(--blue); }
.service-card .title { font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.service-card .body { color: var(--muted); font-size: 15px; text-wrap: pretty; }

.section-purple { background: var(--purple); color: #fff; }
.dt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.dt-card {
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.04);
  transition: background .25s;
}
.dt-card:hover { background: rgba(61,179,230,.12); }
.dt-card .title { font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.dt-card .tags { font-size: 13px; letter-spacing: .04em; color: var(--cyan); font-weight: 600; }
.dt-card .body { color: rgba(255,255,255,.72); font-size: 15px; text-wrap: pretty; }

.advantages-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.advantage { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.85); }
.advantage .check {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan); color: var(--navy);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px;
}
.advantage strong { color: #fff; font-weight: 600; }

/* ---- AI & Workflow Automation (Services page, within Pillar 02) ---- */
.automation-divider {
  margin-top: clamp(56px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgba(255,255,255,.14);
  margin-bottom: 32px;
}
.automation-divider .services-head { margin-bottom: 0; }
.automation-divider h3 {
  margin: 0; font-weight: 600; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance;
}
.automation-divider p { margin: 0; color: rgba(255,255,255,.72); font-size: 17px; text-wrap: pretty; }

.automation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.automation-card {
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.04); transition: background .25s;
}
.automation-card:hover { background: rgba(61,179,230,.12); }
.automation-card .num { font-family: 'Lexend', sans-serif; font-size: 13px; font-weight: 600; color: var(--cyan); }
.automation-card .title { font-family: 'Lexend', sans-serif; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.automation-card .body { color: rgba(255,255,255,.72); font-size: 15px; text-wrap: pretty; }

.automation-steps { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.automation-step {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 20px; border-radius: 16px; background: rgba(5,8,20,.35);
}
.automation-step .num { font-family: 'Lexend', sans-serif; font-size: 13px; font-weight: 600; color: var(--cyan); padding-top: 3px; }
.automation-step .title { font-family: 'Lexend', sans-serif; font-size: 16px; font-weight: 500; margin-bottom: 2px; }
.automation-step .body { color: rgba(255,255,255,.65); font-size: 14px; text-wrap: pretty; }

.automation-uses-wrap { margin-top: 32px; }
.automation-uses-head {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 14px;
}
.automation-uses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.automation-use { padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.automation-use .title { font-family: 'Lexend', sans-serif; font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.automation-use .body { color: rgba(255,255,255,.65); font-size: 14px; text-wrap: pretty; }

.services-industries-head { text-align: center; margin-bottom: 40px; }
.services-industries-head h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }

.center-ctas { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   Projects page
   ========================================================================== */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn.active { border-color: var(--cyan); background: var(--cyan); color: var(--navy); }

.project-count { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.masonry { columns: 3 300px; column-gap: 16px; }
.masonry-item {
  display: block; width: 100%; break-inside: avoid; margin: 0 0 16px; padding: 0; border: 0;
  background: var(--purple); border-radius: 18px; overflow: hidden; cursor: zoom-in; text-align: left;
  position: relative; color: #fff; animation: dg-rise .6s both;
}
.masonry-item[hidden] { display: none; }
.masonry-item img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,20,.85) 0%, rgba(5,8,20,0) 45%); pointer-events: none; }
.masonry-item .info { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.masonry-item .info .industry { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.masonry-item .info .client { font-family: 'Lexend', sans-serif; font-size: 18px; font-weight: 500; }
.masonry-item .info .desc { font-size: 13px; color: rgba(255,255,255,.7); }

.project-list-wrap { margin-top: clamp(56px, 7vw, 96px); }
.project-list-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}
.project-list-cell { background: #fff; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.project-list-cell .client { font-family: 'Lexend', sans-serif; font-size: 17px; font-weight: 500; color: var(--navy); }
.project-list-cell .desc { color: var(--muted); font-size: 14px; }

.projects-cta {
  margin-top: 56px; padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.projects-cta .title { font-family: 'Lexend', sans-serif; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; }
.projects-cta .body { color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,8,20,.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: clamp(16px, 4vw, 48px); cursor: zoom-out; animation: dg-fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__img { width: min(100%, 1100px); height: calc(100vh - 180px); background-position: center; background-size: contain; background-repeat: no-repeat; border-radius: 12px; filter: drop-shadow(0 40px 100px rgba(0,0,0,.6)); }
.lightbox__caption { text-align: center; color: #fff; }
.lightbox__caption .client { font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 500; }
.lightbox__caption .meta { font-size: 14px; color: rgba(255,255,255,.7); }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 22px; cursor: pointer;
}

@media (max-width: 700px) { .masonry { columns: 1 260px; } }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.contact-form-panel { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: clamp(28px, 3.5vw, 44px); }

.form-grid { display: grid; gap: 18px; }
.form-grid[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--purple); }
.field input, .field textarea {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--field-border); font-size: 16px;
  background: #F9FAFD; color: var(--text); outline: none; transition: border-color .2s; font-family: inherit;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }

.interest-group { display: grid; gap: 8px; }
.interest-group .label { font-size: 14px; font-weight: 600; color: var(--purple); }
.interest-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-toggle {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--field-border); background: transparent;
  color: var(--purple); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.pill-toggle.active { border-color: var(--navy); background: var(--navy); color: #fff; }

.form-note { font-size: 13px; color: var(--faint); }
.form-note.error { color: #C0392B; }

.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: grid; gap: 14px; padding: 24px 0; text-align: center; animation: dg-fade .4s ease; }
.form-success[hidden] { display: none; }
.form-success .check {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: #E8F4FC; color: var(--blue);
  display: grid; place-items: center; font-size: 26px;
}
.form-success .title { font-family: 'Lexend', sans-serif; font-size: 26px; font-weight: 500; }
.form-success .body { color: var(--muted); }
.form-success button {
  justify-self: center; margin-top: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--field-border);
  background: transparent; color: var(--purple); font-weight: 600; font-size: 14px; cursor: pointer;
}

.contact-side { display: grid; gap: 16px; }
.contact-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; border-radius: 20px;
  transition: background .2s, border-color .2s;
}
.contact-tile--dark { background: var(--purple); color: #fff; }
.contact-tile--dark:hover { background: var(--blue); }
.contact-tile--light { background: #fff; border: 1px solid var(--border); color: var(--text); }
.contact-tile--light:hover { border-color: var(--blue); }
.contact-tile .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.contact-tile--dark .label { color: var(--cyan); }
.contact-tile--light .label { color: var(--blue); }
.contact-tile .value { font-family: 'Lexend', sans-serif; font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.contact-tile--light .value { font-size: 22px; word-break: break-all; }
.contact-tile .arrow { font-size: 24px; }
.contact-tile--light .arrow { color: var(--blue); }

.office-tile { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--border); }
.office-tile .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.office-tile .line1 { font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.office-tile .line2 { color: var(--muted); }

.follow-tile {
  padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.follow-tile .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.follow-tile .links { display: flex; gap: 18px; font-weight: 600; font-size: 15px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 80px) clamp(20px,5vw,64px) 32px; }
.footer-grid {
  max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-col--brand { gap: 16px; }
.footer-col--brand img { height: 56px; width: auto; justify-self: start; }
.footer-col--brand p { margin: 0; font-size: 15px; max-width: 320px; text-wrap: pretty; }
.footer-heading { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #fff; }
.footer-col--contact a { color: #fff; }
.footer-col--contact a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45);
}
.footer-credit {
  max-width: 1240px; margin: 12px auto 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.35);
}
.footer-credit a { color: rgba(255,255,255,.5); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: rgba(255,255,255,.8); }

/* ==========================================================================
   Page visibility
   ========================================================================== */
.page { display: none; }
.page.active { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
