/* Inner page compositions. Loaded after the common visual system. */
#main {
  --page-ground: #101114;
  --page-card: #1b1d22;
  --page-raised: #23252c;
  --page-text: #f5f5f7;
  --page-muted: #b6b8c2;
  --page-line: #ffffff20;
  --page-accent: #d91f34;
  --page-radius: 20px;
  --page-gap: 16px;
  --page-space: clamp(48px, 4.5vw, 64px);
  --page-top: 124px;
}

.d-open,
.catalog-capabilities,
.catalog-cloud,
.catalog-interface,
.service-sequence,
.service-case,
.detail-related,
.detail-cta,
.operating-note,
.mk-page,
.corp-page {
  color: var(--page-text);
  background: var(--page-ground);
  --line: var(--page-line);
  --muted: var(--page-muted);
}

:is(.d-open, .catalog-capabilities, .catalog-cloud, .service-sequence, .service-case, .detail-cta) h2 {
  font-size: clamp(30px, 3.25vw, 48px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

:is(.d-open, .catalog-capabilities, .service-sequence, .service-case, .catalog-cloud) p:not(.kicker) {
  color: var(--page-muted);
}

:is(.d-open, .catalog-capabilities, .catalog-cloud, .catalog-interface, .detail-cta, .service-case, .service-sequence, .operating-note, .action-open, .sitemap-hero) .kicker {
  font-size: 14px;
  margin-block-end: 16px;
  color: var(--page-muted);
}

:is(.catalog-capabilities, .catalog-cloud, .catalog-interface) {
  padding-block: var(--page-space);
}

/* Product hero combines the name, context and official artwork in one grid. */
.d-open { padding-block: var(--page-top) 0; }
.d-open .breadcrumb { margin: 0; font-size: 14px; border-color: #ffffff54; }
.d-open .d-title h1 {
  font-size: clamp(42px, 5.1vw, 76px);
  line-height: 1.06;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.d-open .lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; }
.d-open figure { border-radius: var(--page-radius); border: 1px solid var(--page-line); }
.catalog-product > .wrap {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: var(--page-gap);
  align-items: stretch;
}
.catalog-product .breadcrumb { grid-column: 1 / -1; justify-self: start; margin-bottom: 8px; }
.catalog-product .d-title { display: contents; }
.catalog-product .d-title > div,
.catalog-product .d-title > .lead {
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid var(--page-line);
  border-radius: var(--page-radius);
  background: var(--page-card);
}
.catalog-product .d-title > div { grid-column: 1; grid-row: 2; }
.catalog-product .d-title > .lead { grid-column: 2; grid-row: 2; display: flex; align-items: center; margin: 0; max-width: none; }
.catalog-product figure { grid-column: 1 / -1; grid-row: 3; margin: 0; max-width: none; min-width: 0; background: #191b20; }
.catalog-product .detail-art {
  height: auto;
  width: 100%;
  min-height: 0;
  max-height: 390px;
  object-fit: contain;
  background: #191b20;
}
.catalog-product.d-night .d-title > div { border-color: #d91f3455; }
.catalog-product.d-side .d-title > .lead { background: #202229; }

/* Services retain three distinct image and headline arrangements. */
.catalog-service .breadcrumb { margin-bottom: 22px; }
.catalog-service .d-title { grid-template-columns: 1.1fr .9fr; gap: 32px; }
.catalog-service .d-title > .lead { max-width: 54ch; }
.catalog-service figure { margin-block-start: 24px; }
.catalog-service .detail-art {
  width: 100%;
  height: clamp(240px, 29vw, 390px);
  max-height: none;
  object-fit: cover;
  background: var(--page-card);
}
.catalog-service.d-side > .wrap {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: stretch;
}
.catalog-service.d-side .breadcrumb { margin-bottom: 8px; }
.catalog-service.d-side .d-title {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid var(--page-line);
  border-radius: var(--page-radius);
  background: var(--page-card);
}
.catalog-service.d-side .d-title p { margin: 0; }
.catalog-service.d-side .d-title h1 { font-size: clamp(38px, 4vw, 62px); }
.catalog-service.d-side figure { margin: 0; }
.catalog-service.d-side .detail-art { height: 100%; min-height: 360px; }
.catalog-service.d-ink figure { max-width: none; margin-inline-start: 0; }
.catalog-service[data-topic="next-generation-infrastructure"] .detail-art { object-fit: contain; padding: 20px; }
.catalog-service.d-night .d-title {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--page-line);
  border-radius: var(--page-radius);
  background: var(--page-card);
}

/* The existing accessible tabs become a compact, tactile capability index. */
.catalog-capabilities .feature-index { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; margin-top: 24px; }
.catalog-capabilities .tabrail { gap: 10px; position: static; }
.catalog-capabilities .feature-index .tabrail button {
  padding: 20px 22px;
  min-height: 76px;
  border: 1px solid var(--page-line);
  border-radius: 16px;
  background: var(--page-card);
  color: var(--page-text);
  font-size: clamp(16px, 1.4vw, 20px);
}
.catalog-capabilities .feature-index .tabrail button[aria-selected="true"] {
  background: #30212c;
  border-color: #ec3b8b9c;
  box-shadow: inset 3px 0 #d91f34;
  color: #fff;
}
[dir="rtl"] .catalog-capabilities .feature-index .tabrail button[aria-selected="true"] { box-shadow: inset -3px 0 #d91f34; }
.catalog-capabilities .feature-index .tabrail button .icon { color: #f38daf; }
.catalog-capabilities .panes,
.catalog-capabilities [role="tabpanel"] { height: 100%; }
.catalog-capabilities .feature-read {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 248px;
  height: 100%;
  padding: clamp(26px, 3.2vw, 42px);
  border: 1px solid #e348783d;
  border-radius: var(--page-radius);
  background: linear-gradient(125deg, #27202a, #1b1d22 75%);
}
.catalog-capabilities .feature-read small { color: #ff90b2; font-size: 14px; }
.catalog-capabilities .feature-read h3 { font-size: clamp(27px, 3vw, 42px); margin: 15px 0; max-width: 18ch; }
.catalog-capabilities .feature-read p { max-width: 52ch; font-size: 16px; line-height: 1.65; }

.service-sequence > .wrap { grid-template-columns: .8fr 1.2fr; gap: 32px; padding-block: var(--page-space); }
.sequence-title { top: 112px; }
.sequence-title > p:not(.kicker) { margin-block: 18px 0; line-height: 1.65; }
.sequence-rows { display: grid; gap: 16px; }
.sequence-rows article {
  min-height: 0;
  padding: 26px 28px;
  border: 1px solid var(--page-line);
  border-radius: var(--page-radius);
  background: var(--page-card);
}
.sequence-rows h3 { margin: 0 0 14px; font-size: clamp(24px, 2.2vw, 32px); }
.sequence-rows article:last-child { border-color: #d91f3460; }
.service-case { padding-block: 8px; }
.service-case .wrap {
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  padding-block: 0;
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: var(--page-radius);
  background: var(--page-card);
}
.service-case .wrap > div { padding: clamp(26px, 3vw, 44px); }
.service-case img { height: 100%; min-height: 320px; max-height: 500px; object-fit: cover; }
.service-case h2 { font-size: clamp(32px, 3.6vw, 50px); }
.service-case p:not(.kicker) { margin-block: 18px; line-height: 1.65; }
.service-case + .service-case { margin-top: 16px; }
.operating-note {
  padding: 28px;
  margin-block: 0 var(--page-space);
  border: 1px solid var(--page-line);
  border-radius: var(--page-radius);
  background: var(--page-card);
}
.operating-note h2 { font-size: clamp(30px, 3vw, 43px); }
.operating-note p:not(.kicker) { margin-block: 16px; max-width: 66ch; }
.catalog-cloud .cloud-steps { gap: 16px; margin-top: 24px; }
.catalog-cloud .cloud-steps li { padding: 28px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); }
.catalog-cloud .cloud-steps li > span { color: #f182a3; font-size: 14px; }
.catalog-cloud .cloud-steps h3 { margin-block: 22px 14px; font-size: clamp(24px, 2.2vw, 32px); }
.catalog-cloud .cloud-steps p { line-height: 1.65; }
.catalog-interface .actual-ui { gap: 56px; justify-content: center; padding: 36px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: #1b1d22; }
.catalog-interface .actual-ui > img { max-height: 390px; border: 6px solid #08090b; border-radius: 26px; box-shadow: 0 22px 60px #0008; }
.catalog-interface .actual-ui h2 { font-size: clamp(32px, 3.6vw, 50px); }
.catalog-interface .actual-ui p:not(.kicker) { color: var(--page-muted); }

.detail-related { border: 0; padding-block: var(--page-space); }
.related-flex { display: grid; grid-template-columns: .55fr 1.45fr; gap: 32px; }
.related-flex h2 { font-size: clamp(24px, 2.5vw, 34px); margin: 4px 0; }
.related-flex > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-flex .textlink { padding: 18px 20px; border: 1px solid var(--page-line); border-radius: 14px; background: var(--page-card); color: var(--page-text); }
.detail-cta { padding-block: 0 var(--page-space); }
.detail-cta .wrap { padding: 30px 34px; border: 1px solid #d91f3460; border-radius: var(--page-radius); background: #201820; }
.detail-cta h2 { font-size: clamp(27px, 3.1vw, 44px); }
.detail-cta .button { flex: none; }

/* Sector photography stays prominent, with a quieter caption underneath. */
.mk-page {
  --mk-ink: var(--page-text);
  --mk-paper: var(--page-ground);
  --mk-edge: 0px;
  padding-top: var(--page-top);
}
.mk-container,
.mk-photo-caption { width: min(100% - var(--pad) * 2, 1550px); max-width: none; padding-inline: 0; }
.mk-lead { width: min(100% - var(--pad) * 2, 1550px); margin-inline: auto; border-radius: var(--page-radius); border: 1px solid var(--page-line); background: var(--page-card); }
.mk-hero-copy h1 { font-size: clamp(40px, 5.8vw, 78px); margin-block: 18px 24px; max-width: 14ch; line-height: 1.04; }
.mk-eyebrow { color: #c1c1ca; font-size: 14px; letter-spacing: .12em; }
.mk-eyebrow::before { width: 20px; }
.mk-jump { color: #fff; font-size: 14px; border-bottom-color: #ffffff70; }
.mk-portrait { grid-template-columns: 1fr 1.05fr; }
.mk-portrait .mk-hero-copy { padding: 36px; }
.mk-portrait .mk-photo { height: clamp(360px, 37vw, 510px); }
.mk-panorama { min-height: clamp(380px, 56vh, 540px); }
.mk-panorama .mk-hero-copy { padding: 40px; }
.mk-panorama::before { background: linear-gradient(90deg, #101114de, #10111435), linear-gradient(0deg, #101114bb, transparent 65%); }
[dir="rtl"] .mk-panorama::before { background: linear-gradient(-90deg, #101114de, #10111435), linear-gradient(0deg, #101114bb, transparent 65%); }
.mk-masthead { grid-template-columns: .9fr 1.1fr; }
.mk-masthead .mk-hero-copy { display: block; padding: 36px; align-self: center; }
.mk-masthead .mk-photo { height: clamp(340px, 37vw, 510px); }
.mk-masthead .mk-jump { margin-block-start: 24px; }
.mk-topic-fintech .mk-photo { margin: 16px; border-radius: 14px; height: calc(100% - 32px); min-height: 330px; }
.mk-topic-fintech .mk-photo img { object-fit: contain; padding: 6%; background: #fff; }
.mk-photo-caption { padding-block: 14px; border: 0; color: #9699a5; font-size: 14px; line-height: 1.55; }
.mk-intro,
.mk-capabilities,
.mk-case,
.mk-related { padding-block: var(--page-space); }
.mk-intro .mk-container,
.mk-capabilities .mk-container,
.mk-case .mk-container,
.mk-related .mk-container,
.mk-contact .mk-container { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
.mk-intro .mk-abstract { font-size: clamp(22px, 2.15vw, 31px); line-height: 1.45; letter-spacing: -.02em; max-width: 43ch; }
.mk-intro .mk-eyebrow { margin-top: 10px; }
.mk-capabilities { background: var(--page-ground); padding-top: 0; }
.mk-focus-heading { position: sticky; top: 110px; }
.mk-focus-heading h2,
.mk-question h2,
.mk-related h2 { font-size: clamp(27px, 3vw, 42px); line-height: 1.17; letter-spacing: -.035em; }
.mk-capabilities .mk-container > div:last-child { display: grid; gap: 12px; }
.mk-detail,
.mk-detail:last-child { border: 1px solid var(--page-line); border-radius: 16px; background: var(--page-card); padding-inline: 22px; }
.mk-detail > summary { padding-block: 23px; font-size: 18px; line-height: 1.35; }
.mk-detail p { padding-block: 0 24px; font-size: 16px; line-height: 1.65; color: var(--page-muted); }
.mk-family-trend .mk-capabilities { color: var(--page-text); background: var(--page-ground); }
.mk-family-trend .mk-detail { border-color: var(--page-line); }
.mk-detail[open],
.mk-family-trend .mk-detail[open] { background: #272029; border-color: #e750855e; }
.mk-plus::before,
.mk-plus::after { background: #f875a1; }
.mk-trend-intro .mk-container { grid-template-columns: 1.1fr 1fr; align-items: start; }
.mk-trend-intro .mk-abstract { color: var(--page-muted); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; }
.mk-model { border: 1px solid var(--page-line); border-radius: var(--page-radius); background: #20222a; padding: 24px; margin-top: 24px; }
.mk-model > p { color: #b7b7c2; font-size: 14px; }
.mk-model ol { gap: 14px; }
.mk-model li { color: #f5f5f7; font-size: 15px; }
.mk-case { background: transparent; padding-top: 0; }
.mk-case .mk-container { padding: 30px; border: 1px solid #d91f3450; border-radius: var(--page-radius); background: #241d26; }
.mk-case p:not(.mk-eyebrow) { font-size: clamp(23px, 2.4vw, 33px); line-height: 1.4; }
.mk-case .mk-link { font-size: 14px; color: #e1c6d6; }
.mk-related { padding-top: 0; }
.mk-related ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-related li,
.mk-related li:last-child { border: 1px solid var(--page-line); border-radius: 14px; background: var(--page-card); }
.mk-related li a { padding: 20px; font-size: 16px; line-height: 1.4; height: 100%; }
.mk-related li a :last-child { color: #f48cae; }
.mk-contact { border: 0; padding-bottom: var(--page-space); }
.mk-contact .mk-container { background: #201820; border: 1px solid #d91f3460; border-radius: var(--page-radius); padding: 28px 30px; }
.mk-contact p { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; }
.mk-contact a { color: #f5dce5; font-size: 16px; justify-self: end; }

/* Corporate pages have their own media-rich editorial grid. */
.corp-page {
  --cp-ink: var(--page-text);
  --cp-muted: var(--page-muted);
  --cp-line: var(--page-line);
  --cp-accent: #ff7ca7;
  --cp-paper: var(--page-ground);
}
.corp-page h1 { font-size: clamp(42px, 5.5vw, 78px); line-height: 1.04; max-width: 15ch; letter-spacing: -.05em; }
.corp-page h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.12; }
.corp-page h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
.corp-page p:not(.kicker),
.corp-page dd { font-size: 16px; line-height: 1.65; }
.corp-page .kicker { color: #b6b8c2; margin-bottom: 16px; font-size: 14px; }
.corp-hero { padding-block: var(--page-top) 24px; }
.corp-hero .corp-intro,
.corp-survey-head .corp-intro { font-size: 17px; margin-top: 20px; max-width: 53ch; }
.corp-charcoal { background: var(--page-ground); color: var(--page-text); --cp-muted: var(--page-muted); }
.corp-two { grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: stretch; }
.corp-two > div { padding: 30px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); display: flex; flex-direction: column; justify-content: center; }
.corp-two > figure { border: 1px solid var(--page-line); border-radius: var(--page-radius); overflow: hidden; }
.corp-page .corp-office,
.corp-page .corp-work { height: clamp(300px, 33vw, 440px); max-height: none; }
.corp-block { padding-block: var(--page-space); }
.corp-block > h2:first-child { margin-bottom: 24px; }
.corp-page .corp-facts { gap: 16px; margin-bottom: 32px; }
.corp-facts > div { gap: 14px; padding: 28px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); }
.corp-facts strong { font-size: clamp(42px, 5vw, 66px); font-weight: 500; letter-spacing: -.065em; color: #fff; }
.corp-facts > div:first-child { background: #391321; border-color: #d91f3465; }
.corp-facts span { color: #bec0ca; font-size: 14px; }
.corp-history-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.corp-history-row { display: block; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); padding: 26px; }
.corp-history-row > span { display: block; font-size: 14px; color: #f68da8; margin-bottom: 25px; letter-spacing: .01em; }
.corp-history-row h3 { font-size: 25px; }
.corp-history-row p { margin-top: 14px; }
.corp-purpose { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 32px; }
.corp-purpose > div { padding: 28px; background: var(--page-card); border: 1px solid var(--page-line); border-radius: var(--page-radius); }
.corp-purpose h2 { font-size: clamp(27px, 2.65vw, 38px); max-width: 20ch; }
.corp-purpose p { margin-top: 0; }
.corp-board { background: var(--page-ground); }
.corp-end { padding: 0 0 var(--page-space); background: var(--page-ground); }
.corp-end .wrap { padding: 28px 32px; border: 1px solid #d91f3460; border-radius: var(--page-radius); background: #211920; }
.corp-end h2 { max-width: 22ch; }
.corp-page .corp-button { border-radius: 12px; background: #d91f34; color: #fff !important; padding: 14px 20px; }
.corp-page .corp-link { color: #eedee8; font-size: 14px; border-color: #ffffff65; }

/* Larger portraits, compact captions and a stable image crop. */
.corp-page .corp-feature-portrait { max-width: none; width: 100%; margin: 0; background: var(--page-card); }
.corp-feature-portrait img { width: 100%; height: 360px; object-fit: cover; object-position: 50% 25%; }
.corp-feature-portrait figcaption { font-size: 14px; padding: 14px 22px; background: var(--page-card); color: #c8c9d1; }
.corp-jumps { gap: 22px; margin-top: 24px; }
.corp-people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.corp-board .corp-people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.corp-person { grid-template-columns: minmax(0, 1fr) auto; gap: 0; padding: 0; border: 1px solid var(--page-line); border-radius: var(--page-radius); overflow: hidden; background: var(--page-card); align-items: center; }
.corp-person > img { grid-column: 1 / -1; width: 100%; height: clamp(220px, 22vw, 310px); aspect-ratio: auto; object-fit: cover; object-position: 50% 22%; }
.corp-person > span { padding: 20px; min-height: 108px; }
.corp-person > .icon { margin-inline-end: 20px; color: #ff7fa6; }
.corp-person strong { font-size: clamp(19px, 1.75vw, 25px); line-height: 1.2; letter-spacing: -.025em; }
.corp-person small { font-size: 14px; line-height: 1.55; margin-top: 8px; color: #b9bbc5; }
.corp-board .corp-person > img { height: clamp(200px, 20vw, 280px); }
.corp-board .corp-person strong { font-size: 21px; }

/* The first project opens as a photo essay, with two supporting case studies. */
.corp-page[data-page="success-stories"] .corp-two { position: relative; display: flex; align-items: end; min-height: 520px; padding: 36px; border: 1px solid var(--page-line); border-radius: var(--page-radius); overflow: hidden; isolation: isolate; }
.corp-page[data-page="success-stories"] .corp-two::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101114ed, #10111438), linear-gradient(0deg, #101114b3, transparent 75%); z-index: -1; }
.corp-page[data-page="success-stories"] .corp-two > div { padding: 0; background: none; border: 0; max-width: 670px; }
.corp-page[data-page="success-stories"] .corp-intro { color: #d2d3da; }
.corp-page[data-page="success-stories"] .corp-metro { position: absolute; z-index: -2; inset: 0; border: 0; border-radius: 0; }
.corp-page[data-page="success-stories"] .corp-metro img { width: 100%; height: 100%; object-fit: cover; }
.corp-page[data-page="success-stories"] .corp-metro figcaption { inset-inline-start: auto; inset-inline-end: 20px; bottom: 20px; font-size: 14px; background: #101114b8; border-radius: 8px; }
.corp-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.corp-story-row,
.corp-story-row:not(:first-of-type) { display: flex; flex-direction: column; gap: 0; padding: 0; border: 1px solid var(--page-line); border-radius: var(--page-radius); overflow: hidden; background: var(--page-card); align-items: stretch; }
.corp-story-row:first-of-type { grid-column: 1 / -1; max-width: none; display: block; }
.corp-story-row > div { padding: 28px; }
.corp-story-row:first-of-type > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px 28px; align-items: start; }
.corp-story-row:first-of-type .kicker { grid-column: 1; }
.corp-story-row:first-of-type h2 { grid-column: 1; }
.corp-story-row:first-of-type p { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.corp-story-row:first-of-type .corp-link { grid-column: 2; justify-self: start; }
.corp-story-row figure { height: 280px; aspect-ratio: auto; }
.corp-story-row h2 { font-size: clamp(28px, 3vw, 42px); }
.corp-story-row .corp-logo-figure { padding: 28px; }
.corp-story-row .corp-link { align-self: start; }

/* News keeps its long headlines while presenting photography at usable sizes. */
.corp-news { padding-top: 8px; }
.corp-news-feature { grid-template-columns: 1.15fr 1fr; gap: 0; padding: 0; margin-bottom: 16px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); overflow: hidden; align-items: stretch; }
.corp-news-feature > div:last-child { padding: 32px; align-self: center; }
.corp-news-feature h2 { font-size: clamp(29px, 3vw, 43px); }
.corp-news-art { background: #f5f5f7; display: grid; place-items: center; }
.corp-news-art img { width: 100%; max-height: none; height: 100%; max-width: 100%; object-fit: contain; }
.corp-news-feature .corp-news-art { min-height: 330px; }
.corp-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.corp-news-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; padding: 0; border: 1px solid var(--page-line); border-radius: var(--page-radius); overflow: hidden; background: var(--page-card); align-items: start; }
.corp-news-line > img { grid-column: 1 / -1; width: 100%; height: 240px; object-fit: cover; }
.corp-news-line > div { padding: 26px; }
.corp-news-line > .icon { margin: 28px 24px 0 0; color: #ff8bab; }
[dir="rtl"] .corp-news-line > .icon { margin-inline: 0 24px; }
.corp-news-line h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.corp-news-line p { margin-top: 14px; }
.corp-news-line:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: .65fr 1fr auto; }
.corp-news-line:last-child:nth-child(odd) > img { grid-column: 1; height: 100%; min-height: 230px; }
.corp-news .corp-link { margin-top: 24px; }
.corp-news time,
.corp-event dt { color: #a9acb8; font-size: 14px; }

/* A compact working model for methodology, and full-color partner identities. */
.corp-phase-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.corp-phase-nav a { border: 1px solid var(--page-line); border-radius: 14px; padding: 20px; background: var(--page-card); font-size: 16px; align-items: center; }
.corp-phase-nav span { color: #f887a5; }
.corp-process { grid-template-columns: .65fr 1.35fr; gap: 32px; }
.corp-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.corp-phases article { display: block; padding: 26px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); }
.corp-phases article > strong { font-size: 14px; color: #f78eaf; display: block; margin-bottom: 26px; }
.corp-phases h3 { font-size: 27px; }
.corp-phases article:last-child { border-color: #d91f3460; }
.corp-process + .corp-board .corp-purpose { grid-template-columns: 1fr 1fr; padding-top: 0; }
.corp-process + .corp-board .corp-purpose > p { padding: 28px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); }
.corp-partner-group { grid-template-columns: .45fr 1.55fr; gap: 24px; padding-block: 24px; border-color: var(--page-line); }
.corp-partner-group h2 { font-size: clamp(24px, 2.4vw, 34px); }
.corp-marks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.corp-marks figure { min-height: 140px; padding: 24px 18px 16px; justify-content: center; align-items: center; background: #f5f5f7; border: 1px solid transparent; border-radius: 16px; }
.corp-page .corp-marks img { width: 100%; height: 58px; max-width: 160px; object-fit: contain; object-position: center; filter: none; }
[dir="rtl"] .corp-page .corp-marks img { object-position: center; }
.corp-marks figcaption { text-align: center; font-size: 14px; line-height: 1.5; color: #404148; margin-top: 8px; }

/* People, roles, reports and forms receive the same compact spacing. */
.corp-culture { grid-template-columns: .75fr 1.25fr; gap: 32px; }
.corp-duo { gap: 16px; }
.corp-duo img { height: 320px; object-fit: cover; border-radius: var(--page-radius); }
.corp-duo img + img { margin-top: 0; height: 370px; }
.corp-jobs .corp-choice { gap: 10px; margin-block: 24px; }
.corp-choice label span { border-color: #ffffff32; border-radius: 10px; background: #1b1d22; color: #d5d5df; padding: 10px 16px; }
.corp-choice input:checked + span { background: #d91f34; border-color: #d91f34; color: #fff; }
.corp-job,
.corp-doc-row { border: 1px solid var(--page-line); border-radius: 14px; padding: 22px 24px; margin-bottom: 12px; background: var(--page-card); }
.corp-job strong { font-size: clamp(19px, 1.7vw, 25px); }
.corp-job > .icon,
.corp-doc-row .icon { color: #ff89ad; }
.corp-report-feature { grid-template-columns: 1fr .7fr; gap: 28px; padding: 32px; margin-bottom: 40px; border: 1px solid #d91f3445; border-radius: var(--page-radius); background: #211b25; }
.corp-report-feature h2 { font-size: clamp(72px, 9vw, 130px); color: #fff; }
.corp-report-feature img { max-height: 290px; width: auto; border-radius: 12px; }
.corp-report-feature .corp-button { background: #d91f34; color: #fff !important; }
.corp-doc-row small { font-size: 14px; }
.corp-doc-row b { font-size: 26px; color: #fff; }
.corp-doc-row span { color: #b7bac4; }
.corp-event { gap: 32px; padding: 28px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); }
.corp-event h2 { font-size: clamp(28px, 3vw, 42px); }
.corp-event > figure,
.corp-event > img { border-radius: 14px; overflow: hidden; }
.corp-survey-grid { grid-template-columns: .75fr 1.25fr; gap: 32px; padding-block: var(--page-top) var(--page-space); }
.corp-survey-head { top: 110px; }
.corp-survey-head h1 { font-size: clamp(40px, 5vw, 68px); }
.corp-survey { padding: 28px; border: 1px solid var(--page-line); border-radius: var(--page-radius); background: var(--page-card); gap: 28px; }
.corp-form-intro { gap: 16px; }
.corp-field input { background: #101114; color: #f5f5f7; border: 1px solid #ffffff30; border-radius: 10px; padding: 13px; }
.corp-survey .corp-choice { gap: 10px; }
.corp-survey .corp-choice legend { font-size: 16px; margin-bottom: 14px; }
.corp-survey .corp-choice label span { background: #111216; }
.corp-survey .corp-choice input:checked + span { background: #d91f34; }
.corp-survey .corp-button { justify-self: stretch; }

/* Utility pages keep straightforward controls and a consistent dark surface. */
#main > .action-open { background: #101114; color: #f5f5f7; padding-block: var(--page-top) 20px; }
.action-open h1,
.sitemap-hero h1 { font-size: clamp(48px, 6vw, 82px); line-height: 1.05; }
.action-open p:not(.kicker) { font-size: 18px; max-width: 55ch; color: #b8bac4; }
.action-open + .paper { padding-block: 32px 56px; background: #101114; color: #f5f5f7; --line: #ffffff20; --muted: #b6b8c2; }
.contact-layout { gap: 16px; grid-template-columns: .9fr 1.1fr; align-items: start; }
.contact-info,
.inquiry { background: #1b1d22; border: 1px solid #ffffff20; border-radius: 20px; padding: 28px; }
.contact-info h2,
.inquiry h2 { font-size: 32px; }
.contact-info h3 { font-size: 20px; }
.contact-info p { color: #b6b8c2; }
.contact-info > div { padding-block: 20px; }
.contact-info > div:last-child { border: 0; }
.inquiry input,
.inquiry textarea,
.inquiry select { background: #101114; color: #f5f5f7; border: 1px solid #ffffff30; border-radius: 10px; padding: 13px; }
.inquiry form .button { justify-self: stretch; }
.inquiry .official { color: #f2bad2; }
.inquiry p { color: #b6b8c2; }
.inquiry :is(input,textarea)::placeholder { color: #9497a4; }
.sitemap-hero { padding-block: var(--page-top) 32px; }
.directory-group { gap: 32px; padding-block: 28px; border-color: #ffffff20; }
.directory-group h2 { font-size: 28px; }
.directory-group > div { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.directory-group a { display: flex; align-items: center; min-height: 54px; padding: 14px 18px; border: 1px solid #ffffff20; border-radius: 12px; background: #1b1d22; }
.directory-group a:hover { text-decoration: none; }
.credits { margin-block: 28px 48px; color: #b6b8c2; font-size: 14px; }
.credits a { text-decoration: underline; text-underline-offset: .15em; }

/* Hover light is paired with a visible keyboard focus state. */
:is(.corp-person, .corp-news-line, .corp-job, .corp-doc-row, .corp-phase-nav a, .related-flex .textlink, .mk-related li, .directory-group a, .mk-detail, .catalog-capabilities .tabrail button):focus-within {
  border-color: #ef5f99;
  box-shadow: 0 0 0 1px #d91f3455, 0 10px 32px #d91f3414;
}
@media (hover: hover) {
  :is(.corp-person, .corp-news-line, .corp-job, .corp-doc-row, .corp-phase-nav a, .related-flex .textlink, .mk-related li, .directory-group a):hover {
    border-color: #ee528f9c;
    box-shadow: 0 0 32px #d91f3419;
  }
  .mk-detail:hover,
  .catalog-capabilities .tabrail button:hover { border-color: #ee528f80; }
  .corp-page .corp-button:hover { background: #b7192b; box-shadow: 0 6px 30px #d91f3438; }
  .corp-marks figure:hover { border-color: #d91f3499; box-shadow: 0 0 30px #d91f341f; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.corp-person, .corp-news-line, .corp-job, .corp-doc-row, .corp-phase-nav a, .related-flex .textlink, .mk-related li, .directory-group a, .mk-detail, .catalog-capabilities .tabrail button, .corp-marks figure) {
    transition: border-color .22s, box-shadow .22s, background .22s;
  }
  :is(.corp-person, .corp-news-line, .corp-story-row, .service-case, .mk-lead) img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  @media (hover: hover) {
    :is(.corp-person, .corp-news-line, .corp-story-row):hover > img,
    .corp-story-row:hover figure img,
    .service-case:hover img { transform: scale(1.025); }
  }
}

/* Arabic uses natural line heights and preserves the ordering of each grid. */
[dir="rtl"] :is(.d-open, .catalog-capabilities, .catalog-cloud, .service-sequence, .service-case, .detail-cta) :is(h1,h2,h3) { letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .mk-page :is(h1,h2,h3) { letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .corp-page :is(h1,h2,h3,strong) { letter-spacing: 0; line-height: 1.4; }
[dir="rtl"] .mk-eyebrow { letter-spacing: 0; font-size: 14px; }
[dir="rtl"] .corp-page[data-page="success-stories"] .corp-two::after { background: linear-gradient(-90deg, #101114ed, #10111438), linear-gradient(0deg, #101114b3, transparent 75%); }

/* Two columns remain usable on tablets; imagery moves above copy on phones. */
@media (max-width: 1050px) {
  .catalog-product > .wrap { grid-template-columns: 1fr 1.1fr; }
  .catalog-product .d-title > div,
  .catalog-product .d-title > .lead { padding: 24px; }
  .catalog-service.d-side .d-title { padding: 26px; }
  .corp-board .corp-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .corp-marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .corp-history-grid { grid-template-columns: 1fr 1fr; }
  .corp-history-row:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mk-portrait .mk-hero-copy,
  .mk-masthead .mk-hero-copy { padding: 28px; }
  .corp-process { grid-template-columns: 1fr; }
  .corp-process .corp-sticky { position: static; }
  .corp-two > div { padding: 24px; }
}
@media (max-width: 760px) {
  #main { --page-space: 48px; --page-top: 112px; }
  .d-open { padding-top: var(--page-top); }
  .catalog-product > .wrap,
  .catalog-service.d-side > .wrap,
  .catalog-service .d-title,
  .catalog-service.d-night .d-title { grid-template-columns: 1fr; }
  .catalog-product .d-title > div,
  .catalog-product .d-title > .lead,
  .catalog-product figure { grid-column: 1; grid-row: auto; }
  .catalog-product .d-title > div { order: 1; }
  .catalog-product figure { order: 2; }
  .catalog-product .d-title > .lead { order: 3; }
  .catalog-product .breadcrumb { grid-column: 1; }
  .catalog-product .detail-art { min-height: 0; height: auto; aspect-ratio: auto; object-fit: contain; }
  .d-open .d-title h1 { font-size: clamp(38px, 9vw, 58px); }
  .catalog-service.d-side .detail-art { height: auto; min-height: 0; aspect-ratio: 2; }
  .catalog-service.d-side .breadcrumb { grid-column: 1; }
  .catalog-service .detail-art { height: auto; aspect-ratio: 2.4; }
  .catalog-service.d-side .d-title h1 { font-size: clamp(38px, 9vw, 58px); }
  .catalog-capabilities .feature-index,
  .service-sequence > .wrap,
  .service-case .wrap,
  .catalog-cloud .cloud-steps,
  .related-flex { grid-template-columns: 1fr; gap: 16px; }
  .catalog-capabilities .feature-index .tabrail button { padding: 18px 20px; min-height: 64px; }
  .catalog-capabilities .feature-read { min-height: 230px; }
  .sequence-title { position: static; }
  .service-case img { height: 250px; min-height: 0; }
  .service-case .wrap > div { padding: 26px; }
  .catalog-interface .actual-ui { gap: 24px; padding: 26px; flex-wrap: wrap; }
  .catalog-interface .actual-ui > img { max-height: 330px; max-width: 70%; }
  .catalog-interface .actual-ui > div { flex: 1 1 260px; }
  .detail-cta .wrap { display: grid; padding: 28px; gap: 24px; }
  .detail-cta .button { justify-self: start; }
  .mk-portrait,
  .mk-masthead { grid-template-columns: 1fr; }
  .mk-portrait .mk-photo,
  .mk-masthead .mk-photo { height: 280px; }
  .mk-hero-copy h1 { font-size: clamp(40px, 10vw, 62px); }
  .mk-portrait .mk-hero-copy,
  .mk-masthead .mk-hero-copy { padding: 28px; }
  .mk-panorama { min-height: 420px; }
  .mk-panorama .mk-hero-copy { padding: 28px; }
  .mk-topic-fintech .mk-photo { min-height: 230px; }
  .mk-photo-caption { display: block; }
  .mk-photo-caption > span { display: block; }
  .mk-photo-caption > span + span { margin-top: 4px; }
  .mk-intro .mk-container,
  .mk-capabilities .mk-container,
  .mk-case .mk-container,
  .mk-related .mk-container,
  .mk-contact .mk-container { grid-template-columns: 1fr; gap: 24px; }
  .mk-focus-heading { position: static; }
  .mk-intro .mk-abstract { font-size: 24px; }
  .mk-trend-intro .mk-abstract { font-size: 17px; }
  .mk-contact a { justify-self: start; }
  .mk-model { margin-top: 20px; }
  .corp-hero { padding-top: var(--page-top); }
  .corp-two { grid-template-columns: 1fr; gap: 16px; }
  .corp-page h1 { font-size: clamp(42px, 9.5vw, 64px); }
  .corp-page .corp-office,
  .corp-page .corp-work { height: 300px; }
  .corp-page .corp-facts { gap: 12px; }
  .corp-facts > div { padding: 20px 16px; gap: 12px; }
  .corp-facts strong { font-size: 42px; }
  .corp-facts span { font-size: 14px; }
  .corp-people,
  .corp-board .corp-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .corp-person > img,
  .corp-board .corp-person > img { height: 260px; }
  .corp-person > span { padding: 18px; }
  .corp-person strong,
  .corp-board .corp-person strong { font-size: 20px; }
  .corp-person small { font-size: 14px; }
  .corp-page .corp-feature-portrait { max-width: none; }
  .corp-feature-portrait img { height: 350px; object-position: 50% 25%; }
  .corp-page[data-page="success-stories"] .corp-two { min-height: 490px; padding: 28px; }
  .corp-page[data-page="success-stories"] .corp-metro { max-height: none; }
  .corp-stories,
  .corp-purpose,
  .corp-process + .corp-board .corp-purpose,
  .corp-news-feature,
  .corp-culture,
  .corp-event,
  .corp-survey-grid { grid-template-columns: 1fr; gap: 16px; }
  .corp-story-row:first-of-type { grid-column: 1; }
  .corp-story-row:first-of-type > div { display: block; }
  .corp-story-row:first-of-type p { margin-top: 16px; }
  .corp-news-feature .corp-news-art,
  .corp-news-feature .corp-news-art img { min-height: 0; max-height: none; height: auto; }
  .corp-news-feature > div:last-child { padding: 26px; }
  .corp-news-line > img { height: 200px; }
  .corp-news-line > div { padding: 20px; }
  .corp-news-line h3 { font-size: 22px; }
  .corp-news-line p { display: block; }
  .corp-news-line:last-child:nth-child(odd) { grid-template-columns: .7fr 1fr; }
  .corp-news-line:last-child:nth-child(odd) > .icon { display: none; }
  .corp-phase-nav { grid-template-columns: 1fr 1fr; gap: 12px; }
  .corp-partner-group { grid-template-columns: 1fr; gap: 20px; }
  .corp-marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .corp-duo img { height: 270px; }
  .corp-duo img + img { height: 310px; }
  .corp-report-feature { grid-template-columns: 1fr .7fr; padding: 26px; }
  .corp-report-feature h2 { font-size: 74px; }
  .corp-report-feature img { max-height: 230px; }
  .corp-report-feature .corp-button { padding: 12px 15px; }
  .corp-event > figure,
  .corp-event > img { grid-row: 1; }
  .corp-survey-head { position: static; }
  .corp-survey-grid { padding-top: var(--page-top); gap: 28px; }
  .corp-form-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info,
  .inquiry { padding: 26px; margin-top: 0; }
  .directory-group { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .related-flex > div,
  .mk-related ul,
  .directory-group > div,
  .corp-history-grid,
  .corp-news-grid,
  .corp-phases { grid-template-columns: 1fr; }
  .corp-history-row:last-child:nth-child(odd) { grid-column: 1; }
  .corp-news-line:last-child:nth-child(odd) { display: grid; grid-template-columns: 1fr auto; }
  .corp-news-line:last-child:nth-child(odd) > img { grid-column: 1 / -1; height: 230px; min-height: 0; }
  .corp-news-line:last-child:nth-child(odd) > .icon { display: block; }
  .corp-person > img,
  .corp-board .corp-person > img { height: 190px; }
  .corp-person > span { padding: 16px; min-height: 130px; }
  .corp-person > .icon { display: none; }
  .corp-person strong,
  .corp-board .corp-person strong { font-size: 18px; }
  .corp-person { grid-template-columns: 1fr; }
  .corp-marks { grid-template-columns: 1fr 1fr; }
  .corp-facts strong { font-size: 33px; }
  .corp-facts > div { padding: 18px 12px; }
  .corp-page .corp-facts { gap: 10px; }
  .corp-phase-nav a { padding: 18px 14px; font-size: 14px; }
  .corp-report-feature { grid-template-columns: 1fr; }
  .corp-report-feature img { width: auto; max-height: 290px; margin: 16px 0 0; }
  .corp-doc-row { flex-wrap: wrap; gap: 12px; padding: 20px; }
  .corp-doc-row span { flex: 1; min-width: 55%; margin: 0; }
  .corp-doc-row small { margin-inline-start: auto; }
  .mk-contact .mk-container,
  .mk-case .mk-container { padding: 26px; }
  .corp-survey { padding: 22px; }
  .corp-choice label span { font-size: 14px; }
  .corp-duo img,
  .corp-duo img + img { height: 240px; }
  .catalog-product .d-title > div,
  .catalog-product .d-title > .lead { padding: 24px; }
}
