@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* =========================================================
   01. GLOBAL TOKENS
========================================================= */
.ds-page {
  --navy: #1d3464;
  --green: #00e196;
  --blue: #1a73e8;
  --grey: #dfe3ea;
  --text: #eef4ff;
  --muted: rgba(223, 227, 234, .82);
  --font-main: "Britanica", Georgia, serif;
  --font-secondary: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1640px;
  --section-x: clamp(28px, 4.6vw, 92px);
  --radius: 34px;

  width: 100% !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--text);
  background: var(--navy) !important;
  font-family: var(--font-secondary);
  overflow-x: hidden !important;
  overflow-y: visible !important;
  isolation: isolate;
}

html { scroll-behavior: smooth; }
body.designspace-standalone { margin: 0 !important; padding: 0 !important; background: var(--navy, #1d3464) !important; overflow-x: hidden !important; }
body.ds-menu-open { overflow: hidden; }

.ds-page,
.ds-page * { box-sizing: border-box; }
.ds-page a { color: inherit; text-decoration: none; }
.ds-page img,
.ds-page video,
.ds-page svg { display: block; max-width: 100%; height: auto; }
.ds-page button { font: inherit; }

.noise { display: none !important; }

.ds-page h1,
.ds-page h2,
.ds-page h3,
.ds-page .case-caption strong,
.ds-page .split-content h2 {
  font-family: var(--font-main) !important;
  letter-spacing: -0.026em !important;
}

.ds-page p,
.ds-page a,
.ds-page button,
.ds-page span,
.ds-page .section-label,
.ds-page .eyebrow {
  font-family: var(--font-secondary) !important;
}

.section-pad {
  width: min(var(--max), calc(100% - (var(--section-x) * 2))) !important;
  margin: 0 auto !important;
  padding: clamp(44px, 5.1vw, 76px) 0 !important;
}

.compact-section { padding-top: clamp(34px, 3.6vw, 58px) !important; padding-bottom: clamp(34px, 3.6vw, 58px) !important; }
.small-top { padding-top: clamp(28px, 3vw, 46px) !important; }

.section-label,
.eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--green) !important;
  text-transform: uppercase;
  letter-spacing: .30em !important;
  font-size: clamp(12px, .9vw, 15px);
  font-weight: 800;
  line-height: 1.2;
}

/* =========================================================
   02. HEADER
========================================================= */
.site-header,
.ds-page .site-header,
body.designspace-standalone .ds-page .site-header {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  width: min(1500px, calc(100% - 80px)) !important;
  height: 86px !important;
  padding: 0 28px !important;
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) 190px !important;
  gap: 20px !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--grey) !important;
  border: 2px solid var(--green) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), opacity .35s ease !important;
}

.ds-page .site-header.ds-header-hidden {
  transform: translate(calc(-50% + 42vw), -8px) scale(.18) !important;
  transform-origin: right center !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.brand,
.ds-page .brand {
  width: 300px !important;
  height: 78px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}

.brand img,
.ds-page .brand img {
  width: 210px !important;
  height: auto !important;
  max-height: 78px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.nav,
.ds-page .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(28px, 2.6vw, 48px) !important;
}

.nav a,
.ds-page .nav a {
  color: var(--navy) !important;
  font-size: clamp(15px, .95vw, 18px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: .005em !important;
  text-transform: none !important;
}
.nav a:hover,
.ds-page .nav a:hover { color: var(--blue) !important; }

.header-cta,
.ds-page .header-cta {
  justify-self: end !important;
  min-width: 150px !important;
  height: 50px !important;
  border-radius: 999px !important;
  border: 1px solid var(--green) !important;
  background: var(--green) !important;
  color: var(--navy) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: clamp(15px, .95vw, 18px) !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
}

.menu-toggle { display: none; }

.ds-floating-menu-toggle {
  position: fixed;
  top: 28px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--navy);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s ease .1s, transform .35s ease .1s, visibility .35s ease;
}
.ds-floating-menu-toggle.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ds-floating-menu-toggle span { width: 26px; height: 2px; background: var(--green); border-radius: 999px; display: block; }

.ds-floating-menu-panel {
  position: fixed;
  top: 104px;
  right: 32px;
  width: min(340px, calc(100vw - 48px));
  padding: 28px;
  border-radius: 28px;
  background: var(--navy);
  border: 2px solid var(--green);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.98);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.ds-floating-menu-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.ds-floating-menu-panel a { display: block; padding: 13px 0; color: var(--grey) !important; border-bottom: 1px solid rgba(223,227,234,.18); font-weight: 600; }
.ds-floating-menu-panel a:hover { color: var(--green) !important; }
.ds-floating-menu-panel a:last-child { border-bottom: 0; }

/* =========================================================
   03. HERO
========================================================= */
.hero,
.ds-page .hero {
  min-height: 100vh !important;
  max-height: none !important;
  padding-top: clamp(132px, 12vh, 168px) !important;
  padding-bottom: clamp(42px, 5vh, 70px) !important;
  display: grid !important;
  grid-template-columns: minmax(460px, .9fr) minmax(470px, 1.1fr) !important;
  gap: clamp(48px, 6vw, 104px) !important;
  align-items: center !important;
  position: relative !important;
  overflow: visible !important;
  background: var(--navy) !important;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-sign-layer {
  position: absolute;
  left: clamp(20px, 6vw, 120px);
  top: clamp(150px, 19vh, 220px);
  width: clamp(460px, 40vw, 720px);
  aspect-ratio: 1 / 1;
  opacity: .13;
  background: center / contain no-repeat var(--ds-pulse-shape);
  filter: none;
  animation: pulseDrift 15s ease-in-out infinite alternate;
}
.hero-sign-layer::after { display: none !important; }

.hero-copy { position: relative; z-index: 3; max-width: 680px; }
.hero h1,
.ds-page .hero h1 {
  margin: 0 !important;
  color: var(--blue) !important;
  font-size: clamp(68px, 5.55vw, 112px) !important;
  line-height: .93 !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
  text-wrap: balance;
}
.hero h1 span { color: var(--green) !important; }
.hero-text {
  max-width: 660px !important;
  margin: clamp(22px, 2.2vw, 34px) 0 0 !important;
  color: var(--text) !important;
  font-size: clamp(17px, 1.2vw, 21px) !important;
  line-height: 1.55 !important;
}
.hero-actions { display: flex !important; gap: 16px !important; margin-top: clamp(26px, 3vw, 42px) !important; flex-wrap: wrap; }
.button,
.ds-page .button {
  display: inline-flex !important;
  height: 54px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}
.button-primary { background: var(--green) !important; color: var(--navy) !important; border: 1px solid var(--green) !important; }
.button-ghost { background: transparent !important; color: var(--green) !important; border: 1px solid var(--green) !important; }

.hero-media,
.ds-page .hero .hero-media,
body.designspace-standalone .ds-page .hero .hero-media {
  position: relative !important;
  z-index: 3 !important;
  justify-self: center !important;
  width: min(var(--ds-hero-shape-width, 790px), 46vw, 820px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  transform: translate(var(--ds-hero-shape-x, 0px), var(--ds-hero-shape-y, 0px)) !important;
  overflow: visible !important;
}

.shape-frame,
.ds-page .hero .hero-media .shape-frame,
body.designspace-standalone .ds-page .hero .hero-media .shape-frame {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 1000 / 640 !important;
  margin: 0 auto !important;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  filter: none !important;
  transform: none !important;
}
.shape-mask {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  background: var(--navy) !important;
  -webkit-mask: center / 100% 100% no-repeat var(--ds-hero-shape-clip) !important;
  mask: center / 100% 100% no-repeat var(--ds-hero-shape-clip) !important;
}
.shape-fallback,
.shape-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.04) !important;
  filter: saturate(1.03) contrast(1.02) brightness(.94) !important;
}
.shape-video:not([src]) { display: none !important; }
.shape-border { display: none !important; }
.shape-frame::before,
.shape-frame::after,
.shape-glow { display: none !important; }

/* =========================================================
   04. SPLIT SECTION
========================================================= */
.split-experience { padding-top: clamp(26px, 3vw, 42px) !important; }
.split-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
}
.split-card {
  position: relative !important;
  min-height: clamp(410px, 42vw, 610px) !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%) !important;
  border: 2px solid var(--green) !important;
  box-shadow: none !important;
  isolation: isolate;
}
.split-card::before { display: none !important; }
.split-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
  border: 1px solid rgba(223,227,234,.18);
}
.split-overlay { display: none !important; }
.split-img {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  height: 24% !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: .64 !important;
  z-index: 1 !important;
  transform: scale(1.03);
  filter: none !important;
}
.split-img-bottom { bottom: 0 !important; top: auto !important; }
.split-img-top { top: 0 !important; bottom: auto !important; }
.split-img-bottom { -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.22) 22%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.22) 22%, #000 100%); }
.split-img-top { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.22) 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.22) 78%, transparent 100%); }
.split-content {
  position: absolute !important;
  z-index: 5 !important;
  width: min(620px, 82%) !important;
  color: var(--navy) !important;
  will-change: transform, opacity;
}
.content-top { left: clamp(34px, 4vw, 70px); top: clamp(34px, 4vw, 70px); }
.content-bottom { left: clamp(34px, 7vw, 150px); bottom: clamp(34px, 4vw, 70px); right: auto !important; }
.split-content h2 {
  margin: 0 !important;
  color: var(--navy) !important;
  font-size: clamp(40px, 4.2vw, 76px) !important;
  line-height: .98 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
}
.split-content p {
  margin: 14px 0 0 !important;
  color: var(--navy) !important;
  font-size: clamp(15px, 1.2vw, 21px) !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

/* =========================================================
   05. FRAMEWORK + DESIGN CARDS
========================================================= */
.pointer-grid { display: grid !important; gap: 18px !important; }
.pointer-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.pointer-card {
  position: relative !important;
  min-height: 220px !important;
  padding: clamp(24px, 2vw, 34px) !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  background: var(--blue) !important;
  border: 2px solid var(--blue) !important;
  color: var(--grey) !important;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.pointer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(0,225,150,.22), transparent 62%);
  transition: opacity .28s ease;
}
.pointer-card:hover { transform: translateY(-7px); border-color: var(--green) !important; }
.pointer-card:hover::before { opacity: 1; }
.card-no {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--green) !important;
  font-weight: 900;
  font-size: 18px;
}
.icon-dot,
.icon-line {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--navy) !important;
  border: 1px solid var(--green) !important;
  color: var(--green) !important;
  font-weight: 900;
}
.icon-line::before { content: ""; width: 24px; height: 24px; border: 2px solid var(--green); border-radius: 5px; }
.section-icon-mask { width: 28px; height: 28px; display: block; background: var(--green); -webkit-mask: var(--icon-url) center / contain no-repeat; mask: var(--icon-url) center / contain no-repeat; }
.icon-line:has(.section-icon-mask)::before { display: none; }
.pointer-card h3 {
  position: relative;
  margin: 0 !important;
  color: var(--green) !important;
  font-size: clamp(23px, 1.8vw, 32px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
}
.pointer-card p {
  position: relative;
  margin: 14px 0 0 !important;
  color: var(--grey) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

/* =========================================================
   06. CASE STUDIES
========================================================= */
.case-section-intro { max-width: 1180px; margin: 0 0 34px !important; }
.case-section-intro h2 {
  margin: 0 !important;
  color: var(--blue) !important;
  font-size: clamp(44px, 5.2vw, 90px) !important;
  line-height: .96 !important;
  white-space: nowrap;
}
.case-section-intro p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 1.55;
}
.case-shell {
  position: relative !important;
  height: clamp(460px, 56vw, 720px) !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  border: 2px solid var(--green) !important;
  background: var(--navy) !important;
}
.case-track,
.case-slide { position: absolute; inset: 0; }
.case-slide { opacity: 0; background-size: cover; background-position: center; transform: scale(1.035); transition: opacity .65s ease, transform 1.1s ease; }
.case-slide.is-active { opacity: 1; transform: scale(1); }
.case-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(29,52,100,.72)); }
.case-caption { position: absolute; left: clamp(28px, 4vw, 60px); bottom: clamp(30px, 4vw, 60px); z-index: 3; }
.case-caption span { display: block; color: var(--green); text-transform: uppercase; font-weight: 900; letter-spacing: .08em; font-size: 14px; }
.case-caption strong { display: block; margin-top: 8px; color: var(--text); font-size: clamp(36px, 4.8vw, 78px); line-height: .96; }
.case-controls { position: absolute; right: 28px; bottom: 28px; z-index: 5; display: flex; gap: 10px; }
.case-controls button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--grey); background: rgba(29,52,100,.45); color: var(--text); font-size: 30px; cursor: pointer; }
.case-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.case-dots span { width: 28px; height: 4px; border-radius: 999px; border: 1px solid rgba(223,227,234,.55); background: transparent; }
.case-dots span.is-active { background: var(--green); border-color: var(--green); }

/* =========================================================
   07. EVENTS ACCORDION
========================================================= */
.section-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .8fr) !important;
  gap: clamp(32px, 5vw, 80px) !important;
  align-items: start !important;
  margin-bottom: clamp(28px, 3.2vw, 46px) !important;
}
.section-head h2 {
  margin: 0 !important;
  color: var(--blue) !important;
  font-size: clamp(56px, 6vw, 116px) !important;
  line-height: .96 !important;
  letter-spacing: -0.035em !important;
}
.section-head > p {
  margin: 8px 0 0 !important;
  color: var(--green) !important;
  font-size: clamp(22px, 2vw, 38px) !important;
  line-height: 1.32 !important;
  font-weight: 500;
}
.event-cards {
  --ease-event: cubic-bezier(.16, 1, .3, 1);
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px !important;
  height: 430px !important;
  min-height: 430px !important;
  align-items: stretch !important;
  transition: grid-template-columns .46s var(--ease-event) !important;
}
.event-cards.is-active-0 { grid-template-columns: 2.55fr .72fr .72fr .72fr .72fr !important; }
.event-cards.is-active-1 { grid-template-columns: .72fr 2.55fr .72fr .72fr .72fr !important; }
.event-cards.is-active-2 { grid-template-columns: .72fr .72fr 2.55fr .72fr .72fr !important; }
.event-cards.is-active-3 { grid-template-columns: .72fr .72fr .72fr 2.55fr .72fr !important; }
.event-cards.is-active-4 { grid-template-columns: .72fr .72fr .72fr .72fr 2.55fr !important; }
.event-card {
  --event-accent: var(--blue);
  position: relative !important;
  min-width: 0 !important;
  height: 430px !important;
  min-height: 430px !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  border: 2px solid var(--event-accent) !important;
  background: var(--navy) !important;
  color: var(--text) !important;
  padding: 28px !important;
  cursor: pointer;
  isolation: isolate;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.event-card:nth-child(1) { --event-accent: var(--blue); }
.event-card:nth-child(2) { --event-accent: var(--green); }
.event-card:nth-child(3) { --event-accent: var(--blue); }
.event-card:nth-child(4) { --event-accent: var(--blue); }
.event-card:nth-child(5) { --event-accent: var(--green); }
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--event-accent) 0%, transparent 72%);
  opacity: 0;
  transition: opacity .3s ease;
}
.event-card.is-active::before,
.event-card:hover::before { opacity: .72; }
.event-card::after {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  z-index: 2 !important;
  border-radius: inherit !important;
  padding: 3px !important;
  pointer-events: none !important;
  opacity: .95 !important;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 0deg, transparent 34deg, var(--event-accent) 74deg, var(--event-accent) 118deg, transparent 158deg, transparent 360deg) !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  mask-composite: exclude !important;
  animation: borderFlow 6s linear infinite !important;
}
.event-card.is-active::after,
.event-card:hover::after { animation-duration: 3.7s !important; opacity: 1 !important; }
.event-card__num,
.event-card__title-closed,
.event-card__content { position: relative; z-index: 4; }
.event-card__num { color: var(--event-accent) !important; font-size: 16px; font-weight: 900; letter-spacing: .18em; line-height: 1; }
.event-card__title-closed {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate3d(-50%, -50%, 0) rotate(180deg) !important;
  writing-mode: vertical-rl !important;
  white-space: nowrap !important;
  color: var(--event-accent) !important;
  font-size: clamp(20px, 1.35vw, 26px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: 1;
  transition: opacity .2s ease;
}
.event-card.is-active .event-card__title-closed { opacity: 0 !important; visibility: hidden !important; }
.event-card__content { display: none !important; }
.event-card.is-active .event-card__content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: clamp(28px, 4vw, 72px) !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.event-card__title-open {
  margin: 0 !important;
  color: var(--green) !important;
  font-size: clamp(34px, 3.1vw, 58px) !important;
  line-height: 1 !important;
  letter-spacing: -0.028em !important;
}
.event-card p {
  max-width: 720px !important;
  margin: 18px auto 0 !important;
  color: var(--grey) !important;
  font-size: clamp(15px, 1.08vw, 19px) !important;
  line-height: 1.48 !important;
}
.event-card__arrow { display: none !important; }

/* =========================================================
   08. CLIENTS + FOOTER
========================================================= */
.client-strip {
  border-radius: 28px;
  border: 2px solid var(--green);
  background: var(--navy);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.client-strip h2 { margin: 0; color: var(--blue); font-size: 34px; line-height: 1.08; }
.logo-marquee { overflow: hidden; }
.logo-row { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 11s linear infinite; }
.logo-row img { max-width: 150px; max-height: 66px; object-fit: contain; filter: grayscale(1) brightness(1.7) contrast(.85); opacity: .8; }
.site-footer {
  width: min(var(--max), calc(100% - (var(--section-x) * 2))) !important;
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--green);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  color: var(--muted);
}
.footer-brand img { width: 210px; height: auto; object-fit: contain; object-position: left; }
.footer-brand p { margin: 12px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 34px; }
.footer-links a { color: var(--text); font-weight: 700; font-size: 14px; }
.footer-contact p { margin: 0 0 10px; }

/* =========================================================
   09. REVEALS + KEYFRAMES
========================================================= */
.reveal-up { opacity: 0; transform: translateY(28px); }
@keyframes borderFlow { to { --border-angle: 360deg; } }
@keyframes pulseDrift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(14px, -12px, 0) scale(1.018); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   10. RESPONSIVE
========================================================= */
@media (max-width: 1280px) {
  .site-header,
  .ds-page .site-header,
  body.designspace-standalone .ds-page .site-header {
    width: min(1380px, calc(100% - 44px)) !important;
    height: 78px !important;
    grid-template-columns: 230px minmax(0, 1fr) 160px !important;
  }
  .brand, .ds-page .brand { width: 230px !important; }
  .brand img, .ds-page .brand img { width: 178px !important; }
  .nav, .ds-page .nav { gap: 24px !important; }
  .hero, .ds-page .hero { grid-template-columns: minmax(390px, .88fr) minmax(390px, 1fr) !important; gap: 44px !important; }
  .hero h1, .ds-page .hero h1 { font-size: clamp(60px, 5.2vw, 90px) !important; }
}

@media (max-width: 980px) {
  .site-header,
  .ds-page .site-header,
  body.designspace-standalone .ds-page .site-header {
    grid-template-columns: 1fr auto !important;
    height: 72px !important;
    padding: 0 14px 0 20px !important;
  }
  .brand, .ds-page .brand { width: auto !important; height: 64px !important; }
  .brand img, .ds-page .brand img { width: 168px !important; max-height: 64px !important; }
  .nav { display: none !important; }
  .header-cta { display: none !important; }
  .menu-toggle { display: grid !important; place-items: center; gap: 5px; width: 48px; height: 48px; border: 1px solid var(--green); background: transparent; border-radius: 999px; }
  .menu-toggle span { width: 22px; height: 2px; background: var(--green); }
  .nav.is-open { display: flex !important; position: fixed; left: 22px; right: 22px; top: 94px; padding: 26px; background: var(--grey); border: 2px solid var(--green); border-radius: 24px; flex-direction: column; align-items: flex-start; }

  .hero, .ds-page .hero { grid-template-columns: 1fr !important; min-height: auto !important; padding-top: 112px !important; }
  .hero-media, .ds-page .hero .hero-media, body.designspace-standalone .ds-page .hero .hero-media { width: min(680px, 86vw) !important; justify-self: center !important; transform: none !important; }
  .hero h1, .ds-page .hero h1 { font-size: clamp(54px, 12vw, 88px) !important; }

  .split-grid { grid-template-columns: 1fr !important; }
  .pointer-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .section-head { grid-template-columns: 1fr !important; }
  .section-head > p { max-width: 760px; }
  .event-cards,
  .event-cards.is-active-0,
  .event-cards.is-active-1,
  .event-cards.is-active-2,
  .event-cards.is-active-3,
  .event-cards.is-active-4 {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .event-card { height: auto !important; min-height: 280px !important; }
  .event-card__title-closed { display: none !important; }
  .event-card__content,
  .event-card.is-active .event-card__content {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    padding: 36px 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (max-width: 680px) {
  .ds-page { --section-x: 18px; }
  .site-header,
  .ds-page .site-header,
  body.designspace-standalone .ds-page .site-header { width: calc(100% - 22px) !important; top: 10px !important; }
  .hero h1, .ds-page .hero h1 { font-size: clamp(48px, 15vw, 70px) !important; line-height: .96 !important; }
  .hero-text { font-size: 16px !important; }
  .button, .ds-page .button { height: 50px !important; padding: 0 18px !important; font-size: 12px !important; }
  .split-card { min-height: 390px !important; }
  .content-top, .content-bottom { left: 24px !important; right: 24px !important; top: 28px !important; bottom: auto !important; width: calc(100% - 48px) !important; }
  .split-content h2 { font-size: clamp(38px, 12vw, 58px) !important; }
  .pointer-grid.four { grid-template-columns: 1fr !important; }
  .case-section-intro h2 { white-space: normal !important; font-size: clamp(40px, 12vw, 64px) !important; }
  .case-shell { height: 500px !important; }
  .case-controls { right: 18px; bottom: 18px; }
  .case-dots { display: none; }
  .section-head h2 { font-size: clamp(46px, 14vw, 70px) !important; }
  .section-head > p { font-size: 19px !important; }
  .client-strip { grid-template-columns: 1fr; }
  .logo-row { flex-wrap: wrap; animation: none; gap: 24px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-up { opacity: 1 !important; transform: none !important; }
}


/* =========================================================
   11. V3.1 TARGETED FIXES - HERO MASK + EVENT TILE COLORS
   These rules intentionally only touch the two requested areas.
========================================================= */

/* Hero mask: enlarge to visually match the right-side red-box area, while keeping it responsive. */
.ds-page .hero .hero-media,
body.designspace-standalone .ds-page .hero .hero-media {
  width: min(max(var(--ds-hero-shape-width, 820px), 700px), 46vw, 860px) !important;
  max-width: 100% !important;
  justify-self: center !important;
}

.ds-page .hero .hero-media .shape-frame,
body.designspace-standalone .ds-page .hero .hero-media .shape-frame {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Events: alternate small/large tile colors blue | green | blue | green | blue. */
.ds-page .event-card {
  background: var(--event-bg, var(--blue)) !important;
  border-color: var(--event-border, var(--green)) !important;
}

/* Disable the old active gradient overlay so tile color stays clean and predictable. */
.ds-page .event-card::before {
  display: none !important;
  opacity: 0 !important;
}

/* 01 blue tile: green + grey text */
.ds-page .event-card:nth-child(1) {
  --event-bg: var(--blue);
  --event-accent: var(--green);
  --event-border: var(--green);
  --event-title: var(--green);
  --event-body: var(--grey);
}

/* 02 green tile: blue + grey text */
.ds-page .event-card:nth-child(2) {
  --event-bg: var(--green);
  --event-accent: var(--blue);
  --event-border: var(--blue);
  --event-title: var(--blue);
  --event-body: var(--grey);
}

/* 03 blue tile: green + grey text */
.ds-page .event-card:nth-child(3) {
  --event-bg: var(--blue);
  --event-accent: var(--green);
  --event-border: var(--green);
  --event-title: var(--green);
  --event-body: var(--grey);
}

/* 04 green tile: blue + grey text */
.ds-page .event-card:nth-child(4) {
  --event-bg: var(--green);
  --event-accent: var(--blue);
  --event-border: var(--blue);
  --event-title: var(--blue);
  --event-body: var(--grey);
}

/* 05 blue tile: green + grey text */
.ds-page .event-card:nth-child(5) {
  --event-bg: var(--blue);
  --event-accent: var(--green);
  --event-border: var(--green);
  --event-title: var(--green);
  --event-body: var(--grey);
}

.ds-page .event-card::after {
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0deg,
    transparent 34deg,
    var(--event-border) 74deg,
    var(--event-border) 118deg,
    transparent 158deg,
    transparent 360deg
  ) !important;
}

.ds-page .event-card__num,
.ds-page .event-card__title-closed,
.ds-page .event-card__title-open {
  color: var(--event-title) !important;
}

.ds-page .event-card p {
  color: var(--event-body) !important;
}

/* Keep active card content truly centered. */
.ds-page .event-card.is-active .event-card__content {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

@media (max-width: 1280px) {
  .ds-page .hero .hero-media,
  body.designspace-standalone .ds-page .hero .hero-media {
    width: min(max(var(--ds-hero-shape-width, 760px), 600px), 45vw, 760px) !important;
  }
}

@media (max-width: 980px) {
  .ds-page .hero .hero-media,
  body.designspace-standalone .ds-page .hero .hero-media {
    width: min(680px, 86vw) !important;
  }
}


/* =========================================================
   12. V3.2 TARGETED FIXES - HERO MASK VISIBILITY + SMOOTH EVENT PULSE
   Only touches requested areas: right hero mask size and Events pulse.
========================================================= */

/* HERO: make the visible mask fill the intended right-side box more clearly. */
.ds-page .hero {
  overflow: hidden !important;
}

.ds-page .hero .hero-media,
body.designspace-standalone .ds-page .hero .hero-media {
  width: clamp(820px, 48vw, 1080px) !important;
  max-width: calc(100vw - 96px) !important;
  min-width: 760px !important;
  justify-self: end !important;
  transform: translate(var(--ds-hero-shape-x, 0px), var(--ds-hero-shape-y, 0px)) !important;
  overflow: visible !important;
}

.ds-page .hero .hero-media .shape-frame,
body.designspace-standalone .ds-page .hero .hero-media .shape-frame {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  transform: scale(1.08) !important;
  transform-origin: center center !important;
}

.ds-page .shape-mask {
  -webkit-mask-size: 108% 108% !important;
  mask-size: 108% 108% !important;
}

/* EVENTS: force alternating tiles blue | green | blue | green | blue. */
.ds-page .event-card:nth-child(1),
.ds-page .event-card:nth-child(3),
.ds-page .event-card:nth-child(5) {
  --event-bg: var(--blue) !important;
  --event-title: var(--green) !important;
  --event-body: var(--grey) !important;
  --event-border: var(--green) !important;
  --event-pulse: var(--green) !important;
  background: var(--blue) !important;
  border-color: var(--green) !important;
}

.ds-page .event-card:nth-child(2),
.ds-page .event-card:nth-child(4) {
  --event-bg: var(--green) !important;
  --event-title: var(--blue) !important;
  --event-body: var(--grey) !important;
  --event-border: var(--blue) !important;
  --event-pulse: var(--blue) !important;
  background: var(--green) !important;
  border-color: var(--blue) !important;
}

/* Keep the real border always visible. */
.ds-page .event-card {
  border-width: 2px !important;
  border-style: solid !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

/* Make the illuminated pulse visible on top of the fixed border. */
.ds-page .event-card::after {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  z-index: 3 !important;
  border-radius: inherit !important;
  padding: 5px !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0deg,
    transparent 32deg,
    var(--event-pulse) 54deg,
    var(--event-pulse) 96deg,
    rgba(255,255,255,.78) 112deg,
    var(--event-pulse) 128deg,
    transparent 160deg,
    transparent 360deg
  ) !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  mask-composite: exclude !important;
  filter: drop-shadow(0 0 10px var(--event-pulse)) drop-shadow(0 0 18px var(--event-pulse)) !important;
  animation: borderFlow 8.5s linear infinite !important;
}

.ds-page .event-card:hover::after,
.ds-page .event-card.is-active::after {
  animation-duration: 7s !important;
  filter: drop-shadow(0 0 14px var(--event-pulse)) drop-shadow(0 0 24px var(--event-pulse)) !important;
}

.ds-page .event-card__num,
.ds-page .event-card__title-closed,
.ds-page .event-card__title-open {
  color: var(--event-title) !important;
}

.ds-page .event-card p {
  color: var(--event-body) !important;
}

/* Responsive cap so the larger hero mask does not create double-scroll on smaller screens. */
@media (max-width: 1280px) {
  .ds-page .hero .hero-media,
  body.designspace-standalone .ds-page .hero .hero-media {
    width: clamp(650px, 46vw, 860px) !important;
    min-width: 0 !important;
  }

  .ds-page .hero .hero-media .shape-frame,
  body.designspace-standalone .ds-page .hero .hero-media .shape-frame {
    transform: scale(1.04) !important;
  }
}

@media (max-width: 980px) {
  .ds-page .hero .hero-media,
  body.designspace-standalone .ds-page .hero .hero-media {
    width: min(720px, 88vw) !important;
    max-width: 88vw !important;
    justify-self: center !important;
  }

  .ds-page .hero .hero-media .shape-frame,
  body.designspace-standalone .ds-page .hero .hero-media .shape-frame {
    transform: none !important;
  }
}


/* =========================================================
   11. TARGETED UPDATE - CASE + CLIENT STRIP CLEANUP
   - Case study slider has no outer border.
   - Client/logo strip has no border, grey background and full-color logos.
========================================================= */
.ds-page .case-shell {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ds-page .case-controls button {
  border: 0 !important;
}

.ds-page .case-dots span {
  border: 0 !important;
}

.ds-page .client-strip {
  border: 0 !important;
  background: #dfe3ea !important;
  box-shadow: none !important;
}

.ds-page .client-strip h2 {
  color: #1d3464 !important;
}

.ds-page .logo-row img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}


/* =========================================================
   V3.4 CLIENT CHANGE - SPLIT SECTION FOUR PLACEHOLDERS
   Blue | Green | Blue | Green gradient sequence
   Two image halves with a clean center gap
========================================================= */
.ds-page .split-experience {
  padding-top: clamp(42px, 4.5vw, 70px) !important;
  padding-bottom: clamp(42px, 4.5vw, 70px) !important;
}

.ds-page .split-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(24px, 2.8vw, 44px) !important;
  align-items: stretch !important;
}

.ds-page .split-card {
  min-height: clamp(440px, 41vw, 620px) !important;
  border-radius: 24px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: hidden !important;
  position: relative !important;
}

.ds-page .split-card::after {
  display: none !important;
  content: none !important;
}

.ds-page .split-card::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}

/* Left half carries the text and the 30-40% seamless gradient */
.ds-page .split-card-left::before {
  background:
    linear-gradient(
      90deg,
      rgba(var(--split-accent-rgb, 26, 115, 232), 0.96) 0%,
      rgba(var(--split-accent-rgb, 26, 115, 232), 0.82) 32%,
      rgba(29, 52, 100, 0.68) 68%,
      rgba(29, 52, 100, 0.34) 100%
    ) !important;
}

/* Right half remains image-led with only a tiny soft edge, no text */
.ds-page .split-card-right::before {
  background:
    linear-gradient(
      90deg,
      rgba(29, 52, 100, 0.18) 0%,
      rgba(29, 52, 100, 0.04) 28%,
      rgba(29, 52, 100, 0) 100%
    ) !important;
}

.ds-page .split-img {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: 205% 100% !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  z-index: 1 !important;
  transform: scale(1.015);
  filter: saturate(1.04) contrast(1.02) brightness(.92) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.ds-page .split-card-left .split-img {
  background-position: left center !important;
  filter: saturate(1.02) contrast(1.02) brightness(.64) !important;
}

.ds-page .split-card-right .split-img {
  background-position: right center !important;
  filter: saturate(1.04) contrast(1.02) brightness(.98) !important;
}

.ds-page .split-content {
  position: absolute !important;
  z-index: 5 !important;
  left: clamp(42px, 5vw, 92px) !important;
  right: clamp(30px, 4vw, 72px) !important;
  top: auto !important;
  bottom: clamp(48px, 5.2vw, 92px) !important;
  width: auto !important;
  max-width: 720px !important;
  color: #eef4ff !important;
}

.ds-page .split-card-right .split-content {
  display: none !important;
}

.ds-page .split-content h2 {
  color: #eef4ff !important;
  font-size: clamp(44px, 5vw, 88px) !important;
  line-height: .96 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  text-shadow: 0 18px 42px rgba(0, 0, 0, .34) !important;
}

.ds-page .split-content p {
  color: rgba(238, 244, 255, .9) !important;
  font-size: clamp(16px, 1.35vw, 23px) !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  max-width: 680px !important;
  text-shadow: 0 12px 32px rgba(0, 0, 0, .28) !important;
}

/* Green placeholder keeps text readable while retaining the green gradient */
.ds-page .split-experience[data-split-theme="green"] .split-content h2 {
  color: #1d3464 !important;
  text-shadow: 0 12px 32px rgba(255, 255, 255, .16) !important;
}

.ds-page .split-experience[data-split-theme="green"] .split-content p {
  color: rgba(29, 52, 100, .86) !important;
  text-shadow: 0 10px 28px rgba(255, 255, 255, .12) !important;
}

@media (max-width: 900px) {
  .ds-page .split-grid {
    gap: 18px !important;
  }
  .ds-page .split-card {
    min-height: 430px !important;
  }
  .ds-page .split-content {
    left: 26px !important;
    right: 24px !important;
    bottom: 32px !important;
  }
  .ds-page .split-content h2 {
    font-size: clamp(36px, 8vw, 58px) !important;
  }
}

@media (max-width: 640px) {
  .ds-page .split-grid {
    grid-template-columns: 1fr !important;
  }
  .ds-page .split-card-right {
    min-height: 300px !important;
  }
  .ds-page .split-card-left .split-img,
  .ds-page .split-card-right .split-img {
    background-size: cover !important;
    background-position: center !important;
  }
}

/* =========================================================
   FINAL GREY TEXT MATCH UPDATE
   Keep split-section text on placeholders in the same website grey.
========================================================= */
.ds-page .split-content h2,
.ds-page .split-content p,
.ds-page .split-experience[data-split-theme="green"] .split-content h2,
.ds-page .split-experience[data-split-theme="green"] .split-content p {
  color: var(--grey) !important;
  text-shadow: 0 10px 28px rgba(29, 52, 100, .18) !important;
}


/* =========================================================
   V3.6 SPLIT PLACEHOLDER FINAL OVERRIDE
   4 placeholders: Blue | Green | Blue | Green
   All placeholder text uses website grey for consistency.
========================================================= */
.ds-page .split-card-left::before {
  background:
    linear-gradient(
      90deg,
      rgba(var(--split-accent-rgb, 0, 225, 150), 0.94) 0%,
      rgba(var(--split-accent-rgb, 0, 225, 150), 0.78) 34%,
      rgba(29, 52, 100, 0.58) 68%,
      rgba(29, 52, 100, 0.22) 100%
    ) !important;
}

.ds-page .split-card-right::before {
  background:
    linear-gradient(
      90deg,
      rgba(29, 52, 100, 0.16) 0%,
      rgba(29, 52, 100, 0.05) 28%,
      rgba(29, 52, 100, 0) 100%
    ) !important;
}

.ds-page .split-content h2,
.ds-page .split-content p,
.ds-page .split-experience[data-split-theme="green"] .split-content h2,
.ds-page .split-experience[data-split-theme="green"] .split-content p,
.ds-page .split-experience[data-split-theme="blue"] .split-content h2,
.ds-page .split-experience[data-split-theme="blue"] .split-content p {
  color: var(--grey) !important;
  text-shadow: none !important;
}


/* =========================================================
   V3.7 SPLIT FINAL - ALL GREEN, GREY TEXT, ALTERNATING TEXT SIDE
   1/3: left text + right image. 2/4: left image + right text.
========================================================= */
.ds-page .split-experience {
  --split-accent-rgb: 0, 225, 150 !important;
}

.ds-page .split-grid {
  gap: clamp(24px, 2.6vw, 44px) !important;
}

.ds-page .split-card {
  border-radius: 22px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

.ds-page .split-card::after {
  display: none !important;
  content: none !important;
}

.ds-page .split-card::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}

/* Text side gets a seamless green-to-navy overlay. */
.ds-page .split-experience.is-text-left .split-card-left::before,
.ds-page .split-experience.is-text-right .split-card-right::before {
  background:
    linear-gradient(
      90deg,
      rgba(0, 225, 150, 0.94) 0%,
      rgba(0, 225, 150, 0.78) 34%,
      rgba(29, 52, 100, 0.58) 68%,
      rgba(29, 52, 100, 0.22) 100%
    ) !important;
}

/* Image-only side stays clean with only a soft inner edge. */
.ds-page .split-experience.is-text-left .split-card-right::before,
.ds-page .split-experience.is-text-right .split-card-left::before {
  background:
    linear-gradient(
      90deg,
      rgba(29, 52, 100, 0.14) 0%,
      rgba(29, 52, 100, 0.04) 26%,
      rgba(29, 52, 100, 0) 100%
    ) !important;
}

.ds-page .split-img {
  height: 100% !important;
  opacity: 1 !important;
  will-change: transform !important;
  transition: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.ds-page .split-card-left .split-img,
.ds-page .split-card-right .split-img {
  filter: saturate(1.04) contrast(1.02) brightness(.92) !important;
}

.ds-page .split-experience.is-text-left .split-card-left .split-img,
.ds-page .split-experience.is-text-right .split-card-right .split-img {
  filter: saturate(1.02) contrast(1.02) brightness(.66) !important;
}

.ds-page .split-content {
  z-index: 5 !important;
  left: clamp(42px, 5vw, 92px) !important;
  right: clamp(30px, 4vw, 72px) !important;
  top: auto !important;
  bottom: clamp(48px, 5.2vw, 92px) !important;
  width: auto !important;
  max-width: 720px !important;
  will-change: transform, opacity !important;
}

.ds-page .split-experience.is-text-left .split-card-left .split-content,
.ds-page .split-experience.is-text-right .split-card-right .split-content {
  display: block !important;
}

.ds-page .split-experience.is-text-left .split-card-right .split-content,
.ds-page .split-experience.is-text-right .split-card-left .split-content {
  display: none !important;
}

.ds-page .split-content h2,
.ds-page .split-content p,
.ds-page .split-experience[data-split-theme="green"] .split-content h2,
.ds-page .split-experience[data-split-theme="green"] .split-content p {
  color: var(--grey) !important;
  text-shadow: none !important;
}

.ds-page .split-content h2 {
  font-size: clamp(42px, 4.8vw, 84px) !important;
  line-height: .96 !important;
}

.ds-page .split-content p {
  font-size: clamp(16px, 1.25vw, 22px) !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}


/* =========================================================
   V3.8 SPLIT ANIMATION + ALIGNMENT FINAL FIX
   - Smooth vertical slide is restored by allowing GSAP to control transform.
   - All split gradients remain green and text remains website grey.
   - 1/3: left text, right image. 2/4: left image, right text.
   - Right-side gradient flows from right to left.
========================================================= */
.ds-page .split-experience {
  --split-accent-rgb: 0, 225, 150;
}

.ds-page .split-card {
  overflow: hidden !important;
  border-radius: 24px !important;
}

/* Allow GSAP inline transforms to move the image. Do not use transform: ... !important here. */
.ds-page .split-img {
  transform: scale(1.012);
  will-change: transform, opacity !important;
  backface-visibility: hidden !important;
  transform-origin: center center !important;
}

/* Text-left state: gradient starts from left and fades into the image. */
.ds-page .split-experience.is-text-left .split-card-left::before {
  background:
    linear-gradient(
      90deg,
      rgba(0, 225, 150, 0.96) 0%,
      rgba(0, 225, 150, 0.82) 34%,
      rgba(29, 52, 100, 0.56) 68%,
      rgba(29, 52, 100, 0.20) 100%
    ) !important;
}

/* Text-right state: gradient starts from right and fades into the image. */
.ds-page .split-experience.is-text-right .split-card-right::before {
  background:
    linear-gradient(
      270deg,
      rgba(0, 225, 150, 0.96) 0%,
      rgba(0, 225, 150, 0.82) 34%,
      rgba(29, 52, 100, 0.56) 68%,
      rgba(29, 52, 100, 0.20) 100%
    ) !important;
}

/* Image-only half keeps only a soft centre edge. */
.ds-page .split-experience.is-text-left .split-card-right::before {
  background:
    linear-gradient(
      90deg,
      rgba(29, 52, 100, 0.16) 0%,
      rgba(29, 52, 100, 0.04) 26%,
      rgba(29, 52, 100, 0) 100%
    ) !important;
}

.ds-page .split-experience.is-text-right .split-card-left::before {
  background:
    linear-gradient(
      270deg,
      rgba(29, 52, 100, 0.16) 0%,
      rgba(29, 52, 100, 0.04) 26%,
      rgba(29, 52, 100, 0) 100%
    ) !important;
}

/* Left text should be left aligned. */
.ds-page .split-experience.is-text-left .split-card-left .split-content {
  left: clamp(42px, 5vw, 92px) !important;
  right: clamp(30px, 4vw, 72px) !important;
  text-align: left !important;
  align-items: flex-start !important;
}

/* Right text should be right aligned. */
.ds-page .split-experience.is-text-right .split-card-right .split-content {
  left: clamp(30px, 4vw, 72px) !important;
  right: clamp(42px, 5vw, 92px) !important;
  text-align: right !important;
  align-items: flex-end !important;
}

.ds-page .split-content h2,
.ds-page .split-content p,
.ds-page .split-experience[data-split-theme="green"] .split-content h2,
.ds-page .split-experience[data-split-theme="green"] .split-content p,
.ds-page .split-experience[data-split-theme="blue"] .split-content h2,
.ds-page .split-experience[data-split-theme="blue"] .split-content p {
  color: var(--grey) !important;
  text-shadow: none !important;
}

.ds-page .split-content p {
  max-width: 700px !important;
}

@media (max-width: 640px) {
  .ds-page .split-experience.is-text-right .split-card-right .split-content,
  .ds-page .split-experience.is-text-left .split-card-left .split-content {
    left: 24px !important;
    right: 24px !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
}


/* =========================================================
   V3.9 SPLIT SYNC ANIMATION FIX
   The card itself moves, so image + gradient + text arrive together.
========================================================= */
.ds-page .split-card {
  will-change: transform, opacity !important;
  backface-visibility: hidden !important;
  transform-style: preserve-3d !important;
}

.ds-page .split-card::before,
.ds-page .split-img,
.ds-page .split-content {
  will-change: transform, opacity !important;
}

.ds-page .split-img {
  opacity: 1 !important;
}

.ds-page .split-content {
  opacity: 1 !important;
}


/* =========================================================
   V4.0 HEADER + FRAMEWORK ICON CLEANUP
   - Remove green header border.
   - Move logo slightly right and make it slightly smaller.
   - Framework icons: white, larger, no dark blue icon box.
========================================================= */

/* Header: remove green border line */
.ds-page .site-header,
body.designspace-standalone .ds-page .site-header,
.site-header {
  border: 0 !important;
}

/* Logo: slightly smaller and slightly more to the right */
.ds-page .brand,
body.designspace-standalone .ds-page .brand,
.brand {
  padding-left: 16px !important;
}

.ds-page .brand img,
body.designspace-standalone .ds-page .brand img,
.brand img {
  width: 188px !important;
  max-height: 70px !important;
}

/* Framework icons only */
.ds-page #framework .icon-dot {
  width: 92px !important;
  height: 92px !important;
  margin-bottom: 24px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

.ds-page #framework .section-icon-mask {
  width: 62px !important;
  height: 62px !important;
  background: #ffffff !important;
}

/* Remove any pseudo/background frame from framework icon if browser applies one */
.ds-page #framework .icon-dot::before,
.ds-page #framework .icon-dot::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 1280px) {
  .ds-page .brand img,
  body.designspace-standalone .ds-page .brand img,
  .brand img {
    width: 170px !important;
  }
}

@media (max-width: 680px) {
  .ds-page .brand,
  body.designspace-standalone .ds-page .brand,
  .brand {
    padding-left: 8px !important;
  }

  .ds-page .brand img,
  body.designspace-standalone .ds-page .brand img,
  .brand img {
    width: 156px !important;
  }

  .ds-page #framework .icon-dot {
    width: 76px !important;
    height: 76px !important;
  }

  .ds-page #framework .section-icon-mask {
    width: 52px !important;
    height: 52px !important;
  }
}


/* The Way We Design — match larger clean icons like Framework */
.ds-page #principles .icon-line {
  width: 78px !important;
  height: 78px !important;
  margin-bottom: 24px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  place-items: start center !important;
}
.ds-page #principles .icon-line::before {
  display: none !important;
}
.ds-page #principles .section-icon-mask {
  width: 52px !important;
  height: 52px !important;
  background: #FFFFFF !important;
}
@media (max-width: 767px) {
  .ds-page #principles .icon-line {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 18px !important;
  }
  .ds-page #principles .section-icon-mask {
    width: 42px !important;
    height: 42px !important;
  }
}


/* =========================================================
   V4.3 CARD SPACING CLEANUP
   Framework + The Way We Design:
   - reduce empty vertical space
   - align icons with the number at the top
   - move titles/body slightly upward
========================================================= */
.ds-page #framework .pointer-card,
.ds-page #principles .pointer-card {
  padding: 30px clamp(34px, 2.3vw, 46px) 34px !important;
  min-height: clamp(250px, 17.5vw, 330px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.ds-page #framework .card-no,
.ds-page #principles .card-no {
  top: 30px !important;
  right: clamp(30px, 2.1vw, 42px) !important;
}

.ds-page #framework .icon-dot,
.ds-page #principles .icon-line {
  width: 92px !important;
  height: 72px !important;
  margin: 0 0 26px 0 !important;
  align-self: flex-start !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.ds-page #framework .section-icon-mask,
.ds-page #principles .section-icon-mask {
  width: 64px !important;
  height: 64px !important;
  background: #ffffff !important;
}

.ds-page #framework .icon-dot::before,
.ds-page #framework .icon-dot::after,
.ds-page #principles .icon-line::before,
.ds-page #principles .icon-line::after {
  display: none !important;
  content: none !important;
}

.ds-page #framework .pointer-card h3,
.ds-page #principles .pointer-card h3 {
  margin-top: 0 !important;
}

.ds-page #framework .pointer-card p,
.ds-page #principles .pointer-card p {
  margin-top: 12px !important;
}

@media (max-width: 767px) {
  .ds-page #framework .pointer-card,
  .ds-page #principles .pointer-card {
    padding: 24px 26px 28px !important;
    min-height: 250px !important;
  }

  .ds-page #framework .card-no,
  .ds-page #principles .card-no {
    top: 24px !important;
    right: 26px !important;
  }

  .ds-page #framework .icon-dot,
  .ds-page #principles .icon-line {
    width: 74px !important;
    height: 58px !important;
    margin-bottom: 22px !important;
  }

  .ds-page #framework .section-icon-mask,
  .ds-page #principles .section-icon-mask {
    width: 52px !important;
    height: 52px !important;
  }
}


/* =========================================================
   V4.4 TIGHT CARD SPACING
   Framework + The Way We Design: tighter cards, icons top aligned,
   reduced empty vertical space and tighter section spacing.
========================================================= */

/* Reduce vertical breathing room between the card sections */
.ds-page #framework.section-pad,
.ds-page #principles.section-pad {
  padding-top: clamp(22px, 2.1vw, 34px) !important;
  padding-bottom: clamp(22px, 2.1vw, 34px) !important;
}

.ds-page #framework.compact-section,
.ds-page #principles.compact-section {
  padding-top: clamp(22px, 2.1vw, 34px) !important;
  padding-bottom: clamp(22px, 2.1vw, 34px) !important;
}

/* Keep the section title closer to the cards */
.ds-page #framework .section-label,
.ds-page #principles .section-label {
  margin-bottom: clamp(16px, 1.6vw, 24px) !important;
}

/* Tight card layout */
.ds-page #framework .pointer-card,
.ds-page #principles .pointer-card {
  min-height: clamp(220px, 14.4vw, 276px) !important;
  padding: clamp(20px, 1.55vw, 28px) clamp(30px, 2.1vw, 42px) clamp(24px, 1.8vw, 34px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* Number and icon start from the same top line */
.ds-page #framework .card-no,
.ds-page #principles .card-no {
  top: clamp(20px, 1.55vw, 28px) !important;
  right: clamp(30px, 2.1vw, 42px) !important;
}

/* Icon moves up, with tighter space before heading */
.ds-page #framework .icon-dot,
.ds-page #principles .icon-line {
  width: 74px !important;
  height: 58px !important;
  margin: 0 0 clamp(16px, 1.25vw, 22px) 0 !important;
  padding: 0 !important;
  align-self: flex-start !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.ds-page #framework .section-icon-mask,
.ds-page #principles .section-icon-mask {
  width: 58px !important;
  height: 58px !important;
  background: #ffffff !important;
}

.ds-page #framework .icon-dot::before,
.ds-page #framework .icon-dot::after,
.ds-page #principles .icon-line::before,
.ds-page #principles .icon-line::after {
  display: none !important;
  content: none !important;
}

/* Text moves upward and stays compact */
.ds-page #framework .pointer-card h3,
.ds-page #principles .pointer-card h3 {
  margin: 0 !important;
  line-height: 1 !important;
}

.ds-page #framework .pointer-card p,
.ds-page #principles .pointer-card p {
  margin-top: 10px !important;
  line-height: 1.42 !important;
}

/* Reduce the general gap used by compact sections after this area */
.ds-page .compact-section {
  padding-top: clamp(28px, 2.8vw, 44px) !important;
  padding-bottom: clamp(28px, 2.8vw, 44px) !important;
}

@media (max-width: 980px) {
  .ds-page #framework .pointer-card,
  .ds-page #principles .pointer-card {
    min-height: 230px !important;
    padding: 22px 26px 28px !important;
  }

  .ds-page #framework .card-no,
  .ds-page #principles .card-no {
    top: 22px !important;
    right: 26px !important;
  }

  .ds-page #framework .icon-dot,
  .ds-page #principles .icon-line {
    width: 66px !important;
    height: 52px !important;
    margin-bottom: 18px !important;
  }

  .ds-page #framework .section-icon-mask,
  .ds-page #principles .section-icon-mask {
    width: 52px !important;
    height: 52px !important;
  }
}


/* =========================================================
   V4.5 STORY SPLIT SLIDER
   Four slides: Map / Brands / Experience / Strategy
========================================================= */
.ds-page .story-split {
  padding-top: clamp(34px, 3.5vw, 56px) !important;
  padding-bottom: clamp(34px, 3.5vw, 56px) !important;
}

.ds-page .story-stage {
  position: relative !important;
  height: clamp(560px, 48vw, 780px) !important;
  min-height: 560px !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.ds-page .story-slide {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(22px, 2.2vw, 38px) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 1 !important;
}

.ds-page .story-slide.is-active {
  visibility: visible !important;
  pointer-events: auto !important;
}

.ds-page .story-panel {
  position: relative !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  border: 0 !important;
  box-shadow: none !important;
  background-color: var(--navy) !important;
  will-change: transform !important;
  transform: translateZ(0);
}

.ds-page .story-panel-copy {
  background-image:
    linear-gradient(90deg, rgba(29, 52, 100, .98) 0%, rgba(29, 52, 100, .90) 42%, rgba(29, 52, 100, .76) 100%),
    var(--story-bg) !important;
  background-size: cover !important;
  background-position: center !important;
}

.ds-page .story-panel-image {
  background-image: var(--story-bg) !important;
  background-size: cover !important;
  background-position: center !important;
  filter: saturate(1.02) contrast(1.02) brightness(.96) !important;
}

.ds-page .story-panel-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(29,52,100,.02), rgba(29,52,100,.12)) !important;
}

.ds-page .story-copy {
  position: absolute !important;
  z-index: 3 !important;
  left: clamp(42px, 4.6vw, 88px) !important;
  right: clamp(34px, 4vw, 76px) !important;
  bottom: clamp(48px, 5vw, 90px) !important;
}

.ds-page .story-copy h2 {
  margin: 0 !important;
  color: var(--grey) !important;
  font-family: var(--font-main) !important;
  font-size: clamp(48px, 4.8vw, 88px) !important;
  line-height: .96 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance !important;
}

.ds-page .story-copy p {
  max-width: 680px !important;
  margin: 22px 0 0 !important;
  color: var(--grey) !important;
  font-size: clamp(17px, 1.2vw, 22px) !important;
  line-height: 1.46 !important;
  font-weight: 500 !important;
}

/* Map slide */
.ds-page .story-map-panel {
  background:
    radial-gradient(circle at 72% 30%, rgba(0,225,150,.16), transparent 34%),
    linear-gradient(135deg, #1d3464 0%, #112a52 100%) !important;
}

.ds-page .story-map-canvas {
  position: absolute !important;
  inset: clamp(26px, 3vw, 54px) clamp(24px, 3vw, 50px) auto !important;
  height: 60% !important;
  opacity: .92 !important;
}

.ds-page .story-map-canvas svg {
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

.ds-page .story-map-land path {
  fill: rgba(223,227,234,.08) !important;
  stroke: rgba(223,227,234,.34) !important;
  stroke-width: 2 !important;
}

.ds-page .story-map-route path {
  fill: none !important;
  stroke: var(--green) !important;
  stroke-width: 3 !important;
  stroke-linecap: round !important;
  stroke-dasharray: 10 12 !important;
  animation: dsRouteFlow 5s linear infinite !important;
}

.ds-page .story-map-node circle {
  fill: var(--green) !important;
  filter: drop-shadow(0 0 8px rgba(0,225,150,.7)) !important;
  animation: dsNodePulse 2.4s ease-in-out infinite alternate !important;
}

.ds-page .story-copy-map {
  bottom: clamp(34px, 4vw, 68px) !important;
}

.ds-page .story-copy-map h2 {
  font-size: clamp(44px, 4.15vw, 76px) !important;
}

/* Strategy slide */
.ds-page .story-strategy-panel {
  background-image:
    linear-gradient(90deg, rgba(29,52,100,.99) 0%, rgba(29,52,100,.94) 54%, rgba(29,52,100,.78) 100%),
    var(--story-bg) !important;
}

.ds-page .story-copy-strategy {
  top: clamp(42px, 4vw, 72px) !important;
  bottom: auto !important;
}

.ds-page .story-copy-strategy h2 {
  font-size: clamp(42px, 4.2vw, 76px) !important;
}

.ds-page .story-framework-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: clamp(28px, 3vw, 46px) !important;
  max-width: 650px !important;
}

.ds-page .story-framework-block {
  min-height: 112px !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  border: 0 !important;
  background: rgba(26,115,232,.18) !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0,1fr) !important;
  gap: 14px !important;
  align-items: center !important;
}

.ds-page .story-framework-icon {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center !important;
}

.ds-page .story-framework-mask {
  width: 48px !important;
  height: 48px !important;
  display: block !important;
  background: #ffffff !important;
  -webkit-mask: var(--icon-url) center / contain no-repeat !important;
  mask: var(--icon-url) center / contain no-repeat !important;
}

.ds-page .story-framework-fallback {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 900 !important;
}

.ds-page .story-framework-block strong {
  color: var(--green) !important;
  font-size: clamp(16px, 1.05vw, 20px) !important;
  line-height: 1.1 !important;
}

/* Slider progress */
.ds-page .story-progress {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.ds-page .story-progress-btn {
  width: 56px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(223,227,234,.55) !important;
  cursor: pointer !important;
  position: relative !important;
}

.ds-page .story-progress-btn::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: rgba(223,227,234,.22) !important;
}

.ds-page .story-progress-btn.is-active {
  color: var(--green) !important;
}

.ds-page .story-progress-btn.is-active::after {
  background: var(--green) !important;
}

.ds-page .story-progress-btn span {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}

@keyframes dsRouteFlow {
  to { stroke-dashoffset: -44; }
}

@keyframes dsNodePulse {
  from { opacity: .6; transform: scale(.92); transform-origin: center; }
  to { opacity: 1; transform: scale(1.08); transform-origin: center; }
}

@media (max-width: 980px) {
  .ds-page .story-stage {
    height: auto !important;
    min-height: 820px !important;
  }
  .ds-page .story-slide {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(420px, 1fr) minmax(320px, .78fr) !important;
    gap: 18px !important;
  }
  .ds-page .story-copy {
    left: 30px !important;
    right: 30px !important;
    bottom: 34px !important;
  }
  .ds-page .story-copy-strategy {
    top: 34px !important;
    bottom: auto !important;
  }
  .ds-page .story-framework-block {
    min-height: 96px !important;
    grid-template-columns: 48px minmax(0,1fr) !important;
    padding: 14px 16px !important;
  }
  .ds-page .story-framework-icon {
    width: 48px !important;
    height: 48px !important;
  }
  .ds-page .story-framework-mask {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 640px) {
  .ds-page .story-stage {
    min-height: 760px !important;
  }
  .ds-page .story-slide {
    grid-template-rows: minmax(430px, 1fr) minmax(280px, .66fr) !important;
  }
  .ds-page .story-panel {
    border-radius: 20px !important;
  }
  .ds-page .story-copy h2 {
    font-size: clamp(38px, 12vw, 56px) !important;
  }
  .ds-page .story-copy p {
    font-size: 15px !important;
  }
  .ds-page .story-framework-grid {
    gap: 10px !important;
    margin-top: 22px !important;
  }
  .ds-page .story-framework-block {
    min-height: 84px !important;
    grid-template-columns: 38px minmax(0,1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  .ds-page .story-framework-icon {
    width: 38px !important;
    height: 38px !important;
  }
  .ds-page .story-framework-mask {
    width: 34px !important;
    height: 34px !important;
  }
  .ds-page .story-framework-block strong {
    font-size: 13px !important;
  }
}

/* =========================================================
   V4.6 THREE-PAGE SITE EXTENSION
   Header: Our Work | About Us | Contact Us
   Pages share the main Design Space visual system.
========================================================= */

/* Header: exactly three links, no extra CTA column */
.ds-page .site-header.ds-three-link-header,
body.designspace-standalone .ds-page .site-header.ds-three-link-header {
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) !important;
  gap: 28px !important;
  border: 0 !important;
}

.ds-page .ds-three-link-header .nav {
  justify-content: flex-end !important;
  gap: clamp(22px, 2.8vw, 52px) !important;
  padding-right: clamp(10px, 1.2vw, 22px) !important;
}

.ds-page .ds-three-link-header .nav a {
  position: relative !important;
  font-weight: 700 !important;
}

.ds-page .ds-three-link-header .nav a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -10px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--green) !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform .25s ease !important;
}

.ds-page .ds-three-link-header .nav a:hover::after,
.ds-page .ds-three-link-header .nav a.is-current::after {
  transform: scaleX(1) !important;
}

/* Inner-page foundations */
.ds-page.ds-inner-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(26,115,232,.13), transparent 30%),
    radial-gradient(circle at 14% 34%, rgba(0,225,150,.07), transparent 26%),
    var(--navy) !important;
}

.ds-inner-page main {
  padding-top: 112px !important;
}

.ds-inner-hero {
  min-height: min(850px, 84vh) !important;
  display: grid !important;
  grid-template-columns: minmax(0, .84fr) minmax(460px, 1.16fr) !important;
  gap: clamp(42px, 6vw, 108px) !important;
  align-items: center !important;
  padding-top: clamp(72px, 8vw, 130px) !important;
  padding-bottom: clamp(52px, 6vw, 96px) !important;
}

.ds-inner-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  max-width: 760px !important;
}

.ds-inner-hero-copy h1,
.ds-contact-copy h1 {
  margin: 0 !important;
  color: var(--grey) !important;
  font-size: clamp(58px, 6.2vw, 118px) !important;
  line-height: .94 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.ds-inner-hero-copy h1 span,
.ds-contact-copy h1 span {
  color: var(--green) !important;
}

.ds-inner-hero-copy > p:last-child,
.ds-contact-copy > p {
  max-width: 690px !important;
  margin: 24px 0 0 !important;
  color: var(--grey) !important;
  font-size: clamp(17px, 1.25vw, 22px) !important;
  line-height: 1.58 !important;
}

.ds-inner-hero-media {
  min-height: clamp(470px, 49vw, 720px) !important;
  border-radius: 34px !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 28px 80px rgba(4,14,38,.28) !important;
}

.ds-inner-hero-media::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, rgba(0,225,150,.18), transparent 38%, rgba(29,52,100,.14)) !important;
}

.ds-inner-section-head {
  max-width: 1080px !important;
  margin-bottom: clamp(30px, 4vw, 60px) !important;
}

.ds-inner-section-head h2 {
  margin: 0 !important;
  color: var(--grey) !important;
  font-size: clamp(46px, 5.3vw, 92px) !important;
  line-height: .98 !important;
  letter-spacing: -0.035em !important;
}

/* Our Work */
.ds-project-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(22px, 2.4vw, 38px) !important;
}

.ds-project-card {
  min-width: 0 !important;
}

.ds-project-image {
  aspect-ratio: 16 / 10 !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative !important;
  transition: transform .45s cubic-bezier(.16,1,.3,1), filter .45s ease !important;
}

.ds-project-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, transparent 58%, rgba(29,52,100,.34)) !important;
}

.ds-project-card:hover .ds-project-image {
  transform: translateY(-6px) scale(1.012) !important;
  filter: saturate(1.06) !important;
}

.ds-project-meta {
  padding: 18px 4px 8px !important;
}

.ds-project-meta span {
  display: block !important;
  color: var(--green) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.ds-project-meta h3 {
  margin: 8px 0 0 !important;
  color: var(--grey) !important;
  font-size: clamp(28px, 2.2vw, 42px) !important;
  line-height: 1 !important;
}

/* Shared page CTA */
.ds-page-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 36px !important;
  align-items: center !important;
  padding-top: clamp(44px, 5vw, 82px) !important;
  padding-bottom: clamp(44px, 5vw, 82px) !important;
}

.ds-page-cta h2 {
  max-width: 1000px !important;
  margin: 0 !important;
  color: var(--grey) !important;
  font-size: clamp(40px, 4.2vw, 76px) !important;
  line-height: .98 !important;
}

/* About page */
.ds-about-pillars {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.ds-about-pillars article {
  min-height: 260px !important;
  padding: clamp(24px, 2.5vw, 40px) !important;
  border-radius: 26px !important;
  background: var(--blue) !important;
}

.ds-about-pillars article span,
.ds-principle-list article span,
.ds-about-step-no {
  color: var(--green) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
}

.ds-about-pillars h3 {
  margin: 34px 0 0 !important;
  color: var(--green) !important;
  font-size: clamp(30px, 2.4vw, 46px) !important;
}

.ds-about-pillars p {
  margin: 14px 0 0 !important;
  color: var(--grey) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.ds-about-framework-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.ds-about-framework-grid article {
  min-height: 330px !important;
  padding: 28px !important;
  border-radius: 26px !important;
  background: var(--blue) !important;
  position: relative !important;
}

.ds-about-step-icon {
  width: 82px !important;
  height: 82px !important;
  margin-top: 18px !important;
  display: grid !important;
  place-items: center !important;
}

.ds-about-icon-mask {
  width: 64px !important;
  height: 64px !important;
  display: block !important;
  background: #fff !important;
  -webkit-mask: var(--icon-url) center / contain no-repeat !important;
  mask: var(--icon-url) center / contain no-repeat !important;
}

.ds-about-step-icon strong {
  color: #fff !important;
  font-size: 34px !important;
}

.ds-about-framework-grid h3 {
  margin: 26px 0 0 !important;
  color: var(--green) !important;
  font-size: clamp(26px, 2vw, 38px) !important;
}

.ds-about-framework-grid p {
  margin: 12px 0 0 !important;
  color: var(--grey) !important;
  font-size: 15px !important;
  line-height: 1.52 !important;
}

.ds-principle-list {
  display: grid !important;
  gap: 0 !important;
}

.ds-principle-list article {
  display: grid !important;
  grid-template-columns: 78px minmax(220px, .7fr) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: center !important;
  padding: 26px 0 !important;
  border-top: 1px solid rgba(223,227,234,.18) !important;
}

.ds-principle-list article:last-child {
  border-bottom: 1px solid rgba(223,227,234,.18) !important;
}

.ds-principle-list h3 {
  margin: 0 !important;
  color: var(--green) !important;
  font-size: clamp(24px, 2vw, 38px) !important;
}

.ds-principle-list p {
  margin: 0 !important;
  color: var(--grey) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Contact page */
.ds-contact-hero {
  min-height: calc(100vh - 112px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr) !important;
  gap: clamp(42px, 6vw, 110px) !important;
  align-items: center !important;
  padding-top: clamp(70px, 7vw, 120px) !important;
  padding-bottom: clamp(60px, 7vw, 120px) !important;
}

.ds-contact-copy {
  max-width: 780px !important;
}

.ds-contact-direct {
  margin-top: 42px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(223,227,234,.18) !important;
}

.ds-contact-direct span {
  display: block !important;
  color: var(--green) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.ds-contact-direct a {
  display: inline-block !important;
  margin-top: 8px !important;
  color: var(--grey) !important;
  font-size: clamp(20px, 1.6vw, 30px) !important;
  font-weight: 700 !important;
}

.ds-contact-form-shell {
  padding: clamp(26px, 3.5vw, 52px) !important;
  border-radius: 30px !important;
  background: var(--blue) !important;
  box-shadow: 0 28px 80px rgba(4,14,38,.22) !important;
}

.ds-contact-form {
  display: grid !important;
  gap: 20px !important;
}

.ds-form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.ds-contact-form label {
  display: grid !important;
  gap: 8px !important;
}

.ds-contact-form label > span {
  color: var(--grey) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.ds-contact-form input,
.ds-contact-form select,
.ds-contact-form textarea {
  width: 100% !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: rgba(29,52,100,.76) !important;
  color: #fff !important;
  padding: 15px 16px !important;
  font-family: var(--font-secondary) !important;
  font-size: 15px !important;
  outline: none !important;
  box-shadow: inset 0 0 0 1px rgba(223,227,234,.12) !important;
}

.ds-contact-form input:focus,
.ds-contact-form select:focus,
.ds-contact-form textarea:focus {
  box-shadow: inset 0 0 0 2px var(--green) !important;
}

.ds-contact-form textarea {
  resize: vertical !important;
  min-height: 150px !important;
}

.ds-contact-form select option {
  color: #fff !important;
  background: var(--navy) !important;
}

.ds-contact-form .button {
  justify-self: start !important;
  border: 0 !important;
  cursor: pointer !important;
}

.ds-form-status {
  margin-bottom: 20px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}

.ds-form-status-success {
  background: rgba(0,225,150,.16) !important;
  color: var(--green) !important;
}

.ds-form-status-error {
  background: rgba(29,52,100,.56) !important;
  color: var(--grey) !important;
}

.ds-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Inner-page footer spacing */
.ds-inner-page .site-footer {
  margin-top: clamp(28px, 4vw, 70px) !important;
}

@media (max-width: 1100px) {
  .ds-inner-hero,
  .ds-contact-hero {
    grid-template-columns: 1fr !important;
  }
  .ds-inner-hero-media {
    min-height: 520px !important;
  }
  .ds-about-framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ds-contact-form-shell {
    max-width: 840px !important;
  }
}

@media (max-width: 980px) {
  .ds-page .site-header.ds-three-link-header,
  body.designspace-standalone .ds-page .site-header.ds-three-link-header {
    grid-template-columns: 1fr auto !important;
  }
  .ds-page .ds-three-link-header .nav.is-open {
    justify-content: flex-start !important;
    padding-right: 26px !important;
  }
  .ds-inner-page main {
    padding-top: 92px !important;
  }
  .ds-project-grid,
  .ds-about-pillars {
    grid-template-columns: 1fr !important;
  }
  .ds-principle-list article {
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }
  .ds-principle-list article p {
    grid-column: 2 !important;
  }
  .ds-page-cta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .ds-inner-hero,
  .ds-contact-hero {
    padding-top: 56px !important;
  }
  .ds-inner-hero-copy h1,
  .ds-contact-copy h1 {
    font-size: clamp(48px, 14vw, 70px) !important;
  }
  .ds-inner-hero-media {
    min-height: 360px !important;
    border-radius: 24px !important;
  }
  .ds-about-framework-grid {
    grid-template-columns: 1fr !important;
  }
  .ds-about-framework-grid article {
    min-height: 280px !important;
  }
  .ds-form-row {
    grid-template-columns: 1fr !important;
  }
  .ds-contact-form-shell {
    padding: 22px !important;
    border-radius: 24px !important;
  }
  .ds-principle-list article {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}


/* =========================================================
   V4.7 CONTINUOUS STORY IMAGE SPLIT
   Each slide uses ONE image, divided into matching left/right halves.
   Slide 1 uses the supplied Design Space map artwork.
========================================================= */
.ds-page .story-stage {
  --story-gap: clamp(22px, 2.2vw, 38px);
}

.ds-page .story-slide {
  gap: var(--story-gap) !important;
}

/* Left panel = left half of the same slide image + readable overlay. */
.ds-page .story-panel-copy {
  background-image:
    linear-gradient(90deg,
      rgba(29,52,100,.98) 0%,
      rgba(29,52,100,.92) 40%,
      rgba(29,52,100,.70) 76%,
      rgba(29,52,100,.30) 100%),
    var(--story-bg) !important;
  background-size:
    100% 100%,
    calc(200% + var(--story-gap)) 100% !important;
  background-position:
    center,
    left center !important;
  background-repeat: no-repeat !important;
}

/* Right panel = right half of the exact same slide image. */
.ds-page .story-panel-image {
  background-image: var(--story-bg) !important;
  background-size: calc(200% + var(--story-gap)) 100% !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
}

/* Map slide: use the supplied map artwork rather than a generated SVG map. */
.ds-page .story-map-panel {
  background-image:
    linear-gradient(90deg,
      rgba(29,52,100,.92) 0%,
      rgba(29,52,100,.76) 42%,
      rgba(29,52,100,.34) 78%,
      rgba(29,52,100,.10) 100%),
    var(--story-bg) !important;
  background-size:
    100% 100%,
    calc(200% + var(--story-gap)) 100% !important;
  background-position:
    center,
    left center !important;
  background-repeat: no-repeat !important;
}

.ds-page .story-map-canvas {
  display: none !important;
}

/* Strategy slide follows the same continuous-image rule. */
.ds-page .story-strategy-panel {
  background-image:
    linear-gradient(90deg,
      rgba(29,52,100,.99) 0%,
      rgba(29,52,100,.94) 48%,
      rgba(29,52,100,.68) 80%,
      rgba(29,52,100,.28) 100%),
    var(--story-bg) !important;
  background-size:
    100% 100%,
    calc(200% + var(--story-gap)) 100% !important;
  background-position:
    center,
    left center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 980px) {
  /* On stacked layouts each panel becomes a normal crop of the same source image. */
  .ds-page .story-panel-copy,
  .ds-page .story-map-panel,
  .ds-page .story-strategy-panel {
    background-size: 100% 100%, cover !important;
    background-position: center, center !important;
  }

  .ds-page .story-panel-image {
    background-size: cover !important;
    background-position: center !important;
  }
}


/* =========================================================
   V4.8 STRATEGY SLIDE — LOWER, STRONGER FRAMEWORK BLOCKS
   Keeps headline at the top while anchoring the 4 compact
   framework blocks near the bottom of the left panel.
========================================================= */
.ds-page .story-copy-strategy {
  top: clamp(38px, 3.8vw, 66px) !important;
  bottom: clamp(28px, 2.8vw, 46px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.ds-page .story-copy-strategy .story-framework-grid {
  margin-top: auto !important;
  width: 100% !important;
  max-width: 680px !important;
  gap: 14px !important;
}

.ds-page .story-copy-strategy .story-framework-block {
  min-height: 118px !important;
  padding: 18px 20px !important;
  background: rgba(26, 115, 232, .46) !important;
  box-shadow:
    inset 0 0 0 1px rgba(223, 227, 234, .14),
    0 12px 34px rgba(8, 24, 52, .18) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.ds-page .story-copy-strategy .story-framework-mask {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .18)) !important;
}

.ds-page .story-copy-strategy .story-framework-block strong {
  color: var(--green) !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 10px rgba(0, 225, 150, .12) !important;
}

@media (max-width: 980px) {
  .ds-page .story-copy-strategy {
    top: 30px !important;
    bottom: 26px !important;
  }

  .ds-page .story-copy-strategy .story-framework-grid {
    margin-top: auto !important;
  }

  .ds-page .story-copy-strategy .story-framework-block {
    min-height: 98px !important;
    background: rgba(26, 115, 232, .50) !important;
  }
}

@media (max-width: 640px) {
  .ds-page .story-copy-strategy {
    top: 26px !important;
    bottom: 22px !important;
  }

  .ds-page .story-copy-strategy .story-framework-grid {
    gap: 10px !important;
  }

  .ds-page .story-copy-strategy .story-framework-block {
    min-height: 86px !important;
    padding: 12px !important;
    background: rgba(26, 115, 232, .54) !important;
  }
}


/* =========================================================
   V4.9 HEADER + SPACING + STORY REFINEMENT
   - Centered four-link menu with right-side Let's talk CTA.
   - Standard compact section rhythm.
   - Hairline story split.
   - Less blue-heavy image treatment; image becomes visible from ~20% in.
========================================================= */

/* Header: logo | centered menu | CTA */
.ds-page .site-header.ds-main-menu-header,
body.designspace-standalone .ds-page .site-header.ds-main-menu-header {
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) minmax(140px, 168px) !important;
  gap: clamp(16px, 2vw, 32px) !important;
  border: 0 !important;
}

.ds-page .ds-main-menu-header .nav {
  justify-content: center !important;
  gap: clamp(20px, 2.25vw, 42px) !important;
  padding: 0 !important;
}

.ds-page .ds-main-menu-header .header-cta {
  display: inline-flex !important;
  justify-self: end !important;
  min-width: 148px !important;
  height: 50px !important;
}

/* Standard section spacing across the site, excluding hero sections. */
.ds-page main > section.section-pad:not(.hero):not(.ds-inner-hero) {
  padding-top: clamp(26px, 2.6vw, 42px) !important;
  padding-bottom: clamp(26px, 2.6vw, 42px) !important;
}

.ds-page main > section.section-pad.compact-section:not(.ds-inner-hero),
.ds-page main > section.section-pad.small-top:not(.ds-inner-hero),
.ds-page .story-split.section-pad {
  padding-top: clamp(26px, 2.6vw, 42px) !important;
  padding-bottom: clamp(26px, 2.6vw, 42px) !important;
}

/* Story split: hairline seam only. */
.ds-page .story-stage {
  --story-gap: 2px !important;
}

.ds-page .story-slide {
  gap: var(--story-gap) !important;
}

/* Make the image read earlier from the left (~20%) and reduce the heavy blue wash. */
.ds-page .story-panel-copy {
  background-image:
    linear-gradient(90deg,
      rgba(29,52,100,.90) 0%,
      rgba(29,52,100,.76) 20%,
      rgba(29,52,100,.42) 48%,
      rgba(29,52,100,.14) 76%,
      rgba(29,52,100,.05) 100%),
    var(--story-bg) !important;
}

.ds-page .story-map-panel {
  background-image:
    linear-gradient(90deg,
      rgba(29,52,100,.82) 0%,
      rgba(29,52,100,.62) 20%,
      rgba(29,52,100,.30) 50%,
      rgba(29,52,100,.08) 80%,
      rgba(29,52,100,.02) 100%),
    var(--story-bg) !important;
}

.ds-page .story-strategy-panel {
  background-image:
    linear-gradient(90deg,
      rgba(29,52,100,.92) 0%,
      rgba(29,52,100,.78) 20%,
      rgba(29,52,100,.48) 52%,
      rgba(29,52,100,.16) 80%,
      rgba(29,52,100,.05) 100%),
    var(--story-bg) !important;
}

.ds-page .story-panel-image {
  filter: saturate(.84) contrast(1.02) brightness(.98) !important;
}

/* Keep the continuous single-image split logic with the new hairline gap. */
.ds-page .story-panel-copy,
.ds-page .story-map-panel,
.ds-page .story-strategy-panel {
  background-size:
    100% 100%,
    calc(200% + var(--story-gap)) 100% !important;
  background-position:
    center,
    left center !important;
  background-repeat: no-repeat !important;
}

.ds-page .story-panel-image {
  background-size: calc(200% + var(--story-gap)) 100% !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 1180px) {
  .ds-page .site-header.ds-main-menu-header,
  body.designspace-standalone .ds-page .site-header.ds-main-menu-header {
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) 142px !important;
    gap: 14px !important;
  }

  .ds-page .ds-main-menu-header .nav {
    gap: 20px !important;
  }

  .ds-page .ds-main-menu-header .nav a {
    font-size: 15px !important;
  }

  .ds-page .ds-main-menu-header .header-cta {
    min-width: 136px !important;
  }
}

@media (max-width: 980px) {
  .ds-page .site-header.ds-main-menu-header,
  body.designspace-standalone .ds-page .site-header.ds-main-menu-header {
    grid-template-columns: 1fr auto !important;
  }

  .ds-page .ds-main-menu-header .header-cta {
    display: none !important;
  }

  .ds-page .ds-main-menu-header .nav.is-open {
    justify-content: flex-start !important;
  }

  .ds-page .story-stage {
    --story-gap: 1px !important;
  }

  .ds-page .story-panel-copy,
  .ds-page .story-map-panel,
  .ds-page .story-strategy-panel {
    background-size: 100% 100%, cover !important;
    background-position: center, center !important;
  }

  .ds-page .story-panel-image {
    background-size: cover !important;
    background-position: center !important;
  }
}


/* =========================================================
   V5.0 STRATEGY SLIDE — SINGLE-LINE FRAMEWORK
   Remove the four translucent blocks and keep the framework
   names in one clean website-grey line near the bottom.
========================================================= */
.ds-page .story-copy-strategy .story-framework-grid,
.ds-page .story-copy-strategy .story-framework-block,
.ds-page .story-copy-strategy .story-framework-icon {
  display: none !important;
}

.ds-page .story-copy-strategy .story-framework-line {
  margin-top: auto !important;
  width: 100% !important;
  max-width: 760px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(10px, 1.15vw, 20px) !important;
  white-space: nowrap !important;
  color: var(--grey) !important;
  font-family: var(--font-secondary) !important;
  font-size: clamp(16px, 1.35vw, 24px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
}

.ds-page .story-copy-strategy .story-framework-line span,
.ds-page .story-copy-strategy .story-framework-line i {
  color: var(--grey) !important;
  font: inherit !important;
  font-style: normal !important;
  opacity: 1 !important;
}

.ds-page .story-copy-strategy .story-framework-line i {
  font-weight: 400 !important;
  opacity: .72 !important;
}

@media (max-width: 980px) {
  .ds-page .story-copy-strategy .story-framework-line {
    gap: 9px !important;
    font-size: clamp(13px, 1.8vw, 18px) !important;
  }
}

@media (max-width: 640px) {
  .ds-page .story-copy-strategy .story-framework-line {
    gap: 6px !important;
    font-size: clamp(10px, 3.2vw, 14px) !important;
    letter-spacing: 0 !important;
  }
}


/* =========================================================
   V5.1 STRATEGY SLIDE — ICONS ABOVE FRAMEWORK LABELS
   Reuses the uploaded Framework icons, keeps all labels and
   separators on one horizontal line in the website grey.
========================================================= */
.ds-page .story-copy-strategy .story-framework-line {
  align-items: flex-end !important;
  gap: clamp(10px, 1vw, 18px) !important;
}

.ds-page .story-copy-strategy .story-framework-step {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(7px, .65vw, 11px) !important;
  min-width: 0 !important;
  color: var(--grey) !important;
}

.ds-page .story-copy-strategy .story-framework-step-icon {
  width: clamp(38px, 3.15vw, 58px) !important;
  height: clamp(38px, 3.15vw, 58px) !important;
  display: grid !important;
  place-items: center !important;
  color: var(--grey) !important;
  flex: 0 0 auto !important;
}

.ds-page .story-copy-strategy .story-framework-step-mask {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: var(--grey) !important;
  -webkit-mask: var(--story-framework-icon) center / contain no-repeat !important;
  mask: var(--story-framework-icon) center / contain no-repeat !important;
}

.ds-page .story-copy-strategy .story-framework-step-fallback {
  color: var(--grey) !important;
  font-size: clamp(14px, 1vw, 18px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.ds-page .story-copy-strategy .story-framework-step-label {
  color: var(--grey) !important;
  font: inherit !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.ds-page .story-copy-strategy .story-framework-separator {
  align-self: flex-end !important;
  margin-bottom: 0 !important;
  color: var(--grey) !important;
  opacity: .72 !important;
  font: inherit !important;
  font-style: normal !important;
  line-height: 1.05 !important;
}

@media (max-width: 980px) {
  .ds-page .story-copy-strategy .story-framework-step-icon {
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 640px) {
  .ds-page .story-copy-strategy .story-framework-line {
    gap: 5px !important;
  }
  .ds-page .story-copy-strategy .story-framework-step {
    gap: 5px !important;
  }
  .ds-page .story-copy-strategy .story-framework-step-icon {
    width: 28px !important;
    height: 28px !important;
  }
}


/* =========================================================
   V5.2 STORY FLOW + GRADIENT + LOGO SPEED
   - Slide 4 follows the same bottom-aligned content flow.
   - Story gradients fade out within the first 20%; remainder stays clean.
   - Client logo marquee moves slightly slower.
========================================================= */

/* Slightly slower client-logo movement. */
.ds-page .logo-row {
  animation-duration: 14s !important;
}

/* All story-copy slides use the same bottom content rhythm. */
.ds-page .story-copy-strategy {
  top: auto !important;
  bottom: clamp(48px, 5vw, 90px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.ds-page .story-copy-strategy .story-framework-line {
  margin-top: clamp(22px, 2.2vw, 34px) !important;
  width: 100% !important;
}

/* Keep the image clean after the first 20% from the left. */
.ds-page .story-panel-copy,
.ds-page .story-map-panel,
.ds-page .story-strategy-panel {
  background-image:
    linear-gradient(90deg,
      rgba(29, 52, 100, .92) 0%,
      rgba(29, 52, 100, .70) 8%,
      rgba(29, 52, 100, .34) 14%,
      rgba(29, 52, 100, 0) 20%,
      rgba(29, 52, 100, 0) 100%),
    var(--story-bg) !important;
}

/* No extra wash on the clean image half. */
.ds-page .story-panel-image::after {
  background: transparent !important;
}

@media (max-width: 980px) {
  .ds-page .story-copy-strategy {
    bottom: 34px !important;
  }

  .ds-page .story-panel-copy,
  .ds-page .story-map-panel,
  .ds-page .story-strategy-panel {
    background-image:
      linear-gradient(90deg,
        rgba(29, 52, 100, .90) 0%,
        rgba(29, 52, 100, .62) 10%,
        rgba(29, 52, 100, .20) 16%,
        rgba(29, 52, 100, 0) 20%,
        rgba(29, 52, 100, 0) 100%),
      var(--story-bg) !important;
  }
}


/* =========================================================
   V5.3 STORY SPLIT REFINEMENT
   - 6px centre gap.
   - Gradient fades out by 40% from the left.
   - Same base image colour on both halves (no right-half filter).
========================================================= */
.ds-page .story-stage {
  --story-gap: 6px !important;
}

.ds-page .story-slide {
  gap: var(--story-gap) !important;
}

.ds-page .story-panel-copy,
.ds-page .story-map-panel,
.ds-page .story-strategy-panel {
  background-image:
    linear-gradient(90deg,
      rgba(29, 52, 100, .92) 0%,
      rgba(29, 52, 100, .74) 16%,
      rgba(29, 52, 100, .38) 28%,
      rgba(29, 52, 100, 0) 40%,
      rgba(29, 52, 100, 0) 100%),
    var(--story-bg) !important;
}

/* Prevent the same continuous image from changing colour between halves. */
.ds-page .story-panel-image {
  filter: none !important;
}

.ds-page .story-panel-image::after {
  background: transparent !important;
}

@media (max-width: 980px) {
  .ds-page .story-stage {
    --story-gap: 6px !important;
  }

  .ds-page .story-panel-copy,
  .ds-page .story-map-panel,
  .ds-page .story-strategy-panel {
    background-image:
      linear-gradient(90deg,
        rgba(29, 52, 100, .90) 0%,
        rgba(29, 52, 100, .68) 18%,
        rgba(29, 52, 100, .30) 30%,
        rgba(29, 52, 100, 0) 40%,
        rgba(29, 52, 100, 0) 100%),
      var(--story-bg) !important;
  }
}


/* =========================================================
   V5.4 STRATEGY FRAMEWORK ROW — HIGH-CONTRAST BAND
   Improves visibility for Strategise and Deliver while keeping
   one clean horizontal framework row.
========================================================= */
.ds-page .story-copy-strategy .story-framework-line {
  position: relative !important;
  width: min(100%, 820px) !important;
  max-width: 820px !important;
  padding: clamp(14px, 1.2vw, 20px) clamp(16px, 1.5vw, 24px) !important;
  border-radius: 18px !important;
  background: rgba(29, 52, 100, .78) !important;
  -webkit-backdrop-filter: blur(9px) saturate(1.05) !important;
  backdrop-filter: blur(9px) saturate(1.05) !important;
  box-shadow: 0 16px 42px rgba(8, 19, 43, .28) !important;
  justify-content: space-between !important;
  gap: clamp(8px, .85vw, 14px) !important;
  isolation: isolate !important;
}

.ds-page .story-copy-strategy .story-framework-step {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  color: var(--grey) !important;
}

.ds-page .story-copy-strategy .story-framework-step-icon,
.ds-page .story-copy-strategy .story-framework-step-mask,
.ds-page .story-copy-strategy .story-framework-step-label {
  opacity: 1 !important;
  color: var(--grey) !important;
}

.ds-page .story-copy-strategy .story-framework-step-mask {
  background: var(--grey) !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .34)) !important;
}

.ds-page .story-copy-strategy .story-framework-step-label {
  font-weight: 750 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .42) !important;
}

.ds-page .story-copy-strategy .story-framework-separator {
  flex: 0 0 auto !important;
  opacity: .48 !important;
  text-shadow: none !important;
}

@media (max-width: 980px) {
  .ds-page .story-copy-strategy .story-framework-line {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    gap: 6px !important;
  }
}

@media (max-width: 640px) {
  .ds-page .story-copy-strategy .story-framework-line {
    padding: 10px 10px !important;
    border-radius: 12px !important;
    gap: 4px !important;
  }

  .ds-page .story-copy-strategy .story-framework-step-label {
    font-size: clamp(9px, 2.8vw, 12px) !important;
  }
}


/* =========================================================
   V5.5 STORY MOTION — OPPOSING FULL-PANEL SLIDE
   Left enters from top and moves down.
   Right enters from bottom and moves up.
   Entire panel contents remain synchronized.
========================================================= */
.ds-page .story-stage {
  overflow: hidden !important;
}

.ds-page .story-panel {
  will-change: transform !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translateZ(0);
}


/* =========================================================
   V5.6 EVENTS — GREY BORDERS, NO PULSE
   What We Manage for Events
========================================================= */
.ds-page #events .event-card {
  border: 2px solid var(--grey) !important;
  border-color: var(--grey) !important;
}

.ds-page #events .event-card:hover,
.ds-page #events .event-card.is-active {
  border-color: var(--grey) !important;
}

.ds-page #events .event-card::after,
.ds-page #events .event-card:hover::after,
.ds-page #events .event-card.is-active::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
  filter: none !important;
  opacity: 0 !important;
}
