/* ═══════════════════════════════════════════════════════════════════════════
   SHARED — Elements used across more than one page:
   page container defaults (.page), buttons, capability strip, section chrome,
   CTA banners, page-banner headers, footer, toast notification.
   Global responsive overrides at the bottom.
   Edit here only for shared/reused components.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   PAGES
──────────────────────────────────────────── */
/* Hidden by default — JS shows the active page.
   Prevents all pages flashing visible on slow JS execution (iOS Safari). */
.page { display: none; padding-top: var(--nav-h); }
/* Show home immediately via CSS so there is no blank flash before JS runs */
#home { display: block; }
#home, #services, #contact, #whatwedo { padding-top: 0; }


/* ────────────────────────────────────────────
   CAPABILITY STRIP
──────────────────────────────────────────── */
.cap-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(13,26,27,0.08);
  border-bottom: 1px solid rgba(13,26,27,0.08);
  background: #fff;
}
.cap-strip-item {
  padding: 28px 32px;
  border-right: 1px solid rgba(13,26,27,0.08);
  display: flex; flex-direction: row; align-items: center;
  gap: 16px;
  cursor: pointer; transition: background 0.2s;
  position: relative; overflow: hidden;
  text-decoration: none;
}
.cap-strip-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, #326BCD, #88AB3C);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.cap-strip-item:last-child { border-right: none; }
.cap-strip-item:hover { background: #f5f8ff; }
.cap-strip-item:hover::after { transform: scaleX(1); }
.cap-strip-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #eef3f3;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.cap-strip-item:hover .cap-strip-icon-wrap {
  background: #dde8ff;
  transform: scale(1.08);
}
.cap-strip-img {
  width: 26px; height: 26px;
  object-fit: contain; display: block;
}
.cap-strip-content { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cap-strip-title { font-weight: 700; font-size: 0.88rem; color: #0d1a1b; line-height: 1.3; }
.cap-strip-link {
  font-size: 0.72rem; font-weight: 600; color: #326BCD;
  display: flex; align-items: center; gap: 4px;
  text-decoration: none; letter-spacing: 0.01em;
}
.cap-strip-link .arr { transition: transform 0.2s; font-size: 0.85rem; }
.cap-strip-item:hover .cap-strip-link .arr { transform: translateX(4px); }
.cap-strip-sub { display: none; }

/* ────────────────────────────────────────────
   SECTION CHROME
──────────────────────────────────────────── */
.section { padding: 88px 80px; }
.section.alt { background: #f2f5f5; }
.section.dark { background: #1a2a2b; color: white; }

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #326BCD; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; width: 20px; height: 1.5px; background: #88AB3C; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px;
}
.section-title em { font-style: normal; color: #88AB3C; }
.dark .section-title em { color: #326BCD; }
.section-sub {
  font-size: 1rem; color: var(--ink-60); line-height: 1.75;
  max-width: 600px; margin-bottom: 52px;
}
.dark .section-sub { color: rgba(255,255,255,0.6); }


/* ────────────────────────────────────────────
   CTA BANNER
──────────────────────────────────────────── */
.cta-full {
  background: linear-gradient(110deg, #0d1a1b 0%, #326BCD 100%);
  padding: 80px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 48px;
  position: relative; overflow: hidden;
}
.cta-full::before {
  content: '';
  position: absolute; right: -60px; top: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.cta-full::after {
  content: '';
  position: absolute; right: 40px; top: -20px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-full-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 700;
  color: white; margin-bottom: 12px; letter-spacing: -0.02em;
}
.cta-full-sub { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.65; }
.btn-cta-white {
  font-size: 0.875rem; font-weight: 700; color: var(--blue);
  background: white; border: none;
  padding: 16px 36px; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; z-index: 1;
}
.btn-cta-white:hover { background: #e8f0ff; transform: translateY(-2px); }

/* ────────────────────────────────────────────
   ABOUT PAGE
──────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(120deg, #0B0B0D 0%, #326BCD 100%);
  padding: 80px 80px 72px;
  position: relative; overflow: hidden;
}
.page-banner::before { display: none; }
.page-banner::after  { display: none; }
.page-banner-logo {
  position: absolute;
  right: -60px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px;
  opacity: 0.18;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.page-banner-logo img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.page-banner-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.page-banner-eyebrow::before { content: ''; width: 20px; height: 1px; background: #5b9cff; }
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 700;
  color: white; letter-spacing: -0.02em; line-height: 1.1; max-width: 700px;
}
.page-banner h1 em { font-style: normal; color: #88AB3C; }
.page-banner p {
  margin-top: 20px; font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.75; max-width: 560px;
}

/* About two-col intro */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.about-split-left .lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; font-weight: 700; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 28px;
}
.about-split-left .lead em { font-style: normal; color: var(--blue); }
.about-split p { font-size: 0.95rem; color: var(--ink-60); line-height: 1.8; margin-bottom: 18px; }

.about-values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid #d0d8e8; margin-top: 52px;
}
.value-card {
  padding: 36px; border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.value-card:last-child { border-right: none; }
.value-card:hover { background: #eef3f3; }
.value-icon { font-size: 1.6rem; margin-bottom: 14px; }
.value-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.value-body { font-size: 0.82rem; color: var(--ink-60); line-height: 1.65; }


/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
footer {
  background: #0B0B0D;
  padding: 60px 80px 32px;
}
.footer-top {
  display: grid; grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-mark {
  width: 48px; height: 48px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 0; flex-shrink: 0;
}
.footer-logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-logo-name {
  font-weight: 700; font-size: 1rem; color: white;
}
.footer-tagline { font-size: 0.82rem; color: rgba(145,204,217,0.6); line-height: 1.6; }
.footer-col-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 10px; }
.footer-col-links a {
  font-size: 0.84rem; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.2s; cursor: pointer;
}
.footer-col-links a:hover { color: white; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  color: rgba(255,255,255,0.3); text-decoration: none;
  cursor: pointer; transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 64px 40px; }
  .hero { grid-template-columns: 1fr; }
  .hero-geo { display: none; }
  .hero-left { min-height: 80vh; }
  .cap-strip { grid-template-columns: repeat(2, 1fr); }
  .cap-strip-item { padding: 22px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none !important; }
  .engage-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-grid::before { display: none; }
  .clients-grid { grid-template-columns: 1fr; }
  .client-card { border-right: none; border-bottom: 1px solid var(--border); }
  .cta-full { grid-template-columns: 1fr; padding: 56px 40px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-values { grid-template-columns: 1fr; }
  .value-card { border-right: none; border-bottom: 1px solid var(--border); }
  /* projects responsive handled above */
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .page-banner { padding: 100px 40px 60px; }
  .contact-form-area { padding: 48px 40px; }
  .contact-sidebar { padding: 48px 40px; }
}
@media (max-width: 900px) {
  .nav-top { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 680px) {
  .section { padding: 48px 24px; }
  .page-banner { padding: 104px 24px 48px; }
  .cta-full { padding: 48px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 0 0 40px; }
  footer { padding: 48px 24px 24px; }
  .contact-form-area { padding: 36px 24px; }
  .contact-sidebar { padding: 36px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* Animate in */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }

/* ─────────────────────────────────────────── */

/* ── Global pointer cursor ─────────────────── */
a, button, [onclick], .card-cta, .dot, .proj-close, .proj-dot-item,
.nav-hamburger, .nav-mobile-close, .nav-mobile a { cursor: pointer !important; }
.nav-dropdown-label { cursor: default; }

