/* 1. Brand variables */
:root {
  --navy: #0A2A56;
  --teal: #0C93B2;
  --dark-text: #1D2633;
  --blue-grey: #53677E;
  --supporting-text: #495E74;
  --light-bg: #EDF5F8;
  --very-light-bg: #F8FBFC;
  --white: #FFFFFF;
  --teal-text: #08758C;
  --border: #DCE6EC;
  --max-width: 1200px;
  --anchor-offset: 106px;
}

/* 2. Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; color: var(--dark-text); background: var(--white); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
p { margin: 0 0 20px; color: var(--supporting-text); }
ul, ol { margin: 0; padding: 0; }
section, main { scroll-margin-top: var(--anchor-offset); }

/* 3. Typography */
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.2; }
h1 { font-size: clamp(42px, 4.5vw, 62px); font-weight: 650; letter-spacing: -2.5px; }
h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 650; letter-spacing: -1.3px; margin-bottom: 24px; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.35px; margin-bottom: 14px; }
.eyebrow { color: var(--teal-text); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; line-height: 1.9; margin-bottom: 20px; }
.muted-heading { color: var(--blue-grey); }
.card-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }

/* 4. Shared layout and controls */
.container { width: min(var(--max-width), calc(100% - 96px)); margin-inline: auto; }
.section { padding: 86px 0; }
/* Let grid/flex content wrap within its column rather than widening the page. */
.container > *, .services-grid > *, .stages-grid > *, .case-grid > *, .process > * { min-width: 0; }
.section-tinted { background: var(--very-light-bg); border-block: 1px solid #EDF1F4; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p, .section-heading > div + div { max-width: 355px; flex-shrink: 0; margin-bottom: 0; }
.section-heading > div + div p:last-child { margin-bottom: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; background: var(--teal-text); color: var(--white); padding: 14px 21px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .18s, transform .18s; }
.button:hover { background: var(--navy); transform: translateY(-2px); }
.button-small { padding: 11px 14px; font-size: 12px; gap: 12px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { color: var(--navy); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; }
.text-link:hover { color: var(--teal-text); text-decoration: underline; text-underline-offset: 5px; }
.check { display: inline-grid; place-items: center; color: var(--teal-text); border: 1px solid #B9DCE2; border-radius: 50%; width: 24px; height: 24px; flex-shrink: 0; font-size: 13px; }

/* 5. Header and navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); white-space: nowrap; font-size: 23px; font-weight: 700; letter-spacing: -.8px; }
.brand-light { font-weight: 400; }
/* SVG includes the original skew and 2px vertical clearance on each side.
   The visible mark remains 27px wide and centred on the existing wordmark. */
.brand-mark { display: block; width: 27px; height: 33px; flex-shrink: 0; }
.primary-nav { display: flex; align-items: center; gap: 19px; }
.primary-nav > a:not(.button) { font-size: 12px; font-weight: 600; padding-block: 14px; }
.primary-nav > a:not(.button):hover { color: var(--teal-text); }
.menu-toggle { display: none; }

/* 6. Hero */
.hero { background: linear-gradient(110deg, #FFFFFF 30%, #F0F7F9 100%); padding: 86px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: center; }
.hero-copy .eyebrow { font-size: 10px; letter-spacing: 1.2px; max-width: 540px; }
.hero-copy .eyebrow span { color: var(--teal); margin-inline: 3px; }
.hero h1 span { color: var(--teal-text); }
.hero-description { font-size: 19px; margin-top: 28px; margin-bottom: 12px; color: var(--navy); }
.hero-copy > p:not(.eyebrow):not(.credibility) { max-width: 545px; }
.credibility { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 32px 0 0; }
.hero-visual { position: relative; padding: 26px 28px 20px; border: 1px solid #DCE7ED; border-radius: 10px; background: linear-gradient(145deg,#F8FBFC,#E8F2F6); box-shadow: 0 20px 55px #0A2A5609; }
.visual-heading { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--blue-grey); margin-bottom: 26px; }
.status-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.visual-reference { margin-left: auto; font-size: 9px; letter-spacing: 2px; }
.platform-card { display: flex; align-items: center; gap: 15px; padding: 22px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 6px 15px #0A2A5605; }
.platform-card .platform-title, .preserve-card .platform-title { color: var(--navy); font-weight: 650; line-height: 1.2; font-size: 19px; letter-spacing: -.3px; margin: 3px 0 5px; }
.platform-card p, .preserve-card p { font-size: 12px; margin: 0; }
.platform-card .card-label { color: var(--supporting-text); font-size: 10px; }
.platform-icon { width: 39px; height: 43px; display: grid; place-items: center; background: var(--light-bg); border-radius: 5px; color: var(--blue-grey); font-size: 25px; }
.step-label { margin-left: auto; align-self: start; color: #7890A0; font-size: 10px; }
.connector { height: 39px; display: grid; place-items: center; color: #7492A4; }
.connector span { font-size: 23px; line-height: 1; }
.preserve-card { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px dashed #B1CFD8; border-radius: 5px; padding: 16px 10px; background: #F4F9FA; }
.preserve-card .platform-title { font-size: 15px; }
.preserve-card p { font-size: 11px; }
.modern-card { background: var(--navy); border-color: var(--navy); }
.modern-card .platform-title { color: var(--white); }
.modern-card p, .modern-card .card-label, .modern-card .step-label { color: #C5DFEB; }
.modern-card .platform-icon { background: #204166; color: #88D6E5; }
.visual-caption { text-align: center; font-size: 11px; margin: 22px 0 0; letter-spacing: .25px; }
.capability-strip { border-block: 1px solid var(--border); }
.capability-strip .container { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; }
.capability-strip span { font-size: 11px; font-weight: 600; color: var(--blue-grey); }
.capability-strip span::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--teal); margin-right: 10px; vertical-align: middle; }

/* 7. Content sections */
.body-copy { padding-top: 4px; }
.inline-note { padding-left: 17px; border-left: 3px solid var(--teal); color: var(--navy); font-size: 14px; font-weight: 600; margin-top: 25px; }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 110px; }
.experience { display: flex; align-items: center; gap: 22px; margin-top: 35px; }
.experience strong { font-size: 65px; line-height: 1; color: var(--teal-text); font-weight: 600; letter-spacing: -3px; }
.experience span { color: var(--blue-grey); font-size: 12px; }
.reasons article { padding: 0 0 22px 25px; margin-bottom: 22px; border-bottom: 1px solid var(--border); position: relative; }
.reasons article::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--teal); }
.reasons article:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.reasons h3 { font-size: 17px; margin-bottom: 8px; }
.reasons p { font-size: 15px; margin-bottom: 0; }
.custom-grid { align-items: center; }
.capability-list { list-style: none; margin-bottom: 26px; }
.capability-list li { padding: 5px 0; color: var(--navy); font-size: 14px; }
.capability-list li::before { content: "✓"; color: var(--teal-text); margin-right: 12px; }
.technology-panel { padding: 38px; background: var(--light-bg); border: 1px solid var(--border); border-top: 3px solid var(--teal); border-radius: 5px; }
.technology-panel h3 { font-size: 26px; }
.technology-panel dl { margin: 26px 0; }
.technology-panel dl div { padding: 14px 0; border-bottom: 1px solid #D4E3EA; }
.technology-panel dt { font-size: 10px; color: var(--blue-grey); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.technology-panel dd { margin: 0; color: var(--navy); font-size: 14px; }
.technology-panel > p:last-child { font-size: 12px; margin-bottom: 0; }
/* Dividers sit in the flex gaps. Clipping hides the leading divider on each
   wrapped row, so no row starts or ends with a bullet. Names keep their weight. */
.technology-list { display: flex; flex-wrap: wrap; column-gap: 1.35em; overflow: hidden; line-height: 1.7; }
.technology-list > span { position: relative; max-width: 100%; overflow-wrap: anywhere; }
.technology-list > span::before { content: ""; position: absolute; left: -.825em; top: .85em; transform: translateY(-50%); width: .3em; height: .3em; border-radius: 50%; background: var(--supporting-text); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 90px; }
.founder { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.founder-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #CCDDE5; border-radius: 50%; color: var(--navy); font-size: 13px; }
.founder strong { color: var(--navy); font-size: 14px; }
.founder div span { display: block; font-size: 12px; color: var(--blue-grey); }

/* 8. Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: start; padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: 5px; transition: border-color .18s, transform .18s; }
.service-card:hover { border-color: #9AC4D0; transform: translateY(-3px); }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; background: var(--light-bg); color: var(--teal-text); border-radius: 5px; font-size: 26px; margin-bottom: 25px; }
.icon-code { font-size: 18px; }
.service-number { position: absolute; top: 35px; right: 30px; font-size: 10px; letter-spacing: 1px; color: var(--blue-grey); }
.service-card h3 { font-size: 18px; }
.service-card p { font-size: 15px; }
.service-card .text-link { margin-top: auto; font-size: 12px; }

/* 9. Modernisation */
.section-kicker { color: var(--teal-text); font-weight: 600; }
.technology-path { display: flex; align-items: center; gap: 20px; padding: 21px 25px; background: var(--light-bg); color: var(--navy); font-size: 15px; font-weight: 600; border-radius: 5px; margin-bottom: 32px; }
.path-line { width: 70px; height: 1px; background: var(--teal); position: relative; }
.path-line::after { content: ""; width: 6px; height: 6px; border-top: 1px solid var(--teal); border-right: 1px solid var(--teal); position: absolute; right: 0; top: -2.5px; transform: rotate(45deg); }
.path-caption { margin-left: auto; color: var(--blue-grey); font-size: 12px; font-weight: 400; }
.stages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 30px; }
.stage { padding: 28px; border: 1px solid var(--border); border-top: 3px solid #D7E4EA; border-radius: 4px; transition: border-color .18s, background-color .18s, box-shadow .18s; }
.stage-featured { background: var(--very-light-bg); border-top-color: var(--teal); }
.stage:hover, .stage:focus-within { border-color: #9AC4D0; border-top-color: var(--teal); background: var(--very-light-bg); box-shadow: 0 3px 12px #0A2A5608; }
.stage-number { color: var(--teal-text); font-size: 12px; letter-spacing: 2px; display: block; margin-bottom: 21px; }
.stage p { font-size: 15px; }
.stage ul { padding-left: 16px; font-size: 14px; color: var(--supporting-text); }
.stage li { margin-bottom: 10px; padding-left: 4px; }
.stage li::marker { color: var(--teal-text); }
.stage .stage-footnote { font-size: 12px; margin: 20px 0 0; }

/* 10. Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin-top: 52px; }
.process li { position: relative; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 58px; right: -12px; height: 1px; background: var(--border); }
.process-number { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #C5DCE5; border-radius: 50%; background: var(--very-light-bg); color: var(--teal-text); font-size: 12px; margin-bottom: 24px; }
.process h3 { font-size: 17px; }
.process p { font-size: 14px; margin: 0; }

/* 11. Case studies */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.case-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.case-banner { padding: 22px 30px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: linear-gradient(110deg,#E2EEF3,#F0F6F8); border-bottom: 1px solid var(--border); color: var(--navy); font-size: 12px; font-weight: 600; }
.case-banner span + span { color: var(--blue-grey); font-size: 9px; letter-spacing: 1.5px; }
.case-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 32px; }
.tag { color: var(--teal-text); font-size: 10px; font-weight: 600; letter-spacing: .4px; margin-bottom: 16px; }
.case-content h3 { font-size: 25px; margin-bottom: 20px; }
.case-content > p:not(.tag) { font-size: 15px; line-height: 1.75; }
.case-stack { width: 100%; border-top: 1px solid var(--border); padding-top: 20px; margin-top: auto; }
.case-stack .card-label { color: var(--supporting-text); font-size: 11px; }
.case-stack p { font-size: 13px; color: var(--navy); margin: 8px 0 0; }
.case-content > .text-link { margin-top: 22px; padding-left: 14px; border-left: 3px solid var(--teal); transition: color .18s; }
.case-content > .text-link:focus-visible { color: var(--teal-text); }

/* Full case-study pages: shared article layout, within the existing design system. */
.study-header { padding: 52px 0 58px; background: var(--very-light-bg); border-bottom: 1px solid var(--border); }
.study-header .eyebrow { margin-top: 32px; }
.study-header h1 { max-width: 1000px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -1.5px; }
.study-subtitle { margin: 24px 0 16px; color: var(--navy); font-size: 18px; }
.study-progression { margin: 0; color: var(--teal-text); font-size: 14px; font-weight: 600; }
.study-body { padding-block: 52px 64px; }
.study-body-readable { max-width: 960px; }
.study-summary { padding: 32px; background: var(--light-bg); border: 1px solid var(--border); border-left: 3px solid var(--teal); border-radius: 4px; }
.study-summary h2, .study-block h2 { font-size: clamp(26px, 2.6vw, 34px); }
.study-summary p { max-width: 85ch; }
.study-summary p:last-child, .study-block p:last-child { margin-bottom: 0; }
.study-block { margin-top: 52px; }
.study-block > p { max-width: 85ch; }
.study-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.study-columns > *, .study-challenges > * { min-width: 0; }
.study-list { padding-left: 20px; color: var(--supporting-text); }
.study-list li { margin-bottom: 8px; padding-left: 4px; }
.study-list li::marker { color: var(--teal-text); }
.study-list-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.study-technologies { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.study-technologies li { max-width: 100%; padding: 10px 16px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 4px; color: var(--navy); font-size: 14px; }
.study-challenges { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.study-challenge { padding: 26px; border: 1px solid var(--border); border-radius: 4px; }
.study-challenge h3 { font-size: 18px; }
.study-challenge p { font-size: 15px; }
.study-callout { padding: 28px 32px; background: var(--very-light-bg); border-left: 3px solid var(--teal); }
.study-takeaway { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--navy); font-weight: 600; max-width: 80ch; }
.study-next { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border); }
.study-contact { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.study-contact .button { flex-shrink: 0; }
.study-contact p { margin-bottom: 0; }

/* 12. FAQ: native details remain usable without JavaScript */
.faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 90px; }
.faq-layout > div > p:not(.eyebrow) { font-size: 14px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary { position: relative; list-style: none; padding: 22px 40px 22px 0; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.5; cursor: pointer; transition: color .18s; }
.faq-item summary:hover { color: var(--teal-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 3px; top: 21px; color: var(--teal-text); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { font-size: 15px; padding-right: 25px; margin-bottom: 24px; }

/* 13. Contact */
.contact-section { background: var(--navy); padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 120px; align-items: center; }
.contact-section .eyebrow { color: #82D1DF; }
.contact-section h2 { color: var(--white); font-size: clamp(38px, 4vw, 52px); }
.contact-section p { color: #C4D4E4; max-width: 520px; }
.button-light { background: var(--white); color: var(--navy); margin-top: 10px; }
.button-light:hover { background: #DDEFF4; color: var(--navy); }
.contact-details { border-left: 1px solid #345174; padding-left: 48px; }
.contact-details h3 { color: var(--white); font-size: 21px; margin-bottom: 5px; }
.contact-details > p { font-size: 13px; }
.contact-details dl { margin: 28px 0 0; }
.contact-details dl div + div { margin-top: 18px; }
.contact-details dt { color: #9EB6CE; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.contact-details dd { margin: 0; color: var(--white); font-size: 15px; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-details dd span { margin-left: 8px; color: #8DCFD9; }

/* 14. Footer */
.site-footer { padding: 42px 0 24px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-top { padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-top p { font-size: 12px; margin: 12px 0 0; }
.footer-top > a { color: var(--navy); font-size: 12px; }
.footer-bottom { padding-top: 22px; }
.footer-bottom p { font-size: 12px; margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; color: var(--supporting-text); }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 24px; }
.site-footer nav a:hover { color: var(--teal-text); text-decoration: underline; }

/* Enquiry modal / contact form */
.text-link[data-enquiry] { border: 0; padding: 0; background: transparent; font-family: inherit; text-align: left; }
.enquiry-open { overflow: hidden; }
.enquiry-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; color: var(--dark-text); background: var(--white); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 16px 60px #0A2A5630; }
.enquiry-dialog[open] { display: flex; flex-direction: column; }
.enquiry-dialog::backdrop { background: #0A2A5699; }
.enquiry-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; flex-shrink: 0; border-bottom: 1px solid var(--border); }
.enquiry-header h2 { margin: 0; font-size: 26px; letter-spacing: -.6px; }
.enquiry-close { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 4px; background: var(--very-light-bg); color: var(--navy); font-size: 26px; line-height: 1; transition: background-color .18s; }
.enquiry-close:hover { background: var(--light-bg); }
.enquiry-body { padding: 24px 28px 28px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.enquiry-body > p { font-size: 15px; }
.enquiry-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.enquiry-note { font-size: 12px; margin-bottom: 18px; }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.enquiry-field label { display: block; color: var(--navy); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.enquiry-field label span { color: var(--supporting-text); font-size: 12px; font-weight: 400; }
.enquiry-field input, .enquiry-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid #AABBCB; border-radius: 4px; padding: 10px 12px; background: var(--white); color: var(--dark-text); font: inherit; font-size: 16px; line-height: 1.5; }
.enquiry-field textarea { resize: vertical; min-height: 120px; }
.enquiry-field textarea::placeholder { color: var(--supporting-text); opacity: 1; }
.enquiry-message { margin-block: 18px 22px; }
.enquiry-fields:disabled { opacity: .7; }
.enquiry-fields:disabled .button { cursor: wait; transform: none; }
.enquiry-status { margin: 18px 0 0; color: var(--navy); font-size: 14px; overflow-wrap: anywhere; }
.enquiry-status:empty { margin: 0; }
.enquiry-fallback { margin: 8px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.enquiry-fallback a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.enquiry-success h3 { font-size: 22px; }

/* Privacy article and enquiry notice */
.policy-content { max-width: 800px; overflow-wrap: anywhere; }
.policy-content a, .enquiry-privacy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.enquiry-privacy { margin: 0 0 18px; font-size: 13px; overflow-wrap: anywhere; }

/* 15. Responsive breakpoints */
@media (min-width: 1600px) { .hero { padding-block: 100px; } }
@media (max-width: 1190px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .primary-nav { gap: 12px; }
  .primary-nav .button-small { padding-inline: 10px; }
  .brand { font-size: 21px; }
  .hero-grid { gap: 36px; }
  h1 { font-size: 49px; }
  .split-layout, .why-grid, .about-grid, .faq-layout { gap: 55px; }
  .contact-grid { gap: 65px; }
}
@media (max-width: 1100px) {
  :root { --anchor-offset: 94px; }
  .header-inner { min-height: 74px; flex-wrap: wrap; }
  .menu-toggle { align-items: center; gap: 9px; min-height: 44px; color: var(--navy); background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 8px 12px; font-size: 13px; }
  .js .menu-toggle { display: inline-flex; }
  .menu-lines { width: 15px; height: 10px; border-block: 1px solid currentColor; position: relative; }
  .menu-lines::after { content: ""; position: absolute; top: 4px; width: 15px; border-top: 1px solid currentColor; }
  .primary-nav { width: 100%; max-height: calc(100dvh - 94px); overflow-y: auto; padding: 8px 8px 18px; flex-wrap: wrap; gap: 10px 24px; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; padding-block: 9px; }
  .hero { padding-block: 65px; }
  h1 { font-size: 43px; letter-spacing: -1.7px; }
  .hero-grid { gap: 28px; grid-template-columns: 1.15fr 1fr; }
  .hero-visual { padding: 22px 18px; }
  .platform-card { padding: 19px 14px; gap: 10px; }
  .platform-card .platform-title { font-size: 17px; }
  .section { padding-block: 68px; }
  .section-heading { gap: 35px; }
  .section-heading > p, .section-heading > div + div { max-width: 290px; }
  .service-card, .stage { padding: 23px; }
  .service-number { right: 23px; }
  .path-caption { display: none; }
  .contact-details { padding-left: 30px; }
  .footer-bottom { align-items: start; }
  .footer-bottom nav { justify-content: end; gap: 10px 16px; }
}
@media (max-width: 800px) {
  .study-header { padding-block: 32px 40px; }
  .study-body { padding-block: 36px 48px; }
  .study-summary, .study-callout { padding: 24px; }
  .study-block { margin-top: 40px; }
  .study-columns { grid-template-columns: 1fr; gap: 24px; }
  .study-contact { flex-direction: column; align-items: start; gap: 26px; }
  .container { width: calc(100% - 40px); }
  .hero-grid, .split-layout, .why-grid, .about-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding: 48px 0; }
  h1 { font-size: clamp(39px, 7.2vw, 54px); }
  h2 { font-size: 32px; }
  .hero-copy .eyebrow { max-width: 420px; }
  .hero-description { font-size: 18px; }
  .hero-visual { width: 100%; max-width: 480px; justify-self: center; padding: 24px; }
  .hero-visual .platform-card { padding: 20px; }
  .capability-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  .section { padding-block: 60px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p, .section-heading > div + div { max-width: 100%; margin-top: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stages-grid { grid-template-columns: 1fr; gap: 18px; }
  .stage { padding: 28px; }
  .experience { margin-top: 25px; }
  .process { grid-template-columns: 1fr; gap: 27px; margin-top: 32px; }
  .process li { padding-left: 67px; min-height: 70px; }
  .process-number { position: absolute; left: 0; top: 0; margin: 0; }
  .process li:not(:last-child)::after { top: 54px; bottom: -17px; left: 22px; right: auto; width: 1px; height: auto; }
  .process h3 { margin-bottom: 8px; }
  .case-grid { grid-template-columns: 1fr; }
  .technology-panel { padding: 30px; }
  .contact-section { padding-block: 60px; }
  .contact-details { border-left: 0; border-top: 1px solid #345174; padding: 30px 0 0; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: start; gap: 20px; }
  .footer-bottom nav { justify-content: start; }
  .footer-bottom nav a, .text-link { min-height: 44px; }
  .contact-details a { display: inline-block; padding-block: 8px; }
}
@media (max-width: 440px) {
  .enquiry-header { padding: 16px; }
  .enquiry-body { padding: 20px 16px; }
  .enquiry-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .study-challenges, .study-list-columns { grid-template-columns: 1fr; }
  .primary-nav { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .primary-nav > a, .primary-nav > .button { flex-shrink: 0; }
  .primary-nav > a:not(.button) { padding: 9px 8px; }
  .primary-nav .button { margin-top: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .button-row { align-items: start; gap: 20px; }
  .hero-copy .button { padding-inline: 15px; gap: 12px; }
  .hero-visual { padding: 19px 15px; }
  .hero-visual .platform-card { padding: 18px 13px; }
  .technology-path { padding: 17px; gap: 13px; font-size: 12px; }
  .path-line { width: 30px; flex-shrink: 0; }
  .case-content { padding: 24px; }
  .case-banner { padding: 20px 24px; }
  .case-banner span + span { font-size: 8px; }
}

/* 16. Accessibility and reduced motion */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--teal-text); outline-offset: 5px; border-radius: 2px; }
.contact-section :focus-visible { outline-color: #8DDCE9; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 20px; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
