/* ===========================
   RESET + GLOBAL (includes merged page-specific styles)
   BROWSER COMPATIBILITY: Uses CSS custom properties, clamp(), and backdrop-filter with vendor prefixes
   =========================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  /* Responsive gutters */
  --page-gutter: clamp(14px, 3vw, 28px);

  /* Global content width */
  --container: min(1320px, calc(100% - (var(--page-gutter) * 2)));

  /* Brand */
  --brand-red: #b21212;

  /* Ribbon header controls */
  --nav-drop: 16px; /* ✅ header sits lower than top */
  --nav-border: rgba(90, 80, 170, 0.14);
  --nav-shadow: 0 18px 45px rgba(30, 10, 70, 0.16);
  --nav-shadow-hover: 0 24px 60px rgba(30, 10, 70, 0.20);
}


body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f6f3ff;
  color: #1f2430;
  
  /* Cross-browser text color consistency (Chrome, Edge, Safari) */
  -webkit-text-fill-color: #1f2430;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;

  /* Fallback for browsers that don't support CSS custom properties */
  padding-top: 16px;
  /* Modern browsers will override above with: */
  padding-top: var(--nav-drop);
}

/* ===========================
   GLOBAL RESPONSIVE HELPERS
   - fluid type, responsive images, small-screen nav wrapping
   =========================== */

html {
  /* scale base type between 15px and 18px across viewports */
  font-size: clamp(15px, 1.2vw, 18px);
}

/* Fluid headings for consistent scaling on large monitors and phones */
h1 { 
  font-size: clamp(28px, 4.5vw, 48px); 
  line-height: 1.06; 
  -webkit-text-fill-color: #1f2430;
}
h2 { 
  font-size: clamp(20px, 3.2vw, 32px); 
  line-height: 1.12;
  -webkit-text-fill-color: #1f2430;
}
h3 { 
  font-size: clamp(15px, 2.2vw, 18px); 
  line-height: 1.2;
  -webkit-text-fill-color: #1f2430;
}

/* Ensure consistent text color rendering across all browsers */

/* Make images and media scale within their containers */
img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure any inline icons or logo images don't stretch nav height */
.nav img, .brand img { height: auto; max-height: 48px; }

/* Allow the nav ribbon to wrap nicely on small screens/when the viewport is narrow */
.nav { flex-wrap: wrap; padding: 8px var(--page-gutter); gap: 8px; align-items: center; }

/* Tighten nav elements on small devices */
@media (max-width: 560px) {
  .nav { height: auto; padding: 10px var(--page-gutter); }
  .brand-title { font-size: 18px; }
  .logo-box { width: 44px; height: 44px; font-size: 26px; }
}

/* Improve large-screen spacing: allow wider container but keep readable line-length */
@media (min-width: 1600px) {
  :root{ --container: min(1600px, calc(100% - (var(--page-gutter) * 2))); }
}


/* Make all major blocks use the same side gutters */
.nav,
.hero,
.section,
.cta,
.services-hero,
.services-bottom-cta {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

/* ===========================
   NAV (FULL-WIDTH 3D RIBBON)
   =========================== */
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* ✅ Full width ribbon */
  width: 100%;

  /* ✅ sit lower */
  margin-top: var(--nav-drop);

  /* ✅ 3D ribbon surface */
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 65%, #f5f2ff 100%);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);

  /* ✅ pop-out feel */
  position: relative;
  z-index: 50;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

/* ✅ remove any tails (even if older CSS exists) */
.nav::before,
.nav::after{
  display: none !important;
  content: none !important;
}

/* Optional hover lift */
.nav:hover{
  transform: translateY(-2px);
  box-shadow: var(--nav-shadow-hover);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 50px;
  height: 50px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 32px;
}

/* BRAND INLINE (Title | Subtitle) */
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-title {
  font-weight: 700;
  font-size: 23px;
  line-height: 1.1;
  color: #1f2430;
  -webkit-text-fill-color: #1f2430;
}

.brand-sep {
  color: #9aa0ad;
  font-weight: 500;
  font-size: 25px;
}

.brand-sub {
  font-size: 12.5px;
  color: #777;
  font-weight: 600;
}

.brand-dna {
  color: var(--brand-red);
  font-weight: 600;
}

.logo-link {
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: #2a2f3a;
  -webkit-text-fill-color: rgba(42, 47, 58, 0.85);
  color: rgba(42, 47, 58, 0.85);
}
.nav-links a:hover { color: #2a2f3a; -webkit-text-fill-color: #2a2f3a; }

.nav-links a.active {
  color: #8d1b1b;
  font-weight: 600;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(90, 80, 170, 0.25);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.3s ease;
  z-index: 10001;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid rgba(141, 27, 27, 0.5);
  outline-offset: 2px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: #1f2430;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Side navigation panel */
.side-nav {
  position: fixed;
  top: 0;
  right: -280px; /* Hidden by default */
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 65%, #f5f2ff 100%);
  border-left: 1px solid rgba(90, 80, 170, 0.14);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.side-nav.open {
  right: 0;
}

.side-nav .nav-links {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.side-nav .nav-links a {
  padding: 12px 16px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 16px;
  font-weight: 500;
}

.side-nav .nav-links a:hover {
  background-color: rgba(141, 27, 27, 0.1);
  color: #8d1b1b;
  -webkit-text-fill-color: #8d1b1b;
}

.side-nav .nav-links a.active {
  background-color: rgba(141, 27, 27, 0.1);
  color: #8d1b1b;
  -webkit-text-fill-color: #8d1b1b;
}

/* Overlay for mobile menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding-top: 56px;
  padding-bottom: 28px;
}

.hero-inner {
  width: var(--container);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(14px, 2.2vw, 28px);
  align-items: center;
}

.hero-text{
  max-width: 560px;
}

.hero-kicker {
  margin-bottom: 12px;
  font-size: clamp(27px, 4.2vw, 63px);
  line-height: 1.1;
  letter-spacing: -0.4px;
  font-weight: 600;
  color: #1f2430;
  -webkit-text-fill-color: #1f2430;
  white-space: nowrap;
}

.hero-text h1 {
  font-size: clamp(34px, 5.3vw, 79px);
  line-height: 1.06;
  letter-spacing: -0.5px;
  font-weight: 600;
}

.hero-text p {
  margin-top: 40px;
  max-width: 90ch;
  color: rgba(85, 92, 109, 0.9);
  -webkit-text-fill-color: rgba(85, 92, 109, 0.9);
  line-height: 1.5;
  font-size: clamp(11px, 1.1vw, 18px);
  letter-spacing: 0.1px;
  font-weight: 400;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #f06aa6, #a269ff);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(168, 105, 255, 0.25);
}

.link-secondary {
  text-decoration: none;
  color: #5a4bc8;
  font-size: 13px;
}

/* HERO ART */
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art-bg {
  width: min(520px, 80%);
  padding: clamp(10px, 1.6vw, 18px);
  border-radius: 15px;
  background: radial-gradient(circle at 30% 30%, #efe7ff 0%, #e9f0ff 40%, #ffe7f0 100%);
  border: 1px solid rgba(120, 90, 255, 0.12);
  transform: translateX(80px); /* ✅ shift right (try 10px–40px) */
}

.hero-img,
.hero-art-bg img {
  width: 100%;
  max-width: min(540px, 100%);
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  margin: 0 auto;
}

/* duplicate hero override removed; base styles above already cover layout and padding */

/* ===========================
   SECTIONS
   =========================== */
.section {
  width: var(--container);
  margin: 0 auto;
  padding-top: 26px;
  padding-bottom: 26px;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
}

.card {
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(90, 80, 170, 0.10);
  box-shadow: 0 15px 35px rgba(60, 30, 120, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 10px;
  background: radial-gradient(circle at 30% 30%, #ffd0e6 0%, #d6c8ff 45%, #cfe3ff 100%);
  border: 1px solid rgba(110, 90, 210, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  display: block;
  margin: 0;
}

.card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 600;
}

.card p {
  font-size: 12.5px;
  line-height: 1.45;
  color: #596071;
  min-height: 44px;
}

.role-badge {
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.15), rgba(139, 92, 246, 0.1));
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(90, 90, 170, 0.9);
  -webkit-text-fill-color: rgba(90, 90, 170, 0.9);
  margin: 8px 0 10px 0;
  text-transform: uppercase;
}

.card a {
  display: inline-flex;
  gap: 6px;
  margin-top: 10px;
  text-decoration: none;
  font-size: 12.5px;
  color: #6a4cff;
}

/* WHY SECTION */
.section.why { padding-top: 6px; }

.why h2 {
  text-align: center;
  font-size: 36px;
  margin: 6px 0 18px;
  font-weight: 700;
}

/* LOGOS */
.logos {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  row-gap: 10px;
  color: rgba(40, 40, 40, 0.55);
  font-weight: 600;
  font-size: 12px;
}

/* CTA */
.cta {
  margin-top: 30px;
  padding-top: 36px;
  padding-bottom: 56px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255, 210, 220, 0.55) 100%);
}

.cta h2 {
  font-size: 27px;
  margin-bottom: 8px;
  font-weight: 700;
}

.cta p {
  font-size: 13px;
  color: #5b6272;
}

/* earlier modal definitions removed; keep only latest polished version below */

/* ===== Modal Base ===== */
.ng-modal { 
  display: none; 
}
.ng-modal.is-open { 
  display: block; 
}

/* ===== Light Grey Overlay ===== */
.ng-modal__overlay{
  position: fixed;
  inset: 0;
  background: rgba(210, 210, 210, 0.75); /* lighter grey */
  z-index: 9998;
}

/* ===== Centered Panel ===== */
.ng-modal__panel{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: min(920px, 92vw);
  max-height: 84vh;            /* ensures it fits screen */
  overflow: hidden;            /* body handles scrolling */
  
  background: #0b1220;
  color: #e8eefc;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;

  z-index: 9999;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
}

/* ===== Header/Footer fixed within panel ===== */
.ng-modal__header,
.ng-modal__footer{
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
}

.ng-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.ng-modal__footer{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* ===== Scrollbar goes here (VISIBLE) ===== */
.ng-modal__body{
  padding: 16px 18px;
  max-height: calc(84vh - 120px); /* 120px roughly header+footer */
  overflow-y: auto;               /* ✅ scrollbar appears */
  overflow-x: hidden;             /* avoid horizontal scroll */
}

/* ===== Wrap text properly (no overflow) ===== */
.ng-modal__panel,
.ng-modal__body,
.ng-serviceModalBlock,
.ng-serviceModalBlock p,
.ng-serviceModalBlock li,
.ng-serviceModalBlock h4{
  white-space: normal;
  overflow-wrap: anywhere;  /* break long words/URLs */
  word-break: break-word;
}

/* ===== Close button ===== */
.ng-modal__close{
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* ===== Service sections ===== */
.ng-serviceModalBlock{
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ng-serviceModalBlock:last-child{ border-bottom: none; }

.ng-serviceModalBlock ul{
  margin: 8px 0 0;
  padding-left: 18px;
}

/* ===== Buttons ===== */
.ng-modal__btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #e8eefc;
  text-decoration: none;
  cursor: pointer;
}
.ng-modal__btnPrimary{
  background: #2b6cff;
  border-color: #2b6cff;
  color: #fff;
}

/* Lock background page scroll */
body.ng-modalLock{
  overflow: hidden;
}

/* ===========================
   MODAL (POPUP)
   =========================== */
body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.modal.is-open { display: block; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 40, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(980px, calc(100% - 32px));
  margin: 40px auto;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(90, 80, 170, 0.14);
  box-shadow: 0 30px 90px rgba(30, 10, 70, 0.35);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  background: radial-gradient(circle at 20% 10%, #efe7ff 0%, #f6f3ff 40%, #ffe7f0 100%);
  border-bottom: 1px solid rgba(90, 80, 170, 0.10);
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(90, 80, 170, 0.12);
  font-size: 12px;
  color: #5b6272;
  width: fit-content;
  margin-bottom: 8px;
}

.modal-title-wrap h2 {
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 700;
}

.modal-tagline {
  font-size: 13px;
  color: #5b6272;
  margin: 0;
  line-height: 1.5;
  max-width: 760px;
}

.modal-close {
  border: 0;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(90, 80, 170, 0.14);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #3a3650;
}
.modal-close:hover { background: rgba(255,255,255,0.85); }

.modal-body {
  padding: 18px;
  max-height: calc(100vh - 140px);
  overflow: auto;
}

.modal-section {
  padding: 14px 0;
  border-bottom: 1px solid rgba(90, 80, 170, 0.08);
}
.modal-section:last-of-type { border-bottom: 0; }

.modal-section h3 {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.modal-section p {
  font-size: 13px;
  color: #596071;
  line-height: 1.6;
}

.modal-list,
.modal-steps {
  margin: 10px 0 0 18px;
  color: #596071;
  font-size: 13px;
  line-height: 1.6;
}

.modal-callout {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(90, 80, 170, 0.10);
}

.modal-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.modal-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(90, 80, 170, 0.10);
}

.modal-card h4 {
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #1f2430;
}

.modal-card ul {
  margin-left: 18px;
  color: #596071;
  font-size: 13px;
  line-height: 1.55;
}

.modal-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: #6a4cff;
}

.modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  list-style: none;
  padding-left: 0;
}

.modal-chips li {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(90, 80, 170, 0.10);
  font-size: 12px;
  color: #4e5566;
}

/* Modal chip styling for span elements */
.modal-chip {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(90, 80, 170, 0.10);
  font-size: 12px;
  color: #4e5566;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}

.modal-secondary-btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(90, 80, 170, 0.18);
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  font-family: inherit;
  color: #2a2f3a;
}
.modal-secondary-btn:hover { background: rgba(255,255,255,0.95); }


/* ===========================
   ABOUT PAGE
   =========================== */

/* ✅ Removed whole-page background on About page so global FX layer can show.
   If you'd like a decorative image, place it inside .about-hero or another inner element,
   otherwise the aurora/pattern from .fx-bg will be visible consistently across pages. */

/* body.about-page { ... } */

/* ------------------------------------------------------------------
   Page‑specific hero transparency overrides
   ------------------------------------------------------------------ */
body.services-page .services-hero,
body.expertise-page .exp-hero {
  background: transparent !important;
}

body.services-page .services-hero::before,
body.expertise-page .exp-hero::before {
  display: none;
}


/* ✅ Allow About page background to show through */
.about-hero {
  padding: 34px 20px 14px;
  background: transparent;
  position: relative;
}

/* ✅ Soft overlay to keep text readable (optional but recommended) */
body.about-page .about-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,0.45); /* adjust 0.35–0.60 depending on contrast */
  pointer-events:none;
}

/* Keep surface above overlay */
.about-surface {
  position: relative;
  z-index: 1;

  max-width: 1120px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 18px 18px 6px;
  background:
    radial-gradient(700px 260px at 85% 40%, rgba(141, 27, 27, 0.10), transparent 60%),
    radial-gradient(650px 280px at 20% 30%, rgba(141, 27, 27, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff, #fbf7f7);
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.about-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 10px 14px;
}

.about-mini-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(31, 36, 48, 0.85);
  -webkit-text-fill-color: rgba(31, 36, 48, 0.85);
}

.about-mini-links a {
  color: inherit;
  text-decoration: none;
}

.about-mini-links .dot { 
  color: rgba(31, 36, 48, 0.55);
  -webkit-text-fill-color: rgba(31, 36, 48, 0.55);
}

.about-mini-links .is-current {
  font-weight: 600;
  opacity: 1;
}

.btn-compact {
  padding: 10px 14px;
  font-size: 13px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 10px 10px 18px;
}

.about-grid-alt {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-title {
  font-size: 38px;
  line-height: 1.08;
  margin: 0 0 10px;
}

.about-h2 {
  font-size: 35px;
  margin: 0 0 10px;
}

.about-lead {
  font-size: 15px;
  font-weight: 500;
  color: rgba(31, 36, 48, 0.9);
  -webkit-text-fill-color: rgba(31, 36, 48, 0.9);
  margin: 0 0 14px;
  max-width: 54ch;
}

.about-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(31, 36, 48, 0.86);
  -webkit-text-fill-color: rgba(31, 36, 48, 0.86);
  margin: 0 0 12px;
  max-width: 70ch;
}

.about-quote {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid #8d1b1b;
  background: rgba(141, 27, 27, 0.06);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.about-visual img {
  width: 80%;
  height: auto;
  display: block;
}

.center-title {
  text-align: center;
  margin-bottom: 35px;
}

.cards.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.cards.five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-card p,
.value-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(31, 36, 48, 0.82);
  -webkit-text-fill-color: rgba(31, 36, 48, 0.82);
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(20,20,20,0.04);
  margin-bottom: 10px;
  font-size: 26px;
}

.about-values .value-card h3 {
  font-size: 15px;
  font-weight: 600;
}

.about-values .value-card p {
  font-size: 13px;
  line-height: 1.65;
}

/* Two sections side-by-side */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2 columns */
  gap: 32px;
  align-items: start;
}



/* ✅ Mobile: disable fixed background for smoother rendering */
@media (max-width: 900px){
  body.about-page{
    background-attachment: scroll;
  }
}
/* ===========================
   ABOUT CTA (Let's Build...)
   =========================== */
.about-cta{
  padding: 46px 0 64px;
}

.about-cta-inner{
  width: var(--container);
  margin: 0 auto;
  padding: 26px 22px;
  border-radius: 22px;

  /* glass card look that matches site */
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 18px 55px rgba(20, 10, 70, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  text-align: center;
}

.about-cta-inner h2{
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 10px;
}

.about-cta-inner p{
  max-width: 72ch;
  margin: 0 auto 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #5b6272;
}

/* keep CTA buttons centered */
.about-cta .hero-actions{
  justify-content: center;
}
/* =========================================================
   ABOUT PAGE: keep ONLY full-page background image
   ========================================================= */

/* Whole-page background image */
body.about-page{
  /* background already defined earlier; kept here only for reference */
  /* background-image: url("assets/about/about-bg.jpg"); */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

/* Remove section backgrounds so page background shows */
body.about-page .about-hero,
body.about-page .section,
body.about-page .about-cta{
  background: transparent !important;
  background-image: none !important;
}

/* Remove gradient overlays on hero (if you added earlier) */
body.about-page .about-hero::before{
  content: none !important;
}

/* Remove card decorative gradients so it’s clean */
body.about-page .about-surface{
  background: rgba(255,255,255,0.88) !important; /* clean white glass card */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Remove lets-build background image completely */
body.about-page .about-cta{
  background-image: none !important;
}

/* Optional: make About CTA inner card consistent */
body.about-page .about-cta-inner{
  background: rgba(255,255,255,0.92);
}
@media (max-width: 900px){
  body.about-page{
    background-attachment: scroll;
  }
}

/* ===========================
   SERVICES PAGE
   =========================== */

/* Buttons (shared) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  color: #1f2430;
}

.btn-red {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
  box-shadow: 0 10px 25px rgba(178, 18, 18, 0.18);
}
.btn-red:hover { filter: brightness(0.98); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(20, 20, 20, 0.10);
  color: #2a2f3a;
}
.btn-ghost:hover { background: rgba(255,255,255,0.92); }

.btn-wide{
  width: 100%;
  margin-top: 12px;
}

/* Services hero */
.services-hero {
  position: relative;
  padding-top: 54px;
  padding-bottom: 46px;
  background: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(20,20,20,0.06);
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto -80px;
  height: 320px;
  background:
    radial-gradient(closest-side at 25% 45%, rgba(141, 27, 27, 0.10), transparent 70%),
    radial-gradient(closest-side at 65% 35%, rgba(162, 105, 255, 0.14), transparent 70%),
    radial-gradient(closest-side at 85% 60%, rgba(240, 106, 166, 0.12), transparent 75%);
  filter: blur(6px);
  pointer-events: none;
}

.services-hero-inner {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding: 26px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(90, 80, 170, 0.10);
  box-shadow: 0 20px 55px rgba(20, 10, 70, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.services-hero-inner h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.4px;
  font-weight: 600;
}

.services-hero-inner p {
  margin: 10px auto 0;
  max-width: 70ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: #5b6272;
}

.services-hero-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.services-center {
  text-align: center;
  margin-bottom: 18px;
}

.services-center h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 750;
  margin-bottom: 6px;
}

.services-subtitle {
  font-size: 13px;
  color: #6b7280;
}

.services-partner {
  padding-top: 30px;
}

.services-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
}

.services-partner-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(90, 80, 170, 0.10);
  box-shadow: 0 16px 45px rgba(60, 30, 120, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.services-card-body {
  padding: 14px 14px 16px;

  display: flex;
  flex-direction: column;
  flex: 1;
}

.services-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.services-card-body p {
  font-size: 12.5px;
  color: #596071;
  line-height: 1.5;
  margin-bottom: 10px;
}

.services-card-body ul {
  margin-left: 18px;
  color: #596071;
  font-size: 12.5px;
  line-height: 1.55;
}

.services-card-body .btn-wide{
  margin-top: auto;
}

/* stop global "a" rules from shrinking buttons */
.services-partner-card a:not(.btn){
  font-size: 11.5px;
  font-weight: 500;
}

.services-services {
  padding-top: 18px;
}

.services-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 16px);
}

.services-service-card {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(20,20,20,0.07);
  box-shadow: 0 12px 34px rgba(20, 10, 70, 0.06);
}

.services-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(141, 27, 27, 0.08);
  border: 1px solid rgba(141, 27, 27, 0.12);
  font-size: 20px;
  margin-bottom: 10px;
}

.services-service-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.services-service-card ul {
  margin-left: 18px;
  color: #596071;
  font-size: 12.5px;
  line-height: 1.55;
}

.services-bottom-cta {
  padding-top: 24px;
  padding-bottom: 52px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(251,247,247,1));
}

.services-bottom-cta-inner {
  width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(20,20,20,0.06);
  box-shadow: 0 14px 40px rgba(20, 10, 70, 0.08);
}

.services-bottom-cta-inner h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
}

.services-bottom-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   Nine Gates Footer + Popups (Professional Typography)
   Replace your entire existing footer + footer modal block with this
   ========================================================= */

.ng-footer, .ng-footer * { box-sizing: border-box; }

.ng-footer{
  /* Midnight Blue (Sophisticated) */
  --bg: rgba(20, 26, 62, 0.95);
  --bg2: rgba(20, 26, 62, 0.95);

  --text: rgba(255,255,255,0.88);
  --muted: rgba(255,255,255,0.60);
  --accent: #6ee7ff;
  --card: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.10);

  color: var(--text);

  /* Professional base typography */
  font-size: 13px;
  line-height: 1.55;

  /* Keep the 3D feel but tuned for Midnight Blue */
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(110,231,255,0.14), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(124,58,237,0.12), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));

  padding: 44px 18px 26px;
  position: relative;
  overflow: hidden;
}

.ng-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 45%);
  pointer-events:none;
}

.ng-footer__inner{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:26px;
  align-items:stretch;
  position:relative;
  z-index:1;
}

/* Cards */
.ng-footer__brand,
.ng-footer__nav{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ng-footer__brand{ padding: 16px; }
.ng-footer__nav{ padding: 16px; }

/* Brand */
.ng-footer__brandLink{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--text);
}

.ng-footer__logo{
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
}

/* Smaller, less bold brand */
.ng-footer__brandName{
  font-weight: 600;          /* was 700 */
  letter-spacing: 0.2px;     /* was .4px */
  font-size: 0.98rem;        /* was 1.05rem */
}

.ng-footer__tagline{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.84rem;        /* was .95rem */
  font-weight: 400;
  max-width: 42ch;
}

/* Nav columns */
.ng-footer__nav{
  display:grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 16px;
}

/* Professional label-style headings */
.ng-footer__title{
  margin: 0 0 8px;
  font-size: 0.82rem;        /* was .95rem */
  font-weight: 600;          /* was 700 */
  color: rgba(255,255,255,.92);
  letter-spacing: 0.06em;
  text-transform: uppercase; /* optional but looks professional */
}

.ng-footer__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 6px;                  /* was 8px */
}

.ng-footer__list a{
  color: var(--muted);
  text-decoration:none;
  font-size: 0.82rem;        /* was .92rem */
  font-weight: 400;
  display:inline-block;
  letter-spacing: 0.1px;
  transition: transform 160ms ease, color 160ms ease, opacity 160ms ease;
  color: rgba(153, 160, 173, 0.95);
  -webkit-text-fill-color: rgba(153, 160, 173, 0.95);
}

.ng-footer__list a:hover{
  color: var(--accent);
  transform: translateX(2px); /* was 3px */
  opacity: 1;
}

/* Right block (no Nine Gates badge box) */
.ng-footer__right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding: 16px; /* was 18px */
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ng-footer__rightTop{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px; /* slightly tighter */
}

.ng-footer__logoRight{
  width: 34px;  /* was 38px */
  height: 34px; /* was 38px */
  object-fit:contain;
  border-radius:8px;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.35));
}

/* LinkedIn button (slightly smaller + subtle) */
.ng-socialLink{
  width: 42px;               /* was 46px */
  height: 42px;              /* was 46px */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 11px;       /* was 12px */
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 12px 24px rgba(0,0,0,.28);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ng-socialLink:hover{
  transform: translateY(-2px);
  background: rgba(110,231,255,.10);
  border-color: rgba(110,231,255,.35);
}

.ng-linkedinIcon{
  width: 22px;               /* was 24px */
  height: 22px;              /* was 24px */
  fill: rgba(255,255,255,.92);
}

/* Copyright (smaller) */
.ng-footer__copyright{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: var(--muted);
  font-size: 0.80rem;        /* was .9rem */
  padding: 8px 10px;         /* was 10px 12px */
  border-radius: 10px;       /* was 12px */
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}

/* Footer links (Careers, Privacy) */
.ng-footer__links{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.ng-footer__link{
  text-decoration:none;
  color: rgba(255,255,255,.88);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.ng-footer__link:hover{
  color: rgba(110,231,255,.95);
}

.ng-footer__copyrightIcon{
  font-size: 0.95rem;        /* was 1rem */
  color: rgba(255,255,255,.78);
}

/* =========================
   Footer Modals
   ========================= */
.ng-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
  padding: 20px;
}

.ng-modal.is-open{ display:block; }

.ng-modal__overlay{
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 40, 0.55); /* match main modal overlay */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 9998;
}

.ng-modal__panel{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 80px);
  overflow: auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  color: #1f2430;
  border: 1px solid rgba(90, 80, 170, 0.14);
  box-shadow: 0 30px 90px rgba(30, 10, 70, 0.35);
  padding: 0; /* content sections handle their own padding */
}

.ng-modal__header{
  /* same look as .modal-head */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  background: radial-gradient(circle at 20% 10%, #efe7ff 0%, #f6f3ff 40%, #ffe7f0 100%);
  border-bottom: 1px solid rgba(90, 80, 170, 0.10);
}


.ng-modal__title{
  /* use same sizing/colour as modal-title-wrap h2 */
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #1f2430;
}


.ng-modal__close{
  /* match .modal-close styling */
  border: 0;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(90, 80, 170, 0.14);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #3a3650;
}
.ng-modal__close:hover { background: rgba(255,255,255,0.85); }

.ng-modal__body{
  /* mirror .modal-body appearance */
  padding: 18px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  color: #596071; /* use softer paragraph colour like main modal */
  line-height: 1.6;
  font-size: 13px; /* match modal paragraph sizing */
}

.ng-modal__body h4{
  margin: 12px 0 8px;
  color: #1f2430; /* dark heading colour consistent with modal titles */
  font-size: 15px;       /* match .modal-section h3 */
  font-weight: 650;
}

.ng-modal__body ul{
  margin: 8px 0 10px 18px;
}

.ng-modal__highlight{
  /* adopt same visual as .modal-callout for consistency */
  display:inline-block;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(90,80,170,0.10);
}

.ng-modal__highlight a{
  color: #6ee7ff;
  text-decoration:none;
  font-weight: 700;
}

.ng-modal__code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(90,80,170,0.10);
  background: rgba(255,255,255,0.6);
  color: #1f2430;
  font-size: 0.84rem;
}

.ng-modal__footer{
  display:flex;
  justify-content:flex-end;
  padding-top:14px;
  gap:10px;
  /* keep a subtle top border only */
  border-top: 1px solid rgba(90,80,170,0.08);
}

/* match modal button styles too */
.ng-modal__btn{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(90, 80, 170, 0.18);
  background: rgba(255,255,255,0.7);
  cursor: pointer;
  font-family: inherit;
  color: #2a2f3a;
}
.ng-modal__btn:hover{ background: rgba(255,255,255,0.95); }


/* Responsive */
@media (max-width: 1100px){
  .ng-footer__inner{ grid-template-columns: 1fr; }
  .ng-footer__right{ align-items:flex-start; }
  .ng-footer__rightTop{ justify-content:flex-start; }
  .ng-footer__links{ justify-content:flex-start; }
}

/* additional text rules for ng-modal content */
.ng-modal__body p,
.ng-modal__body li { color: #596071; }
.ng-modal__body ul { margin: 8px 0 10px 18px; }

@media (max-width: 560px){
  .ng-footer__right{ align-items:center; }
  .ng-footer__rightTop{ justify-content:center; }
  .ng-footer__links{ justify-content:center; }
  .ng-footer__copyright{ justify-content:center; }
  .ng-modal__footer{ flex-direction:column; align-items:stretch; }
  .ng-modal__panel{ margin:24px auto; }
}

/* ===========================
   CAREERS STRIP (Above Footer)
   No top banner; button opens footer careers modal
   =========================== */

.careers-strip{
  padding: 28px var(--page-gutter) 8px;
  position: relative;
}

.careers-strip__inner{
  width: var(--container);
  margin: 0 auto;
  position: relative;
}

/* Title aligned like your screenshot */
.careers-strip__title{
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 750;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}

/* Innovative background behind the card (aurora + grid) */
.careers-strip__inner::before{
  content:"";
  position:absolute;
  inset: 56px -12px -10px -12px;
  border-radius: 26px;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(900px 340px at 15% 20%, rgba(240,106,166,0.15), transparent 60%),
    radial-gradient(820px 340px at 85% 35%, rgba(162,105,255,0.18), transparent 60%),
    radial-gradient(600px 280px at 60% 95%, rgba(110,231,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  filter: blur(0px);
  opacity: 0.95;
}

/* grid overlay */
.careers-strip__inner::after{
  content:"";
  position:absolute;
  inset: 70px -12px -6px -12px;
  border-radius: 26px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;

  background-image:
    linear-gradient(rgba(90,80,170,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,80,170,0.22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 25% 30%, #000 0%, transparent 65%);
}

.careers-card{
  position: relative;
  z-index: 1;

  border-radius: 20px;
  overflow: hidden;

  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(90, 80, 170, 0.10);
  box-shadow: 0 16px 45px rgba(60, 30, 120, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.careers-card__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;

  background:
    radial-gradient(circle at 20% 10%, rgba(239,231,255,0.80) 0%,
      rgba(246,243,255,0.76) 45%,
      rgba(255,231,240,0.76) 100%);
  border-bottom: 1px solid rgba(90, 80, 170, 0.10);
}

.careers-card__heading{
  font-size: 20px;
  font-weight: 750;
  margin: 0;
  color: #2356d8; /* professional blue like screenshot, still matches palette */
}

/* caret decoration */
.careers-card__caret{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(90, 80, 170, 0.14);
  background: rgba(255,255,255,0.65);
  position: relative;
  flex: 0 0 auto;
}
.careers-card__caret::before{
  content:"";
  position:absolute;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(35,86,216,0.90);
  border-bottom: 2px solid rgba(35,86,216,0.90);
  transform: rotate(-135deg); /* up chevron */
  top: 13px;
  left: 12px;
  opacity: 0.9;
}

.careers-card__body{
  padding: 16px 16px 18px;
}

.careers-card__text{
  font-size: 13px;
  line-height: 1.65;
  color: #596071;
  margin: 0 0 14px;
}

.careers-card__email{
  color: #6a4cff;
  text-decoration: none;
  font-weight: 650;
}
.careers-card__email:hover{ text-decoration: underline; }

.careers-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.careers-role{
  border-radius: 16px;
  border: 1px solid rgba(90, 80, 170, 0.10);
  background: rgba(255,255,255,0.62);
  padding: 12px 12px 10px;
}

.careers-role h4{
  font-size: 15px;
  font-weight: 750;
  color: #1f2430;
  margin: 0 0 6px;
}

.careers-role p{
  font-size: 12.8px;
  line-height: 1.6;
  color: #5b6272;
  margin: 0;
}

.careers-actions{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.careers-btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f06aa6, #a269ff);
  color: #fff;
  text-decoration:none;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(168, 105, 255, 0.25);
}
.careers-btn:hover{ filter: brightness(0.98); }

.careers-note{
  font-size: 12.2px;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 980px){
  .careers-grid{ grid-template-columns: 1fr; }
}
/* =========================================================
   CLIENT FIRST PAGE (SCOPED)
   Add this to the bottom of main style.css
   ========================================================= */

body.client-first-page{
  background: #f6f3ff;
}

/* HERO */
.cf-hero{
  padding: 54px var(--page-gutter) 22px;
  position: relative;
  overflow: hidden;
}

.cf-hero::before{
  content:"";
  position:absolute;
  inset: -140px -90px auto -90px;
  height: 360px;
  background:
    radial-gradient(closest-side at 20% 45%, rgba(162,105,255,0.18), transparent 70%),
    radial-gradient(closest-side at 70% 30%, rgba(240,106,166,0.14), transparent 70%),
    radial-gradient(closest-side at 85% 60%, rgba(110,231,255,0.10), transparent 75%);
  filter: blur(10px);
  pointer-events:none;
}

.cf-hero-inner{
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(14px, 2.2vw, 28px);
  align-items: center;

  padding: 26px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(90, 80, 170, 0.10);
  box-shadow: 0 20px 55px rgba(20, 10, 70, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.cf-kicker{
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: rgba(31,36,48,0.60);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cf-title{
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  font-weight: 800;
}

.cf-gradient{
  background: linear-gradient(90deg, #f06aa6, #a269ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cf-subtitle{
  margin-top: 12px;
  max-width: 72ch;
  color: #5b6272;
  line-height: 1.7;
  font-size: 14px;
}

.cf-actions{ margin-top: 18px; }

.cf-pills{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cf-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(90,80,170,0.10);
  font-size: 12px;
  color: #4e5566;
}

/* SIDE GLASS CARD */
.cf-glass-card{
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(90,80,170,0.12);
  box-shadow: 0 16px 45px rgba(60,30,120,0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cf-glass-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:10px;
  margin-bottom: 12px;
}

.cf-mini-title{
  font-weight: 800;
  font-size: 13px;
  color: #1f2430;
}

.cf-badge{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(110,231,255,0.10);
  border: 1px solid rgba(110,231,255,0.22);
  font-size: 12px;
  color: #2356d8;
  font-weight: 750;
}

.cf-promise-list{
  margin: 0;
  padding-left: 18px;
  color: #596071;
  font-size: 13px;
  line-height: 1.7;
}

.cf-mini-note{
  margin-top: 12px;
  font-size: 12.5px;
  color: #596071;
  line-height: 1.6;
}

/* SECTION HELPERS */
.cf-section{ padding-top: 24px; padding-bottom: 24px; }

.cf-center{ text-align:center; margin-bottom: 14px; }

.cf-h2{
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 850;
  margin-bottom: 8px;
}

.cf-lead{
  font-size: 13.5px;
  color:#5b6272;
  line-height: 1.7;
  max-width: 84ch;
  margin: 0 auto;
}

.cf-emoji{ font-size: 24px; }

/* COST CLARITY SPLIT */
.cf-split{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
}

.cf-steps{
  margin: 12px 0 0 18px;
  color:#596071;
  font-size: 13px;
  line-height: 1.75;
}

.cf-steps li{ margin: 10px 0; }
.cf-steps li span{
  display:block;
  margin-top: 2px;
  color:#6b7280;
  font-weight: 400;
}

.cf-callout{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(90,80,170,0.10);
  color:#3a3650;
}

.cf-break-card{
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(90,80,170,0.12);
  box-shadow: 0 16px 45px rgba(60,30,120,0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cf-bars{ display:grid; gap: 12px; }

.cf-bar-top{
  display:flex;
  justify-content: space-between;
  font-size: 12.5px;
  color:#4e5566;
  margin-bottom: 6px;
}

.cf-track{
  height: 10px;
  border-radius: 999px;
  background: rgba(90,80,170,0.08);
  border: 1px solid rgba(90,80,170,0.10);
  overflow:hidden;
}

.cf-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f06aa6, #a269ff);
  opacity: 0.95;
}

/* illustrative widths */
.cf-fill.is-1{ width: 62%; }
.cf-fill.is-2{ width: 14%; background: linear-gradient(90deg, #6ee7ff, #a269ff); }
.cf-fill.is-3{ width: 18%; background: linear-gradient(90deg, #a269ff, #f06aa6); }
.cf-fill.is-4{ width: 10%; background: linear-gradient(90deg, #6ee7ff, #f06aa6); }

.cf-note{
  margin-top: 12px;
  font-size: 12.5px;
  color:#6b7280;
  line-height: 1.6;
}

/* GRID PANELS */
.cf-grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.cf-panel{
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(90,80,170,0.10);
  box-shadow: 0 12px 34px rgba(20, 10, 70, 0.06);
}

.cf-panel h3{
  font-size: 15px;
  font-weight: 850;
  margin-bottom: 8px;
}

.cf-panel ul{
  margin-left: 18px;
  color:#596071;
  font-size: 13px;
  line-height: 1.7;
}

/* FAQ */
.cf-faq{
  max-width: 980px;
  margin: 12px auto 0;
  display:grid;
  gap: 10px;
}

.cf-faq-item{
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(90,80,170,0.10);
  box-shadow: 0 12px 34px rgba(20,10,70,0.06);
  padding: 10px 12px;
}

.cf-faq-item summary{
  cursor:pointer;
  font-weight: 800;
  font-size: 13.5px;
}

.cf-faq-item p{
  margin-top: 8px;
  color:#596071;
  font-size: 13px;
  line-height: 1.7;
}

/* QUOTE FORM */
.cf-form-wrap{
  width: var(--container);
  margin: 18px auto 0;
  max-width: 980px;
}

.cf-form{
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(90,80,170,0.10);
  box-shadow: 0 16px 45px rgba(60,30,120,0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: left;
}

.cf-form-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cf-form label span{
  display:block;
  font-size: 12px;
  font-weight: 650;
  color: #4e5566;
  margin-bottom: 6px;
}

.cf-form input,
.cf-form select,
.cf-form textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(90,80,170,0.16);
  background: rgba(255,255,255,0.75);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  color: #1f2430;
  outline: none;
}

.cf-form input:focus,
.cf-form select:focus,
.cf-form textarea:focus{
  border-color: rgba(162,105,255,0.45);
  box-shadow: 0 0 0 4px rgba(162,105,255,0.12);
}

.cf-span-2{ grid-column: span 2; }

.cf-form-actions{
  margin-top: 12px;
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.cf-submit{
  border: 0;
  cursor:pointer;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f06aa6, #a269ff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(168, 105, 255, 0.25);
}

.cf-mailto{
  color:#5a4bc8;
  text-decoration:none;
  font-weight: 650;
  font-size: 13px;
}
.cf-mailto:hover{ text-decoration: underline; }

.cf-form-footnote{
  margin-top: 10px;
  font-size: 12.5px;
  color:#6b7280;
  text-align:center;
}

/* Responsive */
@media (max-width: 980px){
  .cf-hero-inner{ grid-template-columns: 1fr; }
  .cf-split{ grid-template-columns: 1fr; }
  .cf-grid-2{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .cf-form-grid{ grid-template-columns: 1fr; }
  .cf-span-2{ grid-column: auto; }
}
/* ===========================
   INDUSTRIES SECTION (NEW)
   Scoped so it won't break other pages
   =========================== */

.industries{
  padding: 46px var(--page-gutter);
  margin-top: 26px;

  /* Deep dark background like your screenshot */
  background:
    radial-gradient(1200px 520px at 20% 0%, rgba(162,105,255,0.20), transparent 60%),
    radial-gradient(1000px 520px at 85% 15%, rgba(240,106,166,0.16), transparent 60%),
    linear-gradient(180deg, #111027 0%, #0c0b1a 100%);

  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.industries-inner{
  width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.industries-kicker{
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.industries-title{
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
}

.industries-subtitle{
  max-width: 88ch;
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.70);
  font-size: 13.5px;
  line-height: 1.7;
}

/* Chips grid */
.industries-chips{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

/* A pill chip */
.industry-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  text-decoration: none;
  color: rgba(255,255,255,0.86);
  font-size: 12.5px;
  font-weight: 500;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 24px rgba(0,0,0,0.30);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.industry-chip:hover{
  transform: translateY(-2px);
  background: rgba(110,231,255,0.10);
  border-color: rgba(110,231,255,0.35);
}

/* Icon bubble inside pill */
.industry-chip .chip-icon{
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;

  background: rgba(240,106,166,0.10);
  border: 1px solid rgba(240,106,166,0.22);
  box-shadow: inset 0 0 0 1px rgba(162,105,255,0.12);
  font-size: 14px;
}

.industry-chip .chip-text{
  white-space: nowrap;
}

/* Optional: make the last chip wider like the screenshot */
.industry-chip.is-wide{
  padding-left: 16px;
  padding-right: 16px;
}

/* Responsive tweaks */
@media (max-width: 700px){
  .industries{
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .industries-subtitle{
    font-size: 13px;
  }
  .industry-chip{
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* ===========================
   INDUSTRIES: Icon Glow Upgrade
   =========================== */

/* Give each chip a tiny 3D lift + nicer glow */
.industry-chip{
  position: relative;
  isolation: isolate; /* keeps glow layers clean */
}

/* Icon bubble glow base */
.industry-chip .chip-icon{
  position: relative;
  transform: translateZ(0);
  box-shadow:
    0 0 0 1px rgba(240,106,166,0.22),
    0 10px 26px rgba(0,0,0,0.35);
  transition: box-shadow 200ms ease, filter 200ms ease, transform 200ms ease;
}

/* Soft ambient glow layer behind icon */
.industry-chip .chip-icon::after{
  content:"";
  position:absolute;
  inset:-14px;
  border-radius: 999px;
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transform: translateZ(0);

  /* aurora-like glow */
  background:
    radial-gradient(circle at 30% 30%, rgba(110,231,255,0.55), transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(162,105,255,0.55), transparent 60%),
    radial-gradient(circle at 40% 70%, rgba(240,106,166,0.45), transparent 60%);

  transition: opacity 200ms ease, transform 200ms ease;
}

/* Hover/focus: make icon glow and pop */
.industry-chip:hover .chip-icon,
.industry-chip:focus-visible .chip-icon{
  transform: translateY(-1px) scale(1.04);
  filter: saturate(1.15);
  box-shadow:
    0 0 0 1px rgba(110,231,255,0.35),
    0 0 26px rgba(110,231,255,0.20),
    0 0 34px rgba(162,105,255,0.18),
    0 14px 34px rgba(0,0,0,0.45);
}

.industry-chip:hover .chip-icon::after,
.industry-chip:focus-visible .chip-icon::after{
  opacity: 1;
  transform: scale(1.06);
}

/* Also glow the chip border a bit */
.industry-chip:hover,
.industry-chip:focus-visible{
  border-color: rgba(110,231,255,0.40);
  box-shadow:
    0 0 0 1px rgba(110,231,255,0.16),
    0 18px 44px rgba(0,0,0,0.42);
  outline: none;
}
@keyframes iconPulseGlow{
  0%   { transform: scale(1.00); opacity: 0.35; filter: blur(12px); }
  50%  { transform: scale(1.08); opacity: 0.60; filter: blur(14px); }
  100% { transform: scale(1.00); opacity: 0.35; filter: blur(12px); }
}

/* Pulse only when NOT hovering (so hover remains crisp) */
.industry-chip .chip-icon::after{
  animation: iconPulseGlow 3.6s ease-in-out infinite;
}

/* Stop pulsing on hover/focus for a clean hover effect */
.industry-chip:hover .chip-icon::after,
.industry-chip:focus-visible .chip-icon::after{
  animation: none;
}

/* =========================================
   REMOVE EXTRA GAP: Industries -> CTA
   (Paste at end of style.css)
   ========================================= */

.industries {
  padding-bottom: 20px !important;  /* reduce bottom padding */
  margin-bottom: 0 !important;      /* remove bottom margin */
}

.cta {
  margin-top: 0 !important;         /* remove top margin */
  padding-top: 24px !important;     /* reduce top padding */
}

/* If your CTA uses a wrapper that adds spacing */
.cta .cta-inner,
.cta .cta-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* If global section spacing is adding the gap */
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Specifically reduce spacing around CTA if CTA has .section styles */
section.cta {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}


/* =========================================================
   MODERN TECH UPGRADE — drop-in enhancements (2026 vibe)
   Paste AFTER existing page styles
   ========================================================= */

:root{
  /* Extra polish */
  --bg0:#ffffff;
  --bg1:#f6f7fb;
  --text0:#111827;
  --text1:#4b5563;
  --glass: rgba(255,255,255,0.72);
  --glass2: rgba(255,255,255,0.50);
  --ring: rgba(162,105,255,0.55);

  /* Futuristic gradients */
  --g1: linear-gradient(90deg, rgba(240,106,166,0.32), rgba(162,105,255,0.35));
  --g2: radial-gradient(circle at 30% 20%, rgba(162,105,255,0.22), transparent 55%),
        radial-gradient(circle at 80% 35%, rgba(240,106,166,0.20), transparent 60%),
        radial-gradient(circle at 55% 90%, rgba(178,18,18,0.16), transparent 55%);
}

/* Dark mode (system) */
@media (prefers-color-scheme: dark){
  :root{
    --bg0:#070912;
    --bg1:#0b1023;
    --text0:#e5e7eb;
    --text1:#a3aab9;
    --glass: rgba(10,14,30,0.62);
    --glass2: rgba(10,14,30,0.45);
    --border: rgba(160, 160, 255, 0.16);
    --shadow: 0 22px 70px rgba(0,0,0,0.45);
    --chip: rgba(10,14,30,0.55);
    --chip-border: rgba(160, 160, 255, 0.18);
  }

  body{
    background: radial-gradient(1200px 600px at 20% 0%, rgba(162,105,255,0.12), transparent 55%),
                radial-gradient(900px 500px at 85% 10%, rgba(240,106,166,0.10), transparent 55%),
                linear-gradient(180deg, var(--bg0), var(--bg1));
    color: var(--text0);
  }
}

/* Manual theme toggle support (added by JS) */
html[data-theme="dark"]{
  color-scheme: dark;
}
html[data-theme="dark"] body{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(162,105,255,0.12), transparent 55%),
              radial-gradient(900px 500px at 85% 10%, rgba(240,106,166,0.10), transparent 55%),
              linear-gradient(180deg, #070912, #0b1023);
}

/* Techy page background: animated grid + soft aurora */
.tech-hero{
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
}

/* make the technology page hero transparent so the global FX bg shows through */
body.technology-page .tech-hero {
  background: transparent !important;
}

.tech-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity: 0.55;
  background:
    /* neon aurora */
    var(--g2),
    /* subtle grid */
    linear-gradient(rgba(140,140,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,140,255,0.08) 1px, transparent 1px);
  background-size:
    auto,
    34px 34px,
    34px 34px;
  mask-image: radial-gradient(circle at 40% 30%, rgba(0,0,0,1), rgba(0,0,0,0.2) 55%, rgba(0,0,0,0) 78%);
  animation: gridDrift 14s linear infinite;
}

@keyframes gridDrift{
  0%{ background-position: 0 0, 0 0, 0 0; }
  100%{ background-position: 0 0, 0 120px, 120px 0; }
}

/* More “advanced” typography look */
.tech-hero-copy h1{
  background: linear-gradient(90deg, rgba(178,18,18,1), rgba(240,106,166,1), rgba(162,105,255,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.6px;
}

.tech-hero-copy p{
  color: var(--text1);
}

/* Search input + buttons: modern focus ring */
.tech-search{
  background: var(--glass2);
  border: 1px solid rgba(120,120,200,0.18);
  box-shadow: 0 10px 30px rgba(50, 30, 120, 0.08);
}

.tech-search:focus-within{
  border-color: rgba(162,105,255,0.35);
  box-shadow: 0 0 0 4px rgba(162,105,255,0.18), 0 14px 40px rgba(50, 30, 120, 0.15);
}

.btn-soft{
  background: var(--glass2);
  border: 1px solid rgba(120,120,200,0.18);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.btn-soft:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(60,30,120,0.14);
}

/* Cards: “premium” micro-interactions + shine */
.tech-card{
  background: var(--glass);
  transform: translateZ(0);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.tech-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(120deg, rgba(240,106,166,0.0), rgba(240,106,166,0.12), rgba(162,105,255,0.14), rgba(240,106,166,0.0));
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
}

.tech-card:hover{
  transform: translateY(-3px);
  border-color: rgba(162,105,255,0.25);
  box-shadow: 0 22px 60px rgba(40, 20, 120, 0.18);
}
.tech-card:hover::before{
  opacity: 1;
  transform: translateX(0);
}

/* Keyboard accessibility: visible focus */
.tech-card:focus-visible,
.tab-btn:focus-visible,
.btn-soft:focus-visible,
.chip:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(162,105,255,0.22);
  border-color: rgba(162,105,255,0.35);
}

/* Tabs: more “tech” feel */
.tab-list{
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(120,120,200,0.16);
}
@media (prefers-color-scheme: dark){
  .tab-list{ background: rgba(10,14,30,0.42); }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  .tech-hero::after{ animation: none; }
  .tech-card, .btn-soft, .tab-btn{ transition: none; }
}

/* =========================================================
   FUTURISTIC “FRAMEWORKS” THEME (applies only on Frameworks tab)
   Paste at END of your existing <style>
   ========================================================= */

.tech-section.is-frameworks{
  position: relative;
  padding-top: 30px;
}

/* Futuristic circuit background behind the Frameworks area */
.tech-section.is-frameworks::before{
  content:"";
  position:absolute;
  inset: -40px 0 auto 0;
  height: 520px;
  pointer-events:none;
  opacity: 0.85;
  background:
    /* aurora */
    radial-gradient(800px 320px at 18% 18%, rgba(162,105,255,0.18), transparent 60%),
    radial-gradient(700px 300px at 78% 20%, rgba(240,106,166,0.14), transparent 62%),
    radial-gradient(900px 420px at 40% 100%, rgba(178,18,18,0.10), transparent 60%),
    /* circuit grid */
    linear-gradient(rgba(140,140,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,140,255,0.09) 1px, transparent 1px);
  background-size: auto, auto, auto, 34px 34px, 34px 34px;
  mask-image: radial-gradient(circle at 42% 28%, rgba(0,0,0,1), rgba(0,0,0,0) 72%);
  filter: blur(0px);
}

/* FRAMEWORK LAB banner */
.framework-banner{
  position: relative;
  overflow:hidden;
  border-radius: 20px;
  padding: 16px 16px;
  margin: 10px 0 14px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(160,160,255,0.18);
  box-shadow: 0 18px 55px rgba(30, 10, 80, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.framework-banner::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: conic-gradient(
    from 210deg,
    rgba(240,106,166,0.0),
    rgba(240,106,166,0.32),
    rgba(162,105,255,0.36),
    rgba(178,18,18,0.18),
    rgba(240,106,166,0.0)
  );
  opacity: 0.55;
  filter: blur(10px);
  pointer-events:none;
}

.framework-banner::after{
  /* scanline */
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(162,105,255,0.10) 45%,
    rgba(240,106,166,0.12) 50%,
    rgba(162,105,255,0.10) 55%,
    transparent 100%
  );
  transform: translateY(-120%);
  animation: scanline 3.6s ease-in-out infinite;
  mix-blend-mode: soft-light;
  pointer-events:none;
}

@keyframes scanline{
  0%{ transform: translateY(-120%); opacity: 0; }
  15%{ opacity: 0.8; }
  50%{ opacity: 0.7; }
  85%{ opacity: 0.8; }
  100%{ transform: translateY(120%); opacity: 0; }
}

.framework-banner-inner{
  position: relative;
  z-index: 2;
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.framework-banner h3{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.framework-banner p{
  margin: 6px 0 0;
  max-width: 85ch;
  color: rgba(75,85,99,0.95);
  font-size: 13px;
  line-height: 1.6;
}

.framework-kpis{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items:center;
  justify-content:flex-end;
}

.framework-kpi{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(160,160,255,0.20);
  font-size: 12px;
  font-weight: 700;
  color: rgba(31,36,48,0.95);
}

.framework-kpi .pulse{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accentB), var(--accentA));
  box-shadow: 0 0 0 0 rgba(162,105,255,0.35);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse{
  0% { box-shadow: 0 0 0 0 rgba(162,105,255,0.35); }
  70%{ box-shadow: 0 0 0 12px rgba(162,105,255,0.0); }
  100%{ box-shadow: 0 0 0 0 rgba(162,105,255,0.0); }
}

.framework-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  margin-top: 10px;
}

/* Make Framework cards look more “holographic” */
.tech-section.is-frameworks .tech-card{
  border: 1px solid rgba(162,105,255,0.22);
  box-shadow: 0 18px 55px rgba(35, 15, 110, 0.14);
}

.tech-section.is-frameworks .tech-card::before{
  opacity: 0.16; /* always slightly visible */
}

.tech-section.is-frameworks .tech-card:hover{
  border-color: rgba(240,106,166,0.32);
  box-shadow: 0 26px 70px rgba(35, 15, 110, 0.24);
}

.tech-section.is-frameworks .level{
  box-shadow: 0 0 0 4px rgba(162,105,255,0.12), 0 12px 30px rgba(162,105,255,0.20);
}

/* SVG icons inside tech-icon */

.tech-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(178,18,18,0.12);
  background: radial-gradient(circle at 30% 30%, rgba(255, 208, 230, 0.9) 0%, rgba(214, 200, 255, 0.85) 45%, rgba(207, 227, 255, 0.85) 100%);
  overflow: hidden;
}

/* NEW */
.tech-icon img{
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.10));
}
html[data-theme="dark"] .tech-icon img{
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.40));
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .framework-banner::after{ animation: none; }
  .framework-kpi .pulse{ animation: none; }
}

/* Dark theme support (if you have html[data-theme="dark"]) */
html[data-theme="dark"] .framework-banner{
  background: rgba(10,14,30,0.55);
  border-color: rgba(160,160,255,0.20);
}
html[data-theme="dark"] .framework-banner p{
  color: rgba(229,231,235,0.78);
}
html[data-theme="dark"] .framework-kpi{
  background: rgba(10,14,30,0.40);
  color: rgba(229,231,235,0.90);
  border-color: rgba(160,160,255,0.20);
}

/* =========================================================
   PREMIUM HOME MODERNIZATION PACK (Aurora + 3D + Motion)
   Paste at the bottom of style.css
   ========================================================= */

:root{
  --fx-ease: cubic-bezier(.2,.8,.2,1);
  --fx-dur: 700ms;
  --fx-border: rgba(255,255,255,.14);
  --fx-glow: rgba(110,231,255,.20);
  --fx-glow2: rgba(162,105,255,.22);
  --fx-glow3: rgba(240,106,166,.20);
}

/* --- Background FX layer (aurora + noise) --- */
.fx-bg{
  position: fixed;
  inset: -20vh -20vw;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 12% 12%, rgba(162,105,255,.18), transparent 60%),
    radial-gradient(1000px 560px at 88% 16%, rgba(240,106,166,.14), transparent 60%),
    radial-gradient(900px 520px at 55% 88%, rgba(110,231,255,.10), transparent 60%),
    linear-gradient(180deg, #f6f3ff 0%, #f7f7ff 35%, #fbf7fb 100%);
  filter: saturate(1.05);
}

.fx-orb{
  position: absolute;
  width: clamp(240px, 32vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(35px);
  opacity: .55;
  transform: translate3d(0,0,0);
  animation: fxFloat 14s var(--fx-ease) infinite alternate;
}

.orb-1{
  left: 8%;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(162,105,255,.90), transparent 60%);
  animation-duration: 16s;
}
.orb-2{
  right: 6%;
  top: 12%;
  background: radial-gradient(circle at 30% 30%, rgba(240,106,166,.75), transparent 62%);
  animation-duration: 18s;
}
.orb-3{
  left: 30%;
  bottom: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(110,231,255,.70), transparent 62%);
  animation-duration: 20s;
}

@keyframes fxFloat{
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(40px, -26px, 0) scale(1.07); }
}

/* Noise overlay (subtle premium grain) */
.fx-noise{
  position: absolute;
  inset: 0;
  opacity: .08;
  mix-blend-mode: soft-light;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 1px, transparent 1px 3px);
  transform: translateZ(0);
}

/* --- Canvas particles --- */
#fxParticles{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .70;
}

/* --- Cursor glow (optional but very “premium”) --- */
.fx-cursor{
  position: fixed;
  width: 360px;
  height: 360px;
  left: -999px;
  top: -999px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(110,231,255,.18), transparent 60%);
  filter: blur(12px);
  transform: translate3d(0,0,0);
  opacity: .0;
  transition: opacity 200ms var(--fx-ease);
}

/* --- Scroll reveal animations --- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--fx-dur) var(--fx-ease),
              transform var(--fx-dur) var(--fx-ease);
  will-change: transform, opacity;
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* --- 3D Tilt base --- */
.fx-tilt{
  transform-style: preserve-3d;
  perspective: 900px;
  transition: transform 180ms var(--fx-ease), box-shadow 180ms var(--fx-ease);
  position: relative;
  overflow: hidden;
}

/* “Specular highlight” that moves with tilt */
.fx-tilt::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(650px 220px at var(--mx, 50%) var(--my, 30%),
    rgba(255,255,255,.20), transparent 55%);
  opacity: 0;
  transition: opacity 200ms var(--fx-ease);
  pointer-events:none;
}
.fx-tilt:hover::after{ opacity: 1; }

/* Extra depth shadow on hover */
.fx-tilt:hover{
  box-shadow: 0 22px 60px rgba(20, 10, 70, 0.16);
}

/* Enhance your existing cards a touch */
.card.fx-tilt{
  border: 1px solid rgba(255,255,255,.40);
  background: rgba(255,255,255,0.70);
}

/* Hero glow badge */
.hero-glow{
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(closest-side at 30% 30%, var(--fx-glow2), transparent 55%),
    radial-gradient(closest-side at 70% 30%, var(--fx-glow3), transparent 60%),
    radial-gradient(closest-side at 50% 70%, var(--fx-glow), transparent 60%);
  filter: blur(18px);
  opacity: .65;
  z-index: 0;
  pointer-events:none;
}
.hero-art-bg{ position: relative; }
.hero-img{ position: relative; z-index: 1; }

/* Make the nav feel more “sticky premium” (optional) */
.nav{
  position: sticky;
  top: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(251,249,255,.78) 65%, rgba(245,242,255,.72) 100%);
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce){
  .fx-orb, .reveal, .fx-tilt{ animation: none !important; transition: none !important; }
  #fxParticles{ display:none; }
  .fx-cursor{ display:none; }
}



/* =========================================================
   SERVICES PAGE — HIGH-END (LIGHT) MOTION UPGRADE
   ========================================================= */

.services-hero::before{
  content:"";
  position:absolute;
  inset:-140px -100px auto -100px;
  height: 360px;
  pointer-events:none;
  background:
    radial-gradient(closest-side at 22% 46%, rgba(141, 27, 27, 0.10), transparent 70%),
    radial-gradient(closest-side at 64% 34%, rgba(162, 105, 255, 0.18), transparent 70%),
    radial-gradient(closest-side at 86% 58%, rgba(240, 106, 166, 0.16), transparent 74%),
    radial-gradient(closest-side at 55% 78%, rgba(110, 231, 255, 0.10), transparent 74%);
  filter: blur(10px);
  opacity: 0.95;
  animation: svcAurora 14s ease-in-out infinite alternate;
}

.services-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity: 0.10;
  background-image:
    linear-gradient(rgba(90,80,170,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,80,170,0.22) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 68%);
}

@keyframes svcAurora{
  0%   { transform: translate(-1.5%, -1%) scale(1); }
  100% { transform: translate(1.5%, 1%) scale(1.03); }
}

/* Premium hover */
.services-partner-card,
.services-service-card{
  position: relative;
  transform: translateZ(0);
  transition: transform 240ms cubic-bezier(.16,1,.3,1),
              box-shadow 240ms cubic-bezier(.16,1,.3,1),
              border-color 240ms ease;
}

.services-partner-card:hover,
.services-service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(60, 30, 120, 0.14);
  border-color: rgba(162, 105, 255, 0.18);
}

/* Cursor glow (requires JS in services.html) */
.services-partner-card::after,
.services-service-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  opacity: 0;
  transition: opacity 220ms ease;
  background:
    radial-gradient(380px 220px at var(--mx, 50%) var(--my, 35%),
      rgba(110,231,255,0.18), transparent 60%),
    radial-gradient(340px 200px at calc(var(--mx, 50%) + 10%) calc(var(--my, 35%) + 8%),
      rgba(162,105,255,0.14), transparent 60%);
}

.services-partner-card:hover::after,
.services-service-card:hover::after{
  opacity: 1;
}

/* ===========================
   SERVICES — BENEFITS ROTATOR
   =========================== */

.benefits-rotator{
  padding: 54px var(--page-gutter);
  margin-top: 90px;
  background: #f3f6fb; /* soft light grey/blue like screenshot */
  border-bottom: 1px solid rgba(20,20,20,0.06);
}

.benefits-inner{
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.benefits-kicker{
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  color: #111827;
}

.benefits-list{
  display: grid;
  gap: 12px;
}

.benefit-item{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 6px;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 12px;

  text-align: left;
  border-radius: 14px;
  transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
  opacity: 0.65;
}

.benefit-item:hover{
  opacity: 0.9;
  background: rgba(255,255,255,0.55);
}

.benefit-item.is-active{
  opacity: 1;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 10px 28px rgba(20,10,70,0.06);
  transform: translateY(-1px);
}

.benefit-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  font-weight: 700;
  font-size: 13px;

  background: rgba(16,185,129,0.18);      /* mint base */
  color: rgba(17,24,39,0.9);
}

.benefit-item.is-active .benefit-num{
  background: rgba(16,185,129,0.95);      /* active green */
  color: #062a1e;
}

.benefit-label{
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
}

.benefits-right{
  min-height: 180px;
  display: flex;
  align-items: center;
}

.benefits-headline{
  font-size: clamp(34px, 4.3vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.8px;
  font-weight: 700;
  color: #0b0f1a;
}

/* Fade animation for headline swap */
.benefits-headline.is-fading{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.benefits-headline.is-in{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms ease, transform 240ms ease;
}

/* Responsive: stack */
@media (max-width: 900px){
  .benefits-inner{
    grid-template-columns: 1fr;
  }
  .benefits-right{
    min-height: unset;
  }
}
/* Make hero layout become single-column when hero-art is removed */
.hero-inner {
  display: grid;                 /* if you already use grid, keep it */
  grid-template-columns: 1fr;    /* force full width for text */
  align-items: center;
}

/* Make hero text fill the available space */
.hero-text {
  max-width: none;
  width: 100%;
}

.hero {
  padding-top: 1.4in;
  padding-bottom: 1.50in;
}

/* On smaller screens, reduce padding */
@media (max-width: 768px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .hero-kicker {
    white-space: normal;
  }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px){
  .hero{
    padding-top: 44px;
  }
  .hero-inner{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-text{
    max-width: 680px;
  }
  .hero-art-bg{
    max-width: 560px;
  }
}

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .cards.five { grid-template-columns: repeat(2, 1fr); }

  .services-partner-grid { grid-template-columns: 1fr; }
  .services-service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px){
  :root{ --nav-drop: 12px; }

  body{ padding-top: var(--nav-drop); }

  /* Show hamburger menu button on mobile */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Hide regular nav links on mobile - they'll be in the side panel */
  .nav .nav-links {
    display: none;
  }

  /* Reset nav height since we're not stacking links vertically anymore */
  .nav {
    height: 72px;
    padding-bottom: 0;
  }

  .cards.three{ grid-template-columns: 1fr; }

  .modal-panel { margin: 18px auto; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-body { max-height: calc(100vh - 120px); }
}

@media (max-width: 520px){
  .cards.four,
  .cards.five { grid-template-columns: 1fr; }

  .about-title { font-size: 32px; }

  .hero{
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .hero-text h1{ letter-spacing: -0.2px; }

  .hero-art-bg{ border-radius: 18px; }

  .services-service-grid { grid-template-columns: 1fr; }
  .services-card-img { height: 140px; }

  .about-cta{
    padding: 34px 16px 44px;
    background-position: center bottom;
  }
  .about-cta-inner{ padding: 18px 14px; }
}

/* =========================================================
   Combined page-specific CSS (moved from about-page.css & expertise.css)
   ========================================================= */

/* About page extras */
.about-kicker{
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: rgba(31,36,48,0.58);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-badges{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-badge{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(90,80,170,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px;
  color: #4e5566;
}
.about-timeline{
  margin-top: 14px;
  display:grid;
  gap: 12px;
}
.tl-item{
  display:grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(90, 80, 170, 0.10);
  box-shadow: 0 12px 34px rgba(20, 10, 70, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tl-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: linear-gradient(90deg, #f06aa6, #a269ff);
  box-shadow: 0 8px 16px rgba(168, 105, 255, 0.25);
}
.tl-body h3{
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
}
.tl-body p{
  margin: 0;
  font-size: 13px;
  color: #596071;
  line-height: 1.6;
}
.about-address-card{
  width: var(--container);
  margin: 0 auto;
  padding: 18px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 18px 55px rgba(20, 10, 70, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.address-contact-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex: 1;
}
.contact-details {
  min-width: 200px;
}
.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-code img {
  width: 120px;
  height: 120px;
}
.about-address-actions{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.about-address-note{
  font-size: 12px;
  opacity: 0.75;
  margin: 0;
}
@media (max-width: 640px){
  .about-address-card{ padding: 16px 14px; }
  .address-contact-row { flex-direction: column; gap: 10px; }
  .contact-details { min-width: auto; }
  .qr-code img { width: 100px; height: 100px; }
}

/* leadership styles removed for previous version */

/* ============================================
   LEADERSHIP SECTION — Fixed 4×4 Grid
   ============================================ */

/* simple leadership layout */
.about-leadership {
  padding: 60px var(--page-gutter);
  background: #f6f3ff;
}

.about-leadership h2 {
  text-align: center;
  font-size: clamp(28px,4vw,40px);
  margin-bottom: 40px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 per row */
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.lead-card {
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(90,80,170,0.12);
  text-align: center;
}

.lead-card h3 {
  font-size: 16px;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.lead-card p {
  font-size: 13px;
  color: #6e7eff;
  margin: 0;
}

.lead-card .lead-photo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablet: 2 per row */
  }
}

@media (max-width: 640px) {
  .leadership-grid {
    grid-template-columns: 1fr; /* Mobile: 1 per row */
    gap: 16px;
  }
}


@media (max-width: 640px) {
  .about-leadership { padding: 40px var(--page-gutter); }
  .leadership-grid { gap: 16px; }
}

/* Expertise page extras */
:root{
  --exp-ink: #1f2430;
  --exp-muted: #5b6272;
  --exp-surface: rgba(255,255,255,0.78);
  --exp-stroke: rgba(90, 80, 170, 0.10);
  --exp-shadow: 0 18px 55px rgba(20, 10, 70, 0.10);
  --icon-bg: #ffffff;
  --icon-border: rgba(50, 25, 120, 0.16);
  --icon-shadow: 0 10px 22px rgba(50, 25, 120, 0.12);
}
.exp-hero{
  position: relative;
  padding: 40px var(--page-gutter) 18px;
  background: #ffffff;
  border-bottom: 1px solid rgba(20,20,20,0.06);
  overflow: hidden;
}
.exp-hero::before{
  content:"";
  position:absolute;
  inset:-120px -80px auto -80px;
  height: 320px;
  background:
    radial-gradient(closest-side at 20% 45%, rgba(178, 18, 18, 0.10), transparent 72%),
    radial-gradient(closest-side at 65% 35%, rgba(162, 105, 255, 0.14), transparent 70%),
    radial-gradient(closest-side at 85% 60%, rgba(240, 106, 166, 0.12), transparent 75%);
  filter: blur(6px);
  pointer-events:none;
}
.exp-hero-inner{
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 20px 18px;
  border-radius: 22px;
  background: var(--exp-surface);
  border: 1px solid var(--exp-stroke);
  box-shadow: var(--exp-shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.exp-kicker{
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(31, 36, 48, 0.62);
  font-weight: 700;
  margin-bottom: 8px;
}
.exp-title{
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.3px;
  font-weight: 700;
  color: var(--exp-ink);
  margin-bottom: 10px;
}
.exp-subtitle{
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--exp-muted);
  max-width: 80ch;
}
.exp-section{
  padding-top: 22px;
}
.exp-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.exp-card{
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--exp-stroke);
  box-shadow: 0 16px 45px rgba(60, 30, 120, 0.07);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.exp-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(60, 30, 120, 0.12);
  border-color: rgba(162,105,255,0.26);
}
.exp-card:focus-visible{
  outline: 3px solid rgba(178, 18, 18, 0.35);
  outline-offset: 3px;
}
.exp-icon{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,243,255,0.92));
  border: 1px solid var(--icon-border);
  box-shadow: var(--icon-shadow);
}
.exp-icon-img{
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(25, 10, 70, 0.12));
}
.exp-card:hover .exp-icon{
  border-color: rgba(162,105,255,0.34);
  box-shadow: 0 14px 28px rgba(60, 30, 120, 0.18);
}
.exp-card-title{
  font-size: 16px;
  font-weight: 700;
  color: var(--exp-ink);
  margin: 2px 0 6px;
}
.exp-card-desc{
  font-size: 13.5px;
  line-height: 1.5;
  color: #596071;
}
.exp-meta{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.exp-pill{
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(90, 80, 170, 0.10);
  color: #4e5566;
}
.exp-cta{
  padding: 26px var(--page-gutter) 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(251,247,247,1));
}
.exp-cta-inner{
  width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(20,20,20,0.06);
  box-shadow: 0 14px 40px rgba(20, 10, 70, 0.08);
}
.exp-cta-inner h2{
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  margin-bottom: 6px;
}
.exp-cta-inner p{
  font-size: 13px;
  color: var(--exp-muted);
  line-height: 1.65;
  max-width: 72ch;
  margin: 0 auto;
}
.exp-cta-actions{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 980px){
  .exp-grid{ grid-template-columns: 1fr; }
  .exp-card{ grid-template-columns: 60px 1fr; }
  .exp-icon{ width: 60px; height: 60px; border-radius: 16px; }
  .exp-icon-img{ width: 36px; height: 36px; }
}

/* =========================================================
   CROSS-BROWSER FONT COLOR NORMALIZATION
   Fix: Chrome text appearing lighter than Edge
   ========================================================= */

/* Remove any WebKit text fill from normal text elements */
body,
p,
span,
a,
li,
label,
button,
input,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-text-fill-color: unset !important;
  color: inherit;
}

/* Ensure body color is the true source */
body {
  color: #1f2430;
}

/* ---------------------------------------------------------
   KEEP WebKit text fill ONLY where it is required
   (gradient text)
   --------------------------------------------------------- */

.cf-gradient,
.tech-hero-copy h1 {
  -webkit-text-fill-color: transparent !important;
}

/* =========================================================
   PREMIUM HOMEPAGE
   Dedicated overrides for index.html
   ========================================================= */

.legacy-home-section {
  display: none !important;
}

.hero.hero-premium {
  padding-top: clamp(44px, 6vw, 88px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.hero.hero-premium .hero-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: stretch;
}

.hero.hero-premium .hero-text {
  max-width: none;
  width: 100%;
}

.hero-premium-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label,
.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(122, 32, 32, 0.82);
}

.hero.hero-premium .hero-kicker {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  white-space: normal;
  color: #6b7280;
}

.hero.hero-premium .hero-text h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: #10131a;
}

.hero-premium-lead {
  margin-top: 22px;
  max-width: 62ch;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
  color: #4f5a6b;
}

.hero.hero-premium .hero-actions,
.cta.cta-premium .hero-actions {
  margin-top: 26px;
  gap: 16px;
}

.hero.hero-premium .btn-primary,
.cta.cta-premium .btn-primary {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(104, 15, 15, 0.25);
  background: linear-gradient(135deg, #8d1b1b 0%, #521010 100%);
  box-shadow: 0 18px 35px rgba(97, 23, 23, 0.22);
  font-size: 13px;
  font-weight: 600;
}

.hero.hero-premium .link-secondary,
.cta.cta-premium .link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #172033;
}

.hero-signal-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-signal {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 20px 48px rgba(16, 19, 26, 0.07);
}

.hero-signal strong,
.proof-tile strong,
.engagement-card h3,
.advantage-card h3,
.process-step h3,
.capability-card h3,
.industry-pill,
.hero-command-footer strong {
  color: #111827;
}

.hero-signal strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.hero-signal span {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: #5a6473;
}

.hero-command-center {
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(182, 27, 27, 0.16), transparent 38%),
    linear-gradient(160deg, rgba(17, 24, 39, 0.97), rgba(28, 35, 51, 0.95));
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(8, 12, 20, 0.3);
  min-height: 100%;
}

.hero-command-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-command-center h2 {
  margin: 16px 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
}

.hero-command-center > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

.hero-command-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.hero-command-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.hero-command-steps li > span,
.process-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.hero-command-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #ffffff;
}

.hero-command-steps p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.hero-command-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-command-footer strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 13px;
}

.hero-command-footer span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.home-proof,
.home-industries {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.home-proof-inner,
.home-industries-inner,
.home-section,
.cta-premium-inner {
  width: var(--container);
  margin: 0 auto;
}

.home-proof {
  padding-top: 8px;
  padding-bottom: 18px;
}

.home-proof-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: start;
}

.home-proof-intro h2,
.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #111827;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: end;
}

.section-copy,
.home-proof-intro p + h2 + p,
.cta-premium-inner > p:not(.section-label) {
  font-size: 14px;
  line-height: 1.75;
  color: #5b6575;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.proof-tile,
.engagement-card,
.advantage-card,
.process-step,
.capability-card,
.cta-premium-inner {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 18px 55px rgba(16, 19, 26, 0.07);
}

.proof-tile {
  min-height: 100%;
  padding: 20px;
  border-radius: 20px;
}

.proof-tile strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.proof-tile p,
.engagement-card p,
.advantage-card p,
.process-step p,
.capability-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6575;
}

.home-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

.engagement-grid,
.advantage-grid,
.process-grid,
.capability-grid {
  display: grid;
  gap: 18px;
}

.engagement-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.engagement-card {
  padding: 24px;
  border-radius: 24px;
}

.engagement-card.featured {
  background:
    radial-gradient(circle at top, rgba(141, 27, 27, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(141, 27, 27, 0.18);
}

.engagement-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #8d1b1b;
  font-size: 12px;
  font-weight: 700;
}

.engagement-card h3,
.advantage-card h3,
.process-step h3,
.capability-card h3 {
  margin: 18px 0 12px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}

.engagement-card ul {
  margin: 18px 0 0 18px;
  padding: 0;
  color: #4f5a6b;
  font-size: 13px;
  line-height: 1.75;
}

.engagement-link,
.advantage-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #8d1b1b;
}

.advantage-grid,
.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advantage-card,
.capability-card {
  padding: 22px;
  border-radius: 22px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  padding: 22px;
  border-radius: 22px;
}

.process-step > span {
  width: 44px;
  height: 44px;
  background: rgba(141, 27, 27, 0.08);
  border-color: rgba(141, 27, 27, 0.12);
  color: #8d1b1b;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-list span,
.industry-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 12px;
  font-weight: 600;
}

.home-industries {
  padding-top: 24px;
  padding-bottom: 12px;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-pill {
  background: rgba(255, 255, 255, 0.82);
}

.cta.cta-premium {
  margin-top: 0 !important;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  padding-top: 24px !important;
  padding-bottom: 56px;
  background: transparent;
}

.cta-premium-inner {
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(141, 27, 27, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(28, 35, 51, 0.94));
  color: rgba(255, 255, 255, 0.94);
  text-align: left;
  box-shadow: 0 28px 80px rgba(9, 13, 22, 0.28);
}

.cta-premium-inner h2 {
  margin: 0 0 12px;
  max-width: 14ch;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #ffffff;
}

.cta-premium-inner > p:not(.section-label) {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .hero.hero-premium .hero-inner,
  .section-heading-split,
  .home-proof-inner {
    grid-template-columns: 1fr;
  }

  .hero-signal-grid,
  .engagement-grid,
  .advantage-grid,
  .process-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero.hero-premium .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero.hero-premium .hero-text h1,
  .cta-premium-inner h2 {
    max-width: none;
  }

  .hero-command-center {
    padding: 22px;
  }

  .hero-command-footer,
  .home-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero.hero-premium .hero-kicker {
    font-size: 17px;
  }

  .hero.hero-premium .hero-text h1 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .hero-signal-grid,
  .engagement-grid,
  .advantage-grid,
  .process-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-command-steps li {
    grid-template-columns: 42px 1fr;
  }

  .hero-command-steps li > span,
  .process-step > span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .proof-tile,
  .engagement-card,
  .advantage-card,
  .process-step,
  .capability-card,
  .cta-premium-inner {
    border-radius: 18px;
  }
}

/* =========================================================
   PREMIUM ABOUT PAGE
   ========================================================= */

.legacy-about-section {
  display: none !important;
}

body.about-page .about-premium-hero {
  padding-top: clamp(18px, 3vw, 36px);
  padding-bottom: 10px;
}

body.about-page .about-premium-hero .about-surface {
  max-width: 1280px;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(141, 27, 27, 0.12), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 241, 0.94));
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 28px 80px rgba(16, 19, 26, 0.1);
}

body.about-page .about-premium-hero .about-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(18px, 2.8vw, 28px);
  align-items: center;
}

body.about-page .about-topbar {
  padding: 0 0 14px;
}

body.about-page .about-mini-links {
  font-size: 12px;
  letter-spacing: 0.03em;
}

body.about-page .about-title {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 0 0 10px;
}

body.about-page .about-lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 54ch;
  margin: 0 0 12px;
  color: #3f4958;
}

body.about-page .about-text {
  font-size: 14px;
  line-height: 1.8;
  color: #566173;
  max-width: 65ch;
}

body.about-page .about-badges {
  margin-top: 16px;
  gap: 12px;
}

body.about-page .about-badge,
.about-story-list-item,
.about-stat,
.about-signal-card,
.about-ops-card,
.about-principle-card,
.about-address-card,
.lead-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 18px 50px rgba(16, 19, 26, 0.08);
}

body.about-page .about-badge {
  padding: 10px 14px;
  color: #374151;
  font-weight: 600;
}

.about-visual-premium {
  display: grid;
  gap: 14px;
}

.about-visual-frame {
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(141, 27, 27, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 236, 0.92));
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 22px 58px rgba(16, 19, 26, 0.08);
}

.about-visual-frame img {
  width: 100%;
}

.about-hero-panel {
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(141, 27, 27, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(16, 19, 26, 0.98), rgba(28, 35, 51, 0.96));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 64px rgba(8, 12, 20, 0.28);
}

.about-panel-label,
.about-section-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(136, 32, 32, 0.82);
}

.about-hero-panel .about-panel-label {
  color: rgba(255, 255, 255, 0.72);
}

.about-panel-item + .about-panel-item {
  margin-top: 16px;
}

.about-panel-item strong,
.about-signal-card h3,
.about-ops-card h3,
.about-principle-card h3,
.about-story-list-item strong,
.about-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.about-panel-item strong {
  color: #ffffff;
}

.about-panel-item span {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.about-stat-row,
.about-signal-grid,
.about-ops-grid,
.about-principles-grid {
  display: grid;
  gap: 18px;
}

.about-stat-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.about-stat {
  padding: 18px;
  border-radius: 20px;
}

.about-stat span {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: #5a6473;
}

.about-premium-section {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  padding-top: 10px;
  padding-bottom: 10px;
}

.about-operating-system {
  padding-bottom: 0 !important;
  margin-bottom: -18px;
}

.about-premium-shell {
  width: var(--container);
  margin: 0 auto;
}

.about-section-header {
  margin-bottom: 18px;
}

.about-section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #10131a;
}

.about-section-header p,
.about-story-copy p,
.about-section-intro {
  font-size: 14px;
  line-height: 1.8;
  color: #586172;
}

.about-company-signals .about-signal-grid,
.about-ops-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-signal-card,
.about-ops-card {
  padding: 22px;
  border-radius: 24px;
}

.about-signal-index,
.about-ops-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(141, 27, 27, 0.08);
  color: #8d1b1b;
  border: 1px solid rgba(141, 27, 27, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.about-signal-card p,
.about-ops-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #5b6575;
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.about-story-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.about-story-copy p {
  margin: 0 0 10px;
}

.about-story-quote {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(18, 23, 36, 0.96);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 58px rgba(9, 13, 22, 0.24);
}

.about-story-side {
  display: grid;
  gap: 14px;
}

.about-story-media {
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(141, 27, 27, 0.1), transparent 40%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 22px 58px rgba(16, 19, 26, 0.08);
}

.about-story-media img {
  width: 100%;
}

.about-story-list {
  display: grid;
  gap: 12px;
}

.about-story-list-item {
  padding: 18px;
  border-radius: 20px;
}

.about-story-list-item span {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6575;
}

.section.about-leadership-premium {
  margin-top: 18px;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  padding-top: 0 !important;
  padding-bottom: 12px !important;
}

.about-leadership-premium .center-title {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.about-section-intro {
  width: min(760px, 100%);
  margin: 0 auto 10px;
  text-align: center;
}

.about-leadership-premium .about-section-intro {
  display: none;
}

.about-leadership-premium .leadership-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-leadership-premium .lead-card {
  padding: 18px;
  border-radius: 24px;
  text-align: left;
}

.about-leadership-premium .lead-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.about-leadership-premium .lead-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
}

.about-leadership-premium .lead-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d1b1b;
}

.about-address-premium {
  padding-top: 10px;
  padding-bottom: 14px;
}

.about-address-premium .about-address-card {
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 28px;
  display: block;
}

.about-address-structured {
  display: grid;
  gap: 18px;
}

.about-address-head .about-h2 {
  margin-bottom: 8px;
}

.address-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) 160px;
  gap: 14px;
  align-items: stretch;
}

.address-block {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 19, 26, 0.07);
}

.address-block-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d1b1b;
}

.address-block .about-text {
  margin: 0;
}

.address-block .about-text + .about-text {
  margin-top: 10px;
}

.address-block-qr {
  text-align: center;
}

.address-block-qr img {
  width: 110px;
  height: 110px;
  border-radius: 18px;
  background: #ffffff;
  padding: 8px;
  border: 1px solid rgba(16, 19, 26, 0.08);
  margin: 2px auto 8px;
}

.qr-note {
  font-size: 12px;
  line-height: 1.55;
}

.about-address-actions-modern {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.about-address-legacy,
.about-address-actions-legacy {
  display: none !important;
}

.about-premium-hero .btn-primary,
.about-address-premium .btn-primary,
.about-cta-premium .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(104, 15, 15, 0.24);
  background: linear-gradient(135deg, #8d1b1b 0%, #521010 100%);
  box-shadow: 0 16px 34px rgba(97, 23, 23, 0.22);
  color: #ffffff;
}

.about-premium-hero .link-secondary,
.about-address-premium .link-secondary,
.about-cta-premium .link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #172033;
}

.about-cta-premium {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  padding-top: 10px;
  padding-bottom: 42px;
}

.about-cta-premium .about-cta-inner {
  width: var(--container);
  padding: clamp(20px, 2.8vw, 30px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(141, 27, 27, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(28, 35, 51, 0.94));
  color: rgba(255, 255, 255, 0.94);
  text-align: left;
  box-shadow: 0 28px 80px rgba(9, 13, 22, 0.28);
}

.about-cta-premium .about-cta-inner h2 {
  margin: 0 0 12px;
  max-width: 13ch;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.about-cta-premium .about-cta-inner p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.72);
}

.about-cta-premium .hero-actions {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  body.about-page .about-premium-hero .about-grid,
  .about-story-layout {
    grid-template-columns: 1fr;
  }

  .about-stat-row,
  .about-company-signals .about-signal-grid,
  .about-ops-grid,
  .about-leadership-premium .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .address-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.about-page .about-premium-hero .about-surface {
    padding: 18px;
    border-radius: 22px;
  }

  .about-stat-row,
  .about-company-signals .about-signal-grid,
  .about-ops-grid,
  .about-leadership-premium .leadership-grid,
  .address-contact-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-premium .about-cta-inner h2,
  body.about-page .about-title {
    max-width: none;
  }

  .about-address-actions-modern {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   PREMIUM EXPERTISE PAGE
   ========================================================= */

body.expertise-page .exp-hero {
  padding: 44px var(--page-gutter) 20px;
  background: transparent;
  border-bottom: 0;
}

body.expertise-page .exp-hero-inner {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(141, 27, 27, 0.12), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 242, 0.92));
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 26px 80px rgba(16, 19, 26, 0.1);
}

.exp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

.exp-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.expertise-page .exp-kicker,
.exp-section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(122, 32, 32, 0.82);
  font-weight: 700;
}

body.expertise-page .exp-title {
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin-bottom: 14px;
  max-width: 12ch;
  color: #10131a;
}

body.expertise-page .exp-subtitle {
  font-size: 15px;
  line-height: 1.8;
  max-width: 62ch;
  color: #556173;
}

.exp-hero-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.exp-hero-point,
.exp-case-card,
.exp-moment-card,
.exp-card,
.exp-cta-inner {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 18px 50px rgba(16, 19, 26, 0.08);
}

.exp-hero-point {
  padding: 18px;
  border-radius: 20px;
}

.exp-hero-point strong,
.exp-story-list li,
.exp-case-card h3,
.exp-moment-card h3,
.exp-section-head h2 {
  color: #111827;
}

.exp-hero-point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.exp-hero-point span {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6575;
}

.exp-hero-story {
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(141, 27, 27, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(16, 19, 26, 0.98), rgba(28, 35, 51, 0.96));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(8, 12, 20, 0.3);
}

.exp-story-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.exp-hero-story h2 {
  margin: 16px 0 12px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
  color: #ffffff;
}

.exp-hero-story > p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
}

.exp-story-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.exp-story-list li {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.exp-proof-band,
.exp-domains,
.exp-client-situations {
  padding: 18px var(--page-gutter) 0;
}

.exp-proof-band-inner,
.exp-domains-inner,
.exp-client-situations-inner {
  width: var(--container);
  margin: 0 auto;
}

.exp-proof-band-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.exp-proof-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 18px 50px rgba(16, 19, 26, 0.08);
}

.exp-proof-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(122, 32, 32, 0.82);
  font-weight: 700;
}

.exp-proof-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5b6575;
}

.exp-domains-head {
  margin-bottom: 24px;
}

.exp-domains .exp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.expertise-page .exp-domains .exp-card {
  padding: 22px 20px;
  border-radius: 24px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 251, 0.94));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.expertise-page .exp-domains .exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(16, 19, 26, 0.12);
  border-color: rgba(141, 27, 27, 0.16);
}

body.expertise-page .exp-domains .exp-card-title {
  font-size: 18px;
  line-height: 1.2;
}

body.expertise-page .exp-domains .exp-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #5b6575;
}

.exp-client-situations-inner {
  padding-top: 8px;
}

.exp-situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.exp-situation-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 19, 26, 0.08);
  box-shadow: 0 18px 50px rgba(16, 19, 26, 0.08);
}

.exp-situation-card.featured {
  background:
    radial-gradient(circle at top, rgba(141, 27, 27, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(141, 27, 27, 0.16);
}

.exp-situation-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #10131a;
}

.exp-situation-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #5b6575;
}

.exp-use-cases,
.exp-story-strip {
  padding: 20px var(--page-gutter) 0;
}

.exp-use-cases,
.exp-story-strip {
  display: none !important;
}

.exp-use-cases-inner,
.exp-story-strip-inner {
  width: var(--container);
  margin: 0 auto;
}

.exp-section-head {
  margin-bottom: 22px;
}

.exp-section-head.compact {
  margin-bottom: 16px;
}

.exp-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.exp-section-head p {
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.75;
  color: #5b6575;
}

.exp-case-grid,
.exp-moment-grid {
  display: grid;
  gap: 18px;
}

.exp-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exp-case-card {
  padding: 24px;
  border-radius: 24px;
}

.exp-case-card.featured {
  background:
    radial-gradient(circle at top, rgba(141, 27, 27, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(141, 27, 27, 0.16);
}

.exp-case-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #8d1b1b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exp-case-card h3 {
  margin: 18px 0 12px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.exp-case-card p,
.exp-moment-card p,
.exp-grid-head p,
.exp-cta-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #5b6575;
}

.exp-case-card ul {
  margin: 16px 0 0 18px;
  padding: 0;
  color: #4f5a6b;
  font-size: 13px;
  line-height: 1.75;
}

.exp-moment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exp-moment-card {
  padding: 20px;
  border-radius: 22px;
}

.exp-moment-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.section.exp-section {
  margin-bottom: 0 !important;
  padding-top: 18px !important;
  padding-bottom: 0 !important;
}

.exp-grid {
  margin-bottom: 0 !important;
}

.exp-grid-head {
  margin-bottom: 18px;
}

body.expertise-page .exp-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.expertise-page .exp-card {
  padding: 18px;
  border-radius: 22px;
}

body.expertise-page .exp-card-title {
  font-size: 17px;
}

body.expertise-page .exp-card-desc {
  font-size: 13px;
  line-height: 1.65;
}

body.expertise-page .exp-pill {
  font-weight: 600;
}

body.expertise-page .exp-cta {
  margin-top: 18px !important;
  padding: 0 var(--page-gutter) 40px !important;
  background: transparent;
}

body.expertise-page .exp-cta-inner {
  margin-top: 0 !important;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(141, 27, 27, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(28, 35, 51, 0.94));
  color: rgba(255, 255, 255, 0.94);
  text-align: left;
  box-shadow: 0 28px 80px rgba(9, 13, 22, 0.28);
}

body.expertise-page .exp-cta-inner > h2,
body.expertise-page .exp-cta-inner > p {
  display: none;
}

.exp-cta-copy h2 {
  margin: 0 0 12px;
  max-width: 14ch;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #ffffff;
}

.exp-cta-copy p:not(.exp-section-label) {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.72);
}

.exp-cta-copy {
  padding-top: 6px;
}

body.expertise-page .exp-cta-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

@media (max-width: 1180px) {
  .exp-hero-grid,
  .exp-case-grid,
  .exp-situation-grid {
    grid-template-columns: 1fr;
  }

  .exp-hero-points,
  .exp-moment-grid,
  body.expertise-page .exp-grid,
  .exp-proof-band-inner,
  .exp-domains .exp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.expertise-page .exp-title,
  .exp-cta-copy h2 {
    max-width: none;
  }

  .exp-hero-points,
  .exp-moment-grid,
  body.expertise-page .exp-grid,
  .exp-proof-band-inner,
  .exp-domains .exp-grid,
  .exp-situation-grid {
    grid-template-columns: 1fr;
  }

  .exp-case-card,
  .exp-moment-card,
  .exp-proof-card,
  .exp-situation-card,
  body.expertise-page .exp-card,
  body.expertise-page .exp-cta-inner {
    border-radius: 18px;
  }
}

/* =========================================================
   SERVICES PAGE - PREMIUM ENTERPRISE REFRESH
   ========================================================= */

.services-page .services-hero {
  padding: 44px 18px 28px;
  background:
    radial-gradient(circle at top left, rgba(145, 26, 26, 0.14), transparent 34%),
    linear-gradient(180deg, #f7f1ec 0%, #f6f7fb 45%, #ffffff 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.services-page .services-hero::before,
.services-page .services-hero::after {
  display: none;
}

.services-page .services-hero-shell {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.services-page .services-hero-copy,
.services-page .services-hero-panel,
.services-page .services-proof-band-card,
.services-page .services-partner-card,
.services-page .services-scenario-card,
.services-page .services-service-card,
.services-page .services-bottom-cta-inner {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.services-page .services-hero-copy {
  padding: 40px;
}

.services-page .services-kicker,
.services-page .services-section-label,
.services-page .services-panel-label,
.services-page .services-card-eyebrow,
.services-page .services-scenario-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c1d18;
}

.services-page .services-kicker::before,
.services-page .services-section-label::before,
.services-page .services-panel-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.services-page .services-hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.97;
  letter-spacing: -0.05em;
  color: #111827;
}

.services-page .services-lead {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
}

.services-page .services-hero-actions {
  margin-top: 24px;
  justify-content: flex-start;
}

.services-page .services-hero-actions .btn,
.services-page .services-bottom-actions .btn,
.services-page .btn-wide {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
}

.services-page .services-hero-actions .btn span,
.services-page .services-bottom-actions .btn span,
.services-page .btn-wide span {
  display: none;
}

.services-page .services-proof-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.services-page .services-proof-item {
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.98), rgba(243, 244, 246, 0.92));
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.services-page .services-proof-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #111827;
}

.services-page .services-proof-item span {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.services-page .services-hero-panel {
  padding: 34px 30px;
  background:
    linear-gradient(180deg, rgba(19, 27, 49, 0.96), rgba(31, 41, 55, 0.94)),
    linear-gradient(180deg, #111827, #111827);
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.services-page .services-hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 211, 33, 0.18), transparent 70%);
  pointer-events: none;
}

.services-page .services-hero-panel h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.services-page .services-panel-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.services-page .services-panel-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.services-page .services-panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f97316;
}

.services-page .services-proof-band {
  padding: 0 18px 18px;
}

.services-page .services-proof-band-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.services-page .services-proof-band-card {
  padding: 22px 22px 20px;
}

.services-page .services-proof-band-value {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111827;
}

.services-page .services-proof-band-card p,
.services-page .services-subtitle,
.services-page .services-scenario-card p,
.services-page .services-bottom-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #6b7280;
}

.services-page .services-partner,
.services-page .services-scenarios,
.services-page .services-services {
  padding-top: 26px;
  padding-bottom: 8px;
}

.services-page .services-section-intro {
  margin-bottom: 22px;
}

.services-page .services-center h2 {
  max-width: 18ch;
  margin: 0 auto 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #111827;
}

.services-page .services-subtitle {
  max-width: 58ch;
  margin: 0 auto;
}

.services-page .services-partner-grid,
.services-page .services-scenario-grid,
.services-page .services-service-grid {
  width: var(--container);
  margin: 0 auto;
}

.services-page .services-partner-grid,
.services-page .services-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-page .services-partner-card,
.services-page .services-scenario-card,
.services-page .services-service-card {
  overflow: hidden;
}

.services-page .services-partner-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 251, 0.94));
}

.services-page .services-partner-card-featured {
  transform: translateY(-8px);
  border-color: rgba(140, 29, 24, 0.18);
  box-shadow: 0 30px 80px rgba(140, 29, 24, 0.12);
}

.services-page .services-card-img {
  height: 196px;
}

.services-page .services-card-body {
  padding: 22px 22px 24px;
}

.services-page .services-card-eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
  color: #9f1239;
}

.services-page .services-card-body h3,
.services-page .services-scenario-card h3,
.services-page .services-service-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #111827;
}

.services-page .services-card-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.72;
  color: #6b7280;
}

.services-page .tick-list,
.services-page .services-service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-page .tick-list li,
.services-page .services-service-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: #4b5563;
}

.services-page .tick-list li::before,
.services-page .services-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #dc2626, #ef4444);
}

.services-page .services-scenario-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 252, 0.94));
}

.services-page .services-scenario-tag {
  margin-bottom: 16px;
  color: #0f766e;
}

.services-page .services-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-page .services-service-card {
  padding: 24px 22px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 252, 0.92));
}

.services-page .services-service-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 18px;
  border: 1px solid rgba(140, 29, 24, 0.12);
  background: linear-gradient(180deg, rgba(140, 29, 24, 0.08), rgba(255, 255, 255, 0.85));
  font-size: 0;
}

.services-page .services-service-card:nth-child(1) .services-service-icon::before,
.services-page .services-service-card:nth-child(2) .services-service-icon::before,
.services-page .services-service-card:nth-child(3) .services-service-icon::before,
.services-page .services-service-card:nth-child(4) .services-service-icon::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #8c1d18;
}

.services-page .services-service-card:nth-child(1) .services-service-icon::before { content: "01"; }
.services-page .services-service-card:nth-child(2) .services-service-icon::before { content: "02"; }
.services-page .services-service-card:nth-child(3) .services-service-icon::before { content: "03"; }
.services-page .services-service-card:nth-child(4) .services-service-icon::before { content: "04"; }

.services-page .services-bottom-cta {
  padding: 30px 18px 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(244, 246, 249, 0.95));
}

.services-page .services-bottom-cta-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 30px 32px;
  text-align: center;
}

.services-page .services-bottom-cta-inner h2 {
  max-width: 18ch;
  margin: 0 auto 12px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #111827;
}

.services-page .services-bottom-copy {
  max-width: 56ch;
  margin: 0 auto;
}

.services-page .services-bottom-actions {
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .services-page .services-proof-band-inner,
  .services-page .services-partner-grid,
  .services-page .services-scenario-grid,
  .services-page .services-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page .services-hero-shell {
    grid-template-columns: 1fr;
  }

  .services-page .services-hero-copy h1,
  .services-page .services-center h2,
  .services-page .services-bottom-cta-inner h2 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .services-page .services-hero {
    padding-top: 28px;
  }

  .services-page .services-hero-copy,
  .services-page .services-hero-panel,
  .services-page .services-bottom-cta-inner {
    padding: 24px;
  }

  .services-page .services-proof-inline,
  .services-page .services-proof-band-inner,
  .services-page .services-partner-grid,
  .services-page .services-scenario-grid,
  .services-page .services-service-grid {
    grid-template-columns: 1fr;
  }

  .services-page .services-card-body h3,
  .services-page .services-scenario-card h3,
  .services-page .services-service-card h3 {
    font-size: 22px;
  }
}
