/* Opes mobile layout. Same look as the homepage block in index.html. */
/* ==========================================================
   OPES MOBILE SITE, shared file for the service pages (30/11)
   Phones only. One loud statement per screen, colour blocks,
   no cards. Everything fades up as you scroll to it.
   Under 768px it replaces the desktop header, main and footer;
   at 768px and up #opes-m is display:none.
   ========================================================== */
#opes-m { display: none; }
@media (max-width: 767px) {
  body > header, body > main, body > footer.opes-footer { display: none !important; }
  #opes-m { display: block; }
}

#opes-m {
  --ink: #0A0C19; --blue: #0094FF; --paper: #FFFFFF; --mist: #EAF5FF;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--ink); color: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
#opes-m * { box-sizing: border-box; }
:where(#opes-m) a { color: inherit; text-decoration: none; }
:where(#opes-m) p { margin: 0; }

/* the loud type */
#opes-m .om-big {
  font-family: 'Archivo', 'DM Sans', sans-serif !important; font-weight: 900 !important; font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase; letter-spacing: -.01em; line-height: .92; margin: 0;
}
#opes-m .om-big em { font-style: normal; color: var(--blue); }
#opes-m .om-kicker { font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .7; }
#opes-m .om-line { font-size: 17px; line-height: 1.45; max-width: 28ch; }

#opes-m .om-sec { padding: 120px 26px; }
#opes-m .om-ink   { background: var(--ink); color: #fff; }
#opes-m .om-white { background: var(--paper); color: var(--ink); }
#opes-m .om-blue  { background: var(--blue); color: #fff; }
#opes-m .om-blue .om-big em { color: var(--ink); }
#opes-m .om-mist  { background: var(--mist); color: var(--ink); }

/* button: outline, like the reference */
#opes-m .om-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 30px; min-width: 220px;
  border: 2px solid currentColor; border-radius: 6px;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
}
#opes-m .om-cta--fill { background: var(--blue); border-color: var(--blue); color: #fff; }
#opes-m .om-link { font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 3px; }

/* top bar */
#opes-m .om-bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s ease;
}
#opes-m .om-bar.is-solid { background: rgba(10,12,25,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
#opes-m .om-logo img { height: 15px; width: auto; display: block; filter: brightness(0) invert(1); }
#opes-m .om-burger { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
#opes-m .om-burger span, #opes-m .om-burger span::before, #opes-m .om-burger span::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s ease, background .3s; }
#opes-m .om-burger span { position: relative; }
#opes-m .om-burger span::before, #opes-m .om-burger span::after { content: ""; position: absolute; left: 0; }
#opes-m .om-burger span::before { top: -7px; } #opes-m .om-burger span::after { top: 7px; }
#opes-m.menu-open .om-burger span { background: transparent; }
#opes-m.menu-open .om-burger span::before { transform: translateY(7px) rotate(45deg); }
#opes-m.menu-open .om-burger span::after { transform: translateY(-7px) rotate(-45deg); }
#opes-m .om-menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); padding: 110px 26px 40px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
#opes-m.menu-open .om-menu { opacity: 1; visibility: visible; }
#opes-m .om-menu nav { display: grid; gap: 14px; }
#opes-m .om-menu nav a { font-size: 34px; }
#opes-m .om-menu .om-cta { margin-top: auto; width: 100%; }
html.om-lock, html.om-lock body { overflow: hidden; }

/* hero */
#opes-m .om-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 100px; padding-bottom: 70px; }
#opes-m .om-h1 { margin: 0; font: inherit; }
#opes-m .om-h1 > span { display: block; }
#opes-m .om-hero .om-big { font-size: clamp(44px, 13.4vw, 60px); margin: 22px 0 30px; }
#opes-m .om-hero .om-line { opacity: .75; margin-bottom: 44px; }

/* numbers: one per screen-ish, no boxes */
#opes-m .om-num { padding-top: 90px; padding-bottom: 90px; }
#opes-m .om-num .om-big { font-size: clamp(110px, 38vw, 160px); line-height: .85; letter-spacing: -.03em; }
#opes-m .om-num .om-big small { font-size: .32em; letter-spacing: 0; margin-left: 6px; }
#opes-m .om-num .om-line { margin-top: 18px; font-weight: 500; }
#opes-m .om-num + .om-num { padding-top: 0; }
#opes-m .om-num .om-kicker { opacity: .55; }

/* stacked words */
#opes-m .om-words a { display: block; font-size: clamp(38px, 11vw, 52px); padding: 6px 0; }
#opes-m .om-words a span { color: var(--blue); font-size: .5em; vertical-align: .55em; margin-left: 6px; }

/* work rail */
#opes-m .om-work { padding-left: 0; padding-right: 0; }
#opes-m .om-work .om-head { padding: 0 26px; }
#opes-m .om-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 44px 26px 0; scroll-padding-left: 26px; scrollbar-width: none; }
#opes-m .om-rail::-webkit-scrollbar { display: none; }
#opes-m .om-rail img { flex: 0 0 72%; aspect-ratio: 3 / 4.4; object-fit: cover; object-position: top; border-radius: 4px; scroll-snap-align: start; display: block; }

/* quote */
#opes-m .om-quote .om-big { font-size: clamp(38px, 11vw, 50px); }
#opes-m .om-quotes { display: grid; }
#opes-m .om-quotes figure { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .9s ease, transform .9s ease; pointer-events: none; }
#opes-m .om-quotes figure.is-on { opacity: 1; transform: none; pointer-events: auto; }
#opes-m .om-quotes figcaption { margin-top: 26px; display: block; }

/* close */
#opes-m .om-close { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
#opes-m .om-close .om-big { font-size: clamp(64px, 20vw, 88px); margin-bottom: 40px; }
#opes-m .om-close .om-cta { align-self: flex-start; }
#opes-m .om-foot { padding: 0 26px 40px; font-size: 13px; opacity: .55; display: flex; justify-content: space-between; gap: 12px; }

/* scroll fade */
#opes-m .om-rv { opacity: 0; transform: translateY(48px); filter: blur(6px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), filter 1s ease; }
#opes-m .om-rv.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  #opes-m .om-rv { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===== service pages (shared file m/opes-mobile.css) ===== */
#opes-m .om-words div { display: block; font-size: clamp(38px, 11vw, 52px); padding: 6px 0; }
#opes-m .om-words.om-sm a, #opes-m .om-words.om-sm div { font-size: clamp(30px, 8.6vw, 40px); padding: 5px 0; }
#opes-m .om-h2 { font-size: clamp(46px, 14vw, 62px); margin: 20px 0 0; }
#opes-m .om-h2 + .om-line { margin-top: 26px; }

/* story style slideshow: images crossfade, bars fill */
#opes-m .om-show { position: relative; margin: 44px 26px 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #11152a; }
#opes-m .om-show.om-bleed { margin: 0; border-radius: 0; aspect-ratio: 4 / 5.2; }
#opes-m .om-show.om-wide { aspect-ratio: 5 / 4; }
#opes-m .om-show img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 4.5s ease; }
#opes-m .om-show.om-contain img { object-fit: contain; object-position: center; padding: 8%; }
#opes-m .om-show img.is-on { opacity: 1; transform: none; }
#opes-m .om-bars { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; gap: 5px; }
#opes-m .om-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
#opes-m .om-bars i b { display: block; height: 100%; width: 0; background: #fff; }
#opes-m .om-bars i.done b { width: 100%; }
#opes-m .om-bars i.run b { width: 100%; transition: width var(--dur, 3.6s) linear; }
#opes-m .om-cap { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* endless strip of images */
#opes-m .om-strip { overflow: hidden; padding: 46px 0 0; }
#opes-m .om-strip > div { display: flex; gap: 12px; width: max-content; animation: om-strip 38s linear infinite; }
#opes-m .om-strip img { height: 300px; width: auto; border-radius: 4px; display: block; }
@keyframes om-strip { to { transform: translateX(-50%); } }

/* word slideshow */
#opes-m .om-flip { display: grid; }
#opes-m .om-flip > * { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
#opes-m .om-flip > .is-on { opacity: 1; transform: none; }

/* steps with huge numerals */
#opes-m .om-steps2 { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 44px; }
#opes-m .om-steps2 li b { display: block; font-family: 'Archivo', 'DM Sans', sans-serif !important; font-weight: 900 !important; font-size: 72px; line-height: .8; color: var(--blue); letter-spacing: -.03em; }
#opes-m .om-steps2 li span { display: block; margin-top: 12px; font-size: 19px; font-weight: 600; }

/* platform ticker */
#opes-m .om-tick { overflow: hidden; white-space: nowrap; padding: 26px 0; border-block: 1px solid rgba(255,255,255,.1); }
#opes-m .om-white .om-tick, #opes-m .om-mist .om-tick { border-color: rgba(10,12,25,.1); }
#opes-m .om-tick > div { display: inline-flex; gap: 34px; animation: om-strip 22s linear infinite; padding-left: 34px; }
#opes-m .om-tick span { font-family: 'Archivo', 'DM Sans', sans-serif !important; font-weight: 900 !important; text-transform: uppercase; font-size: 30px; opacity: .9; }
#opes-m .om-tick span::after { content: "✦"; color: var(--blue); font-size: 14px; margin-left: 34px; vertical-align: 6px; }

#opes-m .om-sec.om-tight { padding-top: 0; }
#opes-m .om-note { margin-top: 26px; font-size: 13px; opacity: .55; }

@media (prefers-reduced-motion: reduce) {
  #opes-m .om-strip > div, #opes-m .om-tick > div { animation: none; }
  #opes-m .om-show img { transition: opacity .3s; transform: none; }
}
#opes-m .om-price .om-big { font-size: clamp(64px, 21vw, 92px); letter-spacing: -.02em; }
#opes-m .om-flip .om-big { font-size: clamp(34px, 10vw, 46px); }
#opes-m .om-close .om-big { font-size: clamp(46px, 14vw, 68px); }

/* 01/12: nothing on the phone layout may run past the right edge */
#opes-m .om-quotes { grid-template-columns: minmax(0, 1fr); }
#opes-m .om-quotes figure, #opes-m .om-quotes p { min-width: 0; }
#opes-m .om-big, #opes-m .om-h1 { max-width: 100%; overflow-wrap: break-word; }
#opes-m .om-quote .om-big { font-size: clamp(30px, 9.6vw, 46px); }
@media (max-width: 767px) { html, body { overflow-x: clip; } }

/* ===== 02/12 mobile fixes (Aran's list) ===== */
/* Long words never split mid-word (CUSTOMER/S, LIFECYCL/E). The fit script
   shrinks a headline that is too wide instead. */
#opes-m .om-big, #opes-m .om-big *, #opes-m .om-h1, #opes-m .om-h1 * { overflow-wrap: normal !important; word-break: normal !important; hyphens: none !important; }
/* Link lists: thick blue arrows and room between each row */
#opes-m .om-words { display: grid; gap: 16px; }
#opes-m .om-words.om-sm { gap: 14px; }
#opes-m .om-words a, #opes-m .om-words.om-sm a { padding: 0; }
#opes-m .om-words a span.om-arr { display: inline-block; width: .7em; height: .7em; margin-left: .22em; vertical-align: .06em; font-size: 1em; color: var(--blue); }
#opes-m .om-words a span.om-arr svg { display: block; width: 100%; height: 100%; }
#opes-m .om-blue .om-words a span.om-arr { color: var(--ink); }
/* Hero that hands straight into a same colour section: no dead band between them */
#opes-m .om-hero.om-hero--tight { min-height: 0; padding-top: 132px; padding-bottom: 56px; }
#opes-m .om-hero.om-hero--tight + .om-sec { padding-top: 40px; }
/* Email images: sharper on phones (no zoom on top of an upscaled image) */
#opes-m .om-show img, #opes-m .om-rail img, #opes-m .om-strip img { image-rendering: auto; }
#opes-m .om-show img { transform: none !important; transition: opacity 1s ease; }
#opes-m .om-show.om-mail { aspect-ratio: auto; height: min(118vw, 560px); margin: 44px 26px 0; border-radius: 6px; background: #fff; }
#opes-m .om-show.om-mail img { object-fit: cover; object-position: top center; }
/* case studies (work page, 02/12) */
#opes-m .om-case .om-big { font-size: clamp(54px, 17vw, 76px); margin: 18px 0 0; }
#opes-m .om-case img { display: block; width: 100%; height: auto; border-radius: 6px; margin: 34px 0 30px; }
#opes-m .om-case .om-tags { margin-top: 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
#opes-m .om-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 6px 0 26px; }
#opes-m .om-pair b { display: block; font-family: 'Archivo', 'DM Sans', sans-serif !important; font-weight: 900 !important; font-size: clamp(50px, 15vw, 66px); line-height: .9; letter-spacing: -.02em; color: var(--blue); }
#opes-m .om-pair span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }
#opes-m .om-cta + .om-link, #opes-m .om-ctas .om-link { display: inline-block; margin-top: 26px; }
#opes-m .om-ctas { display: flex; flex-direction: column; align-items: flex-start; }
/* email strip: show the top of each email at a readable size, not a sliver */
#opes-m .om-strip img { width: 230px; height: 340px; object-fit: cover; object-position: top center; flex: 0 0 auto; }
/* ===== 02/12 pm: shared pieces for pricing, programmes, compare, about, process ===== */
/* label / value rows, no boxes */
#opes-m .om-rows { margin: 34px 0 0; display: grid; }
#opes-m .om-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid rgba(10,12,25,.12); }
#opes-m .om-ink .om-rows > div, #opes-m .om-blue .om-rows > div { border-color: rgba(255,255,255,.18); }
#opes-m .om-rows dt { font-size: 17px; font-weight: 600; margin: 0; }
#opes-m .om-rows dt small { display: block; font-size: 14px; font-weight: 400; opacity: .65; margin-top: 4px; }
#opes-m .om-rows dd { margin: 0; font-family: 'Archivo', 'DM Sans', sans-serif !important; font-weight: 900 !important; font-size: 24px; text-transform: uppercase; white-space: nowrap; }
#opes-m .om-rows.om-vs > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
#opes-m .om-rows.om-vs dt { grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
#opes-m .om-rows.om-vs dd { white-space: normal; font-size: 17px; line-height: 1.15; }
#opes-m .om-rows.om-vs dd + dd { color: var(--blue); }
#opes-m .om-rows.om-vs .om-vs-h dd { font-size: 13px; letter-spacing: .1em; opacity: .55; }
#opes-m .om-rows.om-vs .om-vs-h dd + dd { opacity: 1; }
/* accordion */
#opes-m details.om-acc { border-top: 1px solid rgba(10,12,25,.12); }
#opes-m .om-ink details.om-acc, #opes-m .om-blue details.om-acc { border-color: rgba(255,255,255,.18); }
#opes-m details.om-acc:last-of-type { border-bottom: 1px solid rgba(10,12,25,.12); }
#opes-m details.om-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 700; }
#opes-m details.om-acc summary::-webkit-details-marker { display: none; }
#opes-m details.om-acc summary::after { content: "+"; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 28px; line-height: 1; color: var(--blue); transition: transform .25s ease; }
#opes-m details.om-acc[open] summary::after { transform: rotate(45deg); }
#opes-m details.om-acc .om-acc-b { padding: 0 0 22px; font-size: 16px; line-height: 1.5; opacity: .8; }
#opes-m details.om-acc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
#opes-m details.om-acc li { display: flex; justify-content: space-between; gap: 14px; }
#opes-m details.om-acc li b { font-weight: 700; white-space: nowrap; }
/* a bundle: name, huge price, one line, what's in it */
#opes-m .om-bundle + .om-bundle { margin-top: 90px; }
#opes-m .om-bundle .om-big.om-p { font-size: clamp(76px, 25vw, 108px); letter-spacing: -.03em; line-height: .85; margin: 16px 0 18px; }
#opes-m .om-bundle .om-line { margin-bottom: 26px; }
/* people */
#opes-m .om-person + .om-person { margin-top: 70px; }
#opes-m .om-person .om-big { font-size: clamp(54px, 17vw, 76px); margin: 10px 0 16px; }
/* one bold line per row lists (industries) */
#opes-m .om-stack > div + div { margin-top: 54px; }
#opes-m .om-stack .om-big { font-size: clamp(34px, 10.5vw, 46px); margin: 0 0 14px; }
/* steps text under the numeral */
#opes-m .om-steps2 li small { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; opacity: .7; font-weight: 400; }
#opes-m .om-steps2.om-steps-sm { gap: 34px; }
#opes-m .om-steps2.om-steps-sm li b { font-size: 54px; }
/* reading pages: the page's own content dropped into the phone layout */
#opes-m .om-read { background: #fff; color: var(--ink); padding: 104px 26px 90px; }
#opes-m .om-read main { display: block !important; }
#opes-m .om-read section, #opes-m .om-read header, #opes-m .om-read article, #opes-m .om-read aside { background: transparent !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
#opes-m .om-read [class*="max-w-"], #opes-m .om-read [class*="container"], #opes-m .om-read [class*="px-"] { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
#opes-m .om-read h1 { font-family: 'Archivo', 'DM Sans', sans-serif !important; font-weight: 900 !important; font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: clamp(38px, 11vw, 52px) !important; line-height: .95 !important; letter-spacing: -.01em; margin: 10px 0 24px !important; color: var(--ink) !important; overflow-wrap: normal; }
#opes-m .om-read h2 { font-family: 'Archivo', 'DM Sans', sans-serif !important; font-weight: 900 !important; font-stretch: 112%; font-variation-settings: "wdth" 112; text-transform: uppercase; font-size: 28px !important; line-height: 1 !important; letter-spacing: -.005em; margin: 56px 0 16px !important; color: var(--ink) !important; }
#opes-m .om-read h3 { font-family: 'DM Sans', sans-serif !important; font-weight: 700 !important; font-size: 19px !important; line-height: 1.3 !important; margin: 30px 0 8px !important; color: var(--ink) !important; }
#opes-m .om-read p, #opes-m .om-read li { font-size: 17px; line-height: 1.6; }
#opes-m .om-read p { margin: 0 0 1em; }
#opes-m .om-read ul, #opes-m .om-read ol { padding-left: 1.2em; margin: 0 0 1.2em; }
#opes-m .om-read a:not([class]) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
#opes-m .om-read img { max-width: 100%; height: auto; }
#opes-m .om-read table { display: block; overflow-x: auto; max-width: 100%; }
#opes-m .om-read nav[aria-label*="readcrumb"], #opes-m .om-read .breadcrumb { display: none !important; }
#opes-m .om-read button[type="submit"], #opes-m .om-read .om-btn { background: var(--blue) !important; border: 0 !important; color: #fff !important; border-radius: 6px !important; min-height: 56px; font-weight: 700 !important; font-size: 14px !important; letter-spacing: .12em; text-transform: uppercase; }
#opes-m .om-read input, #opes-m .om-read select, #opes-m .om-read textarea { font-size: 16px !important; }
/* the hero kicker pill some pages use reads as a plain kicker */
#opes-m .om-read [class*="eyebrow"], #opes-m .om-read [class*="kicker"] { color: var(--blue) !important; }
@media (max-width: 767px) { body > footer { display: none !important; } }
#opes-m .om-read [data-om-hide] { display: none !important; }
#opes-m .om-read .opg-ob { grid-template-columns: minmax(0, 1fr) !important; }
#opes-m .om-read .opg-ob-side { position: static !important; }
#opes-m .om-nw { white-space: nowrap; }
#opes-m .om-words a span.om-nw { white-space: nowrap; color: inherit; font-size: inherit; vertical-align: baseline; margin-left: 0; }
