:root {
  --ink: #07131f;
  --ink-2: #0c1e2e;
  --ink-3: #122c42;
  --paper: #f5f8fa;
  --white: #ffffff;
  --text: #172838;
  --muted: #607184;
  --line: #d9e1e7;
  --accent: #12d6a0;
  --accent-dark: #00a978;
  --cyan: #29bce6;
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.icon { display: inline-grid; place-items: center; flex: 0 0 auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 900; line-height: 1; }
.icon-check { color: var(--accent-dark); font-size: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--white); }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 12px;
  color: var(--accent); font-weight: 850; letter-spacing: -.05em;
  background: rgba(255,255,255,.04);
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: .95rem; letter-spacing: .01em; }
.brand-copy small { color: #9db0bf; font-size: .72rem; margin-top: .25rem; text-transform: uppercase; letter-spacing: .11em; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; color: #b6c4cf; font-size: .9rem; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--white); }
.nav-cta { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); background: var(--accent); border-radius: 999px; padding: .72rem 1.05rem; font-weight: 750; font-size: .9rem; }
.mobile-menu { display: none; position: relative; color: white; }
.mobile-menu summary { list-style: none; cursor: pointer; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .55rem .8rem; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 3rem; min-width: 220px; display: grid; padding: .6rem; background: var(--ink-2); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.mobile-menu nav a { padding: .75rem .85rem; border-radius: 10px; }
.mobile-menu nav a:hover { background: rgba(255,255,255,.08); }

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: 6.6rem 0 6rem; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(41,188,230,.13), transparent 67%); }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, black, transparent 72%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 5rem; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { color: var(--accent); }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 1.35rem 0 1.4rem; font-size: clamp(3rem, 6vw, 5.35rem); line-height: .98; letter-spacing: -.055em; font-weight: 760; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0; color: #b9c8d3; font-size: 1.17rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.1rem; border-radius: 999px; font-weight: 780; font-size: .94rem; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #34edbc; }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.2); }
.button-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .85rem 1.2rem; margin-top: 2rem; color: #9db0bf; font-size: .8rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-proof b { color: var(--accent); }

.solution-map { min-height: 500px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); box-shadow: 0 35px 90px rgba(0,0,0,.24); overflow: hidden; }
.map-topline, .map-footer { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; color: #9db0bf; font-size: .73rem; text-transform: uppercase; letter-spacing: .1em; }
.map-topline { border-bottom: 1px solid rgba(255,255,255,.09); }
.online { display: inline-flex; align-items: center; gap: .45rem; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 13px var(--accent); }
.map-core { position: relative; flex: 1; min-height: 385px; }
.core-ring { position: absolute; border: 1px dashed rgba(255,255,255,.14); border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; }
.ring-one { width: 260px; height: 260px; }
.ring-two { width: 340px; height: 340px; opacity: .55; }
.core-center { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 145px; height: 145px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(18,214,160,.5); border-radius: 50%; background: radial-gradient(circle at 30% 20%, #163d45, #0b2232); box-shadow: 0 0 50px rgba(18,214,160,.13); }
.core-center .icon { margin: 0 auto .45rem; color: var(--accent); font-size: 1.65rem; }
.core-center strong { display: block; font-size: 1rem; }
.core-center small { color: #91a6b5; font-size: .7rem; }
.map-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: .45rem; color: #d8e4eb; background: #102b3e; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .6rem .75rem; font-size: .78rem; box-shadow: 0 10px 25px rgba(0,0,0,.18); }
.map-node .icon { color: var(--cyan); }
.node-one { left: 7%; top: 19%; }
.node-two { right: 4%; top: 24%; }
.node-three { left: 4%; bottom: 17%; }
.node-four { right: 10%; bottom: 13%; }
.map-footer { justify-content: center; gap: .45rem; border-top: 1px solid rgba(255,255,255,.09); letter-spacing: .04em; text-transform: none; }
.map-footer b { color: var(--accent); }

.problem-strip { background: var(--accent); color: var(--ink); }
.strip-inner { min-height: 82px; display: flex; align-items: center; justify-content: center; gap: .55rem; text-align: center; }
.strip-inner p, .strip-inner strong { margin: 0; }
.strip-inner strong { font-weight: 850; }

.section { padding: 7.3rem 0; }
.section-heading { max-width: 760px; margin-bottom: 3.2rem; }
.section-heading h2, .method-intro h2, .about-copy h2, .tech-heading h2, .contact-card h2 { margin: .85rem 0 1rem; color: var(--ink); font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; }
.section-heading > p, .split-heading > p, .method-intro > p, .tech-heading > p, .about-copy > p { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 5rem; align-items: end; }
.split-heading h2 { max-width: 690px; }
.split-heading > p { margin: 0 0 .55rem; }
.problems-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.problem-card { position: relative; min-height: 270px; padding: 2rem 1.55rem; border-right: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.problem-card:last-child { border-right: 0; }
.problem-card:hover { background: #f0faf7; }
.problem-card > .icon { color: var(--accent-dark); margin-top: 2rem; font-size: 1.55rem; }
.card-number { color: #91a0ac; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.problem-card h3 { margin: 1rem 0 .55rem; color: var(--ink); font-size: 1.12rem; }
.problem-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.65; }

.services-section { background: var(--ink); color: var(--white); }
.services-section .section-heading h2 { color: var(--white); max-width: 680px; }
.services-section .section-heading p { color: #9db0bf; max-width: 650px; }
.section-kicker.light { color: var(--accent); }
.services-list { border-top: 1px solid rgba(255,255,255,.14); }
.service-row { display: grid; grid-template-columns: 48px 64px 1.1fr .9fr; gap: 1.6rem; align-items: start; padding: 2.2rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.service-index { color: #6f8596; font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent); background: rgba(18,214,160,.08); border: 1px solid rgba(18,214,160,.2); border-radius: 15px; }
.service-main h3 { margin: 0 0 .6rem; font-size: 1.45rem; letter-spacing: -.02em; }
.service-main p { margin: 0; max-width: 500px; color: #9db0bf; font-size: .94rem; }
.service-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.service-row li { display: flex; align-items: flex-start; gap: .45rem; color: #c9d5dd; font-size: .82rem; }
.service-row li b { flex: 0 0 auto; color: var(--accent); margin-top: .02rem; }

.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7rem; align-items: start; }
.method-intro { position: sticky; top: 8rem; }
.method-intro h2 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; color: var(--ink); border-bottom: 1px solid var(--accent-dark); padding-bottom: .2rem; font-weight: 800; }
.method-steps { list-style: none; margin: 0; padding: 0; }
.method-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.method-steps li:first-child { border-top: 1px solid var(--line); }
.method-steps > li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: .72rem; font-weight: 850; }
.method-steps h3 { margin: 0 0 .35rem; color: var(--ink); font-size: 1.22rem; }
.method-steps p { margin: 0; color: var(--muted); font-size: .94rem; }

.projects-section { background: #eaf0f4; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.project-card { min-height: 310px; display: flex; flex-direction: column; padding: 2rem; background: white; border: 1px solid #d5dfe5; border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(13,35,51,.08); }
.project-card.featured { grid-column: span 2; min-height: 340px; background: var(--ink-2); color: white; border-color: var(--ink-2); }
.project-top { display: flex; align-items: center; justify-content: space-between; color: var(--accent-dark); font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.featured .project-top { color: var(--accent); }
.project-card h3 { max-width: 650px; margin: auto 0 .75rem; color: var(--ink); font-size: 1.55rem; line-height: 1.18; letter-spacing: -.025em; }
.project-card p { max-width: 760px; margin: 0 0 1.15rem; color: var(--muted); font-size: .94rem; }
.featured h3 { color: white; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.featured p { color: #a9bac5; }
.project-outcome { display: flex; align-items: center; gap: .45rem; padding-top: 1rem; border-top: 1px solid var(--line); color: #415566; font-size: .82rem; font-weight: 750; }
.featured .project-outcome { color: #c7d6df; border-color: rgba(255,255,255,.12); }
.project-outcome b { color: var(--accent-dark); }
.featured .project-outcome b { color: var(--accent); }

.tech-section { background: var(--ink-3); color: white; padding: 5.5rem 0; }
.tech-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: end; }
.tech-heading h2 { color: white; max-width: 650px; font-size: clamp(2rem, 3.2vw, 2.9rem); }
.tech-heading > p { color: #9db0bf; margin-bottom: 1rem; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.tech-item { display: flex; align-items: center; gap: .9rem; min-height: 100px; padding: 1.3rem; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.tech-item:nth-child(3n) { border-right: 0; }
.tech-item:nth-child(n+4) { border-bottom: 0; }
.tech-item > .icon { color: var(--accent); font-size: 1.25rem; }
.tech-item div { display: grid; }
.tech-item strong { font-size: .95rem; }
.tech-item span { color: #91a6b5; font-size: .76rem; margin-top: .15rem; }

.about-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7rem; align-items: center; }
.about-badge { position: relative; width: min(100%, 400px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, #fff 0 24%, transparent 25%), repeating-radial-gradient(circle, transparent 0 42px, rgba(12,30,46,.07) 43px 44px); }
.badge-monogram { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; color: var(--ink); font-size: 3rem; font-weight: 900; letter-spacing: -.08em; }
.about-badge span { position: absolute; padding: .55rem .75rem; background: white; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .75rem; font-weight: 800; box-shadow: 0 8px 25px rgba(13,35,51,.08); }
.about-badge span:nth-of-type(1) { top: 8%; left: 40%; }
.about-badge span:nth-of-type(2) { top: 43%; right: -3%; }
.about-badge span:nth-of-type(3) { bottom: 11%; left: 47%; }
.about-badge span:nth-of-type(4) { top: 45%; left: -4%; }
.about-copy h2 { max-width: 680px; }
.about-lead { color: var(--text) !important; font-size: 1.16rem !important; font-weight: 600; }
.about-values { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.about-values span { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem .8rem; background: white; border: 1px solid var(--line); border-radius: 12px; color: #304657; font-size: .8rem; font-weight: 750; }
.about-values b { color: var(--accent-dark); }

.contact-section { padding: 0 0 5rem; }
.contact-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; padding: 4.2rem; border-radius: 28px; background: var(--ink); color: white; overflow: hidden; position: relative; }
.contact-card::after { content: ""; position: absolute; width: 270px; height: 270px; right: -130px; top: -150px; border-radius: 50%; border: 46px solid rgba(18,214,160,.1); }
.contact-card h2 { position: relative; z-index: 1; color: white; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.contact-card p { max-width: 700px; margin: 0; color: #a9bbc7; }
.contact-actions { position: relative; z-index: 2; display: grid; gap: .85rem; justify-items: start; }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: var(--accent); }
.contact-actions span { color: #8fa4b3; font-size: .76rem; }

footer { background: #050d15; color: white; }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-inner > p { color: #8095a5; font-size: .78rem; }
.footer-links { display: flex; gap: .6rem; }
.footer-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: #c3d0d8; transition: border-color .2s ease, color .2s ease; }
.footer-links a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 980px) {
  .desktop-nav, .nav-cta { display: none; }
  .mobile-menu { display: block; }
  .hero { padding-top: 5rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
  .solution-map { max-width: 630px; width: 100%; }
  .problems-grid { grid-template-columns: 1fr 1fr; }
  .problem-card:nth-child(2) { border-right: 0; }
  .problem-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-row { grid-template-columns: 44px 56px 1fr; }
  .service-row ul { grid-column: 3; }
  .method-layout, .about-layout { gap: 4rem; }
  .contact-card { grid-template-columns: 1fr; gap: 2rem; padding: 3rem; }
}

@media (max-width: 740px) {
  .container { width: min(100% - 2rem, 1160px); }
  .nav-wrap { min-height: 70px; }
  .brand-copy small { display: none; }
  .hero { padding: 4.2rem 0; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { display: grid; }
  .solution-map { min-height: 420px; }
  .map-core { min-height: 310px; }
  .ring-one { width: 205px; height: 205px; }
  .ring-two { width: 270px; height: 270px; }
  .core-center { width: 120px; height: 120px; }
  .map-node { font-size: .7rem; padding: .48rem .58rem; }
  .node-one { left: 2%; top: 16%; }
  .node-two { right: 1%; top: 21%; }
  .node-three { left: 0; bottom: 14%; }
  .node-four { right: 3%; bottom: 11%; }
  .map-footer { font-size: .64rem; }
  .strip-inner { padding: 1rem 0; display: grid; gap: 0; }
  .section { padding: 5.2rem 0; }
  .split-heading, .tech-heading, .method-layout, .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading { margin-bottom: 2.2rem; }
  .section-heading h2, .method-intro h2, .about-copy h2, .tech-heading h2 { font-size: 2.25rem; }
  .problems-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-card:last-child { border-bottom: 0; }
  .problem-card > .icon { margin-top: 1.2rem; }
  .service-row { grid-template-columns: 42px 1fr; gap: 1rem; }
  .service-icon { grid-column: 1; grid-row: 2; width: 42px; height: 42px; }
  .service-main { grid-column: 2; grid-row: 2; }
  .service-row ul { grid-column: 2; grid-template-columns: 1fr; }
  .method-intro { position: static; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; min-height: 370px; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12) !important; }
  .tech-item:last-child { border-bottom: 0 !important; }
  .about-badge { width: 86%; margin-inline: auto; }
  .contact-card { width: calc(100% - 2rem); padding: 2rem 1.4rem; border-radius: 22px; }
  .contact-actions { width: 100%; }
  .footer-inner { padding: 2rem 0; flex-direction: column; align-items: flex-start; }
  .footer-inner > p { margin: 0; }
}

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