/* ==========================================================================
   ENTERPRISE — Shared design system
   Pages: page-enterprise | page-services | page-cases | page-careers | page-contact
   Matches About visual language: Manrope / Inter / Plus Jakarta Sans
   Heroes extend homepage .hero-home — do not fight main.js entrance.
   ========================================================================== */

body.page-enterprise,
body.page-services,
body.page-cases,
body.page-careers,
body.page-contact {
  --ent-ink: #0F172A;
  --ent-muted: #475569;
  --ent-line: rgba(15, 23, 42, 0.1);
  --ent-blue: #2F6BFF;
  --ent-cyan: #06B6D4;
  --ent-surface: #F8FAFC;
  --ent-display: 'Manrope', sans-serif;
  --ent-sans: 'Inter', sans-serif;
  --ent-ui: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --ent-radius: 24px;
  --ent-radius-md: 16px;
  --ent-transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --hp-glass: rgba(255, 255, 255, 0.045);
  --hp-glass-strong: rgba(255, 255, 255, 0.08);
  --hp-border: rgba(255, 255, 255, 0.12);
  --hp-radius: 24px;
  --hp-radius-md: 16px;
  --hp-transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-enterprise .section-title,
body.page-services .section-title,
body.page-cases .section-title,
body.page-careers .section-title,
body.page-contact .section-title,
body.page-enterprise .ent-display,
body.page-services .ent-display,
body.page-cases .ent-display,
body.page-careers .ent-display,
body.page-contact .ent-display {
  font-family: var(--ent-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-enterprise .ent-eyebrow,
body.page-services .ent-eyebrow,
body.page-cases .ent-eyebrow,
body.page-careers .ent-eyebrow,
body.page-contact .ent-eyebrow,
body.page-enterprise .hero-tag,
body.page-services .hero-tag,
body.page-cases .hero-tag,
body.page-careers .hero-tag,
body.page-contact .hero-tag {
  font-family: var(--ent-ui);
}

/* --------------------------------------------------------------------------
   Section shells — clear visual rhythm (white / mist / mesh / ink)
   -------------------------------------------------------------------------- */
.ent-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  isolation: isolate;
  overflow: hidden;
}

/* Soft top/bottom hairline dividers between consecutive sections */
.ent-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(15, 23, 42, 0.08) 20%,
    rgba(37, 99, 235, 0.18) 50%,
    rgba(15, 23, 42, 0.08) 80%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.ent-section--ink::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(125, 211, 252, 0.22) 50%,
    rgba(255, 255, 255, 0.06) 80%,
    transparent 100%
  );
}

/* Optional faint grid texture layer */
.ent-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.ent-section > .container {
  position: relative;
  z-index: 1;
}

/* Pure white — card grids, forms */
.ent-section--white {
  background: #ffffff;
}

.ent-section--frost {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(37, 99, 235, 0.04), transparent 42%),
    linear-gradient(180deg, #fcfdff 0%, #f8faff 100%);
}

.ent-section--frost::after {
  opacity: 0.4;
}

.ent-section--white::after {
  opacity: 0.35;
}

/* Mist gradient — #F8FAFF → #EEF5FF */
.ent-section--soft,
.ent-section--mist {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(37, 99, 235, 0.07), transparent 48%),
    radial-gradient(ellipse at 88% 100%, rgba(6, 182, 212, 0.06), transparent 42%),
    linear-gradient(180deg, #f8faff 0%, #eef6ff 100%);
}

.ent-section--soft::after,
.ent-section--mist::after {
  opacity: 0.55;
}

/* Mesh — stronger grid + cool wash (distinct from mist) */
.ent-section--mesh {
  background:
    radial-gradient(ellipse at 80% 15%, rgba(14, 165, 233, 0.1), transparent 42%),
    radial-gradient(ellipse at 18% 85%, rgba(37, 99, 235, 0.09), transparent 44%),
    linear-gradient(165deg, #f1f5fb 0%, #e8f0fa 48%, #f7fafc 100%);
}

.ent-section--mesh::after {
  opacity: 0.85;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 40%, rgba(37, 99, 235, 0.06), transparent 55%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
}

/* Dark enterprise — softened ink (high-impact technology blocks only) */
.ent-section--ink {
  background:
    radial-gradient(ellipse at 72% 8%, rgba(37, 99, 235, 0.22), transparent 40%),
    radial-gradient(ellipse at 12% 92%, rgba(6, 182, 212, 0.11), transparent 38%),
    radial-gradient(ellipse at 50% 50%, rgba(19, 34, 56, 0.35), transparent 70%),
    var(--bg-dark, #0E1A2B);
  color: rgba(226, 232, 240, 0.85);
}

.ent-section--ink::after {
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 40% 20%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 40% 20%, #000 15%, transparent 70%);
}

.ent-section--ink .section-title,
.ent-section--ink .ent-display {
  color: #fff;
}

/* Mid slate band — rare variety between light blocks */
.ent-section--slate {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.16), transparent 45%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: rgba(226, 232, 240, 0.85);
}

.ent-section--slate::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 211, 252, 0.2),
    transparent
  );
}

.ent-section--slate::after {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

.ent-section--slate .ent-display {
  color: #fff;
}

.ent-section--slate .ent-eyebrow {
  color: #7dd3fc;
}

.ent-section--slate .ent-lead {
  color: rgba(226, 232, 240, 0.72);
}

/* Inline CTA band (optional mid-page) */
.ent-section--cta {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(37, 99, 235, 0.28), transparent 45%),
    radial-gradient(ellipse at 90% 40%, rgba(6, 182, 212, 0.16), transparent 40%),
    linear-gradient(135deg, var(--bg-dark, #0E1A2B) 0%, var(--bg-dark-deep, #132238) 55%, #152a45 100%);
  color: rgba(226, 232, 240, 0.9);
}

.ent-section--cta::before {
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.25), transparent);
}

.ent-section--cta .ent-display {
  color: #fff;
}

.ent-section--cta .ent-eyebrow {
  color: #7dd3fc;
}

.ent-section--cta .ent-lead {
  color: rgba(226, 232, 240, 0.78);
}

.ent-eyebrow {
  display: inline-block;
  font-family: var(--ent-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ent-blue);
  margin-bottom: 0.75rem;
}

.ent-section--ink .ent-eyebrow {
  color: #7dd3fc;
}

.ent-display {
  font-family: var(--ent-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.ent-lead {
  font-family: var(--ent-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ent-muted);
  max-width: 38rem;
}

.ent-section--ink .ent-lead {
  color: rgba(226, 232, 240, 0.72);
}

/* --------------------------------------------------------------------------
   Hero variants — ride .hero-home grid; chrome only
   Visibility / stacking hard guarantees (never invisible copy)
   -------------------------------------------------------------------------- */
.hero-services.hero-home .hero-bg-container,
.hero-cases.hero-home .hero-bg-container,
.hero-careers.hero-home .hero-bg-container,
.hero-contact.hero-home .hero-bg-container {
  z-index: 0;
  pointer-events: none;
}

.hero-services.hero-home .hero-container,
.hero-cases.hero-home .hero-container,
.hero-careers.hero-home .hero-container,
.hero-contact.hero-home .hero-container {
  position: relative;
  z-index: 20;
}

.hero-services.hero-home .hero-copy,
.hero-cases.hero-home .hero-copy,
.hero-careers.hero-home .hero-copy,
.hero-contact.hero-home .hero-copy {
  position: relative;
  z-index: 20;
}

.hero-services.hero-home .hero-visual,
.hero-cases.hero-home .hero-visual,
.hero-careers.hero-home .hero-visual,
.hero-contact.hero-home .hero-visual {
  position: relative;
  z-index: 5;
}

.hero-services.hero-home .hero-heading,
.hero-cases.hero-home .hero-heading,
.hero-careers.hero-home .hero-heading,
.hero-contact.hero-home .hero-heading,
.hero-services.hero-home .hero-heading .line,
.hero-cases.hero-home .hero-heading .line,
.hero-careers.hero-home .hero-heading .line,
.hero-contact.hero-home .hero-heading .line {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  visibility: visible;
}

.hero-services.hero-home .hero-heading .gradient-text,
.hero-cases.hero-home .hero-heading .gradient-text,
.hero-careers.hero-home .hero-heading .gradient-text,
.hero-contact.hero-home .hero-heading .gradient-text {
  background: var(--gradient-primary, linear-gradient(135deg, #2563EB 0%, #7C3AED 100%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-services.hero-home .hero-desc,
.hero-cases.hero-home .hero-desc,
.hero-careers.hero-home .hero-desc,
.hero-contact.hero-home .hero-desc {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-services.hero-home .hero-cta-group,
.hero-cases.hero-home .hero-cta-group,
.hero-careers.hero-home .hero-cta-group,
.hero-contact.hero-home .hero-cta-group {
  justify-content: flex-start;
}

/* Services: left copy + tech logo strip; right image + floats */
.hero-services .ent-tech-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.1rem;
  margin-top: 1.35rem;
  max-width: 520px;
}

.hero-services .ent-tech-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ent-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  letter-spacing: 0.02em;
}

.hero-services .ent-tech-strip i {
  color: var(--accent-color, #06B6D4);
  font-size: 0.95rem;
}

.hero-services .ent-hero-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-services .ent-hero-blur-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 16%;
  background: rgba(37, 99, 235, 0.26);
  animation: ent-blur-drift 14s ease-in-out infinite alternate;
}

.hero-services .ent-hero-blur-2 {
  width: 220px;
  height: 220px;
  bottom: 16%;
  left: 6%;
  background: rgba(6, 182, 212, 0.16);
  animation: ent-blur-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes ent-blur-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(22px, -16px, 0); }
}

/* Cases: featured case overlay on visual */
.hero-cases .ent-case-featured {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(8, 17, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-cases .ent-case-featured .badge {
  display: inline-block;
  font-family: var(--ent-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.35rem;
}

.hero-cases .ent-case-featured h3 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

.hero-cases .ent-case-featured p {
  margin: 0;
  font-family: var(--ent-sans);
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.45;
}

.hero-cases .hero-visual-frame {
  position: relative;
}

/* Careers: culture-forward */
.hero-careers .ent-culture-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  max-width: 480px;
}

.hero-careers .ent-culture-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-family: var(--ent-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-careers .ent-culture-pills i {
  color: var(--ent-cyan);
  font-size: 0.8rem;
}

/* Contact: compact split, form-forward below */
.hero-contact.hero-home.hero-wrapper {
  min-height: auto;
}

.hero-contact .hero-grid {
  align-items: center;
}

.hero-contact .hero-visual-frame {
  max-height: 420px;
}

.hero-contact .ent-contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.15rem;
  font-family: var(--ent-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
}

.hero-contact .ent-contact-quick a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease;
}

.hero-contact .ent-contact-quick a:hover {
  color: #7dd3fc;
}

.hero-contact .ent-contact-quick i {
  color: var(--ent-cyan);
}

/* --------------------------------------------------------------------------
   Service cards — gradient border, icon, hover lift
   -------------------------------------------------------------------------- */
.ent-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ent-svc-card {
  position: relative;
  display: block;
  height: 100%;
  padding: 1.65rem 1.45rem 1.7rem;
  border-radius: var(--ent-radius-md);
  background: #fff;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ent-transition), box-shadow var(--ent-transition);
}

.ent-svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.45), rgba(6, 182, 212, 0.35), rgba(15, 23, 42, 0.08));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.ent-svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12);
}

.ent-svc-card .ico,
.ent-svc-card .ent-svc-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  font-size: 1.25rem;
  color: var(--ent-blue);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
  transition: transform 0.35s ease;
}

.ent-svc-card:hover .ico,
.ent-svc-card:hover .ent-svc-icon {
  transform: scale(1.08);
}

.ent-svc-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.5rem;
}

.ent-svc-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  font-family: var(--ent-sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ent-muted);
}

.ent-svc-card .ent-svc-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ent-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ent-blue);
  text-decoration: none;
}

.ent-svc-card .ent-svc-link:hover {
  color: var(--ent-cyan);
}

.ent-section--ink .ent-svc-card {
  background: rgba(255, 255, 255, 0.05);
}

.ent-section--ink .ent-svc-card h3 {
  color: #fff;
}

.ent-section--ink .ent-svc-card p {
  color: rgba(226, 232, 240, 0.7);
}

/* --------------------------------------------------------------------------
   Split rows — image / content, alternating
   -------------------------------------------------------------------------- */
.ent-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.ent-split--reverse .ent-split-media {
  order: 2;
}

.ent-split--reverse .ent-split-copy {
  order: 1;
}

.ent-split-media {
  position: relative;
  border-radius: var(--ent-radius);
  overflow: hidden;
  border: 1px solid var(--ent-line);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

.ent-split-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ent-split-copy h2 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.85rem;
}

.ent-split-copy p {
  font-family: var(--ent-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ent-muted);
  margin-bottom: 1.25rem;
}

.ent-split-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.ent-split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--ent-sans);
  font-size: 0.92rem;
  color: var(--ent-ink);
}

.ent-split-list i {
  color: var(--ent-blue);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.ent-section--ink .ent-split-copy h2 {
  color: #fff;
}

.ent-section--ink .ent-split-copy p,
.ent-section--ink .ent-split-list li {
  color: rgba(226, 232, 240, 0.78);
}

/* --------------------------------------------------------------------------
   Tech stack grid
   -------------------------------------------------------------------------- */
.ent-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ent-stack-card {
  padding: 1.35rem 1.15rem;
  border-radius: var(--ent-radius-md);
  background: #fff;
  border: 1px solid var(--ent-line);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.ent-stack-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
}

.ent-stack-card .ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--ent-blue);
  font-size: 1.15rem;
}

.ent-stack-card h4 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.35rem;
}

.ent-stack-card p {
  margin: 0;
  font-family: var(--ent-sans);
  font-size: 0.8rem;
  color: var(--ent-muted);
  line-height: 1.45;
}

.ent-section--slate .ent-timeline-item h4 {
  color: #fff;
}

.ent-section--slate .ent-timeline-item p {
  color: rgba(226, 232, 240, 0.7);
}

.ent-section--slate .ent-timeline-item .when {
  color: #7dd3fc;
}

.ent-section--slate .ent-timeline::before {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.15), rgba(37, 99, 235, 0.55), rgba(125, 211, 252, 0.15));
}

.ent-section--ink .ent-stack-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.ent-section--mesh .ent-stack-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ent-section--white .ent-svc-card {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.ent-section--ink .ent-stack-card h4 {
  color: #fff;
}

.ent-section--ink .ent-stack-card p {
  color: rgba(226, 232, 240, 0.65);
}

/* --------------------------------------------------------------------------
   Process rail — horizontal 4–5 steps
   -------------------------------------------------------------------------- */
.ent-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.ent-process[data-steps="4"] {
  grid-template-columns: repeat(4, 1fr);
}

.ent-process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.15),
    rgba(6, 182, 212, 0.55),
    rgba(37, 99, 235, 0.15)
  );
}

.ent-process-step {
  text-align: center;
  padding: 0 0.75rem 1rem;
  position: relative;
}

.ent-process-num,
.ent-process-step .num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(145deg, #1e3a8a, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.ent-process-step h4 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.4rem;
}

.ent-process-step p {
  font-family: var(--ent-sans);
  font-size: 0.88rem;
  color: var(--ent-muted);
  margin: 0;
  line-height: 1.5;
}

.ent-section--ink .ent-process-step h4 {
  color: #fff;
}

.ent-section--ink .ent-process-step p {
  color: rgba(226, 232, 240, 0.7);
}

/* --------------------------------------------------------------------------
   Case study cards — large landscape
   -------------------------------------------------------------------------- */
.ent-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.ent-case-card {
  position: relative;
  border-radius: var(--ent-radius);
  overflow: hidden;
  border: 1px solid var(--ent-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.ent-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14);
}

.ent-case-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}

.ent-case-media img,
.ent-case-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.ent-case-card:hover .ent-case-media img,
.ent-case-card:hover > img {
  transform: scale(1.05);
}

.ent-case-body,
.ent-case-card-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.45rem 1.65rem;
  color: var(--ent-muted);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ent-case-industry,
.ent-case-card .tag {
  display: inline-block;
  font-family: var(--ent-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ent-blue);
  margin-bottom: 0.55rem;
}

.ent-case-card h3 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.75rem;
}

.ent-case-card p {
  margin: 0 0 0.55rem;
  font-family: var(--ent-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ent-muted);
  max-width: none;
}

.ent-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.75rem;
}

.ent-case-tags span {
  font-family: var(--ent-ui);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--ent-blue);
}

.ent-case-result {
  margin-top: auto !important;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ent-line);
  color: var(--ent-ink) !important;
  font-size: 0.92rem !important;
}

.ent-case-card--wide {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 0;
}

.ent-case-card--wide .ent-case-media {
  aspect-ratio: auto;
  min-height: 280px;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Featured case study — hero project layout
   -------------------------------------------------------------------------- */
.ent-case-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.ent-case-featured-media {
  position: relative;
  border-radius: var(--ng-radius-lg, 24px);
  overflow: hidden;
  border: 1px solid var(--ng-border, #e6edf8);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  min-height: 360px;
}

.ent-case-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.ent-case-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-family: var(--ent-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 26, 43, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ent-case-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.ent-case-featured-body .ent-display {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.ent-case-featured-body .ent-lead {
  margin-bottom: 1.25rem;
}

.ent-case-featured-body .ent-case-tags {
  margin-top: 0.25rem;
}

@media (max-width: 991px) {
  .ent-case-featured {
    grid-template-columns: 1fr;
  }

  .ent-case-featured-media {
    min-height: 260px;
  }

  .ent-case-featured-media img {
    min-height: 260px;
  }
}

/* --------------------------------------------------------------------------
   Premium job cards — recruitment landing
   -------------------------------------------------------------------------- */
.ent-job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ent-job-card--premium {
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  padding: 1.5rem 1.35rem !important;
}

.ent-job-card--premium .ent-job-card-main h3 {
  margin-bottom: 0.5rem;
}

.ent-job-card--premium .ent-job-card-main p {
  font-family: var(--ent-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ent-muted);
  margin-bottom: 0.85rem;
}

.ent-job-card--premium .ent-job-cta {
  align-self: flex-start;
}

@media (max-width: 767px) {
  .ent-job-grid {
    grid-template-columns: 1fr;
  }
}

/* Check list for split sections */
.ent-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ent-check-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.65rem;
  font-family: var(--ent-sans);
  font-size: 0.95rem;
  color: var(--ent-muted);
  line-height: 1.5;
}

.ent-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f6bff, #7c3aed);
}

.ent-culture-grid--compact {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Metric row — counters
   -------------------------------------------------------------------------- */
.ent-metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ent-metric-row--hero {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 480px;
}

.ent-metric-row--hero > div {
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ent-metric-row--hero strong,
.ent-metric-row--hero [data-count] {
  display: block;
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.ent-metric-row--hero span {
  font-family: var(--ent-sans);
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.65);
}

.ent-metric,
.ent-metric-row > div {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ent-line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.ent-metric strong,
.ent-metric [data-count],
.ent-metric-row > div > strong,
.ent-metric-row > div > [data-count] {
  display: block;
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--ent-ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.ent-metric span,
.ent-metric-row > div > span {
  font-family: var(--ent-sans);
  font-size: 0.82rem;
  color: var(--ent-muted);
}

.ent-section--ink .ent-metric,
.ent-metric-row--dark > div,
.ent-section--ink .ent-metric-row > div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.ent-section--ink .ent-metric strong,
.ent-section--ink .ent-metric [data-count],
.ent-metric-row--dark > div > strong,
.ent-metric-row--dark > div > [data-count],
.ent-section--ink .ent-metric-row > div > strong,
.ent-section--ink .ent-metric-row > div > [data-count] {
  color: #fff;
}

.ent-section--ink .ent-metric span,
.ent-metric-row--dark > div > span,
.ent-section--ink .ent-metric-row > div > span {
  color: rgba(226, 232, 240, 0.7);
}

/* --------------------------------------------------------------------------
   Logo marquee
   -------------------------------------------------------------------------- */
.ent-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ent-marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  align-items: center;
  animation: ent-marquee 32s linear infinite;
}

.ent-marquee:hover .ent-marquee-track,
.ent-marquee.is-paused .ent-marquee-track {
  animation-play-state: paused;
}

.ent-marquee-item,
.ent-marquee-track > span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 52px;
  padding: 0 1.25rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--ent-line);
  font-family: var(--ent-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ent-muted);
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ent-marquee-item:hover,
.ent-marquee-track > span:hover {
  opacity: 1;
  color: var(--ent-blue);
  border-color: rgba(37, 99, 235, 0.35);
}

.ent-marquee-item img {
  max-height: 36px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes ent-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Career job cards
   -------------------------------------------------------------------------- */
.ent-job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.ent-job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  border-radius: var(--ent-radius-md);
  background: #fff;
  border: 1px solid var(--ent-line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.ent-job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
}

.ent-job-card h3 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.35rem;
}

.ent-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--ent-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ent-muted);
}

.ent-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ent-job-meta i {
  color: var(--ent-blue);
  font-size: 0.85rem;
}

.ent-job-cta {
  font-family: var(--ent-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ent-blue);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Benefit cards
   -------------------------------------------------------------------------- */
.ent-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ent-benefit-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--ent-radius-md);
  background: #fff;
  border: 1px solid var(--ent-line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ent-benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.1);
}

.ent-benefit-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--ent-blue);
  font-size: 1.15rem;
}

.ent-benefit-card h3 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.4rem;
}

.ent-benefit-card p {
  margin: 0;
  font-family: var(--ent-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ent-muted);
}

/* --------------------------------------------------------------------------
   Contact layout + glass form + office card
   -------------------------------------------------------------------------- */
.ent-contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.ent-glass-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--ent-radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.ent-section--ink .ent-glass-form {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.25);
}

.ent-glass-form label {
  display: block;
  font-family: var(--ent-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ent-muted);
  margin-bottom: 0.4rem;
}

.ent-section--ink .ent-glass-form label {
  color: rgba(226, 232, 240, 0.65);
}

.ent-glass-form .form-control,
.ent-glass-form input,
.ent-glass-form select,
.ent-glass-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--ent-line);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--ent-sans);
  font-size: 0.95rem;
  color: var(--ent-ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ent-section--ink .ent-glass-form .form-control,
.ent-section--ink .ent-glass-form input,
.ent-section--ink .ent-glass-form select,
.ent-section--ink .ent-glass-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.ent-glass-form .form-control:focus,
.ent-glass-form input:focus,
.ent-glass-form select:focus,
.ent-glass-form textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ent-glass-form .form-group,
.ent-glass-form .mb-3 {
  margin-bottom: 1.1rem;
}

.ent-glass-form textarea {
  min-height: 140px;
  resize: vertical;
}

.ent-office-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--ent-radius-md);
  background: #fff;
  border: 1px solid var(--ent-line);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.ent-office-card + .ent-office-card {
  margin-top: 1rem;
}

.ent-office-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
  display: block;
}

.ent-office-card h3 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.4rem;
}

.ent-office-card p {
  margin: 0;
  font-family: var(--ent-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ent-muted);
}

.ent-office-card .ent-office-meta {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--ent-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ent-ink);
}

.ent-office-card .ent-office-meta span {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.ent-office-card .ent-office-meta i {
  color: var(--ent-blue);
  margin-top: 0.1rem;
}

.ent-section--ink .ent-office-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.ent-section--ink .ent-office-card h3,
.ent-section--ink .ent-office-card .ent-office-meta {
  color: #fff;
}

.ent-section--ink .ent-office-card p {
  color: rgba(226, 232, 240, 0.7);
}

/* --------------------------------------------------------------------------
   Supplemental enterprise patterns (rebuild markup)
   -------------------------------------------------------------------------- */
.ent-tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
  max-width: 520px;
}

.ent-tech-logos span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-family: var(--ent-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ent-tech-logos i {
  color: var(--ent-cyan);
}

.ent-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.ent-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--ent-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ent-muted);
}

.ent-section--ink .ent-check-list li {
  color: rgba(226, 232, 240, 0.78);
}

.ent-check-list i {
  color: var(--ent-cyan);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.ent-featured-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--ent-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  max-width: calc(100% - 2rem);
}

.ent-featured-chip strong {
  color: #7dd3fc;
  font-weight: 700;
  margin-right: 0.15rem;
}

.hero-cases .hero-visual-frame {
  position: relative;
}

.ent-quote-card {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--ent-radius-md);
  background: #fff;
  border: 1px solid var(--ent-line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ent-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.1);
}

.ent-quote-card .stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
}

.ent-quote-card blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--ent-sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ent-ink);
}

.ent-quote-card cite {
  font-family: var(--ent-ui);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ent-muted);
}

.ent-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ent-culture-grid > div {
  position: relative;
  border-radius: var(--ent-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0b1220;
  isolation: isolate;
}

.ent-culture-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ent-office-image {
  margin: 1.15rem 0;
  border-radius: var(--ent-radius-md);
  overflow: hidden;
  border: 1px solid var(--ent-line);
}

.ent-office-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ent-map-frame {
  border-radius: var(--ent-radius-md);
  overflow: hidden;
  border: 1px solid var(--ent-line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 11;
  background: #e2e8f0;
}

.ent-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ent-glass-form h3 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ent-ink);
  margin-bottom: 0.35rem;
}

.ent-glass-form > p {
  font-family: var(--ent-sans);
  font-size: 0.92rem;
  color: var(--ent-muted);
  margin-bottom: 1.35rem;
}

.ent-form-success {
  font-family: var(--ent-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: #059669;
}

.ent-section--ink .ent-job-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.ent-section--ink .ent-job-card h3 {
  color: #fff;
}

.ent-section--ink .ent-job-meta {
  color: rgba(226, 232, 240, 0.65);
}

.ent-section--ink .ent-job-card + .ent-job-card {
  margin-top: 0.85rem;
}

.ent-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 1.5rem;
}

.ent-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.55), rgba(37, 99, 235, 0.2));
}

.ent-timeline-item {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
}

.ent-timeline-item::before {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2563eb, #06b6d4);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.ent-timeline-item h4 {
  font-family: var(--ent-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ent-ink);
  margin-bottom: 0.35rem;
}

.ent-timeline-item p {
  margin: 0;
  font-family: var(--ent-sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ent-muted);
}

.ent-timeline-item .when {
  display: inline-block;
  font-family: var(--ent-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ent-blue);
  margin-bottom: 0.35rem;
}

.ent-office-future {
  opacity: 0.92;
  border-style: dashed;
}

.ent-office-future .badge-soon {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-family: var(--ent-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ent-blue);
  background: rgba(37, 99, 235, 0.1);
}

@media (max-width: 991px) {
  .ent-culture-grid {
    grid-template-columns: 1fr;
  }

  .ent-case-card--wide {
    grid-template-columns: 1fr;
  }

  .ent-metric-row--hero {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   Scroll reveal helper (JS toggles .is-in)
   -------------------------------------------------------------------------- */
.ent-reveal {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.ent-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(14px);
}

.ent-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive — 991 / 575
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .ent-svc-grid,
  .ent-benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ent-stack-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ent-split,
  .ent-split--reverse .ent-split-media,
  .ent-split--reverse .ent-split-copy,
  .ent-contact-layout,
  .ent-case-grid {
    grid-template-columns: 1fr;
  }

  .ent-split--reverse .ent-split-media,
  .ent-split--reverse .ent-split-copy {
    order: unset;
  }

  .ent-process,
  .ent-process[data-steps="4"] {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 0.5rem;
  }

  .ent-process::before {
    display: none;
  }

  .ent-metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .ent-job-card {
    grid-template-columns: 1fr;
  }

  .hero-services .ent-tech-strip,
  .hero-careers .ent-culture-pills {
    max-width: none;
  }

  .hero-contact .hero-visual-frame {
    max-height: none;
  }
}

@media (max-width: 575px) {
  .ent-svc-grid,
  .ent-benefit-grid,
  .ent-stack-grid,
  .ent-metric-row,
  .ent-process,
  .ent-process[data-steps="4"] {
    grid-template-columns: 1fr;
  }

  .ent-case-card,
  .ent-case-card--wide {
    min-height: 280px;
  }

  .ent-section {
    padding: clamp(3.5rem, 12vw, 5rem) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-services .ent-hero-blur,
  .ent-marquee-track {
    animation: none !important;
  }

  .ent-svc-card,
  .ent-case-card,
  .ent-job-card,
  .ent-benefit-card,
  .ent-stack-card,
  .ent-reveal {
    transition: none !important;
  }

  .ent-reveal:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}
