/* Shared editorial design system. All assets are served locally. */
.back-to-top {
  position:fixed;
  right:max(20px,env(safe-area-inset-right));
  bottom:max(20px,env(safe-area-inset-bottom));
  z-index:30;
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid var(--blue);
  border-radius:8px;
  background:var(--blue);
  color:#fff;
  box-shadow:0 4px 16px #10243a26;
  cursor:pointer;
}
.back-to-top span { font-size:26px; line-height:1; }
.back-to-top:hover { background:#001f3f; }
:root {
  --bg:#fdfcf8;
  --paper:#f3f1e9;
  --ink:#10243a;
  --muted:#526071;
  --line:#d8d5c9;
  --accent:#c5a451;
  --gold:#c5a451;
  --gold-hover:#dbc077;
  --navy:#002f56;
  --blue:#002f56;
  --cloud-tint:#f6f0df;
  --cloud-line:#e1d5b4;
  --gutter:clamp(20px,4vw,64px)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:84px
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Segoe UI",Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.55
}

a {
  color:inherit;
  text-decoration:none
}

img {
  display:block;
  width:100%;
  height:auto
}

button {
  font:inherit
}

h1,h2,h3,p {
  margin-top:0
}

h1,h2,h3 {
  font-weight:350;
  line-height:1.12;
  letter-spacing:-.035em
}

h1 {
  font-size:clamp(42px,5.6vw,88px);
  margin-bottom:40px
}

h2 {
  font-size:clamp(32px,3.2vw,50px);
  margin-bottom:28px
}

h3 {
  font-size:28px
}

p {
  margin-bottom:24px
}

a,button {
  touch-action:manipulation
}

a:focus-visible,button:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:5px
}

[hidden] {
  display:none!important
}

.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  padding:16px;
  background:var(--blue);
  color:#fff;
  z-index:100
}

.skip-link:focus {
  top:8px
}

main:focus {
  outline:none
}

.eyebrow,.section-label {
  font-size:14px;
  line-height:1.5;
  font-weight:400;
  letter-spacing:0;
  margin-bottom:28px
}

.section {
  padding:88px var(--gutter)
}

/* Compact masthead and secondary navigation. */
.site-header {
  height:80px;
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:0 0 0 var(--gutter)
}

.brand {
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0
}

.brand-logo {
  width:76px;
  height:48px;
  object-fit:contain
}

.brand-name {
  font-size:16px;
  font-weight:600;
  line-height:1.3;
  border-left:1px solid var(--line);
  padding-left:16px
}

.brand-name span {
  display:block;
  font-size:12px;
  font-weight:400;
  color:var(--muted);
  margin-top:3px
}

.site-nav {
  display:flex;
  align-items:stretch;
  height:100%;
  font-size:14px
}

.site-nav>a {
  display:flex;
  align-items:center;
  padding:0 22px;
  position:relative
}

.site-nav>a:hover {
  background:var(--paper)
}

.site-nav>a[aria-current=page]:after {
  content:"";
  height:3px;
  background:var(--blue);
  position:absolute;
  bottom:0;
  left:22px;
  right:22px
}

.site-nav .nav-contact {
  border-left:1px solid var(--line);
  color:var(--blue);
  gap:25px
}

.services-dropdown { position:relative; }
.services-dropdown>summary {
  height:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 22px;
  cursor:pointer;
  list-style:none;
  position:relative;
}
.services-dropdown>summary::-webkit-details-marker { display:none; }
.services-dropdown>summary:hover,
.services-dropdown[open]>summary { background:var(--paper); }
.services-dropdown>summary:focus-visible { outline:2px solid var(--blue); outline-offset:-4px; }
.services-dropdown.is-current>summary::after {
  content:"";
  position:absolute;
  bottom:0;
  left:22px;
  right:22px;
  height:3px;
  background:var(--blue);
}
.dropdown-chevron {
  display:grid;
  place-items:center;
  width:16px;
  height:16px;
  flex-shrink:0;
  color:var(--blue);
  font-size:0;
  line-height:1;
}
.dropdown-chevron::before {
  content:"";
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
}
.services-dropdown[open] .dropdown-chevron { transform:rotate(180deg); }
.services-dropdown-panel {
  position:absolute;
  top:100%;
  right:0;
  width:360px;
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 100px);
  overflow-y:auto;
  margin:0;
  padding:8px 0;
  list-style:none;
  background:var(--bg);
  border:1px solid var(--line);
  box-shadow:0 12px 28px #10243a1a;
}
.services-dropdown-panel a {
  display:flex;
  align-items:baseline;
  gap:14px;
  padding:14px 22px;
  line-height:1.4;
}
.services-dropdown-panel a:hover,
.services-dropdown-panel a[aria-current=page] { background:var(--cloud-tint); color:var(--blue); }
.dropdown-number { color:var(--blue); font-size:11px; flex-shrink:0; }
.services-dropdown-panel .services-overview-link {
  color:var(--blue);
  border-bottom:1px solid var(--line);
  padding-bottom:18px;
  margin-bottom:4px;
}
@media(min-width:901px) and (max-width:1100px) {
  .services-dropdown>summary { padding-inline:16px; }
}
@media(max-width:900px) {
  .site-nav { max-height:calc(100dvh - 64px); overflow-y:auto; }
  .services-dropdown>summary { padding:18px 24px; border-top:1px solid var(--line); justify-content:space-between; }
  .services-dropdown-panel { position:static; width:100%; max-width:none; max-height:none; border:0; border-top:1px solid var(--line); box-shadow:none; background:var(--paper); }
  .services-dropdown-panel a { padding-inline:32px; }
}

.nav-contact span {
  font-size:22px
}

.nav-toggle {
  display:none;
  width:64px;
  height:64px;
  background:#fff;
  border:0;
  border-left:1px solid var(--line);
  padding:20px;
  cursor:pointer
}

.nav-toggle span {
  display:block;
  height:1px;
  background:var(--ink);
  margin:7px 0
}

.topic-nav {
  display:flex;
  align-items:center;
  gap:32px;
  min-height:58px;
  padding:0 var(--gutter);
  border-bottom:1px solid var(--line);
  font-size:14px
}

.topic-nav>span {
  margin-right:auto;
  font-weight:600
}

.topic-nav a {
  padding:18px 0;
  color:var(--muted)
}

.topic-nav a:hover {
  color:var(--blue)
}

/* Navy and gold identity: gold controls keep dark, readable labels. */
.button-primary,
.back-to-top {
  background:var(--gold);
  border-color:var(--gold);
  color:var(--navy);
}
.button-primary:hover,
.back-to-top:hover {
  background:var(--gold-hover);
  border-color:var(--gold-hover);
}
.site-header { border-bottom-color:var(--gold); }
.site-nav>a[aria-current=page]::after,
.services-dropdown.is-current>summary::after { background:var(--gold); }

/* Home leadspace. */
.home-hero {
  position:relative;
  isolation:isolate;
  background:var(--navy);
  color:var(--bg);
  padding:42px var(--gutter) 48px
}

.home-hero::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:url("/MCS-Technologies.svg") right calc(var(--gutter) + 3%) center / min(56%, 560px) auto no-repeat;
  opacity:.5;
  pointer-events:none;
}

.home-hero>.eyebrow {
  color:var(--gold-hover);
  margin-bottom:40px
}

.home-hero h1 {
  max-width:none;
  margin-bottom:40px
}

.home-hero h1 span {
  color:var(--gold-hover)
}

.hero-bottom {
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  align-items:end
}

.hero-bottom>p {
  max-width:none;
  margin:0;
  font-size:19px;
  color:#d8dfe7
}

.hero-actions,.contact-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center
}

.hero-bottom .hero-actions {
  justify-content:flex-start
}

.button {
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:58px;
  padding:17px 20px;
  border:1px solid var(--blue);
  font-size:14px;
  line-height:1.4;
  transition:background .15s;
  cursor:pointer
}

.button span {
  font-size:22px;
  line-height:1
}

.button-primary {
  background:var(--gold);
  border-color:var(--gold);
  color:var(--navy)
}

.button-primary:hover {
  background:var(--gold-hover)
}

.button-secondary {
  background:transparent;
  color:var(--blue)
}

.button-secondary:hover {
  background:#f4ecd5
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:32px;
  color:var(--blue);
  font-size:16px;
  padding:12px 0
}

.text-link:hover {
  text-decoration:underline
}

.text-link span {
  font-size:24px
}

.hero-visual {
  position:relative;
  margin:0;
  height:clamp(320px,40vw,600px);
  overflow:hidden;
  background:var(--paper)
}

.hero-visual>img {
  height:100%;
  object-fit:cover;
  object-position:center 46%
}

/* Show more of the lower part of the presentation on wide displays. */
@media (min-width:1101px) {
  .hero-visual>img {
    object-position:center 25%;
  }

  .hero-visual {
    position:relative;
    margin:0;
    height:clamp(320px,50vw,680px);
    overflow:hidden;
    background:var(--paper)
  }

}

/* Show more of the lower part of the presentation on wide displays. */
@media (min-width:800px) {
  .hero-visual>img {
    object-position:center 25%;
  }
  .hero-visual {
    position:relative;
    margin:0;
    height:clamp(320px,50vw,680px);
    overflow:hidden;
    background:var(--paper)
  }
}

.hero-visual figcaption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  padding:44px var(--gutter) 20px;
  color:#fff;
  background:linear-gradient(transparent,rgba(0,0,0,.72));
  font-size:16px
}

.hero-visual figcaption span {
  font-size:11px;
  white-space:nowrap
}

.feature-strip {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--line);
  background:var(--paper)
}

.feature-strip>a {
  position:relative;
  padding:28px var(--gutter) 64px;
  border-right:1px solid var(--line)
}

.feature-strip>a:last-child {
  border:0
}

.feature-strip a:hover,.service-card:hover,.contact-options>a:hover {
  background:#eae5d8
}

.feature-strip a>span:first-child {
  font-size:13px;
  color:var(--muted)
}

.feature-strip h2 {
  font-size:clamp(23px,2vw,30px);
  margin:20px 0 16px;
  letter-spacing:-.02em
}

.arrow {
  position:absolute;
  right:28px;
  bottom:20px;
  font-size:26px;
  color:var(--blue)
}

/* Content grids and services. */
.intro,.section-head {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px
}

.intro {
  border-bottom:1px solid var(--line)
}

.intro-copy {
  max-width:680px
}

.intro-copy>p:not(.large-copy),.section-head>p {
  color:var(--muted);
  font-size:18px
}

.large-copy {
  font-size:clamp(23px,2.3vw,32px);
  line-height:1.4;
  font-weight:350;
  letter-spacing:-.02em
}

.section-head {
  align-items:start;
  margin-bottom:48px
}

.section-head>p {
  padding-top:48px;
  max-width:550px
}

.section-head h2 {
  margin:0
}

.services {
  background:var(--paper)
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line)
}

.service-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:335px;
  padding:28px 28px 20px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
  transition:background .15s
}

.card-number {
  font-size:12px;
  color:var(--muted);
  margin-bottom:38px
}

.service-card h3 {
  font-size:28px;
  margin-bottom:20px
}

.service-card p {
  font-size:15px;
  color:var(--muted);
  max-width:42ch
}

.card-arrow {
  align-self:flex-end;
  margin-top:auto;
  font-size:28px;
  color:var(--blue)
}

.services>.text-link {
  margin-top:24px
}

.editorial {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:560px;
  border-bottom:1px solid var(--line);
  background:var(--paper)
}

.editorial figure {
  position:absolute;
  inset:0;
  margin:0;
  z-index:-2
}

.editorial::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg, transparent 20%, rgba(255,255,255,.78) 52%, rgba(255,255,255,.94) 100%);
  pointer-events:none
}

.editorial img {
  height:100%;
  object-fit:cover
}

.editorial figcaption {
  position:absolute;
  bottom:12px;
  left:16px;
  padding:4px 8px;
  background:#10243acc;
  color:#fff;
  font-size:11px
}

.editorial>div {
  grid-column:2;
  padding:64px var(--gutter);
  align-self:center
}

.editorial p:not(.eyebrow) {
  color:var(--muted);
  max-width:50ch
}

.process-list {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid var(--line)
}

.process-list li {
  display:flex;
  flex-direction:column;
  gap:24px;
  padding:28px;
  border-right:1px solid var(--line)
}

.process-list li:first-child {
  padding-left:0
}

.process-list li:last-child {
  border-right:0
}

.process-list strong {
  font-size:28px;
  line-height:1.2;
  font-weight:400
}

.process-list span {
  color:var(--muted);
  font-size:15px
}

.process-list .step-number {
  font-size:14px;
  color:var(--blue);
  margin-bottom:32px
}

.contact {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:64px;
  padding:72px var(--gutter);
  background:#f3f1e9;
  border-top:1px solid var(--line)
}

.contact h2 {
  font-size:clamp(36px,4vw,60px)
}

.contact p {
  color:var(--muted);
  font-size:18px
}

.contact .eyebrow {
  font-size:14px;
  color:var(--ink)
}

.contact-aside {
  border-left:1px solid var(--line);
  padding:16px 0 0 40px;
  align-self:stretch
}

.contact-aside>span {
  font-size:14px;
  color:var(--muted)
}

.contact-aside p {
  margin:32px 0 8px;
  font-size:26px;
  color:var(--ink)
}

.contact-aside a {
  display:block;
  margin-top:48px;
  color:var(--blue)
}

.contact-actions {
  margin-top:32px
}

.site-footer {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:32px 64px;
  background:#10243a;
  color:#d8dfE7;
  padding:48px var(--gutter);
  font-size:13px
}

.site-footer>span {
  max-width:380px
}

.site-footer nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px 22px
}

.site-footer nav p {
  width:100%;
  color:#fff;
  margin-bottom:8px
}

.site-footer nav>span {
  display:none
}

.site-footer a:hover {
  text-decoration:underline;
  color:#fff
}

.cookie-notice-reopen {
  font:inherit;
  text-align:left;
  justify-self:start;
  padding:0;
  border:0;
  color:inherit;
  background:none;
  cursor:pointer
}

.site-footer>a {
  justify-self:start
}

.site-footer button:hover {
  text-decoration:underline
}

/* Service catalogue and profile pages. */
.services-intro {
  padding-top:64px;
  padding-bottom:48px;
  background:#fff
}

.services-intro h1 {
  max-width:1150px
}

.services-intro h1 span {
  color:var(--blue)
}

.services-intro-copy {
  max-width:760px;
  font-size:21px;
  color:var(--muted)
}

.services-categories {
  display:flex;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  margin-top:48px
}

.services-categories a {
  display:flex;
  gap:14px;
  padding:20px 24px 20px 0;
  margin-right:24px;
  border-bottom:1px solid var(--line);
  font-size:14px
}

.services-categories a span {
  color:var(--blue)
}

.services-categories a:hover {
  color:var(--blue)
}

.service-details {
  padding:0 var(--gutter) 80px;
  background:var(--paper)
}

.service-detail {
  display:grid;
  grid-template-columns:1fr 2fr;
  border-bottom:1px solid var(--line);
  scroll-margin-top:80px
}

.service-detail-visual {
  display:flex;
  flex-direction:column;
  gap:28px;
  align-items:flex-start;
  padding:48px 32px 48px 0
}

.service-detail-number {
  color:var(--blue);
  font-size:14px
}

.service-detail-visual img {
  width:min(80%,240px);
  mix-blend-mode:multiply;
  align-self:center
}

.service-detail-visual p {
  font-size:26px;
  line-height:1.3;
  max-width:25ch
}

.service-detail-content {
  padding:48px;
  min-width:0;
  background:#fff;
  border-left:1px solid var(--line)
}

.service-detail-content h2 {
  font-size:clamp(30px,3vw,44px)
}

.service-detail-description {
  font-size:18px;
  color:var(--muted)
}

.service-detail-content h3 {
  font-size:22px;
  margin:32px 0 18px
}

.service-benefits {
  padding-left:20px
}

.service-benefits li {
  padding-left:6px;
  margin-bottom:12px
}

.service-benefits li::marker {
  color:var(--blue)
}

.service-tech-stack {
  border-top:1px solid var(--line);
  margin-top:32px
}

.tech-tags {
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0
}

.tech-tags li {
  border-radius:4px;
  padding:5px 12px;
  background:#eae5d8;
  font-size:13px
}

.service-tech-stack p {
  color:var(--muted)
}

.service-detail-link {
  display:inline-block;
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:4px
}

.service-tech-stack-expanded {
  grid-column:1/-1;
  margin-top:0;
  border-left:0
}

.service-tools-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 48px;
  padding-left:20px
}

.service-tools-list strong {
  display:block;
  margin-bottom:10px
}

.about-hero {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:64px;
  padding:64px var(--gutter);
  align-items:center
}

.about-copy h1 {
  font-size:clamp(42px,5.4vw,80px)
}

.about-copy p {
  max-width:55ch;
  color:var(--muted)
}

.about-copy .about-lead {
  font-size:26px;
  line-height:1.4;
  color:var(--ink)
}

.about-portrait {
  margin:0;
  max-width:500px;
  justify-self:end
}

.about-portrait img {
  aspect-ratio:1/1.06;
  object-fit:cover
}

.about-portrait figcaption {
  font-size:12px;
  margin-top:12px;
  color:var(--muted)
}

.about-experience {
  background:var(--paper)
}

.about-intro {
  max-width:85ch;
  color:var(--muted);
  font-size:18px
}

.about-stations {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding:0;
  margin:48px 0 0;
  border-top:1px solid var(--line)
}

.about-stations li {
  padding:28px;
  border-right:1px solid var(--line)
}

.about-stations li:first-child {
  padding-left:0
}

.about-stations li:last-child {
  border:0
}

.about-stations span {
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:28px
}

.about-stations h3 {
  font-size:28px
}

.about-stations p {
  color:var(--muted)
}

/* Contact and legal content. */
.contact-page {
  padding-top:64px
}

.contact-page>.large-copy {
  max-width:800px;
  color:var(--muted);
  font-size:24px
}

.contact-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:64px;
  background:var(--paper);
  border-top:1px solid var(--line)
}

.contact-options>a {
  position:relative;
  padding:32px 32px 64px;
  border-right:1px solid var(--line);
  min-width:0
}

.contact-options>a:last-child {
  border:0
}

.contact-options h2 {
  font-size:36px;
  margin:48px 0 20px
}

.contact-options p {
  color:var(--blue);
  overflow-wrap:anywhere
}

.contact-options>a>span:first-child {
  font-size:13px
}

.privacy-hero {
  padding:64px var(--gutter);
  background:var(--paper)
}

.privacy-hero .hero-media {
  display:none
}

.privacy-hero h1 {
  font-size:clamp(38px,5vw,72px);
  overflow-wrap:anywhere;
  margin-bottom:24px
}

.privacy-hero .hero-copy {
  font-size:21px;
  color:var(--muted)
}

.privacy-content {
  max-width:960px;
  margin:auto;
  overflow-wrap:anywhere
}

.privacy-content section+section {
  margin-top:40px
}

.privacy-content h2 {
  font-size:30px
}

.privacy-content a {
  text-decoration:underline;
  color:var(--blue)
}

.privacy-content address {
  font-style:normal
}

.privacy-draft,.privacy-objection {
  padding:24px;
  border-left:3px solid var(--blue);
  background:var(--paper);
  margin-bottom:32px
}

.privacy-draft {
  background:#fff8e1
}

.cookie-dialog {
  border:0;
  padding:0;
  width:min(600px,calc(100% - 32px));
  max-height:calc(100dvh - 32px);
  background:#fff;
  color:var(--ink)
}

.cookie-dialog:not([open]) {
  display:none
}

.cookie-dialog::backdrop {
  background:#10243a88
}

.cookie-notice {
  border-top:4px solid var(--blue);
  padding:32px
}

.cookie-notice h2 {
  font-size:28px
}

.cookie-notice p {
  font-size:15px;
  color:var(--muted)
}

.cookie-notice-detail {
  font-size:13px!important
}

.cookie-notice-links {
  display:flex;
  gap:24px;
  color:var(--blue);
  font-size:14px
}

.cookie-notice-links a {
  text-decoration:underline
}

.cookie-notice-close {
  width:100%;
  background:var(--blue);
  color:#fff;
  margin-top:28px
}

.image-ai-label {
  font-size:11px
}

.project-start-image {
  margin:0
}

.contact-project {
  grid-template-columns:1fr 1fr
}

/* Restrained Cloud-inspired accents within the IBM-style editorial grid. */
.service-card:hover,
.contact-options > a:hover {
  background:var(--cloud-tint);
}

.contact {
  background:var(--cloud-tint);
  border-top-color:var(--cloud-line);
}

.card-arrow {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--cloud-tint);
  font-size:24px;
}

.process-list .step-number {
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.process-list .step-number::before {
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#738195;
}

.process-list li:nth-child(2) .step-number::before {
  background:#c5a451;
}

.process-list li:nth-child(3) .step-number::before {
  background:#002f56;
}

.process-list li:nth-child(4) .step-number::before {
  background:#8a6b22;
}

/* Responsive layouts, including keyboard-only and reduced-motion use. */
@media(min-width:1700px) {
  body {
    max-width:1920px;
    margin:auto;
    border-inline:1px solid var(--line)
  }
}

@media(max-width:1100px) {
  .site-nav>a {
    padding-inline:16px
  }
  .brand-name {
    font-size:14px
  }
  .brand-logo {
    width:60px
  }
  .hero-bottom {
    grid-template-columns:1fr;
    gap:28px
  }
  .hero-bottom .hero-actions {
    justify-content:flex-start
  }
  .service-card {
    padding:24px
  }
  .service-card h3 {
    font-size:25px
  }
  .intro,.section-head,.about-hero {
    gap:40px
  }
  .editorial>div {
    padding:40px 28px
  }
  .contact {
    gap:40px
  }
  .contact-aside {
    padding-left:28px
  }
}

@media(max-width:900px) {
  .site-header {
    height:64px;
    padding-left:20px
  }
  .brand-logo {
    height:40px;
    width:60px
  }
  .nav-toggle {
    display:block
  }
  .site-nav {
    display:none;
    position:absolute;
    top:64px;
    left:0;
    right:0;
    height:auto;
    flex-direction:column;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:0 12px 20px #00000010
  }
  .site-nav.is-open {
    display:flex
  }
  .site-nav>a {
    padding:18px 24px;
    border-top:1px solid var(--line)
  }
  .site-nav .nav-contact {
    border-left:0
  }
  .topic-nav {
    gap:22px;
    overflow-x:auto;
    white-space:nowrap;
    font-size:12px
  }
  .topic-nav>span {
    margin-right:12px
  }
  .service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .feature-strip>a {
    padding:24px 24px 56px
  }
  .process-list {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .process-list li {
    border-bottom:1px solid var(--line);
    padding:28px
  }
  .process-list li:first-child {
    padding-left:28px
  }
  .process-list li:nth-child(2) {
    border-right:0
  }
  .contact {
    grid-template-columns:1fr
  }
  .contact-aside {
    border-left:0;
    border-top:1px solid var(--line);
    padding:28px 0 0
  }
  .contact-aside p {
    margin-top:16px
  }
  .contact-aside a {
    margin-top:20px
  }
  .service-detail {
    grid-template-columns:1fr 2fr
  }
  .service-detail-content {
    padding:32px
  }
  .about-stations {
    grid-template-columns:1fr
  }
  .about-stations li,.about-stations li:first-child {
    padding:28px 0;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .about-hero {
    gap:28px
  }
  .service-tools-list {
    grid-template-columns:1fr
  }
}

@media(max-width:600px) {
  html {
    scroll-padding-top:64px
  }
  .section {
    padding:56px 20px
  }
  .brand {
    gap:12px
  }
  .brand-name {
    font-size:14px;
    padding-left:12px
  }
  .brand-name span {
    font-size:11px
  }
  .home-hero {
    padding:28px 20px 36px
  }
  .home-hero>.eyebrow {
    font-size:12px;
    margin-bottom:32px
  }
  .home-hero h1 {
    font-size:43px;
    margin-bottom:32px
  }
  .hero-bottom>p {
    font-size:17px
  }
  .hero-actions {
    width:100%;
    gap:8px
  }
  .hero-actions .button {
    width:100%
  }
  .hero-visual {
    height:330px
  }
  .hero-visual>img {
    object-position:58% center
  }
  .hero-visual figcaption {
    font-size:14px;
    align-items:start;
    flex-direction:column;
    gap:8px
  }
  .feature-strip {
    grid-template-columns:1fr
  }
  .feature-strip>a {
    padding:24px 20px;
    border-right:0;
    border-bottom:1px solid var(--line);
    min-height:156px
  }
  .feature-strip h2 {
    font-size:25px;
    margin-bottom:0
  }
  .feature-strip h2 br {
    display:none
  }
  .intro,.section-head {
    grid-template-columns:1fr;
    gap:24px
  }
  .intro h2 {
    margin-bottom:0
  }
  .section-head>p {
    padding:0;
    margin:0;
    font-size:17px
  }
  .intro-copy>p:not(.large-copy) {
    font-size:17px
  }
  .service-grid {
    grid-template-columns:1fr
  }
  .service-card {
    min-height:280px
  }
  .card-number {
    margin-bottom:28px
  }
  .service-card h3 {
    font-size:28px
  }
  .editorial {
    grid-template-columns:1fr
  }
  .editorial figure {
    height:100%
  }
  .editorial::before {
    background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.94) 48%)
  }
  .editorial>div {
    grid-column:1;
    margin-top:220px
  }
  .editorial>div {
    padding:48px 20px
  }
  .process-list {
    grid-template-columns:1fr
  }
  .process-list li,.process-list li:first-child {
    padding:24px 0;
    border-right:0;
    gap:16px
  }
  .process-list .step-number {
    margin-bottom:8px
  }
  .contact {
    padding:48px 20px;
    gap:32px
  }
  .contact h2 {
    font-size:38px
  }
  .contact-actions .button {
    width:100%
  }
  .site-footer {
    grid-template-columns:1fr;
    padding:40px 20px;
    gap:32px
  }
  .services-intro h1 {
    font-size:42px
  }
  .services-categories {
    display:grid;
    grid-template-columns:1fr;
    margin-top:32px
  }
  .services-categories a {
    margin:0;
    padding:16px 0
  }
  .service-details {
    padding:0 20px 48px
  }
  .service-detail {
    grid-template-columns:1fr
  }
  .service-detail-visual {
    padding:28px 0;
    display:grid;
    grid-template-columns:1fr 100px;
    gap:12px
  }
  .service-detail-visual img {
    grid-column:2;
    grid-row:1/3;
    width:100px
  }
  .service-detail-visual p {
    font-size:23px;
    margin:0
  }
  .service-detail-content {
    border-left:0;
    padding:28px 20px
  }
  .service-detail-content h2 {
    font-size:30px
  }
  .service-tech-stack-expanded {
    padding-top:32px
  }
  .about-hero {
    grid-template-columns:1fr;
    padding:40px 20px;
    gap:32px
  }
  .about-copy h1 {
    font-size:48px
  }
  .about-portrait {
    max-width:none
  }
  .about-portrait img {
    max-height:480px;
    object-position:center 30%
  }
  .about-copy .about-lead {
    font-size:23px
  }
  .contact-page h1 {
    font-size:42px
  }
  .contact-page h1 br {
    display:none
  }
  .contact-page>.large-copy {
    font-size:21px
  }
  .contact-options {
    grid-template-columns:1fr;
    margin-top:36px
  }
  .contact-options>a {
    padding:24px 20px 56px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .contact-options h2 {
    font-size:30px;
    margin-top:32px
  }
  .contact-options p {
    font-size:15px
  }
  .privacy-hero {
    padding:40px 20px
  }
  .cookie-notice {
    padding:24px
  }
  .cookie-notice h2 {
    font-size:25px
  }
  .contact-project {
    grid-template-columns:1fr
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important
  }
}

/* Service overview and dedicated consulting pages. */
.service-breadcrumb {
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  font-size:13px;
  color:var(--muted);
  margin-bottom:32px;
}
.service-breadcrumb a { color:var(--blue); }
.service-breadcrumb a:hover { text-decoration:underline; }
.service-switcher {
  position:sticky;
  top:80px;
  z-index:19;
  display:flex;
  overflow-x:auto;
  background:#fff;
  border-bottom:1px solid var(--line);
  scrollbar-width:thin;
}
.service-switcher ~ section[id] {
  scroll-margin-top:calc(var(--service-switcher-height, 112px) + 12px);
}
@media(max-width:900px) {
  .service-switcher { top:64px; }
}
.service-switcher a {
  flex:1 0 180px;
  padding:18px 20px;
  border-right:1px solid var(--line);
  font-size:13px;
  line-height:1.4;
}
.service-switcher a span { display:block; color:var(--blue); font-size:11px; margin-bottom:6px; }
.service-switcher a:hover { background:var(--paper); }
.service-switcher a[aria-current=page] { box-shadow:inset 0 -3px var(--gold); background:#f4ecd5; }
.consulting-lead { display:grid; grid-template-columns:1fr; border-bottom:1px solid var(--line); }
.consulting-lead-copy {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:32px var(--gutter) 48px;
  min-height:610px;
  background:linear-gradient(115deg,var(--navy) 35%,#174667);
  color:var(--bg);
}
/* Quiet geometric forms echo the reference without using its artwork. */
.consulting-lead-copy::after {
  content:"";
  position:absolute;
  z-index:-1;
  right:-130px;
  top:130px;
  width:350px;
  height:350px;
  border:1px solid #d5bf85;
  border-radius:50%;
  box-shadow:0 0 0 60px #002f5605,0 0 0 120px #002f5603;
}
.consulting-lead h1 { font-size:clamp(38px,3.7vw,64px); margin-bottom:48px; overflow-wrap:anywhere; }
.consulting-lead .eyebrow { font-size:13px; color:var(--gold-hover); }
.consulting-lead .service-breadcrumb { color:#d8dfe7; }
.consulting-lead .service-breadcrumb a { color:var(--gold-hover); }
.home-hero .button-secondary { color:var(--gold-hover); border-color:var(--gold); }
.home-hero .button-secondary:hover { background:#174667; }
.site-footer { border-top:3px solid var(--gold); }
.site-footer a:hover { color:var(--gold-hover); }
.consulting-lead-subtitle { margin-top:auto; max-width:none; font-size:24px; line-height:1.4; }
.consulting-lead .button { border-radius:6px; }
.consulting-tiles { display:grid; grid-template-columns:1fr 1fr; }
.consulting-tiles>a {
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:28px;
  border-left:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.consulting-tiles>a:nth-last-child(-n+2) { border-bottom:0; }
.consulting-tiles>a:hover { background:var(--cloud-tint); }
.tile-symbol { color:var(--blue); font-size:32px; font-weight:300; margin-bottom:30px; }
.tile-label { font-size:12px; color:var(--muted); }
.tile-description { font-size:20px; line-height:1.35; }
.tile-arrow { color:var(--blue); margin-top:auto; font-size:28px; padding-top:16px; }
.service-overview,.service-methods,.service-advisor,.service-next {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  border-bottom:1px solid var(--line);
}
.service-overview h2 { max-width:19ch; }
.service-prose { font-size:18px; color:var(--muted); }
.service-prose p:last-child { margin-bottom:0; }
.capability-section { background:var(--paper); border-bottom:1px solid var(--line); }
.capability-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.capability-grid article { padding:28px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.capability-number { display:block; color:var(--blue); font-size:12px; margin-bottom:32px; }
.capability-grid h3 { font-size:25px; line-height:1.2; overflow-wrap:anywhere; }
.capability-grid p { color:var(--muted); font-size:16px; margin-bottom:0; }
.service-methods>div:first-child>p:last-child { max-width:50ch; color:var(--muted); }
.tool-disclosures { border-top:1px solid var(--line); min-width:0; }
.tool-disclosures details { border-bottom:1px solid var(--line); }
.tool-disclosures summary { position:relative; padding:24px 42px 24px 0; cursor:pointer; font-size:18px; list-style:none; }
.tool-disclosures summary::-webkit-details-marker { display:none; }
.tool-disclosures summary::after { content:"+"; position:absolute; top:18px; right:8px; font-size:28px; color:var(--blue); }
.tool-disclosures details[open]>summary::after { content:"−"; }
.tool-disclosures summary:hover { color:var(--blue); }
.tool-disclosures summary:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
.tool-disclosures details>div { padding:0 32px 8px 0; color:var(--muted); }
.service-advisor { background:var(--paper); }
.service-advisor>p { font-size:22px; color:var(--muted); align-self:center; }
.service-next { background:#f4ecd5; }
.service-next>div>p:not(.eyebrow) { font-size:20px; color:var(--muted); }
.service-next .text-link { display:flex; width:fit-content; margin-top:16px; }
.related-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.related-grid .catalogue-card {
  border:1px solid var(--line);
  border-radius:8px;
  transition:background 160ms ease,box-shadow 160ms ease;
}
.related-grid .catalogue-card:hover {
  background:var(--cloud-tint);
  box-shadow:0 3px 12px #10243a0a;
}
.related-services .section-head { align-items:center; }
.related-services .section-head>.text-link { justify-self:end; }
.catalogue-lead { padding-top:32px; background:linear-gradient(110deg,#fff 55%,#f4ecd5); }
.catalogue-lead h1 { max-width:1100px; }
.catalogue-lead h1 span { color:var(--blue); }
.catalogue-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:48px; }
.catalogue-intro p { max-width:720px; color:var(--muted); font-size:21px; margin-bottom:0; }
.catalogue-intro .button { flex-shrink:0; border-radius:0; }
.catalogue-section { background:var(--paper); }
.catalogue-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.catalogue-card { display:flex; flex-direction:column; background:#fff; padding:32px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); min-height:335px; scroll-margin-top:100px; }
.catalogue-card:hover { background:var(--cloud-tint); }
.catalogue-number { color:var(--muted); font-size:12px; margin-bottom:36px; }
.catalogue-card h3 { font-size:29px; overflow-wrap:anywhere; }
.catalogue-card p { color:var(--muted); }
.catalogue-link { color:var(--blue); display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:auto; padding-top:24px; font-size:14px; }
.catalogue-link>span { font-size:26px; }

/* IBM-led service overview with restrained soft accents. */
.service-catalogue .catalogue-lead {
  background:radial-gradient(ellipse at 100% 0%,#eee2bf 0%,transparent 55%),#fff;
}
.service-catalogue .catalogue-intro .button,
.service-catalogue .service-next .button {
  border-radius:6px;
  padding-inline:24px;
}
.service-catalogue .catalogue-section { background:var(--paper); }
.service-catalogue .catalogue-grid { gap:16px; border:0; }
.service-catalogue .catalogue-card {
  border:1px solid var(--line);
  border-radius:8px;
  transition:background 160ms ease,box-shadow 160ms ease;
}
.service-catalogue .catalogue-card:hover {
  background:var(--cloud-tint);
  box-shadow:0 3px 12px #10243a0a;
}
.service-catalogue .catalogue-number {
  color:var(--muted);
}
.service-catalogue .catalogue-link>span {
  color:var(--blue);
  font-size:26px;
}
@media(max-width:1100px) {
  .consulting-lead-copy { padding-inline:28px; }
  .consulting-tiles>a { padding:24px; }
  .catalogue-grid,.capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .catalogue-intro { align-items:flex-start; flex-direction:column; gap:28px; }
}
@media(max-width:800px) {
  .consulting-lead { grid-template-columns:1fr; }
  .consulting-lead-copy { min-height:480px; }
  .consulting-lead h1 { font-size:48px; }
  .consulting-lead-subtitle { max-width:45ch; }
  .consulting-tiles>a { min-height:250px; }
  .consulting-tiles>a:nth-child(odd) { border-left:0; }
  .tile-symbol { margin-bottom:12px; }
  .service-overview,.service-methods,.service-advisor,.service-next { grid-template-columns:1fr; gap:28px; }
  .service-overview h2 { max-width:26ch; }
}
@media(max-width:600px) {
  .service-switcher a { flex-basis:175px; padding:14px 20px; }
  .consulting-lead-copy { padding:28px 20px 36px; min-height:450px; }
  .consulting-lead h1 { font-size:39px; margin-bottom:32px; }
  .consulting-lead-subtitle { font-size:21px; }
  .consulting-lead .button { width:100%; }
  .consulting-tiles>a { padding:20px; gap:12px; min-height:245px; }
  .tile-description { font-size:18px; }
  .tile-symbol { font-size:26px; }
  .catalogue-grid,.capability-grid,.related-grid { grid-template-columns:1fr; }
  .catalogue-card { min-height:290px; padding:24px; }
  .catalogue-card h3 { font-size:28px; }
  .catalogue-lead h1 { font-size:43px; }
  .catalogue-intro p { font-size:18px; }
  .catalogue-intro .button { width:100%; }
  .capability-grid article { padding:24px; }
  .capability-number { margin-bottom:20px; }
  .related-services .section-head>.text-link { justify-self:start; }
  .service-next .button { width:100%; }
}

@media (max-width: 600px)  {
  .topic-nav > span  {
    display: none;
  }
  .topic-nav  {
    justify-content: space-between;
    gap: 16px;
  }
}
