/* D&B Solutions · DOMIS — one stylesheet for every page.
   Clean corporate layout: white ground, bold Pretendard headings, navy labels, solid image blocks. */

:root {
  --bg: #ffffff;
  --ink: #1b1d22;
  --text: #4a4f57;
  --muted: #767b83;
  --line: #e2e4e8;
  --gray: #f4f5f7;
  --tint: #e9eef5;
  --navy: #23398c;
  --navy-dark: #1a2b6b;
  --red: #d21f26;
  --block: #2b2f36;      /* empty image slot */
  --block-2: #1e2a44;    /* empty image slot, second tone */
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --m: clamp(20px, 2.8vw, 40px);
  --max: 1520px;
  --section: clamp(88px, 10vw, 160px);
  --head-h: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, address { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--navy); color: #fff; }
:target { scroll-margin-top: calc(var(--head-h) + 24px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.section { padding-block: calc(var(--section) / 2); }
.section-lg { padding-block: var(--section); }
.arr { width: 18px; height: 18px; flex: none; transition: transform 250ms var(--ease); }

/* ---------- image slots ---------- */
.media { position: relative; overflow: hidden; background: var(--block); margin: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.tone-1.is-empty, .grid4 > :nth-child(even) .media.is-empty, .grid3 > :nth-child(even) .media.is-empty, .people > :nth-child(even) .media.is-empty { background: var(--block-2); }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 16px; font-weight: 600; white-space: nowrap; transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease; }
.pill:hover { background: var(--ink); color: #fff; }
.pill:hover .arr { transform: translateX(4px); }
.pill-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.pill-light { border-color: rgb(255 255 255 / 0.9); color: #fff; }
.pill-light:hover { background: #fff; color: var(--ink); }
.pill-solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill-solid:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.pill-ghost { border-color: var(--line); }

/* ---------- header and mega menu ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: background-color 400ms ease, border-color 400ms ease; }
.head-inner { display: flex; align-items: center; height: var(--head-h); max-width: 1920px; margin-inline: auto; padding-inline: var(--m); gap: 24px; }
.marks { display: flex; align-items: center; gap: clamp(16px, 1.4vw, 28px); flex: none; }
.marks img { height: clamp(32px, 2.8vw, 46px); width: auto; transition: filter 400ms ease; }
.marks img + img { height: clamp(40px, 3.45vw, 57px); }
.gnb { flex: 1; align-self: stretch; display: flex; justify-content: center; }
.gnb-list { display: flex; height: 100%; }
.gnb-item { position: relative; display: flex; }
.gnb-top { display: flex; align-items: center; white-space: nowrap; padding: 0 clamp(16px, calc(3.4vw - 21px), 28px); font-size: clamp(17px, 1.3vw, 21px); font-weight: 600; color: var(--ink); transition: color 400ms ease; }
.gnb-item.is-current > .gnb-top, .gnb-top:hover { color: var(--navy); }
.head-tools { display: flex; align-items: center; gap: 20px; flex: none; }
.lang { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--muted); transition: color 400ms ease; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; transition: color 400ms ease; }
.lang a[aria-current] { color: var(--ink); }
.lang a:hover { color: var(--navy); }
.lang .off { opacity: 0.55; cursor: default; }
.head-tel { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: color 400ms ease; }
.head-tel svg { width: 16px; height: 16px; color: var(--navy); }
.head-tel:hover { color: var(--navy); }
/* larger menu and logos leave no room for these at narrower widths; both stay in the footer or menu */
@media (max-width: 1859px) { .head-tel { display: none; } }
@media (max-width: 1619px) { .head-quote { display: none; } }
.head-quote { border-color: var(--navy); background: var(--navy); color: #fff; }
.head-quote:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
main { padding-top: var(--head-h); }
body:has(.site-head.is-over) main { padding-top: 0; }

/* transparent over the hero or banner, until scrolled or opened */
.site-head.is-over:not(.is-scrolled) { background: transparent; border-color: transparent; }
.site-head.is-over:not(.is-scrolled) .gnb-top, .site-head.is-over:not(.is-scrolled) .lang, .site-head.is-over:not(.is-scrolled) .head-tel, .site-head.is-over:not(.is-scrolled) .head-tel svg, .site-head.is-over:not(.is-scrolled) .lang a[aria-current] { color: #fff; }
.site-head.is-over:not(.is-scrolled) .marks img { filter: brightness(0) invert(1); }
.site-head.is-over:not(.is-scrolled) .head-quote { background: transparent; border-color: rgb(255 255 255 / 0.9); }
.site-head.is-over:not(.is-scrolled) .mnav > summary span { background: #fff; }

@media (min-width: 1081px) {
  .site-head:has(.gnb:hover), .site-head:has(.gnb:focus-within), .site-head.is-over:has(.gnb:hover), .site-head.is-over:has(.gnb:focus-within) { background: #fff; border-color: var(--line); }
  .site-head.is-over:has(.gnb:hover) .gnb-top, .site-head.is-over:has(.gnb:focus-within) .gnb-top,
  .site-head.is-over:has(.gnb:hover) .lang, .site-head.is-over:has(.gnb:focus-within) .lang,
  .site-head.is-over:has(.gnb:hover) .head-tel, .site-head.is-over:has(.gnb:focus-within) .head-tel,
  .site-head.is-over:has(.gnb:hover) .lang a[aria-current], .site-head.is-over:has(.gnb:focus-within) .lang a[aria-current] { color: var(--ink); }
  .site-head.is-over:has(.gnb:hover) .gnb-item.is-current > .gnb-top, .site-head.is-over:has(.gnb:hover) .gnb-top:hover { color: var(--navy); }
  .site-head.is-over:has(.gnb:hover) .marks img, .site-head.is-over:has(.gnb:focus-within) .marks img { filter: none; }
  .site-head.is-over:has(.gnb:hover) .head-quote, .site-head.is-over:has(.gnb:focus-within) .head-quote { background: var(--navy); border-color: var(--navy); }
}

/* phone menu */
.mnav { display: none; }
.mnav > summary { list-style: none; width: 44px; height: 44px; display: grid; align-content: center; gap: 6px; padding: 0 8px; cursor: pointer; }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary span { display: block; height: 2px; background: var(--ink); transition: transform 250ms ease, opacity 200ms ease, background-color 400ms ease; }
.mnav[open] > summary span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mnav[open] > summary span:nth-child(2) { opacity: 0; }
.mnav[open] > summary span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mnav:not([open]) .mnav-panel { display: none; }
.mnav-panel { position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; overflow-y: auto; background: #fff; padding: 12px var(--m) 40px; border-top: 1px solid var(--line); }
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 18px 0; font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; }
.mnav-group summary::-webkit-details-marker { display: none; }
.mnav-group summary::after { content: '+'; font-weight: 400; font-size: 24px; color: var(--muted); }
.mnav-group[open] summary::after { content: '−'; }
.mnav-group ul { list-style: none; padding: 0 0 20px; }
.mnav-group a { display: block; padding: 13px 0 13px 18px; border-left: 2px solid var(--line); font-size: 17px; color: var(--text); transition: color 200ms ease, border-color 200ms ease; }
.mnav-group a:hover, .mnav-group a:focus-visible { color: var(--navy); border-color: var(--navy); }
.mnav-panel > .pill { margin-top: 32px; min-height: 56px; width: 100%; border-color: var(--navy); background: var(--navy); color: #fff; }
.mnav-tel { margin-top: 24px; font-size: 15px; color: var(--text); }
.mnav-tel a { font-weight: 700; color: var(--ink); }
@media (max-width: 1080px) {
  :root { --head-h: 68px; }
  .gnb, .head-quote { display: none; }
  .mnav { display: block; }
  .head-inner { justify-content: space-between; }
  .marks { gap: 16px; }
  .marks img { height: 32px; }
  .marks img + img { height: 40px; }
  .site-head.is-over:has(.mnav[open]) { background: #fff; border-color: var(--line); }
  .site-head.is-over:has(.mnav[open]) .marks img { filter: none; }
  .site-head.is-over:has(.mnav[open]) .lang, .site-head.is-over:has(.mnav[open]) .lang a[aria-current] { color: var(--ink); }
  .site-head.is-over:has(.mnav[open]) .mnav > summary span { background: var(--ink); }
}

/* ---------- home hero slider ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; background: var(--block-2); color: #fff; overflow: hidden; }
.hero :focus-visible, .split-panel :focus-visible { outline-color: #fff; }
.hero-slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1600ms ease, visibility 0s 1600ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1600ms ease, visibility 0s; }
.slide:not(.is-active) .slide-text { opacity: 0; transition: opacity 400ms ease; }
.slide-media { position: absolute; inset: 0; }
.slide-media:not(.is-empty)::after { content: ''; position: absolute; inset: 0; background: rgb(10 14 24 / 0.55); }
.slide-text { position: absolute; left: 0; right: 0; bottom: clamp(88px, 12svh, 136px); max-width: 1920px; margin-inline: auto; padding-inline: var(--m); }
.slide-title { max-width: 15ch; overflow-wrap: normal; color: #fff; font-size: clamp(64px, 6.4vw, 120px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; }
.slide-sub { margin-top: 28px; max-width: 44ch; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.5; color: rgb(255 255 255 / 0.92); }
.slide .pill { margin-top: 40px; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: clamp(16px, 3svh, 32px); max-width: 1920px; margin-inline: auto; padding-inline: var(--m); display: flex; justify-content: flex-end; align-items: center; gap: 2px; pointer-events: none; }
.hero-ctrl > * { pointer-events: auto; }
.hero-count { margin-right: 8px; font-size: 14px; color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; }
.hero-count strong { color: #fff; font-weight: 600; }
.hero-btn { width: 44px; height: 44px; display: grid; place-items: center; color: rgb(255 255 255 / 0.7); transition: color 200ms ease; }
.hero-btn:hover { color: #fff; }
.hero-btn svg { width: 16px; height: 16px; }
.hero-pause .i-play, .hero.is-paused .hero-pause .i-pause { display: none; }
.hero.is-paused .hero-pause .i-play { display: block; }
html:not(.js) .hero-ctrl { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .slide-title, .slide.is-active .slide-sub, .slide.is-active .pill { animation: hero-rise 1000ms var(--ease) both; }
  .slide.is-active .slide-sub { animation-delay: 120ms; }
  .slide.is-active .pill { animation-delay: 240ms; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .hero { min-height: 560px; }
  .slide-text { bottom: 80px; }
  .slide-sub { margin-top: 20px; }
  .slide .pill { margin-top: 28px; }
}

/* ---------- home: the two companies, split panels ---------- */
.split { display: flex; gap: 10px; height: 65vh; min-height: 520px; max-height: 800px; }
.split-panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--block-2); color: #fff; transition: flex-grow 500ms var(--ease); }
.split-media { position: absolute; inset: 0; transition: transform 1600ms var(--ease); }
.split-panel::after { content: ''; position: absolute; inset: 0; background-color: rgb(10 14 24 / 0.68); transition: background-color 500ms ease; }
.split-body { position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; padding: clamp(28px, 3.6vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.split-logo { height: clamp(44px, 4vw, 64px); width: auto; filter: brightness(0) invert(1); }
.split-panel + .split-panel .split-logo { --h: clamp(54px, 4.9vw, 78px); height: var(--h); margin-left: calc(var(--h) * -0.3); }
.split-name { margin-top: 28px; overflow-wrap: normal; color: #fff; font-size: clamp(34px, 3.7vw, 64px); font-weight: 900; line-height: 1.08; letter-spacing: -0.04em; }
.split-line { margin-top: 16px; font-size: clamp(17px, 1.35vw, 22px); color: rgb(255 255 255 / 0.92); }
.split-more { display: none; }
.split-svc { min-height: 0; overflow: hidden; display: flex; flex-wrap: wrap; gap: 8px; }
.split-more .split-svc { padding-top: 24px; }
.split-svc a { display: inline-block; padding: 7px 15px; border: 1px solid rgb(255 255 255 / 0.45); border-radius: 999px; font-size: 15px; font-weight: 500; color: #fff; transition: background-color 200ms ease, color 200ms ease; }
.split-svc a:hover { background: #fff; color: var(--ink); }
.split-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px; font-size: clamp(17px, 1.25vw, 20px); font-weight: 600; color: #fff; }
.split-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.split-link:hover .arr { transform: translateX(4px); }
@media (min-width: 861px) and (hover: hover) {
  .split-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 500ms var(--ease), opacity 400ms ease; }
  .split-panel:is(:hover, :focus-within) { flex-grow: 1.5; }
  .split-panel:is(:hover, :focus-within) .split-media { transform: scale(1.06); }
  .split:has(.split-panel:is(:hover, :focus-within)) .split-panel:not(:hover, :focus-within)::after { background-color: rgb(10 14 24 / 0.76); }
  .split-panel:is(:hover, :focus-within) .split-more { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows 500ms var(--ease), opacity 500ms ease 100ms; }
}
@media (prefers-reduced-motion: reduce) {
  .split-panel, .split-media, .split-more, .split-panel::after { transition: none !important; }
  .split-panel:is(:hover, :focus-within) .split-media { transform: none; }
}
@media (max-width: 860px) {
  .split { flex-direction: column; height: auto; min-height: 0; max-height: none; }
  .split-panel { height: 62svh; min-height: 400px; }
  .split-name { font-size: clamp(32px, 8.4vw, 48px); }
}

/* ---------- section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.sec-label { font-size: clamp(17px, 1.4vw, 21px); font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.sec-title { margin-top: 16px; font-size: clamp(28px, 3vw, 44px); font-weight: 700; line-height: 1.32; max-width: 26ch; }
.sec-title.upper { text-transform: uppercase; letter-spacing: -0.01em; max-width: none; }
.sec-text { margin-top: 22px; font-size: 18px; max-width: 64ch; }
@media (max-width: 760px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 24px; } }

/* ---------- home: intro statement ---------- */
.statement { padding-block: var(--section) calc(var(--section) / 2); }
.statement p { max-width: 30em; font-size: clamp(23px, 2.6vw, 40px); font-weight: 600; line-height: 1.5; color: var(--ink); letter-spacing: -0.03em; }
.statement em { font-style: normal; color: var(--navy); }
.statement-lg { padding-block: clamp(104px, 13vw, 220px); }
.statement.statement-lg p { max-width: 24em; font-size: clamp(30px, 3.7vw, 68px); font-weight: 700; line-height: 1.28; letter-spacing: -0.035em; }

/* ---------- home: highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hl { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(40px, 5vw, 72px) 28px; border: 1px solid var(--line); border-radius: 20px; transition: border-color 300ms ease, transform 400ms var(--ease); }
.hl:hover { border-color: var(--navy); transform: translateY(-6px); }
.hl-num { font-size: clamp(40px, 4vw, 60px); font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: -0.04em; }
.hl-label { font-size: 20px; font-weight: 700; color: var(--ink); }
.hl-text { font-size: 16px; color: var(--text); max-width: 26ch; }
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- band ---------- */
.band-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding: calc(var(--section) / 2) var(--m); }
.band { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(36px, 4.5vw, 60px) clamp(28px, 6vw, 80px); background: var(--gray); }
.band-title { margin-top: 12px; font-size: clamp(22px, 2vw, 30px); font-weight: 700; color: var(--ink); letter-spacing: -0.025em; line-height: 1.4; }
@media (max-width: 760px) { .band { flex-direction: column; align-items: flex-start; } }

/* ---------- grids and cards ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1080px) { .grid4, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid4, .grid3, .grid2 { grid-template-columns: 1fr; } }
.card, .pcard, .ncard { display: flex; flex-direction: column; }
.card:hover .media img, .pcard:hover .media img, .ncard:hover .media img { transform: scale(1.05); }
.card .media, .pcard .media, .ncard .media { transition: filter 300ms ease; }
.card:hover .media.is-empty, .pcard:hover .media.is-empty, .ncard:hover .media.is-empty { filter: brightness(1.3); }
.card-tag, .ncard-cat { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--navy); }
.card-title { margin-top: 8px; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.025em; line-height: 1.35; }
.card-text { margin-top: 10px; font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.card:hover .more { color: var(--navy); }
.card:hover .arr, a.box:hover .arr { transform: translateX(4px); }
.pcard-title { margin-top: 22px; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.025em; line-height: 1.35; transition: color 200ms ease; }
.pcard-meta { margin-top: 6px; font-size: 15px; color: var(--muted); }
.pcard:hover .pcard-title { color: var(--navy); }
.ncard-title { margin-top: 10px; font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -0.02em; }
.ncard-date { margin-top: 14px; font-size: 15px; color: var(--muted); }
.ncard:hover .ncard-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- gray boxes (careers, project details, contact) ---------- */
.boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.box { display: flex; flex-direction: column; gap: 12px; padding: clamp(32px, 3.5vw, 48px); background: var(--gray); transition: background-color 300ms ease; }
a.box:hover { background: var(--tint); }
.box > svg { width: 44px; height: 44px; color: var(--muted); margin-bottom: 24px; }
.box h3 { font-size: 22px; }
.box p { font-size: 16px; }
.box .more { margin-top: auto; padding-top: 16px; }
@media (max-width: 860px) { .boxes { grid-template-columns: 1fr; } }

/* ---------- news ---------- */
.news { position: relative; isolation: isolate; padding-block: var(--section) calc(var(--section) / 2); }
.news::before { content: ''; position: absolute; inset: 0 0 auto; height: calc(var(--section) + 260px); background: var(--tint); z-index: -1; }
@media (max-width: 760px) { .news::before { height: calc(var(--section) + 360px); } }
.news:has(.no-news)::before { height: 100%; }
.no-news { padding: clamp(36px, 4.5vw, 60px) clamp(24px, 4vw, 56px); background: #fff; border-top: 2px solid var(--ink); font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; color: var(--ink); }
.no-news span { display: inline-block; } /* wrap between the two sentences, not inside one */
.section-lg .no-news { background: var(--gray); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 32px 0; }
.nl-text { display: flex; flex-direction: column; }
.nl-title { margin-top: 8px; font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; transition: color 200ms ease; }
.nl-sum { margin-top: 8px; }
.news-list a:hover .nl-title { color: var(--navy); }
.news-list a:hover .media img { transform: scale(1.05); }
@media (max-width: 760px) { .news-list a { grid-template-columns: 1fr; gap: 0; } }

/* ---------- inner page banner and sub-tabs ---------- */
.banner { position: relative; height: clamp(380px, 38vw, 580px); color: #fff; overflow: hidden; background: var(--block-2); }
.banner-media { position: absolute; inset: 0; }
.banner-media.is-empty { background: var(--block-2); }
.banner-media:not(.is-empty)::after { content: ''; position: absolute; inset: 0; background: rgb(10 14 24 / 0.4); }
.banner-inner { position: absolute; left: 0; right: 0; bottom: clamp(40px, 5vw, 72px); max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: rgb(255 255 255 / 0.85); }
.crumbs li + li::before { content: '›'; margin-right: 10px; opacity: 0.7; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.banner-title { margin-top: 18px; color: #fff; font-size: clamp(34px, 4.2vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; }
@media (prefers-reduced-motion: no-preference) {
  .banner-media { animation: hero-zoom 2400ms var(--ease) both; }
  .banner-title, .crumbs { animation: hero-rise 1000ms var(--ease) 150ms both; }
}
.subtabs { border-bottom: 1px solid var(--line); background: #fff; }
.subtabs-inner { display: flex; justify-content: center; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); overflow-x: auto; scrollbar-width: none; }
.subtabs-inner::-webkit-scrollbar { display: none; }
.subtabs a { position: relative; flex: none; padding: 24px clamp(14px, 2vw, 30px); font-size: 16px; font-weight: 600; color: var(--muted); transition: color 200ms ease; }
.subtabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--navy); transform: scaleX(0); transition: transform 300ms var(--ease); }
.subtabs a:hover, .subtabs a[aria-current] { color: var(--navy); }
.subtabs a[aria-current]::after, .subtabs a:hover::after { transform: scaleX(1); }
@media (max-width: 1080px) { .subtabs-inner { justify-content: flex-start; } }

/* ---------- inner page blocks ---------- */
.intro2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--m); padding-block: var(--section) calc(var(--section) / 2); }
.intro2 > h2 { font-size: clamp(28px, 2.8vw, 42px); }
.intro2 > div > * + * { margin-top: 18px; }
.intro2 .lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink); line-height: 1.6; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 14px; }
@media (max-width: 860px) { .intro2 { grid-template-columns: 1fr; } }
.wide { padding-bottom: calc(var(--section) / 2); }
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.scope li { position: relative; padding: 22px 28px 22px 60px; background: var(--gray); color: var(--ink); font-weight: 500; }
.scope li::before { content: ''; position: absolute; left: 28px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); transition: border-color 200ms ease, color 200ms ease; }
.chips a:hover { border-color: var(--navy); color: var(--navy); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 28px; }
.facts div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin-top: 4px; font-weight: 600; color: var(--ink); }
.facts a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.back { margin-top: 56px; }
.lists2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lists2 .box ul { margin-top: 8px; }
.lists2 .box li { position: relative; padding-left: 18px; color: var(--ink); font-weight: 500; }
.lists2 .box li + li { margin-top: 8px; }
.lists2 .box li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: var(--navy); }
@media (max-width: 760px) { .lists2 { grid-template-columns: 1fr; } }
.quote-line { margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--navy); background: var(--gray); font-size: 20px; font-weight: 700; color: var(--ink); }

/* two companies side by side */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo-item { display: flex; flex-direction: column; gap: 18px; padding: clamp(36px, 4vw, 56px); border: 1px solid var(--line); border-radius: 20px; transition: border-color 300ms ease; }
.duo-item:hover { border-color: var(--navy); }
.duo-item img { height: 44px; width: auto; align-self: flex-start; }
.duo-item h3 { font-size: 24px; }
.duo-item ul { display: flex; flex-wrap: wrap; gap: 8px; }
.duo-item ul a { display: inline-block; padding: 6px 14px; background: var(--gray); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); transition: background-color 200ms ease, color 200ms ease; }
.duo-item ul a:hover { background: var(--navy); color: #fff; }
.duo-item .pill { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* industries: image and text alternating */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 120px); }
.feature.flip > :first-child { order: 2; }
.feature-text h2 { font-size: clamp(26px, 2.4vw, 36px); }
.feature-text > * + * { margin-top: 18px; }
.feature-links div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.feature-links div:first-child { border-top: 2px solid var(--ink); }
.feature-links dt { font-weight: 700; color: var(--ink); }
.feature-links a, .dtable a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c4c7cc; }
.feature-links a:hover, .dtable a:hover { color: var(--navy); text-decoration-color: currentColor; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* tables */
.dtable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--line); font-weight: 400; }
.dtable thead th { font-size: 15px; font-weight: 600; color: var(--ink); background: var(--gray); }
.dtable tbody th { font-weight: 700; color: var(--ink); }
@media (max-width: 760px) {
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; }
  .dtable tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .dtable th, .dtable td { padding: 3px 0; border: 0; }
  .dtable td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); }
}

/* stats row */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.stats div { padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.2; }
.stats span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- people ---------- */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person.is-lead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(24px, 3vw, 40px); padding: clamp(24px, 3vw, 40px); background: var(--gray); }
.person.is-lead .media { grid-row: 1 / -1; }
.person.is-lead .person-name { font-size: clamp(24px, 2.2vw, 32px); margin-top: 4px; }
.person.is-lead .person-title { font-size: 17px; }
.person-name { margin-top: 18px; font-size: 19px; }
.person-title { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--navy); }
.person-bio { margin-top: 18px; }
.person-contact { margin-top: 12px; display: flex; flex-direction: column; font-size: 15px; color: var(--text); }
.person.is-lead .person-contact { align-self: end; padding-top: 24px; }
.person-contact a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.co-mail { display: flex; flex-direction: column; }
.co-mail + .co-mail { margin-top: 6px; }
.co-name { font-size: 13px; font-weight: 600; color: var(--navy); }
@media (max-width: 1080px) { .leaders { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person.is-lead { grid-template-columns: 1fr; } .person.is-lead .media { grid-row: auto; margin-bottom: 12px; } }
.dept { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 28px var(--m); padding-top: 36px; border-top: 2px solid var(--ink); }
.dept + .dept { margin-top: 64px; }
.dept-title { font-size: 24px; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1080px) { .dept { grid-template-columns: 1fr; } .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
.dir-nav { margin-bottom: 64px; }

/* ---------- forms ---------- */
.form-section { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.form label > input, .form label > select, .form label > textarea { display: block; width: 100%; margin-top: 8px; min-height: 54px; padding: 12px 16px; border: 1px solid #cdd0d5; border-radius: 4px; background: #fff; font-size: 16px; font-weight: 400; transition: border-color 200ms ease, box-shadow 200ms ease; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #9aa0a8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(35 57 140 / 0.15); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hint { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--muted); }
.form .req { color: var(--red); }
.form .check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-weight: 400; color: var(--text); }
.form .check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); }
.form .check a { text-decoration: underline; text-underline-offset: 3px; }
.form button { justify-self: start; min-width: 220px; cursor: pointer; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.aside { display: grid; gap: 24px; }
.aside .box h2 { font-size: 20px; }
.aside .big { font-size: 20px; font-weight: 700; color: var(--ink); }
@media (max-width: 960px) { .form-section { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form button { width: 100%; } }
.map { display: block; width: 100%; height: clamp(360px, 40vw, 520px); border: 0; background: var(--gray); }

/* job openings */
.jobs { border-top: 2px solid var(--ink); }
.job { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding-right: 8px; transition: background-color 200ms ease; }
.job:hover { background: var(--gray); }
.job-main { flex: 1; display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1fr; gap: 16px; align-items: center; padding: 26px 8px; }
.job-title { font-size: 20px; font-weight: 700; color: var(--ink); }
.job-main:hover .job-title { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.no-jobs { padding: clamp(36px, 4.5vw, 60px) clamp(28px, 4vw, 56px); background: var(--gray); border-top: 2px solid var(--ink); }
.no-jobs h3 { font-size: clamp(22px, 2vw, 28px); }
.no-jobs p:not(.intro-actions) { margin-top: 12px; max-width: 60ch; }
.no-jobs .intro-actions { padding-top: 24px; }
@media (max-width: 860px) {
  .job { flex-direction: column; align-items: flex-start; gap: 0; padding: 0 8px 24px; }
  .job-main { grid-template-columns: 1fr; gap: 4px; padding: 24px 0 16px; }
}

/* prose (privacy, articles) */
.prose { max-width: 68ch; }
.prose h2 { font-size: 22px; margin: 44px 0 12px; }
.prose ul { padding-left: 1.2em; margin-top: 10px; }
.prose li + li { margin-top: 6px; }
.prose p + p { margin-top: 12px; }
.article { max-width: 980px; padding-block: var(--section); }
.article-title { margin-top: 14px; font-size: clamp(28px, 3vw, 44px); }
.article-date { margin: 12px 0 40px; color: var(--muted); }
.article-body { margin-top: 40px; }
.article-body p + p { margin-top: 14px; }

/* 404 and thank you */
.lost { min-height: 72svh; display: grid; align-content: center; padding-block: var(--section); }
.lost h1 { margin-top: 16px; font-size: clamp(36px, 4.5vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
.lost p:not(.sec-label) { margin-top: 20px; font-size: 19px; max-width: 46ch; }
.lost .chips { margin-top: 36px; }

/* ---------- footer ---------- */
.site-foot { background: #eeeff1; padding: clamp(56px, 6vw, 80px) 0 clamp(48px, 5vw, 72px); }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.foot-logos { display: flex; align-items: center; gap: 24px; }
.foot-logos img { height: 34px; width: auto; }
.foot-logos img + img { height: 42px; }
.foot-links { display: flex; flex-wrap: wrap; row-gap: 0; margin-top: 22px; font-size: 16px; font-weight: 600; color: var(--ink); }
.foot-links a { padding: 14px 16px; border-left: 1px solid #c4c7cc; line-height: 1; }
.foot-links a:first-child { padding-left: 0; border-left: 0; }
.foot-links a.strong { color: var(--navy); }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-foot address { margin-top: 22px; font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.75; }
.site-foot address a:hover { color: var(--navy); }
.sep { display: inline-block; width: 1px; height: 12px; margin: 0 14px; background: #c4c7cc; vertical-align: -1px; }
.copy { margin-top: 14px; font-size: 14px; color: var(--muted); }
.foot-side { display: flex; flex-direction: column; align-items: flex-end; gap: 32px; }
.foot-companies { min-width: 260px; }
.foot-companies a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #c4c7cc; font-size: 16px; font-weight: 600; color: var(--ink); }
.foot-companies a:hover { color: var(--navy); }
.foot-companies a:hover .arr { transform: translateX(4px); }
.social { display: flex; gap: 12px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #b9bcc2; color: #fff; transition: background-color 200ms ease; }
.social a:hover { background: var(--navy); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 860px) {
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .foot-side { align-items: flex-start; width: 100%; }
  .foot-companies { width: 100%; }
  .foot-logos img { height: 26px; }
  .foot-logos img + img { height: 32px; }
}
.to-top { position: fixed; right: var(--m); bottom: var(--m); z-index: 40; width: 60px; height: 60px; display: grid; place-items: center; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 300ms ease, transform 300ms var(--ease), visibility 0s 300ms, background-color 200ms ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms ease, transform 300ms var(--ease), background-color 200ms ease; }
.to-top:hover { background: var(--navy-dark); }
.to-top svg { width: 24px; height: 24px; }
html:not(.js) .to-top { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 640px) { .to-top { width: 48px; height: 48px; } }

/* ---------- scroll reveal (content stays visible without script or with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 800ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- projects ---------- */
.pcard-media { position: relative; display: block; }
.status { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; background: var(--gray); color: var(--ink); }
.status.is-progress { background: var(--navy); color: #fff; }
.pcard-media .status { position: absolute; left: 16px; top: 16px; z-index: 1; }
.pcard-media .status:not(.is-progress) { background: #fff; }
.pcard-client { display: flex; align-items: center; margin-top: 20px; }
.client-logo { height: 22px; width: auto; }
.pcard-client + .pcard-title { margin-top: 10px; }
.client-block .client-logo { height: 34px; }

/* service area note */
.area { padding: 14px 18px; border-left: 3px solid var(--navy); background: var(--gray); font-size: 16px; color: var(--ink); }
.area strong { display: block; font-size: 14px; color: var(--navy); }
.duo-item .area { margin-top: 4px; }
.duo-item ul span { display: inline-block; padding: 6px 14px; background: var(--gray); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); }

/* mission: one word, one line */
.words > div { padding: 16px 0; border-top: 1px solid #dcdfe4; }
.words > div:first-child { border-top: 0; padding-top: 6px; }
.words dt { font-size: 19px; font-weight: 700; color: var(--ink); }
.words dd { margin: 4px 0 0; }

/* people without a photo */
.avatar { display: flex; align-items: flex-end; justify-content: center; background: var(--tint); }
.avatar svg { width: 70%; height: auto; fill: #b7c2d6; }

/* directory filter: All / D&B Solutions / DOMIS (works without script) */
.dir-top { position: sticky; top: var(--head-h); z-index: 5; max-width: none; padding-block: 20px; background: #fff; border-bottom: 1px solid var(--line); }
.dir-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: calc(var(--max) - 2 * var(--m)); margin: 0 auto; padding: 0; border: 0; }
.dir-filter legend { float: left; padding: 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.dir-opts { display: inline-flex; gap: 4px; padding: 4px; background: var(--gray); border-radius: 999px; }
.dir-opts label { position: relative; }
.dir-opts input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.dir-opts span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; color: var(--text); white-space: nowrap; transition: background-color 200ms ease, color 200ms ease; }
.dir-opts input:hover + span { color: var(--navy); }
.dir-opts input:checked + span { background: var(--navy); color: #fff; }
.dir-opts input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.dir-scope:has(input[value="db"]:checked) .person:not([data-co="db"], [data-co="all"]),
.dir-scope:has(input[value="domis"]:checked) .person:not([data-co="domis"], [data-co="all"]),
.dir-scope:has(input[value="db"]:checked) .dept:not([data-co~="db"]),
.dir-scope:has(input[value="domis"]:checked) .dept:not([data-co~="domis"]),
.dir-scope:has(input[value="db"]:checked) .dir-nav li:not([data-co~="db"]),
.dir-scope:has(input[value="domis"]:checked) .dir-nav li:not([data-co~="domis"]) { display: none; }
@media (max-width: 640px) {
  .dir-top { padding-block: 12px; }
  .dir-filter { display: block; }
  .dir-filter legend { float: none; margin-bottom: 8px; font-size: 15px; }
  .dir-opts { display: flex; }
  .dir-opts label { flex: 1 1 auto; }
  .dir-opts span { padding: 0 12px; font-size: 15px; }
}

/* ---------- typography: wrapping, measure, Korean ---------- */
h1, h2, h3, .sec-title, .band-title, .banner-title, .slide-title, .split-name, .card-title, .pcard-title, .ncard-title, .nl-title,
.hl-label, .hl-text, .split-line, .slide-sub, .quote-line, .job-title, .person-name, .dept-title, .words dt, .article-title { text-wrap: balance; }
p, li, dd, .card-text, .lead, .sec-text { text-wrap: pretty; }
.nw { white-space: nowrap; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.intro2 > div > p, .feature-text p, .article-body p, .box p, .no-jobs p { max-width: 68ch; }
html:lang(ko) body { line-height: 1.75; letter-spacing: -0.015em; }
html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3, html:lang(ko) .band-title, html:lang(ko) .statement p { letter-spacing: -0.03em; line-height: 1.4; }
html:lang(ko) .slide-title, html:lang(ko) .banner-title, html:lang(ko) .split-name { line-height: 1.28; }
html:lang(ko) .sec-title.upper { letter-spacing: -0.03em; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .banner-title { font-size: clamp(30px, 8.6vw, 40px); }
  .slide-title { font-size: clamp(34px, 10.8vw, 64px); }
  .sec-title { font-size: clamp(24px, 6.6vw, 30px); }
  .sec-title.upper { font-size: clamp(22px, 6vw, 28px); }
  .statement p { font-size: clamp(21px, 5.6vw, 24px); }
  .stats span, .pcard-meta, .person-contact, .site-foot address, .card-tag, .ncard-cat, .crumbs, .form .hint, .person-title, .area, .ncard-date, .card-text, .box p { font-size: 16px; }
  .crumbs a { display: inline-block; padding-block: 10px; }
  .stats div { padding-right: 12px; }
  .stats strong { font-size: clamp(24px, 6.6vw, 30px); overflow-wrap: anywhere; }
  .facts { grid-template-columns: 1fr; }
  .facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding-right: 0; }
  .facts dd { margin-top: 0; }
  .band { padding: 32px 24px; }
  .band .pill, .intro-actions .pill { width: 100%; }
  .pcard-media .status { left: 12px; top: 12px; }
}
.marks { min-height: 44px; }
@media (max-width: 760px) {
  .head-inner { gap: 12px; }
  .head-tools { gap: 6px; }
  .marks { gap: 10px; }
  .marks img { height: clamp(20px, 6vw, 28px); }
  .marks img + img { height: clamp(25px, 7.4vw, 35px); }
  .band-wrap { padding-inline: 0; }
  .band-title { font-size: 20px; }
  .form label { font-size: 16px; }
  .card-text { display: block; overflow: visible; -webkit-line-clamp: none; }
  .site-foot address a { display: inline-block; padding-block: 11px; }
}
@media (max-width: 340px) {
  .marks img { height: 17px; }
  .marks img + img { height: 21px; }
  .slide-title { font-size: 32px; }
}
.duo-item ul a, .duo-item ul span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
@media (max-width: 760px) { .feature-links a { display: inline-block; padding-block: 10px; } }
@media (max-width: 760px) { .dtable a { display: inline-block; padding-block: 10px; } }
@media (max-width: 860px) { .split-panel { flex: none; } }
@media (max-width: 760px) { .crumbs li { display: flex; align-items: center; } }
@media (max-width: 520px) {
  .person.is-lead { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: 18px; padding: 20px; }
  .person.is-lead .media { grid-row: 1 / 3; margin-bottom: 0; align-self: start; }
  .person.is-lead .person-name { margin-top: 0; font-size: 24px; }
  .person.is-lead .person-bio, .person.is-lead .person-contact { grid-column: 1 / -1; }
  .person.is-lead .person-bio { margin-top: 16px; }
  .person.is-lead .person-contact { padding-top: 8px; }
}

/* ---------- mega menu: one full-width panel under the header, a column per section ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 1; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 28px 40px -28px rgb(16 24 40 / 0.22); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 300ms ease, transform 300ms var(--ease), visibility 0s 300ms; }
.mega-inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 48px); max-width: var(--max); margin-inline: auto; padding: 44px var(--m) 52px; }
.mega-title { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.mega-title a { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.mega-col ul { list-style: none; padding: 0; }
.mega-col li a { position: relative; display: block; padding: 9px 0; font-size: 16px; line-height: 1.45; color: var(--text); text-wrap: balance; transition: color 200ms ease, padding-left 250ms var(--ease); }
.mega-col li a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--navy); transition: width 250ms var(--ease); }
.mega-col li a:hover, .mega-col li a:focus-visible, .mega-col li a[aria-current] { color: var(--navy); }
.mega-col li a:hover, .mega-col li a:focus-visible { padding-left: 18px; }
.mega-col li a:hover::before, .mega-col li a:focus-visible::before { width: 10px; }
.mega-col li a[aria-current] { font-weight: 600; }
@media (min-width: 1081px) {
  .gnb:hover .mega, .gnb:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms ease, transform 300ms var(--ease), visibility 0s; }
  .site-head.mega-off .gnb .mega { opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 200ms ease, transform 200ms ease, visibility 0s 200ms; }
}
@media (max-width: 1080px) { .mega { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega, .gnb:hover .mega, .gnb:focus-within .mega { transform: none; } .mega-col li a { transition: color 200ms ease; } .mega-col li a:hover, .mega-col li a:focus-visible { padding-left: 0; } .mega-col li a::before { display: none; } }

/* ---------- company logos under the company names ---------- */
.split-name { margin-top: 0; }
.split-logo { margin-top: 20px; }
.split-line { margin-top: 22px; }
.intro-head h2 { font-size: clamp(28px, 2.8vw, 42px); }
.intro-logo { margin-top: clamp(24px, 2.4vw, 36px); width: auto; height: clamp(44px, 4vw, 60px); }
.intro-logo[src*="domis"] { height: clamp(52px, 4.8vw, 72px); }
.duo-item .duo-name { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.03em; }
.duo-item > img { margin-top: -4px; height: 40px; }
.duo-sub { font-size: 18px; font-weight: 600; color: var(--ink); }

/* ---------- industries conveyor belt ---------- */
.marquee { overflow: hidden; padding-block: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-group { display: flex; flex: none; gap: 12px; padding: 0 12px 0 0; list-style: none; }
.marquee-group a { display: inline-flex; align-items: center; min-height: 58px; padding: 0 28px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease; }
.marquee-group a::before { content: ''; width: 7px; height: 7px; margin-right: 14px; border-radius: 50%; background: var(--navy); }
.marquee-group a:hover, .marquee-group a:focus-visible { border-color: var(--navy); color: var(--navy); background: var(--tint); }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marquee-group a { min-height: 52px; padding: 0 22px; font-size: 17px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; animation: none; }
  .marquee-group { flex-wrap: wrap; flex: 1; padding: 0; }
  .marquee-group[aria-hidden], .marquee-dup { display: none; }
}

/* ---------- first-visit logo intro (home page, once per session; fades out by 1.5 s even without script) ---------- */
.intro-cover { display: none; }
html.intro .intro-cover { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #fff; animation: intro-out 700ms ease-in-out 800ms forwards; }
html.intro .intro-cover.out { animation: intro-out 400ms ease-out forwards; }
.intro-marks { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-inline: 24px; }
.intro-marks img { width: auto; height: clamp(30px, 4.2vw, 54px); }
.intro-marks img:last-child { height: clamp(36px, 5vw, 64px); }
.intro-marks img:first-child { animation: intro-left 700ms var(--ease) both; }
.intro-marks img:last-child { animation: intro-right 700ms var(--ease) both; }
.intro-line { flex: none; width: 1.5px; height: clamp(34px, 4.4vw, 56px); background: var(--navy); transform: scaleY(0); animation: intro-line 450ms var(--ease) 300ms forwards; }
@keyframes intro-left { from { opacity: 0; transform: translateX(-56px); } }
@keyframes intro-right { from { opacity: 0; transform: translateX(56px); } }
@keyframes intro-line { to { transform: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.intro .intro-cover { display: none; } }

/* ---------- back-to-top button: footer leaves room so it never covers the social icons ---------- */
.site-foot { padding-bottom: calc(var(--m) + 60px + 28px); }
@media (max-width: 640px) { .site-foot { padding-bottom: calc(var(--m) + 48px + 24px); } }
.duo-item ul { list-style: none; padding: 0; }
.duo-item > img[src*="domis"] { height: 46px; }
.mnav-tel a { display: inline-block; padding-block: 12px; }
.intro-logo[src*="domis"] { --h: clamp(52px, 4.8vw, 72px); height: var(--h); margin-left: calc(var(--h) * -0.3); }
.intro-logo[src*="logo-db"] { margin-left: -0.4%; }
.client-logo[src*="clayco"] { height: 30px; }
.client-block .client-logo[src*="clayco"] { height: 46px; }

/* About: headquarters photo. Desktop keeps flags, building and sign; phones show the sign side taller. */
.hq-photo img { object-position: 50% 30%; }
@media (max-width: 600px) { .media.hq-photo { aspect-ratio: 4 / 3 !important; } .hq-photo img { object-position: 78% 60%; } }
