@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('fonts/oswald-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --ink: #0b3553;
  --text: #314655;
  --muted: #687782;
  --line: #d7e5e7;
  --bg: #f5fafa;
  --panel: #ffffff;
  --blue: #164f8d;
  --blue-dark: #123e70;
  --light-blue: #46baba;
  --orange: #f2a43a;
  --green: #62a86f;
  --slate: #687782;
  --red: #d95c59;
  --soft: #eaf7f7;
  --shadow: 0 24px 70px rgba(22, 79, 141, .13);
  --shadow-soft: 0 12px 34px rgba(22, 79, 141, .09);
  --radius: 24px;
  --hero-height: 650px;
  --hero-overlay: linear-gradient(90deg, rgba(3,22,37,.95) 0%, rgba(5,43,70,.86) 43%, rgba(5,43,70,.34) 78%, rgba(3,22,37,.18) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main [id] { scroll-margin-top: 140px; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--blue); color: #fff; padding: .7rem 1rem; z-index: 999; border-radius: 999px; }
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(70, 186, 186, .22);
}
.nav {
  min-height: 124px;
  width: min(1200px, calc(100% - 48px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img { width: 120px; height: auto; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.14)); }
.nav-links { display: flex; gap: .25rem; align-items: center; }
.nav-links a {
  color: #233037;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: .62rem .95rem;
  border-radius: 999px;
  transition: .2s ease;
}
.nav-links a:hover { background: rgba(70,186,186,.14); color: var(--blue); }
.nav-links a.active,
.nav-links a[aria-current="page"] { background: var(--soft); color: var(--blue-dark); }
.nav-links a:focus-visible,
.brand:focus-visible,
.language button:focus-visible,
.lang-link:focus-visible,
.menu-toggle:focus-visible,
.button:focus-visible,
.footer a:focus-visible,
.blog-read:focus-visible,
.blog-back:focus-visible,
.address-card a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.menu-toggle { display: none; }
.language { display: flex; gap: .32rem; align-items: center; }
.language button,
.language span {
  appearance: none;
  border: 1px solid rgba(22,79,141,.28);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: .38rem .62rem;
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}
.language span { color: var(--muted); cursor: default; }
.language button:hover,
.language button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.lang-link { color: var(--ink); text-decoration: none; background: #fff; border: 1px solid rgba(22,79,141,.28); border-radius: 999px; padding: .38rem .62rem; font-size: .72rem; font-weight: 900; transition: .2s ease; }
.lang-link:hover, .lang-link.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.section { padding: 86px 0; position: relative; }
.section::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--blue), var(--light-blue)); opacity: .62; }
.section.muted { background: linear-gradient(180deg, #edf8f8, var(--bg)); border-block: 1px solid var(--line); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--blue);
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  margin: 0 0 .9rem;
}
.brand-case { text-transform: none; }
h1, h2, h3 { font-family: 'Oswald', sans-serif; color: var(--ink); line-height: 1.12; margin: 0 0 1rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.35rem, 4.6vw, 4.25rem); max-width: 780px; text-transform: none; letter-spacing: -.018em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); max-width: 820px; text-transform: none; letter-spacing: -.015em; }
h3 { font-size: 1.16rem; line-height: 1.18; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: var(--muted); max-width: 700px; margin: 0 0 1.55rem; }
.section-intro { font-size: 1.03rem; color: var(--muted); max-width: 760px; margin: 0 0 2.25rem; }

.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 14px; font-weight: 900; font-size: .9rem; padding: 1rem 1.45rem; border: 2px solid var(--blue); text-transform: uppercase; letter-spacing: .03em; transition: .22s ease; }
.button.primary { background: linear-gradient(135deg, var(--light-blue), var(--blue)); color: #fff; border-color: transparent; box-shadow: 0 14px 30px rgba(22,79,141,.28); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(22,79,141,.38); }
.button.ghost { color: var(--blue-dark); background: rgba(255,255,255,.76); }
.button.ghost:hover { background: rgba(70,186,186,.14); }

.hero { min-height: var(--hero-height); display: grid; align-items: center; overflow: hidden; background: var(--hero-overlay), url('backgrounds/hero-port.webp') 52% center / 106% auto no-repeat; color: #fff; animation: harbour-approach 24s ease-in-out infinite alternate; }
@keyframes harbour-approach {
  from { background-position: 48% center; }
  to { background-position: 56% center; }
}
.hero::after { content: 'MAiNS'; position: absolute; right: clamp(-4rem, 1vw, 4rem); bottom: 3rem; font-family: 'Oswald', sans-serif; font-size: clamp(6rem, 18vw, 16rem); font-weight: 700; line-height: 1; color: rgba(255,255,255,.055); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.4rem; }
.hero-copy { max-width: 860px; }
.hero h1, .hero .lead { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.2); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .75rem; color: #fff; background: rgba(70,186,186,.22); border: 1px solid rgba(255,255,255,.32); border-radius: 999px; box-shadow: 0 12px 30px rgba(22,79,141,.18); backdrop-filter: blur(10px); }
.hero-proof { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.1rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: .45rem; padding: .62rem .9rem; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.45); color: var(--ink); font-weight: 800; font-size: .84rem; box-shadow: 0 8px 24px rgba(5,28,38,.14); }
.hero-proof span::before { content: ''; width: .42rem; height: .42rem; border-radius: 999px; background: var(--blue); }
.trade-line { width: min(780px, 100%); display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: .85rem; color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; }
.trade-line i { display: block; height: 2px; background: linear-gradient(90deg, rgba(70,186,186,.18), var(--light-blue), rgba(70,186,186,.18)); position: relative; }
.trade-line i::after { content: ''; position: absolute; right: 0; top: 50%; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); transform: translateY(-50%); }
.trade-line strong { color: #8fe0dd; font-family: 'Oswald', sans-serif; font-size: 1.1rem; }

.trust-strip { background: #fff; border-block: 1px solid var(--line); padding: 24px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-soft); }
.trust-grid div { background: #fff; padding: 1.25rem; }
.trust-grid strong { display: block; color: var(--ink); font-family: 'Oswald', sans-serif; font-size: 1.08rem; margin-bottom: .25rem; }
.trust-grid span { color: var(--muted); font-size: .92rem; }

.cards { display: grid; gap: 1.35rem; margin-top: 2.5rem; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.25rem; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.55rem; box-shadow: var(--shadow-soft); }
.feature-card strong { display: block; color: var(--ink); font-family: 'Oswald', sans-serif; font-size: 1.18rem; margin-bottom: .55rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.about-overview { background: linear-gradient(180deg, #fff, var(--soft)); }
.about-overview .feature-grid { margin-top: 0; }
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.3rem; }
.unit-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.unit-card::after { content: ''; position: absolute; right: -3rem; top: -3rem; width: 8rem; height: 8rem; border-radius: 50%; background: rgba(70,186,186,.10); }
.unit-card > span { width: 3rem; height: 3rem; display: inline-grid; place-items: center; border-radius: 15px; background: var(--ink); color: #fff; font-family: 'Oswald', sans-serif; font-weight: 800; margin-bottom: 1rem; }
.unit-card p { color: var(--muted); margin: 0; }
.partner-section { background: #fff; }
.partner-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.2rem; align-items: start; padding: 2.2rem; border-radius: 28px; background: linear-gradient(135deg, var(--ink), var(--blue-dark)); box-shadow: var(--shadow); }
.partner-panel h2, .partner-panel .eyebrow { color: #fff; }
.quote-grid { display: grid; gap: 1rem; }
.quote-grid blockquote { margin: 0; padding: 1.25rem; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.20); color: #fff; }
.quote-grid strong { display: block; color: #fff; font-family: 'Oswald', sans-serif; font-size: 1.05rem; margin-bottom: .4rem; }
.quote-grid p { margin: 0; color: #e8f8ff; font-size: .95rem; }
.card { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.45rem; box-shadow: var(--shadow-soft); transition: .25s ease; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--service-accent, linear-gradient(90deg, var(--blue), var(--light-blue))); opacity: .92; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(22,79,141,.34); }
.service-icon { width: max-content; min-height: 2.45rem; display: inline-grid; place-items: center; justify-self: start; padding: .45rem .8rem; border-radius: 999px; background: var(--soft); color: var(--blue-dark); font-family: 'Oswald', sans-serif; font-size: .78rem; font-weight: 800; line-height: 1; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; margin-bottom: 1rem; }
.service-card:nth-child(1) { --service-accent: var(--green); }
.service-card:nth-child(2) { --service-accent: var(--light-blue); }
.service-card:nth-child(3) { --service-accent: var(--orange); }
.service-card:nth-child(4) { --service-accent: var(--slate); }
.service-card:nth-child(1) .service-icon { background: rgba(98,168,111,.14); color: #397b47; }
.service-card:nth-child(2) .service-icon { background: rgba(70,186,186,.15); color: var(--blue); }
.service-card:nth-child(3) .service-icon { background: rgba(242,164,58,.17); color: #9a5b00; }
.service-card:nth-child(4) .service-icon { background: rgba(104,119,130,.15); color: #4b5c68; }
.card h3 { text-transform: none; margin-bottom: .7rem; }
.card p { color: var(--text); font-size: .96rem; margin: 0 0 1rem; }
.card .result { color: var(--blue-dark); font-weight: 900; }
.card ul { padding: 0; list-style: none; margin: auto 0 0; font-size: .9rem; }
.card li { color: var(--muted); margin-bottom: .45rem; padding-left: 1.25rem; position: relative; }
.card li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-dark); font-weight: 900; }
.service-more { display: inline-flex; align-items: center; justify-content: center; width: fit-content; margin-top: 1.2rem; padding: .62rem .9rem; border: 1px solid rgba(22,79,141,.24); border-radius: 999px; background: rgba(255,255,255,.62); color: var(--blue-dark); font-size: .88rem; font-weight: 800; line-height: 1.25; text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.service-more::after { content: '↓'; margin-left: .45rem; color: var(--light-blue); }
.service-more:hover { border-color: var(--light-blue); background: rgba(70,186,186,.12); color: var(--blue-dark); }
.service-more:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 3px; }

@media (min-width: 961px) {
  .service-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    gap: 1rem;
    align-content: stretch;
  }
  .service-card .service-icon,
  .service-card h3,
  .service-card p,
  .service-card ul,
  .service-card .service-more { margin: 0; }
}

.faq-hero {
  min-height: var(--hero-height);
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--hero-overlay), url('backgrounds/services-quality-control.webp') center / cover no-repeat;
}
.faq-hero .eyebrow, .faq-hero h1, .faq-hero .section-intro { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.24); }
.faq-hero .section-intro { max-width: 760px; }
.faq-index { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.faq-index a { padding: .72rem 1rem; border: 1px solid rgba(255,255,255,.30); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-weight: 900; text-decoration: none; backdrop-filter: blur(8px); }
.faq-index a:hover { background: #fff; color: var(--blue-dark); }
.faq-service-section { scroll-margin-top: 110px; background: #fff; }
.faq-service-section:nth-of-type(odd) { background: linear-gradient(135deg, var(--soft), #fff); }
.faq-section-grid { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-section-intro { position: sticky; top: 120px; }
.faq-section-intro h2 { margin-bottom: .8rem; }
.faq-section-intro p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: .9rem; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-soft); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.35rem; color: var(--ink); font-family: 'Oswald', sans-serif; font-size: 1.08rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: 0 0 auto; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--blue-dark); font-family: Arial, sans-serif; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0; padding: 0 1.35rem 1.35rem; color: var(--muted); }
.faq-item summary:focus-visible { outline: 3px solid var(--light-blue); outline-offset: -4px; }

.process-route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.7rem; position: relative; }
.process-route::before { content: ''; position: absolute; left: 8%; right: 8%; top: 2rem; height: 2px; background: linear-gradient(90deg, var(--blue), var(--light-blue)); opacity: .45; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 4rem 1.45rem 1.45rem; box-shadow: var(--shadow-soft); position: relative; z-index: 1; }
.step::before { content: counter(step); counter-increment: step; position: absolute; top: 1rem; left: 1.35rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 900; font-size: .86rem; }
.process-route { counter-reset: step; }
.step b { font-family: 'Oswald', sans-serif; color: var(--ink); text-transform: uppercase; font-size: 1.05rem; display: block; margin-bottom: .55rem; }
.step span { color: var(--muted); }

.callout-section { background: linear-gradient(135deg, var(--ink), var(--blue-dark)); color: #fff; }
.callout-section::before { background: rgba(255,255,255,.42); }
.callout-card { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: start; }
.callout-card .eyebrow, .callout-card h2, .callout-card p { color: #fff; }
.callout-card p { font-size: 1.08rem; max-width: 720px; }
.checklist { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.checklist li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 1rem 1.25rem 1rem 2.6rem; border-radius: 16px; font-weight: 800; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 900; color: #fff; }

.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.route-card { display: flex; flex-direction: column; padding-top: 0; }
.route-card-image { display: block; width: calc(100% + 4rem); height: 180px; margin: 0 -2rem 1.55rem; object-fit: cover; border-bottom: 4px solid var(--light-blue); }
.route-card .blog-read { margin-top: auto; }
.route-card .route-link { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: fit-content; padding: .62rem .9rem; border: 1px solid rgba(22,79,141,.24); border-radius: 999px; background: rgba(70,186,186,.08); color: var(--blue-dark); font-size: .88rem; font-weight: 800; line-height: 1.25; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.route-card .route-link::after { content: '→'; margin-left: .45rem; color: var(--light-blue); }
.route-card .route-link:hover { border-color: var(--light-blue); background: rgba(70,186,186,.15); color: var(--blue-dark); }
.contact-teaser { background: linear-gradient(135deg, #fff, var(--soft)); }
.contact-teaser .split-heading { align-items: center; }
body:not([data-page="home"]) main > :where(.section:first-child:not(.blog-hero)) {
  padding-top: 100px;
  background: radial-gradient(circle at 88% 10%, rgba(70,186,186,.16), transparent 30%), #fff;
}
body:not([data-page="home"]) main > .section:first-child {
  min-height: var(--hero-height);
  display: grid;
  align-items: center;
}
body[data-page="services"] main > .services-section:first-child {
  background: var(--hero-overlay), url('backgrounds/services-quality-control.webp') center / cover no-repeat;
  background-attachment: fixed;
}
body[data-page="faq"] main > .faq-hero:first-child {
  background: var(--hero-overlay), url('backgrounds/services-quality-control.webp') center / cover no-repeat;
}
body[data-page="process"] main > .process-section:first-child {
  background: var(--hero-overlay), url('backgrounds/process-team-planning.webp') center / cover no-repeat;
  background-attachment: fixed;
}
body[data-page="about"] main > .why-section:first-child {
  background: var(--hero-overlay), url('backgrounds/about-team-office.webp') center / cover no-repeat;
}
body[data-page="team"] main > .team-intro:first-child {
  background: var(--hero-overlay), url('backgrounds/team-collaboration-shanghai.webp') center / cover no-repeat;
}
body[data-page="contact"] main > .contact:first-child {
  min-height: var(--hero-height);
  display: grid;
  align-items: center;
  background: var(--hero-overlay), url('backgrounds/contact-europe-china.webp') center / cover no-repeat;
}
body[data-page="services"] .services-section > .wrap > .eyebrow,
body[data-page="services"] .services-section > .wrap > h1,
body[data-page="services"] .services-section > .wrap > .section-intro,
body[data-page="process"] .process-section > .wrap > .eyebrow,
body[data-page="process"] .process-section > .wrap > h1,
body[data-page="about"] .why-section > .wrap > .eyebrow,
body[data-page="about"] .why-section > .wrap > h1,
body[data-page="about"] .why-section > .wrap > .section-intro,
body[data-page="team"] .team-intro .eyebrow,
body[data-page="team"] .team-intro h1,
body[data-page="team"] .team-intro .section-intro { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.22); }
body[data-page="contact"] .contact-grid > div > .eyebrow,
body[data-page="contact"] .contact-grid > div > h1,
body[data-page="contact"] .contact-grid > div > p { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.24); }
body[data-page="contact"] .contact-grid > div > .contact-note { color: #d9e9ee; }
.team-section { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
.team-card { display: flex; flex-direction: column; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); }
.team-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.team-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--portrait-y, 18%); }
/* Align the top of each person's hair with consistent headroom, without zooming. */
.team-card img[alt="Martijn van den Ouweelen"] { --portrait-y: 17%; }
.team-card img[alt="Guido van den Ouweelen"] { --portrait-y: 23%; }
.team-card img[alt="Siyao Tu"] { --portrait-y: 28%; }
.team-card img[alt="Tiffany Tan"] { --portrait-y: 18%; }
.team-card img[alt="Rachel Ke"] { --portrait-y: 17%; }
.team-card img[alt="Yuki Zheng"] { --portrait-y: 18%; }
.team-card img[alt="Yvonne Wu"] { --portrait-y: 21%; }
.team-card img[alt="Karin van Leeuwen"] { --portrait-y: 15%; }
.team-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.45rem; }
.team-card-body h2 { margin: 0 0 .35rem; font-size: 1.4rem; text-transform: none; }
.team-card-body p { margin: 0; color: var(--muted); }
/* Share content tracks across each row, including when names or roles wrap. */
@supports (grid-template-rows: subgrid) {
  .team-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .team-card-body { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .team-card-body h2 { align-self: start; }
  .team-card-body .team-link { align-self: end; }
}
.team-label { color: var(--blue-dark) !important; font-size: .88rem; font-weight: 800; letter-spacing: .04em; text-transform: none; margin-bottom: .85rem !important; }
.team-link { display: inline-flex; align-items: center; width: fit-content; margin-top: auto; padding-top: 1.15rem; color: var(--blue-dark); text-decoration: none; }
.team-link span { display: inline-grid; width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 6px; background: #0a66c2; color: #fff; font: 900 .82rem/1 Arial, sans-serif; letter-spacing: -.04em; }
.team-link span { transition: transform .18s ease, box-shadow .18s ease; }
.team-link:hover span { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(10,102,194,.28); }
.team-link:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 4px; border-radius: 5px; }
.team-card:has(.profile-card-trigger) { position: relative; }
.profile-card-trigger { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.profile-card-trigger::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
.profile-card-trigger:hover::after { box-shadow: inset 0 0 0 2px var(--line); }
.profile-card-trigger:focus-visible { outline: none; }
.profile-card-trigger:focus-visible::after { outline: 3px solid var(--blue-dark); outline-offset: -4px; }
.team-card:has(.profile-card-trigger) .team-link { position: relative; z-index: 2; }
.profile-close { width: fit-content; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #eaf6f7; color: var(--blue-dark); font: inherit; font-weight: 700; cursor: pointer; }
.profile-close:hover { background: #d7edef; }
.profile-close:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.profile-dialog { box-sizing: border-box; width: min(760px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 24px; background: var(--panel); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.profile-dialog::backdrop { background: rgba(8, 30, 46, .7); }
.profile-close { display: block; margin-left: auto; margin-bottom: 1rem; }
.profile-dialog h2 { margin-top: 0; }
.profile-dialog h3 { margin: 1.6rem 0 .5rem; }
.profile-dialog h4 { margin: .4rem 0; font: inherit; font-weight: 700; }
.profile-dialog p { color: var(--muted); }
.profile-dialog blockquote { margin: .75rem 0 0; font-style: italic; }
.authority-section { background: linear-gradient(180deg, var(--soft), #fff); }
.authority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.authority-card { display: flex; flex-direction: column; padding: 0 1.75rem 1.75rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); }
.value-card { padding-top: 0; }
.value-card .card-media { width: calc(100% + 2.9rem); margin: 0 -1.45rem 1.35rem; }
.authority-card .card-media { width: calc(100% + 3.5rem); margin: 0 -1.75rem 1.35rem; }
.card-media { display: block; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.authority-card > span { width: fit-content; padding: .35rem .65rem; border-radius: 999px; background: var(--soft); color: var(--blue-dark); font-weight: 900; font-size: .78rem; letter-spacing: .08em; }
.authority-card h3 { margin: 1rem 0 .55rem; }
.authority-card p { margin: 0 0 1.2rem; color: var(--muted); }
.article-author { margin: .9rem 0 1.6rem; padding: .8rem 1rem; border-left: 4px solid var(--blue); background: var(--soft); color: var(--muted); font-size: .92rem; }
.article-author a { color: var(--blue-dark); font-weight: 900; }
.insights-preview { background: linear-gradient(180deg, #fff, var(--bg)); }
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 3rem; align-items: start; }
.contact-note { color: var(--muted); font-weight: 700; margin: 1rem 0 1.5rem; }
.address-card { background: var(--ink); color: #dff5ff; border-radius: 26px; padding: 2rem; box-shadow: var(--shadow); font-style: normal; }
.address-card strong { color: #fff; }
.address-card a { color: #fff; text-decoration-color: rgba(255,255,255,.55); }
body[data-page="contact"] .contact-grid { grid-template-columns: minmax(0, 1.12fr) minmax(300px, .68fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
body[data-page="contact"] .contact-grid > div { max-width: 650px; }
body[data-page="contact"] .address-card {
  width: 100%;
  max-width: 380px;
  justify-self: end;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  background: rgba(6,46,70,.72);
  box-shadow: 0 18px 45px rgba(0,18,30,.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body[data-page="contact"] .address-card p { margin: 0; padding: .72rem 0; color: #dcebee; font-size: .92rem; line-height: 1.52; }
body[data-page="contact"] .address-card p:first-child { padding-top: 0; }
body[data-page="contact"] .address-card p:last-child { padding-bottom: 0; }
body[data-page="contact"] .address-card p + p { border-top: 1px solid rgba(255,255,255,.13); }
body[data-page="contact"] .address-card strong { display: inline-block; margin-bottom: .18rem; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }

.blog-hero {
  min-height: var(--hero-height);
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--hero-overlay), url('backgrounds/knowledge-research-port.webp') center 46% / cover no-repeat;
  border-left: 5px solid var(--light-blue);
}
.blog-hero .wrap { position: relative; z-index: 1; }
.blog-hero .eyebrow { color: #8edfe0; }
.blog-hero h1 { max-width: 760px; color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.28); }
.blog-hero .lead { max-width: 680px; color: #e5f2f6; }
.blog-list-section { background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 0; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; min-height: 430px; transition: .25s ease; position: relative; overflow: hidden; }
.blog-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--light-blue)); }
.blog-card.featured { background: #fff; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(22,79,141,.34); }
.blog-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.035); }
.blog-card-content { display: flex; flex-direction: column; flex: 1; padding: 1.55rem 1.7rem 1.8rem; }
.blog-card h2 { font-size: 1.35rem; text-transform: none; }
.blog-card.featured h2 { font-size: 1.35rem; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.blog-card p { color: var(--muted); }
.blog-meta { color: var(--blue-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin: 0 0 .8rem; }
.blog-read, .blog-back { color: var(--blue-dark); font-weight: 900; text-decoration: none; }
.blog-read { margin-top: auto; }
.blog-card .blog-read { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: fit-content; padding: .62rem .9rem; border: 1px solid rgba(22,79,141,.24); border-radius: 999px; background: rgba(70,186,186,.08); font-size: .88rem; font-weight: 800; line-height: 1.25; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.blog-card .blog-read::after { content: '→'; margin-left: .45rem; color: var(--light-blue); }
.blog-card .blog-read:hover { border-color: var(--light-blue); background: rgba(70,186,186,.15); color: var(--blue-dark); }
.article-wrap { max-width: 820px; }
.article-hero-media { margin: 1.8rem 0 2.3rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.article-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.article h1 { font-size: clamp(2.25rem, 4.2vw, 3.8rem); }
.article h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-top: 2.2rem; text-transform: none; }
.article p { font-size: 1.06rem; color: var(--text); }
.article .blog-back { display: inline-flex; margin-top: 2.75rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.footer { position: relative; overflow: hidden; color: #fff; padding: 0; background: linear-gradient(135deg, var(--blue) 0%, #237a9a 58%, var(--light-blue) 128%); }
.footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue), var(--light-blue) 48%, rgba(70,186,186,.18)); }
.footer-grid { position: relative; display: grid; grid-template-columns: minmax(180px, 1.15fr) minmax(170px, .8fr) minmax(290px, 1.2fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: start; padding-block: 3.5rem 2.75rem; }
.footer-grid > div:not(:first-child) { padding-top: .35rem; }
.footer-logo { display: block; width: 150px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; box-shadow: none; }
.footer strong { display: block; color: #fff; margin: 0 0 1rem; font-family: 'Oswald', sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.footer a, .footer span, .footer p { display: block; color: rgba(255,255,255,.84); text-decoration: none; margin: .42rem 0; font-size: .96rem; line-height: 1.5; }
.footer a { width: fit-content; transition: color .18s ease; }
.footer a:hover { color: #fff; }
.footer a:focus-visible { outline: 2px solid var(--light-blue); outline-offset: 4px; border-radius: 3px; }
.footer-contact { display: grid; align-content: start; justify-self: end; gap: .35rem; width: 290px; max-width: 100%; }
.footer-contact strong { margin-bottom: 1rem; }
.footer-contact .footer-email,
.footer-contact .footer-phone {
  display: grid;
  grid-template-columns: 76px max-content;
  align-items: baseline;
  justify-content: start;
  gap: .9rem;
  width: fit-content;
  margin: 0;
  padding: .24rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.footer-contact .footer-email { color: inherit; font-weight: 400; overflow-wrap: anywhere; }
.footer-contact .footer-phone:hover { background: transparent; }
.footer-contact .footer-email:hover .footer-contact-value,
.footer-contact .footer-phone:hover .footer-phone-number { color: #fff; }
.footer-contact .footer-contact-label,
.footer-contact .footer-phone-label {
  margin: 0;
  color: #70ced0;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-contact .footer-contact-value,
.footer-contact .footer-phone-number { margin: 0; color: rgba(255,255,255,.92); font-size: .92rem; line-height: 1.35; white-space: nowrap; transition: color .18s ease; }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.15rem 1.35rem; border-top: 1px solid rgba(255,255,255,.11); font-size: .82rem; }
.footer-bottom > span { color: rgba(255,255,255,.72); margin: 0; font-size: .86rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.4rem; }
.footer-bottom-links a { color: rgba(255,255,255,.82); margin: 0; font-size: .86rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; }

.legal-page { background: linear-gradient(145deg, #f5fafa, #eaf7f7); }
.legal-wrap { max-width: 880px; }
.legal-updated { color: var(--muted); font-weight: 700; margin-bottom: 2rem; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.legal-card section + section { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.5rem; }
.legal-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-bottom: .65rem; }
.legal-card p { color: var(--text); margin-bottom: 0; }
.legal-contact { margin-top: 2rem; padding: 1.5rem; border-radius: 20px; background: var(--ink); color: #fff; }
.legal-contact h2, .legal-contact p, .legal-contact a { color: #fff; }

.error-page { min-height: calc(100vh - 240px); display: grid; place-items: center; background: linear-gradient(145deg, #f5fafa, #eaf7f7); }
.error-card { max-width: 820px; text-align: center; }
.error-card h1 { max-width: 760px; margin-inline: auto; }
.error-card .lead { max-width: 620px; margin-inline: auto; }
.error-card .actions { justify-content: center; }

/* Brandbook 2026 refinements */
p, li, address { font-size: 1rem; }
.section-intro, .lead { line-height: 1.7; }
.card p, .card li, .feature-card p, .step span, .quote-grid p { font-size: .98rem; }
.service-example { margin-top: 1rem !important; padding: 1rem; border-left: 4px solid var(--light-blue); border-radius: 0 12px 12px 0; background: rgba(70,186,186,.1); color: var(--ink) !important; }
.service-example strong { display: block; margin-bottom: .25rem; color: var(--blue-dark); }
.service-example span { display: block; }
.services-overview { background: linear-gradient(180deg, #fff, var(--soft)); }
.services-overview .service-cards { margin-top: 0; }
.services-overview .service-card { background: #fff; }
.services-faq { background: linear-gradient(180deg, #fff, var(--soft)); }
.services-faq .faq-service-section { padding: 0; background: transparent; }
.services-faq .faq-service-section + .faq-service-section { margin-top: 4.5rem; padding-top: 4.5rem; border-top: 1px solid var(--line); }
.services-faq .faq-section-intro { position: static; }
.services-faq .faq-section-intro > .service-example { margin-top: 1.4rem !important; color: var(--text) !important; }
.process-model-light { background: #fff; color: var(--text); }
.process-model-light::before { background: linear-gradient(180deg, var(--blue), var(--light-blue)); }
.process-model-light .callout-card .eyebrow { color: var(--blue); }
.process-model-light .callout-card h2 { color: var(--ink); }
.process-model-light .callout-card p { color: var(--text); }
.process-model-light .checklist li { color: var(--ink); background: var(--soft); border-color: var(--line); }
.process-model-light .checklist li::before { color: var(--blue); }
.process-cta-dark { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.process-cta-dark::before { background: var(--light-blue); }
.process-cta-dark .eyebrow, .process-cta-dark h2, .process-cta-dark .section-intro { color: #fff; }
.about-image-band { background: #fff; }
.about-image-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.35rem; }
.about-image-grid figure { margin: 0; overflow: hidden; min-height: 330px; border-radius: 26px; box-shadow: var(--shadow-soft); }
.about-image-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.contact-details-section { background: linear-gradient(180deg, #fff, var(--soft)); }
.contact-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-detail { padding: 1.6rem; border: 1px solid var(--line); border-top: 4px solid var(--light-blue); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); font-style: normal; }
.contact-detail strong { display: block; margin-bottom: .65rem; color: var(--ink); font-family: 'Oswald', sans-serif; font-size: 1.15rem; }
.contact-detail p { margin: 0; color: var(--muted); }
.contact-detail a { color: var(--blue-dark); font-weight: 800; }
body[data-page="contact"] .contact-grid { grid-template-columns: minmax(0, 680px); }
body[data-page="contact"] main > .contact:first-child { min-height: 520px; }
.contact-copy { max-width: 650px; padding: 2.2rem; border-radius: 24px; background: rgba(3,20,30,.76); backdrop-filter: blur(8px); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; padding: .8rem 0; }
  .menu-toggle { display: inline-flex; appearance: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .8rem; background: #fff; font-weight: 900; }
  .nav-links { display: none; width: 100%; order: 4; flex-direction: column; align-items: stretch; padding-bottom: .75rem; }
  .nav-links.open, .nav-links.always-visible { display: flex; }
  .nav-links a { background: #fff; }
  .contact-grid, .callout-card, .split-heading, .about-image-grid { grid-template-columns: 1fr; display: grid; }
  body[data-page="contact"] .contact-grid { grid-template-columns: 1fr; }
  body[data-page="contact"] .address-card { max-width: none; justify-self: stretch; }
  .faq-section-grid { grid-template-columns: 1fr; }
  .faq-section-intro { position: static; }
  .trust-grid, .cards.four, .cards.three, .process-route, .blog-grid, .footer-grid, .feature-grid, .unit-grid, .team-grid, .authority-grid, .contact-details-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-contact { grid-column: 1 / -1; justify-self: start; }
  .partner-panel { grid-template-columns: 1fr; }
  .process-route::before { display: none; }
  .hero { min-height: auto; padding: 76px 0; background-size: cover; animation: none; }
  body[data-page="services"] main > .services-section:first-child { background-attachment: scroll; background-position: 62% center; }
}

@media (max-width: 640px) {
  .hero { background-position: 65% center; }
  .blog-hero { background-position: 60% center; }
  .faq-hero { min-height: auto; }
  body[data-page="faq"] main > .faq-hero:first-child { background-position: 64% center; }
  body[data-page="about"] main > .why-section:first-child { background-position: 62% center; }
  body[data-page="team"] main > .team-intro:first-child { background-position: 70% center; }
  body[data-page="contact"] main > .contact:first-child { background-position: 62% center; }
  .wrap, .nav { width: min(100% - 28px, 1120px); }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.65rem, 8vw, 2.35rem); }
  .actions .button { width: 100%; }
  .trust-grid, .cards.four, .cards.three, .process-route, .blog-grid, .footer-grid, .feature-grid, .unit-grid, .team-grid, .authority-grid, .contact-details-grid { grid-template-columns: 1fr; }
  .partner-panel { padding: 1.35rem; }
  .trade-line { grid-template-columns: 1fr; gap: .45rem; }
  .trade-line i { height: 1px; }
  .footer-bottom { flex-direction: column; }
  .footer-grid { grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr); gap: 2.15rem 1.5rem; padding-block: 3rem 2.25rem; }
  .footer-grid > .footer-contact { grid-column: 1 / -1; }
  .footer-grid > div:not(:first-child) { padding-top: 0; }
  .footer-logo { width: 132px; }
  .footer-bottom { align-items: flex-start; gap: .7rem; }
  .nav { min-height: 92px; column-gap: .45rem; }
  .brand img { width: 92px; }
  .language { width: auto; order: initial; margin-left: auto; }
  .language button, .lang-link { padding: .34rem .48rem; }
  .nav-links.always-visible { flex-direction: row; flex-wrap: wrap; gap: .25rem; padding-bottom: .55rem; }
  .nav-links.always-visible a { flex: 1 1 auto; text-align: center; padding: .5rem .6rem; }
}

@media print {
  @page { size: A4; margin: 9mm; }
  html { scroll-behavior: auto; }
  body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .site-header {
    position: static;
    backdrop-filter: none;
    background: #fff;
  }
  .nav { min-height: 96px; padding: 0; }
  .section { padding: 54px 0; }
  .hero,
  .blog-hero { min-height: auto; background-attachment: scroll; }
  .eyebrow,
  h1,
  h2,
  h3 { break-after: avoid-page; }
  p,
  li { orphans: 3; widows: 3; }
  .card,
  .feature-card,
  .portal-card,
  .process-step,
  .team-card,
  .authority-card,
  .blog-card,
  .address-card,
  .article-cta,
  .footer-grid,
  .footer-bottom { break-inside: avoid-page; }
  .footer { break-before: auto; }
  a { text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Analytics consent */
.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1120px;
  margin-inline: auto;
  padding: 1.1rem 1.25rem;
  color: #fff;
  background: #0b3658;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(5, 32, 52, 0.28);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__copy { max-width: 760px; }
.cookie-banner__copy strong { display: block; margin-bottom: 0.25rem; font-size: 1.05rem; }
.cookie-banner__copy p { margin: 0 0 0.35rem; color: rgba(255, 255, 255, 0.86); font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__copy a { color: #fff; font-size: 0.86rem; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; flex: 0 0 auto; gap: 0.65rem; }
.cookie-banner .button { min-height: 42px; padding: 0.65rem 1rem; }
.cookie-banner .button.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.cookie-settings {
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.cookie-settings:hover, .cookie-settings:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 0.9rem; }
  .cookie-banner__actions { justify-content: flex-end; }
}
