/* ==========================================================================
   Operion Group site styles
   Taken from the approved website mockup. Values here are the design:
   change them only when a design change has been agreed.
   ========================================================================== */

/* Fonts, hosted on the site ------------------------------------------------ */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/barlow-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/barlow-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/barlow-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/barlow-semi-condensed-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/barlow-semi-condensed-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/barlow-semi-condensed-latin-700-normal.woff2') format('woff2')}

/* Colour tokens ------------------------------------------------------------ */
:root{
  --navy:#0E2A44;
  --steel:#3E6E93;
  --steel-dark:#2E5878;
  --steel-light:#EEF3F7;
  --ink:#1A2530;
  --muted:#54697D;
  --line:#DCE4EA;
  --paper:#FFFFFF;
  --onnavy-muted:#B7C7D6;
  --head:'Barlow Semi Condensed',system-ui,sans-serif;
  --body:'Barlow',system-ui,sans-serif;
}

/* Base --------------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--body);font-size:16px;line-height:normal;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{font-family:var(--head);margin:0;font-weight:600;color:var(--navy);line-height:normal}
p{margin:0}
a{color:var(--steel);text-decoration:none}
a:hover{color:var(--steel-dark);text-decoration:underline}
button{font-family:inherit;cursor:pointer}
img,svg{max-width:100%}

/* WordPress block defaults cleared, so spacing comes only from the rules below. */
figure,ul,ol{margin:0}
.wp-block-group,.wp-block-buttons{margin:0}
.wp-block-group__inner-container{display:contents}

/* Block editor: show sections at full width, as on the site. */
.is-root-container .wp-block{max-width:none}
.is-root-container .wp-block:not(.og-container){margin-left:0;margin-right:0}

.og-skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--navy);color:#fff;padding:12px 20px;font-family:var(--head);font-weight:600}
.og-skip:focus{left:16px;top:16px;color:#fff}

/* Layout ------------------------------------------------------------------- */
.og-container{max-width:1120px;margin-left:auto;margin-right:auto;padding:0 48px;width:100%}
.og-container.og-narrow{max-width:640px}
.og-section{padding:clamp(56px,6vw,80px) 0}
.og-band-light{background:var(--steel-light)}
.og-band-navy{background:var(--navy)}
.og-band-white{background:var(--paper)}
.og-border-b{border-bottom:1px solid var(--line)}
.og-border-tb{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* Headings ----------------------------------------------------------------- */
.og-h2{font-size:clamp(26px,3vw,34px)}
.og-h2-sm{font-size:clamp(24px,2.8vw,30px)}

/* Buttons ------------------------------------------------------------------
   .og-btn is used in the header and footer. Button blocks get the same look
   from the Styles panel (Primary, Ghost, Outline on navy); add the class
   og-btn-sm under Advanced for the smaller size. */
.og-btn,
.wp-block-button[class*="is-style-og-"] > .wp-block-button__link{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--head);font-weight:600;font-size:16px;line-height:1;
  padding:13px 26px;border-radius:4px;border:1px solid transparent;
  text-decoration:none;box-shadow:none;height:auto;width:auto;word-break:normal;
}
.og-btn:hover,
.wp-block-button[class*="is-style-og-"] > .wp-block-button__link:hover{text-decoration:none}
.og-btn.og-btn-sm,
.wp-block-button.og-btn-sm > .wp-block-button__link{font-size:15px;padding:10px 20px}

.og-btn-primary,
.wp-block-button.is-style-og-primary > .wp-block-button__link{background:var(--steel);color:#fff}
.og-btn-primary:hover,.og-btn-primary:focus,
.wp-block-button.is-style-og-primary > .wp-block-button__link:hover,
.wp-block-button.is-style-og-primary > .wp-block-button__link:focus{background:var(--steel-dark);color:#fff}

.wp-block-button.is-style-og-outline > .wp-block-button__link{background:transparent;color:#fff;border-color:rgba(255,255,255,0.55)}
.wp-block-button.is-style-og-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-og-outline > .wp-block-button__link:focus{background:rgba(255,255,255,0.1);color:#fff}

.wp-block-button.is-style-og-ghost > .wp-block-button__link{background:transparent;color:var(--navy);border-color:var(--navy)}
.wp-block-button.is-style-og-ghost > .wp-block-button__link:hover,
.wp-block-button.is-style-og-ghost > .wp-block-button__link:focus{background:var(--navy);color:#fff}

.wp-block-buttons.og-btns{display:flex;flex-wrap:wrap;gap:12px}
.wp-block-buttons.og-btns-center{justify-content:center}

/* Header ------------------------------------------------------------------- */
.og-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar .og-header{top:32px}
@media (max-width:782px){.admin-bar .og-header{top:46px}}
.og-header-inner{display:flex;align-items:center;justify-content:space-between;height:76px}
.og-logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.og-logo:hover{text-decoration:none}
.og-logo svg{flex-shrink:0;display:block}
.og-logo-text{display:flex;flex-direction:column;gap:3px;font-family:var(--head);white-space:nowrap}
.og-logo-name{font-size:22px;font-weight:700;line-height:0.9;letter-spacing:0.04em;color:var(--navy)}
.og-logo-group{font-size:10px;font-weight:600;line-height:1;letter-spacing:0.52em;color:var(--steel)}
.og-nav{display:flex;gap:32px;align-items:center}
.og-nav a{color:var(--ink);font-family:var(--head);font-weight:500;font-size:16px}
.og-nav a:hover{color:var(--steel)}
.og-nav a.is-current{color:var(--steel);text-decoration:underline;text-underline-offset:6px}

/* Hero (navy with grid pattern) ---------------------------------------------- */
.og-hero{position:relative;background:var(--navy);overflow:hidden;padding:clamp(64px,10vw,128px) 0 clamp(56px,8vw,96px)}
.og-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:repeating-linear-gradient(0deg,rgba(183,199,214,0.10) 0px,rgba(183,199,214,0.10) 1px,transparent 1px,transparent 64px),repeating-linear-gradient(90deg,rgba(183,199,214,0.10) 0px,rgba(183,199,214,0.10) 1px,transparent 1px,transparent 64px)}
.og-hero > .og-container{position:relative}
.og-hero-title{color:#fff;font-size:clamp(32px,5.4vw,52px);line-height:1.15;max-width:680px;font-weight:700;letter-spacing:-0.3px}
.og-hero-sub{color:var(--onnavy-muted);font-size:clamp(17px,2vw,20px);line-height:1.5;max-width:560px;margin-top:28px;font-weight:400;text-wrap:balance}
.og-hero .og-btns{margin-top:36px}

/* Industries ------------------------------------------------------------------ */
.og-industries{display:flex;flex-wrap:wrap;gap:32px 24px;margin-top:40px}
.og-industries > .og-industry{flex:1 1 240px}
.og-industry h3{font-size:23px}
.og-industry p{color:var(--muted);font-size:15px;margin-top:8px;line-height:1.55}

/* Cards ------------------------------------------------------------------------ */
.og-cards{display:flex;flex-wrap:wrap;gap:24px;margin-top:40px}
.og-card{background:#fff;border:1px solid var(--line);padding:32px}
.og-cards > .og-service-card{flex:1 1 300px;display:flex;flex-direction:column;gap:14px}
.og-service-card h3{font-size:21px}
.og-service-card p{color:var(--ink);font-size:16px;line-height:1.6}
.og-service-card .wp-block-buttons,
.og-cs-body .wp-block-buttons{margin-top:auto;align-self:flex-start}

/* Figures ---------------------------------------------------------------------- */
.og-fig-num{font-family:var(--head);font-weight:700;color:var(--navy);line-height:1}
.og-fig-label{color:var(--muted);font-size:13px}

/* Case study carousel ------------------------------------------------------------ */
.og-cs-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.og-cs{overflow:hidden;margin-top:40px}
.og-cs-track{display:flex;gap:24px;transition:transform 0.45s ease}
.og-cs:not(.is-ready) .og-cs-track{flex-wrap:wrap}
.og-cs-track > .og-cs-card{flex:0 0 calc((100% - 24px) / 2);background:#fff;border:1px solid var(--line);border-top:4px solid var(--steel);display:flex;flex-direction:column}
.og-cs-body{padding:32px;display:flex;flex-direction:column;gap:14px;flex-grow:1}
.og-cs-body h3{font-size:19px}
.og-cs-body > p{color:var(--ink);font-size:15.5px;line-height:1.6}
.og-cs-figs{display:flex;flex-wrap:wrap;gap:28px;margin-top:6px;padding-top:14px;border-top:1px solid var(--line)}
.og-cs-figs .og-fig-num{font-size:24px}
.og-cs-figs .og-fig-label{margin-top:2px}
.og-cs-controls{display:flex;gap:10px}
.og-cs-arrow{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--navy);border-radius:4px;color:var(--navy);padding:0}
.og-cs-arrow:hover:not(:disabled){background:var(--navy);color:#fff}
.og-cs-arrow:disabled{opacity:0.35;cursor:default}
.og-cs-dots{display:flex;justify-content:center;margin-top:12px;margin-bottom:-17px}
.og-cs-dot{width:32px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;padding:0}
.og-cs-dot span{display:block;width:10px;height:10px;border-radius:50%;background:var(--line);transition:background 0.2s}
.og-cs-dot.is-on span{background:var(--steel)}

/* Diagnostic panel -------------------------------------------------------------- */
.og-center{display:flex;justify-content:center}
.og-panel{background:#fff;max-width:640px;width:100%;padding:clamp(32px,5vw,48px);border-radius:6px;text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center}
.og-panel h2{font-size:clamp(24px,3vw,28px)}
.og-panel-intro{display:flex;flex-direction:column;gap:4px}
.og-panel p{font-size:16px;line-height:1.5}
.og-lead-strong{color:var(--ink);font-weight:500}
.og-muted{color:var(--muted)}
.og-panel-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%;margin-top:8px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.og-panel-figs .og-fig-num{font-size:36px;line-height:1}
.og-panel-figs .og-fig-label{margin-top:6px;font-size:13px;line-height:normal}
.og-panel .og-btns{margin-top:4px}

/* Get in touch ----------------------------------------------------------------- */
.og-contact{text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}
.og-contact-lead{color:var(--muted);font-size:17px;line-height:1.6}
.og-contact > .og-btns{margin-top:4px}
.og-direct{margin-top:24px;padding-top:24px;border-top:1px solid var(--line);width:100%;display:flex;flex-direction:column;align-items:center;gap:14px}
.og-direct-label{font-family:var(--head);font-weight:600;font-size:13px;color:var(--muted)}
.og-direct-row{display:flex;flex-wrap:wrap;gap:32px;justify-content:center}
.og-direct-value{font-size:19px;font-weight:500}

/* Inner page hero ------------------------------------------------------------ */
.og-hero.og-hero-inner{padding:clamp(56px,7vw,96px) 0}
.og-crumbs{font-size:14px;color:var(--onnavy-muted);display:flex;flex-wrap:wrap;gap:8px}
.og-crumbs a,.og-crumbs a:hover{color:var(--onnavy-muted)}
.og-crumbs [aria-current]{color:#fff}
.og-page-title{color:#fff;font-size:clamp(32px,4.6vw,48px);line-height:1.15;max-width:720px;font-weight:700;letter-spacing:-0.3px;margin-top:24px}
.og-hero-inner .og-hero-sub{max-width:660px;margin-top:24px}
.og-hero .og-hero-facts{display:flex;flex-wrap:wrap;gap:24px 56px;margin-top:32px;padding-top:24px;border-top:1px solid rgba(183,199,214,0.25);max-width:720px}
.og-hero-label{font-family:var(--head);font-weight:600;font-size:13px;color:var(--onnavy-muted)}
.og-hero-fact .og-hero-val{font-size:17px;color:#fff;margin-top:4px;font-weight:500}

/* Shared text styles ------------------------------------------------------------ */
.og-border-t{border-top:1px solid var(--line)}
.og-kicker{font-family:var(--head);font-weight:600;font-size:14px;color:var(--steel);letter-spacing:0.3px}
.og-h2-lg{font-size:clamp(28px,3vw,34px)}
.og-lead{font-size:17px;line-height:1.6;color:var(--ink)}
.og-lead.og-lead-520{max-width:520px}
.og-lead.og-lead-500{max-width:500px}
.og-section .og-section-intro{color:var(--muted);font-size:17px;line-height:1.6;margin-top:12px}
.og-band-navy .og-h2{color:#fff}
.og-band-navy .og-section-intro{color:var(--onnavy-muted)}
.og-detail-label{font-family:var(--head);font-weight:600;font-size:13px;color:var(--muted)}
.og-detail-val{font-size:15px;color:var(--ink);margin-top:2px;line-height:1.45}
.og-balance{text-wrap:balance}
.og-btns.og-btns-mt8{margin-top:8px}

/* Image placeholder (until photos are chosen) ------------------------------------- */
.og-img-slot{width:460px;height:400px;background:var(--line);border:1px dashed #9FB3C4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;text-align:center;color:var(--muted)}
.og-img-slot::before{content:"";width:36px;height:36px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat}
.og-img-slot-title{font-family:var(--head);font-weight:600;font-size:15px}
.og-img-slot-desc{font-size:14px;line-height:1.45;max-width:300px}

/* Arrow links ------------------------------------------------------------------------ */
.og-cs-link{margin-top:2px}
.og-cs-link a{display:inline-flex;align-items:center;gap:6px;font-family:var(--head);font-weight:600;font-size:15px;color:var(--steel);min-height:24px}
.og-cs-link a:hover{color:var(--steel-dark)}
.og-cs-link a::after,.og-cs-panel-title a::after{content:"";flex-shrink:0;width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform 0.2s}
.og-cs-link a:hover::after{transform:translateX(3px)}

/* Services hub rows --------------------------------------------------------------------- */
.og-svc-row{display:grid;grid-template-columns:460px minmax(0,1fr);gap:64px;align-items:center}
.og-svc-body{display:flex;flex-direction:column;gap:16px}
.og-svc-title{font-size:clamp(28px,3vw,34px)}
.og-svc-title a{color:var(--navy)}
.og-svc-title a:hover{color:var(--steel);text-decoration:none}
.og-section .og-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;margin-top:4px}
.og-svc-cs-link > .og-detail-label{line-height:16px;padding-top:3px}
.og-svc-cs{padding-top:16px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.og-svc-figs{display:flex;gap:40px}
.og-svc-figs .og-fig-num{font-size:28px}
.og-section .og-svc-figs .og-fig-label{margin-top:4px}

/* Ways to work together ------------------------------------------------------------------- */
.og-section .og-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px}
.og-section .og-grid-3.og-grid-gap-20{gap:20px}
.og-eng-card{background:#fff;border-top:4px solid var(--steel);padding:32px 24px;display:flex;flex-direction:column;gap:14px}
.og-eng-card.og-eng-card-bordered{border:1px solid var(--line);border-top:4px solid var(--steel)}
.og-eng-card h3,.og-card-stack h3,.og-step h3{font-size:21px}
.og-eng-card > p{font-size:15.5px;line-height:1.6;color:var(--ink)}
.og-eng-figs{display:flex;gap:24px;padding-top:14px;border-top:1px solid var(--line)}
.og-eng-figs .og-fig-num{font-size:24px}
.og-section .og-eng-figs .og-fig-label{margin-top:4px;white-space:nowrap}
.og-section .og-eng-card .wp-block-buttons{margin-top:auto;align-self:flex-start}

/* Problem, scope and approach --------------------------------------------------------------- */
.og-split-row{display:grid;grid-template-columns:minmax(0,1fr) 460px;gap:64px;align-items:center}
.og-split-body{display:flex;flex-direction:column;gap:16px}
.og-section .og-signs{padding-top:20px;margin-top:4px;border-top:1px solid var(--line)}
.og-section .og-signs .og-detail-label{margin-bottom:14px}
.og-check-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.og-check-list li{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--ink);margin:0}
.og-check-list li::before{content:"";flex-shrink:0;width:20px;height:20px;background:var(--steel);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='8 12.5 11 15.5 16 9.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='8 12.5 11 15.5 16 9.5'/%3E%3C/svg%3E") center/contain no-repeat}
.og-card.og-card-stack{display:flex;flex-direction:column;gap:12px}
.og-card-stack > p,.og-step > p{font-size:16px;line-height:1.6;color:var(--ink)}
.og-section .og-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-top:40px;counter-reset:og-step}
.og-step{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-direction:column;gap:10px;counter-increment:og-step}
.og-step h3{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.og-step h3::after{content:counter(og-step,decimal-leading-zero);font-family:var(--head);font-weight:600;font-size:21px;color:var(--steel)}

/* Case study panel ----------------------------------------------------------------------------- */
.og-section .og-cs-panel{background:#fff;border-top:4px solid var(--steel);padding:48px;display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:56px;align-items:center;margin-top:40px}
.og-cs-panel-body{display:flex;flex-direction:column;gap:14px}
.og-cs-panel-title{font-size:28px}
.og-cs-panel-title a{display:inline-flex;align-items:center;gap:8px;font-family:var(--head);font-weight:600;color:var(--steel)}
.og-cs-panel-title a::after{width:22px;height:22px}
.og-section .og-cs-detail{margin-top:4px}
.og-section .og-cs-panel-body .wp-block-buttons{align-self:flex-start}
.og-cs-panel-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
.og-cs-fig{border-top:1px solid var(--line);padding-top:16px}
.og-cs-fig .og-fig-num{font-size:36px}
.og-section .og-cs-fig .og-fig-label{margin-top:6px}

/* FAQs ------------------------------------------------------------------------------------------ */
.og-section .og-faqs{display:flex;flex-direction:column;gap:12px;margin-top:40px}
.og-faq{background:#fff;border:1px solid var(--line);border-radius:4px}
.og-faq > summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;font-family:var(--head);font-weight:600;font-size:18px;color:var(--navy);min-height:44px;cursor:pointer;list-style:none}
.og-faq > summary::-webkit-details-marker{display:none}
.og-faq > summary::marker{content:""}
.og-faq > summary:hover{color:var(--steel)}
.og-faq > summary::after{content:"";flex-shrink:0;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform 0.2s}
.og-faq[open] > summary::after{transform:rotate(180deg)}
.og-faq .og-faq-a{padding:0 24px 22px;color:var(--ink);font-size:16px;line-height:1.6;margin:0}

/* Case studies hub ------------------------------------------------------------------------------ */
.og-btns.og-btns-mt16{margin-top:16px}
.og-btns.og-btns-mt12{margin-top:12px}
.og-hub-figs{display:grid;grid-template-columns:150px 180px auto}
.og-hub-figs.og-hub-figs-legacy-system-migration{grid-template-columns:124px 148px auto}
.og-hub-figs.og-hub-figs-automotive-production-launch{grid-template-columns:150px 156px auto}
.og-hub-figs .og-fig-num{font-size:28px}
.og-hub-figs p{white-space:nowrap}
.og-section .og-hub-figs .og-fig-label{margin-top:4px}
.og-close-grid{display:grid;grid-template-columns:minmax(0,1fr) 460px;gap:72px;align-items:stretch}
.og-close-body{display:flex;flex-direction:column;gap:16px}
.og-h2-34{font-size:34px}
.og-lead-165{font-size:17px;line-height:1.65}
.og-lead-165.og-lead-470{max-width:470px}
.og-lead-165.og-lead-440{max-width:440px}
.og-section .og-ct-rows{margin-top:8px}
.og-ct-row{padding:16px 0;border-top:1px solid var(--line)}
.og-ct-row:last-child{border-bottom:1px solid var(--line)}
.og-dg-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--steel);padding:40px;display:flex;flex-direction:column;gap:14px}
.og-dg-card h3{font-size:26px}
.og-dg-card > p:not(.og-detail-label){font-size:16px;line-height:1.6}
.og-section .og-dg-figs{display:flex;gap:40px;margin-top:10px;padding-top:18px;border-top:1px solid var(--line)}
.og-dg-figs .og-fig-num{font-size:32px}
.og-section .og-dg-figs .og-fig-label{font-size:14px;margin-top:6px;white-space:nowrap}
.og-section .og-btns.og-btns-foot{margin-top:auto;padding-top:14px}

/* Case study hero and figures strip -------------------------------------------------------------- */
.og-cs-hero{position:relative;overflow:hidden;padding:88px 0 152px;background:linear-gradient(90deg,rgba(14,42,68,0.96) 0%,rgba(14,42,68,0.88) 55%,rgba(14,42,68,0.62) 100%),repeating-linear-gradient(135deg,rgba(183,199,214,0.07) 0px,rgba(183,199,214,0.07) 2px,transparent 2px,transparent 22px),#1B3A57}
.og-cs-hero > .og-container{position:relative}
.og-cs-hero .og-img-note{position:absolute;right:48px;bottom:108px;display:flex;align-items:center;gap:10px;max-width:300px;color:var(--onnavy-muted);font-size:13px;line-height:1.4;border:1px dashed rgba(183,199,214,0.45);padding:10px 14px}
.og-img-note::before{content:"";width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat}
.og-cs-hero .og-cs-hero-kicker,.og-ab-hero .og-cs-hero-kicker{color:#9DBBD3;margin-top:32px}
.og-cs-title{color:#fff;font-size:48px;line-height:1.15;font-weight:700;letter-spacing:-0.3px;margin-top:12px}
.og-cs-hero .og-cs-client{font-family:var(--head);font-weight:500;font-size:24px;color:#fff;margin-top:18px}
.og-cs-hero .og-cs-hero-sub{color:var(--onnavy-muted);font-size:19px;line-height:1.5;max-width:600px;margin-top:18px;text-wrap:balance}
.og-strip-wrap{background:var(--paper)}
.og-section .og-fig-strip,.og-strip-wrap .og-fig-strip{position:relative;margin-top:-80px;background:#fff;border:1px solid var(--line);border-top:4px solid var(--steel);display:grid}
.og-fig-strip.og-strip-dc{grid-template-columns:0.83fr 1.25fr 1fr 0.92fr}
.og-fig-strip.og-strip-lsm{grid-template-columns:0.8fr 0.9fr 1.05fr 1.2fr}
.og-fig-strip.og-strip-apl{grid-template-columns:0.95fr 1fr 0.9fr 1fr}
.og-fig-strip > .og-fig{padding:32px 32px 30px}
.og-fig-strip > .og-fig + .og-fig{border-left:1px solid var(--line)}
.og-fig-strip p{white-space:nowrap}
.og-fig-strip .og-fig-num{font-size:40px}
.og-fig-strip .og-fig-label{font-size:14px;margin-top:8px}

/* Challenge and at a glance ------------------------------------------------------------------------ */
.og-challenge-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:72px;align-items:stretch}
.og-lead-165{max-width:540px}
.og-section .og-signs.og-signs-540{max-width:540px}
.og-glance{background:var(--steel-light);border-top:4px solid var(--steel);padding:32px;display:flex;flex-direction:column}
.og-glance .og-glance-title{font-size:21px;margin-bottom:18px}
.og-glance-list{flex:1;display:flex;flex-direction:column;justify-content:space-between}
.og-glance-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:12px 0;border-top:1px solid var(--line);font-size:15.5px;line-height:1.5}
.og-glance-row:first-child{border-top:0;padding-top:0}
.og-glance-term{font-family:var(--head);font-weight:600;font-size:14px;color:var(--muted);padding-top:1px}
.og-glance-def{color:var(--ink)}

/* What was delivered --------------------------------------------------------------------------------- */
.og-section .og-mt12{margin-top:12px}
.og-section .og-delivered-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:64px;align-items:stretch;margin-top:40px}
.og-work-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:18px 0;border-top:1px solid var(--line)}
.og-work-row:last-child{border-bottom:1px solid var(--line)}
.og-work-row h3{font-size:19px;line-height:1.3}
.og-work-row p{font-size:16px;line-height:1.6;color:var(--ink)}
.og-img-slot.og-img-slot-tall{width:400px;height:auto;min-height:560px}
.og-img-slot-tall .og-img-slot-desc{max-width:280px}

/* The result ------------------------------------------------------------------------------------------- */
.og-result-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:96px;align-items:center}
.og-result-body{display:flex;flex-direction:column;gap:20px}
.og-kicker.og-kicker-light{color:#9DBBD3}
.og-result-quote{font-family:var(--head);font-weight:600;font-size:36px;line-height:1.25;color:#fff;text-wrap:balance}
.og-result-figs{display:flex;flex-direction:column;gap:28px}
.og-result-fig{border-top:1px solid rgba(183,199,214,0.25);padding-top:16px}
.og-result-fig .og-fig-num{font-size:40px;color:#fff}
.og-section .og-result-fig .og-fig-label{color:var(--onnavy-muted);font-size:14px;margin-top:8px}

/* Related services and arrow links ----------------------------------------------------------------------- */
.og-fit-link{display:flex}
.og-fit-link a{display:inline-flex;align-items:center;gap:8px;font-family:var(--head);font-weight:600;font-size:21px;color:var(--steel)}
.og-fit-link a:hover{color:var(--steel-dark);text-decoration:none}
.og-fit-link a::after{content:"";flex-shrink:0;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform 0.2s}
.og-fit-link a:hover::after{transform:translateX(3px)}
.og-fit-link.og-fit-link-light a,.og-fit-link.og-fit-link-light a:hover{color:#9DBBD3;font-size:18px}
.og-section .og-rel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:40px}
.og-rel-col{display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:1px solid var(--line)}
.og-rel-col > p:last-child{font-size:16px;line-height:1.6;color:var(--ink)}

/* Enquiry close with form ----------------------------------------------------------------------------------- */
.og-enq-grid{display:grid;grid-template-columns:minmax(0,1fr) 500px;gap:64px;align-items:center}
.og-enq-body{display:flex;flex-direction:column;gap:18px}
.og-section .og-direct.og-direct-left{margin-top:12px;align-items:flex-start}
.og-direct-left .og-direct-row{justify-content:flex-start}
.og-direct-left > .og-direct-label{font-size:13px}
.og-enq-card{background:var(--navy);border-radius:6px;padding:40px}
.og-enq-card .og-enq-title{font-size:26px;color:#fff}
.og-section .og-enq-intro{color:var(--onnavy-muted);font-size:16px;line-height:1.55;margin-top:8px}
.og-enq-card .wpcf7{margin-top:24px}
.og-enq-card .wpcf7 form{margin:0}
.og-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.og-field{display:flex;flex-direction:column;gap:6px}
.og-field.og-field-full{grid-column:1 / -1}
.og-field label{font-family:var(--head);font-weight:600;font-size:14px;color:#fff}
.og-req{color:#9DBBD3}
.og-field .wpcf7-form-control-wrap{display:block}
.og-field input,.og-field select,.og-field textarea{display:block;font-family:var(--body);font-size:16px;color:var(--ink);background:#fff;border:1px solid #B9C7D3;border-radius:4px;padding:11px 14px;min-height:46px;width:100%;margin:0}
.og-field textarea{min-height:112px;resize:vertical;line-height:1.5}
.og-field input:focus,.og-field select:focus,.og-field textarea:focus{outline:2px solid #7FA7C7;outline-offset:1px}
.og-form-foot{grid-column:1 / -1;display:flex;align-items:center;gap:24px;position:relative}
.og-form-foot .wpcf7-submit{flex-shrink:0;-webkit-appearance:none;appearance:none}
.og-form-foot .wpcf7-spinner{position:absolute;left:0;top:100%;margin:8px 0 0}
.og-fm-note{color:var(--onnavy-muted);font-size:14px;line-height:1.5}
.og-fm-note a{color:#9DBBD3;text-decoration:underline;text-underline-offset:3px}
.og-fm-note a:hover{color:#fff}
.og-enq-card .wpcf7-not-valid-tip{color:#FFC2B8;font-size:14px;margin-top:4px}
.og-enq-card .wpcf7 form .wpcf7-response-output{margin:20px 0 0;padding:10px 14px;color:#fff;font-size:14px;border-radius:4px}

/* About hero (portrait on the right) ----------------------------------------------------------------- */
.og-ab-hero{position:relative;background:var(--navy);overflow:hidden;min-height:580px;display:flex;align-items:center}
.og-ab-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:repeating-linear-gradient(0deg,rgba(183,199,214,0.10) 0px,rgba(183,199,214,0.10) 1px,transparent 1px,transparent 64px),repeating-linear-gradient(90deg,rgba(183,199,214,0.10) 0px,rgba(183,199,214,0.10) 1px,transparent 1px,transparent 64px)}
.og-ab-portrait{position:absolute;top:0;bottom:0;right:0;left:calc(50% + 152px);background-color:#1B3A57;background-image:repeating-linear-gradient(135deg,rgba(183,199,214,0.07) 0px,rgba(183,199,214,0.07) 2px,transparent 2px,transparent 22px);border-left:4px solid var(--steel)}
.og-ab-portrait-note{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:10px;width:280px;text-align:center;color:var(--onnavy-muted);font-size:14px;line-height:1.45;border:1px dashed rgba(183,199,214,0.45);padding:20px 22px}
.og-ab-portrait-note::before{content:"";flex-shrink:0;width:32px;height:32px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat}
.og-ab-note-title{font-family:var(--head);font-weight:600;font-size:15px;color:#fff}
.og-container.og-ab-hero-inner{position:relative;padding-top:72px;padding-bottom:88px}
.og-ab-hero-text{max-width:640px}
.og-ab-hero .og-ab-sub{color:var(--onnavy-muted);font-size:19px;line-height:1.5;max-width:590px;margin-top:22px;text-wrap:balance}
.og-hero .og-hero-facts.og-hero-facts-tight,.og-ab-hero .og-hero-facts{display:flex;gap:40px;margin-top:32px;padding-top:24px;border-top:1px solid rgba(183,199,214,0.25)}
.og-ab-hero .og-hero-fact .og-hero-val{font-size:17px;color:#fff;margin-top:4px;font-weight:500;white-space:nowrap}

/* About sections ------------------------------------------------------------------------------------- */
.og-lead-165.og-lead-none{max-width:none}
.og-section .og-val-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;margin-top:40px}
.og-val-col{display:flex;flex-direction:column;gap:12px}
.og-val-col::before{content:"";display:block;width:44px;height:44px;margin-bottom:6px;background:center/contain no-repeat}
.og-val-1::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M26.32 5.14 A19 19 0 0 1 41.49 31.42' fill='none' stroke='%230E2A44' stroke-width='8'/%3E%3Cpath d='M39.17 35.43 A19 19 0 0 1 8.83 35.43' fill='none' stroke='%23DCE4EA' stroke-width='8'/%3E%3Cpath d='M6.51 31.42 A19 19 0 0 1 21.68 5.14' fill='none' stroke='%23DCE4EA' stroke-width='8'/%3E%3C/svg%3E")}
.og-val-2::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M26.32 5.14 A19 19 0 0 1 41.49 31.42' fill='none' stroke='%23DCE4EA' stroke-width='8'/%3E%3Cpath d='M39.17 35.43 A19 19 0 0 1 8.83 35.43' fill='none' stroke='%233E6E93' stroke-width='8'/%3E%3Cpath d='M6.51 31.42 A19 19 0 0 1 21.68 5.14' fill='none' stroke='%23DCE4EA' stroke-width='8'/%3E%3C/svg%3E")}
.og-val-3::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M26.32 5.14 A19 19 0 0 1 41.49 31.42' fill='none' stroke='%23DCE4EA' stroke-width='8'/%3E%3Cpath d='M39.17 35.43 A19 19 0 0 1 8.83 35.43' fill='none' stroke='%23DCE4EA' stroke-width='8'/%3E%3Cpath d='M6.51 31.42 A19 19 0 0 1 21.68 5.14' fill='none' stroke='%238C9AA7' stroke-width='8'/%3E%3C/svg%3E")}
.og-val-col h3{font-size:26px;line-height:1.2}
.og-val-col p,.og-sv-col > p:not(.og-kicker):not(.og-fit-link){font-size:16px;line-height:1.6;color:var(--ink)}
.og-sv-col{display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:1px solid var(--line)}
.og-section .og-sv-fig{margin-top:14px;padding-top:16px;border-top:1px solid var(--line)}
.og-sv-fig .og-fig-num{font-size:32px}
.og-section .og-sv-fig .og-fig-label{font-size:14px;margin-top:6px;white-space:nowrap}
.og-band-navy .og-h2-34{color:#fff}
.og-ld-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:88px;align-items:center}
.og-ld-text{display:flex;flex-direction:column;gap:16px}
.og-ld-intro{font-size:17px;line-height:1.65;color:var(--onnavy-muted);max-width:590px}
.og-section .og-xp-rows{margin-top:8px}
.og-xp-row{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;padding:18px 0;border-top:1px solid rgba(183,199,214,0.25)}
.og-xp-row:last-child{border-bottom:1px solid rgba(183,199,214,0.25)}
.og-xp-name{font-size:19px;line-height:1.3;color:#fff;white-space:nowrap}
.og-xp-cs a{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-family:var(--head);font-weight:600;font-size:15px;color:#9DBBD3}
.og-xp-cs a:hover{color:#fff;text-decoration:none}
.og-xp-cs a::after{content:"";flex-shrink:0;width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform 0.2s}
.og-xp-cs a:hover::after{transform:translateX(3px)}
.og-xp-row > p{font-size:16px;line-height:1.6;color:var(--onnavy-muted)}
.og-ld-card{background:#fff;border-top:4px solid var(--steel);display:flex;flex-direction:column}
.og-ld-photo{height:320px;background:var(--line);border-bottom:1px dashed #9FB3C4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;color:var(--muted);font-size:14px;line-height:1.45}
.og-ld-photo::before{content:"";width:32px;height:32px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/contain no-repeat}
.og-ld-photo-title{font-family:var(--head);font-weight:600;font-size:15px;color:var(--ink)}
.og-ld-body{padding:24px 28px 28px}
.og-ld-name{font-family:var(--head);font-weight:600;font-size:22px;color:var(--navy)}
.og-section .og-mt2{margin-top:2px}

/* Contact page ----------------------------------------------------------------------------------------- */
.og-hero-inner .og-hero-sub.og-sub-560{max-width:560px;margin-top:20px}
.og-ct-grid{display:grid;grid-template-columns:660px minmax(0,1fr);gap:80px;align-items:start}
.og-enq-card.og-enq-card-contact{padding:48px}
.og-enq-card-contact .og-field textarea{min-height:140px}
.og-ct-side{padding-top:48px;display:flex;flex-direction:column;gap:24px}
.og-ct-side .og-enq-side-title{font-size:26px}
.og-section .og-ct-rows.og-ct-rows-flush{margin-top:0}
.og-ct-note{color:var(--muted);font-size:14px;line-height:1.5}

/* Operational diagnostic --------------------------------------------------------------------------- */
.og-page-title.og-title-lg{font-size:clamp(36px,5.4vw,56px)}
.og-hero .og-diag-figs{display:grid;grid-template-columns:repeat(3,max-content);gap:24px 64px;margin-top:32px;padding-top:28px;border-top:1px solid rgba(183,199,214,0.25);max-width:720px}
.og-hero-num{font-family:var(--head);font-weight:700;color:#fff;line-height:1;font-size:40px}
.og-diag-figs .og-hero-label{margin-top:8px}
.og-hero .og-hero-cta{margin-top:36px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.og-hero .og-hero-cta .og-btns{margin-top:0}
.og-hero-cta-note{color:var(--onnavy-muted);font-size:16px}
.og-section-intro.og-intro-640{max-width:640px}
.og-section .og-card-foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}
.og-section .og-mb6{margin-bottom:6px}
.og-section .og-mb16{margin-bottom:16px}
.og-fit-link.og-fit-link-16 a{font-size:16px}
.og-fit-link.og-fit-link-16 a:hover{text-decoration:underline}
.og-section .og-steps.og-steps-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.og-section .og-offer-panel{background:#fff;border-top:4px solid var(--steel);padding:48px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:56px;align-items:center;margin-top:40px}
.og-check-list.og-check-14{gap:14px}
.og-price-box{border-left:1px solid var(--line);padding-left:56px;display:flex;flex-direction:column;gap:8px}
.og-price-box .og-price{font-size:60px}
.og-section .og-price-label{color:var(--muted);font-size:14px;margin-top:4px}
.og-price-note{color:var(--muted);font-size:14px;line-height:1.5}
.og-section .og-price-credit{color:var(--ink);font-size:15px;line-height:1.5;font-weight:500;margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}
.og-section .og-btns.og-btns-price{margin-top:16px;align-self:flex-start}

/* Booking form (on a white band) */
.og-container.og-book{max-width:760px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.og-book .wpcf7{width:100%;margin-top:12px;text-align:left}
.og-book .wpcf7 form{margin:0}
.og-book .og-form-grid{gap:20px 24px}
.og-book .og-field label{color:var(--navy)}
.og-book .og-req{color:var(--steel)}
.og-book .og-field textarea{min-height:120px}
.og-book .og-field input:focus,.og-book .og-field select:focus,.og-book .og-field textarea:focus{outline:2px solid var(--steel);outline-offset:1px;border-color:var(--steel)}
.og-book .og-form-foot{gap:20px;flex-wrap:wrap}
.og-book .og-fm-note{color:var(--muted)}
.og-book .og-fm-note a{color:var(--steel)}
.og-book .og-fm-note a:hover{color:var(--steel-dark)}
.og-book .wpcf7-not-valid-tip{color:#B42318;font-size:14px;margin-top:4px}
.og-book .wpcf7 form .wpcf7-response-output{margin:20px 0 0;padding:10px 14px;font-size:14px;border-radius:4px}

/* Thank you pages ------------------------------------------------------------------------------------- */
.og-ty-hero .og-container::before{content:"";display:block;width:48px;height:48px;background:#9DBBD3;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='8 12.5 11 15.5 16 9.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='8 12.5 11 15.5 16 9.5'/%3E%3C/svg%3E") center/contain no-repeat}
.og-hero-inner .og-hero-sub.og-sub-600{max-width:600px;margin-top:20px}
.og-ty-body{max-width:560px;display:flex;flex-direction:column;gap:24px}
.og-ty-body .og-enq-side-title{font-size:26px}
.og-section .og-ty-lead{color:var(--muted);font-size:17px;line-height:1.55;margin-top:8px}

/* Legal pages ------------------------------------------------------------------------------------------ */
.og-hero .og-hero-date{color:var(--onnavy-muted);font-size:14px;margin-top:20px}
.og-ph{background:#FFF1BF;color:#5A4500;padding:1px 5px;border-radius:3px;font-weight:500}
.og-lg-grid{display:grid;grid-template-columns:minmax(0,720px) 240px;gap:64px;align-items:start}
.og-lg-body h2{font-size:26px;line-height:1.25;margin:56px 0 16px}
.og-lg-body h2:first-child{margin-top:0}
.og-lg-body h3{font-size:19px;margin:28px 0 10px}
.og-lg-body p{font-size:17px;line-height:1.65;color:var(--ink);margin:0 0 14px}
.og-lg-body .og-lg-intro{font-size:19px;line-height:1.6}
.og-lg-body ul{margin:0 0 14px;padding-left:22px}
.og-lg-body li{font-size:17px;line-height:1.6;margin-bottom:8px;padding-left:4px}
.og-lg-body li::marker{color:var(--steel)}
.og-lg-body .wp-block-table.og-lg-table{margin:8px 0 18px;overflow-x:auto}
.og-lg-table table{width:100%;border-collapse:collapse;table-layout:auto}
.og-lg-table thead{border:0}
.og-lg-table th{font-family:var(--head);font-weight:600;font-size:14px;color:var(--muted);text-align:left;padding:0 16px 10px 0;vertical-align:bottom;border:0}
.og-lg-table td{font-size:16px;line-height:1.55;padding:14px 16px 14px 0;border:0;border-top:1px solid var(--line);vertical-align:top}
.og-lg-table tr:last-child td{border-bottom:1px solid var(--line)}
.og-lg-table td:first-child{font-weight:500;color:var(--navy)}
.og-lg-table code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;background:var(--steel-light);padding:2px 6px;border-radius:3px;color:var(--navy);font-weight:400}
.og-lg-w-34-a th:first-child{width:34%}
.og-lg-w-44-a th:first-child{width:44%}
.og-lg-w-24-18-a-15 th:nth-child(1){width:24%}
.og-lg-w-24-18-a-15 th:nth-child(2){width:18%}
.og-lg-w-24-18-a-15 th:nth-child(4){width:15%}
.og-lg-aside{position:sticky;top:108px;padding-top:4px}
.admin-bar .og-lg-aside{top:140px}
.og-lg-aside .og-lg-toc{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--line);padding-top:16px}
.og-lg-toc li{margin:0}
.og-lg-toc a{font-size:15px;line-height:1.4;color:var(--ink)}
.og-lg-toc a:hover{color:var(--steel)}
.og-btn.og-btn-ghost{background:transparent;color:var(--navy);border-color:var(--navy);cursor:pointer}
.og-btn.og-btn-ghost:hover,.og-btn.og-btn-ghost:focus{background:var(--navy);color:#fff}

/* 404 ---------------------------------------------------------------------------------------------------- */
.og-section .og-mt16,.og-hero .og-mt16{margin-top:16px}
.wp-block-buttons.og-btns.og-btns-16{gap:16px}

/* Anchored sections stop just below the sticky header ------------------------------------------------------ */
section[id],.og-lg-body h2[id]{scroll-margin-top:76px}
.og-lg-body h2[id]{scroll-margin-top:100px}
.admin-bar section[id]{scroll-margin-top:108px}
.admin-bar .og-lg-body h2[id]{scroll-margin-top:132px}

/* Footer -------------------------------------------------------------------- */
.og-footer{background:var(--navy);padding:64px 0 0}
.og-ft-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:48px}
.og-ft-h{font-family:var(--head);font-weight:600;font-size:18px;color:#fff;margin:0 0 20px}
.og-ft-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.og-ft-list a,.og-ft-text{color:var(--onnavy-muted);font-size:15px;line-height:1.5}
.og-ft-company{margin-top:12px}
.og-ft-list a{display:inline-flex;align-items:center;gap:10px}
.og-ft-list a:hover,.og-ft-bottom a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--steel);text-decoration-thickness:2px;text-underline-offset:5px}
.og-ft-list svg{flex-shrink:0;color:var(--onnavy-muted)}
.og-ft-bottom{margin-top:56px;border-top:1px solid rgba(183,199,214,0.2);padding:24px 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:center;color:var(--onnavy-muted);font-size:14px}
.og-ft-links{display:flex;gap:24px}
.og-ft-bottom a{color:var(--onnavy-muted);font-size:14px}
.og-ft-cookie{background:none;border:0;padding:0;font-family:inherit;font-size:14px;color:var(--onnavy-muted);cursor:pointer}
.og-ft-cookie:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--steel);text-decoration-thickness:2px;text-underline-offset:5px}

/* Narrow screens: carried over from the mockup. The mobile layout below
   builds on these. --------------------------------------------------------- */
@media (max-width:820px){
  .og-nav{display:none}
  .og-container{padding:0 24px}
  .og-cs-track{flex-direction:column;transform:none !important}
  .og-cs-track > .og-cs-card{flex-basis:auto}
  .og-cs-controls,.og-cs-dots{display:none}
  .og-ft-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 24px}
  .og-svc-row,.og-split-row,.og-section .og-cs-panel{grid-template-columns:1fr;gap:32px}
  .og-img-slot{width:100%}
  .og-close-grid,.og-challenge-grid,.og-section .og-delivered-grid,.og-result-grid,.og-enq-grid{grid-template-columns:1fr;gap:32px}
  .og-img-slot.og-img-slot-tall{width:100%}
  .og-ab-portrait{display:none}
  .og-ct-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .og-section .og-offer-panel{grid-template-columns:1fr;gap:32px}
  .og-lg-grid{grid-template-columns:minmax(0,1fr)}
  .og-lg-aside{display:none}
  .og-form-grid{grid-template-columns:minmax(0,1fr)}
}

/* Homepage hero subline, widened so the sales line sits on two even lines (2 October 2026) */
.og-hero .og-hero-sub.og-sub-620{max-width:620px}

/* ==========================================================================
   Mobile and tablet (820px and narrower), added 2 October 2026
   ========================================================================== */

/* Menu button, menu panel and contact bar are hidden on desktop. */
.og-menu-btn,.og-menu,.og-mbar{display:none}

@media (max-width:820px){
  /* Header: logo and menu button; scrolls away with the page. */
  .og-header{position:relative;top:auto}
  .admin-bar .og-header{top:auto}
  .og-header-inner{height:68px}
  .og-header-inner > .og-btn{display:none}
  .og-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-10px;background:transparent;border:0;border-radius:4px;color:var(--navy);padding:0}
  .og-menu-btn svg{display:block}
  .og-menu-btn .og-icon-close,.og-menu-btn[aria-expanded="true"] .og-icon-open{display:none}
  .og-menu-btn[aria-expanded="true"] .og-icon-close{display:block}
  .og-menu{display:block;position:absolute;top:100%;left:0;right:0;z-index:30;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(14,42,68,0.12)}
  .og-menu[hidden]{display:none}
  .og-menu-inner{padding-top:8px;padding-bottom:24px}
  .og-menu-links{list-style:none;margin:0;padding:0}
  .og-menu-links li{border-bottom:1px solid var(--line)}
  .og-menu-links a{display:flex;align-items:center;min-height:52px;font-family:var(--head);font-weight:600;font-size:19px;color:var(--navy)}
  .og-menu-links a:hover{color:var(--steel);text-decoration:none}
  .og-menu-links a.is-current{color:var(--steel)}
  .og-menu .og-btn{width:100%;margin-top:20px;min-height:48px}

  /* Contact bar fixed to the bottom of the screen. */
  body.og-site{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  .og-mbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:25;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 16px rgba(14,42,68,0.08);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}
  .og-mbar .og-btn{min-height:48px;gap:8px;padding:0 12px}
  .og-mbar svg{flex-shrink:0}
  .og-btn.og-btn-call{background:#fff;color:var(--navy);border-color:var(--navy)}
  .og-btn.og-btn-call:hover,.og-btn.og-btn-call:focus{background:var(--navy);color:#fff}

  /* Anchored sections: no sticky header to clear. */
  section[id],.admin-bar section[id]{scroll-margin-top:16px}
  .og-lg-body h2[id],.admin-bar .og-lg-body h2[id]{scroll-margin-top:16px}

  /* Buttons comfortable to tap. */
  .og-btn.og-btn-sm,
  .wp-block-button.og-btn-sm > .wp-block-button__link{min-height:44px}

  /* Text: let lines fill the width rather than balancing short lines. */
  .og-hero-sub,.og-cs-hero .og-cs-hero-sub,.og-ab-hero .og-ab-sub{text-wrap:pretty}
  .og-h2-34{font-size:28px}
  .og-cs-title{font-size:clamp(32px,8.5vw,40px)}
  .og-cs-hero .og-cs-client{font-size:20px}
  .og-result-quote{font-size:26px}

  /* Figures: numbers never wrap, labels may. */
  .og-section .og-eng-figs .og-fig-label,.og-section .og-dg-figs .og-fig-label,
  .og-section .og-sv-fig .og-fig-label,.og-hub-figs p,.og-fig-strip p{white-space:normal}
  .og-fig-num{white-space:nowrap}
  .og-svc-figs,.og-eng-figs,.og-section .og-dg-figs{flex-wrap:wrap;gap:20px 32px}
  .og-hub-figs,.og-hub-figs.og-hub-figs-legacy-system-migration,
  .og-hub-figs.og-hub-figs-automotive-production-launch{display:flex;flex-wrap:wrap;gap:20px 32px}

  /* Grids to one column. */
  .og-section .og-grid-3,.og-section .og-rel-grid,.og-section .og-val-grid{grid-template-columns:minmax(0,1fr)}
  .og-section .og-grid-3{gap:20px}
  .og-section .og-rel-grid,.og-section .og-val-grid{gap:32px}
  .og-section .og-steps,.og-section .og-steps.og-steps-3{grid-template-columns:minmax(0,1fr);gap:24px}
  .og-section .og-details{grid-template-columns:minmax(0,1fr);gap:16px}
  .og-ld-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .og-work-row,.og-xp-row{grid-template-columns:minmax(0,1fr);gap:8px}
  .og-xp-name{white-space:normal}

  /* Panels and cards: less padding. */
  .og-section .og-cs-panel,.og-section .og-offer-panel{padding:28px 24px}
  .og-dg-card,.og-enq-card,.og-enq-card.og-enq-card-contact{padding:28px 24px}
  .og-card,.og-cs-body{padding:28px 24px}
  .og-price-box{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:24px}
  .og-ct-side{padding-top:0}
  .og-img-slot{height:280px}
  .og-img-slot.og-img-slot-tall{min-height:320px}
  .og-ld-photo{height:280px}
  .og-ab-hero{min-height:0}
  .og-container.og-ab-hero-inner{padding-top:56px;padding-bottom:64px}
  .og-hero .og-hero-facts.og-hero-facts-tight,.og-ab-hero .og-hero-facts{flex-wrap:wrap;gap:20px 32px}
  .og-hero .og-diag-figs{grid-template-columns:repeat(2,max-content);gap:24px 40px}
  .og-hero-num{font-size:34px}

  /* Case study hero and figures strip. */
  .og-cs-hero{padding:56px 0 104px}
  .og-cs-hero .og-img-note{display:none}
  .og-fig-strip.og-strip-dc,.og-fig-strip.og-strip-lsm,.og-fig-strip.og-strip-apl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .og-fig-strip > .og-fig{padding:20px 16px}
  .og-fig-strip > .og-fig + .og-fig{border-left:0}
  .og-fig-strip > .og-fig:nth-child(even){border-left:1px solid var(--line)}
  .og-fig-strip > .og-fig:nth-child(n+3){border-top:1px solid var(--line)}
  .og-fig-strip .og-fig-num{font-size:26px}
  .og-fig-strip .og-fig-label{font-size:13px;margin-top:6px}
  .og-glance{padding:24px}
  .og-result-figs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .og-result-fig .og-fig-num{font-size:32px}

  /* Long links wrap instead of running off the screen. */
  .og-fit-link a,.og-cs-panel-title a{max-width:100%}
  .og-fit-link a{font-size:19px}
  .og-cs-panel-title{font-size:24px}

  /* Footer: address and contact full width, link lists side by side. */
  .og-footer{padding-top:48px}
  .og-ft-grid > div:nth-child(-n+2){grid-column:1 / -1}
  .og-ft-list{gap:4px}
  .og-ft-list a{min-height:40px}
  .og-ft-h{margin-bottom:12px}
  .og-ft-bottom{margin-top:40px;flex-direction:column;align-items:flex-start}
  .og-ft-links{flex-wrap:wrap;gap:12px 24px}
}

/* Small phones */
@media (max-width:400px){
  .og-container{padding:0 20px}
  .og-section .og-cs-panel,.og-section .og-offer-panel,.og-dg-card,.og-enq-card,
  .og-enq-card.og-enq-card-contact,.og-card,.og-cs-body{padding:24px 20px}
}

/* Mobile additions --------------------------------------------------------------- */
@media (max-width:820px){
  /* Titles flow as text rather than keeping the desktop line breaks
     (the diagnostic title keeps its two lines). */
  .og-page-title:not(.og-title-lg) br,.og-cs-title br{display:none}
  .og-page-title,.og-cs-title{text-wrap:balance}
  /* Homepage title: three lines that each fit, down to small phones. */
  .og-hero-title{font-size:clamp(28px,8.2vw,32px)}
  .og-cs-panel-figs{gap:24px}
  .og-cs-fig .og-fig-num{font-size:28px}
}
@media (max-width:820px){
  /* Form footer: button, then the privacy note beneath it. */
  .og-form-foot{flex-direction:column;align-items:flex-start;gap:14px}
  /* Checklists: tick sits beside the first line when an item wraps. */
  .og-check-list li{align-items:flex-start}
  /* Legal tables: each row becomes a stack of labelled lines. */
  .og-lg-table table.og-stackable thead{display:none}
  .og-lg-table table.og-stackable tr{display:block;padding:12px 0;border-top:1px solid var(--line)}
  .og-lg-table table.og-stackable tr:last-child{border-bottom:1px solid var(--line)}
  .og-lg-table table.og-stackable td{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;width:auto;padding:4px 0;border:0;font-size:15px}
  .og-lg-table table.og-stackable td::before{content:attr(data-label);font-family:var(--head);font-weight:600;font-size:13px;color:var(--muted);padding-top:2px}
  .og-lg-table table.og-stackable tr:last-child td{border-bottom:0}
  .og-lg-table table.og-stackable td > code{justify-self:start}
}

/* Tablets and small laptops (821px to 1100px): fixed desktop widths relaxed
   so nothing runs off the side. ------------------------------------------- */
@media (min-width:821px) and (max-width:1100px){
  .og-ct-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:48px}
  .og-hub-figs,.og-hub-figs.og-hub-figs-legacy-system-migration,
  .og-hub-figs.og-hub-figs-automotive-production-launch{display:flex;flex-wrap:wrap;gap:16px 32px}
  .og-hub-figs p{white-space:normal}
  .og-hub-figs .og-fig-num{white-space:nowrap}
  .og-fig-strip > .og-fig{padding:24px 20px}
  .og-fig-strip .og-fig-num{font-size:32px}
  .og-svc-row,.og-split-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}
  .og-img-slot{width:100%}
}


/* Photos (replaced the image placeholders, October 2026) ------------------------------------ */
.og-photo{width:460px;height:400px;margin:0;overflow:hidden;background:var(--line)}
.og-photo img{display:block;width:100%;height:100%;object-fit:cover}
.og-photo.og-photo-tall{width:400px;height:auto;min-height:560px;position:relative}
.og-photo.og-photo-tall img{position:absolute;inset:0}
.og-cs-hero .og-cs-hero-img{position:absolute;inset:0;margin:0;z-index:0}
.og-cs-hero .og-cs-hero-img img{display:block;width:100%;height:100%;object-fit:cover}
.og-ld-card .og-ld-headshot{height:320px;margin:0;overflow:hidden;background:var(--line)}
.og-ld-card .og-ld-headshot img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.og-cs-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(14,42,68,0.96) 0%,rgba(14,42,68,0.88) 55%,rgba(14,42,68,0.62) 100%)}
.og-cs-hero > .og-container{z-index:2}
.og-cs-hero{isolation:isolate}
.og-strip-wrap .og-fig-strip{z-index:2}
@media (min-width:821px) and (max-width:1100px){
  .og-photo{width:100%}
}
@media (max-width:820px){
  .og-photo,.og-photo.og-photo-tall{width:100%}
  .og-photo{height:280px}
  .og-photo.og-photo-tall{min-height:320px}
}
@media (max-width:820px){
  .og-ld-card .og-ld-headshot{height:280px}
}
