/* Heben Solutions — shared styles (index + solution detail pages) */
:root {
  --night: #040b14;
  --night-2: #0c1828;
  --signal: #ffcc00;      /* logo yellow */
  --signal-ink: #3a2c00;
  --paper: #ffffff;
  --mist: #eef1f5;
  --line: #d8dee6;
  --ink: #14202e;
  --ink-soft: #4a5868;
  --link: #1f63a8;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
p, li, dd, h1, h2, h3 { text-wrap: pretty; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* Language switching — both languages live in the HTML so search engines index them */
html[lang="ko"] [lang="en"], html[lang="en"] [lang="ko"] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--night); z-index: 60;
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--night); border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { height: 34px; width: auto; }
.brand .brand-text { display: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .brand-text b { color: var(--signal); }
.brand.no-img .brand-text { display: inline; }

.nav { display: flex; gap: 4px; }
.nav a {
  color: #b8c2cf; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px;
}
.nav a:hover, .nav a.is-current { color: #fff; }
.nav a.is-current { box-shadow: inset 0 -2px 0 var(--signal); }

.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font: inherit; font-size: 13px; font-weight: 700; color: #b8c2cf; background: none; border: 0;
  padding: 4px 12px; border-radius: 999px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--signal); color: var(--night); }

.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .site-header .wrap { gap: 12px; }
  .brand img { height: 28px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; background: var(--night); padding: 12px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav a.is-current { box-shadow: none; color: var(--signal); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 4px; border: 2px solid transparent;
}
.btn-signal { background: var(--signal); color: var(--night); }
.btn-signal:hover { background: #ffd83a; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: none; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- hero (index) ---------- */
.hero { background: var(--night); color: #fff; overflow: hidden; }
.hero > .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  min-height: min(78vh, 720px); padding-block: 80px;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px); line-height: 1.05; letter-spacing: -.035em;
  font-weight: 800; margin: 0 0 28px;
}
.hero h1 span[lang="ko"] { letter-spacing: -.05em; }
.hero h1 .hl { color: var(--signal); }
.hero .eyebrow { margin: 0 0 16px; padding-left: 10px; /* ← 숫자를 키우면 오른쪽으로 더 들어갑니다 */ font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: #c4ccd7; }
.hero .eyebrow b { color: var(--signal); font-weight: 800; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); color: #c4ccd7; max-width: 34em; margin: 0 0 40px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* the CI mark, redrawn large */
.hub { width: 100%; max-width: 440px; justify-self: end; }
.hub svg { width: 100%; height: auto; overflow: visible; }
.hub .c-left  { animation: inL 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hub .c-right { animation: inR 1.1s cubic-bezier(.2,.8,.2,1) .12s both; }
.hub .c-bar   { animation: inB .9s cubic-bezier(.2,.8,.2,1) .5s both; }
@keyframes inL { from { transform: translateX(-40px); opacity: 0; } }
@keyframes inR { from { transform: translateX(40px); opacity: 0; } }
@keyframes inB { from { transform: translate(-30px, 20px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hub * { animation: none !important; } }

.hero-facts { border-top: 1px solid rgba(255,255,255,.1); }
.hero-facts ul {
  list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 40px;
  color: #9aa6b4; font-size: 15px;
}
.hero-facts strong { color: #fff; font-weight: 700; margin-right: 6px; }

@media (max-width: 860px) {
  .hero > .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 40px; }
  .hub { max-width: 150px; justify-self: start; order: -1; }
}

/* ---------- sections ---------- */
section.block { padding: 112px 0; }
section.block.tint { background: var(--mist); }
/* the sentence on the right sits on the same baseline as the bottom of the section title */
.head { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-bottom: 56px; align-items: end; align-items: last baseline; }
.head h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.03em; margin: 0; font-weight: 800; }
.head p { margin: 0; color: var(--ink-soft); font-size: 18px; max-width: none; }
@media (max-width: 860px) {
  section.block { padding: 72px 0; }
  .head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
}

/* about */
.about-grid { display: block; }
.about-body h3 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 16px; line-height: 1.35; }
.about-body > p { color: var(--ink-soft); margin: 0 0 40px; max-width: none; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 2px solid var(--ink); }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 120px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; }
.facts dd a { color: inherit; }
.areas { list-style: none; padding: 0; margin: 0; }
/* label on the left, code (SI, SM …) centred horizontally in the row */
.areas li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.areas li small { grid-column: 2; text-align: center; color: var(--ink-soft); font-weight: 500; font-size: 14px; }
.about-profile { margin-top: 32px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 0; }
  .facts { grid-template-columns: 1fr; }
}

/* PGS */
.pgs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pgs article { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.pgs h3 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.02em; }
.pgs p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.pgs svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.pgs .metric { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--signal-ink); background: #fff3c4; padding: 2px 8px; border-radius: 3px; }
@media (max-width: 960px) { .pgs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pgs { grid-template-columns: 1fr; } }

/* solutions */
.sol-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sol {
  display: grid; grid-template-columns: 280px 1fr 200px; gap: 40px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.sol .tag { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.sol h3 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.3; }
.sol p { margin: 0 0 12px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); }
.sol .more { justify-self: end; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--signal); padding-bottom: 2px; }
.sol .more:hover { color: var(--link); }
@media (max-width: 960px) {
  .sol { grid-template-columns: 1fr; gap: 12px; }
  .sol .more { justify-self: start; }
}

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.services article { border-top: 2px solid var(--ink); padding-top: 18px; }
.services h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 18px; }
.services h4 { font-size: 15px; margin: 22px 0 6px; color: var(--ink-soft); }
.services h3 + h4 { margin-top: 0; }
.services ul { list-style: none; margin: 0; padding: 0; }
.services li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; gap: 32px; } }

/* history */
.timeline { list-style: none; margin: 0; padding: 0; }
.year { display: grid; grid-template-columns: 280px 1fr; gap: 40px; border-top: 1px solid var(--line); padding: 26px 0; }
.year:first-child { border-top: 2px solid var(--ink); }
.year h3 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.year:first-child h3::after { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--signal); margin-left: 10px; vertical-align: middle; }
.year ul { list-style: none; margin: 0; padding: 0; }
.year li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 4px 0; }
.year li time { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-weight: 600; }
.year.pre h3 { color: var(--ink-soft); }
.flag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 3px; background: var(--night); color: #fff; margin-right: 6px; vertical-align: 2px; }
.flag.pre { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.year li time[aria-hidden] { color: var(--line); }
.history-more { margin-top: 24px; }
.history-more button {
  font: inherit; font-weight: 700; background: none; border: 1px solid var(--ink); color: var(--ink);
  padding: 10px 20px; border-radius: 4px; cursor: pointer;
}
.timeline.collapsed .year.old { display: none; }
@media (max-width: 860px) { .year { grid-template-columns: 1fr; gap: 12px; } }

/* customers */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client { background: var(--paper); padding: 24px 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; }
.client .logo { height: 44px; display: flex; align-items: center; }
.client .logo img { max-height: 44px; max-width: 150px; object-fit: contain; }
.client .logo .fallback { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.client strong { display: block; font-size: 15px; }
.client span.sys { color: var(--ink-soft); font-size: 14px; }
@media (max-width: 960px) { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .clients { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info dl { margin: 0 0 28px; border-top: 2px solid var(--ink); }
.contact-info .row { display: grid; grid-template-columns: 100px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { color: var(--ink-soft); font-size: 15px; }
.contact-info dd { margin: 0; font-weight: 600; }
.contact-info dd a { color: inherit; }
.contact-info address { font-style: normal; }
.map { border: 1px solid var(--line); aspect-ratio: 4/3; width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

form.inquiry { background: var(--paper); padding: 36px; }
section.block:not(.tint) form.inquiry { border: 1px solid var(--line); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.inquiry input, .inquiry textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #b9c3cf; border-radius: 4px; padding: 12px 14px;
}
.inquiry input:focus, .inquiry textarea:focus { border-color: var(--ink); outline: 2px solid var(--signal); outline-offset: 0; }
.inquiry textarea { min-height: 180px; resize: vertical; }
.field .err { display: none; color: #b42318; font-size: 13px; margin-top: 4px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 16px; padding: 12px 14px; border-radius: 4px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e6f4ea; color: #1e6b34; }
.form-status.fail { display: block; background: #fdecea; color: #b42318; }
.form-status.busy { display: block; background: var(--mist); color: var(--ink-soft); }
.inquiry .btn { width: 100%; }
.inquiry .btn[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  form.inquiry { padding: 24px 20px; }
}

/* ---------- solution detail pages ---------- */
.page-head { background: var(--night); color: #fff; padding: 56px 0 64px; }
.crumbs { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #9aa6b4; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #5b6878; }
.crumbs a { color: #c4ccd7; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-head .code { display: inline-block; font-weight: 800; font-size: 14px; color: var(--night); background: var(--signal); padding: 2px 10px; border-radius: 3px; margin-bottom: 18px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; max-width: 18em; }
.page-head p { margin: 0; color: #c4ccd7; font-size: clamp(17px, 1.5vw, 19px); max-width: 40em; }

.gallery { margin-top: -32px; }
.gallery .stage {
  position: relative; background: var(--mist); border: 1px solid var(--line);
  display: grid; place-items: center; min-height: 320px; padding: 24px 64px;
}
.gallery .stage img { max-height: min(72vh, 820px); width: auto; max-width: 100%; object-fit: contain; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.gallery .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.gallery .nav-btn:hover { border-color: var(--ink); }
.gallery .nav-btn.prev { left: 12px; }
.gallery .nav-btn.next { right: 12px; }
.gallery .nav-btn svg { width: 20px; height: 20px; }
.gallery .bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; font-size: 14px; color: var(--ink-soft); }
.gallery .bar .count { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.gallery .bar a { color: var(--ink); font-weight: 600; }
.gallery .thumbs { position: relative; list-style: none; margin: 0; padding: 4px 0 8px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; }
.gallery .thumbs li { flex: 0 0 auto; scroll-snap-align: start; }
.gallery .thumbs button { padding: 0; border: 2px solid transparent; background: var(--mist); cursor: pointer; display: block; width: 112px; height: 76px; overflow: hidden; }
.gallery .thumbs button[aria-current="true"] { border-color: var(--signal); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery .lang-note { font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; }
@media (max-width: 600px) {
  .gallery .stage { padding: 12px; min-height: 220px; }
  .gallery .nav-btn { display: none; }
  .gallery .thumbs button { width: 84px; height: 58px; }
}

.detail-cols { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-top: 72px; }
.detail-cols h2 { font-size: 26px; letter-spacing: -.02em; margin: 0; line-height: 1.3; }
.detail-body > p { color: var(--ink-soft); margin: 0 0 32px; max-width: 42em; font-size: 17px; }
.feature-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.feature-groups.three { grid-template-columns: repeat(3, 1fr); }
.feature-groups li sup { color: #b42318; font-weight: 700; }
.note { font-size: 14px; color: var(--ink-soft); margin: 0 0 32px; }
.doc-download { margin-top: 20px; }
.feature-groups section { border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 32px; }
.feature-groups h3 { font-size: 17px; margin: 0 0 8px; }
.feature-groups ul { list-style: none; margin: 0; padding: 0; }
.feature-groups li { padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
  .detail-cols { grid-template-columns: 1fr; gap: 16px; padding-top: 48px; }
  .feature-groups, .feature-groups.three { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1100px) { .feature-groups.three { grid-template-columns: 1fr 1fr; } }
.detail-cols.wide { grid-template-columns: 1fr; gap: 24px; }

.cta-band { margin-top: 96px; background: var(--mist); padding: 56px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.cta-band p { margin: 6px 0 0; color: var(--ink-soft); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.other-solutions { padding: 56px 0 96px; }
.other-solutions h2 { font-size: 18px; margin: 0 0 16px; }
.other-solutions ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.other-solutions a { display: block; background: var(--paper); padding: 18px 20px; text-decoration: none; color: var(--ink); height: 100%; }
.other-solutions a:hover { background: #fffbea; }
.other-solutions small { display: block; color: var(--ink-soft); font-weight: 700; font-size: 13px; }
.other-solutions strong { font-size: 16px; }

/* ---------- solution viewer (home page) ---------- */
html.sv-open { overflow: hidden; }
.sol-viewer { position: fixed; inset: 0; z-index: 45; }  /* below the sticky header (50) */
.sv-backdrop { position: absolute; inset: 0; background: rgba(4, 11, 20, .6); }
.sv-panel {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  width: min(var(--wrap), 100% - 40px);
  max-height: calc(100% - var(--header-h) - env(safe-area-inset-top, 0px) - 24px);
  overflow: auto; background: var(--paper); padding: 24px 28px 28px;
  box-shadow: 0 24px 48px rgba(4, 11, 20, .35);
}
.sv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-right: 56px; position: relative; min-height: 44px; }
.sv-head .code { font-weight: 800; font-size: 13px; color: var(--night); background: var(--signal); padding: 2px 10px; border-radius: 3px; white-space: nowrap; }
.sv-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; line-height: 1.3; }
.sv-close {
  position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--night); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.sv-close:hover { background: #1c2a3c; }
.sv-close svg { width: 22px; height: 22px; }
.sv-panel .gallery { margin-top: 0; }
.sv-panel .gallery .stage img { max-height: min(52vh, 560px); cursor: default; }
@media (max-width: 600px) {
  .sv-panel { width: 100%; padding: 16px 16px 20px; max-height: calc(100% - var(--header-h) - env(safe-area-inset-top, 0px)); }
  .sv-head h2 { font-size: 18px; }
}

/* ---------- content blocks added from the 2026 company profile ---------- */
.sub-title { font-size: 20px; letter-spacing: -.02em; margin: 64px 0 18px; padding-top: 14px; border-top: 2px solid var(--ink); }
.head + .sub-title { margin-top: 0; }
.sub-lead { color: var(--ink-soft); margin: 0 0 24px; max-width: none; }

/* philosophy (inside About) */
.philosophy { margin-top: 48px; border-top: 2px solid var(--ink); padding-top: 18px; }
.ph-label { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.ph-hub { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ph-hub b { color: var(--ink); background: var(--signal); padding: 0 6px; margin-right: 6px; }
.ph-hub span { display: block; font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-top: 4px; }
.ph-lead { color: var(--ink-soft); margin: 0 0 20px; max-width: none; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.values article { border-top: 1px solid var(--line); padding-top: 12px; }
.values h4 { margin: 0 0 6px; font-size: 18px; }
.values h4 small { font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-left: 4px; }
html[lang="en"] .values h4 small { display: none; }
.values p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* key people */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--paper); padding: 22px 20px 24px; display: flex; flex-direction: column; }
.person h4 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.02em; }
.person h4 small { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-left: 4px; }
.person .career { margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; flex: 1; }
.person .edu { margin: 0; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 10px; }

/* PGS parts + cases */
.pgs-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin-bottom: 24px; }
.pgs-parts article { background: var(--night); color: #fff; padding: 18px 20px; }
.pgs-parts h4 { margin: 0 0 4px; font-size: 17px; color: var(--signal); }
.pgs-parts p { margin: 0; font-size: 14.5px; color: #c4ccd7; }
.cases-label { margin: 28px 0 8px; font-weight: 700; font-size: 15px; }
.cases { margin: 0; border-top: 1px solid var(--line); }
.cases > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cases dt { font-weight: 700; }
.cases dd { margin: 0; color: var(--ink-soft); }

/* business areas */
.services article p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.services h3 small { font-size: 14px; color: var(--ink-soft); font-weight: 700; margin-left: 4px; }
.fields { display: grid; grid-template-columns: 120px 1fr; gap: 16px; margin: 32px 0 0; padding: 16px 20px; background: var(--paper); }
.fields-label { font-weight: 800; }
.fields > dd { margin: 0; }
.fields > dd > dl { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.fields > dd > dl dt { display: inline; font-weight: 700; margin-right: 8px; }
.fields > dd > dl dd { display: inline; margin: 0; color: var(--ink-soft); }
.brands .client { min-height: 0; justify-content: flex-start; gap: 6px; }
.brands .client strong { font-size: 17px; }
.note-line { margin: 16px 0 0; color: var(--ink-soft); font-size: 15px; }
.note-line b { color: var(--ink); margin-right: 8px; }

/* history without months */
.year ul.nomonth li { grid-template-columns: 14px 1fr; gap: 8px; }
.year ul.nomonth li::before { content: ""; width: 6px; height: 6px; background: var(--ink-soft); border-radius: 50%; margin-top: .7em; }

/* clients grid: borders on cards so an incomplete last row stays clean */
.clients { gap: 0; background: none; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients .client { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

@media (max-width: 960px) {
  .people { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .values, .pgs-parts { grid-template-columns: 1fr; gap: 12px; }
  .fields, .cases > div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
footer.site-footer { background: var(--night); color: #9aa6b4; font-size: 14px; padding: 40px 0; }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer.site-footer strong { color: #fff; }
footer.site-footer address { font-style: normal; }

.to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--signal); color: var(--night);
  display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
