:root {
  color-scheme: dark;
  /* User palette: deep navy canvas, slate surfaces and the original CI accents. */
  --canvas: #04111a;
  --paper: #04111a;
  --surface: #0b1f2b;
  --surface-raised: #173342;
  --surface-sunken: #061722;
  --ink: #f0ede7;
  --muted: #b4c6d1;
  --line: #284352;
  --line-strong: #7998ab;
  --blue: #0070c0;
  --teal: #00c6bb;
  --accent: #66d4cc;
  --accent-hover: #9ae8e1;
  --accent-surface: #10333c;
  --accent-line: #4e8e99;
  --on-accent: #042b32;
  --focus: #83cfff;
  --media-paper: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; background: var(--canvas); scrollbar-color: var(--line-strong) var(--paper); }
body { margin: 0; color: var(--ink); font: 15px/1.75 "Pretendard", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, h4, p, figure, dl, dd, ol { margin: 0; }
h1, h2, h3, h4 { line-height: 1.4; letter-spacing: -.045em; }
h1 { font-size: clamp(36px, 3.8vw, 52px); font-weight: 750; line-height: 1.32; }
h2 { font-size: clamp(25px, 2.55vw, 34px); font-weight: 700; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { color: var(--muted); }
em { color: var(--accent); font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { color: var(--on-accent); background: var(--accent-hover); }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 20px; background: var(--accent); color: var(--on-accent); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site { width: 100%; max-width: 1280px; margin-inline: auto; background: var(--paper); border-inline: 1px solid var(--line); }
.page-section { border-bottom: 1px solid var(--line); }
.panel { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.grid { display: grid; gap: 12px; }
.grid > *, .home-main > *, .service-slide > * { min-width: 0; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .12em; }
.micro { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .065em; line-height: 1.7; }
.lead { font-size: 16px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--accent); font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 5px; }
.section-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 17px 26px; background: var(--surface); border-bottom: 1px solid var(--line); }
.section-bar > span { font-size: 11px; color: var(--muted); }
.section-bar nav { display: flex; gap: 24px; font-size: 12px; font-weight: 600; }
.section-bar a:hover { color: var(--accent); }
.section-body { display: grid; gap: 12px; padding: 16px; }
.panel-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 18px; }
.panel-heading h3 { font-size: 15px; letter-spacing: -.02em; }
.subsection-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 20px 12px 18px; }
.subsection-heading h2 { margin-top: 7px; }
.subsection-heading > p { max-width: 360px; font-size: 13px; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; padding: 12px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { width: 208px; height: auto; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { padding: 12px 0; font-size: 13px; font-weight: 600; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="location"] { color: var(--accent); border-color: var(--accent); }
.menu-toggle { display: none; min-width: 76px; min-height: 44px; justify-content: center; align-items: center; gap: 14px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 12px; }
.menu-toggle:is(:hover,[aria-expanded="true"]) { color: var(--accent); background: var(--accent-surface); border-color: var(--accent-line); }

.home-hero {
  display: flex;
  flex-direction: column;
  min-height: max(540px, calc(100svh - 270px));
  padding: 92px 46px 30px;
  color: var(--ink);
  background-color: #173342;
  background-image: linear-gradient(90deg, rgba(4, 17, 26, .52), rgba(4, 17, 26, .12) 62%, transparent 82%), url("company-structure-assets/hero-architecture-slate-20260923.png");
  background-position: center, center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.home-main { display: flex; align-items: center; flex: 1; }
.hero-copy { display: flex; flex-direction: column; align-items: start; gap: 19px; }
.home .hero-copy { max-width: 70%; padding: 5px 0 12px; }
.home .eyebrow { color: #c4d1d8; }
.home h1 em { color: inherit; }
.home .lead { color: #d5dde1; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 28px 38px; background: var(--surface-sunken); }
.metrics-grid article { padding-right: 24px; }
.metrics-grid article + article { border-left: 1px solid var(--line); padding-left: 26px; }
.metrics-grid strong { display: block; font-size: 43px; font-weight: 650; line-height: 1.55; letter-spacing: -.04em; }
.metrics-grid strong span { font-size: 15px; margin-left: 8px; font-weight: 500; }
.metrics-grid h2 { font-size: 14px; margin-bottom: 5px; }
.metrics-grid p { font-size: 11px; }
/* Main-screen motion: the photo settles from a slight zoom while the copy and metrics rise in. */
.home-hero { position: relative; isolation: isolate; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; transform-origin: 50% 45%; animation: hero-settle 14s cubic-bezier(.22, .61, .36, 1) both; }
.home .hero-line { display: block; }
.home .hero-line, .home .lead, .metrics-grid article { animation: hero-rise .8s cubic-bezier(.22, .61, .36, 1) both; }
.home .hero-line:nth-child(2) { animation-delay: .14s; }
.home .hero-line:nth-child(3) { animation-delay: .28s; }
.home .lead { animation-delay: .46s; }
.metrics-grid article:nth-child(1) { animation-delay: .6s; }
.metrics-grid article:nth-child(2) { animation-delay: .72s; }
.metrics-grid article:nth-child(3) { animation-delay: .84s; }
.metrics-grid data { display: inline-block; font-variant-numeric: tabular-nums; }
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.company-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 34px; padding: 30px 26px; }
.company-hero .hero-copy > p:not(.eyebrow) { max-width: 480px; font-size: 14px; }
.company-hero h2 { font-size: clamp(25px, 2.4vw, 31px); }
.company-downloads { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; margin-top: 5px; }
.download-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 18px; border: 1px solid var(--accent-line); color: var(--accent); background: var(--paper); font-size: .875rem; font-weight: 600; }
.download-button small { display: block; font-size: .75rem; font-weight: 400; }
.download-button svg { flex: none; }
.download-button:hover { background: var(--accent-surface); border-color: var(--accent); }
.download-button:first-child { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.download-button:first-child:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
/* A bounded canvas makes the research → security → development relationship visible. */
.expertise-panel { min-width: 0; padding: 24px; background: var(--surface-sunken); border: 1px solid var(--line); }
.expertise-panel > .micro { color: var(--accent); }
.research-visual { position: relative; height: clamp(210px, 21vw, 270px); margin-top: 12px; contain: layout paint; }
.research-canvas, .research-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.research-poster { object-fit: contain; mix-blend-mode: screen; }
.research-canvas { opacity: 0; }
.research-visual.is-ready .research-canvas { opacity: 1; }
.research-visual.is-ready .research-poster { visibility: hidden; }
.expertise-panel > p:last-child { margin-top: 20px; font-size: 13px; line-height: 1.8; }
.expertise-panel > p:last-child br { display: none; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--line); }
.expertise-grid > div { display: flex; flex-direction: column; align-items: start; gap: 4px; min-width: 0; }
.expertise-grid span { font-size: 10px; color: var(--accent); }
.expertise-grid strong { font-size: 14px; font-weight: 600; }
.expertise-grid small { font-size: 11px; line-height: 1.65; color: var(--muted); }
.value-cards .panel { padding: 22px; }
.value-cards h3 { margin: 12px 0 10px; font-size: 20px; }
.value-cards p:not(.eyebrow) { max-width: 310px; font-size: 12px; }
.company-ci { margin-top: 24px; padding: 44px 30px 38px; border-top: 1px solid var(--line); background: var(--paper); }
.ci-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 28px 48px; margin-bottom: 32px; }
.ci-heading .eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .17em; margin-bottom: 16px; }
.ci-heading h2 { color: var(--ink); font-size: clamp(34px, 3.8vw, 48px); font-weight: 700; line-height: 1.32; letter-spacing: -.04em; }
.ci-heading h2 span { color: var(--muted); }
.ci-meaning { padding-bottom: 4px; }
.ci-meaning h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 12px; letter-spacing: -.035em; }
.ci-meaning p { font-size: 1rem; line-height: 1.9; }
.ci-showcase { display: grid; grid-template-columns: .9fr 1.2fr 1fr; gap: 1px; background: var(--line); }
.ci-showcase > * { min-width: 0; min-height: 324px; padding: 24px; }
.ci-stage-label { display: flex; gap: 16px; color: var(--muted); font-size: 10px; letter-spacing: .15em; font-weight: 600; }
.ci-stage-label > span { color: var(--muted); }
.ci-symbol-stage { display: flex; flex-direction: column; color: var(--ink); background: var(--surface-sunken); }
.ci-symbol-canvas { position: relative; flex: 1; display: grid; place-items: center; min-height: 190px; margin: 20px 0; }
.ci-symbol-canvas::before { content: ""; position: absolute; inset: 0; border: 1px solid #cee9ee12; background: linear-gradient(#cee9ee0a 1px, transparent 1px), linear-gradient(90deg, #cee9ee0a 1px, transparent 1px); background-size: 25% 25%; }
.ci-symbol-canvas img { position: relative; width: 88%; max-width: 260px; height: auto; }
.ci-symbol-stage figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.ci-symbol-stage figcaption > span:last-child { letter-spacing: 0; }
.ci-signature-stage { display: flex; flex-direction: column; color: var(--muted); background: var(--surface-raised); }
.ci-signature-stage > figure { display: flex; flex-direction: column; justify-content: center; gap: 28px; flex: 1; padding: 28px 0; }
.ci-signature-stage img { width: 100%; max-width: 480px; height: auto; margin-inline: auto; }
.ci-signature-stage figcaption { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.ci-signature-stage figcaption > span + span { padding-left: 16px; border-left: 1px solid var(--line); }
.ci-downloads { display: flex; flex-wrap: wrap; gap: 0 20px; border-top: 1px solid var(--line); padding-top: 7px; }
.ci-downloads a { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 11px; font-weight: 600; }
.ci-downloads a:hover { color: var(--accent-hover); }
.ci-downloads a span { font-size: 16px; }
.ci-colors { display: flex; flex-direction: column; background: var(--surface); }
.ci-detail-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 24px; }
.ci-detail-heading > span { color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.ci-palette { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1; }
.ci-palette > div { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 126px; padding: 15px; }
.ci-palette dt { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.ci-palette dt span { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 400; line-height: 1.5; }
.ci-palette dd { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ci-color-teal { background: #00c6bb; color: #073e40; }
.ci-color-blue { background: #0070c0; color: #fff; }
.ci-color-graphite { background: #182a33; color: #fff; }
.ci-color-slate { background: #173342; color: #f0ede7; }


.history-top { grid-template-columns: .9fr 2.1fr; }
.history-intro { padding: 24px; }
.history-intro h2 { margin: 13px 0; font-size: 28px; }
.history-intro > p:last-child { font-size: 1rem; line-height: 1.8; }
.timeline-panel { padding: 22px 18px; }
.timeline-panel .panel-heading { margin-bottom: 30px; }
.history-timeline { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; padding: 0; }
.history-timeline li { position: relative; border-top: 1px solid var(--line-strong); padding: 17px 10px 0 0; }
.history-timeline li::before { content: ""; position: absolute; width: 7px; height: 7px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 50%; top: -4px; }
.history-timeline li:last-child::before { background: var(--accent); border-color: var(--accent); }
.history-timeline time { display: block; color: var(--accent); font-size: 17px; }
.history-timeline strong { display: block; font-size: .875rem; margin: 10px 0; }
.history-timeline p { font-size: .875rem; line-height: 1.75; }
.history-bottom { grid-template-columns: 3fr 1fr; }
.history-left { display: grid; gap: 12px; }
.trust-rail, .capabilities { padding: 20px; }
.rail-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.rail-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-raised); color: var(--ink); font-size: 20px; }
.rail-button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-surface); }
.rail { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 4px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; padding: 5px 4px; margin-inline: -4px; }
.rail.is-looping { scroll-behavior: auto; scroll-snap-type: none; scrollbar-width: none; }
.rail.is-looping::-webkit-scrollbar { display: none; }
.rail-list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.rail-card { flex: 0 0 226px; scroll-snap-align: start; min-width: 0; }
.award-link { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--media-paper); }
.award-link:hover { border-color: var(--accent); }
.award-image { background: var(--media-paper); }
.award-image img { display: block; width: 100%; height: auto; }
.clients .rail-card { flex-basis: 226px; }
.client-logo { display: flex; align-items: center; justify-content: center; height: 125px; padding: 26px; background: var(--media-paper); border: 1px solid var(--line); border-radius: 8px; }
.client-logo img { width: 100%; height: 70px; object-fit: contain; }
.client-logo img[src$="client-nhn-kcp.svg"] { height: 100px; max-width: 210px; width: 210px; }
.image-dialog { --dialog-padding: 22px; width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); border: 1px solid var(--line-strong); padding: var(--dialog-padding); border-radius: 12px; background: var(--surface-raised); color: var(--ink); overflow: auto; }
.image-dialog::backdrop { background: #04111ae0; backdrop-filter: blur(5px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 16px; contain: inline-size; }
.dialog-top h2 { min-width: 0; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.close-dialog { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 24px; }
.close-dialog:hover { border-color: var(--accent); color: var(--accent); }
.dialog-picture { overflow: hidden; border-radius: 5px; background: var(--media-paper); }
.dialog-picture img { display: block; width: auto; height: auto; max-width: min(804px, calc(100vw - 34px - var(--dialog-padding) - var(--dialog-padding))); max-height: 65dvh; }
.capabilities { padding: 20px; }
.awards-grid a { background: var(--surface); border: 1px solid var(--line); padding: 12px 8px; }
.awards-grid a:hover { border-color: var(--accent); }
.awards-grid img { width: 100%; height: 125px; object-fit: contain; }
.awards-grid figcaption { text-align: center; margin-top: 12px; line-height: 1.6; }
.awards-grid figcaption strong { display: block; font-size: 11px; }
.awards-grid figcaption span { font-size: 10px; color: var(--muted); }
.client-groups > div { padding: 10px; border: 1px solid var(--line); background: var(--surface); }
.client-groups h4 { font-size: 12px; margin-bottom: 9px; }
.client-pair { display: grid; gap: 6px; }
.client-pair img { width: 100%; height: 37px; object-fit: contain; border: 1px solid var(--line); padding: 5px; background: var(--media-paper); }
.capabilities { display: flex; flex-direction: column; }
.capabilities > div:not(.panel-heading) { display: flex; flex-direction: column; justify-content: center; flex: 1; padding: 13px 0; border-top: 1px solid var(--line); }
.capabilities h4 { margin: 6px 0; font-size: 15px; }
.capabilities p { font-size: 11px; }

/* This landmark receives focus after an inquiry link; its links keep their focus rings. */
.contact:focus { outline: none; }
.contact-top { grid-template-columns: 1fr 1fr; }
.contact-copy { padding: 26px; display: flex; flex-direction: column; align-items: start; }
.contact-copy h2 { margin: 18px 0; font-size: 31px; }
.contact-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; }
.contact-selection { width: 100%; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; }
.contact-selection strong { display: block; margin-top: 5px; color: var(--ink); line-height: 1.6; }
.contact-selection-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; }
.contact-selection-actions .text-link,.contact-selection-actions button { min-height: 44px; font-size: .875rem; }
.contact-selection-actions button { padding: 4px 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.contact-topics { width: 100%; margin: 24px 0 12px; gap: 9px; }
.contact-topics article { padding: 15px 10px; border: 1px solid var(--line); background: var(--paper); }
.contact-topics .micro { font-size: 9px; }
.contact-topics h3 { font-size: 15px; margin: 12px 0 8px; }
.contact-topics p { font-size: .875rem; line-height: 1.75; }
.contact-email { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin-top: 24px; padding: 12px 0; color: var(--accent); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.4; font-weight: 600; border-bottom: 1px solid var(--accent-line); }
.contact-email:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 5px; }
.contact-email > span:first-child { min-width: 0; }
.contact-email small { display: block; margin-bottom: 6px; font-size: .875rem; line-height: 1.6; font-weight: 500; }
.contact-details { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; font-size: .875rem; line-height: 1.75; }
.contact-details > div { display: flex; align-items: center; gap: 10px; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-details dt { color: var(--muted); }
.location-panel { display: flex; flex-direction: column; background: var(--surface); }
.map-link { display: block; padding: 6px; }
.map-link img { width: 100%; aspect-ratio: 650 / 600; object-fit: contain; }
.location-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 15px 19px; margin-top: auto; border-top: 1px solid var(--line); }
address { font-size: .875rem; font-style: normal; line-height: 1.75; }
address small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.6; margin-top: 3px; }
.contact-resources { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.resource-card { display: flex; align-items: center; gap: 12px; padding: 12px; }
.resource-card > img { width: 40px; height: 44px; object-fit: contain; flex: none; }
.resource-card > span:nth-child(2) { min-width: 0; }
.resource-card > span:last-child { margin-left: auto; align-self: start; color: var(--accent); }
.resource-card strong { display: block; font-size: 12px; }
.resource-card small { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }
.resource-card:hover { border-color: var(--accent); background: var(--accent-surface); }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 22px 28px; background: var(--surface-sunken); }
.site-footer .brand img { width: 164px; }
.site-footer p { font-size: 10px; }

@media (max-width: 1050px) {
  .trust-rail, .capabilities { padding: 15px; }
  .company-ci { padding-inline: 20px; }
  .ci-heading { gap: 28px; }
  .ci-showcase > * { padding: 18px; }
  .ci-palette > div { padding: 12px; }
  .main-nav { gap: 18px; }
  .brand img { width: 182px; }
  .home-hero { padding-inline: 28px; }
  .company-hero { gap: 20px; padding: 24px; }
  .expertise-panel { padding: 18px; }
  .expertise-grid { gap: 10px; }
  .history-top { grid-template-columns: .85fr 2.15fr; }
  .history-timeline { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .history-timeline strong { margin: 5px 0; }
  .history-timeline li { padding-top: 10px; }
  .history-bottom { grid-template-columns: 3fr 1.15fr; }
  .contact-copy { padding: 22px; }
  .contact-copy h2 { font-size: 27px; }
}
@media (max-width: 960px) {
  .ci-heading { grid-template-columns: 1fr; }
  .ci-meaning { padding: 0; }
  .ci-showcase { grid-template-columns: 1fr; }
  .ci-showcase > * { padding: 24px; min-height: 280px; }
  .ci-symbol-canvas { min-height: 190px; }
  .ci-symbol-canvas::before { inset-inline: 12%; }
  .ci-symbol-canvas img { width: 56%; }
  .ci-colors { min-height: 220px; }
  .ci-palette { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .company-ci { padding: 36px 18px 24px; }
  .ci-heading h2 { font-size: 38px; }
  .ci-heading .eyebrow { margin-bottom: 15px; }
  html { scroll-padding-top: 88px; }
  .site-header { flex-wrap: wrap; gap: 0 20px; padding: 12px 20px; min-height: 68px; }
  .site-header .brand img { width: 183px; }
  .js .menu-toggle { display: inline-flex; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 2px 24px; padding: 8px 0 4px; border-top: 1px solid var(--line); margin-top: 12px; }
  .js .main-nav:not([data-open="true"]) { display: none; }
  .main-nav a { font-size: 13px; padding: 10px 0; }
  .home-hero {
    min-height: 540px;
    background-image: linear-gradient(90deg, rgba(4, 17, 26, .78), rgba(4, 17, 26, .56) 75%, rgba(4, 17, 26, .28)), url("company-structure-assets/hero-architecture-slate-20260923.png");
    background-position: center, 70% center;
  }
  .home .hero-copy { max-width: 100%; }
  .home h1 { font-size: 33px; }
  .home .eyebrow { font-size: 9px; }
  .lead { font-size: 13px; }
  .metrics-grid { padding: 24px; }
  .metrics-grid article { padding-right: 15px; }
  .metrics-grid article + article { padding-left: 15px; }
  .metrics-grid strong { font-size: 34px; }
  .metrics-grid strong span { display: block; margin: 0 0 10px; font-size: 11px; }
  .metrics-grid article:first-child strong { padding-bottom: 25px; }
  .metrics-grid h2 { font-size: 12px; }
  .section-bar { padding-inline: 20px; }
  .section-body { padding: 12px; }
  .subsection-heading { align-items: start; gap: 16px; flex-direction: column; }
  .company-hero { grid-template-columns: 1fr; }
  .value-cards .panel { padding: 17px; }
  .value-cards h3 { font-size: 17px; }
  .history-top, .history-bottom { grid-template-columns: 1fr; }
  .history-intro h2 br:last-child { display: none; }
  .history-timeline { grid-template-columns: repeat(3, 1fr); }
  .capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .capabilities .panel-heading { grid-column: 1 / -1; }
  .contact-top { grid-template-columns: 1fr; }
  .contact-copy { padding: 26px; }
  .contact-copy h2 { font-size: 29px; }
  .contact-topics h3 { font-size: 17px; }
  .location-panel .map-link { max-width: 650px; width: 100%; margin: 0 auto; }
  .site-footer { padding: 20px; }
}
@media (max-width: 480px) {
  .trust-rail { padding: 16px 12px; }
  .trust-rail .panel-heading { gap: 10px; }
  .trust-rail .panel-heading h3 { font-size: 14px; }
  .rail-list { gap: 14px; }
  .rail-card { flex-basis: 222px; }
  .clients .rail-card { flex-basis: 180px; }
  .client-logo { height: 112px; padding: 22px; }
  .image-dialog { --dialog-padding: 16px; }
  .dialog-top h2 { font-size: 15px; }
  .company-ci { margin-top: 20px; padding: 30px 10px 22px; }
  .ci-heading { gap: 24px; margin-bottom: 26px; }
  .ci-heading h2 { font-size: clamp(31px, 8.5vw, 36px); }
  .ci-meaning h3 { font-size: 21px; }
  .ci-meaning br { display: none; }
  .ci-showcase > * { padding: 20px; }
  .ci-symbol-canvas img { width: 83%; max-width: 240px; }
  .ci-symbol-canvas::before { inset-inline: 0; }
  .ci-signature-stage { min-height: 230px; }
  .ci-signature-stage figcaption { font-size: 9px; gap: 8px 14px; }
  .ci-signature-stage figcaption > span + span { padding-left: 14px; }
  .ci-downloads { gap: 0 18px; }
  .ci-downloads a { gap: 12px; }
  .ci-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ci-palette > div { min-height: 132px; padding: 15px; }
  .site-header { padding-inline: 16px; }
  .site-header .brand img { width: 169px; }
  .home-hero { padding: 34px 21px 28px; }
  .home h1 { font-size: clamp(30px, 8.7vw, 36px); }
  .home .lead { max-width: 310px; }
  .home .lead br { display: none; }
  .metrics-grid { grid-template-columns: 1fr; padding: 10px 22px; }
  .metrics-grid article { padding: 17px 0; }
  .metrics-grid article + article { padding: 17px 0; border-left: 0; border-top: 1px solid var(--line); }
  .metrics-grid article:first-child strong { padding: 0; }
  .metrics-grid strong { line-height: 1.5; }
  .metrics-grid strong span { display: inline; margin-left: 10px; font-size: 14px; }
  .metrics-grid h2 { font-size: 14px; }
  .metrics-grid p { font-size: 12px; }
  .section-bar { padding: 15px 17px; }
  .section-bar .eyebrow { font-size: 10px; }
  .section-bar nav { gap: 16px; font-size: 11px; }
  .section-bar > span { font-size: 10px; }
  .section-body { padding: 10px; gap: 10px; }
  .company-hero { padding: 23px 18px; gap: 23px; }
  .company-hero h2 { font-size: 25px; }
  .download-button { width: 100%; }
  .company-hero .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .expertise-panel { padding: 14px; }
  .expertise-panel > .micro { font-size: 9px; letter-spacing: .035em; }
  .expertise-grid { gap: 6px; }
  .expertise-grid strong { font-size: 13px; }
  .value-cards { grid-template-columns: 1fr; gap: 10px; }
  .value-cards .panel { padding: 22px; }
  .value-cards h3 { font-size: 21px; }
  .value-cards h3 br { display: none; }
  .value-cards p:not(.eyebrow) { font-size: 13px; }
  .subsection-heading { padding-inline: 9px; }
  .subsection-heading h2 { font-size: 26px; }
  .history-intro { padding: 21px; }
  .history-intro h2 { font-size: 28px; }
  .timeline-panel { padding: 20px 16px; }
  .history-timeline { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .capabilities { column-gap: 18px; }
  .capabilities .micro { font-size: 9px; }
  .capabilities h4 { font-size: 14px; }
  .contact-copy { padding: 22px 18px; }
  .contact-copy h2 { font-size: 26px; }
  .contact-topics { grid-template-columns: 1fr; gap: 8px; margin-block: 22px 12px; }
  .contact-topics article { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; padding: 13px; }
  .contact-topics .micro, .contact-topics h3 { grid-column: 1; }
  .contact-topics h3 { margin: 0; font-size: 15px; }
  .contact-topics p { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .contact-email { font-size: 23px; }
  .contact-details { gap: 12px 18px; }
  .location-caption { padding: 14px; }
  .resource-card { flex-wrap: wrap; gap: 10px; padding: 13px; }
  .resource-card > img { width: 35px; height: 40px; }
  .resource-card > span:nth-child(2) { order: 2; flex-basis: 100%; }
  .resource-card > span:last-child { margin-left: auto; }
  .resource-card strong { font-size: 12px; }
  .resource-card small { font-size: 9px; }
  .site-footer { padding: 20px; gap: 12px; }
  .site-footer > div { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rail { scroll-behavior: auto; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  @page { margin: 12mm; }
  :root { color-scheme: light; --canvas: #fff; --paper: #fff; --surface: #f4f6f7; --surface-raised: #e8eef1; --surface-sunken: #edf1f3; --ink: #182a33; --muted: #52636c; --line: #c9d2d8; --line-strong: #74848d; --accent: #006995; --accent-hover: #005775; --accent-surface: #e2f2f5; --accent-line: #74a9b6; --on-accent: #fff; --focus: #0070c0; }
  .home-hero { color: #f0ede7; }
  .home-hero::before, .home .hero-line, .home .lead, .metrics-grid article { animation: none; }
  .rail-actions, [data-rail-clone], .image-dialog { display: none !important; }
  .rail { overflow: visible; }
  .rail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail-card { break-inside: avoid; }
  html { background: white; }
  .site { max-width: none; border: 0; }
  .site-header { position: static; }
  .menu-toggle, .skip { display: none !important; }
  .js .main-nav:not([data-open="true"]) { display: flex; }
  .page-section { break-before: page; }
  .home { break-before: auto; }
  * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Language toggle: a two-state segmented control shared by both language pages. */
.site-header .main-nav { margin-left: auto; }
.lang-toggle { display: inline-flex; flex: none; border: 1px solid var(--line-strong); background: var(--surface); }
.lang-toggle a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .09em; color: var(--muted); }
.lang-toggle a + a { border-left: 1px solid var(--line-strong); }
.lang-toggle a:hover { color: var(--accent); background: var(--accent-surface); }
.lang-toggle a[aria-current="page"] { color: var(--on-accent); background: var(--accent); }
@media (max-width: 760px) {
  /* Logo, language toggle and menu button share one row; the nav drops below. */
  .site-header { gap: 0 10px; }
  .site-header .brand img { width: 150px; }
  .site-header .brand { order: 0; }
  .site-header .lang-toggle { order: 1; margin-left: auto; }
  .site-header .lang-toggle a { min-width: 40px; padding: 0 6px; }
  .site-header .menu-toggle { order: 2; }
  .site-header .main-nav { order: 3; margin-left: 0; }
}
@media (max-width: 374px) {
  /* Below 360px the three controls cannot share a row, so the logo takes its own. */
  .site-header .brand { flex: 1 0 100%; }
  .site-header .menu-toggle { order: 1; }
  .site-header .lang-toggle { order: 2; }
}
