:root {
  --ink: #18232d;
  --ink-soft: #586571;
  --paper: #f4f6f8;
  --white: #ffffff;
  --line: #d8dee5;
  --primary: #2b4356;
  --primary-dark: #1f3446;
  --support: #6f8795;
  --accent: #a9bbc5;
  --warning: #985a3d;
  --content: 1160px;
  --display: Georgia, Cambria, "SimSun", STSong, serif;
  font-family: var(--display);
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); }
body, button, a { font: inherit; letter-spacing: 0; }
h1, h2, h3, .product-entry strong { font-family: var(--display); }
body { font-size: 16px; font-weight: 400; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }
.content-width { width: min(calc(100% - 80px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 8px 12px; transform: translateY(-160%); border-radius: 4px; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 76px;
  padding: 0 34px;
  align-items: center;
  border-bottom: 1px solid transparent;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
  transition: background .2s ease, border-color .2s ease;
}
.site-header.is-scrolled, .site-header.compact { border-color: rgb(43 67 86 / 16%); background: rgb(248 250 251 / 96%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; }
.brand-mark { position: relative; display: grid; width: 32px; height: 32px; overflow: hidden; place-items: center; border-radius: 6px; background: var(--ink); }
.brand-mark i { position: absolute; width: 16px; height: 4px; border-radius: 1px; background: var(--accent); transform: rotate(-38deg); }
.brand-mark i:last-child { background: var(--warning); transform: rotate(38deg); }
.brand strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.15; }
.brand small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 7px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 34px; white-space: nowrap; }
.site-nav a { position: relative; padding: 10px 0; font-size: 14px; font-weight: 600; }
.site-nav a::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; transform: scaleX(0); background: var(--primary); content: ""; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-action { justify-self: end; padding: 10px 15px; border-radius: 5px; background: var(--primary); box-shadow: 0 8px 22px rgb(31 52 70 / 18%); color: white; font-size: 13px; }
.header-action:hover { background: var(--primary-dark); }
.nav-toggle { display: none; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .18s ease; }

.hero { position: relative; width: 100%; height: 500px; min-height: 500px; overflow: hidden; isolation: isolate; background: #e8edf1; }
.hero::after { position: absolute; z-index: 1; inset: 0; background: rgb(244 246 248 / 10%); content: ""; }
.hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: 68% center; filter: saturate(.55) brightness(1.02); }
.hero-inner { position: relative; z-index: 2; display: flex; height: 100%; padding-top: 86px; padding-bottom: 104px; flex-direction: column; align-items: flex-start; justify-content: center; transform: translateY(-180px); }
.hero-inner.content-width { width: auto; max-width: none; margin-right: 34px; margin-left: 78px; }
.eyebrow { margin: 0 0 16px; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.hero h1 { max-width: none; margin: 0; font-size: 50px; line-height: 1.08; font-weight: 700; white-space: nowrap; }
.hero-copy { max-width: none; margin: 16px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; white-space: nowrap; }
.hero-actions { display: flex; margin-top: 24px; gap: 12px; }
.button { display: inline-flex; min-height: 44px; padding: 10px 18px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--primary); border-radius: 5px; font-size: 14px; font-weight: 700; transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(31 52 70 / 18%); }
.button.primary { background: var(--primary); color: white; }
.button.primary:hover { border-color: var(--primary-dark); background: var(--primary-dark); }
.button.secondary { border-color: var(--support); background: rgb(248 250 251 / 94%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.button.secondary:hover { background: white; }
.hero-capabilities { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; border-top: 1px solid rgb(43 67 86 / 16%); background: rgb(248 250 251 / 95%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.capability-row { display: grid; min-height: 76px; align-items: center; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.capability-row span { display: flex; height: 38px; align-items: center; border-right: 1px solid var(--line); font-size: 13px; font-weight: 700; white-space: nowrap; }
.capability-row span:not(:first-child) { padding-left: 30px; }
.capability-row span:last-child { border-right: 0; }

.section { padding-block: 104px; }
.section-band { padding-block: 104px; border-top: 1px solid var(--line); background: var(--white); }
.section-heading h2 { max-width: 720px; margin: 0; font-size: 42px; line-height: 1.18; font-weight: 700; }
.section-heading > p:last-child { max-width: 520px; margin: 22px 0 0; color: var(--ink-soft); line-height: 1.75; }
.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; }
.intro-copy { padding-top: 30px; }
.intro-copy p { margin: 0 0 18px; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }

.service-list { margin-top: 58px; border-top: 1px solid var(--ink); }
.service-row { display: grid; min-height: 148px; padding: 26px 0; align-items: center; border-bottom: 1px solid var(--line); grid-template-columns: 72px 1fr 110px; gap: 22px; transition: color .16s ease, padding .16s ease; }
.service-row:hover { padding-right: 12px; padding-left: 12px; color: var(--primary-dark); }
.service-index { color: var(--warning); font-size: 12px; font-weight: 800; }
.service-row h3 { margin: 0 0 8px; font-size: 25px; font-weight: 700; }
.service-row p { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.service-link { justify-self: end; font-size: 12px; font-weight: 700; }

.workflow-section { background: #24394b; color: white; }
.workflow-section .eyebrow { color: #b9c8d0; }
.workflow-section .section-heading > p:last-child { color: #d8e1e6; }
.workflow-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; }
.workflow-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #526a78; }
.workflow-steps li { display: grid; min-height: 108px; padding: 22px 0; align-items: start; border-bottom: 1px solid #526a78; grid-template-columns: 62px 1fr; }
.workflow-steps li > span { color: #cfb7ad; font-size: 12px; font-weight: 800; }
.workflow-steps strong { font-size: 21px; font-weight: 700; }
.workflow-steps p { margin: 7px 0 0; color: #d8e1e6; font-size: 14px; line-height: 1.65; }

.light-band { background: #eef2f4; }
.principle-grid { display: grid; margin-top: 52px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.principle-grid article { min-height: 258px; padding: 30px 28px 30px 0; border-right: 1px solid #cdd6dc; }
.principle-grid article:not(:first-child) { padding-left: 32px; }
.principle-grid article:last-child { border-right: 0; }
.principle-grid span { color: var(--primary-dark); font-size: 11px; font-weight: 800; }
.principle-grid h3 { margin: 48px 0 12px; font-size: 23px; font-weight: 700; }
.principle-grid p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

.product-cta { background: #f7f8f9; }
.product-cta-inner { display: flex; min-height: 150px; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.product-cta h2 { margin: 0; font-size: 30px; font-weight: 700; }
.product-cta .eyebrow { margin-bottom: 10px; }

.site-footer { padding: 62px 0 24px; background: #162a3a; color: white; }
.footer-main { display: flex; min-height: 150px; justify-content: space-between; gap: 50px; }
.footer-brand strong { font-size: 20px; }
.footer-brand p { margin: 16px 0 0; color: #c5d0d7; font-size: 13px; }
.footer-main nav { display: flex; align-items: flex-start; gap: 34px; color: #e5eaed; font-size: 13px; }
.footer-main nav a:hover { color: var(--accent); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid #425968; color: #b6c2c9; font-size: 11px; }
.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { color: var(--accent); }

.page-hero { padding-top: 178px; padding-bottom: 96px; }
.page-hero h1 { max-width: 850px; margin: 0; font-size: 58px; line-height: 1.1; font-weight: 700; }
.page-hero > p:last-child { max-width: 670px; margin: 32px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.8; }
.service-detail-list { border-top: 1px solid var(--ink); }
.service-detail { scroll-margin-top: 76px; padding: 82px 0; border-bottom: 1px solid var(--line); background: white; }
.service-detail:nth-child(even) { background: #eef2f4; }
.service-detail-inner { display: grid; grid-template-columns: 70px .75fr 1fr; gap: 40px; }
.service-detail h2 { margin: 0; font-size: 36px; font-weight: 700; }
.service-body > p { margin: 0 0 26px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.service-body ul { display: grid; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.service-body li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }

.product-page-hero { padding-bottom: 70px; }
.product-entries { display: grid; padding-bottom: 130px; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-entry { display: grid; min-height: 340px; padding: 32px; align-content: space-between; border: 1px solid #bac7cf; border-radius: 8px; background: #e3e9ed; box-shadow: 0 18px 40px rgb(31 52 70 / 10%); color: var(--ink); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.product-entry.accent { border-color: #aebdc6; background: #d8e2e7; }
.product-entry:hover { transform: translateY(-5px); background: #d9e2e7; box-shadow: 0 24px 48px rgb(31 52 70 / 16%); }
.product-entry.accent:hover { background: #ccd9df; }
.product-number { color: var(--ink-soft); font-size: 11px; }
.product-entry strong { align-self: center; font-size: 42px; font-weight: 700; }
.entry-action { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgb(38 57 76 / 22%); padding-top: 20px; font-size: 13px; font-weight: 700; }
.entry-action i { font-size: 20px; font-style: normal; }

.about-statement { background: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-copy p { margin: 0 0 22px; color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.value-list { display: grid; margin-top: 60px; border-top: 1px solid var(--ink); grid-template-columns: repeat(3, 1fr); }
.value-list article { min-height: 280px; padding: 34px 32px 30px 0; border-right: 1px solid var(--line); }
.value-list article:not(:first-child) { padding-left: 32px; }
.value-list article:last-child { border-right: 0; }
.value-list span { color: var(--warning); font-size: 11px; font-weight: 800; }
.value-list h3 { margin: 70px 0 14px; font-size: 22px; }
.value-list p { margin: 0; color: var(--ink-soft); line-height: 1.75; }

.reveal.is-visible { animation: reveal-in .55s ease both; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .content-width { width: min(calc(100% - 48px), var(--content)); }
  .site-header { padding: 0 24px; grid-template-columns: 1fr auto; }
  .header-action { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .site-nav { position: absolute; top: 76px; right: 18px; left: 18px; display: none; padding: 16px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 20px 50px rgb(31 52 70 / 16%); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { height: 480px; min-height: 480px; }
  .hero-media { object-position: 58% center; opacity: .64; }
  .hero-inner.content-width { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
  .hero-inner { padding-top: 82px; padding-bottom: 98px; }
  .hero h1 { width: 100%; max-width: 100%; font-size: 42px; overflow-wrap: anywhere; white-space: normal; }
  .hero-copy { width: 100%; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
  .intro, .workflow-layout, .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-copy { padding-top: 0; }
  .service-detail-inner { grid-template-columns: 50px 1fr; }
  .service-body { grid-column: 2; }
}

@media (max-width: 680px) {
  .content-width { width: calc(100% - 32px); }
  .site-header { height: 68px; padding: 0 16px; }
  .brand small { display: none; }
  .brand strong { font-size: 14px; }
  .brand-mark { width: 29px; height: 29px; }
  .site-nav { top: 68px; }
  .hero { height: 560px; min-height: 560px; }
  .hero-media { object-position: 64% center; opacity: .5; }
  .hero-inner.content-width { width: calc(100% - 32px); }
  .hero-inner { padding-top: 82px; padding-bottom: 116px; justify-content: center; }
  .hero h1 { font-size: 28px; line-height: 1.14; }
  .hero-copy { max-width: 330px; margin-top: 20px; font-size: 16px; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 42px; padding: 9px 13px; }
  .hero-capabilities { overflow-x: auto; }
  .capability-row { width: 680px; min-height: 72px; }
  .capability-row span:not(:first-child) { padding-left: 18px; }
  .section, .section-band { padding-block: 78px; }
  .section-heading h2 { font-size: 32px; }
  .intro { gap: 34px; }
  .service-list { margin-top: 44px; }
  .service-row { min-height: 180px; padding: 24px 0; grid-template-columns: 36px 1fr; gap: 14px; }
  .service-row h3 { font-size: 21px; }
  .service-link { display: none; }
  .workflow-layout { gap: 42px; }
  .workflow-steps li { grid-template-columns: 48px 1fr; }
  .principle-grid, .value-list { grid-template-columns: 1fr; }
  .principle-grid article, .value-list article, .principle-grid article:not(:first-child), .value-list article:not(:first-child) { min-height: 0; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid h3, .value-list h3 { margin-top: 36px; }
  .product-cta-inner { padding-block: 32px; flex-direction: column; align-items: flex-start; }
  .product-cta h2 { font-size: 25px; }
  .footer-main { min-height: 200px; flex-direction: column; }
  .footer-main nav { gap: 22px; }
  .page-hero { padding-top: 130px; padding-bottom: 72px; }
  .page-hero h1 { font-size: 40px; }
  .service-detail { padding: 62px 0; }
  .service-detail-inner { grid-template-columns: 30px 1fr; gap: 20px; }
  .service-detail h2 { font-size: 29px; }
  .service-body ul { grid-template-columns: 1fr; }
  .product-entries { padding-bottom: 80px; grid-template-columns: 1fr; }
  .product-entry { min-height: 250px; padding: 24px; }
  .product-entry strong { font-size: 32px; }
}

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