/* ===============================
   SERVICE PAGES – GLOBAL
   =============================== */

body.service-page {
  background: #ffffff;
}

/* Keep sections visually separated but consistent with main site */

.service-highlights,
.service-how,
.service-outcomes,
.service-bottom-cta {
  padding: 4.5rem 0 4rem;
}

.service-highlights,
.service-outcomes,
.service-bottom-cta {
  background: #f6f5f1; /* warm eggshell like home hero */
}

.service-how {
  background: #ffffff;
}

.service-bottom-cta + .contact-section {
  margin-top: 0;
}

/* ===============================
   HERO – FULL VIDEO WITH CENTER TITLE
   =============================== */

.service-hero {
  position: relative;
  background: #000000;
  color: #ffffff;
  min-height: 78vh;
  width: 100%;
  overflow: hidden;

  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* Video layer */

/* Video layer */
.service-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;       /* hides the cropped edges */
}

/* Vimeo iframe "cover" */
.service-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;           /* fill width */
  height: 56.25vw;        /* 16:9 based on width */
  min-height: 100%;       /* ensure it always covers height */
  min-width: 177.78vh;    /* 16:9 based on height */
  transform: translate(-50%, -50%);
  border: 0;
  display: block;
}


/* Centered overlay */

.service-hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-hero-title {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 4vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);

   /* make the title text unselectable */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* old Edge/IE */
  user-select: none;         /* modern browsers */
}

/* Scroll arrow – no background, subtle bounce */

.service-scroll-arrow {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: none;
  border: none;
  padding: 0;
  cursor: default;
  pointer-events: none;   /* nothing happens on click */

  color: #ffffff;
  text-decoration: none;
  animation: service-arrow-bounce 1.8s ease-in-out infinite;
}

.service-scroll-arrow svg {
  display: block;
  width: 1.4rem;
  height: auto;
}

/* Mild up–down animation */
@keyframes service-arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ===============================
   HIGHLIGHTS SECTION
   =============================== */

.service-highlights .container {
  max-width: 1100px;
}

.service-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.service-highlight h3 {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #003039;
  margin-bottom: 0.9rem;
}

.service-highlight p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #304047;
}

/* ===============================
   HOW WE HELP
   =============================== */

.service-how .container {
  max-width: 1100px;
}

.service-section-header {
  max-width: 650px;
  margin: 0 auto 3rem;
  text-align: center;
}

.service-section-header h2 {
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003039;
  margin-bottom: 0.8rem;
}

.service-section-header p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5a60;
}

.service-how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}

.service-block {
  padding: 1.8rem 1.9rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 48, 57, 0.06);
}

.service-block h3 {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #003039;
  margin-bottom: 0.7rem;
}

.service-block ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #425359;
}

/* How We Help titles */
.ai-help-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

/* Special color for the Custom decision systems card */
.ai-help-title--accent {
  color: #003039; /* tweak to whatever accent you want */
}

.ai-help-card h3,
.ai-help-title {
  color: #141820;
}
/* ===============================
   OUTCOMES SECTION
   =============================== */

.service-outcomes .container {
  max-width: 1100px;
}

.service-outcomes-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.service-outcomes-copy h2 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003039;
  margin-bottom: 1rem;
}

.service-outcomes-copy p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3b4a50;
  margin-bottom: 1.3rem;
}

.service-outcomes-copy ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #3b4a50;
}

.service-outcomes-side {
  padding: 1.8rem 1.9rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 48, 57, 0.06);
}

.service-outcomes-side h3 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #003039;
  margin-bottom: 0.8rem;
}

.service-outcomes-side ol {
  margin: 0;
  padding-left: 1.4rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #425359;
}

/* ===============================
   BOTTOM CTA
   =============================== */

.service-bottom-cta .container {
  max-width: 900px;
}

.service-bottom-cta-inner {
  text-align: center;
  padding: 3.2rem 2.4rem;
  border-radius: 22px;
  background: radial-gradient(
      circle at 10% 0%,
      rgba(23, 195, 179, 0.09),
      transparent 55%
    ),
    #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 48, 57, 0.08);
}

.service-bottom-cta-inner h2 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003039;
  margin-bottom: 1rem;
}

.service-bottom-cta-inner p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3b4a50;
  margin-bottom: 1.8rem;
}

/* Reuse hero CTA style for bottom CTA */
.service-bottom-cta-inner .service-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: #17c3b3;
  color: #003039;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.service-bottom-cta-inner .service-hero-cta:hover {
  background: #11a599;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 900px) {
  .service-hero {
    min-height: 65vh;
  }

  .service-hero-overlay {
    padding: 0 1.4rem;
  }

  .service-highlights-grid,
  .service-how-grid,
  .service-outcomes-inner {
    grid-template-columns: 1fr;
    padding-left: 1rem;
  }

  .service-bottom-cta-inner {
    padding: 2.4rem 1.6rem;
  }
}



/* ========== AI SECTIONS (Anthropic-style layout) ========== */

.ai-section {
  padding: 6rem 0;
  background: #fdfaf3;
}

.ai-section:nth-of-type(even) {
  background: #ffffff;
}

.ai-section-inner {
  margin: 0 auto;
  padding: 0 0rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  column-gap: 4rem;
  align-items: flex-start;
}

.ai-section-left {
  position: sticky;
  top: 110px; /* roughly header height; tweak until it feels right */
  align-self: flex-start;
}

.ai-section-track {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b5b8c0;
  margin-bottom: 1.75rem;
}

.ai-section-heading {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 3.2vw + 1rem, 3.6rem);
  line-height: 1.05;
  color: #151718;
}
/* Prevent layout jump for typewriter headings */
.js-typewriter {
  display: block;
  /* reserve enough space for ~2 lines of heading text */
  min-height: 4em;
}
/* ===============================
   RIGHT COLUMN: new layout
   =============================== */

.ai-right-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 2.25rem;
}

.ai-right-copy {
  min-width: 0;
}

.ai-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42rem;
  color: #44474f;
  margin: 0;
}

/* Bullet principles with blinking pins */
.ai-principles {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(17, 19, 24, 0.78);
  margin-bottom: 1.8rem;
}

.ai-principle {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: start;
  column-gap: 0.8rem;
}

.ai-principle-text {
  color: #17181c;
  line-height: 1.55;
}

.ai-principle-text strong {
  font-weight: 700;
}

/* The blinking dot/pin */
.ai-pin {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 0.35rem;
  background: #111318;
  box-shadow: 0 0 0 6px rgba(17, 19, 24, 0.06);
  animation: aiPinPulse 1.8s ease-in-out infinite;
}

/* stagger the pulses so they feel “alive” */
.ai-principle:nth-child(2) .ai-pin { animation-delay: 0.35s; }
.ai-principle:nth-child(3) .ai-pin { animation-delay: 0.7s; }

@keyframes aiPinPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  45%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1);   opacity: 0.55; }
}

/* Right visual container */
.ai-right-visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

/* ===============================
   Animated card (namespaced)
   =============================== */

.ai-exp-card {
  width: clamp(170px, 20vw, 220px);
  height: clamp(230px, 26vw, 290px);
  background: rgb(223, 225, 235);
  overflow: hidden;
  border-radius: 20px;
  box-shadow:
    inset 0px 56px 40px #2224,
    inset 0px -56px 40px #fff,
    1px 1px 2px #fff,
    -1px -1px 2px #4442;
}

.ai-exp-card__content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300%;
  height: 100%;
  transform: translateX(0%);
  animation: aiExpAnim 6s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ai-exp-card__word {
  width: 50%;
  text-align: center;
  color: #333;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  text-shadow: 9px 8px 3px #4443;
}

@keyframes aiExpAnim {
  0%   { transform: translateX(0%); }
  20%  { transform: translateX(0%); }
  30%  { transform: translateX(-33.33%); }
  70%  { transform: translateX(-33.33%); }
  80%  { transform: translateX(-66.66%); }
  100% { transform: translateX(-66.66%); }
}

/* ===============================
   Responsive: right column stacks nicely
   =============================== */
@media (max-width: 900px) {
  .ai-right-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ai-right-visual {
    justify-content: center;
  }
  .ai-closing-layout {
    display: flex !important;
  }
  .ai-closing-visual {
    justify-content: center !important;
  }
}


.ai-section-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 34rem;
  color: #44474f;
}

.ai-section-card {
  border-radius: 18px;
  border: 1px solid #e1e4ea;
  background: #ffffff;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 14px 40px rgba(15, 22, 35, 0.06);
}

.ai-section-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #17181c;
}

.ai-section-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555a63;
}

/* Base two-column layout */
.ai-section-inner,
.ai-two-col {
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Left column – narrower so text wraps and doesn’t crush the right side */
.ai-section-left {
  flex: 0 0 32%;
}

/* Right column takes remaining space */
.ai-section-right {
  flex: 1 1 0;
}


/* Mobile: stack left/right, remove sticky */
@media (max-width: 900px) {
  .ai-section-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .ai-section-left {
    position: static;
  }

  .ai-section-heading {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
}


.containerz {
  max-width: calc(100% - 20em);
}

.containerx {
  max-width: calc(100% + 1em) !important;
}


.black {
  color: black;
}

@media (max-width: 1200px) {
  .containerz {
      max-width: calc(100% - 4em) !important;

  }
}
/* ===============================
   AI SERVICE CONTENT SECTIONS
   =============================== */

.ai-section {
  padding: 4.5rem 1.5rem;
  background: #f6f5f1;
  color: #111318;
}

.ai-section:nth-of-type(even) {
  background: #ffffff;
}

.ai-section-inner.container {
  margin: 0 auto;
}

.ai-section-left,
.ai-section-right {
  flex: 1 1 0;
}

/* Two-column layout for desktop */
.ai-section-inner,
.ai-two-col,
.ai-closing-layout {
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Closing section layout: always stacked */
.ai-closing-layout {
  display: grid;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.ai-closing-copy {
  width: 100%;
}

.ai-closing-visual {
  width: 100%;
  max-width: 720px;
}

.ai-closing-visual img {
  display: block;
  width: 100%;
  height: auto;

}


/* Section index / breadcrumb line */
.ai-section-index {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 1.4rem;
}

/* Shared heading style */
.ai-heading,
.ai-section-title {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 1.4rem;
  color: #141820;
}

.ai-lede,
.ai-section-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(17, 19, 24, 0.78);
  margin-bottom: 1.8rem;
}

/* Highlights grid (first section) */

.ai-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.ai-highlight-pill {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(10, 18, 30, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.ai-highlight-pill h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #141820;
}

.ai-highlight-pill p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(17, 19, 24, 0.78);
}

/* How we help */

.ai-section--how {
  padding-top: 4rem;
}

.ai-section-header {
  max-width: 720px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.ai-section-subtitle {
  margin: 0 auto;
  max-width: 36rem;
}

.ai-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.ai-help-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid rgba(10, 18, 30, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);

  /* hover transition */
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

/* Default text colors (so hover can swap cleanly) */
.ai-help-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #111318;
  transition: color 220ms ease;
}

.ai-help-card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
  color: #44474f;
  transition: color 220ms ease;
}

.ai-help-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #44474f;
  transition: color 220ms ease;
}

.ai-help-card li + li {
  margin-top: 0.25rem;
}

/* icon wrapper */
.ai-help-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  transition: background-color 220ms ease;
}

/* if you have the <img> */
.ai-help-icon-img {
  width: 30px;
  height: 18px;
  display: block;
  transition: filter 220ms ease, opacity 220ms ease;
}

/* ===============================
   Hover / Focus: invert card
   =============================== */

.ai-help-card:hover,
.ai-help-card:focus-within {
  background: #181d21;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

/* headings -> white */
.ai-help-card:hover h3,
.ai-help-card:focus-within h3 {
  color: #ffffff;
}

/* body text -> soft grey */
.ai-help-card:hover p,
.ai-help-card:hover ul,
.ai-help-card:hover li,
.ai-help-card:focus-within p,
.ai-help-card:focus-within ul,
.ai-help-card:focus-within li {
  color: #9c9fa1;
}

/* list bullets also turn grey */
.ai-help-card:hover li::marker,
.ai-help-card:focus-within li::marker {
  color: #9c9fa1;
}

/* Option A: recolor the SVG <img> using filter (works without inline SVG) */
.ai-help-card:hover .ai-help-icon-img,
.ai-help-card:focus-within .ai-help-icon-img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Nice accessibility: keyboard users see the same effect */
.ai-help-card:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.18);
  outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ai-help-card,
  .ai-help-card h3,
  .ai-help-card p,
  .ai-help-card ul,
  .ai-help-icon-img {
    transition: none;
  }
  .ai-help-card:hover,
  .ai-help-card:focus-within {
    transform: none;
  }
}


.ai-help-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.ai-help-card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

.ai-help-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-help-card li + li {
  margin-top: 0.25rem;
}

/* small circular icon at top of each card */
.ai-help-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.ai-help-icon span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

/* AI in Strategy */

.ai-section--ai-strategy {
  padding-top: 4.5rem;
}

.ai-bullet-list {
  list-style: disc;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(17, 19, 24, 0.82);
}

.ai-bullet-list li + li {
  margin-top: 0.3rem;
}

/* Closing section */

.ai-section--closing {
  background: #050608;
  color: #fdfaf3;
}

.ai-section--closing .ai-heading {
  color: #000000;
}

.ai-section--closing .ai-lede {
  color: rgba(0, 0, 0, 0.88);
}

.ai-closing-layout {
  align-items: center;
}

.ai-closing-copy {
  flex: 1.1 1 0;
}

.ai-closing-visual {
  flex: 1 1 0;
  display: flex;
  justify-content: end;
}

.ai-closing-visual img {
  max-width: 67%;
  height: auto;

}




/* ===============================
   TYPEWRITER HEADINGS
   =============================== */

.js-typewriter {
  position: relative;
  display: inline-block;
  white-space: normal;      /* was nowrap – allow wrapping */
}

/* caret: only visible while typing */
.js-typewriter::after {
  content: "";
  position: absolute;
  top: 0;
  right: -0.12em;
  width: 2px;
  height: 1.1em;
  background: currentColor;
  opacity: 0;
}

.js-typewriter[data-typing="true"]::after {
  opacity: 1;
  animation: caret-blink 0.8s steps(1) infinite;
}

.js-typewriter[data-typed="true"]::after {
  opacity: 0;
  animation: none;
}






/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1024px) {
  .ai-section-inner,
  .ai-two-col,
  .ai-closing-layout {
    flex-direction: column;
    gap: 2.3rem;
  }

  .ai-section-left,
  .ai-section-right,
  .ai-closing-copy,
  .ai-closing-visual {
    width: 100%;
  }

  .ai-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-section {
    padding: 3.5rem 1.25rem;
  }
}

@media (max-width: 720px) {
  .ai-section-inner,
  .ai-two-col,
  .ai-closing-layout {
    gap: 2rem;
  }

  .ai-heading,
  .ai-section-title {
    font-size: 1.9rem;
  }

  .ai-lede,
  .ai-section-subtitle {
    font-size: 0.96rem;
  }

  .ai-highlights-grid,
  .ai-help-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-section-index {
    margin-bottom: 0.9rem;
  }

  .ai-section {
    padding: 3rem 1rem;
  }
}


/* Bottom CTA link wrapper */
.service-bottom-cta-link {
  text-decoration: none;
}

/* Animated "Talk to the team" button */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 0.85rem;
  background-color: #c8e2ed;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f387e; /* change to your teal if you want */
  box-shadow: 0 0 0 2px #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  margin-top: 1.6rem; /* same spacing as old button */
}

.service-bottom-cta-inner {
  padding: 3.75rem 1rem 4.25rem;   /* keep whatever padding you already had */
  display: flex;
  flex-direction: column;
  align-items: center;          /* <— centers the button horizontally */
  text-align: center;           /* optional but usually looks right here */
  margin: 1rem;
}


.animated-button svg {
  position: absolute;
  width: 24px;
  fill: #1f387e;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #c5e5e4;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #1f387e;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #9be15d;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}














/* LOGISTICS */


/* ===============================
   TRADE & LOGISTICS SERVICE PAGE
   (light theme, consistent with AI page)
   =============================== */

.log-section {
  padding: 4.5rem 0 4rem;
  background: #fdfaf3;
  color: #050608;
}

.log-section--how,
.log-section--ai,
.log-section--closing {
  background: #ffffff;
}

.log-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Intro layout */

.log-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.log-intro-main {
  max-width: 38rem;
}

.log-intro-visual {
  align-self: stretch;
}

.log-intro-card {
  border-radius: 20px;
  border: 1px solid rgba(5, 6, 8, 0.08);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(7, 10, 20, 0.16);
  display: flex;
  flex-direction: column;
}

.log-intro-image-shell {
  position: relative;
  overflow: hidden;
}

.log-intro-image {
  display: block;
  width: 100%;
  height: auto;
}

.log-intro-caption {
  padding: 1.4rem 1.5rem 1.6rem;
}

.log-intro-caption h3 {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.log-intro-caption p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a4f5b;
}

/* Shared heading / text */

.log-section-header {
  max-width: 46rem;
}

.log-section-header--center {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.log-section-index {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(19, 22, 30, 0.6);
  margin-bottom: 0.75rem;
}

.log-heading {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #111318;
  margin: 0 0 1.5rem;
  user-select: none;
}

.log-section-title {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.1vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
  color: black;
}

.log-lede,
.log-section-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3b414f;
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

.log-section-header--center .log-section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Intro highlights (stacked) */

.log-highlights-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.log-highlight {
  border-radius: 16px;
  border: 1px solid rgba(5, 6, 8, 0.06);
  background: #ffffff;
  padding: 1.1rem 1.2rem;
}

.log-highlight h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 0.45rem;
  color: black;
}

.log-highlight p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a515f;
  margin: 0;
}

/* How we help – vertical list */

.log-help-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.log-help-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(5, 6, 8, 0.07);
  padding: 1.6rem 1.5rem 1.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(17, 195, 179, 0.06), transparent 55%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(7, 10, 20, 0.12);
}

.log-help-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.log-help-index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(14, 20, 34, 0.6);
}

.log-help-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0;
  color: #17c3b3;
}

.log-help-title--accent {
  color: #17c3b3;
}

.log-help-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #414754;
  margin: 0 0 0.8rem;
}

.log-help-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a515f;
}

.log-help-card ul li::before {
  content: "•";
  display: inline-block;
  margin-right: 0.5rem;
  color: #17c3b3;
}

.log-help-card ul li + li {
  margin-top: 0.3rem;
}

/* AI in logistics – two column */

.log-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr);
  gap: 2.7rem;
  align-items: flex-start;
}

.log-section-left,
.log-section-right {
  min-width: 0;
}

.log-bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #3b414f;
}

.log-bullet-list li {
  position: relative;
  padding-left: 1.4rem;
}

.log-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 2px solid #17c3b3;
  transform: translateY(-50%);
}

.log-bullet-list li + li {
  margin-top: 0.6rem;
}

/* Closing layout */

.log-section--closing {
  border-top: 1px solid rgba(5, 6, 8, 0.07);
}

.log-closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.log-closing-copy {
  max-width: 40rem;
}

.log-closing-visual img {
  display: block;
  max-width: 460px;
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(5, 6, 8, 0.08);
  box-shadow: 0 22px 60px rgba(7, 10, 20, 0.18);
}

/* Responsive tweaks */

@media (max-width: 960px) {
  .log-section {
    padding: 3.8rem 0 3.4rem;
  }

  .log-intro-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .log-intro-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .log-two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .log-closing-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .log-heading {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
  }
}

@media (max-width: 640px) {
  .log-section {
    padding: 3.2rem 1rem 3rem;
  }

  .log-help-card,
  .log-highlight {
    padding: 1.4rem 1.2rem 1.3rem;
  }

  .log-closing-visual img {
    max-width: 100%;
  }
}



/* ============================
   CONSULTING SERVICES PAGE
   (light / white variant)
   ============================ */

/* Base consulting section wrapper */
.consulting-section {
  padding: clamp(3.5rem, 5vw, 5rem) 0;
}

/* Light banded backgrounds */
.consulting-section--intro {
  background-color: #ffffff;
  color: #111827;
}

.consulting-section--how {
  background-color: #f9fafb;
  color: #111827;
}

.consulting-section--strategy {
  background-color: #ffffff;
  color: #111827;
}

.consulting-section--closing {
  background-color: #f9fafb;
  color: #111827;
}

/* Shared inner container */
.consulting-section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* 01 – Intro layout: text + visual */
.consulting-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: flex-start;
}

/* Left main column */
.consulting-intro-main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Small index line */
.consulting-section-index {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
}

/* Main heading (typewriter target) */
.consulting-heading {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #050816;
  margin: 0;
}

/* Lead / intro paragraph */
.consulting-lede {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 40rem;
  margin: 0;
}

/* Stacked highlight cards */
.consulting-highlights-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}

.consulting-highlight {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.9rem 1rem;
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), #ffffff);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.consulting-highlight h3 {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
  margin: 0 0 0.25rem;
}

/* Reliable smooth aura hover (visible even on white sections) */
.consulting-highlight {
  position: relative;
  overflow: hidden; /* keep aura inside the card */
  isolation: isolate; /* keeps layering predictable */
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

/* aura layer (inside card, behind text) */
.consulting-highlight::before {
  content: "";
  position: absolute;
  inset: -70px; /* bigger aura canvas */
  border-radius: inherit;
  pointer-events: none;

  /* weaker core, stronger mid-bloom, bigger spread */
  background: radial-gradient(
    circle at 20% 35%,
    rgba(76, 228, 215, 0.10) 0%,
    rgba(76, 228, 215, 0.32) 22%,
    rgba(12, 118, 156, 0.26) 45%,
    rgba(12, 118, 156, 0.12) 62%,
    transparent 78%
  );

  filter: blur(24px); /* softer + larger glow */
  opacity: 0;

  transform: translate3d(-40px, 0, 0) scale(1);
  will-change: transform, opacity;
  transition: opacity 220ms ease;
  z-index: 0;
}

/* show + animate aura on hover */
.consulting-highlight:hover::before {
  opacity: 1;
  animation: consulting-aura-float 1600ms ease-in-out infinite alternate;
}

@keyframes consulting-aura-float {
  from { transform: translate3d(-28px, 0, 0) scale(1); }
  to   { transform: translate3d(28px, 0, 0) scale(1.03); }
}



.consulting-highlight p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* Right visual column */
.consulting-intro-visual {
  display: flex;
  justify-content: flex-end;
}

.consulting-intro-card {
  width: 100%;
  max-width: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.09),
    0 0 0 1px rgba(15, 23, 42, 0.03);
}

.consulting-intro-image-shell {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.consulting-intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.consulting-intro-caption {
  padding: 1rem 1.1rem 1.2rem;
}

.consulting-intro-caption h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
  margin: 0 0 0.35rem;
}

.consulting-intro-caption p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* 02 – How we help */

.consulting-section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.consulting-section-title {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #050816;
  margin: 0 0 0.75rem;
}

.consulting-section-subtitle {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Proper 4-card layout (no 3+1 weirdness) */
.consulting-help-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.consulting-help-card {
  border-radius: 1rem;
  padding: 1.3rem 1.35rem 1.4rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.consulting-help-header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.consulting-help-index {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9ca3af;
}

.consulting-help-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #111827;
}

.consulting-help-title--accent {
  color: #f59e0b; /* subtle amber accent for the primary card */
}

.consulting-help-card > p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 0.7rem;
}

.consulting-help-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.consulting-help-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
}

.consulting-help-card li + li {
  margin-top: 0.25rem;
}

.consulting-help-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #0bcef5;
}

/* 03 – Strategy in action (two-column section) */

.consulting-section--strategy .consulting-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: flex-start;
}

.consulting-section-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.consulting-section--strategy .consulting-heading {
  max-width: 18rem;
}

.consulting-section-right {
  max-width: 40rem;
}

.consulting-bullet-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.consulting-bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4b5563;
}

.consulting-bullet-list li + li {
  margin-top: 0.45rem;
}

.consulting-bullet-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: #f59e0b;
}

/* 04 – Closing section */

.consulting-section--closing .consulting-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.consulting-closing-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consulting-section--closing .consulting-heading {
  max-width: 26rem;
}

.consulting-closing-visual {
  display: flex;
  justify-content: flex-end;
}

.consulting-closing-visual img {
  max-width: 360px;
  width: 100%;
  border-radius: 1.4rem;
  display: block;
  object-fit: cover;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.10),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

/* ============================
   RESPONSIVE TWEAKS
   ============================ */

@media (max-width: 960px) {
  .consulting-intro-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .consulting-intro-visual {
    justify-content: flex-start;
  }

  .consulting-section--strategy .consulting-section-inner,
  .consulting-section--closing .consulting-section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .consulting-closing-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .consulting-section {
    padding: 2.75rem 0;
  }

  .consulting-section-inner {
    padding-inline: 1.25rem;
  }

  .consulting-help-list {
    grid-template-columns: minmax(0, 1fr); /* 4 cards stacked on mobile */
    padding: 2rem;
  }

  .consulting-help-card {
    padding: 1.15rem 1.1rem 1.2rem;
  }

  .consulting-heading {
    font-size: clamp(1.9rem, 6vw, 2.3rem);
  }
}


/* === Animated gradient border hover effect (keeps your current sizing) === */
.consulting-help-card {
  position: relative;          /* needed for pseudo-elements */
  overflow: hidden;            /* clips the animated border inside rounded corners */
  isolation: isolate;          /* keeps pseudo-elements behind content */
  /* keep your existing border/shadow/padding/etc */
}

/* rotating gradient "ring" (shows on hover) */
.consulting-help-card::before {
  content: "";
  position: absolute;
  inset: -140px;               /* oversized so rotation never exposes corners */
  background: linear-gradient(180deg, #4ce4d7, #0c769c);
  opacity: 0;
  transition: opacity 300ms;
  animation: consulting_border_spin 8000ms linear infinite;
  animation-play-state: paused;
  z-index: 0;
  pointer-events: none;
}

/* inner panel that restores your white card background (creates border thickness) */
.consulting-help-card::after {
  content: "";
  position: absolute;
  inset: 1px;                  /* border thickness (match your old 1px border) */
  background: #ffffff;         /* white card background */
  border-radius: calc(1rem - 1px);
  z-index: 0;
  pointer-events: none;
}

/* keep your content above the pseudo-elements */
.consulting-help-card > * {
  position: relative;
  z-index: 1;
}

.consulting-help-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* optional: remove the static border only while hovering so the animated border is clean */
.consulting-help-card:hover {
  border-color: transparent;
}

@keyframes consulting_border_spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Desktop-only: make the right visual card follow scroll within the section */
@media (min-width: 1024px) {
  /* Ensure the sticky element is aligned to the top of its grid/row */
  .consulting-intro-layout {
    align-items: start;
  }

  /* Sticky aside */
  .consulting-intro-visual {
    position: sticky;
    top: 120px;           /* adjust to match your header spacing */
    align-self: start;   /* important in grid/flex layouts */
  }
}



/* ============================================
   REAL ESTATE & CAPITAL PAGE
   ============================================ */

/* Prevent layout jump for headings with typewriter */
.js-typewriter {
  display: block;
  min-height: 3.6em; /* ~2 lines of heading text */
}



/* Base spacing / background */
.re-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.re-section + .re-section {
  border-top: 1px solid rgba(10, 10, 20, 0.06);
}

.re-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Small “index” label */
.re-section-index {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(5, 6, 8, 0.55);
  margin-bottom: 0.75rem;
}

/* Main headings inside RE sections */
.re-heading {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #050608;
  margin: 0;
}

/* Secondary titles */
.re-section-title {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #050608;
  margin: 0 0 0.75rem;
}

.re-section-subtitle,
.re-lede {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(5, 6, 8, 0.82);
  max-width: 36rem;
}

.re-section-subtitle {
  margin: 0.25rem 0 0;
}

.re-lede {
  margin-top: 1rem;
}

/* --------------------------------------------
   01 · INTRO LAYOUT
   -------------------------------------------- */

.re-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.75rem;
  align-items: flex-start;
}

.re-intro-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Highlight pills on the right */
.re-pill {
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 20, 0.06);
  background: #faf8f4;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.03);
}

.re-pill h3 {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  color: #111317;
}

.re-pill p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(17, 19, 23, 0.8);
}

/* --------------------------------------------
   02 · DOMAINS (WHERE WE HELP)
   -------------------------------------------- */

.re-section--domains {
  background: #f6f5f1;
}

.re-section--domains .re-section-inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.re-section-header {
  text-align: left;
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.re-domains-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

/* Cards */
.re-domain-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(10, 10, 20, 0.06);
  padding: 1.6rem 1.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.03);
}

.re-domain-card--wide {
  grid-column: 1 / -1;
}

.re-domain-title {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
  color: #050608;
}

.re-domain-card > p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
  color: rgba(5, 6, 8, 0.84);
}

.re-domain-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(5, 6, 8, 0.8);
}

.re-domain-card ul li + li {
  margin-top: 0.35rem;
}

/* --------------------------------------------
   03 · JOURNEY
   -------------------------------------------- */

.re-journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.re-steps .re-heading {
  margin-bottom: 1.2rem;
}

.re-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.re-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem 1.25rem;
  align-items: flex-start;
}

.re-step-index {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 20, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #050608;
}

.re-step-body h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: #111317;
}

.re-step-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(5, 6, 8, 0.8);
}

/* Journey visual card */
.re-journey-card {
  background: #faf8f4;
  border-radius: 22px;
  border: 1px solid rgba(10, 10, 20, 0.06);
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.re-journey-image-shell {
  position: relative;
  overflow: hidden;
}

.re-journey-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.re-journey-caption {
  padding: 1.4rem 1.6rem 1.5rem;
}

.re-journey-caption h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: #111317;
}

.re-journey-caption p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(5, 6, 8, 0.8);
}

/* --------------------------------------------
   04 · DIGITAL LAYER
   -------------------------------------------- */

.re-section--digital {
  background: #ffffff;
}

.re-digital-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.re-digital-copy .re-section-title {
  margin-bottom: 0.4rem;
}

.re-digital-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.re-digital-card {
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 20, 0.06);
  background: #f8f6f1;
}

.re-digital-card h3 {
  font-size: 0.96rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: #111317;
}

.re-digital-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(5, 6, 8, 0.8);
}

/* --------------------------------------------
   05 · CLOSING CTA TWEAK
   -------------------------------------------- */

.re-bottom-cta {
  background: #c8e2ed;
  color: #fdfaf3;
}

.ai-help-icon-img{
  height: 30px;
}


/* --------------------------------------------
   RESPONSIVE
   -------------------------------------------- */

@media (max-width: 960px) {
  .re-intro-layout,
  .re-journey-layout,
  .re-digital-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .re-intro-layout {
    gap: 2rem;
  }

  .re-intro-side {
    order: 2;
  }

  .re-journey-visual {
    order: 2;
    margin-top: 0.75rem;
  }

  .re-domains-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .re-domain-card {
    padding: 1.4rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .re-section {
    padding: 3.5rem 0;
  }

  .re-section-inner {
    padding: 0 1.25rem;
  }

  .re-domains-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .re-domain-card--wide {
    grid-column: auto;
  }

  .re-step {
    grid-template-columns: 2.1rem minmax(0, 1fr);
  }
}


.re-image-strip {
  padding: 0;
}

.re-image-strip-img {
  display: block;
  width: 100%;
  height: auto;
}



.white {
  color: white !important;
}





/* --------------------------------------------
   AI Strategy section — proof/quote card
   Scoped to .ai-section--ai-strategy
--------------------------------------------- */

.ai-section--ai-strategy .ai-proof {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

/* Top labels: { REAL PEOPLE   REAL RESULTS } */
.ai-section--ai-strategy .ai-proof__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: 2px;

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(12, 14, 16, 0.75);
}

.ai-section--ai-strategy .ai-proof__label {
  white-space: nowrap;
}

/* The big dark quote card */
.ai-section--ai-strategy .ai-quote-card {
  width: 100%;
  align-self: flex-start;

  background: linear-gradient(180deg, #1f2529 0%, #171c1f 100%);
  border-radius: 18px;

  padding: clamp(22px, 3.6vw, 48px);
  min-height: clamp(320px, 30vw, 540px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Quote text */
.ai-section--ai-strategy .ai-quote-card__quote {
  margin: 0;
}

.ai-section--ai-strategy .ai-quote-card__quote p {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;

  font-size: clamp(22px, 2.2vw, 54px);
  color: rgba(255, 255, 255, 0.56);

  /* Helps match the screenshot “big block” feel */
  letter-spacing: -0.01em;
}

/* The trailing dash that sits after the quote */
.ai-section--ai-strategy .ai-quote-card__dash {
  margin-left: 6px;
  opacity: 0.7;
}

/* Attribution */
.ai-section--ai-strategy .ai-quote-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-section--ai-strategy .ai-quote-card__name {
  font-size: 20px;
  font-weight: 650;
  color: #ffffff;
}

.ai-section--ai-strategy .ai-quote-card__title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------
   Mobile tweaks (matches your 2nd screenshot)
--------------------------------------------- */

@media (max-width: 768px) {
  .ai-section--ai-strategy .ai-proof {
    gap: 14px;
  }

  .ai-section--ai-strategy .ai-proof__labels {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .ai-section--ai-strategy .ai-quote-card {
    max-width: 100%;
    border-radius: 16px;
    min-height: 0;
    padding: 22px;
    gap: 18px;
  }

  .ai-section--ai-strategy .ai-quote-card__quote p {
    font-size: 22px;
    line-height: 1.15;
  }

  .ai-section--ai-strategy .ai-quote-card__name {
    font-size: 16px;
  }

  .ai-section--ai-strategy .ai-quote-card__title {
    font-size: 13px;
  }
}






/* ===========================
   Ops Center section
   =========================== */

.ops-section {
  background: #ffffff;
  padding: clamp(28px, 5vw, 60px) 0;
}

/* Give the section enough height to feel like the 3rd screenshot while scrolling */
@media (min-width: 900px) {
  .ops-section {
    padding: 80px 0;
  }
}

.ops-inner {
  width: 100%;
}

.ops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

/* Desktop layout: big left headline, right content */
@media (min-width: 900px) {
  .ops-grid {
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 48px;
  }
}

/* LEFT */
.ops-left {
  position: relative;
}

.ops-leftSticky {
  position: static;
}

@media (min-width: 900px) {
  /* Sticky headline: sticks at top during section scroll; ends at bottom when section ends */
  .ops-leftSticky {
    position: sticky;
    top: 32px;
  }
}

.ops-title {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #1f2326;

  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 0.98;
}

/* Mobile: title smaller and not sticky */
@media (max-width: 899px) {
  .ops-title {
    font-size: 44px;
    line-height: 1.02;
  }
}

/* RIGHT */
.ops-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Copy matches screenshot (desktop shows, mobile hides) */
.ops-copy {
  max-width: 720px;
  margin-left: auto;
  color: rgba(31, 35, 38, 0.58);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ops-copy p {
  margin: 0 0 18px 0;
}

.ops-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 899px) {
  .ops-copy {
    display: none;
  }
}

/* Tabs pill */
.ops-tabs {
  position: relative;
  width: 188px;
  height: 34px;

  border: 1px solid rgba(31, 35, 38, 0.35);
  border-radius: 999px;
  background: #ffffff;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;

  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

@media (min-width: 900px) {
  .ops-tabs {
    margin-left: auto; /* sits above panel on the right like screenshot */
    margin-right: 0;
  }
}

.ops-tabs__indicator {
  position: absolute;
  inset: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;

  background: rgba(31, 35, 38, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);

  transform: translateX(0%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 900px) {
  .mobile-menu { z-index: 9999 !important; }
}
@media (max-width: 900px) {

  .footer-bottom {

    opacity: 1;
  }
}
body, input, select, textarea {
  color: rgba(255, 255, 255, 0.75);
}
.ops-tab {
  position: relative;
  z-index: 1;

  border: 0;
  background: transparent;
  cursor: pointer;

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 12px;
  letter-spacing: 0.02em;

  color: rgba(31, 35, 38, 0.9);
}

.ops-tab:focus-visible {
  outline: 2px solid rgba(31, 35, 38, 0.35);
  outline-offset: 2px;
  border-radius: 999px;
}

/* Panel wrapper */
.ops-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  overflow: hidden;          /* ✅ clips the curtain */
  border-radius: 14px;       /* ✅ so the clip matches the card corners */
  isolation: isolate;        /* ✅ avoids weird stacking/bleed in some browsers */
  /* spacing similar to screenshot */
  margin-top: 10px;
}

/* Curtain should be a solid block (same as details card background) */
.ops-curtain {
  position: absolute;
  inset: 0;
  z-index: 5;

  /* ✅ solid color, no transparency */
  background: #1f2529;

  /* ✅ match panel rounding */
  border-radius: 0;

  transform: translateX(100%);
  pointer-events: none;
}


/* VIDEO frame (gray box with border) */
.ops-videoFrame {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(31, 35, 38, 0.45);
  background: #d9d9d9;
  overflow: hidden;

  /* matches the wide/short rectangle look */
  aspect-ratio: 16 / 9.2;
}

/* Ensure video fills frame */
.ops-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* DETAILS card */
.ops-detailsCard {
  width: 100%;
  border-radius: 14px;
  background: linear-gradient(180deg, #1f2529 0%, #171c1f 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);

  padding: clamp(22px, 3vw, 44px);
  min-height: clamp(360px, 32vw, 520px);

  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ops-detailsBlock h3 {
  margin: 0 0 10px 0;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 24px;
}

.ops-detailsBlock p {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 18px;
  line-height: 1.45;
}

.ops-detailsDivider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  margin: 6px 0;
}

/* Mobile: keep right column centered like screenshot 1 */
@media (max-width: 899px) {
  .ops-panel {
    max-width: 420px;
    margin-left: 0;
    margin-right: 0;
  }

  .ops-videoFrame {
    aspect-ratio: 16 / 9.2;
  }

  .ops-detailsCard {
    min-height: 0;
  }
}

/* Gives more scroll-room so the left sticky headline feels like the 3rd screenshot */
.ops-spacer {
  display: none;
}

@media (min-width: 900px) {
  .ops-spacer {
    display: block;
    height: 48vh; /* adjust to taste */
  }
}

/* Reduced motion support: keep it snappy but avoid sweeping animation */
@media (prefers-reduced-motion: reduce) {
  .ops-tabs__indicator {
    transition: none;
  }
}


/* ===========================
   Case article embed for Ops Panel
   (layout only — preserves ops visuals)
   =========================== */

.case-article .case-opsEmbed {
  margin: 22px 0 26px 0;
}

.case-article .case-opsEmbed .ops-tabs {
  margin-left: 0;
  margin-right: auto; /* in article, keep it left-aligned */
}

.case-article .case-opsEmbed .ops-panel {
  max-width: none;   /* override 720px cap */
  margin-left: 0;    /* override auto align */
  margin-right: 0;
  width: 100%;
}

/* Mobile: force full width (overrides your ops css max-width:420px) */
@media (max-width: 899px) {
  .case-article .case-opsEmbed .ops-panel {
    max-width: none;
    width: 100%;
  }

  .case-article .case-opsEmbed .ops-tabs {
    width: 188px; /* keep your pill size */
    margin-left: 0;
    margin-right: auto;
  }
}


/* ===========================
   Environments / marquee section
   =========================== */

.env-section {
  background: #fff;
  padding: clamp(34px, 5vw, 80px) 0;
}

.env-inner {
  width: 100%;
}

.env-heading {
  margin: 0 0 clamp(22px, 3vw, 44px) 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #1f2326;

  font-size: clamp(34px, 4vw, 92px);
  line-height: 1.02;
  padding-left: 2rem;
}

/* Marquee viewport */
.env-marquee {
  width: 100%;
  overflow: hidden;
  padding: 6px 0 0 0;
}

/* Track */
.env-track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.5vw, 18px);
  width: max-content;

  /* Desktop auto-scroll */
  animation: env-scroll 36s linear infinite;
  will-change: transform;
}

/* Pause on hover (nice UX) */
@media (hover: hover) {
  .env-track:hover {
    animation-play-state: paused;
  }
}

/* Cards */
.env-card {
  position: relative;
  width: clamp(170px, 15vw, 220px);
  height: clamp(170px, 16vw, 240px);
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

/* Your full-card artwork goes here */
.env-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.98) contrast(1.02);
  transform: scale(1.01);
}

/* Optional subtle darkening so label reads */
.env-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.06) 60%,
    rgba(0, 0, 0, 0.38) 100%
  );
}

/* Label at bottom (like screenshot) */
.env-card__label {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;

  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;

  font-size: 16px;
}

/* Desktop keyframes: scroll right -> left seamlessly
   We duplicated cards, so shifting by 50% of the track works cleanly. */
@keyframes env-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===========================
   Mobile: swipeable strip like your 2nd screenshot
   =========================== */
@media (max-width: 820px) {
  .env-heading {
    font-size: 34px;
    line-height: 1.05;
    margin-bottom: 18px;
  }

  .env-marquee {
    overflow-x: auto;                 /* ✅ swipe */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .env-track {
    animation: none;                  /* ✅ no auto-scroll on mobile */
    width: max-content;
    padding-right: 18px;
  }

  .env-card {
    scroll-snap-align: start;
    width: 190px;
    height: 240px;
    border-radius: 18px;
  }

  /* Hide scrollbar (optional) */
  .env-marquee::-webkit-scrollbar {
    height: 0px;
  }
}

/* Reduced motion: disable marquee */
@media (prefers-reduced-motion: reduce) {
  .env-track {
    animation: none;
  }
  .env-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .env-card {
    scroll-snap-align: start;
  }
}



.env-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(0.98) contrast(1.02);
}

/* Hover: subtle “inwards” zoom + tiny lift/brighten */
@media (hover: hover) {
  .env-card {
    transform: translateZ(0);              /* smoother */
  }

  .env-card::before,
  .env-card__img {
    transition:
      transform 260ms cubic-bezier(.2,.8,.2,1),
      filter 260ms cubic-bezier(.2,.8,.2,1);
    will-change: transform, filter;
  }

  .env-card::after {
    transition: opacity 260ms cubic-bezier(.2,.8,.2,1);
    will-change: opacity;
  }

  .env-card:hover::before,
  .env-card:hover .env-card__img {
    transform: scale(1.08);                /* inwards zoom */
    filter: saturate(1.05) contrast(1.06) brightness(1.04);
  }

  /* lighten overlay a touch so it “pops” */
  .env-card:hover::after {
    opacity: 0.92;
  }
}
/* Make the whole marquee section unselectable */
.env-section,
.env-section * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-tap-highlight-color: transparent; /* iOS/Android highlight */
}

/* Optional: don't block clicks on links/buttons if you have any inside */
.env-section a,
.env-section button {
  -webkit-user-select: auto;
  user-select: auto;
}


/* Desktop-only: make the right visual "slide" with scroll */
@media (min-width: 980px) {
  /* the two-column layout must not clip sticky */
  .log-intro-layout {
    overflow: visible;
  }

  .log-intro-visual {
    position: relative;
    overflow: visible;
  }

  /* This is the key: sticky card */
  .log-intro-card {
    position: sticky;
    top: 120px; /* adjust based on your header height */
  }
}


/* ===============================
   TYPEWRITER HEADINGS (shared)
   =============================== */

.js-typewriter {
  position: relative;
  display: inline-block;
  white-space: normal; /* allow wrapping */
}

.js-typewriter::after {
  content: "";
  position: absolute;
  top: 0;
  right: -0.12em;
  width: 2px;
  height: 1.1em;
  background: currentColor;
  opacity: 0;
}

.js-typewriter[data-typing="true"]::after {
  opacity: 1;
  animation: caret-blink 0.8s steps(1) infinite;
}

.js-typewriter[data-typed="true"]::after {
  opacity: 0;
  animation: none;
}

.js-typewriter::after { display: none !important; }


.service-page .js-typewriter::after { display: none !important; }

/* 1) Hide anything that could be typewritten (prevents flash) */
.service-page .js-typewriter[data-text],
.service-page [data-text].js-typewriter,
.service-page h1[data-text],
.service-page h2[data-text],
.service-page h3[data-text] {
  visibility: hidden;
}

/* 2) Reveal once typing begins or finishes (must come AFTER) */
.service-page .js-typewriter[data-typing="true"],
.service-page .js-typewriter[data-typed="true"],
.service-page h1[data-text][data-typing="true"],
.service-page h1[data-text][data-typed="true"],
.service-page h2[data-text][data-typing="true"],
.service-page h2[data-text][data-typed="true"],
.service-page h3[data-text][data-typing="true"],
.service-page h3[data-text][data-typed="true"] {
  visibility: visible !important;
}



/* ============================
   03 · Showcase (Video + Copy)
   Add to: assets/css/services.css
   ============================ */

.ai-section--showcase {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.ai-showcase {
  display: grid;
  grid-template-columns: 1fr 3fr; /* copy = 1/4, video = 3/4 */
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.ai-showcase-copy .ai-section-index {
  margin-bottom: 0.75rem;
}

.ai-showcase-copy .ai-heading {
  margin: 0 0 0.75rem 0;
}

.ai-showcase-copy .ai-lede {
  margin: 0 0 1rem 0;
  max-width: 52ch;
}

.ai-showcase-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: grid;
  gap: 0.6rem;
}

.ai-showcase-points li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.35;
}

.ai-showcase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.85;
}

.ai-showcase-footnote {
  margin: 0;
  opacity: 0.8;
  max-width: 54ch;
}

.ai-showcase-media__frame {
  width: 100%;
  border-radius: 22px; /* slightly rounded */
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}

.ai-showcase-video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Responsive: stack copy above video */
@media (max-width: 980px) {
  .ai-showcase {
    grid-template-columns: 1fr;
  }

  .ai-showcase-copy .ai-lede,
  .ai-showcase-footnote {
    max-width: 70ch;
  }
}
