/* ═══════════════════════════════════════════════════════════════════
   ADM DEVELOPER — SITE OVERRIDES
   Custom style adjustments applied last in the cascade.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero review badges — equal-height cards (Clutch widget + Google/Trustpilot images) ── */
.adm-hero-reviews { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.adm-hero-reviews__card {
  flex: 1 1 0;
  max-width: 220px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.adm-hero-reviews__card--clutch { padding: 8px 18px; }
.adm-hero-reviews__img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; display: block; }
/* Static Clutch badge (replaces the freezing widget) */
.adm-clutch-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; text-decoration: none; line-height: 1.15; }
.adm-clutch-badge__eyebrow { font-family: Arial, Helvetica, sans-serif; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #7a7f87; }
.adm-clutch-badge__name { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.4px; color: #17313b; }
.adm-clutch-badge__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.adm-clutch-badge__stars { color: #ff3d2e; font-size: 13px; letter-spacing: 1px; }
.adm-clutch-badge__count { font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #5f6368; }

/* ── Body text weight ── */
body {
  font-weight: var(--font-weight-light);
  color: var(--color-text);
}

body p,
body .prose p {
  font-weight: var(--font-weight-light);
  color: var(--color-text);
}

/* ── Dark mode award images ── */
html[data-theme="dark"] .footer-award-item img {
  mix-blend-mode: screen;
  filter: brightness(2);
}

/* ── Hero form card ── */
.adm-form-card__title {
  font-size: var(--font-size-3xl);
}

.adm-form-card fieldset {
  border: none;
}

.adm-form-card fieldset > p:nth-of-type(1) {
  height: 0px;
}

.adm-form-card form .row {
  gap: 12px;
  display: flex;
}

.adm-form-card form .row .pb-4 {
  margin-bottom: 12px;
}

.adm-form-card form .row .col-md-6 {
  width: 50%;
}

.adm-form-card form .row .col {
  width: 100%;
}

.adm-form-card form .row br,
.adm-form-card form .row hr {
  display: none;
}

/* ── Award images ── */
.footer-award-item img {
  height: 100px !important;
  opacity: 1;
}

/* ── Logo size ── height/width governed by ADM Control (logo_width) via
   `.site-logo img.site-logo__img`; sane proportional fallback here. */
.site-logo img {
  height: auto;
  width: auto;
  max-height: 40px;
}

/* ── Hero award laurel ── */
.adm-hero-award__name {
  max-width: 160px;
}

.adm-laurel {
  width: 22px;
}

/* ── Header spacing ── */
/* Header padding is defined once in navigation.css (--space-6 / scrolled --space-4).
   The duplicate .site-header blocks that used to live here were overriding it. */
.header-spacer {
  height: 76px;
}

/* ── Heading underline colour ── */
h1 u {
  text-decoration-color: var(--color-brand);
}

/* ── Background image sections ── */
.adm-section--has-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Hero awards heading ── */
.adm-hero-big .label {
  text-align: left;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

/* ── Awards list marquee — full page width with card containers ── */
.awards-list-marquee {
  width: 100%;
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}

.awards-list-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  min-width: 180px;
  min-height: 100px;
}

.awards-list-marquee__img {
  height: 80px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* ── About gallery — two-column vertical marquee ── */
.about-gallery {
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 500px;
}

.about-gallery__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  height: 100%;
}

.about-gallery .magic-marquee--vertical {
  height: 100%;
  --marquee-duration: 70s; /* slower vertical scroll for the content+media gallery (base is 30s) */
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to bottom, transparent, black 40px, black calc(100% - 40px), transparent);
}

.about-gallery .magic-marquee__track {
  gap: var(--space-3);
  width: 100%;            /* override base width:max-content so column-flex items fill the marquee */
}

.about-gallery__item {
  flex-shrink: 0;
  width: 100%;            /* fill the marquee column so images size to the grid cell, not native px */
}

.about-gallery__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Mobile: 2 horizontal rows instead of 2 vertical columns.
   Override the vertical-marquee variant to scroll left-right. */
@media (max-width: 768px) {
  .about-gallery {
    height: auto;
  }

  .about-gallery__columns {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: var(--space-3);
  }

  /* Re-orient both marquees to horizontal */
  .about-gallery .magic-marquee--vertical {
    height: 180px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  }

  .about-gallery .magic-marquee--vertical .magic-marquee__track {
    flex-direction: row;
    animation-name: magic-marquee-scroll;   /* use the horizontal keyframes */
  }

  /* Sized images so they sit as a horizontal strip */
  .about-gallery .about-gallery__item {
    width: 240px;
    height: 100%;
    flex-shrink: 0;
  }

  .about-gallery .about-gallery__img {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
  }
}

/* ── Video testimonials bento grid ── */
.vt-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.vt-bento__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.vt-bento__item--wide {
  grid-column: span 2;
}

.vt-bento__item--tall {
  grid-row: span 2;
}

.vt-bento__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vt-bento__media video,
.vt-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vt-bento__body {
  padding: var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vt-bento__text {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-5);
  flex: 1;
}

.vt-bento__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.vt-bento__author-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.vt-bento__author-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
}

.vt-bento__author-company {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .vt-bento {
    grid-template-columns: 1fr;
  }
  .vt-bento__item--wide,
  .vt-bento__item--tall {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Full-width client logo marquee in video testimonial section */
.vt-logos-marquee {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: var(--space-8) 0;
  margin-bottom: var(--space-8);
}

.vt-logos-marquee__item {
  flex-shrink: 0;
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vt-logos-marquee__img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ── Sub services icon ── */
.sub-services__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Content block full-width gallery marquee ── */
.content-block-gallery {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.content-block-gallery__item {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  padding: 0 var(--space-3);
}

.content-block-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ── Category filters (blog archive) — horizontal scroll ── */
.adm-filters {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding-bottom: var(--space-2);
  /* Fade edges so items appear to scroll behind */
  -webkit-mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
  mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
}

.adm-filters::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.adm-filters__item {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.adm-filters__item:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-dim);
}

.adm-filters__item.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
}


/* ── Posts pagination — centered rounded rectangles ── */
.adm-pagination {
  display: flex;
  justify-content: center;
}

/* Hide the "Posts pagination" screen reader heading */
.adm-pagination .screen-reader-text,
.adm-pagination h2.screen-reader-text,
.adm-pagination h2 {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.adm-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.adm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

.adm-pagination .page-numbers:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-dim);
  transform: translateY(-1px);
}

.adm-pagination .page-numbers.current {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
}

.adm-pagination .page-numbers.current:hover {
  transform: none;
  background: var(--color-brand);
  color: #ffffff;
}

.adm-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
}

.adm-pagination .page-numbers.dots:hover {
  background: transparent;
  color: var(--color-text);
  transform: none;
}

.adm-pagination .prev,
.adm-pagination .next {
  font-size: 16px;
}

/* ── Awards Cards (absolute_awards repeater) ── */
.adm-awards-cards .grid {
  grid-auto-rows: 1fr;
}

/* Logo area — use a light neutral background so logos read well */
.award-card .award-card__image {
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  aspect-ratio: 16 / 10;
}

.award-card .award-card__img {
  max-width: 60%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--duration-slow) var(--ease-out);
}

.award-card:hover .award-card__img {
  transform: scale(1.05);
}

html[data-theme="dark"] .award-card .award-card__img {
  mix-blend-mode: screen;
  filter: brightness(1.8);
}

html[data-theme="dark"] .award-card .award-card__image {
  background: rgba(255, 255, 255, 0.04);
}

.award-card__result {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-brand);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-3);
}

.award-card__summary {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-4);
}

/* ── Client Testimonials (Full) — HR section ──
   Scoped to .adm-client-testimonials-full so the main testimonial-section
   (which centres its content) stays unaffected. */

.adm-client-testimonials-full .testimonial-card {
  text-align: left;
  align-items: stretch;
  gap: 0;
  overflow: hidden; /* clip the full-width video breakout to card rounded corners */
}

/* Meta stack — Project Title > Date > Service (vertical) */
.adm-client-testimonials-full .testimonial-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.adm-client-testimonials-full .testimonial-card__project {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin: 0;
}

.adm-client-testimonials-full .testimonial-card__date {
  font-size: var(--font-size-sm);
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  letter-spacing: var(--letter-spacing-wide);
}

.adm-client-testimonials-full .testimonial-card__services {
  align-self: flex-start;
}

/* Video breaks out of the card's --space-12 padding to go edge-to-edge */
.adm-client-testimonials-full .testimonial-card__video {
  position: relative;
  width: calc(100% + (var(--space-12) * 2));
  margin-left: calc(var(--space-12) * -1);
  margin-right: calc(var(--space-12) * -1);
  margin-bottom: var(--space-6);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.adm-client-testimonials-full .testimonial-card__video .adm-video {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

/* Testimonial text — left aligned and full width for HR variant */
.adm-client-testimonials-full .testimonial-card__text {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin: 0 0 var(--space-6);
  max-width: none;
  text-align: left;
}

.adm-client-testimonials-full .testimonial-card__quote {
  font-size: 56px;
  line-height: 1;
  color: var(--color-brand);
  opacity: 0.4;
  margin-bottom: var(--space-2);
  align-self: flex-start;
}

/* Footer: logo row above author row */
.adm-client-testimonials-full .testimonial-card__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.adm-client-testimonials-full .testimonial-card__author-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.adm-client-testimonials-full .testimonial-card__author-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
}

.adm-client-testimonials-full .testimonial-card__author-title {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0;
}

/* Client logo container (lives in footer, above author row) */
.adm-client-testimonials-full .testimonial-card__logo--inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 72px;
  max-width: 180px;
  height: 56px;
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.adm-client-testimonials-full .testimonial-card__logo--inline .testimonial-card__logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

html[data-theme="dark"] .adm-client-testimonials-full .testimonial-card__logo--inline,
.adm-section--dark .adm-client-testimonials-full .testimonial-card__logo--inline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .adm-client-testimonials-full .testimonial-card__logo-img {
  mix-blend-mode: screen;
  filter: brightness(1.8);
}

.adm-client-testimonials-full .testimonial-card__avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ── Testimonial filters (centre-aligned variant) ── */
.adm-filters.adm-filters--center {
  justify-content: center;
}

/* ── Team testimonial cards (video top, body below) ── */
/* Card keeps overflow:visible so container effects (beam/border/glow) render. */
.team-testi-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Video wrapper handles its own clipping so the outer card stays unclipped. */
.team-testi-card__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.team-testi-card__video .adm-video {
  width: 100%;
  height: 100%;
}

.team-testi-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-4);
}

.team-testi-card__quote {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-brand);
  font-size: 40px;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.team-testi-card__text {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin: 0;
  flex: 1;
}

.team-testi-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.team-testi-card__author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.team-testi-card__name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin: 0;
}

.team-testi-card__job {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-1);
}

/* ── FAQs filter/tab bar (multi-FAQ pages) ── */
.adm-faq-filters {
  /* Inherits .adm-filters base styles (scroll, pills) */
  flex-wrap: wrap;
}

.adm-faq-filters__item {
  /* Slightly larger and more tab-like than standard filter pills */
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-base);
}

/* Scroll offset target so anchor jumps don't hide behind fixed header */
.adm-faq-anchor {
  display: block;
  position: relative;
  top: -96px;
  height: 0;
  pointer-events: none;
}

/* Any section that has its own manual section_id gets the same offset */
.adm-section[id] {
  scroll-margin-top: 96px;
}

/* ════════════════════════════════════════════════════════════════
   TECH STACK (Orbiting Circles)
   ════════════════════════════════════════════════════════════════ */

.adm-tech-stack .tech-stack__split {
  grid-template-columns: 1fr 1fr;
}

.tech-stack__orbit {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-stack__orbit-box {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 320px;
}

/* Override base magic-orbit sizing for this use */
.tech-stack__orbit-box.magic-orbit {
  width: 480px;
  height: 480px;
  max-width: 100%;
}

.tech-stack__ring {
  border-color: rgba(229, 0, 109, 0.18) !important;
}

.tech-stack__ring--inner {
  inset: 22% !important;
}

.tech-stack__item {
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  width: 56px !important;
  height: 56px !important;
  padding: 10px;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.tech-stack__item:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.tech-stack__item--sm {
  width: 44px !important;
  height: 44px !important;
  padding: 8px;
}

.tech-stack__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Text fallback shown in an orbit node until an official logo is uploaded */
.tech-stack__label {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.15;
  padding: 0 4px;
}

/* Hover tooltip showing the tool name (replaces the flaky native title attr).
   NB: do NOT set position:relative on .tech-stack__item — it is already position:absolute
   (from .magic-orbit__item), which is a valid containing block for the tooltip. Overriding it
   to relative knocks every icon off its orbit ring. */
.tech-stack__tip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 5px 9px;
  background: var(--color-text);
  color: var(--color-surface-1);
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
  z-index: 10;
}
.tech-stack__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--color-text);
}
.tech-stack__item:hover .tech-stack__tip,
.tech-stack__item:focus-visible .tech-stack__tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Freeze the orbiting items while hovering one, so the tooltip is readable and stays put. The
   items never rotate (offset-rotate:0), so this just stops their travel — nothing tilts. */
.magic-orbit:has(.tech-stack__item:hover) .tech-stack__item {
  animation-play-state: paused;
}

html[data-theme="dark"] .tech-stack__logo-img,
.adm-section--dark .tech-stack__logo-img {
  filter: brightness(1.1);
}

.tech-stack__center {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 0 32px rgba(229, 0, 109, 0.4), var(--shadow-lg);
}

.tech-stack__center-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .adm-tech-stack .tech-stack__split {
    grid-template-columns: 1fr;
  }
  .tech-stack__orbit-box.magic-orbit {
    width: 360px;
    height: 360px;
  }
  .tech-stack__item {
    width: 44px !important;
    height: 44px !important;
  }
  .tech-stack__item--sm {
    width: 36px !important;
    height: 36px !important;
  }
  .tech-stack__center {
    width: 72px;
    height: 72px;
  }
}


/* ════════════════════════════════════════════════════════════════
   GLOBAL CLIENTS
   ════════════════════════════════════════════════════════════════ */

.adm-global-clients .global-clients__split {
  grid-template-columns: 1fr 1fr;
}

/* Sphere wrapper — square, full globe visible. Author controls any clipping. */
.global-clients__sphere {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

/* Globe: square, full-width of its parent wrapper */
.global-clients__globe {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.global-clients__canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.global-clients__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── Background client-logo marquee ── */
.global-clients__logo-marquee {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  --marquee-duration: 55s;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.global-clients__logo-marquee .magic-marquee__track {
  gap: var(--space-12);
  align-items: center;
  height: 80px;
}

.global-clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 120px;
}

.global-clients__logo-img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
}

html[data-theme="dark"] .global-clients__logo-marquee {
  opacity: 0.18;
}

html[data-theme="dark"] .global-clients__logo-img {
  filter: grayscale(1) brightness(1.6);
}

/* Visible magenta hit-dot per marker — sits over each cobe-rendered
   marker, provides hover/click for the tooltip. */
.global-clients__dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  padding: 0;
  border: 0;
  background: var(--color-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6), 0 0 10px rgba(229, 0, 109, 0.6);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.global-clients__dot:hover,
.global-clients__dot:focus-visible {
  outline: none;
  transform: scale(1.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 18px rgba(229, 0, 109, 0.9);
}

/* Tooltip */
.global-clients__tooltip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 18px));
  min-width: 200px;
  max-width: 260px;
  padding: var(--space-4);
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 150ms;
  pointer-events: none;
  z-index: 10;
}

.global-clients__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.global-clients__tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-surface-1);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.global-clients__tooltip-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.global-clients__tooltip-logo img {
  max-height: 32px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.global-clients__tooltip-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.global-clients__tooltip-country {
  font-size: var(--font-size-2xs);
  font-family: var(--font-mono);
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.global-clients__tooltip-blurb {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.global-clients__tooltip-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand);
  text-decoration: none;
  transition: gap 120ms ease;
}

.global-clients__tooltip-cta:hover { gap: var(--space-3); }

html[data-theme="dark"] .global-clients__tooltip {
  background: rgba(20, 20, 22, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .global-clients__tooltip::after {
  background: rgba(20, 20, 22, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Globe canvas itself */
.global-clients__globe {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.global-clients__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none; /* allow pointer drag on touch devices without scrolling */
}

.global-clients__globe.is-grabbing .global-clients__canvas,
.global-clients__canvas:active {
  cursor: grabbing;
}

/* Interactive dot layer sits ON TOP of the globe canvas */
.global-clients__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Invisible hit-boxes overlaid on cobe's rendered markers.
   Cobe draws the visible magenta dots; these only capture hover/click. */
.global-clients__dot {
  position: absolute;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  /* Subtle hover glow so users get visual feedback over the cobe marker */
  border-radius: 50%;
  transition: background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.global-clients__dot:hover,
.global-clients__dot:focus-visible {
  outline: none;
  background: radial-gradient(circle, rgba(229, 0, 109, 0.25) 0%, transparent 70%);
  box-shadow: 0 0 0 2px rgba(229, 0, 109, 0.4);
}

/* Tooltip — shared, positioned by JS above the hovered dot */
.global-clients__tooltip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 16px));
  min-width: 200px;
  max-width: 260px;
  padding: var(--space-4);
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast) ease, visibility var(--duration-fast);
  pointer-events: none;
  z-index: 10;
}

.global-clients__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.global-clients__tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-surface-1);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.global-clients__tooltip-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.global-clients__tooltip-logo {
  height: 32px;
  display: flex;
  align-items: center;
}

.global-clients__tooltip-logo img {
  max-height: 32px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.global-clients__tooltip-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.global-clients__tooltip-country {
  font-size: var(--font-size-xs);
  font-family: var(--font-mono);
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.global-clients__tooltip-blurb {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.global-clients__tooltip-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand);
  text-decoration: none;
  transition: gap var(--duration-fast) ease;
}

.global-clients__tooltip-cta:hover {
  gap: var(--space-3);
}

html[data-theme="dark"] .global-clients__tooltip {
  background: rgba(20, 20, 22, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .global-clients__tooltip::after {
  background: rgba(20, 20, 22, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .adm-global-clients .global-clients__split {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════════
   WORLD MAP (dotted, with animated connections)
   ════════════════════════════════════════════════════════════════ */

.adm-world-map .world-map__header {
  margin-bottom: var(--space-10);
}

.adm-world-map .world-map__header--center {
  text-align: center;
}

.adm-world-map .world-map__header h2 {
  margin-top: var(--space-3);
}

.adm-world-map .world-map__header .prose {
  margin-top: var(--space-5);
}

.adm-world-map .world-map__header-cta {
  margin-top: var(--space-6);
}

/* The map itself */
.world-map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  font-family: inherit;
  /* Neutral mid-grey dot colour that reads on BOTH light and dark
     backgrounds. Theme toggle no longer touches the map — instant swap. */
  --world-map-dot-color: rgba(128, 128, 128, 0.45);
}

/* Background dotted map — soft vertical fade at top/bottom edges */
.world-map__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  color: var(--world-map-dot-color);  /* propagates to circles via currentColor */
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.world-map__bg svg,
.world-map__bg-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
}

/* Overlay SVG — connections + pulsing endpoint dots */
.world-map__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

/* Path draws itself on load (dasharray trick) */
.world-map__path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: adm-world-map-draw 1s linear forwards;
}

@keyframes adm-world-map-draw {
  to { stroke-dashoffset: 0; }
}

/* Interactive client dots */
.world-map__clients {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.world-map__dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  padding: 0;
  border: 0;
  background: var(--color-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6), 0 0 10px rgba(229, 0, 109, 0.6);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 150ms ease, box-shadow 150ms ease;
  animation: adm-world-map-pulse 2s ease-in-out infinite;
}

.world-map__dot:hover,
.world-map__dot:focus-visible {
  outline: none;
  animation-play-state: paused;
  transform: scale(1.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 18px rgba(229, 0, 109, 0.95);
}

@keyframes adm-world-map-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6), 0 0 10px rgba(229, 0, 109, 0.6); }
  50%      { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 0 22px rgba(229, 0, 109, 0.9); }
}

/* Tooltip (shared, positioned above the hovered dot) */
.world-map__tooltip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 18px));
  min-width: 200px;
  max-width: 260px;
  padding: var(--space-4);
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 150ms;
  pointer-events: none;
  z-index: 10;
}

.world-map__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.world-map__tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-surface-1);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.world-map__tooltip-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.world-map__tooltip-logo img {
  max-height: 32px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.world-map__tooltip-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.world-map__tooltip-country {
  font-size: var(--font-size-2xs);
  font-family: var(--font-mono);
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.world-map__tooltip-blurb {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.world-map__tooltip-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand);
  text-decoration: none;
  transition: gap 120ms ease;
}

.world-map__tooltip-cta:hover { gap: var(--space-3); }

html[data-theme="dark"] .world-map__tooltip {
  background: rgba(20, 20, 22, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .world-map__tooltip::after {
  background: rgba(20, 20, 22, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ════════════════════════════════════════════════════════════════
   READ MORE CLAMP (Content Block)
   Body content clamps to 3 lines with a fade-out mask; Read more
   button expands to full height.
   ════════════════════════════════════════════════════════════════ */

[data-adm-read-more] .adm-readmore__clamp {
  position: relative;
  overflow: hidden;
  /* ~3 lines at body line-height. Tweak via CSS var if needed. */
  max-height: var(--adm-readmore-max-h, 4.8em);
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent);
  mask-image: linear-gradient(to bottom, black 65%, transparent);
}

[data-adm-read-more].is-expanded .adm-readmore__clamp {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

[data-adm-read-more] .adm-readmore__clamp > :first-child {
  margin-top: 0;
}

.adm-readmore__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: 0;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.adm-readmore__toggle:hover {
  text-decoration-thickness: 2px;
}


/* ════════════════════════════════════════════════════════════════
   CONTENT BLOCK — full-viewport awards marquee
   ════════════════════════════════════════════════════════════════ */

.content-block__awards {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: var(--space-10);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-8);
}

.content-block__awards .magic-marquee {
  /* Soft fade at the viewport edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}


/* ════════════════════════════════════════════════════════════════
   CASE STUDY HERO BANNER — full-viewport hero on top of adm_section_open
   ════════════════════════════════════════════════════════════════ */

.adm-hero-casestudy {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Overlay gradient — uses ::after so ::before stays free for bg_effect
   pseudo-elements (magic-dot-grid / magic-line-grid). */
.adm-hero-casestudy.adm-section--has-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.adm-hero-casestudy.adm-section--has-bg-image[data-bg="Light"]::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.adm-hero-casestudy.adm-section--has-bg-image[data-bg="Dark"]::after,
.adm-hero-casestudy.adm-section--has-bg-image[data-bg="Black"]::after {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.adm-hero-casestudy.adm-section--has-bg-image[data-bg="Magenta"]::after,
.adm-hero-casestudy.adm-section--has-bg-image[data-bg="Purple"]::after {
  background: linear-gradient(135deg, rgba(229, 0, 109, 0.75) 0%, rgba(229, 0, 109, 0.45) 100%);
}

/* Ensure the container sits above the overlay AND the bg_effect grid */
.adm-hero-casestudy > .container {
  position: relative;
  z-index: 2;
}

/* Single-column layout when there are no side images */
.adm-hero-casestudy__single {
  width: 100%;
}

/* Centred alignment: flex rows (CTAs / badges) need explicit justify-content
   because text-align doesn't affect flex children. */
.adm-hero-casestudy.text-center .adm-hero-casestudy__ctas,
.adm-hero-casestudy.text-center .adm-hero-casestudy__badges {
  justify-content: center;
}

.adm-hero-casestudy.text-right .adm-hero-casestudy__ctas,
.adm-hero-casestudy.text-right .adm-hero-casestudy__badges {
  justify-content: flex-end;
}

/* Overline dot */
.adm-hero-casestudy__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.adm-hero-casestudy__overline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 8px var(--color-brand);
  display: inline-block;
}

.adm-hero-casestudy__heading {
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.adm-hero-casestudy__ctas {
  margin-top: var(--space-8);
}

.adm-hero-casestudy__badges {
  margin-top: var(--space-8);
}

.adm-hero-casestudy__images {
  position: relative;
}

.adm-hero-casestudy__overlay-img {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 3;
}

/* Reverse layout: swap column order */
.split--reverse {
  direction: rtl;
}
.split--reverse > * {
  direction: ltr;
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — HEADER SECTIONS
   On mobile: larger h1 minimums + forced centre alignment regardless
   of the section's content_align setting.
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Bigger headings on mobile ── */
  .adm-hero-big h1,
  .adm-hero-short h1,
  .adm-hero-casestudy h1,
  .adm-hero-casestudy__heading {
    font-size: clamp(2.25rem, 9vw, 3rem);  /* 36–48px */
    line-height: 1.1;
  }

  .adm-hero-big h2,
  .adm-hero-short h2,
  .adm-hero-casestudy h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.15;
  }

  /* Body / lead text stays readable */
  .adm-hero-big .prose,
  .adm-hero-short .prose,
  .adm-hero-casestudy .prose,
  .adm-hero-big .lead,
  .adm-hero-short .lead {
    font-size: var(--font-size-base);
  }

  /* ── Force centre alignment on header sections ── */
  .adm-hero-big,
  .adm-hero-short,
  .adm-hero-casestudy {
    text-align: center;
  }

  /* Centre all flex rows (CTAs, badges, etc.) */
  .adm-hero-big .flex,
  .adm-hero-short .flex,
  .adm-hero-casestudy .flex {
    justify-content: center;
  }

  /* Overlines + award laurel badges */
  .adm-hero-big .adm-hero-award,
  .adm-hero-short .adm-hero-award,
  .adm-hero-big .section-header__overline,
  .adm-hero-short .section-header__overline,
  .adm-hero-casestudy .section-header__overline,
  .adm-hero-casestudy__overline {
    justify-content: center;
  }

  /* Split layouts collapse to single column on mobile (layout.css already
     does this for .grid-*). Here we also centre the stacked content. */
  .adm-hero-big .split,
  .adm-hero-short .split,
  .adm-hero-casestudy .split {
    text-align: center;
  }

  .adm-hero-big .split > *,
  .adm-hero-short .split > *,
  .adm-hero-casestudy .split > * {
    justify-self: center;
  }

  /* Case study overlay image — re-centre horizontally */
  .adm-hero-casestudy__overlay-img {
    left: 50%;
    transform: translateX(-50%);
  }
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — GENERAL FLEX STACKING + ALIGNMENT
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* `.flex.flex-between` (used for section-header + CTA side-by-side)
     stacks vertically with a gap on mobile. */
  .flex.flex-between {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-6);
  }

  /* Inherit a proper gap for any .flex row that doesn't already set one */
  .flex:not([class*="gap-"]) {
    gap: var(--space-4);
  }

  /* Left-aligned sections (default, no .text-center / .text-right class):
     CTAs inside `.flex.flex-between` should align to the LEFT when stacked
     on mobile — not stretched or centred. */
  .adm-section:not(.text-center):not(.text-right) .flex.flex-between {
    align-items: flex-start;
  }

  /* Centre-aligned sections: centre stacked children */
  .adm-section.text-center .flex.flex-between {
    align-items: center;
  }

  /* Right-aligned sections: right-align stacked children */
  .adm-section.text-right .flex.flex-between {
    align-items: flex-end;
  }
}


/* ════════════════════════════════════════════════════════════════
   CALENDLY SECTION
   ════════════════════════════════════════════════════════════════ */

.adm-calendly__widget-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-2);
}

.adm-calendly__widget {
  width: 100%;
}

.adm-calendly--split .adm-calendly__split {
  grid-template-columns: 1fr 1.4fr;
}

.adm-calendly__text {
  padding-right: var(--space-6);
}

.adm-calendly__text h2 {
  line-height: var(--line-height-snug);
}

@media (max-width: 900px) {
  .adm-calendly--split .adm-calendly__split {
    grid-template-columns: 1fr;
  }
  .adm-calendly__text {
    padding-right: 0;
  }
}

/* Dark section: give the widget a subtle light panel so the Calendly iframe
   has a clean background behind its shadow/rounded corners */
.adm-section--dark .adm-calendly__widget-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ════════════════════════════════════════════════════════════════
   CARDS — prevent section content_align cascading into card content.
   The section heading still follows content_align; card inner text
   stays left-aligned for readability.
   ════════════════════════════════════════════════════════════════ */

.adm-employee-testimonials .adm-employee-testimonial-card,
.adm-employee-testimonials .adm-employee-testimonial-card *,
.adm-different .adm-different-card,
.adm-different .adm-different-card * {
  text-align: left;
}

/* ════════════════════════════════════════════════════════════════
   TABS — vertical redesign
   Left-column nav, right-column rich panel with optional image.
   ════════════════════════════════════════════════════════════════ */

.adm-tabs--vertical {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 0;
  background: var(--color-surface-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-8);
}

/* ── Nav (left column) ── */
.adm-tabs--vertical .adm-tabs__nav {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) 0;
  background: var(--color-surface-2);
  border-right: 1px solid var(--color-border);
}

.adm-tabs--vertical .adm-tabs__tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.adm-tabs--vertical .adm-tabs__tab:hover {
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-text);
}

.adm-tabs--vertical .adm-tabs__tab.is-active {
  background: var(--color-surface-1);
  color: var(--color-text);
}

.adm-tabs--vertical .adm-tabs__tab-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-brand);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.adm-tabs--vertical .adm-tabs__tab.is-active .adm-tabs__tab-indicator {
  transform: scaleY(1);
}

.adm-tabs__serial {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand);
  padding-top: 2px;
  letter-spacing: var(--letter-spacing-wide);
}

.adm-tabs__tab-title {
  line-height: var(--line-height-snug);
  flex: 1;
}

/* ── Panels (right column) ── */
.adm-tabs--vertical .adm-tabs__panels {
  position: relative;
}

.adm-tabs--vertical .adm-tabs__panel {
  display: none;
  padding: var(--space-8);
  animation: adm-tabs-fade 250ms ease;
}

.adm-tabs--vertical .adm-tabs__panel.is-active {
  display: block;
}

@keyframes adm-tabs-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.adm-tabs__panel-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.adm-tabs__panel-inner:has(.adm-tabs__panel-media) {
  grid-template-columns: 1.1fr 0.9fr;
}

.adm-tabs__panel-serial {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-brand);
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: var(--space-3);
  padding: 4px 10px;
  background: var(--color-brand-dim);
  border-radius: var(--radius-full);
}

.adm-tabs__panel-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
  margin: 0 0 var(--space-4);
  color: var(--color-text);
}

.adm-tabs__panel-lead {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-5);
}

.adm-tabs__panel-bullets {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
}

.adm-tabs__panel-bullets ul,
.adm-tabs__panel-bullets ol {
  padding-left: 0;
  list-style: none;
}

.adm-tabs__panel-bullets li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-relaxed);
}

.adm-tabs__panel-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
}

.adm-tabs__panel-cta {
  margin-top: var(--space-6);
}

.adm-tabs__panel-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.adm-tabs__panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.adm-tabs--vertical .adm-tabs__panel.is-active .adm-tabs__panel-img {
  transform: scale(1);
}

/* ── Dark section variant ── */
.adm-section--dark .adm-tabs--vertical {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
.adm-section--dark .adm-tabs--vertical .adm-tabs__nav {
  background: rgba(255, 255, 255, 0.02);
  border-right-color: rgba(255, 255, 255, 0.08);
}
.adm-section--dark .adm-tabs--vertical .adm-tabs__tab:hover {
  background: rgba(255, 255, 255, 0.04);
}
.adm-section--dark .adm-tabs--vertical .adm-tabs__tab.is-active {
  background: rgba(255, 255, 255, 0.05);
}

/* ── Mobile: stack nav horizontally above panels ── */
@media (max-width: 900px) {
  .adm-tabs--vertical {
    grid-template-columns: 1fr;
  }
  .adm-tabs--vertical .adm-tabs__nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .adm-tabs--vertical .adm-tabs__nav::-webkit-scrollbar { display: none; }
  .adm-tabs--vertical .adm-tabs__tab {
    flex-direction: column;
    white-space: nowrap;
    padding: var(--space-4) var(--space-5);
    flex-shrink: 0;
    gap: var(--space-1);
  }
  .adm-tabs--vertical .adm-tabs__tab-indicator {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }
  .adm-tabs--vertical .adm-tabs__tab.is-active .adm-tabs__tab-indicator {
    transform: scaleX(1);
  }
  .adm-tabs--vertical .adm-tabs__panel {
    padding: var(--space-6);
  }
  .adm-tabs__panel-inner,
  .adm-tabs__panel-inner:has(.adm-tabs__panel-media) {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}


/* ════════════════════════════════════════════════════════════════
   CARDS — prevent section content_align cascading into card content.
   ════════════════════════════════════════════════════════════════ */

/* (block moved above) */

/* Utility */
.d-none {
  display: none !important;
}

/* ─────────────────────────────────────────────────────────
   ADM contact form (Contact Form 7) — consistent spacing system
   ───────────────────────────────────────────────────────── */
.adm-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5, 1.25rem);   /* single source of vertical rhythm */
}
/* kill every default paragraph/wrap margin so .adm-form gap is the only spacing */
.adm-form p,
.adm-form .wpcf7-form-control-wrap { margin: 0; }
.adm-form > p,
.adm-form > .adm-form__grid { margin: 0; }

/* two-column rows (name|email, phone|website) */
.adm-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2, 0.5rem);
  align-items: start;
}
@media (max-width: 640px) { .adm-form__grid { grid-template-columns: 1fr; } }

/* fields: uniform full-width, consistent height */
.adm-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.adm-form input:not([type="checkbox"]):not([type="submit"]),
.adm-form textarea { width: 100%; box-sizing: border-box; }
.adm-form textarea { min-height: 8rem; resize: vertical; }

/* intl-tel-input wrapper must fill the column and match input height */
.adm-form .iti { width: 100%; display: block; }
.adm-form .iti input[type="tel"] { width: 100%; }
.adm-form .iti__selected-dial-code { font-weight: 500; }

/* consent checkbox: align checkbox with first line of label */
.adm-form__consent { display: flex; align-items: flex-start; gap: var(--space-2, 0.5rem); }
.adm-form__consent .wpcf7-list-item { margin: 0; }
.adm-form__consent label { display: flex; align-items: flex-start; gap: var(--space-2, 0.5rem); margin: 0; cursor: pointer; }
.adm-form__consent input[type="checkbox"] { margin-top: 0.2em; flex: 0 0 auto; }

/* submit: full width, a touch more separation above */
.adm-form__submit { margin-top: var(--space-2, 0.5rem); }
.adm-form__submit .wpcf7-submit,
.adm-form__submit .btn { width: 100%; }

/* CF7 validation/response text shouldn't add stray gaps */
.adm-form .wpcf7-not-valid-tip { margin-top: 0.35rem; font-size: var(--font-size-sm, 0.875rem); }
.wpcf7 .wpcf7-response-output { margin: var(--space-4, 1rem) 0 0; }

/* ────────────────────────────────────────────────────────────────
   Imported (legacy) Contact Form 7 forms — normalise to ONE look.
   The forms ported from the old site use Bootstrap markup (.row / .col-md-*,
   an <input.btn-primary.wpcf7-submit-adm-hub> button). These selectors only
   ever match imported forms (the designed forms use .adm-form + .btn--primary),
   so this makes every whitepaper / job / audit form match the flagship lead
   form: two-column grid, consistent field rhythm, full-width YELLOW submit.
   ──────────────────────────────────────────────────────────────── */
/* Two-column rows (matches .adm-form__grid); full-width for col-12 / single cols. */
.wpcf7-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2, .5rem); align-items: start; margin: 0 0 var(--space-2, .5rem); }
.wpcf7-form .row > [class*="col-"] { min-width: 0; }
.wpcf7-form .row > .col-md-12, .wpcf7-form .row > .col, .wpcf7-form .row > .col-12 { grid-column: 1 / -1; }
@media (max-width: 640px) { .wpcf7-form .row { grid-template-columns: 1fr; } }
/* Legacy .pb-3 / .pb-4 padding is replaced by the grid gap so rhythm is uniform. */
.wpcf7-form .row .pb-3, .wpcf7-form .row .pb-4 { padding-bottom: 0 !important; }
/* Fields fill their column (visual bg/border/radius already come from the global input styles). */
.wpcf7-form .row input:not([type="checkbox"]):not([type="radio"]), .wpcf7-form .row textarea, .wpcf7-form .row select { width: 100%; box-sizing: border-box; }
/* One submit style for every imported form — full-width yellow primary, matching the lead form
   (sections.css forces the designed .adm-form-card submit yellow; this matches it everywhere). */
.wpcf7-form input.wpcf7-submit-adm-hub, .wpcf7-form input.btn-primary.wpcf7-submit {
  display: block; width: 100%; margin-top: var(--space-2, .5rem);
  background: var(--color-yellow) !important; color: #000 !important; border-color: var(--color-yellow) !important;
}




















