:root {
  --ink: #0b1726;
  --ink-2: #13253a;
  --paper: #f5f8fb;
  --white: #ffffff;
  --muted: #607186;
  --line: #dce5ed;
  --cyan: #16b9d4;
  --cyan-deep: #087c91;
  --lime: #b9e85c;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(11, 23, 38, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--white); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 248, 251, .93);
  border-bottom: 1px solid rgba(220, 229, 237, .8);
  backdrop-filter: blur(14px);
}
.header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--white); background: var(--ink); }
.brand-mark svg { width: 23px; height: 23px; }
.brand span:last-child { font-size: 1.1rem; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 9px 13px; border-radius: 9px; text-decoration: none; color: #3d5066; font-size: .95rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--white); box-shadow: 0 5px 18px rgba(11,23,38,.06); }
.nav .nav-cta { margin-left: 6px; color: var(--white); background: var(--ink); }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { color: var(--white); background: var(--ink-2); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--white); color: var(--ink); cursor: pointer; }
.menu-button svg { width: 24px; height: 24px; }

.hero { position: relative; overflow: hidden; padding: 86px 0 78px; background: var(--ink); color: var(--white); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, black 45%, black);
}
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -120px; top: -220px; border-radius: 50%; border: 76px solid rgba(22,185,212,.19); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--cyan); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 27px; height: 3px; background: currentColor; border-radius: 5px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(2.7rem, 6vw, 5.5rem); font-weight: 780; }
.hero-copy { max-width: 770px; margin: 26px 0 0; color: #bdcad8; font-size: clamp(1.05rem, 1.8vw, 1.27rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 750; }
.button-primary { color: var(--ink); background: var(--lime); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.05); }
.button-dark { color: var(--white); background: var(--ink); }
.button:hover { transform: translateY(-1px); }
.hero-panel { padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.06); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.hero-panel-label { margin: 0 0 16px; color: #8fa3b7; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.signal-row { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }
.signal-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 0 5px rgba(22,185,212,.09); }
.signal-row span:nth-child(2) { color: #d7e0e9; }
.signal-row strong { color: var(--lime); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: 90px 0; }
.section-white { background: var(--white); }
.section-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; margin-bottom: 42px; }
.section-kicker { color: var(--cyan-deep); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.section-title { font-size: clamp(2rem, 4vw, 3.45rem); }
.section-intro { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 30px rgba(11,23,38,.035); }
.card-number { display: block; margin-bottom: 52px; color: var(--cyan-deep); font: 800 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.card h3 { font-size: 1.36rem; }
.card p { margin: 16px 0 0; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--cyan-deep); text-decoration: none; font-weight: 750; }
.card-link:hover { text-decoration: underline; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.metric { padding: 28px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 2.15rem; line-height: 1; letter-spacing: -.04em; }
.metric span { display: block; margin-top: 11px; color: var(--muted); font-size: .92rem; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border-radius: var(--radius); background: var(--line); border: 1px solid var(--line); }
.process-step { min-height: 230px; padding: 28px; background: var(--white); }
.process-step span { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 42px; border-radius: 50%; color: var(--white); background: var(--ink); font-weight: 800; font-size: .82rem; }
.process-step h3 { font-size: 1.18rem; }
.process-step p { color: var(--muted); margin: 13px 0 0; font-size: .94rem; }

.band { padding: 56px 0; background: var(--cyan); color: var(--ink); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band h2 { max-width: 750px; font-size: clamp(1.8rem, 3.7vw, 3.1rem); }
.band p { max-width: 720px; margin: 14px 0 0; color: #153c47; }

.page-hero { padding: 72px 0 64px; background: var(--ink); color: var(--white); }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.7rem); }
.page-hero p { max-width: 780px; margin: 22px 0 0; color: #bdcad8; font-size: 1.15rem; }
.page-hero .eyebrow { margin-bottom: 18px; }

.service-list { display: grid; gap: 18px; }
.service-item { display: grid; grid-template-columns: 70px .72fr 1.28fr; gap: 30px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-code { color: var(--cyan-deep); font: 800 .86rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.service-item h2 { font-size: 1.65rem; }
.service-item p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: #4a5d72; background: var(--white); font-size: .78rem; font-weight: 650; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project { display: flex; min-height: 370px; flex-direction: column; justify-content: space-between; padding: 34px; overflow: hidden; border-radius: var(--radius); color: var(--white); background: var(--ink); }
.project:nth-child(2) { color: var(--ink); background: var(--lime); }
.project:nth-child(3) { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.project:nth-child(4) { background: var(--cyan-deep); }
.project-meta { display: flex; justify-content: space-between; gap: 20px; font: 700 .78rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.project h2 { max-width: 470px; margin-top: 70px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.project p { max-width: 520px; margin: 18px 0 0; opacity: .72; }
.result { margin-top: 28px; padding-top: 18px; border-top: 1px solid currentColor; font-weight: 750; }

.contact-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; }
.contact-main, .contact-side { padding: 38px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.contact-main h2, .contact-side h2 { font-size: 1.75rem; }
.contact-main p, .contact-side p { color: var(--muted); }
.contact-email { display: inline-block; margin: 25px 0 6px; color: var(--cyan-deep); font-size: clamp(1.45rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; }
.contact-facts { display: grid; gap: 22px; margin: 30px 0 0; }
.contact-fact { padding-top: 19px; border-top: 1px solid var(--line); }
.contact-fact small { display: block; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-fact strong { display: block; margin-top: 5px; }

.site-footer { padding: 48px 0 30px; color: #aab9c7; background: #07111d; }
.footer-top { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 40px; }
.footer-brand { max-width: 420px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin: 18px 0 0; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 9px 35px; }
.footer-nav a { color: #c0ccd7; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }

@media (max-width: 900px) {
  .hero-grid, .section-head, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .metrics, .process { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-item { grid-template-columns: 54px 1fr; }
  .service-item > div:last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-row { min-height: 68px; }
  .menu-button { display: grid; place-items: center; }
  .nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 12px 14px 16px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { margin: 4px 0 0; text-align: center; }
  .hero { padding: 66px 0 54px; }
  .hero-grid { gap: 38px; }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .section { padding: 66px 0; }
  .cards, .project-grid { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .card { min-height: 235px; }
  .card-number { margin-bottom: 34px; }
  .process { grid-template-columns: 1fr; }
  .process-step { min-height: auto; }
  .process-step span { margin-bottom: 24px; }
  .band-row, .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .band .button { width: 100%; }
  .page-hero { padding: 56px 0 50px; }
  .service-item { grid-template-columns: 1fr; gap: 16px; }
  .service-item > div:last-child { grid-column: auto; }
  .project { min-height: 330px; padding: 28px; }
  .contact-main, .contact-side { padding: 28px; }
}

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