@font-face{font-family:"Bricolage Grotesque";src:url(/assets/fonts/bricolage.woff2) format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url(/assets/fonts/hanken-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url(/assets/fonts/hanken-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url(/assets/fonts/hanken-600.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}

/* Layout idea: dark ink hero with a live neural field and an agent-run panel; then a light page where AI custom development gets the most space, platforms sit as horizontal rows, and process is a true sequence. */
:root {
  --ink: #0B1633;
  --ink-2: #16264F;
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --text: #1B2540;
  --muted: #55607C;
  --cobalt: #3A5BFF;
  --cobalt-deep: #2A43C9;
  --cyan: #4FD8E8;
  --ember: #FF7A4D;
  --line: #D8DEEA;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: #5873FF; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(11,22,51,.88); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 1.45rem; color: var(--white); text-decoration: none; letter-spacing: -0.03em; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: #C4CCE3; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav ul a:hover { color: var(--white); }
.nav .btn { padding: 9px 18px; font-size: .92rem; }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; padding: 88px 0 96px; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 40%, rgba(11,22,51,.0) 0%, rgba(11,22,51,.55) 100%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; }
.hero .lede { margin-top: 24px; font-size: 1.2rem; color: #C9D2EA; max-width: 34em; }
.hero .cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .stack-line { margin-top: 40px; color: #8FA0CC; font-size: .95rem; }
.hero .stack-line b { color: #DCE3F7; font-weight: 600; }

.run { background: rgba(22,38,79,.82); border: 1px solid rgba(124,150,255,.28); border-radius: 14px; padding: 20px; backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.run-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #9FB0DE; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.run-head strong { color: var(--white); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(79,216,232,.6);} 50% { box-shadow: 0 0 0 7px rgba(79,216,232,0);} }
.run ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.run li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 10px; border-radius: 8px; font-size: .92rem; color: #B9C4E4; transition: background .4s, color .4s; }
.run li span:first-child { font-weight: 600; color: #7E92D0; }
.run li.on { background: rgba(58,91,255,.28); color: var(--white); }
.run li.on span:first-child { color: var(--cyan); }
.run-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #9FB0DE; }

/* Sections */
section { padding: 104px 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 40em; }

/* AI custom development (primary) */
#ai { background: var(--white); }
.ai-layout { margin-top: 64px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.ai-aside { position: sticky; top: 100px; background: var(--ink); color: var(--white); border-radius: 18px; padding: 36px; }
.ai-aside h3 { font-size: 1.7rem; font-weight: 600; }
.ai-aside p { margin-top: 14px; color: #BFC9E6; }
.ai-aside ul { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; color: #DCE3F7; font-size: .98rem; }
.ai-aside li { padding-left: 24px; position: relative; }
.ai-aside li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--cyan); }
.caps { margin: 0; padding: 0; list-style: none; }
.caps li { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 8px; }
.caps li:last-child { border-bottom: 1px solid var(--line); }
.caps h3 { font-size: 1.5rem; font-weight: 600; }
.caps p { color: var(--muted); max-width: 40em; }
.caps .build { color: var(--cobalt-deep); font-weight: 600; font-size: .95rem; }

/* AI layer diagram */
#layer { background: var(--paper); }
.layer-wrap { margin-top: 56px; background: var(--ink); border-radius: 22px; padding: 28px; }
.layer-wrap svg { width: 100%; height: auto; display: block; }
.layer-wrap text { font-family: var(--font-body); }
.flow { stroke-dasharray: 5 9; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.layer-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.layer-notes h3 { font-size: 1.2rem; font-weight: 600; }
.layer-notes p { margin-top: 8px; color: var(--muted); font-size: 1rem; }

/* Platforms */
#platforms { background: var(--white); }
.rows { margin-top: 56px; }
.row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h3 { font-size: 2rem; font-weight: 700; }
.row p { color: var(--muted); }
.row .ai-angle { color: var(--text); }
.row .ai-angle b { color: var(--cobalt-deep); }

/* Platform practices */
#salesforce, #netsuite { background: var(--white); }
#sap { background: var(--paper); }
.plat { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.plat h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; }
.plat .intro p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 30em; }
.plat .intro .btn { margin-top: 28px; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { padding: 20px 0; border-top: 1px solid var(--line); }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.svc span { display: block; margin-top: 4px; color: var(--muted); }
@media (max-width: 960px) { .plat { grid-template-columns: 1fr; gap: 32px; } }

/* Expertise beyond core */
#expertise { background: var(--paper); }
.exp { margin-top: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.exp > div { border-top: 3px solid var(--ink); padding-top: 18px; }
.exp h3 { font-size: 1.25rem; font-weight: 600; }
.exp ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .98rem; }

/* Engagement models */
#engage { background: var(--white); }
.models { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.model { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.model h3 { font-size: 1.65rem; font-weight: 700; }
.model p { color: var(--muted); }
.model .for { color: var(--text); font-size: .98rem; }
.model .for b { color: var(--cobalt-deep); }
.model a.more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--cobalt-deep); text-decoration: none; }
.model a.more:hover { text-decoration: underline; }

/* AI-native SDLC */
#sdlc { background: var(--paper); }
.pillars { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { padding: 8px 28px 8px 0; }
.pillar + .pillar { border-left: 1px solid var(--line); padding-left: 28px; }
.pillar .tag { color: var(--cobalt-deep); font-weight: 600; }
.pillar h3 { margin-top: 10px; font-size: 1.6rem; font-weight: 700; }
.pillar p { margin-top: 12px; color: var(--muted); }
@media (max-width: 960px) {
  .exp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .pillar, .pillar + .pillar { border-left: 0; padding: 0 20px 0 0; }
}
@media (max-width: 560px) {
  .exp, .pillars { grid-template-columns: 1fr; }
}

/* Process */
#process { background: var(--ink); color: var(--white); }
#process .sec-head p { color: #B9C4E4; }
.steps { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 28px 28px 8px 0; border-top: 2px solid var(--ink-2); position: relative; counter-increment: s; }
.steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.steps .wk { color: var(--cyan); font-weight: 600; font-size: .95rem; }
.steps h3 { margin-top: 8px; font-size: 1.45rem; font-weight: 600; }
.steps p { margin-top: 10px; color: #B9C4E4; font-size: 1rem; }

/* FAQ */
#faq { background: var(--paper); }
.faq { margin-top: 48px; max-width: 820px; }
details { border-top: 1px solid var(--line); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cobalt); font-size: 1.6rem; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--muted); max-width: 42em; }

/* Contact */
#contact { background: var(--cobalt); color: var(--white); padding: 88px 0; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.contact h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; max-width: 14em; }
.contact p { margin-top: 14px; color: #DDE4FF; max-width: 32em; }
.contact .mail { margin-top: 10px; font-weight: 600; color: var(--white); }
.contact .btn { background: var(--white); color: var(--ink); }
.contact .btn:hover { background: var(--ink); color: var(--white); }

footer { background: var(--ink); color: #9FB0DE; padding: 48px 0; font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 960px) {
  .nav ul { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero-grid, .ai-layout { grid-template-columns: 1fr; gap: 40px; }
  .ai-aside { position: static; }
  .layer-notes, .steps { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 12px; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .layer-notes, .steps { grid-template-columns: 1fr; }
  .run li { grid-template-columns: 78px 1fr; }
  .layer-wrap { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow, .live i { animation: none; }
}

/* ===== Multi-page additions ===== */
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.dark { background: var(--ink); color: var(--white); }
.dark .sec-head p { color: #B9C4E4; }
.more { font-weight: 600; color: var(--cobalt-deep); text-decoration: none; }
.more:hover { text-decoration: underline; }
.more-light { color: var(--cyan); display: inline-block; margin-left: 18px; }
.stack-line a { color: #DCE3F7; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.stack-line a:hover { color: var(--white); }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; }

/* Mobile navigation */
.nav-toggle { display: none; background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.nav nav { flex: 1; display: flex; justify-content: center; }
.nav ul a[aria-current="page"] { color: var(--white); }
@media (max-width: 1040px) {
  .nav nav { position: static; }
  .nav-toggle { display: inline-flex; }
  .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 4px; background: var(--ink); padding: 12px 20px 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav ul a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .nav.open ul { display: flex; }
  .nav > .btn { margin-left: auto; }
}
@media (max-width: 420px) { .nav > .btn { padding: 8px 14px; } .logo { font-size: 1.25rem; } }

/* Inner page hero */
.page-hero { background: radial-gradient(900px 420px at 88% -10%, rgba(58,91,255,.38), rgba(11,22,51,0) 62%), var(--ink); color: var(--white); padding: 64px 0 80px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; font-size: .95rem; color: #9FB0DE; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #5E71A8; }
.crumbs a { color: #C4CCE3; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 700; max-width: 16em; }
.page-hero .lede { margin-top: 22px; font-size: 1.2rem; color: #C9D2EA; max-width: 36em; }
.page-hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Column blocks */
.exp.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.exp.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.exp p { margin-top: 12px; color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .exp.c3, .exp.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .exp.c3, .exp.c4 { grid-template-columns: 1fr; } }

/* Standards list */
.checks { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 16px; height: 3px; background: var(--cobalt); border-radius: 2px; }
.checks strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.checks span { display: block; margin-top: 4px; color: var(--muted); }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* Lead band and forms */
.lead { background: var(--cobalt); color: var(--white); padding: 88px 0; }
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.lead h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; }
.lead .lead-copy p { margin-top: 16px; color: #E2E8FF; max-width: 30em; }
.lead .lead-copy .mail { margin-top: 22px; font-weight: 600; color: var(--white); }
.lead .lead-copy .mail a { color: var(--white); }
.form-panel { background: var(--white); color: var(--text); border-radius: 18px; padding: 32px; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.lead-form .field { display: flex; flex-direction: column; gap: 6px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { font-weight: 600; font-size: .95rem; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1.5px solid #B7C0D6; border-radius: 10px; padding: 12px 14px; width: 100%; }
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form input:focus-visible, .lead-form select:focus-visible, .lead-form textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--cobalt); }
.lead-form .hp { position: absolute; left: -9999px; }
.lead-form .form-note { font-size: .9rem; color: var(--muted); }
.lead-form .form-note a { color: var(--cobalt-deep); }
.lead-form .btn { justify-self: start; border: 0; cursor: pointer; }
@media (max-width: 960px) { .lead-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } .form-panel { padding: 22px; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.contact-grid .form-panel { border: 1px solid var(--line); }
.contact-side h2 { font-size: 1.5rem; font-weight: 700; }
.contact-side p, .contact-side li { color: var(--muted); }
.contact-side ul { margin: 12px 0 28px; padding-left: 18px; display: grid; gap: 8px; }
.contact-side .mail a { color: var(--cobalt-deep); font-weight: 600; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Prose pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin-top: 44px; }
.prose p, .prose ul { margin-top: 14px; color: var(--text); }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--cobalt-deep); }

/* Centered message pages */
.message { padding: 120px 0; }
.message h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; max-width: 14em; }
.message p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 34em; }
.message .btn { margin-top: 28px; }

/* Footer */
footer.site-foot { background: var(--ink); color: #9FB0DE; padding: 64px 0 40px; font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h2 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--white); }
.foot-grid p { margin-top: 12px; max-width: 24em; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile header fit */
.nav > .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .nav > .btn { padding: 8px 12px; font-size: .85rem; }
  .nav-toggle { padding: 7px 12px; font-size: .85rem; }
  .logo { font-size: 1.2rem; gap: 8px; }
}
