/* SVS TechWorks: deep navy with the logo's blue-to-green sweep; Plus Jakarta Sans */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2'); }

:root {
  --navy: #0b1a40; --navy-2: #0e2257; --navy-3: #152d6e;
  --ink: #101a33; --muted: #56607a; --line: #e2e6ef; --soft: #f4f6fb; --white: #fff;
  --blue: #2d8ee3; --green: #4ec25b; --sweep: linear-gradient(120deg, #2d8ee3, #4ec25b);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 50; background: #fff; padding: .5rem 1rem; }
.small { font-size: .85rem; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: .95rem; padding: .6rem 1.2rem;
       border-radius: 999px; border: 1px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--navy-3); }
.btn.big { padding: .9rem 1.6rem; font-size: 1rem; }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: #e8f1fc; }
.btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.outline:hover { background: rgba(255,255,255,.1); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 92px; padding-top: .35rem; padding-bottom: .35rem; }
.brand { display: flex; margin-right: auto; } .brand img { height: 70px; width: auto; display: block; }
nav#nav { display: flex; align-items: center; gap: 1.6rem; }
nav#nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
nav#nav a:not(.btn):hover { color: var(--blue); }
.menu { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0 0;
        background: radial-gradient(1200px 600px at 85% 20%, rgba(45,142,227,.28), transparent 60%),
                    radial-gradient(800px 500px at 10% 110%, rgba(78,194,91,.18), transparent 60%),
                    linear-gradient(180deg, var(--navy) 0%, #0a1736 100%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .35; pointer-events: none;
                background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
                background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; max-width: 14ch; }
.lede { font-size: 1.15rem; color: #c7d2ea; margin: 1.5rem 0 2.2rem; max-width: 52ch; }
.cta { display: flex; gap: .8rem; flex-wrap: wrap; }

.art { position: relative; margin: 0; aspect-ratio: 560 / 500; }
.art-svg { width: 100%; height: 100%; display: block; }
.orbit { fill: none; stroke: rgba(255,255,255,.12); stroke-dasharray: 3 7; }
.link { fill: none; stroke: url(#sweep); stroke-width: 2; stroke-linecap: round; opacity: .9; }
.node { position: absolute; width: 42%; display: grid; grid-template-columns: 40px 1fr; column-gap: .7rem; align-items: center;
        padding: .8rem .9rem; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
        backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.node svg { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--sweep);
            fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.node b { font-weight: 700; font-size: 1rem; }
.node span { font-size: .78rem; color: #b9c6e3; line-height: 1.35; }
.n1 { left: 0; top: 10%; } .n2 { right: 0; top: 10%; } .n3 { left: 0; bottom: 10%; } .n4 { right: 0; bottom: 10%; }

/* one orchestrated load: the connections draw in, then the four practices appear */
@media (prefers-reduced-motion: no-preference) {
  .link { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1s ease-out .2s forwards; }
  .node { opacity: 0; transform: translateY(8px); animation: rise .5s ease-out forwards; }
  .n1 { animation-delay: .7s; } .n2 { animation-delay: .85s; } .n3 { animation-delay: 1s; } .n4 { animation-delay: 1.15s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }

.facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(2.5rem, 6vw, 4rem);
         border-top: 1px solid rgba(255,255,255,.14); }
.facts > div { padding: 1.5rem 1.5rem 1.8rem 0; display: flex; flex-direction: column; gap: .2rem; }
.facts > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.14); }
.facts b { font-weight: 700; }
.facts span { color: #b9c6e3; font-size: .92rem; }

/* ---------- sections ---------- */
.band { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.band.tint { background: var(--soft); }
.band.dark { background: var(--navy); color: #fff; }
.head { max-width: 640px; margin-bottom: 3rem; }
.head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--navy); }
.dark .head h2 { color: #fff; }
.head p { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
.dark .head p { color: #b9c6e3; }

/* practices: four rich panels */
.practices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.practice { position: relative; padding: 2rem 2rem 1.8rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.practice::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--sweep); }
.practice::after { content: ''; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%;
                   background: radial-gradient(circle, rgba(45,142,227,.12), transparent 70%); pointer-events: none; }
.practice[data-p=auto]::after, .practice[data-p=cloud]::after { background: radial-gradient(circle, rgba(78,194,91,.14), transparent 70%); }
.ico { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1.2rem; }
.ico svg { width: 28px; height: 28px; fill: none; stroke: #5fd0a0; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.practice h3 { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.practice > p { color: var(--muted); }
.practice ul { list-style: none; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.practice li { position: relative; padding: .35rem 0 .35rem 1.6rem; font-size: .95rem; }
.practice li::before { content: ''; position: absolute; left: 0; top: .78rem; width: 10px; height: 10px; border-radius: 3px; background: var(--sweep); }

/* approach: a real sequence, so numbered */
.approach { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.approach li { counter-increment: s; position: relative; padding-top: 3.6rem; }
.approach li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
                       font-weight: 800; color: var(--navy); background: var(--sweep); }
.approach li::after { content: ''; position: absolute; top: 22px; left: 56px; right: -1.5rem; height: 1px; background: rgba(255,255,255,.2); }
.approach li:last-child::after { display: none; }
.approach h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.approach p { color: #b9c6e3; font-size: .97rem; margin: 0; }

/* industries */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.industries li { display: flex; flex-direction: column; gap: .3rem; padding-top: 1.2rem; border-top: 2px solid var(--navy); }
.industries svg { width: 34px; height: 34px; margin-bottom: .6rem; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.industries b { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.industries span { color: var(--muted); font-size: .93rem; }

/* case study with device mock-ups */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.case-text h2 { font-size: 1rem; font-weight: 700; color: var(--blue); letter-spacing: 0; margin-bottom: .8rem; }
.case-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.case-text > p { color: var(--muted); }
.delivered { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.delivered li { position: relative; padding: .6rem 0 .6rem 2rem; border-bottom: 1px solid var(--line); }
.delivered li::before { content: ''; position: absolute; left: .25rem; top: 1rem; width: .8rem; height: .45rem; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.screens { position: relative; min-height: 360px; }
.device { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 40px 70px -35px rgba(11,26,64,.55), 0 0 0 1px rgba(11,26,64,.08); overflow: hidden; }
.laptop { left: 0; top: 0; width: 86%; aspect-ratio: 16 / 10.5; }
.chrome { height: 26px; background: #eef1f7; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #cfd5e2; }
.laptop .screen { display: grid; grid-template-columns: 22% 1fr; height: calc(100% - 26px); }
.mock-side { background: #001f5f; }
.mock-main { padding: 6%; display: flex; flex-direction: column; gap: 8%; }
.mock-h { height: 10%; width: 45%; border-radius: 6px; background: #dde3ee; }
.mock-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; height: 22%; }
.mock-row span { border-radius: 6px; background: #f1f4fa; border-top: 3px solid #e9a825; }
.mock-panel { flex: 1; border-radius: 8px; border: 1px solid #e6eaf2; display: flex; flex-direction: column; justify-content: space-around; padding: 4% 5%; }
.mock-panel i { height: 8px; border-radius: 4px; background: #eef1f7; }
.mock-panel i:nth-child(2) { width: 80%; } .mock-panel i:nth-child(3) { width: 90%; } .mock-panel i:nth-child(4) { width: 60%; }
.phone { right: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 18; border-radius: 26px; border: 7px solid var(--navy); }
.phone .screen { padding: 14% 10%; display: flex; flex-direction: column; gap: 8%; height: 100%; background: #f4f6fa; }
.mock-card { border-radius: 10px; background: #001f5f; border-left: 5px solid #e9a825; height: 32%; display: flex; align-items: flex-end; padding: 8%; }
.mock-card b { color: #e9a825; font-size: .7rem; font-weight: 800; }
.mock-list { display: flex; flex-direction: column; gap: 8px; } .mock-list i { height: 26px; border-radius: 8px; background: #fff; border: 1px solid #e6eaf2; }

/* why */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 0; }
.why dt { font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: .5rem; padding-left: 1rem; border-left: 3px solid var(--green); }
.why dd { margin: 0; color: var(--muted); font-size: .97rem; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.plans article { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; }
.plans h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.plans .for { color: var(--muted); margin: .4rem 0 1.2rem; }
.plans ul { list-style: none; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
.plans li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.plans li::before { content: ''; position: absolute; left: 0; top: .85rem; width: 10px; height: 2px; background: var(--blue); }
.plans .featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 30px 60px -30px rgba(11,26,64,.6); }
.plans .featured h3 { color: #fff; } .plans .featured .for { color: #b9c6e3; } .plans .featured ul { border-color: rgba(255,255,255,.15); }
.plans .featured li::before { background: var(--green); }

/* contact */
.cta-band { color: #fff; background: radial-gradient(900px 500px at 100% 0%, rgba(45,142,227,.35), transparent 60%),
                                    radial-gradient(700px 400px at 0% 100%, rgba(78,194,91,.22), transparent 60%), var(--navy); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cta-band h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 16ch; }
.cta-band p { color: #c7d2ea; margin-top: 1rem; max-width: 46ch; }
.reach { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.4rem; margin: 2.2rem 0 0; }
.reach dt { color: #9fb0d3; } .reach dd { margin: 0; font-weight: 600; } .reach a { color: #fff; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff; color: var(--ink); padding: 2rem; border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.field { display: flex; flex-direction: column; gap: .35rem; } .wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,142,227,.2); background: #fff; }
.err { grid-column: 1 / -1; margin: 0; color: #c8442c; font-size: .9rem; }
.enquiry .small { color: var(--muted); margin-top: .7rem; }

/* footer */
.foot { background: #081330; color: #9fb0d3; padding: 3rem 0 2.5rem; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 2rem; align-items: center; }
.foot-brand img { display: block; height: 96px; width: auto; max-width: 100%; }
.foot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.foot nav a { color: #dbe3f5; text-decoration: none; } .foot nav a:hover { color: #fff; text-decoration: underline; }
.copy { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .case, .contact-grid { grid-template-columns: 1fr; }
  .art { max-width: 560px; width: 100%; justify-self: center; }
  .approach, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach li::after { display: none; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; text-align: left; } .foot nav { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu { display: block; }
  nav#nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
            background: #fff; border-bottom: 1px solid var(--line); padding: .5rem clamp(1.1rem, 4vw, 2rem) 1rem; }
  nav#nav.open { display: flex; }
  nav#nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--soft); }
  nav#nav .btn { margin-top: .8rem; }
  .brand img { height: 54px; }
  .bar { min-height: 72px; }
  .practices { grid-template-columns: 1fr; } .practice { padding: 1.6rem 1.4rem; }
  .facts { grid-template-columns: 1fr; } .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .node { width: 46%; padding: .6rem; grid-template-columns: 32px 1fr; } .node svg { width: 32px; height: 32px; padding: 6px; } .node span { display: none; }
  .screens { min-height: 260px; }
  .why, .approach, .industries { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: 1fr; padding: 1.4rem; }
}
.nf { color: var(--navy); max-width: none; } .band .lede { color: var(--muted); }
