/* DIMAX About Us redesign (approved mockup, November 2026).
   Scoped to the About page: every rule below is under .dx-ab or uses a dx-ab-* class, so no other page is affected.
   Header, footer, logo and the compiled index-*.css are untouched. */

.dx-ab {
  --ab-navy: #0b3556;
  --ab-ink: #123a5c;
  --ab-text: #3a5167;
  --ab-orange: #e9853d;
  --ab-orange-solid: #dc6a1b;
  --ab-orange-ink: #b4520c;
  --ab-pale: #e0ebf6;
  --ab-pale-line: #b7c9db;
  --ab-line: #d3dde6;
  background: #fff;
  color: var(--ab-text);
}
.dx-ab h1, .dx-ab h2, .dx-ab h3 { font-family: var(--dx-display); color: var(--ab-ink); margin: 0; text-wrap: balance; }
:where(.dx-ab) :is(h1, h2, h3, p) { margin: 0; }
.dx-ab a:focus-visible, .dx-ab-button:focus-visible { outline: 3px solid var(--ab-orange); outline-offset: 3px; }
/* The site already sets html { scroll-padding-top } for the sticky header, so targets need no margin of their own.
   The legacy #company-profile rule in site-redesign-*.css adds one; cancel it so the offset is not doubled. */
#company-profile.dx-ab-profile { scroll-margin-top: 0; }
.dx-ab-section h2 { font: 800 clamp(26px, 3.1vw, 40px)/1.15 var(--dx-display); letter-spacing: -.03em; }
.dx-ab-intro { margin-top: 12px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.65; color: var(--ab-text); max-width: 72ch; }

/* ---------- Hero ---------- */
.dx-ab-hero { position: relative; background: linear-gradient(100deg, #f8fafc 0%, #edf3f9 100%); overflow: hidden; }
.dx-ab-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(340px, 32vw, 470px); }
.dx-ab-hero-copy { width: 40%; padding: 44px 0; }
.dx-ab-eyebrow { font: 700 clamp(15px, 1.5vw, 19px)/1.2 var(--dx-text); letter-spacing: .03em; text-transform: uppercase; color: var(--ab-orange-ink); }
.dx-ab-hero h1 { font: 800 clamp(38px, 4.7vw, 66px)/1.05 var(--dx-display); letter-spacing: -.04em; color: var(--ab-navy); margin: 16px 0 20px; }
.dx-ab-lead { font: 500 clamp(16px, 1.5vw, 20px)/1.55 var(--dx-text); color: #1f3a52; max-width: 30ch; }
.dx-ab-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.dx-ab-hero-art::before { content: ""; position: absolute; inset: 0; background: var(--ab-navy); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.dx-ab-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; clip-path: polygon(32% 0, 100% 0, 100% 100%, 8% 100%); }

/* ---------- Section links ---------- */
.dx-ab-subnav { background: #fff; border-bottom: 1px solid var(--ab-line); }
.dx-ab-subnav ul { list-style: none; margin: 0 auto; padding: 0 32px; max-width: 1280px; display: grid; grid-template-columns: repeat(5, 1fr); }
.dx-ab-subnav li { position: relative; }
.dx-ab-subnav li + li::before { content: ""; position: absolute; left: 0; top: 50%; height: 22px; transform: translateY(-50%); border-left: 1px solid #b9c6d2; }
.dx-ab-subnav a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 12px; font: 700 15px/1.3 var(--dx-text); color: var(--ab-ink); text-align: center; transition: color .2s; }
.dx-ab-subnav a:hover { color: var(--ab-orange-ink); text-decoration: underline; text-decoration-color: var(--ab-orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Overview and pillars ---------- */
.dx-ab-section { padding: clamp(40px, 5vw, 64px) 0; }
.dx-ab-overview { background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); }
.dx-ab-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 3.5vw, 44px); }
.dx-ab-pillar { padding: 4px clamp(20px, 2.6vw, 36px); }
.dx-ab-pillar:first-child { padding-left: 0; }
.dx-ab-pillar:last-child { padding-right: 0; }
.dx-ab-pillar + .dx-ab-pillar { border-left: 1px solid var(--ab-line); }
.dx-ab-pillar-head { display: flex; align-items: flex-start; gap: 18px; min-height: 68px; }
.dx-ab-pillar-head h3 { font: 800 clamp(18px, 1.7vw, 22px)/1.25 var(--dx-display); letter-spacing: -.02em; padding-top: 6px; }
.dx-ab-pillar > p { margin-top: 18px; font-size: 15px; line-height: 1.7; }
.dx-ab-icon { flex: none; width: 56px; height: 56px; }

/* ---------- Mission and vision ---------- */
.dx-ab-direction { background: linear-gradient(90deg, #e3edf8 0%, #dce8f5 100%); }
.dx-ab-pair { display: grid; grid-template-columns: 1fr 1fr; }
.dx-ab-statement { padding-right: clamp(24px, 4vw, 56px); }
.dx-ab-statement + .dx-ab-statement { padding: 0 0 0 clamp(24px, 4vw, 56px); border-left: 1px solid var(--ab-pale-line); }
.dx-ab-statement h3 { font: 800 clamp(26px, 3.1vw, 40px)/1.15 var(--dx-display); letter-spacing: -.03em; }
.dx-ab-statement::before { content: ""; display: block; width: 62px; height: 4px; background: var(--ab-orange-solid); margin-bottom: 16px; }
.dx-ab-statement p { margin-top: 12px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: #2c4660; max-width: 46ch; }
.dx-ab-goals { margin-top: clamp(28px, 3vw, 40px); padding-top: 26px; border-top: 1px solid var(--ab-pale-line); }
.dx-ab-goals h3 { font: 800 20px/1.3 var(--dx-display); }
.dx-ab-goals ul { margin: 14px 0 0; padding-left: 20px; list-style: disc; columns: 2; column-gap: 48px; }
.dx-ab-goals li::marker { color: var(--ab-orange-solid); }
.dx-ab-goals li { break-inside: avoid; margin: 0 0 8px; font-size: 15px; line-height: 1.65; color: #2c4660; }

/* ---------- Numbered delivery process ---------- */
.dx-ab-steps { list-style: none; margin: clamp(28px, 3.5vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dx-ab-step { position: relative; text-align: center; padding: 0 8px; }
.dx-ab-step::before { content: ""; position: absolute; top: 20px; left: calc(50% + 34px); width: calc(100% - 68px); height: 1px; background: #a9b9c8; }
.dx-ab-step:last-child::before { display: none; }
.dx-ab-step-no { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 3px; background: var(--ab-orange-solid); color: #fff; font: 800 21px/1 var(--dx-display); }
.dx-ab-step h3 { margin-top: 14px; font: 800 clamp(15px, 1.4vw, 18px)/1.3 var(--dx-display); letter-spacing: -.01em; }

/* ---------- Project experience table ---------- */
.dx-ab-experience { background: #fbfcfd; border-top: 1px solid var(--ab-line); }
.dx-ab-table-wrap { margin-top: 26px; border: 1px solid #c9d6e1; background: #fff; }
.dx-ab-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14.5px; line-height: 1.5; }
.dx-ab-table thead th { background: var(--ab-navy); color: #fff; font: 700 15px/1.3 var(--dx-text); padding: 11px 20px; }
.dx-ab-table th[scope="col"]:first-child { width: 36%; }
.dx-ab-table tbody th, .dx-ab-table tbody td { padding: 7px 20px; border-top: 1px solid #dbe4ec; vertical-align: top; }
.dx-ab-table tbody th { font-weight: 700; color: var(--ab-ink); }
.dx-ab-table tbody td { color: #2f4960; }
.dx-ab-table tbody tr:hover { background: #f3f7fb; }
.dx-ab-note { margin-top: 18px; font-size: 14px; color: #566a7b; }
.dx-ab-command { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--ab-line); }
.dx-ab-command h3 { font: 800 20px/1.3 var(--dx-display); }
.dx-ab-command p { margin-top: 10px; font-size: 15px; line-height: 1.75; max-width: 84ch; }

/* ---------- Company profile download ---------- */
.dx-ab-profile { background: linear-gradient(90deg, #e3edf8 0%, #dce8f5 100%); padding: clamp(28px, 3.5vw, 44px) 0; }
.dx-ab-profile-inner { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 32px); }
.dx-ab-icon--document { width: 64px; height: 64px; }
.dx-ab-profile-copy { flex: 1; min-width: 0; padding-left: clamp(18px, 2.6vw, 32px); border-left: 1px solid var(--ab-pale-line); }
.dx-ab-profile-copy h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.2 var(--dx-display); letter-spacing: -.025em; }
.dx-ab-profile-copy p { margin-top: 6px; font-size: 17px; color: #2c4660; }
.dx-ab-profile-copy .dx-ab-meta { font-size: 13.5px; color: #4b6279; }
.dx-ab-button { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 30px; background: #fff; color: var(--ab-ink); border: 1.5px solid var(--ab-ink); font: 700 16px/1.2 var(--dx-text); transition: background .2s, color .2s; }
.dx-ab-button:hover { background: var(--ab-ink); color: #fff; }
.dx-ab-button .dx-icon { width: 18px; height: 18px; }

/* ---------- More about DIMAX (retained detail) ---------- */
.dx-ab-more { padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 56px); background: #fff; border-top: 1px solid var(--ab-line); }
.dx-ab-more-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-bottom: 22px; }
.dx-ab-more-head ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.dx-ab-more-head a { display: inline-flex; align-items: center; min-height: 40px; font: 700 14px/1.3 var(--dx-text); color: var(--ab-ink); }
.dx-ab-more-head a:hover { color: var(--ab-orange-ink); text-decoration: underline; text-underline-offset: 4px; }
.dx-ab-block { padding: 34px 0; border-top: 1px solid var(--ab-line); }
.dx-ab-block h2 { font: 800 clamp(22px, 2.3vw, 30px)/1.2 var(--dx-display); letter-spacing: -.025em; }
.dx-ab-block .dx-ab-intro, .dx-ab-overview-text p { font-size: 16px; line-height: 1.8; }
.dx-ab-overview-text { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.dx-ab-overview-lead { grid-column: 1 / -1; font-weight: 600; color: var(--ab-ink); }
.dx-ab-cols { display: grid; gap: 26px 40px; margin-top: 22px; }
.dx-ab-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dx-ab-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dx-ab-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dx-ab-cols article { padding-top: 16px; border-top: 2px solid var(--ab-ink); }
.dx-ab-cols h3 { font: 800 18px/1.35 var(--dx-display); }
.dx-ab-cols h3 a { color: var(--ab-ink); text-decoration: underline; text-decoration-color: var(--ab-orange); text-underline-offset: 4px; }
.dx-ab-cols h3 a:hover { color: var(--ab-orange-ink); }
.dx-ab-cols p { margin-top: 8px; font-size: 15px; line-height: 1.7; }
.dx-ab-callout { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 20px 24px; background: var(--ab-pale); border-left: 4px solid var(--ab-orange-solid); }
.dx-ab-callout p { font-size: 16px; line-height: 1.6; color: #2c4660; }
.dx-ab-callout strong { color: var(--ab-ink); }
.dx-ab-chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dx-ab-chips li { padding: 8px 14px; border: 1px solid #c4d2de; background: #f6f9fc; font-size: 14px; font-weight: 600; color: var(--ab-ink); }
.dx-ab-equipment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 20px 0 0; }
.dx-ab-equipment > div { padding: 14px 0; border-top: 1px solid var(--ab-line); }
.dx-ab-equipment dt { font-weight: 700; color: var(--ab-ink); margin-bottom: 4px; }
.dx-ab-equipment dd { margin: 0; font-size: 14.5px; line-height: 1.65; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .dx-ab-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-ab-cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-ab-pillar-head { flex-direction: column; gap: 10px; min-height: 0; }
  .dx-ab-pillar-head h3 { padding-top: 0; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .dx-ab-hero-inner { min-height: 0; }
  .dx-ab-hero-copy { width: 100%; padding: 32px 0 26px; }
  .dx-ab-hero h1 { margin: 12px 0 14px; }
  .dx-ab-lead { max-width: 36ch; }
  .dx-ab-hero-art { position: relative; width: 100%; aspect-ratio: 16 / 9.4; }
  .dx-ab-hero-art::before { clip-path: none; }
  .dx-ab-hero-art img { clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); object-position: 70% center; }

  .dx-ab-subnav { position: relative; }
  .dx-ab-subnav ul { display: flex; overflow-x: auto; padding: 0 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .dx-ab-subnav ul::-webkit-scrollbar { display: none; }
  .dx-ab-subnav li { flex: none; scroll-snap-align: start; }
  .dx-ab-subnav li + li::before { display: none; }
  .dx-ab-subnav a { min-height: 52px; padding: 0 14px; white-space: nowrap; font-size: 14px; }

  .dx-ab-pillars { grid-template-columns: 1fr; }
  .dx-ab-pillar, .dx-ab-pillar:first-child, .dx-ab-pillar:last-child { padding: 24px 0; }
  .dx-ab-pillar + .dx-ab-pillar { border-left: 0; border-top: 1px solid var(--ab-line); }
  .dx-ab-pillar-head { flex-direction: row; align-items: center; gap: 16px; min-height: 0; }
  .dx-ab-pillar-head h3 { padding-top: 0; }
  .dx-ab-pillar > p { margin-top: 12px; }

  .dx-ab-pair { grid-template-columns: 1fr; gap: 30px; }
  .dx-ab-statement, .dx-ab-statement + .dx-ab-statement { padding: 0; border-left: 0; }
  .dx-ab-statement + .dx-ab-statement { padding-top: 28px; border-top: 1px solid var(--ab-pale-line); }
  .dx-ab-goals ul { columns: 1; }

  .dx-ab-steps { grid-template-columns: 1fr; gap: 0; }
  .dx-ab-step { display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .dx-ab-step:last-child { padding-bottom: 0; }
  .dx-ab-step::before { display: block; top: 44px; left: 20px; width: 1px; height: calc(100% - 48px); }
  .dx-ab-step:last-child::before { display: none; }
  .dx-ab-step h3 { margin: 0; }

  .dx-ab-table-wrap { border: 0; background: transparent; }
  .dx-ab-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dx-ab-table, .dx-ab-table tbody, .dx-ab-table tr, .dx-ab-table tbody th, .dx-ab-table tbody td { display: block; width: 100%; }
  .dx-ab-table tbody tr { padding: 11px 14px; background: #fff; border: 1px solid #dbe4ec; border-top-width: 0; }
  .dx-ab-table tbody tr:first-child { border-top-width: 1px; border-top-color: var(--ab-navy); box-shadow: inset 0 3px 0 var(--ab-navy); }
  .dx-ab-table tbody th, .dx-ab-table tbody td { padding: 0; border: 0; }
  .dx-ab-table tbody td { margin-top: 3px; font-size: 14px; }

  .dx-ab-profile-inner { flex-wrap: wrap; }
  .dx-ab-profile-copy { flex: 1 1 calc(100% - 100px); }
  .dx-ab-button { flex: 1 1 100%; }

  .dx-ab-overview-text, .dx-ab-cols--2, .dx-ab-cols--3, .dx-ab-cols--4, .dx-ab-equipment { grid-template-columns: 1fr; }
  .dx-ab-callout { padding: 16px 18px; }
}

/* More about DIMAX: user-requested inline tabs. */
.dx-ab .dx-ab-block[hidden]{display:none!important}
.dx-ab-tabs{display:flex;flex-wrap:wrap;gap:4px 8px}
.dx-ab-tabs [role=tab]{appearance:none;border:0;border-bottom:3px solid transparent;background:transparent;padding:12px 10px;min-height:44px;font:700 14px/1.4 var(--dx-text);color:var(--ab-ink);cursor:pointer}
.dx-ab-tabs [role=tab]:hover{background:var(--ab-pale)}
.dx-ab-tabs [aria-selected=true]{border-bottom-color:var(--ab-orange-solid);color:var(--ab-orange-ink);background:var(--ab-pale)}
.dx-ab-tabs [role=tab]:focus-visible,.dx-ab-block[role=tabpanel]:focus-visible{outline:2px solid #226fa3;outline-offset:3px}
@media(max-width:760px){.dx-ab-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.dx-ab-tabs [role=tab]{text-align:left;padding:12px 8px;font-size:13px}.dx-ab-more-head{gap:10px}}

/* Animate only the newly visible panel; hidden panels keep no layout footprint. */
.dx-ab .dx-ab-block[role=tabpanel]:not([hidden]){animation:dx-about-tab-enter 240ms ease-out both}
.dx-ab-tabs [role=tab]{transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease}
@keyframes dx-about-tab-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.dx-ab .dx-ab-block[role=tabpanel]:not([hidden]){animation:none}.dx-ab-tabs [role=tab]{transition:none}}
