:root {
  --navy: #0b2648;
  --navy-2: #153f70;
  --orange: #ed6a2c;
  --orange-2: #ff8a4f;
  --ink: #102033;
  --muted: #5e6d7d;
  --line: #d9e1e9;
  --paper: #f6f8fa;
  --white: #fff;
  --shadow: 0 18px 45px rgba(9, 30, 55, .12);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--orange); color: #111; padding: 10px 14px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section { padding: 104px 0; }
.section--soft { background: var(--paper); }
.section-head { display: grid; grid-template-columns: .72fr 1fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.05; letter-spacing: -.045em; }
.lead { margin: 0; color: var(--muted); font-size: 1.12rem; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--navy); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
.nav { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid rgba(11,38,72,.14); }
.brand { display: inline-flex; align-items: center; gap: 0; width: auto; padding: 8px 0; text-decoration: none; }
.brand-mark { width: 86px; height: 70px; object-fit: contain; object-position: center; filter: none; }
.brand-word { position: relative; display: grid; margin-left: -3px; padding: 2px 8px 3px 13px; color: var(--navy); font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 1.48rem; font-weight: 780; line-height: .86; letter-spacing: .035em; }
.brand-word::before { content: ""; position: absolute; left: 0; top: 2px; width: 2px; height: 42px; border-radius: 3px; background: linear-gradient(180deg, transparent, var(--orange) 28%, var(--orange-2) 72%, transparent); transform: rotate(8deg); transform-origin: center; }
.brand-word small { margin-top: 8px; color: #7b8998; font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif; font-size: .43rem; font-weight: 650; letter-spacing: .235em; }
.nav-links { display: flex; align-items: center; gap: 27px; font-size: .9rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--orange); }
.language { border-left: 1px solid rgba(11,38,72,.25); padding-left: 22px; color: var(--orange); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 800; }

.hero { position: relative; min-height: 850px; color: var(--ink); overflow: hidden; background: #f7f9fb; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,252,253,.99) 0%, rgba(247,250,252,.94) 48%, rgba(241,246,250,.34) 100%), url("../images/cnc-hero.jpg") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; bottom: -230px; border: 70px solid rgba(237,106,44,.32); transform: rotate(12deg); }
.hero-inner { position: relative; z-index: 2; min-height: 850px; display: grid; grid-template-columns: 1fr .64fr; align-items: center; gap: 60px; padding-top: 110px; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .94; letter-spacing: -.065em; }
.hero h1 span { color: var(--orange-2); }
.hero-copy { max-width: 690px; margin: 28px 0 36px; color: #46586b; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero h1 { color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; border: 2px solid transparent; border-radius: 4px; background: var(--orange); color: #151515; font-weight: 850; text-decoration: none; }
.button:hover, .button:focus-visible { background: var(--orange-2); }
.button--ghost { border-color: var(--navy); background: rgba(255,255,255,.55); color: var(--navy); }
.button--ghost:hover, .button--ghost:focus-visible { border-color: var(--navy); background: var(--navy); color: white; }
.hero-stat { align-self: end; margin-bottom: 78px; padding: 26px; border-left: 3px solid var(--orange); background: rgba(7,29,55,.7); backdrop-filter: blur(8px); }
.hero-stat strong { display: block; font-size: 1.35rem; }
.hero-stat span { color: #b9c9d9; }

.identity-bar { position: relative; z-index: 3; margin-top: -1px; background: #071a31; color: white; }
.identity-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; }
.identity-item { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 22px 30px; border-right: 1px solid rgba(255,255,255,.14); }
.identity-item:first-child { padding-left: 0; }
.identity-item:last-child { padding-right: 0; border-right: 0; }
.identity-item small { color: var(--orange-2); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.identity-item strong, .identity-item a { margin-top: 5px; color: white; font-size: 1.02rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.identity-item--motto strong { font-size: clamp(1.15rem, 2.1vw, 1.65rem); letter-spacing: -.02em; text-transform: uppercase; }

.workflow { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.step { min-height: 235px; padding: 32px; background: white; }
.step-no { display: inline-grid; width: 40px; height: 40px; place-items: center; margin-bottom: 34px; border-radius: 50%; background: var(--navy); color: white; font-weight: 800; }
.step h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); }

.capability-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.capability { position: relative; min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; transition: .25s ease; }
.capability::after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 130px; height: 130px; border: 20px solid #edf1f5; transform: rotate(20deg); }
.capability:hover { transform: translateY(-5px); border-color: #bac8d6; box-shadow: var(--shadow); }
.icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 36px; border-radius: 14px; background: #fff0e8; color: var(--orange); font-size: 1.4rem; font-weight: 900; }
.capability h3 { position: relative; z-index: 1; margin: 0 0 10px; color: var(--navy); font-size: 1.35rem; }
.capability p { position: relative; z-index: 1; margin: 0; color: var(--muted); }

.division { padding: 0 0 104px; background: var(--paper); }
.division-card { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 330px; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: white; box-shadow: var(--shadow); }
.division-mark { display: grid; place-items: center; padding: 48px; background: linear-gradient(145deg, var(--orange), #f39a20); color: #111; text-align: center; }
.division-mark span { display: block; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.division-mark small { display: block; margin-top: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.division-copy { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
.division-copy h2 { margin: 0 0 15px; color: white; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; }
.division-copy p { margin: 0 0 24px; color: #c5d2df; }
.division-copy .button { align-self: flex-start; }

.focus { background: var(--navy); color: white; }
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.focus h2 { color: white; }
.focus .lead { color: #c7d4df; }
.focus-list { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.focus-item { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.focus-item b { color: var(--orange-2); }
.focus-item p { margin: 3px 0 0; color: #bfcddb; }

.evidence { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 510px; border-radius: var(--radius); overflow: hidden; background: #e7edf2; box-shadow: var(--shadow); }
.evidence-visual { position: relative; min-height: 420px; background: linear-gradient(135deg, rgba(11,38,72,.88), rgba(11,38,72,.45)), url("../images/cnc-hero.jpg") center/cover; }
.evidence-label { position: absolute; inset: auto 26px 26px; padding: 18px; border: 1px dashed rgba(255,255,255,.55); color: white; background: rgba(4,19,37,.64); }
.evidence-copy { display: flex; flex-direction: column; justify-content: center; padding: 54px; background: white; }
.evidence-copy h3 { margin: 0 0 16px; color: var(--navy); font-size: 2rem; line-height: 1.15; }
.evidence-copy p { margin: 0 0 24px; color: var(--muted); }

.contact { padding: 90px 0; background: var(--orange); color: #111; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.contact h2 { max-width: 770px; margin: 0 0 14px; color: #111; font-size: clamp(2.4rem,5vw,4.6rem); line-height: 1; letter-spacing: -.05em; }
.contact p { max-width: 720px; margin: 0; font-size: 1.12rem; }
.contact-actions { display: grid; gap: 12px; min-width: 255px; }
.contact .button { background: var(--navy); color: white; }
.contact .button:hover { background: #071a31; }
.contact .button--ghost { border-color: #111; background: transparent; color: #111; }
.contact .button--ghost:hover { background: white; }

.site-footer { padding: 64px 0 24px; background: #eef3f7; color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 0; margin-bottom: 18px; }
.footer-mark { width: 100px; height: 90px; object-fit: contain; object-position: center; filter: none; }
.footer-word { position: relative; margin-left: -4px; padding: 2px 12px 3px 15px; color: var(--navy); font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 1.62rem; font-weight: 780; line-height: .86; letter-spacing: .035em; }
.footer-word::before { content: ""; position: absolute; left: 0; top: 2px; width: 2px; height: 46px; border-radius: 3px; background: linear-gradient(180deg, transparent, var(--orange) 28%, var(--orange-2) 72%, transparent); transform: rotate(8deg); }
.footer-word small { display: block; margin-top: 9px; color: #7b8998; font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif; font-size: .46rem; font-weight: 650; letter-spacing: .235em; }
.footer-copy, .footer-grid address { color: #56697b; font-style: normal; }
.footer-grid h3 { margin: 0 0 13px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-2); }
.footer-grid a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid rgba(11,38,72,.15); color: #6c7d8d; font-size: .85rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 84px; left: 20px; right: 20px; padding: 24px; border-radius: 12px; background: white; box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .language { padding: 12px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .hero, .hero-inner { min-height: 760px; }
  .hero-inner { grid-template-columns: 1fr; align-content: center; padding-top: 130px; }
  .hero-stat { display: none; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-item, .identity-item:first-child, .identity-item:last-child { min-height: 90px; padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .identity-item:last-child { border-bottom: 0; }
  .section-head, .focus-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .evidence { grid-template-columns: 1fr; }
  .division-card { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .hero, .hero-inner { min-height: 720px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero::before { background: linear-gradient(rgba(250,252,253,.96), rgba(241,246,250,.9)), url("../images/cnc-hero.jpg") 62% center/cover; }
  .actions, .contact-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .workflow, .capability-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .focus-grid { gap: 42px; }
  .evidence-copy { padding: 34px 26px; }
  .division-copy { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
